new dependency tracking from bakefile cvs
[wxWidgets.git] / configure
0 / 36190 (  0%)
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 SONAME_FLAGS SONAME_FLAGS_GL WX_TARGET_LIBRARY_SONAME 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-soname set the DT_SONAME field in ELF shared libraries
875 --enable-optimise create optimised code
876 --enable-debug same as debug_flag and debug_info
877 --enable-precomp enable use of precompiled headers (Mac OS X/Darwin)
878 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
879 --enable-debug_info create code with debugging information
880 --enable-debug_gdb create code with extra GDB debugging information
881 --enable-debug_cntxt use wxDebugContext
882 --enable-mem_tracing create code with memory tracing
883 --enable-profile create code with profiling information
884 --enable-no_rtti create code without RTTI information
885 --enable-no_exceptions create code without C++ exceptions handling
886 --enable-permissive compile code disregarding strict ANSI
887 --enable-no_deps create code without dependency information
888 --enable-compat20 enable wxWindows 2.0 compatibility
889 --enable-compat22 enable wxWindows 2.2 compatibility
890 --disable-compat24 disable wxWindows 2.4 compatibility
891 --enable-rpath=DIR output the rpath flag from wx-config
892 --enable-intl use internationalization system
893 --enable-config use wxConfig (and derived) classes
894 --enable-protocols use wxProtocol and derived classes
895 --enable-ftp use wxFTP (requires wxProtocol
896 --enable-http use wxHTTP (requires wxProtocol
897 --enable-fileproto use wxFileProto class (requires wxProtocol
898 --enable-sockets use socket/network classes
899 --enable-ole use OLE classes
900 --enable-dataobj use data object classes
901 --enable-ipc use interprocess communication (wxSocket etc.)
902 --enable-cmdline use wxCmdLineParser class
903 --enable-datetime use wxDateTime class
904 --enable-stopwatch use wxStopWatch class
905 --enable-dialupman use dialup network classes
906 --enable-apple_ieee use the Apple IEEE codec
907 --enable-timer use wxTimer class
908 --enable-wave use wxWave class
909 --enable-fraction use wxFraction class
910 --enable-dynlib use wxLibrary class for DLL loading
911 --enable-dynamicloader use (new) wxDynamicLibrary class
912 --enable-longlong use wxLongLong class
913 --enable-geometry use geometry class
914 --enable-log use logging system
915 --enable-streams use wxStream etc classes
916 --enable-file use wxFile classes
917 --enable-ffile use wxFFile classes
918 --enable-textbuf use wxTextBuffer class
919 --enable-textfile use wxTextFile class
920 --enable-fontmap use font encodings conversion classes
921 --enable-unicode compile wxString with Unicode support
922 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)
923 --enable-wxprintfv use wxWindows implementation of vprintf()
924 --enable-std_iostreams use standard C++ stream classes
925 --enable-filesystem use virtual file systems classes
926 --enable-fs_inet use virtual HTTP/FTP filesystems
927 --enable-fs_zip use virtual ZIP filesystems
928 --enable-zipstream use wxZipInputStream
929 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException
930 --enable-snglinst use wxSingleInstanceChecker class
931 --enable-mimetype use wxMimeTypesManager
932 --enable-sysoptions use wxSystemOptions
933 --enable-url use wxURL class
934 --enable-protocol use wxProtocol class
935 --enable-protocol-http HTTP support in wxProtocol
936 --enable-protocol-ftp FTP support in wxProtocol
937 --enable-protocol-file FILE support in wxProtocol
938 --enable-threads use threads
939 --enable-docview use document view architecture
940 --enable-help use help subsystem
941 --enable-mshtmlhelp use MS HTML Help (win32)
942 --enable-html use wxHTML sub-library
943 --enable-htmlhelp use wxHTML-based help
944 --enable-constraints use layout-constraints system
945 --enable-printarch use printing architecture
946 --enable-mdi use multiple document interface architecture
947 --enable-loggui use standard GUI logger
948 --enable-logwin use wxLogWindow
949 --enable-logdialog use wxLogDialog
950 --enable-postscript use wxPostscriptDC device context (default for gtk+)
951 --enable-prologio not available; see contrib
952 --enable-resources not available; see contrib
953 --enable-clipboard use wxClipboard class
954 --enable-dnd use Drag'n'Drop classes
955 --enable-metafile use win32 metafiles
956 --enable-controls use all usual controls
957 --enable-accel use accelerators
958 --enable-button use wxButton class
959 --enable-bmpbutton use wxBitmapButton class
960 --enable-calendar use wxCalendarCtrl class
961 --enable-caret use wxCaret class
962 --enable-checkbox use wxCheckBox class
963 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
964 --enable-choice use wxChoice class
965 --enable-combobox use wxComboBox class
966 --enable-display use wxDisplay class
967 --enable-gauge use wxGauge class
968 --enable-grid use wxGrid class
969 --enable-imaglist use wxImageList class
970 --enable-listbox use wxListBox class
971 --enable-listctrl use wxListCtrl class
972 --enable-notebook use wxNotebook class
973 --enable-radiobox use wxRadioBox class
974 --enable-radiobtn use wxRadioButton class
975 --enable-sash use wxSashWindow class
976 --enable-scrollbar use wxScrollBar class and scrollable windows
977 --enable-slider use wxSlider class
978 --enable-spinbtn use wxSpinButton class
979 --enable-spinctrl use wxSpinCtrl class
980 --enable-splitter use wxSplitterWindow class
981 --enable-statbmp use wxStaticBitmap class
982 --enable-statbox use wxStaticBox class
983 --enable-statline use wxStaticLine class
984 --enable-stattext use wxStaticText class
985 --enable-statusbar use wxStatusBar class
986 --enable-tabdialog use wxTabControl class
987 --enable-textctrl use wxTextCtrl class
988 --enable-togglebtn use wxToggleButton class
989 --enable-toolbar use wxToolBar class
990 --enable-tbarnative use native wxToolBar class
991 --enable-tbarsmpl use wxToolBarSimple class
992 --enable-treectrl use wxTreeCtrl class
993 --enable-tipwindow use wxTipWindow class
994 --enable-popupwin use wxPopUpWindow class
995 --enable-commondlg use all common dialogs
996 --enable-choicedlg use wxChoiceDialog
997 --enable-coldlg use wxColourDialog
998 --enable-filedlg use wxFileDialog
999 --enable-finddlg use wxFindReplaceDialog
1000 --enable-fontdlg use wxFontDialog
1001 --enable-dirdlg use wxDirDialog
1002 --enable-msgdlg use wxMessageDialog
1003 --enable-numberdlg use wxNumberEntryDialog
1004 --enable-splash use wxSplashScreen
1005 --enable-textdlg use wxTextDialog
1006 --enable-tipdlg use startup tips
1007 --enable-progressdlg use wxProgressDialog
1008 --enable-wizarddlg use wxWizard
1009 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1010 --enable-miniframe use wxMiniFrame class
1011 --enable-tooltips use wxToolTip class
1012 --enable-splines use spline drawing code
1013 --enable-validators use wxValidator and derived classes
1014 --enable-busyinfo use wxBusyInfo
1015 --enable-joystick use wxJoystick (Linux only)
1016 --enable-metafiles use wxMetaFile (Windows only)
1017 --enable-dragimage use wxDragImage
1018 --enable-accessibility enable accessibility support
1019 --enable-palette use wxPalette class
1020 --enable-image use wxImage class
1021 --enable-gif use gif images (GIF file format)
1022 --enable-pcx use pcx images (PCX file format)
1023 --enable-iff use iff images (IFF file format)
1024 --enable-pnm use pnm images (PNM file format)
1025 --enable-xpm use xpm images (XPM file format)
1026 --enable-icocur use Windows ICO and CUR formats
1027 --disable-largefile omit support for large files
1028 --disable-gtktest do not try to compile and run a test GTK+ program
1029 --disable-gtktest Do not try to compile and run a test GTK program
1030
1031Optional Packages:
1032 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1033 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1034 --with-gtk use GTK+
1035 --with-motif use Motif/Lesstif
1036 --with-mac use Mac OS X
1037 --with-cocoa use Cocoa
1038 --with-wine use Wine
1039 --with-msw use MS-Windows
1040 --with-pm use OS/2 Presentation Manager
1041 --with-mgl use SciTech MGL
1042 --with-microwin use MicroWindows
1043 --with-x11 use X11
1044 --with-libpng use libpng (PNG image format)
1045 --with-libjpeg use libjpeg (JPEG file format)
1046 --with-libtiff use libtiff (TIFF file format)
1047 --with-opengl use OpenGL (or Mesa)
1048 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1049 --with-regex enable support for wxRegEx class
1050 --with-zlib use zlib for LZW compression
1051 --with-odbc use the IODBC and wxODBC classes
1052 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1053 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1054 --with-x use the X Window System
1055 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1056
1057Some influential environment variables:
1058 CC C compiler command
1059 CFLAGS C compiler flags
1060 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1061 nonstandard directory <lib dir>
1062 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1063 headers in a nonstandard directory <include dir>
1064 CPP C preprocessor
1065 CXX C++ compiler command
1066 CXXFLAGS C++ compiler flags
1067 CXXCPP C++ preprocessor
1068
1069Use these variables to override the choices made by `configure' or to help
1070it to find libraries and programs with nonstandard names/locations.
1071
1072Report bugs to <wx-dev@lists.wxwindows.org>.
1073_ACEOF
1074fi
1075
1076if test "$ac_init_help" = "recursive"; then
1077 # If there are subdirs, report their specific --help.
1078 ac_popdir=`pwd`
1079 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1080 test -d $ac_dir || continue
1081 ac_builddir=.
1082
1083if test "$ac_dir" != .; then
1084 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1085 # A "../" for each directory in $ac_dir_suffix.
1086 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1087else
1088 ac_dir_suffix= ac_top_builddir=
1089fi
1090
1091case $srcdir in
1092 .) # No --srcdir option. We are building in place.
1093 ac_srcdir=.
1094 if test -z "$ac_top_builddir"; then
1095 ac_top_srcdir=.
1096 else
1097 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1098 fi ;;
1099 [\\/]* | ?:[\\/]* ) # Absolute path.
1100 ac_srcdir=$srcdir$ac_dir_suffix;
1101 ac_top_srcdir=$srcdir ;;
1102 *) # Relative path.
1103 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1104 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1105esac
1106# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1107# absolute.
1108ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1109ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1110ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1111ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1112
1113 cd $ac_dir
1114 # Check for guested configure; otherwise get Cygnus style configure.
1115 if test -f $ac_srcdir/configure.gnu; then
1116 echo
1117 $SHELL $ac_srcdir/configure.gnu --help=recursive
1118 elif test -f $ac_srcdir/configure; then
1119 echo
1120 $SHELL $ac_srcdir/configure --help=recursive
1121 elif test -f $ac_srcdir/configure.ac ||
1122 test -f $ac_srcdir/configure.in; then
1123 echo
1124 $ac_configure --help
1125 else
1126 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1127 fi
1128 cd $ac_popdir
1129 done
1130fi
1131
1132test -n "$ac_init_help" && exit 0
1133if $ac_init_version; then
1134 cat <<\_ACEOF
1135wxWindows configure 2.5.0
1136generated by GNU Autoconf 2.57
1137
1138Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1139Free Software Foundation, Inc.
1140This configure script is free software; the Free Software Foundation
1141gives unlimited permission to copy, distribute and modify it.
1142_ACEOF
1143 exit 0
1144fi
1145exec 5>config.log
1146cat >&5 <<_ACEOF
1147This file contains any messages produced by compilers while
1148running configure, to aid debugging if configure makes a mistake.
1149
1150It was created by wxWindows $as_me 2.5.0, which was
1151generated by GNU Autoconf 2.57. Invocation command line was
1152
1153 $ $0 $@
1154
1155_ACEOF
1156{
1157cat <<_ASUNAME
1158## --------- ##
1159## Platform. ##
1160## --------- ##
1161
1162hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1163uname -m = `(uname -m) 2>/dev/null || echo unknown`
1164uname -r = `(uname -r) 2>/dev/null || echo unknown`
1165uname -s = `(uname -s) 2>/dev/null || echo unknown`
1166uname -v = `(uname -v) 2>/dev/null || echo unknown`
1167
1168/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1169/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1170
1171/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1172/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1173/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1174hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1175/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1176/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1177/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1178
1179_ASUNAME
1180
1181as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1182for as_dir in $PATH
1183do
1184 IFS=$as_save_IFS
1185 test -z "$as_dir" && as_dir=.
1186 echo "PATH: $as_dir"
1187done
1188
1189} >&5
1190
1191cat >&5 <<_ACEOF
1192
1193
1194## ----------- ##
1195## Core tests. ##
1196## ----------- ##
1197
1198_ACEOF
1199
1200
1201# Keep a trace of the command line.
1202# Strip out --no-create and --no-recursion so they do not pile up.
1203# Strip out --silent because we don't want to record it for future runs.
1204# Also quote any args containing shell meta-characters.
1205# Make two passes to allow for proper duplicate-argument suppression.
1206ac_configure_args=
1207ac_configure_args0=
1208ac_configure_args1=
1209ac_sep=
1210ac_must_keep_next=false
1211for ac_pass in 1 2
1212do
1213 for ac_arg
1214 do
1215 case $ac_arg in
1216 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1217 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1218 | -silent | --silent | --silen | --sile | --sil)
1219 continue ;;
1220 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1221 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1222 esac
1223 case $ac_pass in
1224 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1225 2)
1226 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1227 if test $ac_must_keep_next = true; then
1228 ac_must_keep_next=false # Got value, back to normal.
1229 else
1230 case $ac_arg in
1231 *=* | --config-cache | -C | -disable-* | --disable-* \
1232 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1233 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1234 | -with-* | --with-* | -without-* | --without-* | --x)
1235 case "$ac_configure_args0 " in
1236 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1237 esac
1238 ;;
1239 -* ) ac_must_keep_next=true ;;
1240 esac
1241 fi
1242 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1243 # Get rid of the leading space.
1244 ac_sep=" "
1245 ;;
1246 esac
1247 done
1248done
1249$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1250$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1251
1252# When interrupted or exit'd, cleanup temporary files, and complete
1253# config.log. We remove comments because anyway the quotes in there
1254# would cause problems or look ugly.
1255# WARNING: Be sure not to use single quotes in there, as some shells,
1256# such as our DU 5.0 friend, will then `close' the trap.
1257trap 'exit_status=$?
1258 # Save into config.log some information that might help in debugging.
1259 {
1260 echo
1261
1262 cat <<\_ASBOX
1263## ---------------- ##
1264## Cache variables. ##
1265## ---------------- ##
1266_ASBOX
1267 echo
1268 # The following way of writing the cache mishandles newlines in values,
1269{
1270 (set) 2>&1 |
1271 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1272 *ac_space=\ *)
1273 sed -n \
1274 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1275 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1276 ;;
1277 *)
1278 sed -n \
1279 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1280 ;;
1281 esac;
1282}
1283 echo
1284
1285 cat <<\_ASBOX
1286## ----------------- ##
1287## Output variables. ##
1288## ----------------- ##
1289_ASBOX
1290 echo
1291 for ac_var in $ac_subst_vars
1292 do
1293 eval ac_val=$`echo $ac_var`
1294 echo "$ac_var='"'"'$ac_val'"'"'"
1295 done | sort
1296 echo
1297
1298 if test -n "$ac_subst_files"; then
1299 cat <<\_ASBOX
1300## ------------- ##
1301## Output files. ##
1302## ------------- ##
1303_ASBOX
1304 echo
1305 for ac_var in $ac_subst_files
1306 do
1307 eval ac_val=$`echo $ac_var`
1308 echo "$ac_var='"'"'$ac_val'"'"'"
1309 done | sort
1310 echo
1311 fi
1312
1313 if test -s confdefs.h; then
1314 cat <<\_ASBOX
1315## ----------- ##
1316## confdefs.h. ##
1317## ----------- ##
1318_ASBOX
1319 echo
1320 sed "/^$/d" confdefs.h | sort
1321 echo
1322 fi
1323 test "$ac_signal" != 0 &&
1324 echo "$as_me: caught signal $ac_signal"
1325 echo "$as_me: exit $exit_status"
1326 } >&5
1327 rm -f core core.* *.core &&
1328 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1329 exit $exit_status
1330 ' 0
1331for ac_signal in 1 2 13 15; do
1332 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1333done
1334ac_signal=0
1335
1336# confdefs.h avoids OS command line length limits that DEFS can exceed.
1337rm -rf conftest* confdefs.h
1338# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1339echo >confdefs.h
1340
1341# Predefined preprocessor variables.
1342
1343cat >>confdefs.h <<_ACEOF
1344#define PACKAGE_NAME "$PACKAGE_NAME"
1345_ACEOF
1346
1347
1348cat >>confdefs.h <<_ACEOF
1349#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1350_ACEOF
1351
1352
1353cat >>confdefs.h <<_ACEOF
1354#define PACKAGE_VERSION "$PACKAGE_VERSION"
1355_ACEOF
1356
1357
1358cat >>confdefs.h <<_ACEOF
1359#define PACKAGE_STRING "$PACKAGE_STRING"
1360_ACEOF
1361
1362
1363cat >>confdefs.h <<_ACEOF
1364#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1365_ACEOF
1366
1367
1368# Let the site file select an alternate cache file if it wants to.
1369# Prefer explicitly selected file to automatically selected ones.
1370if test -z "$CONFIG_SITE"; then
1371 if test "x$prefix" != xNONE; then
1372 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1373 else
1374 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1375 fi
1376fi
1377for ac_site_file in $CONFIG_SITE; do
1378 if test -r "$ac_site_file"; then
1379 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1380echo "$as_me: loading site script $ac_site_file" >&6;}
1381 sed 's/^/| /' "$ac_site_file" >&5
1382 . "$ac_site_file"
1383 fi
1384done
1385
1386if test -r "$cache_file"; then
1387 # Some versions of bash will fail to source /dev/null (special
1388 # files actually), so we avoid doing that.
1389 if test -f "$cache_file"; then
1390 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1391echo "$as_me: loading cache $cache_file" >&6;}
1392 case $cache_file in
1393 [\\/]* | ?:[\\/]* ) . $cache_file;;
1394 *) . ./$cache_file;;
1395 esac
1396 fi
1397else
1398 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1399echo "$as_me: creating cache $cache_file" >&6;}
1400 >$cache_file
1401fi
1402
1403# Check that the precious variables saved in the cache have kept the same
1404# value.
1405ac_cache_corrupted=false
1406for ac_var in `(set) 2>&1 |
1407 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1408 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1409 eval ac_new_set=\$ac_env_${ac_var}_set
1410 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1411 eval ac_new_val="\$ac_env_${ac_var}_value"
1412 case $ac_old_set,$ac_new_set in
1413 set,)
1414 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1415echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1416 ac_cache_corrupted=: ;;
1417 ,set)
1418 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1419echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1420 ac_cache_corrupted=: ;;
1421 ,);;
1422 *)
1423 if test "x$ac_old_val" != "x$ac_new_val"; then
1424 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1425echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1426 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1427echo "$as_me: former value: $ac_old_val" >&2;}
1428 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1429echo "$as_me: current value: $ac_new_val" >&2;}
1430 ac_cache_corrupted=:
1431 fi;;
1432 esac
1433 # Pass precious variables to config.status.
1434 if test "$ac_new_set" = set; then
1435 case $ac_new_val in
1436 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1437 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1438 *) ac_arg=$ac_var=$ac_new_val ;;
1439 esac
1440 case " $ac_configure_args " in
1441 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1442 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1443 esac
1444 fi
1445done
1446if $ac_cache_corrupted; then
1447 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1448echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1449 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1450echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1451 { (exit 1); exit 1; }; }
1452fi
1453
1454ac_ext=c
1455ac_cpp='$CPP $CPPFLAGS'
1456ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1457ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1458ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
1488
1489ac_aux_dir=
1490for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1491 if test -f $ac_dir/install-sh; then
1492 ac_aux_dir=$ac_dir
1493 ac_install_sh="$ac_aux_dir/install-sh -c"
1494 break
1495 elif test -f $ac_dir/install.sh; then
1496 ac_aux_dir=$ac_dir
1497 ac_install_sh="$ac_aux_dir/install.sh -c"
1498 break
1499 elif test -f $ac_dir/shtool; then
1500 ac_aux_dir=$ac_dir
1501 ac_install_sh="$ac_aux_dir/shtool install -c"
1502 break
1503 fi
1504done
1505if test -z "$ac_aux_dir"; then
1506 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1507echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1508 { (exit 1); exit 1; }; }
1509fi
1510ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1511ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1512ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1513
1514# Make sure we can run config.sub.
1515$ac_config_sub sun4 >/dev/null 2>&1 ||
1516 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1517echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1518 { (exit 1); exit 1; }; }
1519
1520echo "$as_me:$LINENO: checking build system type" >&5
1521echo $ECHO_N "checking build system type... $ECHO_C" >&6
1522if test "${ac_cv_build+set}" = set; then
1523 echo $ECHO_N "(cached) $ECHO_C" >&6
1524else
1525 ac_cv_build_alias=$build_alias
1526test -z "$ac_cv_build_alias" &&
1527 ac_cv_build_alias=`$ac_config_guess`
1528test -z "$ac_cv_build_alias" &&
1529 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1530echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1531 { (exit 1); exit 1; }; }
1532ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1533 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1534echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1535 { (exit 1); exit 1; }; }
1536
1537fi
1538echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1539echo "${ECHO_T}$ac_cv_build" >&6
1540build=$ac_cv_build
1541build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1542build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1543build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1544
1545
1546echo "$as_me:$LINENO: checking host system type" >&5
1547echo $ECHO_N "checking host system type... $ECHO_C" >&6
1548if test "${ac_cv_host+set}" = set; then
1549 echo $ECHO_N "(cached) $ECHO_C" >&6
1550else
1551 ac_cv_host_alias=$host_alias
1552test -z "$ac_cv_host_alias" &&
1553 ac_cv_host_alias=$ac_cv_build_alias
1554ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1555 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1556echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1557 { (exit 1); exit 1; }; }
1558
1559fi
1560echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1561echo "${ECHO_T}$ac_cv_host" >&6
1562host=$ac_cv_host
1563host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1564host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1565host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1566
1567
1568echo "$as_me:$LINENO: checking target system type" >&5
1569echo $ECHO_N "checking target system type... $ECHO_C" >&6
1570if test "${ac_cv_target+set}" = set; then
1571 echo $ECHO_N "(cached) $ECHO_C" >&6
1572else
1573 ac_cv_target_alias=$target_alias
1574test "x$ac_cv_target_alias" = "x" &&
1575 ac_cv_target_alias=$ac_cv_host_alias
1576ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1577 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1578echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1579 { (exit 1); exit 1; }; }
1580
1581fi
1582echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1583echo "${ECHO_T}$ac_cv_target" >&6
1584target=$ac_cv_target
1585target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1586target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1587target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1588
1589
1590# The aliases save the names the user supplied, while $host etc.
1591# will get canonicalized.
1592test -n "$target_alias" &&
1593 test "$program_prefix$program_suffix$program_transform_name" = \
1594 NONENONEs,x,x, &&
1595 program_prefix=${target_alias}-
1596
1597
1598
1599WX_MAJOR_VERSION_NUMBER=2
1600WX_MINOR_VERSION_NUMBER=5
1601WX_RELEASE_NUMBER=0
1602
1603WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1604WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1605
1606WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1607
1608WX_CURRENT=0
1609WX_REVISION=0
1610WX_AGE=0
1611
1612
1613
1614USE_UNIX=1
1615USE_WIN32=0
1616USE_DOS=0
1617USE_BEOS=0
1618USE_MAC=0
1619
1620USE_AIX=
1621USE_BSD= USE_DARWIN= USE_FREEBSD=
1622USE_GNU= USE_HPUX=
1623USE_LINUX=
1624USE_NETBSD=
1625USE_OPENBSD=
1626USE_OSF= USE_SGI=
1627USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1628USE_ULTRIX=
1629USE_UNIXWARE=
1630
1631USE_ALPHA=
1632
1633NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1634
1635ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1636
1637DEFAULT_wxUSE_COCOA=0
1638DEFAULT_wxUSE_GTK=0
1639DEFAULT_wxUSE_MAC=0
1640DEFAULT_wxUSE_MGL=0
1641DEFAULT_wxUSE_MICROWIN=0
1642DEFAULT_wxUSE_MOTIF=0
1643DEFAULT_wxUSE_MSW=0
1644DEFAULT_wxUSE_PM=0
1645DEFAULT_wxUSE_X11=0
1646
1647DEFAULT_DEFAULT_wxUSE_COCOA=0
1648DEFAULT_DEFAULT_wxUSE_GTK=0
1649DEFAULT_DEFAULT_wxUSE_MAC=0
1650DEFAULT_DEFAULT_wxUSE_MGL=0
1651DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1652DEFAULT_DEFAULT_wxUSE_MOTIF=0
1653DEFAULT_DEFAULT_wxUSE_MSW=0
1654DEFAULT_DEFAULT_wxUSE_PM=0
1655DEFAULT_DEFAULT_wxUSE_X11=0
1656
1657PROGRAM_EXT=
1658SO_SUFFIX=so
1659SAMPLES_RPATH_FLAG=
1660
1661case "${host}" in
1662 *-hp-hpux* )
1663 USE_HPUX=1
1664 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1665 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1666 SO_SUFFIX=sl
1667 cat >>confdefs.h <<\_ACEOF
1668#define __HPUX__ 1
1669_ACEOF
1670
1671 ;;
1672 *-*-linux* )
1673 USE_LINUX=1
1674 cat >>confdefs.h <<\_ACEOF
1675#define __LINUX__ 1
1676_ACEOF
1677
1678 TMP=`uname -m`
1679 if test "x$TMP" = "xalpha"; then
1680 USE_ALPHA=1
1681 cat >>confdefs.h <<\_ACEOF
1682#define __ALPHA__ 1
1683_ACEOF
1684
1685 fi
1686 DEFAULT_DEFAULT_wxUSE_GTK=1
1687 ;;
1688 *-*-gnu* )
1689 USE_GNU=1
1690 cat >>confdefs.h <<\_ACEOF
1691#define __GNU__ 1
1692_ACEOF
1693
1694 TMP=`uname -m`
1695 if test "x$TMP" = "xalpha"; then
1696 USE_ALPHA=1
1697 cat >>confdefs.h <<\_ACEOF
1698#define __ALPHA__ 1
1699_ACEOF
1700
1701 fi
1702 DEFAULT_DEFAULT_wxUSE_GTK=1
1703 ;;
1704 *-*-irix5* | *-*-irix6* )
1705 USE_SGI=1
1706 USE_SVR4=1
1707 cat >>confdefs.h <<\_ACEOF
1708#define __SGI__ 1
1709_ACEOF
1710
1711 cat >>confdefs.h <<\_ACEOF
1712#define __SVR4__ 1
1713_ACEOF
1714
1715 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1716 ;;
1717 *-*-solaris2* )
1718 USE_SUN=1
1719 USE_SOLARIS=1
1720 USE_SVR4=1
1721 cat >>confdefs.h <<\_ACEOF
1722#define __SUN__ 1
1723_ACEOF
1724
1725 cat >>confdefs.h <<\_ACEOF
1726#define __SOLARIS__ 1
1727_ACEOF
1728
1729 cat >>confdefs.h <<\_ACEOF
1730#define __SVR4__ 1
1731_ACEOF
1732
1733 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1734 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1735 ;;
1736 *-*-sunos4* )
1737 USE_SUN=1
1738 USE_SUNOS=1
1739 USE_BSD=1
1740 cat >>confdefs.h <<\_ACEOF
1741#define __SUN__ 1
1742_ACEOF
1743
1744 cat >>confdefs.h <<\_ACEOF
1745#define __SUNOS__ 1
1746_ACEOF
1747
1748 cat >>confdefs.h <<\_ACEOF
1749#define __BSD__ 1
1750_ACEOF
1751
1752 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1753 ;;
1754 *-*-freebsd*)
1755 USE_BSD=1
1756 USE_FREEBSD=1
1757 cat >>confdefs.h <<\_ACEOF
1758#define __FREEBSD__ 1
1759_ACEOF
1760
1761 cat >>confdefs.h <<\_ACEOF
1762#define __BSD__ 1
1763_ACEOF
1764
1765 DEFAULT_DEFAULT_wxUSE_GTK=1
1766 ;;
1767 *-*-openbsd*)
1768 USE_BSD=1
1769 USE_OPENBSD=1
1770 cat >>confdefs.h <<\_ACEOF
1771#define __OPENBSD__ 1
1772_ACEOF
1773
1774 cat >>confdefs.h <<\_ACEOF
1775#define __BSD__ 1
1776_ACEOF
1777
1778 DEFAULT_DEFAULT_wxUSE_GTK=1
1779 ;;
1780 *-*-netbsd*)
1781 USE_BSD=1
1782 USE_NETBSD=1
1783 cat >>confdefs.h <<\_ACEOF
1784#define __NETBSD__ 1
1785_ACEOF
1786
1787 cat >>confdefs.h <<\_ACEOF
1788#define __BSD__ 1
1789_ACEOF
1790
1791 DEFAULT_DEFAULT_wxUSE_GTK=1
1792 ;;
1793 *-*-osf* )
1794 USE_ALPHA=1
1795 USE_OSF=1
1796 cat >>confdefs.h <<\_ACEOF
1797#define __ALPHA__ 1
1798_ACEOF
1799
1800 cat >>confdefs.h <<\_ACEOF
1801#define __OSF__ 1
1802_ACEOF
1803
1804 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1805 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1806 ;;
1807 *-*-dgux5* )
1808 USE_ALPHA=1
1809 USE_SVR4=1
1810 cat >>confdefs.h <<\_ACEOF
1811#define __ALPHA__ 1
1812_ACEOF
1813
1814 cat >>confdefs.h <<\_ACEOF
1815#define __SVR4__ 1
1816_ACEOF
1817
1818 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1819 ;;
1820 *-*-sysv5* )
1821 USE_SYSV=1
1822 USE_SVR4=1
1823 cat >>confdefs.h <<\_ACEOF
1824#define __SYSV__ 1
1825_ACEOF
1826
1827 cat >>confdefs.h <<\_ACEOF
1828#define __SVR4__ 1
1829_ACEOF
1830
1831 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1832 ;;
1833 *-*-aix* )
1834 USE_AIX=1
1835 USE_SYSV=1
1836 USE_SVR4=1
1837 SO_SUFFIX=a
1838 cat >>confdefs.h <<\_ACEOF
1839#define __AIX__ 1
1840_ACEOF
1841
1842 cat >>confdefs.h <<\_ACEOF
1843#define __SYSV__ 1
1844_ACEOF
1845
1846 cat >>confdefs.h <<\_ACEOF
1847#define __SVR4__ 1
1848_ACEOF
1849
1850 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1851 ;;
1852
1853 *-*-*UnixWare*)
1854 USE_SYSV=1
1855 USE_SVR4=1
1856 USE_UNIXWARE=1
1857 cat >>confdefs.h <<\_ACEOF
1858#define __UNIXWARE__ 1
1859_ACEOF
1860
1861 ;;
1862
1863 *-*-cygwin* | *-*-mingw32* )
1864 SO_SUFFIX=dll
1865 PROGRAM_EXT=".exe"
1866 RESCOMP=windres
1867 DEFAULT_DEFAULT_wxUSE_MSW=1
1868 ;;
1869
1870 *-pc-msdosdjgpp )
1871 USE_UNIX=0
1872 USE_DOS=1
1873 cat >>confdefs.h <<\_ACEOF
1874#define __DOS__ 1
1875_ACEOF
1876
1877 PROGRAM_EXT=".exe"
1878 DEFAULT_DEFAULT_wxUSE_MGL=1
1879 LIBS="$LIBS -lstdc++"
1880 ;;
1881
1882 *-pc-os2_emx | *-pc-os2-emx )
1883 cat >>confdefs.h <<\_ACEOF
1884#define __EMX__ 1
1885_ACEOF
1886
1887 PROGRAM_EXT=".exe"
1888 DEFAULT_DEFAULT_wxUSE_PM=1
1889 ;;
1890
1891 powerpc-*-darwin* )
1892 USE_BSD=1
1893 USE_DARWIN=1
1894 SO_SUFFIX=dylib
1895 cat >>confdefs.h <<\_ACEOF
1896#define __BSD__ 1
1897_ACEOF
1898
1899 cat >>confdefs.h <<\_ACEOF
1900#define __DARWIN__ 1
1901_ACEOF
1902
1903 cat >>confdefs.h <<\_ACEOF
1904#define __POWERPC__ 1
1905_ACEOF
1906
1907 cat >>confdefs.h <<\_ACEOF
1908#define TARGET_CARBON 1
1909_ACEOF
1910
1911 DEFAULT_DEFAULT_wxUSE_MAC=1
1912 ;;
1913
1914 *-*-beos* )
1915 USE_BEOS=1
1916 cat >>confdefs.h <<\_ACEOF
1917#define __BEOS__ 1
1918_ACEOF
1919
1920 ;;
1921
1922 *)
1923 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1924echo "$as_me: error: unknown system type ${host}." >&2;}
1925 { (exit 1); exit 1; }; }
1926esac
1927
1928
1929
1930
1931 wx_arg_cache_file="configarg.cache"
1932 echo "loading argument cache $wx_arg_cache_file"
1933 rm -f ${wx_arg_cache_file}.tmp
1934 touch ${wx_arg_cache_file}.tmp
1935 touch ${wx_arg_cache_file}
1936
1937
1938DEBUG_CONFIGURE=0
1939if test $DEBUG_CONFIGURE = 1; then
1940 DEFAULT_wxUSE_UNIVERSAL=no
1941
1942 DEFAULT_wxUSE_NANOX=no
1943
1944 DEFAULT_wxUSE_THREADS=yes
1945
1946 DEFAULT_wxUSE_SHARED=yes
1947 DEFAULT_wxUSE_SONAME=no
1948 DEFAULT_wxUSE_OPTIMISE=no
1949 DEFAULT_wxUSE_PROFILE=no
1950 DEFAULT_wxUSE_NO_DEPS=no
1951 DEFAULT_wxUSE_NO_RTTI=no
1952 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1953 DEFAULT_wxUSE_PERMISSIVE=no
1954 DEFAULT_wxUSE_DEBUG_FLAG=yes
1955 DEFAULT_wxUSE_DEBUG_INFO=yes
1956 DEFAULT_wxUSE_DEBUG_GDB=yes
1957 DEFAULT_wxUSE_MEM_TRACING=no
1958 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1959 DEFAULT_wxUSE_DMALLOC=no
1960 DEFAULT_wxUSE_PRECOMP=no
1961 DEFAULT_wxUSE_APPLE_IEEE=no
1962
1963 DEFAULT_wxUSE_LOG=yes
1964 DEFAULT_wxUSE_LOGWINDOW=no
1965 DEFAULT_wxUSE_LOGGUI=no
1966 DEFAULT_wxUSE_LOGDIALOG=no
1967
1968 DEFAULT_wxUSE_GUI=yes
1969 DEFAULT_wxUSE_CONTROLS=no
1970
1971 DEFAULT_wxUSE_REGEX=no
1972 DEFAULT_wxUSE_ZLIB=no
1973 DEFAULT_wxUSE_LIBPNG=no
1974 DEFAULT_wxUSE_LIBJPEG=no
1975 DEFAULT_wxUSE_LIBTIFF=no
1976 DEFAULT_wxUSE_ODBC=no
1977 DEFAULT_wxUSE_OPENGL=no
1978
1979 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1980 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1981 DEFAULT_wxUSE_STD_IOSTREAM=no
1982 DEFAULT_wxUSE_CMDLINE_PARSER=no
1983 DEFAULT_wxUSE_DATETIME=no
1984 DEFAULT_wxUSE_TIMER=no
1985 DEFAULT_wxUSE_STOPWATCH=no
1986 DEFAULT_wxUSE_FILE=no
1987 DEFAULT_wxUSE_FFILE=no
1988 DEFAULT_wxUSE_TEXTBUFFER=no
1989 DEFAULT_wxUSE_TEXTFILE=no
1990 DEFAULT_wxUSE_WAVE=no
1991 DEFAULT_wxUSE_INTL=no
1992 DEFAULT_wxUSE_CONFIG=no
1993 DEFAULT_wxUSE_FONTMAP=no
1994 DEFAULT_wxUSE_STREAMS=no
1995 DEFAULT_wxUSE_SOCKETS=no
1996 DEFAULT_wxUSE_OLE=no
1997 DEFAULT_wxUSE_DATAOBJ=no
1998 DEFAULT_wxUSE_DIALUP_MANAGER=no
1999 DEFAULT_wxUSE_JOYSTICK=no
2000 DEFAULT_wxUSE_DYNLIB_CLASS=no
2001 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2002 DEFAULT_wxUSE_LONGLONG=no
2003 DEFAULT_wxUSE_GEOMETRY=no
2004
2005 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2006 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2007 DEFAULT_wxUSE_POSTSCRIPT=no
2008
2009 DEFAULT_wxUSE_CLIPBOARD=no
2010 DEFAULT_wxUSE_TOOLTIPS=no
2011 DEFAULT_wxUSE_DRAG_AND_DROP=no
2012 DEFAULT_wxUSE_DRAGIMAGE=no
2013 DEFAULT_wxUSE_SPLINES=no
2014
2015 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2016 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2017 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2018
2019 DEFAULT_wxUSE_RESOURCES=no
2020 DEFAULT_wxUSE_CONSTRAINTS=no
2021 DEFAULT_wxUSE_IPC=no
2022 DEFAULT_wxUSE_HELP=no
2023 DEFAULT_wxUSE_MS_HTML_HELP=no
2024 DEFAULT_wxUSE_WXHTML_HELP=no
2025 DEFAULT_wxUSE_TREELAYOUT=no
2026 DEFAULT_wxUSE_METAFILE=no
2027 DEFAULT_wxUSE_MIMETYPE=no
2028 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2029 DEFAULT_wxUSE_PROTOCOL=no
2030 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2031 DEFAULT_wxUSE_PROTOCOL_FTP=no
2032 DEFAULT_wxUSE_PROTOCOL_FILE=no
2033 DEFAULT_wxUSE_URL=no
2034
2035 DEFAULT_wxUSE_COMMONDLGS=no
2036 DEFAULT_wxUSE_CHOICEDLG=no
2037 DEFAULT_wxUSE_COLOURDLG=no
2038 DEFAULT_wxUSE_DIRDLG=no
2039 DEFAULT_wxUSE_FILEDLG=no
2040 DEFAULT_wxUSE_FINDREPLDLG=no
2041 DEFAULT_wxUSE_FONTDLG=no
2042 DEFAULT_wxUSE_MSGDLG=no
2043 DEFAULT_wxUSE_NUMBERDLG=no
2044 DEFAULT_wxUSE_TEXTDLG=no
2045 DEFAULT_wxUSE_SPLASH=no
2046 DEFAULT_wxUSE_STARTUP_TIPS=no
2047 DEFAULT_wxUSE_PROGRESSDLG=no
2048 DEFAULT_wxUSE_WIZARDDLG=no
2049
2050 DEFAULT_wxUSE_MENUS=no
2051 DEFAULT_wxUSE_MINIFRAME=no
2052 DEFAULT_wxUSE_HTML=no
2053 DEFAULT_wxUSE_FILESYSTEM=no
2054 DEFAULT_wxUSE_FS_INET=no
2055 DEFAULT_wxUSE_FS_ZIP=no
2056 DEFAULT_wxUSE_BUSYINFO=no
2057 DEFAULT_wxUSE_ZIPSTREAM=no
2058 DEFAULT_wxUSE_VALIDATORS=no
2059
2060 DEFAULT_wxUSE_ACCEL=no
2061 DEFAULT_wxUSE_BUTTON=no
2062 DEFAULT_wxUSE_BMPBUTTON=no
2063 DEFAULT_wxUSE_CALCTRL=no
2064 DEFAULT_wxUSE_CARET=no
2065 DEFAULT_wxUSE_CHECKBOX=no
2066 DEFAULT_wxUSE_CHECKLST=no
2067 DEFAULT_wxUSE_CHOICE=no
2068 DEFAULT_wxUSE_COMBOBOX=no
2069 DEFAULT_wxUSE_DISPLAY=no
2070 DEFAULT_wxUSE_GAUGE=no
2071 DEFAULT_wxUSE_GRID=no
2072 DEFAULT_wxUSE_IMAGLIST=no
2073 DEFAULT_wxUSE_LISTBOX=no
2074 DEFAULT_wxUSE_LISTCTRL=no
2075 DEFAULT_wxUSE_NOTEBOOK=no
2076 DEFAULT_wxUSE_RADIOBOX=no
2077 DEFAULT_wxUSE_RADIOBTN=no
2078 DEFAULT_wxUSE_SASH=no
2079 DEFAULT_wxUSE_SCROLLBAR=no
2080 DEFAULT_wxUSE_SLIDER=no
2081 DEFAULT_wxUSE_SPINBTN=no
2082 DEFAULT_wxUSE_SPINCTRL=no
2083 DEFAULT_wxUSE_SPLITTER=no
2084 DEFAULT_wxUSE_STATBMP=no
2085 DEFAULT_wxUSE_STATBOX=no
2086 DEFAULT_wxUSE_STATLINE=no
2087 DEFAULT_wxUSE_STATTEXT=no
2088 DEFAULT_wxUSE_STATUSBAR=yes
2089 DEFAULT_wxUSE_TABDIALOG=no
2090 DEFAULT_wxUSE_TEXTCTRL=no
2091 DEFAULT_wxUSE_TOGGLEBTN=no
2092 DEFAULT_wxUSE_TOOLBAR=no
2093 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2094 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2095 DEFAULT_wxUSE_TREECTRL=no
2096 DEFAULT_wxUSE_POPUPWIN=no
2097 DEFAULT_wxUSE_TIPWINDOW=no
2098
2099 DEFAULT_wxUSE_UNICODE=no
2100 DEFAULT_wxUSE_UNICODE_MSLU=no
2101 DEFAULT_wxUSE_WCSRTOMBS=no
2102
2103 DEFAULT_wxUSE_PALETTE=no
2104 DEFAULT_wxUSE_IMAGE=no
2105 DEFAULT_wxUSE_GIF=no
2106 DEFAULT_wxUSE_PCX=no
2107 DEFAULT_wxUSE_PNM=no
2108 DEFAULT_wxUSE_IFF=no
2109 DEFAULT_wxUSE_XPM=no
2110 DEFAULT_wxUSE_ICO_CUR=no
2111 DEFAULT_wxUSE_ACCESSIBILITY=no
2112
2113 DEFAULT_wxUSE_MONOLITHIC=yes
2114else
2115 DEFAULT_wxUSE_UNIVERSAL=no
2116
2117 DEFAULT_wxUSE_NANOX=no
2118
2119 DEFAULT_wxUSE_THREADS=yes
2120
2121 DEFAULT_wxUSE_SHARED=yes
2122 DEFAULT_wxUSE_SONAME=no
2123 DEFAULT_wxUSE_OPTIMISE=yes
2124 DEFAULT_wxUSE_PROFILE=no
2125 DEFAULT_wxUSE_NO_DEPS=no
2126 DEFAULT_wxUSE_NO_RTTI=no
2127 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2128 DEFAULT_wxUSE_PERMISSIVE=no
2129 DEFAULT_wxUSE_DEBUG_FLAG=no
2130 DEFAULT_wxUSE_DEBUG_INFO=no
2131 DEFAULT_wxUSE_DEBUG_GDB=no
2132 DEFAULT_wxUSE_MEM_TRACING=no
2133 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2134 DEFAULT_wxUSE_DMALLOC=no
2135 DEFAULT_wxUSE_PRECOMP=no
2136 DEFAULT_wxUSE_APPLE_IEEE=yes
2137
2138 DEFAULT_wxUSE_LOG=yes
2139 DEFAULT_wxUSE_LOGWINDOW=yes
2140 DEFAULT_wxUSE_LOGGUI=yes
2141 DEFAULT_wxUSE_LOGDIALOG=yes
2142
2143 DEFAULT_wxUSE_GUI=yes
2144
2145 DEFAULT_wxUSE_REGEX=yes
2146 DEFAULT_wxUSE_ZLIB=yes
2147 DEFAULT_wxUSE_LIBPNG=yes
2148 DEFAULT_wxUSE_LIBJPEG=yes
2149 DEFAULT_wxUSE_LIBTIFF=yes
2150 DEFAULT_wxUSE_ODBC=no
2151 DEFAULT_wxUSE_OPENGL=no
2152
2153 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2154 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2155 DEFAULT_wxUSE_STD_IOSTREAM=no
2156 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2157 DEFAULT_wxUSE_DATETIME=yes
2158 DEFAULT_wxUSE_TIMER=yes
2159 DEFAULT_wxUSE_STOPWATCH=yes
2160 DEFAULT_wxUSE_FILE=yes
2161 DEFAULT_wxUSE_FFILE=yes
2162 DEFAULT_wxUSE_TEXTBUFFER=yes
2163 DEFAULT_wxUSE_TEXTFILE=yes
2164 DEFAULT_wxUSE_WAVE=no
2165 DEFAULT_wxUSE_INTL=yes
2166 DEFAULT_wxUSE_CONFIG=yes
2167 DEFAULT_wxUSE_FONTMAP=yes
2168 DEFAULT_wxUSE_STREAMS=yes
2169 DEFAULT_wxUSE_SOCKETS=yes
2170 DEFAULT_wxUSE_OLE=yes
2171 DEFAULT_wxUSE_DATAOBJ=yes
2172 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2173 DEFAULT_wxUSE_JOYSTICK=yes
2174 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2175 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2176 DEFAULT_wxUSE_LONGLONG=yes
2177 DEFAULT_wxUSE_GEOMETRY=yes
2178
2179 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2180 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2181 DEFAULT_wxUSE_POSTSCRIPT=yes
2182
2183 DEFAULT_wxUSE_CLIPBOARD=yes
2184 DEFAULT_wxUSE_TOOLTIPS=yes
2185 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2186 DEFAULT_wxUSE_DRAGIMAGE=yes
2187 DEFAULT_wxUSE_SPLINES=yes
2188
2189 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2190 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2191 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2192
2193 DEFAULT_wxUSE_RESOURCES=no
2194 DEFAULT_wxUSE_CONSTRAINTS=yes
2195 DEFAULT_wxUSE_IPC=yes
2196 DEFAULT_wxUSE_HELP=yes
2197 DEFAULT_wxUSE_MS_HTML_HELP=yes
2198 DEFAULT_wxUSE_WXHTML_HELP=yes
2199 DEFAULT_wxUSE_TREELAYOUT=yes
2200 DEFAULT_wxUSE_METAFILE=yes
2201 DEFAULT_wxUSE_MIMETYPE=yes
2202 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2203 DEFAULT_wxUSE_PROTOCOL=yes
2204 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2205 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2206 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2207 DEFAULT_wxUSE_URL=yes
2208
2209 DEFAULT_wxUSE_COMMONDLGS=yes
2210 DEFAULT_wxUSE_CHOICEDLG=yes
2211 DEFAULT_wxUSE_COLOURDLG=yes
2212 DEFAULT_wxUSE_DIRDLG=yes
2213 DEFAULT_wxUSE_FILEDLG=yes
2214 DEFAULT_wxUSE_FINDREPLDLG=yes
2215 DEFAULT_wxUSE_FONTDLG=yes
2216 DEFAULT_wxUSE_MSGDLG=yes
2217 DEFAULT_wxUSE_NUMBERDLG=yes
2218 DEFAULT_wxUSE_TEXTDLG=yes
2219 DEFAULT_wxUSE_SPLASH=yes
2220 DEFAULT_wxUSE_STARTUP_TIPS=yes
2221 DEFAULT_wxUSE_PROGRESSDLG=yes
2222 DEFAULT_wxUSE_WIZARDDLG=yes
2223
2224 DEFAULT_wxUSE_MENUS=yes
2225 DEFAULT_wxUSE_MINIFRAME=yes
2226 DEFAULT_wxUSE_HTML=yes
2227 DEFAULT_wxUSE_FILESYSTEM=yes
2228 DEFAULT_wxUSE_FS_INET=yes
2229 DEFAULT_wxUSE_FS_ZIP=yes
2230 DEFAULT_wxUSE_BUSYINFO=yes
2231 DEFAULT_wxUSE_ZIPSTREAM=yes
2232 DEFAULT_wxUSE_VALIDATORS=yes
2233
2234 DEFAULT_wxUSE_ACCEL=yes
2235 DEFAULT_wxUSE_BUTTON=yes
2236 DEFAULT_wxUSE_BMPBUTTON=yes
2237 DEFAULT_wxUSE_CALCTRL=yes
2238 DEFAULT_wxUSE_CARET=yes
2239 DEFAULT_wxUSE_CHECKBOX=yes
2240 DEFAULT_wxUSE_CHECKLST=yes
2241 DEFAULT_wxUSE_CHOICE=yes
2242 DEFAULT_wxUSE_COMBOBOX=yes
2243 DEFAULT_wxUSE_DISPLAY=no
2244 DEFAULT_wxUSE_GAUGE=yes
2245 DEFAULT_wxUSE_GRID=yes
2246 DEFAULT_wxUSE_IMAGLIST=yes
2247 DEFAULT_wxUSE_LISTBOX=yes
2248 DEFAULT_wxUSE_LISTCTRL=yes
2249 DEFAULT_wxUSE_NOTEBOOK=yes
2250 DEFAULT_wxUSE_RADIOBOX=yes
2251 DEFAULT_wxUSE_RADIOBTN=yes
2252 DEFAULT_wxUSE_SASH=yes
2253 DEFAULT_wxUSE_SCROLLBAR=yes
2254 DEFAULT_wxUSE_SLIDER=yes
2255 DEFAULT_wxUSE_SPINBTN=yes
2256 DEFAULT_wxUSE_SPINCTRL=yes
2257 DEFAULT_wxUSE_SPLITTER=yes
2258 DEFAULT_wxUSE_STATBMP=yes
2259 DEFAULT_wxUSE_STATBOX=yes
2260 DEFAULT_wxUSE_STATLINE=yes
2261 DEFAULT_wxUSE_STATTEXT=yes
2262 DEFAULT_wxUSE_STATUSBAR=yes
2263 DEFAULT_wxUSE_TABDIALOG=no
2264 DEFAULT_wxUSE_TEXTCTRL=yes
2265 DEFAULT_wxUSE_TOGGLEBTN=yes
2266 DEFAULT_wxUSE_TOOLBAR=yes
2267 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2268 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2269 DEFAULT_wxUSE_TREECTRL=yes
2270 DEFAULT_wxUSE_POPUPWIN=yes
2271 DEFAULT_wxUSE_TIPWINDOW=yes
2272
2273 DEFAULT_wxUSE_UNICODE=no
2274 DEFAULT_wxUSE_UNICODE_MSLU=yes
2275 DEFAULT_wxUSE_WCSRTOMBS=no
2276
2277 DEFAULT_wxUSE_PALETTE=yes
2278 DEFAULT_wxUSE_IMAGE=yes
2279 DEFAULT_wxUSE_GIF=yes
2280 DEFAULT_wxUSE_PCX=yes
2281 DEFAULT_wxUSE_IFF=no
2282 DEFAULT_wxUSE_PNM=yes
2283 DEFAULT_wxUSE_XPM=yes
2284 DEFAULT_wxUSE_ICO_CUR=yes
2285 DEFAULT_wxUSE_ACCESSIBILITY=no
2286
2287 DEFAULT_wxUSE_MONOLITHIC=yes
2288fi
2289
2290
2291
2292for toolkit in `echo $ALL_TOOLKITS`; do
2293 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2294 if test "x$LINE" != "x" ; then
2295 has_toolkit_in_cache=1
2296 eval "DEFAULT_$LINE"
2297 eval "CACHE_$toolkit=1"
2298 fi
2299done
2300
2301
2302
2303 enablestring=
2304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2305echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2306 no_cache=0
2307 # Check whether --enable-gui or --disable-gui was given.
2308if test "${enable_gui+set}" = set; then
2309 enableval="$enable_gui"
2310
2311 if test "$enableval" = yes; then
2312 ac_cv_use_gui='wxUSE_GUI=yes'
2313 else
2314 ac_cv_use_gui='wxUSE_GUI=no'
2315 fi
2316
2317else
2318
2319 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2320 if test "x$LINE" != x ; then
2321 eval "DEFAULT_$LINE"
2322 else
2323 no_cache=1
2324 fi
2325
2326 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2327
2328fi;
2329
2330 eval "$ac_cv_use_gui"
2331 if test "$no_cache" != 1; then
2332 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2333 fi
2334
2335 if test "$wxUSE_GUI" = yes; then
2336 echo "$as_me:$LINENO: result: yes" >&5
2337echo "${ECHO_T}yes" >&6
2338 else
2339 echo "$as_me:$LINENO: result: no" >&5
2340echo "${ECHO_T}no" >&6
2341 fi
2342
2343
2344 enablestring=
2345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2346echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2347 no_cache=0
2348 # Check whether --enable-monolithic or --disable-monolithic was given.
2349if test "${enable_monolithic+set}" = set; then
2350 enableval="$enable_monolithic"
2351
2352 if test "$enableval" = yes; then
2353 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2354 else
2355 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2356 fi
2357
2358else
2359
2360 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2361 if test "x$LINE" != x ; then
2362 eval "DEFAULT_$LINE"
2363 else
2364 no_cache=1
2365 fi
2366
2367 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2368
2369fi;
2370
2371 eval "$ac_cv_use_monolithic"
2372 if test "$no_cache" != 1; then
2373 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2374 fi
2375
2376 if test "$wxUSE_MONOLITHIC" = yes; then
2377 echo "$as_me:$LINENO: result: yes" >&5
2378echo "${ECHO_T}yes" >&6
2379 else
2380 echo "$as_me:$LINENO: result: no" >&5
2381echo "${ECHO_T}no" >&6
2382 fi
2383
2384
2385if test "$wxUSE_GUI" = "yes"; then
2386
2387
2388 enablestring=
2389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2390echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2391 no_cache=0
2392 # Check whether --enable-universal or --disable-universal was given.
2393if test "${enable_universal+set}" = set; then
2394 enableval="$enable_universal"
2395
2396 if test "$enableval" = yes; then
2397 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2398 else
2399 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2400 fi
2401
2402else
2403
2404 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2405 if test "x$LINE" != x ; then
2406 eval "DEFAULT_$LINE"
2407 else
2408 no_cache=1
2409 fi
2410
2411 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2412
2413fi;
2414
2415 eval "$ac_cv_use_universal"
2416 if test "$no_cache" != 1; then
2417 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2418 fi
2419
2420 if test "$wxUSE_UNIVERSAL" = yes; then
2421 echo "$as_me:$LINENO: result: yes" >&5
2422echo "${ECHO_T}yes" >&6
2423 else
2424 echo "$as_me:$LINENO: result: no" >&5
2425echo "${ECHO_T}no" >&6
2426 fi
2427
2428
2429# Check whether --with-gtk or --without-gtk was given.
2430if test "${with_gtk+set}" = set; then
2431 withval="$with_gtk"
2432 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2433fi;
2434
2435# Check whether --with-motif or --without-motif was given.
2436if test "${with_motif+set}" = set; then
2437 withval="$with_motif"
2438 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2439fi;
2440
2441# Check whether --with-mac or --without-mac was given.
2442if test "${with_mac+set}" = set; then
2443 withval="$with_mac"
2444 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2445fi;
2446
2447# Check whether --with-cocoa or --without-cocoa was given.
2448if test "${with_cocoa+set}" = set; then
2449 withval="$with_cocoa"
2450 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2451fi;
2452
2453# Check whether --with-wine or --without-wine was given.
2454if test "${with_wine+set}" = set; then
2455 withval="$with_wine"
2456 wxUSE_WINE="$withval" CACHE_WINE=1
2457fi;
2458
2459# Check whether --with-msw or --without-msw was given.
2460if test "${with_msw+set}" = set; then
2461 withval="$with_msw"
2462 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2463fi;
2464
2465# Check whether --with-pm or --without-pm was given.
2466if test "${with_pm+set}" = set; then
2467 withval="$with_pm"
2468 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2469fi;
2470
2471# Check whether --with-mgl or --without-mgl was given.
2472if test "${with_mgl+set}" = set; then
2473 withval="$with_mgl"
2474 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2475fi;
2476
2477# Check whether --with-microwin or --without-microwin was given.
2478if test "${with_microwin+set}" = set; then
2479 withval="$with_microwin"
2480 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2481fi;
2482
2483# Check whether --with-x11 or --without-x11 was given.
2484if test "${with_x11+set}" = set; then
2485 withval="$with_x11"
2486 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2487fi;
2488
2489 enablestring=
2490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2491echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2492 no_cache=0
2493 # Check whether --enable-nanox or --disable-nanox was given.
2494if test "${enable_nanox+set}" = set; then
2495 enableval="$enable_nanox"
2496
2497 if test "$enableval" = yes; then
2498 ac_cv_use_nanox='wxUSE_NANOX=yes'
2499 else
2500 ac_cv_use_nanox='wxUSE_NANOX=no'
2501 fi
2502
2503else
2504
2505 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2506 if test "x$LINE" != x ; then
2507 eval "DEFAULT_$LINE"
2508 else
2509 no_cache=1
2510 fi
2511
2512 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2513
2514fi;
2515
2516 eval "$ac_cv_use_nanox"
2517 if test "$no_cache" != 1; then
2518 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2519 fi
2520
2521 if test "$wxUSE_NANOX" = yes; then
2522 echo "$as_me:$LINENO: result: yes" >&5
2523echo "${ECHO_T}yes" >&6
2524 else
2525 echo "$as_me:$LINENO: result: no" >&5
2526echo "${ECHO_T}no" >&6
2527 fi
2528
2529
2530
2531 enablestring=
2532 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2533echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2534 no_cache=0
2535 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2536if test "${enable_gtk2+set}" = set; then
2537 enableval="$enable_gtk2"
2538
2539 if test "$enableval" = yes; then
2540 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2541 else
2542 ac_cv_use_gtk2='wxUSE_GTK2=no'
2543 fi
2544
2545else
2546
2547 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2548 if test "x$LINE" != x ; then
2549 eval "DEFAULT_$LINE"
2550 else
2551 no_cache=1
2552 fi
2553
2554 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2555
2556fi;
2557
2558 eval "$ac_cv_use_gtk2"
2559 if test "$no_cache" != 1; then
2560 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2561 fi
2562
2563 if test "$wxUSE_GTK2" = yes; then
2564 echo "$as_me:$LINENO: result: yes" >&5
2565echo "${ECHO_T}yes" >&6
2566 else
2567 echo "$as_me:$LINENO: result: no" >&5
2568echo "${ECHO_T}no" >&6
2569 fi
2570
2571
2572
2573 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2574echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2575 no_cache=0
2576
2577# Check whether --with-libpng or --without-libpng was given.
2578if test "${with_libpng+set}" = set; then
2579 withval="$with_libpng"
2580
2581 if test "$withval" = yes; then
2582 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2583 elif test "$withval" = no; then
2584 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2585 elif test "$withval" = sys; then
2586 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2587 elif test "$withval" = builtin; then
2588 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2589 else
2590 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2591echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2592 { (exit 1); exit 1; }; }
2593 fi
2594
2595else
2596
2597 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2598 if test "x$LINE" != x ; then
2599 eval "DEFAULT_$LINE"
2600 else
2601 no_cache=1
2602 fi
2603
2604 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2605
2606fi;
2607
2608 eval "$ac_cv_use_libpng"
2609 if test "$no_cache" != 1; then
2610 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2611 fi
2612
2613 if test "$wxUSE_LIBPNG" = yes; then
2614 echo "$as_me:$LINENO: result: yes" >&5
2615echo "${ECHO_T}yes" >&6
2616 elif test "$wxUSE_LIBPNG" = no; then
2617 echo "$as_me:$LINENO: result: no" >&5
2618echo "${ECHO_T}no" >&6
2619 elif test "$wxUSE_LIBPNG" = sys; then
2620 echo "$as_me:$LINENO: result: system version" >&5
2621echo "${ECHO_T}system version" >&6
2622 elif test "$wxUSE_LIBPNG" = builtin; then
2623 echo "$as_me:$LINENO: result: builtin version" >&5
2624echo "${ECHO_T}builtin version" >&6
2625 else
2626 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2627echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2628 { (exit 1); exit 1; }; }
2629 fi
2630
2631
2632 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2633echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2634 no_cache=0
2635
2636# Check whether --with-libjpeg or --without-libjpeg was given.
2637if test "${with_libjpeg+set}" = set; then
2638 withval="$with_libjpeg"
2639
2640 if test "$withval" = yes; then
2641 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2642 elif test "$withval" = no; then
2643 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2644 elif test "$withval" = sys; then
2645 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2646 elif test "$withval" = builtin; then
2647 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2648 else
2649 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2650echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2651 { (exit 1); exit 1; }; }
2652 fi
2653
2654else
2655
2656 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2657 if test "x$LINE" != x ; then
2658 eval "DEFAULT_$LINE"
2659 else
2660 no_cache=1
2661 fi
2662
2663 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2664
2665fi;
2666
2667 eval "$ac_cv_use_libjpeg"
2668 if test "$no_cache" != 1; then
2669 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2670 fi
2671
2672 if test "$wxUSE_LIBJPEG" = yes; then
2673 echo "$as_me:$LINENO: result: yes" >&5
2674echo "${ECHO_T}yes" >&6
2675 elif test "$wxUSE_LIBJPEG" = no; then
2676 echo "$as_me:$LINENO: result: no" >&5
2677echo "${ECHO_T}no" >&6
2678 elif test "$wxUSE_LIBJPEG" = sys; then
2679 echo "$as_me:$LINENO: result: system version" >&5
2680echo "${ECHO_T}system version" >&6
2681 elif test "$wxUSE_LIBJPEG" = builtin; then
2682 echo "$as_me:$LINENO: result: builtin version" >&5
2683echo "${ECHO_T}builtin version" >&6
2684 else
2685 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2686echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2687 { (exit 1); exit 1; }; }
2688 fi
2689
2690
2691 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2692echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2693 no_cache=0
2694
2695# Check whether --with-libtiff or --without-libtiff was given.
2696if test "${with_libtiff+set}" = set; then
2697 withval="$with_libtiff"
2698
2699 if test "$withval" = yes; then
2700 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2701 elif test "$withval" = no; then
2702 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2703 elif test "$withval" = sys; then
2704 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2705 elif test "$withval" = builtin; then
2706 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2707 else
2708 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2709echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2710 { (exit 1); exit 1; }; }
2711 fi
2712
2713else
2714
2715 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2716 if test "x$LINE" != x ; then
2717 eval "DEFAULT_$LINE"
2718 else
2719 no_cache=1
2720 fi
2721
2722 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2723
2724fi;
2725
2726 eval "$ac_cv_use_libtiff"
2727 if test "$no_cache" != 1; then
2728 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2729 fi
2730
2731 if test "$wxUSE_LIBTIFF" = yes; then
2732 echo "$as_me:$LINENO: result: yes" >&5
2733echo "${ECHO_T}yes" >&6
2734 elif test "$wxUSE_LIBTIFF" = no; then
2735 echo "$as_me:$LINENO: result: no" >&5
2736echo "${ECHO_T}no" >&6
2737 elif test "$wxUSE_LIBTIFF" = sys; then
2738 echo "$as_me:$LINENO: result: system version" >&5
2739echo "${ECHO_T}system version" >&6
2740 elif test "$wxUSE_LIBTIFF" = builtin; then
2741 echo "$as_me:$LINENO: result: builtin version" >&5
2742echo "${ECHO_T}builtin version" >&6
2743 else
2744 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2745echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2746 { (exit 1); exit 1; }; }
2747 fi
2748
2749
2750 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2751echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2752 no_cache=0
2753
2754# Check whether --with-opengl or --without-opengl was given.
2755if test "${with_opengl+set}" = set; then
2756 withval="$with_opengl"
2757
2758 if test "$withval" = yes; then
2759 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2760 else
2761 ac_cv_use_opengl='wxUSE_OPENGL=no'
2762 fi
2763
2764else
2765
2766 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2767 if test "x$LINE" != x ; then
2768 eval "DEFAULT_$LINE"
2769 else
2770 no_cache=1
2771 fi
2772
2773 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2774
2775fi;
2776
2777 eval "$ac_cv_use_opengl"
2778 if test "$no_cache" != 1; then
2779 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2780 fi
2781
2782 if test "$wxUSE_OPENGL" = yes; then
2783 echo "$as_me:$LINENO: result: yes" >&5
2784echo "${ECHO_T}yes" >&6
2785 else
2786 echo "$as_me:$LINENO: result: no" >&5
2787echo "${ECHO_T}no" >&6
2788 fi
2789
2790
2791fi
2792
2793
2794 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2795echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2796 no_cache=0
2797
2798# Check whether --with-dmalloc or --without-dmalloc was given.
2799if test "${with_dmalloc+set}" = set; then
2800 withval="$with_dmalloc"
2801
2802 if test "$withval" = yes; then
2803 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2804 else
2805 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2806 fi
2807
2808else
2809
2810 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2811 if test "x$LINE" != x ; then
2812 eval "DEFAULT_$LINE"
2813 else
2814 no_cache=1
2815 fi
2816
2817 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2818
2819fi;
2820
2821 eval "$ac_cv_use_dmalloc"
2822 if test "$no_cache" != 1; then
2823 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2824 fi
2825
2826 if test "$wxUSE_DMALLOC" = yes; then
2827 echo "$as_me:$LINENO: result: yes" >&5
2828echo "${ECHO_T}yes" >&6
2829 else
2830 echo "$as_me:$LINENO: result: no" >&5
2831echo "${ECHO_T}no" >&6
2832 fi
2833
2834
2835 echo "$as_me:$LINENO: checking for --with-regex" >&5
2836echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2837 no_cache=0
2838
2839# Check whether --with-regex or --without-regex was given.
2840if test "${with_regex+set}" = set; then
2841 withval="$with_regex"
2842
2843 if test "$withval" = yes; then
2844 ac_cv_use_regex='wxUSE_REGEX=yes'
2845 elif test "$withval" = no; then
2846 ac_cv_use_regex='wxUSE_REGEX=no'
2847 elif test "$withval" = sys; then
2848 ac_cv_use_regex='wxUSE_REGEX=sys'
2849 elif test "$withval" = builtin; then
2850 ac_cv_use_regex='wxUSE_REGEX=builtin'
2851 else
2852 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2853echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2854 { (exit 1); exit 1; }; }
2855 fi
2856
2857else
2858
2859 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2860 if test "x$LINE" != x ; then
2861 eval "DEFAULT_$LINE"
2862 else
2863 no_cache=1
2864 fi
2865
2866 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2867
2868fi;
2869
2870 eval "$ac_cv_use_regex"
2871 if test "$no_cache" != 1; then
2872 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2873 fi
2874
2875 if test "$wxUSE_REGEX" = yes; then
2876 echo "$as_me:$LINENO: result: yes" >&5
2877echo "${ECHO_T}yes" >&6
2878 elif test "$wxUSE_REGEX" = no; then
2879 echo "$as_me:$LINENO: result: no" >&5
2880echo "${ECHO_T}no" >&6
2881 elif test "$wxUSE_REGEX" = sys; then
2882 echo "$as_me:$LINENO: result: system version" >&5
2883echo "${ECHO_T}system version" >&6
2884 elif test "$wxUSE_REGEX" = builtin; then
2885 echo "$as_me:$LINENO: result: builtin version" >&5
2886echo "${ECHO_T}builtin version" >&6
2887 else
2888 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2889echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2890 { (exit 1); exit 1; }; }
2891 fi
2892
2893
2894 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2895echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2896 no_cache=0
2897
2898# Check whether --with-zlib or --without-zlib was given.
2899if test "${with_zlib+set}" = set; then
2900 withval="$with_zlib"
2901
2902 if test "$withval" = yes; then
2903 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2904 elif test "$withval" = no; then
2905 ac_cv_use_zlib='wxUSE_ZLIB=no'
2906 elif test "$withval" = sys; then
2907 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2908 elif test "$withval" = builtin; then
2909 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2910 else
2911 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2912echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2913 { (exit 1); exit 1; }; }
2914 fi
2915
2916else
2917
2918 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2919 if test "x$LINE" != x ; then
2920 eval "DEFAULT_$LINE"
2921 else
2922 no_cache=1
2923 fi
2924
2925 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2926
2927fi;
2928
2929 eval "$ac_cv_use_zlib"
2930 if test "$no_cache" != 1; then
2931 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2932 fi
2933
2934 if test "$wxUSE_ZLIB" = yes; then
2935 echo "$as_me:$LINENO: result: yes" >&5
2936echo "${ECHO_T}yes" >&6
2937 elif test "$wxUSE_ZLIB" = no; then
2938 echo "$as_me:$LINENO: result: no" >&5
2939echo "${ECHO_T}no" >&6
2940 elif test "$wxUSE_ZLIB" = sys; then
2941 echo "$as_me:$LINENO: result: system version" >&5
2942echo "${ECHO_T}system version" >&6
2943 elif test "$wxUSE_ZLIB" = builtin; then
2944 echo "$as_me:$LINENO: result: builtin version" >&5
2945echo "${ECHO_T}builtin version" >&6
2946 else
2947 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2948echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2949 { (exit 1); exit 1; }; }
2950 fi
2951
2952
2953 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2954echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2955 no_cache=0
2956
2957# Check whether --with-odbc or --without-odbc was given.
2958if test "${with_odbc+set}" = set; then
2959 withval="$with_odbc"
2960
2961 if test "$withval" = yes; then
2962 ac_cv_use_odbc='wxUSE_ODBC=yes'
2963 elif test "$withval" = no; then
2964 ac_cv_use_odbc='wxUSE_ODBC=no'
2965 elif test "$withval" = sys; then
2966 ac_cv_use_odbc='wxUSE_ODBC=sys'
2967 elif test "$withval" = builtin; then
2968 ac_cv_use_odbc='wxUSE_ODBC=builtin'
2969 else
2970 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2971echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
2972 { (exit 1); exit 1; }; }
2973 fi
2974
2975else
2976
2977 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2978 if test "x$LINE" != x ; then
2979 eval "DEFAULT_$LINE"
2980 else
2981 no_cache=1
2982 fi
2983
2984 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2985
2986fi;
2987
2988 eval "$ac_cv_use_odbc"
2989 if test "$no_cache" != 1; then
2990 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2991 fi
2992
2993 if test "$wxUSE_ODBC" = yes; then
2994 echo "$as_me:$LINENO: result: yes" >&5
2995echo "${ECHO_T}yes" >&6
2996 elif test "$wxUSE_ODBC" = no; then
2997 echo "$as_me:$LINENO: result: no" >&5
2998echo "${ECHO_T}no" >&6
2999 elif test "$wxUSE_ODBC" = sys; then
3000 echo "$as_me:$LINENO: result: system version" >&5
3001echo "${ECHO_T}system version" >&6
3002 elif test "$wxUSE_ODBC" = builtin; then
3003 echo "$as_me:$LINENO: result: builtin version" >&5
3004echo "${ECHO_T}builtin version" >&6
3005 else
3006 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3007echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3008 { (exit 1); exit 1; }; }
3009 fi
3010
3011
3012
3013
3014 enablestring=
3015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3016echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3017 no_cache=0
3018 # Check whether --enable-shared or --disable-shared was given.
3019if test "${enable_shared+set}" = set; then
3020 enableval="$enable_shared"
3021
3022 if test "$enableval" = yes; then
3023 ac_cv_use_shared='wxUSE_SHARED=yes'
3024 else
3025 ac_cv_use_shared='wxUSE_SHARED=no'
3026 fi
3027
3028else
3029
3030 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3031 if test "x$LINE" != x ; then
3032 eval "DEFAULT_$LINE"
3033 else
3034 no_cache=1
3035 fi
3036
3037 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3038
3039fi;
3040
3041 eval "$ac_cv_use_shared"
3042 if test "$no_cache" != 1; then
3043 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3044 fi
3045
3046 if test "$wxUSE_SHARED" = yes; then
3047 echo "$as_me:$LINENO: result: yes" >&5
3048echo "${ECHO_T}yes" >&6
3049 else
3050 echo "$as_me:$LINENO: result: no" >&5
3051echo "${ECHO_T}no" >&6
3052 fi
3053
3054
3055 enablestring=
3056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-soname" >&5
3057echo $ECHO_N "checking for --${enablestring:-enable}-soname... $ECHO_C" >&6
3058 no_cache=0
3059 # Check whether --enable-soname or --disable-soname was given.
3060if test "${enable_soname+set}" = set; then
3061 enableval="$enable_soname"
3062
3063 if test "$enableval" = yes; then
3064 ac_cv_use_soname='wxUSE_SONAME=yes'
3065 else
3066 ac_cv_use_soname='wxUSE_SONAME=no'
3067 fi
3068
3069else
3070
3071 LINE=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
3072 if test "x$LINE" != x ; then
3073 eval "DEFAULT_$LINE"
3074 else
3075 no_cache=1
3076 fi
3077
3078 ac_cv_use_soname='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
3079
3080fi;
3081
3082 eval "$ac_cv_use_soname"
3083 if test "$no_cache" != 1; then
3084 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
3085 fi
3086
3087 if test "$wxUSE_SONAME" = yes; then
3088 echo "$as_me:$LINENO: result: yes" >&5
3089echo "${ECHO_T}yes" >&6
3090 else
3091 echo "$as_me:$LINENO: result: no" >&5
3092echo "${ECHO_T}no" >&6
3093 fi
3094
3095
3096 enablestring=
3097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3098echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3099 no_cache=0
3100 # Check whether --enable-optimise or --disable-optimise was given.
3101if test "${enable_optimise+set}" = set; then
3102 enableval="$enable_optimise"
3103
3104 if test "$enableval" = yes; then
3105 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3106 else
3107 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3108 fi
3109
3110else
3111
3112 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3113 if test "x$LINE" != x ; then
3114 eval "DEFAULT_$LINE"
3115 else
3116 no_cache=1
3117 fi
3118
3119 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3120
3121fi;
3122
3123 eval "$ac_cv_use_optimise"
3124 if test "$no_cache" != 1; then
3125 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3126 fi
3127
3128 if test "$wxUSE_OPTIMISE" = yes; then
3129 echo "$as_me:$LINENO: result: yes" >&5
3130echo "${ECHO_T}yes" >&6
3131 else
3132 echo "$as_me:$LINENO: result: no" >&5
3133echo "${ECHO_T}no" >&6
3134 fi
3135
3136
3137 enablestring=
3138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3139echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3140 no_cache=0
3141 # Check whether --enable-debug or --disable-debug was given.
3142if test "${enable_debug+set}" = set; then
3143 enableval="$enable_debug"
3144
3145 if test "$enableval" = yes; then
3146 ac_cv_use_debug='wxUSE_DEBUG=yes'
3147 else
3148 ac_cv_use_debug='wxUSE_DEBUG=no'
3149 fi
3150
3151else
3152
3153 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3154 if test "x$LINE" != x ; then
3155 eval "DEFAULT_$LINE"
3156 else
3157 no_cache=1
3158 fi
3159
3160 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3161
3162fi;
3163
3164 eval "$ac_cv_use_debug"
3165 if test "$no_cache" != 1; then
3166 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3167 fi
3168
3169 if test "$wxUSE_DEBUG" = yes; then
3170 echo "$as_me:$LINENO: result: yes" >&5
3171echo "${ECHO_T}yes" >&6
3172 else
3173 echo "$as_me:$LINENO: result: no" >&5
3174echo "${ECHO_T}no" >&6
3175 fi
3176
3177
3178
3179 enablestring=
3180 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-precomp" >&5
3181echo $ECHO_N "checking for --${enablestring:-enable}-precomp... $ECHO_C" >&6
3182 no_cache=0
3183 # Check whether --enable-precomp or --disable-precomp was given.
3184if test "${enable_precomp+set}" = set; then
3185 enableval="$enable_precomp"
3186
3187 if test "$enableval" = yes; then
3188 ac_cv_use_precomp='wxUSE_PRECOMP=yes'
3189 else
3190 ac_cv_use_precomp='wxUSE_PRECOMP=no'
3191 fi
3192
3193else
3194
3195 LINE=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
3196 if test "x$LINE" != x ; then
3197 eval "DEFAULT_$LINE"
3198 else
3199 no_cache=1
3200 fi
3201
3202 ac_cv_use_precomp='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
3203
3204fi;
3205
3206 eval "$ac_cv_use_precomp"
3207 if test "$no_cache" != 1; then
3208 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
3209 fi
3210
3211 if test "$wxUSE_PRECOMP" = yes; then
3212 echo "$as_me:$LINENO: result: yes" >&5
3213echo "${ECHO_T}yes" >&6
3214 else
3215 echo "$as_me:$LINENO: result: no" >&5
3216echo "${ECHO_T}no" >&6
3217 fi
3218
3219
3220if test "$wxUSE_DEBUG" = "yes"; then
3221 DEFAULT_wxUSE_DEBUG_FLAG=yes
3222 DEFAULT_wxUSE_DEBUG_INFO=yes
3223elif test "$wxUSE_DEBUG" = "no"; then
3224 DEFAULT_wxUSE_DEBUG_FLAG=no
3225 DEFAULT_wxUSE_DEBUG_INFO=no
3226fi
3227
3228
3229 enablestring=
3230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3231echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3232 no_cache=0
3233 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3234if test "${enable_debug_flag+set}" = set; then
3235 enableval="$enable_debug_flag"
3236
3237 if test "$enableval" = yes; then
3238 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3239 else
3240 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3241 fi
3242
3243else
3244
3245 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3246 if test "x$LINE" != x ; then
3247 eval "DEFAULT_$LINE"
3248 else
3249 no_cache=1
3250 fi
3251
3252 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3253
3254fi;
3255
3256 eval "$ac_cv_use_debug_flag"
3257 if test "$no_cache" != 1; then
3258 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3259 fi
3260
3261 if test "$wxUSE_DEBUG_FLAG" = yes; then
3262 echo "$as_me:$LINENO: result: yes" >&5
3263echo "${ECHO_T}yes" >&6
3264 else
3265 echo "$as_me:$LINENO: result: no" >&5
3266echo "${ECHO_T}no" >&6
3267 fi
3268
3269
3270 enablestring=
3271 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3272echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3273 no_cache=0
3274 # Check whether --enable-debug_info or --disable-debug_info was given.
3275if test "${enable_debug_info+set}" = set; then
3276 enableval="$enable_debug_info"
3277
3278 if test "$enableval" = yes; then
3279 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3280 else
3281 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3282 fi
3283
3284else
3285
3286 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3287 if test "x$LINE" != x ; then
3288 eval "DEFAULT_$LINE"
3289 else
3290 no_cache=1
3291 fi
3292
3293 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3294
3295fi;
3296
3297 eval "$ac_cv_use_debug_info"
3298 if test "$no_cache" != 1; then
3299 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3300 fi
3301
3302 if test "$wxUSE_DEBUG_INFO" = yes; then
3303 echo "$as_me:$LINENO: result: yes" >&5
3304echo "${ECHO_T}yes" >&6
3305 else
3306 echo "$as_me:$LINENO: result: no" >&5
3307echo "${ECHO_T}no" >&6
3308 fi
3309
3310
3311 enablestring=
3312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3313echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3314 no_cache=0
3315 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3316if test "${enable_debug_gdb+set}" = set; then
3317 enableval="$enable_debug_gdb"
3318
3319 if test "$enableval" = yes; then
3320 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3321 else
3322 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3323 fi
3324
3325else
3326
3327 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3328 if test "x$LINE" != x ; then
3329 eval "DEFAULT_$LINE"
3330 else
3331 no_cache=1
3332 fi
3333
3334 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3335
3336fi;
3337
3338 eval "$ac_cv_use_debug_gdb"
3339 if test "$no_cache" != 1; then
3340 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3341 fi
3342
3343 if test "$wxUSE_DEBUG_GDB" = yes; then
3344 echo "$as_me:$LINENO: result: yes" >&5
3345echo "${ECHO_T}yes" >&6
3346 else
3347 echo "$as_me:$LINENO: result: no" >&5
3348echo "${ECHO_T}no" >&6
3349 fi
3350
3351
3352 enablestring=
3353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3354echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3355 no_cache=0
3356 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3357if test "${enable_debug_cntxt+set}" = set; then
3358 enableval="$enable_debug_cntxt"
3359
3360 if test "$enableval" = yes; then
3361 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3362 else
3363 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3364 fi
3365
3366else
3367
3368 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3369 if test "x$LINE" != x ; then
3370 eval "DEFAULT_$LINE"
3371 else
3372 no_cache=1
3373 fi
3374
3375 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3376
3377fi;
3378
3379 eval "$ac_cv_use_debug_cntxt"
3380 if test "$no_cache" != 1; then
3381 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3382 fi
3383
3384 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3385 echo "$as_me:$LINENO: result: yes" >&5
3386echo "${ECHO_T}yes" >&6
3387 else
3388 echo "$as_me:$LINENO: result: no" >&5
3389echo "${ECHO_T}no" >&6
3390 fi
3391
3392
3393 enablestring=
3394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3395echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3396 no_cache=0
3397 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3398if test "${enable_mem_tracing+set}" = set; then
3399 enableval="$enable_mem_tracing"
3400
3401 if test "$enableval" = yes; then
3402 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3403 else
3404 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3405 fi
3406
3407else
3408
3409 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3410 if test "x$LINE" != x ; then
3411 eval "DEFAULT_$LINE"
3412 else
3413 no_cache=1
3414 fi
3415
3416 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3417
3418fi;
3419
3420 eval "$ac_cv_use_mem_tracing"
3421 if test "$no_cache" != 1; then
3422 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3423 fi
3424
3425 if test "$wxUSE_MEM_TRACING" = yes; then
3426 echo "$as_me:$LINENO: result: yes" >&5
3427echo "${ECHO_T}yes" >&6
3428 else
3429 echo "$as_me:$LINENO: result: no" >&5
3430echo "${ECHO_T}no" >&6
3431 fi
3432
3433
3434 enablestring=
3435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3436echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3437 no_cache=0
3438 # Check whether --enable-profile or --disable-profile was given.
3439if test "${enable_profile+set}" = set; then
3440 enableval="$enable_profile"
3441
3442 if test "$enableval" = yes; then
3443 ac_cv_use_profile='wxUSE_PROFILE=yes'
3444 else
3445 ac_cv_use_profile='wxUSE_PROFILE=no'
3446 fi
3447
3448else
3449
3450 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3451 if test "x$LINE" != x ; then
3452 eval "DEFAULT_$LINE"
3453 else
3454 no_cache=1
3455 fi
3456
3457 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3458
3459fi;
3460
3461 eval "$ac_cv_use_profile"
3462 if test "$no_cache" != 1; then
3463 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3464 fi
3465
3466 if test "$wxUSE_PROFILE" = yes; then
3467 echo "$as_me:$LINENO: result: yes" >&5
3468echo "${ECHO_T}yes" >&6
3469 else
3470 echo "$as_me:$LINENO: result: no" >&5
3471echo "${ECHO_T}no" >&6
3472 fi
3473
3474
3475 enablestring=
3476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3477echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3478 no_cache=0
3479 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3480if test "${enable_no_rtti+set}" = set; then
3481 enableval="$enable_no_rtti"
3482
3483 if test "$enableval" = yes; then
3484 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3485 else
3486 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3487 fi
3488
3489else
3490
3491 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3492 if test "x$LINE" != x ; then
3493 eval "DEFAULT_$LINE"
3494 else
3495 no_cache=1
3496 fi
3497
3498 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3499
3500fi;
3501
3502 eval "$ac_cv_use_no_rtti"
3503 if test "$no_cache" != 1; then
3504 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3505 fi
3506
3507 if test "$wxUSE_NO_RTTI" = yes; then
3508 echo "$as_me:$LINENO: result: yes" >&5
3509echo "${ECHO_T}yes" >&6
3510 else
3511 echo "$as_me:$LINENO: result: no" >&5
3512echo "${ECHO_T}no" >&6
3513 fi
3514
3515
3516 enablestring=
3517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3518echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3519 no_cache=0
3520 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3521if test "${enable_no_exceptions+set}" = set; then
3522 enableval="$enable_no_exceptions"
3523
3524 if test "$enableval" = yes; then
3525 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3526 else
3527 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3528 fi
3529
3530else
3531
3532 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3533 if test "x$LINE" != x ; then
3534 eval "DEFAULT_$LINE"
3535 else
3536 no_cache=1
3537 fi
3538
3539 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3540
3541fi;
3542
3543 eval "$ac_cv_use_no_exceptions"
3544 if test "$no_cache" != 1; then
3545 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3546 fi
3547
3548 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3549 echo "$as_me:$LINENO: result: yes" >&5
3550echo "${ECHO_T}yes" >&6
3551 else
3552 echo "$as_me:$LINENO: result: no" >&5
3553echo "${ECHO_T}no" >&6
3554 fi
3555
3556
3557 enablestring=
3558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3559echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3560 no_cache=0
3561 # Check whether --enable-permissive or --disable-permissive was given.
3562if test "${enable_permissive+set}" = set; then
3563 enableval="$enable_permissive"
3564
3565 if test "$enableval" = yes; then
3566 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3567 else
3568 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3569 fi
3570
3571else
3572
3573 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3574 if test "x$LINE" != x ; then
3575 eval "DEFAULT_$LINE"
3576 else
3577 no_cache=1
3578 fi
3579
3580 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3581
3582fi;
3583
3584 eval "$ac_cv_use_permissive"
3585 if test "$no_cache" != 1; then
3586 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3587 fi
3588
3589 if test "$wxUSE_PERMISSIVE" = yes; then
3590 echo "$as_me:$LINENO: result: yes" >&5
3591echo "${ECHO_T}yes" >&6
3592 else
3593 echo "$as_me:$LINENO: result: no" >&5
3594echo "${ECHO_T}no" >&6
3595 fi
3596
3597
3598 enablestring=
3599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3600echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3601 no_cache=0
3602 # Check whether --enable-no_deps or --disable-no_deps was given.
3603if test "${enable_no_deps+set}" = set; then
3604 enableval="$enable_no_deps"
3605
3606 if test "$enableval" = yes; then
3607 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3608 else
3609 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3610 fi
3611
3612else
3613
3614 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3615 if test "x$LINE" != x ; then
3616 eval "DEFAULT_$LINE"
3617 else
3618 no_cache=1
3619 fi
3620
3621 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3622
3623fi;
3624
3625 eval "$ac_cv_use_no_deps"
3626 if test "$no_cache" != 1; then
3627 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3628 fi
3629
3630 if test "$wxUSE_NO_DEPS" = yes; then
3631 echo "$as_me:$LINENO: result: yes" >&5
3632echo "${ECHO_T}yes" >&6
3633 else
3634 echo "$as_me:$LINENO: result: no" >&5
3635echo "${ECHO_T}no" >&6
3636 fi
3637
3638
3639
3640 enablestring=
3641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat20" >&5
3642echo $ECHO_N "checking for --${enablestring:-enable}-compat20... $ECHO_C" >&6
3643 no_cache=0
3644 # Check whether --enable-compat20 or --disable-compat20 was given.
3645if test "${enable_compat20+set}" = set; then
3646 enableval="$enable_compat20"
3647
3648 if test "$enableval" = yes; then
3649 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=yes'
3650 else
3651 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=no'
3652 fi
3653
3654else
3655
3656 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3657 if test "x$LINE" != x ; then
3658 eval "DEFAULT_$LINE"
3659 else
3660 no_cache=1
3661 fi
3662
3663 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3664
3665fi;
3666
3667 eval "$ac_cv_use_compat20"
3668 if test "$no_cache" != 1; then
3669 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3670 fi
3671
3672 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3673 echo "$as_me:$LINENO: result: yes" >&5
3674echo "${ECHO_T}yes" >&6
3675 else
3676 echo "$as_me:$LINENO: result: no" >&5
3677echo "${ECHO_T}no" >&6
3678 fi
3679
3680
3681 enablestring=
3682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3683echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3684 no_cache=0
3685 # Check whether --enable-compat22 or --disable-compat22 was given.
3686if test "${enable_compat22+set}" = set; then
3687 enableval="$enable_compat22"
3688
3689 if test "$enableval" = yes; then
3690 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3691 else
3692 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3693 fi
3694
3695else
3696
3697 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3698 if test "x$LINE" != x ; then
3699 eval "DEFAULT_$LINE"
3700 else
3701 no_cache=1
3702 fi
3703
3704 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3705
3706fi;
3707
3708 eval "$ac_cv_use_compat22"
3709 if test "$no_cache" != 1; then
3710 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3711 fi
3712
3713 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3714 echo "$as_me:$LINENO: result: yes" >&5
3715echo "${ECHO_T}yes" >&6
3716 else
3717 echo "$as_me:$LINENO: result: no" >&5
3718echo "${ECHO_T}no" >&6
3719 fi
3720
3721
3722 enablestring=disable
3723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3724echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3725 no_cache=0
3726 # Check whether --enable-compat24 or --disable-compat24 was given.
3727if test "${enable_compat24+set}" = set; then
3728 enableval="$enable_compat24"
3729
3730 if test "$enableval" = yes; then
3731 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3732 else
3733 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3734 fi
3735
3736else
3737
3738 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3739 if test "x$LINE" != x ; then
3740 eval "DEFAULT_$LINE"
3741 else
3742 no_cache=1
3743 fi
3744
3745 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3746
3747fi;
3748
3749 eval "$ac_cv_use_compat24"
3750 if test "$no_cache" != 1; then
3751 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3752 fi
3753
3754 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3755 echo "$as_me:$LINENO: result: yes" >&5
3756echo "${ECHO_T}yes" >&6
3757 else
3758 echo "$as_me:$LINENO: result: no" >&5
3759echo "${ECHO_T}no" >&6
3760 fi
3761
3762
3763# Check whether --enable-rpath or --disable-rpath was given.
3764if test "${enable_rpath+set}" = set; then
3765 enableval="$enable_rpath"
3766 wxRPATH_DIR="$enableval"
3767fi;
3768
3769if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3770 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3771fi
3772
3773
3774
3775
3776 enablestring=
3777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3778echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3779 no_cache=0
3780 # Check whether --enable-intl or --disable-intl was given.
3781if test "${enable_intl+set}" = set; then
3782 enableval="$enable_intl"
3783
3784 if test "$enableval" = yes; then
3785 ac_cv_use_intl='wxUSE_INTL=yes'
3786 else
3787 ac_cv_use_intl='wxUSE_INTL=no'
3788 fi
3789
3790else
3791
3792 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3793 if test "x$LINE" != x ; then
3794 eval "DEFAULT_$LINE"
3795 else
3796 no_cache=1
3797 fi
3798
3799 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3800
3801fi;
3802
3803 eval "$ac_cv_use_intl"
3804 if test "$no_cache" != 1; then
3805 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3806 fi
3807
3808 if test "$wxUSE_INTL" = yes; then
3809 echo "$as_me:$LINENO: result: yes" >&5
3810echo "${ECHO_T}yes" >&6
3811 else
3812 echo "$as_me:$LINENO: result: no" >&5
3813echo "${ECHO_T}no" >&6
3814 fi
3815
3816
3817 enablestring=
3818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3819echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3820 no_cache=0
3821 # Check whether --enable-config or --disable-config was given.
3822if test "${enable_config+set}" = set; then
3823 enableval="$enable_config"
3824
3825 if test "$enableval" = yes; then
3826 ac_cv_use_config='wxUSE_CONFIG=yes'
3827 else
3828 ac_cv_use_config='wxUSE_CONFIG=no'
3829 fi
3830
3831else
3832
3833 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3834 if test "x$LINE" != x ; then
3835 eval "DEFAULT_$LINE"
3836 else
3837 no_cache=1
3838 fi
3839
3840 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3841
3842fi;
3843
3844 eval "$ac_cv_use_config"
3845 if test "$no_cache" != 1; then
3846 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3847 fi
3848
3849 if test "$wxUSE_CONFIG" = yes; then
3850 echo "$as_me:$LINENO: result: yes" >&5
3851echo "${ECHO_T}yes" >&6
3852 else
3853 echo "$as_me:$LINENO: result: no" >&5
3854echo "${ECHO_T}no" >&6
3855 fi
3856
3857
3858
3859 enablestring=
3860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3861echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3862 no_cache=0
3863 # Check whether --enable-protocols or --disable-protocols was given.
3864if test "${enable_protocols+set}" = set; then
3865 enableval="$enable_protocols"
3866
3867 if test "$enableval" = yes; then
3868 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3869 else
3870 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3871 fi
3872
3873else
3874
3875 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3876 if test "x$LINE" != x ; then
3877 eval "DEFAULT_$LINE"
3878 else
3879 no_cache=1
3880 fi
3881
3882 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3883
3884fi;
3885
3886 eval "$ac_cv_use_protocols"
3887 if test "$no_cache" != 1; then
3888 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3889 fi
3890
3891 if test "$wxUSE_PROTOCOL" = yes; then
3892 echo "$as_me:$LINENO: result: yes" >&5
3893echo "${ECHO_T}yes" >&6
3894 else
3895 echo "$as_me:$LINENO: result: no" >&5
3896echo "${ECHO_T}no" >&6
3897 fi
3898
3899
3900 enablestring=
3901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3902echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3903 no_cache=0
3904 # Check whether --enable-ftp or --disable-ftp was given.
3905if test "${enable_ftp+set}" = set; then
3906 enableval="$enable_ftp"
3907
3908 if test "$enableval" = yes; then
3909 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3910 else
3911 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3912 fi
3913
3914else
3915
3916 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3917 if test "x$LINE" != x ; then
3918 eval "DEFAULT_$LINE"
3919 else
3920 no_cache=1
3921 fi
3922
3923 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3924
3925fi;
3926
3927 eval "$ac_cv_use_ftp"
3928 if test "$no_cache" != 1; then
3929 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3930 fi
3931
3932 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3933 echo "$as_me:$LINENO: result: yes" >&5
3934echo "${ECHO_T}yes" >&6
3935 else
3936 echo "$as_me:$LINENO: result: no" >&5
3937echo "${ECHO_T}no" >&6
3938 fi
3939
3940
3941 enablestring=
3942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3943echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3944 no_cache=0
3945 # Check whether --enable-http or --disable-http was given.
3946if test "${enable_http+set}" = set; then
3947 enableval="$enable_http"
3948
3949 if test "$enableval" = yes; then
3950 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
3951 else
3952 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
3953 fi
3954
3955else
3956
3957 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3958 if test "x$LINE" != x ; then
3959 eval "DEFAULT_$LINE"
3960 else
3961 no_cache=1
3962 fi
3963
3964 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3965
3966fi;
3967
3968 eval "$ac_cv_use_http"
3969 if test "$no_cache" != 1; then
3970 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3971 fi
3972
3973 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3974 echo "$as_me:$LINENO: result: yes" >&5
3975echo "${ECHO_T}yes" >&6
3976 else
3977 echo "$as_me:$LINENO: result: no" >&5
3978echo "${ECHO_T}no" >&6
3979 fi
3980
3981
3982 enablestring=
3983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
3984echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
3985 no_cache=0
3986 # Check whether --enable-fileproto or --disable-fileproto was given.
3987if test "${enable_fileproto+set}" = set; then
3988 enableval="$enable_fileproto"
3989
3990 if test "$enableval" = yes; then
3991 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
3992 else
3993 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
3994 fi
3995
3996else
3997
3998 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3999 if test "x$LINE" != x ; then
4000 eval "DEFAULT_$LINE"
4001 else
4002 no_cache=1
4003 fi
4004
4005 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4006
4007fi;
4008
4009 eval "$ac_cv_use_fileproto"
4010 if test "$no_cache" != 1; then
4011 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4012 fi
4013
4014 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4015 echo "$as_me:$LINENO: result: yes" >&5
4016echo "${ECHO_T}yes" >&6
4017 else
4018 echo "$as_me:$LINENO: result: no" >&5
4019echo "${ECHO_T}no" >&6
4020 fi
4021
4022
4023 enablestring=
4024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4025echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4026 no_cache=0
4027 # Check whether --enable-sockets or --disable-sockets was given.
4028if test "${enable_sockets+set}" = set; then
4029 enableval="$enable_sockets"
4030
4031 if test "$enableval" = yes; then
4032 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4033 else
4034 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4035 fi
4036
4037else
4038
4039 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4040 if test "x$LINE" != x ; then
4041 eval "DEFAULT_$LINE"
4042 else
4043 no_cache=1
4044 fi
4045
4046 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4047
4048fi;
4049
4050 eval "$ac_cv_use_sockets"
4051 if test "$no_cache" != 1; then
4052 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4053 fi
4054
4055 if test "$wxUSE_SOCKETS" = yes; then
4056 echo "$as_me:$LINENO: result: yes" >&5
4057echo "${ECHO_T}yes" >&6
4058 else
4059 echo "$as_me:$LINENO: result: no" >&5
4060echo "${ECHO_T}no" >&6
4061 fi
4062
4063
4064 enablestring=
4065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4066echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4067 no_cache=0
4068 # Check whether --enable-ole or --disable-ole was given.
4069if test "${enable_ole+set}" = set; then
4070 enableval="$enable_ole"
4071
4072 if test "$enableval" = yes; then
4073 ac_cv_use_ole='wxUSE_OLE=yes'
4074 else
4075 ac_cv_use_ole='wxUSE_OLE=no'
4076 fi
4077
4078else
4079
4080 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4081 if test "x$LINE" != x ; then
4082 eval "DEFAULT_$LINE"
4083 else
4084 no_cache=1
4085 fi
4086
4087 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4088
4089fi;
4090
4091 eval "$ac_cv_use_ole"
4092 if test "$no_cache" != 1; then
4093 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4094 fi
4095
4096 if test "$wxUSE_OLE" = yes; then
4097 echo "$as_me:$LINENO: result: yes" >&5
4098echo "${ECHO_T}yes" >&6
4099 else
4100 echo "$as_me:$LINENO: result: no" >&5
4101echo "${ECHO_T}no" >&6
4102 fi
4103
4104
4105 enablestring=
4106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4107echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4108 no_cache=0
4109 # Check whether --enable-dataobj or --disable-dataobj was given.
4110if test "${enable_dataobj+set}" = set; then
4111 enableval="$enable_dataobj"
4112
4113 if test "$enableval" = yes; then
4114 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4115 else
4116 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4117 fi
4118
4119else
4120
4121 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4122 if test "x$LINE" != x ; then
4123 eval "DEFAULT_$LINE"
4124 else
4125 no_cache=1
4126 fi
4127
4128 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4129
4130fi;
4131
4132 eval "$ac_cv_use_dataobj"
4133 if test "$no_cache" != 1; then
4134 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4135 fi
4136
4137 if test "$wxUSE_DATAOBJ" = yes; then
4138 echo "$as_me:$LINENO: result: yes" >&5
4139echo "${ECHO_T}yes" >&6
4140 else
4141 echo "$as_me:$LINENO: result: no" >&5
4142echo "${ECHO_T}no" >&6
4143 fi
4144
4145
4146
4147 enablestring=
4148 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4149echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4150 no_cache=0
4151 # Check whether --enable-ipc or --disable-ipc was given.
4152if test "${enable_ipc+set}" = set; then
4153 enableval="$enable_ipc"
4154
4155 if test "$enableval" = yes; then
4156 ac_cv_use_ipc='wxUSE_IPC=yes'
4157 else
4158 ac_cv_use_ipc='wxUSE_IPC=no'
4159 fi
4160
4161else
4162
4163 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4164 if test "x$LINE" != x ; then
4165 eval "DEFAULT_$LINE"
4166 else
4167 no_cache=1
4168 fi
4169
4170 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4171
4172fi;
4173
4174 eval "$ac_cv_use_ipc"
4175 if test "$no_cache" != 1; then
4176 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4177 fi
4178
4179 if test "$wxUSE_IPC" = yes; then
4180 echo "$as_me:$LINENO: result: yes" >&5
4181echo "${ECHO_T}yes" >&6
4182 else
4183 echo "$as_me:$LINENO: result: no" >&5
4184echo "${ECHO_T}no" >&6
4185 fi
4186
4187
4188
4189 enablestring=
4190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4191echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4192 no_cache=0
4193 # Check whether --enable-cmdline or --disable-cmdline was given.
4194if test "${enable_cmdline+set}" = set; then
4195 enableval="$enable_cmdline"
4196
4197 if test "$enableval" = yes; then
4198 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4199 else
4200 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4201 fi
4202
4203else
4204
4205 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4206 if test "x$LINE" != x ; then
4207 eval "DEFAULT_$LINE"
4208 else
4209 no_cache=1
4210 fi
4211
4212 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4213
4214fi;
4215
4216 eval "$ac_cv_use_cmdline"
4217 if test "$no_cache" != 1; then
4218 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4219 fi
4220
4221 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4222 echo "$as_me:$LINENO: result: yes" >&5
4223echo "${ECHO_T}yes" >&6
4224 else
4225 echo "$as_me:$LINENO: result: no" >&5
4226echo "${ECHO_T}no" >&6
4227 fi
4228
4229
4230 enablestring=
4231 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4232echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4233 no_cache=0
4234 # Check whether --enable-datetime or --disable-datetime was given.
4235if test "${enable_datetime+set}" = set; then
4236 enableval="$enable_datetime"
4237
4238 if test "$enableval" = yes; then
4239 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4240 else
4241 ac_cv_use_datetime='wxUSE_DATETIME=no'
4242 fi
4243
4244else
4245
4246 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4247 if test "x$LINE" != x ; then
4248 eval "DEFAULT_$LINE"
4249 else
4250 no_cache=1
4251 fi
4252
4253 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4254
4255fi;
4256
4257 eval "$ac_cv_use_datetime"
4258 if test "$no_cache" != 1; then
4259 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4260 fi
4261
4262 if test "$wxUSE_DATETIME" = yes; then
4263 echo "$as_me:$LINENO: result: yes" >&5
4264echo "${ECHO_T}yes" >&6
4265 else
4266 echo "$as_me:$LINENO: result: no" >&5
4267echo "${ECHO_T}no" >&6
4268 fi
4269
4270
4271 enablestring=
4272 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4273echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4274 no_cache=0
4275 # Check whether --enable-stopwatch or --disable-stopwatch was given.
4276if test "${enable_stopwatch+set}" = set; then
4277 enableval="$enable_stopwatch"
4278
4279 if test "$enableval" = yes; then
4280 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
4281 else
4282 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
4283 fi
4284
4285else
4286
4287 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4288 if test "x$LINE" != x ; then
4289 eval "DEFAULT_$LINE"
4290 else
4291 no_cache=1
4292 fi
4293
4294 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
4295
4296fi;
4297
4298 eval "$ac_cv_use_stopwatch"
4299 if test "$no_cache" != 1; then
4300 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4301 fi
4302
4303 if test "$wxUSE_STOPWATCH" = yes; then
4304 echo "$as_me:$LINENO: result: yes" >&5
4305echo "${ECHO_T}yes" >&6
4306 else
4307 echo "$as_me:$LINENO: result: no" >&5
4308echo "${ECHO_T}no" >&6
4309 fi
4310
4311
4312 enablestring=
4313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4314echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4315 no_cache=0
4316 # Check whether --enable-dialupman or --disable-dialupman was given.
4317if test "${enable_dialupman+set}" = set; then
4318 enableval="$enable_dialupman"
4319
4320 if test "$enableval" = yes; then
4321 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4322 else
4323 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4324 fi
4325
4326else
4327
4328 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4329 if test "x$LINE" != x ; then
4330 eval "DEFAULT_$LINE"
4331 else
4332 no_cache=1
4333 fi
4334
4335 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4336
4337fi;
4338
4339 eval "$ac_cv_use_dialupman"
4340 if test "$no_cache" != 1; then
4341 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4342 fi
4343
4344 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4345 echo "$as_me:$LINENO: result: yes" >&5
4346echo "${ECHO_T}yes" >&6
4347 else
4348 echo "$as_me:$LINENO: result: no" >&5
4349echo "${ECHO_T}no" >&6
4350 fi
4351
4352
4353 enablestring=
4354 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4355echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4356 no_cache=0
4357 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4358if test "${enable_apple_ieee+set}" = set; then
4359 enableval="$enable_apple_ieee"
4360
4361 if test "$enableval" = yes; then
4362 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4363 else
4364 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4365 fi
4366
4367else
4368
4369 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4370 if test "x$LINE" != x ; then
4371 eval "DEFAULT_$LINE"
4372 else
4373 no_cache=1
4374 fi
4375
4376 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4377
4378fi;
4379
4380 eval "$ac_cv_use_apple_ieee"
4381 if test "$no_cache" != 1; then
4382 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4383 fi
4384
4385 if test "$wxUSE_APPLE_IEEE" = yes; then
4386 echo "$as_me:$LINENO: result: yes" >&5
4387echo "${ECHO_T}yes" >&6
4388 else
4389 echo "$as_me:$LINENO: result: no" >&5
4390echo "${ECHO_T}no" >&6
4391 fi
4392
4393
4394 enablestring=
4395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
4396echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4397 no_cache=0
4398 # Check whether --enable-timer or --disable-timer was given.
4399if test "${enable_timer+set}" = set; then
4400 enableval="$enable_timer"
4401
4402 if test "$enableval" = yes; then
4403 ac_cv_use_timer='wxUSE_TIMER=yes'
4404 else
4405 ac_cv_use_timer='wxUSE_TIMER=no'
4406 fi
4407
4408else
4409
4410 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4411 if test "x$LINE" != x ; then
4412 eval "DEFAULT_$LINE"
4413 else
4414 no_cache=1
4415 fi
4416
4417 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
4418
4419fi;
4420
4421 eval "$ac_cv_use_timer"
4422 if test "$no_cache" != 1; then
4423 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4424 fi
4425
4426 if test "$wxUSE_TIMER" = yes; then
4427 echo "$as_me:$LINENO: result: yes" >&5
4428echo "${ECHO_T}yes" >&6
4429 else
4430 echo "$as_me:$LINENO: result: no" >&5
4431echo "${ECHO_T}no" >&6
4432 fi
4433
4434
4435 enablestring=
4436 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
4437echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4438 no_cache=0
4439 # Check whether --enable-wave or --disable-wave was given.
4440if test "${enable_wave+set}" = set; then
4441 enableval="$enable_wave"
4442
4443 if test "$enableval" = yes; then
4444 ac_cv_use_wave='wxUSE_WAVE=yes'
4445 else
4446 ac_cv_use_wave='wxUSE_WAVE=no'
4447 fi
4448
4449else
4450
4451 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4452 if test "x$LINE" != x ; then
4453 eval "DEFAULT_$LINE"
4454 else
4455 no_cache=1
4456 fi
4457
4458 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
4459
4460fi;
4461
4462 eval "$ac_cv_use_wave"
4463 if test "$no_cache" != 1; then
4464 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4465 fi
4466
4467 if test "$wxUSE_WAVE" = yes; then
4468 echo "$as_me:$LINENO: result: yes" >&5
4469echo "${ECHO_T}yes" >&6
4470 else
4471 echo "$as_me:$LINENO: result: no" >&5
4472echo "${ECHO_T}no" >&6
4473 fi
4474
4475
4476 enablestring=
4477 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fraction" >&5
4478echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4479 no_cache=0
4480 # Check whether --enable-fraction or --disable-fraction was given.
4481if test "${enable_fraction+set}" = set; then
4482 enableval="$enable_fraction"
4483
4484 if test "$enableval" = yes; then
4485 ac_cv_use_fraction='wxUSE_FRACTION=yes'
4486 else
4487 ac_cv_use_fraction='wxUSE_FRACTION=no'
4488 fi
4489
4490else
4491
4492 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4493 if test "x$LINE" != x ; then
4494 eval "DEFAULT_$LINE"
4495 else
4496 no_cache=1
4497 fi
4498
4499 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
4500
4501fi;
4502
4503 eval "$ac_cv_use_fraction"
4504 if test "$no_cache" != 1; then
4505 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4506 fi
4507
4508 if test "$wxUSE_FRACTION" = yes; then
4509 echo "$as_me:$LINENO: result: yes" >&5
4510echo "${ECHO_T}yes" >&6
4511 else
4512 echo "$as_me:$LINENO: result: no" >&5
4513echo "${ECHO_T}no" >&6
4514 fi
4515
4516
4517 enablestring=
4518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4519echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4520 no_cache=0
4521 # Check whether --enable-dynlib or --disable-dynlib was given.
4522if test "${enable_dynlib+set}" = set; then
4523 enableval="$enable_dynlib"
4524
4525 if test "$enableval" = yes; then
4526 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4527 else
4528 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4529 fi
4530
4531else
4532
4533 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4534 if test "x$LINE" != x ; then
4535 eval "DEFAULT_$LINE"
4536 else
4537 no_cache=1
4538 fi
4539
4540 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4541
4542fi;
4543
4544 eval "$ac_cv_use_dynlib"
4545 if test "$no_cache" != 1; then
4546 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4547 fi
4548
4549 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4550 echo "$as_me:$LINENO: result: yes" >&5
4551echo "${ECHO_T}yes" >&6
4552 else
4553 echo "$as_me:$LINENO: result: no" >&5
4554echo "${ECHO_T}no" >&6
4555 fi
4556
4557
4558 enablestring=
4559 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4560echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4561 no_cache=0
4562 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4563if test "${enable_dynamicloader+set}" = set; then
4564 enableval="$enable_dynamicloader"
4565
4566 if test "$enableval" = yes; then
4567 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4568 else
4569 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4570 fi
4571
4572else
4573
4574 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4575 if test "x$LINE" != x ; then
4576 eval "DEFAULT_$LINE"
4577 else
4578 no_cache=1
4579 fi
4580
4581 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4582
4583fi;
4584
4585 eval "$ac_cv_use_dynamicloader"
4586 if test "$no_cache" != 1; then
4587 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4588 fi
4589
4590 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4591 echo "$as_me:$LINENO: result: yes" >&5
4592echo "${ECHO_T}yes" >&6
4593 else
4594 echo "$as_me:$LINENO: result: no" >&5
4595echo "${ECHO_T}no" >&6
4596 fi
4597
4598
4599 enablestring=
4600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4601echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4602 no_cache=0
4603 # Check whether --enable-longlong or --disable-longlong was given.
4604if test "${enable_longlong+set}" = set; then
4605 enableval="$enable_longlong"
4606
4607 if test "$enableval" = yes; then
4608 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
4609 else
4610 ac_cv_use_longlong='wxUSE_LONGLONG=no'
4611 fi
4612
4613else
4614
4615 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4616 if test "x$LINE" != x ; then
4617 eval "DEFAULT_$LINE"
4618 else
4619 no_cache=1
4620 fi
4621
4622 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4623
4624fi;
4625
4626 eval "$ac_cv_use_longlong"
4627 if test "$no_cache" != 1; then
4628 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4629 fi
4630
4631 if test "$wxUSE_LONGLONG" = yes; then
4632 echo "$as_me:$LINENO: result: yes" >&5
4633echo "${ECHO_T}yes" >&6
4634 else
4635 echo "$as_me:$LINENO: result: no" >&5
4636echo "${ECHO_T}no" >&6
4637 fi
4638
4639
4640 enablestring=
4641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4642echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4643 no_cache=0
4644 # Check whether --enable-geometry or --disable-geometry was given.
4645if test "${enable_geometry+set}" = set; then
4646 enableval="$enable_geometry"
4647
4648 if test "$enableval" = yes; then
4649 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4650 else
4651 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4652 fi
4653
4654else
4655
4656 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4657 if test "x$LINE" != x ; then
4658 eval "DEFAULT_$LINE"
4659 else
4660 no_cache=1
4661 fi
4662
4663 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4664
4665fi;
4666
4667 eval "$ac_cv_use_geometry"
4668 if test "$no_cache" != 1; then
4669 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4670 fi
4671
4672 if test "$wxUSE_GEOMETRY" = yes; then
4673 echo "$as_me:$LINENO: result: yes" >&5
4674echo "${ECHO_T}yes" >&6
4675 else
4676 echo "$as_me:$LINENO: result: no" >&5
4677echo "${ECHO_T}no" >&6
4678 fi
4679
4680
4681 enablestring=
4682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4683echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4684 no_cache=0
4685 # Check whether --enable-log or --disable-log was given.
4686if test "${enable_log+set}" = set; then
4687 enableval="$enable_log"
4688
4689 if test "$enableval" = yes; then
4690 ac_cv_use_log='wxUSE_LOG=yes'
4691 else
4692 ac_cv_use_log='wxUSE_LOG=no'
4693 fi
4694
4695else
4696
4697 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4698 if test "x$LINE" != x ; then
4699 eval "DEFAULT_$LINE"
4700 else
4701 no_cache=1
4702 fi
4703
4704 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4705
4706fi;
4707
4708 eval "$ac_cv_use_log"
4709 if test "$no_cache" != 1; then
4710 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4711 fi
4712
4713 if test "$wxUSE_LOG" = yes; then
4714 echo "$as_me:$LINENO: result: yes" >&5
4715echo "${ECHO_T}yes" >&6
4716 else
4717 echo "$as_me:$LINENO: result: no" >&5
4718echo "${ECHO_T}no" >&6
4719 fi
4720
4721
4722 enablestring=
4723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
4724echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4725 no_cache=0
4726 # Check whether --enable-streams or --disable-streams was given.
4727if test "${enable_streams+set}" = set; then
4728 enableval="$enable_streams"
4729
4730 if test "$enableval" = yes; then
4731 ac_cv_use_streams='wxUSE_STREAMS=yes'
4732 else
4733 ac_cv_use_streams='wxUSE_STREAMS=no'
4734 fi
4735
4736else
4737
4738 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4739 if test "x$LINE" != x ; then
4740 eval "DEFAULT_$LINE"
4741 else
4742 no_cache=1
4743 fi
4744
4745 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4746
4747fi;
4748
4749 eval "$ac_cv_use_streams"
4750 if test "$no_cache" != 1; then
4751 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4752 fi
4753
4754 if test "$wxUSE_STREAMS" = yes; then
4755 echo "$as_me:$LINENO: result: yes" >&5
4756echo "${ECHO_T}yes" >&6
4757 else
4758 echo "$as_me:$LINENO: result: no" >&5
4759echo "${ECHO_T}no" >&6
4760 fi
4761
4762
4763 enablestring=
4764 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4765echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4766 no_cache=0
4767 # Check whether --enable-file or --disable-file was given.
4768if test "${enable_file+set}" = set; then
4769 enableval="$enable_file"
4770
4771 if test "$enableval" = yes; then
4772 ac_cv_use_file='wxUSE_FILE=yes'
4773 else
4774 ac_cv_use_file='wxUSE_FILE=no'
4775 fi
4776
4777else
4778
4779 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4780 if test "x$LINE" != x ; then
4781 eval "DEFAULT_$LINE"
4782 else
4783 no_cache=1
4784 fi
4785
4786 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4787
4788fi;
4789
4790 eval "$ac_cv_use_file"
4791 if test "$no_cache" != 1; then
4792 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4793 fi
4794
4795 if test "$wxUSE_FILE" = yes; then
4796 echo "$as_me:$LINENO: result: yes" >&5
4797echo "${ECHO_T}yes" >&6
4798 else
4799 echo "$as_me:$LINENO: result: no" >&5
4800echo "${ECHO_T}no" >&6
4801 fi
4802
4803
4804 enablestring=
4805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4806echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4807 no_cache=0
4808 # Check whether --enable-ffile or --disable-ffile was given.
4809if test "${enable_ffile+set}" = set; then
4810 enableval="$enable_ffile"
4811
4812 if test "$enableval" = yes; then
4813 ac_cv_use_ffile='wxUSE_FFILE=yes'
4814 else
4815 ac_cv_use_ffile='wxUSE_FFILE=no'
4816 fi
4817
4818else
4819
4820 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4821 if test "x$LINE" != x ; then
4822 eval "DEFAULT_$LINE"
4823 else
4824 no_cache=1
4825 fi
4826
4827 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4828
4829fi;
4830
4831 eval "$ac_cv_use_ffile"
4832 if test "$no_cache" != 1; then
4833 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4834 fi
4835
4836 if test "$wxUSE_FFILE" = yes; then
4837 echo "$as_me:$LINENO: result: yes" >&5
4838echo "${ECHO_T}yes" >&6
4839 else
4840 echo "$as_me:$LINENO: result: no" >&5
4841echo "${ECHO_T}no" >&6
4842 fi
4843
4844
4845 enablestring=
4846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
4847echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4848 no_cache=0
4849 # Check whether --enable-textbuf or --disable-textbuf was given.
4850if test "${enable_textbuf+set}" = set; then
4851 enableval="$enable_textbuf"
4852
4853 if test "$enableval" = yes; then
4854 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
4855 else
4856 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
4857 fi
4858
4859else
4860
4861 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4862 if test "x$LINE" != x ; then
4863 eval "DEFAULT_$LINE"
4864 else
4865 no_cache=1
4866 fi
4867
4868 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4869
4870fi;
4871
4872 eval "$ac_cv_use_textbuf"
4873 if test "$no_cache" != 1; then
4874 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4875 fi
4876
4877 if test "$wxUSE_TEXTBUFFER" = yes; then
4878 echo "$as_me:$LINENO: result: yes" >&5
4879echo "${ECHO_T}yes" >&6
4880 else
4881 echo "$as_me:$LINENO: result: no" >&5
4882echo "${ECHO_T}no" >&6
4883 fi
4884
4885
4886 enablestring=
4887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
4888echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4889 no_cache=0
4890 # Check whether --enable-textfile or --disable-textfile was given.
4891if test "${enable_textfile+set}" = set; then
4892 enableval="$enable_textfile"
4893
4894 if test "$enableval" = yes; then
4895 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
4896 else
4897 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
4898 fi
4899
4900else
4901
4902 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4903 if test "x$LINE" != x ; then
4904 eval "DEFAULT_$LINE"
4905 else
4906 no_cache=1
4907 fi
4908
4909 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4910
4911fi;
4912
4913 eval "$ac_cv_use_textfile"
4914 if test "$no_cache" != 1; then
4915 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4916 fi
4917
4918 if test "$wxUSE_TEXTFILE" = yes; then
4919 echo "$as_me:$LINENO: result: yes" >&5
4920echo "${ECHO_T}yes" >&6
4921 else
4922 echo "$as_me:$LINENO: result: no" >&5
4923echo "${ECHO_T}no" >&6
4924 fi
4925
4926
4927 enablestring=
4928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4929echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4930 no_cache=0
4931 # Check whether --enable-fontmap or --disable-fontmap was given.
4932if test "${enable_fontmap+set}" = set; then
4933 enableval="$enable_fontmap"
4934
4935 if test "$enableval" = yes; then
4936 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4937 else
4938 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4939 fi
4940
4941else
4942
4943 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4944 if test "x$LINE" != x ; then
4945 eval "DEFAULT_$LINE"
4946 else
4947 no_cache=1
4948 fi
4949
4950 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4951
4952fi;
4953
4954 eval "$ac_cv_use_fontmap"
4955 if test "$no_cache" != 1; then
4956 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4957 fi
4958
4959 if test "$wxUSE_FONTMAP" = yes; then
4960 echo "$as_me:$LINENO: result: yes" >&5
4961echo "${ECHO_T}yes" >&6
4962 else
4963 echo "$as_me:$LINENO: result: no" >&5
4964echo "${ECHO_T}no" >&6
4965 fi
4966
4967
4968 enablestring=
4969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4970echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
4971 no_cache=0
4972 # Check whether --enable-unicode or --disable-unicode was given.
4973if test "${enable_unicode+set}" = set; then
4974 enableval="$enable_unicode"
4975
4976 if test "$enableval" = yes; then
4977 ac_cv_use_unicode='wxUSE_UNICODE=yes'
4978 else
4979 ac_cv_use_unicode='wxUSE_UNICODE=no'
4980 fi
4981
4982else
4983
4984 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4985 if test "x$LINE" != x ; then
4986 eval "DEFAULT_$LINE"
4987 else
4988 no_cache=1
4989 fi
4990
4991 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4992
4993fi;
4994
4995 eval "$ac_cv_use_unicode"
4996 if test "$no_cache" != 1; then
4997 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4998 fi
4999
5000 if test "$wxUSE_UNICODE" = yes; then
5001 echo "$as_me:$LINENO: result: yes" >&5
5002echo "${ECHO_T}yes" >&6
5003 else
5004 echo "$as_me:$LINENO: result: no" >&5
5005echo "${ECHO_T}no" >&6
5006 fi
5007
5008
5009 enablestring=
5010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5011echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5012 no_cache=0
5013 # Check whether --enable-mslu or --disable-mslu was given.
5014if test "${enable_mslu+set}" = set; then
5015 enableval="$enable_mslu"
5016
5017 if test "$enableval" = yes; then
5018 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5019 else
5020 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5021 fi
5022
5023else
5024
5025 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5026 if test "x$LINE" != x ; then
5027 eval "DEFAULT_$LINE"
5028 else
5029 no_cache=1
5030 fi
5031
5032 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5033
5034fi;
5035
5036 eval "$ac_cv_use_mslu"
5037 if test "$no_cache" != 1; then
5038 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5039 fi
5040
5041 if test "$wxUSE_UNICODE_MSLU" = yes; then
5042 echo "$as_me:$LINENO: result: yes" >&5
5043echo "${ECHO_T}yes" >&6
5044 else
5045 echo "$as_me:$LINENO: result: no" >&5
5046echo "${ECHO_T}no" >&6
5047 fi
5048
5049
5050 enablestring=
5051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5052echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5053 no_cache=0
5054 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5055if test "${enable_wxprintfv+set}" = set; then
5056 enableval="$enable_wxprintfv"
5057
5058 if test "$enableval" = yes; then
5059 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5060 else
5061 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5062 fi
5063
5064else
5065
5066 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5067 if test "x$LINE" != x ; then
5068 eval "DEFAULT_$LINE"
5069 else
5070 no_cache=1
5071 fi
5072
5073 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5074
5075fi;
5076
5077 eval "$ac_cv_use_wxprintfv"
5078 if test "$no_cache" != 1; then
5079 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5080 fi
5081
5082 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5083 echo "$as_me:$LINENO: result: yes" >&5
5084echo "${ECHO_T}yes" >&6
5085 else
5086 echo "$as_me:$LINENO: result: no" >&5
5087echo "${ECHO_T}no" >&6
5088 fi
5089
5090
5091 enablestring=
5092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5093echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5094 no_cache=0
5095 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5096if test "${enable_std_iostreams+set}" = set; then
5097 enableval="$enable_std_iostreams"
5098
5099 if test "$enableval" = yes; then
5100 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5101 else
5102 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5103 fi
5104
5105else
5106
5107 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5108 if test "x$LINE" != x ; then
5109 eval "DEFAULT_$LINE"
5110 else
5111 no_cache=1
5112 fi
5113
5114 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5115
5116fi;
5117
5118 eval "$ac_cv_use_std_iostreams"
5119 if test "$no_cache" != 1; then
5120 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5121 fi
5122
5123 if test "$wxUSE_STD_IOSTREAM" = yes; then
5124 echo "$as_me:$LINENO: result: yes" >&5
5125echo "${ECHO_T}yes" >&6
5126 else
5127 echo "$as_me:$LINENO: result: no" >&5
5128echo "${ECHO_T}no" >&6
5129 fi
5130
5131
5132 enablestring=
5133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5134echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5135 no_cache=0
5136 # Check whether --enable-filesystem or --disable-filesystem was given.
5137if test "${enable_filesystem+set}" = set; then
5138 enableval="$enable_filesystem"
5139
5140 if test "$enableval" = yes; then
5141 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5142 else
5143 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5144 fi
5145
5146else
5147
5148 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5149 if test "x$LINE" != x ; then
5150 eval "DEFAULT_$LINE"
5151 else
5152 no_cache=1
5153 fi
5154
5155 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5156
5157fi;
5158
5159 eval "$ac_cv_use_filesystem"
5160 if test "$no_cache" != 1; then
5161 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5162 fi
5163
5164 if test "$wxUSE_FILESYSTEM" = yes; then
5165 echo "$as_me:$LINENO: result: yes" >&5
5166echo "${ECHO_T}yes" >&6
5167 else
5168 echo "$as_me:$LINENO: result: no" >&5
5169echo "${ECHO_T}no" >&6
5170 fi
5171
5172
5173 enablestring=
5174 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5175echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5176 no_cache=0
5177 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5178if test "${enable_fs_inet+set}" = set; then
5179 enableval="$enable_fs_inet"
5180
5181 if test "$enableval" = yes; then
5182 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5183 else
5184 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5185 fi
5186
5187else
5188
5189 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5190 if test "x$LINE" != x ; then
5191 eval "DEFAULT_$LINE"
5192 else
5193 no_cache=1
5194 fi
5195
5196 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5197
5198fi;
5199
5200 eval "$ac_cv_use_fs_inet"
5201 if test "$no_cache" != 1; then
5202 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5203 fi
5204
5205 if test "$wxUSE_FS_INET" = yes; then
5206 echo "$as_me:$LINENO: result: yes" >&5
5207echo "${ECHO_T}yes" >&6
5208 else
5209 echo "$as_me:$LINENO: result: no" >&5
5210echo "${ECHO_T}no" >&6
5211 fi
5212
5213
5214 enablestring=
5215 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5216echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5217 no_cache=0
5218 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5219if test "${enable_fs_zip+set}" = set; then
5220 enableval="$enable_fs_zip"
5221
5222 if test "$enableval" = yes; then
5223 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5224 else
5225 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5226 fi
5227
5228else
5229
5230 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5231 if test "x$LINE" != x ; then
5232 eval "DEFAULT_$LINE"
5233 else
5234 no_cache=1
5235 fi
5236
5237 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5238
5239fi;
5240
5241 eval "$ac_cv_use_fs_zip"
5242 if test "$no_cache" != 1; then
5243 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5244 fi
5245
5246 if test "$wxUSE_FS_ZIP" = yes; then
5247 echo "$as_me:$LINENO: result: yes" >&5
5248echo "${ECHO_T}yes" >&6
5249 else
5250 echo "$as_me:$LINENO: result: no" >&5
5251echo "${ECHO_T}no" >&6
5252 fi
5253
5254
5255 enablestring=
5256 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5257echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5258 no_cache=0
5259 # Check whether --enable-zipstream or --disable-zipstream was given.
5260if test "${enable_zipstream+set}" = set; then
5261 enableval="$enable_zipstream"
5262
5263 if test "$enableval" = yes; then
5264 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5265 else
5266 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5267 fi
5268
5269else
5270
5271 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5272 if test "x$LINE" != x ; then
5273 eval "DEFAULT_$LINE"
5274 else
5275 no_cache=1
5276 fi
5277
5278 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5279
5280fi;
5281
5282 eval "$ac_cv_use_zipstream"
5283 if test "$no_cache" != 1; then
5284 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5285 fi
5286
5287 if test "$wxUSE_ZIPSTREAM" = yes; then
5288 echo "$as_me:$LINENO: result: yes" >&5
5289echo "${ECHO_T}yes" >&6
5290 else
5291 echo "$as_me:$LINENO: result: no" >&5
5292echo "${ECHO_T}no" >&6
5293 fi
5294
5295
5296
5297 enablestring=
5298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5299echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5300 no_cache=0
5301 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5302if test "${enable_catch_segvs+set}" = set; then
5303 enableval="$enable_catch_segvs"
5304
5305 if test "$enableval" = yes; then
5306 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5307 else
5308 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5309 fi
5310
5311else
5312
5313 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5314 if test "x$LINE" != x ; then
5315 eval "DEFAULT_$LINE"
5316 else
5317 no_cache=1
5318 fi
5319
5320 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5321
5322fi;
5323
5324 eval "$ac_cv_use_catch_segvs"
5325 if test "$no_cache" != 1; then
5326 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5327 fi
5328
5329 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5330 echo "$as_me:$LINENO: result: yes" >&5
5331echo "${ECHO_T}yes" >&6
5332 else
5333 echo "$as_me:$LINENO: result: no" >&5
5334echo "${ECHO_T}no" >&6
5335 fi
5336
5337
5338 enablestring=
5339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5340echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5341 no_cache=0
5342 # Check whether --enable-snglinst or --disable-snglinst was given.
5343if test "${enable_snglinst+set}" = set; then
5344 enableval="$enable_snglinst"
5345
5346 if test "$enableval" = yes; then
5347 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5348 else
5349 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5350 fi
5351
5352else
5353
5354 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5355 if test "x$LINE" != x ; then
5356 eval "DEFAULT_$LINE"
5357 else
5358 no_cache=1
5359 fi
5360
5361 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5362
5363fi;
5364
5365 eval "$ac_cv_use_snglinst"
5366 if test "$no_cache" != 1; then
5367 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5368 fi
5369
5370 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5371 echo "$as_me:$LINENO: result: yes" >&5
5372echo "${ECHO_T}yes" >&6
5373 else
5374 echo "$as_me:$LINENO: result: no" >&5
5375echo "${ECHO_T}no" >&6
5376 fi
5377
5378
5379
5380 enablestring=
5381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5382echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5383 no_cache=0
5384 # Check whether --enable-mimetype or --disable-mimetype was given.
5385if test "${enable_mimetype+set}" = set; then
5386 enableval="$enable_mimetype"
5387
5388 if test "$enableval" = yes; then
5389 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5390 else
5391 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5392 fi
5393
5394else
5395
5396 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5397 if test "x$LINE" != x ; then
5398 eval "DEFAULT_$LINE"
5399 else
5400 no_cache=1
5401 fi
5402
5403 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5404
5405fi;
5406
5407 eval "$ac_cv_use_mimetype"
5408 if test "$no_cache" != 1; then
5409 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5410 fi
5411
5412 if test "$wxUSE_MIMETYPE" = yes; then
5413 echo "$as_me:$LINENO: result: yes" >&5
5414echo "${ECHO_T}yes" >&6
5415 else
5416 echo "$as_me:$LINENO: result: no" >&5
5417echo "${ECHO_T}no" >&6
5418 fi
5419
5420
5421 enablestring=
5422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5423echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5424 no_cache=0
5425 # Check whether --enable-system_options or --disable-system_options was given.
5426if test "${enable_system_options+set}" = set; then
5427 enableval="$enable_system_options"
5428
5429 if test "$enableval" = yes; then
5430 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5431 else
5432 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5433 fi
5434
5435else
5436
5437 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5438 if test "x$LINE" != x ; then
5439 eval "DEFAULT_$LINE"
5440 else
5441 no_cache=1
5442 fi
5443
5444 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5445
5446fi;
5447
5448 eval "$ac_cv_use_system_options"
5449 if test "$no_cache" != 1; then
5450 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5451 fi
5452
5453 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5454 echo "$as_me:$LINENO: result: yes" >&5
5455echo "${ECHO_T}yes" >&6
5456 else
5457 echo "$as_me:$LINENO: result: no" >&5
5458echo "${ECHO_T}no" >&6
5459 fi
5460
5461
5462
5463 enablestring=
5464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5465echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5466 no_cache=0
5467 # Check whether --enable-url or --disable-url was given.
5468if test "${enable_url+set}" = set; then
5469 enableval="$enable_url"
5470
5471 if test "$enableval" = yes; then
5472 ac_cv_use_url='wxUSE_URL=yes'
5473 else
5474 ac_cv_use_url='wxUSE_URL=no'
5475 fi
5476
5477else
5478
5479 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5480 if test "x$LINE" != x ; then
5481 eval "DEFAULT_$LINE"
5482 else
5483 no_cache=1
5484 fi
5485
5486 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5487
5488fi;
5489
5490 eval "$ac_cv_use_url"
5491 if test "$no_cache" != 1; then
5492 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5493 fi
5494
5495 if test "$wxUSE_URL" = yes; then
5496 echo "$as_me:$LINENO: result: yes" >&5
5497echo "${ECHO_T}yes" >&6
5498 else
5499 echo "$as_me:$LINENO: result: no" >&5
5500echo "${ECHO_T}no" >&6
5501 fi
5502
5503
5504 enablestring=
5505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5506echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5507 no_cache=0
5508 # Check whether --enable-protocol or --disable-protocol was given.
5509if test "${enable_protocol+set}" = set; then
5510 enableval="$enable_protocol"
5511
5512 if test "$enableval" = yes; then
5513 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5514 else
5515 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5516 fi
5517
5518else
5519
5520 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5521 if test "x$LINE" != x ; then
5522 eval "DEFAULT_$LINE"
5523 else
5524 no_cache=1
5525 fi
5526
5527 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5528
5529fi;
5530
5531 eval "$ac_cv_use_protocol"
5532 if test "$no_cache" != 1; then
5533 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5534 fi
5535
5536 if test "$wxUSE_PROTOCOL" = yes; then
5537 echo "$as_me:$LINENO: result: yes" >&5
5538echo "${ECHO_T}yes" >&6
5539 else
5540 echo "$as_me:$LINENO: result: no" >&5
5541echo "${ECHO_T}no" >&6
5542 fi
5543
5544
5545 enablestring=
5546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5547echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5548 no_cache=0
5549 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5550if test "${enable_protocol_http+set}" = set; then
5551 enableval="$enable_protocol_http"
5552
5553 if test "$enableval" = yes; then
5554 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5555 else
5556 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5557 fi
5558
5559else
5560
5561 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5562 if test "x$LINE" != x ; then
5563 eval "DEFAULT_$LINE"
5564 else
5565 no_cache=1
5566 fi
5567
5568 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5569
5570fi;
5571
5572 eval "$ac_cv_use_protocol_http"
5573 if test "$no_cache" != 1; then
5574 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5575 fi
5576
5577 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5578 echo "$as_me:$LINENO: result: yes" >&5
5579echo "${ECHO_T}yes" >&6
5580 else
5581 echo "$as_me:$LINENO: result: no" >&5
5582echo "${ECHO_T}no" >&6
5583 fi
5584
5585
5586 enablestring=
5587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5588echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5589 no_cache=0
5590 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5591if test "${enable_protocol_ftp+set}" = set; then
5592 enableval="$enable_protocol_ftp"
5593
5594 if test "$enableval" = yes; then
5595 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5596 else
5597 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5598 fi
5599
5600else
5601
5602 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5603 if test "x$LINE" != x ; then
5604 eval "DEFAULT_$LINE"
5605 else
5606 no_cache=1
5607 fi
5608
5609 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5610
5611fi;
5612
5613 eval "$ac_cv_use_protocol_ftp"
5614 if test "$no_cache" != 1; then
5615 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5616 fi
5617
5618 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5619 echo "$as_me:$LINENO: result: yes" >&5
5620echo "${ECHO_T}yes" >&6
5621 else
5622 echo "$as_me:$LINENO: result: no" >&5
5623echo "${ECHO_T}no" >&6
5624 fi
5625
5626
5627 enablestring=
5628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5629echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5630 no_cache=0
5631 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5632if test "${enable_protocol_file+set}" = set; then
5633 enableval="$enable_protocol_file"
5634
5635 if test "$enableval" = yes; then
5636 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5637 else
5638 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5639 fi
5640
5641else
5642
5643 LINE=`grep "wxUSE_PROTOCOL_FILE" ${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_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5651
5652fi;
5653
5654 eval "$ac_cv_use_protocol_file"
5655 if test "$no_cache" != 1; then
5656 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5657 fi
5658
5659 if test "$wxUSE_PROTOCOL_FILE" = 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
5668
5669
5670
5671 enablestring=
5672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5673echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5674 no_cache=0
5675 # Check whether --enable-threads or --disable-threads was given.
5676if test "${enable_threads+set}" = set; then
5677 enableval="$enable_threads"
5678
5679 if test "$enableval" = yes; then
5680 ac_cv_use_threads='wxUSE_THREADS=yes'
5681 else
5682 ac_cv_use_threads='wxUSE_THREADS=no'
5683 fi
5684
5685else
5686
5687 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5688 if test "x$LINE" != x ; then
5689 eval "DEFAULT_$LINE"
5690 else
5691 no_cache=1
5692 fi
5693
5694 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5695
5696fi;
5697
5698 eval "$ac_cv_use_threads"
5699 if test "$no_cache" != 1; then
5700 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5701 fi
5702
5703 if test "$wxUSE_THREADS" = yes; then
5704 echo "$as_me:$LINENO: result: yes" >&5
5705echo "${ECHO_T}yes" >&6
5706 else
5707 echo "$as_me:$LINENO: result: no" >&5
5708echo "${ECHO_T}no" >&6
5709 fi
5710
5711
5712if test "$wxUSE_GUI" = "yes"; then
5713
5714
5715
5716 enablestring=
5717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5718echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5719 no_cache=0
5720 # Check whether --enable-docview or --disable-docview was given.
5721if test "${enable_docview+set}" = set; then
5722 enableval="$enable_docview"
5723
5724 if test "$enableval" = yes; then
5725 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5726 else
5727 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5728 fi
5729
5730else
5731
5732 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5733 if test "x$LINE" != x ; then
5734 eval "DEFAULT_$LINE"
5735 else
5736 no_cache=1
5737 fi
5738
5739 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5740
5741fi;
5742
5743 eval "$ac_cv_use_docview"
5744 if test "$no_cache" != 1; then
5745 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5746 fi
5747
5748 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5749 echo "$as_me:$LINENO: result: yes" >&5
5750echo "${ECHO_T}yes" >&6
5751 else
5752 echo "$as_me:$LINENO: result: no" >&5
5753echo "${ECHO_T}no" >&6
5754 fi
5755
5756
5757 enablestring=
5758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5759echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5760 no_cache=0
5761 # Check whether --enable-help or --disable-help was given.
5762if test "${enable_help+set}" = set; then
5763 enableval="$enable_help"
5764
5765 if test "$enableval" = yes; then
5766 ac_cv_use_help='wxUSE_HELP=yes'
5767 else
5768 ac_cv_use_help='wxUSE_HELP=no'
5769 fi
5770
5771else
5772
5773 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5774 if test "x$LINE" != x ; then
5775 eval "DEFAULT_$LINE"
5776 else
5777 no_cache=1
5778 fi
5779
5780 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5781
5782fi;
5783
5784 eval "$ac_cv_use_help"
5785 if test "$no_cache" != 1; then
5786 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5787 fi
5788
5789 if test "$wxUSE_HELP" = yes; then
5790 echo "$as_me:$LINENO: result: yes" >&5
5791echo "${ECHO_T}yes" >&6
5792 else
5793 echo "$as_me:$LINENO: result: no" >&5
5794echo "${ECHO_T}no" >&6
5795 fi
5796
5797
5798 enablestring=
5799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5800echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5801 no_cache=0
5802 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5803if test "${enable_mshtmlhelp+set}" = set; then
5804 enableval="$enable_mshtmlhelp"
5805
5806 if test "$enableval" = yes; then
5807 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5808 else
5809 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
5810 fi
5811
5812else
5813
5814 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5815 if test "x$LINE" != x ; then
5816 eval "DEFAULT_$LINE"
5817 else
5818 no_cache=1
5819 fi
5820
5821 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5822
5823fi;
5824
5825 eval "$ac_cv_use_mshtmlhelp"
5826 if test "$no_cache" != 1; then
5827 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5828 fi
5829
5830 if test "$wxUSE_MS_HTML_HELP" = yes; then
5831 echo "$as_me:$LINENO: result: yes" >&5
5832echo "${ECHO_T}yes" >&6
5833 else
5834 echo "$as_me:$LINENO: result: no" >&5
5835echo "${ECHO_T}no" >&6
5836 fi
5837
5838
5839 enablestring=
5840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5841echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5842 no_cache=0
5843 # Check whether --enable-html or --disable-html was given.
5844if test "${enable_html+set}" = set; then
5845 enableval="$enable_html"
5846
5847 if test "$enableval" = yes; then
5848 ac_cv_use_html='wxUSE_HTML=yes'
5849 else
5850 ac_cv_use_html='wxUSE_HTML=no'
5851 fi
5852
5853else
5854
5855 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5856 if test "x$LINE" != x ; then
5857 eval "DEFAULT_$LINE"
5858 else
5859 no_cache=1
5860 fi
5861
5862 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5863
5864fi;
5865
5866 eval "$ac_cv_use_html"
5867 if test "$no_cache" != 1; then
5868 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5869 fi
5870
5871 if test "$wxUSE_HTML" = yes; then
5872 echo "$as_me:$LINENO: result: yes" >&5
5873echo "${ECHO_T}yes" >&6
5874 else
5875 echo "$as_me:$LINENO: result: no" >&5
5876echo "${ECHO_T}no" >&6
5877 fi
5878
5879
5880 enablestring=
5881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5882echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5883 no_cache=0
5884 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5885if test "${enable_htmlhelp+set}" = set; then
5886 enableval="$enable_htmlhelp"
5887
5888 if test "$enableval" = yes; then
5889 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5890 else
5891 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5892 fi
5893
5894else
5895
5896 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5897 if test "x$LINE" != x ; then
5898 eval "DEFAULT_$LINE"
5899 else
5900 no_cache=1
5901 fi
5902
5903 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5904
5905fi;
5906
5907 eval "$ac_cv_use_htmlhelp"
5908 if test "$no_cache" != 1; then
5909 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5910 fi
5911
5912 if test "$wxUSE_WXHTML_HELP" = yes; then
5913 echo "$as_me:$LINENO: result: yes" >&5
5914echo "${ECHO_T}yes" >&6
5915 else
5916 echo "$as_me:$LINENO: result: no" >&5
5917echo "${ECHO_T}no" >&6
5918 fi
5919
5920
5921 enablestring=
5922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5923echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5924 no_cache=0
5925 # Check whether --enable-constraints or --disable-constraints was given.
5926if test "${enable_constraints+set}" = set; then
5927 enableval="$enable_constraints"
5928
5929 if test "$enableval" = yes; then
5930 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
5931 else
5932 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
5933 fi
5934
5935else
5936
5937 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5938 if test "x$LINE" != x ; then
5939 eval "DEFAULT_$LINE"
5940 else
5941 no_cache=1
5942 fi
5943
5944 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5945
5946fi;
5947
5948 eval "$ac_cv_use_constraints"
5949 if test "$no_cache" != 1; then
5950 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5951 fi
5952
5953 if test "$wxUSE_CONSTRAINTS" = yes; then
5954 echo "$as_me:$LINENO: result: yes" >&5
5955echo "${ECHO_T}yes" >&6
5956 else
5957 echo "$as_me:$LINENO: result: no" >&5
5958echo "${ECHO_T}no" >&6
5959 fi
5960
5961
5962 enablestring=
5963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5964echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5965 no_cache=0
5966 # Check whether --enable-printarch or --disable-printarch was given.
5967if test "${enable_printarch+set}" = set; then
5968 enableval="$enable_printarch"
5969
5970 if test "$enableval" = yes; then
5971 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
5972 else
5973 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
5974 fi
5975
5976else
5977
5978 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5979 if test "x$LINE" != x ; then
5980 eval "DEFAULT_$LINE"
5981 else
5982 no_cache=1
5983 fi
5984
5985 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5986
5987fi;
5988
5989 eval "$ac_cv_use_printarch"
5990 if test "$no_cache" != 1; then
5991 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5992 fi
5993
5994 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5995 echo "$as_me:$LINENO: result: yes" >&5
5996echo "${ECHO_T}yes" >&6
5997 else
5998 echo "$as_me:$LINENO: result: no" >&5
5999echo "${ECHO_T}no" >&6
6000 fi
6001
6002
6003 enablestring=
6004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6005echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6006 no_cache=0
6007 # Check whether --enable-mdi or --disable-mdi was given.
6008if test "${enable_mdi+set}" = set; then
6009 enableval="$enable_mdi"
6010
6011 if test "$enableval" = yes; then
6012 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
6013 else
6014 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
6015 fi
6016
6017else
6018
6019 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6020 if test "x$LINE" != x ; then
6021 eval "DEFAULT_$LINE"
6022 else
6023 no_cache=1
6024 fi
6025
6026 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6027
6028fi;
6029
6030 eval "$ac_cv_use_mdi"
6031 if test "$no_cache" != 1; then
6032 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6033 fi
6034
6035 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6036 echo "$as_me:$LINENO: result: yes" >&5
6037echo "${ECHO_T}yes" >&6
6038 else
6039 echo "$as_me:$LINENO: result: no" >&5
6040echo "${ECHO_T}no" >&6
6041 fi
6042
6043
6044 enablestring=
6045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6046echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6047 no_cache=0
6048 # Check whether --enable-loggui or --disable-loggui was given.
6049if test "${enable_loggui+set}" = set; then
6050 enableval="$enable_loggui"
6051
6052 if test "$enableval" = yes; then
6053 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6054 else
6055 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6056 fi
6057
6058else
6059
6060 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6061 if test "x$LINE" != x ; then
6062 eval "DEFAULT_$LINE"
6063 else
6064 no_cache=1
6065 fi
6066
6067 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6068
6069fi;
6070
6071 eval "$ac_cv_use_loggui"
6072 if test "$no_cache" != 1; then
6073 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6074 fi
6075
6076 if test "$wxUSE_LOGGUI" = yes; then
6077 echo "$as_me:$LINENO: result: yes" >&5
6078echo "${ECHO_T}yes" >&6
6079 else
6080 echo "$as_me:$LINENO: result: no" >&5
6081echo "${ECHO_T}no" >&6
6082 fi
6083
6084
6085 enablestring=
6086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6087echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6088 no_cache=0
6089 # Check whether --enable-logwin or --disable-logwin was given.
6090if test "${enable_logwin+set}" = set; then
6091 enableval="$enable_logwin"
6092
6093 if test "$enableval" = yes; then
6094 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6095 else
6096 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6097 fi
6098
6099else
6100
6101 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6102 if test "x$LINE" != x ; then
6103 eval "DEFAULT_$LINE"
6104 else
6105 no_cache=1
6106 fi
6107
6108 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6109
6110fi;
6111
6112 eval "$ac_cv_use_logwin"
6113 if test "$no_cache" != 1; then
6114 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6115 fi
6116
6117 if test "$wxUSE_LOGWINDOW" = yes; then
6118 echo "$as_me:$LINENO: result: yes" >&5
6119echo "${ECHO_T}yes" >&6
6120 else
6121 echo "$as_me:$LINENO: result: no" >&5
6122echo "${ECHO_T}no" >&6
6123 fi
6124
6125
6126 enablestring=
6127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6128echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6129 no_cache=0
6130 # Check whether --enable-logdialog or --disable-logdialog was given.
6131if test "${enable_logdialog+set}" = set; then
6132 enableval="$enable_logdialog"
6133
6134 if test "$enableval" = yes; then
6135 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6136 else
6137 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6138 fi
6139
6140else
6141
6142 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6143 if test "x$LINE" != x ; then
6144 eval "DEFAULT_$LINE"
6145 else
6146 no_cache=1
6147 fi
6148
6149 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6150
6151fi;
6152
6153 eval "$ac_cv_use_logdialog"
6154 if test "$no_cache" != 1; then
6155 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6156 fi
6157
6158 if test "$wxUSE_LOGDIALOG" = yes; then
6159 echo "$as_me:$LINENO: result: yes" >&5
6160echo "${ECHO_T}yes" >&6
6161 else
6162 echo "$as_me:$LINENO: result: no" >&5
6163echo "${ECHO_T}no" >&6
6164 fi
6165
6166
6167
6168 enablestring=
6169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6170echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6171 no_cache=0
6172 # Check whether --enable-postscript or --disable-postscript was given.
6173if test "${enable_postscript+set}" = set; then
6174 enableval="$enable_postscript"
6175
6176 if test "$enableval" = yes; then
6177 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6178 else
6179 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6180 fi
6181
6182else
6183
6184 LINE=`grep "wxUSE_POSTSCRIPT" ${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_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6192
6193fi;
6194
6195 eval "$ac_cv_use_postscript"
6196 if test "$no_cache" != 1; then
6197 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6198 fi
6199
6200 if test "$wxUSE_POSTSCRIPT" = 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
6210
6211
6212 enablestring=
6213 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6214echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6215 no_cache=0
6216 # Check whether --enable-prologio or --disable-prologio was given.
6217if test "${enable_prologio+set}" = set; then
6218 enableval="$enable_prologio"
6219
6220 if test "$enableval" = yes; then
6221 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6222 else
6223 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6224 fi
6225
6226else
6227
6228 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6229 if test "x$LINE" != x ; then
6230 eval "DEFAULT_$LINE"
6231 else
6232 no_cache=1
6233 fi
6234
6235 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6236
6237fi;
6238
6239 eval "$ac_cv_use_prologio"
6240 if test "$no_cache" != 1; then
6241 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6242 fi
6243
6244 if test "$wxUSE_PROLOGIO" = yes; then
6245 echo "$as_me:$LINENO: result: yes" >&5
6246echo "${ECHO_T}yes" >&6
6247 else
6248 echo "$as_me:$LINENO: result: no" >&5
6249echo "${ECHO_T}no" >&6
6250 fi
6251
6252
6253 enablestring=
6254 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6255echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6256 no_cache=0
6257 # Check whether --enable-resources or --disable-resources was given.
6258if test "${enable_resources+set}" = set; then
6259 enableval="$enable_resources"
6260
6261 if test "$enableval" = yes; then
6262 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6263 else
6264 ac_cv_use_resources='wxUSE_RESOURCES=no'
6265 fi
6266
6267else
6268
6269 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6270 if test "x$LINE" != x ; then
6271 eval "DEFAULT_$LINE"
6272 else
6273 no_cache=1
6274 fi
6275
6276 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6277
6278fi;
6279
6280 eval "$ac_cv_use_resources"
6281 if test "$no_cache" != 1; then
6282 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6283 fi
6284
6285 if test "$wxUSE_RESOURCES" = yes; then
6286 echo "$as_me:$LINENO: result: yes" >&5
6287echo "${ECHO_T}yes" >&6
6288 else
6289 echo "$as_me:$LINENO: result: no" >&5
6290echo "${ECHO_T}no" >&6
6291 fi
6292
6293
6294
6295
6296 enablestring=
6297 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6298echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6299 no_cache=0
6300 # Check whether --enable-clipboard or --disable-clipboard was given.
6301if test "${enable_clipboard+set}" = set; then
6302 enableval="$enable_clipboard"
6303
6304 if test "$enableval" = yes; then
6305 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6306 else
6307 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6308 fi
6309
6310else
6311
6312 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6313 if test "x$LINE" != x ; then
6314 eval "DEFAULT_$LINE"
6315 else
6316 no_cache=1
6317 fi
6318
6319 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6320
6321fi;
6322
6323 eval "$ac_cv_use_clipboard"
6324 if test "$no_cache" != 1; then
6325 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6326 fi
6327
6328 if test "$wxUSE_CLIPBOARD" = yes; then
6329 echo "$as_me:$LINENO: result: yes" >&5
6330echo "${ECHO_T}yes" >&6
6331 else
6332 echo "$as_me:$LINENO: result: no" >&5
6333echo "${ECHO_T}no" >&6
6334 fi
6335
6336
6337 enablestring=
6338 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6339echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6340 no_cache=0
6341 # Check whether --enable-dnd or --disable-dnd was given.
6342if test "${enable_dnd+set}" = set; then
6343 enableval="$enable_dnd"
6344
6345 if test "$enableval" = yes; then
6346 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6347 else
6348 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6349 fi
6350
6351else
6352
6353 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6354 if test "x$LINE" != x ; then
6355 eval "DEFAULT_$LINE"
6356 else
6357 no_cache=1
6358 fi
6359
6360 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6361
6362fi;
6363
6364 eval "$ac_cv_use_dnd"
6365 if test "$no_cache" != 1; then
6366 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6367 fi
6368
6369 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6370 echo "$as_me:$LINENO: result: yes" >&5
6371echo "${ECHO_T}yes" >&6
6372 else
6373 echo "$as_me:$LINENO: result: no" >&5
6374echo "${ECHO_T}no" >&6
6375 fi
6376
6377
6378 enablestring=
6379 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6380echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6381 no_cache=0
6382 # Check whether --enable-metafile or --disable-metafile was given.
6383if test "${enable_metafile+set}" = set; then
6384 enableval="$enable_metafile"
6385
6386 if test "$enableval" = yes; then
6387 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6388 else
6389 ac_cv_use_metafile='wxUSE_METAFILE=no'
6390 fi
6391
6392else
6393
6394 LINE=`grep "wxUSE_METAFILE" ${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_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6402
6403fi;
6404
6405 eval "$ac_cv_use_metafile"
6406 if test "$no_cache" != 1; then
6407 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6408 fi
6409
6410 if test "$wxUSE_METAFILE" = 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
6419
6420
6421
6422 enablestring=
6423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6424echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6425 no_cache=0
6426 # Check whether --enable-controls or --disable-controls was given.
6427if test "${enable_controls+set}" = set; then
6428 enableval="$enable_controls"
6429
6430 if test "$enableval" = yes; then
6431 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6432 else
6433 ac_cv_use_controls='wxUSE_CONTROLS=no'
6434 fi
6435
6436else
6437
6438 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6439 if test "x$LINE" != x ; then
6440 eval "DEFAULT_$LINE"
6441 else
6442 no_cache=1
6443 fi
6444
6445 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6446
6447fi;
6448
6449 eval "$ac_cv_use_controls"
6450 if test "$no_cache" != 1; then
6451 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6452 fi
6453
6454 if test "$wxUSE_CONTROLS" = yes; then
6455 echo "$as_me:$LINENO: result: yes" >&5
6456echo "${ECHO_T}yes" >&6
6457 else
6458 echo "$as_me:$LINENO: result: no" >&5
6459echo "${ECHO_T}no" >&6
6460 fi
6461
6462
6463if test "$wxUSE_CONTROLS" = "yes"; then
6464 DEFAULT_wxUSE_ACCEL=yes
6465 DEFAULT_wxUSE_BMPBUTTON=yes
6466 DEFAULT_wxUSE_BUTTON=yes
6467 DEFAULT_wxUSE_CALCTRL=no
6468 DEFAULT_wxUSE_CARET=yes
6469 DEFAULT_wxUSE_COMBOBOX=yes
6470 DEFAULT_wxUSE_CHECKBOX=yes
6471 DEFAULT_wxUSE_CHECKLISTBOX=yes
6472 DEFAULT_wxUSE_CHOICE=yes
6473 DEFAULT_wxUSE_GAUGE=yes
6474 DEFAULT_wxUSE_GRID=yes
6475 DEFAULT_wxUSE_IMAGLIST=yes
6476 DEFAULT_wxUSE_LISTBOX=yes
6477 DEFAULT_wxUSE_LISTCTRL=yes
6478 DEFAULT_wxUSE_NOTEBOOK=yes
6479 DEFAULT_wxUSE_RADIOBOX=yes
6480 DEFAULT_wxUSE_RADIOBTN=yes
6481 DEFAULT_wxUSE_SASH=yes
6482 DEFAULT_wxUSE_SCROLLBAR=yes
6483 DEFAULT_wxUSE_SLIDER=yes
6484 DEFAULT_wxUSE_SPINBTN=yes
6485 DEFAULT_wxUSE_SPINCTRL=yes
6486 DEFAULT_wxUSE_SPLITTER=yes
6487 DEFAULT_wxUSE_STATBMP=yes
6488 DEFAULT_wxUSE_STATBOX=yes
6489 DEFAULT_wxUSE_STATLINE=yes
6490 DEFAULT_wxUSE_STATUSBAR=yes
6491 DEFAULT_wxUSE_TAB_DIALOG=yes
6492 DEFAULT_wxUSE_TOGGLEBTN=yes
6493 DEFAULT_wxUSE_TOOLBAR=yes
6494 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6495 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6496 DEFAULT_wxUSE_TOOLTIPS=yes
6497 DEFAULT_wxUSE_TREECTRL=yes
6498 DEFAULT_wxUSE_POPUPWIN=yes
6499 DEFAULT_wxUSE_TIPWINDOW=yes
6500elif test "$wxUSE_CONTROLS" = "no"; then
6501 DEFAULT_wxUSE_ACCEL=no
6502 DEFAULT_wxUSE_BMPBUTTON=no
6503 DEFAULT_wxUSE_BUTTON=no
6504 DEFAULT_wxUSE_CALCTRL=no
6505 DEFAULT_wxUSE_CARET=no
6506 DEFAULT_wxUSE_COMBOBOX=no
6507 DEFAULT_wxUSE_CHECKBOX=no
6508 DEFAULT_wxUSE_CHECKLISTBOX=no
6509 DEFAULT_wxUSE_CHOICE=no
6510 DEFAULT_wxUSE_GAUGE=no
6511 DEFAULT_wxUSE_GRID=no
6512 DEFAULT_wxUSE_IMAGLIST=no
6513 DEFAULT_wxUSE_LISTBOX=no
6514 DEFAULT_wxUSE_LISTCTRL=no
6515 DEFAULT_wxUSE_NOTEBOOK=no
6516 DEFAULT_wxUSE_RADIOBOX=no
6517 DEFAULT_wxUSE_RADIOBTN=no
6518 DEFAULT_wxUSE_SASH=no
6519 DEFAULT_wxUSE_SCROLLBAR=no
6520 DEFAULT_wxUSE_SLIDER=no
6521 DEFAULT_wxUSE_SPINBTN=no
6522 DEFAULT_wxUSE_SPINCTRL=no
6523 DEFAULT_wxUSE_SPLITTER=no
6524 DEFAULT_wxUSE_STATBMP=no
6525 DEFAULT_wxUSE_STATBOX=no
6526 DEFAULT_wxUSE_STATLINE=no
6527 DEFAULT_wxUSE_STATUSBAR=no
6528 DEFAULT_wxUSE_TAB_DIALOG=no
6529 DEFAULT_wxUSE_TOGGLEBTN=no
6530 DEFAULT_wxUSE_TOOLBAR=no
6531 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6532 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6533 DEFAULT_wxUSE_TOOLTIPS=no
6534 DEFAULT_wxUSE_TREECTRL=no
6535 DEFAULT_wxUSE_POPUPWIN=no
6536 DEFAULT_wxUSE_TIPWINDOW=no
6537fi
6538
6539## FIXME: This is a blatant hack
6540if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6541 wxUSE_PRINTING_ARCHITECTURE=no
6542 wxUSE_HELP=no
6543 wxUSE_CLIPBOARD=no
6544 wxUSE_DRAG_AND_DROP=no
6545 wxUSE_DATAOBJ=no
6546 # Generic notebook requires tab dialog
6547 DEFAULT_wxUSE_TABDIALOG=yes
6548 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6549 DEFAULT_wxUSE_GAUGE=no
6550 DEFAULT_wxUSE_SCROLLBAR=no
6551 DEFAULT_wxUSE_COMBOBOX=no
6552 DEFAULT_wxUSE_CALCTRL=no
6553 DEFAULT_wxUSE_SPINBTN=no
6554 DEFAULT_wxUSE_SPINCTRL=no
6555 DEFAULT_wxUSE_TOOLTIPS=no
6556 DEFAULT_wxUSE_DRAGIMAGE=no
6557 DEFAULT_wxUSE_FINDREPLDLG=no
6558 DEFAULT_wxUSE_FONTDLG=no
6559 DEFAULT_wxUSE_GRID=no
6560 DEFAULT_wxUSE_NUMBERDLG=no
6561 DEFAULT_wxUSE_PROGRESSDLG=no
6562 DEFAULT_wxUSE_SASH=no
6563 DEFAULT_wxUSE_SPLITTER=no
6564 DEFAULT_wxUSE_WIZARDDLG=no
6565 DEFAULT_wxUSE_SPLITTER=no
6566 DEFAULT_wxUSE_STARTUP_TIPS=no
6567fi
6568
6569
6570 enablestring=
6571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6572echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6573 no_cache=0
6574 # Check whether --enable-accel or --disable-accel was given.
6575if test "${enable_accel+set}" = set; then
6576 enableval="$enable_accel"
6577
6578 if test "$enableval" = yes; then
6579 ac_cv_use_accel='wxUSE_ACCEL=yes'
6580 else
6581 ac_cv_use_accel='wxUSE_ACCEL=no'
6582 fi
6583
6584else
6585
6586 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6587 if test "x$LINE" != x ; then
6588 eval "DEFAULT_$LINE"
6589 else
6590 no_cache=1
6591 fi
6592
6593 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6594
6595fi;
6596
6597 eval "$ac_cv_use_accel"
6598 if test "$no_cache" != 1; then
6599 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6600 fi
6601
6602 if test "$wxUSE_ACCEL" = yes; then
6603 echo "$as_me:$LINENO: result: yes" >&5
6604echo "${ECHO_T}yes" >&6
6605 else
6606 echo "$as_me:$LINENO: result: no" >&5
6607echo "${ECHO_T}no" >&6
6608 fi
6609
6610
6611 enablestring=
6612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6613echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6614 no_cache=0
6615 # Check whether --enable-button or --disable-button was given.
6616if test "${enable_button+set}" = set; then
6617 enableval="$enable_button"
6618
6619 if test "$enableval" = yes; then
6620 ac_cv_use_button='wxUSE_BUTTON=yes'
6621 else
6622 ac_cv_use_button='wxUSE_BUTTON=no'
6623 fi
6624
6625else
6626
6627 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6628 if test "x$LINE" != x ; then
6629 eval "DEFAULT_$LINE"
6630 else
6631 no_cache=1
6632 fi
6633
6634 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6635
6636fi;
6637
6638 eval "$ac_cv_use_button"
6639 if test "$no_cache" != 1; then
6640 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6641 fi
6642
6643 if test "$wxUSE_BUTTON" = yes; then
6644 echo "$as_me:$LINENO: result: yes" >&5
6645echo "${ECHO_T}yes" >&6
6646 else
6647 echo "$as_me:$LINENO: result: no" >&5
6648echo "${ECHO_T}no" >&6
6649 fi
6650
6651
6652 enablestring=
6653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6654echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6655 no_cache=0
6656 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6657if test "${enable_bmpbutton+set}" = set; then
6658 enableval="$enable_bmpbutton"
6659
6660 if test "$enableval" = yes; then
6661 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6662 else
6663 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6664 fi
6665
6666else
6667
6668 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6669 if test "x$LINE" != x ; then
6670 eval "DEFAULT_$LINE"
6671 else
6672 no_cache=1
6673 fi
6674
6675 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6676
6677fi;
6678
6679 eval "$ac_cv_use_bmpbutton"
6680 if test "$no_cache" != 1; then
6681 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6682 fi
6683
6684 if test "$wxUSE_BMPBUTTON" = yes; then
6685 echo "$as_me:$LINENO: result: yes" >&5
6686echo "${ECHO_T}yes" >&6
6687 else
6688 echo "$as_me:$LINENO: result: no" >&5
6689echo "${ECHO_T}no" >&6
6690 fi
6691
6692
6693 enablestring=
6694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6695echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6696 no_cache=0
6697 # Check whether --enable-calendar or --disable-calendar was given.
6698if test "${enable_calendar+set}" = set; then
6699 enableval="$enable_calendar"
6700
6701 if test "$enableval" = yes; then
6702 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6703 else
6704 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6705 fi
6706
6707else
6708
6709 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6710 if test "x$LINE" != x ; then
6711 eval "DEFAULT_$LINE"
6712 else
6713 no_cache=1
6714 fi
6715
6716 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6717
6718fi;
6719
6720 eval "$ac_cv_use_calendar"
6721 if test "$no_cache" != 1; then
6722 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6723 fi
6724
6725 if test "$wxUSE_CALCTRL" = yes; then
6726 echo "$as_me:$LINENO: result: yes" >&5
6727echo "${ECHO_T}yes" >&6
6728 else
6729 echo "$as_me:$LINENO: result: no" >&5
6730echo "${ECHO_T}no" >&6
6731 fi
6732
6733
6734 enablestring=
6735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6736echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6737 no_cache=0
6738 # Check whether --enable-caret or --disable-caret was given.
6739if test "${enable_caret+set}" = set; then
6740 enableval="$enable_caret"
6741
6742 if test "$enableval" = yes; then
6743 ac_cv_use_caret='wxUSE_CARET=yes'
6744 else
6745 ac_cv_use_caret='wxUSE_CARET=no'
6746 fi
6747
6748else
6749
6750 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6751 if test "x$LINE" != x ; then
6752 eval "DEFAULT_$LINE"
6753 else
6754 no_cache=1
6755 fi
6756
6757 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6758
6759fi;
6760
6761 eval "$ac_cv_use_caret"
6762 if test "$no_cache" != 1; then
6763 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6764 fi
6765
6766 if test "$wxUSE_CARET" = yes; then
6767 echo "$as_me:$LINENO: result: yes" >&5
6768echo "${ECHO_T}yes" >&6
6769 else
6770 echo "$as_me:$LINENO: result: no" >&5
6771echo "${ECHO_T}no" >&6
6772 fi
6773
6774
6775 enablestring=
6776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6777echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6778 no_cache=0
6779 # Check whether --enable-checkbox or --disable-checkbox was given.
6780if test "${enable_checkbox+set}" = set; then
6781 enableval="$enable_checkbox"
6782
6783 if test "$enableval" = yes; then
6784 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6785 else
6786 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6787 fi
6788
6789else
6790
6791 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6792 if test "x$LINE" != x ; then
6793 eval "DEFAULT_$LINE"
6794 else
6795 no_cache=1
6796 fi
6797
6798 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6799
6800fi;
6801
6802 eval "$ac_cv_use_checkbox"
6803 if test "$no_cache" != 1; then
6804 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6805 fi
6806
6807 if test "$wxUSE_CHECKBOX" = yes; then
6808 echo "$as_me:$LINENO: result: yes" >&5
6809echo "${ECHO_T}yes" >&6
6810 else
6811 echo "$as_me:$LINENO: result: no" >&5
6812echo "${ECHO_T}no" >&6
6813 fi
6814
6815
6816 enablestring=
6817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6818echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6819 no_cache=0
6820 # Check whether --enable-checklst or --disable-checklst was given.
6821if test "${enable_checklst+set}" = set; then
6822 enableval="$enable_checklst"
6823
6824 if test "$enableval" = yes; then
6825 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6826 else
6827 ac_cv_use_checklst='wxUSE_CHECKLST=no'
6828 fi
6829
6830else
6831
6832 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6833 if test "x$LINE" != x ; then
6834 eval "DEFAULT_$LINE"
6835 else
6836 no_cache=1
6837 fi
6838
6839 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6840
6841fi;
6842
6843 eval "$ac_cv_use_checklst"
6844 if test "$no_cache" != 1; then
6845 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6846 fi
6847
6848 if test "$wxUSE_CHECKLST" = yes; then
6849 echo "$as_me:$LINENO: result: yes" >&5
6850echo "${ECHO_T}yes" >&6
6851 else
6852 echo "$as_me:$LINENO: result: no" >&5
6853echo "${ECHO_T}no" >&6
6854 fi
6855
6856
6857 enablestring=
6858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6859echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6860 no_cache=0
6861 # Check whether --enable-choice or --disable-choice was given.
6862if test "${enable_choice+set}" = set; then
6863 enableval="$enable_choice"
6864
6865 if test "$enableval" = yes; then
6866 ac_cv_use_choice='wxUSE_CHOICE=yes'
6867 else
6868 ac_cv_use_choice='wxUSE_CHOICE=no'
6869 fi
6870
6871else
6872
6873 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6874 if test "x$LINE" != x ; then
6875 eval "DEFAULT_$LINE"
6876 else
6877 no_cache=1
6878 fi
6879
6880 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6881
6882fi;
6883
6884 eval "$ac_cv_use_choice"
6885 if test "$no_cache" != 1; then
6886 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6887 fi
6888
6889 if test "$wxUSE_CHOICE" = yes; then
6890 echo "$as_me:$LINENO: result: yes" >&5
6891echo "${ECHO_T}yes" >&6
6892 else
6893 echo "$as_me:$LINENO: result: no" >&5
6894echo "${ECHO_T}no" >&6
6895 fi
6896
6897
6898 enablestring=
6899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6900echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6901 no_cache=0
6902 # Check whether --enable-combobox or --disable-combobox was given.
6903if test "${enable_combobox+set}" = set; then
6904 enableval="$enable_combobox"
6905
6906 if test "$enableval" = yes; then
6907 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6908 else
6909 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6910 fi
6911
6912else
6913
6914 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6915 if test "x$LINE" != x ; then
6916 eval "DEFAULT_$LINE"
6917 else
6918 no_cache=1
6919 fi
6920
6921 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6922
6923fi;
6924
6925 eval "$ac_cv_use_combobox"
6926 if test "$no_cache" != 1; then
6927 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6928 fi
6929
6930 if test "$wxUSE_COMBOBOX" = yes; then
6931 echo "$as_me:$LINENO: result: yes" >&5
6932echo "${ECHO_T}yes" >&6
6933 else
6934 echo "$as_me:$LINENO: result: no" >&5
6935echo "${ECHO_T}no" >&6
6936 fi
6937
6938
6939 enablestring=
6940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6941echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6942 no_cache=0
6943 # Check whether --enable-display or --disable-display was given.
6944if test "${enable_display+set}" = set; then
6945 enableval="$enable_display"
6946
6947 if test "$enableval" = yes; then
6948 ac_cv_use_display='wxUSE_DISPLAY=yes'
6949 else
6950 ac_cv_use_display='wxUSE_DISPLAY=no'
6951 fi
6952
6953else
6954
6955 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6956 if test "x$LINE" != x ; then
6957 eval "DEFAULT_$LINE"
6958 else
6959 no_cache=1
6960 fi
6961
6962 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6963
6964fi;
6965
6966 eval "$ac_cv_use_display"
6967 if test "$no_cache" != 1; then
6968 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6969 fi
6970
6971 if test "$wxUSE_DISPLAY" = yes; then
6972 echo "$as_me:$LINENO: result: yes" >&5
6973echo "${ECHO_T}yes" >&6
6974 else
6975 echo "$as_me:$LINENO: result: no" >&5
6976echo "${ECHO_T}no" >&6
6977 fi
6978
6979
6980 enablestring=
6981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6982echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6983 no_cache=0
6984 # Check whether --enable-gauge or --disable-gauge was given.
6985if test "${enable_gauge+set}" = set; then
6986 enableval="$enable_gauge"
6987
6988 if test "$enableval" = yes; then
6989 ac_cv_use_gauge='wxUSE_GAUGE=yes'
6990 else
6991 ac_cv_use_gauge='wxUSE_GAUGE=no'
6992 fi
6993
6994else
6995
6996 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6997 if test "x$LINE" != x ; then
6998 eval "DEFAULT_$LINE"
6999 else
7000 no_cache=1
7001 fi
7002
7003 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7004
7005fi;
7006
7007 eval "$ac_cv_use_gauge"
7008 if test "$no_cache" != 1; then
7009 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7010 fi
7011
7012 if test "$wxUSE_GAUGE" = yes; then
7013 echo "$as_me:$LINENO: result: yes" >&5
7014echo "${ECHO_T}yes" >&6
7015 else
7016 echo "$as_me:$LINENO: result: no" >&5
7017echo "${ECHO_T}no" >&6
7018 fi
7019
7020
7021 enablestring=
7022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7023echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7024 no_cache=0
7025 # Check whether --enable-grid or --disable-grid was given.
7026if test "${enable_grid+set}" = set; then
7027 enableval="$enable_grid"
7028
7029 if test "$enableval" = yes; then
7030 ac_cv_use_grid='wxUSE_GRID=yes'
7031 else
7032 ac_cv_use_grid='wxUSE_GRID=no'
7033 fi
7034
7035else
7036
7037 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7038 if test "x$LINE" != x ; then
7039 eval "DEFAULT_$LINE"
7040 else
7041 no_cache=1
7042 fi
7043
7044 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7045
7046fi;
7047
7048 eval "$ac_cv_use_grid"
7049 if test "$no_cache" != 1; then
7050 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7051 fi
7052
7053 if test "$wxUSE_GRID" = yes; then
7054 echo "$as_me:$LINENO: result: yes" >&5
7055echo "${ECHO_T}yes" >&6
7056 else
7057 echo "$as_me:$LINENO: result: no" >&5
7058echo "${ECHO_T}no" >&6
7059 fi
7060
7061
7062 enablestring=
7063 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7064echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7065 no_cache=0
7066 # Check whether --enable-imaglist or --disable-imaglist was given.
7067if test "${enable_imaglist+set}" = set; then
7068 enableval="$enable_imaglist"
7069
7070 if test "$enableval" = yes; then
7071 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7072 else
7073 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7074 fi
7075
7076else
7077
7078 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7079 if test "x$LINE" != x ; then
7080 eval "DEFAULT_$LINE"
7081 else
7082 no_cache=1
7083 fi
7084
7085 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7086
7087fi;
7088
7089 eval "$ac_cv_use_imaglist"
7090 if test "$no_cache" != 1; then
7091 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7092 fi
7093
7094 if test "$wxUSE_IMAGLIST" = yes; then
7095 echo "$as_me:$LINENO: result: yes" >&5
7096echo "${ECHO_T}yes" >&6
7097 else
7098 echo "$as_me:$LINENO: result: no" >&5
7099echo "${ECHO_T}no" >&6
7100 fi
7101
7102
7103 enablestring=
7104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7105echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7106 no_cache=0
7107 # Check whether --enable-listbox or --disable-listbox was given.
7108if test "${enable_listbox+set}" = set; then
7109 enableval="$enable_listbox"
7110
7111 if test "$enableval" = yes; then
7112 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7113 else
7114 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7115 fi
7116
7117else
7118
7119 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7120 if test "x$LINE" != x ; then
7121 eval "DEFAULT_$LINE"
7122 else
7123 no_cache=1
7124 fi
7125
7126 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7127
7128fi;
7129
7130 eval "$ac_cv_use_listbox"
7131 if test "$no_cache" != 1; then
7132 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7133 fi
7134
7135 if test "$wxUSE_LISTBOX" = yes; then
7136 echo "$as_me:$LINENO: result: yes" >&5
7137echo "${ECHO_T}yes" >&6
7138 else
7139 echo "$as_me:$LINENO: result: no" >&5
7140echo "${ECHO_T}no" >&6
7141 fi
7142
7143
7144 enablestring=
7145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7146echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7147 no_cache=0
7148 # Check whether --enable-listctrl or --disable-listctrl was given.
7149if test "${enable_listctrl+set}" = set; then
7150 enableval="$enable_listctrl"
7151
7152 if test "$enableval" = yes; then
7153 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7154 else
7155 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7156 fi
7157
7158else
7159
7160 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7161 if test "x$LINE" != x ; then
7162 eval "DEFAULT_$LINE"
7163 else
7164 no_cache=1
7165 fi
7166
7167 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7168
7169fi;
7170
7171 eval "$ac_cv_use_listctrl"
7172 if test "$no_cache" != 1; then
7173 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7174 fi
7175
7176 if test "$wxUSE_LISTCTRL" = yes; then
7177 echo "$as_me:$LINENO: result: yes" >&5
7178echo "${ECHO_T}yes" >&6
7179 else
7180 echo "$as_me:$LINENO: result: no" >&5
7181echo "${ECHO_T}no" >&6
7182 fi
7183
7184
7185 enablestring=
7186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7187echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7188 no_cache=0
7189 # Check whether --enable-notebook or --disable-notebook was given.
7190if test "${enable_notebook+set}" = set; then
7191 enableval="$enable_notebook"
7192
7193 if test "$enableval" = yes; then
7194 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7195 else
7196 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7197 fi
7198
7199else
7200
7201 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7202 if test "x$LINE" != x ; then
7203 eval "DEFAULT_$LINE"
7204 else
7205 no_cache=1
7206 fi
7207
7208 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7209
7210fi;
7211
7212 eval "$ac_cv_use_notebook"
7213 if test "$no_cache" != 1; then
7214 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7215 fi
7216
7217 if test "$wxUSE_NOTEBOOK" = yes; then
7218 echo "$as_me:$LINENO: result: yes" >&5
7219echo "${ECHO_T}yes" >&6
7220 else
7221 echo "$as_me:$LINENO: result: no" >&5
7222echo "${ECHO_T}no" >&6
7223 fi
7224
7225
7226 enablestring=
7227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7228echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7229 no_cache=0
7230 # Check whether --enable-radiobox or --disable-radiobox was given.
7231if test "${enable_radiobox+set}" = set; then
7232 enableval="$enable_radiobox"
7233
7234 if test "$enableval" = yes; then
7235 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7236 else
7237 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7238 fi
7239
7240else
7241
7242 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7243 if test "x$LINE" != x ; then
7244 eval "DEFAULT_$LINE"
7245 else
7246 no_cache=1
7247 fi
7248
7249 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7250
7251fi;
7252
7253 eval "$ac_cv_use_radiobox"
7254 if test "$no_cache" != 1; then
7255 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7256 fi
7257
7258 if test "$wxUSE_RADIOBOX" = yes; then
7259 echo "$as_me:$LINENO: result: yes" >&5
7260echo "${ECHO_T}yes" >&6
7261 else
7262 echo "$as_me:$LINENO: result: no" >&5
7263echo "${ECHO_T}no" >&6
7264 fi
7265
7266
7267 enablestring=
7268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7269echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7270 no_cache=0
7271 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7272if test "${enable_radiobtn+set}" = set; then
7273 enableval="$enable_radiobtn"
7274
7275 if test "$enableval" = yes; then
7276 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7277 else
7278 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7279 fi
7280
7281else
7282
7283 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7284 if test "x$LINE" != x ; then
7285 eval "DEFAULT_$LINE"
7286 else
7287 no_cache=1
7288 fi
7289
7290 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7291
7292fi;
7293
7294 eval "$ac_cv_use_radiobtn"
7295 if test "$no_cache" != 1; then
7296 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7297 fi
7298
7299 if test "$wxUSE_RADIOBTN" = yes; then
7300 echo "$as_me:$LINENO: result: yes" >&5
7301echo "${ECHO_T}yes" >&6
7302 else
7303 echo "$as_me:$LINENO: result: no" >&5
7304echo "${ECHO_T}no" >&6
7305 fi
7306
7307
7308 enablestring=
7309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7310echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7311 no_cache=0
7312 # Check whether --enable-sash or --disable-sash was given.
7313if test "${enable_sash+set}" = set; then
7314 enableval="$enable_sash"
7315
7316 if test "$enableval" = yes; then
7317 ac_cv_use_sash='wxUSE_SASH=yes'
7318 else
7319 ac_cv_use_sash='wxUSE_SASH=no'
7320 fi
7321
7322else
7323
7324 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7325 if test "x$LINE" != x ; then
7326 eval "DEFAULT_$LINE"
7327 else
7328 no_cache=1
7329 fi
7330
7331 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7332
7333fi;
7334
7335 eval "$ac_cv_use_sash"
7336 if test "$no_cache" != 1; then
7337 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7338 fi
7339
7340 if test "$wxUSE_SASH" = yes; then
7341 echo "$as_me:$LINENO: result: yes" >&5
7342echo "${ECHO_T}yes" >&6
7343 else
7344 echo "$as_me:$LINENO: result: no" >&5
7345echo "${ECHO_T}no" >&6
7346 fi
7347
7348
7349 enablestring=
7350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7351echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7352 no_cache=0
7353 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7354if test "${enable_scrollbar+set}" = set; then
7355 enableval="$enable_scrollbar"
7356
7357 if test "$enableval" = yes; then
7358 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7359 else
7360 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7361 fi
7362
7363else
7364
7365 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7366 if test "x$LINE" != x ; then
7367 eval "DEFAULT_$LINE"
7368 else
7369 no_cache=1
7370 fi
7371
7372 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7373
7374fi;
7375
7376 eval "$ac_cv_use_scrollbar"
7377 if test "$no_cache" != 1; then
7378 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7379 fi
7380
7381 if test "$wxUSE_SCROLLBAR" = yes; then
7382 echo "$as_me:$LINENO: result: yes" >&5
7383echo "${ECHO_T}yes" >&6
7384 else
7385 echo "$as_me:$LINENO: result: no" >&5
7386echo "${ECHO_T}no" >&6
7387 fi
7388
7389
7390 enablestring=
7391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7392echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7393 no_cache=0
7394 # Check whether --enable-slider or --disable-slider was given.
7395if test "${enable_slider+set}" = set; then
7396 enableval="$enable_slider"
7397
7398 if test "$enableval" = yes; then
7399 ac_cv_use_slider='wxUSE_SLIDER=yes'
7400 else
7401 ac_cv_use_slider='wxUSE_SLIDER=no'
7402 fi
7403
7404else
7405
7406 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7407 if test "x$LINE" != x ; then
7408 eval "DEFAULT_$LINE"
7409 else
7410 no_cache=1
7411 fi
7412
7413 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7414
7415fi;
7416
7417 eval "$ac_cv_use_slider"
7418 if test "$no_cache" != 1; then
7419 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7420 fi
7421
7422 if test "$wxUSE_SLIDER" = yes; then
7423 echo "$as_me:$LINENO: result: yes" >&5
7424echo "${ECHO_T}yes" >&6
7425 else
7426 echo "$as_me:$LINENO: result: no" >&5
7427echo "${ECHO_T}no" >&6
7428 fi
7429
7430
7431 enablestring=
7432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7433echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7434 no_cache=0
7435 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7436if test "${enable_spinbtn+set}" = set; then
7437 enableval="$enable_spinbtn"
7438
7439 if test "$enableval" = yes; then
7440 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7441 else
7442 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7443 fi
7444
7445else
7446
7447 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7448 if test "x$LINE" != x ; then
7449 eval "DEFAULT_$LINE"
7450 else
7451 no_cache=1
7452 fi
7453
7454 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7455
7456fi;
7457
7458 eval "$ac_cv_use_spinbtn"
7459 if test "$no_cache" != 1; then
7460 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7461 fi
7462
7463 if test "$wxUSE_SPINBTN" = yes; then
7464 echo "$as_me:$LINENO: result: yes" >&5
7465echo "${ECHO_T}yes" >&6
7466 else
7467 echo "$as_me:$LINENO: result: no" >&5
7468echo "${ECHO_T}no" >&6
7469 fi
7470
7471
7472 enablestring=
7473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7474echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7475 no_cache=0
7476 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7477if test "${enable_spinctrl+set}" = set; then
7478 enableval="$enable_spinctrl"
7479
7480 if test "$enableval" = yes; then
7481 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7482 else
7483 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7484 fi
7485
7486else
7487
7488 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7489 if test "x$LINE" != x ; then
7490 eval "DEFAULT_$LINE"
7491 else
7492 no_cache=1
7493 fi
7494
7495 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7496
7497fi;
7498
7499 eval "$ac_cv_use_spinctrl"
7500 if test "$no_cache" != 1; then
7501 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7502 fi
7503
7504 if test "$wxUSE_SPINCTRL" = yes; then
7505 echo "$as_me:$LINENO: result: yes" >&5
7506echo "${ECHO_T}yes" >&6
7507 else
7508 echo "$as_me:$LINENO: result: no" >&5
7509echo "${ECHO_T}no" >&6
7510 fi
7511
7512
7513 enablestring=
7514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7515echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7516 no_cache=0
7517 # Check whether --enable-splitter or --disable-splitter was given.
7518if test "${enable_splitter+set}" = set; then
7519 enableval="$enable_splitter"
7520
7521 if test "$enableval" = yes; then
7522 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7523 else
7524 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7525 fi
7526
7527else
7528
7529 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7530 if test "x$LINE" != x ; then
7531 eval "DEFAULT_$LINE"
7532 else
7533 no_cache=1
7534 fi
7535
7536 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7537
7538fi;
7539
7540 eval "$ac_cv_use_splitter"
7541 if test "$no_cache" != 1; then
7542 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7543 fi
7544
7545 if test "$wxUSE_SPLITTER" = yes; then
7546 echo "$as_me:$LINENO: result: yes" >&5
7547echo "${ECHO_T}yes" >&6
7548 else
7549 echo "$as_me:$LINENO: result: no" >&5
7550echo "${ECHO_T}no" >&6
7551 fi
7552
7553
7554 enablestring=
7555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7556echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7557 no_cache=0
7558 # Check whether --enable-statbmp or --disable-statbmp was given.
7559if test "${enable_statbmp+set}" = set; then
7560 enableval="$enable_statbmp"
7561
7562 if test "$enableval" = yes; then
7563 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7564 else
7565 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7566 fi
7567
7568else
7569
7570 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7571 if test "x$LINE" != x ; then
7572 eval "DEFAULT_$LINE"
7573 else
7574 no_cache=1
7575 fi
7576
7577 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7578
7579fi;
7580
7581 eval "$ac_cv_use_statbmp"
7582 if test "$no_cache" != 1; then
7583 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7584 fi
7585
7586 if test "$wxUSE_STATBMP" = yes; then
7587 echo "$as_me:$LINENO: result: yes" >&5
7588echo "${ECHO_T}yes" >&6
7589 else
7590 echo "$as_me:$LINENO: result: no" >&5
7591echo "${ECHO_T}no" >&6
7592 fi
7593
7594
7595 enablestring=
7596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7597echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7598 no_cache=0
7599 # Check whether --enable-statbox or --disable-statbox was given.
7600if test "${enable_statbox+set}" = set; then
7601 enableval="$enable_statbox"
7602
7603 if test "$enableval" = yes; then
7604 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7605 else
7606 ac_cv_use_statbox='wxUSE_STATBOX=no'
7607 fi
7608
7609else
7610
7611 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7612 if test "x$LINE" != x ; then
7613 eval "DEFAULT_$LINE"
7614 else
7615 no_cache=1
7616 fi
7617
7618 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7619
7620fi;
7621
7622 eval "$ac_cv_use_statbox"
7623 if test "$no_cache" != 1; then
7624 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7625 fi
7626
7627 if test "$wxUSE_STATBOX" = yes; then
7628 echo "$as_me:$LINENO: result: yes" >&5
7629echo "${ECHO_T}yes" >&6
7630 else
7631 echo "$as_me:$LINENO: result: no" >&5
7632echo "${ECHO_T}no" >&6
7633 fi
7634
7635
7636 enablestring=
7637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7638echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7639 no_cache=0
7640 # Check whether --enable-statline or --disable-statline was given.
7641if test "${enable_statline+set}" = set; then
7642 enableval="$enable_statline"
7643
7644 if test "$enableval" = yes; then
7645 ac_cv_use_statline='wxUSE_STATLINE=yes'
7646 else
7647 ac_cv_use_statline='wxUSE_STATLINE=no'
7648 fi
7649
7650else
7651
7652 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7653 if test "x$LINE" != x ; then
7654 eval "DEFAULT_$LINE"
7655 else
7656 no_cache=1
7657 fi
7658
7659 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7660
7661fi;
7662
7663 eval "$ac_cv_use_statline"
7664 if test "$no_cache" != 1; then
7665 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7666 fi
7667
7668 if test "$wxUSE_STATLINE" = yes; then
7669 echo "$as_me:$LINENO: result: yes" >&5
7670echo "${ECHO_T}yes" >&6
7671 else
7672 echo "$as_me:$LINENO: result: no" >&5
7673echo "${ECHO_T}no" >&6
7674 fi
7675
7676
7677 enablestring=
7678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7679echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7680 no_cache=0
7681 # Check whether --enable-stattext or --disable-stattext was given.
7682if test "${enable_stattext+set}" = set; then
7683 enableval="$enable_stattext"
7684
7685 if test "$enableval" = yes; then
7686 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7687 else
7688 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7689 fi
7690
7691else
7692
7693 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7694 if test "x$LINE" != x ; then
7695 eval "DEFAULT_$LINE"
7696 else
7697 no_cache=1
7698 fi
7699
7700 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7701
7702fi;
7703
7704 eval "$ac_cv_use_stattext"
7705 if test "$no_cache" != 1; then
7706 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7707 fi
7708
7709 if test "$wxUSE_STATTEXT" = yes; then
7710 echo "$as_me:$LINENO: result: yes" >&5
7711echo "${ECHO_T}yes" >&6
7712 else
7713 echo "$as_me:$LINENO: result: no" >&5
7714echo "${ECHO_T}no" >&6
7715 fi
7716
7717
7718 enablestring=
7719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7720echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7721 no_cache=0
7722 # Check whether --enable-statusbar or --disable-statusbar was given.
7723if test "${enable_statusbar+set}" = set; then
7724 enableval="$enable_statusbar"
7725
7726 if test "$enableval" = yes; then
7727 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7728 else
7729 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7730 fi
7731
7732else
7733
7734 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7735 if test "x$LINE" != x ; then
7736 eval "DEFAULT_$LINE"
7737 else
7738 no_cache=1
7739 fi
7740
7741 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7742
7743fi;
7744
7745 eval "$ac_cv_use_statusbar"
7746 if test "$no_cache" != 1; then
7747 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7748 fi
7749
7750 if test "$wxUSE_STATUSBAR" = yes; then
7751 echo "$as_me:$LINENO: result: yes" >&5
7752echo "${ECHO_T}yes" >&6
7753 else
7754 echo "$as_me:$LINENO: result: no" >&5
7755echo "${ECHO_T}no" >&6
7756 fi
7757
7758
7759 enablestring=
7760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7761echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7762 no_cache=0
7763 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7764if test "${enable_tabdialog+set}" = set; then
7765 enableval="$enable_tabdialog"
7766
7767 if test "$enableval" = yes; then
7768 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7769 else
7770 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7771 fi
7772
7773else
7774
7775 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7776 if test "x$LINE" != x ; then
7777 eval "DEFAULT_$LINE"
7778 else
7779 no_cache=1
7780 fi
7781
7782 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7783
7784fi;
7785
7786 eval "$ac_cv_use_tabdialog"
7787 if test "$no_cache" != 1; then
7788 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7789 fi
7790
7791 if test "$wxUSE_TABDIALOG" = yes; then
7792 echo "$as_me:$LINENO: result: yes" >&5
7793echo "${ECHO_T}yes" >&6
7794 else
7795 echo "$as_me:$LINENO: result: no" >&5
7796echo "${ECHO_T}no" >&6
7797 fi
7798
7799
7800 enablestring=
7801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7802echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7803 no_cache=0
7804 # Check whether --enable-textctrl or --disable-textctrl was given.
7805if test "${enable_textctrl+set}" = set; then
7806 enableval="$enable_textctrl"
7807
7808 if test "$enableval" = yes; then
7809 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7810 else
7811 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7812 fi
7813
7814else
7815
7816 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7817 if test "x$LINE" != x ; then
7818 eval "DEFAULT_$LINE"
7819 else
7820 no_cache=1
7821 fi
7822
7823 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7824
7825fi;
7826
7827 eval "$ac_cv_use_textctrl"
7828 if test "$no_cache" != 1; then
7829 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7830 fi
7831
7832 if test "$wxUSE_TEXTCTRL" = yes; then
7833 echo "$as_me:$LINENO: result: yes" >&5
7834echo "${ECHO_T}yes" >&6
7835 else
7836 echo "$as_me:$LINENO: result: no" >&5
7837echo "${ECHO_T}no" >&6
7838 fi
7839
7840
7841 enablestring=
7842 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7843echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7844 no_cache=0
7845 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7846if test "${enable_togglebtn+set}" = set; then
7847 enableval="$enable_togglebtn"
7848
7849 if test "$enableval" = yes; then
7850 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
7851 else
7852 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
7853 fi
7854
7855else
7856
7857 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7858 if test "x$LINE" != x ; then
7859 eval "DEFAULT_$LINE"
7860 else
7861 no_cache=1
7862 fi
7863
7864 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7865
7866fi;
7867
7868 eval "$ac_cv_use_togglebtn"
7869 if test "$no_cache" != 1; then
7870 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7871 fi
7872
7873 if test "$wxUSE_TOGGLEBTN" = yes; then
7874 echo "$as_me:$LINENO: result: yes" >&5
7875echo "${ECHO_T}yes" >&6
7876 else
7877 echo "$as_me:$LINENO: result: no" >&5
7878echo "${ECHO_T}no" >&6
7879 fi
7880
7881
7882 enablestring=
7883 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7884echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7885 no_cache=0
7886 # Check whether --enable-toolbar or --disable-toolbar was given.
7887if test "${enable_toolbar+set}" = set; then
7888 enableval="$enable_toolbar"
7889
7890 if test "$enableval" = yes; then
7891 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
7892 else
7893 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
7894 fi
7895
7896else
7897
7898 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7899 if test "x$LINE" != x ; then
7900 eval "DEFAULT_$LINE"
7901 else
7902 no_cache=1
7903 fi
7904
7905 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7906
7907fi;
7908
7909 eval "$ac_cv_use_toolbar"
7910 if test "$no_cache" != 1; then
7911 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7912 fi
7913
7914 if test "$wxUSE_TOOLBAR" = yes; then
7915 echo "$as_me:$LINENO: result: yes" >&5
7916echo "${ECHO_T}yes" >&6
7917 else
7918 echo "$as_me:$LINENO: result: no" >&5
7919echo "${ECHO_T}no" >&6
7920 fi
7921
7922
7923 enablestring=
7924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7925echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7926 no_cache=0
7927 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7928if test "${enable_tbarnative+set}" = set; then
7929 enableval="$enable_tbarnative"
7930
7931 if test "$enableval" = yes; then
7932 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
7933 else
7934 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
7935 fi
7936
7937else
7938
7939 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7940 if test "x$LINE" != x ; then
7941 eval "DEFAULT_$LINE"
7942 else
7943 no_cache=1
7944 fi
7945
7946 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7947
7948fi;
7949
7950 eval "$ac_cv_use_tbarnative"
7951 if test "$no_cache" != 1; then
7952 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7953 fi
7954
7955 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7956 echo "$as_me:$LINENO: result: yes" >&5
7957echo "${ECHO_T}yes" >&6
7958 else
7959 echo "$as_me:$LINENO: result: no" >&5
7960echo "${ECHO_T}no" >&6
7961 fi
7962
7963
7964 enablestring=
7965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7966echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7967 no_cache=0
7968 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7969if test "${enable_tbarsmpl+set}" = set; then
7970 enableval="$enable_tbarsmpl"
7971
7972 if test "$enableval" = yes; then
7973 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
7974 else
7975 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
7976 fi
7977
7978else
7979
7980 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7981 if test "x$LINE" != x ; then
7982 eval "DEFAULT_$LINE"
7983 else
7984 no_cache=1
7985 fi
7986
7987 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7988
7989fi;
7990
7991 eval "$ac_cv_use_tbarsmpl"
7992 if test "$no_cache" != 1; then
7993 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7994 fi
7995
7996 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7997 echo "$as_me:$LINENO: result: yes" >&5
7998echo "${ECHO_T}yes" >&6
7999 else
8000 echo "$as_me:$LINENO: result: no" >&5
8001echo "${ECHO_T}no" >&6
8002 fi
8003
8004
8005 enablestring=
8006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8007echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8008 no_cache=0
8009 # Check whether --enable-treectrl or --disable-treectrl was given.
8010if test "${enable_treectrl+set}" = set; then
8011 enableval="$enable_treectrl"
8012
8013 if test "$enableval" = yes; then
8014 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8015 else
8016 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8017 fi
8018
8019else
8020
8021 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8022 if test "x$LINE" != x ; then
8023 eval "DEFAULT_$LINE"
8024 else
8025 no_cache=1
8026 fi
8027
8028 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8029
8030fi;
8031
8032 eval "$ac_cv_use_treectrl"
8033 if test "$no_cache" != 1; then
8034 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8035 fi
8036
8037 if test "$wxUSE_TREECTRL" = yes; then
8038 echo "$as_me:$LINENO: result: yes" >&5
8039echo "${ECHO_T}yes" >&6
8040 else
8041 echo "$as_me:$LINENO: result: no" >&5
8042echo "${ECHO_T}no" >&6
8043 fi
8044
8045
8046 enablestring=
8047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8048echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8049 no_cache=0
8050 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8051if test "${enable_tipwindow+set}" = set; then
8052 enableval="$enable_tipwindow"
8053
8054 if test "$enableval" = yes; then
8055 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8056 else
8057 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8058 fi
8059
8060else
8061
8062 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8063 if test "x$LINE" != x ; then
8064 eval "DEFAULT_$LINE"
8065 else
8066 no_cache=1
8067 fi
8068
8069 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8070
8071fi;
8072
8073 eval "$ac_cv_use_tipwindow"
8074 if test "$no_cache" != 1; then
8075 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8076 fi
8077
8078 if test "$wxUSE_TIPWINDOW" = yes; then
8079 echo "$as_me:$LINENO: result: yes" >&5
8080echo "${ECHO_T}yes" >&6
8081 else
8082 echo "$as_me:$LINENO: result: no" >&5
8083echo "${ECHO_T}no" >&6
8084 fi
8085
8086
8087 enablestring=
8088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8089echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8090 no_cache=0
8091 # Check whether --enable-popupwin or --disable-popupwin was given.
8092if test "${enable_popupwin+set}" = set; then
8093 enableval="$enable_popupwin"
8094
8095 if test "$enableval" = yes; then
8096 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8097 else
8098 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8099 fi
8100
8101else
8102
8103 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8104 if test "x$LINE" != x ; then
8105 eval "DEFAULT_$LINE"
8106 else
8107 no_cache=1
8108 fi
8109
8110 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8111
8112fi;
8113
8114 eval "$ac_cv_use_popupwin"
8115 if test "$no_cache" != 1; then
8116 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8117 fi
8118
8119 if test "$wxUSE_POPUPWIN" = yes; then
8120 echo "$as_me:$LINENO: result: yes" >&5
8121echo "${ECHO_T}yes" >&6
8122 else
8123 echo "$as_me:$LINENO: result: no" >&5
8124echo "${ECHO_T}no" >&6
8125 fi
8126
8127
8128
8129
8130 enablestring=
8131 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8132echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8133 no_cache=0
8134 # Check whether --enable-commondlg or --disable-commondlg was given.
8135if test "${enable_commondlg+set}" = set; then
8136 enableval="$enable_commondlg"
8137
8138 if test "$enableval" = yes; then
8139 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8140 else
8141 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8142 fi
8143
8144else
8145
8146 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8147 if test "x$LINE" != x ; then
8148 eval "DEFAULT_$LINE"
8149 else
8150 no_cache=1
8151 fi
8152
8153 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8154
8155fi;
8156
8157 eval "$ac_cv_use_commondlg"
8158 if test "$no_cache" != 1; then
8159 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8160 fi
8161
8162 if test "$wxUSE_COMMONDLGS" = yes; then
8163 echo "$as_me:$LINENO: result: yes" >&5
8164echo "${ECHO_T}yes" >&6
8165 else
8166 echo "$as_me:$LINENO: result: no" >&5
8167echo "${ECHO_T}no" >&6
8168 fi
8169
8170
8171 enablestring=
8172 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8173echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8174 no_cache=0
8175 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8176if test "${enable_choicedlg+set}" = set; then
8177 enableval="$enable_choicedlg"
8178
8179 if test "$enableval" = yes; then
8180 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8181 else
8182 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8183 fi
8184
8185else
8186
8187 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8188 if test "x$LINE" != x ; then
8189 eval "DEFAULT_$LINE"
8190 else
8191 no_cache=1
8192 fi
8193
8194 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8195
8196fi;
8197
8198 eval "$ac_cv_use_choicedlg"
8199 if test "$no_cache" != 1; then
8200 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8201 fi
8202
8203 if test "$wxUSE_CHOICEDLG" = yes; then
8204 echo "$as_me:$LINENO: result: yes" >&5
8205echo "${ECHO_T}yes" >&6
8206 else
8207 echo "$as_me:$LINENO: result: no" >&5
8208echo "${ECHO_T}no" >&6
8209 fi
8210
8211
8212 enablestring=
8213 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8214echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8215 no_cache=0
8216 # Check whether --enable-coldlg or --disable-coldlg was given.
8217if test "${enable_coldlg+set}" = set; then
8218 enableval="$enable_coldlg"
8219
8220 if test "$enableval" = yes; then
8221 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8222 else
8223 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8224 fi
8225
8226else
8227
8228 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8229 if test "x$LINE" != x ; then
8230 eval "DEFAULT_$LINE"
8231 else
8232 no_cache=1
8233 fi
8234
8235 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8236
8237fi;
8238
8239 eval "$ac_cv_use_coldlg"
8240 if test "$no_cache" != 1; then
8241 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8242 fi
8243
8244 if test "$wxUSE_COLOURDLG" = yes; then
8245 echo "$as_me:$LINENO: result: yes" >&5
8246echo "${ECHO_T}yes" >&6
8247 else
8248 echo "$as_me:$LINENO: result: no" >&5
8249echo "${ECHO_T}no" >&6
8250 fi
8251
8252
8253 enablestring=
8254 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8255echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8256 no_cache=0
8257 # Check whether --enable-filedlg or --disable-filedlg was given.
8258if test "${enable_filedlg+set}" = set; then
8259 enableval="$enable_filedlg"
8260
8261 if test "$enableval" = yes; then
8262 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8263 else
8264 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8265 fi
8266
8267else
8268
8269 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8270 if test "x$LINE" != x ; then
8271 eval "DEFAULT_$LINE"
8272 else
8273 no_cache=1
8274 fi
8275
8276 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8277
8278fi;
8279
8280 eval "$ac_cv_use_filedlg"
8281 if test "$no_cache" != 1; then
8282 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8283 fi
8284
8285 if test "$wxUSE_FILEDLG" = yes; then
8286 echo "$as_me:$LINENO: result: yes" >&5
8287echo "${ECHO_T}yes" >&6
8288 else
8289 echo "$as_me:$LINENO: result: no" >&5
8290echo "${ECHO_T}no" >&6
8291 fi
8292
8293
8294 enablestring=
8295 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8296echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8297 no_cache=0
8298 # Check whether --enable-finddlg or --disable-finddlg was given.
8299if test "${enable_finddlg+set}" = set; then
8300 enableval="$enable_finddlg"
8301
8302 if test "$enableval" = yes; then
8303 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8304 else
8305 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8306 fi
8307
8308else
8309
8310 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8311 if test "x$LINE" != x ; then
8312 eval "DEFAULT_$LINE"
8313 else
8314 no_cache=1
8315 fi
8316
8317 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8318
8319fi;
8320
8321 eval "$ac_cv_use_finddlg"
8322 if test "$no_cache" != 1; then
8323 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8324 fi
8325
8326 if test "$wxUSE_FINDREPLDLG" = yes; then
8327 echo "$as_me:$LINENO: result: yes" >&5
8328echo "${ECHO_T}yes" >&6
8329 else
8330 echo "$as_me:$LINENO: result: no" >&5
8331echo "${ECHO_T}no" >&6
8332 fi
8333
8334
8335 enablestring=
8336 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8337echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8338 no_cache=0
8339 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8340if test "${enable_fontdlg+set}" = set; then
8341 enableval="$enable_fontdlg"
8342
8343 if test "$enableval" = yes; then
8344 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8345 else
8346 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8347 fi
8348
8349else
8350
8351 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8352 if test "x$LINE" != x ; then
8353 eval "DEFAULT_$LINE"
8354 else
8355 no_cache=1
8356 fi
8357
8358 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8359
8360fi;
8361
8362 eval "$ac_cv_use_fontdlg"
8363 if test "$no_cache" != 1; then
8364 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8365 fi
8366
8367 if test "$wxUSE_FONTDLG" = yes; then
8368 echo "$as_me:$LINENO: result: yes" >&5
8369echo "${ECHO_T}yes" >&6
8370 else
8371 echo "$as_me:$LINENO: result: no" >&5
8372echo "${ECHO_T}no" >&6
8373 fi
8374
8375
8376 enablestring=
8377 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8378echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8379 no_cache=0
8380 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8381if test "${enable_dirdlg+set}" = set; then
8382 enableval="$enable_dirdlg"
8383
8384 if test "$enableval" = yes; then
8385 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8386 else
8387 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8388 fi
8389
8390else
8391
8392 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8393 if test "x$LINE" != x ; then
8394 eval "DEFAULT_$LINE"
8395 else
8396 no_cache=1
8397 fi
8398
8399 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8400
8401fi;
8402
8403 eval "$ac_cv_use_dirdlg"
8404 if test "$no_cache" != 1; then
8405 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8406 fi
8407
8408 if test "$wxUSE_DIRDLG" = yes; then
8409 echo "$as_me:$LINENO: result: yes" >&5
8410echo "${ECHO_T}yes" >&6
8411 else
8412 echo "$as_me:$LINENO: result: no" >&5
8413echo "${ECHO_T}no" >&6
8414 fi
8415
8416
8417 enablestring=
8418 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8419echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8420 no_cache=0
8421 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8422if test "${enable_msgdlg+set}" = set; then
8423 enableval="$enable_msgdlg"
8424
8425 if test "$enableval" = yes; then
8426 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8427 else
8428 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8429 fi
8430
8431else
8432
8433 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8434 if test "x$LINE" != x ; then
8435 eval "DEFAULT_$LINE"
8436 else
8437 no_cache=1
8438 fi
8439
8440 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8441
8442fi;
8443
8444 eval "$ac_cv_use_msgdlg"
8445 if test "$no_cache" != 1; then
8446 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8447 fi
8448
8449 if test "$wxUSE_MSGDLG" = yes; then
8450 echo "$as_me:$LINENO: result: yes" >&5
8451echo "${ECHO_T}yes" >&6
8452 else
8453 echo "$as_me:$LINENO: result: no" >&5
8454echo "${ECHO_T}no" >&6
8455 fi
8456
8457
8458 enablestring=
8459 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8460echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8461 no_cache=0
8462 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8463if test "${enable_numberdlg+set}" = set; then
8464 enableval="$enable_numberdlg"
8465
8466 if test "$enableval" = yes; then
8467 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8468 else
8469 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8470 fi
8471
8472else
8473
8474 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8475 if test "x$LINE" != x ; then
8476 eval "DEFAULT_$LINE"
8477 else
8478 no_cache=1
8479 fi
8480
8481 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8482
8483fi;
8484
8485 eval "$ac_cv_use_numberdlg"
8486 if test "$no_cache" != 1; then
8487 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8488 fi
8489
8490 if test "$wxUSE_NUMBERDLG" = yes; then
8491 echo "$as_me:$LINENO: result: yes" >&5
8492echo "${ECHO_T}yes" >&6
8493 else
8494 echo "$as_me:$LINENO: result: no" >&5
8495echo "${ECHO_T}no" >&6
8496 fi
8497
8498
8499 enablestring=
8500 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8501echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8502 no_cache=0
8503 # Check whether --enable-splash or --disable-splash was given.
8504if test "${enable_splash+set}" = set; then
8505 enableval="$enable_splash"
8506
8507 if test "$enableval" = yes; then
8508 ac_cv_use_splash='wxUSE_SPLASH=yes'
8509 else
8510 ac_cv_use_splash='wxUSE_SPLASH=no'
8511 fi
8512
8513else
8514
8515 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8516 if test "x$LINE" != x ; then
8517 eval "DEFAULT_$LINE"
8518 else
8519 no_cache=1
8520 fi
8521
8522 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8523
8524fi;
8525
8526 eval "$ac_cv_use_splash"
8527 if test "$no_cache" != 1; then
8528 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8529 fi
8530
8531 if test "$wxUSE_SPLASH" = yes; then
8532 echo "$as_me:$LINENO: result: yes" >&5
8533echo "${ECHO_T}yes" >&6
8534 else
8535 echo "$as_me:$LINENO: result: no" >&5
8536echo "${ECHO_T}no" >&6
8537 fi
8538
8539
8540 enablestring=
8541 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8542echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8543 no_cache=0
8544 # Check whether --enable-textdlg or --disable-textdlg was given.
8545if test "${enable_textdlg+set}" = set; then
8546 enableval="$enable_textdlg"
8547
8548 if test "$enableval" = yes; then
8549 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8550 else
8551 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8552 fi
8553
8554else
8555
8556 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8557 if test "x$LINE" != x ; then
8558 eval "DEFAULT_$LINE"
8559 else
8560 no_cache=1
8561 fi
8562
8563 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8564
8565fi;
8566
8567 eval "$ac_cv_use_textdlg"
8568 if test "$no_cache" != 1; then
8569 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8570 fi
8571
8572 if test "$wxUSE_TEXTDLG" = yes; then
8573 echo "$as_me:$LINENO: result: yes" >&5
8574echo "${ECHO_T}yes" >&6
8575 else
8576 echo "$as_me:$LINENO: result: no" >&5
8577echo "${ECHO_T}no" >&6
8578 fi
8579
8580
8581 enablestring=
8582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8583echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8584 no_cache=0
8585 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8586if test "${enable_tipdlg+set}" = set; then
8587 enableval="$enable_tipdlg"
8588
8589 if test "$enableval" = yes; then
8590 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8591 else
8592 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8593 fi
8594
8595else
8596
8597 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8598 if test "x$LINE" != x ; then
8599 eval "DEFAULT_$LINE"
8600 else
8601 no_cache=1
8602 fi
8603
8604 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8605
8606fi;
8607
8608 eval "$ac_cv_use_tipdlg"
8609 if test "$no_cache" != 1; then
8610 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8611 fi
8612
8613 if test "$wxUSE_STARTUP_TIPS" = yes; then
8614 echo "$as_me:$LINENO: result: yes" >&5
8615echo "${ECHO_T}yes" >&6
8616 else
8617 echo "$as_me:$LINENO: result: no" >&5
8618echo "${ECHO_T}no" >&6
8619 fi
8620
8621
8622 enablestring=
8623 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8624echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8625 no_cache=0
8626 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8627if test "${enable_progressdlg+set}" = set; then
8628 enableval="$enable_progressdlg"
8629
8630 if test "$enableval" = yes; then
8631 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8632 else
8633 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8634 fi
8635
8636else
8637
8638 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8639 if test "x$LINE" != x ; then
8640 eval "DEFAULT_$LINE"
8641 else
8642 no_cache=1
8643 fi
8644
8645 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8646
8647fi;
8648
8649 eval "$ac_cv_use_progressdlg"
8650 if test "$no_cache" != 1; then
8651 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8652 fi
8653
8654 if test "$wxUSE_PROGRESSDLG" = yes; then
8655 echo "$as_me:$LINENO: result: yes" >&5
8656echo "${ECHO_T}yes" >&6
8657 else
8658 echo "$as_me:$LINENO: result: no" >&5
8659echo "${ECHO_T}no" >&6
8660 fi
8661
8662
8663 enablestring=
8664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8665echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8666 no_cache=0
8667 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8668if test "${enable_wizarddlg+set}" = set; then
8669 enableval="$enable_wizarddlg"
8670
8671 if test "$enableval" = yes; then
8672 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8673 else
8674 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8675 fi
8676
8677else
8678
8679 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8680 if test "x$LINE" != x ; then
8681 eval "DEFAULT_$LINE"
8682 else
8683 no_cache=1
8684 fi
8685
8686 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8687
8688fi;
8689
8690 eval "$ac_cv_use_wizarddlg"
8691 if test "$no_cache" != 1; then
8692 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8693 fi
8694
8695 if test "$wxUSE_WIZARDDLG" = yes; then
8696 echo "$as_me:$LINENO: result: yes" >&5
8697echo "${ECHO_T}yes" >&6
8698 else
8699 echo "$as_me:$LINENO: result: no" >&5
8700echo "${ECHO_T}no" >&6
8701 fi
8702
8703
8704
8705
8706 enablestring=
8707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8708echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8709 no_cache=0
8710 # Check whether --enable-menus or --disable-menus was given.
8711if test "${enable_menus+set}" = set; then
8712 enableval="$enable_menus"
8713
8714 if test "$enableval" = yes; then
8715 ac_cv_use_menus='wxUSE_MENUS=yes'
8716 else
8717 ac_cv_use_menus='wxUSE_MENUS=no'
8718 fi
8719
8720else
8721
8722 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8723 if test "x$LINE" != x ; then
8724 eval "DEFAULT_$LINE"
8725 else
8726 no_cache=1
8727 fi
8728
8729 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8730
8731fi;
8732
8733 eval "$ac_cv_use_menus"
8734 if test "$no_cache" != 1; then
8735 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8736 fi
8737
8738 if test "$wxUSE_MENUS" = yes; then
8739 echo "$as_me:$LINENO: result: yes" >&5
8740echo "${ECHO_T}yes" >&6
8741 else
8742 echo "$as_me:$LINENO: result: no" >&5
8743echo "${ECHO_T}no" >&6
8744 fi
8745
8746
8747 enablestring=
8748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8749echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8750 no_cache=0
8751 # Check whether --enable-miniframe or --disable-miniframe was given.
8752if test "${enable_miniframe+set}" = set; then
8753 enableval="$enable_miniframe"
8754
8755 if test "$enableval" = yes; then
8756 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8757 else
8758 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8759 fi
8760
8761else
8762
8763 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8764 if test "x$LINE" != x ; then
8765 eval "DEFAULT_$LINE"
8766 else
8767 no_cache=1
8768 fi
8769
8770 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8771
8772fi;
8773
8774 eval "$ac_cv_use_miniframe"
8775 if test "$no_cache" != 1; then
8776 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8777 fi
8778
8779 if test "$wxUSE_MINIFRAME" = yes; then
8780 echo "$as_me:$LINENO: result: yes" >&5
8781echo "${ECHO_T}yes" >&6
8782 else
8783 echo "$as_me:$LINENO: result: no" >&5
8784echo "${ECHO_T}no" >&6
8785 fi
8786
8787
8788 enablestring=
8789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8790echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8791 no_cache=0
8792 # Check whether --enable-tooltips or --disable-tooltips was given.
8793if test "${enable_tooltips+set}" = set; then
8794 enableval="$enable_tooltips"
8795
8796 if test "$enableval" = yes; then
8797 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
8798 else
8799 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
8800 fi
8801
8802else
8803
8804 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8805 if test "x$LINE" != x ; then
8806 eval "DEFAULT_$LINE"
8807 else
8808 no_cache=1
8809 fi
8810
8811 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8812
8813fi;
8814
8815 eval "$ac_cv_use_tooltips"
8816 if test "$no_cache" != 1; then
8817 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8818 fi
8819
8820 if test "$wxUSE_TOOLTIPS" = yes; then
8821 echo "$as_me:$LINENO: result: yes" >&5
8822echo "${ECHO_T}yes" >&6
8823 else
8824 echo "$as_me:$LINENO: result: no" >&5
8825echo "${ECHO_T}no" >&6
8826 fi
8827
8828
8829 enablestring=
8830 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8831echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8832 no_cache=0
8833 # Check whether --enable-splines or --disable-splines was given.
8834if test "${enable_splines+set}" = set; then
8835 enableval="$enable_splines"
8836
8837 if test "$enableval" = yes; then
8838 ac_cv_use_splines='wxUSE_SPLINES=yes'
8839 else
8840 ac_cv_use_splines='wxUSE_SPLINES=no'
8841 fi
8842
8843else
8844
8845 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8846 if test "x$LINE" != x ; then
8847 eval "DEFAULT_$LINE"
8848 else
8849 no_cache=1
8850 fi
8851
8852 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8853
8854fi;
8855
8856 eval "$ac_cv_use_splines"
8857 if test "$no_cache" != 1; then
8858 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8859 fi
8860
8861 if test "$wxUSE_SPLINES" = yes; then
8862 echo "$as_me:$LINENO: result: yes" >&5
8863echo "${ECHO_T}yes" >&6
8864 else
8865 echo "$as_me:$LINENO: result: no" >&5
8866echo "${ECHO_T}no" >&6
8867 fi
8868
8869
8870 enablestring=
8871 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8872echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8873 no_cache=0
8874 # Check whether --enable-validators or --disable-validators was given.
8875if test "${enable_validators+set}" = set; then
8876 enableval="$enable_validators"
8877
8878 if test "$enableval" = yes; then
8879 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
8880 else
8881 ac_cv_use_validators='wxUSE_VALIDATORS=no'
8882 fi
8883
8884else
8885
8886 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8887 if test "x$LINE" != x ; then
8888 eval "DEFAULT_$LINE"
8889 else
8890 no_cache=1
8891 fi
8892
8893 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8894
8895fi;
8896
8897 eval "$ac_cv_use_validators"
8898 if test "$no_cache" != 1; then
8899 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8900 fi
8901
8902 if test "$wxUSE_VALIDATORS" = yes; then
8903 echo "$as_me:$LINENO: result: yes" >&5
8904echo "${ECHO_T}yes" >&6
8905 else
8906 echo "$as_me:$LINENO: result: no" >&5
8907echo "${ECHO_T}no" >&6
8908 fi
8909
8910
8911 enablestring=
8912 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8913echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8914 no_cache=0
8915 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8916if test "${enable_busyinfo+set}" = set; then
8917 enableval="$enable_busyinfo"
8918
8919 if test "$enableval" = yes; then
8920 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
8921 else
8922 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
8923 fi
8924
8925else
8926
8927 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8928 if test "x$LINE" != x ; then
8929 eval "DEFAULT_$LINE"
8930 else
8931 no_cache=1
8932 fi
8933
8934 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8935
8936fi;
8937
8938 eval "$ac_cv_use_busyinfo"
8939 if test "$no_cache" != 1; then
8940 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8941 fi
8942
8943 if test "$wxUSE_BUSYINFO" = yes; then
8944 echo "$as_me:$LINENO: result: yes" >&5
8945echo "${ECHO_T}yes" >&6
8946 else
8947 echo "$as_me:$LINENO: result: no" >&5
8948echo "${ECHO_T}no" >&6
8949 fi
8950
8951
8952 enablestring=
8953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8954echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8955 no_cache=0
8956 # Check whether --enable-joystick or --disable-joystick was given.
8957if test "${enable_joystick+set}" = set; then
8958 enableval="$enable_joystick"
8959
8960 if test "$enableval" = yes; then
8961 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
8962 else
8963 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
8964 fi
8965
8966else
8967
8968 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8969 if test "x$LINE" != x ; then
8970 eval "DEFAULT_$LINE"
8971 else
8972 no_cache=1
8973 fi
8974
8975 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8976
8977fi;
8978
8979 eval "$ac_cv_use_joystick"
8980 if test "$no_cache" != 1; then
8981 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8982 fi
8983
8984 if test "$wxUSE_JOYSTICK" = yes; then
8985 echo "$as_me:$LINENO: result: yes" >&5
8986echo "${ECHO_T}yes" >&6
8987 else
8988 echo "$as_me:$LINENO: result: no" >&5
8989echo "${ECHO_T}no" >&6
8990 fi
8991
8992
8993 enablestring=
8994 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8995echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
8996 no_cache=0
8997 # Check whether --enable-metafile or --disable-metafile was given.
8998if test "${enable_metafile+set}" = set; then
8999 enableval="$enable_metafile"
9000
9001 if test "$enableval" = yes; then
9002 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9003 else
9004 ac_cv_use_metafile='wxUSE_METAFILE=no'
9005 fi
9006
9007else
9008
9009 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9010 if test "x$LINE" != x ; then
9011 eval "DEFAULT_$LINE"
9012 else
9013 no_cache=1
9014 fi
9015
9016 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9017
9018fi;
9019
9020 eval "$ac_cv_use_metafile"
9021 if test "$no_cache" != 1; then
9022 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9023 fi
9024
9025 if test "$wxUSE_METAFILE" = yes; then
9026 echo "$as_me:$LINENO: result: yes" >&5
9027echo "${ECHO_T}yes" >&6
9028 else
9029 echo "$as_me:$LINENO: result: no" >&5
9030echo "${ECHO_T}no" >&6
9031 fi
9032
9033
9034 enablestring=
9035 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9036echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9037 no_cache=0
9038 # Check whether --enable-dragimage or --disable-dragimage was given.
9039if test "${enable_dragimage+set}" = set; then
9040 enableval="$enable_dragimage"
9041
9042 if test "$enableval" = yes; then
9043 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9044 else
9045 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9046 fi
9047
9048else
9049
9050 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9051 if test "x$LINE" != x ; then
9052 eval "DEFAULT_$LINE"
9053 else
9054 no_cache=1
9055 fi
9056
9057 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9058
9059fi;
9060
9061 eval "$ac_cv_use_dragimage"
9062 if test "$no_cache" != 1; then
9063 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9064 fi
9065
9066 if test "$wxUSE_DRAGIMAGE" = yes; then
9067 echo "$as_me:$LINENO: result: yes" >&5
9068echo "${ECHO_T}yes" >&6
9069 else
9070 echo "$as_me:$LINENO: result: no" >&5
9071echo "${ECHO_T}no" >&6
9072 fi
9073
9074
9075 enablestring=
9076 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9077echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9078 no_cache=0
9079 # Check whether --enable-accessibility or --disable-accessibility was given.
9080if test "${enable_accessibility+set}" = set; then
9081 enableval="$enable_accessibility"
9082
9083 if test "$enableval" = yes; then
9084 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9085 else
9086 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9087 fi
9088
9089else
9090
9091 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9092 if test "x$LINE" != x ; then
9093 eval "DEFAULT_$LINE"
9094 else
9095 no_cache=1
9096 fi
9097
9098 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9099
9100fi;
9101
9102 eval "$ac_cv_use_accessibility"
9103 if test "$no_cache" != 1; then
9104 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9105 fi
9106
9107 if test "$wxUSE_ACCESSIBILITY" = yes; then
9108 echo "$as_me:$LINENO: result: yes" >&5
9109echo "${ECHO_T}yes" >&6
9110 else
9111 echo "$as_me:$LINENO: result: no" >&5
9112echo "${ECHO_T}no" >&6
9113 fi
9114
9115
9116
9117
9118 enablestring=
9119 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9120echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9121 no_cache=0
9122 # Check whether --enable-palette or --disable-palette was given.
9123if test "${enable_palette+set}" = set; then
9124 enableval="$enable_palette"
9125
9126 if test "$enableval" = yes; then
9127 ac_cv_use_palette='wxUSE_PALETTE=yes'
9128 else
9129 ac_cv_use_palette='wxUSE_PALETTE=no'
9130 fi
9131
9132else
9133
9134 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9135 if test "x$LINE" != x ; then
9136 eval "DEFAULT_$LINE"
9137 else
9138 no_cache=1
9139 fi
9140
9141 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9142
9143fi;
9144
9145 eval "$ac_cv_use_palette"
9146 if test "$no_cache" != 1; then
9147 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9148 fi
9149
9150 if test "$wxUSE_PALETTE" = yes; then
9151 echo "$as_me:$LINENO: result: yes" >&5
9152echo "${ECHO_T}yes" >&6
9153 else
9154 echo "$as_me:$LINENO: result: no" >&5
9155echo "${ECHO_T}no" >&6
9156 fi
9157
9158
9159 enablestring=
9160 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9161echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9162 no_cache=0
9163 # Check whether --enable-image or --disable-image was given.
9164if test "${enable_image+set}" = set; then
9165 enableval="$enable_image"
9166
9167 if test "$enableval" = yes; then
9168 ac_cv_use_image='wxUSE_IMAGE=yes'
9169 else
9170 ac_cv_use_image='wxUSE_IMAGE=no'
9171 fi
9172
9173else
9174
9175 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9176 if test "x$LINE" != x ; then
9177 eval "DEFAULT_$LINE"
9178 else
9179 no_cache=1
9180 fi
9181
9182 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9183
9184fi;
9185
9186 eval "$ac_cv_use_image"
9187 if test "$no_cache" != 1; then
9188 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9189 fi
9190
9191 if test "$wxUSE_IMAGE" = yes; then
9192 echo "$as_me:$LINENO: result: yes" >&5
9193echo "${ECHO_T}yes" >&6
9194 else
9195 echo "$as_me:$LINENO: result: no" >&5
9196echo "${ECHO_T}no" >&6
9197 fi
9198
9199
9200 enablestring=
9201 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9202echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9203 no_cache=0
9204 # Check whether --enable-gif or --disable-gif was given.
9205if test "${enable_gif+set}" = set; then
9206 enableval="$enable_gif"
9207
9208 if test "$enableval" = yes; then
9209 ac_cv_use_gif='wxUSE_GIF=yes'
9210 else
9211 ac_cv_use_gif='wxUSE_GIF=no'
9212 fi
9213
9214else
9215
9216 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9217 if test "x$LINE" != x ; then
9218 eval "DEFAULT_$LINE"
9219 else
9220 no_cache=1
9221 fi
9222
9223 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9224
9225fi;
9226
9227 eval "$ac_cv_use_gif"
9228 if test "$no_cache" != 1; then
9229 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9230 fi
9231
9232 if test "$wxUSE_GIF" = yes; then
9233 echo "$as_me:$LINENO: result: yes" >&5
9234echo "${ECHO_T}yes" >&6
9235 else
9236 echo "$as_me:$LINENO: result: no" >&5
9237echo "${ECHO_T}no" >&6
9238 fi
9239
9240
9241 enablestring=
9242 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9243echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9244 no_cache=0
9245 # Check whether --enable-pcx or --disable-pcx was given.
9246if test "${enable_pcx+set}" = set; then
9247 enableval="$enable_pcx"
9248
9249 if test "$enableval" = yes; then
9250 ac_cv_use_pcx='wxUSE_PCX=yes'
9251 else
9252 ac_cv_use_pcx='wxUSE_PCX=no'
9253 fi
9254
9255else
9256
9257 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9258 if test "x$LINE" != x ; then
9259 eval "DEFAULT_$LINE"
9260 else
9261 no_cache=1
9262 fi
9263
9264 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9265
9266fi;
9267
9268 eval "$ac_cv_use_pcx"
9269 if test "$no_cache" != 1; then
9270 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9271 fi
9272
9273 if test "$wxUSE_PCX" = yes; then
9274 echo "$as_me:$LINENO: result: yes" >&5
9275echo "${ECHO_T}yes" >&6
9276 else
9277 echo "$as_me:$LINENO: result: no" >&5
9278echo "${ECHO_T}no" >&6
9279 fi
9280
9281
9282 enablestring=
9283 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9284echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9285 no_cache=0
9286 # Check whether --enable-iff or --disable-iff was given.
9287if test "${enable_iff+set}" = set; then
9288 enableval="$enable_iff"
9289
9290 if test "$enableval" = yes; then
9291 ac_cv_use_iff='wxUSE_IFF=yes'
9292 else
9293 ac_cv_use_iff='wxUSE_IFF=no'
9294 fi
9295
9296else
9297
9298 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9299 if test "x$LINE" != x ; then
9300 eval "DEFAULT_$LINE"
9301 else
9302 no_cache=1
9303 fi
9304
9305 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9306
9307fi;
9308
9309 eval "$ac_cv_use_iff"
9310 if test "$no_cache" != 1; then
9311 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9312 fi
9313
9314 if test "$wxUSE_IFF" = yes; then
9315 echo "$as_me:$LINENO: result: yes" >&5
9316echo "${ECHO_T}yes" >&6
9317 else
9318 echo "$as_me:$LINENO: result: no" >&5
9319echo "${ECHO_T}no" >&6
9320 fi
9321
9322
9323 enablestring=
9324 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9325echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9326 no_cache=0
9327 # Check whether --enable-pnm or --disable-pnm was given.
9328if test "${enable_pnm+set}" = set; then
9329 enableval="$enable_pnm"
9330
9331 if test "$enableval" = yes; then
9332 ac_cv_use_pnm='wxUSE_PNM=yes'
9333 else
9334 ac_cv_use_pnm='wxUSE_PNM=no'
9335 fi
9336
9337else
9338
9339 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9340 if test "x$LINE" != x ; then
9341 eval "DEFAULT_$LINE"
9342 else
9343 no_cache=1
9344 fi
9345
9346 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9347
9348fi;
9349
9350 eval "$ac_cv_use_pnm"
9351 if test "$no_cache" != 1; then
9352 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9353 fi
9354
9355 if test "$wxUSE_PNM" = yes; then
9356 echo "$as_me:$LINENO: result: yes" >&5
9357echo "${ECHO_T}yes" >&6
9358 else
9359 echo "$as_me:$LINENO: result: no" >&5
9360echo "${ECHO_T}no" >&6
9361 fi
9362
9363
9364 enablestring=
9365 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9366echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9367 no_cache=0
9368 # Check whether --enable-xpm or --disable-xpm was given.
9369if test "${enable_xpm+set}" = set; then
9370 enableval="$enable_xpm"
9371
9372 if test "$enableval" = yes; then
9373 ac_cv_use_xpm='wxUSE_XPM=yes'
9374 else
9375 ac_cv_use_xpm='wxUSE_XPM=no'
9376 fi
9377
9378else
9379
9380 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9381 if test "x$LINE" != x ; then
9382 eval "DEFAULT_$LINE"
9383 else
9384 no_cache=1
9385 fi
9386
9387 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9388
9389fi;
9390
9391 eval "$ac_cv_use_xpm"
9392 if test "$no_cache" != 1; then
9393 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9394 fi
9395
9396 if test "$wxUSE_XPM" = yes; then
9397 echo "$as_me:$LINENO: result: yes" >&5
9398echo "${ECHO_T}yes" >&6
9399 else
9400 echo "$as_me:$LINENO: result: no" >&5
9401echo "${ECHO_T}no" >&6
9402 fi
9403
9404
9405 enablestring=
9406 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9407echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9408 no_cache=0
9409 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9410if test "${enable_ico_cur+set}" = set; then
9411 enableval="$enable_ico_cur"
9412
9413 if test "$enableval" = yes; then
9414 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9415 else
9416 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9417 fi
9418
9419else
9420
9421 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9422 if test "x$LINE" != x ; then
9423 eval "DEFAULT_$LINE"
9424 else
9425 no_cache=1
9426 fi
9427
9428 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9429
9430fi;
9431
9432 eval "$ac_cv_use_ico_cur"
9433 if test "$no_cache" != 1; then
9434 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9435 fi
9436
9437 if test "$wxUSE_ICO_CUR" = yes; then
9438 echo "$as_me:$LINENO: result: yes" >&5
9439echo "${ECHO_T}yes" >&6
9440 else
9441 echo "$as_me:$LINENO: result: no" >&5
9442echo "${ECHO_T}no" >&6
9443 fi
9444
9445
9446fi
9447
9448case "${host}" in
9449 *-pc-os2_emx | *-pc-os2-emx )
9450 PATH_IFS=';'
9451 LEX_STEM="lexyy"
9452 ;;
9453 *)
9454 PATH_IFS=':'
9455 LEX_STEM="lex.yy"
9456 ;;
9457esac
9458
9459
9460
9461 echo "saving argument cache $wx_arg_cache_file"
9462 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9463
9464
9465
9466echo "$as_me:$LINENO: checking for toolkit" >&5
9467echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9468
9469# In Wine, we need to default to MSW, not GTK or MOTIF
9470if test "$wxUSE_WINE" = "yes"; then
9471 DEFAULT_DEFAULT_wxUSE_GTK=0
9472 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9473 DEFAULT_DEFAULT_wxUSE_MSW=1
9474fi
9475
9476if test "$wxUSE_GUI" = "yes"; then
9477
9478 if test "$USE_BEOS" = 1; then
9479 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9480echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9481 { (exit 1); exit 1; }; }
9482 fi
9483
9484 if test "$TOOLKIT_GIVEN" = 1; then
9485 for toolkit in `echo $ALL_TOOLKITS`; do
9486 var=wxUSE_$toolkit
9487 eval "value=\$${var}"
9488 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9489 done
9490 else
9491 for toolkit in `echo $ALL_TOOLKITS`; do
9492 if test "$has_toolkit_in_cache" != 1; then
9493 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9494 else
9495 var=DEFAULT_wxUSE_$toolkit
9496 fi
9497 eval "wxUSE_$toolkit=\$${var}"
9498 done
9499 fi
9500
9501 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9502 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9503 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9504
9505 case "${host}" in
9506 *-pc-os2_emx | *-pc-os2-emx )
9507 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9508 esac
9509
9510 case "$NUM_TOOLKITS" in
9511 1)
9512 ;;
9513 0)
9514 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9515echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9516 { (exit 1); exit 1; }; }
9517 ;;
9518 *)
9519 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9520echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9521 { (exit 1); exit 1; }; }
9522 esac
9523
9524 for toolkit in `echo $ALL_TOOLKITS`; do
9525 var=wxUSE_$toolkit
9526 eval "value=\$${var}"
9527 if test "x$value" != x; then
9528 cache_var=CACHE_$toolkit
9529 eval "cache=\$${cache_var}"
9530 if test "$cache" = 1; then
9531 echo "$var=$value" >> ${wx_arg_cache_file}
9532 fi
9533 if test "$value" = 1; then
9534 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9535 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9536echo "${ECHO_T}$toolkit_echo" >&6
9537 fi
9538 fi
9539 done
9540else
9541 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9542echo "${ECHO_T}base ($host_alias hosted) only" >&6
9543fi
9544
9545wants_win32=0
9546doesnt_want_win32=0
9547case "${host}" in
9548 *-*-cygwin*)
9549 if test "$wxUSE_MSW" = 1 ; then
9550 wants_win32=1
9551 else
9552 doesnt_want_win32=1
9553 fi
9554 ;;
9555 *-*-mingw*)
9556 wants_win32=1
9557 ;;
9558esac
9559
9560if test "$wxUSE_WINE" = "yes"; then
9561 wants_win32=1
9562 CC=winegcc
9563 CXX=wineg++
9564 RESCOMP=wrc
9565fi
9566
9567if test "$wants_win32" = 1 ; then
9568 USE_UNIX=0
9569 USE_WIN32=1
9570 cat >>confdefs.h <<\_ACEOF
9571#define __WIN32__ 1
9572_ACEOF
9573
9574 cat >>confdefs.h <<\_ACEOF
9575#define __WIN95__ 1
9576_ACEOF
9577
9578 cat >>confdefs.h <<\_ACEOF
9579#define __WINDOWS__ 1
9580_ACEOF
9581
9582 cat >>confdefs.h <<\_ACEOF
9583#define __GNUWIN32__ 1
9584_ACEOF
9585
9586 cat >>confdefs.h <<\_ACEOF
9587#define STRICT 1
9588_ACEOF
9589
9590 cat >>confdefs.h <<\_ACEOF
9591#define WINVER 0x0400
9592_ACEOF
9593
9594fi
9595if test "$doesnt_want_win32" = 1 ; then
9596 USE_UNIX=1
9597 USE_WIN32=0
9598fi
9599
9600if test "$USE_UNIX" = 1 ; then
9601 wxUSE_UNIX=yes
9602 cat >>confdefs.h <<\_ACEOF
9603#define __UNIX__ 1
9604_ACEOF
9605
9606fi
9607
9608
9609cat >confcache <<\_ACEOF
9610# This file is a shell script that caches the results of configure
9611# tests run on this system so they can be shared between configure
9612# scripts and configure runs, see configure's option --config-cache.
9613# It is not useful on other systems. If it contains results you don't
9614# want to keep, you may remove or edit it.
9615#
9616# config.status only pays attention to the cache file if you give it
9617# the --recheck option to rerun configure.
9618#
9619# `ac_cv_env_foo' variables (set or unset) will be overridden when
9620# loading this file, other *unset* `ac_cv_foo' will be assigned the
9621# following values.
9622
9623_ACEOF
9624
9625# The following way of writing the cache mishandles newlines in values,
9626# but we know of no workaround that is simple, portable, and efficient.
9627# So, don't put newlines in cache variables' values.
9628# Ultrix sh set writes to stderr and can't be redirected directly,
9629# and sets the high bit in the cache file unless we assign to the vars.
9630{
9631 (set) 2>&1 |
9632 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9633 *ac_space=\ *)
9634 # `set' does not quote correctly, so add quotes (double-quote
9635 # substitution turns \\\\ into \\, and sed turns \\ into \).
9636 sed -n \
9637 "s/'/'\\\\''/g;
9638 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9639 ;;
9640 *)
9641 # `set' quotes correctly as required by POSIX, so do not add quotes.
9642 sed -n \
9643 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9644 ;;
9645 esac;
9646} |
9647 sed '
9648 t clear
9649 : clear
9650 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9651 t end
9652 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9653 : end' >>confcache
9654if diff $cache_file confcache >/dev/null 2>&1; then :; else
9655 if test -w $cache_file; then
9656 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9657 cat confcache >$cache_file
9658 else
9659 echo "not updating unwritable cache $cache_file"
9660 fi
9661fi
9662rm -f confcache
9663
9664if test "$build" != "$host" ; then
9665 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9666 CC=$host_alias-gcc
9667 CXX=$host_alias-c++
9668 AR=$host_alias-ar
9669 RANLIB=$host_alias-ranlib
9670 DLLTOOL=$host_alias-dlltool
9671 RESCOMP=$host_alias-windres
9672 LD=$host_alias-ld
9673 NM=$host_alias-nm
9674 STRIP=$host_alias-strip
9675 else
9676 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9677echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9678 { (exit 1); exit 1; }; }
9679 fi
9680fi
9681
9682CFLAGS=${CFLAGS:=}
9683ac_ext=c
9684ac_cpp='$CPP $CPPFLAGS'
9685ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9686ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9687ac_compiler_gnu=$ac_cv_c_compiler_gnu
9688if test -n "$ac_tool_prefix"; then
9689 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9690set dummy ${ac_tool_prefix}gcc; ac_word=$2
9691echo "$as_me:$LINENO: checking for $ac_word" >&5
9692echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9693if test "${ac_cv_prog_CC+set}" = set; then
9694 echo $ECHO_N "(cached) $ECHO_C" >&6
9695else
9696 if test -n "$CC"; then
9697 ac_cv_prog_CC="$CC" # Let the user override the test.
9698else
9699as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9700for as_dir in $PATH
9701do
9702 IFS=$as_save_IFS
9703 test -z "$as_dir" && as_dir=.
9704 for ac_exec_ext in '' $ac_executable_extensions; do
9705 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9706 ac_cv_prog_CC="${ac_tool_prefix}gcc"
9707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9708 break 2
9709 fi
9710done
9711done
9712
9713fi
9714fi
9715CC=$ac_cv_prog_CC
9716if test -n "$CC"; then
9717 echo "$as_me:$LINENO: result: $CC" >&5
9718echo "${ECHO_T}$CC" >&6
9719else
9720 echo "$as_me:$LINENO: result: no" >&5
9721echo "${ECHO_T}no" >&6
9722fi
9723
9724fi
9725if test -z "$ac_cv_prog_CC"; then
9726 ac_ct_CC=$CC
9727 # Extract the first word of "gcc", so it can be a program name with args.
9728set dummy gcc; ac_word=$2
9729echo "$as_me:$LINENO: checking for $ac_word" >&5
9730echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9731if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9732 echo $ECHO_N "(cached) $ECHO_C" >&6
9733else
9734 if test -n "$ac_ct_CC"; then
9735 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9736else
9737as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9738for as_dir in $PATH
9739do
9740 IFS=$as_save_IFS
9741 test -z "$as_dir" && as_dir=.
9742 for ac_exec_ext in '' $ac_executable_extensions; do
9743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9744 ac_cv_prog_ac_ct_CC="gcc"
9745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9746 break 2
9747 fi
9748done
9749done
9750
9751fi
9752fi
9753ac_ct_CC=$ac_cv_prog_ac_ct_CC
9754if test -n "$ac_ct_CC"; then
9755 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9756echo "${ECHO_T}$ac_ct_CC" >&6
9757else
9758 echo "$as_me:$LINENO: result: no" >&5
9759echo "${ECHO_T}no" >&6
9760fi
9761
9762 CC=$ac_ct_CC
9763else
9764 CC="$ac_cv_prog_CC"
9765fi
9766
9767if test -z "$CC"; then
9768 if test -n "$ac_tool_prefix"; then
9769 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9770set dummy ${ac_tool_prefix}cc; ac_word=$2
9771echo "$as_me:$LINENO: checking for $ac_word" >&5
9772echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9773if test "${ac_cv_prog_CC+set}" = set; then
9774 echo $ECHO_N "(cached) $ECHO_C" >&6
9775else
9776 if test -n "$CC"; then
9777 ac_cv_prog_CC="$CC" # Let the user override the test.
9778else
9779as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9780for as_dir in $PATH
9781do
9782 IFS=$as_save_IFS
9783 test -z "$as_dir" && as_dir=.
9784 for ac_exec_ext in '' $ac_executable_extensions; do
9785 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9786 ac_cv_prog_CC="${ac_tool_prefix}cc"
9787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9788 break 2
9789 fi
9790done
9791done
9792
9793fi
9794fi
9795CC=$ac_cv_prog_CC
9796if test -n "$CC"; then
9797 echo "$as_me:$LINENO: result: $CC" >&5
9798echo "${ECHO_T}$CC" >&6
9799else
9800 echo "$as_me:$LINENO: result: no" >&5
9801echo "${ECHO_T}no" >&6
9802fi
9803
9804fi
9805if test -z "$ac_cv_prog_CC"; then
9806 ac_ct_CC=$CC
9807 # Extract the first word of "cc", so it can be a program name with args.
9808set dummy cc; ac_word=$2
9809echo "$as_me:$LINENO: checking for $ac_word" >&5
9810echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9811if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9812 echo $ECHO_N "(cached) $ECHO_C" >&6
9813else
9814 if test -n "$ac_ct_CC"; then
9815 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9816else
9817as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9818for as_dir in $PATH
9819do
9820 IFS=$as_save_IFS
9821 test -z "$as_dir" && as_dir=.
9822 for ac_exec_ext in '' $ac_executable_extensions; do
9823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9824 ac_cv_prog_ac_ct_CC="cc"
9825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9826 break 2
9827 fi
9828done
9829done
9830
9831fi
9832fi
9833ac_ct_CC=$ac_cv_prog_ac_ct_CC
9834if test -n "$ac_ct_CC"; then
9835 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9836echo "${ECHO_T}$ac_ct_CC" >&6
9837else
9838 echo "$as_me:$LINENO: result: no" >&5
9839echo "${ECHO_T}no" >&6
9840fi
9841
9842 CC=$ac_ct_CC
9843else
9844 CC="$ac_cv_prog_CC"
9845fi
9846
9847fi
9848if test -z "$CC"; then
9849 # Extract the first word of "cc", so it can be a program name with args.
9850set dummy cc; ac_word=$2
9851echo "$as_me:$LINENO: checking for $ac_word" >&5
9852echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9853if test "${ac_cv_prog_CC+set}" = set; then
9854 echo $ECHO_N "(cached) $ECHO_C" >&6
9855else
9856 if test -n "$CC"; then
9857 ac_cv_prog_CC="$CC" # Let the user override the test.
9858else
9859 ac_prog_rejected=no
9860as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9861for as_dir in $PATH
9862do
9863 IFS=$as_save_IFS
9864 test -z "$as_dir" && as_dir=.
9865 for ac_exec_ext in '' $ac_executable_extensions; do
9866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9867 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9868 ac_prog_rejected=yes
9869 continue
9870 fi
9871 ac_cv_prog_CC="cc"
9872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9873 break 2
9874 fi
9875done
9876done
9877
9878if test $ac_prog_rejected = yes; then
9879 # We found a bogon in the path, so make sure we never use it.
9880 set dummy $ac_cv_prog_CC
9881 shift
9882 if test $# != 0; then
9883 # We chose a different compiler from the bogus one.
9884 # However, it has the same basename, so the bogon will be chosen
9885 # first if we set CC to just the basename; use the full file name.
9886 shift
9887 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
9888 fi
9889fi
9890fi
9891fi
9892CC=$ac_cv_prog_CC
9893if test -n "$CC"; then
9894 echo "$as_me:$LINENO: result: $CC" >&5
9895echo "${ECHO_T}$CC" >&6
9896else
9897 echo "$as_me:$LINENO: result: no" >&5
9898echo "${ECHO_T}no" >&6
9899fi
9900
9901fi
9902if test -z "$CC"; then
9903 if test -n "$ac_tool_prefix"; then
9904 for ac_prog in cl
9905 do
9906 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9907set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9908echo "$as_me:$LINENO: checking for $ac_word" >&5
9909echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9910if test "${ac_cv_prog_CC+set}" = set; then
9911 echo $ECHO_N "(cached) $ECHO_C" >&6
9912else
9913 if test -n "$CC"; then
9914 ac_cv_prog_CC="$CC" # Let the user override the test.
9915else
9916as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9917for as_dir in $PATH
9918do
9919 IFS=$as_save_IFS
9920 test -z "$as_dir" && as_dir=.
9921 for ac_exec_ext in '' $ac_executable_extensions; do
9922 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9923 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
9924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9925 break 2
9926 fi
9927done
9928done
9929
9930fi
9931fi
9932CC=$ac_cv_prog_CC
9933if test -n "$CC"; then
9934 echo "$as_me:$LINENO: result: $CC" >&5
9935echo "${ECHO_T}$CC" >&6
9936else
9937 echo "$as_me:$LINENO: result: no" >&5
9938echo "${ECHO_T}no" >&6
9939fi
9940
9941 test -n "$CC" && break
9942 done
9943fi
9944if test -z "$CC"; then
9945 ac_ct_CC=$CC
9946 for ac_prog in cl
9947do
9948 # Extract the first word of "$ac_prog", so it can be a program name with args.
9949set dummy $ac_prog; ac_word=$2
9950echo "$as_me:$LINENO: checking for $ac_word" >&5
9951echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9952if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9953 echo $ECHO_N "(cached) $ECHO_C" >&6
9954else
9955 if test -n "$ac_ct_CC"; then
9956 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9957else
9958as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9959for as_dir in $PATH
9960do
9961 IFS=$as_save_IFS
9962 test -z "$as_dir" && as_dir=.
9963 for ac_exec_ext in '' $ac_executable_extensions; do
9964 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9965 ac_cv_prog_ac_ct_CC="$ac_prog"
9966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9967 break 2
9968 fi
9969done
9970done
9971
9972fi
9973fi
9974ac_ct_CC=$ac_cv_prog_ac_ct_CC
9975if test -n "$ac_ct_CC"; then
9976 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9977echo "${ECHO_T}$ac_ct_CC" >&6
9978else
9979 echo "$as_me:$LINENO: result: no" >&5
9980echo "${ECHO_T}no" >&6
9981fi
9982
9983 test -n "$ac_ct_CC" && break
9984done
9985
9986 CC=$ac_ct_CC
9987fi
9988
9989fi
9990
9991
9992test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
9993See \`config.log' for more details." >&5
9994echo "$as_me: error: no acceptable C compiler found in \$PATH
9995See \`config.log' for more details." >&2;}
9996 { (exit 1); exit 1; }; }
9997
9998# Provide some information about the compiler.
9999echo "$as_me:$LINENO:" \
10000 "checking for C compiler version" >&5
10001ac_compiler=`set X $ac_compile; echo $2`
10002{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10003 (eval $ac_compiler --version </dev/null >&5) 2>&5
10004 ac_status=$?
10005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10006 (exit $ac_status); }
10007{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10008 (eval $ac_compiler -v </dev/null >&5) 2>&5
10009 ac_status=$?
10010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10011 (exit $ac_status); }
10012{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10013 (eval $ac_compiler -V </dev/null >&5) 2>&5
10014 ac_status=$?
10015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10016 (exit $ac_status); }
10017
10018cat >conftest.$ac_ext <<_ACEOF
10019#line $LINENO "configure"
10020/* confdefs.h. */
10021_ACEOF
10022cat confdefs.h >>conftest.$ac_ext
10023cat >>conftest.$ac_ext <<_ACEOF
10024/* end confdefs.h. */
10025
10026int
10027main ()
10028{
10029
10030 ;
10031 return 0;
10032}
10033_ACEOF
10034ac_clean_files_save=$ac_clean_files
10035ac_clean_files="$ac_clean_files a.out a.exe b.out"
10036# Try to create an executable without -o first, disregard a.out.
10037# It will help us diagnose broken compilers, and finding out an intuition
10038# of exeext.
10039echo "$as_me:$LINENO: checking for C compiler default output" >&5
10040echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10041ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10042if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10043 (eval $ac_link_default) 2>&5
10044 ac_status=$?
10045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10046 (exit $ac_status); }; then
10047 # Find the output, starting from the most likely. This scheme is
10048# not robust to junk in `.', hence go to wildcards (a.*) only as a last
10049# resort.
10050
10051# Be careful to initialize this variable, since it used to be cached.
10052# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10053ac_cv_exeext=
10054# b.out is created by i960 compilers.
10055for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10056do
10057 test -f "$ac_file" || continue
10058 case $ac_file in
10059 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10060 ;;
10061 conftest.$ac_ext )
10062 # This is the source file.
10063 ;;
10064 [ab].out )
10065 # We found the default executable, but exeext='' is most
10066 # certainly right.
10067 break;;
10068 *.* )
10069 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10070 # FIXME: I believe we export ac_cv_exeext for Libtool,
10071 # but it would be cool to find out if it's true. Does anybody
10072 # maintain Libtool? --akim.
10073 export ac_cv_exeext
10074 break;;
10075 * )
10076 break;;
10077 esac
10078done
10079else
10080 echo "$as_me: failed program was:" >&5
10081sed 's/^/| /' conftest.$ac_ext >&5
10082
10083{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
10084See \`config.log' for more details." >&5
10085echo "$as_me: error: C compiler cannot create executables
10086See \`config.log' for more details." >&2;}
10087 { (exit 77); exit 77; }; }
10088fi
10089
10090ac_exeext=$ac_cv_exeext
10091echo "$as_me:$LINENO: result: $ac_file" >&5
10092echo "${ECHO_T}$ac_file" >&6
10093
10094# Check the compiler produces executables we can run. If not, either
10095# the compiler is broken, or we cross compile.
10096echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10097echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10098# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10099# If not cross compiling, check that we can run a simple program.
10100if test "$cross_compiling" != yes; then
10101 if { ac_try='./$ac_file'
10102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10103 (eval $ac_try) 2>&5
10104 ac_status=$?
10105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10106 (exit $ac_status); }; }; then
10107 cross_compiling=no
10108 else
10109 if test "$cross_compiling" = maybe; then
10110 cross_compiling=yes
10111 else
10112 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10113If you meant to cross compile, use \`--host'.
10114See \`config.log' for more details." >&5
10115echo "$as_me: error: cannot run C compiled programs.
10116If you meant to cross compile, use \`--host'.
10117See \`config.log' for more details." >&2;}
10118 { (exit 1); exit 1; }; }
10119 fi
10120 fi
10121fi
10122echo "$as_me:$LINENO: result: yes" >&5
10123echo "${ECHO_T}yes" >&6
10124
10125rm -f a.out a.exe conftest$ac_cv_exeext b.out
10126ac_clean_files=$ac_clean_files_save
10127# Check the compiler produces executables we can run. If not, either
10128# the compiler is broken, or we cross compile.
10129echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10130echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10131echo "$as_me:$LINENO: result: $cross_compiling" >&5
10132echo "${ECHO_T}$cross_compiling" >&6
10133
10134echo "$as_me:$LINENO: checking for suffix of executables" >&5
10135echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10136if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10137 (eval $ac_link) 2>&5
10138 ac_status=$?
10139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10140 (exit $ac_status); }; then
10141 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10142# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10143# work properly (i.e., refer to `conftest.exe'), while it won't with
10144# `rm'.
10145for ac_file in conftest.exe conftest conftest.*; do
10146 test -f "$ac_file" || continue
10147 case $ac_file in
10148 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10149 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10150 export ac_cv_exeext
10151 break;;
10152 * ) break;;
10153 esac
10154done
10155else
10156 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10157See \`config.log' for more details." >&5
10158echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10159See \`config.log' for more details." >&2;}
10160 { (exit 1); exit 1; }; }
10161fi
10162
10163rm -f conftest$ac_cv_exeext
10164echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10165echo "${ECHO_T}$ac_cv_exeext" >&6
10166
10167rm -f conftest.$ac_ext
10168EXEEXT=$ac_cv_exeext
10169ac_exeext=$EXEEXT
10170echo "$as_me:$LINENO: checking for suffix of object files" >&5
10171echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10172if test "${ac_cv_objext+set}" = set; then
10173 echo $ECHO_N "(cached) $ECHO_C" >&6
10174else
10175 cat >conftest.$ac_ext <<_ACEOF
10176#line $LINENO "configure"
10177/* confdefs.h. */
10178_ACEOF
10179cat confdefs.h >>conftest.$ac_ext
10180cat >>conftest.$ac_ext <<_ACEOF
10181/* end confdefs.h. */
10182
10183int
10184main ()
10185{
10186
10187 ;
10188 return 0;
10189}
10190_ACEOF
10191rm -f conftest.o conftest.obj
10192if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10193 (eval $ac_compile) 2>&5
10194 ac_status=$?
10195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10196 (exit $ac_status); }; then
10197 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10198 case $ac_file in
10199 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10200 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10201 break;;
10202 esac
10203done
10204else
10205 echo "$as_me: failed program was:" >&5
10206sed 's/^/| /' conftest.$ac_ext >&5
10207
10208{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10209See \`config.log' for more details." >&5
10210echo "$as_me: error: cannot compute suffix of object files: cannot compile
10211See \`config.log' for more details." >&2;}
10212 { (exit 1); exit 1; }; }
10213fi
10214
10215rm -f conftest.$ac_cv_objext conftest.$ac_ext
10216fi
10217echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10218echo "${ECHO_T}$ac_cv_objext" >&6
10219OBJEXT=$ac_cv_objext
10220ac_objext=$OBJEXT
10221echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10222echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10223if test "${ac_cv_c_compiler_gnu+set}" = set; then
10224 echo $ECHO_N "(cached) $ECHO_C" >&6
10225else
10226 cat >conftest.$ac_ext <<_ACEOF
10227#line $LINENO "configure"
10228/* confdefs.h. */
10229_ACEOF
10230cat confdefs.h >>conftest.$ac_ext
10231cat >>conftest.$ac_ext <<_ACEOF
10232/* end confdefs.h. */
10233
10234int
10235main ()
10236{
10237#ifndef __GNUC__
10238 choke me
10239#endif
10240
10241 ;
10242 return 0;
10243}
10244_ACEOF
10245rm -f conftest.$ac_objext
10246if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10247 (eval $ac_compile) 2>&5
10248 ac_status=$?
10249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10250 (exit $ac_status); } &&
10251 { ac_try='test -s conftest.$ac_objext'
10252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10253 (eval $ac_try) 2>&5
10254 ac_status=$?
10255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10256 (exit $ac_status); }; }; then
10257 ac_compiler_gnu=yes
10258else
10259 echo "$as_me: failed program was:" >&5
10260sed 's/^/| /' conftest.$ac_ext >&5
10261
10262ac_compiler_gnu=no
10263fi
10264rm -f conftest.$ac_objext conftest.$ac_ext
10265ac_cv_c_compiler_gnu=$ac_compiler_gnu
10266
10267fi
10268echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10269echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10270GCC=`test $ac_compiler_gnu = yes && echo yes`
10271ac_test_CFLAGS=${CFLAGS+set}
10272ac_save_CFLAGS=$CFLAGS
10273CFLAGS="-g"
10274echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10275echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10276if test "${ac_cv_prog_cc_g+set}" = set; then
10277 echo $ECHO_N "(cached) $ECHO_C" >&6
10278else
10279 cat >conftest.$ac_ext <<_ACEOF
10280#line $LINENO "configure"
10281/* confdefs.h. */
10282_ACEOF
10283cat confdefs.h >>conftest.$ac_ext
10284cat >>conftest.$ac_ext <<_ACEOF
10285/* end confdefs.h. */
10286
10287int
10288main ()
10289{
10290
10291 ;
10292 return 0;
10293}
10294_ACEOF
10295rm -f conftest.$ac_objext
10296if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10297 (eval $ac_compile) 2>&5
10298 ac_status=$?
10299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10300 (exit $ac_status); } &&
10301 { ac_try='test -s conftest.$ac_objext'
10302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10303 (eval $ac_try) 2>&5
10304 ac_status=$?
10305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10306 (exit $ac_status); }; }; then
10307 ac_cv_prog_cc_g=yes
10308else
10309 echo "$as_me: failed program was:" >&5
10310sed 's/^/| /' conftest.$ac_ext >&5
10311
10312ac_cv_prog_cc_g=no
10313fi
10314rm -f conftest.$ac_objext conftest.$ac_ext
10315fi
10316echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10317echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10318if test "$ac_test_CFLAGS" = set; then
10319 CFLAGS=$ac_save_CFLAGS
10320elif test $ac_cv_prog_cc_g = yes; then
10321 if test "$GCC" = yes; then
10322 CFLAGS="-g -O2"
10323 else
10324 CFLAGS="-g"
10325 fi
10326else
10327 if test "$GCC" = yes; then
10328 CFLAGS="-O2"
10329 else
10330 CFLAGS=
10331 fi
10332fi
10333echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10334echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10335if test "${ac_cv_prog_cc_stdc+set}" = set; then
10336 echo $ECHO_N "(cached) $ECHO_C" >&6
10337else
10338 ac_cv_prog_cc_stdc=no
10339ac_save_CC=$CC
10340cat >conftest.$ac_ext <<_ACEOF
10341#line $LINENO "configure"
10342/* confdefs.h. */
10343_ACEOF
10344cat confdefs.h >>conftest.$ac_ext
10345cat >>conftest.$ac_ext <<_ACEOF
10346/* end confdefs.h. */
10347#include <stdarg.h>
10348#include <stdio.h>
10349#include <sys/types.h>
10350#include <sys/stat.h>
10351/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10352struct buf { int x; };
10353FILE * (*rcsopen) (struct buf *, struct stat *, int);
10354static char *e (p, i)
10355 char **p;
10356 int i;
10357{
10358 return p[i];
10359}
10360static char *f (char * (*g) (char **, int), char **p, ...)
10361{
10362 char *s;
10363 va_list v;
10364 va_start (v,p);
10365 s = g (p, va_arg (v,int));
10366 va_end (v);
10367 return s;
10368}
10369int test (int i, double x);
10370struct s1 {int (*f) (int a);};
10371struct s2 {int (*f) (double a);};
10372int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10373int argc;
10374char **argv;
10375int
10376main ()
10377{
10378return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10379 ;
10380 return 0;
10381}
10382_ACEOF
10383# Don't try gcc -ansi; that turns off useful extensions and
10384# breaks some systems' header files.
10385# AIX -qlanglvl=ansi
10386# Ultrix and OSF/1 -std1
10387# HP-UX 10.20 and later -Ae
10388# HP-UX older versions -Aa -D_HPUX_SOURCE
10389# SVR4 -Xc -D__EXTENSIONS__
10390for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10391do
10392 CC="$ac_save_CC $ac_arg"
10393 rm -f conftest.$ac_objext
10394if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10395 (eval $ac_compile) 2>&5
10396 ac_status=$?
10397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10398 (exit $ac_status); } &&
10399 { ac_try='test -s conftest.$ac_objext'
10400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10401 (eval $ac_try) 2>&5
10402 ac_status=$?
10403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10404 (exit $ac_status); }; }; then
10405 ac_cv_prog_cc_stdc=$ac_arg
10406break
10407else
10408 echo "$as_me: failed program was:" >&5
10409sed 's/^/| /' conftest.$ac_ext >&5
10410
10411fi
10412rm -f conftest.$ac_objext
10413done
10414rm -f conftest.$ac_ext conftest.$ac_objext
10415CC=$ac_save_CC
10416
10417fi
10418
10419case "x$ac_cv_prog_cc_stdc" in
10420 x|xno)
10421 echo "$as_me:$LINENO: result: none needed" >&5
10422echo "${ECHO_T}none needed" >&6 ;;
10423 *)
10424 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10425echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10426 CC="$CC $ac_cv_prog_cc_stdc" ;;
10427esac
10428
10429# Some people use a C++ compiler to compile C. Since we use `exit',
10430# in C++ we need to declare it. In case someone uses the same compiler
10431# for both compiling C and C++ we need to have the C++ compiler decide
10432# the declaration of exit, since it's the most demanding environment.
10433cat >conftest.$ac_ext <<_ACEOF
10434#ifndef __cplusplus
10435 choke me
10436#endif
10437_ACEOF
10438rm -f conftest.$ac_objext
10439if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10440 (eval $ac_compile) 2>&5
10441 ac_status=$?
10442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10443 (exit $ac_status); } &&
10444 { ac_try='test -s conftest.$ac_objext'
10445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10446 (eval $ac_try) 2>&5
10447 ac_status=$?
10448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10449 (exit $ac_status); }; }; then
10450 for ac_declaration in \
10451 ''\
10452 '#include <stdlib.h>' \
10453 'extern "C" void std::exit (int) throw (); using std::exit;' \
10454 'extern "C" void std::exit (int); using std::exit;' \
10455 'extern "C" void exit (int) throw ();' \
10456 'extern "C" void exit (int);' \
10457 'void exit (int);'
10458do
10459 cat >conftest.$ac_ext <<_ACEOF
10460#line $LINENO "configure"
10461/* confdefs.h. */
10462_ACEOF
10463cat confdefs.h >>conftest.$ac_ext
10464cat >>conftest.$ac_ext <<_ACEOF
10465/* end confdefs.h. */
10466#include <stdlib.h>
10467$ac_declaration
10468int
10469main ()
10470{
10471exit (42);
10472 ;
10473 return 0;
10474}
10475_ACEOF
10476rm -f conftest.$ac_objext
10477if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10478 (eval $ac_compile) 2>&5
10479 ac_status=$?
10480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10481 (exit $ac_status); } &&
10482 { ac_try='test -s conftest.$ac_objext'
10483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10484 (eval $ac_try) 2>&5
10485 ac_status=$?
10486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10487 (exit $ac_status); }; }; then
10488 :
10489else
10490 echo "$as_me: failed program was:" >&5
10491sed 's/^/| /' conftest.$ac_ext >&5
10492
10493continue
10494fi
10495rm -f conftest.$ac_objext conftest.$ac_ext
10496 cat >conftest.$ac_ext <<_ACEOF
10497#line $LINENO "configure"
10498/* confdefs.h. */
10499_ACEOF
10500cat confdefs.h >>conftest.$ac_ext
10501cat >>conftest.$ac_ext <<_ACEOF
10502/* end confdefs.h. */
10503$ac_declaration
10504int
10505main ()
10506{
10507exit (42);
10508 ;
10509 return 0;
10510}
10511_ACEOF
10512rm -f conftest.$ac_objext
10513if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10514 (eval $ac_compile) 2>&5
10515 ac_status=$?
10516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10517 (exit $ac_status); } &&
10518 { ac_try='test -s conftest.$ac_objext'
10519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10520 (eval $ac_try) 2>&5
10521 ac_status=$?
10522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10523 (exit $ac_status); }; }; then
10524 break
10525else
10526 echo "$as_me: failed program was:" >&5
10527sed 's/^/| /' conftest.$ac_ext >&5
10528
10529fi
10530rm -f conftest.$ac_objext conftest.$ac_ext
10531done
10532rm -f conftest*
10533if test -n "$ac_declaration"; then
10534 echo '#ifdef __cplusplus' >>confdefs.h
10535 echo $ac_declaration >>confdefs.h
10536 echo '#endif' >>confdefs.h
10537fi
10538
10539else
10540 echo "$as_me: failed program was:" >&5
10541sed 's/^/| /' conftest.$ac_ext >&5
10542
10543fi
10544rm -f conftest.$ac_objext conftest.$ac_ext
10545ac_ext=c
10546ac_cpp='$CPP $CPPFLAGS'
10547ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10548ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10549ac_compiler_gnu=$ac_cv_c_compiler_gnu
10550
10551
10552
10553ac_ext=c
10554ac_cpp='$CPP $CPPFLAGS'
10555ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10556ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10557ac_compiler_gnu=$ac_cv_c_compiler_gnu
10558echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10559echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10560# On Suns, sometimes $CPP names a directory.
10561if test -n "$CPP" && test -d "$CPP"; then
10562 CPP=
10563fi
10564if test -z "$CPP"; then
10565 if test "${ac_cv_prog_CPP+set}" = set; then
10566 echo $ECHO_N "(cached) $ECHO_C" >&6
10567else
10568 # Double quotes because CPP needs to be expanded
10569 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10570 do
10571 ac_preproc_ok=false
10572for ac_c_preproc_warn_flag in '' yes
10573do
10574 # Use a header file that comes with gcc, so configuring glibc
10575 # with a fresh cross-compiler works.
10576 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10577 # <limits.h> exists even on freestanding compilers.
10578 # On the NeXT, cc -E runs the code through the compiler's parser,
10579 # not just through cpp. "Syntax error" is here to catch this case.
10580 cat >conftest.$ac_ext <<_ACEOF
10581#line $LINENO "configure"
10582/* confdefs.h. */
10583_ACEOF
10584cat confdefs.h >>conftest.$ac_ext
10585cat >>conftest.$ac_ext <<_ACEOF
10586/* end confdefs.h. */
10587#ifdef __STDC__
10588# include <limits.h>
10589#else
10590# include <assert.h>
10591#endif
10592 Syntax error
10593_ACEOF
10594if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10595 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10596 ac_status=$?
10597 grep -v '^ *+' conftest.er1 >conftest.err
10598 rm -f conftest.er1
10599 cat conftest.err >&5
10600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10601 (exit $ac_status); } >/dev/null; then
10602 if test -s conftest.err; then
10603 ac_cpp_err=$ac_c_preproc_warn_flag
10604 else
10605 ac_cpp_err=
10606 fi
10607else
10608 ac_cpp_err=yes
10609fi
10610if test -z "$ac_cpp_err"; then
10611 :
10612else
10613 echo "$as_me: failed program was:" >&5
10614sed 's/^/| /' conftest.$ac_ext >&5
10615
10616 # Broken: fails on valid input.
10617continue
10618fi
10619rm -f conftest.err conftest.$ac_ext
10620
10621 # OK, works on sane cases. Now check whether non-existent headers
10622 # can be detected and how.
10623 cat >conftest.$ac_ext <<_ACEOF
10624#line $LINENO "configure"
10625/* confdefs.h. */
10626_ACEOF
10627cat confdefs.h >>conftest.$ac_ext
10628cat >>conftest.$ac_ext <<_ACEOF
10629/* end confdefs.h. */
10630#include <ac_nonexistent.h>
10631_ACEOF
10632if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10633 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10634 ac_status=$?
10635 grep -v '^ *+' conftest.er1 >conftest.err
10636 rm -f conftest.er1
10637 cat conftest.err >&5
10638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10639 (exit $ac_status); } >/dev/null; then
10640 if test -s conftest.err; then
10641 ac_cpp_err=$ac_c_preproc_warn_flag
10642 else
10643 ac_cpp_err=
10644 fi
10645else
10646 ac_cpp_err=yes
10647fi
10648if test -z "$ac_cpp_err"; then
10649 # Broken: success on invalid input.
10650continue
10651else
10652 echo "$as_me: failed program was:" >&5
10653sed 's/^/| /' conftest.$ac_ext >&5
10654
10655 # Passes both tests.
10656ac_preproc_ok=:
10657break
10658fi
10659rm -f conftest.err conftest.$ac_ext
10660
10661done
10662# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10663rm -f conftest.err conftest.$ac_ext
10664if $ac_preproc_ok; then
10665 break
10666fi
10667
10668 done
10669 ac_cv_prog_CPP=$CPP
10670
10671fi
10672 CPP=$ac_cv_prog_CPP
10673else
10674 ac_cv_prog_CPP=$CPP
10675fi
10676echo "$as_me:$LINENO: result: $CPP" >&5
10677echo "${ECHO_T}$CPP" >&6
10678ac_preproc_ok=false
10679for ac_c_preproc_warn_flag in '' yes
10680do
10681 # Use a header file that comes with gcc, so configuring glibc
10682 # with a fresh cross-compiler works.
10683 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10684 # <limits.h> exists even on freestanding compilers.
10685 # On the NeXT, cc -E runs the code through the compiler's parser,
10686 # not just through cpp. "Syntax error" is here to catch this case.
10687 cat >conftest.$ac_ext <<_ACEOF
10688#line $LINENO "configure"
10689/* confdefs.h. */
10690_ACEOF
10691cat confdefs.h >>conftest.$ac_ext
10692cat >>conftest.$ac_ext <<_ACEOF
10693/* end confdefs.h. */
10694#ifdef __STDC__
10695# include <limits.h>
10696#else
10697# include <assert.h>
10698#endif
10699 Syntax error
10700_ACEOF
10701if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10702 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10703 ac_status=$?
10704 grep -v '^ *+' conftest.er1 >conftest.err
10705 rm -f conftest.er1
10706 cat conftest.err >&5
10707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10708 (exit $ac_status); } >/dev/null; then
10709 if test -s conftest.err; then
10710 ac_cpp_err=$ac_c_preproc_warn_flag
10711 else
10712 ac_cpp_err=
10713 fi
10714else
10715 ac_cpp_err=yes
10716fi
10717if test -z "$ac_cpp_err"; then
10718 :
10719else
10720 echo "$as_me: failed program was:" >&5
10721sed 's/^/| /' conftest.$ac_ext >&5
10722
10723 # Broken: fails on valid input.
10724continue
10725fi
10726rm -f conftest.err conftest.$ac_ext
10727
10728 # OK, works on sane cases. Now check whether non-existent headers
10729 # can be detected and how.
10730 cat >conftest.$ac_ext <<_ACEOF
10731#line $LINENO "configure"
10732/* confdefs.h. */
10733_ACEOF
10734cat confdefs.h >>conftest.$ac_ext
10735cat >>conftest.$ac_ext <<_ACEOF
10736/* end confdefs.h. */
10737#include <ac_nonexistent.h>
10738_ACEOF
10739if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10740 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10741 ac_status=$?
10742 grep -v '^ *+' conftest.er1 >conftest.err
10743 rm -f conftest.er1
10744 cat conftest.err >&5
10745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10746 (exit $ac_status); } >/dev/null; then
10747 if test -s conftest.err; then
10748 ac_cpp_err=$ac_c_preproc_warn_flag
10749 else
10750 ac_cpp_err=
10751 fi
10752else
10753 ac_cpp_err=yes
10754fi
10755if test -z "$ac_cpp_err"; then
10756 # Broken: success on invalid input.
10757continue
10758else
10759 echo "$as_me: failed program was:" >&5
10760sed 's/^/| /' conftest.$ac_ext >&5
10761
10762 # Passes both tests.
10763ac_preproc_ok=:
10764break
10765fi
10766rm -f conftest.err conftest.$ac_ext
10767
10768done
10769# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10770rm -f conftest.err conftest.$ac_ext
10771if $ac_preproc_ok; then
10772 :
10773else
10774 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10775See \`config.log' for more details." >&5
10776echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10777See \`config.log' for more details." >&2;}
10778 { (exit 1); exit 1; }; }
10779fi
10780
10781ac_ext=c
10782ac_cpp='$CPP $CPPFLAGS'
10783ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10784ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10785ac_compiler_gnu=$ac_cv_c_compiler_gnu
10786
10787
10788echo "$as_me:$LINENO: checking for egrep" >&5
10789echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10790if test "${ac_cv_prog_egrep+set}" = set; then
10791 echo $ECHO_N "(cached) $ECHO_C" >&6
10792else
10793 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10794 then ac_cv_prog_egrep='grep -E'
10795 else ac_cv_prog_egrep='egrep'
10796 fi
10797fi
10798echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10799echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10800 EGREP=$ac_cv_prog_egrep
10801
10802
10803if test $ac_cv_c_compiler_gnu = yes; then
10804 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10805echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10806if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10807 echo $ECHO_N "(cached) $ECHO_C" >&6
10808else
10809 ac_pattern="Autoconf.*'x'"
10810 cat >conftest.$ac_ext <<_ACEOF
10811#line $LINENO "configure"
10812/* confdefs.h. */
10813_ACEOF
10814cat confdefs.h >>conftest.$ac_ext
10815cat >>conftest.$ac_ext <<_ACEOF
10816/* end confdefs.h. */
10817#include <sgtty.h>
10818Autoconf TIOCGETP
10819_ACEOF
10820if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10821 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10822 ac_cv_prog_gcc_traditional=yes
10823else
10824 ac_cv_prog_gcc_traditional=no
10825fi
10826rm -f conftest*
10827
10828
10829 if test $ac_cv_prog_gcc_traditional = no; then
10830 cat >conftest.$ac_ext <<_ACEOF
10831#line $LINENO "configure"
10832/* confdefs.h. */
10833_ACEOF
10834cat confdefs.h >>conftest.$ac_ext
10835cat >>conftest.$ac_ext <<_ACEOF
10836/* end confdefs.h. */
10837#include <termio.h>
10838Autoconf TCGETA
10839_ACEOF
10840if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10841 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10842 ac_cv_prog_gcc_traditional=yes
10843fi
10844rm -f conftest*
10845
10846 fi
10847fi
10848echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10849echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10850 if test $ac_cv_prog_gcc_traditional = yes; then
10851 CC="$CC -traditional"
10852 fi
10853fi
10854
10855
10856
10857
10858ac_ext=cc
10859ac_cpp='$CXXCPP $CPPFLAGS'
10860ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10861ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10862ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10863
10864
10865CXXFLAGS=${CXXFLAGS:=}
10866ac_ext=cc
10867ac_cpp='$CXXCPP $CPPFLAGS'
10868ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10869ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10870ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10871if test -n "$ac_tool_prefix"; then
10872 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10873 do
10874 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10875set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10876echo "$as_me:$LINENO: checking for $ac_word" >&5
10877echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10878if test "${ac_cv_prog_CXX+set}" = set; then
10879 echo $ECHO_N "(cached) $ECHO_C" >&6
10880else
10881 if test -n "$CXX"; then
10882 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10883else
10884as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10885for as_dir in $PATH
10886do
10887 IFS=$as_save_IFS
10888 test -z "$as_dir" && as_dir=.
10889 for ac_exec_ext in '' $ac_executable_extensions; do
10890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10891 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10893 break 2
10894 fi
10895done
10896done
10897
10898fi
10899fi
10900CXX=$ac_cv_prog_CXX
10901if test -n "$CXX"; then
10902 echo "$as_me:$LINENO: result: $CXX" >&5
10903echo "${ECHO_T}$CXX" >&6
10904else
10905 echo "$as_me:$LINENO: result: no" >&5
10906echo "${ECHO_T}no" >&6
10907fi
10908
10909 test -n "$CXX" && break
10910 done
10911fi
10912if test -z "$CXX"; then
10913 ac_ct_CXX=$CXX
10914 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10915do
10916 # Extract the first word of "$ac_prog", so it can be a program name with args.
10917set dummy $ac_prog; ac_word=$2
10918echo "$as_me:$LINENO: checking for $ac_word" >&5
10919echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10920if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10921 echo $ECHO_N "(cached) $ECHO_C" >&6
10922else
10923 if test -n "$ac_ct_CXX"; then
10924 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
10925else
10926as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10927for as_dir in $PATH
10928do
10929 IFS=$as_save_IFS
10930 test -z "$as_dir" && as_dir=.
10931 for ac_exec_ext in '' $ac_executable_extensions; do
10932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10933 ac_cv_prog_ac_ct_CXX="$ac_prog"
10934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10935 break 2
10936 fi
10937done
10938done
10939
10940fi
10941fi
10942ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
10943if test -n "$ac_ct_CXX"; then
10944 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
10945echo "${ECHO_T}$ac_ct_CXX" >&6
10946else
10947 echo "$as_me:$LINENO: result: no" >&5
10948echo "${ECHO_T}no" >&6
10949fi
10950
10951 test -n "$ac_ct_CXX" && break
10952done
10953test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
10954
10955 CXX=$ac_ct_CXX
10956fi
10957
10958
10959# Provide some information about the compiler.
10960echo "$as_me:$LINENO:" \
10961 "checking for C++ compiler version" >&5
10962ac_compiler=`set X $ac_compile; echo $2`
10963{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10964 (eval $ac_compiler --version </dev/null >&5) 2>&5
10965 ac_status=$?
10966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10967 (exit $ac_status); }
10968{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10969 (eval $ac_compiler -v </dev/null >&5) 2>&5
10970 ac_status=$?
10971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10972 (exit $ac_status); }
10973{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10974 (eval $ac_compiler -V </dev/null >&5) 2>&5
10975 ac_status=$?
10976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10977 (exit $ac_status); }
10978
10979echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
10980echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
10981if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
10982 echo $ECHO_N "(cached) $ECHO_C" >&6
10983else
10984 cat >conftest.$ac_ext <<_ACEOF
10985#line $LINENO "configure"
10986/* confdefs.h. */
10987_ACEOF
10988cat confdefs.h >>conftest.$ac_ext
10989cat >>conftest.$ac_ext <<_ACEOF
10990/* end confdefs.h. */
10991
10992int
10993main ()
10994{
10995#ifndef __GNUC__
10996 choke me
10997#endif
10998
10999 ;
11000 return 0;
11001}
11002_ACEOF
11003rm -f conftest.$ac_objext
11004if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11005 (eval $ac_compile) 2>&5
11006 ac_status=$?
11007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11008 (exit $ac_status); } &&
11009 { ac_try='test -s conftest.$ac_objext'
11010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11011 (eval $ac_try) 2>&5
11012 ac_status=$?
11013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11014 (exit $ac_status); }; }; then
11015 ac_compiler_gnu=yes
11016else
11017 echo "$as_me: failed program was:" >&5
11018sed 's/^/| /' conftest.$ac_ext >&5
11019
11020ac_compiler_gnu=no
11021fi
11022rm -f conftest.$ac_objext conftest.$ac_ext
11023ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11024
11025fi
11026echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11027echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11028GXX=`test $ac_compiler_gnu = yes && echo yes`
11029ac_test_CXXFLAGS=${CXXFLAGS+set}
11030ac_save_CXXFLAGS=$CXXFLAGS
11031CXXFLAGS="-g"
11032echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11033echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11034if test "${ac_cv_prog_cxx_g+set}" = set; then
11035 echo $ECHO_N "(cached) $ECHO_C" >&6
11036else
11037 cat >conftest.$ac_ext <<_ACEOF
11038#line $LINENO "configure"
11039/* confdefs.h. */
11040_ACEOF
11041cat confdefs.h >>conftest.$ac_ext
11042cat >>conftest.$ac_ext <<_ACEOF
11043/* end confdefs.h. */
11044
11045int
11046main ()
11047{
11048
11049 ;
11050 return 0;
11051}
11052_ACEOF
11053rm -f conftest.$ac_objext
11054if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11055 (eval $ac_compile) 2>&5
11056 ac_status=$?
11057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11058 (exit $ac_status); } &&
11059 { ac_try='test -s conftest.$ac_objext'
11060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11061 (eval $ac_try) 2>&5
11062 ac_status=$?
11063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11064 (exit $ac_status); }; }; then
11065 ac_cv_prog_cxx_g=yes
11066else
11067 echo "$as_me: failed program was:" >&5
11068sed 's/^/| /' conftest.$ac_ext >&5
11069
11070ac_cv_prog_cxx_g=no
11071fi
11072rm -f conftest.$ac_objext conftest.$ac_ext
11073fi
11074echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11075echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11076if test "$ac_test_CXXFLAGS" = set; then
11077 CXXFLAGS=$ac_save_CXXFLAGS
11078elif test $ac_cv_prog_cxx_g = yes; then
11079 if test "$GXX" = yes; then
11080 CXXFLAGS="-g -O2"
11081 else
11082 CXXFLAGS="-g"
11083 fi
11084else
11085 if test "$GXX" = yes; then
11086 CXXFLAGS="-O2"
11087 else
11088 CXXFLAGS=
11089 fi
11090fi
11091for ac_declaration in \
11092 ''\
11093 '#include <stdlib.h>' \
11094 'extern "C" void std::exit (int) throw (); using std::exit;' \
11095 'extern "C" void std::exit (int); using std::exit;' \
11096 'extern "C" void exit (int) throw ();' \
11097 'extern "C" void exit (int);' \
11098 'void exit (int);'
11099do
11100 cat >conftest.$ac_ext <<_ACEOF
11101#line $LINENO "configure"
11102/* confdefs.h. */
11103_ACEOF
11104cat confdefs.h >>conftest.$ac_ext
11105cat >>conftest.$ac_ext <<_ACEOF
11106/* end confdefs.h. */
11107#include <stdlib.h>
11108$ac_declaration
11109int
11110main ()
11111{
11112exit (42);
11113 ;
11114 return 0;
11115}
11116_ACEOF
11117rm -f conftest.$ac_objext
11118if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11119 (eval $ac_compile) 2>&5
11120 ac_status=$?
11121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11122 (exit $ac_status); } &&
11123 { ac_try='test -s conftest.$ac_objext'
11124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11125 (eval $ac_try) 2>&5
11126 ac_status=$?
11127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11128 (exit $ac_status); }; }; then
11129 :
11130else
11131 echo "$as_me: failed program was:" >&5
11132sed 's/^/| /' conftest.$ac_ext >&5
11133
11134continue
11135fi
11136rm -f conftest.$ac_objext conftest.$ac_ext
11137 cat >conftest.$ac_ext <<_ACEOF
11138#line $LINENO "configure"
11139/* confdefs.h. */
11140_ACEOF
11141cat confdefs.h >>conftest.$ac_ext
11142cat >>conftest.$ac_ext <<_ACEOF
11143/* end confdefs.h. */
11144$ac_declaration
11145int
11146main ()
11147{
11148exit (42);
11149 ;
11150 return 0;
11151}
11152_ACEOF
11153rm -f conftest.$ac_objext
11154if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11155 (eval $ac_compile) 2>&5
11156 ac_status=$?
11157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11158 (exit $ac_status); } &&
11159 { ac_try='test -s conftest.$ac_objext'
11160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11161 (eval $ac_try) 2>&5
11162 ac_status=$?
11163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11164 (exit $ac_status); }; }; then
11165 break
11166else
11167 echo "$as_me: failed program was:" >&5
11168sed 's/^/| /' conftest.$ac_ext >&5
11169
11170fi
11171rm -f conftest.$ac_objext conftest.$ac_ext
11172done
11173rm -f conftest*
11174if test -n "$ac_declaration"; then
11175 echo '#ifdef __cplusplus' >>confdefs.h
11176 echo $ac_declaration >>confdefs.h
11177 echo '#endif' >>confdefs.h
11178fi
11179
11180ac_ext=cc
11181ac_cpp='$CXXCPP $CPPFLAGS'
11182ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11183ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11184ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11185
11186
11187ac_ext=c
11188ac_cpp='$CPP $CPPFLAGS'
11189ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11190ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11191ac_compiler_gnu=$ac_cv_c_compiler_gnu
11192
11193
11194if test -n "$ac_tool_prefix"; then
11195 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11196set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11197echo "$as_me:$LINENO: checking for $ac_word" >&5
11198echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11199if test "${ac_cv_prog_RANLIB+set}" = set; then
11200 echo $ECHO_N "(cached) $ECHO_C" >&6
11201else
11202 if test -n "$RANLIB"; then
11203 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11204else
11205as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11206for as_dir in $PATH
11207do
11208 IFS=$as_save_IFS
11209 test -z "$as_dir" && as_dir=.
11210 for ac_exec_ext in '' $ac_executable_extensions; do
11211 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11212 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11214 break 2
11215 fi
11216done
11217done
11218
11219fi
11220fi
11221RANLIB=$ac_cv_prog_RANLIB
11222if test -n "$RANLIB"; then
11223 echo "$as_me:$LINENO: result: $RANLIB" >&5
11224echo "${ECHO_T}$RANLIB" >&6
11225else
11226 echo "$as_me:$LINENO: result: no" >&5
11227echo "${ECHO_T}no" >&6
11228fi
11229
11230fi
11231if test -z "$ac_cv_prog_RANLIB"; then
11232 ac_ct_RANLIB=$RANLIB
11233 # Extract the first word of "ranlib", so it can be a program name with args.
11234set dummy ranlib; ac_word=$2
11235echo "$as_me:$LINENO: checking for $ac_word" >&5
11236echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11237if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11238 echo $ECHO_N "(cached) $ECHO_C" >&6
11239else
11240 if test -n "$ac_ct_RANLIB"; then
11241 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11242else
11243as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11244for as_dir in $PATH
11245do
11246 IFS=$as_save_IFS
11247 test -z "$as_dir" && as_dir=.
11248 for ac_exec_ext in '' $ac_executable_extensions; do
11249 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11250 ac_cv_prog_ac_ct_RANLIB="ranlib"
11251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11252 break 2
11253 fi
11254done
11255done
11256
11257 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11258fi
11259fi
11260ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11261if test -n "$ac_ct_RANLIB"; then
11262 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11263echo "${ECHO_T}$ac_ct_RANLIB" >&6
11264else
11265 echo "$as_me:$LINENO: result: no" >&5
11266echo "${ECHO_T}no" >&6
11267fi
11268
11269 RANLIB=$ac_ct_RANLIB
11270else
11271 RANLIB="$ac_cv_prog_RANLIB"
11272fi
11273
11274
11275# Extract the first word of "ar", so it can be a program name with args.
11276set dummy ar; ac_word=$2
11277echo "$as_me:$LINENO: checking for $ac_word" >&5
11278echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11279if test "${ac_cv_prog_AR+set}" = set; then
11280 echo $ECHO_N "(cached) $ECHO_C" >&6
11281else
11282 if test -n "$AR"; then
11283 ac_cv_prog_AR="$AR" # Let the user override the test.
11284else
11285as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11286for as_dir in $PATH
11287do
11288 IFS=$as_save_IFS
11289 test -z "$as_dir" && as_dir=.
11290 for ac_exec_ext in '' $ac_executable_extensions; do
11291 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11292 ac_cv_prog_AR="ar"
11293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11294 break 2
11295 fi
11296done
11297done
11298
11299 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
11300fi
11301fi
11302AR=$ac_cv_prog_AR
11303if test -n "$AR"; then
11304 echo "$as_me:$LINENO: result: $AR" >&5
11305echo "${ECHO_T}$AR" >&6
11306else
11307 echo "$as_me:$LINENO: result: no" >&5
11308echo "${ECHO_T}no" >&6
11309fi
11310
11311
11312# Find a good install program. We prefer a C program (faster),
11313# so one script is as good as another. But avoid the broken or
11314# incompatible versions:
11315# SysV /etc/install, /usr/sbin/install
11316# SunOS /usr/etc/install
11317# IRIX /sbin/install
11318# AIX /bin/install
11319# AmigaOS /C/install, which installs bootblocks on floppy discs
11320# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11321# AFS /usr/afsws/bin/install, which mishandles nonexistent args
11322# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11323# ./install, which can be erroneously created by make from ./install.sh.
11324echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11325echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11326if test -z "$INSTALL"; then
11327if test "${ac_cv_path_install+set}" = set; then
11328 echo $ECHO_N "(cached) $ECHO_C" >&6
11329else
11330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11331for as_dir in $PATH
11332do
11333 IFS=$as_save_IFS
11334 test -z "$as_dir" && as_dir=.
11335 # Account for people who put trailing slashes in PATH elements.
11336case $as_dir/ in
11337 ./ | .// | /cC/* | \
11338 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11339 /usr/ucb/* ) ;;
11340 *)
11341 # OSF1 and SCO ODT 3.0 have their own names for install.
11342 # Don't use installbsd from OSF since it installs stuff as root
11343 # by default.
11344 for ac_prog in ginstall scoinst install; do
11345 for ac_exec_ext in '' $ac_executable_extensions; do
11346 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11347 if test $ac_prog = install &&
11348 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11349 # AIX install. It has an incompatible calling convention.
11350 :
11351 elif test $ac_prog = install &&
11352 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11353 # program-specific install script used by HP pwplus--don't use.
11354 :
11355 else
11356 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11357 break 3
11358 fi
11359 fi
11360 done
11361 done
11362 ;;
11363esac
11364done
11365
11366
11367fi
11368 if test "${ac_cv_path_install+set}" = set; then
11369 INSTALL=$ac_cv_path_install
11370 else
11371 # As a last resort, use the slow shell script. We don't cache a
11372 # path for INSTALL within a source directory, because that will
11373 # break other packages using the cache if that directory is
11374 # removed, or if the path is relative.
11375 INSTALL=$ac_install_sh
11376 fi
11377fi
11378echo "$as_me:$LINENO: result: $INSTALL" >&5
11379echo "${ECHO_T}$INSTALL" >&6
11380
11381# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11382# It thinks the first close brace ends the variable substitution.
11383test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11384
11385test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11386
11387test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11388
11389
11390case ${INSTALL} in
11391 /* ) # Absolute
11392 ;;
11393 ?:* ) # Drive letter, considered as absolute.
11394 ;;
11395 *)
11396 INSTALL=`pwd`/${INSTALL} ;;
11397esac
11398
11399case ${host} in
11400 *-hp-hpux* )
11401 INSTALL_DIR="mkdir"
11402 ;;
11403
11404 *) INSTALL_DIR="$INSTALL -d"
11405 ;;
11406esac
11407
11408
11409case "${host}" in
11410
11411 powerpc-*-darwin* )
11412 INSTALL_PROGRAM="cp -fp"
11413 INSTALL_DATA="cp -fp"
11414 ;;
11415 *)
11416 ;;
11417esac
11418
11419# Extract the first word of "strip", so it can be a program name with args.
11420set dummy strip; ac_word=$2
11421echo "$as_me:$LINENO: checking for $ac_word" >&5
11422echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11423if test "${ac_cv_prog_STRIP+set}" = set; then
11424 echo $ECHO_N "(cached) $ECHO_C" >&6
11425else
11426 if test -n "$STRIP"; then
11427 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11428else
11429as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11430for as_dir in $PATH
11431do
11432 IFS=$as_save_IFS
11433 test -z "$as_dir" && as_dir=.
11434 for ac_exec_ext in '' $ac_executable_extensions; do
11435 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11436 ac_cv_prog_STRIP="strip"
11437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11438 break 2
11439 fi
11440done
11441done
11442
11443 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11444fi
11445fi
11446STRIP=$ac_cv_prog_STRIP
11447if test -n "$STRIP"; then
11448 echo "$as_me:$LINENO: result: $STRIP" >&5
11449echo "${ECHO_T}$STRIP" >&6
11450else
11451 echo "$as_me:$LINENO: result: no" >&5
11452echo "${ECHO_T}no" >&6
11453fi
11454
11455
11456echo "$as_me:$LINENO: checking if make is GNU make" >&5
11457echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11458if test "${wx_cv_prog_makeisgnu+set}" = set; then
11459 echo $ECHO_N "(cached) $ECHO_C" >&6
11460else
11461
11462 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11463 egrep -s GNU > /dev/null); then
11464 wx_cv_prog_makeisgnu="yes"
11465 else
11466 wx_cv_prog_makeisgnu="no"
11467 fi
11468
11469fi
11470echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11471echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11472
11473if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11474 IF_GNU_MAKE=""
11475else
11476 IF_GNU_MAKE="#"
11477fi
11478
11479
11480
11481if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11482echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11483echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11484if test "${wx_cv_prog_makevpath+set}" = set; then
11485 echo $ECHO_N "(cached) $ECHO_C" >&6
11486else
11487
11488cat - << EOF > confMake
11489check : file
11490 cp \$? \$@
11491 cp \$? final_file
11492EOF
11493
11494if test ! -d sub ; then
11495 mkdir sub
11496fi
11497echo dummy > sub/file
11498${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11499RESULT=$?
11500rm -f sub/file check final_file confMake
11501rmdir sub
11502if test "$RESULT" = 0; then
11503 wx_cv_prog_makevpath="yes"
11504else
11505 wx_cv_prog_makevpath="no"
11506fi
11507
11508fi
11509echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11510echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11511
11512if test "x$wx_cv_prog_makevpath" != "xyes"; then
11513{ { echo "$as_me:$LINENO: error:
11514You need a make-utility that is able to use the variable
11515VPATH correctly.
11516If your version of make does not support VPATH correctly,
11517please install GNU-make (possibly as gmake), and start
11518configure with the following command:
11519export MAKE=gmake; ./configure for sh-type shells
11520setenv MAKE gmake; ./configure for csh-type shells
11521Also please do remember to use gmake in this case every time
11522you are trying to compile.
11523" >&5
11524echo "$as_me: error:
11525You need a make-utility that is able to use the variable
11526VPATH correctly.
11527If your version of make does not support VPATH correctly,
11528please install GNU-make (possibly as gmake), and start
11529configure with the following command:
11530export MAKE=gmake; ./configure for sh-type shells
11531setenv MAKE gmake; ./configure for csh-type shells
11532Also please do remember to use gmake in this case every time
11533you are trying to compile.
11534" >&2;}
11535 { (exit 1); exit 1; }; }
11536fi fi
11537for ac_prog in 'bison -y' byacc
11538do
11539 # Extract the first word of "$ac_prog", so it can be a program name with args.
11540set dummy $ac_prog; ac_word=$2
11541echo "$as_me:$LINENO: checking for $ac_word" >&5
11542echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11543if test "${ac_cv_prog_YACC+set}" = set; then
11544 echo $ECHO_N "(cached) $ECHO_C" >&6
11545else
11546 if test -n "$YACC"; then
11547 ac_cv_prog_YACC="$YACC" # Let the user override the test.
11548else
11549as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11550for as_dir in $PATH
11551do
11552 IFS=$as_save_IFS
11553 test -z "$as_dir" && as_dir=.
11554 for ac_exec_ext in '' $ac_executable_extensions; do
11555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11556 ac_cv_prog_YACC="$ac_prog"
11557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11558 break 2
11559 fi
11560done
11561done
11562
11563fi
11564fi
11565YACC=$ac_cv_prog_YACC
11566if test -n "$YACC"; then
11567 echo "$as_me:$LINENO: result: $YACC" >&5
11568echo "${ECHO_T}$YACC" >&6
11569else
11570 echo "$as_me:$LINENO: result: no" >&5
11571echo "${ECHO_T}no" >&6
11572fi
11573
11574 test -n "$YACC" && break
11575done
11576test -n "$YACC" || YACC="yacc"
11577
11578
11579for ac_prog in flex lex
11580do
11581 # Extract the first word of "$ac_prog", so it can be a program name with args.
11582set dummy $ac_prog; ac_word=$2
11583echo "$as_me:$LINENO: checking for $ac_word" >&5
11584echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11585if test "${ac_cv_prog_LEX+set}" = set; then
11586 echo $ECHO_N "(cached) $ECHO_C" >&6
11587else
11588 if test -n "$LEX"; then
11589 ac_cv_prog_LEX="$LEX" # Let the user override the test.
11590else
11591as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11592for as_dir in $PATH
11593do
11594 IFS=$as_save_IFS
11595 test -z "$as_dir" && as_dir=.
11596 for ac_exec_ext in '' $ac_executable_extensions; do
11597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11598 ac_cv_prog_LEX="$ac_prog"
11599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11600 break 2
11601 fi
11602done
11603done
11604
11605fi
11606fi
11607LEX=$ac_cv_prog_LEX
11608if test -n "$LEX"; then
11609 echo "$as_me:$LINENO: result: $LEX" >&5
11610echo "${ECHO_T}$LEX" >&6
11611else
11612 echo "$as_me:$LINENO: result: no" >&5
11613echo "${ECHO_T}no" >&6
11614fi
11615
11616 test -n "$LEX" && break
11617done
11618test -n "$LEX" || LEX=":"
11619
11620if test -z "$LEXLIB"
11621then
11622 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
11623echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
11624if test "${ac_cv_lib_fl_yywrap+set}" = set; then
11625 echo $ECHO_N "(cached) $ECHO_C" >&6
11626else
11627 ac_check_lib_save_LIBS=$LIBS
11628LIBS="-lfl $LIBS"
11629cat >conftest.$ac_ext <<_ACEOF
11630#line $LINENO "configure"
11631/* confdefs.h. */
11632_ACEOF
11633cat confdefs.h >>conftest.$ac_ext
11634cat >>conftest.$ac_ext <<_ACEOF
11635/* end confdefs.h. */
11636
11637/* Override any gcc2 internal prototype to avoid an error. */
11638#ifdef __cplusplus
11639extern "C"
11640#endif
11641/* We use char because int might match the return type of a gcc2
11642 builtin and then its argument prototype would still apply. */
11643char yywrap ();
11644int
11645main ()
11646{
11647yywrap ();
11648 ;
11649 return 0;
11650}
11651_ACEOF
11652rm -f conftest.$ac_objext conftest$ac_exeext
11653if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11654 (eval $ac_link) 2>&5
11655 ac_status=$?
11656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11657 (exit $ac_status); } &&
11658 { ac_try='test -s conftest$ac_exeext'
11659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11660 (eval $ac_try) 2>&5
11661 ac_status=$?
11662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11663 (exit $ac_status); }; }; then
11664 ac_cv_lib_fl_yywrap=yes
11665else
11666 echo "$as_me: failed program was:" >&5
11667sed 's/^/| /' conftest.$ac_ext >&5
11668
11669ac_cv_lib_fl_yywrap=no
11670fi
11671rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11672LIBS=$ac_check_lib_save_LIBS
11673fi
11674echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
11675echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
11676if test $ac_cv_lib_fl_yywrap = yes; then
11677 LEXLIB="-lfl"
11678else
11679 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
11680echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
11681if test "${ac_cv_lib_l_yywrap+set}" = set; then
11682 echo $ECHO_N "(cached) $ECHO_C" >&6
11683else
11684 ac_check_lib_save_LIBS=$LIBS
11685LIBS="-ll $LIBS"
11686cat >conftest.$ac_ext <<_ACEOF
11687#line $LINENO "configure"
11688/* confdefs.h. */
11689_ACEOF
11690cat confdefs.h >>conftest.$ac_ext
11691cat >>conftest.$ac_ext <<_ACEOF
11692/* end confdefs.h. */
11693
11694/* Override any gcc2 internal prototype to avoid an error. */
11695#ifdef __cplusplus
11696extern "C"
11697#endif
11698/* We use char because int might match the return type of a gcc2
11699 builtin and then its argument prototype would still apply. */
11700char yywrap ();
11701int
11702main ()
11703{
11704yywrap ();
11705 ;
11706 return 0;
11707}
11708_ACEOF
11709rm -f conftest.$ac_objext conftest$ac_exeext
11710if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11711 (eval $ac_link) 2>&5
11712 ac_status=$?
11713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11714 (exit $ac_status); } &&
11715 { ac_try='test -s conftest$ac_exeext'
11716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11717 (eval $ac_try) 2>&5
11718 ac_status=$?
11719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11720 (exit $ac_status); }; }; then
11721 ac_cv_lib_l_yywrap=yes
11722else
11723 echo "$as_me: failed program was:" >&5
11724sed 's/^/| /' conftest.$ac_ext >&5
11725
11726ac_cv_lib_l_yywrap=no
11727fi
11728rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11729LIBS=$ac_check_lib_save_LIBS
11730fi
11731echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
11732echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
11733if test $ac_cv_lib_l_yywrap = yes; then
11734 LEXLIB="-ll"
11735fi
11736
11737fi
11738
11739fi
11740
11741if test "x$LEX" != "x:"; then
11742 echo "$as_me:$LINENO: checking lex output file root" >&5
11743echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
11744if test "${ac_cv_prog_lex_root+set}" = set; then
11745 echo $ECHO_N "(cached) $ECHO_C" >&6
11746else
11747 # The minimal lex program is just a single line: %%. But some broken lexes
11748# (Solaris, I think it was) want two %% lines, so accommodate them.
11749cat >conftest.l <<_ACEOF
11750%%
11751%%
11752_ACEOF
11753{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
11754 (eval $LEX conftest.l) 2>&5
11755 ac_status=$?
11756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11757 (exit $ac_status); }
11758if test -f lex.yy.c; then
11759 ac_cv_prog_lex_root=lex.yy
11760elif test -f lexyy.c; then
11761 ac_cv_prog_lex_root=lexyy
11762else
11763 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
11764echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
11765 { (exit 1); exit 1; }; }
11766fi
11767fi
11768echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
11769echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
11770rm -f conftest.l
11771LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
11772
11773echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
11774echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
11775if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
11776 echo $ECHO_N "(cached) $ECHO_C" >&6
11777else
11778 # POSIX says lex can declare yytext either as a pointer or an array; the
11779# default is implementation-dependent. Figure out which it is, since
11780# not all implementations provide the %pointer and %array declarations.
11781ac_cv_prog_lex_yytext_pointer=no
11782echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
11783ac_save_LIBS=$LIBS
11784LIBS="$LIBS $LEXLIB"
11785cat >conftest.$ac_ext <<_ACEOF
11786`cat $LEX_OUTPUT_ROOT.c`
11787_ACEOF
11788rm -f conftest.$ac_objext conftest$ac_exeext
11789if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11790 (eval $ac_link) 2>&5
11791 ac_status=$?
11792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11793 (exit $ac_status); } &&
11794 { ac_try='test -s conftest$ac_exeext'
11795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11796 (eval $ac_try) 2>&5
11797 ac_status=$?
11798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11799 (exit $ac_status); }; }; then
11800 ac_cv_prog_lex_yytext_pointer=yes
11801else
11802 echo "$as_me: failed program was:" >&5
11803sed 's/^/| /' conftest.$ac_ext >&5
11804
11805fi
11806rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11807LIBS=$ac_save_LIBS
11808rm -f "${LEX_OUTPUT_ROOT}.c"
11809
11810fi
11811echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
11812echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
11813if test $ac_cv_prog_lex_yytext_pointer = yes; then
11814
11815cat >>confdefs.h <<\_ACEOF
11816#define YYTEXT_POINTER 1
11817_ACEOF
11818
11819fi
11820
11821fi
11822
11823echo "$as_me:$LINENO: checking whether ln -s works" >&5
11824echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11825LN_S=$as_ln_s
11826if test "$LN_S" = "ln -s"; then
11827 echo "$as_me:$LINENO: result: yes" >&5
11828echo "${ECHO_T}yes" >&6
11829else
11830 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11831echo "${ECHO_T}no, using $LN_S" >&6
11832fi
11833
11834
11835case "${host}" in
11836 *-pc-os2_emx | *-pc-os2-emx )
11837 LIBS="$LIBS -lstdcpp"
11838 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11839 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11840echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11841if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11842 echo $ECHO_N "(cached) $ECHO_C" >&6
11843else
11844 ac_check_lib_save_LIBS=$LIBS
11845LIBS="-lcExt $LIBS"
11846cat >conftest.$ac_ext <<_ACEOF
11847#line $LINENO "configure"
11848/* confdefs.h. */
11849_ACEOF
11850cat confdefs.h >>conftest.$ac_ext
11851cat >>conftest.$ac_ext <<_ACEOF
11852/* end confdefs.h. */
11853
11854/* Override any gcc2 internal prototype to avoid an error. */
11855#ifdef __cplusplus
11856extern "C"
11857#endif
11858/* We use char because int might match the return type of a gcc2
11859 builtin and then its argument prototype would still apply. */
11860char drand48 ();
11861int
11862main ()
11863{
11864drand48 ();
11865 ;
11866 return 0;
11867}
11868_ACEOF
11869rm -f conftest.$ac_objext conftest$ac_exeext
11870if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11871 (eval $ac_link) 2>&5
11872 ac_status=$?
11873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11874 (exit $ac_status); } &&
11875 { ac_try='test -s conftest$ac_exeext'
11876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11877 (eval $ac_try) 2>&5
11878 ac_status=$?
11879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11880 (exit $ac_status); }; }; then
11881 ac_cv_lib_cExt_drand48=yes
11882else
11883 echo "$as_me: failed program was:" >&5
11884sed 's/^/| /' conftest.$ac_ext >&5
11885
11886ac_cv_lib_cExt_drand48=no
11887fi
11888rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11889LIBS=$ac_check_lib_save_LIBS
11890fi
11891echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11892echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11893if test $ac_cv_lib_cExt_drand48 = yes; then
11894 LIBS="$LIBS -lcExt"
11895fi
11896
11897 else
11898 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11899 fi
11900 ;;
11901esac
11902
11903
11904if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11905 echo "$as_me:$LINENO: checking for strings.h" >&5
11906echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11907if test "${ac_cv_header_strings_h+set}" = set; then
11908 echo $ECHO_N "(cached) $ECHO_C" >&6
11909else
11910 ac_cv_header_strings_h=no
11911fi
11912echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11913echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11914 if test "$ac_cv_header_strings_h" = "no"; then
11915 echo "$as_me:$LINENO: result: forced no into cache" >&5
11916echo "${ECHO_T}forced no into cache" >&6
11917 else
11918 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11919echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11920 fi
11921fi
11922echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11923echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11924if test "${ac_cv_header_stdc+set}" = set; then
11925 echo $ECHO_N "(cached) $ECHO_C" >&6
11926else
11927 cat >conftest.$ac_ext <<_ACEOF
11928#line $LINENO "configure"
11929/* confdefs.h. */
11930_ACEOF
11931cat confdefs.h >>conftest.$ac_ext
11932cat >>conftest.$ac_ext <<_ACEOF
11933/* end confdefs.h. */
11934#include <stdlib.h>
11935#include <stdarg.h>
11936#include <string.h>
11937#include <float.h>
11938
11939int
11940main ()
11941{
11942
11943 ;
11944 return 0;
11945}
11946_ACEOF
11947rm -f conftest.$ac_objext
11948if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11949 (eval $ac_compile) 2>&5
11950 ac_status=$?
11951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11952 (exit $ac_status); } &&
11953 { ac_try='test -s conftest.$ac_objext'
11954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11955 (eval $ac_try) 2>&5
11956 ac_status=$?
11957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11958 (exit $ac_status); }; }; then
11959 ac_cv_header_stdc=yes
11960else
11961 echo "$as_me: failed program was:" >&5
11962sed 's/^/| /' conftest.$ac_ext >&5
11963
11964ac_cv_header_stdc=no
11965fi
11966rm -f conftest.$ac_objext conftest.$ac_ext
11967
11968if test $ac_cv_header_stdc = yes; then
11969 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11970 cat >conftest.$ac_ext <<_ACEOF
11971#line $LINENO "configure"
11972/* confdefs.h. */
11973_ACEOF
11974cat confdefs.h >>conftest.$ac_ext
11975cat >>conftest.$ac_ext <<_ACEOF
11976/* end confdefs.h. */
11977#include <string.h>
11978
11979_ACEOF
11980if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11981 $EGREP "memchr" >/dev/null 2>&1; then
11982 :
11983else
11984 ac_cv_header_stdc=no
11985fi
11986rm -f conftest*
11987
11988fi
11989
11990if test $ac_cv_header_stdc = yes; then
11991 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11992 cat >conftest.$ac_ext <<_ACEOF
11993#line $LINENO "configure"
11994/* confdefs.h. */
11995_ACEOF
11996cat confdefs.h >>conftest.$ac_ext
11997cat >>conftest.$ac_ext <<_ACEOF
11998/* end confdefs.h. */
11999#include <stdlib.h>
12000
12001_ACEOF
12002if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12003 $EGREP "free" >/dev/null 2>&1; then
12004 :
12005else
12006 ac_cv_header_stdc=no
12007fi
12008rm -f conftest*
12009
12010fi
12011
12012if test $ac_cv_header_stdc = yes; then
12013 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12014 if test "$cross_compiling" = yes; then
12015 :
12016else
12017 cat >conftest.$ac_ext <<_ACEOF
12018#line $LINENO "configure"
12019/* confdefs.h. */
12020_ACEOF
12021cat confdefs.h >>conftest.$ac_ext
12022cat >>conftest.$ac_ext <<_ACEOF
12023/* end confdefs.h. */
12024#include <ctype.h>
12025#if ((' ' & 0x0FF) == 0x020)
12026# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12027# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12028#else
12029# define ISLOWER(c) \
12030 (('a' <= (c) && (c) <= 'i') \
12031 || ('j' <= (c) && (c) <= 'r') \
12032 || ('s' <= (c) && (c) <= 'z'))
12033# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12034#endif
12035
12036#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12037int
12038main ()
12039{
12040 int i;
12041 for (i = 0; i < 256; i++)
12042 if (XOR (islower (i), ISLOWER (i))
12043 || toupper (i) != TOUPPER (i))
12044 exit(2);
12045 exit (0);
12046}
12047_ACEOF
12048rm -f conftest$ac_exeext
12049if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12050 (eval $ac_link) 2>&5
12051 ac_status=$?
12052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12053 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12055 (eval $ac_try) 2>&5
12056 ac_status=$?
12057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12058 (exit $ac_status); }; }; then
12059 :
12060else
12061 echo "$as_me: program exited with status $ac_status" >&5
12062echo "$as_me: failed program was:" >&5
12063sed 's/^/| /' conftest.$ac_ext >&5
12064
12065( exit $ac_status )
12066ac_cv_header_stdc=no
12067fi
12068rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12069fi
12070fi
12071fi
12072echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12073echo "${ECHO_T}$ac_cv_header_stdc" >&6
12074if test $ac_cv_header_stdc = yes; then
12075
12076cat >>confdefs.h <<\_ACEOF
12077#define STDC_HEADERS 1
12078_ACEOF
12079
12080fi
12081
12082# On IRIX 5.3, sys/types and inttypes.h are conflicting.
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12093 inttypes.h stdint.h unistd.h
12094do
12095as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12096echo "$as_me:$LINENO: checking for $ac_header" >&5
12097echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12098if eval "test \"\${$as_ac_Header+set}\" = set"; then
12099 echo $ECHO_N "(cached) $ECHO_C" >&6
12100else
12101 cat >conftest.$ac_ext <<_ACEOF
12102#line $LINENO "configure"
12103/* confdefs.h. */
12104_ACEOF
12105cat confdefs.h >>conftest.$ac_ext
12106cat >>conftest.$ac_ext <<_ACEOF
12107/* end confdefs.h. */
12108$ac_includes_default
12109
12110#include <$ac_header>
12111_ACEOF
12112rm -f conftest.$ac_objext
12113if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12114 (eval $ac_compile) 2>&5
12115 ac_status=$?
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 (exit $ac_status); } &&
12118 { ac_try='test -s conftest.$ac_objext'
12119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12120 (eval $ac_try) 2>&5
12121 ac_status=$?
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); }; }; then
12124 eval "$as_ac_Header=yes"
12125else
12126 echo "$as_me: failed program was:" >&5
12127sed 's/^/| /' conftest.$ac_ext >&5
12128
12129eval "$as_ac_Header=no"
12130fi
12131rm -f conftest.$ac_objext conftest.$ac_ext
12132fi
12133echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12134echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12135if test `eval echo '${'$as_ac_Header'}'` = yes; then
12136 cat >>confdefs.h <<_ACEOF
12137#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12138_ACEOF
12139
12140fi
12141
12142done
12143
12144
12145
12146for ac_header in strings.h
12147do
12148as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12149if eval "test \"\${$as_ac_Header+set}\" = set"; then
12150 echo "$as_me:$LINENO: checking for $ac_header" >&5
12151echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12152if eval "test \"\${$as_ac_Header+set}\" = set"; then
12153 echo $ECHO_N "(cached) $ECHO_C" >&6
12154fi
12155echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12156echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12157else
12158 # Is the header compilable?
12159echo "$as_me:$LINENO: checking $ac_header usability" >&5
12160echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12161cat >conftest.$ac_ext <<_ACEOF
12162#line $LINENO "configure"
12163/* confdefs.h. */
12164_ACEOF
12165cat confdefs.h >>conftest.$ac_ext
12166cat >>conftest.$ac_ext <<_ACEOF
12167/* end confdefs.h. */
12168$ac_includes_default
12169#include <$ac_header>
12170_ACEOF
12171rm -f conftest.$ac_objext
12172if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12173 (eval $ac_compile) 2>&5
12174 ac_status=$?
12175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12176 (exit $ac_status); } &&
12177 { ac_try='test -s conftest.$ac_objext'
12178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12179 (eval $ac_try) 2>&5
12180 ac_status=$?
12181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12182 (exit $ac_status); }; }; then
12183 ac_header_compiler=yes
12184else
12185 echo "$as_me: failed program was:" >&5
12186sed 's/^/| /' conftest.$ac_ext >&5
12187
12188ac_header_compiler=no
12189fi
12190rm -f conftest.$ac_objext conftest.$ac_ext
12191echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12192echo "${ECHO_T}$ac_header_compiler" >&6
12193
12194# Is the header present?
12195echo "$as_me:$LINENO: checking $ac_header presence" >&5
12196echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12197cat >conftest.$ac_ext <<_ACEOF
12198#line $LINENO "configure"
12199/* confdefs.h. */
12200_ACEOF
12201cat confdefs.h >>conftest.$ac_ext
12202cat >>conftest.$ac_ext <<_ACEOF
12203/* end confdefs.h. */
12204#include <$ac_header>
12205_ACEOF
12206if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12207 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12208 ac_status=$?
12209 grep -v '^ *+' conftest.er1 >conftest.err
12210 rm -f conftest.er1
12211 cat conftest.err >&5
12212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12213 (exit $ac_status); } >/dev/null; then
12214 if test -s conftest.err; then
12215 ac_cpp_err=$ac_c_preproc_warn_flag
12216 else
12217 ac_cpp_err=
12218 fi
12219else
12220 ac_cpp_err=yes
12221fi
12222if test -z "$ac_cpp_err"; then
12223 ac_header_preproc=yes
12224else
12225 echo "$as_me: failed program was:" >&5
12226sed 's/^/| /' conftest.$ac_ext >&5
12227
12228 ac_header_preproc=no
12229fi
12230rm -f conftest.err conftest.$ac_ext
12231echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12232echo "${ECHO_T}$ac_header_preproc" >&6
12233
12234# So? What about this header?
12235case $ac_header_compiler:$ac_header_preproc in
12236 yes:no )
12237 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12238echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12239 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12240echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12241 (
12242 cat <<\_ASBOX
12243## ------------------------------------ ##
12244## Report this to bug-autoconf@gnu.org. ##
12245## ------------------------------------ ##
12246_ASBOX
12247 ) |
12248 sed "s/^/$as_me: WARNING: /" >&2
12249 ;;
12250 no:yes )
12251 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12252echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12253 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12254echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12255 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12256echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12257 (
12258 cat <<\_ASBOX
12259## ------------------------------------ ##
12260## Report this to bug-autoconf@gnu.org. ##
12261## ------------------------------------ ##
12262_ASBOX
12263 ) |
12264 sed "s/^/$as_me: WARNING: /" >&2
12265 ;;
12266esac
12267echo "$as_me:$LINENO: checking for $ac_header" >&5
12268echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12269if eval "test \"\${$as_ac_Header+set}\" = set"; then
12270 echo $ECHO_N "(cached) $ECHO_C" >&6
12271else
12272 eval "$as_ac_Header=$ac_header_preproc"
12273fi
12274echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12275echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12276
12277fi
12278if test `eval echo '${'$as_ac_Header'}'` = yes; then
12279 cat >>confdefs.h <<_ACEOF
12280#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12281_ACEOF
12282
12283fi
12284
12285done
12286
12287
12288
12289for ac_header in stdlib.h
12290do
12291as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12292if eval "test \"\${$as_ac_Header+set}\" = set"; then
12293 echo "$as_me:$LINENO: checking for $ac_header" >&5
12294echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12295if eval "test \"\${$as_ac_Header+set}\" = set"; then
12296 echo $ECHO_N "(cached) $ECHO_C" >&6
12297fi
12298echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12299echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12300else
12301 # Is the header compilable?
12302echo "$as_me:$LINENO: checking $ac_header usability" >&5
12303echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12304cat >conftest.$ac_ext <<_ACEOF
12305#line $LINENO "configure"
12306/* confdefs.h. */
12307_ACEOF
12308cat confdefs.h >>conftest.$ac_ext
12309cat >>conftest.$ac_ext <<_ACEOF
12310/* end confdefs.h. */
12311$ac_includes_default
12312#include <$ac_header>
12313_ACEOF
12314rm -f conftest.$ac_objext
12315if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12316 (eval $ac_compile) 2>&5
12317 ac_status=$?
12318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12319 (exit $ac_status); } &&
12320 { ac_try='test -s conftest.$ac_objext'
12321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12322 (eval $ac_try) 2>&5
12323 ac_status=$?
12324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12325 (exit $ac_status); }; }; then
12326 ac_header_compiler=yes
12327else
12328 echo "$as_me: failed program was:" >&5
12329sed 's/^/| /' conftest.$ac_ext >&5
12330
12331ac_header_compiler=no
12332fi
12333rm -f conftest.$ac_objext conftest.$ac_ext
12334echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12335echo "${ECHO_T}$ac_header_compiler" >&6
12336
12337# Is the header present?
12338echo "$as_me:$LINENO: checking $ac_header presence" >&5
12339echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12340cat >conftest.$ac_ext <<_ACEOF
12341#line $LINENO "configure"
12342/* confdefs.h. */
12343_ACEOF
12344cat confdefs.h >>conftest.$ac_ext
12345cat >>conftest.$ac_ext <<_ACEOF
12346/* end confdefs.h. */
12347#include <$ac_header>
12348_ACEOF
12349if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12350 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12351 ac_status=$?
12352 grep -v '^ *+' conftest.er1 >conftest.err
12353 rm -f conftest.er1
12354 cat conftest.err >&5
12355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12356 (exit $ac_status); } >/dev/null; then
12357 if test -s conftest.err; then
12358 ac_cpp_err=$ac_c_preproc_warn_flag
12359 else
12360 ac_cpp_err=
12361 fi
12362else
12363 ac_cpp_err=yes
12364fi
12365if test -z "$ac_cpp_err"; then
12366 ac_header_preproc=yes
12367else
12368 echo "$as_me: failed program was:" >&5
12369sed 's/^/| /' conftest.$ac_ext >&5
12370
12371 ac_header_preproc=no
12372fi
12373rm -f conftest.err conftest.$ac_ext
12374echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12375echo "${ECHO_T}$ac_header_preproc" >&6
12376
12377# So? What about this header?
12378case $ac_header_compiler:$ac_header_preproc in
12379 yes:no )
12380 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12381echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12382 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12383echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12384 (
12385 cat <<\_ASBOX
12386## ------------------------------------ ##
12387## Report this to bug-autoconf@gnu.org. ##
12388## ------------------------------------ ##
12389_ASBOX
12390 ) |
12391 sed "s/^/$as_me: WARNING: /" >&2
12392 ;;
12393 no:yes )
12394 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12395echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12396 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12397echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12398 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12399echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12400 (
12401 cat <<\_ASBOX
12402## ------------------------------------ ##
12403## Report this to bug-autoconf@gnu.org. ##
12404## ------------------------------------ ##
12405_ASBOX
12406 ) |
12407 sed "s/^/$as_me: WARNING: /" >&2
12408 ;;
12409esac
12410echo "$as_me:$LINENO: checking for $ac_header" >&5
12411echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12412if eval "test \"\${$as_ac_Header+set}\" = set"; then
12413 echo $ECHO_N "(cached) $ECHO_C" >&6
12414else
12415 eval "$as_ac_Header=$ac_header_preproc"
12416fi
12417echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12418echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12419
12420fi
12421if test `eval echo '${'$as_ac_Header'}'` = yes; then
12422 cat >>confdefs.h <<_ACEOF
12423#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12424_ACEOF
12425
12426fi
12427
12428done
12429
12430
12431for ac_header in malloc.h
12432do
12433as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12434if eval "test \"\${$as_ac_Header+set}\" = set"; then
12435 echo "$as_me:$LINENO: checking for $ac_header" >&5
12436echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12437if eval "test \"\${$as_ac_Header+set}\" = set"; then
12438 echo $ECHO_N "(cached) $ECHO_C" >&6
12439fi
12440echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12441echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12442else
12443 # Is the header compilable?
12444echo "$as_me:$LINENO: checking $ac_header usability" >&5
12445echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12446cat >conftest.$ac_ext <<_ACEOF
12447#line $LINENO "configure"
12448/* confdefs.h. */
12449_ACEOF
12450cat confdefs.h >>conftest.$ac_ext
12451cat >>conftest.$ac_ext <<_ACEOF
12452/* end confdefs.h. */
12453$ac_includes_default
12454#include <$ac_header>
12455_ACEOF
12456rm -f conftest.$ac_objext
12457if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12458 (eval $ac_compile) 2>&5
12459 ac_status=$?
12460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12461 (exit $ac_status); } &&
12462 { ac_try='test -s conftest.$ac_objext'
12463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12464 (eval $ac_try) 2>&5
12465 ac_status=$?
12466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12467 (exit $ac_status); }; }; then
12468 ac_header_compiler=yes
12469else
12470 echo "$as_me: failed program was:" >&5
12471sed 's/^/| /' conftest.$ac_ext >&5
12472
12473ac_header_compiler=no
12474fi
12475rm -f conftest.$ac_objext conftest.$ac_ext
12476echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12477echo "${ECHO_T}$ac_header_compiler" >&6
12478
12479# Is the header present?
12480echo "$as_me:$LINENO: checking $ac_header presence" >&5
12481echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12482cat >conftest.$ac_ext <<_ACEOF
12483#line $LINENO "configure"
12484/* confdefs.h. */
12485_ACEOF
12486cat confdefs.h >>conftest.$ac_ext
12487cat >>conftest.$ac_ext <<_ACEOF
12488/* end confdefs.h. */
12489#include <$ac_header>
12490_ACEOF
12491if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12492 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12493 ac_status=$?
12494 grep -v '^ *+' conftest.er1 >conftest.err
12495 rm -f conftest.er1
12496 cat conftest.err >&5
12497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12498 (exit $ac_status); } >/dev/null; then
12499 if test -s conftest.err; then
12500 ac_cpp_err=$ac_c_preproc_warn_flag
12501 else
12502 ac_cpp_err=
12503 fi
12504else
12505 ac_cpp_err=yes
12506fi
12507if test -z "$ac_cpp_err"; then
12508 ac_header_preproc=yes
12509else
12510 echo "$as_me: failed program was:" >&5
12511sed 's/^/| /' conftest.$ac_ext >&5
12512
12513 ac_header_preproc=no
12514fi
12515rm -f conftest.err conftest.$ac_ext
12516echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12517echo "${ECHO_T}$ac_header_preproc" >&6
12518
12519# So? What about this header?
12520case $ac_header_compiler:$ac_header_preproc in
12521 yes:no )
12522 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12523echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12524 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12525echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12526 (
12527 cat <<\_ASBOX
12528## ------------------------------------ ##
12529## Report this to bug-autoconf@gnu.org. ##
12530## ------------------------------------ ##
12531_ASBOX
12532 ) |
12533 sed "s/^/$as_me: WARNING: /" >&2
12534 ;;
12535 no:yes )
12536 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12537echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12538 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12539echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12540 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12541echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12542 (
12543 cat <<\_ASBOX
12544## ------------------------------------ ##
12545## Report this to bug-autoconf@gnu.org. ##
12546## ------------------------------------ ##
12547_ASBOX
12548 ) |
12549 sed "s/^/$as_me: WARNING: /" >&2
12550 ;;
12551esac
12552echo "$as_me:$LINENO: checking for $ac_header" >&5
12553echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12554if eval "test \"\${$as_ac_Header+set}\" = set"; then
12555 echo $ECHO_N "(cached) $ECHO_C" >&6
12556else
12557 eval "$as_ac_Header=$ac_header_preproc"
12558fi
12559echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12560echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12561
12562fi
12563if test `eval echo '${'$as_ac_Header'}'` = yes; then
12564 cat >>confdefs.h <<_ACEOF
12565#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12566_ACEOF
12567
12568fi
12569
12570done
12571
12572
12573for ac_header in unistd.h
12574do
12575as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12576if eval "test \"\${$as_ac_Header+set}\" = set"; then
12577 echo "$as_me:$LINENO: checking for $ac_header" >&5
12578echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12579if eval "test \"\${$as_ac_Header+set}\" = set"; then
12580 echo $ECHO_N "(cached) $ECHO_C" >&6
12581fi
12582echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12583echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12584else
12585 # Is the header compilable?
12586echo "$as_me:$LINENO: checking $ac_header usability" >&5
12587echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12588cat >conftest.$ac_ext <<_ACEOF
12589#line $LINENO "configure"
12590/* confdefs.h. */
12591_ACEOF
12592cat confdefs.h >>conftest.$ac_ext
12593cat >>conftest.$ac_ext <<_ACEOF
12594/* end confdefs.h. */
12595$ac_includes_default
12596#include <$ac_header>
12597_ACEOF
12598rm -f conftest.$ac_objext
12599if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12600 (eval $ac_compile) 2>&5
12601 ac_status=$?
12602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12603 (exit $ac_status); } &&
12604 { ac_try='test -s conftest.$ac_objext'
12605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12606 (eval $ac_try) 2>&5
12607 ac_status=$?
12608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12609 (exit $ac_status); }; }; then
12610 ac_header_compiler=yes
12611else
12612 echo "$as_me: failed program was:" >&5
12613sed 's/^/| /' conftest.$ac_ext >&5
12614
12615ac_header_compiler=no
12616fi
12617rm -f conftest.$ac_objext conftest.$ac_ext
12618echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12619echo "${ECHO_T}$ac_header_compiler" >&6
12620
12621# Is the header present?
12622echo "$as_me:$LINENO: checking $ac_header presence" >&5
12623echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12624cat >conftest.$ac_ext <<_ACEOF
12625#line $LINENO "configure"
12626/* confdefs.h. */
12627_ACEOF
12628cat confdefs.h >>conftest.$ac_ext
12629cat >>conftest.$ac_ext <<_ACEOF
12630/* end confdefs.h. */
12631#include <$ac_header>
12632_ACEOF
12633if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12634 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12635 ac_status=$?
12636 grep -v '^ *+' conftest.er1 >conftest.err
12637 rm -f conftest.er1
12638 cat conftest.err >&5
12639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12640 (exit $ac_status); } >/dev/null; then
12641 if test -s conftest.err; then
12642 ac_cpp_err=$ac_c_preproc_warn_flag
12643 else
12644 ac_cpp_err=
12645 fi
12646else
12647 ac_cpp_err=yes
12648fi
12649if test -z "$ac_cpp_err"; then
12650 ac_header_preproc=yes
12651else
12652 echo "$as_me: failed program was:" >&5
12653sed 's/^/| /' conftest.$ac_ext >&5
12654
12655 ac_header_preproc=no
12656fi
12657rm -f conftest.err conftest.$ac_ext
12658echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12659echo "${ECHO_T}$ac_header_preproc" >&6
12660
12661# So? What about this header?
12662case $ac_header_compiler:$ac_header_preproc in
12663 yes:no )
12664 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12665echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12666 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12667echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12668 (
12669 cat <<\_ASBOX
12670## ------------------------------------ ##
12671## Report this to bug-autoconf@gnu.org. ##
12672## ------------------------------------ ##
12673_ASBOX
12674 ) |
12675 sed "s/^/$as_me: WARNING: /" >&2
12676 ;;
12677 no:yes )
12678 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12679echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12680 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12681echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12682 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12683echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12684 (
12685 cat <<\_ASBOX
12686## ------------------------------------ ##
12687## Report this to bug-autoconf@gnu.org. ##
12688## ------------------------------------ ##
12689_ASBOX
12690 ) |
12691 sed "s/^/$as_me: WARNING: /" >&2
12692 ;;
12693esac
12694echo "$as_me:$LINENO: checking for $ac_header" >&5
12695echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12696if eval "test \"\${$as_ac_Header+set}\" = set"; then
12697 echo $ECHO_N "(cached) $ECHO_C" >&6
12698else
12699 eval "$as_ac_Header=$ac_header_preproc"
12700fi
12701echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12702echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12703
12704fi
12705if test `eval echo '${'$as_ac_Header'}'` = yes; then
12706 cat >>confdefs.h <<_ACEOF
12707#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12708_ACEOF
12709
12710fi
12711
12712done
12713
12714
12715for ac_header in wchar.h
12716do
12717as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12718if eval "test \"\${$as_ac_Header+set}\" = set"; then
12719 echo "$as_me:$LINENO: checking for $ac_header" >&5
12720echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12721if eval "test \"\${$as_ac_Header+set}\" = set"; then
12722 echo $ECHO_N "(cached) $ECHO_C" >&6
12723fi
12724echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12725echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12726else
12727 # Is the header compilable?
12728echo "$as_me:$LINENO: checking $ac_header usability" >&5
12729echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12730cat >conftest.$ac_ext <<_ACEOF
12731#line $LINENO "configure"
12732/* confdefs.h. */
12733_ACEOF
12734cat confdefs.h >>conftest.$ac_ext
12735cat >>conftest.$ac_ext <<_ACEOF
12736/* end confdefs.h. */
12737$ac_includes_default
12738#include <$ac_header>
12739_ACEOF
12740rm -f conftest.$ac_objext
12741if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12742 (eval $ac_compile) 2>&5
12743 ac_status=$?
12744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12745 (exit $ac_status); } &&
12746 { ac_try='test -s conftest.$ac_objext'
12747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12748 (eval $ac_try) 2>&5
12749 ac_status=$?
12750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12751 (exit $ac_status); }; }; then
12752 ac_header_compiler=yes
12753else
12754 echo "$as_me: failed program was:" >&5
12755sed 's/^/| /' conftest.$ac_ext >&5
12756
12757ac_header_compiler=no
12758fi
12759rm -f conftest.$ac_objext conftest.$ac_ext
12760echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12761echo "${ECHO_T}$ac_header_compiler" >&6
12762
12763# Is the header present?
12764echo "$as_me:$LINENO: checking $ac_header presence" >&5
12765echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12766cat >conftest.$ac_ext <<_ACEOF
12767#line $LINENO "configure"
12768/* confdefs.h. */
12769_ACEOF
12770cat confdefs.h >>conftest.$ac_ext
12771cat >>conftest.$ac_ext <<_ACEOF
12772/* end confdefs.h. */
12773#include <$ac_header>
12774_ACEOF
12775if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12776 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12777 ac_status=$?
12778 grep -v '^ *+' conftest.er1 >conftest.err
12779 rm -f conftest.er1
12780 cat conftest.err >&5
12781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12782 (exit $ac_status); } >/dev/null; then
12783 if test -s conftest.err; then
12784 ac_cpp_err=$ac_c_preproc_warn_flag
12785 else
12786 ac_cpp_err=
12787 fi
12788else
12789 ac_cpp_err=yes
12790fi
12791if test -z "$ac_cpp_err"; then
12792 ac_header_preproc=yes
12793else
12794 echo "$as_me: failed program was:" >&5
12795sed 's/^/| /' conftest.$ac_ext >&5
12796
12797 ac_header_preproc=no
12798fi
12799rm -f conftest.err conftest.$ac_ext
12800echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12801echo "${ECHO_T}$ac_header_preproc" >&6
12802
12803# So? What about this header?
12804case $ac_header_compiler:$ac_header_preproc in
12805 yes:no )
12806 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12807echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12808 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12809echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12810 (
12811 cat <<\_ASBOX
12812## ------------------------------------ ##
12813## Report this to bug-autoconf@gnu.org. ##
12814## ------------------------------------ ##
12815_ASBOX
12816 ) |
12817 sed "s/^/$as_me: WARNING: /" >&2
12818 ;;
12819 no:yes )
12820 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12821echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12822 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12823echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12824 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12825echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12826 (
12827 cat <<\_ASBOX
12828## ------------------------------------ ##
12829## Report this to bug-autoconf@gnu.org. ##
12830## ------------------------------------ ##
12831_ASBOX
12832 ) |
12833 sed "s/^/$as_me: WARNING: /" >&2
12834 ;;
12835esac
12836echo "$as_me:$LINENO: checking for $ac_header" >&5
12837echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12838if eval "test \"\${$as_ac_Header+set}\" = set"; then
12839 echo $ECHO_N "(cached) $ECHO_C" >&6
12840else
12841 eval "$as_ac_Header=$ac_header_preproc"
12842fi
12843echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12844echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12845
12846fi
12847if test `eval echo '${'$as_ac_Header'}'` = yes; then
12848 cat >>confdefs.h <<_ACEOF
12849#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12850_ACEOF
12851
12852fi
12853
12854done
12855
12856
12857if test "$ac_cv_header_wchar_h" != "yes"; then
12858
12859for ac_header in wcstr.h
12860do
12861as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12862if eval "test \"\${$as_ac_Header+set}\" = set"; then
12863 echo "$as_me:$LINENO: checking for $ac_header" >&5
12864echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12865if eval "test \"\${$as_ac_Header+set}\" = set"; then
12866 echo $ECHO_N "(cached) $ECHO_C" >&6
12867fi
12868echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12869echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12870else
12871 # Is the header compilable?
12872echo "$as_me:$LINENO: checking $ac_header usability" >&5
12873echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12874cat >conftest.$ac_ext <<_ACEOF
12875#line $LINENO "configure"
12876/* confdefs.h. */
12877_ACEOF
12878cat confdefs.h >>conftest.$ac_ext
12879cat >>conftest.$ac_ext <<_ACEOF
12880/* end confdefs.h. */
12881$ac_includes_default
12882#include <$ac_header>
12883_ACEOF
12884rm -f conftest.$ac_objext
12885if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12886 (eval $ac_compile) 2>&5
12887 ac_status=$?
12888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12889 (exit $ac_status); } &&
12890 { ac_try='test -s conftest.$ac_objext'
12891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12892 (eval $ac_try) 2>&5
12893 ac_status=$?
12894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12895 (exit $ac_status); }; }; then
12896 ac_header_compiler=yes
12897else
12898 echo "$as_me: failed program was:" >&5
12899sed 's/^/| /' conftest.$ac_ext >&5
12900
12901ac_header_compiler=no
12902fi
12903rm -f conftest.$ac_objext conftest.$ac_ext
12904echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12905echo "${ECHO_T}$ac_header_compiler" >&6
12906
12907# Is the header present?
12908echo "$as_me:$LINENO: checking $ac_header presence" >&5
12909echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12910cat >conftest.$ac_ext <<_ACEOF
12911#line $LINENO "configure"
12912/* confdefs.h. */
12913_ACEOF
12914cat confdefs.h >>conftest.$ac_ext
12915cat >>conftest.$ac_ext <<_ACEOF
12916/* end confdefs.h. */
12917#include <$ac_header>
12918_ACEOF
12919if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12920 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12921 ac_status=$?
12922 grep -v '^ *+' conftest.er1 >conftest.err
12923 rm -f conftest.er1
12924 cat conftest.err >&5
12925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12926 (exit $ac_status); } >/dev/null; then
12927 if test -s conftest.err; then
12928 ac_cpp_err=$ac_c_preproc_warn_flag
12929 else
12930 ac_cpp_err=
12931 fi
12932else
12933 ac_cpp_err=yes
12934fi
12935if test -z "$ac_cpp_err"; then
12936 ac_header_preproc=yes
12937else
12938 echo "$as_me: failed program was:" >&5
12939sed 's/^/| /' conftest.$ac_ext >&5
12940
12941 ac_header_preproc=no
12942fi
12943rm -f conftest.err conftest.$ac_ext
12944echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12945echo "${ECHO_T}$ac_header_preproc" >&6
12946
12947# So? What about this header?
12948case $ac_header_compiler:$ac_header_preproc in
12949 yes:no )
12950 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12951echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12952 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12953echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12954 (
12955 cat <<\_ASBOX
12956## ------------------------------------ ##
12957## Report this to bug-autoconf@gnu.org. ##
12958## ------------------------------------ ##
12959_ASBOX
12960 ) |
12961 sed "s/^/$as_me: WARNING: /" >&2
12962 ;;
12963 no:yes )
12964 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12965echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12966 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12967echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12968 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12969echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12970 (
12971 cat <<\_ASBOX
12972## ------------------------------------ ##
12973## Report this to bug-autoconf@gnu.org. ##
12974## ------------------------------------ ##
12975_ASBOX
12976 ) |
12977 sed "s/^/$as_me: WARNING: /" >&2
12978 ;;
12979esac
12980echo "$as_me:$LINENO: checking for $ac_header" >&5
12981echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12982if eval "test \"\${$as_ac_Header+set}\" = set"; then
12983 echo $ECHO_N "(cached) $ECHO_C" >&6
12984else
12985 eval "$as_ac_Header=$ac_header_preproc"
12986fi
12987echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12988echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12989
12990fi
12991if test `eval echo '${'$as_ac_Header'}'` = yes; then
12992 cat >>confdefs.h <<_ACEOF
12993#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12994_ACEOF
12995
12996fi
12997
12998done
12999
13000fi
13001
13002
13003for ac_header in fnmatch.h
13004do
13005as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13006if eval "test \"\${$as_ac_Header+set}\" = set"; then
13007 echo "$as_me:$LINENO: checking for $ac_header" >&5
13008echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13009if eval "test \"\${$as_ac_Header+set}\" = set"; then
13010 echo $ECHO_N "(cached) $ECHO_C" >&6
13011fi
13012echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13013echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13014else
13015 # Is the header compilable?
13016echo "$as_me:$LINENO: checking $ac_header usability" >&5
13017echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13018cat >conftest.$ac_ext <<_ACEOF
13019#line $LINENO "configure"
13020/* confdefs.h. */
13021_ACEOF
13022cat confdefs.h >>conftest.$ac_ext
13023cat >>conftest.$ac_ext <<_ACEOF
13024/* end confdefs.h. */
13025$ac_includes_default
13026#include <$ac_header>
13027_ACEOF
13028rm -f conftest.$ac_objext
13029if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13030 (eval $ac_compile) 2>&5
13031 ac_status=$?
13032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13033 (exit $ac_status); } &&
13034 { ac_try='test -s conftest.$ac_objext'
13035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13036 (eval $ac_try) 2>&5
13037 ac_status=$?
13038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13039 (exit $ac_status); }; }; then
13040 ac_header_compiler=yes
13041else
13042 echo "$as_me: failed program was:" >&5
13043sed 's/^/| /' conftest.$ac_ext >&5
13044
13045ac_header_compiler=no
13046fi
13047rm -f conftest.$ac_objext conftest.$ac_ext
13048echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13049echo "${ECHO_T}$ac_header_compiler" >&6
13050
13051# Is the header present?
13052echo "$as_me:$LINENO: checking $ac_header presence" >&5
13053echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13054cat >conftest.$ac_ext <<_ACEOF
13055#line $LINENO "configure"
13056/* confdefs.h. */
13057_ACEOF
13058cat confdefs.h >>conftest.$ac_ext
13059cat >>conftest.$ac_ext <<_ACEOF
13060/* end confdefs.h. */
13061#include <$ac_header>
13062_ACEOF
13063if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13064 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13065 ac_status=$?
13066 grep -v '^ *+' conftest.er1 >conftest.err
13067 rm -f conftest.er1
13068 cat conftest.err >&5
13069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13070 (exit $ac_status); } >/dev/null; then
13071 if test -s conftest.err; then
13072 ac_cpp_err=$ac_c_preproc_warn_flag
13073 else
13074 ac_cpp_err=
13075 fi
13076else
13077 ac_cpp_err=yes
13078fi
13079if test -z "$ac_cpp_err"; then
13080 ac_header_preproc=yes
13081else
13082 echo "$as_me: failed program was:" >&5
13083sed 's/^/| /' conftest.$ac_ext >&5
13084
13085 ac_header_preproc=no
13086fi
13087rm -f conftest.err conftest.$ac_ext
13088echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13089echo "${ECHO_T}$ac_header_preproc" >&6
13090
13091# So? What about this header?
13092case $ac_header_compiler:$ac_header_preproc in
13093 yes:no )
13094 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13095echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13096 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13097echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13098 (
13099 cat <<\_ASBOX
13100## ------------------------------------ ##
13101## Report this to bug-autoconf@gnu.org. ##
13102## ------------------------------------ ##
13103_ASBOX
13104 ) |
13105 sed "s/^/$as_me: WARNING: /" >&2
13106 ;;
13107 no:yes )
13108 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13109echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13110 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13111echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13112 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13113echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13114 (
13115 cat <<\_ASBOX
13116## ------------------------------------ ##
13117## Report this to bug-autoconf@gnu.org. ##
13118## ------------------------------------ ##
13119_ASBOX
13120 ) |
13121 sed "s/^/$as_me: WARNING: /" >&2
13122 ;;
13123esac
13124echo "$as_me:$LINENO: checking for $ac_header" >&5
13125echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13126if eval "test \"\${$as_ac_Header+set}\" = set"; then
13127 echo $ECHO_N "(cached) $ECHO_C" >&6
13128else
13129 eval "$as_ac_Header=$ac_header_preproc"
13130fi
13131echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13132echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13133
13134fi
13135if test `eval echo '${'$as_ac_Header'}'` = yes; then
13136 cat >>confdefs.h <<_ACEOF
13137#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13138_ACEOF
13139
13140fi
13141
13142done
13143
13144
13145if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13146
13147for ac_func in fnmatch
13148do
13149as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13150echo "$as_me:$LINENO: checking for $ac_func" >&5
13151echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13152if eval "test \"\${$as_ac_var+set}\" = set"; then
13153 echo $ECHO_N "(cached) $ECHO_C" >&6
13154else
13155 cat >conftest.$ac_ext <<_ACEOF
13156#line $LINENO "configure"
13157/* confdefs.h. */
13158_ACEOF
13159cat confdefs.h >>conftest.$ac_ext
13160cat >>conftest.$ac_ext <<_ACEOF
13161/* end confdefs.h. */
13162/* System header to define __stub macros and hopefully few prototypes,
13163 which can conflict with char $ac_func (); below.
13164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13165 <limits.h> exists even on freestanding compilers. */
13166#ifdef __STDC__
13167# include <limits.h>
13168#else
13169# include <assert.h>
13170#endif
13171/* Override any gcc2 internal prototype to avoid an error. */
13172#ifdef __cplusplus
13173extern "C"
13174{
13175#endif
13176/* We use char because int might match the return type of a gcc2
13177 builtin and then its argument prototype would still apply. */
13178char $ac_func ();
13179/* The GNU C library defines this for functions which it implements
13180 to always fail with ENOSYS. Some functions are actually named
13181 something starting with __ and the normal name is an alias. */
13182#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13183choke me
13184#else
13185char (*f) () = $ac_func;
13186#endif
13187#ifdef __cplusplus
13188}
13189#endif
13190
13191int
13192main ()
13193{
13194return f != $ac_func;
13195 ;
13196 return 0;
13197}
13198_ACEOF
13199rm -f conftest.$ac_objext conftest$ac_exeext
13200if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13201 (eval $ac_link) 2>&5
13202 ac_status=$?
13203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13204 (exit $ac_status); } &&
13205 { ac_try='test -s conftest$ac_exeext'
13206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13207 (eval $ac_try) 2>&5
13208 ac_status=$?
13209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13210 (exit $ac_status); }; }; then
13211 eval "$as_ac_var=yes"
13212else
13213 echo "$as_me: failed program was:" >&5
13214sed 's/^/| /' conftest.$ac_ext >&5
13215
13216eval "$as_ac_var=no"
13217fi
13218rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13219fi
13220echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13221echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13222if test `eval echo '${'$as_ac_var'}'` = yes; then
13223 cat >>confdefs.h <<_ACEOF
13224#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13225_ACEOF
13226
13227fi
13228done
13229
13230fi
13231
13232
13233for ac_header in langinfo.h
13234do
13235as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13236if eval "test \"\${$as_ac_Header+set}\" = set"; then
13237 echo "$as_me:$LINENO: checking for $ac_header" >&5
13238echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13239if eval "test \"\${$as_ac_Header+set}\" = set"; then
13240 echo $ECHO_N "(cached) $ECHO_C" >&6
13241fi
13242echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13243echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13244else
13245 # Is the header compilable?
13246echo "$as_me:$LINENO: checking $ac_header usability" >&5
13247echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13248cat >conftest.$ac_ext <<_ACEOF
13249#line $LINENO "configure"
13250/* confdefs.h. */
13251_ACEOF
13252cat confdefs.h >>conftest.$ac_ext
13253cat >>conftest.$ac_ext <<_ACEOF
13254/* end confdefs.h. */
13255$ac_includes_default
13256#include <$ac_header>
13257_ACEOF
13258rm -f conftest.$ac_objext
13259if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13260 (eval $ac_compile) 2>&5
13261 ac_status=$?
13262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13263 (exit $ac_status); } &&
13264 { ac_try='test -s conftest.$ac_objext'
13265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13266 (eval $ac_try) 2>&5
13267 ac_status=$?
13268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13269 (exit $ac_status); }; }; then
13270 ac_header_compiler=yes
13271else
13272 echo "$as_me: failed program was:" >&5
13273sed 's/^/| /' conftest.$ac_ext >&5
13274
13275ac_header_compiler=no
13276fi
13277rm -f conftest.$ac_objext conftest.$ac_ext
13278echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13279echo "${ECHO_T}$ac_header_compiler" >&6
13280
13281# Is the header present?
13282echo "$as_me:$LINENO: checking $ac_header presence" >&5
13283echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13284cat >conftest.$ac_ext <<_ACEOF
13285#line $LINENO "configure"
13286/* confdefs.h. */
13287_ACEOF
13288cat confdefs.h >>conftest.$ac_ext
13289cat >>conftest.$ac_ext <<_ACEOF
13290/* end confdefs.h. */
13291#include <$ac_header>
13292_ACEOF
13293if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13294 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13295 ac_status=$?
13296 grep -v '^ *+' conftest.er1 >conftest.err
13297 rm -f conftest.er1
13298 cat conftest.err >&5
13299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13300 (exit $ac_status); } >/dev/null; then
13301 if test -s conftest.err; then
13302 ac_cpp_err=$ac_c_preproc_warn_flag
13303 else
13304 ac_cpp_err=
13305 fi
13306else
13307 ac_cpp_err=yes
13308fi
13309if test -z "$ac_cpp_err"; then
13310 ac_header_preproc=yes
13311else
13312 echo "$as_me: failed program was:" >&5
13313sed 's/^/| /' conftest.$ac_ext >&5
13314
13315 ac_header_preproc=no
13316fi
13317rm -f conftest.err conftest.$ac_ext
13318echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13319echo "${ECHO_T}$ac_header_preproc" >&6
13320
13321# So? What about this header?
13322case $ac_header_compiler:$ac_header_preproc in
13323 yes:no )
13324 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13325echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13326 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13327echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13328 (
13329 cat <<\_ASBOX
13330## ------------------------------------ ##
13331## Report this to bug-autoconf@gnu.org. ##
13332## ------------------------------------ ##
13333_ASBOX
13334 ) |
13335 sed "s/^/$as_me: WARNING: /" >&2
13336 ;;
13337 no:yes )
13338 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13339echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13340 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13341echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13342 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13343echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13344 (
13345 cat <<\_ASBOX
13346## ------------------------------------ ##
13347## Report this to bug-autoconf@gnu.org. ##
13348## ------------------------------------ ##
13349_ASBOX
13350 ) |
13351 sed "s/^/$as_me: WARNING: /" >&2
13352 ;;
13353esac
13354echo "$as_me:$LINENO: checking for $ac_header" >&5
13355echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13356if eval "test \"\${$as_ac_Header+set}\" = set"; then
13357 echo $ECHO_N "(cached) $ECHO_C" >&6
13358else
13359 eval "$as_ac_Header=$ac_header_preproc"
13360fi
13361echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13362echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13363
13364fi
13365if test `eval echo '${'$as_ac_Header'}'` = yes; then
13366 cat >>confdefs.h <<_ACEOF
13367#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13368_ACEOF
13369
13370fi
13371
13372done
13373
13374
13375case "${host}" in
13376 *-pc-os2_emx | *-pc-os2-emx )
13377 if test $ac_cv_header_langinfo_h = "yes"; then
13378 LIBS="$LIBS -lintl"
13379 fi
13380 ;;
13381esac
13382
13383if test "$wxUSE_GUI" = "yes"; then
13384 if test "$wxUSE_UNIX" = "yes"; then
13385
13386for ac_header in X11/XKBlib.h
13387do
13388as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13389if eval "test \"\${$as_ac_Header+set}\" = set"; then
13390 echo "$as_me:$LINENO: checking for $ac_header" >&5
13391echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13392if eval "test \"\${$as_ac_Header+set}\" = set"; then
13393 echo $ECHO_N "(cached) $ECHO_C" >&6
13394fi
13395echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13396echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13397else
13398 # Is the header compilable?
13399echo "$as_me:$LINENO: checking $ac_header usability" >&5
13400echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13401cat >conftest.$ac_ext <<_ACEOF
13402#line $LINENO "configure"
13403/* confdefs.h. */
13404_ACEOF
13405cat confdefs.h >>conftest.$ac_ext
13406cat >>conftest.$ac_ext <<_ACEOF
13407/* end confdefs.h. */
13408$ac_includes_default
13409#include <$ac_header>
13410_ACEOF
13411rm -f conftest.$ac_objext
13412if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13413 (eval $ac_compile) 2>&5
13414 ac_status=$?
13415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13416 (exit $ac_status); } &&
13417 { ac_try='test -s conftest.$ac_objext'
13418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13419 (eval $ac_try) 2>&5
13420 ac_status=$?
13421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13422 (exit $ac_status); }; }; then
13423 ac_header_compiler=yes
13424else
13425 echo "$as_me: failed program was:" >&5
13426sed 's/^/| /' conftest.$ac_ext >&5
13427
13428ac_header_compiler=no
13429fi
13430rm -f conftest.$ac_objext conftest.$ac_ext
13431echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13432echo "${ECHO_T}$ac_header_compiler" >&6
13433
13434# Is the header present?
13435echo "$as_me:$LINENO: checking $ac_header presence" >&5
13436echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13437cat >conftest.$ac_ext <<_ACEOF
13438#line $LINENO "configure"
13439/* confdefs.h. */
13440_ACEOF
13441cat confdefs.h >>conftest.$ac_ext
13442cat >>conftest.$ac_ext <<_ACEOF
13443/* end confdefs.h. */
13444#include <$ac_header>
13445_ACEOF
13446if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13447 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13448 ac_status=$?
13449 grep -v '^ *+' conftest.er1 >conftest.err
13450 rm -f conftest.er1
13451 cat conftest.err >&5
13452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13453 (exit $ac_status); } >/dev/null; then
13454 if test -s conftest.err; then
13455 ac_cpp_err=$ac_c_preproc_warn_flag
13456 else
13457 ac_cpp_err=
13458 fi
13459else
13460 ac_cpp_err=yes
13461fi
13462if test -z "$ac_cpp_err"; then
13463 ac_header_preproc=yes
13464else
13465 echo "$as_me: failed program was:" >&5
13466sed 's/^/| /' conftest.$ac_ext >&5
13467
13468 ac_header_preproc=no
13469fi
13470rm -f conftest.err conftest.$ac_ext
13471echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13472echo "${ECHO_T}$ac_header_preproc" >&6
13473
13474# So? What about this header?
13475case $ac_header_compiler:$ac_header_preproc in
13476 yes:no )
13477 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13478echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13479 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13480echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13481 (
13482 cat <<\_ASBOX
13483## ------------------------------------ ##
13484## Report this to bug-autoconf@gnu.org. ##
13485## ------------------------------------ ##
13486_ASBOX
13487 ) |
13488 sed "s/^/$as_me: WARNING: /" >&2
13489 ;;
13490 no:yes )
13491 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13492echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13493 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13494echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13495 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13496echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13497 (
13498 cat <<\_ASBOX
13499## ------------------------------------ ##
13500## Report this to bug-autoconf@gnu.org. ##
13501## ------------------------------------ ##
13502_ASBOX
13503 ) |
13504 sed "s/^/$as_me: WARNING: /" >&2
13505 ;;
13506esac
13507echo "$as_me:$LINENO: checking for $ac_header" >&5
13508echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13509if eval "test \"\${$as_ac_Header+set}\" = set"; then
13510 echo $ECHO_N "(cached) $ECHO_C" >&6
13511else
13512 eval "$as_ac_Header=$ac_header_preproc"
13513fi
13514echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13515echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13516
13517fi
13518if test `eval echo '${'$as_ac_Header'}'` = yes; then
13519 cat >>confdefs.h <<_ACEOF
13520#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13521_ACEOF
13522
13523fi
13524
13525done
13526
13527 fi
13528fi
13529
13530
13531echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13532echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13533if test "${ac_cv_c_const+set}" = set; then
13534 echo $ECHO_N "(cached) $ECHO_C" >&6
13535else
13536 cat >conftest.$ac_ext <<_ACEOF
13537#line $LINENO "configure"
13538/* confdefs.h. */
13539_ACEOF
13540cat confdefs.h >>conftest.$ac_ext
13541cat >>conftest.$ac_ext <<_ACEOF
13542/* end confdefs.h. */
13543
13544int
13545main ()
13546{
13547/* FIXME: Include the comments suggested by Paul. */
13548#ifndef __cplusplus
13549 /* Ultrix mips cc rejects this. */
13550 typedef int charset[2];
13551 const charset x;
13552 /* SunOS 4.1.1 cc rejects this. */
13553 char const *const *ccp;
13554 char **p;
13555 /* NEC SVR4.0.2 mips cc rejects this. */
13556 struct point {int x, y;};
13557 static struct point const zero = {0,0};
13558 /* AIX XL C 1.02.0.0 rejects this.
13559 It does not let you subtract one const X* pointer from another in
13560 an arm of an if-expression whose if-part is not a constant
13561 expression */
13562 const char *g = "string";
13563 ccp = &g + (g ? g-g : 0);
13564 /* HPUX 7.0 cc rejects these. */
13565 ++ccp;
13566 p = (char**) ccp;
13567 ccp = (char const *const *) p;
13568 { /* SCO 3.2v4 cc rejects this. */
13569 char *t;
13570 char const *s = 0 ? (char *) 0 : (char const *) 0;
13571
13572 *t++ = 0;
13573 }
13574 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13575 int x[] = {25, 17};
13576 const int *foo = &x[0];
13577 ++foo;
13578 }
13579 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13580 typedef const int *iptr;
13581 iptr p = 0;
13582 ++p;
13583 }
13584 { /* AIX XL C 1.02.0.0 rejects this saying
13585 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13586 struct s { int j; const int *ap[3]; };
13587 struct s *b; b->j = 5;
13588 }
13589 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13590 const int foo = 10;
13591 }
13592#endif
13593
13594 ;
13595 return 0;
13596}
13597_ACEOF
13598rm -f conftest.$ac_objext
13599if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13600 (eval $ac_compile) 2>&5
13601 ac_status=$?
13602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13603 (exit $ac_status); } &&
13604 { ac_try='test -s conftest.$ac_objext'
13605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13606 (eval $ac_try) 2>&5
13607 ac_status=$?
13608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13609 (exit $ac_status); }; }; then
13610 ac_cv_c_const=yes
13611else
13612 echo "$as_me: failed program was:" >&5
13613sed 's/^/| /' conftest.$ac_ext >&5
13614
13615ac_cv_c_const=no
13616fi
13617rm -f conftest.$ac_objext conftest.$ac_ext
13618fi
13619echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13620echo "${ECHO_T}$ac_cv_c_const" >&6
13621if test $ac_cv_c_const = no; then
13622
13623cat >>confdefs.h <<\_ACEOF
13624#define const
13625_ACEOF
13626
13627fi
13628
13629echo "$as_me:$LINENO: checking for inline" >&5
13630echo $ECHO_N "checking for inline... $ECHO_C" >&6
13631if test "${ac_cv_c_inline+set}" = set; then
13632 echo $ECHO_N "(cached) $ECHO_C" >&6
13633else
13634 ac_cv_c_inline=no
13635for ac_kw in inline __inline__ __inline; do
13636 cat >conftest.$ac_ext <<_ACEOF
13637#line $LINENO "configure"
13638/* confdefs.h. */
13639_ACEOF
13640cat confdefs.h >>conftest.$ac_ext
13641cat >>conftest.$ac_ext <<_ACEOF
13642/* end confdefs.h. */
13643#ifndef __cplusplus
13644typedef int foo_t;
13645static $ac_kw foo_t static_foo () {return 0; }
13646$ac_kw foo_t foo () {return 0; }
13647#endif
13648
13649_ACEOF
13650rm -f conftest.$ac_objext
13651if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13652 (eval $ac_compile) 2>&5
13653 ac_status=$?
13654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13655 (exit $ac_status); } &&
13656 { ac_try='test -s conftest.$ac_objext'
13657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13658 (eval $ac_try) 2>&5
13659 ac_status=$?
13660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13661 (exit $ac_status); }; }; then
13662 ac_cv_c_inline=$ac_kw; break
13663else
13664 echo "$as_me: failed program was:" >&5
13665sed 's/^/| /' conftest.$ac_ext >&5
13666
13667fi
13668rm -f conftest.$ac_objext conftest.$ac_ext
13669done
13670
13671fi
13672echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13673echo "${ECHO_T}$ac_cv_c_inline" >&6
13674case $ac_cv_c_inline in
13675 inline | yes) ;;
13676 no)
13677cat >>confdefs.h <<\_ACEOF
13678#define inline
13679_ACEOF
13680 ;;
13681 *) cat >>confdefs.h <<_ACEOF
13682#define inline $ac_cv_c_inline
13683_ACEOF
13684 ;;
13685esac
13686
13687
13688echo "$as_me:$LINENO: checking for char" >&5
13689echo $ECHO_N "checking for char... $ECHO_C" >&6
13690if test "${ac_cv_type_char+set}" = set; then
13691 echo $ECHO_N "(cached) $ECHO_C" >&6
13692else
13693 cat >conftest.$ac_ext <<_ACEOF
13694#line $LINENO "configure"
13695/* confdefs.h. */
13696_ACEOF
13697cat confdefs.h >>conftest.$ac_ext
13698cat >>conftest.$ac_ext <<_ACEOF
13699/* end confdefs.h. */
13700$ac_includes_default
13701int
13702main ()
13703{
13704if ((char *) 0)
13705 return 0;
13706if (sizeof (char))
13707 return 0;
13708 ;
13709 return 0;
13710}
13711_ACEOF
13712rm -f conftest.$ac_objext
13713if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13714 (eval $ac_compile) 2>&5
13715 ac_status=$?
13716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13717 (exit $ac_status); } &&
13718 { ac_try='test -s conftest.$ac_objext'
13719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13720 (eval $ac_try) 2>&5
13721 ac_status=$?
13722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13723 (exit $ac_status); }; }; then
13724 ac_cv_type_char=yes
13725else
13726 echo "$as_me: failed program was:" >&5
13727sed 's/^/| /' conftest.$ac_ext >&5
13728
13729ac_cv_type_char=no
13730fi
13731rm -f conftest.$ac_objext conftest.$ac_ext
13732fi
13733echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13734echo "${ECHO_T}$ac_cv_type_char" >&6
13735
13736echo "$as_me:$LINENO: checking size of char" >&5
13737echo $ECHO_N "checking size of char... $ECHO_C" >&6
13738if test "${ac_cv_sizeof_char+set}" = set; then
13739 echo $ECHO_N "(cached) $ECHO_C" >&6
13740else
13741 if test "$ac_cv_type_char" = yes; then
13742 # The cast to unsigned long works around a bug in the HP C Compiler
13743 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13744 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13745 # This bug is HP SR number 8606223364.
13746 if test "$cross_compiling" = yes; then
13747 # Depending upon the size, compute the lo and hi bounds.
13748cat >conftest.$ac_ext <<_ACEOF
13749#line $LINENO "configure"
13750/* confdefs.h. */
13751_ACEOF
13752cat confdefs.h >>conftest.$ac_ext
13753cat >>conftest.$ac_ext <<_ACEOF
13754/* end confdefs.h. */
13755$ac_includes_default
13756int
13757main ()
13758{
13759static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13760test_array [0] = 0
13761
13762 ;
13763 return 0;
13764}
13765_ACEOF
13766rm -f conftest.$ac_objext
13767if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13768 (eval $ac_compile) 2>&5
13769 ac_status=$?
13770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13771 (exit $ac_status); } &&
13772 { ac_try='test -s conftest.$ac_objext'
13773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13774 (eval $ac_try) 2>&5
13775 ac_status=$?
13776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13777 (exit $ac_status); }; }; then
13778 ac_lo=0 ac_mid=0
13779 while :; do
13780 cat >conftest.$ac_ext <<_ACEOF
13781#line $LINENO "configure"
13782/* confdefs.h. */
13783_ACEOF
13784cat confdefs.h >>conftest.$ac_ext
13785cat >>conftest.$ac_ext <<_ACEOF
13786/* end confdefs.h. */
13787$ac_includes_default
13788int
13789main ()
13790{
13791static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13792test_array [0] = 0
13793
13794 ;
13795 return 0;
13796}
13797_ACEOF
13798rm -f conftest.$ac_objext
13799if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13800 (eval $ac_compile) 2>&5
13801 ac_status=$?
13802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13803 (exit $ac_status); } &&
13804 { ac_try='test -s conftest.$ac_objext'
13805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13806 (eval $ac_try) 2>&5
13807 ac_status=$?
13808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13809 (exit $ac_status); }; }; then
13810 ac_hi=$ac_mid; break
13811else
13812 echo "$as_me: failed program was:" >&5
13813sed 's/^/| /' conftest.$ac_ext >&5
13814
13815ac_lo=`expr $ac_mid + 1`
13816 if test $ac_lo -le $ac_mid; then
13817 ac_lo= ac_hi=
13818 break
13819 fi
13820 ac_mid=`expr 2 '*' $ac_mid + 1`
13821fi
13822rm -f conftest.$ac_objext conftest.$ac_ext
13823 done
13824else
13825 echo "$as_me: failed program was:" >&5
13826sed 's/^/| /' conftest.$ac_ext >&5
13827
13828cat >conftest.$ac_ext <<_ACEOF
13829#line $LINENO "configure"
13830/* confdefs.h. */
13831_ACEOF
13832cat confdefs.h >>conftest.$ac_ext
13833cat >>conftest.$ac_ext <<_ACEOF
13834/* end confdefs.h. */
13835$ac_includes_default
13836int
13837main ()
13838{
13839static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13840test_array [0] = 0
13841
13842 ;
13843 return 0;
13844}
13845_ACEOF
13846rm -f conftest.$ac_objext
13847if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13848 (eval $ac_compile) 2>&5
13849 ac_status=$?
13850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13851 (exit $ac_status); } &&
13852 { ac_try='test -s conftest.$ac_objext'
13853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13854 (eval $ac_try) 2>&5
13855 ac_status=$?
13856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13857 (exit $ac_status); }; }; then
13858 ac_hi=-1 ac_mid=-1
13859 while :; do
13860 cat >conftest.$ac_ext <<_ACEOF
13861#line $LINENO "configure"
13862/* confdefs.h. */
13863_ACEOF
13864cat confdefs.h >>conftest.$ac_ext
13865cat >>conftest.$ac_ext <<_ACEOF
13866/* end confdefs.h. */
13867$ac_includes_default
13868int
13869main ()
13870{
13871static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13872test_array [0] = 0
13873
13874 ;
13875 return 0;
13876}
13877_ACEOF
13878rm -f conftest.$ac_objext
13879if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13880 (eval $ac_compile) 2>&5
13881 ac_status=$?
13882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13883 (exit $ac_status); } &&
13884 { ac_try='test -s conftest.$ac_objext'
13885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13886 (eval $ac_try) 2>&5
13887 ac_status=$?
13888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13889 (exit $ac_status); }; }; then
13890 ac_lo=$ac_mid; break
13891else
13892 echo "$as_me: failed program was:" >&5
13893sed 's/^/| /' conftest.$ac_ext >&5
13894
13895ac_hi=`expr '(' $ac_mid ')' - 1`
13896 if test $ac_mid -le $ac_hi; then
13897 ac_lo= ac_hi=
13898 break
13899 fi
13900 ac_mid=`expr 2 '*' $ac_mid`
13901fi
13902rm -f conftest.$ac_objext conftest.$ac_ext
13903 done
13904else
13905 echo "$as_me: failed program was:" >&5
13906sed 's/^/| /' conftest.$ac_ext >&5
13907
13908ac_lo= ac_hi=
13909fi
13910rm -f conftest.$ac_objext conftest.$ac_ext
13911fi
13912rm -f conftest.$ac_objext conftest.$ac_ext
13913# Binary search between lo and hi bounds.
13914while test "x$ac_lo" != "x$ac_hi"; do
13915 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13916 cat >conftest.$ac_ext <<_ACEOF
13917#line $LINENO "configure"
13918/* confdefs.h. */
13919_ACEOF
13920cat confdefs.h >>conftest.$ac_ext
13921cat >>conftest.$ac_ext <<_ACEOF
13922/* end confdefs.h. */
13923$ac_includes_default
13924int
13925main ()
13926{
13927static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13928test_array [0] = 0
13929
13930 ;
13931 return 0;
13932}
13933_ACEOF
13934rm -f conftest.$ac_objext
13935if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13936 (eval $ac_compile) 2>&5
13937 ac_status=$?
13938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13939 (exit $ac_status); } &&
13940 { ac_try='test -s conftest.$ac_objext'
13941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13942 (eval $ac_try) 2>&5
13943 ac_status=$?
13944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13945 (exit $ac_status); }; }; then
13946 ac_hi=$ac_mid
13947else
13948 echo "$as_me: failed program was:" >&5
13949sed 's/^/| /' conftest.$ac_ext >&5
13950
13951ac_lo=`expr '(' $ac_mid ')' + 1`
13952fi
13953rm -f conftest.$ac_objext conftest.$ac_ext
13954done
13955case $ac_lo in
13956?*) ac_cv_sizeof_char=$ac_lo;;
13957'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13958See \`config.log' for more details." >&5
13959echo "$as_me: error: cannot compute sizeof (char), 77
13960See \`config.log' for more details." >&2;}
13961 { (exit 1); exit 1; }; } ;;
13962esac
13963else
13964 if test "$cross_compiling" = yes; then
13965 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13966See \`config.log' for more details." >&5
13967echo "$as_me: error: cannot run test program while cross compiling
13968See \`config.log' for more details." >&2;}
13969 { (exit 1); exit 1; }; }
13970else
13971 cat >conftest.$ac_ext <<_ACEOF
13972#line $LINENO "configure"
13973/* confdefs.h. */
13974_ACEOF
13975cat confdefs.h >>conftest.$ac_ext
13976cat >>conftest.$ac_ext <<_ACEOF
13977/* end confdefs.h. */
13978$ac_includes_default
13979long longval () { return (long) (sizeof (char)); }
13980unsigned long ulongval () { return (long) (sizeof (char)); }
13981#include <stdio.h>
13982#include <stdlib.h>
13983int
13984main ()
13985{
13986
13987 FILE *f = fopen ("conftest.val", "w");
13988 if (! f)
13989 exit (1);
13990 if (((long) (sizeof (char))) < 0)
13991 {
13992 long i = longval ();
13993 if (i != ((long) (sizeof (char))))
13994 exit (1);
13995 fprintf (f, "%ld\n", i);
13996 }
13997 else
13998 {
13999 unsigned long i = ulongval ();
14000 if (i != ((long) (sizeof (char))))
14001 exit (1);
14002 fprintf (f, "%lu\n", i);
14003 }
14004 exit (ferror (f) || fclose (f) != 0);
14005
14006 ;
14007 return 0;
14008}
14009_ACEOF
14010rm -f conftest$ac_exeext
14011if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14012 (eval $ac_link) 2>&5
14013 ac_status=$?
14014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14015 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14017 (eval $ac_try) 2>&5
14018 ac_status=$?
14019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14020 (exit $ac_status); }; }; then
14021 ac_cv_sizeof_char=`cat conftest.val`
14022else
14023 echo "$as_me: program exited with status $ac_status" >&5
14024echo "$as_me: failed program was:" >&5
14025sed 's/^/| /' conftest.$ac_ext >&5
14026
14027( exit $ac_status )
14028{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14029See \`config.log' for more details." >&5
14030echo "$as_me: error: cannot compute sizeof (char), 77
14031See \`config.log' for more details." >&2;}
14032 { (exit 1); exit 1; }; }
14033fi
14034rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14035fi
14036fi
14037rm -f conftest.val
14038else
14039 ac_cv_sizeof_char=0
14040fi
14041fi
14042echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14043echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14044cat >>confdefs.h <<_ACEOF
14045#define SIZEOF_CHAR $ac_cv_sizeof_char
14046_ACEOF
14047
14048
14049echo "$as_me:$LINENO: checking for short" >&5
14050echo $ECHO_N "checking for short... $ECHO_C" >&6
14051if test "${ac_cv_type_short+set}" = set; then
14052 echo $ECHO_N "(cached) $ECHO_C" >&6
14053else
14054 cat >conftest.$ac_ext <<_ACEOF
14055#line $LINENO "configure"
14056/* confdefs.h. */
14057_ACEOF
14058cat confdefs.h >>conftest.$ac_ext
14059cat >>conftest.$ac_ext <<_ACEOF
14060/* end confdefs.h. */
14061$ac_includes_default
14062int
14063main ()
14064{
14065if ((short *) 0)
14066 return 0;
14067if (sizeof (short))
14068 return 0;
14069 ;
14070 return 0;
14071}
14072_ACEOF
14073rm -f conftest.$ac_objext
14074if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14075 (eval $ac_compile) 2>&5
14076 ac_status=$?
14077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14078 (exit $ac_status); } &&
14079 { ac_try='test -s conftest.$ac_objext'
14080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14081 (eval $ac_try) 2>&5
14082 ac_status=$?
14083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14084 (exit $ac_status); }; }; then
14085 ac_cv_type_short=yes
14086else
14087 echo "$as_me: failed program was:" >&5
14088sed 's/^/| /' conftest.$ac_ext >&5
14089
14090ac_cv_type_short=no
14091fi
14092rm -f conftest.$ac_objext conftest.$ac_ext
14093fi
14094echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14095echo "${ECHO_T}$ac_cv_type_short" >&6
14096
14097echo "$as_me:$LINENO: checking size of short" >&5
14098echo $ECHO_N "checking size of short... $ECHO_C" >&6
14099if test "${ac_cv_sizeof_short+set}" = set; then
14100 echo $ECHO_N "(cached) $ECHO_C" >&6
14101else
14102 if test "$ac_cv_type_short" = yes; then
14103 # The cast to unsigned long works around a bug in the HP C Compiler
14104 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14105 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14106 # This bug is HP SR number 8606223364.
14107 if test "$cross_compiling" = yes; then
14108 # Depending upon the size, compute the lo and hi bounds.
14109cat >conftest.$ac_ext <<_ACEOF
14110#line $LINENO "configure"
14111/* confdefs.h. */
14112_ACEOF
14113cat confdefs.h >>conftest.$ac_ext
14114cat >>conftest.$ac_ext <<_ACEOF
14115/* end confdefs.h. */
14116$ac_includes_default
14117int
14118main ()
14119{
14120static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14121test_array [0] = 0
14122
14123 ;
14124 return 0;
14125}
14126_ACEOF
14127rm -f conftest.$ac_objext
14128if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14129 (eval $ac_compile) 2>&5
14130 ac_status=$?
14131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14132 (exit $ac_status); } &&
14133 { ac_try='test -s conftest.$ac_objext'
14134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14135 (eval $ac_try) 2>&5
14136 ac_status=$?
14137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14138 (exit $ac_status); }; }; then
14139 ac_lo=0 ac_mid=0
14140 while :; do
14141 cat >conftest.$ac_ext <<_ACEOF
14142#line $LINENO "configure"
14143/* confdefs.h. */
14144_ACEOF
14145cat confdefs.h >>conftest.$ac_ext
14146cat >>conftest.$ac_ext <<_ACEOF
14147/* end confdefs.h. */
14148$ac_includes_default
14149int
14150main ()
14151{
14152static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14153test_array [0] = 0
14154
14155 ;
14156 return 0;
14157}
14158_ACEOF
14159rm -f conftest.$ac_objext
14160if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14161 (eval $ac_compile) 2>&5
14162 ac_status=$?
14163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14164 (exit $ac_status); } &&
14165 { ac_try='test -s conftest.$ac_objext'
14166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14167 (eval $ac_try) 2>&5
14168 ac_status=$?
14169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14170 (exit $ac_status); }; }; then
14171 ac_hi=$ac_mid; break
14172else
14173 echo "$as_me: failed program was:" >&5
14174sed 's/^/| /' conftest.$ac_ext >&5
14175
14176ac_lo=`expr $ac_mid + 1`
14177 if test $ac_lo -le $ac_mid; then
14178 ac_lo= ac_hi=
14179 break
14180 fi
14181 ac_mid=`expr 2 '*' $ac_mid + 1`
14182fi
14183rm -f conftest.$ac_objext conftest.$ac_ext
14184 done
14185else
14186 echo "$as_me: failed program was:" >&5
14187sed 's/^/| /' conftest.$ac_ext >&5
14188
14189cat >conftest.$ac_ext <<_ACEOF
14190#line $LINENO "configure"
14191/* confdefs.h. */
14192_ACEOF
14193cat confdefs.h >>conftest.$ac_ext
14194cat >>conftest.$ac_ext <<_ACEOF
14195/* end confdefs.h. */
14196$ac_includes_default
14197int
14198main ()
14199{
14200static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14201test_array [0] = 0
14202
14203 ;
14204 return 0;
14205}
14206_ACEOF
14207rm -f conftest.$ac_objext
14208if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14209 (eval $ac_compile) 2>&5
14210 ac_status=$?
14211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14212 (exit $ac_status); } &&
14213 { ac_try='test -s conftest.$ac_objext'
14214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14215 (eval $ac_try) 2>&5
14216 ac_status=$?
14217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14218 (exit $ac_status); }; }; then
14219 ac_hi=-1 ac_mid=-1
14220 while :; do
14221 cat >conftest.$ac_ext <<_ACEOF
14222#line $LINENO "configure"
14223/* confdefs.h. */
14224_ACEOF
14225cat confdefs.h >>conftest.$ac_ext
14226cat >>conftest.$ac_ext <<_ACEOF
14227/* end confdefs.h. */
14228$ac_includes_default
14229int
14230main ()
14231{
14232static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14233test_array [0] = 0
14234
14235 ;
14236 return 0;
14237}
14238_ACEOF
14239rm -f conftest.$ac_objext
14240if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14241 (eval $ac_compile) 2>&5
14242 ac_status=$?
14243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14244 (exit $ac_status); } &&
14245 { ac_try='test -s conftest.$ac_objext'
14246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14247 (eval $ac_try) 2>&5
14248 ac_status=$?
14249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14250 (exit $ac_status); }; }; then
14251 ac_lo=$ac_mid; break
14252else
14253 echo "$as_me: failed program was:" >&5
14254sed 's/^/| /' conftest.$ac_ext >&5
14255
14256ac_hi=`expr '(' $ac_mid ')' - 1`
14257 if test $ac_mid -le $ac_hi; then
14258 ac_lo= ac_hi=
14259 break
14260 fi
14261 ac_mid=`expr 2 '*' $ac_mid`
14262fi
14263rm -f conftest.$ac_objext conftest.$ac_ext
14264 done
14265else
14266 echo "$as_me: failed program was:" >&5
14267sed 's/^/| /' conftest.$ac_ext >&5
14268
14269ac_lo= ac_hi=
14270fi
14271rm -f conftest.$ac_objext conftest.$ac_ext
14272fi
14273rm -f conftest.$ac_objext conftest.$ac_ext
14274# Binary search between lo and hi bounds.
14275while test "x$ac_lo" != "x$ac_hi"; do
14276 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14277 cat >conftest.$ac_ext <<_ACEOF
14278#line $LINENO "configure"
14279/* confdefs.h. */
14280_ACEOF
14281cat confdefs.h >>conftest.$ac_ext
14282cat >>conftest.$ac_ext <<_ACEOF
14283/* end confdefs.h. */
14284$ac_includes_default
14285int
14286main ()
14287{
14288static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14289test_array [0] = 0
14290
14291 ;
14292 return 0;
14293}
14294_ACEOF
14295rm -f conftest.$ac_objext
14296if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14297 (eval $ac_compile) 2>&5
14298 ac_status=$?
14299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14300 (exit $ac_status); } &&
14301 { ac_try='test -s conftest.$ac_objext'
14302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14303 (eval $ac_try) 2>&5
14304 ac_status=$?
14305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14306 (exit $ac_status); }; }; then
14307 ac_hi=$ac_mid
14308else
14309 echo "$as_me: failed program was:" >&5
14310sed 's/^/| /' conftest.$ac_ext >&5
14311
14312ac_lo=`expr '(' $ac_mid ')' + 1`
14313fi
14314rm -f conftest.$ac_objext conftest.$ac_ext
14315done
14316case $ac_lo in
14317?*) ac_cv_sizeof_short=$ac_lo;;
14318'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14319See \`config.log' for more details." >&5
14320echo "$as_me: error: cannot compute sizeof (short), 77
14321See \`config.log' for more details." >&2;}
14322 { (exit 1); exit 1; }; } ;;
14323esac
14324else
14325 if test "$cross_compiling" = yes; then
14326 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14327See \`config.log' for more details." >&5
14328echo "$as_me: error: cannot run test program while cross compiling
14329See \`config.log' for more details." >&2;}
14330 { (exit 1); exit 1; }; }
14331else
14332 cat >conftest.$ac_ext <<_ACEOF
14333#line $LINENO "configure"
14334/* confdefs.h. */
14335_ACEOF
14336cat confdefs.h >>conftest.$ac_ext
14337cat >>conftest.$ac_ext <<_ACEOF
14338/* end confdefs.h. */
14339$ac_includes_default
14340long longval () { return (long) (sizeof (short)); }
14341unsigned long ulongval () { return (long) (sizeof (short)); }
14342#include <stdio.h>
14343#include <stdlib.h>
14344int
14345main ()
14346{
14347
14348 FILE *f = fopen ("conftest.val", "w");
14349 if (! f)
14350 exit (1);
14351 if (((long) (sizeof (short))) < 0)
14352 {
14353 long i = longval ();
14354 if (i != ((long) (sizeof (short))))
14355 exit (1);
14356 fprintf (f, "%ld\n", i);
14357 }
14358 else
14359 {
14360 unsigned long i = ulongval ();
14361 if (i != ((long) (sizeof (short))))
14362 exit (1);
14363 fprintf (f, "%lu\n", i);
14364 }
14365 exit (ferror (f) || fclose (f) != 0);
14366
14367 ;
14368 return 0;
14369}
14370_ACEOF
14371rm -f conftest$ac_exeext
14372if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14373 (eval $ac_link) 2>&5
14374 ac_status=$?
14375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14376 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14378 (eval $ac_try) 2>&5
14379 ac_status=$?
14380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14381 (exit $ac_status); }; }; then
14382 ac_cv_sizeof_short=`cat conftest.val`
14383else
14384 echo "$as_me: program exited with status $ac_status" >&5
14385echo "$as_me: failed program was:" >&5
14386sed 's/^/| /' conftest.$ac_ext >&5
14387
14388( exit $ac_status )
14389{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14390See \`config.log' for more details." >&5
14391echo "$as_me: error: cannot compute sizeof (short), 77
14392See \`config.log' for more details." >&2;}
14393 { (exit 1); exit 1; }; }
14394fi
14395rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14396fi
14397fi
14398rm -f conftest.val
14399else
14400 ac_cv_sizeof_short=0
14401fi
14402fi
14403echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14404echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14405cat >>confdefs.h <<_ACEOF
14406#define SIZEOF_SHORT $ac_cv_sizeof_short
14407_ACEOF
14408
14409
14410echo "$as_me:$LINENO: checking for void *" >&5
14411echo $ECHO_N "checking for void *... $ECHO_C" >&6
14412if test "${ac_cv_type_void_p+set}" = set; then
14413 echo $ECHO_N "(cached) $ECHO_C" >&6
14414else
14415 cat >conftest.$ac_ext <<_ACEOF
14416#line $LINENO "configure"
14417/* confdefs.h. */
14418_ACEOF
14419cat confdefs.h >>conftest.$ac_ext
14420cat >>conftest.$ac_ext <<_ACEOF
14421/* end confdefs.h. */
14422$ac_includes_default
14423int
14424main ()
14425{
14426if ((void * *) 0)
14427 return 0;
14428if (sizeof (void *))
14429 return 0;
14430 ;
14431 return 0;
14432}
14433_ACEOF
14434rm -f conftest.$ac_objext
14435if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14436 (eval $ac_compile) 2>&5
14437 ac_status=$?
14438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14439 (exit $ac_status); } &&
14440 { ac_try='test -s conftest.$ac_objext'
14441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14442 (eval $ac_try) 2>&5
14443 ac_status=$?
14444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14445 (exit $ac_status); }; }; then
14446 ac_cv_type_void_p=yes
14447else
14448 echo "$as_me: failed program was:" >&5
14449sed 's/^/| /' conftest.$ac_ext >&5
14450
14451ac_cv_type_void_p=no
14452fi
14453rm -f conftest.$ac_objext conftest.$ac_ext
14454fi
14455echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14456echo "${ECHO_T}$ac_cv_type_void_p" >&6
14457
14458echo "$as_me:$LINENO: checking size of void *" >&5
14459echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14460if test "${ac_cv_sizeof_void_p+set}" = set; then
14461 echo $ECHO_N "(cached) $ECHO_C" >&6
14462else
14463 if test "$ac_cv_type_void_p" = yes; then
14464 # The cast to unsigned long works around a bug in the HP C Compiler
14465 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14466 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14467 # This bug is HP SR number 8606223364.
14468 if test "$cross_compiling" = yes; then
14469 # Depending upon the size, compute the lo and hi bounds.
14470cat >conftest.$ac_ext <<_ACEOF
14471#line $LINENO "configure"
14472/* confdefs.h. */
14473_ACEOF
14474cat confdefs.h >>conftest.$ac_ext
14475cat >>conftest.$ac_ext <<_ACEOF
14476/* end confdefs.h. */
14477$ac_includes_default
14478int
14479main ()
14480{
14481static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14482test_array [0] = 0
14483
14484 ;
14485 return 0;
14486}
14487_ACEOF
14488rm -f conftest.$ac_objext
14489if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14490 (eval $ac_compile) 2>&5
14491 ac_status=$?
14492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14493 (exit $ac_status); } &&
14494 { ac_try='test -s conftest.$ac_objext'
14495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14496 (eval $ac_try) 2>&5
14497 ac_status=$?
14498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14499 (exit $ac_status); }; }; then
14500 ac_lo=0 ac_mid=0
14501 while :; do
14502 cat >conftest.$ac_ext <<_ACEOF
14503#line $LINENO "configure"
14504/* confdefs.h. */
14505_ACEOF
14506cat confdefs.h >>conftest.$ac_ext
14507cat >>conftest.$ac_ext <<_ACEOF
14508/* end confdefs.h. */
14509$ac_includes_default
14510int
14511main ()
14512{
14513static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14514test_array [0] = 0
14515
14516 ;
14517 return 0;
14518}
14519_ACEOF
14520rm -f conftest.$ac_objext
14521if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14522 (eval $ac_compile) 2>&5
14523 ac_status=$?
14524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14525 (exit $ac_status); } &&
14526 { ac_try='test -s conftest.$ac_objext'
14527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14528 (eval $ac_try) 2>&5
14529 ac_status=$?
14530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14531 (exit $ac_status); }; }; then
14532 ac_hi=$ac_mid; break
14533else
14534 echo "$as_me: failed program was:" >&5
14535sed 's/^/| /' conftest.$ac_ext >&5
14536
14537ac_lo=`expr $ac_mid + 1`
14538 if test $ac_lo -le $ac_mid; then
14539 ac_lo= ac_hi=
14540 break
14541 fi
14542 ac_mid=`expr 2 '*' $ac_mid + 1`
14543fi
14544rm -f conftest.$ac_objext conftest.$ac_ext
14545 done
14546else
14547 echo "$as_me: failed program was:" >&5
14548sed 's/^/| /' conftest.$ac_ext >&5
14549
14550cat >conftest.$ac_ext <<_ACEOF
14551#line $LINENO "configure"
14552/* confdefs.h. */
14553_ACEOF
14554cat confdefs.h >>conftest.$ac_ext
14555cat >>conftest.$ac_ext <<_ACEOF
14556/* end confdefs.h. */
14557$ac_includes_default
14558int
14559main ()
14560{
14561static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14562test_array [0] = 0
14563
14564 ;
14565 return 0;
14566}
14567_ACEOF
14568rm -f conftest.$ac_objext
14569if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14570 (eval $ac_compile) 2>&5
14571 ac_status=$?
14572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14573 (exit $ac_status); } &&
14574 { ac_try='test -s conftest.$ac_objext'
14575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14576 (eval $ac_try) 2>&5
14577 ac_status=$?
14578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579 (exit $ac_status); }; }; then
14580 ac_hi=-1 ac_mid=-1
14581 while :; do
14582 cat >conftest.$ac_ext <<_ACEOF
14583#line $LINENO "configure"
14584/* confdefs.h. */
14585_ACEOF
14586cat confdefs.h >>conftest.$ac_ext
14587cat >>conftest.$ac_ext <<_ACEOF
14588/* end confdefs.h. */
14589$ac_includes_default
14590int
14591main ()
14592{
14593static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14594test_array [0] = 0
14595
14596 ;
14597 return 0;
14598}
14599_ACEOF
14600rm -f conftest.$ac_objext
14601if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14602 (eval $ac_compile) 2>&5
14603 ac_status=$?
14604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14605 (exit $ac_status); } &&
14606 { ac_try='test -s conftest.$ac_objext'
14607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14608 (eval $ac_try) 2>&5
14609 ac_status=$?
14610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14611 (exit $ac_status); }; }; then
14612 ac_lo=$ac_mid; break
14613else
14614 echo "$as_me: failed program was:" >&5
14615sed 's/^/| /' conftest.$ac_ext >&5
14616
14617ac_hi=`expr '(' $ac_mid ')' - 1`
14618 if test $ac_mid -le $ac_hi; then
14619 ac_lo= ac_hi=
14620 break
14621 fi
14622 ac_mid=`expr 2 '*' $ac_mid`
14623fi
14624rm -f conftest.$ac_objext conftest.$ac_ext
14625 done
14626else
14627 echo "$as_me: failed program was:" >&5
14628sed 's/^/| /' conftest.$ac_ext >&5
14629
14630ac_lo= ac_hi=
14631fi
14632rm -f conftest.$ac_objext conftest.$ac_ext
14633fi
14634rm -f conftest.$ac_objext conftest.$ac_ext
14635# Binary search between lo and hi bounds.
14636while test "x$ac_lo" != "x$ac_hi"; do
14637 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14638 cat >conftest.$ac_ext <<_ACEOF
14639#line $LINENO "configure"
14640/* confdefs.h. */
14641_ACEOF
14642cat confdefs.h >>conftest.$ac_ext
14643cat >>conftest.$ac_ext <<_ACEOF
14644/* end confdefs.h. */
14645$ac_includes_default
14646int
14647main ()
14648{
14649static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14650test_array [0] = 0
14651
14652 ;
14653 return 0;
14654}
14655_ACEOF
14656rm -f conftest.$ac_objext
14657if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14658 (eval $ac_compile) 2>&5
14659 ac_status=$?
14660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14661 (exit $ac_status); } &&
14662 { ac_try='test -s conftest.$ac_objext'
14663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14664 (eval $ac_try) 2>&5
14665 ac_status=$?
14666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14667 (exit $ac_status); }; }; then
14668 ac_hi=$ac_mid
14669else
14670 echo "$as_me: failed program was:" >&5
14671sed 's/^/| /' conftest.$ac_ext >&5
14672
14673ac_lo=`expr '(' $ac_mid ')' + 1`
14674fi
14675rm -f conftest.$ac_objext conftest.$ac_ext
14676done
14677case $ac_lo in
14678?*) ac_cv_sizeof_void_p=$ac_lo;;
14679'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14680See \`config.log' for more details." >&5
14681echo "$as_me: error: cannot compute sizeof (void *), 77
14682See \`config.log' for more details." >&2;}
14683 { (exit 1); exit 1; }; } ;;
14684esac
14685else
14686 if test "$cross_compiling" = yes; then
14687 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14688See \`config.log' for more details." >&5
14689echo "$as_me: error: cannot run test program while cross compiling
14690See \`config.log' for more details." >&2;}
14691 { (exit 1); exit 1; }; }
14692else
14693 cat >conftest.$ac_ext <<_ACEOF
14694#line $LINENO "configure"
14695/* confdefs.h. */
14696_ACEOF
14697cat confdefs.h >>conftest.$ac_ext
14698cat >>conftest.$ac_ext <<_ACEOF
14699/* end confdefs.h. */
14700$ac_includes_default
14701long longval () { return (long) (sizeof (void *)); }
14702unsigned long ulongval () { return (long) (sizeof (void *)); }
14703#include <stdio.h>
14704#include <stdlib.h>
14705int
14706main ()
14707{
14708
14709 FILE *f = fopen ("conftest.val", "w");
14710 if (! f)
14711 exit (1);
14712 if (((long) (sizeof (void *))) < 0)
14713 {
14714 long i = longval ();
14715 if (i != ((long) (sizeof (void *))))
14716 exit (1);
14717 fprintf (f, "%ld\n", i);
14718 }
14719 else
14720 {
14721 unsigned long i = ulongval ();
14722 if (i != ((long) (sizeof (void *))))
14723 exit (1);
14724 fprintf (f, "%lu\n", i);
14725 }
14726 exit (ferror (f) || fclose (f) != 0);
14727
14728 ;
14729 return 0;
14730}
14731_ACEOF
14732rm -f conftest$ac_exeext
14733if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14734 (eval $ac_link) 2>&5
14735 ac_status=$?
14736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14737 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14739 (eval $ac_try) 2>&5
14740 ac_status=$?
14741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14742 (exit $ac_status); }; }; then
14743 ac_cv_sizeof_void_p=`cat conftest.val`
14744else
14745 echo "$as_me: program exited with status $ac_status" >&5
14746echo "$as_me: failed program was:" >&5
14747sed 's/^/| /' conftest.$ac_ext >&5
14748
14749( exit $ac_status )
14750{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14751See \`config.log' for more details." >&5
14752echo "$as_me: error: cannot compute sizeof (void *), 77
14753See \`config.log' for more details." >&2;}
14754 { (exit 1); exit 1; }; }
14755fi
14756rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14757fi
14758fi
14759rm -f conftest.val
14760else
14761 ac_cv_sizeof_void_p=0
14762fi
14763fi
14764echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14765echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14766cat >>confdefs.h <<_ACEOF
14767#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14768_ACEOF
14769
14770
14771echo "$as_me:$LINENO: checking for int" >&5
14772echo $ECHO_N "checking for int... $ECHO_C" >&6
14773if test "${ac_cv_type_int+set}" = set; then
14774 echo $ECHO_N "(cached) $ECHO_C" >&6
14775else
14776 cat >conftest.$ac_ext <<_ACEOF
14777#line $LINENO "configure"
14778/* confdefs.h. */
14779_ACEOF
14780cat confdefs.h >>conftest.$ac_ext
14781cat >>conftest.$ac_ext <<_ACEOF
14782/* end confdefs.h. */
14783$ac_includes_default
14784int
14785main ()
14786{
14787if ((int *) 0)
14788 return 0;
14789if (sizeof (int))
14790 return 0;
14791 ;
14792 return 0;
14793}
14794_ACEOF
14795rm -f conftest.$ac_objext
14796if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14797 (eval $ac_compile) 2>&5
14798 ac_status=$?
14799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14800 (exit $ac_status); } &&
14801 { ac_try='test -s conftest.$ac_objext'
14802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14803 (eval $ac_try) 2>&5
14804 ac_status=$?
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); }; }; then
14807 ac_cv_type_int=yes
14808else
14809 echo "$as_me: failed program was:" >&5
14810sed 's/^/| /' conftest.$ac_ext >&5
14811
14812ac_cv_type_int=no
14813fi
14814rm -f conftest.$ac_objext conftest.$ac_ext
14815fi
14816echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14817echo "${ECHO_T}$ac_cv_type_int" >&6
14818
14819echo "$as_me:$LINENO: checking size of int" >&5
14820echo $ECHO_N "checking size of int... $ECHO_C" >&6
14821if test "${ac_cv_sizeof_int+set}" = set; then
14822 echo $ECHO_N "(cached) $ECHO_C" >&6
14823else
14824 if test "$ac_cv_type_int" = yes; then
14825 # The cast to unsigned long works around a bug in the HP C Compiler
14826 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14827 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14828 # This bug is HP SR number 8606223364.
14829 if test "$cross_compiling" = yes; then
14830 # Depending upon the size, compute the lo and hi bounds.
14831cat >conftest.$ac_ext <<_ACEOF
14832#line $LINENO "configure"
14833/* confdefs.h. */
14834_ACEOF
14835cat confdefs.h >>conftest.$ac_ext
14836cat >>conftest.$ac_ext <<_ACEOF
14837/* end confdefs.h. */
14838$ac_includes_default
14839int
14840main ()
14841{
14842static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14843test_array [0] = 0
14844
14845 ;
14846 return 0;
14847}
14848_ACEOF
14849rm -f conftest.$ac_objext
14850if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14851 (eval $ac_compile) 2>&5
14852 ac_status=$?
14853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14854 (exit $ac_status); } &&
14855 { ac_try='test -s conftest.$ac_objext'
14856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14857 (eval $ac_try) 2>&5
14858 ac_status=$?
14859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14860 (exit $ac_status); }; }; then
14861 ac_lo=0 ac_mid=0
14862 while :; do
14863 cat >conftest.$ac_ext <<_ACEOF
14864#line $LINENO "configure"
14865/* confdefs.h. */
14866_ACEOF
14867cat confdefs.h >>conftest.$ac_ext
14868cat >>conftest.$ac_ext <<_ACEOF
14869/* end confdefs.h. */
14870$ac_includes_default
14871int
14872main ()
14873{
14874static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14875test_array [0] = 0
14876
14877 ;
14878 return 0;
14879}
14880_ACEOF
14881rm -f conftest.$ac_objext
14882if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14883 (eval $ac_compile) 2>&5
14884 ac_status=$?
14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14886 (exit $ac_status); } &&
14887 { ac_try='test -s conftest.$ac_objext'
14888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14889 (eval $ac_try) 2>&5
14890 ac_status=$?
14891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14892 (exit $ac_status); }; }; then
14893 ac_hi=$ac_mid; break
14894else
14895 echo "$as_me: failed program was:" >&5
14896sed 's/^/| /' conftest.$ac_ext >&5
14897
14898ac_lo=`expr $ac_mid + 1`
14899 if test $ac_lo -le $ac_mid; then
14900 ac_lo= ac_hi=
14901 break
14902 fi
14903 ac_mid=`expr 2 '*' $ac_mid + 1`
14904fi
14905rm -f conftest.$ac_objext conftest.$ac_ext
14906 done
14907else
14908 echo "$as_me: failed program was:" >&5
14909sed 's/^/| /' conftest.$ac_ext >&5
14910
14911cat >conftest.$ac_ext <<_ACEOF
14912#line $LINENO "configure"
14913/* confdefs.h. */
14914_ACEOF
14915cat confdefs.h >>conftest.$ac_ext
14916cat >>conftest.$ac_ext <<_ACEOF
14917/* end confdefs.h. */
14918$ac_includes_default
14919int
14920main ()
14921{
14922static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14923test_array [0] = 0
14924
14925 ;
14926 return 0;
14927}
14928_ACEOF
14929rm -f conftest.$ac_objext
14930if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14931 (eval $ac_compile) 2>&5
14932 ac_status=$?
14933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14934 (exit $ac_status); } &&
14935 { ac_try='test -s conftest.$ac_objext'
14936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14937 (eval $ac_try) 2>&5
14938 ac_status=$?
14939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14940 (exit $ac_status); }; }; then
14941 ac_hi=-1 ac_mid=-1
14942 while :; do
14943 cat >conftest.$ac_ext <<_ACEOF
14944#line $LINENO "configure"
14945/* confdefs.h. */
14946_ACEOF
14947cat confdefs.h >>conftest.$ac_ext
14948cat >>conftest.$ac_ext <<_ACEOF
14949/* end confdefs.h. */
14950$ac_includes_default
14951int
14952main ()
14953{
14954static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14955test_array [0] = 0
14956
14957 ;
14958 return 0;
14959}
14960_ACEOF
14961rm -f conftest.$ac_objext
14962if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14963 (eval $ac_compile) 2>&5
14964 ac_status=$?
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); } &&
14967 { ac_try='test -s conftest.$ac_objext'
14968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14969 (eval $ac_try) 2>&5
14970 ac_status=$?
14971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14972 (exit $ac_status); }; }; then
14973 ac_lo=$ac_mid; break
14974else
14975 echo "$as_me: failed program was:" >&5
14976sed 's/^/| /' conftest.$ac_ext >&5
14977
14978ac_hi=`expr '(' $ac_mid ')' - 1`
14979 if test $ac_mid -le $ac_hi; then
14980 ac_lo= ac_hi=
14981 break
14982 fi
14983 ac_mid=`expr 2 '*' $ac_mid`
14984fi
14985rm -f conftest.$ac_objext conftest.$ac_ext
14986 done
14987else
14988 echo "$as_me: failed program was:" >&5
14989sed 's/^/| /' conftest.$ac_ext >&5
14990
14991ac_lo= ac_hi=
14992fi
14993rm -f conftest.$ac_objext conftest.$ac_ext
14994fi
14995rm -f conftest.$ac_objext conftest.$ac_ext
14996# Binary search between lo and hi bounds.
14997while test "x$ac_lo" != "x$ac_hi"; do
14998 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14999 cat >conftest.$ac_ext <<_ACEOF
15000#line $LINENO "configure"
15001/* confdefs.h. */
15002_ACEOF
15003cat confdefs.h >>conftest.$ac_ext
15004cat >>conftest.$ac_ext <<_ACEOF
15005/* end confdefs.h. */
15006$ac_includes_default
15007int
15008main ()
15009{
15010static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15011test_array [0] = 0
15012
15013 ;
15014 return 0;
15015}
15016_ACEOF
15017rm -f conftest.$ac_objext
15018if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15019 (eval $ac_compile) 2>&5
15020 ac_status=$?
15021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15022 (exit $ac_status); } &&
15023 { ac_try='test -s conftest.$ac_objext'
15024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15025 (eval $ac_try) 2>&5
15026 ac_status=$?
15027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15028 (exit $ac_status); }; }; then
15029 ac_hi=$ac_mid
15030else
15031 echo "$as_me: failed program was:" >&5
15032sed 's/^/| /' conftest.$ac_ext >&5
15033
15034ac_lo=`expr '(' $ac_mid ')' + 1`
15035fi
15036rm -f conftest.$ac_objext conftest.$ac_ext
15037done
15038case $ac_lo in
15039?*) ac_cv_sizeof_int=$ac_lo;;
15040'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15041See \`config.log' for more details." >&5
15042echo "$as_me: error: cannot compute sizeof (int), 77
15043See \`config.log' for more details." >&2;}
15044 { (exit 1); exit 1; }; } ;;
15045esac
15046else
15047 if test "$cross_compiling" = yes; then
15048 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15049See \`config.log' for more details." >&5
15050echo "$as_me: error: cannot run test program while cross compiling
15051See \`config.log' for more details." >&2;}
15052 { (exit 1); exit 1; }; }
15053else
15054 cat >conftest.$ac_ext <<_ACEOF
15055#line $LINENO "configure"
15056/* confdefs.h. */
15057_ACEOF
15058cat confdefs.h >>conftest.$ac_ext
15059cat >>conftest.$ac_ext <<_ACEOF
15060/* end confdefs.h. */
15061$ac_includes_default
15062long longval () { return (long) (sizeof (int)); }
15063unsigned long ulongval () { return (long) (sizeof (int)); }
15064#include <stdio.h>
15065#include <stdlib.h>
15066int
15067main ()
15068{
15069
15070 FILE *f = fopen ("conftest.val", "w");
15071 if (! f)
15072 exit (1);
15073 if (((long) (sizeof (int))) < 0)
15074 {
15075 long i = longval ();
15076 if (i != ((long) (sizeof (int))))
15077 exit (1);
15078 fprintf (f, "%ld\n", i);
15079 }
15080 else
15081 {
15082 unsigned long i = ulongval ();
15083 if (i != ((long) (sizeof (int))))
15084 exit (1);
15085 fprintf (f, "%lu\n", i);
15086 }
15087 exit (ferror (f) || fclose (f) != 0);
15088
15089 ;
15090 return 0;
15091}
15092_ACEOF
15093rm -f conftest$ac_exeext
15094if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15095 (eval $ac_link) 2>&5
15096 ac_status=$?
15097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15098 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15100 (eval $ac_try) 2>&5
15101 ac_status=$?
15102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15103 (exit $ac_status); }; }; then
15104 ac_cv_sizeof_int=`cat conftest.val`
15105else
15106 echo "$as_me: program exited with status $ac_status" >&5
15107echo "$as_me: failed program was:" >&5
15108sed 's/^/| /' conftest.$ac_ext >&5
15109
15110( exit $ac_status )
15111{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15112See \`config.log' for more details." >&5
15113echo "$as_me: error: cannot compute sizeof (int), 77
15114See \`config.log' for more details." >&2;}
15115 { (exit 1); exit 1; }; }
15116fi
15117rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15118fi
15119fi
15120rm -f conftest.val
15121else
15122 ac_cv_sizeof_int=0
15123fi
15124fi
15125echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15126echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15127cat >>confdefs.h <<_ACEOF
15128#define SIZEOF_INT $ac_cv_sizeof_int
15129_ACEOF
15130
15131
15132echo "$as_me:$LINENO: checking for long" >&5
15133echo $ECHO_N "checking for long... $ECHO_C" >&6
15134if test "${ac_cv_type_long+set}" = set; then
15135 echo $ECHO_N "(cached) $ECHO_C" >&6
15136else
15137 cat >conftest.$ac_ext <<_ACEOF
15138#line $LINENO "configure"
15139/* confdefs.h. */
15140_ACEOF
15141cat confdefs.h >>conftest.$ac_ext
15142cat >>conftest.$ac_ext <<_ACEOF
15143/* end confdefs.h. */
15144$ac_includes_default
15145int
15146main ()
15147{
15148if ((long *) 0)
15149 return 0;
15150if (sizeof (long))
15151 return 0;
15152 ;
15153 return 0;
15154}
15155_ACEOF
15156rm -f conftest.$ac_objext
15157if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15158 (eval $ac_compile) 2>&5
15159 ac_status=$?
15160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15161 (exit $ac_status); } &&
15162 { ac_try='test -s conftest.$ac_objext'
15163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15164 (eval $ac_try) 2>&5
15165 ac_status=$?
15166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15167 (exit $ac_status); }; }; then
15168 ac_cv_type_long=yes
15169else
15170 echo "$as_me: failed program was:" >&5
15171sed 's/^/| /' conftest.$ac_ext >&5
15172
15173ac_cv_type_long=no
15174fi
15175rm -f conftest.$ac_objext conftest.$ac_ext
15176fi
15177echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15178echo "${ECHO_T}$ac_cv_type_long" >&6
15179
15180echo "$as_me:$LINENO: checking size of long" >&5
15181echo $ECHO_N "checking size of long... $ECHO_C" >&6
15182if test "${ac_cv_sizeof_long+set}" = set; then
15183 echo $ECHO_N "(cached) $ECHO_C" >&6
15184else
15185 if test "$ac_cv_type_long" = yes; then
15186 # The cast to unsigned long works around a bug in the HP C Compiler
15187 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15188 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15189 # This bug is HP SR number 8606223364.
15190 if test "$cross_compiling" = yes; then
15191 # Depending upon the size, compute the lo and hi bounds.
15192cat >conftest.$ac_ext <<_ACEOF
15193#line $LINENO "configure"
15194/* confdefs.h. */
15195_ACEOF
15196cat confdefs.h >>conftest.$ac_ext
15197cat >>conftest.$ac_ext <<_ACEOF
15198/* end confdefs.h. */
15199$ac_includes_default
15200int
15201main ()
15202{
15203static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15204test_array [0] = 0
15205
15206 ;
15207 return 0;
15208}
15209_ACEOF
15210rm -f conftest.$ac_objext
15211if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15212 (eval $ac_compile) 2>&5
15213 ac_status=$?
15214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15215 (exit $ac_status); } &&
15216 { ac_try='test -s conftest.$ac_objext'
15217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15218 (eval $ac_try) 2>&5
15219 ac_status=$?
15220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15221 (exit $ac_status); }; }; then
15222 ac_lo=0 ac_mid=0
15223 while :; do
15224 cat >conftest.$ac_ext <<_ACEOF
15225#line $LINENO "configure"
15226/* confdefs.h. */
15227_ACEOF
15228cat confdefs.h >>conftest.$ac_ext
15229cat >>conftest.$ac_ext <<_ACEOF
15230/* end confdefs.h. */
15231$ac_includes_default
15232int
15233main ()
15234{
15235static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15236test_array [0] = 0
15237
15238 ;
15239 return 0;
15240}
15241_ACEOF
15242rm -f conftest.$ac_objext
15243if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15244 (eval $ac_compile) 2>&5
15245 ac_status=$?
15246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15247 (exit $ac_status); } &&
15248 { ac_try='test -s conftest.$ac_objext'
15249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15250 (eval $ac_try) 2>&5
15251 ac_status=$?
15252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15253 (exit $ac_status); }; }; then
15254 ac_hi=$ac_mid; break
15255else
15256 echo "$as_me: failed program was:" >&5
15257sed 's/^/| /' conftest.$ac_ext >&5
15258
15259ac_lo=`expr $ac_mid + 1`
15260 if test $ac_lo -le $ac_mid; then
15261 ac_lo= ac_hi=
15262 break
15263 fi
15264 ac_mid=`expr 2 '*' $ac_mid + 1`
15265fi
15266rm -f conftest.$ac_objext conftest.$ac_ext
15267 done
15268else
15269 echo "$as_me: failed program was:" >&5
15270sed 's/^/| /' conftest.$ac_ext >&5
15271
15272cat >conftest.$ac_ext <<_ACEOF
15273#line $LINENO "configure"
15274/* confdefs.h. */
15275_ACEOF
15276cat confdefs.h >>conftest.$ac_ext
15277cat >>conftest.$ac_ext <<_ACEOF
15278/* end confdefs.h. */
15279$ac_includes_default
15280int
15281main ()
15282{
15283static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15284test_array [0] = 0
15285
15286 ;
15287 return 0;
15288}
15289_ACEOF
15290rm -f conftest.$ac_objext
15291if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15292 (eval $ac_compile) 2>&5
15293 ac_status=$?
15294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15295 (exit $ac_status); } &&
15296 { ac_try='test -s conftest.$ac_objext'
15297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15298 (eval $ac_try) 2>&5
15299 ac_status=$?
15300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15301 (exit $ac_status); }; }; then
15302 ac_hi=-1 ac_mid=-1
15303 while :; do
15304 cat >conftest.$ac_ext <<_ACEOF
15305#line $LINENO "configure"
15306/* confdefs.h. */
15307_ACEOF
15308cat confdefs.h >>conftest.$ac_ext
15309cat >>conftest.$ac_ext <<_ACEOF
15310/* end confdefs.h. */
15311$ac_includes_default
15312int
15313main ()
15314{
15315static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15316test_array [0] = 0
15317
15318 ;
15319 return 0;
15320}
15321_ACEOF
15322rm -f conftest.$ac_objext
15323if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15324 (eval $ac_compile) 2>&5
15325 ac_status=$?
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); } &&
15328 { ac_try='test -s conftest.$ac_objext'
15329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15330 (eval $ac_try) 2>&5
15331 ac_status=$?
15332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15333 (exit $ac_status); }; }; then
15334 ac_lo=$ac_mid; break
15335else
15336 echo "$as_me: failed program was:" >&5
15337sed 's/^/| /' conftest.$ac_ext >&5
15338
15339ac_hi=`expr '(' $ac_mid ')' - 1`
15340 if test $ac_mid -le $ac_hi; then
15341 ac_lo= ac_hi=
15342 break
15343 fi
15344 ac_mid=`expr 2 '*' $ac_mid`
15345fi
15346rm -f conftest.$ac_objext conftest.$ac_ext
15347 done
15348else
15349 echo "$as_me: failed program was:" >&5
15350sed 's/^/| /' conftest.$ac_ext >&5
15351
15352ac_lo= ac_hi=
15353fi
15354rm -f conftest.$ac_objext conftest.$ac_ext
15355fi
15356rm -f conftest.$ac_objext conftest.$ac_ext
15357# Binary search between lo and hi bounds.
15358while test "x$ac_lo" != "x$ac_hi"; do
15359 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15360 cat >conftest.$ac_ext <<_ACEOF
15361#line $LINENO "configure"
15362/* confdefs.h. */
15363_ACEOF
15364cat confdefs.h >>conftest.$ac_ext
15365cat >>conftest.$ac_ext <<_ACEOF
15366/* end confdefs.h. */
15367$ac_includes_default
15368int
15369main ()
15370{
15371static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15372test_array [0] = 0
15373
15374 ;
15375 return 0;
15376}
15377_ACEOF
15378rm -f conftest.$ac_objext
15379if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15380 (eval $ac_compile) 2>&5
15381 ac_status=$?
15382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383 (exit $ac_status); } &&
15384 { ac_try='test -s conftest.$ac_objext'
15385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15386 (eval $ac_try) 2>&5
15387 ac_status=$?
15388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15389 (exit $ac_status); }; }; then
15390 ac_hi=$ac_mid
15391else
15392 echo "$as_me: failed program was:" >&5
15393sed 's/^/| /' conftest.$ac_ext >&5
15394
15395ac_lo=`expr '(' $ac_mid ')' + 1`
15396fi
15397rm -f conftest.$ac_objext conftest.$ac_ext
15398done
15399case $ac_lo in
15400?*) ac_cv_sizeof_long=$ac_lo;;
15401'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15402See \`config.log' for more details." >&5
15403echo "$as_me: error: cannot compute sizeof (long), 77
15404See \`config.log' for more details." >&2;}
15405 { (exit 1); exit 1; }; } ;;
15406esac
15407else
15408 if test "$cross_compiling" = yes; then
15409 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15410See \`config.log' for more details." >&5
15411echo "$as_me: error: cannot run test program while cross compiling
15412See \`config.log' for more details." >&2;}
15413 { (exit 1); exit 1; }; }
15414else
15415 cat >conftest.$ac_ext <<_ACEOF
15416#line $LINENO "configure"
15417/* confdefs.h. */
15418_ACEOF
15419cat confdefs.h >>conftest.$ac_ext
15420cat >>conftest.$ac_ext <<_ACEOF
15421/* end confdefs.h. */
15422$ac_includes_default
15423long longval () { return (long) (sizeof (long)); }
15424unsigned long ulongval () { return (long) (sizeof (long)); }
15425#include <stdio.h>
15426#include <stdlib.h>
15427int
15428main ()
15429{
15430
15431 FILE *f = fopen ("conftest.val", "w");
15432 if (! f)
15433 exit (1);
15434 if (((long) (sizeof (long))) < 0)
15435 {
15436 long i = longval ();
15437 if (i != ((long) (sizeof (long))))
15438 exit (1);
15439 fprintf (f, "%ld\n", i);
15440 }
15441 else
15442 {
15443 unsigned long i = ulongval ();
15444 if (i != ((long) (sizeof (long))))
15445 exit (1);
15446 fprintf (f, "%lu\n", i);
15447 }
15448 exit (ferror (f) || fclose (f) != 0);
15449
15450 ;
15451 return 0;
15452}
15453_ACEOF
15454rm -f conftest$ac_exeext
15455if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15456 (eval $ac_link) 2>&5
15457 ac_status=$?
15458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15459 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15461 (eval $ac_try) 2>&5
15462 ac_status=$?
15463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15464 (exit $ac_status); }; }; then
15465 ac_cv_sizeof_long=`cat conftest.val`
15466else
15467 echo "$as_me: program exited with status $ac_status" >&5
15468echo "$as_me: failed program was:" >&5
15469sed 's/^/| /' conftest.$ac_ext >&5
15470
15471( exit $ac_status )
15472{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15473See \`config.log' for more details." >&5
15474echo "$as_me: error: cannot compute sizeof (long), 77
15475See \`config.log' for more details." >&2;}
15476 { (exit 1); exit 1; }; }
15477fi
15478rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15479fi
15480fi
15481rm -f conftest.val
15482else
15483 ac_cv_sizeof_long=0
15484fi
15485fi
15486echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15487echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15488cat >>confdefs.h <<_ACEOF
15489#define SIZEOF_LONG $ac_cv_sizeof_long
15490_ACEOF
15491
15492
15493
15494case "${host}" in
15495 arm-*-linux* )
15496 echo "$as_me:$LINENO: checking for long long" >&5
15497echo $ECHO_N "checking for long long... $ECHO_C" >&6
15498if test "${ac_cv_type_long_long+set}" = set; then
15499 echo $ECHO_N "(cached) $ECHO_C" >&6
15500else
15501 cat >conftest.$ac_ext <<_ACEOF
15502#line $LINENO "configure"
15503/* confdefs.h. */
15504_ACEOF
15505cat confdefs.h >>conftest.$ac_ext
15506cat >>conftest.$ac_ext <<_ACEOF
15507/* end confdefs.h. */
15508$ac_includes_default
15509int
15510main ()
15511{
15512if ((long long *) 0)
15513 return 0;
15514if (sizeof (long long))
15515 return 0;
15516 ;
15517 return 0;
15518}
15519_ACEOF
15520rm -f conftest.$ac_objext
15521if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15522 (eval $ac_compile) 2>&5
15523 ac_status=$?
15524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525 (exit $ac_status); } &&
15526 { ac_try='test -s conftest.$ac_objext'
15527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15528 (eval $ac_try) 2>&5
15529 ac_status=$?
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); }; }; then
15532 ac_cv_type_long_long=yes
15533else
15534 echo "$as_me: failed program was:" >&5
15535sed 's/^/| /' conftest.$ac_ext >&5
15536
15537ac_cv_type_long_long=no
15538fi
15539rm -f conftest.$ac_objext conftest.$ac_ext
15540fi
15541echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15542echo "${ECHO_T}$ac_cv_type_long_long" >&6
15543
15544echo "$as_me:$LINENO: checking size of long long" >&5
15545echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15546if test "${ac_cv_sizeof_long_long+set}" = set; then
15547 echo $ECHO_N "(cached) $ECHO_C" >&6
15548else
15549 if test "$ac_cv_type_long_long" = yes; then
15550 # The cast to unsigned long works around a bug in the HP C Compiler
15551 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15552 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15553 # This bug is HP SR number 8606223364.
15554 if test "$cross_compiling" = yes; then
15555 # Depending upon the size, compute the lo and hi bounds.
15556cat >conftest.$ac_ext <<_ACEOF
15557#line $LINENO "configure"
15558/* confdefs.h. */
15559_ACEOF
15560cat confdefs.h >>conftest.$ac_ext
15561cat >>conftest.$ac_ext <<_ACEOF
15562/* end confdefs.h. */
15563$ac_includes_default
15564int
15565main ()
15566{
15567static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15568test_array [0] = 0
15569
15570 ;
15571 return 0;
15572}
15573_ACEOF
15574rm -f conftest.$ac_objext
15575if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15576 (eval $ac_compile) 2>&5
15577 ac_status=$?
15578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15579 (exit $ac_status); } &&
15580 { ac_try='test -s conftest.$ac_objext'
15581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15582 (eval $ac_try) 2>&5
15583 ac_status=$?
15584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15585 (exit $ac_status); }; }; then
15586 ac_lo=0 ac_mid=0
15587 while :; do
15588 cat >conftest.$ac_ext <<_ACEOF
15589#line $LINENO "configure"
15590/* confdefs.h. */
15591_ACEOF
15592cat confdefs.h >>conftest.$ac_ext
15593cat >>conftest.$ac_ext <<_ACEOF
15594/* end confdefs.h. */
15595$ac_includes_default
15596int
15597main ()
15598{
15599static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15600test_array [0] = 0
15601
15602 ;
15603 return 0;
15604}
15605_ACEOF
15606rm -f conftest.$ac_objext
15607if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15608 (eval $ac_compile) 2>&5
15609 ac_status=$?
15610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15611 (exit $ac_status); } &&
15612 { ac_try='test -s conftest.$ac_objext'
15613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15614 (eval $ac_try) 2>&5
15615 ac_status=$?
15616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15617 (exit $ac_status); }; }; then
15618 ac_hi=$ac_mid; break
15619else
15620 echo "$as_me: failed program was:" >&5
15621sed 's/^/| /' conftest.$ac_ext >&5
15622
15623ac_lo=`expr $ac_mid + 1`
15624 if test $ac_lo -le $ac_mid; then
15625 ac_lo= ac_hi=
15626 break
15627 fi
15628 ac_mid=`expr 2 '*' $ac_mid + 1`
15629fi
15630rm -f conftest.$ac_objext conftest.$ac_ext
15631 done
15632else
15633 echo "$as_me: failed program was:" >&5
15634sed 's/^/| /' conftest.$ac_ext >&5
15635
15636cat >conftest.$ac_ext <<_ACEOF
15637#line $LINENO "configure"
15638/* confdefs.h. */
15639_ACEOF
15640cat confdefs.h >>conftest.$ac_ext
15641cat >>conftest.$ac_ext <<_ACEOF
15642/* end confdefs.h. */
15643$ac_includes_default
15644int
15645main ()
15646{
15647static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15648test_array [0] = 0
15649
15650 ;
15651 return 0;
15652}
15653_ACEOF
15654rm -f conftest.$ac_objext
15655if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15656 (eval $ac_compile) 2>&5
15657 ac_status=$?
15658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15659 (exit $ac_status); } &&
15660 { ac_try='test -s conftest.$ac_objext'
15661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15662 (eval $ac_try) 2>&5
15663 ac_status=$?
15664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665 (exit $ac_status); }; }; then
15666 ac_hi=-1 ac_mid=-1
15667 while :; do
15668 cat >conftest.$ac_ext <<_ACEOF
15669#line $LINENO "configure"
15670/* confdefs.h. */
15671_ACEOF
15672cat confdefs.h >>conftest.$ac_ext
15673cat >>conftest.$ac_ext <<_ACEOF
15674/* end confdefs.h. */
15675$ac_includes_default
15676int
15677main ()
15678{
15679static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15680test_array [0] = 0
15681
15682 ;
15683 return 0;
15684}
15685_ACEOF
15686rm -f conftest.$ac_objext
15687if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15688 (eval $ac_compile) 2>&5
15689 ac_status=$?
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); } &&
15692 { ac_try='test -s conftest.$ac_objext'
15693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15694 (eval $ac_try) 2>&5
15695 ac_status=$?
15696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15697 (exit $ac_status); }; }; then
15698 ac_lo=$ac_mid; break
15699else
15700 echo "$as_me: failed program was:" >&5
15701sed 's/^/| /' conftest.$ac_ext >&5
15702
15703ac_hi=`expr '(' $ac_mid ')' - 1`
15704 if test $ac_mid -le $ac_hi; then
15705 ac_lo= ac_hi=
15706 break
15707 fi
15708 ac_mid=`expr 2 '*' $ac_mid`
15709fi
15710rm -f conftest.$ac_objext conftest.$ac_ext
15711 done
15712else
15713 echo "$as_me: failed program was:" >&5
15714sed 's/^/| /' conftest.$ac_ext >&5
15715
15716ac_lo= ac_hi=
15717fi
15718rm -f conftest.$ac_objext conftest.$ac_ext
15719fi
15720rm -f conftest.$ac_objext conftest.$ac_ext
15721# Binary search between lo and hi bounds.
15722while test "x$ac_lo" != "x$ac_hi"; do
15723 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15724 cat >conftest.$ac_ext <<_ACEOF
15725#line $LINENO "configure"
15726/* confdefs.h. */
15727_ACEOF
15728cat confdefs.h >>conftest.$ac_ext
15729cat >>conftest.$ac_ext <<_ACEOF
15730/* end confdefs.h. */
15731$ac_includes_default
15732int
15733main ()
15734{
15735static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15736test_array [0] = 0
15737
15738 ;
15739 return 0;
15740}
15741_ACEOF
15742rm -f conftest.$ac_objext
15743if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15744 (eval $ac_compile) 2>&5
15745 ac_status=$?
15746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15747 (exit $ac_status); } &&
15748 { ac_try='test -s conftest.$ac_objext'
15749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15750 (eval $ac_try) 2>&5
15751 ac_status=$?
15752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15753 (exit $ac_status); }; }; then
15754 ac_hi=$ac_mid
15755else
15756 echo "$as_me: failed program was:" >&5
15757sed 's/^/| /' conftest.$ac_ext >&5
15758
15759ac_lo=`expr '(' $ac_mid ')' + 1`
15760fi
15761rm -f conftest.$ac_objext conftest.$ac_ext
15762done
15763case $ac_lo in
15764?*) ac_cv_sizeof_long_long=$ac_lo;;
15765'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15766See \`config.log' for more details." >&5
15767echo "$as_me: error: cannot compute sizeof (long long), 77
15768See \`config.log' for more details." >&2;}
15769 { (exit 1); exit 1; }; } ;;
15770esac
15771else
15772 if test "$cross_compiling" = yes; then
15773 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15774See \`config.log' for more details." >&5
15775echo "$as_me: error: cannot run test program while cross compiling
15776See \`config.log' for more details." >&2;}
15777 { (exit 1); exit 1; }; }
15778else
15779 cat >conftest.$ac_ext <<_ACEOF
15780#line $LINENO "configure"
15781/* confdefs.h. */
15782_ACEOF
15783cat confdefs.h >>conftest.$ac_ext
15784cat >>conftest.$ac_ext <<_ACEOF
15785/* end confdefs.h. */
15786$ac_includes_default
15787long longval () { return (long) (sizeof (long long)); }
15788unsigned long ulongval () { return (long) (sizeof (long long)); }
15789#include <stdio.h>
15790#include <stdlib.h>
15791int
15792main ()
15793{
15794
15795 FILE *f = fopen ("conftest.val", "w");
15796 if (! f)
15797 exit (1);
15798 if (((long) (sizeof (long long))) < 0)
15799 {
15800 long i = longval ();
15801 if (i != ((long) (sizeof (long long))))
15802 exit (1);
15803 fprintf (f, "%ld\n", i);
15804 }
15805 else
15806 {
15807 unsigned long i = ulongval ();
15808 if (i != ((long) (sizeof (long long))))
15809 exit (1);
15810 fprintf (f, "%lu\n", i);
15811 }
15812 exit (ferror (f) || fclose (f) != 0);
15813
15814 ;
15815 return 0;
15816}
15817_ACEOF
15818rm -f conftest$ac_exeext
15819if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15820 (eval $ac_link) 2>&5
15821 ac_status=$?
15822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15823 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15825 (eval $ac_try) 2>&5
15826 ac_status=$?
15827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15828 (exit $ac_status); }; }; then
15829 ac_cv_sizeof_long_long=`cat conftest.val`
15830else
15831 echo "$as_me: program exited with status $ac_status" >&5
15832echo "$as_me: failed program was:" >&5
15833sed 's/^/| /' conftest.$ac_ext >&5
15834
15835( exit $ac_status )
15836{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15837See \`config.log' for more details." >&5
15838echo "$as_me: error: cannot compute sizeof (long long), 77
15839See \`config.log' for more details." >&2;}
15840 { (exit 1); exit 1; }; }
15841fi
15842rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15843fi
15844fi
15845rm -f conftest.val
15846else
15847 ac_cv_sizeof_long_long=0
15848fi
15849fi
15850echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15851echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15852cat >>confdefs.h <<_ACEOF
15853#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15854_ACEOF
15855
15856
15857 ;;
15858 *-hp-hpux* )
15859 echo "$as_me:$LINENO: checking for long long" >&5
15860echo $ECHO_N "checking for long long... $ECHO_C" >&6
15861if test "${ac_cv_type_long_long+set}" = set; then
15862 echo $ECHO_N "(cached) $ECHO_C" >&6
15863else
15864 cat >conftest.$ac_ext <<_ACEOF
15865#line $LINENO "configure"
15866/* confdefs.h. */
15867_ACEOF
15868cat confdefs.h >>conftest.$ac_ext
15869cat >>conftest.$ac_ext <<_ACEOF
15870/* end confdefs.h. */
15871$ac_includes_default
15872int
15873main ()
15874{
15875if ((long long *) 0)
15876 return 0;
15877if (sizeof (long long))
15878 return 0;
15879 ;
15880 return 0;
15881}
15882_ACEOF
15883rm -f conftest.$ac_objext
15884if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15885 (eval $ac_compile) 2>&5
15886 ac_status=$?
15887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15888 (exit $ac_status); } &&
15889 { ac_try='test -s conftest.$ac_objext'
15890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15891 (eval $ac_try) 2>&5
15892 ac_status=$?
15893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15894 (exit $ac_status); }; }; then
15895 ac_cv_type_long_long=yes
15896else
15897 echo "$as_me: failed program was:" >&5
15898sed 's/^/| /' conftest.$ac_ext >&5
15899
15900ac_cv_type_long_long=no
15901fi
15902rm -f conftest.$ac_objext conftest.$ac_ext
15903fi
15904echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15905echo "${ECHO_T}$ac_cv_type_long_long" >&6
15906
15907echo "$as_me:$LINENO: checking size of long long" >&5
15908echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15909if test "${ac_cv_sizeof_long_long+set}" = set; then
15910 echo $ECHO_N "(cached) $ECHO_C" >&6
15911else
15912 if test "$ac_cv_type_long_long" = yes; then
15913 # The cast to unsigned long works around a bug in the HP C Compiler
15914 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15915 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15916 # This bug is HP SR number 8606223364.
15917 if test "$cross_compiling" = yes; then
15918 # Depending upon the size, compute the lo and hi bounds.
15919cat >conftest.$ac_ext <<_ACEOF
15920#line $LINENO "configure"
15921/* confdefs.h. */
15922_ACEOF
15923cat confdefs.h >>conftest.$ac_ext
15924cat >>conftest.$ac_ext <<_ACEOF
15925/* end confdefs.h. */
15926$ac_includes_default
15927int
15928main ()
15929{
15930static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15931test_array [0] = 0
15932
15933 ;
15934 return 0;
15935}
15936_ACEOF
15937rm -f conftest.$ac_objext
15938if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15939 (eval $ac_compile) 2>&5
15940 ac_status=$?
15941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15942 (exit $ac_status); } &&
15943 { ac_try='test -s conftest.$ac_objext'
15944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15945 (eval $ac_try) 2>&5
15946 ac_status=$?
15947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15948 (exit $ac_status); }; }; then
15949 ac_lo=0 ac_mid=0
15950 while :; do
15951 cat >conftest.$ac_ext <<_ACEOF
15952#line $LINENO "configure"
15953/* confdefs.h. */
15954_ACEOF
15955cat confdefs.h >>conftest.$ac_ext
15956cat >>conftest.$ac_ext <<_ACEOF
15957/* end confdefs.h. */
15958$ac_includes_default
15959int
15960main ()
15961{
15962static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15963test_array [0] = 0
15964
15965 ;
15966 return 0;
15967}
15968_ACEOF
15969rm -f conftest.$ac_objext
15970if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15971 (eval $ac_compile) 2>&5
15972 ac_status=$?
15973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15974 (exit $ac_status); } &&
15975 { ac_try='test -s conftest.$ac_objext'
15976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15977 (eval $ac_try) 2>&5
15978 ac_status=$?
15979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15980 (exit $ac_status); }; }; then
15981 ac_hi=$ac_mid; break
15982else
15983 echo "$as_me: failed program was:" >&5
15984sed 's/^/| /' conftest.$ac_ext >&5
15985
15986ac_lo=`expr $ac_mid + 1`
15987 if test $ac_lo -le $ac_mid; then
15988 ac_lo= ac_hi=
15989 break
15990 fi
15991 ac_mid=`expr 2 '*' $ac_mid + 1`
15992fi
15993rm -f conftest.$ac_objext conftest.$ac_ext
15994 done
15995else
15996 echo "$as_me: failed program was:" >&5
15997sed 's/^/| /' conftest.$ac_ext >&5
15998
15999cat >conftest.$ac_ext <<_ACEOF
16000#line $LINENO "configure"
16001/* confdefs.h. */
16002_ACEOF
16003cat confdefs.h >>conftest.$ac_ext
16004cat >>conftest.$ac_ext <<_ACEOF
16005/* end confdefs.h. */
16006$ac_includes_default
16007int
16008main ()
16009{
16010static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16011test_array [0] = 0
16012
16013 ;
16014 return 0;
16015}
16016_ACEOF
16017rm -f conftest.$ac_objext
16018if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16019 (eval $ac_compile) 2>&5
16020 ac_status=$?
16021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16022 (exit $ac_status); } &&
16023 { ac_try='test -s conftest.$ac_objext'
16024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16025 (eval $ac_try) 2>&5
16026 ac_status=$?
16027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16028 (exit $ac_status); }; }; then
16029 ac_hi=-1 ac_mid=-1
16030 while :; do
16031 cat >conftest.$ac_ext <<_ACEOF
16032#line $LINENO "configure"
16033/* confdefs.h. */
16034_ACEOF
16035cat confdefs.h >>conftest.$ac_ext
16036cat >>conftest.$ac_ext <<_ACEOF
16037/* end confdefs.h. */
16038$ac_includes_default
16039int
16040main ()
16041{
16042static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16043test_array [0] = 0
16044
16045 ;
16046 return 0;
16047}
16048_ACEOF
16049rm -f conftest.$ac_objext
16050if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16051 (eval $ac_compile) 2>&5
16052 ac_status=$?
16053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16054 (exit $ac_status); } &&
16055 { ac_try='test -s conftest.$ac_objext'
16056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16057 (eval $ac_try) 2>&5
16058 ac_status=$?
16059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16060 (exit $ac_status); }; }; then
16061 ac_lo=$ac_mid; break
16062else
16063 echo "$as_me: failed program was:" >&5
16064sed 's/^/| /' conftest.$ac_ext >&5
16065
16066ac_hi=`expr '(' $ac_mid ')' - 1`
16067 if test $ac_mid -le $ac_hi; then
16068 ac_lo= ac_hi=
16069 break
16070 fi
16071 ac_mid=`expr 2 '*' $ac_mid`
16072fi
16073rm -f conftest.$ac_objext conftest.$ac_ext
16074 done
16075else
16076 echo "$as_me: failed program was:" >&5
16077sed 's/^/| /' conftest.$ac_ext >&5
16078
16079ac_lo= ac_hi=
16080fi
16081rm -f conftest.$ac_objext conftest.$ac_ext
16082fi
16083rm -f conftest.$ac_objext conftest.$ac_ext
16084# Binary search between lo and hi bounds.
16085while test "x$ac_lo" != "x$ac_hi"; do
16086 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16087 cat >conftest.$ac_ext <<_ACEOF
16088#line $LINENO "configure"
16089/* confdefs.h. */
16090_ACEOF
16091cat confdefs.h >>conftest.$ac_ext
16092cat >>conftest.$ac_ext <<_ACEOF
16093/* end confdefs.h. */
16094$ac_includes_default
16095int
16096main ()
16097{
16098static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16099test_array [0] = 0
16100
16101 ;
16102 return 0;
16103}
16104_ACEOF
16105rm -f conftest.$ac_objext
16106if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16107 (eval $ac_compile) 2>&5
16108 ac_status=$?
16109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16110 (exit $ac_status); } &&
16111 { ac_try='test -s conftest.$ac_objext'
16112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16113 (eval $ac_try) 2>&5
16114 ac_status=$?
16115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16116 (exit $ac_status); }; }; then
16117 ac_hi=$ac_mid
16118else
16119 echo "$as_me: failed program was:" >&5
16120sed 's/^/| /' conftest.$ac_ext >&5
16121
16122ac_lo=`expr '(' $ac_mid ')' + 1`
16123fi
16124rm -f conftest.$ac_objext conftest.$ac_ext
16125done
16126case $ac_lo in
16127?*) ac_cv_sizeof_long_long=$ac_lo;;
16128'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16129See \`config.log' for more details." >&5
16130echo "$as_me: error: cannot compute sizeof (long long), 77
16131See \`config.log' for more details." >&2;}
16132 { (exit 1); exit 1; }; } ;;
16133esac
16134else
16135 if test "$cross_compiling" = yes; then
16136 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16137See \`config.log' for more details." >&5
16138echo "$as_me: error: cannot run test program while cross compiling
16139See \`config.log' for more details." >&2;}
16140 { (exit 1); exit 1; }; }
16141else
16142 cat >conftest.$ac_ext <<_ACEOF
16143#line $LINENO "configure"
16144/* confdefs.h. */
16145_ACEOF
16146cat confdefs.h >>conftest.$ac_ext
16147cat >>conftest.$ac_ext <<_ACEOF
16148/* end confdefs.h. */
16149$ac_includes_default
16150long longval () { return (long) (sizeof (long long)); }
16151unsigned long ulongval () { return (long) (sizeof (long long)); }
16152#include <stdio.h>
16153#include <stdlib.h>
16154int
16155main ()
16156{
16157
16158 FILE *f = fopen ("conftest.val", "w");
16159 if (! f)
16160 exit (1);
16161 if (((long) (sizeof (long long))) < 0)
16162 {
16163 long i = longval ();
16164 if (i != ((long) (sizeof (long long))))
16165 exit (1);
16166 fprintf (f, "%ld\n", i);
16167 }
16168 else
16169 {
16170 unsigned long i = ulongval ();
16171 if (i != ((long) (sizeof (long long))))
16172 exit (1);
16173 fprintf (f, "%lu\n", i);
16174 }
16175 exit (ferror (f) || fclose (f) != 0);
16176
16177 ;
16178 return 0;
16179}
16180_ACEOF
16181rm -f conftest$ac_exeext
16182if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16183 (eval $ac_link) 2>&5
16184 ac_status=$?
16185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16186 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16188 (eval $ac_try) 2>&5
16189 ac_status=$?
16190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16191 (exit $ac_status); }; }; then
16192 ac_cv_sizeof_long_long=`cat conftest.val`
16193else
16194 echo "$as_me: program exited with status $ac_status" >&5
16195echo "$as_me: failed program was:" >&5
16196sed 's/^/| /' conftest.$ac_ext >&5
16197
16198( exit $ac_status )
16199{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16200See \`config.log' for more details." >&5
16201echo "$as_me: error: cannot compute sizeof (long long), 77
16202See \`config.log' for more details." >&2;}
16203 { (exit 1); exit 1; }; }
16204fi
16205rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16206fi
16207fi
16208rm -f conftest.val
16209else
16210 ac_cv_sizeof_long_long=0
16211fi
16212fi
16213echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16214echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16215cat >>confdefs.h <<_ACEOF
16216#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16217_ACEOF
16218
16219
16220 if test "$ac_cv_sizeof_long_long" != "0"; then
16221 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16222 fi
16223 ;;
16224 * )
16225 echo "$as_me:$LINENO: checking for long long" >&5
16226echo $ECHO_N "checking for long long... $ECHO_C" >&6
16227if test "${ac_cv_type_long_long+set}" = set; then
16228 echo $ECHO_N "(cached) $ECHO_C" >&6
16229else
16230 cat >conftest.$ac_ext <<_ACEOF
16231#line $LINENO "configure"
16232/* confdefs.h. */
16233_ACEOF
16234cat confdefs.h >>conftest.$ac_ext
16235cat >>conftest.$ac_ext <<_ACEOF
16236/* end confdefs.h. */
16237$ac_includes_default
16238int
16239main ()
16240{
16241if ((long long *) 0)
16242 return 0;
16243if (sizeof (long long))
16244 return 0;
16245 ;
16246 return 0;
16247}
16248_ACEOF
16249rm -f conftest.$ac_objext
16250if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16251 (eval $ac_compile) 2>&5
16252 ac_status=$?
16253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16254 (exit $ac_status); } &&
16255 { ac_try='test -s conftest.$ac_objext'
16256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16257 (eval $ac_try) 2>&5
16258 ac_status=$?
16259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16260 (exit $ac_status); }; }; then
16261 ac_cv_type_long_long=yes
16262else
16263 echo "$as_me: failed program was:" >&5
16264sed 's/^/| /' conftest.$ac_ext >&5
16265
16266ac_cv_type_long_long=no
16267fi
16268rm -f conftest.$ac_objext conftest.$ac_ext
16269fi
16270echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16271echo "${ECHO_T}$ac_cv_type_long_long" >&6
16272
16273echo "$as_me:$LINENO: checking size of long long" >&5
16274echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16275if test "${ac_cv_sizeof_long_long+set}" = set; then
16276 echo $ECHO_N "(cached) $ECHO_C" >&6
16277else
16278 if test "$ac_cv_type_long_long" = yes; then
16279 # The cast to unsigned long works around a bug in the HP C Compiler
16280 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16281 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16282 # This bug is HP SR number 8606223364.
16283 if test "$cross_compiling" = yes; then
16284 # Depending upon the size, compute the lo and hi bounds.
16285cat >conftest.$ac_ext <<_ACEOF
16286#line $LINENO "configure"
16287/* confdefs.h. */
16288_ACEOF
16289cat confdefs.h >>conftest.$ac_ext
16290cat >>conftest.$ac_ext <<_ACEOF
16291/* end confdefs.h. */
16292$ac_includes_default
16293int
16294main ()
16295{
16296static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16297test_array [0] = 0
16298
16299 ;
16300 return 0;
16301}
16302_ACEOF
16303rm -f conftest.$ac_objext
16304if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16305 (eval $ac_compile) 2>&5
16306 ac_status=$?
16307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16308 (exit $ac_status); } &&
16309 { ac_try='test -s conftest.$ac_objext'
16310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16311 (eval $ac_try) 2>&5
16312 ac_status=$?
16313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16314 (exit $ac_status); }; }; then
16315 ac_lo=0 ac_mid=0
16316 while :; do
16317 cat >conftest.$ac_ext <<_ACEOF
16318#line $LINENO "configure"
16319/* confdefs.h. */
16320_ACEOF
16321cat confdefs.h >>conftest.$ac_ext
16322cat >>conftest.$ac_ext <<_ACEOF
16323/* end confdefs.h. */
16324$ac_includes_default
16325int
16326main ()
16327{
16328static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16329test_array [0] = 0
16330
16331 ;
16332 return 0;
16333}
16334_ACEOF
16335rm -f conftest.$ac_objext
16336if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16337 (eval $ac_compile) 2>&5
16338 ac_status=$?
16339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16340 (exit $ac_status); } &&
16341 { ac_try='test -s conftest.$ac_objext'
16342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16343 (eval $ac_try) 2>&5
16344 ac_status=$?
16345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16346 (exit $ac_status); }; }; then
16347 ac_hi=$ac_mid; break
16348else
16349 echo "$as_me: failed program was:" >&5
16350sed 's/^/| /' conftest.$ac_ext >&5
16351
16352ac_lo=`expr $ac_mid + 1`
16353 if test $ac_lo -le $ac_mid; then
16354 ac_lo= ac_hi=
16355 break
16356 fi
16357 ac_mid=`expr 2 '*' $ac_mid + 1`
16358fi
16359rm -f conftest.$ac_objext conftest.$ac_ext
16360 done
16361else
16362 echo "$as_me: failed program was:" >&5
16363sed 's/^/| /' conftest.$ac_ext >&5
16364
16365cat >conftest.$ac_ext <<_ACEOF
16366#line $LINENO "configure"
16367/* confdefs.h. */
16368_ACEOF
16369cat confdefs.h >>conftest.$ac_ext
16370cat >>conftest.$ac_ext <<_ACEOF
16371/* end confdefs.h. */
16372$ac_includes_default
16373int
16374main ()
16375{
16376static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16377test_array [0] = 0
16378
16379 ;
16380 return 0;
16381}
16382_ACEOF
16383rm -f conftest.$ac_objext
16384if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16385 (eval $ac_compile) 2>&5
16386 ac_status=$?
16387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16388 (exit $ac_status); } &&
16389 { ac_try='test -s conftest.$ac_objext'
16390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16391 (eval $ac_try) 2>&5
16392 ac_status=$?
16393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16394 (exit $ac_status); }; }; then
16395 ac_hi=-1 ac_mid=-1
16396 while :; do
16397 cat >conftest.$ac_ext <<_ACEOF
16398#line $LINENO "configure"
16399/* confdefs.h. */
16400_ACEOF
16401cat confdefs.h >>conftest.$ac_ext
16402cat >>conftest.$ac_ext <<_ACEOF
16403/* end confdefs.h. */
16404$ac_includes_default
16405int
16406main ()
16407{
16408static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16409test_array [0] = 0
16410
16411 ;
16412 return 0;
16413}
16414_ACEOF
16415rm -f conftest.$ac_objext
16416if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16417 (eval $ac_compile) 2>&5
16418 ac_status=$?
16419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16420 (exit $ac_status); } &&
16421 { ac_try='test -s conftest.$ac_objext'
16422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16423 (eval $ac_try) 2>&5
16424 ac_status=$?
16425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16426 (exit $ac_status); }; }; then
16427 ac_lo=$ac_mid; break
16428else
16429 echo "$as_me: failed program was:" >&5
16430sed 's/^/| /' conftest.$ac_ext >&5
16431
16432ac_hi=`expr '(' $ac_mid ')' - 1`
16433 if test $ac_mid -le $ac_hi; then
16434 ac_lo= ac_hi=
16435 break
16436 fi
16437 ac_mid=`expr 2 '*' $ac_mid`
16438fi
16439rm -f conftest.$ac_objext conftest.$ac_ext
16440 done
16441else
16442 echo "$as_me: failed program was:" >&5
16443sed 's/^/| /' conftest.$ac_ext >&5
16444
16445ac_lo= ac_hi=
16446fi
16447rm -f conftest.$ac_objext conftest.$ac_ext
16448fi
16449rm -f conftest.$ac_objext conftest.$ac_ext
16450# Binary search between lo and hi bounds.
16451while test "x$ac_lo" != "x$ac_hi"; do
16452 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16453 cat >conftest.$ac_ext <<_ACEOF
16454#line $LINENO "configure"
16455/* confdefs.h. */
16456_ACEOF
16457cat confdefs.h >>conftest.$ac_ext
16458cat >>conftest.$ac_ext <<_ACEOF
16459/* end confdefs.h. */
16460$ac_includes_default
16461int
16462main ()
16463{
16464static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16465test_array [0] = 0
16466
16467 ;
16468 return 0;
16469}
16470_ACEOF
16471rm -f conftest.$ac_objext
16472if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16473 (eval $ac_compile) 2>&5
16474 ac_status=$?
16475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16476 (exit $ac_status); } &&
16477 { ac_try='test -s conftest.$ac_objext'
16478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16479 (eval $ac_try) 2>&5
16480 ac_status=$?
16481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16482 (exit $ac_status); }; }; then
16483 ac_hi=$ac_mid
16484else
16485 echo "$as_me: failed program was:" >&5
16486sed 's/^/| /' conftest.$ac_ext >&5
16487
16488ac_lo=`expr '(' $ac_mid ')' + 1`
16489fi
16490rm -f conftest.$ac_objext conftest.$ac_ext
16491done
16492case $ac_lo in
16493?*) ac_cv_sizeof_long_long=$ac_lo;;
16494'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16495See \`config.log' for more details." >&5
16496echo "$as_me: error: cannot compute sizeof (long long), 77
16497See \`config.log' for more details." >&2;}
16498 { (exit 1); exit 1; }; } ;;
16499esac
16500else
16501 if test "$cross_compiling" = yes; then
16502 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16503See \`config.log' for more details." >&5
16504echo "$as_me: error: cannot run test program while cross compiling
16505See \`config.log' for more details." >&2;}
16506 { (exit 1); exit 1; }; }
16507else
16508 cat >conftest.$ac_ext <<_ACEOF
16509#line $LINENO "configure"
16510/* confdefs.h. */
16511_ACEOF
16512cat confdefs.h >>conftest.$ac_ext
16513cat >>conftest.$ac_ext <<_ACEOF
16514/* end confdefs.h. */
16515$ac_includes_default
16516long longval () { return (long) (sizeof (long long)); }
16517unsigned long ulongval () { return (long) (sizeof (long long)); }
16518#include <stdio.h>
16519#include <stdlib.h>
16520int
16521main ()
16522{
16523
16524 FILE *f = fopen ("conftest.val", "w");
16525 if (! f)
16526 exit (1);
16527 if (((long) (sizeof (long long))) < 0)
16528 {
16529 long i = longval ();
16530 if (i != ((long) (sizeof (long long))))
16531 exit (1);
16532 fprintf (f, "%ld\n", i);
16533 }
16534 else
16535 {
16536 unsigned long i = ulongval ();
16537 if (i != ((long) (sizeof (long long))))
16538 exit (1);
16539 fprintf (f, "%lu\n", i);
16540 }
16541 exit (ferror (f) || fclose (f) != 0);
16542
16543 ;
16544 return 0;
16545}
16546_ACEOF
16547rm -f conftest$ac_exeext
16548if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16549 (eval $ac_link) 2>&5
16550 ac_status=$?
16551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16552 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16554 (eval $ac_try) 2>&5
16555 ac_status=$?
16556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557 (exit $ac_status); }; }; then
16558 ac_cv_sizeof_long_long=`cat conftest.val`
16559else
16560 echo "$as_me: program exited with status $ac_status" >&5
16561echo "$as_me: failed program was:" >&5
16562sed 's/^/| /' conftest.$ac_ext >&5
16563
16564( exit $ac_status )
16565{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16566See \`config.log' for more details." >&5
16567echo "$as_me: error: cannot compute sizeof (long long), 77
16568See \`config.log' for more details." >&2;}
16569 { (exit 1); exit 1; }; }
16570fi
16571rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16572fi
16573fi
16574rm -f conftest.val
16575else
16576 ac_cv_sizeof_long_long=0
16577fi
16578fi
16579echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16580echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16581cat >>confdefs.h <<_ACEOF
16582#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16583_ACEOF
16584
16585
16586esac
16587
16588echo "$as_me:$LINENO: checking size of wchar_t" >&5
16589echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16590if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16591 echo $ECHO_N "(cached) $ECHO_C" >&6
16592else
16593
16594 if test "$cross_compiling" = yes; then
16595
16596 case "${host}" in
16597 *-pc-msdosdjgpp )
16598 wx_cv_sizeof_wchar_t=0
16599 ;;
16600 * )
16601 wx_cv_sizeof_wchar_t=4
16602 ;;
16603 esac
16604
16605
16606else
16607 cat >conftest.$ac_ext <<_ACEOF
16608#line $LINENO "configure"
16609/* confdefs.h. */
16610_ACEOF
16611cat confdefs.h >>conftest.$ac_ext
16612cat >>conftest.$ac_ext <<_ACEOF
16613/* end confdefs.h. */
16614
16615 /* DJGPP only has fake wchar_t: */
16616 #ifdef __DJGPP__
16617 # error "fake wchar_t"
16618 #endif
16619 #ifdef HAVE_WCHAR_H
16620 # ifdef __CYGWIN__
16621 # include <stddef.h>
16622 # endif
16623 # include <wchar.h>
16624 #endif
16625 #ifdef HAVE_STDLIB_H
16626 # include <stdlib.h>
16627 #endif
16628 #include <stdio.h>
16629 int main()
16630 {
16631 FILE *f=fopen("conftestval", "w");
16632 if (!f) exit(1);
16633 fprintf(f, "%i", sizeof(wchar_t));
16634 exit(0);
16635 }
16636
16637_ACEOF
16638rm -f conftest$ac_exeext
16639if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16640 (eval $ac_link) 2>&5
16641 ac_status=$?
16642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16643 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16645 (eval $ac_try) 2>&5
16646 ac_status=$?
16647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16648 (exit $ac_status); }; }; then
16649 wx_cv_sizeof_wchar_t=`cat conftestval`
16650else
16651 echo "$as_me: program exited with status $ac_status" >&5
16652echo "$as_me: failed program was:" >&5
16653sed 's/^/| /' conftest.$ac_ext >&5
16654
16655( exit $ac_status )
16656wx_cv_sizeof_wchar_t=0
16657fi
16658rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16659fi
16660
16661fi
16662echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16663echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16664
16665cat >>confdefs.h <<_ACEOF
16666#define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16667_ACEOF
16668
16669
16670# Check whether --enable-largefile or --disable-largefile was given.
16671if test "${enable_largefile+set}" = set; then
16672 enableval="$enable_largefile"
16673
16674fi;
16675if test "$enable_largefile" != no; then
16676 wx_largefile=no
16677
16678 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16679echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16680if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16681 echo $ECHO_N "(cached) $ECHO_C" >&6
16682else
16683
16684 cat >conftest.$ac_ext <<_ACEOF
16685#line $LINENO "configure"
16686/* confdefs.h. */
16687_ACEOF
16688cat confdefs.h >>conftest.$ac_ext
16689cat >>conftest.$ac_ext <<_ACEOF
16690/* end confdefs.h. */
16691#define _FILE_OFFSET_BITS 64
16692 #include <sys/types.h>
16693int
16694main ()
16695{
16696typedef struct {
16697 unsigned int field: sizeof(off_t) == 8;
16698} wxlf;
16699
16700 ;
16701 return 0;
16702}
16703_ACEOF
16704rm -f conftest.$ac_objext
16705if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16706 (eval $ac_compile) 2>&5
16707 ac_status=$?
16708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709 (exit $ac_status); } &&
16710 { ac_try='test -s conftest.$ac_objext'
16711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16712 (eval $ac_try) 2>&5
16713 ac_status=$?
16714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16715 (exit $ac_status); }; }; then
16716 ac_cv_sys_file_offset_bits=64
16717else
16718 echo "$as_me: failed program was:" >&5
16719sed 's/^/| /' conftest.$ac_ext >&5
16720
16721ac_cv_sys_file_offset_bits=no
16722fi
16723rm -f conftest.$ac_objext conftest.$ac_ext
16724
16725
16726fi
16727echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16728echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16729
16730 if test "$ac_cv_sys_file_offset_bits" != no; then
16731 wx_largefile=yes
16732 cat >>confdefs.h <<_ACEOF
16733#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16734_ACEOF
16735
16736 fi
16737
16738 if test "x$wx_largefile" != "xyes"; then
16739
16740 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16741echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16742if test "${ac_cv_sys_large_files+set}" = set; then
16743 echo $ECHO_N "(cached) $ECHO_C" >&6
16744else
16745
16746 cat >conftest.$ac_ext <<_ACEOF
16747#line $LINENO "configure"
16748/* confdefs.h. */
16749_ACEOF
16750cat confdefs.h >>conftest.$ac_ext
16751cat >>conftest.$ac_ext <<_ACEOF
16752/* end confdefs.h. */
16753#define _LARGE_FILES 1
16754 #include <sys/types.h>
16755int
16756main ()
16757{
16758typedef struct {
16759 unsigned int field: sizeof(off_t) == 8;
16760} wxlf;
16761
16762 ;
16763 return 0;
16764}
16765_ACEOF
16766rm -f conftest.$ac_objext
16767if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16768 (eval $ac_compile) 2>&5
16769 ac_status=$?
16770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16771 (exit $ac_status); } &&
16772 { ac_try='test -s conftest.$ac_objext'
16773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16774 (eval $ac_try) 2>&5
16775 ac_status=$?
16776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16777 (exit $ac_status); }; }; then
16778 ac_cv_sys_large_files=1
16779else
16780 echo "$as_me: failed program was:" >&5
16781sed 's/^/| /' conftest.$ac_ext >&5
16782
16783ac_cv_sys_large_files=no
16784fi
16785rm -f conftest.$ac_objext conftest.$ac_ext
16786
16787
16788fi
16789echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16790echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16791
16792 if test "$ac_cv_sys_large_files" != no; then
16793 wx_largefile=yes
16794 cat >>confdefs.h <<_ACEOF
16795#define _LARGE_FILES $ac_cv_sys_large_files
16796_ACEOF
16797
16798 fi
16799
16800 fi
16801
16802 echo "$as_me:$LINENO: checking if large file support is available" >&5
16803echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16804 if test "x$wx_largefile" = "xyes"; then
16805 cat >>confdefs.h <<\_ACEOF
16806#define HAVE_LARGEFILE_SUPPORT 1
16807_ACEOF
16808
16809 fi
16810 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16811echo "${ECHO_T}$wx_largefile" >&6
16812fi
16813
16814
16815if test "x$wx_largefile" = "xyes"; then
16816 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16817 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16818 else
16819 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
16820 fi
16821 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16822fi
16823
16824echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16825echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16826if test "${ac_cv_c_bigendian+set}" = set; then
16827 echo $ECHO_N "(cached) $ECHO_C" >&6
16828else
16829 ac_cv_c_bigendian=unknown
16830# See if sys/param.h defines the BYTE_ORDER macro.
16831cat >conftest.$ac_ext <<_ACEOF
16832#line $LINENO "configure"
16833/* confdefs.h. */
16834_ACEOF
16835cat confdefs.h >>conftest.$ac_ext
16836cat >>conftest.$ac_ext <<_ACEOF
16837/* end confdefs.h. */
16838#include <sys/types.h>
16839#include <sys/param.h>
16840int
16841main ()
16842{
16843
16844#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16845 bogus endian macros
16846#endif
16847 ;
16848 return 0;
16849}
16850_ACEOF
16851rm -f conftest.$ac_objext
16852if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16853 (eval $ac_compile) 2>&5
16854 ac_status=$?
16855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16856 (exit $ac_status); } &&
16857 { ac_try='test -s conftest.$ac_objext'
16858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16859 (eval $ac_try) 2>&5
16860 ac_status=$?
16861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16862 (exit $ac_status); }; }; then
16863 # It does; now see whether it defined to BIG_ENDIAN or not.
16864cat >conftest.$ac_ext <<_ACEOF
16865#line $LINENO "configure"
16866/* confdefs.h. */
16867_ACEOF
16868cat confdefs.h >>conftest.$ac_ext
16869cat >>conftest.$ac_ext <<_ACEOF
16870/* end confdefs.h. */
16871#include <sys/types.h>
16872#include <sys/param.h>
16873int
16874main ()
16875{
16876
16877#if BYTE_ORDER != BIG_ENDIAN
16878 not big endian
16879#endif
16880 ;
16881 return 0;
16882}
16883_ACEOF
16884rm -f conftest.$ac_objext
16885if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16886 (eval $ac_compile) 2>&5
16887 ac_status=$?
16888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16889 (exit $ac_status); } &&
16890 { ac_try='test -s conftest.$ac_objext'
16891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16892 (eval $ac_try) 2>&5
16893 ac_status=$?
16894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16895 (exit $ac_status); }; }; then
16896 ac_cv_c_bigendian=yes
16897else
16898 echo "$as_me: failed program was:" >&5
16899sed 's/^/| /' conftest.$ac_ext >&5
16900
16901ac_cv_c_bigendian=no
16902fi
16903rm -f conftest.$ac_objext conftest.$ac_ext
16904else
16905 echo "$as_me: failed program was:" >&5
16906sed 's/^/| /' conftest.$ac_ext >&5
16907
16908fi
16909rm -f conftest.$ac_objext conftest.$ac_ext
16910if test $ac_cv_c_bigendian = unknown; then
16911if test "$cross_compiling" = yes; then
16912 ac_cv_c_bigendian=unknown
16913else
16914 cat >conftest.$ac_ext <<_ACEOF
16915#line $LINENO "configure"
16916/* confdefs.h. */
16917_ACEOF
16918cat confdefs.h >>conftest.$ac_ext
16919cat >>conftest.$ac_ext <<_ACEOF
16920/* end confdefs.h. */
16921main () {
16922 /* Are we little or big endian? From Harbison&Steele. */
16923 union
16924 {
16925 long l;
16926 char c[sizeof (long)];
16927 } u;
16928 u.l = 1;
16929 exit (u.c[sizeof (long) - 1] == 1);
16930}
16931_ACEOF
16932rm -f conftest$ac_exeext
16933if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16934 (eval $ac_link) 2>&5
16935 ac_status=$?
16936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16937 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16939 (eval $ac_try) 2>&5
16940 ac_status=$?
16941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16942 (exit $ac_status); }; }; then
16943 ac_cv_c_bigendian=no
16944else
16945 echo "$as_me: program exited with status $ac_status" >&5
16946echo "$as_me: failed program was:" >&5
16947sed 's/^/| /' conftest.$ac_ext >&5
16948
16949( exit $ac_status )
16950ac_cv_c_bigendian=yes
16951fi
16952rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16953fi
16954fi
16955fi
16956echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16957echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16958if test $ac_cv_c_bigendian = unknown; then
16959 { 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
16960echo "$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;}
16961fi
16962if test $ac_cv_c_bigendian = yes; then
16963 cat >>confdefs.h <<\_ACEOF
16964#define WORDS_BIGENDIAN 1
16965_ACEOF
16966
16967fi
16968
16969
16970
16971ac_ext=cc
16972ac_cpp='$CXXCPP $CPPFLAGS'
16973ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16974ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16975ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16976echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16977echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16978if test -z "$CXXCPP"; then
16979 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16980 echo $ECHO_N "(cached) $ECHO_C" >&6
16981else
16982 # Double quotes because CXXCPP needs to be expanded
16983 for CXXCPP in "$CXX -E" "/lib/cpp"
16984 do
16985 ac_preproc_ok=false
16986for ac_cxx_preproc_warn_flag in '' yes
16987do
16988 # Use a header file that comes with gcc, so configuring glibc
16989 # with a fresh cross-compiler works.
16990 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16991 # <limits.h> exists even on freestanding compilers.
16992 # On the NeXT, cc -E runs the code through the compiler's parser,
16993 # not just through cpp. "Syntax error" is here to catch this case.
16994 cat >conftest.$ac_ext <<_ACEOF
16995#line $LINENO "configure"
16996/* confdefs.h. */
16997_ACEOF
16998cat confdefs.h >>conftest.$ac_ext
16999cat >>conftest.$ac_ext <<_ACEOF
17000/* end confdefs.h. */
17001#ifdef __STDC__
17002# include <limits.h>
17003#else
17004# include <assert.h>
17005#endif
17006 Syntax error
17007_ACEOF
17008if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17009 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17010 ac_status=$?
17011 grep -v '^ *+' conftest.er1 >conftest.err
17012 rm -f conftest.er1
17013 cat conftest.err >&5
17014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17015 (exit $ac_status); } >/dev/null; then
17016 if test -s conftest.err; then
17017 ac_cpp_err=$ac_cxx_preproc_warn_flag
17018 else
17019 ac_cpp_err=
17020 fi
17021else
17022 ac_cpp_err=yes
17023fi
17024if test -z "$ac_cpp_err"; then
17025 :
17026else
17027 echo "$as_me: failed program was:" >&5
17028sed 's/^/| /' conftest.$ac_ext >&5
17029
17030 # Broken: fails on valid input.
17031continue
17032fi
17033rm -f conftest.err conftest.$ac_ext
17034
17035 # OK, works on sane cases. Now check whether non-existent headers
17036 # can be detected and how.
17037 cat >conftest.$ac_ext <<_ACEOF
17038#line $LINENO "configure"
17039/* confdefs.h. */
17040_ACEOF
17041cat confdefs.h >>conftest.$ac_ext
17042cat >>conftest.$ac_ext <<_ACEOF
17043/* end confdefs.h. */
17044#include <ac_nonexistent.h>
17045_ACEOF
17046if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17047 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17048 ac_status=$?
17049 grep -v '^ *+' conftest.er1 >conftest.err
17050 rm -f conftest.er1
17051 cat conftest.err >&5
17052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); } >/dev/null; then
17054 if test -s conftest.err; then
17055 ac_cpp_err=$ac_cxx_preproc_warn_flag
17056 else
17057 ac_cpp_err=
17058 fi
17059else
17060 ac_cpp_err=yes
17061fi
17062if test -z "$ac_cpp_err"; then
17063 # Broken: success on invalid input.
17064continue
17065else
17066 echo "$as_me: failed program was:" >&5
17067sed 's/^/| /' conftest.$ac_ext >&5
17068
17069 # Passes both tests.
17070ac_preproc_ok=:
17071break
17072fi
17073rm -f conftest.err conftest.$ac_ext
17074
17075done
17076# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17077rm -f conftest.err conftest.$ac_ext
17078if $ac_preproc_ok; then
17079 break
17080fi
17081
17082 done
17083 ac_cv_prog_CXXCPP=$CXXCPP
17084
17085fi
17086 CXXCPP=$ac_cv_prog_CXXCPP
17087else
17088 ac_cv_prog_CXXCPP=$CXXCPP
17089fi
17090echo "$as_me:$LINENO: result: $CXXCPP" >&5
17091echo "${ECHO_T}$CXXCPP" >&6
17092ac_preproc_ok=false
17093for ac_cxx_preproc_warn_flag in '' yes
17094do
17095 # Use a header file that comes with gcc, so configuring glibc
17096 # with a fresh cross-compiler works.
17097 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17098 # <limits.h> exists even on freestanding compilers.
17099 # On the NeXT, cc -E runs the code through the compiler's parser,
17100 # not just through cpp. "Syntax error" is here to catch this case.
17101 cat >conftest.$ac_ext <<_ACEOF
17102#line $LINENO "configure"
17103/* confdefs.h. */
17104_ACEOF
17105cat confdefs.h >>conftest.$ac_ext
17106cat >>conftest.$ac_ext <<_ACEOF
17107/* end confdefs.h. */
17108#ifdef __STDC__
17109# include <limits.h>
17110#else
17111# include <assert.h>
17112#endif
17113 Syntax error
17114_ACEOF
17115if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17116 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17117 ac_status=$?
17118 grep -v '^ *+' conftest.er1 >conftest.err
17119 rm -f conftest.er1
17120 cat conftest.err >&5
17121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17122 (exit $ac_status); } >/dev/null; then
17123 if test -s conftest.err; then
17124 ac_cpp_err=$ac_cxx_preproc_warn_flag
17125 else
17126 ac_cpp_err=
17127 fi
17128else
17129 ac_cpp_err=yes
17130fi
17131if test -z "$ac_cpp_err"; then
17132 :
17133else
17134 echo "$as_me: failed program was:" >&5
17135sed 's/^/| /' conftest.$ac_ext >&5
17136
17137 # Broken: fails on valid input.
17138continue
17139fi
17140rm -f conftest.err conftest.$ac_ext
17141
17142 # OK, works on sane cases. Now check whether non-existent headers
17143 # can be detected and how.
17144 cat >conftest.$ac_ext <<_ACEOF
17145#line $LINENO "configure"
17146/* confdefs.h. */
17147_ACEOF
17148cat confdefs.h >>conftest.$ac_ext
17149cat >>conftest.$ac_ext <<_ACEOF
17150/* end confdefs.h. */
17151#include <ac_nonexistent.h>
17152_ACEOF
17153if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17154 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17155 ac_status=$?
17156 grep -v '^ *+' conftest.er1 >conftest.err
17157 rm -f conftest.er1
17158 cat conftest.err >&5
17159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17160 (exit $ac_status); } >/dev/null; then
17161 if test -s conftest.err; then
17162 ac_cpp_err=$ac_cxx_preproc_warn_flag
17163 else
17164 ac_cpp_err=
17165 fi
17166else
17167 ac_cpp_err=yes
17168fi
17169if test -z "$ac_cpp_err"; then
17170 # Broken: success on invalid input.
17171continue
17172else
17173 echo "$as_me: failed program was:" >&5
17174sed 's/^/| /' conftest.$ac_ext >&5
17175
17176 # Passes both tests.
17177ac_preproc_ok=:
17178break
17179fi
17180rm -f conftest.err conftest.$ac_ext
17181
17182done
17183# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17184rm -f conftest.err conftest.$ac_ext
17185if $ac_preproc_ok; then
17186 :
17187else
17188 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17189See \`config.log' for more details." >&5
17190echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17191See \`config.log' for more details." >&2;}
17192 { (exit 1); exit 1; }; }
17193fi
17194
17195ac_ext=cc
17196ac_cpp='$CXXCPP $CPPFLAGS'
17197ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17198ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17199ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17200
17201
17202
17203 if test "$cross_compiling" = "yes"; then
17204 cat >>confdefs.h <<\_ACEOF
17205#define wxUSE_IOSTREAMH 1
17206_ACEOF
17207
17208 else
17209
17210
17211 ac_ext=cc
17212ac_cpp='$CXXCPP $CPPFLAGS'
17213ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17214ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17215ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17216
17217
17218
17219for ac_header in iostream
17220do
17221as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17222if eval "test \"\${$as_ac_Header+set}\" = set"; then
17223 echo "$as_me:$LINENO: checking for $ac_header" >&5
17224echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17225if eval "test \"\${$as_ac_Header+set}\" = set"; then
17226 echo $ECHO_N "(cached) $ECHO_C" >&6
17227fi
17228echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17229echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17230else
17231 # Is the header compilable?
17232echo "$as_me:$LINENO: checking $ac_header usability" >&5
17233echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17234cat >conftest.$ac_ext <<_ACEOF
17235#line $LINENO "configure"
17236/* confdefs.h. */
17237_ACEOF
17238cat confdefs.h >>conftest.$ac_ext
17239cat >>conftest.$ac_ext <<_ACEOF
17240/* end confdefs.h. */
17241$ac_includes_default
17242#include <$ac_header>
17243_ACEOF
17244rm -f conftest.$ac_objext
17245if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17246 (eval $ac_compile) 2>&5
17247 ac_status=$?
17248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17249 (exit $ac_status); } &&
17250 { ac_try='test -s conftest.$ac_objext'
17251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17252 (eval $ac_try) 2>&5
17253 ac_status=$?
17254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17255 (exit $ac_status); }; }; then
17256 ac_header_compiler=yes
17257else
17258 echo "$as_me: failed program was:" >&5
17259sed 's/^/| /' conftest.$ac_ext >&5
17260
17261ac_header_compiler=no
17262fi
17263rm -f conftest.$ac_objext conftest.$ac_ext
17264echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17265echo "${ECHO_T}$ac_header_compiler" >&6
17266
17267# Is the header present?
17268echo "$as_me:$LINENO: checking $ac_header presence" >&5
17269echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17270cat >conftest.$ac_ext <<_ACEOF
17271#line $LINENO "configure"
17272/* confdefs.h. */
17273_ACEOF
17274cat confdefs.h >>conftest.$ac_ext
17275cat >>conftest.$ac_ext <<_ACEOF
17276/* end confdefs.h. */
17277#include <$ac_header>
17278_ACEOF
17279if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17280 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17281 ac_status=$?
17282 grep -v '^ *+' conftest.er1 >conftest.err
17283 rm -f conftest.er1
17284 cat conftest.err >&5
17285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17286 (exit $ac_status); } >/dev/null; then
17287 if test -s conftest.err; then
17288 ac_cpp_err=$ac_cxx_preproc_warn_flag
17289 else
17290 ac_cpp_err=
17291 fi
17292else
17293 ac_cpp_err=yes
17294fi
17295if test -z "$ac_cpp_err"; then
17296 ac_header_preproc=yes
17297else
17298 echo "$as_me: failed program was:" >&5
17299sed 's/^/| /' conftest.$ac_ext >&5
17300
17301 ac_header_preproc=no
17302fi
17303rm -f conftest.err conftest.$ac_ext
17304echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17305echo "${ECHO_T}$ac_header_preproc" >&6
17306
17307# So? What about this header?
17308case $ac_header_compiler:$ac_header_preproc in
17309 yes:no )
17310 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17311echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17312 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17313echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17314 (
17315 cat <<\_ASBOX
17316## ------------------------------------ ##
17317## Report this to bug-autoconf@gnu.org. ##
17318## ------------------------------------ ##
17319_ASBOX
17320 ) |
17321 sed "s/^/$as_me: WARNING: /" >&2
17322 ;;
17323 no:yes )
17324 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17325echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17326 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17327echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17328 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17329echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17330 (
17331 cat <<\_ASBOX
17332## ------------------------------------ ##
17333## Report this to bug-autoconf@gnu.org. ##
17334## ------------------------------------ ##
17335_ASBOX
17336 ) |
17337 sed "s/^/$as_me: WARNING: /" >&2
17338 ;;
17339esac
17340echo "$as_me:$LINENO: checking for $ac_header" >&5
17341echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17342if eval "test \"\${$as_ac_Header+set}\" = set"; then
17343 echo $ECHO_N "(cached) $ECHO_C" >&6
17344else
17345 eval "$as_ac_Header=$ac_header_preproc"
17346fi
17347echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17348echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17349
17350fi
17351if test `eval echo '${'$as_ac_Header'}'` = yes; then
17352 cat >>confdefs.h <<_ACEOF
17353#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17354_ACEOF
17355
17356fi
17357
17358done
17359
17360
17361 if test "$ac_cv_header_iostream" = "yes" ; then
17362 :
17363 else
17364 cat >>confdefs.h <<\_ACEOF
17365#define wxUSE_IOSTREAMH 1
17366_ACEOF
17367
17368 fi
17369
17370 ac_ext=c
17371ac_cpp='$CPP $CPPFLAGS'
17372ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17373ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17374ac_compiler_gnu=$ac_cv_c_compiler_gnu
17375
17376 fi
17377
17378
17379
17380 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17381echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17382if test "${wx_cv_cpp_bool+set}" = set; then
17383 echo $ECHO_N "(cached) $ECHO_C" >&6
17384else
17385
17386
17387
17388 ac_ext=cc
17389ac_cpp='$CXXCPP $CPPFLAGS'
17390ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17391ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17392ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17393
17394
17395 cat >conftest.$ac_ext <<_ACEOF
17396#line $LINENO "configure"
17397/* confdefs.h. */
17398_ACEOF
17399cat confdefs.h >>conftest.$ac_ext
17400cat >>conftest.$ac_ext <<_ACEOF
17401/* end confdefs.h. */
17402
17403
17404int
17405main ()
17406{
17407
17408 bool b = true;
17409
17410 return 0;
17411
17412 ;
17413 return 0;
17414}
17415_ACEOF
17416rm -f conftest.$ac_objext
17417if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17418 (eval $ac_compile) 2>&5
17419 ac_status=$?
17420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17421 (exit $ac_status); } &&
17422 { ac_try='test -s conftest.$ac_objext'
17423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17424 (eval $ac_try) 2>&5
17425 ac_status=$?
17426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17427 (exit $ac_status); }; }; then
17428
17429 wx_cv_cpp_bool=yes
17430
17431else
17432 echo "$as_me: failed program was:" >&5
17433sed 's/^/| /' conftest.$ac_ext >&5
17434
17435
17436 wx_cv_cpp_bool=no
17437
17438
17439fi
17440rm -f conftest.$ac_objext conftest.$ac_ext
17441
17442 ac_ext=c
17443ac_cpp='$CPP $CPPFLAGS'
17444ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17445ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17446ac_compiler_gnu=$ac_cv_c_compiler_gnu
17447
17448
17449fi
17450echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17451echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17452
17453 if test "$wx_cv_cpp_bool" = "yes"; then
17454 cat >>confdefs.h <<\_ACEOF
17455#define HAVE_BOOL 1
17456_ACEOF
17457
17458 fi
17459
17460
17461
17462 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17463echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17464if test "${wx_cv_explicit+set}" = set; then
17465 echo $ECHO_N "(cached) $ECHO_C" >&6
17466else
17467
17468
17469
17470 ac_ext=cc
17471ac_cpp='$CXXCPP $CPPFLAGS'
17472ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17473ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17474ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17475
17476
17477 cat >conftest.$ac_ext <<_ACEOF
17478#line $LINENO "configure"
17479/* confdefs.h. */
17480_ACEOF
17481cat confdefs.h >>conftest.$ac_ext
17482cat >>conftest.$ac_ext <<_ACEOF
17483/* end confdefs.h. */
17484
17485 class Foo { public: explicit Foo(int) {} };
17486
17487int
17488main ()
17489{
17490
17491 return 0;
17492
17493 ;
17494 return 0;
17495}
17496_ACEOF
17497rm -f conftest.$ac_objext
17498if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17499 (eval $ac_compile) 2>&5
17500 ac_status=$?
17501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502 (exit $ac_status); } &&
17503 { ac_try='test -s conftest.$ac_objext'
17504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17505 (eval $ac_try) 2>&5
17506 ac_status=$?
17507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17508 (exit $ac_status); }; }; then
17509
17510 cat >conftest.$ac_ext <<_ACEOF
17511#line $LINENO "configure"
17512/* confdefs.h. */
17513_ACEOF
17514cat confdefs.h >>conftest.$ac_ext
17515cat >>conftest.$ac_ext <<_ACEOF
17516/* end confdefs.h. */
17517
17518 class Foo { public: explicit Foo(int) {} };
17519 static void TakeFoo(const Foo& foo) { }
17520
17521int
17522main ()
17523{
17524
17525 TakeFoo(17);
17526 return 0;
17527
17528 ;
17529 return 0;
17530}
17531_ACEOF
17532rm -f conftest.$ac_objext
17533if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17534 (eval $ac_compile) 2>&5
17535 ac_status=$?
17536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17537 (exit $ac_status); } &&
17538 { ac_try='test -s conftest.$ac_objext'
17539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17540 (eval $ac_try) 2>&5
17541 ac_status=$?
17542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17543 (exit $ac_status); }; }; then
17544 wx_cv_explicit=no
17545else
17546 echo "$as_me: failed program was:" >&5
17547sed 's/^/| /' conftest.$ac_ext >&5
17548
17549wx_cv_explicit=yes
17550
17551fi
17552rm -f conftest.$ac_objext conftest.$ac_ext
17553
17554else
17555 echo "$as_me: failed program was:" >&5
17556sed 's/^/| /' conftest.$ac_ext >&5
17557
17558wx_cv_explicit=no
17559
17560fi
17561rm -f conftest.$ac_objext conftest.$ac_ext
17562
17563 ac_ext=c
17564ac_cpp='$CPP $CPPFLAGS'
17565ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17566ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17567ac_compiler_gnu=$ac_cv_c_compiler_gnu
17568
17569
17570fi
17571echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17572echo "${ECHO_T}$wx_cv_explicit" >&6
17573
17574 if test "$wx_cv_explicit" = "yes"; then
17575 cat >>confdefs.h <<\_ACEOF
17576#define HAVE_EXPLICIT 1
17577_ACEOF
17578
17579 fi
17580
17581
17582echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17583echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17584if test "${ac_cv_cxx_const_cast+set}" = set; then
17585 echo $ECHO_N "(cached) $ECHO_C" >&6
17586else
17587
17588
17589 ac_ext=cc
17590ac_cpp='$CXXCPP $CPPFLAGS'
17591ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17592ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17593ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17594
17595 cat >conftest.$ac_ext <<_ACEOF
17596#line $LINENO "configure"
17597/* confdefs.h. */
17598_ACEOF
17599cat confdefs.h >>conftest.$ac_ext
17600cat >>conftest.$ac_ext <<_ACEOF
17601/* end confdefs.h. */
17602
17603int
17604main ()
17605{
17606int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17607 ;
17608 return 0;
17609}
17610_ACEOF
17611rm -f conftest.$ac_objext
17612if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17613 (eval $ac_compile) 2>&5
17614 ac_status=$?
17615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17616 (exit $ac_status); } &&
17617 { ac_try='test -s conftest.$ac_objext'
17618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17619 (eval $ac_try) 2>&5
17620 ac_status=$?
17621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17622 (exit $ac_status); }; }; then
17623 ac_cv_cxx_const_cast=yes
17624else
17625 echo "$as_me: failed program was:" >&5
17626sed 's/^/| /' conftest.$ac_ext >&5
17627
17628ac_cv_cxx_const_cast=no
17629fi
17630rm -f conftest.$ac_objext conftest.$ac_ext
17631 ac_ext=c
17632ac_cpp='$CPP $CPPFLAGS'
17633ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17634ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17635ac_compiler_gnu=$ac_cv_c_compiler_gnu
17636
17637
17638fi
17639echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17640echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17641if test "$ac_cv_cxx_const_cast" = yes; then
17642
17643cat >>confdefs.h <<\_ACEOF
17644#define HAVE_CONST_CAST
17645_ACEOF
17646
17647fi
17648
17649
17650
17651SEARCH_INCLUDE="\
17652 /usr/local/include \
17653 \
17654 /usr/Motif-1.2/include \
17655 /usr/Motif-2.1/include \
17656 \
17657 /usr/include/Motif1.2 \
17658 /opt/xpm/include/X11 \
17659 /opt/GBxpm/include/ \
17660 /opt/GBxpm/X11/include/ \
17661 \
17662 /usr/Motif1.2/include \
17663 /usr/dt/include \
17664 /usr/openwin/include \
17665 \
17666 /usr/include/Xm \
17667 \
17668 /usr/X11R6/include \
17669 /usr/X11R6.4/include \
17670 /usr/X11R5/include \
17671 /usr/X11R4/include \
17672 \
17673 /usr/include/X11R6 \
17674 /usr/include/X11R5 \
17675 /usr/include/X11R4 \
17676 \
17677 /usr/local/X11R6/include \
17678 /usr/local/X11R5/include \
17679 /usr/local/X11R4/include \
17680 \
17681 /usr/local/include/X11R6 \
17682 /usr/local/include/X11R5 \
17683 /usr/local/include/X11R4 \
17684 \
17685 /usr/X11/include \
17686 /usr/include/X11 \
17687 /usr/local/X11/include \
17688 /usr/local/include/X11 \
17689 \
17690 /usr/X386/include \
17691 /usr/x386/include \
17692 /usr/XFree86/include/X11 \
17693 \
17694 X:/XFree86/include \
17695 X:/XFree86/include/X11 \
17696 \
17697 /usr/include/gtk \
17698 /usr/local/include/gtk \
17699 /usr/include/glib \
17700 /usr/local/include/glib \
17701 \
17702 /usr/include/qt \
17703 /usr/local/include/qt \
17704 \
17705 /usr/include/windows \
17706 /usr/include/wine \
17707 /usr/local/include/wine \
17708 \
17709 /usr/unsupported/include \
17710 /usr/athena/include \
17711 /usr/local/x11r5/include \
17712 /usr/lpp/Xamples/include \
17713 \
17714 /usr/openwin/share/include"
17715
17716SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17717
17718
17719cat >confcache <<\_ACEOF
17720# This file is a shell script that caches the results of configure
17721# tests run on this system so they can be shared between configure
17722# scripts and configure runs, see configure's option --config-cache.
17723# It is not useful on other systems. If it contains results you don't
17724# want to keep, you may remove or edit it.
17725#
17726# config.status only pays attention to the cache file if you give it
17727# the --recheck option to rerun configure.
17728#
17729# `ac_cv_env_foo' variables (set or unset) will be overridden when
17730# loading this file, other *unset* `ac_cv_foo' will be assigned the
17731# following values.
17732
17733_ACEOF
17734
17735# The following way of writing the cache mishandles newlines in values,
17736# but we know of no workaround that is simple, portable, and efficient.
17737# So, don't put newlines in cache variables' values.
17738# Ultrix sh set writes to stderr and can't be redirected directly,
17739# and sets the high bit in the cache file unless we assign to the vars.
17740{
17741 (set) 2>&1 |
17742 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17743 *ac_space=\ *)
17744 # `set' does not quote correctly, so add quotes (double-quote
17745 # substitution turns \\\\ into \\, and sed turns \\ into \).
17746 sed -n \
17747 "s/'/'\\\\''/g;
17748 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17749 ;;
17750 *)
17751 # `set' quotes correctly as required by POSIX, so do not add quotes.
17752 sed -n \
17753 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17754 ;;
17755 esac;
17756} |
17757 sed '
17758 t clear
17759 : clear
17760 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17761 t end
17762 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17763 : end' >>confcache
17764if diff $cache_file confcache >/dev/null 2>&1; then :; else
17765 if test -w $cache_file; then
17766 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17767 cat confcache >$cache_file
17768 else
17769 echo "not updating unwritable cache $cache_file"
17770 fi
17771fi
17772rm -f confcache
17773
17774if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17775 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17776echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17777if test "${wx_cv_lib_glibc21+set}" = set; then
17778 echo $ECHO_N "(cached) $ECHO_C" >&6
17779else
17780
17781 cat >conftest.$ac_ext <<_ACEOF
17782#line $LINENO "configure"
17783/* confdefs.h. */
17784_ACEOF
17785cat confdefs.h >>conftest.$ac_ext
17786cat >>conftest.$ac_ext <<_ACEOF
17787/* end confdefs.h. */
17788#include <features.h>
17789int
17790main ()
17791{
17792
17793 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17794 #error not glibc2.1
17795 #endif
17796
17797 ;
17798 return 0;
17799}
17800_ACEOF
17801rm -f conftest.$ac_objext
17802if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17803 (eval $ac_compile) 2>&5
17804 ac_status=$?
17805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17806 (exit $ac_status); } &&
17807 { ac_try='test -s conftest.$ac_objext'
17808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17809 (eval $ac_try) 2>&5
17810 ac_status=$?
17811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812 (exit $ac_status); }; }; then
17813
17814 wx_cv_lib_glibc21=yes
17815
17816else
17817 echo "$as_me: failed program was:" >&5
17818sed 's/^/| /' conftest.$ac_ext >&5
17819
17820
17821 wx_cv_lib_glibc21=no
17822
17823
17824fi
17825rm -f conftest.$ac_objext conftest.$ac_ext
17826
17827fi
17828echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
17829echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
17830 if test "$wx_cv_lib_glibc21" = "yes"; then
17831 cat >>confdefs.h <<\_ACEOF
17832#define wxHAVE_GLIBC2 1
17833_ACEOF
17834
17835 fi
17836fi
17837
17838if test "x$wx_cv_lib_glibc21" = "xyes"; then
17839 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
17840 cat >>confdefs.h <<\_ACEOF
17841#define _GNU_SOURCE 1
17842_ACEOF
17843
17844 fi
17845fi
17846
17847
17848
17849REGEX_INCLUDE=
17850if test "$wxUSE_REGEX" != "no"; then
17851 cat >>confdefs.h <<\_ACEOF
17852#define wxUSE_REGEX 1
17853_ACEOF
17854
17855
17856 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
17857 if test "${ac_cv_header_regex_h+set}" = set; then
17858 echo "$as_me:$LINENO: checking for regex.h" >&5
17859echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17860if test "${ac_cv_header_regex_h+set}" = set; then
17861 echo $ECHO_N "(cached) $ECHO_C" >&6
17862fi
17863echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17864echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17865else
17866 # Is the header compilable?
17867echo "$as_me:$LINENO: checking regex.h usability" >&5
17868echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
17869cat >conftest.$ac_ext <<_ACEOF
17870#line $LINENO "configure"
17871/* confdefs.h. */
17872_ACEOF
17873cat confdefs.h >>conftest.$ac_ext
17874cat >>conftest.$ac_ext <<_ACEOF
17875/* end confdefs.h. */
17876$ac_includes_default
17877#include <regex.h>
17878_ACEOF
17879rm -f conftest.$ac_objext
17880if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17881 (eval $ac_compile) 2>&5
17882 ac_status=$?
17883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17884 (exit $ac_status); } &&
17885 { ac_try='test -s conftest.$ac_objext'
17886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17887 (eval $ac_try) 2>&5
17888 ac_status=$?
17889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17890 (exit $ac_status); }; }; then
17891 ac_header_compiler=yes
17892else
17893 echo "$as_me: failed program was:" >&5
17894sed 's/^/| /' conftest.$ac_ext >&5
17895
17896ac_header_compiler=no
17897fi
17898rm -f conftest.$ac_objext conftest.$ac_ext
17899echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17900echo "${ECHO_T}$ac_header_compiler" >&6
17901
17902# Is the header present?
17903echo "$as_me:$LINENO: checking regex.h presence" >&5
17904echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
17905cat >conftest.$ac_ext <<_ACEOF
17906#line $LINENO "configure"
17907/* confdefs.h. */
17908_ACEOF
17909cat confdefs.h >>conftest.$ac_ext
17910cat >>conftest.$ac_ext <<_ACEOF
17911/* end confdefs.h. */
17912#include <regex.h>
17913_ACEOF
17914if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17915 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17916 ac_status=$?
17917 grep -v '^ *+' conftest.er1 >conftest.err
17918 rm -f conftest.er1
17919 cat conftest.err >&5
17920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17921 (exit $ac_status); } >/dev/null; then
17922 if test -s conftest.err; then
17923 ac_cpp_err=$ac_c_preproc_warn_flag
17924 else
17925 ac_cpp_err=
17926 fi
17927else
17928 ac_cpp_err=yes
17929fi
17930if test -z "$ac_cpp_err"; then
17931 ac_header_preproc=yes
17932else
17933 echo "$as_me: failed program was:" >&5
17934sed 's/^/| /' conftest.$ac_ext >&5
17935
17936 ac_header_preproc=no
17937fi
17938rm -f conftest.err conftest.$ac_ext
17939echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17940echo "${ECHO_T}$ac_header_preproc" >&6
17941
17942# So? What about this header?
17943case $ac_header_compiler:$ac_header_preproc in
17944 yes:no )
17945 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
17946echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17947 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17948echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17949 (
17950 cat <<\_ASBOX
17951## ------------------------------------ ##
17952## Report this to bug-autoconf@gnu.org. ##
17953## ------------------------------------ ##
17954_ASBOX
17955 ) |
17956 sed "s/^/$as_me: WARNING: /" >&2
17957 ;;
17958 no:yes )
17959 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
17960echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
17961 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
17962echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
17963 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17964echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17965 (
17966 cat <<\_ASBOX
17967## ------------------------------------ ##
17968## Report this to bug-autoconf@gnu.org. ##
17969## ------------------------------------ ##
17970_ASBOX
17971 ) |
17972 sed "s/^/$as_me: WARNING: /" >&2
17973 ;;
17974esac
17975echo "$as_me:$LINENO: checking for regex.h" >&5
17976echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17977if test "${ac_cv_header_regex_h+set}" = set; then
17978 echo $ECHO_N "(cached) $ECHO_C" >&6
17979else
17980 ac_cv_header_regex_h=$ac_header_preproc
17981fi
17982echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17983echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17984
17985fi
17986if test $ac_cv_header_regex_h = yes; then
17987
17988for ac_func in regcomp
17989do
17990as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17991echo "$as_me:$LINENO: checking for $ac_func" >&5
17992echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17993if eval "test \"\${$as_ac_var+set}\" = set"; then
17994 echo $ECHO_N "(cached) $ECHO_C" >&6
17995else
17996 cat >conftest.$ac_ext <<_ACEOF
17997#line $LINENO "configure"
17998/* confdefs.h. */
17999_ACEOF
18000cat confdefs.h >>conftest.$ac_ext
18001cat >>conftest.$ac_ext <<_ACEOF
18002/* end confdefs.h. */
18003/* System header to define __stub macros and hopefully few prototypes,
18004 which can conflict with char $ac_func (); below.
18005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18006 <limits.h> exists even on freestanding compilers. */
18007#ifdef __STDC__
18008# include <limits.h>
18009#else
18010# include <assert.h>
18011#endif
18012/* Override any gcc2 internal prototype to avoid an error. */
18013#ifdef __cplusplus
18014extern "C"
18015{
18016#endif
18017/* We use char because int might match the return type of a gcc2
18018 builtin and then its argument prototype would still apply. */
18019char $ac_func ();
18020/* The GNU C library defines this for functions which it implements
18021 to always fail with ENOSYS. Some functions are actually named
18022 something starting with __ and the normal name is an alias. */
18023#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18024choke me
18025#else
18026char (*f) () = $ac_func;
18027#endif
18028#ifdef __cplusplus
18029}
18030#endif
18031
18032int
18033main ()
18034{
18035return f != $ac_func;
18036 ;
18037 return 0;
18038}
18039_ACEOF
18040rm -f conftest.$ac_objext conftest$ac_exeext
18041if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18042 (eval $ac_link) 2>&5
18043 ac_status=$?
18044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18045 (exit $ac_status); } &&
18046 { ac_try='test -s conftest$ac_exeext'
18047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18048 (eval $ac_try) 2>&5
18049 ac_status=$?
18050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18051 (exit $ac_status); }; }; then
18052 eval "$as_ac_var=yes"
18053else
18054 echo "$as_me: failed program was:" >&5
18055sed 's/^/| /' conftest.$ac_ext >&5
18056
18057eval "$as_ac_var=no"
18058fi
18059rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18060fi
18061echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18062echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18063if test `eval echo '${'$as_ac_var'}'` = yes; then
18064 cat >>confdefs.h <<_ACEOF
18065#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18066_ACEOF
18067
18068fi
18069done
18070
18071fi
18072
18073
18074
18075 if test "x$ac_cv_func_regcomp" != "xyes"; then
18076 if test "$wxUSE_REGEX" = "sys" ; then
18077 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18078echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18079 { (exit 1); exit 1; }; }
18080 else
18081 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18082echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18083 wxUSE_REGEX=builtin
18084 fi
18085 else
18086 wxUSE_REGEX=sys
18087 fi
18088 fi
18089
18090 if test "$wxUSE_REGEX" = "builtin" ; then
18091 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
18092 fi
18093fi
18094
18095
18096ZLIB_INCLUDE=
18097ZLIB_LINK=
18098if test "$wxUSE_ZLIB" != "no" ; then
18099 cat >>confdefs.h <<\_ACEOF
18100#define wxUSE_ZLIB 1
18101_ACEOF
18102
18103
18104 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18105 if test "$USE_DARWIN" = 1; then
18106 system_zlib_h_ok="yes"
18107 else
18108 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18109echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18110if test "${ac_cv_header_zlib_h+set}" = set; then
18111 echo $ECHO_N "(cached) $ECHO_C" >&6
18112else
18113 if test "$cross_compiling" = yes; then
18114 unset ac_cv_header_zlib_h
18115
18116else
18117 cat >conftest.$ac_ext <<_ACEOF
18118#line $LINENO "configure"
18119/* confdefs.h. */
18120_ACEOF
18121cat confdefs.h >>conftest.$ac_ext
18122cat >>conftest.$ac_ext <<_ACEOF
18123/* end confdefs.h. */
18124
18125 #include <zlib.h>
18126 #include <stdio.h>
18127
18128 int main()
18129 {
18130 FILE *f=fopen("conftestval", "w");
18131 if (!f) exit(1);
18132 fprintf(f, "%s",
18133 ZLIB_VERSION[0] == '1' &&
18134 (ZLIB_VERSION[2] > '1' ||
18135 (ZLIB_VERSION[2] == '1' &&
18136 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18137 exit(0);
18138 }
18139
18140_ACEOF
18141rm -f conftest$ac_exeext
18142if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18143 (eval $ac_link) 2>&5
18144 ac_status=$?
18145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18146 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18148 (eval $ac_try) 2>&5
18149 ac_status=$?
18150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18151 (exit $ac_status); }; }; then
18152 ac_cv_header_zlib_h=`cat conftestval`
18153else
18154 echo "$as_me: program exited with status $ac_status" >&5
18155echo "$as_me: failed program was:" >&5
18156sed 's/^/| /' conftest.$ac_ext >&5
18157
18158( exit $ac_status )
18159ac_cv_header_zlib_h=no
18160fi
18161rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18162fi
18163
18164fi
18165echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18166echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18167 if test "${ac_cv_header_zlib_h+set}" = set; then
18168 echo "$as_me:$LINENO: checking for zlib.h" >&5
18169echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18170if test "${ac_cv_header_zlib_h+set}" = set; then
18171 echo $ECHO_N "(cached) $ECHO_C" >&6
18172fi
18173echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18174echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18175else
18176 # Is the header compilable?
18177echo "$as_me:$LINENO: checking zlib.h usability" >&5
18178echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18179cat >conftest.$ac_ext <<_ACEOF
18180#line $LINENO "configure"
18181/* confdefs.h. */
18182_ACEOF
18183cat confdefs.h >>conftest.$ac_ext
18184cat >>conftest.$ac_ext <<_ACEOF
18185/* end confdefs.h. */
18186$ac_includes_default
18187#include <zlib.h>
18188_ACEOF
18189rm -f conftest.$ac_objext
18190if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18191 (eval $ac_compile) 2>&5
18192 ac_status=$?
18193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18194 (exit $ac_status); } &&
18195 { ac_try='test -s conftest.$ac_objext'
18196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18197 (eval $ac_try) 2>&5
18198 ac_status=$?
18199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18200 (exit $ac_status); }; }; then
18201 ac_header_compiler=yes
18202else
18203 echo "$as_me: failed program was:" >&5
18204sed 's/^/| /' conftest.$ac_ext >&5
18205
18206ac_header_compiler=no
18207fi
18208rm -f conftest.$ac_objext conftest.$ac_ext
18209echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18210echo "${ECHO_T}$ac_header_compiler" >&6
18211
18212# Is the header present?
18213echo "$as_me:$LINENO: checking zlib.h presence" >&5
18214echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18215cat >conftest.$ac_ext <<_ACEOF
18216#line $LINENO "configure"
18217/* confdefs.h. */
18218_ACEOF
18219cat confdefs.h >>conftest.$ac_ext
18220cat >>conftest.$ac_ext <<_ACEOF
18221/* end confdefs.h. */
18222#include <zlib.h>
18223_ACEOF
18224if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18225 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18226 ac_status=$?
18227 grep -v '^ *+' conftest.er1 >conftest.err
18228 rm -f conftest.er1
18229 cat conftest.err >&5
18230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18231 (exit $ac_status); } >/dev/null; then
18232 if test -s conftest.err; then
18233 ac_cpp_err=$ac_c_preproc_warn_flag
18234 else
18235 ac_cpp_err=
18236 fi
18237else
18238 ac_cpp_err=yes
18239fi
18240if test -z "$ac_cpp_err"; then
18241 ac_header_preproc=yes
18242else
18243 echo "$as_me: failed program was:" >&5
18244sed 's/^/| /' conftest.$ac_ext >&5
18245
18246 ac_header_preproc=no
18247fi
18248rm -f conftest.err conftest.$ac_ext
18249echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18250echo "${ECHO_T}$ac_header_preproc" >&6
18251
18252# So? What about this header?
18253case $ac_header_compiler:$ac_header_preproc in
18254 yes:no )
18255 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18256echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18257 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18258echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18259 (
18260 cat <<\_ASBOX
18261## ------------------------------------ ##
18262## Report this to bug-autoconf@gnu.org. ##
18263## ------------------------------------ ##
18264_ASBOX
18265 ) |
18266 sed "s/^/$as_me: WARNING: /" >&2
18267 ;;
18268 no:yes )
18269 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18270echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18271 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18272echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18273 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18274echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18275 (
18276 cat <<\_ASBOX
18277## ------------------------------------ ##
18278## Report this to bug-autoconf@gnu.org. ##
18279## ------------------------------------ ##
18280_ASBOX
18281 ) |
18282 sed "s/^/$as_me: WARNING: /" >&2
18283 ;;
18284esac
18285echo "$as_me:$LINENO: checking for zlib.h" >&5
18286echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18287if test "${ac_cv_header_zlib_h+set}" = set; then
18288 echo $ECHO_N "(cached) $ECHO_C" >&6
18289else
18290 ac_cv_header_zlib_h=$ac_header_preproc
18291fi
18292echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18293echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18294
18295fi
18296
18297
18298
18299 system_zlib_h_ok=$ac_cv_header_zlib_h
18300 fi
18301
18302 if test "$system_zlib_h_ok" = "yes"; then
18303 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18304echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18305if test "${ac_cv_lib_z_deflate+set}" = set; then
18306 echo $ECHO_N "(cached) $ECHO_C" >&6
18307else
18308 ac_check_lib_save_LIBS=$LIBS
18309LIBS="-lz $LIBS"
18310cat >conftest.$ac_ext <<_ACEOF
18311#line $LINENO "configure"
18312/* confdefs.h. */
18313_ACEOF
18314cat confdefs.h >>conftest.$ac_ext
18315cat >>conftest.$ac_ext <<_ACEOF
18316/* end confdefs.h. */
18317
18318/* Override any gcc2 internal prototype to avoid an error. */
18319#ifdef __cplusplus
18320extern "C"
18321#endif
18322/* We use char because int might match the return type of a gcc2
18323 builtin and then its argument prototype would still apply. */
18324char deflate ();
18325int
18326main ()
18327{
18328deflate ();
18329 ;
18330 return 0;
18331}
18332_ACEOF
18333rm -f conftest.$ac_objext conftest$ac_exeext
18334if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18335 (eval $ac_link) 2>&5
18336 ac_status=$?
18337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18338 (exit $ac_status); } &&
18339 { ac_try='test -s conftest$ac_exeext'
18340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18341 (eval $ac_try) 2>&5
18342 ac_status=$?
18343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18344 (exit $ac_status); }; }; then
18345 ac_cv_lib_z_deflate=yes
18346else
18347 echo "$as_me: failed program was:" >&5
18348sed 's/^/| /' conftest.$ac_ext >&5
18349
18350ac_cv_lib_z_deflate=no
18351fi
18352rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18353LIBS=$ac_check_lib_save_LIBS
18354fi
18355echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18356echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18357if test $ac_cv_lib_z_deflate = yes; then
18358 ZLIB_LINK=" -lz"
18359fi
18360
18361 fi
18362
18363 if test "x$ZLIB_LINK" = "x" ; then
18364 if test "$wxUSE_ZLIB" = "sys" ; then
18365 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18366echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18367 { (exit 1); exit 1; }; }
18368 else
18369 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18370echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18371 wxUSE_ZLIB=builtin
18372 fi
18373 else
18374 wxUSE_ZLIB=sys
18375 fi
18376 fi
18377
18378 if test "$wxUSE_ZLIB" = "builtin" ; then
18379 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
18380 fi
18381fi
18382
18383
18384PNG_INCLUDE=
18385PNG_LINK=
18386if test "$wxUSE_LIBPNG" != "no" ; then
18387 cat >>confdefs.h <<\_ACEOF
18388#define wxUSE_LIBPNG 1
18389_ACEOF
18390
18391
18392 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18393 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18394echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18395 wxUSE_LIBPNG=sys
18396 fi
18397
18398 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18399 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18400echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18401 wxUSE_LIBPNG=builtin
18402 fi
18403
18404 if test "$wxUSE_MGL" != 1 ; then
18405 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18406 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18407echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18408if test "${ac_cv_header_png_h+set}" = set; then
18409 echo $ECHO_N "(cached) $ECHO_C" >&6
18410else
18411 if test "$cross_compiling" = yes; then
18412 unset ac_cv_header_png_h
18413
18414else
18415 cat >conftest.$ac_ext <<_ACEOF
18416#line $LINENO "configure"
18417/* confdefs.h. */
18418_ACEOF
18419cat confdefs.h >>conftest.$ac_ext
18420cat >>conftest.$ac_ext <<_ACEOF
18421/* end confdefs.h. */
18422
18423 #include <png.h>
18424 #include <stdio.h>
18425
18426 int main()
18427 {
18428 FILE *f=fopen("conftestval", "w");
18429 if (!f) exit(1);
18430 fprintf(f, "%s",
18431 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18432 exit(0);
18433 }
18434
18435_ACEOF
18436rm -f conftest$ac_exeext
18437if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18438 (eval $ac_link) 2>&5
18439 ac_status=$?
18440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18441 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18443 (eval $ac_try) 2>&5
18444 ac_status=$?
18445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18446 (exit $ac_status); }; }; then
18447 ac_cv_header_png_h=`cat conftestval`
18448else
18449 echo "$as_me: program exited with status $ac_status" >&5
18450echo "$as_me: failed program was:" >&5
18451sed 's/^/| /' conftest.$ac_ext >&5
18452
18453( exit $ac_status )
18454ac_cv_header_png_h=no
18455fi
18456rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18457fi
18458
18459fi
18460echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18461echo "${ECHO_T}$ac_cv_header_png_h" >&6
18462 if test "${ac_cv_header_png_h+set}" = set; then
18463 echo "$as_me:$LINENO: checking for png.h" >&5
18464echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18465if test "${ac_cv_header_png_h+set}" = set; then
18466 echo $ECHO_N "(cached) $ECHO_C" >&6
18467fi
18468echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18469echo "${ECHO_T}$ac_cv_header_png_h" >&6
18470else
18471 # Is the header compilable?
18472echo "$as_me:$LINENO: checking png.h usability" >&5
18473echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18474cat >conftest.$ac_ext <<_ACEOF
18475#line $LINENO "configure"
18476/* confdefs.h. */
18477_ACEOF
18478cat confdefs.h >>conftest.$ac_ext
18479cat >>conftest.$ac_ext <<_ACEOF
18480/* end confdefs.h. */
18481$ac_includes_default
18482#include <png.h>
18483_ACEOF
18484rm -f conftest.$ac_objext
18485if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18486 (eval $ac_compile) 2>&5
18487 ac_status=$?
18488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18489 (exit $ac_status); } &&
18490 { ac_try='test -s conftest.$ac_objext'
18491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18492 (eval $ac_try) 2>&5
18493 ac_status=$?
18494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18495 (exit $ac_status); }; }; then
18496 ac_header_compiler=yes
18497else
18498 echo "$as_me: failed program was:" >&5
18499sed 's/^/| /' conftest.$ac_ext >&5
18500
18501ac_header_compiler=no
18502fi
18503rm -f conftest.$ac_objext conftest.$ac_ext
18504echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18505echo "${ECHO_T}$ac_header_compiler" >&6
18506
18507# Is the header present?
18508echo "$as_me:$LINENO: checking png.h presence" >&5
18509echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18510cat >conftest.$ac_ext <<_ACEOF
18511#line $LINENO "configure"
18512/* confdefs.h. */
18513_ACEOF
18514cat confdefs.h >>conftest.$ac_ext
18515cat >>conftest.$ac_ext <<_ACEOF
18516/* end confdefs.h. */
18517#include <png.h>
18518_ACEOF
18519if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18520 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18521 ac_status=$?
18522 grep -v '^ *+' conftest.er1 >conftest.err
18523 rm -f conftest.er1
18524 cat conftest.err >&5
18525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526 (exit $ac_status); } >/dev/null; then
18527 if test -s conftest.err; then
18528 ac_cpp_err=$ac_c_preproc_warn_flag
18529 else
18530 ac_cpp_err=
18531 fi
18532else
18533 ac_cpp_err=yes
18534fi
18535if test -z "$ac_cpp_err"; then
18536 ac_header_preproc=yes
18537else
18538 echo "$as_me: failed program was:" >&5
18539sed 's/^/| /' conftest.$ac_ext >&5
18540
18541 ac_header_preproc=no
18542fi
18543rm -f conftest.err conftest.$ac_ext
18544echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18545echo "${ECHO_T}$ac_header_preproc" >&6
18546
18547# So? What about this header?
18548case $ac_header_compiler:$ac_header_preproc in
18549 yes:no )
18550 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18551echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18552 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18553echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18554 (
18555 cat <<\_ASBOX
18556## ------------------------------------ ##
18557## Report this to bug-autoconf@gnu.org. ##
18558## ------------------------------------ ##
18559_ASBOX
18560 ) |
18561 sed "s/^/$as_me: WARNING: /" >&2
18562 ;;
18563 no:yes )
18564 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18565echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18566 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18567echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18568 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18569echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18570 (
18571 cat <<\_ASBOX
18572## ------------------------------------ ##
18573## Report this to bug-autoconf@gnu.org. ##
18574## ------------------------------------ ##
18575_ASBOX
18576 ) |
18577 sed "s/^/$as_me: WARNING: /" >&2
18578 ;;
18579esac
18580echo "$as_me:$LINENO: checking for png.h" >&5
18581echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18582if test "${ac_cv_header_png_h+set}" = set; then
18583 echo $ECHO_N "(cached) $ECHO_C" >&6
18584else
18585 ac_cv_header_png_h=$ac_header_preproc
18586fi
18587echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18588echo "${ECHO_T}$ac_cv_header_png_h" >&6
18589
18590fi
18591
18592
18593
18594 if test "$ac_cv_header_png_h" = "yes"; then
18595 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18596echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18597if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18598 echo $ECHO_N "(cached) $ECHO_C" >&6
18599else
18600 ac_check_lib_save_LIBS=$LIBS
18601LIBS="-lpng -lz -lm $LIBS"
18602cat >conftest.$ac_ext <<_ACEOF
18603#line $LINENO "configure"
18604/* confdefs.h. */
18605_ACEOF
18606cat confdefs.h >>conftest.$ac_ext
18607cat >>conftest.$ac_ext <<_ACEOF
18608/* end confdefs.h. */
18609
18610/* Override any gcc2 internal prototype to avoid an error. */
18611#ifdef __cplusplus
18612extern "C"
18613#endif
18614/* We use char because int might match the return type of a gcc2
18615 builtin and then its argument prototype would still apply. */
18616char png_check_sig ();
18617int
18618main ()
18619{
18620png_check_sig ();
18621 ;
18622 return 0;
18623}
18624_ACEOF
18625rm -f conftest.$ac_objext conftest$ac_exeext
18626if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18627 (eval $ac_link) 2>&5
18628 ac_status=$?
18629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18630 (exit $ac_status); } &&
18631 { ac_try='test -s conftest$ac_exeext'
18632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18633 (eval $ac_try) 2>&5
18634 ac_status=$?
18635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18636 (exit $ac_status); }; }; then
18637 ac_cv_lib_png_png_check_sig=yes
18638else
18639 echo "$as_me: failed program was:" >&5
18640sed 's/^/| /' conftest.$ac_ext >&5
18641
18642ac_cv_lib_png_png_check_sig=no
18643fi
18644rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18645LIBS=$ac_check_lib_save_LIBS
18646fi
18647echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18648echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18649if test $ac_cv_lib_png_png_check_sig = yes; then
18650 PNG_LINK=" -lpng"
18651fi
18652
18653 fi
18654
18655 if test "x$PNG_LINK" = "x" ; then
18656 if test "$wxUSE_LIBPNG" = "sys" ; then
18657 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18658echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18659 { (exit 1); exit 1; }; }
18660 else
18661 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18662echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18663 wxUSE_LIBPNG=builtin
18664 fi
18665 else
18666 wxUSE_LIBPNG=sys
18667 fi
18668 fi
18669 fi
18670
18671 if test "$wxUSE_LIBPNG" = "builtin" ; then
18672 PNG_INCLUDE="-I\${top_srcdir}/src/png"
18673 fi
18674
18675 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
18676fi
18677
18678
18679JPEG_INCLUDE=
18680JPEG_LINK=
18681if test "$wxUSE_LIBJPEG" != "no" ; then
18682 cat >>confdefs.h <<\_ACEOF
18683#define wxUSE_LIBJPEG 1
18684_ACEOF
18685
18686
18687 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18688 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18689echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18690 wxUSE_LIBJPEG=sys
18691 fi
18692
18693 if test "$wxUSE_MGL" != 1 ; then
18694 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18695 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18696echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18697 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18698 echo $ECHO_N "(cached) $ECHO_C" >&6
18699else
18700 cat >conftest.$ac_ext <<_ACEOF
18701#line $LINENO "configure"
18702/* confdefs.h. */
18703_ACEOF
18704cat confdefs.h >>conftest.$ac_ext
18705cat >>conftest.$ac_ext <<_ACEOF
18706/* end confdefs.h. */
18707
18708 #undef HAVE_STDLIB_H
18709 #include <stdio.h>
18710 #include <jpeglib.h>
18711
18712int
18713main ()
18714{
18715
18716
18717 ;
18718 return 0;
18719}
18720_ACEOF
18721rm -f conftest.$ac_objext
18722if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18723 (eval $ac_compile) 2>&5
18724 ac_status=$?
18725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18726 (exit $ac_status); } &&
18727 { ac_try='test -s conftest.$ac_objext'
18728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18729 (eval $ac_try) 2>&5
18730 ac_status=$?
18731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732 (exit $ac_status); }; }; then
18733 ac_cv_header_jpeglib_h=yes
18734else
18735 echo "$as_me: failed program was:" >&5
18736sed 's/^/| /' conftest.$ac_ext >&5
18737
18738ac_cv_header_jpeglib_h=no
18739
18740fi
18741rm -f conftest.$ac_objext conftest.$ac_ext
18742
18743fi
18744
18745 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18746echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18747
18748 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18749 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18750echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18751if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18752 echo $ECHO_N "(cached) $ECHO_C" >&6
18753else
18754 ac_check_lib_save_LIBS=$LIBS
18755LIBS="-ljpeg $LIBS"
18756cat >conftest.$ac_ext <<_ACEOF
18757#line $LINENO "configure"
18758/* confdefs.h. */
18759_ACEOF
18760cat confdefs.h >>conftest.$ac_ext
18761cat >>conftest.$ac_ext <<_ACEOF
18762/* end confdefs.h. */
18763
18764/* Override any gcc2 internal prototype to avoid an error. */
18765#ifdef __cplusplus
18766extern "C"
18767#endif
18768/* We use char because int might match the return type of a gcc2
18769 builtin and then its argument prototype would still apply. */
18770char jpeg_read_header ();
18771int
18772main ()
18773{
18774jpeg_read_header ();
18775 ;
18776 return 0;
18777}
18778_ACEOF
18779rm -f conftest.$ac_objext conftest$ac_exeext
18780if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18781 (eval $ac_link) 2>&5
18782 ac_status=$?
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); } &&
18785 { ac_try='test -s conftest$ac_exeext'
18786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18787 (eval $ac_try) 2>&5
18788 ac_status=$?
18789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18790 (exit $ac_status); }; }; then
18791 ac_cv_lib_jpeg_jpeg_read_header=yes
18792else
18793 echo "$as_me: failed program was:" >&5
18794sed 's/^/| /' conftest.$ac_ext >&5
18795
18796ac_cv_lib_jpeg_jpeg_read_header=no
18797fi
18798rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18799LIBS=$ac_check_lib_save_LIBS
18800fi
18801echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18802echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18803if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18804 JPEG_LINK=" -ljpeg"
18805fi
18806
18807 fi
18808
18809 if test "x$JPEG_LINK" = "x" ; then
18810 if test "$wxUSE_LIBJPEG" = "sys" ; then
18811 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18812echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18813 { (exit 1); exit 1; }; }
18814 else
18815 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18816echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18817 wxUSE_LIBJPEG=builtin
18818 fi
18819 else
18820 wxUSE_LIBJPEG=sys
18821 fi
18822 fi
18823 fi
18824
18825 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18826 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
18827 fi
18828fi
18829
18830
18831TIFF_INCLUDE=
18832TIFF_LINK=
18833TIFF_PREREQ_LINKS=-lm
18834if test "$wxUSE_LIBTIFF" != "no" ; then
18835 cat >>confdefs.h <<\_ACEOF
18836#define wxUSE_LIBTIFF 1
18837_ACEOF
18838
18839
18840 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
18841 if test "$wxUSE_LIBJPEG" = "sys"; then
18842 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
18843 fi
18844 if test "$wxUSE_ZLIB" = "sys"; then
18845 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
18846 fi
18847 if test "${ac_cv_header_tiffio_h+set}" = set; then
18848 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18849echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18850if test "${ac_cv_header_tiffio_h+set}" = set; then
18851 echo $ECHO_N "(cached) $ECHO_C" >&6
18852fi
18853echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18854echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18855else
18856 # Is the header compilable?
18857echo "$as_me:$LINENO: checking tiffio.h usability" >&5
18858echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
18859cat >conftest.$ac_ext <<_ACEOF
18860#line $LINENO "configure"
18861/* confdefs.h. */
18862_ACEOF
18863cat confdefs.h >>conftest.$ac_ext
18864cat >>conftest.$ac_ext <<_ACEOF
18865/* end confdefs.h. */
18866$ac_includes_default
18867#include <tiffio.h>
18868_ACEOF
18869rm -f conftest.$ac_objext
18870if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18871 (eval $ac_compile) 2>&5
18872 ac_status=$?
18873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18874 (exit $ac_status); } &&
18875 { ac_try='test -s conftest.$ac_objext'
18876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18877 (eval $ac_try) 2>&5
18878 ac_status=$?
18879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18880 (exit $ac_status); }; }; then
18881 ac_header_compiler=yes
18882else
18883 echo "$as_me: failed program was:" >&5
18884sed 's/^/| /' conftest.$ac_ext >&5
18885
18886ac_header_compiler=no
18887fi
18888rm -f conftest.$ac_objext conftest.$ac_ext
18889echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18890echo "${ECHO_T}$ac_header_compiler" >&6
18891
18892# Is the header present?
18893echo "$as_me:$LINENO: checking tiffio.h presence" >&5
18894echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
18895cat >conftest.$ac_ext <<_ACEOF
18896#line $LINENO "configure"
18897/* confdefs.h. */
18898_ACEOF
18899cat confdefs.h >>conftest.$ac_ext
18900cat >>conftest.$ac_ext <<_ACEOF
18901/* end confdefs.h. */
18902#include <tiffio.h>
18903_ACEOF
18904if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18905 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18906 ac_status=$?
18907 grep -v '^ *+' conftest.er1 >conftest.err
18908 rm -f conftest.er1
18909 cat conftest.err >&5
18910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18911 (exit $ac_status); } >/dev/null; then
18912 if test -s conftest.err; then
18913 ac_cpp_err=$ac_c_preproc_warn_flag
18914 else
18915 ac_cpp_err=
18916 fi
18917else
18918 ac_cpp_err=yes
18919fi
18920if test -z "$ac_cpp_err"; then
18921 ac_header_preproc=yes
18922else
18923 echo "$as_me: failed program was:" >&5
18924sed 's/^/| /' conftest.$ac_ext >&5
18925
18926 ac_header_preproc=no
18927fi
18928rm -f conftest.err conftest.$ac_ext
18929echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18930echo "${ECHO_T}$ac_header_preproc" >&6
18931
18932# So? What about this header?
18933case $ac_header_compiler:$ac_header_preproc in
18934 yes:no )
18935 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
18936echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18937 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18938echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18939 (
18940 cat <<\_ASBOX
18941## ------------------------------------ ##
18942## Report this to bug-autoconf@gnu.org. ##
18943## ------------------------------------ ##
18944_ASBOX
18945 ) |
18946 sed "s/^/$as_me: WARNING: /" >&2
18947 ;;
18948 no:yes )
18949 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
18950echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
18951 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
18952echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
18953 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18954echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18955 (
18956 cat <<\_ASBOX
18957## ------------------------------------ ##
18958## Report this to bug-autoconf@gnu.org. ##
18959## ------------------------------------ ##
18960_ASBOX
18961 ) |
18962 sed "s/^/$as_me: WARNING: /" >&2
18963 ;;
18964esac
18965echo "$as_me:$LINENO: checking for tiffio.h" >&5
18966echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18967if test "${ac_cv_header_tiffio_h+set}" = set; then
18968 echo $ECHO_N "(cached) $ECHO_C" >&6
18969else
18970 ac_cv_header_tiffio_h=$ac_header_preproc
18971fi
18972echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18973echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18974
18975fi
18976if test $ac_cv_header_tiffio_h = yes; then
18977 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
18978echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
18979if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
18980 echo $ECHO_N "(cached) $ECHO_C" >&6
18981else
18982 ac_check_lib_save_LIBS=$LIBS
18983LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
18984cat >conftest.$ac_ext <<_ACEOF
18985#line $LINENO "configure"
18986/* confdefs.h. */
18987_ACEOF
18988cat confdefs.h >>conftest.$ac_ext
18989cat >>conftest.$ac_ext <<_ACEOF
18990/* end confdefs.h. */
18991
18992/* Override any gcc2 internal prototype to avoid an error. */
18993#ifdef __cplusplus
18994extern "C"
18995#endif
18996/* We use char because int might match the return type of a gcc2
18997 builtin and then its argument prototype would still apply. */
18998char TIFFError ();
18999int
19000main ()
19001{
19002TIFFError ();
19003 ;
19004 return 0;
19005}
19006_ACEOF
19007rm -f conftest.$ac_objext conftest$ac_exeext
19008if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19009 (eval $ac_link) 2>&5
19010 ac_status=$?
19011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19012 (exit $ac_status); } &&
19013 { ac_try='test -s conftest$ac_exeext'
19014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19015 (eval $ac_try) 2>&5
19016 ac_status=$?
19017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19018 (exit $ac_status); }; }; then
19019 ac_cv_lib_tiff_TIFFError=yes
19020else
19021 echo "$as_me: failed program was:" >&5
19022sed 's/^/| /' conftest.$ac_ext >&5
19023
19024ac_cv_lib_tiff_TIFFError=no
19025fi
19026rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19027LIBS=$ac_check_lib_save_LIBS
19028fi
19029echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19030echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19031if test $ac_cv_lib_tiff_TIFFError = yes; then
19032 TIFF_LINK=" -ltiff"
19033fi
19034
19035
19036fi
19037
19038
19039
19040 if test "x$TIFF_LINK" = "x" ; then
19041 if test "$wxUSE_LIBTIFF" = "sys" ; then
19042 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19043echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19044 { (exit 1); exit 1; }; }
19045 else
19046 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19047echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19048 wxUSE_LIBTIFF=builtin
19049 fi
19050 else
19051 wxUSE_LIBTIFF=sys
19052 fi
19053 fi
19054
19055 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19056 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
19057 fi
19058fi
19059
19060
19061AFMINSTALL=
19062WIN32INSTALL=
19063
19064TOOLKIT=
19065TOOLKIT_INCLUDE=
19066WIDGET_SET=
19067
19068if test "$USE_WIN32" = 1 ; then
19069
19070for ac_header in w32api.h
19071do
19072as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19073if eval "test \"\${$as_ac_Header+set}\" = set"; then
19074 echo "$as_me:$LINENO: checking for $ac_header" >&5
19075echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19076if eval "test \"\${$as_ac_Header+set}\" = set"; then
19077 echo $ECHO_N "(cached) $ECHO_C" >&6
19078fi
19079echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19080echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19081else
19082 # Is the header compilable?
19083echo "$as_me:$LINENO: checking $ac_header usability" >&5
19084echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19085cat >conftest.$ac_ext <<_ACEOF
19086#line $LINENO "configure"
19087/* confdefs.h. */
19088_ACEOF
19089cat confdefs.h >>conftest.$ac_ext
19090cat >>conftest.$ac_ext <<_ACEOF
19091/* end confdefs.h. */
19092$ac_includes_default
19093#include <$ac_header>
19094_ACEOF
19095rm -f conftest.$ac_objext
19096if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19097 (eval $ac_compile) 2>&5
19098 ac_status=$?
19099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19100 (exit $ac_status); } &&
19101 { ac_try='test -s conftest.$ac_objext'
19102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19103 (eval $ac_try) 2>&5
19104 ac_status=$?
19105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19106 (exit $ac_status); }; }; then
19107 ac_header_compiler=yes
19108else
19109 echo "$as_me: failed program was:" >&5
19110sed 's/^/| /' conftest.$ac_ext >&5
19111
19112ac_header_compiler=no
19113fi
19114rm -f conftest.$ac_objext conftest.$ac_ext
19115echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19116echo "${ECHO_T}$ac_header_compiler" >&6
19117
19118# Is the header present?
19119echo "$as_me:$LINENO: checking $ac_header presence" >&5
19120echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19121cat >conftest.$ac_ext <<_ACEOF
19122#line $LINENO "configure"
19123/* confdefs.h. */
19124_ACEOF
19125cat confdefs.h >>conftest.$ac_ext
19126cat >>conftest.$ac_ext <<_ACEOF
19127/* end confdefs.h. */
19128#include <$ac_header>
19129_ACEOF
19130if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19131 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19132 ac_status=$?
19133 grep -v '^ *+' conftest.er1 >conftest.err
19134 rm -f conftest.er1
19135 cat conftest.err >&5
19136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19137 (exit $ac_status); } >/dev/null; then
19138 if test -s conftest.err; then
19139 ac_cpp_err=$ac_c_preproc_warn_flag
19140 else
19141 ac_cpp_err=
19142 fi
19143else
19144 ac_cpp_err=yes
19145fi
19146if test -z "$ac_cpp_err"; then
19147 ac_header_preproc=yes
19148else
19149 echo "$as_me: failed program was:" >&5
19150sed 's/^/| /' conftest.$ac_ext >&5
19151
19152 ac_header_preproc=no
19153fi
19154rm -f conftest.err conftest.$ac_ext
19155echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19156echo "${ECHO_T}$ac_header_preproc" >&6
19157
19158# So? What about this header?
19159case $ac_header_compiler:$ac_header_preproc in
19160 yes:no )
19161 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19162echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19163 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19164echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19165 (
19166 cat <<\_ASBOX
19167## ------------------------------------ ##
19168## Report this to bug-autoconf@gnu.org. ##
19169## ------------------------------------ ##
19170_ASBOX
19171 ) |
19172 sed "s/^/$as_me: WARNING: /" >&2
19173 ;;
19174 no:yes )
19175 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19176echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19177 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19178echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19179 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19180echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19181 (
19182 cat <<\_ASBOX
19183## ------------------------------------ ##
19184## Report this to bug-autoconf@gnu.org. ##
19185## ------------------------------------ ##
19186_ASBOX
19187 ) |
19188 sed "s/^/$as_me: WARNING: /" >&2
19189 ;;
19190esac
19191echo "$as_me:$LINENO: checking for $ac_header" >&5
19192echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19193if eval "test \"\${$as_ac_Header+set}\" = set"; then
19194 echo $ECHO_N "(cached) $ECHO_C" >&6
19195else
19196 eval "$as_ac_Header=$ac_header_preproc"
19197fi
19198echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19199echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19200
19201fi
19202if test `eval echo '${'$as_ac_Header'}'` = yes; then
19203 cat >>confdefs.h <<_ACEOF
19204#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19205_ACEOF
19206
19207fi
19208
19209done
19210
19211 if test "${ac_cv_header_windows_h+set}" = set; then
19212 echo "$as_me:$LINENO: checking for windows.h" >&5
19213echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19214if test "${ac_cv_header_windows_h+set}" = set; then
19215 echo $ECHO_N "(cached) $ECHO_C" >&6
19216fi
19217echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19218echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19219else
19220 # Is the header compilable?
19221echo "$as_me:$LINENO: checking windows.h usability" >&5
19222echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19223cat >conftest.$ac_ext <<_ACEOF
19224#line $LINENO "configure"
19225/* confdefs.h. */
19226_ACEOF
19227cat confdefs.h >>conftest.$ac_ext
19228cat >>conftest.$ac_ext <<_ACEOF
19229/* end confdefs.h. */
19230$ac_includes_default
19231#include <windows.h>
19232_ACEOF
19233rm -f conftest.$ac_objext
19234if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19235 (eval $ac_compile) 2>&5
19236 ac_status=$?
19237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19238 (exit $ac_status); } &&
19239 { ac_try='test -s conftest.$ac_objext'
19240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19241 (eval $ac_try) 2>&5
19242 ac_status=$?
19243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19244 (exit $ac_status); }; }; then
19245 ac_header_compiler=yes
19246else
19247 echo "$as_me: failed program was:" >&5
19248sed 's/^/| /' conftest.$ac_ext >&5
19249
19250ac_header_compiler=no
19251fi
19252rm -f conftest.$ac_objext conftest.$ac_ext
19253echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19254echo "${ECHO_T}$ac_header_compiler" >&6
19255
19256# Is the header present?
19257echo "$as_me:$LINENO: checking windows.h presence" >&5
19258echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19259cat >conftest.$ac_ext <<_ACEOF
19260#line $LINENO "configure"
19261/* confdefs.h. */
19262_ACEOF
19263cat confdefs.h >>conftest.$ac_ext
19264cat >>conftest.$ac_ext <<_ACEOF
19265/* end confdefs.h. */
19266#include <windows.h>
19267_ACEOF
19268if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19269 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19270 ac_status=$?
19271 grep -v '^ *+' conftest.er1 >conftest.err
19272 rm -f conftest.er1
19273 cat conftest.err >&5
19274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19275 (exit $ac_status); } >/dev/null; then
19276 if test -s conftest.err; then
19277 ac_cpp_err=$ac_c_preproc_warn_flag
19278 else
19279 ac_cpp_err=
19280 fi
19281else
19282 ac_cpp_err=yes
19283fi
19284if test -z "$ac_cpp_err"; then
19285 ac_header_preproc=yes
19286else
19287 echo "$as_me: failed program was:" >&5
19288sed 's/^/| /' conftest.$ac_ext >&5
19289
19290 ac_header_preproc=no
19291fi
19292rm -f conftest.err conftest.$ac_ext
19293echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19294echo "${ECHO_T}$ac_header_preproc" >&6
19295
19296# So? What about this header?
19297case $ac_header_compiler:$ac_header_preproc in
19298 yes:no )
19299 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19300echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19301 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19302echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19303 (
19304 cat <<\_ASBOX
19305## ------------------------------------ ##
19306## Report this to bug-autoconf@gnu.org. ##
19307## ------------------------------------ ##
19308_ASBOX
19309 ) |
19310 sed "s/^/$as_me: WARNING: /" >&2
19311 ;;
19312 no:yes )
19313 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19314echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19315 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19316echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19317 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19318echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19319 (
19320 cat <<\_ASBOX
19321## ------------------------------------ ##
19322## Report this to bug-autoconf@gnu.org. ##
19323## ------------------------------------ ##
19324_ASBOX
19325 ) |
19326 sed "s/^/$as_me: WARNING: /" >&2
19327 ;;
19328esac
19329echo "$as_me:$LINENO: checking for windows.h" >&5
19330echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19331if test "${ac_cv_header_windows_h+set}" = set; then
19332 echo $ECHO_N "(cached) $ECHO_C" >&6
19333else
19334 ac_cv_header_windows_h=$ac_header_preproc
19335fi
19336echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19337echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19338
19339fi
19340if test $ac_cv_header_windows_h = yes; then
19341 :
19342else
19343
19344 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19345echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19346 { (exit 1); exit 1; }; }
19347
19348fi
19349
19350
19351
19352 echo "$as_me:$LINENO: checking if w32api has good enough MSIE support" >&5
19353echo $ECHO_N "checking if w32api has good enough MSIE support... $ECHO_C" >&6
19354if test "${wx_cv_w32api_win32_ie+set}" = set; then
19355 echo $ECHO_N "(cached) $ECHO_C" >&6
19356else
19357
19358 cat >conftest.$ac_ext <<_ACEOF
19359#line $LINENO "configure"
19360/* confdefs.h. */
19361_ACEOF
19362cat confdefs.h >>conftest.$ac_ext
19363cat >>conftest.$ac_ext <<_ACEOF
19364/* end confdefs.h. */
19365#include <w32api.h>
19366int
19367main ()
19368{
19369
19370 #define wxCHECK_W32API_VERSION( major, minor ) \
19371 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
19372 && ( ( __W32API_MAJOR_VERSION > (major) ) \
19373 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
19374
19375 #if !wxCHECK_W32API_VERSION(1,1)
19376 #error You need w32api 1.1 or newer
19377 #endif
19378
19379 ;
19380 return 0;
19381}
19382_ACEOF
19383rm -f conftest.$ac_objext
19384if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19385 (eval $ac_compile) 2>&5
19386 ac_status=$?
19387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19388 (exit $ac_status); } &&
19389 { ac_try='test -s conftest.$ac_objext'
19390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19391 (eval $ac_try) 2>&5
19392 ac_status=$?
19393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19394 (exit $ac_status); }; }; then
19395
19396 wx_cv_w32api_win32_ie=yes
19397
19398else
19399 echo "$as_me: failed program was:" >&5
19400sed 's/^/| /' conftest.$ac_ext >&5
19401
19402
19403 wx_cv_w32api_win32_ie=no
19404
19405fi
19406rm -f conftest.$ac_objext conftest.$ac_ext
19407
19408fi
19409echo "$as_me:$LINENO: result: $wx_cv_w32api_win32_ie" >&5
19410echo "${ECHO_T}$wx_cv_w32api_win32_ie" >&6
19411 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
19412 CPPFLAGS="$CPPFLAGS -D_WIN32_IE=0x400"
19413 fi
19414
19415 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
19416
19417 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19418 LIBS="$LIBS -loleacc"
19419 fi
19420
19421 case "${host}" in
19422 *-*-cygwin* )
19423 LIBS="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
19424 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
19425 esac
19426
19427 if test "$wxUSE_ODBC" = "sys" ; then
19428 wxUSE_ODBC = "yes"
19429 fi
19430 if test "$wxUSE_ODBC" = "yes" ; then
19431 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
19432 cat >>confdefs.h <<\_ACEOF
19433#define wxUSE_ODBC 1
19434_ACEOF
19435
19436 fi
19437
19438 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19439 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
19440
19441 WIN32INSTALL=win32install
19442fi
19443
19444if test "$USE_DARWIN" = 1; then
19445 if test "$wxUSE_PRECOMP" = "yes"; then
19446 CPPFLAGS="$CPPFLAGS -cpp-precomp"
19447 else
19448 CPPFLAGS="$CPPFLAGS -no-cpp-precomp"
19449 fi
19450fi
19451
19452if test "$wxUSE_GUI" = "yes"; then
19453 USE_GUI=1
19454
19455 GUI_TK_LIBRARY=
19456
19457 WXGTK12=
19458 WXGTK127=
19459 WXGTK20=
19460
19461 if test "$wxUSE_MSW" = 1 ; then
19462 TOOLKIT=MSW
19463 GUIDIST=MSW_DIST
19464
19465 LDFLAGS="$LDFLAGS -Wl,--subsystem,windows -mwindows"
19466 fi
19467
19468 if test "$wxUSE_GTK" = 1; then
19469 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19470echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19471
19472 gtk_version_cached=1
19473 if test "${wx_cv_lib_gtk+set}" = set; then
19474 echo $ECHO_N "(cached) $ECHO_C" >&6
19475else
19476
19477 gtk_version_cached=0
19478 echo "$as_me:$LINENO: result: " >&5
19479echo "${ECHO_T}" >&6
19480
19481 GTK_MODULES=
19482 if test "$wxUSE_THREADS" = "yes"; then
19483 GTK_MODULES=gthread
19484 fi
19485
19486 wx_cv_lib_gtk=
19487 if test "x$wxUSE_GTK2" = "xyes"; then
19488 # Check whether --enable-gtktest or --disable-gtktest was given.
19489if test "${enable_gtktest+set}" = set; then
19490 enableval="$enable_gtktest"
19491
19492else
19493 enable_gtktest=yes
19494fi;
19495
19496 pkg_config_args=gtk+-2.0
19497 for module in . $GTK_MODULES
19498 do
19499 case "$module" in
19500 gthread)
19501 pkg_config_args="$pkg_config_args gthread-2.0"
19502 ;;
19503 esac
19504 done
19505
19506 no_gtk=""
19507
19508 # Extract the first word of "pkg-config", so it can be a program name with args.
19509set dummy pkg-config; ac_word=$2
19510echo "$as_me:$LINENO: checking for $ac_word" >&5
19511echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19512if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19513 echo $ECHO_N "(cached) $ECHO_C" >&6
19514else
19515 case $PKG_CONFIG in
19516 [\\/]* | ?:[\\/]*)
19517 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19518 ;;
19519 *)
19520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19521for as_dir in $PATH
19522do
19523 IFS=$as_save_IFS
19524 test -z "$as_dir" && as_dir=.
19525 for ac_exec_ext in '' $ac_executable_extensions; do
19526 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19527 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19529 break 2
19530 fi
19531done
19532done
19533
19534 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19535 ;;
19536esac
19537fi
19538PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19539
19540if test -n "$PKG_CONFIG"; then
19541 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19542echo "${ECHO_T}$PKG_CONFIG" >&6
19543else
19544 echo "$as_me:$LINENO: result: no" >&5
19545echo "${ECHO_T}no" >&6
19546fi
19547
19548
19549 if test x$PKG_CONFIG != xno ; then
19550 if pkg-config --atleast-pkgconfig-version 0.7 ; then
19551 :
19552 else
19553 echo *** pkg-config too old; version 0.7 or better required.
19554 no_gtk=yes
19555 PKG_CONFIG=no
19556 fi
19557 else
19558 no_gtk=yes
19559 fi
19560
19561 min_gtk_version=2.0.0
19562 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19563echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
19564
19565 if test x$PKG_CONFIG != xno ; then
19566 ## don't try to run the test against uninstalled libtool libs
19567 if $PKG_CONFIG --uninstalled $pkg_config_args; then
19568 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
19569 enable_gtktest=no
19570 fi
19571
19572 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
19573 :
19574 else
19575 no_gtk=yes
19576 fi
19577 fi
19578
19579 if test x"$no_gtk" = x ; then
19580 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
19581 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
19582 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19583 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19584 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19585 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19586 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19587 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19588 if test "x$enable_gtktest" = "xyes" ; then
19589 ac_save_CFLAGS="$CFLAGS"
19590 ac_save_LIBS="$LIBS"
19591 CFLAGS="$CFLAGS $GTK_CFLAGS"
19592 LIBS="$GTK_LIBS $LIBS"
19593 rm -f conf.gtktest
19594 if test "$cross_compiling" = yes; then
19595 echo $ac_n "cross compiling; assumed OK... $ac_c"
19596else
19597 cat >conftest.$ac_ext <<_ACEOF
19598#line $LINENO "configure"
19599/* confdefs.h. */
19600_ACEOF
19601cat confdefs.h >>conftest.$ac_ext
19602cat >>conftest.$ac_ext <<_ACEOF
19603/* end confdefs.h. */
19604
19605#include <gtk/gtk.h>
19606#include <stdio.h>
19607#include <stdlib.h>
19608
19609int
19610main ()
19611{
19612 int major, minor, micro;
19613 char *tmp_version;
19614
19615 system ("touch conf.gtktest");
19616
19617 /* HP/UX 9 (%@#!) writes to sscanf strings */
19618 tmp_version = g_strdup("$min_gtk_version");
19619 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
19620 printf("%s, bad version string\n", "$min_gtk_version");
19621 exit(1);
19622 }
19623
19624 if ((gtk_major_version != $gtk_config_major_version) ||
19625 (gtk_minor_version != $gtk_config_minor_version) ||
19626 (gtk_micro_version != $gtk_config_micro_version))
19627 {
19628 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19629 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19630 gtk_major_version, gtk_minor_version, gtk_micro_version);
19631 printf ("*** was found! If pkg-config was correct, then it is best\n");
19632 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19633 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19634 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19635 printf("*** required on your system.\n");
19636 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
19637 printf("*** to point to the correct configuration files\n");
19638 }
19639 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19640 (gtk_minor_version != GTK_MINOR_VERSION) ||
19641 (gtk_micro_version != GTK_MICRO_VERSION))
19642 {
19643 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19644 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19645 printf("*** library (version %d.%d.%d)\n",
19646 gtk_major_version, gtk_minor_version, gtk_micro_version);
19647 }
19648 else
19649 {
19650 if ((gtk_major_version > major) ||
19651 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19652 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19653 {
19654 return 0;
19655 }
19656 else
19657 {
19658 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19659 gtk_major_version, gtk_minor_version, gtk_micro_version);
19660 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19661 major, minor, micro);
19662 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19663 printf("***\n");
19664 printf("*** If you have already installed a sufficiently new version, this error\n");
19665 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
19666 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19667 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
19668 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
19669 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19670 printf("*** so that the correct libraries are found at run-time))\n");
19671 }
19672 }
19673 return 1;
19674}
19675
19676_ACEOF
19677rm -f conftest$ac_exeext
19678if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19679 (eval $ac_link) 2>&5
19680 ac_status=$?
19681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19682 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19684 (eval $ac_try) 2>&5
19685 ac_status=$?
19686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19687 (exit $ac_status); }; }; then
19688 :
19689else
19690 echo "$as_me: program exited with status $ac_status" >&5
19691echo "$as_me: failed program was:" >&5
19692sed 's/^/| /' conftest.$ac_ext >&5
19693
19694( exit $ac_status )
19695no_gtk=yes
19696fi
19697rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19698fi
19699 CFLAGS="$ac_save_CFLAGS"
19700 LIBS="$ac_save_LIBS"
19701 fi
19702 fi
19703 if test "x$no_gtk" = x ; then
19704 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
19705echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
19706 wx_cv_lib_gtk=2.0
19707 else
19708 echo "$as_me:$LINENO: result: no" >&5
19709echo "${ECHO_T}no" >&6
19710 if test "$PKG_CONFIG" = "no" ; then
19711 echo "*** A new enough version of pkg-config was not found."
19712 echo "*** See http://pkgconfig.sourceforge.net"
19713 else
19714 if test -f conf.gtktest ; then
19715 :
19716 else
19717 echo "*** Could not run GTK+ test program, checking why..."
19718 ac_save_CFLAGS="$CFLAGS"
19719 ac_save_LIBS="$LIBS"
19720 CFLAGS="$CFLAGS $GTK_CFLAGS"
19721 LIBS="$LIBS $GTK_LIBS"
19722 cat >conftest.$ac_ext <<_ACEOF
19723#line $LINENO "configure"
19724/* confdefs.h. */
19725_ACEOF
19726cat confdefs.h >>conftest.$ac_ext
19727cat >>conftest.$ac_ext <<_ACEOF
19728/* end confdefs.h. */
19729
19730#include <gtk/gtk.h>
19731#include <stdio.h>
19732
19733int
19734main ()
19735{
19736 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19737 ;
19738 return 0;
19739}
19740_ACEOF
19741rm -f conftest.$ac_objext conftest$ac_exeext
19742if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19743 (eval $ac_link) 2>&5
19744 ac_status=$?
19745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19746 (exit $ac_status); } &&
19747 { ac_try='test -s conftest$ac_exeext'
19748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19749 (eval $ac_try) 2>&5
19750 ac_status=$?
19751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19752 (exit $ac_status); }; }; then
19753 echo "*** The test program compiled, but did not run. This usually means"
19754 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
19755 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
19756 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
19757 echo "*** to the installed location Also, make sure you have run ldconfig if that"
19758 echo "*** is required on your system"
19759 echo "***"
19760 echo "*** If you have an old version installed, it is best to remove it, although"
19761 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
19762else
19763 echo "$as_me: failed program was:" >&5
19764sed 's/^/| /' conftest.$ac_ext >&5
19765
19766 echo "*** The test program failed to compile or link. See the file config.log for the"
19767 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
19768fi
19769rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19770 CFLAGS="$ac_save_CFLAGS"
19771 LIBS="$ac_save_LIBS"
19772 fi
19773 fi
19774 GTK_CFLAGS=""
19775 GTK_LIBS=""
19776 :
19777 fi
19778
19779
19780 rm -f conf.gtktest
19781
19782 else
19783
19784# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
19785if test "${with_gtk_prefix+set}" = set; then
19786 withval="$with_gtk_prefix"
19787 gtk_config_prefix="$withval"
19788else
19789 gtk_config_prefix=""
19790fi;
19791
19792# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
19793if test "${with_gtk_exec_prefix+set}" = set; then
19794 withval="$with_gtk_exec_prefix"
19795 gtk_config_exec_prefix="$withval"
19796else
19797 gtk_config_exec_prefix=""
19798fi;
19799# Check whether --enable-gtktest or --disable-gtktest was given.
19800if test "${enable_gtktest+set}" = set; then
19801 enableval="$enable_gtktest"
19802
19803else
19804 enable_gtktest=yes
19805fi;
19806
19807 for module in . $GTK_MODULES
19808 do
19809 case "$module" in
19810 gthread)
19811 gtk_config_args="$gtk_config_args gthread"
19812 ;;
19813 esac
19814 done
19815
19816 if test x$gtk_config_exec_prefix != x ; then
19817 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
19818 if test x${GTK_CONFIG+set} != xset ; then
19819 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
19820 fi
19821 fi
19822 if test x$gtk_config_prefix != x ; then
19823 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
19824 if test x${GTK_CONFIG+set} != xset ; then
19825 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
19826 fi
19827 fi
19828
19829 # Extract the first word of "gtk-config", so it can be a program name with args.
19830set dummy gtk-config; ac_word=$2
19831echo "$as_me:$LINENO: checking for $ac_word" >&5
19832echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19833if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
19834 echo $ECHO_N "(cached) $ECHO_C" >&6
19835else
19836 case $GTK_CONFIG in
19837 [\\/]* | ?:[\\/]*)
19838 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
19839 ;;
19840 *)
19841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19842for as_dir in $PATH
19843do
19844 IFS=$as_save_IFS
19845 test -z "$as_dir" && as_dir=.
19846 for ac_exec_ext in '' $ac_executable_extensions; do
19847 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19848 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19850 break 2
19851 fi
19852done
19853done
19854
19855 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
19856 ;;
19857esac
19858fi
19859GTK_CONFIG=$ac_cv_path_GTK_CONFIG
19860
19861if test -n "$GTK_CONFIG"; then
19862 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
19863echo "${ECHO_T}$GTK_CONFIG" >&6
19864else
19865 echo "$as_me:$LINENO: result: no" >&5
19866echo "${ECHO_T}no" >&6
19867fi
19868
19869 min_gtk_version=1.2.7
19870 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
19871echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
19872 no_gtk=""
19873 if test "$GTK_CONFIG" = "no" ; then
19874 no_gtk=yes
19875 else
19876 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
19877 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
19878 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
19879 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19880 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
19881 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19882 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
19883 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19884 if test "x$enable_gtktest" = "xyes" ; then
19885 ac_save_CFLAGS="$CFLAGS"
19886 ac_save_LIBS="$LIBS"
19887 CFLAGS="$CFLAGS $GTK_CFLAGS"
19888 LIBS="$GTK_LIBS $LIBS"
19889 rm -f conf.gtktest
19890 if test "$cross_compiling" = yes; then
19891 echo $ac_n "cross compiling; assumed OK... $ac_c"
19892else
19893 cat >conftest.$ac_ext <<_ACEOF
19894#line $LINENO "configure"
19895/* confdefs.h. */
19896_ACEOF
19897cat confdefs.h >>conftest.$ac_ext
19898cat >>conftest.$ac_ext <<_ACEOF
19899/* end confdefs.h. */
19900
19901#include <gtk/gtk.h>
19902#include <stdio.h>
19903#include <stdlib.h>
19904
19905int
19906main ()
19907{
19908 int major, minor, micro;
19909 char *tmp_version;
19910
19911 system ("touch conf.gtktest");
19912
19913 /* HP/UX 9 (%@#!) writes to sscanf strings */
19914 tmp_version = g_strdup("$min_gtk_version");
19915 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
19916 printf("%s, bad version string\n", "$min_gtk_version");
19917 exit(1);
19918 }
19919
19920 if ((gtk_major_version != $gtk_config_major_version) ||
19921 (gtk_minor_version != $gtk_config_minor_version) ||
19922 (gtk_micro_version != $gtk_config_micro_version))
19923 {
19924 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19925 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19926 gtk_major_version, gtk_minor_version, gtk_micro_version);
19927 printf ("*** was found! If gtk-config was correct, then it is best\n");
19928 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19929 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19930 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19931 printf("*** required on your system.\n");
19932 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
19933 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
19934 printf("*** before re-running configure\n");
19935 }
19936#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
19937 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19938 (gtk_minor_version != GTK_MINOR_VERSION) ||
19939 (gtk_micro_version != GTK_MICRO_VERSION))
19940 {
19941 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19942 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19943 printf("*** library (version %d.%d.%d)\n",
19944 gtk_major_version, gtk_minor_version, gtk_micro_version);
19945 }
19946#endif /* defined (GTK_MAJOR_VERSION) ... */
19947 else
19948 {
19949 if ((gtk_major_version > major) ||
19950 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19951 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19952 {
19953 return 0;
19954 }
19955 else
19956 {
19957 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19958 gtk_major_version, gtk_minor_version, gtk_micro_version);
19959 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19960 major, minor, micro);
19961 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19962 printf("***\n");
19963 printf("*** If you have already installed a sufficiently new version, this error\n");
19964 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
19965 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19966 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
19967 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
19968 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19969 printf("*** so that the correct libraries are found at run-time))\n");
19970 }
19971 }
19972 return 1;
19973}
19974
19975_ACEOF
19976rm -f conftest$ac_exeext
19977if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19978 (eval $ac_link) 2>&5
19979 ac_status=$?
19980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19981 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19983 (eval $ac_try) 2>&5
19984 ac_status=$?
19985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19986 (exit $ac_status); }; }; then
19987 :
19988else
19989 echo "$as_me: program exited with status $ac_status" >&5
19990echo "$as_me: failed program was:" >&5
19991sed 's/^/| /' conftest.$ac_ext >&5
19992
19993( exit $ac_status )
19994no_gtk=yes
19995fi
19996rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19997fi
19998 CFLAGS="$ac_save_CFLAGS"
19999 LIBS="$ac_save_LIBS"
20000 fi
20001 fi
20002 if test "x$no_gtk" = x ; then
20003 echo "$as_me:$LINENO: result: yes" >&5
20004echo "${ECHO_T}yes" >&6
20005 wx_cv_lib_gtk=1.2.7
20006 else
20007 echo "$as_me:$LINENO: result: no" >&5
20008echo "${ECHO_T}no" >&6
20009 if test "$GTK_CONFIG" = "no" ; then
20010 echo "*** The gtk-config script installed by GTK could not be found"
20011 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20012 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20013 echo "*** full path to gtk-config."
20014 else
20015 if test -f conf.gtktest ; then
20016 :
20017 else
20018 echo "*** Could not run GTK test program, checking why..."
20019 CFLAGS="$CFLAGS $GTK_CFLAGS"
20020 LIBS="$LIBS $GTK_LIBS"
20021 cat >conftest.$ac_ext <<_ACEOF
20022#line $LINENO "configure"
20023/* confdefs.h. */
20024_ACEOF
20025cat confdefs.h >>conftest.$ac_ext
20026cat >>conftest.$ac_ext <<_ACEOF
20027/* end confdefs.h. */
20028
20029#include <gtk/gtk.h>
20030#include <stdio.h>
20031
20032int
20033main ()
20034{
20035 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20036 ;
20037 return 0;
20038}
20039_ACEOF
20040rm -f conftest.$ac_objext conftest$ac_exeext
20041if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20042 (eval $ac_link) 2>&5
20043 ac_status=$?
20044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20045 (exit $ac_status); } &&
20046 { ac_try='test -s conftest$ac_exeext'
20047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20048 (eval $ac_try) 2>&5
20049 ac_status=$?
20050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20051 (exit $ac_status); }; }; then
20052 echo "*** The test program compiled, but did not run. This usually means"
20053 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20054 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20055 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20056 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20057 echo "*** is required on your system"
20058 echo "***"
20059 echo "*** If you have an old version installed, it is best to remove it, although"
20060 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20061 echo "***"
20062 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20063 echo "*** came with the system with the command"
20064 echo "***"
20065 echo "*** rpm --erase --nodeps gtk gtk-devel"
20066else
20067 echo "$as_me: failed program was:" >&5
20068sed 's/^/| /' conftest.$ac_ext >&5
20069
20070 echo "*** The test program failed to compile or link. See the file config.log for the"
20071 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20072 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20073 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20074fi
20075rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20076 CFLAGS="$ac_save_CFLAGS"
20077 LIBS="$ac_save_LIBS"
20078 fi
20079 fi
20080 GTK_CFLAGS=""
20081 GTK_LIBS=""
20082 :
20083 fi
20084
20085
20086 rm -f conf.gtktest
20087
20088
20089 if test -z "$wx_cv_lib_gtk"; then
20090
20091# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20092if test "${with_gtk_prefix+set}" = set; then
20093 withval="$with_gtk_prefix"
20094 gtk_config_prefix="$withval"
20095else
20096 gtk_config_prefix=""
20097fi;
20098
20099# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20100if test "${with_gtk_exec_prefix+set}" = set; then
20101 withval="$with_gtk_exec_prefix"
20102 gtk_config_exec_prefix="$withval"
20103else
20104 gtk_config_exec_prefix=""
20105fi;
20106# Check whether --enable-gtktest or --disable-gtktest was given.
20107if test "${enable_gtktest+set}" = set; then
20108 enableval="$enable_gtktest"
20109
20110else
20111 enable_gtktest=yes
20112fi;
20113
20114 for module in . $GTK_MODULES
20115 do
20116 case "$module" in
20117 gthread)
20118 gtk_config_args="$gtk_config_args gthread"
20119 ;;
20120 esac
20121 done
20122
20123 if test x$gtk_config_exec_prefix != x ; then
20124 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20125 if test x${GTK_CONFIG+set} != xset ; then
20126 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20127 fi
20128 fi
20129 if test x$gtk_config_prefix != x ; then
20130 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20131 if test x${GTK_CONFIG+set} != xset ; then
20132 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20133 fi
20134 fi
20135
20136 # Extract the first word of "gtk-config", so it can be a program name with args.
20137set dummy gtk-config; ac_word=$2
20138echo "$as_me:$LINENO: checking for $ac_word" >&5
20139echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20140if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20141 echo $ECHO_N "(cached) $ECHO_C" >&6
20142else
20143 case $GTK_CONFIG in
20144 [\\/]* | ?:[\\/]*)
20145 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20146 ;;
20147 *)
20148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20149for as_dir in $PATH
20150do
20151 IFS=$as_save_IFS
20152 test -z "$as_dir" && as_dir=.
20153 for ac_exec_ext in '' $ac_executable_extensions; do
20154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20155 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20157 break 2
20158 fi
20159done
20160done
20161
20162 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20163 ;;
20164esac
20165fi
20166GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20167
20168if test -n "$GTK_CONFIG"; then
20169 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20170echo "${ECHO_T}$GTK_CONFIG" >&6
20171else
20172 echo "$as_me:$LINENO: result: no" >&5
20173echo "${ECHO_T}no" >&6
20174fi
20175
20176 min_gtk_version=1.2.3
20177 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20178echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20179 no_gtk=""
20180 if test "$GTK_CONFIG" = "no" ; then
20181 no_gtk=yes
20182 else
20183 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20184 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20185 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20186 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20187 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20188 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20189 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20190 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20191 if test "x$enable_gtktest" = "xyes" ; then
20192 ac_save_CFLAGS="$CFLAGS"
20193 ac_save_LIBS="$LIBS"
20194 CFLAGS="$CFLAGS $GTK_CFLAGS"
20195 LIBS="$GTK_LIBS $LIBS"
20196 rm -f conf.gtktest
20197 if test "$cross_compiling" = yes; then
20198 echo $ac_n "cross compiling; assumed OK... $ac_c"
20199else
20200 cat >conftest.$ac_ext <<_ACEOF
20201#line $LINENO "configure"
20202/* confdefs.h. */
20203_ACEOF
20204cat confdefs.h >>conftest.$ac_ext
20205cat >>conftest.$ac_ext <<_ACEOF
20206/* end confdefs.h. */
20207
20208#include <gtk/gtk.h>
20209#include <stdio.h>
20210#include <stdlib.h>
20211
20212int
20213main ()
20214{
20215 int major, minor, micro;
20216 char *tmp_version;
20217
20218 system ("touch conf.gtktest");
20219
20220 /* HP/UX 9 (%@#!) writes to sscanf strings */
20221 tmp_version = g_strdup("$min_gtk_version");
20222 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20223 printf("%s, bad version string\n", "$min_gtk_version");
20224 exit(1);
20225 }
20226
20227 if ((gtk_major_version != $gtk_config_major_version) ||
20228 (gtk_minor_version != $gtk_config_minor_version) ||
20229 (gtk_micro_version != $gtk_config_micro_version))
20230 {
20231 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20232 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20233 gtk_major_version, gtk_minor_version, gtk_micro_version);
20234 printf ("*** was found! If gtk-config was correct, then it is best\n");
20235 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20236 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20237 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20238 printf("*** required on your system.\n");
20239 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20240 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20241 printf("*** before re-running configure\n");
20242 }
20243#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20244 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20245 (gtk_minor_version != GTK_MINOR_VERSION) ||
20246 (gtk_micro_version != GTK_MICRO_VERSION))
20247 {
20248 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20249 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20250 printf("*** library (version %d.%d.%d)\n",
20251 gtk_major_version, gtk_minor_version, gtk_micro_version);
20252 }
20253#endif /* defined (GTK_MAJOR_VERSION) ... */
20254 else
20255 {
20256 if ((gtk_major_version > major) ||
20257 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20258 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20259 {
20260 return 0;
20261 }
20262 else
20263 {
20264 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20265 gtk_major_version, gtk_minor_version, gtk_micro_version);
20266 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20267 major, minor, micro);
20268 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20269 printf("***\n");
20270 printf("*** If you have already installed a sufficiently new version, this error\n");
20271 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20272 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20273 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20274 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20275 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20276 printf("*** so that the correct libraries are found at run-time))\n");
20277 }
20278 }
20279 return 1;
20280}
20281
20282_ACEOF
20283rm -f conftest$ac_exeext
20284if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20285 (eval $ac_link) 2>&5
20286 ac_status=$?
20287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20288 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20290 (eval $ac_try) 2>&5
20291 ac_status=$?
20292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293 (exit $ac_status); }; }; then
20294 :
20295else
20296 echo "$as_me: program exited with status $ac_status" >&5
20297echo "$as_me: failed program was:" >&5
20298sed 's/^/| /' conftest.$ac_ext >&5
20299
20300( exit $ac_status )
20301no_gtk=yes
20302fi
20303rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20304fi
20305 CFLAGS="$ac_save_CFLAGS"
20306 LIBS="$ac_save_LIBS"
20307 fi
20308 fi
20309 if test "x$no_gtk" = x ; then
20310 echo "$as_me:$LINENO: result: yes" >&5
20311echo "${ECHO_T}yes" >&6
20312 wx_cv_lib_gtk=1.2.3
20313 else
20314 echo "$as_me:$LINENO: result: no" >&5
20315echo "${ECHO_T}no" >&6
20316 if test "$GTK_CONFIG" = "no" ; then
20317 echo "*** The gtk-config script installed by GTK could not be found"
20318 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20319 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20320 echo "*** full path to gtk-config."
20321 else
20322 if test -f conf.gtktest ; then
20323 :
20324 else
20325 echo "*** Could not run GTK test program, checking why..."
20326 CFLAGS="$CFLAGS $GTK_CFLAGS"
20327 LIBS="$LIBS $GTK_LIBS"
20328 cat >conftest.$ac_ext <<_ACEOF
20329#line $LINENO "configure"
20330/* confdefs.h. */
20331_ACEOF
20332cat confdefs.h >>conftest.$ac_ext
20333cat >>conftest.$ac_ext <<_ACEOF
20334/* end confdefs.h. */
20335
20336#include <gtk/gtk.h>
20337#include <stdio.h>
20338
20339int
20340main ()
20341{
20342 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20343 ;
20344 return 0;
20345}
20346_ACEOF
20347rm -f conftest.$ac_objext conftest$ac_exeext
20348if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20349 (eval $ac_link) 2>&5
20350 ac_status=$?
20351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20352 (exit $ac_status); } &&
20353 { ac_try='test -s conftest$ac_exeext'
20354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20355 (eval $ac_try) 2>&5
20356 ac_status=$?
20357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20358 (exit $ac_status); }; }; then
20359 echo "*** The test program compiled, but did not run. This usually means"
20360 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20361 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20362 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20363 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20364 echo "*** is required on your system"
20365 echo "***"
20366 echo "*** If you have an old version installed, it is best to remove it, although"
20367 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20368 echo "***"
20369 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20370 echo "*** came with the system with the command"
20371 echo "***"
20372 echo "*** rpm --erase --nodeps gtk gtk-devel"
20373else
20374 echo "$as_me: failed program was:" >&5
20375sed 's/^/| /' conftest.$ac_ext >&5
20376
20377 echo "*** The test program failed to compile or link. See the file config.log for the"
20378 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20379 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20380 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20381fi
20382rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20383 CFLAGS="$ac_save_CFLAGS"
20384 LIBS="$ac_save_LIBS"
20385 fi
20386 fi
20387 GTK_CFLAGS=""
20388 GTK_LIBS=""
20389 :
20390 fi
20391
20392
20393 rm -f conf.gtktest
20394
20395 fi
20396 fi
20397
20398 if test -z "$wx_cv_lib_gtk"; then
20399 wx_cv_lib_gtk=none
20400 else
20401 wx_cv_cflags_gtk=$GTK_CFLAGS
20402 wx_cv_libs_gtk=$GTK_LIBS
20403 fi
20404
20405
20406fi
20407
20408
20409 if test "$gtk_version_cached" = 1; then
20410 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20411echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20412 fi
20413
20414 case "$wx_cv_lib_gtk" in
20415 2.0) WXGTK20=1
20416 TOOLKIT_VERSION=2
20417 ;;
20418 1.2.7) WXGTK127=1
20419 WXGTK12=1
20420 ;;
20421 1.2.3) WXGTK12=1
20422 ;;
20423 *) { { echo "$as_me:$LINENO: error:
20424Please check that gtk-config is in path, the directory
20425where GTK+ libraries are installed (returned by
20426'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20427equivalent variable and GTK+ is version 1.2.3 or above.
20428 " >&5
20429echo "$as_me: error:
20430Please check that gtk-config is in path, the directory
20431where GTK+ libraries are installed (returned by
20432'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20433equivalent variable and GTK+ is version 1.2.3 or above.
20434 " >&2;}
20435 { (exit 1); exit 1; }; }
20436 ;;
20437 esac
20438
20439 if test "$WXGTK20" = 1; then
20440 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20441
20442 succeeded=no
20443
20444 if test -z "$PKG_CONFIG"; then
20445 # Extract the first word of "pkg-config", so it can be a program name with args.
20446set dummy pkg-config; ac_word=$2
20447echo "$as_me:$LINENO: checking for $ac_word" >&5
20448echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20449if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20450 echo $ECHO_N "(cached) $ECHO_C" >&6
20451else
20452 case $PKG_CONFIG in
20453 [\\/]* | ?:[\\/]*)
20454 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20455 ;;
20456 *)
20457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20458for as_dir in $PATH
20459do
20460 IFS=$as_save_IFS
20461 test -z "$as_dir" && as_dir=.
20462 for ac_exec_ext in '' $ac_executable_extensions; do
20463 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20464 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20466 break 2
20467 fi
20468done
20469done
20470
20471 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20472 ;;
20473esac
20474fi
20475PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20476
20477if test -n "$PKG_CONFIG"; then
20478 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20479echo "${ECHO_T}$PKG_CONFIG" >&6
20480else
20481 echo "$as_me:$LINENO: result: no" >&5
20482echo "${ECHO_T}no" >&6
20483fi
20484
20485 fi
20486
20487 if test "$PKG_CONFIG" = "no" ; then
20488 echo "*** The pkg-config script could not be found. Make sure it is"
20489 echo "*** in your path, or set the PKG_CONFIG environment variable"
20490 echo "*** to the full path to pkg-config."
20491 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20492 else
20493 PKG_CONFIG_MIN_VERSION=0.9.0
20494 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20495 echo "$as_me:$LINENO: checking for pangoft2" >&5
20496echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20497
20498 if $PKG_CONFIG --exists "pangoft2" ; then
20499 echo "$as_me:$LINENO: result: yes" >&5
20500echo "${ECHO_T}yes" >&6
20501 succeeded=yes
20502
20503 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20504echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20505 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
20506 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20507echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20508
20509 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20510echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20511 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
20512 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20513echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20514 else
20515 PANGOFT2_CFLAGS=""
20516 PANGOFT2_LIBS=""
20517 ## If we have a custom action on failure, don't print errors, but
20518 ## do set a variable so people can do so.
20519 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20520
20521 fi
20522
20523
20524
20525 else
20526 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20527 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20528 fi
20529 fi
20530
20531 if test $succeeded = yes; then
20532
20533 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
20534 LIBS="$LIBS $PANGOFT2_LIBS"
20535
20536 else
20537
20538 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20539echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20540 wxUSE_PRINTING_ARCHITECTURE="no"
20541
20542
20543 fi
20544
20545 fi
20546 else
20547 if test "$wxUSE_UNICODE" = "yes"; then
20548 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20549echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20550 wxUSE_UNICODE=no
20551 fi
20552 fi
20553
20554 if test "$USE_DARWIN" != 1; then
20555
20556for ac_func in poll
20557do
20558as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20559echo "$as_me:$LINENO: checking for $ac_func" >&5
20560echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20561if eval "test \"\${$as_ac_var+set}\" = set"; then
20562 echo $ECHO_N "(cached) $ECHO_C" >&6
20563else
20564 cat >conftest.$ac_ext <<_ACEOF
20565#line $LINENO "configure"
20566/* confdefs.h. */
20567_ACEOF
20568cat confdefs.h >>conftest.$ac_ext
20569cat >>conftest.$ac_ext <<_ACEOF
20570/* end confdefs.h. */
20571/* System header to define __stub macros and hopefully few prototypes,
20572 which can conflict with char $ac_func (); below.
20573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20574 <limits.h> exists even on freestanding compilers. */
20575#ifdef __STDC__
20576# include <limits.h>
20577#else
20578# include <assert.h>
20579#endif
20580/* Override any gcc2 internal prototype to avoid an error. */
20581#ifdef __cplusplus
20582extern "C"
20583{
20584#endif
20585/* We use char because int might match the return type of a gcc2
20586 builtin and then its argument prototype would still apply. */
20587char $ac_func ();
20588/* The GNU C library defines this for functions which it implements
20589 to always fail with ENOSYS. Some functions are actually named
20590 something starting with __ and the normal name is an alias. */
20591#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20592choke me
20593#else
20594char (*f) () = $ac_func;
20595#endif
20596#ifdef __cplusplus
20597}
20598#endif
20599
20600int
20601main ()
20602{
20603return f != $ac_func;
20604 ;
20605 return 0;
20606}
20607_ACEOF
20608rm -f conftest.$ac_objext conftest$ac_exeext
20609if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20610 (eval $ac_link) 2>&5
20611 ac_status=$?
20612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20613 (exit $ac_status); } &&
20614 { ac_try='test -s conftest$ac_exeext'
20615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20616 (eval $ac_try) 2>&5
20617 ac_status=$?
20618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20619 (exit $ac_status); }; }; then
20620 eval "$as_ac_var=yes"
20621else
20622 echo "$as_me: failed program was:" >&5
20623sed 's/^/| /' conftest.$ac_ext >&5
20624
20625eval "$as_ac_var=no"
20626fi
20627rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20628fi
20629echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20630echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20631if test `eval echo '${'$as_ac_var'}'` = yes; then
20632 cat >>confdefs.h <<_ACEOF
20633#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20634_ACEOF
20635
20636fi
20637done
20638
20639 fi
20640
20641 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
20642 GUI_TK_LIBRARY="$wx_cv_libs_gtk"
20643
20644 AFMINSTALL=afminstall
20645 TOOLKIT=GTK
20646 GUIDIST=GTK_DIST
20647
20648 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
20649echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
20650if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
20651 echo $ECHO_N "(cached) $ECHO_C" >&6
20652else
20653 ac_check_lib_save_LIBS=$LIBS
20654LIBS="-lgdk $LIBS"
20655cat >conftest.$ac_ext <<_ACEOF
20656#line $LINENO "configure"
20657/* confdefs.h. */
20658_ACEOF
20659cat confdefs.h >>conftest.$ac_ext
20660cat >>conftest.$ac_ext <<_ACEOF
20661/* end confdefs.h. */
20662
20663/* Override any gcc2 internal prototype to avoid an error. */
20664#ifdef __cplusplus
20665extern "C"
20666#endif
20667/* We use char because int might match the return type of a gcc2
20668 builtin and then its argument prototype would still apply. */
20669char gdk_im_open ();
20670int
20671main ()
20672{
20673gdk_im_open ();
20674 ;
20675 return 0;
20676}
20677_ACEOF
20678rm -f conftest.$ac_objext conftest$ac_exeext
20679if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20680 (eval $ac_link) 2>&5
20681 ac_status=$?
20682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20683 (exit $ac_status); } &&
20684 { ac_try='test -s conftest$ac_exeext'
20685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20686 (eval $ac_try) 2>&5
20687 ac_status=$?
20688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20689 (exit $ac_status); }; }; then
20690 ac_cv_lib_gdk_gdk_im_open=yes
20691else
20692 echo "$as_me: failed program was:" >&5
20693sed 's/^/| /' conftest.$ac_ext >&5
20694
20695ac_cv_lib_gdk_gdk_im_open=no
20696fi
20697rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20698LIBS=$ac_check_lib_save_LIBS
20699fi
20700echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
20701echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
20702if test $ac_cv_lib_gdk_gdk_im_open = yes; then
20703 cat >>confdefs.h <<\_ACEOF
20704#define HAVE_XIM 1
20705_ACEOF
20706
20707fi
20708
20709 fi
20710
20711 if test "$wxUSE_MGL" = 1; then
20712 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
20713echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
20714 if test "x$MGL_ROOT" = x ; then
20715 echo "$as_me:$LINENO: result: not found" >&5
20716echo "${ECHO_T}not found" >&6
20717 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
20718echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
20719 { (exit 1); exit 1; }; }
20720 else
20721 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
20722echo "${ECHO_T}$MGL_ROOT" >&6
20723 fi
20724
20725 echo "$as_me:$LINENO: checking for libmgl location" >&5
20726echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
20727 case "${host}" in
20728 *-*-linux* )
20729 if test "x$wxUSE_SHARED" = xyes ; then
20730 mgl_os_candidates="linux/gcc/glibc.so linux/gcc/glibc"
20731 else
20732 mgl_os_candidates="linux/gcc/glibc linux/gcc/glibc.so"
20733 fi
20734 ;;
20735 *-pc-msdosdjgpp )
20736 mgl_os_candidates="dos32/dj2"
20737 ;;
20738 *)
20739 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
20740echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
20741 { (exit 1); exit 1; }; }
20742 esac
20743
20744 mgl_lib_type=""
20745 mgl_os=""
20746
20747 for mgl_os_i in $mgl_os_candidates ; do
20748 if test "x$mgl_os" = x ; then
20749 if test "$wxUSE_DEBUG_FLAG" = yes ; then
20750 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
20751 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
20752 mgl_lib_type=debug
20753 mgl_os=$mgl_os_i
20754 fi
20755 fi
20756 if test "x$mgl_lib_type" = x ; then
20757 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
20758 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
20759 mgl_lib_type=release
20760 mgl_os=$mgl_os_i
20761 fi
20762 fi
20763 fi
20764 done
20765
20766 if test "x$mgl_os" = x ; then
20767 echo "$as_me:$LINENO: result: not found" >&5
20768echo "${ECHO_T}not found" >&6
20769 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
20770echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
20771 { (exit 1); exit 1; }; }
20772 fi
20773 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
20774echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
20775
20776 wxUSE_UNIVERSAL="yes"
20777
20778 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
20779 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
20780
20781 AFMINSTALL=afminstall
20782 TOOLKIT=MGL
20783 GUIDIST=MGL_DIST
20784 fi
20785
20786 if test "$wxUSE_MICROWIN" = 1; then
20787 echo "$as_me:$LINENO: checking for MicroWindows" >&5
20788echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
20789 if test "x$MICROWINDOWS" = x ; then
20790 echo "$as_me:$LINENO: result: not found" >&5
20791echo "${ECHO_T}not found" >&6
20792 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
20793echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
20794 { (exit 1); exit 1; }; }
20795 else
20796 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
20797echo "${ECHO_T}$MICROWINDOWS" >&6
20798 fi
20799
20800 if test -f $MICROWINDOWS/lib/libmwin.a; then
20801 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
20802echo "${ECHO_T}MicroWindows' libraries found." >&6
20803 else
20804 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
20805echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
20806 { (exit 1); exit 1; }; }
20807 fi
20808
20809 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
20810 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
20811
20812 wxUSE_UNIVERSAL="yes"
20813
20814 AFMINSTALL=afminstall
20815 TOOLKIT=MICROWIN
20816 GUIDIST=MICROWIN_DIST
20817
20818 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
20819 fi
20820
20821 if test "$wxUSE_X11" = 1; then
20822 echo "$as_me:$LINENO: checking for X" >&5
20823echo $ECHO_N "checking for X... $ECHO_C" >&6
20824
20825
20826# Check whether --with-x or --without-x was given.
20827if test "${with_x+set}" = set; then
20828 withval="$with_x"
20829
20830fi;
20831# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
20832if test "x$with_x" = xno; then
20833 # The user explicitly disabled X.
20834 have_x=disabled
20835else
20836 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
20837 # Both variables are already set.
20838 have_x=yes
20839 else
20840 if test "${ac_cv_have_x+set}" = set; then
20841 echo $ECHO_N "(cached) $ECHO_C" >&6
20842else
20843 # One or both of the vars are not set, and there is no cached value.
20844ac_x_includes=no ac_x_libraries=no
20845rm -fr conftest.dir
20846if mkdir conftest.dir; then
20847 cd conftest.dir
20848 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
20849 cat >Imakefile <<'_ACEOF'
20850acfindx:
20851 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
20852_ACEOF
20853 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
20854 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20855 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
20856 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
20857 for ac_extension in a so sl; do
20858 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
20859 test -f $ac_im_libdir/libX11.$ac_extension; then
20860 ac_im_usrlibdir=$ac_im_libdir; break
20861 fi
20862 done
20863 # Screen out bogus values from the imake configuration. They are
20864 # bogus both because they are the default anyway, and because
20865 # using them would break gcc on systems where it needs fixed includes.
20866 case $ac_im_incroot in
20867 /usr/include) ;;
20868 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
20869 esac
20870 case $ac_im_usrlibdir in
20871 /usr/lib | /lib) ;;
20872 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
20873 esac
20874 fi
20875 cd ..
20876 rm -fr conftest.dir
20877fi
20878
20879# Standard set of common directories for X headers.
20880# Check X11 before X11Rn because it is often a symlink to the current release.
20881ac_x_header_dirs='
20882/usr/X11/include
20883/usr/X11R6/include
20884/usr/X11R5/include
20885/usr/X11R4/include
20886
20887/usr/include/X11
20888/usr/include/X11R6
20889/usr/include/X11R5
20890/usr/include/X11R4
20891
20892/usr/local/X11/include
20893/usr/local/X11R6/include
20894/usr/local/X11R5/include
20895/usr/local/X11R4/include
20896
20897/usr/local/include/X11
20898/usr/local/include/X11R6
20899/usr/local/include/X11R5
20900/usr/local/include/X11R4
20901
20902/usr/X386/include
20903/usr/x386/include
20904/usr/XFree86/include/X11
20905
20906/usr/include
20907/usr/local/include
20908/usr/unsupported/include
20909/usr/athena/include
20910/usr/local/x11r5/include
20911/usr/lpp/Xamples/include
20912
20913/usr/openwin/include
20914/usr/openwin/share/include'
20915
20916if test "$ac_x_includes" = no; then
20917 # Guess where to find include files, by looking for Intrinsic.h.
20918 # First, try using that file with no special directory specified.
20919 cat >conftest.$ac_ext <<_ACEOF
20920#line $LINENO "configure"
20921/* confdefs.h. */
20922_ACEOF
20923cat confdefs.h >>conftest.$ac_ext
20924cat >>conftest.$ac_ext <<_ACEOF
20925/* end confdefs.h. */
20926#include <X11/Intrinsic.h>
20927_ACEOF
20928if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20929 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20930 ac_status=$?
20931 grep -v '^ *+' conftest.er1 >conftest.err
20932 rm -f conftest.er1
20933 cat conftest.err >&5
20934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20935 (exit $ac_status); } >/dev/null; then
20936 if test -s conftest.err; then
20937 ac_cpp_err=$ac_c_preproc_warn_flag
20938 else
20939 ac_cpp_err=
20940 fi
20941else
20942 ac_cpp_err=yes
20943fi
20944if test -z "$ac_cpp_err"; then
20945 # We can compile using X headers with no special include directory.
20946ac_x_includes=
20947else
20948 echo "$as_me: failed program was:" >&5
20949sed 's/^/| /' conftest.$ac_ext >&5
20950
20951 for ac_dir in $ac_x_header_dirs; do
20952 if test -r "$ac_dir/X11/Intrinsic.h"; then
20953 ac_x_includes=$ac_dir
20954 break
20955 fi
20956done
20957fi
20958rm -f conftest.err conftest.$ac_ext
20959fi # $ac_x_includes = no
20960
20961if test "$ac_x_libraries" = no; then
20962 # Check for the libraries.
20963 # See if we find them without any special options.
20964 # Don't add to $LIBS permanently.
20965 ac_save_LIBS=$LIBS
20966 LIBS="-lXt $LIBS"
20967 cat >conftest.$ac_ext <<_ACEOF
20968#line $LINENO "configure"
20969/* confdefs.h. */
20970_ACEOF
20971cat confdefs.h >>conftest.$ac_ext
20972cat >>conftest.$ac_ext <<_ACEOF
20973/* end confdefs.h. */
20974#include <X11/Intrinsic.h>
20975int
20976main ()
20977{
20978XtMalloc (0)
20979 ;
20980 return 0;
20981}
20982_ACEOF
20983rm -f conftest.$ac_objext conftest$ac_exeext
20984if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20985 (eval $ac_link) 2>&5
20986 ac_status=$?
20987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20988 (exit $ac_status); } &&
20989 { ac_try='test -s conftest$ac_exeext'
20990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20991 (eval $ac_try) 2>&5
20992 ac_status=$?
20993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20994 (exit $ac_status); }; }; then
20995 LIBS=$ac_save_LIBS
20996# We can link X programs with no special library path.
20997ac_x_libraries=
20998else
20999 echo "$as_me: failed program was:" >&5
21000sed 's/^/| /' conftest.$ac_ext >&5
21001
21002LIBS=$ac_save_LIBS
21003for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21004do
21005 # Don't even attempt the hair of trying to link an X program!
21006 for ac_extension in a so sl; do
21007 if test -r $ac_dir/libXt.$ac_extension; then
21008 ac_x_libraries=$ac_dir
21009 break 2
21010 fi
21011 done
21012done
21013fi
21014rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21015fi # $ac_x_libraries = no
21016
21017if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
21018 # Didn't find X anywhere. Cache the known absence of X.
21019 ac_cv_have_x="have_x=no"
21020else
21021 # Record where we found X for the cache.
21022 ac_cv_have_x="have_x=yes \
21023 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21024fi
21025fi
21026
21027 fi
21028 eval "$ac_cv_have_x"
21029fi # $with_x != no
21030
21031if test "$have_x" != yes; then
21032 echo "$as_me:$LINENO: result: $have_x" >&5
21033echo "${ECHO_T}$have_x" >&6
21034 no_x=yes
21035else
21036 # If each of the values was on the command line, it overrides each guess.
21037 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
21038 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
21039 # Update the cache value to reflect the command line values.
21040 ac_cv_have_x="have_x=yes \
21041 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21042 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21043echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21044fi
21045
21046if test "$no_x" = yes; then
21047 # Not all programs may use this symbol, but it does not hurt to define it.
21048
21049cat >>confdefs.h <<\_ACEOF
21050#define X_DISPLAY_MISSING 1
21051_ACEOF
21052
21053 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
21054else
21055 if test -n "$x_includes"; then
21056 X_CFLAGS="$X_CFLAGS -I$x_includes"
21057 fi
21058
21059 # It would also be nice to do this for all -L options, not just this one.
21060 if test -n "$x_libraries"; then
21061 X_LIBS="$X_LIBS -L$x_libraries"
21062 # For Solaris; some versions of Sun CC require a space after -R and
21063 # others require no space. Words are not sufficient . . . .
21064 case `(uname -sr) 2>/dev/null` in
21065 "SunOS 5"*)
21066 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21067echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21068 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
21069 cat >conftest.$ac_ext <<_ACEOF
21070#line $LINENO "configure"
21071/* confdefs.h. */
21072_ACEOF
21073cat confdefs.h >>conftest.$ac_ext
21074cat >>conftest.$ac_ext <<_ACEOF
21075/* end confdefs.h. */
21076
21077int
21078main ()
21079{
21080
21081 ;
21082 return 0;
21083}
21084_ACEOF
21085rm -f conftest.$ac_objext conftest$ac_exeext
21086if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21087 (eval $ac_link) 2>&5
21088 ac_status=$?
21089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21090 (exit $ac_status); } &&
21091 { ac_try='test -s conftest$ac_exeext'
21092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21093 (eval $ac_try) 2>&5
21094 ac_status=$?
21095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21096 (exit $ac_status); }; }; then
21097 ac_R_nospace=yes
21098else
21099 echo "$as_me: failed program was:" >&5
21100sed 's/^/| /' conftest.$ac_ext >&5
21101
21102ac_R_nospace=no
21103fi
21104rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21105 if test $ac_R_nospace = yes; then
21106 echo "$as_me:$LINENO: result: no" >&5
21107echo "${ECHO_T}no" >&6
21108 X_LIBS="$X_LIBS -R$x_libraries"
21109 else
21110 LIBS="$ac_xsave_LIBS -R $x_libraries"
21111 cat >conftest.$ac_ext <<_ACEOF
21112#line $LINENO "configure"
21113/* confdefs.h. */
21114_ACEOF
21115cat confdefs.h >>conftest.$ac_ext
21116cat >>conftest.$ac_ext <<_ACEOF
21117/* end confdefs.h. */
21118
21119int
21120main ()
21121{
21122
21123 ;
21124 return 0;
21125}
21126_ACEOF
21127rm -f conftest.$ac_objext conftest$ac_exeext
21128if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21129 (eval $ac_link) 2>&5
21130 ac_status=$?
21131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21132 (exit $ac_status); } &&
21133 { ac_try='test -s conftest$ac_exeext'
21134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21135 (eval $ac_try) 2>&5
21136 ac_status=$?
21137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21138 (exit $ac_status); }; }; then
21139 ac_R_space=yes
21140else
21141 echo "$as_me: failed program was:" >&5
21142sed 's/^/| /' conftest.$ac_ext >&5
21143
21144ac_R_space=no
21145fi
21146rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21147 if test $ac_R_space = yes; then
21148 echo "$as_me:$LINENO: result: yes" >&5
21149echo "${ECHO_T}yes" >&6
21150 X_LIBS="$X_LIBS -R $x_libraries"
21151 else
21152 echo "$as_me:$LINENO: result: neither works" >&5
21153echo "${ECHO_T}neither works" >&6
21154 fi
21155 fi
21156 LIBS=$ac_xsave_LIBS
21157 esac
21158 fi
21159
21160 # Check for system-dependent libraries X programs must link with.
21161 # Do this before checking for the system-independent R6 libraries
21162 # (-lICE), since we may need -lsocket or whatever for X linking.
21163
21164 if test "$ISC" = yes; then
21165 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
21166 else
21167 # Martyn Johnson says this is needed for Ultrix, if the X
21168 # libraries were built with DECnet support. And Karl Berry says
21169 # the Alpha needs dnet_stub (dnet does not exist).
21170 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
21171 cat >conftest.$ac_ext <<_ACEOF
21172#line $LINENO "configure"
21173/* confdefs.h. */
21174_ACEOF
21175cat confdefs.h >>conftest.$ac_ext
21176cat >>conftest.$ac_ext <<_ACEOF
21177/* end confdefs.h. */
21178
21179/* Override any gcc2 internal prototype to avoid an error. */
21180#ifdef __cplusplus
21181extern "C"
21182#endif
21183/* We use char because int might match the return type of a gcc2
21184 builtin and then its argument prototype would still apply. */
21185char XOpenDisplay ();
21186int
21187main ()
21188{
21189XOpenDisplay ();
21190 ;
21191 return 0;
21192}
21193_ACEOF
21194rm -f conftest.$ac_objext conftest$ac_exeext
21195if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21196 (eval $ac_link) 2>&5
21197 ac_status=$?
21198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21199 (exit $ac_status); } &&
21200 { ac_try='test -s conftest$ac_exeext'
21201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21202 (eval $ac_try) 2>&5
21203 ac_status=$?
21204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21205 (exit $ac_status); }; }; then
21206 :
21207else
21208 echo "$as_me: failed program was:" >&5
21209sed 's/^/| /' conftest.$ac_ext >&5
21210
21211echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21212echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21213if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21214 echo $ECHO_N "(cached) $ECHO_C" >&6
21215else
21216 ac_check_lib_save_LIBS=$LIBS
21217LIBS="-ldnet $LIBS"
21218cat >conftest.$ac_ext <<_ACEOF
21219#line $LINENO "configure"
21220/* confdefs.h. */
21221_ACEOF
21222cat confdefs.h >>conftest.$ac_ext
21223cat >>conftest.$ac_ext <<_ACEOF
21224/* end confdefs.h. */
21225
21226/* Override any gcc2 internal prototype to avoid an error. */
21227#ifdef __cplusplus
21228extern "C"
21229#endif
21230/* We use char because int might match the return type of a gcc2
21231 builtin and then its argument prototype would still apply. */
21232char dnet_ntoa ();
21233int
21234main ()
21235{
21236dnet_ntoa ();
21237 ;
21238 return 0;
21239}
21240_ACEOF
21241rm -f conftest.$ac_objext conftest$ac_exeext
21242if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21243 (eval $ac_link) 2>&5
21244 ac_status=$?
21245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21246 (exit $ac_status); } &&
21247 { ac_try='test -s conftest$ac_exeext'
21248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21249 (eval $ac_try) 2>&5
21250 ac_status=$?
21251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21252 (exit $ac_status); }; }; then
21253 ac_cv_lib_dnet_dnet_ntoa=yes
21254else
21255 echo "$as_me: failed program was:" >&5
21256sed 's/^/| /' conftest.$ac_ext >&5
21257
21258ac_cv_lib_dnet_dnet_ntoa=no
21259fi
21260rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21261LIBS=$ac_check_lib_save_LIBS
21262fi
21263echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21264echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21265if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21266 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
21267fi
21268
21269 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
21270 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21271echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21272if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21273 echo $ECHO_N "(cached) $ECHO_C" >&6
21274else
21275 ac_check_lib_save_LIBS=$LIBS
21276LIBS="-ldnet_stub $LIBS"
21277cat >conftest.$ac_ext <<_ACEOF
21278#line $LINENO "configure"
21279/* confdefs.h. */
21280_ACEOF
21281cat confdefs.h >>conftest.$ac_ext
21282cat >>conftest.$ac_ext <<_ACEOF
21283/* end confdefs.h. */
21284
21285/* Override any gcc2 internal prototype to avoid an error. */
21286#ifdef __cplusplus
21287extern "C"
21288#endif
21289/* We use char because int might match the return type of a gcc2
21290 builtin and then its argument prototype would still apply. */
21291char dnet_ntoa ();
21292int
21293main ()
21294{
21295dnet_ntoa ();
21296 ;
21297 return 0;
21298}
21299_ACEOF
21300rm -f conftest.$ac_objext conftest$ac_exeext
21301if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21302 (eval $ac_link) 2>&5
21303 ac_status=$?
21304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21305 (exit $ac_status); } &&
21306 { ac_try='test -s conftest$ac_exeext'
21307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21308 (eval $ac_try) 2>&5
21309 ac_status=$?
21310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21311 (exit $ac_status); }; }; then
21312 ac_cv_lib_dnet_stub_dnet_ntoa=yes
21313else
21314 echo "$as_me: failed program was:" >&5
21315sed 's/^/| /' conftest.$ac_ext >&5
21316
21317ac_cv_lib_dnet_stub_dnet_ntoa=no
21318fi
21319rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21320LIBS=$ac_check_lib_save_LIBS
21321fi
21322echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21323echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21324if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21325 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
21326fi
21327
21328 fi
21329fi
21330rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21331 LIBS="$ac_xsave_LIBS"
21332
21333 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21334 # to get the SysV transport functions.
21335 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21336 # needs -lnsl.
21337 # The nsl library prevents programs from opening the X display
21338 # on Irix 5.2, according to T.E. Dickey.
21339 # The functions gethostbyname, getservbyname, and inet_addr are
21340 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21341 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21342echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21343if test "${ac_cv_func_gethostbyname+set}" = set; then
21344 echo $ECHO_N "(cached) $ECHO_C" >&6
21345else
21346 cat >conftest.$ac_ext <<_ACEOF
21347#line $LINENO "configure"
21348/* confdefs.h. */
21349_ACEOF
21350cat confdefs.h >>conftest.$ac_ext
21351cat >>conftest.$ac_ext <<_ACEOF
21352/* end confdefs.h. */
21353/* System header to define __stub macros and hopefully few prototypes,
21354 which can conflict with char gethostbyname (); below.
21355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21356 <limits.h> exists even on freestanding compilers. */
21357#ifdef __STDC__
21358# include <limits.h>
21359#else
21360# include <assert.h>
21361#endif
21362/* Override any gcc2 internal prototype to avoid an error. */
21363#ifdef __cplusplus
21364extern "C"
21365{
21366#endif
21367/* We use char because int might match the return type of a gcc2
21368 builtin and then its argument prototype would still apply. */
21369char gethostbyname ();
21370/* The GNU C library defines this for functions which it implements
21371 to always fail with ENOSYS. Some functions are actually named
21372 something starting with __ and the normal name is an alias. */
21373#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21374choke me
21375#else
21376char (*f) () = gethostbyname;
21377#endif
21378#ifdef __cplusplus
21379}
21380#endif
21381
21382int
21383main ()
21384{
21385return f != gethostbyname;
21386 ;
21387 return 0;
21388}
21389_ACEOF
21390rm -f conftest.$ac_objext conftest$ac_exeext
21391if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21392 (eval $ac_link) 2>&5
21393 ac_status=$?
21394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21395 (exit $ac_status); } &&
21396 { ac_try='test -s conftest$ac_exeext'
21397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21398 (eval $ac_try) 2>&5
21399 ac_status=$?
21400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21401 (exit $ac_status); }; }; then
21402 ac_cv_func_gethostbyname=yes
21403else
21404 echo "$as_me: failed program was:" >&5
21405sed 's/^/| /' conftest.$ac_ext >&5
21406
21407ac_cv_func_gethostbyname=no
21408fi
21409rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21410fi
21411echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21412echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21413
21414 if test $ac_cv_func_gethostbyname = no; then
21415 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21416echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21417if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21418 echo $ECHO_N "(cached) $ECHO_C" >&6
21419else
21420 ac_check_lib_save_LIBS=$LIBS
21421LIBS="-lnsl $LIBS"
21422cat >conftest.$ac_ext <<_ACEOF
21423#line $LINENO "configure"
21424/* confdefs.h. */
21425_ACEOF
21426cat confdefs.h >>conftest.$ac_ext
21427cat >>conftest.$ac_ext <<_ACEOF
21428/* end confdefs.h. */
21429
21430/* Override any gcc2 internal prototype to avoid an error. */
21431#ifdef __cplusplus
21432extern "C"
21433#endif
21434/* We use char because int might match the return type of a gcc2
21435 builtin and then its argument prototype would still apply. */
21436char gethostbyname ();
21437int
21438main ()
21439{
21440gethostbyname ();
21441 ;
21442 return 0;
21443}
21444_ACEOF
21445rm -f conftest.$ac_objext conftest$ac_exeext
21446if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21447 (eval $ac_link) 2>&5
21448 ac_status=$?
21449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21450 (exit $ac_status); } &&
21451 { ac_try='test -s conftest$ac_exeext'
21452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21453 (eval $ac_try) 2>&5
21454 ac_status=$?
21455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); }; }; then
21457 ac_cv_lib_nsl_gethostbyname=yes
21458else
21459 echo "$as_me: failed program was:" >&5
21460sed 's/^/| /' conftest.$ac_ext >&5
21461
21462ac_cv_lib_nsl_gethostbyname=no
21463fi
21464rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21465LIBS=$ac_check_lib_save_LIBS
21466fi
21467echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21468echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21469if test $ac_cv_lib_nsl_gethostbyname = yes; then
21470 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
21471fi
21472
21473 if test $ac_cv_lib_nsl_gethostbyname = no; then
21474 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21475echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21476if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21477 echo $ECHO_N "(cached) $ECHO_C" >&6
21478else
21479 ac_check_lib_save_LIBS=$LIBS
21480LIBS="-lbsd $LIBS"
21481cat >conftest.$ac_ext <<_ACEOF
21482#line $LINENO "configure"
21483/* confdefs.h. */
21484_ACEOF
21485cat confdefs.h >>conftest.$ac_ext
21486cat >>conftest.$ac_ext <<_ACEOF
21487/* end confdefs.h. */
21488
21489/* Override any gcc2 internal prototype to avoid an error. */
21490#ifdef __cplusplus
21491extern "C"
21492#endif
21493/* We use char because int might match the return type of a gcc2
21494 builtin and then its argument prototype would still apply. */
21495char gethostbyname ();
21496int
21497main ()
21498{
21499gethostbyname ();
21500 ;
21501 return 0;
21502}
21503_ACEOF
21504rm -f conftest.$ac_objext conftest$ac_exeext
21505if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21506 (eval $ac_link) 2>&5
21507 ac_status=$?
21508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21509 (exit $ac_status); } &&
21510 { ac_try='test -s conftest$ac_exeext'
21511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21512 (eval $ac_try) 2>&5
21513 ac_status=$?
21514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21515 (exit $ac_status); }; }; then
21516 ac_cv_lib_bsd_gethostbyname=yes
21517else
21518 echo "$as_me: failed program was:" >&5
21519sed 's/^/| /' conftest.$ac_ext >&5
21520
21521ac_cv_lib_bsd_gethostbyname=no
21522fi
21523rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21524LIBS=$ac_check_lib_save_LIBS
21525fi
21526echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21527echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21528if test $ac_cv_lib_bsd_gethostbyname = yes; then
21529 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
21530fi
21531
21532 fi
21533 fi
21534
21535 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21536 # socket/setsockopt and other routines are undefined under SCO ODT
21537 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21538 # on later versions), says Simon Leinen: it contains gethostby*
21539 # variants that don't use the name server (or something). -lsocket
21540 # must be given before -lnsl if both are needed. We assume that
21541 # if connect needs -lnsl, so does gethostbyname.
21542 echo "$as_me:$LINENO: checking for connect" >&5
21543echo $ECHO_N "checking for connect... $ECHO_C" >&6
21544if test "${ac_cv_func_connect+set}" = set; then
21545 echo $ECHO_N "(cached) $ECHO_C" >&6
21546else
21547 cat >conftest.$ac_ext <<_ACEOF
21548#line $LINENO "configure"
21549/* confdefs.h. */
21550_ACEOF
21551cat confdefs.h >>conftest.$ac_ext
21552cat >>conftest.$ac_ext <<_ACEOF
21553/* end confdefs.h. */
21554/* System header to define __stub macros and hopefully few prototypes,
21555 which can conflict with char connect (); below.
21556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21557 <limits.h> exists even on freestanding compilers. */
21558#ifdef __STDC__
21559# include <limits.h>
21560#else
21561# include <assert.h>
21562#endif
21563/* Override any gcc2 internal prototype to avoid an error. */
21564#ifdef __cplusplus
21565extern "C"
21566{
21567#endif
21568/* We use char because int might match the return type of a gcc2
21569 builtin and then its argument prototype would still apply. */
21570char connect ();
21571/* The GNU C library defines this for functions which it implements
21572 to always fail with ENOSYS. Some functions are actually named
21573 something starting with __ and the normal name is an alias. */
21574#if defined (__stub_connect) || defined (__stub___connect)
21575choke me
21576#else
21577char (*f) () = connect;
21578#endif
21579#ifdef __cplusplus
21580}
21581#endif
21582
21583int
21584main ()
21585{
21586return f != connect;
21587 ;
21588 return 0;
21589}
21590_ACEOF
21591rm -f conftest.$ac_objext conftest$ac_exeext
21592if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21593 (eval $ac_link) 2>&5
21594 ac_status=$?
21595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21596 (exit $ac_status); } &&
21597 { ac_try='test -s conftest$ac_exeext'
21598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21599 (eval $ac_try) 2>&5
21600 ac_status=$?
21601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21602 (exit $ac_status); }; }; then
21603 ac_cv_func_connect=yes
21604else
21605 echo "$as_me: failed program was:" >&5
21606sed 's/^/| /' conftest.$ac_ext >&5
21607
21608ac_cv_func_connect=no
21609fi
21610rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21611fi
21612echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21613echo "${ECHO_T}$ac_cv_func_connect" >&6
21614
21615 if test $ac_cv_func_connect = no; then
21616 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21617echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21618if test "${ac_cv_lib_socket_connect+set}" = set; then
21619 echo $ECHO_N "(cached) $ECHO_C" >&6
21620else
21621 ac_check_lib_save_LIBS=$LIBS
21622LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
21623cat >conftest.$ac_ext <<_ACEOF
21624#line $LINENO "configure"
21625/* confdefs.h. */
21626_ACEOF
21627cat confdefs.h >>conftest.$ac_ext
21628cat >>conftest.$ac_ext <<_ACEOF
21629/* end confdefs.h. */
21630
21631/* Override any gcc2 internal prototype to avoid an error. */
21632#ifdef __cplusplus
21633extern "C"
21634#endif
21635/* We use char because int might match the return type of a gcc2
21636 builtin and then its argument prototype would still apply. */
21637char connect ();
21638int
21639main ()
21640{
21641connect ();
21642 ;
21643 return 0;
21644}
21645_ACEOF
21646rm -f conftest.$ac_objext conftest$ac_exeext
21647if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21648 (eval $ac_link) 2>&5
21649 ac_status=$?
21650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21651 (exit $ac_status); } &&
21652 { ac_try='test -s conftest$ac_exeext'
21653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21654 (eval $ac_try) 2>&5
21655 ac_status=$?
21656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21657 (exit $ac_status); }; }; then
21658 ac_cv_lib_socket_connect=yes
21659else
21660 echo "$as_me: failed program was:" >&5
21661sed 's/^/| /' conftest.$ac_ext >&5
21662
21663ac_cv_lib_socket_connect=no
21664fi
21665rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21666LIBS=$ac_check_lib_save_LIBS
21667fi
21668echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
21669echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
21670if test $ac_cv_lib_socket_connect = yes; then
21671 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
21672fi
21673
21674 fi
21675
21676 # Guillermo Gomez says -lposix is necessary on A/UX.
21677 echo "$as_me:$LINENO: checking for remove" >&5
21678echo $ECHO_N "checking for remove... $ECHO_C" >&6
21679if test "${ac_cv_func_remove+set}" = set; then
21680 echo $ECHO_N "(cached) $ECHO_C" >&6
21681else
21682 cat >conftest.$ac_ext <<_ACEOF
21683#line $LINENO "configure"
21684/* confdefs.h. */
21685_ACEOF
21686cat confdefs.h >>conftest.$ac_ext
21687cat >>conftest.$ac_ext <<_ACEOF
21688/* end confdefs.h. */
21689/* System header to define __stub macros and hopefully few prototypes,
21690 which can conflict with char remove (); below.
21691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21692 <limits.h> exists even on freestanding compilers. */
21693#ifdef __STDC__
21694# include <limits.h>
21695#else
21696# include <assert.h>
21697#endif
21698/* Override any gcc2 internal prototype to avoid an error. */
21699#ifdef __cplusplus
21700extern "C"
21701{
21702#endif
21703/* We use char because int might match the return type of a gcc2
21704 builtin and then its argument prototype would still apply. */
21705char remove ();
21706/* The GNU C library defines this for functions which it implements
21707 to always fail with ENOSYS. Some functions are actually named
21708 something starting with __ and the normal name is an alias. */
21709#if defined (__stub_remove) || defined (__stub___remove)
21710choke me
21711#else
21712char (*f) () = remove;
21713#endif
21714#ifdef __cplusplus
21715}
21716#endif
21717
21718int
21719main ()
21720{
21721return f != remove;
21722 ;
21723 return 0;
21724}
21725_ACEOF
21726rm -f conftest.$ac_objext conftest$ac_exeext
21727if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21728 (eval $ac_link) 2>&5
21729 ac_status=$?
21730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21731 (exit $ac_status); } &&
21732 { ac_try='test -s conftest$ac_exeext'
21733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21734 (eval $ac_try) 2>&5
21735 ac_status=$?
21736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21737 (exit $ac_status); }; }; then
21738 ac_cv_func_remove=yes
21739else
21740 echo "$as_me: failed program was:" >&5
21741sed 's/^/| /' conftest.$ac_ext >&5
21742
21743ac_cv_func_remove=no
21744fi
21745rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21746fi
21747echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
21748echo "${ECHO_T}$ac_cv_func_remove" >&6
21749
21750 if test $ac_cv_func_remove = no; then
21751 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
21752echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
21753if test "${ac_cv_lib_posix_remove+set}" = set; then
21754 echo $ECHO_N "(cached) $ECHO_C" >&6
21755else
21756 ac_check_lib_save_LIBS=$LIBS
21757LIBS="-lposix $LIBS"
21758cat >conftest.$ac_ext <<_ACEOF
21759#line $LINENO "configure"
21760/* confdefs.h. */
21761_ACEOF
21762cat confdefs.h >>conftest.$ac_ext
21763cat >>conftest.$ac_ext <<_ACEOF
21764/* end confdefs.h. */
21765
21766/* Override any gcc2 internal prototype to avoid an error. */
21767#ifdef __cplusplus
21768extern "C"
21769#endif
21770/* We use char because int might match the return type of a gcc2
21771 builtin and then its argument prototype would still apply. */
21772char remove ();
21773int
21774main ()
21775{
21776remove ();
21777 ;
21778 return 0;
21779}
21780_ACEOF
21781rm -f conftest.$ac_objext conftest$ac_exeext
21782if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21783 (eval $ac_link) 2>&5
21784 ac_status=$?
21785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21786 (exit $ac_status); } &&
21787 { ac_try='test -s conftest$ac_exeext'
21788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21789 (eval $ac_try) 2>&5
21790 ac_status=$?
21791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21792 (exit $ac_status); }; }; then
21793 ac_cv_lib_posix_remove=yes
21794else
21795 echo "$as_me: failed program was:" >&5
21796sed 's/^/| /' conftest.$ac_ext >&5
21797
21798ac_cv_lib_posix_remove=no
21799fi
21800rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21801LIBS=$ac_check_lib_save_LIBS
21802fi
21803echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
21804echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
21805if test $ac_cv_lib_posix_remove = yes; then
21806 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
21807fi
21808
21809 fi
21810
21811 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
21812 echo "$as_me:$LINENO: checking for shmat" >&5
21813echo $ECHO_N "checking for shmat... $ECHO_C" >&6
21814if test "${ac_cv_func_shmat+set}" = set; then
21815 echo $ECHO_N "(cached) $ECHO_C" >&6
21816else
21817 cat >conftest.$ac_ext <<_ACEOF
21818#line $LINENO "configure"
21819/* confdefs.h. */
21820_ACEOF
21821cat confdefs.h >>conftest.$ac_ext
21822cat >>conftest.$ac_ext <<_ACEOF
21823/* end confdefs.h. */
21824/* System header to define __stub macros and hopefully few prototypes,
21825 which can conflict with char shmat (); below.
21826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21827 <limits.h> exists even on freestanding compilers. */
21828#ifdef __STDC__
21829# include <limits.h>
21830#else
21831# include <assert.h>
21832#endif
21833/* Override any gcc2 internal prototype to avoid an error. */
21834#ifdef __cplusplus
21835extern "C"
21836{
21837#endif
21838/* We use char because int might match the return type of a gcc2
21839 builtin and then its argument prototype would still apply. */
21840char shmat ();
21841/* The GNU C library defines this for functions which it implements
21842 to always fail with ENOSYS. Some functions are actually named
21843 something starting with __ and the normal name is an alias. */
21844#if defined (__stub_shmat) || defined (__stub___shmat)
21845choke me
21846#else
21847char (*f) () = shmat;
21848#endif
21849#ifdef __cplusplus
21850}
21851#endif
21852
21853int
21854main ()
21855{
21856return f != shmat;
21857 ;
21858 return 0;
21859}
21860_ACEOF
21861rm -f conftest.$ac_objext conftest$ac_exeext
21862if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21863 (eval $ac_link) 2>&5
21864 ac_status=$?
21865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21866 (exit $ac_status); } &&
21867 { ac_try='test -s conftest$ac_exeext'
21868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21869 (eval $ac_try) 2>&5
21870 ac_status=$?
21871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21872 (exit $ac_status); }; }; then
21873 ac_cv_func_shmat=yes
21874else
21875 echo "$as_me: failed program was:" >&5
21876sed 's/^/| /' conftest.$ac_ext >&5
21877
21878ac_cv_func_shmat=no
21879fi
21880rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21881fi
21882echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
21883echo "${ECHO_T}$ac_cv_func_shmat" >&6
21884
21885 if test $ac_cv_func_shmat = no; then
21886 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
21887echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
21888if test "${ac_cv_lib_ipc_shmat+set}" = set; then
21889 echo $ECHO_N "(cached) $ECHO_C" >&6
21890else
21891 ac_check_lib_save_LIBS=$LIBS
21892LIBS="-lipc $LIBS"
21893cat >conftest.$ac_ext <<_ACEOF
21894#line $LINENO "configure"
21895/* confdefs.h. */
21896_ACEOF
21897cat confdefs.h >>conftest.$ac_ext
21898cat >>conftest.$ac_ext <<_ACEOF
21899/* end confdefs.h. */
21900
21901/* Override any gcc2 internal prototype to avoid an error. */
21902#ifdef __cplusplus
21903extern "C"
21904#endif
21905/* We use char because int might match the return type of a gcc2
21906 builtin and then its argument prototype would still apply. */
21907char shmat ();
21908int
21909main ()
21910{
21911shmat ();
21912 ;
21913 return 0;
21914}
21915_ACEOF
21916rm -f conftest.$ac_objext conftest$ac_exeext
21917if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21918 (eval $ac_link) 2>&5
21919 ac_status=$?
21920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21921 (exit $ac_status); } &&
21922 { ac_try='test -s conftest$ac_exeext'
21923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21924 (eval $ac_try) 2>&5
21925 ac_status=$?
21926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21927 (exit $ac_status); }; }; then
21928 ac_cv_lib_ipc_shmat=yes
21929else
21930 echo "$as_me: failed program was:" >&5
21931sed 's/^/| /' conftest.$ac_ext >&5
21932
21933ac_cv_lib_ipc_shmat=no
21934fi
21935rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21936LIBS=$ac_check_lib_save_LIBS
21937fi
21938echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
21939echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
21940if test $ac_cv_lib_ipc_shmat = yes; then
21941 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
21942fi
21943
21944 fi
21945 fi
21946
21947 # Check for libraries that X11R6 Xt/Xaw programs need.
21948 ac_save_LDFLAGS=$LDFLAGS
21949 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
21950 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
21951 # check for ICE first), but we must link in the order -lSM -lICE or
21952 # we get undefined symbols. So assume we have SM if we have ICE.
21953 # These have to be linked with before -lX11, unlike the other
21954 # libraries we check for below, so use a different variable.
21955 # John Interrante, Karl Berry
21956 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
21957echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
21958if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
21959 echo $ECHO_N "(cached) $ECHO_C" >&6
21960else
21961 ac_check_lib_save_LIBS=$LIBS
21962LIBS="-lICE $X_EXTRA_LIBS $LIBS"
21963cat >conftest.$ac_ext <<_ACEOF
21964#line $LINENO "configure"
21965/* confdefs.h. */
21966_ACEOF
21967cat confdefs.h >>conftest.$ac_ext
21968cat >>conftest.$ac_ext <<_ACEOF
21969/* end confdefs.h. */
21970
21971/* Override any gcc2 internal prototype to avoid an error. */
21972#ifdef __cplusplus
21973extern "C"
21974#endif
21975/* We use char because int might match the return type of a gcc2
21976 builtin and then its argument prototype would still apply. */
21977char IceConnectionNumber ();
21978int
21979main ()
21980{
21981IceConnectionNumber ();
21982 ;
21983 return 0;
21984}
21985_ACEOF
21986rm -f conftest.$ac_objext conftest$ac_exeext
21987if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21988 (eval $ac_link) 2>&5
21989 ac_status=$?
21990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21991 (exit $ac_status); } &&
21992 { ac_try='test -s conftest$ac_exeext'
21993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21994 (eval $ac_try) 2>&5
21995 ac_status=$?
21996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21997 (exit $ac_status); }; }; then
21998 ac_cv_lib_ICE_IceConnectionNumber=yes
21999else
22000 echo "$as_me: failed program was:" >&5
22001sed 's/^/| /' conftest.$ac_ext >&5
22002
22003ac_cv_lib_ICE_IceConnectionNumber=no
22004fi
22005rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22006LIBS=$ac_check_lib_save_LIBS
22007fi
22008echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22009echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22010if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22011 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
22012fi
22013
22014 LDFLAGS=$ac_save_LDFLAGS
22015
22016fi
22017
22018
22019 if test "$no_x" = "yes"; then
22020 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22021echo "$as_me: error: X11 not found" >&2;}
22022 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
22023 fi
22024
22025 GUI_TK_LIBRARY="$X_LIBS"
22026 TOOLKIT_INCLUDE="$X_CFLAGS"
22027 AFMINSTALL=afminstall
22028 COMPILED_X_PROGRAM=0
22029
22030 if test "$wxUSE_NANOX" = "yes"; then
22031 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22032echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22033 if test "x$MICROWIN" = x ; then
22034 echo "$as_me:$LINENO: result: not found" >&5
22035echo "${ECHO_T}not found" >&6
22036 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22037echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22038 { (exit 1); exit 1; }; }
22039 else
22040 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22041echo "${ECHO_T}$MICROWIN" >&6
22042 cat >>confdefs.h <<\_ACEOF
22043#define wxUSE_NANOX 1
22044_ACEOF
22045
22046 fi
22047 fi
22048
22049 xpm_link=
22050 echo "$as_me:$LINENO: checking for Xpm library" >&5
22051echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22052
22053ac_find_libraries=
22054for ac_dir in $SEARCH_LIB /usr/lib;
22055 do
22056 for ac_extension in a so sl dylib; do
22057 if test -f "$ac_dir/libXpm.$ac_extension"; then
22058 ac_find_libraries=$ac_dir
22059 break 2
22060 fi
22061 done
22062 done
22063
22064 if test "$ac_find_libraries" != "" ; then
22065
22066 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
22067 result=$?
22068 if test $result = 0; then
22069 ac_path_to_link=""
22070 else
22071 ac_path_to_link=" -L$ac_find_libraries"
22072 fi
22073
22074 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
22075 xpm_link=" -lXpm"
22076 cat >>confdefs.h <<\_ACEOF
22077#define wxHAVE_LIB_XPM 1
22078_ACEOF
22079
22080 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22081echo "${ECHO_T}found at $ac_find_libraries" >&6
22082 else
22083 cat >conftest.$ac_ext <<_ACEOF
22084#line $LINENO "configure"
22085/* confdefs.h. */
22086_ACEOF
22087cat confdefs.h >>conftest.$ac_ext
22088cat >>conftest.$ac_ext <<_ACEOF
22089/* end confdefs.h. */
22090
22091 #include <X11/xpm.h>
22092
22093int
22094main ()
22095{
22096
22097 int version;
22098 version = XpmLibraryVersion();
22099
22100 ;
22101 return 0;
22102}
22103_ACEOF
22104rm -f conftest.$ac_objext
22105if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22106 (eval $ac_compile) 2>&5
22107 ac_status=$?
22108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22109 (exit $ac_status); } &&
22110 { ac_try='test -s conftest.$ac_objext'
22111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22112 (eval $ac_try) 2>&5
22113 ac_status=$?
22114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22115 (exit $ac_status); }; }; then
22116
22117 xpm_link=" -lXpm"
22118 cat >>confdefs.h <<\_ACEOF
22119#define wxHAVE_LIB_XPM 1
22120_ACEOF
22121
22122 echo "$as_me:$LINENO: result: found in default search path" >&5
22123echo "${ECHO_T}found in default search path" >&6
22124 COMPILED_X_PROGRAM=0
22125
22126else
22127 echo "$as_me: failed program was:" >&5
22128sed 's/^/| /' conftest.$ac_ext >&5
22129
22130
22131 echo "$as_me:$LINENO: result: no" >&5
22132echo "${ECHO_T}no" >&6
22133 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22134echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22135
22136
22137fi
22138rm -f conftest.$ac_objext conftest.$ac_ext
22139 fi
22140
22141 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22142echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22143if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22144 echo $ECHO_N "(cached) $ECHO_C" >&6
22145else
22146 ac_check_lib_save_LIBS=$LIBS
22147LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22148cat >conftest.$ac_ext <<_ACEOF
22149#line $LINENO "configure"
22150/* confdefs.h. */
22151_ACEOF
22152cat confdefs.h >>conftest.$ac_ext
22153cat >>conftest.$ac_ext <<_ACEOF
22154/* end confdefs.h. */
22155
22156/* Override any gcc2 internal prototype to avoid an error. */
22157#ifdef __cplusplus
22158extern "C"
22159#endif
22160/* We use char because int might match the return type of a gcc2
22161 builtin and then its argument prototype would still apply. */
22162char XShapeQueryExtension ();
22163int
22164main ()
22165{
22166XShapeQueryExtension ();
22167 ;
22168 return 0;
22169}
22170_ACEOF
22171rm -f conftest.$ac_objext conftest$ac_exeext
22172if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22173 (eval $ac_link) 2>&5
22174 ac_status=$?
22175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22176 (exit $ac_status); } &&
22177 { ac_try='test -s conftest$ac_exeext'
22178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22179 (eval $ac_try) 2>&5
22180 ac_status=$?
22181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22182 (exit $ac_status); }; }; then
22183 ac_cv_lib_Xext_XShapeQueryExtension=yes
22184else
22185 echo "$as_me: failed program was:" >&5
22186sed 's/^/| /' conftest.$ac_ext >&5
22187
22188ac_cv_lib_Xext_XShapeQueryExtension=no
22189fi
22190rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22191LIBS=$ac_check_lib_save_LIBS
22192fi
22193echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22194echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22195if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22196
22197 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
22198 wxHAVE_XEXT_LIB=1
22199
22200fi
22201
22202
22203 if test "$wxUSE_UNICODE" = "yes"; then
22204
22205 succeeded=no
22206
22207 if test -z "$PKG_CONFIG"; then
22208 # Extract the first word of "pkg-config", so it can be a program name with args.
22209set dummy pkg-config; ac_word=$2
22210echo "$as_me:$LINENO: checking for $ac_word" >&5
22211echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22212if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22213 echo $ECHO_N "(cached) $ECHO_C" >&6
22214else
22215 case $PKG_CONFIG in
22216 [\\/]* | ?:[\\/]*)
22217 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22218 ;;
22219 *)
22220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22221for as_dir in $PATH
22222do
22223 IFS=$as_save_IFS
22224 test -z "$as_dir" && as_dir=.
22225 for ac_exec_ext in '' $ac_executable_extensions; do
22226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22227 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22229 break 2
22230 fi
22231done
22232done
22233
22234 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22235 ;;
22236esac
22237fi
22238PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22239
22240if test -n "$PKG_CONFIG"; then
22241 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22242echo "${ECHO_T}$PKG_CONFIG" >&6
22243else
22244 echo "$as_me:$LINENO: result: no" >&5
22245echo "${ECHO_T}no" >&6
22246fi
22247
22248 fi
22249
22250 if test "$PKG_CONFIG" = "no" ; then
22251 echo "*** The pkg-config script could not be found. Make sure it is"
22252 echo "*** in your path, or set the PKG_CONFIG environment variable"
22253 echo "*** to the full path to pkg-config."
22254 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22255 else
22256 PKG_CONFIG_MIN_VERSION=0.9.0
22257 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22258 echo "$as_me:$LINENO: checking for pangox" >&5
22259echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22260
22261 if $PKG_CONFIG --exists "pangox" ; then
22262 echo "$as_me:$LINENO: result: yes" >&5
22263echo "${ECHO_T}yes" >&6
22264 succeeded=yes
22265
22266 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22267echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22268 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
22269 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22270echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22271
22272 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22273echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22274 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
22275 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22276echo "${ECHO_T}$PANGOX_LIBS" >&6
22277 else
22278 PANGOX_CFLAGS=""
22279 PANGOX_LIBS=""
22280 ## If we have a custom action on failure, don't print errors, but
22281 ## do set a variable so people can do so.
22282 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22283
22284 fi
22285
22286
22287
22288 else
22289 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22290 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22291 fi
22292 fi
22293
22294 if test $succeeded = yes; then
22295
22296 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
22297 LIBS="$LIBS $PANGOX_LIBS"
22298
22299 else
22300
22301 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22302echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22303 { (exit 1); exit 1; }; }
22304
22305
22306 fi
22307
22308
22309 succeeded=no
22310
22311 if test -z "$PKG_CONFIG"; then
22312 # Extract the first word of "pkg-config", so it can be a program name with args.
22313set dummy pkg-config; ac_word=$2
22314echo "$as_me:$LINENO: checking for $ac_word" >&5
22315echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22316if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22317 echo $ECHO_N "(cached) $ECHO_C" >&6
22318else
22319 case $PKG_CONFIG in
22320 [\\/]* | ?:[\\/]*)
22321 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22322 ;;
22323 *)
22324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22325for as_dir in $PATH
22326do
22327 IFS=$as_save_IFS
22328 test -z "$as_dir" && as_dir=.
22329 for ac_exec_ext in '' $ac_executable_extensions; do
22330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22331 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22333 break 2
22334 fi
22335done
22336done
22337
22338 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22339 ;;
22340esac
22341fi
22342PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22343
22344if test -n "$PKG_CONFIG"; then
22345 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22346echo "${ECHO_T}$PKG_CONFIG" >&6
22347else
22348 echo "$as_me:$LINENO: result: no" >&5
22349echo "${ECHO_T}no" >&6
22350fi
22351
22352 fi
22353
22354 if test "$PKG_CONFIG" = "no" ; then
22355 echo "*** The pkg-config script could not be found. Make sure it is"
22356 echo "*** in your path, or set the PKG_CONFIG environment variable"
22357 echo "*** to the full path to pkg-config."
22358 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22359 else
22360 PKG_CONFIG_MIN_VERSION=0.9.0
22361 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22362 echo "$as_me:$LINENO: checking for pangoft2" >&5
22363echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22364
22365 if $PKG_CONFIG --exists "pangoft2" ; then
22366 echo "$as_me:$LINENO: result: yes" >&5
22367echo "${ECHO_T}yes" >&6
22368 succeeded=yes
22369
22370 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22371echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22372 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22373 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22374echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22375
22376 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22377echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22378 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22379 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22380echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22381 else
22382 PANGOFT2_CFLAGS=""
22383 PANGOFT2_LIBS=""
22384 ## If we have a custom action on failure, don't print errors, but
22385 ## do set a variable so people can do so.
22386 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22387
22388 fi
22389
22390
22391
22392 else
22393 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22394 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22395 fi
22396 fi
22397
22398 if test $succeeded = yes; then
22399
22400 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22401 LIBS="$LIBS $PANGOFT2_LIBS"
22402
22403 else
22404
22405 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22406echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22407 wxUSE_PRINTING_ARCHITECTURE="no"
22408
22409
22410 fi
22411
22412
22413 succeeded=no
22414
22415 if test -z "$PKG_CONFIG"; then
22416 # Extract the first word of "pkg-config", so it can be a program name with args.
22417set dummy pkg-config; ac_word=$2
22418echo "$as_me:$LINENO: checking for $ac_word" >&5
22419echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22420if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22421 echo $ECHO_N "(cached) $ECHO_C" >&6
22422else
22423 case $PKG_CONFIG in
22424 [\\/]* | ?:[\\/]*)
22425 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22426 ;;
22427 *)
22428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22429for as_dir in $PATH
22430do
22431 IFS=$as_save_IFS
22432 test -z "$as_dir" && as_dir=.
22433 for ac_exec_ext in '' $ac_executable_extensions; do
22434 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22435 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22437 break 2
22438 fi
22439done
22440done
22441
22442 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22443 ;;
22444esac
22445fi
22446PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22447
22448if test -n "$PKG_CONFIG"; then
22449 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22450echo "${ECHO_T}$PKG_CONFIG" >&6
22451else
22452 echo "$as_me:$LINENO: result: no" >&5
22453echo "${ECHO_T}no" >&6
22454fi
22455
22456 fi
22457
22458 if test "$PKG_CONFIG" = "no" ; then
22459 echo "*** The pkg-config script could not be found. Make sure it is"
22460 echo "*** in your path, or set the PKG_CONFIG environment variable"
22461 echo "*** to the full path to pkg-config."
22462 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22463 else
22464 PKG_CONFIG_MIN_VERSION=0.9.0
22465 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22466 echo "$as_me:$LINENO: checking for pangoxft" >&5
22467echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22468
22469 if $PKG_CONFIG --exists "pangoxft" ; then
22470 echo "$as_me:$LINENO: result: yes" >&5
22471echo "${ECHO_T}yes" >&6
22472 succeeded=yes
22473
22474 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22475echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22476 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
22477 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22478echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22479
22480 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22481echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22482 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
22483 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22484echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22485 else
22486 PANGOXFT_CFLAGS=""
22487 PANGOXFT_LIBS=""
22488 ## If we have a custom action on failure, don't print errors, but
22489 ## do set a variable so people can do so.
22490 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22491
22492 fi
22493
22494
22495
22496 else
22497 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22498 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22499 fi
22500 fi
22501
22502 if test $succeeded = yes; then
22503
22504 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
22505 LIBS="$LIBS $PANGOXFT_LIBS"
22506
22507 else
22508
22509 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22510echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22511
22512
22513 fi
22514
22515 fi
22516
22517 wxUSE_UNIVERSAL="yes"
22518
22519 if test "$wxUSE_NANOX" = "yes"; then
22520 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22521 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"
22522 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22523 else
22524 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link"
22525 fi
22526
22527 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
22528 TOOLKIT=X11
22529 GUIDIST=X11_DIST
22530 fi
22531
22532 if test "$wxUSE_MOTIF" = 1; then
22533 if test "$no_x" = yes; then
22534 # Not all programs may use this symbol, but it does not hurt to define it.
22535
22536cat >>confdefs.h <<\_ACEOF
22537#define X_DISPLAY_MISSING 1
22538_ACEOF
22539
22540 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22541else
22542 if test -n "$x_includes"; then
22543 X_CFLAGS="$X_CFLAGS -I$x_includes"
22544 fi
22545
22546 # It would also be nice to do this for all -L options, not just this one.
22547 if test -n "$x_libraries"; then
22548 X_LIBS="$X_LIBS -L$x_libraries"
22549 # For Solaris; some versions of Sun CC require a space after -R and
22550 # others require no space. Words are not sufficient . . . .
22551 case `(uname -sr) 2>/dev/null` in
22552 "SunOS 5"*)
22553 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22554echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22555 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22556 cat >conftest.$ac_ext <<_ACEOF
22557#line $LINENO "configure"
22558/* confdefs.h. */
22559_ACEOF
22560cat confdefs.h >>conftest.$ac_ext
22561cat >>conftest.$ac_ext <<_ACEOF
22562/* end confdefs.h. */
22563
22564int
22565main ()
22566{
22567
22568 ;
22569 return 0;
22570}
22571_ACEOF
22572rm -f conftest.$ac_objext conftest$ac_exeext
22573if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22574 (eval $ac_link) 2>&5
22575 ac_status=$?
22576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577 (exit $ac_status); } &&
22578 { ac_try='test -s conftest$ac_exeext'
22579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22580 (eval $ac_try) 2>&5
22581 ac_status=$?
22582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22583 (exit $ac_status); }; }; then
22584 ac_R_nospace=yes
22585else
22586 echo "$as_me: failed program was:" >&5
22587sed 's/^/| /' conftest.$ac_ext >&5
22588
22589ac_R_nospace=no
22590fi
22591rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22592 if test $ac_R_nospace = yes; then
22593 echo "$as_me:$LINENO: result: no" >&5
22594echo "${ECHO_T}no" >&6
22595 X_LIBS="$X_LIBS -R$x_libraries"
22596 else
22597 LIBS="$ac_xsave_LIBS -R $x_libraries"
22598 cat >conftest.$ac_ext <<_ACEOF
22599#line $LINENO "configure"
22600/* confdefs.h. */
22601_ACEOF
22602cat confdefs.h >>conftest.$ac_ext
22603cat >>conftest.$ac_ext <<_ACEOF
22604/* end confdefs.h. */
22605
22606int
22607main ()
22608{
22609
22610 ;
22611 return 0;
22612}
22613_ACEOF
22614rm -f conftest.$ac_objext conftest$ac_exeext
22615if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22616 (eval $ac_link) 2>&5
22617 ac_status=$?
22618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22619 (exit $ac_status); } &&
22620 { ac_try='test -s conftest$ac_exeext'
22621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22622 (eval $ac_try) 2>&5
22623 ac_status=$?
22624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22625 (exit $ac_status); }; }; then
22626 ac_R_space=yes
22627else
22628 echo "$as_me: failed program was:" >&5
22629sed 's/^/| /' conftest.$ac_ext >&5
22630
22631ac_R_space=no
22632fi
22633rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22634 if test $ac_R_space = yes; then
22635 echo "$as_me:$LINENO: result: yes" >&5
22636echo "${ECHO_T}yes" >&6
22637 X_LIBS="$X_LIBS -R $x_libraries"
22638 else
22639 echo "$as_me:$LINENO: result: neither works" >&5
22640echo "${ECHO_T}neither works" >&6
22641 fi
22642 fi
22643 LIBS=$ac_xsave_LIBS
22644 esac
22645 fi
22646
22647 # Check for system-dependent libraries X programs must link with.
22648 # Do this before checking for the system-independent R6 libraries
22649 # (-lICE), since we may need -lsocket or whatever for X linking.
22650
22651 if test "$ISC" = yes; then
22652 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
22653 else
22654 # Martyn Johnson says this is needed for Ultrix, if the X
22655 # libraries were built with DECnet support. And Karl Berry says
22656 # the Alpha needs dnet_stub (dnet does not exist).
22657 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
22658 cat >conftest.$ac_ext <<_ACEOF
22659#line $LINENO "configure"
22660/* confdefs.h. */
22661_ACEOF
22662cat confdefs.h >>conftest.$ac_ext
22663cat >>conftest.$ac_ext <<_ACEOF
22664/* end confdefs.h. */
22665
22666/* Override any gcc2 internal prototype to avoid an error. */
22667#ifdef __cplusplus
22668extern "C"
22669#endif
22670/* We use char because int might match the return type of a gcc2
22671 builtin and then its argument prototype would still apply. */
22672char XOpenDisplay ();
22673int
22674main ()
22675{
22676XOpenDisplay ();
22677 ;
22678 return 0;
22679}
22680_ACEOF
22681rm -f conftest.$ac_objext conftest$ac_exeext
22682if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22683 (eval $ac_link) 2>&5
22684 ac_status=$?
22685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22686 (exit $ac_status); } &&
22687 { ac_try='test -s conftest$ac_exeext'
22688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22689 (eval $ac_try) 2>&5
22690 ac_status=$?
22691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22692 (exit $ac_status); }; }; then
22693 :
22694else
22695 echo "$as_me: failed program was:" >&5
22696sed 's/^/| /' conftest.$ac_ext >&5
22697
22698echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22699echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22700if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22701 echo $ECHO_N "(cached) $ECHO_C" >&6
22702else
22703 ac_check_lib_save_LIBS=$LIBS
22704LIBS="-ldnet $LIBS"
22705cat >conftest.$ac_ext <<_ACEOF
22706#line $LINENO "configure"
22707/* confdefs.h. */
22708_ACEOF
22709cat confdefs.h >>conftest.$ac_ext
22710cat >>conftest.$ac_ext <<_ACEOF
22711/* end confdefs.h. */
22712
22713/* Override any gcc2 internal prototype to avoid an error. */
22714#ifdef __cplusplus
22715extern "C"
22716#endif
22717/* We use char because int might match the return type of a gcc2
22718 builtin and then its argument prototype would still apply. */
22719char dnet_ntoa ();
22720int
22721main ()
22722{
22723dnet_ntoa ();
22724 ;
22725 return 0;
22726}
22727_ACEOF
22728rm -f conftest.$ac_objext conftest$ac_exeext
22729if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22730 (eval $ac_link) 2>&5
22731 ac_status=$?
22732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22733 (exit $ac_status); } &&
22734 { ac_try='test -s conftest$ac_exeext'
22735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22736 (eval $ac_try) 2>&5
22737 ac_status=$?
22738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22739 (exit $ac_status); }; }; then
22740 ac_cv_lib_dnet_dnet_ntoa=yes
22741else
22742 echo "$as_me: failed program was:" >&5
22743sed 's/^/| /' conftest.$ac_ext >&5
22744
22745ac_cv_lib_dnet_dnet_ntoa=no
22746fi
22747rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22748LIBS=$ac_check_lib_save_LIBS
22749fi
22750echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22751echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22752if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22753 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
22754fi
22755
22756 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
22757 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22758echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
22759if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22760 echo $ECHO_N "(cached) $ECHO_C" >&6
22761else
22762 ac_check_lib_save_LIBS=$LIBS
22763LIBS="-ldnet_stub $LIBS"
22764cat >conftest.$ac_ext <<_ACEOF
22765#line $LINENO "configure"
22766/* confdefs.h. */
22767_ACEOF
22768cat confdefs.h >>conftest.$ac_ext
22769cat >>conftest.$ac_ext <<_ACEOF
22770/* end confdefs.h. */
22771
22772/* Override any gcc2 internal prototype to avoid an error. */
22773#ifdef __cplusplus
22774extern "C"
22775#endif
22776/* We use char because int might match the return type of a gcc2
22777 builtin and then its argument prototype would still apply. */
22778char dnet_ntoa ();
22779int
22780main ()
22781{
22782dnet_ntoa ();
22783 ;
22784 return 0;
22785}
22786_ACEOF
22787rm -f conftest.$ac_objext conftest$ac_exeext
22788if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22789 (eval $ac_link) 2>&5
22790 ac_status=$?
22791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22792 (exit $ac_status); } &&
22793 { ac_try='test -s conftest$ac_exeext'
22794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22795 (eval $ac_try) 2>&5
22796 ac_status=$?
22797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22798 (exit $ac_status); }; }; then
22799 ac_cv_lib_dnet_stub_dnet_ntoa=yes
22800else
22801 echo "$as_me: failed program was:" >&5
22802sed 's/^/| /' conftest.$ac_ext >&5
22803
22804ac_cv_lib_dnet_stub_dnet_ntoa=no
22805fi
22806rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22807LIBS=$ac_check_lib_save_LIBS
22808fi
22809echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22810echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
22811if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
22812 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
22813fi
22814
22815 fi
22816fi
22817rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22818 LIBS="$ac_xsave_LIBS"
22819
22820 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22821 # to get the SysV transport functions.
22822 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22823 # needs -lnsl.
22824 # The nsl library prevents programs from opening the X display
22825 # on Irix 5.2, according to T.E. Dickey.
22826 # The functions gethostbyname, getservbyname, and inet_addr are
22827 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22828 echo "$as_me:$LINENO: checking for gethostbyname" >&5
22829echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
22830if test "${ac_cv_func_gethostbyname+set}" = set; then
22831 echo $ECHO_N "(cached) $ECHO_C" >&6
22832else
22833 cat >conftest.$ac_ext <<_ACEOF
22834#line $LINENO "configure"
22835/* confdefs.h. */
22836_ACEOF
22837cat confdefs.h >>conftest.$ac_ext
22838cat >>conftest.$ac_ext <<_ACEOF
22839/* end confdefs.h. */
22840/* System header to define __stub macros and hopefully few prototypes,
22841 which can conflict with char gethostbyname (); below.
22842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22843 <limits.h> exists even on freestanding compilers. */
22844#ifdef __STDC__
22845# include <limits.h>
22846#else
22847# include <assert.h>
22848#endif
22849/* Override any gcc2 internal prototype to avoid an error. */
22850#ifdef __cplusplus
22851extern "C"
22852{
22853#endif
22854/* We use char because int might match the return type of a gcc2
22855 builtin and then its argument prototype would still apply. */
22856char gethostbyname ();
22857/* The GNU C library defines this for functions which it implements
22858 to always fail with ENOSYS. Some functions are actually named
22859 something starting with __ and the normal name is an alias. */
22860#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
22861choke me
22862#else
22863char (*f) () = gethostbyname;
22864#endif
22865#ifdef __cplusplus
22866}
22867#endif
22868
22869int
22870main ()
22871{
22872return f != gethostbyname;
22873 ;
22874 return 0;
22875}
22876_ACEOF
22877rm -f conftest.$ac_objext conftest$ac_exeext
22878if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22879 (eval $ac_link) 2>&5
22880 ac_status=$?
22881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22882 (exit $ac_status); } &&
22883 { ac_try='test -s conftest$ac_exeext'
22884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22885 (eval $ac_try) 2>&5
22886 ac_status=$?
22887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22888 (exit $ac_status); }; }; then
22889 ac_cv_func_gethostbyname=yes
22890else
22891 echo "$as_me: failed program was:" >&5
22892sed 's/^/| /' conftest.$ac_ext >&5
22893
22894ac_cv_func_gethostbyname=no
22895fi
22896rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22897fi
22898echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22899echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
22900
22901 if test $ac_cv_func_gethostbyname = no; then
22902 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22903echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
22904if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22905 echo $ECHO_N "(cached) $ECHO_C" >&6
22906else
22907 ac_check_lib_save_LIBS=$LIBS
22908LIBS="-lnsl $LIBS"
22909cat >conftest.$ac_ext <<_ACEOF
22910#line $LINENO "configure"
22911/* confdefs.h. */
22912_ACEOF
22913cat confdefs.h >>conftest.$ac_ext
22914cat >>conftest.$ac_ext <<_ACEOF
22915/* end confdefs.h. */
22916
22917/* Override any gcc2 internal prototype to avoid an error. */
22918#ifdef __cplusplus
22919extern "C"
22920#endif
22921/* We use char because int might match the return type of a gcc2
22922 builtin and then its argument prototype would still apply. */
22923char gethostbyname ();
22924int
22925main ()
22926{
22927gethostbyname ();
22928 ;
22929 return 0;
22930}
22931_ACEOF
22932rm -f conftest.$ac_objext conftest$ac_exeext
22933if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22934 (eval $ac_link) 2>&5
22935 ac_status=$?
22936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22937 (exit $ac_status); } &&
22938 { ac_try='test -s conftest$ac_exeext'
22939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22940 (eval $ac_try) 2>&5
22941 ac_status=$?
22942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943 (exit $ac_status); }; }; then
22944 ac_cv_lib_nsl_gethostbyname=yes
22945else
22946 echo "$as_me: failed program was:" >&5
22947sed 's/^/| /' conftest.$ac_ext >&5
22948
22949ac_cv_lib_nsl_gethostbyname=no
22950fi
22951rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22952LIBS=$ac_check_lib_save_LIBS
22953fi
22954echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22955echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
22956if test $ac_cv_lib_nsl_gethostbyname = yes; then
22957 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
22958fi
22959
22960 if test $ac_cv_lib_nsl_gethostbyname = no; then
22961 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22962echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
22963if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22964 echo $ECHO_N "(cached) $ECHO_C" >&6
22965else
22966 ac_check_lib_save_LIBS=$LIBS
22967LIBS="-lbsd $LIBS"
22968cat >conftest.$ac_ext <<_ACEOF
22969#line $LINENO "configure"
22970/* confdefs.h. */
22971_ACEOF
22972cat confdefs.h >>conftest.$ac_ext
22973cat >>conftest.$ac_ext <<_ACEOF
22974/* end confdefs.h. */
22975
22976/* Override any gcc2 internal prototype to avoid an error. */
22977#ifdef __cplusplus
22978extern "C"
22979#endif
22980/* We use char because int might match the return type of a gcc2
22981 builtin and then its argument prototype would still apply. */
22982char gethostbyname ();
22983int
22984main ()
22985{
22986gethostbyname ();
22987 ;
22988 return 0;
22989}
22990_ACEOF
22991rm -f conftest.$ac_objext conftest$ac_exeext
22992if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22993 (eval $ac_link) 2>&5
22994 ac_status=$?
22995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22996 (exit $ac_status); } &&
22997 { ac_try='test -s conftest$ac_exeext'
22998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22999 (eval $ac_try) 2>&5
23000 ac_status=$?
23001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23002 (exit $ac_status); }; }; then
23003 ac_cv_lib_bsd_gethostbyname=yes
23004else
23005 echo "$as_me: failed program was:" >&5
23006sed 's/^/| /' conftest.$ac_ext >&5
23007
23008ac_cv_lib_bsd_gethostbyname=no
23009fi
23010rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23011LIBS=$ac_check_lib_save_LIBS
23012fi
23013echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23014echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23015if test $ac_cv_lib_bsd_gethostbyname = yes; then
23016 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23017fi
23018
23019 fi
23020 fi
23021
23022 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23023 # socket/setsockopt and other routines are undefined under SCO ODT
23024 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23025 # on later versions), says Simon Leinen: it contains gethostby*
23026 # variants that don't use the name server (or something). -lsocket
23027 # must be given before -lnsl if both are needed. We assume that
23028 # if connect needs -lnsl, so does gethostbyname.
23029 echo "$as_me:$LINENO: checking for connect" >&5
23030echo $ECHO_N "checking for connect... $ECHO_C" >&6
23031if test "${ac_cv_func_connect+set}" = set; then
23032 echo $ECHO_N "(cached) $ECHO_C" >&6
23033else
23034 cat >conftest.$ac_ext <<_ACEOF
23035#line $LINENO "configure"
23036/* confdefs.h. */
23037_ACEOF
23038cat confdefs.h >>conftest.$ac_ext
23039cat >>conftest.$ac_ext <<_ACEOF
23040/* end confdefs.h. */
23041/* System header to define __stub macros and hopefully few prototypes,
23042 which can conflict with char connect (); below.
23043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23044 <limits.h> exists even on freestanding compilers. */
23045#ifdef __STDC__
23046# include <limits.h>
23047#else
23048# include <assert.h>
23049#endif
23050/* Override any gcc2 internal prototype to avoid an error. */
23051#ifdef __cplusplus
23052extern "C"
23053{
23054#endif
23055/* We use char because int might match the return type of a gcc2
23056 builtin and then its argument prototype would still apply. */
23057char connect ();
23058/* The GNU C library defines this for functions which it implements
23059 to always fail with ENOSYS. Some functions are actually named
23060 something starting with __ and the normal name is an alias. */
23061#if defined (__stub_connect) || defined (__stub___connect)
23062choke me
23063#else
23064char (*f) () = connect;
23065#endif
23066#ifdef __cplusplus
23067}
23068#endif
23069
23070int
23071main ()
23072{
23073return f != connect;
23074 ;
23075 return 0;
23076}
23077_ACEOF
23078rm -f conftest.$ac_objext conftest$ac_exeext
23079if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23080 (eval $ac_link) 2>&5
23081 ac_status=$?
23082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23083 (exit $ac_status); } &&
23084 { ac_try='test -s conftest$ac_exeext'
23085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23086 (eval $ac_try) 2>&5
23087 ac_status=$?
23088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23089 (exit $ac_status); }; }; then
23090 ac_cv_func_connect=yes
23091else
23092 echo "$as_me: failed program was:" >&5
23093sed 's/^/| /' conftest.$ac_ext >&5
23094
23095ac_cv_func_connect=no
23096fi
23097rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23098fi
23099echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23100echo "${ECHO_T}$ac_cv_func_connect" >&6
23101
23102 if test $ac_cv_func_connect = no; then
23103 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23104echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23105if test "${ac_cv_lib_socket_connect+set}" = set; then
23106 echo $ECHO_N "(cached) $ECHO_C" >&6
23107else
23108 ac_check_lib_save_LIBS=$LIBS
23109LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23110cat >conftest.$ac_ext <<_ACEOF
23111#line $LINENO "configure"
23112/* confdefs.h. */
23113_ACEOF
23114cat confdefs.h >>conftest.$ac_ext
23115cat >>conftest.$ac_ext <<_ACEOF
23116/* end confdefs.h. */
23117
23118/* Override any gcc2 internal prototype to avoid an error. */
23119#ifdef __cplusplus
23120extern "C"
23121#endif
23122/* We use char because int might match the return type of a gcc2
23123 builtin and then its argument prototype would still apply. */
23124char connect ();
23125int
23126main ()
23127{
23128connect ();
23129 ;
23130 return 0;
23131}
23132_ACEOF
23133rm -f conftest.$ac_objext conftest$ac_exeext
23134if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23135 (eval $ac_link) 2>&5
23136 ac_status=$?
23137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23138 (exit $ac_status); } &&
23139 { ac_try='test -s conftest$ac_exeext'
23140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23141 (eval $ac_try) 2>&5
23142 ac_status=$?
23143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23144 (exit $ac_status); }; }; then
23145 ac_cv_lib_socket_connect=yes
23146else
23147 echo "$as_me: failed program was:" >&5
23148sed 's/^/| /' conftest.$ac_ext >&5
23149
23150ac_cv_lib_socket_connect=no
23151fi
23152rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23153LIBS=$ac_check_lib_save_LIBS
23154fi
23155echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23156echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23157if test $ac_cv_lib_socket_connect = yes; then
23158 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23159fi
23160
23161 fi
23162
23163 # Guillermo Gomez says -lposix is necessary on A/UX.
23164 echo "$as_me:$LINENO: checking for remove" >&5
23165echo $ECHO_N "checking for remove... $ECHO_C" >&6
23166if test "${ac_cv_func_remove+set}" = set; then
23167 echo $ECHO_N "(cached) $ECHO_C" >&6
23168else
23169 cat >conftest.$ac_ext <<_ACEOF
23170#line $LINENO "configure"
23171/* confdefs.h. */
23172_ACEOF
23173cat confdefs.h >>conftest.$ac_ext
23174cat >>conftest.$ac_ext <<_ACEOF
23175/* end confdefs.h. */
23176/* System header to define __stub macros and hopefully few prototypes,
23177 which can conflict with char remove (); below.
23178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23179 <limits.h> exists even on freestanding compilers. */
23180#ifdef __STDC__
23181# include <limits.h>
23182#else
23183# include <assert.h>
23184#endif
23185/* Override any gcc2 internal prototype to avoid an error. */
23186#ifdef __cplusplus
23187extern "C"
23188{
23189#endif
23190/* We use char because int might match the return type of a gcc2
23191 builtin and then its argument prototype would still apply. */
23192char remove ();
23193/* The GNU C library defines this for functions which it implements
23194 to always fail with ENOSYS. Some functions are actually named
23195 something starting with __ and the normal name is an alias. */
23196#if defined (__stub_remove) || defined (__stub___remove)
23197choke me
23198#else
23199char (*f) () = remove;
23200#endif
23201#ifdef __cplusplus
23202}
23203#endif
23204
23205int
23206main ()
23207{
23208return f != remove;
23209 ;
23210 return 0;
23211}
23212_ACEOF
23213rm -f conftest.$ac_objext conftest$ac_exeext
23214if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23215 (eval $ac_link) 2>&5
23216 ac_status=$?
23217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23218 (exit $ac_status); } &&
23219 { ac_try='test -s conftest$ac_exeext'
23220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23221 (eval $ac_try) 2>&5
23222 ac_status=$?
23223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23224 (exit $ac_status); }; }; then
23225 ac_cv_func_remove=yes
23226else
23227 echo "$as_me: failed program was:" >&5
23228sed 's/^/| /' conftest.$ac_ext >&5
23229
23230ac_cv_func_remove=no
23231fi
23232rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23233fi
23234echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23235echo "${ECHO_T}$ac_cv_func_remove" >&6
23236
23237 if test $ac_cv_func_remove = no; then
23238 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23239echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23240if test "${ac_cv_lib_posix_remove+set}" = set; then
23241 echo $ECHO_N "(cached) $ECHO_C" >&6
23242else
23243 ac_check_lib_save_LIBS=$LIBS
23244LIBS="-lposix $LIBS"
23245cat >conftest.$ac_ext <<_ACEOF
23246#line $LINENO "configure"
23247/* confdefs.h. */
23248_ACEOF
23249cat confdefs.h >>conftest.$ac_ext
23250cat >>conftest.$ac_ext <<_ACEOF
23251/* end confdefs.h. */
23252
23253/* Override any gcc2 internal prototype to avoid an error. */
23254#ifdef __cplusplus
23255extern "C"
23256#endif
23257/* We use char because int might match the return type of a gcc2
23258 builtin and then its argument prototype would still apply. */
23259char remove ();
23260int
23261main ()
23262{
23263remove ();
23264 ;
23265 return 0;
23266}
23267_ACEOF
23268rm -f conftest.$ac_objext conftest$ac_exeext
23269if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23270 (eval $ac_link) 2>&5
23271 ac_status=$?
23272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23273 (exit $ac_status); } &&
23274 { ac_try='test -s conftest$ac_exeext'
23275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23276 (eval $ac_try) 2>&5
23277 ac_status=$?
23278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23279 (exit $ac_status); }; }; then
23280 ac_cv_lib_posix_remove=yes
23281else
23282 echo "$as_me: failed program was:" >&5
23283sed 's/^/| /' conftest.$ac_ext >&5
23284
23285ac_cv_lib_posix_remove=no
23286fi
23287rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23288LIBS=$ac_check_lib_save_LIBS
23289fi
23290echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23291echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23292if test $ac_cv_lib_posix_remove = yes; then
23293 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23294fi
23295
23296 fi
23297
23298 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23299 echo "$as_me:$LINENO: checking for shmat" >&5
23300echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23301if test "${ac_cv_func_shmat+set}" = set; then
23302 echo $ECHO_N "(cached) $ECHO_C" >&6
23303else
23304 cat >conftest.$ac_ext <<_ACEOF
23305#line $LINENO "configure"
23306/* confdefs.h. */
23307_ACEOF
23308cat confdefs.h >>conftest.$ac_ext
23309cat >>conftest.$ac_ext <<_ACEOF
23310/* end confdefs.h. */
23311/* System header to define __stub macros and hopefully few prototypes,
23312 which can conflict with char shmat (); below.
23313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23314 <limits.h> exists even on freestanding compilers. */
23315#ifdef __STDC__
23316# include <limits.h>
23317#else
23318# include <assert.h>
23319#endif
23320/* Override any gcc2 internal prototype to avoid an error. */
23321#ifdef __cplusplus
23322extern "C"
23323{
23324#endif
23325/* We use char because int might match the return type of a gcc2
23326 builtin and then its argument prototype would still apply. */
23327char shmat ();
23328/* The GNU C library defines this for functions which it implements
23329 to always fail with ENOSYS. Some functions are actually named
23330 something starting with __ and the normal name is an alias. */
23331#if defined (__stub_shmat) || defined (__stub___shmat)
23332choke me
23333#else
23334char (*f) () = shmat;
23335#endif
23336#ifdef __cplusplus
23337}
23338#endif
23339
23340int
23341main ()
23342{
23343return f != shmat;
23344 ;
23345 return 0;
23346}
23347_ACEOF
23348rm -f conftest.$ac_objext conftest$ac_exeext
23349if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23350 (eval $ac_link) 2>&5
23351 ac_status=$?
23352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23353 (exit $ac_status); } &&
23354 { ac_try='test -s conftest$ac_exeext'
23355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23356 (eval $ac_try) 2>&5
23357 ac_status=$?
23358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23359 (exit $ac_status); }; }; then
23360 ac_cv_func_shmat=yes
23361else
23362 echo "$as_me: failed program was:" >&5
23363sed 's/^/| /' conftest.$ac_ext >&5
23364
23365ac_cv_func_shmat=no
23366fi
23367rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23368fi
23369echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23370echo "${ECHO_T}$ac_cv_func_shmat" >&6
23371
23372 if test $ac_cv_func_shmat = no; then
23373 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23374echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23375if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23376 echo $ECHO_N "(cached) $ECHO_C" >&6
23377else
23378 ac_check_lib_save_LIBS=$LIBS
23379LIBS="-lipc $LIBS"
23380cat >conftest.$ac_ext <<_ACEOF
23381#line $LINENO "configure"
23382/* confdefs.h. */
23383_ACEOF
23384cat confdefs.h >>conftest.$ac_ext
23385cat >>conftest.$ac_ext <<_ACEOF
23386/* end confdefs.h. */
23387
23388/* Override any gcc2 internal prototype to avoid an error. */
23389#ifdef __cplusplus
23390extern "C"
23391#endif
23392/* We use char because int might match the return type of a gcc2
23393 builtin and then its argument prototype would still apply. */
23394char shmat ();
23395int
23396main ()
23397{
23398shmat ();
23399 ;
23400 return 0;
23401}
23402_ACEOF
23403rm -f conftest.$ac_objext conftest$ac_exeext
23404if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23405 (eval $ac_link) 2>&5
23406 ac_status=$?
23407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23408 (exit $ac_status); } &&
23409 { ac_try='test -s conftest$ac_exeext'
23410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23411 (eval $ac_try) 2>&5
23412 ac_status=$?
23413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23414 (exit $ac_status); }; }; then
23415 ac_cv_lib_ipc_shmat=yes
23416else
23417 echo "$as_me: failed program was:" >&5
23418sed 's/^/| /' conftest.$ac_ext >&5
23419
23420ac_cv_lib_ipc_shmat=no
23421fi
23422rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23423LIBS=$ac_check_lib_save_LIBS
23424fi
23425echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23426echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23427if test $ac_cv_lib_ipc_shmat = yes; then
23428 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23429fi
23430
23431 fi
23432 fi
23433
23434 # Check for libraries that X11R6 Xt/Xaw programs need.
23435 ac_save_LDFLAGS=$LDFLAGS
23436 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23437 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23438 # check for ICE first), but we must link in the order -lSM -lICE or
23439 # we get undefined symbols. So assume we have SM if we have ICE.
23440 # These have to be linked with before -lX11, unlike the other
23441 # libraries we check for below, so use a different variable.
23442 # John Interrante, Karl Berry
23443 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23444echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23445if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23446 echo $ECHO_N "(cached) $ECHO_C" >&6
23447else
23448 ac_check_lib_save_LIBS=$LIBS
23449LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23450cat >conftest.$ac_ext <<_ACEOF
23451#line $LINENO "configure"
23452/* confdefs.h. */
23453_ACEOF
23454cat confdefs.h >>conftest.$ac_ext
23455cat >>conftest.$ac_ext <<_ACEOF
23456/* end confdefs.h. */
23457
23458/* Override any gcc2 internal prototype to avoid an error. */
23459#ifdef __cplusplus
23460extern "C"
23461#endif
23462/* We use char because int might match the return type of a gcc2
23463 builtin and then its argument prototype would still apply. */
23464char IceConnectionNumber ();
23465int
23466main ()
23467{
23468IceConnectionNumber ();
23469 ;
23470 return 0;
23471}
23472_ACEOF
23473rm -f conftest.$ac_objext conftest$ac_exeext
23474if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23475 (eval $ac_link) 2>&5
23476 ac_status=$?
23477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23478 (exit $ac_status); } &&
23479 { ac_try='test -s conftest$ac_exeext'
23480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23481 (eval $ac_try) 2>&5
23482 ac_status=$?
23483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23484 (exit $ac_status); }; }; then
23485 ac_cv_lib_ICE_IceConnectionNumber=yes
23486else
23487 echo "$as_me: failed program was:" >&5
23488sed 's/^/| /' conftest.$ac_ext >&5
23489
23490ac_cv_lib_ICE_IceConnectionNumber=no
23491fi
23492rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23493LIBS=$ac_check_lib_save_LIBS
23494fi
23495echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23496echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23497if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23498 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23499fi
23500
23501 LDFLAGS=$ac_save_LDFLAGS
23502
23503fi
23504
23505
23506 if test "$no_x" = "yes"; then
23507 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23508echo "$as_me: error: X11 not found" >&2;}
23509 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
23510 fi
23511
23512 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
23513 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
23514 AFMINSTALL=afminstall
23515 COMPILED_X_PROGRAM=0
23516
23517 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23518echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23519
23520ac_find_includes=
23521for ac_dir in $SEARCH_INCLUDE /usr/include;
23522 do
23523 if test -f "$ac_dir/Xm/Xm.h"; then
23524 ac_find_includes=$ac_dir
23525 break
23526 fi
23527 done
23528
23529 if test "$ac_find_includes" != "" ; then
23530 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23531echo "${ECHO_T}found in $ac_find_includes" >&6
23532
23533 if test "x$ac_find_includes" = "x/usr/include"; then
23534 ac_path_to_include=""
23535 else
23536 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
23537 result=$?
23538 if test $result = 0; then
23539 ac_path_to_include=""
23540 else
23541 ac_path_to_include=" -I$ac_find_includes"
23542 fi
23543 fi
23544
23545 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
23546 else
23547 cat >conftest.$ac_ext <<_ACEOF
23548#line $LINENO "configure"
23549/* confdefs.h. */
23550_ACEOF
23551cat confdefs.h >>conftest.$ac_ext
23552cat >>conftest.$ac_ext <<_ACEOF
23553/* end confdefs.h. */
23554
23555 #include <Xm/Xm.h>
23556
23557int
23558main ()
23559{
23560
23561 int version;
23562 version = xmUseVersion;
23563
23564 ;
23565 return 0;
23566}
23567_ACEOF
23568rm -f conftest.$ac_objext
23569if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23570 (eval $ac_compile) 2>&5
23571 ac_status=$?
23572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23573 (exit $ac_status); } &&
23574 { ac_try='test -s conftest.$ac_objext'
23575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23576 (eval $ac_try) 2>&5
23577 ac_status=$?
23578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23579 (exit $ac_status); }; }; then
23580
23581 echo "$as_me:$LINENO: result: found in default search path" >&5
23582echo "${ECHO_T}found in default search path" >&6
23583 COMPILED_X_PROGRAM=1
23584
23585else
23586 echo "$as_me: failed program was:" >&5
23587sed 's/^/| /' conftest.$ac_ext >&5
23588
23589
23590 echo "$as_me:$LINENO: result: no" >&5
23591echo "${ECHO_T}no" >&6
23592 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
23593echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
23594 { (exit 1); exit 1; }; }
23595
23596
23597fi
23598rm -f conftest.$ac_objext conftest.$ac_ext
23599 fi
23600
23601 if test "$COMPILED_X_PROGRAM" = 0; then
23602 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
23603echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
23604
23605ac_find_libraries=
23606for ac_dir in $SEARCH_LIB /usr/lib;
23607 do
23608 for ac_extension in a so sl dylib; do
23609 if test -f "$ac_dir/libXm.$ac_extension"; then
23610 ac_find_libraries=$ac_dir
23611 break 2
23612 fi
23613 done
23614 done
23615
23616 if test "$ac_find_libraries" != "" ; then
23617 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23618echo "${ECHO_T}found at $ac_find_libraries" >&6
23619
23620
23621 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23622 result=$?
23623 if test $result = 0; then
23624 ac_path_to_link=""
23625 else
23626 ac_path_to_link=" -L$ac_find_libraries"
23627 fi
23628
23629 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23630 else
23631 save_CFLAGS=$CFLAGS
23632 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23633
23634 cat >conftest.$ac_ext <<_ACEOF
23635#line $LINENO "configure"
23636/* confdefs.h. */
23637_ACEOF
23638cat confdefs.h >>conftest.$ac_ext
23639cat >>conftest.$ac_ext <<_ACEOF
23640/* end confdefs.h. */
23641
23642 #include <Xm/Xm.h>
23643
23644int
23645main ()
23646{
23647
23648 int version;
23649 version = xmUseVersion;
23650
23651 ;
23652 return 0;
23653}
23654_ACEOF
23655rm -f conftest.$ac_objext
23656if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23657 (eval $ac_compile) 2>&5
23658 ac_status=$?
23659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23660 (exit $ac_status); } &&
23661 { ac_try='test -s conftest.$ac_objext'
23662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23663 (eval $ac_try) 2>&5
23664 ac_status=$?
23665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23666 (exit $ac_status); }; }; then
23667
23668 echo "$as_me:$LINENO: result: found in default search path" >&5
23669echo "${ECHO_T}found in default search path" >&6
23670 COMPILED_X_PROGRAM=1
23671
23672else
23673 echo "$as_me: failed program was:" >&5
23674sed 's/^/| /' conftest.$ac_ext >&5
23675
23676
23677 echo "$as_me:$LINENO: result: no" >&5
23678echo "${ECHO_T}no" >&6
23679 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
23680echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
23681 { (exit 1); exit 1; }; }
23682
23683
23684fi
23685rm -f conftest.$ac_objext conftest.$ac_ext
23686
23687 CFLAGS=$save_CFLAGS
23688 fi
23689 fi
23690
23691 xpm_link=
23692 echo "$as_me:$LINENO: checking for Xpm library" >&5
23693echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
23694
23695ac_find_libraries=
23696for ac_dir in $SEARCH_LIB /usr/lib;
23697 do
23698 for ac_extension in a so sl dylib; do
23699 if test -f "$ac_dir/libXpm.$ac_extension"; then
23700 ac_find_libraries=$ac_dir
23701 break 2
23702 fi
23703 done
23704 done
23705
23706 if test "$ac_find_libraries" != "" ; then
23707
23708 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23709 result=$?
23710 if test $result = 0; then
23711 ac_path_to_link=""
23712 else
23713 ac_path_to_link=" -L$ac_find_libraries"
23714 fi
23715
23716 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23717
23718 xpm_link=" -lXpm"
23719 cat >>confdefs.h <<\_ACEOF
23720#define wxHAVE_LIB_XPM 1
23721_ACEOF
23722
23723 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23724echo "${ECHO_T}found at $ac_find_libraries" >&6
23725 else
23726 save_CFLAGS=$CFLAGS
23727 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23728
23729 cat >conftest.$ac_ext <<_ACEOF
23730#line $LINENO "configure"
23731/* confdefs.h. */
23732_ACEOF
23733cat confdefs.h >>conftest.$ac_ext
23734cat >>conftest.$ac_ext <<_ACEOF
23735/* end confdefs.h. */
23736
23737 #include <X11/xpm.h>
23738
23739int
23740main ()
23741{
23742
23743 int version;
23744 version = XpmLibraryVersion();
23745
23746 ;
23747 return 0;
23748}
23749_ACEOF
23750rm -f conftest.$ac_objext
23751if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23752 (eval $ac_compile) 2>&5
23753 ac_status=$?
23754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23755 (exit $ac_status); } &&
23756 { ac_try='test -s conftest.$ac_objext'
23757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23758 (eval $ac_try) 2>&5
23759 ac_status=$?
23760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23761 (exit $ac_status); }; }; then
23762
23763 xpm_link=" -lXpm"
23764 cat >>confdefs.h <<\_ACEOF
23765#define wxHAVE_LIB_XPM 1
23766_ACEOF
23767
23768 echo "$as_me:$LINENO: result: found in default search path" >&5
23769echo "${ECHO_T}found in default search path" >&6
23770 COMPILED_X_PROGRAM=0
23771
23772else
23773 echo "$as_me: failed program was:" >&5
23774sed 's/^/| /' conftest.$ac_ext >&5
23775
23776
23777 echo "$as_me:$LINENO: result: no" >&5
23778echo "${ECHO_T}no" >&6
23779 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
23780echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
23781
23782
23783fi
23784rm -f conftest.$ac_objext conftest.$ac_ext
23785
23786 CFLAGS=$save_CFLAGS
23787 fi
23788
23789 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
23790echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
23791 libp_link=""
23792 libsm_ice_link=""
23793 libs_found=0
23794 for libp in "" " -lXp"; do
23795 if test "$libs_found" = "0"; then
23796 for libsm_ice in " -lSM -lICE"; do
23797 if test "$libs_found" = "0"; then
23798 save_LIBS="$LIBS"
23799 LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
23800 save_CFLAGS=$CFLAGS
23801 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23802
23803 cat >conftest.$ac_ext <<_ACEOF
23804#line $LINENO "configure"
23805/* confdefs.h. */
23806_ACEOF
23807cat confdefs.h >>conftest.$ac_ext
23808cat >>conftest.$ac_ext <<_ACEOF
23809/* end confdefs.h. */
23810
23811 #include <Xm/Xm.h>
23812 #include <Xm/List.h>
23813
23814int
23815main ()
23816{
23817
23818 XmString string = NULL;
23819 Widget w = NULL;
23820 int position = 0;
23821 XmListAddItem(w, string, position);
23822
23823 ;
23824 return 0;
23825}
23826_ACEOF
23827rm -f conftest.$ac_objext conftest$ac_exeext
23828if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23829 (eval $ac_link) 2>&5
23830 ac_status=$?
23831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23832 (exit $ac_status); } &&
23833 { ac_try='test -s conftest$ac_exeext'
23834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23835 (eval $ac_try) 2>&5
23836 ac_status=$?
23837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23838 (exit $ac_status); }; }; then
23839
23840 libp_link="$libp"
23841 libsm_ice_link="$libsm_ice"
23842 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
23843echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
23844 libs_found=1
23845
23846else
23847 echo "$as_me: failed program was:" >&5
23848sed 's/^/| /' conftest.$ac_ext >&5
23849
23850
23851
23852fi
23853rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23854
23855 LIBS="$save_LIBS"
23856 CFLAGS=$save_CFLAGS
23857 fi
23858 done
23859 fi
23860 done
23861
23862 if test "$libs_found" = "0"; then
23863 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
23864echo "${ECHO_T}can't find the right libraries" >&6
23865 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
23866echo "$as_me: error: can't link a simple motif program" >&2;}
23867 { (exit 1); exit 1; }; }
23868 fi
23869
23870 save_CFLAGS=$CFLAGS
23871 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23872 echo "$as_me:$LINENO: checking for Motif 2" >&5
23873echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
23874 cat >conftest.$ac_ext <<_ACEOF
23875#line $LINENO "configure"
23876/* confdefs.h. */
23877_ACEOF
23878cat confdefs.h >>conftest.$ac_ext
23879cat >>conftest.$ac_ext <<_ACEOF
23880/* end confdefs.h. */
23881
23882 #include <Xm/Xm.h>
23883
23884int
23885main ()
23886{
23887
23888 #if XmVersion < 2000
23889 #error "Not Motif 2"
23890 #endif
23891
23892 ;
23893 return 0;
23894}
23895_ACEOF
23896rm -f conftest.$ac_objext
23897if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23898 (eval $ac_compile) 2>&5
23899 ac_status=$?
23900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23901 (exit $ac_status); } &&
23902 { ac_try='test -s conftest.$ac_objext'
23903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23904 (eval $ac_try) 2>&5
23905 ac_status=$?
23906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23907 (exit $ac_status); }; }; then
23908
23909 cat >>confdefs.h <<\_ACEOF
23910#define __WXMOTIF20__ 1
23911_ACEOF
23912
23913 echo "$as_me:$LINENO: result: found" >&5
23914echo "${ECHO_T}found" >&6
23915
23916else
23917 echo "$as_me: failed program was:" >&5
23918sed 's/^/| /' conftest.$ac_ext >&5
23919
23920
23921 cat >>confdefs.h <<\_ACEOF
23922#define __WXMOTIF20__ 0
23923_ACEOF
23924
23925 echo "$as_me:$LINENO: result: not found" >&5
23926echo "${ECHO_T}not found" >&6
23927
23928fi
23929rm -f conftest.$ac_objext conftest.$ac_ext
23930 CFLAGS=$save_CFLAGS
23931
23932 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
23933 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
23934 TOOLKIT=MOTIF
23935 GUIDIST=MOTIF_DIST
23936 wxHAVE_XEXT_LIB=1
23937 fi
23938
23939 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
23940 test "$wxHAVE_XEXT_LIB" = 1; then
23941 save_CFLAGS="$CFLAGS"
23942 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23943
23944 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
23945echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
23946 cat >conftest.$ac_ext <<_ACEOF
23947#line $LINENO "configure"
23948/* confdefs.h. */
23949_ACEOF
23950cat confdefs.h >>conftest.$ac_ext
23951cat >>conftest.$ac_ext <<_ACEOF
23952/* end confdefs.h. */
23953
23954 #include <X11/Xlib.h>
23955 #include <X11/extensions/shape.h>
23956
23957int
23958main ()
23959{
23960
23961 int dummy1, dummy2;
23962 XShapeQueryExtension((Display*)NULL,
23963 (int*)NULL, (int*)NULL);
23964
23965 ;
23966 return 0;
23967}
23968_ACEOF
23969rm -f conftest.$ac_objext
23970if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23971 (eval $ac_compile) 2>&5
23972 ac_status=$?
23973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23974 (exit $ac_status); } &&
23975 { ac_try='test -s conftest.$ac_objext'
23976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23977 (eval $ac_try) 2>&5
23978 ac_status=$?
23979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23980 (exit $ac_status); }; }; then
23981
23982 cat >>confdefs.h <<\_ACEOF
23983#define HAVE_XSHAPE 1
23984_ACEOF
23985
23986 echo "$as_me:$LINENO: result: found" >&5
23987echo "${ECHO_T}found" >&6
23988
23989else
23990 echo "$as_me: failed program was:" >&5
23991sed 's/^/| /' conftest.$ac_ext >&5
23992
23993
23994 echo "$as_me:$LINENO: result: not found" >&5
23995echo "${ECHO_T}not found" >&6
23996
23997fi
23998rm -f conftest.$ac_objext conftest.$ac_ext
23999 CFLAGS="$save_CFLAGS"
24000 fi
24001
24002 if test "$wxUSE_MAC" = 1; then
24003 CPPFLAGS="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24004
24005 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24006 TOOLKIT=MAC
24007 GUIDIST=MACX_DIST
24008 fi
24009
24010 if test "$wxUSE_COCOA" = 1; then
24011 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
24012 TOOLKIT=COCOA
24013 GUIDIST=COCOA_DIST
24014 fi
24015
24016 if test "$wxUSE_PM" = 1; then
24017 TOOLKIT=PM
24018 GUIDIST=GTK_DIST
24019 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
24020echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
24021 wxUSE_THREADS="no"
24022 fi
24023
24024 if test "$TOOLKIT" = "PM" ; then
24025 TOOLKIT_DIR="os2"
24026 else
24027 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24028 fi
24029
24030 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24031
24032 if test "$wxUSE_UNIVERSAL" = "yes"; then
24033 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24034
24035 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24036 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24037
24038 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24039 if test "$wxUSE_X11" = 1; then
24040 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24041 else
24042 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24043 fi
24044 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24045 WIDGET_SET=univ
24046 else
24047 ALL_OBJECTS="\$(GUIOBJS)"
24048 ALL_SOURCES="\$(ALL_SOURCES)"
24049 ALL_HEADERS="\$(ALL_HEADERS)"
24050 fi
24051
24052 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24053
24054 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24055 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
24056 fi
24057
24058 if test "$wxUSE_HTML" = "yes"; then
24059 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
24060 fi
24061
24062 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24063 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
24064 fi
24065 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24066 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
24067 fi
24068 if test "$wxUSE_LIBPNG" = "builtin" ; then
24069 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
24070 fi
24071
24072 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24073 DISTDIR="wx\$(TOOLKIT)"
24074else
24075 USE_GUI=0
24076
24077 TOOLKIT_DIR="base"
24078
24079 if test "$USE_WIN32" = 1 ; then
24080 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24081 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
24082
24083 TOOLKIT="MSW"
24084 else
24085 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24086 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
24087 fi
24088
24089 ALL_SOURCES="\$(ALL_SOURCES)"
24090 ALL_HEADERS="\$(ALL_HEADERS)"
24091
24092 PORT_FILES="\${top_srcdir}/src/files.lst"
24093
24094 GUIDIST="BASE_DIST"
24095 DISTDIR="wxBase"
24096fi
24097
24098
24099
24100
24101IODBC_C_SRC=""
24102
24103
24104if test "$TOOLKIT" != "MSW" ; then
24105
24106 if test "$wxUSE_ODBC" != "no" ; then
24107 cat >>confdefs.h <<\_ACEOF
24108#define wxUSE_ODBC 1
24109_ACEOF
24110
24111 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
24112
24113 WXODBCFLAG="-D_IODBC_"
24114
24115
24116 if test "$wxUSE_ODBC" = "sys" ; then
24117
24118 if test "${ac_cv_header_sql_h+set}" = set; then
24119 echo "$as_me:$LINENO: checking for sql.h" >&5
24120echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24121if test "${ac_cv_header_sql_h+set}" = set; then
24122 echo $ECHO_N "(cached) $ECHO_C" >&6
24123fi
24124echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24125echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24126else
24127 # Is the header compilable?
24128echo "$as_me:$LINENO: checking sql.h usability" >&5
24129echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24130cat >conftest.$ac_ext <<_ACEOF
24131#line $LINENO "configure"
24132/* confdefs.h. */
24133_ACEOF
24134cat confdefs.h >>conftest.$ac_ext
24135cat >>conftest.$ac_ext <<_ACEOF
24136/* end confdefs.h. */
24137$ac_includes_default
24138#include <sql.h>
24139_ACEOF
24140rm -f conftest.$ac_objext
24141if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24142 (eval $ac_compile) 2>&5
24143 ac_status=$?
24144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24145 (exit $ac_status); } &&
24146 { ac_try='test -s conftest.$ac_objext'
24147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24148 (eval $ac_try) 2>&5
24149 ac_status=$?
24150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24151 (exit $ac_status); }; }; then
24152 ac_header_compiler=yes
24153else
24154 echo "$as_me: failed program was:" >&5
24155sed 's/^/| /' conftest.$ac_ext >&5
24156
24157ac_header_compiler=no
24158fi
24159rm -f conftest.$ac_objext conftest.$ac_ext
24160echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24161echo "${ECHO_T}$ac_header_compiler" >&6
24162
24163# Is the header present?
24164echo "$as_me:$LINENO: checking sql.h presence" >&5
24165echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24166cat >conftest.$ac_ext <<_ACEOF
24167#line $LINENO "configure"
24168/* confdefs.h. */
24169_ACEOF
24170cat confdefs.h >>conftest.$ac_ext
24171cat >>conftest.$ac_ext <<_ACEOF
24172/* end confdefs.h. */
24173#include <sql.h>
24174_ACEOF
24175if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24176 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24177 ac_status=$?
24178 grep -v '^ *+' conftest.er1 >conftest.err
24179 rm -f conftest.er1
24180 cat conftest.err >&5
24181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24182 (exit $ac_status); } >/dev/null; then
24183 if test -s conftest.err; then
24184 ac_cpp_err=$ac_c_preproc_warn_flag
24185 else
24186 ac_cpp_err=
24187 fi
24188else
24189 ac_cpp_err=yes
24190fi
24191if test -z "$ac_cpp_err"; then
24192 ac_header_preproc=yes
24193else
24194 echo "$as_me: failed program was:" >&5
24195sed 's/^/| /' conftest.$ac_ext >&5
24196
24197 ac_header_preproc=no
24198fi
24199rm -f conftest.err conftest.$ac_ext
24200echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24201echo "${ECHO_T}$ac_header_preproc" >&6
24202
24203# So? What about this header?
24204case $ac_header_compiler:$ac_header_preproc in
24205 yes:no )
24206 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24207echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24208 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24209echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24210 (
24211 cat <<\_ASBOX
24212## ------------------------------------ ##
24213## Report this to bug-autoconf@gnu.org. ##
24214## ------------------------------------ ##
24215_ASBOX
24216 ) |
24217 sed "s/^/$as_me: WARNING: /" >&2
24218 ;;
24219 no:yes )
24220 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24221echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24222 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24223echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24224 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24225echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24226 (
24227 cat <<\_ASBOX
24228## ------------------------------------ ##
24229## Report this to bug-autoconf@gnu.org. ##
24230## ------------------------------------ ##
24231_ASBOX
24232 ) |
24233 sed "s/^/$as_me: WARNING: /" >&2
24234 ;;
24235esac
24236echo "$as_me:$LINENO: checking for sql.h" >&5
24237echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24238if test "${ac_cv_header_sql_h+set}" = set; then
24239 echo $ECHO_N "(cached) $ECHO_C" >&6
24240else
24241 ac_cv_header_sql_h=$ac_header_preproc
24242fi
24243echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24244echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24245
24246fi
24247
24248
24249 echo "$as_me:$LINENO: checking for library containing SQLAllocEnv" >&5
24250echo $ECHO_N "checking for library containing SQLAllocEnv... $ECHO_C" >&6
24251if test "${ac_cv_search_SQLAllocEnv+set}" = set; then
24252 echo $ECHO_N "(cached) $ECHO_C" >&6
24253else
24254 ac_func_search_save_LIBS=$LIBS
24255ac_cv_search_SQLAllocEnv=no
24256cat >conftest.$ac_ext <<_ACEOF
24257#line $LINENO "configure"
24258/* confdefs.h. */
24259_ACEOF
24260cat confdefs.h >>conftest.$ac_ext
24261cat >>conftest.$ac_ext <<_ACEOF
24262/* end confdefs.h. */
24263
24264/* Override any gcc2 internal prototype to avoid an error. */
24265#ifdef __cplusplus
24266extern "C"
24267#endif
24268/* We use char because int might match the return type of a gcc2
24269 builtin and then its argument prototype would still apply. */
24270char SQLAllocEnv ();
24271int
24272main ()
24273{
24274SQLAllocEnv ();
24275 ;
24276 return 0;
24277}
24278_ACEOF
24279rm -f conftest.$ac_objext conftest$ac_exeext
24280if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24281 (eval $ac_link) 2>&5
24282 ac_status=$?
24283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24284 (exit $ac_status); } &&
24285 { ac_try='test -s conftest$ac_exeext'
24286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24287 (eval $ac_try) 2>&5
24288 ac_status=$?
24289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24290 (exit $ac_status); }; }; then
24291 ac_cv_search_SQLAllocEnv="none required"
24292else
24293 echo "$as_me: failed program was:" >&5
24294sed 's/^/| /' conftest.$ac_ext >&5
24295
24296fi
24297rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24298if test "$ac_cv_search_SQLAllocEnv" = no; then
24299 for ac_lib in iodbc unixodbc odbc ; do
24300 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24301 cat >conftest.$ac_ext <<_ACEOF
24302#line $LINENO "configure"
24303/* confdefs.h. */
24304_ACEOF
24305cat confdefs.h >>conftest.$ac_ext
24306cat >>conftest.$ac_ext <<_ACEOF
24307/* end confdefs.h. */
24308
24309/* Override any gcc2 internal prototype to avoid an error. */
24310#ifdef __cplusplus
24311extern "C"
24312#endif
24313/* We use char because int might match the return type of a gcc2
24314 builtin and then its argument prototype would still apply. */
24315char SQLAllocEnv ();
24316int
24317main ()
24318{
24319SQLAllocEnv ();
24320 ;
24321 return 0;
24322}
24323_ACEOF
24324rm -f conftest.$ac_objext conftest$ac_exeext
24325if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24326 (eval $ac_link) 2>&5
24327 ac_status=$?
24328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24329 (exit $ac_status); } &&
24330 { ac_try='test -s conftest$ac_exeext'
24331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24332 (eval $ac_try) 2>&5
24333 ac_status=$?
24334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24335 (exit $ac_status); }; }; then
24336 ac_cv_search_SQLAllocEnv="-l$ac_lib"
24337break
24338else
24339 echo "$as_me: failed program was:" >&5
24340sed 's/^/| /' conftest.$ac_ext >&5
24341
24342fi
24343rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24344 done
24345fi
24346LIBS=$ac_func_search_save_LIBS
24347fi
24348echo "$as_me:$LINENO: result: $ac_cv_search_SQLAllocEnv" >&5
24349echo "${ECHO_T}$ac_cv_search_SQLAllocEnv" >&6
24350if test "$ac_cv_search_SQLAllocEnv" != no; then
24351 test "$ac_cv_search_SQLAllocEnv" = "none required" || LIBS="$ac_cv_search_SQLAllocEnv $LIBS"
24352
24353else
24354
24355 wxUSE_ODBC=builtin;
24356 { echo "$as_me:$LINENO: WARNING: can't find system Odbc library falling back to builtin " >&5
24357echo "$as_me: WARNING: can't find system Odbc library falling back to builtin " >&2;}
24358
24359fi
24360
24361 fi
24362 if test "$wxUSE_ODBC" != "sys" ; then
24363 ALL_OBJECTS="${ALL_OBJECTS} \$(IODBCOBJS)"
24364 fi
24365
24366 fi
24367
24368fi
24369
24370if test "$wxUSE_REGEX" = "builtin" ; then
24371 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
24372fi
24373if test "$wxUSE_ZLIB" = "builtin" ; then
24374 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
24375fi
24376
24377
24378if test "$wxUSE_OPENGL" = "yes"; then
24379 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24380 OPENGL_LIBS="-framework OpenGL -framework AGL"
24381 elif test "$wxUSE_MSW" = 1; then
24382 OPENGL_LIBS="-lopengl32 -lglu32"
24383 else
24384
24385
24386ac_find_includes=
24387for ac_dir in $SEARCH_INCLUDE /usr/include;
24388 do
24389 if test -f "$ac_dir/GL/gl.h"; then
24390 ac_find_includes=$ac_dir
24391 break
24392 fi
24393 done
24394
24395 if test "$ac_find_includes" != "" ; then
24396 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24397echo "${ECHO_T}found in $ac_find_includes" >&6
24398 set -x
24399
24400 if test "x$ac_find_includes" = "x/usr/include"; then
24401 ac_path_to_include=""
24402 else
24403 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
24404 result=$?
24405 if test $result = 0; then
24406 ac_path_to_include=""
24407 else
24408 ac_path_to_include=" -I$ac_find_includes"
24409 fi
24410 fi
24411
24412 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
24413 set +x
24414 fi
24415
24416 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24417 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24418echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24419if test "${ac_cv_header_GL_gl_h+set}" = set; then
24420 echo $ECHO_N "(cached) $ECHO_C" >&6
24421fi
24422echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24423echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24424else
24425 # Is the header compilable?
24426echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24427echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24428cat >conftest.$ac_ext <<_ACEOF
24429#line $LINENO "configure"
24430/* confdefs.h. */
24431_ACEOF
24432cat confdefs.h >>conftest.$ac_ext
24433cat >>conftest.$ac_ext <<_ACEOF
24434/* end confdefs.h. */
24435$ac_includes_default
24436#include <GL/gl.h>
24437_ACEOF
24438rm -f conftest.$ac_objext
24439if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24440 (eval $ac_compile) 2>&5
24441 ac_status=$?
24442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24443 (exit $ac_status); } &&
24444 { ac_try='test -s conftest.$ac_objext'
24445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24446 (eval $ac_try) 2>&5
24447 ac_status=$?
24448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24449 (exit $ac_status); }; }; then
24450 ac_header_compiler=yes
24451else
24452 echo "$as_me: failed program was:" >&5
24453sed 's/^/| /' conftest.$ac_ext >&5
24454
24455ac_header_compiler=no
24456fi
24457rm -f conftest.$ac_objext conftest.$ac_ext
24458echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24459echo "${ECHO_T}$ac_header_compiler" >&6
24460
24461# Is the header present?
24462echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24463echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24464cat >conftest.$ac_ext <<_ACEOF
24465#line $LINENO "configure"
24466/* confdefs.h. */
24467_ACEOF
24468cat confdefs.h >>conftest.$ac_ext
24469cat >>conftest.$ac_ext <<_ACEOF
24470/* end confdefs.h. */
24471#include <GL/gl.h>
24472_ACEOF
24473if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24474 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24475 ac_status=$?
24476 grep -v '^ *+' conftest.er1 >conftest.err
24477 rm -f conftest.er1
24478 cat conftest.err >&5
24479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24480 (exit $ac_status); } >/dev/null; then
24481 if test -s conftest.err; then
24482 ac_cpp_err=$ac_c_preproc_warn_flag
24483 else
24484 ac_cpp_err=
24485 fi
24486else
24487 ac_cpp_err=yes
24488fi
24489if test -z "$ac_cpp_err"; then
24490 ac_header_preproc=yes
24491else
24492 echo "$as_me: failed program was:" >&5
24493sed 's/^/| /' conftest.$ac_ext >&5
24494
24495 ac_header_preproc=no
24496fi
24497rm -f conftest.err conftest.$ac_ext
24498echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24499echo "${ECHO_T}$ac_header_preproc" >&6
24500
24501# So? What about this header?
24502case $ac_header_compiler:$ac_header_preproc in
24503 yes:no )
24504 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24505echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24506 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24507echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24508 (
24509 cat <<\_ASBOX
24510## ------------------------------------ ##
24511## Report this to bug-autoconf@gnu.org. ##
24512## ------------------------------------ ##
24513_ASBOX
24514 ) |
24515 sed "s/^/$as_me: WARNING: /" >&2
24516 ;;
24517 no:yes )
24518 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24519echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24520 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24521echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24522 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24523echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24524 (
24525 cat <<\_ASBOX
24526## ------------------------------------ ##
24527## Report this to bug-autoconf@gnu.org. ##
24528## ------------------------------------ ##
24529_ASBOX
24530 ) |
24531 sed "s/^/$as_me: WARNING: /" >&2
24532 ;;
24533esac
24534echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24535echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24536if test "${ac_cv_header_GL_gl_h+set}" = set; then
24537 echo $ECHO_N "(cached) $ECHO_C" >&6
24538else
24539 ac_cv_header_GL_gl_h=$ac_header_preproc
24540fi
24541echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24542echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24543
24544fi
24545if test $ac_cv_header_GL_gl_h = yes; then
24546
24547 found_gl=0
24548
24549 echo "$as_me:$LINENO: checking for -lGL" >&5
24550echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
24551
24552ac_find_libraries=
24553for ac_dir in $SEARCH_LIB /usr/lib;
24554 do
24555 for ac_extension in a so sl dylib; do
24556 if test -f "$ac_dir/libGL.$ac_extension"; then
24557 ac_find_libraries=$ac_dir
24558 break 2
24559 fi
24560 done
24561 done
24562
24563 if test "$ac_find_libraries" != "" ; then
24564
24565 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24566 result=$?
24567 if test $result = 0; then
24568 ac_path_to_link=""
24569 else
24570 ac_path_to_link=" -L$ac_find_libraries"
24571 fi
24572
24573 if test "$ac_path_to_link" != " -L/usr/lib" ; then
24574 LDFLAGS_GL="$ac_path_to_link"
24575 fi
24576
24577
24578ac_find_libraries=
24579for ac_dir in $SEARCH_LIB /usr/lib;
24580 do
24581 for ac_extension in a so sl dylib; do
24582 if test -f "$ac_dir/libGLU.$ac_extension"; then
24583 ac_find_libraries=$ac_dir
24584 break 2
24585 fi
24586 done
24587 done
24588
24589 if test "$ac_find_libraries" != "" ; then
24590
24591 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24592 result=$?
24593 if test $result = 0; then
24594 ac_path_to_link=""
24595 else
24596 ac_path_to_link=" -L$ac_find_libraries"
24597 fi
24598
24599 if test "$ac_path_to_link" != " -L/usr/lib" -a \
24600 "$ac_path_to_link" != "$LDFLAGS_GL"; then
24601 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
24602 fi
24603
24604 found_gl=1
24605 OPENGL_LIBS="-lGL -lGLU"
24606 echo "$as_me:$LINENO: result: yes" >&5
24607echo "${ECHO_T}yes" >&6
24608 fi
24609 fi
24610
24611 if "$found_gl" != 1; then
24612 echo "$as_me:$LINENO: result: no" >&5
24613echo "${ECHO_T}no" >&6
24614 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
24615echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
24616
24617ac_find_libraries=
24618for ac_dir in $SEARCH_LIB /usr/lib;
24619 do
24620 for ac_extension in a so sl dylib; do
24621 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
24622 ac_find_libraries=$ac_dir
24623 break 2
24624 fi
24625 done
24626 done
24627
24628 if test "$ac_find_libraries" != "" ; then
24629
24630 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24631 result=$?
24632 if test $result = 0; then
24633 ac_path_to_link=""
24634 else
24635 ac_path_to_link=" -L$ac_find_libraries"
24636 fi
24637
24638 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
24639 OPENGL_LIBS="-lMesaGL -lMesaGLU"
24640 echo "$as_me:$LINENO: result: yes" >&5
24641echo "${ECHO_T}yes" >&6
24642 else
24643 echo "$as_me:$LINENO: result: no" >&5
24644echo "${ECHO_T}no" >&6
24645 fi
24646 fi
24647
24648fi
24649
24650
24651
24652 if test "x$OPENGL_LIBS" = "x"; then
24653 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
24654echo "$as_me: error: OpenGL libraries not available" >&2;}
24655 { (exit 1); exit 1; }; }
24656 fi
24657 fi
24658
24659 if test "$wxUSE_OPENGL" = "yes"; then
24660 cat >>confdefs.h <<\_ACEOF
24661#define wxUSE_OPENGL 1
24662_ACEOF
24663
24664 cat >>confdefs.h <<\_ACEOF
24665#define wxUSE_GLCANVAS 1
24666_ACEOF
24667
24668 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl"
24669 fi
24670fi
24671
24672if test -z "$TOOLKIT_VPATH" ; then
24673 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
24674fi
24675
24676if test -n "$TOOLKIT" ; then
24677 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
24678fi
24679
24680UNICODE=0
24681lib_unicode_suffix=
24682if test "$wxUSE_UNICODE" = "yes"; then
24683 lib_unicode_suffix=u
24684 UNICODE=1
24685fi
24686
24687lib_debug_suffix=
24688BUILD=release
24689if test "$wxUSE_DEBUG_FLAG" = "yes"; then
24690 lib_debug_suffix=d
24691 BUILD=debug
24692fi
24693
24694WX_VERSION_TAG=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
24695
24696TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
24697TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
24698
24699if test "$cross_compiling" = "yes"; then
24700 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
24701 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
24702fi
24703
24704WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
24705WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
24706WX_LIBRARY_BASENAME="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
24707
24708WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24709WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24710
24711WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
24712WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
24713WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
24714WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24715
24716case "${host}" in
24717 *-*-cygwin* | *-*-mingw32* )
24718
24719
24720
24721 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
24722 WX_LIBRARY="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
24723 WX_LIBRARY_GL="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
24724 WX_LIBRARY_NAME_SHARED="${WX_LIBRARY}.${SO_SUFFIX}"
24725 WX_LIBRARY_NAME_SHARED_GL="${WX_LIBRARY_GL}.${SO_SUFFIX}"
24726 else
24727 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
24728 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24729 fi
24730 ;;
24731
24732 *-*-darwin* )
24733
24734 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
24735 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
24736
24737 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
24738 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
24739 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
24740 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24741
24742 if test "$wxUSE_MAC" = 1; then
24743 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
24744 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
24745 fi
24746 ;;
24747esac
24748
24749WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
24750WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
24751
24752WXCONFIG_LIBS="-l${WX_LIBRARY}"
24753WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
24754
24755if test "$wxUSE_OPENGL" = "yes"; then
24756 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
24757 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
24758fi
24759
24760
24761
24762if test "$wxUSE_SHARED" = "yes"; then
24763 case "${host}" in
24764 *-pc-os2_emx | *-pc-os2-emx | \
24765 *-pc-msdosdjgpp )
24766 wxUSE_SHARED=no
24767 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
24768echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
24769 ;;
24770 esac
24771fi
24772
24773SHARED=0
24774if test "$wxUSE_SHARED" = "yes"; then
24775 SHARED=1
24776
24777 if test "$wxUSE_OPENGL" = "yes"; then
24778 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
24779 WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
24780 else
24781 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
24782 WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1}"
24783 fi
24784
24785 if test "$GCC" = "yes"; then
24786 PIC_FLAG="-fPIC"
24787 fi
24788
24789
24790
24791 found_versioning=no
24792
24793
24794 if test $found_versioning = no ; then
24795 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
24796echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
24797if test "${wx_cv_version_script+set}" = set; then
24798 echo $ECHO_N "(cached) $ECHO_C" >&6
24799else
24800
24801 echo "VER_1 { *; };" >conftest.sym
24802 echo "int main() { return 0; }" >conftest.cpp
24803
24804 if { ac_try='
24805 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
24806 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
24807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24808 (eval $ac_try) 2>&5
24809 ac_status=$?
24810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24811 (exit $ac_status); }; } ; then
24812 if test -s conftest.stderr ; then
24813 wx_cv_version_script=no
24814 else
24815 wx_cv_version_script=yes
24816 fi
24817 else
24818 wx_cv_version_script=no
24819 fi
24820 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
24821
24822fi
24823echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
24824echo "${ECHO_T}$wx_cv_version_script" >&6
24825 if test $wx_cv_version_script = yes ; then
24826 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
24827 fi
24828 fi
24829
24830
24831 SHARED_LD="${CXX} -shared -o"
24832
24833 case "${host}" in
24834 *-hp-hpux* )
24835 if test "$GCC" = "yes"; then
24836 SHARED_LD="${CXX} -shared ${PIC_FLAG} -o"
24837 else
24838 LDFLAGS="$LDFLAGS -L/usr/lib"
24839
24840 SHARED_LD="${CXX} -b -o"
24841 PIC_FLAG="+Z"
24842 fi
24843
24844 if test "$wxUSE_OPENGL" = "yes"; then
24845 WX_ALL_INSTALLED="preinstall_gl"
24846 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
24847 else
24848 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
24849 fi
24850 ;;
24851
24852 *-*-linux* | *-*-gnu* )
24853 if test "$GCC" != "yes"; then
24854 echo "$as_me:$LINENO: checking for Intel compiler" >&5
24855echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
24856if test "${wx_cv_prog_icc+set}" = set; then
24857 echo $ECHO_N "(cached) $ECHO_C" >&6
24858else
24859
24860 cat >conftest.$ac_ext <<_ACEOF
24861#line $LINENO "configure"
24862/* confdefs.h. */
24863_ACEOF
24864cat confdefs.h >>conftest.$ac_ext
24865cat >>conftest.$ac_ext <<_ACEOF
24866/* end confdefs.h. */
24867
24868int
24869main ()
24870{
24871
24872 #ifndef __INTEL_COMPILER
24873 #error Not icc
24874 #endif
24875
24876 ;
24877 return 0;
24878}
24879_ACEOF
24880rm -f conftest.$ac_objext
24881if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24882 (eval $ac_compile) 2>&5
24883 ac_status=$?
24884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24885 (exit $ac_status); } &&
24886 { ac_try='test -s conftest.$ac_objext'
24887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24888 (eval $ac_try) 2>&5
24889 ac_status=$?
24890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24891 (exit $ac_status); }; }; then
24892 wx_cv_prog_icc=yes
24893else
24894 echo "$as_me: failed program was:" >&5
24895sed 's/^/| /' conftest.$ac_ext >&5
24896
24897wx_cv_prog_icc=no
24898
24899fi
24900rm -f conftest.$ac_objext conftest.$ac_ext
24901
24902fi
24903echo "$as_me:$LINENO: result: $wx_cv_prog_icc" >&5
24904echo "${ECHO_T}$wx_cv_prog_icc" >&6
24905 if test "$wx_cv_prog_icc" = "yes"; then
24906 PIC_FLAG="-KPIC"
24907 fi
24908 fi
24909
24910 if test "$wxUSE_SONAME" = "yes" ; then
24911 SONAME_FLAGS="-Wl,-soname,${WX_LIBRARY_LINK1}"
24912 SONAME_FLAGS_GL="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
24913 WX_TARGET_LIBRARY_SONAME="-Wl,-soname,\$(TARGETLIB_LINK1)"
24914 fi
24915 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
24916 ;;
24917
24918 *-*-solaris2* )
24919 if test "$GCC" = yes ; then
24920 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
24921
24922 saveLdflags="$LDFLAGS"
24923 LDFLAGS="$saveLdflags -Wl,-rpath,/"
24924 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
24925echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
24926 cat >conftest.$ac_ext <<_ACEOF
24927#line $LINENO "configure"
24928/* confdefs.h. */
24929_ACEOF
24930cat confdefs.h >>conftest.$ac_ext
24931cat >>conftest.$ac_ext <<_ACEOF
24932/* end confdefs.h. */
24933
24934int
24935main ()
24936{
24937
24938 ;
24939 return 0;
24940}
24941_ACEOF
24942rm -f conftest.$ac_objext conftest$ac_exeext
24943if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24944 (eval $ac_link) 2>&5
24945 ac_status=$?
24946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24947 (exit $ac_status); } &&
24948 { ac_try='test -s conftest$ac_exeext'
24949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24950 (eval $ac_try) 2>&5
24951 ac_status=$?
24952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24953 (exit $ac_status); }; }; then
24954
24955 echo "$as_me:$LINENO: result: yes" >&5
24956echo "${ECHO_T}yes" >&6
24957 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
24958
24959else
24960 echo "$as_me: failed program was:" >&5
24961sed 's/^/| /' conftest.$ac_ext >&5
24962
24963
24964 echo "$as_me:$LINENO: result: no" >&5
24965echo "${ECHO_T}no" >&6
24966 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
24967echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
24968 LDFLAGS="$saveLdflags -Wl,-R,/"
24969 cat >conftest.$ac_ext <<_ACEOF
24970#line $LINENO "configure"
24971/* confdefs.h. */
24972_ACEOF
24973cat confdefs.h >>conftest.$ac_ext
24974cat >>conftest.$ac_ext <<_ACEOF
24975/* end confdefs.h. */
24976
24977int
24978main ()
24979{
24980
24981 ;
24982 return 0;
24983}
24984_ACEOF
24985rm -f conftest.$ac_objext conftest$ac_exeext
24986if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24987 (eval $ac_link) 2>&5
24988 ac_status=$?
24989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24990 (exit $ac_status); } &&
24991 { ac_try='test -s conftest$ac_exeext'
24992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24993 (eval $ac_try) 2>&5
24994 ac_status=$?
24995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24996 (exit $ac_status); }; }; then
24997
24998 echo "$as_me:$LINENO: result: yes" >&5
24999echo "${ECHO_T}yes" >&6
25000 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
25001else
25002 echo "$as_me: failed program was:" >&5
25003sed 's/^/| /' conftest.$ac_ext >&5
25004
25005
25006 echo "$as_me:$LINENO: result: no" >&5
25007echo "${ECHO_T}no" >&6
25008
25009fi
25010rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25011
25012fi
25013rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25014 LDFLAGS="$saveLdflags"
25015 else
25016 SHARED_LD="${CXX} -G -o"
25017 PIC_FLAG="-KPIC"
25018 SONAME_FLAGS="-h ${WX_LIBRARY_NAME_SHARED}"
25019 SONAME_FLAGS_GL="-h ${WX_LIBRARY_NAME_SHARED_GL}"
25020 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
25021 fi
25022 ;;
25023
25024 *-*-darwin* )
25025 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -DWXMAKINGDLL"
25026 CFLAGS="$CFLAGS -fno-common"
25027 CXXFLAGS="$CXXFLAGS -fno-common"
25028 SHARED_LD="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
25029 PIC_FLAG="-dynamic -fPIC"
25030 SONAME_FLAGS="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1}"
25031 SONAME_FLAGS_GL="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1_GL}"
25032 ;;
25033
25034 *-*-aix* )
25035 if test "$GCC" != "yes"; then
25036 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
25037set dummy makeC++SharedLib; ac_word=$2
25038echo "$as_me:$LINENO: checking for $ac_word" >&5
25039echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25040if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
25041 echo $ECHO_N "(cached) $ECHO_C" >&6
25042else
25043 if test -n "$AIX_CXX_LD"; then
25044 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
25045else
25046as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25047for as_dir in $PATH
25048do
25049 IFS=$as_save_IFS
25050 test -z "$as_dir" && as_dir=.
25051 for ac_exec_ext in '' $ac_executable_extensions; do
25052 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25053 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
25054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25055 break 2
25056 fi
25057done
25058done
25059
25060 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
25061fi
25062fi
25063AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
25064if test -n "$AIX_CXX_LD"; then
25065 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
25066echo "${ECHO_T}$AIX_CXX_LD" >&6
25067else
25068 echo "$as_me:$LINENO: result: no" >&5
25069echo "${ECHO_T}no" >&6
25070fi
25071
25072
25073 SHARED_LD="$(AIX_CXX_LD) -p 0 -o"
25074 fi
25075 ;;
25076
25077 *-*-cygwin* | *-*-mingw32* )
25078 WX_LIBRARY_IMPORTLIB="${WX_LIBRARY_NAME_SHARED}.a"
25079
25080 SHARED_LD="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
25081 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
25082
25083 PIC_FLAG="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
25084
25085 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
25086 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
25087
25088 if test "$wxUSE_OPENGL" = "yes"; then
25089 LIBS="${LIBS} ${OPENGL_LIBS}"
25090 fi
25091 ;;
25092
25093 *-*-beos* )
25094 SHARED_LD="${LD} -shared -o"
25095 ;;
25096
25097 *-*-irix* )
25098 if test "$GCC" != "yes"; then
25099 PIC_FLAG="-KPIC"
25100 fi
25101 ;;
25102
25103 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
25104 *-*-sunos4* | \
25105 *-*-osf* | \
25106 *-*-dgux5* | \
25107 *-*-sysv5* )
25108 ;;
25109
25110 *)
25111 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
25112echo "$as_me: error: unknown system type $host." >&2;}
25113 { (exit 1); exit 1; }; }
25114 esac
25115
25116 if test "x$WX_TARGET_LIBRARY" = "x"; then
25117 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
25118 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
25119 fi
25120
25121 WX_TARGET_LIBRARY_TYPE="so"
25122 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
25123fi
25124
25125if test "$wxUSE_SHARED" = "no"; then
25126
25127 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25128 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25129 fi
25130
25131 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25132 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25133 fi
25134
25135 if test "$wxUSE_OPENGL" = "yes"; then
25136 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
25137 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25138 else
25139 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25140 fi
25141
25142 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
25143 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
25144
25145 WX_TARGET_LIBRARY_TYPE="a"
25146 INSTALL_LIBRARY='$(INSTALL_DATA)'
25147
25148 STATIC_FLAG="yes"
25149else
25150 STATIC_FLAG="no"
25151fi
25152
25153MACRESCOMP="@#"
25154MACSETFILE="@#"
25155MACRESWXCONFIG="#"
25156if test "$wxUSE_MAC" = 1; then
25157 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25158 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
25159 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
25160 # Extract the first word of "Rez", so it can be a program name with args.
25161set dummy Rez; ac_word=$2
25162echo "$as_me:$LINENO: checking for $ac_word" >&5
25163echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25164if test "${ac_cv_prog_RESCOMP+set}" = set; then
25165 echo $ECHO_N "(cached) $ECHO_C" >&6
25166else
25167 if test -n "$RESCOMP"; then
25168 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25169else
25170as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25171for as_dir in $PATH
25172do
25173 IFS=$as_save_IFS
25174 test -z "$as_dir" && as_dir=.
25175 for ac_exec_ext in '' $ac_executable_extensions; do
25176 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25177 ac_cv_prog_RESCOMP="Rez"
25178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25179 break 2
25180 fi
25181done
25182done
25183
25184 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25185fi
25186fi
25187RESCOMP=$ac_cv_prog_RESCOMP
25188if test -n "$RESCOMP"; then
25189 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25190echo "${ECHO_T}$RESCOMP" >&6
25191else
25192 echo "$as_me:$LINENO: result: no" >&5
25193echo "${ECHO_T}no" >&6
25194fi
25195
25196 # Extract the first word of "DeRez", so it can be a program name with args.
25197set dummy DeRez; ac_word=$2
25198echo "$as_me:$LINENO: checking for $ac_word" >&5
25199echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25200if test "${ac_cv_prog_DEREZ+set}" = set; then
25201 echo $ECHO_N "(cached) $ECHO_C" >&6
25202else
25203 if test -n "$DEREZ"; then
25204 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25205else
25206as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25207for as_dir in $PATH
25208do
25209 IFS=$as_save_IFS
25210 test -z "$as_dir" && as_dir=.
25211 for ac_exec_ext in '' $ac_executable_extensions; do
25212 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25213 ac_cv_prog_DEREZ="DeRez"
25214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25215 break 2
25216 fi
25217done
25218done
25219
25220 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25221fi
25222fi
25223DEREZ=$ac_cv_prog_DEREZ
25224if test -n "$DEREZ"; then
25225 echo "$as_me:$LINENO: result: $DEREZ" >&5
25226echo "${ECHO_T}$DEREZ" >&6
25227else
25228 echo "$as_me:$LINENO: result: no" >&5
25229echo "${ECHO_T}no" >&6
25230fi
25231
25232 # Extract the first word of "SetFile", so it can be a program name with args.
25233set dummy SetFile; ac_word=$2
25234echo "$as_me:$LINENO: checking for $ac_word" >&5
25235echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25236if test "${ac_cv_prog_SETFILE+set}" = set; then
25237 echo $ECHO_N "(cached) $ECHO_C" >&6
25238else
25239 if test -n "$SETFILE"; then
25240 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25241else
25242as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25243for as_dir in $PATH
25244do
25245 IFS=$as_save_IFS
25246 test -z "$as_dir" && as_dir=.
25247 for ac_exec_ext in '' $ac_executable_extensions; do
25248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25249 ac_cv_prog_SETFILE="SetFile"
25250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25251 break 2
25252 fi
25253done
25254done
25255
25256 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25257fi
25258fi
25259SETFILE=$ac_cv_prog_SETFILE
25260if test -n "$SETFILE"; then
25261 echo "$as_me:$LINENO: result: $SETFILE" >&5
25262echo "${ECHO_T}$SETFILE" >&6
25263else
25264 echo "$as_me:$LINENO: result: no" >&5
25265echo "${ECHO_T}no" >&6
25266fi
25267
25268 MACOSX_BUNDLE="bundle"
25269 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25270 MACSETFILE="\$(SETFILE)"
25271 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25272elif test "$wxUSE_COCOA" = 1; then
25273 # Extract the first word of "Rez", so it can be a program name with args.
25274set dummy Rez; ac_word=$2
25275echo "$as_me:$LINENO: checking for $ac_word" >&5
25276echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25277if test "${ac_cv_prog_RESCOMP+set}" = set; then
25278 echo $ECHO_N "(cached) $ECHO_C" >&6
25279else
25280 if test -n "$RESCOMP"; then
25281 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25282else
25283as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25284for as_dir in $PATH
25285do
25286 IFS=$as_save_IFS
25287 test -z "$as_dir" && as_dir=.
25288 for ac_exec_ext in '' $ac_executable_extensions; do
25289 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25290 ac_cv_prog_RESCOMP="Rez"
25291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25292 break 2
25293 fi
25294done
25295done
25296
25297 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25298fi
25299fi
25300RESCOMP=$ac_cv_prog_RESCOMP
25301if test -n "$RESCOMP"; then
25302 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25303echo "${ECHO_T}$RESCOMP" >&6
25304else
25305 echo "$as_me:$LINENO: result: no" >&5
25306echo "${ECHO_T}no" >&6
25307fi
25308
25309 # Extract the first word of "DeRez", so it can be a program name with args.
25310set dummy DeRez; ac_word=$2
25311echo "$as_me:$LINENO: checking for $ac_word" >&5
25312echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25313if test "${ac_cv_prog_DEREZ+set}" = set; then
25314 echo $ECHO_N "(cached) $ECHO_C" >&6
25315else
25316 if test -n "$DEREZ"; then
25317 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25318else
25319as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25320for as_dir in $PATH
25321do
25322 IFS=$as_save_IFS
25323 test -z "$as_dir" && as_dir=.
25324 for ac_exec_ext in '' $ac_executable_extensions; do
25325 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25326 ac_cv_prog_DEREZ="DeRez"
25327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25328 break 2
25329 fi
25330done
25331done
25332
25333 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25334fi
25335fi
25336DEREZ=$ac_cv_prog_DEREZ
25337if test -n "$DEREZ"; then
25338 echo "$as_me:$LINENO: result: $DEREZ" >&5
25339echo "${ECHO_T}$DEREZ" >&6
25340else
25341 echo "$as_me:$LINENO: result: no" >&5
25342echo "${ECHO_T}no" >&6
25343fi
25344
25345 # Extract the first word of "SetFile", so it can be a program name with args.
25346set dummy SetFile; ac_word=$2
25347echo "$as_me:$LINENO: checking for $ac_word" >&5
25348echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25349if test "${ac_cv_prog_SETFILE+set}" = set; then
25350 echo $ECHO_N "(cached) $ECHO_C" >&6
25351else
25352 if test -n "$SETFILE"; then
25353 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25354else
25355as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25356for as_dir in $PATH
25357do
25358 IFS=$as_save_IFS
25359 test -z "$as_dir" && as_dir=.
25360 for ac_exec_ext in '' $ac_executable_extensions; do
25361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25362 ac_cv_prog_SETFILE="SetFile"
25363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25364 break 2
25365 fi
25366done
25367done
25368
25369 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25370fi
25371fi
25372SETFILE=$ac_cv_prog_SETFILE
25373if test -n "$SETFILE"; then
25374 echo "$as_me:$LINENO: result: $SETFILE" >&5
25375echo "${ECHO_T}$SETFILE" >&6
25376else
25377 echo "$as_me:$LINENO: result: no" >&5
25378echo "${ECHO_T}no" >&6
25379fi
25380
25381 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25382 MACSETFILE="\$(SETFILE)"
25383 MACRESWXCONFIG="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25384else
25385 if test "$wxUSE_PM" = 1; then
25386 MACRESCOMP="emxbind -ep"
25387 fi
25388fi
25389
25390
25391echo "$as_me:$LINENO: checking for mode_t" >&5
25392echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25393if test "${ac_cv_type_mode_t+set}" = set; then
25394 echo $ECHO_N "(cached) $ECHO_C" >&6
25395else
25396 cat >conftest.$ac_ext <<_ACEOF
25397#line $LINENO "configure"
25398/* confdefs.h. */
25399_ACEOF
25400cat confdefs.h >>conftest.$ac_ext
25401cat >>conftest.$ac_ext <<_ACEOF
25402/* end confdefs.h. */
25403$ac_includes_default
25404int
25405main ()
25406{
25407if ((mode_t *) 0)
25408 return 0;
25409if (sizeof (mode_t))
25410 return 0;
25411 ;
25412 return 0;
25413}
25414_ACEOF
25415rm -f conftest.$ac_objext
25416if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25417 (eval $ac_compile) 2>&5
25418 ac_status=$?
25419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25420 (exit $ac_status); } &&
25421 { ac_try='test -s conftest.$ac_objext'
25422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25423 (eval $ac_try) 2>&5
25424 ac_status=$?
25425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25426 (exit $ac_status); }; }; then
25427 ac_cv_type_mode_t=yes
25428else
25429 echo "$as_me: failed program was:" >&5
25430sed 's/^/| /' conftest.$ac_ext >&5
25431
25432ac_cv_type_mode_t=no
25433fi
25434rm -f conftest.$ac_objext conftest.$ac_ext
25435fi
25436echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25437echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25438if test $ac_cv_type_mode_t = yes; then
25439 :
25440else
25441
25442cat >>confdefs.h <<_ACEOF
25443#define mode_t int
25444_ACEOF
25445
25446fi
25447
25448echo "$as_me:$LINENO: checking for off_t" >&5
25449echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25450if test "${ac_cv_type_off_t+set}" = set; then
25451 echo $ECHO_N "(cached) $ECHO_C" >&6
25452else
25453 cat >conftest.$ac_ext <<_ACEOF
25454#line $LINENO "configure"
25455/* confdefs.h. */
25456_ACEOF
25457cat confdefs.h >>conftest.$ac_ext
25458cat >>conftest.$ac_ext <<_ACEOF
25459/* end confdefs.h. */
25460$ac_includes_default
25461int
25462main ()
25463{
25464if ((off_t *) 0)
25465 return 0;
25466if (sizeof (off_t))
25467 return 0;
25468 ;
25469 return 0;
25470}
25471_ACEOF
25472rm -f conftest.$ac_objext
25473if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25474 (eval $ac_compile) 2>&5
25475 ac_status=$?
25476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25477 (exit $ac_status); } &&
25478 { ac_try='test -s conftest.$ac_objext'
25479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25480 (eval $ac_try) 2>&5
25481 ac_status=$?
25482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25483 (exit $ac_status); }; }; then
25484 ac_cv_type_off_t=yes
25485else
25486 echo "$as_me: failed program was:" >&5
25487sed 's/^/| /' conftest.$ac_ext >&5
25488
25489ac_cv_type_off_t=no
25490fi
25491rm -f conftest.$ac_objext conftest.$ac_ext
25492fi
25493echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25494echo "${ECHO_T}$ac_cv_type_off_t" >&6
25495if test $ac_cv_type_off_t = yes; then
25496 :
25497else
25498
25499cat >>confdefs.h <<_ACEOF
25500#define off_t long
25501_ACEOF
25502
25503fi
25504
25505echo "$as_me:$LINENO: checking for pid_t" >&5
25506echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25507if test "${ac_cv_type_pid_t+set}" = set; then
25508 echo $ECHO_N "(cached) $ECHO_C" >&6
25509else
25510 cat >conftest.$ac_ext <<_ACEOF
25511#line $LINENO "configure"
25512/* confdefs.h. */
25513_ACEOF
25514cat confdefs.h >>conftest.$ac_ext
25515cat >>conftest.$ac_ext <<_ACEOF
25516/* end confdefs.h. */
25517$ac_includes_default
25518int
25519main ()
25520{
25521if ((pid_t *) 0)
25522 return 0;
25523if (sizeof (pid_t))
25524 return 0;
25525 ;
25526 return 0;
25527}
25528_ACEOF
25529rm -f conftest.$ac_objext
25530if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25531 (eval $ac_compile) 2>&5
25532 ac_status=$?
25533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25534 (exit $ac_status); } &&
25535 { ac_try='test -s conftest.$ac_objext'
25536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25537 (eval $ac_try) 2>&5
25538 ac_status=$?
25539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25540 (exit $ac_status); }; }; then
25541 ac_cv_type_pid_t=yes
25542else
25543 echo "$as_me: failed program was:" >&5
25544sed 's/^/| /' conftest.$ac_ext >&5
25545
25546ac_cv_type_pid_t=no
25547fi
25548rm -f conftest.$ac_objext conftest.$ac_ext
25549fi
25550echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25551echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25552if test $ac_cv_type_pid_t = yes; then
25553 :
25554else
25555
25556cat >>confdefs.h <<_ACEOF
25557#define pid_t int
25558_ACEOF
25559
25560fi
25561
25562echo "$as_me:$LINENO: checking for size_t" >&5
25563echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25564if test "${ac_cv_type_size_t+set}" = set; then
25565 echo $ECHO_N "(cached) $ECHO_C" >&6
25566else
25567 cat >conftest.$ac_ext <<_ACEOF
25568#line $LINENO "configure"
25569/* confdefs.h. */
25570_ACEOF
25571cat confdefs.h >>conftest.$ac_ext
25572cat >>conftest.$ac_ext <<_ACEOF
25573/* end confdefs.h. */
25574$ac_includes_default
25575int
25576main ()
25577{
25578if ((size_t *) 0)
25579 return 0;
25580if (sizeof (size_t))
25581 return 0;
25582 ;
25583 return 0;
25584}
25585_ACEOF
25586rm -f conftest.$ac_objext
25587if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25588 (eval $ac_compile) 2>&5
25589 ac_status=$?
25590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25591 (exit $ac_status); } &&
25592 { ac_try='test -s conftest.$ac_objext'
25593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25594 (eval $ac_try) 2>&5
25595 ac_status=$?
25596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25597 (exit $ac_status); }; }; then
25598 ac_cv_type_size_t=yes
25599else
25600 echo "$as_me: failed program was:" >&5
25601sed 's/^/| /' conftest.$ac_ext >&5
25602
25603ac_cv_type_size_t=no
25604fi
25605rm -f conftest.$ac_objext conftest.$ac_ext
25606fi
25607echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25608echo "${ECHO_T}$ac_cv_type_size_t" >&6
25609if test $ac_cv_type_size_t = yes; then
25610 :
25611else
25612
25613cat >>confdefs.h <<_ACEOF
25614#define size_t unsigned
25615_ACEOF
25616
25617fi
25618
25619echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25620echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25621if test "${ac_cv_type_uid_t+set}" = set; then
25622 echo $ECHO_N "(cached) $ECHO_C" >&6
25623else
25624 cat >conftest.$ac_ext <<_ACEOF
25625#line $LINENO "configure"
25626/* confdefs.h. */
25627_ACEOF
25628cat confdefs.h >>conftest.$ac_ext
25629cat >>conftest.$ac_ext <<_ACEOF
25630/* end confdefs.h. */
25631#include <sys/types.h>
25632
25633_ACEOF
25634if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25635 $EGREP "uid_t" >/dev/null 2>&1; then
25636 ac_cv_type_uid_t=yes
25637else
25638 ac_cv_type_uid_t=no
25639fi
25640rm -f conftest*
25641
25642fi
25643echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25644echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25645if test $ac_cv_type_uid_t = no; then
25646
25647cat >>confdefs.h <<\_ACEOF
25648#define uid_t int
25649_ACEOF
25650
25651
25652cat >>confdefs.h <<\_ACEOF
25653#define gid_t int
25654_ACEOF
25655
25656fi
25657
25658
25659
25660
25661ac_ext=cc
25662ac_cpp='$CXXCPP $CPPFLAGS'
25663ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25664ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25665ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25666
25667echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25668echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25669if test "${wx_cv_size_t_is_uint+set}" = set; then
25670 echo $ECHO_N "(cached) $ECHO_C" >&6
25671else
25672
25673 cat >conftest.$ac_ext <<_ACEOF
25674#line $LINENO "configure"
25675/* confdefs.h. */
25676_ACEOF
25677cat confdefs.h >>conftest.$ac_ext
25678cat >>conftest.$ac_ext <<_ACEOF
25679/* end confdefs.h. */
25680#include <stddef.h>
25681int
25682main ()
25683{
25684
25685 return 0; }
25686
25687 struct Foo { void foo(size_t); void foo(unsigned int); };
25688
25689 int bar() {
25690
25691 ;
25692 return 0;
25693}
25694_ACEOF
25695rm -f conftest.$ac_objext
25696if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25697 (eval $ac_compile) 2>&5
25698 ac_status=$?
25699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25700 (exit $ac_status); } &&
25701 { ac_try='test -s conftest.$ac_objext'
25702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25703 (eval $ac_try) 2>&5
25704 ac_status=$?
25705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25706 (exit $ac_status); }; }; then
25707 wx_cv_size_t_is_uint=no
25708else
25709 echo "$as_me: failed program was:" >&5
25710sed 's/^/| /' conftest.$ac_ext >&5
25711
25712wx_cv_size_t_is_uint=yes
25713
25714fi
25715rm -f conftest.$ac_objext conftest.$ac_ext
25716
25717
25718fi
25719echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
25720echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
25721
25722if test "$wx_cv_size_t_is_uint" = "yes"; then
25723 cat >>confdefs.h <<\_ACEOF
25724#define wxSIZE_T_IS_UINT 1
25725_ACEOF
25726
25727else
25728 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
25729echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
25730if test "${wx_cv_size_t_is_ulong+set}" = set; then
25731 echo $ECHO_N "(cached) $ECHO_C" >&6
25732else
25733 cat >conftest.$ac_ext <<_ACEOF
25734#line $LINENO "configure"
25735/* confdefs.h. */
25736_ACEOF
25737cat confdefs.h >>conftest.$ac_ext
25738cat >>conftest.$ac_ext <<_ACEOF
25739/* end confdefs.h. */
25740#include <stddef.h>
25741int
25742main ()
25743{
25744
25745 return 0; }
25746
25747 struct Foo { void foo(size_t); void foo(unsigned long); };
25748
25749 int bar() {
25750
25751 ;
25752 return 0;
25753}
25754_ACEOF
25755rm -f conftest.$ac_objext
25756if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25757 (eval $ac_compile) 2>&5
25758 ac_status=$?
25759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25760 (exit $ac_status); } &&
25761 { ac_try='test -s conftest.$ac_objext'
25762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25763 (eval $ac_try) 2>&5
25764 ac_status=$?
25765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25766 (exit $ac_status); }; }; then
25767 wx_cv_size_t_is_ulong=no
25768else
25769 echo "$as_me: failed program was:" >&5
25770sed 's/^/| /' conftest.$ac_ext >&5
25771
25772wx_cv_size_t_is_ulong=yes
25773
25774fi
25775rm -f conftest.$ac_objext conftest.$ac_ext
25776
25777fi
25778echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
25779echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
25780
25781 if test "$wx_cv_size_t_is_ulong" = "yes"; then
25782 cat >>confdefs.h <<\_ACEOF
25783#define wxSIZE_T_IS_ULONG 1
25784_ACEOF
25785
25786 fi
25787fi
25788
25789ac_ext=c
25790ac_cpp='$CPP $CPPFLAGS'
25791ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25792ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25793ac_compiler_gnu=$ac_cv_c_compiler_gnu
25794
25795
25796
25797echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
25798echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
25799if test "${wx_cv_struct_pw_gecos+set}" = set; then
25800 echo $ECHO_N "(cached) $ECHO_C" >&6
25801else
25802
25803 cat >conftest.$ac_ext <<_ACEOF
25804#line $LINENO "configure"
25805/* confdefs.h. */
25806_ACEOF
25807cat confdefs.h >>conftest.$ac_ext
25808cat >>conftest.$ac_ext <<_ACEOF
25809/* end confdefs.h. */
25810#include <pwd.h>
25811int
25812main ()
25813{
25814
25815 char *p;
25816 struct passwd *pw;
25817 p = pw->pw_gecos;
25818
25819 ;
25820 return 0;
25821}
25822_ACEOF
25823rm -f conftest.$ac_objext
25824if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25825 (eval $ac_compile) 2>&5
25826 ac_status=$?
25827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25828 (exit $ac_status); } &&
25829 { ac_try='test -s conftest.$ac_objext'
25830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25831 (eval $ac_try) 2>&5
25832 ac_status=$?
25833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25834 (exit $ac_status); }; }; then
25835
25836 wx_cv_struct_pw_gecos=yes
25837
25838else
25839 echo "$as_me: failed program was:" >&5
25840sed 's/^/| /' conftest.$ac_ext >&5
25841
25842
25843 wx_cv_struct_pw_gecos=no
25844
25845
25846fi
25847rm -f conftest.$ac_objext conftest.$ac_ext
25848
25849
25850fi
25851echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
25852echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
25853
25854if test "$wx_cv_struct_pw_gecos" = "yes"; then
25855 cat >>confdefs.h <<\_ACEOF
25856#define HAVE_PW_GECOS 1
25857_ACEOF
25858
25859fi
25860
25861
25862if test "$wx_cv_sizeof_wchar_t" != "0"; then
25863 cat >>confdefs.h <<\_ACEOF
25864#define wxUSE_WCHAR_T 1
25865_ACEOF
25866
25867
25868 WCSLEN_FOUND=0
25869 WCHAR_LINK=
25870
25871for ac_func in wcslen
25872do
25873as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25874echo "$as_me:$LINENO: checking for $ac_func" >&5
25875echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25876if eval "test \"\${$as_ac_var+set}\" = set"; then
25877 echo $ECHO_N "(cached) $ECHO_C" >&6
25878else
25879 cat >conftest.$ac_ext <<_ACEOF
25880#line $LINENO "configure"
25881/* confdefs.h. */
25882_ACEOF
25883cat confdefs.h >>conftest.$ac_ext
25884cat >>conftest.$ac_ext <<_ACEOF
25885/* end confdefs.h. */
25886/* System header to define __stub macros and hopefully few prototypes,
25887 which can conflict with char $ac_func (); below.
25888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25889 <limits.h> exists even on freestanding compilers. */
25890#ifdef __STDC__
25891# include <limits.h>
25892#else
25893# include <assert.h>
25894#endif
25895/* Override any gcc2 internal prototype to avoid an error. */
25896#ifdef __cplusplus
25897extern "C"
25898{
25899#endif
25900/* We use char because int might match the return type of a gcc2
25901 builtin and then its argument prototype would still apply. */
25902char $ac_func ();
25903/* The GNU C library defines this for functions which it implements
25904 to always fail with ENOSYS. Some functions are actually named
25905 something starting with __ and the normal name is an alias. */
25906#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25907choke me
25908#else
25909char (*f) () = $ac_func;
25910#endif
25911#ifdef __cplusplus
25912}
25913#endif
25914
25915int
25916main ()
25917{
25918return f != $ac_func;
25919 ;
25920 return 0;
25921}
25922_ACEOF
25923rm -f conftest.$ac_objext conftest$ac_exeext
25924if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25925 (eval $ac_link) 2>&5
25926 ac_status=$?
25927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25928 (exit $ac_status); } &&
25929 { ac_try='test -s conftest$ac_exeext'
25930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25931 (eval $ac_try) 2>&5
25932 ac_status=$?
25933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25934 (exit $ac_status); }; }; then
25935 eval "$as_ac_var=yes"
25936else
25937 echo "$as_me: failed program was:" >&5
25938sed 's/^/| /' conftest.$ac_ext >&5
25939
25940eval "$as_ac_var=no"
25941fi
25942rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25943fi
25944echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25945echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25946if test `eval echo '${'$as_ac_var'}'` = yes; then
25947 cat >>confdefs.h <<_ACEOF
25948#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25949_ACEOF
25950 WCSLEN_FOUND=1
25951fi
25952done
25953
25954
25955 if test "$WCSLEN_FOUND" = 0; then
25956 if test "$TOOLKIT" = "MSW"; then
25957 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
25958echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
25959if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
25960 echo $ECHO_N "(cached) $ECHO_C" >&6
25961else
25962 ac_check_lib_save_LIBS=$LIBS
25963LIBS="-lmsvcrt $LIBS"
25964cat >conftest.$ac_ext <<_ACEOF
25965#line $LINENO "configure"
25966/* confdefs.h. */
25967_ACEOF
25968cat confdefs.h >>conftest.$ac_ext
25969cat >>conftest.$ac_ext <<_ACEOF
25970/* end confdefs.h. */
25971
25972/* Override any gcc2 internal prototype to avoid an error. */
25973#ifdef __cplusplus
25974extern "C"
25975#endif
25976/* We use char because int might match the return type of a gcc2
25977 builtin and then its argument prototype would still apply. */
25978char wcslen ();
25979int
25980main ()
25981{
25982wcslen ();
25983 ;
25984 return 0;
25985}
25986_ACEOF
25987rm -f conftest.$ac_objext conftest$ac_exeext
25988if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25989 (eval $ac_link) 2>&5
25990 ac_status=$?
25991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25992 (exit $ac_status); } &&
25993 { ac_try='test -s conftest$ac_exeext'
25994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25995 (eval $ac_try) 2>&5
25996 ac_status=$?
25997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25998 (exit $ac_status); }; }; then
25999 ac_cv_lib_msvcrt_wcslen=yes
26000else
26001 echo "$as_me: failed program was:" >&5
26002sed 's/^/| /' conftest.$ac_ext >&5
26003
26004ac_cv_lib_msvcrt_wcslen=no
26005fi
26006rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26007LIBS=$ac_check_lib_save_LIBS
26008fi
26009echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26010echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26011if test $ac_cv_lib_msvcrt_wcslen = yes; then
26012 WCHAR_OK=1
26013fi
26014
26015 else
26016 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26017echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26018if test "${ac_cv_lib_w_wcslen+set}" = set; then
26019 echo $ECHO_N "(cached) $ECHO_C" >&6
26020else
26021 ac_check_lib_save_LIBS=$LIBS
26022LIBS="-lw $LIBS"
26023cat >conftest.$ac_ext <<_ACEOF
26024#line $LINENO "configure"
26025/* confdefs.h. */
26026_ACEOF
26027cat confdefs.h >>conftest.$ac_ext
26028cat >>conftest.$ac_ext <<_ACEOF
26029/* end confdefs.h. */
26030
26031/* Override any gcc2 internal prototype to avoid an error. */
26032#ifdef __cplusplus
26033extern "C"
26034#endif
26035/* We use char because int might match the return type of a gcc2
26036 builtin and then its argument prototype would still apply. */
26037char wcslen ();
26038int
26039main ()
26040{
26041wcslen ();
26042 ;
26043 return 0;
26044}
26045_ACEOF
26046rm -f conftest.$ac_objext conftest$ac_exeext
26047if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26048 (eval $ac_link) 2>&5
26049 ac_status=$?
26050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26051 (exit $ac_status); } &&
26052 { ac_try='test -s conftest$ac_exeext'
26053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26054 (eval $ac_try) 2>&5
26055 ac_status=$?
26056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26057 (exit $ac_status); }; }; then
26058 ac_cv_lib_w_wcslen=yes
26059else
26060 echo "$as_me: failed program was:" >&5
26061sed 's/^/| /' conftest.$ac_ext >&5
26062
26063ac_cv_lib_w_wcslen=no
26064fi
26065rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26066LIBS=$ac_check_lib_save_LIBS
26067fi
26068echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26069echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26070if test $ac_cv_lib_w_wcslen = yes; then
26071
26072 WCHAR_LINK=" -lw"
26073 WCSLEN_FOUND=1
26074
26075fi
26076
26077 fi
26078 fi
26079
26080 if test "$WCSLEN_FOUND" = 1; then
26081 cat >>confdefs.h <<\_ACEOF
26082#define HAVE_WCSLEN 1
26083_ACEOF
26084
26085 fi
26086
26087
26088for ac_func in wcsrtombs
26089do
26090as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26091echo "$as_me:$LINENO: checking for $ac_func" >&5
26092echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26093if eval "test \"\${$as_ac_var+set}\" = set"; then
26094 echo $ECHO_N "(cached) $ECHO_C" >&6
26095else
26096 cat >conftest.$ac_ext <<_ACEOF
26097#line $LINENO "configure"
26098/* confdefs.h. */
26099_ACEOF
26100cat confdefs.h >>conftest.$ac_ext
26101cat >>conftest.$ac_ext <<_ACEOF
26102/* end confdefs.h. */
26103/* System header to define __stub macros and hopefully few prototypes,
26104 which can conflict with char $ac_func (); below.
26105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26106 <limits.h> exists even on freestanding compilers. */
26107#ifdef __STDC__
26108# include <limits.h>
26109#else
26110# include <assert.h>
26111#endif
26112/* Override any gcc2 internal prototype to avoid an error. */
26113#ifdef __cplusplus
26114extern "C"
26115{
26116#endif
26117/* We use char because int might match the return type of a gcc2
26118 builtin and then its argument prototype would still apply. */
26119char $ac_func ();
26120/* The GNU C library defines this for functions which it implements
26121 to always fail with ENOSYS. Some functions are actually named
26122 something starting with __ and the normal name is an alias. */
26123#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26124choke me
26125#else
26126char (*f) () = $ac_func;
26127#endif
26128#ifdef __cplusplus
26129}
26130#endif
26131
26132int
26133main ()
26134{
26135return f != $ac_func;
26136 ;
26137 return 0;
26138}
26139_ACEOF
26140rm -f conftest.$ac_objext conftest$ac_exeext
26141if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26142 (eval $ac_link) 2>&5
26143 ac_status=$?
26144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26145 (exit $ac_status); } &&
26146 { ac_try='test -s conftest$ac_exeext'
26147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26148 (eval $ac_try) 2>&5
26149 ac_status=$?
26150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26151 (exit $ac_status); }; }; then
26152 eval "$as_ac_var=yes"
26153else
26154 echo "$as_me: failed program was:" >&5
26155sed 's/^/| /' conftest.$ac_ext >&5
26156
26157eval "$as_ac_var=no"
26158fi
26159rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26160fi
26161echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26162echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26163if test `eval echo '${'$as_ac_var'}'` = yes; then
26164 cat >>confdefs.h <<_ACEOF
26165#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26166_ACEOF
26167
26168fi
26169done
26170
26171else
26172 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26173echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26174fi
26175
26176
26177
26178ac_ext=cc
26179ac_cpp='$CXXCPP $CPPFLAGS'
26180ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26181ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26182ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26183
26184
26185
26186for ac_func in vsnprintf
26187do
26188as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26189echo "$as_me:$LINENO: checking for $ac_func" >&5
26190echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26191if eval "test \"\${$as_ac_var+set}\" = set"; then
26192 echo $ECHO_N "(cached) $ECHO_C" >&6
26193else
26194 cat >conftest.$ac_ext <<_ACEOF
26195#line $LINENO "configure"
26196/* confdefs.h. */
26197_ACEOF
26198cat confdefs.h >>conftest.$ac_ext
26199cat >>conftest.$ac_ext <<_ACEOF
26200/* end confdefs.h. */
26201/* System header to define __stub macros and hopefully few prototypes,
26202 which can conflict with char $ac_func (); below.
26203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26204 <limits.h> exists even on freestanding compilers. */
26205#ifdef __STDC__
26206# include <limits.h>
26207#else
26208# include <assert.h>
26209#endif
26210/* Override any gcc2 internal prototype to avoid an error. */
26211#ifdef __cplusplus
26212extern "C"
26213{
26214#endif
26215/* We use char because int might match the return type of a gcc2
26216 builtin and then its argument prototype would still apply. */
26217char $ac_func ();
26218/* The GNU C library defines this for functions which it implements
26219 to always fail with ENOSYS. Some functions are actually named
26220 something starting with __ and the normal name is an alias. */
26221#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26222choke me
26223#else
26224char (*f) () = $ac_func;
26225#endif
26226#ifdef __cplusplus
26227}
26228#endif
26229
26230int
26231main ()
26232{
26233return f != $ac_func;
26234 ;
26235 return 0;
26236}
26237_ACEOF
26238rm -f conftest.$ac_objext conftest$ac_exeext
26239if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26240 (eval $ac_link) 2>&5
26241 ac_status=$?
26242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26243 (exit $ac_status); } &&
26244 { ac_try='test -s conftest$ac_exeext'
26245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26246 (eval $ac_try) 2>&5
26247 ac_status=$?
26248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26249 (exit $ac_status); }; }; then
26250 eval "$as_ac_var=yes"
26251else
26252 echo "$as_me: failed program was:" >&5
26253sed 's/^/| /' conftest.$ac_ext >&5
26254
26255eval "$as_ac_var=no"
26256fi
26257rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26258fi
26259echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26260echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26261if test `eval echo '${'$as_ac_var'}'` = yes; then
26262 cat >>confdefs.h <<_ACEOF
26263#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26264_ACEOF
26265
26266fi
26267done
26268
26269
26270if test "$ac_cv_func_vsnprintf" = "yes"; then
26271 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26272echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26273if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26274 echo $ECHO_N "(cached) $ECHO_C" >&6
26275else
26276
26277 cat >conftest.$ac_ext <<_ACEOF
26278#line $LINENO "configure"
26279/* confdefs.h. */
26280_ACEOF
26281cat confdefs.h >>conftest.$ac_ext
26282cat >>conftest.$ac_ext <<_ACEOF
26283/* end confdefs.h. */
26284
26285 #include <stdio.h>
26286 #include <stdarg.h>
26287
26288int
26289main ()
26290{
26291
26292 char *buf;
26293 va_list ap;
26294 vsnprintf(buf, 10u, "%s", ap);
26295
26296 ;
26297 return 0;
26298}
26299_ACEOF
26300rm -f conftest.$ac_objext
26301if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26302 (eval $ac_compile) 2>&5
26303 ac_status=$?
26304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26305 (exit $ac_status); } &&
26306 { ac_try='test -s conftest.$ac_objext'
26307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26308 (eval $ac_try) 2>&5
26309 ac_status=$?
26310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26311 (exit $ac_status); }; }; then
26312 wx_cv_func_vsnprintf_decl=yes
26313else
26314 echo "$as_me: failed program was:" >&5
26315sed 's/^/| /' conftest.$ac_ext >&5
26316
26317wx_cv_func_vsnprintf_decl=no
26318
26319fi
26320rm -f conftest.$ac_objext conftest.$ac_ext
26321
26322
26323fi
26324echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26325echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26326
26327 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26328 cat >>confdefs.h <<\_ACEOF
26329#define HAVE_VSNPRINTF_DECL 1
26330_ACEOF
26331
26332 fi
26333fi
26334
26335if test "$wxUSE_UNICODE" = yes; then
26336
26337
26338
26339for ac_func in fputwc wprintf vswprintf
26340do
26341as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26342echo "$as_me:$LINENO: checking for $ac_func" >&5
26343echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26344if eval "test \"\${$as_ac_var+set}\" = set"; then
26345 echo $ECHO_N "(cached) $ECHO_C" >&6
26346else
26347 cat >conftest.$ac_ext <<_ACEOF
26348#line $LINENO "configure"
26349/* confdefs.h. */
26350_ACEOF
26351cat confdefs.h >>conftest.$ac_ext
26352cat >>conftest.$ac_ext <<_ACEOF
26353/* end confdefs.h. */
26354/* System header to define __stub macros and hopefully few prototypes,
26355 which can conflict with char $ac_func (); below.
26356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26357 <limits.h> exists even on freestanding compilers. */
26358#ifdef __STDC__
26359# include <limits.h>
26360#else
26361# include <assert.h>
26362#endif
26363/* Override any gcc2 internal prototype to avoid an error. */
26364#ifdef __cplusplus
26365extern "C"
26366{
26367#endif
26368/* We use char because int might match the return type of a gcc2
26369 builtin and then its argument prototype would still apply. */
26370char $ac_func ();
26371/* The GNU C library defines this for functions which it implements
26372 to always fail with ENOSYS. Some functions are actually named
26373 something starting with __ and the normal name is an alias. */
26374#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26375choke me
26376#else
26377char (*f) () = $ac_func;
26378#endif
26379#ifdef __cplusplus
26380}
26381#endif
26382
26383int
26384main ()
26385{
26386return f != $ac_func;
26387 ;
26388 return 0;
26389}
26390_ACEOF
26391rm -f conftest.$ac_objext conftest$ac_exeext
26392if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26393 (eval $ac_link) 2>&5
26394 ac_status=$?
26395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26396 (exit $ac_status); } &&
26397 { ac_try='test -s conftest$ac_exeext'
26398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26399 (eval $ac_try) 2>&5
26400 ac_status=$?
26401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26402 (exit $ac_status); }; }; then
26403 eval "$as_ac_var=yes"
26404else
26405 echo "$as_me: failed program was:" >&5
26406sed 's/^/| /' conftest.$ac_ext >&5
26407
26408eval "$as_ac_var=no"
26409fi
26410rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26411fi
26412echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26413echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26414if test `eval echo '${'$as_ac_var'}'` = yes; then
26415 cat >>confdefs.h <<_ACEOF
26416#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26417_ACEOF
26418
26419fi
26420done
26421
26422
26423 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26424echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26425 cat >conftest.$ac_ext <<_ACEOF
26426#line $LINENO "configure"
26427/* confdefs.h. */
26428_ACEOF
26429cat confdefs.h >>conftest.$ac_ext
26430cat >>conftest.$ac_ext <<_ACEOF
26431/* end confdefs.h. */
26432#include <wchar.h>
26433int
26434main ()
26435{
26436&_vsnwprintf;
26437 ;
26438 return 0;
26439}
26440_ACEOF
26441rm -f conftest.$ac_objext
26442if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26443 (eval $ac_compile) 2>&5
26444 ac_status=$?
26445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26446 (exit $ac_status); } &&
26447 { ac_try='test -s conftest.$ac_objext'
26448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26449 (eval $ac_try) 2>&5
26450 ac_status=$?
26451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26452 (exit $ac_status); }; }; then
26453 echo "$as_me:$LINENO: result: yes" >&5
26454echo "${ECHO_T}yes" >&6
26455 cat >>confdefs.h <<\_ACEOF
26456#define HAVE__VSNWPRINTF 1
26457_ACEOF
26458
26459else
26460 echo "$as_me: failed program was:" >&5
26461sed 's/^/| /' conftest.$ac_ext >&5
26462
26463echo "$as_me:$LINENO: result: no" >&5
26464echo "${ECHO_T}no" >&6
26465fi
26466rm -f conftest.$ac_objext conftest.$ac_ext;
26467fi
26468
26469ac_ext=c
26470ac_cpp='$CPP $CPPFLAGS'
26471ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26472ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26473ac_compiler_gnu=$ac_cv_c_compiler_gnu
26474
26475
26476
26477
26478if test "$TOOLKIT" != "MSW"; then
26479
26480
26481
26482
26483ac_ext=cc
26484ac_cpp='$CXXCPP $CPPFLAGS'
26485ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26486ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26487ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26488
26489
26490
26491
26492# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26493if test "${with_libiconv_prefix+set}" = set; then
26494 withval="$with_libiconv_prefix"
26495
26496 for dir in `echo "$withval" | tr : ' '`; do
26497 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
26498 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
26499 done
26500
26501fi;
26502
26503 echo "$as_me:$LINENO: checking for iconv" >&5
26504echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26505if test "${am_cv_func_iconv+set}" = set; then
26506 echo $ECHO_N "(cached) $ECHO_C" >&6
26507else
26508
26509 am_cv_func_iconv="no, consider installing GNU libiconv"
26510 am_cv_lib_iconv=no
26511 cat >conftest.$ac_ext <<_ACEOF
26512#line $LINENO "configure"
26513/* confdefs.h. */
26514_ACEOF
26515cat confdefs.h >>conftest.$ac_ext
26516cat >>conftest.$ac_ext <<_ACEOF
26517/* end confdefs.h. */
26518#include <stdlib.h>
26519#include <iconv.h>
26520int
26521main ()
26522{
26523iconv_t cd = iconv_open("","");
26524 iconv(cd,NULL,NULL,NULL,NULL);
26525 iconv_close(cd);
26526 ;
26527 return 0;
26528}
26529_ACEOF
26530rm -f conftest.$ac_objext conftest$ac_exeext
26531if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26532 (eval $ac_link) 2>&5
26533 ac_status=$?
26534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26535 (exit $ac_status); } &&
26536 { ac_try='test -s conftest$ac_exeext'
26537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26538 (eval $ac_try) 2>&5
26539 ac_status=$?
26540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26541 (exit $ac_status); }; }; then
26542 am_cv_func_iconv=yes
26543else
26544 echo "$as_me: failed program was:" >&5
26545sed 's/^/| /' conftest.$ac_ext >&5
26546
26547fi
26548rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26549 if test "$am_cv_func_iconv" != yes; then
26550 am_save_LIBS="$LIBS"
26551 LIBS="$LIBS -liconv"
26552 cat >conftest.$ac_ext <<_ACEOF
26553#line $LINENO "configure"
26554/* confdefs.h. */
26555_ACEOF
26556cat confdefs.h >>conftest.$ac_ext
26557cat >>conftest.$ac_ext <<_ACEOF
26558/* end confdefs.h. */
26559#include <stdlib.h>
26560#include <iconv.h>
26561int
26562main ()
26563{
26564iconv_t cd = iconv_open("","");
26565 iconv(cd,NULL,NULL,NULL,NULL);
26566 iconv_close(cd);
26567 ;
26568 return 0;
26569}
26570_ACEOF
26571rm -f conftest.$ac_objext conftest$ac_exeext
26572if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26573 (eval $ac_link) 2>&5
26574 ac_status=$?
26575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26576 (exit $ac_status); } &&
26577 { ac_try='test -s conftest$ac_exeext'
26578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26579 (eval $ac_try) 2>&5
26580 ac_status=$?
26581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26582 (exit $ac_status); }; }; then
26583 am_cv_lib_iconv=yes
26584 am_cv_func_iconv=yes
26585else
26586 echo "$as_me: failed program was:" >&5
26587sed 's/^/| /' conftest.$ac_ext >&5
26588
26589fi
26590rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26591 LIBS="$am_save_LIBS"
26592 fi
26593
26594fi
26595echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26596echo "${ECHO_T}$am_cv_func_iconv" >&6
26597 if test "$am_cv_func_iconv" = yes; then
26598
26599cat >>confdefs.h <<\_ACEOF
26600#define HAVE_ICONV 1
26601_ACEOF
26602
26603 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26604echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26605if test "${wx_cv_func_iconv_const+set}" = set; then
26606 echo $ECHO_N "(cached) $ECHO_C" >&6
26607else
26608 cat >conftest.$ac_ext <<_ACEOF
26609#line $LINENO "configure"
26610/* confdefs.h. */
26611_ACEOF
26612cat confdefs.h >>conftest.$ac_ext
26613cat >>conftest.$ac_ext <<_ACEOF
26614/* end confdefs.h. */
26615
26616#include <stdlib.h>
26617#include <iconv.h>
26618extern
26619#ifdef __cplusplus
26620"C"
26621#endif
26622#if defined(__STDC__) || defined(__cplusplus)
26623size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26624#else
26625size_t iconv();
26626#endif
26627
26628int
26629main ()
26630{
26631
26632 ;
26633 return 0;
26634}
26635_ACEOF
26636rm -f conftest.$ac_objext
26637if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26638 (eval $ac_compile) 2>&5
26639 ac_status=$?
26640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26641 (exit $ac_status); } &&
26642 { ac_try='test -s conftest.$ac_objext'
26643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26644 (eval $ac_try) 2>&5
26645 ac_status=$?
26646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26647 (exit $ac_status); }; }; then
26648 wx_cv_func_iconv_const="no"
26649else
26650 echo "$as_me: failed program was:" >&5
26651sed 's/^/| /' conftest.$ac_ext >&5
26652
26653wx_cv_func_iconv_const="yes"
26654
26655fi
26656rm -f conftest.$ac_objext conftest.$ac_ext
26657
26658fi
26659echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26660echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26661
26662 iconv_const=
26663 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26664 iconv_const="const"
26665 fi
26666
26667
26668cat >>confdefs.h <<_ACEOF
26669#define ICONV_CONST $iconv_const
26670_ACEOF
26671
26672 fi
26673 LIBICONV=
26674 if test "$am_cv_lib_iconv" = yes; then
26675 LIBICONV="-liconv"
26676 fi
26677
26678
26679LIBS="$LIBICONV $LIBS"
26680ac_ext=c
26681ac_cpp='$CPP $CPPFLAGS'
26682ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26683ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26684ac_compiler_gnu=$ac_cv_c_compiler_gnu
26685
26686
26687if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26688
26689for ac_func in sigaction
26690do
26691as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26692echo "$as_me:$LINENO: checking for $ac_func" >&5
26693echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26694if eval "test \"\${$as_ac_var+set}\" = set"; then
26695 echo $ECHO_N "(cached) $ECHO_C" >&6
26696else
26697 cat >conftest.$ac_ext <<_ACEOF
26698#line $LINENO "configure"
26699/* confdefs.h. */
26700_ACEOF
26701cat confdefs.h >>conftest.$ac_ext
26702cat >>conftest.$ac_ext <<_ACEOF
26703/* end confdefs.h. */
26704/* System header to define __stub macros and hopefully few prototypes,
26705 which can conflict with char $ac_func (); below.
26706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26707 <limits.h> exists even on freestanding compilers. */
26708#ifdef __STDC__
26709# include <limits.h>
26710#else
26711# include <assert.h>
26712#endif
26713/* Override any gcc2 internal prototype to avoid an error. */
26714#ifdef __cplusplus
26715extern "C"
26716{
26717#endif
26718/* We use char because int might match the return type of a gcc2
26719 builtin and then its argument prototype would still apply. */
26720char $ac_func ();
26721/* The GNU C library defines this for functions which it implements
26722 to always fail with ENOSYS. Some functions are actually named
26723 something starting with __ and the normal name is an alias. */
26724#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26725choke me
26726#else
26727char (*f) () = $ac_func;
26728#endif
26729#ifdef __cplusplus
26730}
26731#endif
26732
26733int
26734main ()
26735{
26736return f != $ac_func;
26737 ;
26738 return 0;
26739}
26740_ACEOF
26741rm -f conftest.$ac_objext conftest$ac_exeext
26742if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26743 (eval $ac_link) 2>&5
26744 ac_status=$?
26745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26746 (exit $ac_status); } &&
26747 { ac_try='test -s conftest$ac_exeext'
26748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26749 (eval $ac_try) 2>&5
26750 ac_status=$?
26751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26752 (exit $ac_status); }; }; then
26753 eval "$as_ac_var=yes"
26754else
26755 echo "$as_me: failed program was:" >&5
26756sed 's/^/| /' conftest.$ac_ext >&5
26757
26758eval "$as_ac_var=no"
26759fi
26760rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26761fi
26762echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26763echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26764if test `eval echo '${'$as_ac_var'}'` = yes; then
26765 cat >>confdefs.h <<_ACEOF
26766#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26767_ACEOF
26768
26769fi
26770done
26771
26772
26773 if test "$ac_cv_func_sigaction" = "no"; then
26774 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
26775echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
26776 wxUSE_ON_FATAL_EXCEPTION=no
26777 fi
26778
26779 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
26780
26781
26782 ac_ext=cc
26783ac_cpp='$CXXCPP $CPPFLAGS'
26784ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26785ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26786ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26787
26788
26789 echo "$as_me:$LINENO: checking for sa_handler type" >&5
26790echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
26791if test "${wx_cv_type_sa_handler+set}" = set; then
26792 echo $ECHO_N "(cached) $ECHO_C" >&6
26793else
26794
26795 cat >conftest.$ac_ext <<_ACEOF
26796#line $LINENO "configure"
26797/* confdefs.h. */
26798_ACEOF
26799cat confdefs.h >>conftest.$ac_ext
26800cat >>conftest.$ac_ext <<_ACEOF
26801/* end confdefs.h. */
26802#include <signal.h>
26803int
26804main ()
26805{
26806
26807 extern void testSigHandler(int);
26808
26809 struct sigaction sa;
26810 sa.sa_handler = testSigHandler;
26811
26812 ;
26813 return 0;
26814}
26815_ACEOF
26816rm -f conftest.$ac_objext
26817if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26818 (eval $ac_compile) 2>&5
26819 ac_status=$?
26820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26821 (exit $ac_status); } &&
26822 { ac_try='test -s conftest.$ac_objext'
26823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26824 (eval $ac_try) 2>&5
26825 ac_status=$?
26826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26827 (exit $ac_status); }; }; then
26828
26829 wx_cv_type_sa_handler=int
26830
26831else
26832 echo "$as_me: failed program was:" >&5
26833sed 's/^/| /' conftest.$ac_ext >&5
26834
26835
26836 wx_cv_type_sa_handler=void
26837
26838fi
26839rm -f conftest.$ac_objext conftest.$ac_ext
26840
26841fi
26842echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
26843echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
26844
26845 ac_ext=c
26846ac_cpp='$CPP $CPPFLAGS'
26847ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26848ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26849ac_compiler_gnu=$ac_cv_c_compiler_gnu
26850
26851
26852 cat >>confdefs.h <<_ACEOF
26853#define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
26854_ACEOF
26855
26856 fi
26857fi
26858
26859
26860
26861for ac_func in mkstemp mktemp
26862do
26863as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26864echo "$as_me:$LINENO: checking for $ac_func" >&5
26865echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26866if eval "test \"\${$as_ac_var+set}\" = set"; then
26867 echo $ECHO_N "(cached) $ECHO_C" >&6
26868else
26869 cat >conftest.$ac_ext <<_ACEOF
26870#line $LINENO "configure"
26871/* confdefs.h. */
26872_ACEOF
26873cat confdefs.h >>conftest.$ac_ext
26874cat >>conftest.$ac_ext <<_ACEOF
26875/* end confdefs.h. */
26876/* System header to define __stub macros and hopefully few prototypes,
26877 which can conflict with char $ac_func (); below.
26878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26879 <limits.h> exists even on freestanding compilers. */
26880#ifdef __STDC__
26881# include <limits.h>
26882#else
26883# include <assert.h>
26884#endif
26885/* Override any gcc2 internal prototype to avoid an error. */
26886#ifdef __cplusplus
26887extern "C"
26888{
26889#endif
26890/* We use char because int might match the return type of a gcc2
26891 builtin and then its argument prototype would still apply. */
26892char $ac_func ();
26893/* The GNU C library defines this for functions which it implements
26894 to always fail with ENOSYS. Some functions are actually named
26895 something starting with __ and the normal name is an alias. */
26896#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26897choke me
26898#else
26899char (*f) () = $ac_func;
26900#endif
26901#ifdef __cplusplus
26902}
26903#endif
26904
26905int
26906main ()
26907{
26908return f != $ac_func;
26909 ;
26910 return 0;
26911}
26912_ACEOF
26913rm -f conftest.$ac_objext conftest$ac_exeext
26914if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26915 (eval $ac_link) 2>&5
26916 ac_status=$?
26917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26918 (exit $ac_status); } &&
26919 { ac_try='test -s conftest$ac_exeext'
26920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26921 (eval $ac_try) 2>&5
26922 ac_status=$?
26923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26924 (exit $ac_status); }; }; then
26925 eval "$as_ac_var=yes"
26926else
26927 echo "$as_me: failed program was:" >&5
26928sed 's/^/| /' conftest.$ac_ext >&5
26929
26930eval "$as_ac_var=no"
26931fi
26932rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26933fi
26934echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26935echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26936if test `eval echo '${'$as_ac_var'}'` = yes; then
26937 cat >>confdefs.h <<_ACEOF
26938#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26939_ACEOF
26940 break
26941fi
26942done
26943
26944
26945echo "$as_me:$LINENO: checking for statfs" >&5
26946echo $ECHO_N "checking for statfs... $ECHO_C" >&6
26947if test "${wx_cv_func_statfs+set}" = set; then
26948 echo $ECHO_N "(cached) $ECHO_C" >&6
26949else
26950 cat >conftest.$ac_ext <<_ACEOF
26951#line $LINENO "configure"
26952/* confdefs.h. */
26953_ACEOF
26954cat confdefs.h >>conftest.$ac_ext
26955cat >>conftest.$ac_ext <<_ACEOF
26956/* end confdefs.h. */
26957
26958 #if defined(__BSD__)
26959 #include <sys/param.h>
26960 #include <sys/mount.h>
26961 #else
26962 #include <sys/vfs.h>
26963 #endif
26964
26965int
26966main ()
26967{
26968
26969 long l;
26970 struct statfs fs;
26971 statfs("/", &fs);
26972 l = fs.f_bsize;
26973 l += fs.f_blocks;
26974 l += fs.f_bavail;
26975
26976 ;
26977 return 0;
26978}
26979_ACEOF
26980rm -f conftest.$ac_objext
26981if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26982 (eval $ac_compile) 2>&5
26983 ac_status=$?
26984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26985 (exit $ac_status); } &&
26986 { ac_try='test -s conftest.$ac_objext'
26987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26988 (eval $ac_try) 2>&5
26989 ac_status=$?
26990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26991 (exit $ac_status); }; }; then
26992
26993 wx_cv_func_statfs=yes
26994
26995else
26996 echo "$as_me: failed program was:" >&5
26997sed 's/^/| /' conftest.$ac_ext >&5
26998
26999
27000 wx_cv_func_statfs=no
27001
27002
27003fi
27004rm -f conftest.$ac_objext conftest.$ac_ext
27005
27006fi
27007echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27008echo "${ECHO_T}$wx_cv_func_statfs" >&6
27009
27010if test "$wx_cv_func_statfs" = "yes"; then
27011 wx_cv_type_statvfs_t="struct statfs"
27012 cat >>confdefs.h <<\_ACEOF
27013#define HAVE_STATFS 1
27014_ACEOF
27015
27016else
27017 echo "$as_me:$LINENO: checking for statvfs" >&5
27018echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27019if test "${wx_cv_func_statvfs+set}" = set; then
27020 echo $ECHO_N "(cached) $ECHO_C" >&6
27021else
27022 cat >conftest.$ac_ext <<_ACEOF
27023#line $LINENO "configure"
27024/* confdefs.h. */
27025_ACEOF
27026cat confdefs.h >>conftest.$ac_ext
27027cat >>conftest.$ac_ext <<_ACEOF
27028/* end confdefs.h. */
27029
27030 #include <stddef.h>
27031 #include <sys/statvfs.h>
27032
27033int
27034main ()
27035{
27036
27037 statvfs("/", NULL);
27038
27039 ;
27040 return 0;
27041}
27042_ACEOF
27043rm -f conftest.$ac_objext
27044if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27045 (eval $ac_compile) 2>&5
27046 ac_status=$?
27047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27048 (exit $ac_status); } &&
27049 { ac_try='test -s conftest.$ac_objext'
27050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27051 (eval $ac_try) 2>&5
27052 ac_status=$?
27053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27054 (exit $ac_status); }; }; then
27055 wx_cv_func_statvfs=yes
27056else
27057 echo "$as_me: failed program was:" >&5
27058sed 's/^/| /' conftest.$ac_ext >&5
27059
27060wx_cv_func_statvfs=no
27061
27062fi
27063rm -f conftest.$ac_objext conftest.$ac_ext
27064
27065fi
27066echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27067echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27068
27069 if test "$wx_cv_func_statvfs" = "yes"; then
27070
27071
27072 ac_ext=cc
27073ac_cpp='$CXXCPP $CPPFLAGS'
27074ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27075ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27076ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27077
27078
27079 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27080echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27081if test "${wx_cv_type_statvfs_t+set}" = set; then
27082 echo $ECHO_N "(cached) $ECHO_C" >&6
27083else
27084 cat >conftest.$ac_ext <<_ACEOF
27085#line $LINENO "configure"
27086/* confdefs.h. */
27087_ACEOF
27088cat confdefs.h >>conftest.$ac_ext
27089cat >>conftest.$ac_ext <<_ACEOF
27090/* end confdefs.h. */
27091
27092 #include <sys/statvfs.h>
27093
27094int
27095main ()
27096{
27097
27098 long l;
27099 statvfs_t fs;
27100 statvfs("/", &fs);
27101 l = fs.f_bsize;
27102 l += fs.f_blocks;
27103 l += fs.f_bavail;
27104
27105 ;
27106 return 0;
27107}
27108_ACEOF
27109rm -f conftest.$ac_objext
27110if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27111 (eval $ac_compile) 2>&5
27112 ac_status=$?
27113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27114 (exit $ac_status); } &&
27115 { ac_try='test -s conftest.$ac_objext'
27116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27117 (eval $ac_try) 2>&5
27118 ac_status=$?
27119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27120 (exit $ac_status); }; }; then
27121 wx_cv_type_statvfs_t=statvfs_t
27122else
27123 echo "$as_me: failed program was:" >&5
27124sed 's/^/| /' conftest.$ac_ext >&5
27125
27126
27127 cat >conftest.$ac_ext <<_ACEOF
27128#line $LINENO "configure"
27129/* confdefs.h. */
27130_ACEOF
27131cat confdefs.h >>conftest.$ac_ext
27132cat >>conftest.$ac_ext <<_ACEOF
27133/* end confdefs.h. */
27134
27135 #include <sys/statvfs.h>
27136
27137int
27138main ()
27139{
27140
27141 long l;
27142 struct statvfs fs;
27143 statvfs("/", &fs);
27144 l = fs.f_bsize;
27145 l += fs.f_blocks;
27146 l += fs.f_bavail;
27147
27148 ;
27149 return 0;
27150}
27151_ACEOF
27152rm -f conftest.$ac_objext
27153if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27154 (eval $ac_compile) 2>&5
27155 ac_status=$?
27156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27157 (exit $ac_status); } &&
27158 { ac_try='test -s conftest.$ac_objext'
27159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27160 (eval $ac_try) 2>&5
27161 ac_status=$?
27162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27163 (exit $ac_status); }; }; then
27164 wx_cv_type_statvfs_t="struct statvfs"
27165else
27166 echo "$as_me: failed program was:" >&5
27167sed 's/^/| /' conftest.$ac_ext >&5
27168
27169wx_cv_type_statvfs_t="unknown"
27170
27171fi
27172rm -f conftest.$ac_objext conftest.$ac_ext
27173
27174
27175fi
27176rm -f conftest.$ac_objext conftest.$ac_ext
27177
27178fi
27179echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27180echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27181
27182 ac_ext=c
27183ac_cpp='$CPP $CPPFLAGS'
27184ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27185ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27186ac_compiler_gnu=$ac_cv_c_compiler_gnu
27187
27188
27189 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27190 cat >>confdefs.h <<\_ACEOF
27191#define HAVE_STATVFS 1
27192_ACEOF
27193
27194 fi
27195 else
27196 wx_cv_type_statvfs_t="unknown"
27197 fi
27198fi
27199
27200if test "$wx_cv_type_statvfs_t" != "unknown"; then
27201 cat >>confdefs.h <<_ACEOF
27202#define WX_STATFS_T $wx_cv_type_statvfs_t
27203_ACEOF
27204
27205else
27206 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27207echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27208fi
27209
27210if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27211
27212
27213for ac_func in fcntl flock
27214do
27215as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27216echo "$as_me:$LINENO: checking for $ac_func" >&5
27217echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27218if eval "test \"\${$as_ac_var+set}\" = set"; then
27219 echo $ECHO_N "(cached) $ECHO_C" >&6
27220else
27221 cat >conftest.$ac_ext <<_ACEOF
27222#line $LINENO "configure"
27223/* confdefs.h. */
27224_ACEOF
27225cat confdefs.h >>conftest.$ac_ext
27226cat >>conftest.$ac_ext <<_ACEOF
27227/* end confdefs.h. */
27228/* System header to define __stub macros and hopefully few prototypes,
27229 which can conflict with char $ac_func (); below.
27230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27231 <limits.h> exists even on freestanding compilers. */
27232#ifdef __STDC__
27233# include <limits.h>
27234#else
27235# include <assert.h>
27236#endif
27237/* Override any gcc2 internal prototype to avoid an error. */
27238#ifdef __cplusplus
27239extern "C"
27240{
27241#endif
27242/* We use char because int might match the return type of a gcc2
27243 builtin and then its argument prototype would still apply. */
27244char $ac_func ();
27245/* The GNU C library defines this for functions which it implements
27246 to always fail with ENOSYS. Some functions are actually named
27247 something starting with __ and the normal name is an alias. */
27248#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27249choke me
27250#else
27251char (*f) () = $ac_func;
27252#endif
27253#ifdef __cplusplus
27254}
27255#endif
27256
27257int
27258main ()
27259{
27260return f != $ac_func;
27261 ;
27262 return 0;
27263}
27264_ACEOF
27265rm -f conftest.$ac_objext conftest$ac_exeext
27266if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27267 (eval $ac_link) 2>&5
27268 ac_status=$?
27269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27270 (exit $ac_status); } &&
27271 { ac_try='test -s conftest$ac_exeext'
27272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27273 (eval $ac_try) 2>&5
27274 ac_status=$?
27275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27276 (exit $ac_status); }; }; then
27277 eval "$as_ac_var=yes"
27278else
27279 echo "$as_me: failed program was:" >&5
27280sed 's/^/| /' conftest.$ac_ext >&5
27281
27282eval "$as_ac_var=no"
27283fi
27284rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27285fi
27286echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27287echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27288if test `eval echo '${'$as_ac_var'}'` = yes; then
27289 cat >>confdefs.h <<_ACEOF
27290#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27291_ACEOF
27292 break
27293fi
27294done
27295
27296
27297 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27298 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27299echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27300 wxUSE_SNGLINST_CHECKER=no
27301 fi
27302fi
27303
27304
27305for ac_func in timegm
27306do
27307as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27308echo "$as_me:$LINENO: checking for $ac_func" >&5
27309echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27310if eval "test \"\${$as_ac_var+set}\" = set"; then
27311 echo $ECHO_N "(cached) $ECHO_C" >&6
27312else
27313 cat >conftest.$ac_ext <<_ACEOF
27314#line $LINENO "configure"
27315/* confdefs.h. */
27316_ACEOF
27317cat confdefs.h >>conftest.$ac_ext
27318cat >>conftest.$ac_ext <<_ACEOF
27319/* end confdefs.h. */
27320/* System header to define __stub macros and hopefully few prototypes,
27321 which can conflict with char $ac_func (); below.
27322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27323 <limits.h> exists even on freestanding compilers. */
27324#ifdef __STDC__
27325# include <limits.h>
27326#else
27327# include <assert.h>
27328#endif
27329/* Override any gcc2 internal prototype to avoid an error. */
27330#ifdef __cplusplus
27331extern "C"
27332{
27333#endif
27334/* We use char because int might match the return type of a gcc2
27335 builtin and then its argument prototype would still apply. */
27336char $ac_func ();
27337/* The GNU C library defines this for functions which it implements
27338 to always fail with ENOSYS. Some functions are actually named
27339 something starting with __ and the normal name is an alias. */
27340#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27341choke me
27342#else
27343char (*f) () = $ac_func;
27344#endif
27345#ifdef __cplusplus
27346}
27347#endif
27348
27349int
27350main ()
27351{
27352return f != $ac_func;
27353 ;
27354 return 0;
27355}
27356_ACEOF
27357rm -f conftest.$ac_objext conftest$ac_exeext
27358if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27359 (eval $ac_link) 2>&5
27360 ac_status=$?
27361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27362 (exit $ac_status); } &&
27363 { ac_try='test -s conftest$ac_exeext'
27364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27365 (eval $ac_try) 2>&5
27366 ac_status=$?
27367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27368 (exit $ac_status); }; }; then
27369 eval "$as_ac_var=yes"
27370else
27371 echo "$as_me: failed program was:" >&5
27372sed 's/^/| /' conftest.$ac_ext >&5
27373
27374eval "$as_ac_var=no"
27375fi
27376rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27377fi
27378echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27379echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27380if test `eval echo '${'$as_ac_var'}'` = yes; then
27381 cat >>confdefs.h <<_ACEOF
27382#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27383_ACEOF
27384
27385fi
27386done
27387
27388
27389
27390
27391for ac_func in putenv setenv
27392do
27393as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27394echo "$as_me:$LINENO: checking for $ac_func" >&5
27395echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27396if eval "test \"\${$as_ac_var+set}\" = set"; then
27397 echo $ECHO_N "(cached) $ECHO_C" >&6
27398else
27399 cat >conftest.$ac_ext <<_ACEOF
27400#line $LINENO "configure"
27401/* confdefs.h. */
27402_ACEOF
27403cat confdefs.h >>conftest.$ac_ext
27404cat >>conftest.$ac_ext <<_ACEOF
27405/* end confdefs.h. */
27406/* System header to define __stub macros and hopefully few prototypes,
27407 which can conflict with char $ac_func (); below.
27408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27409 <limits.h> exists even on freestanding compilers. */
27410#ifdef __STDC__
27411# include <limits.h>
27412#else
27413# include <assert.h>
27414#endif
27415/* Override any gcc2 internal prototype to avoid an error. */
27416#ifdef __cplusplus
27417extern "C"
27418{
27419#endif
27420/* We use char because int might match the return type of a gcc2
27421 builtin and then its argument prototype would still apply. */
27422char $ac_func ();
27423/* The GNU C library defines this for functions which it implements
27424 to always fail with ENOSYS. Some functions are actually named
27425 something starting with __ and the normal name is an alias. */
27426#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27427choke me
27428#else
27429char (*f) () = $ac_func;
27430#endif
27431#ifdef __cplusplus
27432}
27433#endif
27434
27435int
27436main ()
27437{
27438return f != $ac_func;
27439 ;
27440 return 0;
27441}
27442_ACEOF
27443rm -f conftest.$ac_objext conftest$ac_exeext
27444if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27445 (eval $ac_link) 2>&5
27446 ac_status=$?
27447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27448 (exit $ac_status); } &&
27449 { ac_try='test -s conftest$ac_exeext'
27450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27451 (eval $ac_try) 2>&5
27452 ac_status=$?
27453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27454 (exit $ac_status); }; }; then
27455 eval "$as_ac_var=yes"
27456else
27457 echo "$as_me: failed program was:" >&5
27458sed 's/^/| /' conftest.$ac_ext >&5
27459
27460eval "$as_ac_var=no"
27461fi
27462rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27463fi
27464echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27465echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27466if test `eval echo '${'$as_ac_var'}'` = yes; then
27467 cat >>confdefs.h <<_ACEOF
27468#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27469_ACEOF
27470 break
27471fi
27472done
27473
27474
27475HAVE_SOME_SLEEP_FUNC=0
27476if test "$USE_BEOS" = 1; then
27477 cat >>confdefs.h <<\_ACEOF
27478#define HAVE_SLEEP 1
27479_ACEOF
27480
27481 HAVE_SOME_SLEEP_FUNC=1
27482fi
27483
27484if test "$USE_DARWIN" = 1; then
27485 cat >>confdefs.h <<\_ACEOF
27486#define HAVE_USLEEP 1
27487_ACEOF
27488
27489 HAVE_SOME_SLEEP_FUNC=1
27490fi
27491
27492if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27493 POSIX4_LINK=
27494
27495for ac_func in nanosleep
27496do
27497as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27498echo "$as_me:$LINENO: checking for $ac_func" >&5
27499echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27500if eval "test \"\${$as_ac_var+set}\" = set"; then
27501 echo $ECHO_N "(cached) $ECHO_C" >&6
27502else
27503 cat >conftest.$ac_ext <<_ACEOF
27504#line $LINENO "configure"
27505/* confdefs.h. */
27506_ACEOF
27507cat confdefs.h >>conftest.$ac_ext
27508cat >>conftest.$ac_ext <<_ACEOF
27509/* end confdefs.h. */
27510/* System header to define __stub macros and hopefully few prototypes,
27511 which can conflict with char $ac_func (); below.
27512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27513 <limits.h> exists even on freestanding compilers. */
27514#ifdef __STDC__
27515# include <limits.h>
27516#else
27517# include <assert.h>
27518#endif
27519/* Override any gcc2 internal prototype to avoid an error. */
27520#ifdef __cplusplus
27521extern "C"
27522{
27523#endif
27524/* We use char because int might match the return type of a gcc2
27525 builtin and then its argument prototype would still apply. */
27526char $ac_func ();
27527/* The GNU C library defines this for functions which it implements
27528 to always fail with ENOSYS. Some functions are actually named
27529 something starting with __ and the normal name is an alias. */
27530#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27531choke me
27532#else
27533char (*f) () = $ac_func;
27534#endif
27535#ifdef __cplusplus
27536}
27537#endif
27538
27539int
27540main ()
27541{
27542return f != $ac_func;
27543 ;
27544 return 0;
27545}
27546_ACEOF
27547rm -f conftest.$ac_objext conftest$ac_exeext
27548if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27549 (eval $ac_link) 2>&5
27550 ac_status=$?
27551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27552 (exit $ac_status); } &&
27553 { ac_try='test -s conftest$ac_exeext'
27554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27555 (eval $ac_try) 2>&5
27556 ac_status=$?
27557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27558 (exit $ac_status); }; }; then
27559 eval "$as_ac_var=yes"
27560else
27561 echo "$as_me: failed program was:" >&5
27562sed 's/^/| /' conftest.$ac_ext >&5
27563
27564eval "$as_ac_var=no"
27565fi
27566rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27567fi
27568echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27569echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27570if test `eval echo '${'$as_ac_var'}'` = yes; then
27571 cat >>confdefs.h <<_ACEOF
27572#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27573_ACEOF
27574 cat >>confdefs.h <<\_ACEOF
27575#define HAVE_NANOSLEEP 1
27576_ACEOF
27577
27578else
27579
27580 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27581echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27582if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27583 echo $ECHO_N "(cached) $ECHO_C" >&6
27584else
27585 ac_check_lib_save_LIBS=$LIBS
27586LIBS="-lposix4 $LIBS"
27587cat >conftest.$ac_ext <<_ACEOF
27588#line $LINENO "configure"
27589/* confdefs.h. */
27590_ACEOF
27591cat confdefs.h >>conftest.$ac_ext
27592cat >>conftest.$ac_ext <<_ACEOF
27593/* end confdefs.h. */
27594
27595/* Override any gcc2 internal prototype to avoid an error. */
27596#ifdef __cplusplus
27597extern "C"
27598#endif
27599/* We use char because int might match the return type of a gcc2
27600 builtin and then its argument prototype would still apply. */
27601char nanosleep ();
27602int
27603main ()
27604{
27605nanosleep ();
27606 ;
27607 return 0;
27608}
27609_ACEOF
27610rm -f conftest.$ac_objext conftest$ac_exeext
27611if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27612 (eval $ac_link) 2>&5
27613 ac_status=$?
27614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27615 (exit $ac_status); } &&
27616 { ac_try='test -s conftest$ac_exeext'
27617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27618 (eval $ac_try) 2>&5
27619 ac_status=$?
27620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27621 (exit $ac_status); }; }; then
27622 ac_cv_lib_posix4_nanosleep=yes
27623else
27624 echo "$as_me: failed program was:" >&5
27625sed 's/^/| /' conftest.$ac_ext >&5
27626
27627ac_cv_lib_posix4_nanosleep=no
27628fi
27629rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27630LIBS=$ac_check_lib_save_LIBS
27631fi
27632echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27633echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27634if test $ac_cv_lib_posix4_nanosleep = yes; then
27635
27636 cat >>confdefs.h <<\_ACEOF
27637#define HAVE_NANOSLEEP 1
27638_ACEOF
27639
27640 POSIX4_LINK=" -lposix4"
27641
27642else
27643
27644
27645for ac_func in usleep
27646do
27647as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27648echo "$as_me:$LINENO: checking for $ac_func" >&5
27649echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27650if eval "test \"\${$as_ac_var+set}\" = set"; then
27651 echo $ECHO_N "(cached) $ECHO_C" >&6
27652else
27653 cat >conftest.$ac_ext <<_ACEOF
27654#line $LINENO "configure"
27655/* confdefs.h. */
27656_ACEOF
27657cat confdefs.h >>conftest.$ac_ext
27658cat >>conftest.$ac_ext <<_ACEOF
27659/* end confdefs.h. */
27660/* System header to define __stub macros and hopefully few prototypes,
27661 which can conflict with char $ac_func (); below.
27662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27663 <limits.h> exists even on freestanding compilers. */
27664#ifdef __STDC__
27665# include <limits.h>
27666#else
27667# include <assert.h>
27668#endif
27669/* Override any gcc2 internal prototype to avoid an error. */
27670#ifdef __cplusplus
27671extern "C"
27672{
27673#endif
27674/* We use char because int might match the return type of a gcc2
27675 builtin and then its argument prototype would still apply. */
27676char $ac_func ();
27677/* The GNU C library defines this for functions which it implements
27678 to always fail with ENOSYS. Some functions are actually named
27679 something starting with __ and the normal name is an alias. */
27680#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27681choke me
27682#else
27683char (*f) () = $ac_func;
27684#endif
27685#ifdef __cplusplus
27686}
27687#endif
27688
27689int
27690main ()
27691{
27692return f != $ac_func;
27693 ;
27694 return 0;
27695}
27696_ACEOF
27697rm -f conftest.$ac_objext conftest$ac_exeext
27698if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27699 (eval $ac_link) 2>&5
27700 ac_status=$?
27701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27702 (exit $ac_status); } &&
27703 { ac_try='test -s conftest$ac_exeext'
27704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27705 (eval $ac_try) 2>&5
27706 ac_status=$?
27707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27708 (exit $ac_status); }; }; then
27709 eval "$as_ac_var=yes"
27710else
27711 echo "$as_me: failed program was:" >&5
27712sed 's/^/| /' conftest.$ac_ext >&5
27713
27714eval "$as_ac_var=no"
27715fi
27716rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27717fi
27718echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27719echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27720if test `eval echo '${'$as_ac_var'}'` = yes; then
27721 cat >>confdefs.h <<_ACEOF
27722#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27723_ACEOF
27724 cat >>confdefs.h <<\_ACEOF
27725#define HAVE_USLEEP 1
27726_ACEOF
27727
27728else
27729 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
27730echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
27731
27732fi
27733done
27734
27735
27736
27737fi
27738
27739
27740
27741fi
27742done
27743
27744fi
27745
27746
27747
27748for ac_func in uname gethostname
27749do
27750as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27751echo "$as_me:$LINENO: checking for $ac_func" >&5
27752echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27753if eval "test \"\${$as_ac_var+set}\" = set"; then
27754 echo $ECHO_N "(cached) $ECHO_C" >&6
27755else
27756 cat >conftest.$ac_ext <<_ACEOF
27757#line $LINENO "configure"
27758/* confdefs.h. */
27759_ACEOF
27760cat confdefs.h >>conftest.$ac_ext
27761cat >>conftest.$ac_ext <<_ACEOF
27762/* end confdefs.h. */
27763/* System header to define __stub macros and hopefully few prototypes,
27764 which can conflict with char $ac_func (); below.
27765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27766 <limits.h> exists even on freestanding compilers. */
27767#ifdef __STDC__
27768# include <limits.h>
27769#else
27770# include <assert.h>
27771#endif
27772/* Override any gcc2 internal prototype to avoid an error. */
27773#ifdef __cplusplus
27774extern "C"
27775{
27776#endif
27777/* We use char because int might match the return type of a gcc2
27778 builtin and then its argument prototype would still apply. */
27779char $ac_func ();
27780/* The GNU C library defines this for functions which it implements
27781 to always fail with ENOSYS. Some functions are actually named
27782 something starting with __ and the normal name is an alias. */
27783#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27784choke me
27785#else
27786char (*f) () = $ac_func;
27787#endif
27788#ifdef __cplusplus
27789}
27790#endif
27791
27792int
27793main ()
27794{
27795return f != $ac_func;
27796 ;
27797 return 0;
27798}
27799_ACEOF
27800rm -f conftest.$ac_objext conftest$ac_exeext
27801if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27802 (eval $ac_link) 2>&5
27803 ac_status=$?
27804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27805 (exit $ac_status); } &&
27806 { ac_try='test -s conftest$ac_exeext'
27807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27808 (eval $ac_try) 2>&5
27809 ac_status=$?
27810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27811 (exit $ac_status); }; }; then
27812 eval "$as_ac_var=yes"
27813else
27814 echo "$as_me: failed program was:" >&5
27815sed 's/^/| /' conftest.$ac_ext >&5
27816
27817eval "$as_ac_var=no"
27818fi
27819rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27820fi
27821echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27822echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27823if test `eval echo '${'$as_ac_var'}'` = yes; then
27824 cat >>confdefs.h <<_ACEOF
27825#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27826_ACEOF
27827 break
27828fi
27829done
27830
27831
27832
27833
27834ac_ext=cc
27835ac_cpp='$CXXCPP $CPPFLAGS'
27836ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27837ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27838ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27839
27840
27841
27842for ac_func in strtok_r
27843do
27844as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27845echo "$as_me:$LINENO: checking for $ac_func" >&5
27846echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27847if eval "test \"\${$as_ac_var+set}\" = set"; then
27848 echo $ECHO_N "(cached) $ECHO_C" >&6
27849else
27850 cat >conftest.$ac_ext <<_ACEOF
27851#line $LINENO "configure"
27852/* confdefs.h. */
27853_ACEOF
27854cat confdefs.h >>conftest.$ac_ext
27855cat >>conftest.$ac_ext <<_ACEOF
27856/* end confdefs.h. */
27857/* System header to define __stub macros and hopefully few prototypes,
27858 which can conflict with char $ac_func (); below.
27859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27860 <limits.h> exists even on freestanding compilers. */
27861#ifdef __STDC__
27862# include <limits.h>
27863#else
27864# include <assert.h>
27865#endif
27866/* Override any gcc2 internal prototype to avoid an error. */
27867#ifdef __cplusplus
27868extern "C"
27869{
27870#endif
27871/* We use char because int might match the return type of a gcc2
27872 builtin and then its argument prototype would still apply. */
27873char $ac_func ();
27874/* The GNU C library defines this for functions which it implements
27875 to always fail with ENOSYS. Some functions are actually named
27876 something starting with __ and the normal name is an alias. */
27877#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27878choke me
27879#else
27880char (*f) () = $ac_func;
27881#endif
27882#ifdef __cplusplus
27883}
27884#endif
27885
27886int
27887main ()
27888{
27889return f != $ac_func;
27890 ;
27891 return 0;
27892}
27893_ACEOF
27894rm -f conftest.$ac_objext conftest$ac_exeext
27895if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27896 (eval $ac_link) 2>&5
27897 ac_status=$?
27898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27899 (exit $ac_status); } &&
27900 { ac_try='test -s conftest$ac_exeext'
27901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27902 (eval $ac_try) 2>&5
27903 ac_status=$?
27904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27905 (exit $ac_status); }; }; then
27906 eval "$as_ac_var=yes"
27907else
27908 echo "$as_me: failed program was:" >&5
27909sed 's/^/| /' conftest.$ac_ext >&5
27910
27911eval "$as_ac_var=no"
27912fi
27913rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27914fi
27915echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27916echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27917if test `eval echo '${'$as_ac_var'}'` = yes; then
27918 cat >>confdefs.h <<_ACEOF
27919#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27920_ACEOF
27921
27922fi
27923done
27924
27925
27926ac_ext=c
27927ac_cpp='$CPP $CPPFLAGS'
27928ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27929ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27930ac_compiler_gnu=$ac_cv_c_compiler_gnu
27931
27932
27933INET_LINK=
27934
27935for ac_func in inet_addr
27936do
27937as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27938echo "$as_me:$LINENO: checking for $ac_func" >&5
27939echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27940if eval "test \"\${$as_ac_var+set}\" = set"; then
27941 echo $ECHO_N "(cached) $ECHO_C" >&6
27942else
27943 cat >conftest.$ac_ext <<_ACEOF
27944#line $LINENO "configure"
27945/* confdefs.h. */
27946_ACEOF
27947cat confdefs.h >>conftest.$ac_ext
27948cat >>conftest.$ac_ext <<_ACEOF
27949/* end confdefs.h. */
27950/* System header to define __stub macros and hopefully few prototypes,
27951 which can conflict with char $ac_func (); below.
27952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27953 <limits.h> exists even on freestanding compilers. */
27954#ifdef __STDC__
27955# include <limits.h>
27956#else
27957# include <assert.h>
27958#endif
27959/* Override any gcc2 internal prototype to avoid an error. */
27960#ifdef __cplusplus
27961extern "C"
27962{
27963#endif
27964/* We use char because int might match the return type of a gcc2
27965 builtin and then its argument prototype would still apply. */
27966char $ac_func ();
27967/* The GNU C library defines this for functions which it implements
27968 to always fail with ENOSYS. Some functions are actually named
27969 something starting with __ and the normal name is an alias. */
27970#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27971choke me
27972#else
27973char (*f) () = $ac_func;
27974#endif
27975#ifdef __cplusplus
27976}
27977#endif
27978
27979int
27980main ()
27981{
27982return f != $ac_func;
27983 ;
27984 return 0;
27985}
27986_ACEOF
27987rm -f conftest.$ac_objext conftest$ac_exeext
27988if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27989 (eval $ac_link) 2>&5
27990 ac_status=$?
27991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27992 (exit $ac_status); } &&
27993 { ac_try='test -s conftest$ac_exeext'
27994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27995 (eval $ac_try) 2>&5
27996 ac_status=$?
27997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27998 (exit $ac_status); }; }; then
27999 eval "$as_ac_var=yes"
28000else
28001 echo "$as_me: failed program was:" >&5
28002sed 's/^/| /' conftest.$ac_ext >&5
28003
28004eval "$as_ac_var=no"
28005fi
28006rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28007fi
28008echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28009echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28010if test `eval echo '${'$as_ac_var'}'` = yes; then
28011 cat >>confdefs.h <<_ACEOF
28012#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28013_ACEOF
28014 cat >>confdefs.h <<\_ACEOF
28015#define HAVE_INET_ADDR 1
28016_ACEOF
28017
28018else
28019
28020 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28021echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28022if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28023 echo $ECHO_N "(cached) $ECHO_C" >&6
28024else
28025 ac_check_lib_save_LIBS=$LIBS
28026LIBS="-lnsl $LIBS"
28027cat >conftest.$ac_ext <<_ACEOF
28028#line $LINENO "configure"
28029/* confdefs.h. */
28030_ACEOF
28031cat confdefs.h >>conftest.$ac_ext
28032cat >>conftest.$ac_ext <<_ACEOF
28033/* end confdefs.h. */
28034
28035/* Override any gcc2 internal prototype to avoid an error. */
28036#ifdef __cplusplus
28037extern "C"
28038#endif
28039/* We use char because int might match the return type of a gcc2
28040 builtin and then its argument prototype would still apply. */
28041char inet_addr ();
28042int
28043main ()
28044{
28045inet_addr ();
28046 ;
28047 return 0;
28048}
28049_ACEOF
28050rm -f conftest.$ac_objext conftest$ac_exeext
28051if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28052 (eval $ac_link) 2>&5
28053 ac_status=$?
28054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28055 (exit $ac_status); } &&
28056 { ac_try='test -s conftest$ac_exeext'
28057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28058 (eval $ac_try) 2>&5
28059 ac_status=$?
28060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28061 (exit $ac_status); }; }; then
28062 ac_cv_lib_nsl_inet_addr=yes
28063else
28064 echo "$as_me: failed program was:" >&5
28065sed 's/^/| /' conftest.$ac_ext >&5
28066
28067ac_cv_lib_nsl_inet_addr=no
28068fi
28069rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28070LIBS=$ac_check_lib_save_LIBS
28071fi
28072echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28073echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28074if test $ac_cv_lib_nsl_inet_addr = yes; then
28075 INET_LINK="nsl"
28076else
28077 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28078echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28079if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28080 echo $ECHO_N "(cached) $ECHO_C" >&6
28081else
28082 ac_check_lib_save_LIBS=$LIBS
28083LIBS="-lresolv $LIBS"
28084cat >conftest.$ac_ext <<_ACEOF
28085#line $LINENO "configure"
28086/* confdefs.h. */
28087_ACEOF
28088cat confdefs.h >>conftest.$ac_ext
28089cat >>conftest.$ac_ext <<_ACEOF
28090/* end confdefs.h. */
28091
28092/* Override any gcc2 internal prototype to avoid an error. */
28093#ifdef __cplusplus
28094extern "C"
28095#endif
28096/* We use char because int might match the return type of a gcc2
28097 builtin and then its argument prototype would still apply. */
28098char inet_addr ();
28099int
28100main ()
28101{
28102inet_addr ();
28103 ;
28104 return 0;
28105}
28106_ACEOF
28107rm -f conftest.$ac_objext conftest$ac_exeext
28108if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28109 (eval $ac_link) 2>&5
28110 ac_status=$?
28111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28112 (exit $ac_status); } &&
28113 { ac_try='test -s conftest$ac_exeext'
28114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28115 (eval $ac_try) 2>&5
28116 ac_status=$?
28117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28118 (exit $ac_status); }; }; then
28119 ac_cv_lib_resolv_inet_addr=yes
28120else
28121 echo "$as_me: failed program was:" >&5
28122sed 's/^/| /' conftest.$ac_ext >&5
28123
28124ac_cv_lib_resolv_inet_addr=no
28125fi
28126rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28127LIBS=$ac_check_lib_save_LIBS
28128fi
28129echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28130echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28131if test $ac_cv_lib_resolv_inet_addr = yes; then
28132 INET_LINK="resolv"
28133else
28134 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28135echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28136if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28137 echo $ECHO_N "(cached) $ECHO_C" >&6
28138else
28139 ac_check_lib_save_LIBS=$LIBS
28140LIBS="-lsocket $LIBS"
28141cat >conftest.$ac_ext <<_ACEOF
28142#line $LINENO "configure"
28143/* confdefs.h. */
28144_ACEOF
28145cat confdefs.h >>conftest.$ac_ext
28146cat >>conftest.$ac_ext <<_ACEOF
28147/* end confdefs.h. */
28148
28149/* Override any gcc2 internal prototype to avoid an error. */
28150#ifdef __cplusplus
28151extern "C"
28152#endif
28153/* We use char because int might match the return type of a gcc2
28154 builtin and then its argument prototype would still apply. */
28155char inet_addr ();
28156int
28157main ()
28158{
28159inet_addr ();
28160 ;
28161 return 0;
28162}
28163_ACEOF
28164rm -f conftest.$ac_objext conftest$ac_exeext
28165if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28166 (eval $ac_link) 2>&5
28167 ac_status=$?
28168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28169 (exit $ac_status); } &&
28170 { ac_try='test -s conftest$ac_exeext'
28171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28172 (eval $ac_try) 2>&5
28173 ac_status=$?
28174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28175 (exit $ac_status); }; }; then
28176 ac_cv_lib_socket_inet_addr=yes
28177else
28178 echo "$as_me: failed program was:" >&5
28179sed 's/^/| /' conftest.$ac_ext >&5
28180
28181ac_cv_lib_socket_inet_addr=no
28182fi
28183rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28184LIBS=$ac_check_lib_save_LIBS
28185fi
28186echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28187echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28188if test $ac_cv_lib_socket_inet_addr = yes; then
28189 INET_LINK="socket"
28190
28191fi
28192
28193
28194fi
28195
28196
28197fi
28198
28199
28200
28201fi
28202done
28203
28204
28205
28206for ac_func in inet_aton
28207do
28208as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28209echo "$as_me:$LINENO: checking for $ac_func" >&5
28210echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28211if eval "test \"\${$as_ac_var+set}\" = set"; then
28212 echo $ECHO_N "(cached) $ECHO_C" >&6
28213else
28214 cat >conftest.$ac_ext <<_ACEOF
28215#line $LINENO "configure"
28216/* confdefs.h. */
28217_ACEOF
28218cat confdefs.h >>conftest.$ac_ext
28219cat >>conftest.$ac_ext <<_ACEOF
28220/* end confdefs.h. */
28221/* System header to define __stub macros and hopefully few prototypes,
28222 which can conflict with char $ac_func (); below.
28223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28224 <limits.h> exists even on freestanding compilers. */
28225#ifdef __STDC__
28226# include <limits.h>
28227#else
28228# include <assert.h>
28229#endif
28230/* Override any gcc2 internal prototype to avoid an error. */
28231#ifdef __cplusplus
28232extern "C"
28233{
28234#endif
28235/* We use char because int might match the return type of a gcc2
28236 builtin and then its argument prototype would still apply. */
28237char $ac_func ();
28238/* The GNU C library defines this for functions which it implements
28239 to always fail with ENOSYS. Some functions are actually named
28240 something starting with __ and the normal name is an alias. */
28241#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28242choke me
28243#else
28244char (*f) () = $ac_func;
28245#endif
28246#ifdef __cplusplus
28247}
28248#endif
28249
28250int
28251main ()
28252{
28253return f != $ac_func;
28254 ;
28255 return 0;
28256}
28257_ACEOF
28258rm -f conftest.$ac_objext conftest$ac_exeext
28259if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28260 (eval $ac_link) 2>&5
28261 ac_status=$?
28262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28263 (exit $ac_status); } &&
28264 { ac_try='test -s conftest$ac_exeext'
28265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28266 (eval $ac_try) 2>&5
28267 ac_status=$?
28268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28269 (exit $ac_status); }; }; then
28270 eval "$as_ac_var=yes"
28271else
28272 echo "$as_me: failed program was:" >&5
28273sed 's/^/| /' conftest.$ac_ext >&5
28274
28275eval "$as_ac_var=no"
28276fi
28277rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28278fi
28279echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28280echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28281if test `eval echo '${'$as_ac_var'}'` = yes; then
28282 cat >>confdefs.h <<_ACEOF
28283#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28284_ACEOF
28285 cat >>confdefs.h <<\_ACEOF
28286#define HAVE_INET_ATON 1
28287_ACEOF
28288
28289else
28290
28291 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28292echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28293echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28294if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28295 echo $ECHO_N "(cached) $ECHO_C" >&6
28296else
28297 ac_check_lib_save_LIBS=$LIBS
28298LIBS="-l$INET_LINK $LIBS"
28299cat >conftest.$ac_ext <<_ACEOF
28300#line $LINENO "configure"
28301/* confdefs.h. */
28302_ACEOF
28303cat confdefs.h >>conftest.$ac_ext
28304cat >>conftest.$ac_ext <<_ACEOF
28305/* end confdefs.h. */
28306
28307/* Override any gcc2 internal prototype to avoid an error. */
28308#ifdef __cplusplus
28309extern "C"
28310#endif
28311/* We use char because int might match the return type of a gcc2
28312 builtin and then its argument prototype would still apply. */
28313char inet_aton ();
28314int
28315main ()
28316{
28317inet_aton ();
28318 ;
28319 return 0;
28320}
28321_ACEOF
28322rm -f conftest.$ac_objext conftest$ac_exeext
28323if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28324 (eval $ac_link) 2>&5
28325 ac_status=$?
28326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28327 (exit $ac_status); } &&
28328 { ac_try='test -s conftest$ac_exeext'
28329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28330 (eval $ac_try) 2>&5
28331 ac_status=$?
28332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28333 (exit $ac_status); }; }; then
28334 eval "$as_ac_Lib=yes"
28335else
28336 echo "$as_me: failed program was:" >&5
28337sed 's/^/| /' conftest.$ac_ext >&5
28338
28339eval "$as_ac_Lib=no"
28340fi
28341rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28342LIBS=$ac_check_lib_save_LIBS
28343fi
28344echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28345echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28346if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28347 cat >>confdefs.h <<\_ACEOF
28348#define HAVE_INET_ATON 1
28349_ACEOF
28350
28351fi
28352
28353
28354fi
28355done
28356
28357
28358if test "x$INET_LINK" != "x"; then
28359 cat >>confdefs.h <<\_ACEOF
28360#define HAVE_INET_ADDR 1
28361_ACEOF
28362
28363 INET_LINK=" -l$INET_LINK"
28364fi
28365
28366fi
28367
28368
28369
28370ESD_LINK=
28371if test "${ac_cv_header_esd_h+set}" = set; then
28372 echo "$as_me:$LINENO: checking for esd.h" >&5
28373echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28374if test "${ac_cv_header_esd_h+set}" = set; then
28375 echo $ECHO_N "(cached) $ECHO_C" >&6
28376fi
28377echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28378echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28379else
28380 # Is the header compilable?
28381echo "$as_me:$LINENO: checking esd.h usability" >&5
28382echo $ECHO_N "checking esd.h usability... $ECHO_C" >&6
28383cat >conftest.$ac_ext <<_ACEOF
28384#line $LINENO "configure"
28385/* confdefs.h. */
28386_ACEOF
28387cat confdefs.h >>conftest.$ac_ext
28388cat >>conftest.$ac_ext <<_ACEOF
28389/* end confdefs.h. */
28390$ac_includes_default
28391#include <esd.h>
28392_ACEOF
28393rm -f conftest.$ac_objext
28394if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28395 (eval $ac_compile) 2>&5
28396 ac_status=$?
28397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28398 (exit $ac_status); } &&
28399 { ac_try='test -s conftest.$ac_objext'
28400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28401 (eval $ac_try) 2>&5
28402 ac_status=$?
28403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28404 (exit $ac_status); }; }; then
28405 ac_header_compiler=yes
28406else
28407 echo "$as_me: failed program was:" >&5
28408sed 's/^/| /' conftest.$ac_ext >&5
28409
28410ac_header_compiler=no
28411fi
28412rm -f conftest.$ac_objext conftest.$ac_ext
28413echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28414echo "${ECHO_T}$ac_header_compiler" >&6
28415
28416# Is the header present?
28417echo "$as_me:$LINENO: checking esd.h presence" >&5
28418echo $ECHO_N "checking esd.h presence... $ECHO_C" >&6
28419cat >conftest.$ac_ext <<_ACEOF
28420#line $LINENO "configure"
28421/* confdefs.h. */
28422_ACEOF
28423cat confdefs.h >>conftest.$ac_ext
28424cat >>conftest.$ac_ext <<_ACEOF
28425/* end confdefs.h. */
28426#include <esd.h>
28427_ACEOF
28428if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28429 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28430 ac_status=$?
28431 grep -v '^ *+' conftest.er1 >conftest.err
28432 rm -f conftest.er1
28433 cat conftest.err >&5
28434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28435 (exit $ac_status); } >/dev/null; then
28436 if test -s conftest.err; then
28437 ac_cpp_err=$ac_c_preproc_warn_flag
28438 else
28439 ac_cpp_err=
28440 fi
28441else
28442 ac_cpp_err=yes
28443fi
28444if test -z "$ac_cpp_err"; then
28445 ac_header_preproc=yes
28446else
28447 echo "$as_me: failed program was:" >&5
28448sed 's/^/| /' conftest.$ac_ext >&5
28449
28450 ac_header_preproc=no
28451fi
28452rm -f conftest.err conftest.$ac_ext
28453echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28454echo "${ECHO_T}$ac_header_preproc" >&6
28455
28456# So? What about this header?
28457case $ac_header_compiler:$ac_header_preproc in
28458 yes:no )
28459 { echo "$as_me:$LINENO: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&5
28460echo "$as_me: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28461 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28462echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28463 (
28464 cat <<\_ASBOX
28465## ------------------------------------ ##
28466## Report this to bug-autoconf@gnu.org. ##
28467## ------------------------------------ ##
28468_ASBOX
28469 ) |
28470 sed "s/^/$as_me: WARNING: /" >&2
28471 ;;
28472 no:yes )
28473 { echo "$as_me:$LINENO: WARNING: esd.h: present but cannot be compiled" >&5
28474echo "$as_me: WARNING: esd.h: present but cannot be compiled" >&2;}
28475 { echo "$as_me:$LINENO: WARNING: esd.h: check for missing prerequisite headers?" >&5
28476echo "$as_me: WARNING: esd.h: check for missing prerequisite headers?" >&2;}
28477 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28478echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28479 (
28480 cat <<\_ASBOX
28481## ------------------------------------ ##
28482## Report this to bug-autoconf@gnu.org. ##
28483## ------------------------------------ ##
28484_ASBOX
28485 ) |
28486 sed "s/^/$as_me: WARNING: /" >&2
28487 ;;
28488esac
28489echo "$as_me:$LINENO: checking for esd.h" >&5
28490echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28491if test "${ac_cv_header_esd_h+set}" = set; then
28492 echo $ECHO_N "(cached) $ECHO_C" >&6
28493else
28494 ac_cv_header_esd_h=$ac_header_preproc
28495fi
28496echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28497echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28498
28499fi
28500if test $ac_cv_header_esd_h = yes; then
28501
28502 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28503echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28504if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28505 echo $ECHO_N "(cached) $ECHO_C" >&6
28506else
28507 ac_check_lib_save_LIBS=$LIBS
28508LIBS="-lesd $LIBS"
28509cat >conftest.$ac_ext <<_ACEOF
28510#line $LINENO "configure"
28511/* confdefs.h. */
28512_ACEOF
28513cat confdefs.h >>conftest.$ac_ext
28514cat >>conftest.$ac_ext <<_ACEOF
28515/* end confdefs.h. */
28516
28517/* Override any gcc2 internal prototype to avoid an error. */
28518#ifdef __cplusplus
28519extern "C"
28520#endif
28521/* We use char because int might match the return type of a gcc2
28522 builtin and then its argument prototype would still apply. */
28523char esd_close ();
28524int
28525main ()
28526{
28527esd_close ();
28528 ;
28529 return 0;
28530}
28531_ACEOF
28532rm -f conftest.$ac_objext conftest$ac_exeext
28533if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28534 (eval $ac_link) 2>&5
28535 ac_status=$?
28536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28537 (exit $ac_status); } &&
28538 { ac_try='test -s conftest$ac_exeext'
28539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28540 (eval $ac_try) 2>&5
28541 ac_status=$?
28542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28543 (exit $ac_status); }; }; then
28544 ac_cv_lib_esd_esd_close=yes
28545else
28546 echo "$as_me: failed program was:" >&5
28547sed 's/^/| /' conftest.$ac_ext >&5
28548
28549ac_cv_lib_esd_esd_close=no
28550fi
28551rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28552LIBS=$ac_check_lib_save_LIBS
28553fi
28554echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28555echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28556if test $ac_cv_lib_esd_esd_close = yes; then
28557
28558 ESD_LINK="-lesd"
28559
28560fi
28561
28562
28563fi
28564
28565
28566
28567
28568
28569cat >confcache <<\_ACEOF
28570# This file is a shell script that caches the results of configure
28571# tests run on this system so they can be shared between configure
28572# scripts and configure runs, see configure's option --config-cache.
28573# It is not useful on other systems. If it contains results you don't
28574# want to keep, you may remove or edit it.
28575#
28576# config.status only pays attention to the cache file if you give it
28577# the --recheck option to rerun configure.
28578#
28579# `ac_cv_env_foo' variables (set or unset) will be overridden when
28580# loading this file, other *unset* `ac_cv_foo' will be assigned the
28581# following values.
28582
28583_ACEOF
28584
28585# The following way of writing the cache mishandles newlines in values,
28586# but we know of no workaround that is simple, portable, and efficient.
28587# So, don't put newlines in cache variables' values.
28588# Ultrix sh set writes to stderr and can't be redirected directly,
28589# and sets the high bit in the cache file unless we assign to the vars.
28590{
28591 (set) 2>&1 |
28592 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28593 *ac_space=\ *)
28594 # `set' does not quote correctly, so add quotes (double-quote
28595 # substitution turns \\\\ into \\, and sed turns \\ into \).
28596 sed -n \
28597 "s/'/'\\\\''/g;
28598 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28599 ;;
28600 *)
28601 # `set' quotes correctly as required by POSIX, so do not add quotes.
28602 sed -n \
28603 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28604 ;;
28605 esac;
28606} |
28607 sed '
28608 t clear
28609 : clear
28610 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28611 t end
28612 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28613 : end' >>confcache
28614if diff $cache_file confcache >/dev/null 2>&1; then :; else
28615 if test -w $cache_file; then
28616 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28617 cat confcache >$cache_file
28618 else
28619 echo "not updating unwritable cache $cache_file"
28620 fi
28621fi
28622rm -f confcache
28623
28624
28625CPP_MT_FLAG=
28626if test "$TOOLKIT" != "MSW"; then
28627
28628
28629 THREADS_LINK=
28630 THREADS_CFLAGS=
28631
28632 if test "$wxUSE_THREADS" = "yes" ; then
28633 if test "$USE_BEOS" = 1; then
28634 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28635echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28636 wxUSE_THREADS="no"
28637 fi
28638 fi
28639
28640 if test "$wxUSE_THREADS" = "yes" ; then
28641
28642
28643 THREAD_OPTS="-pthread"
28644 case "${host}" in
28645 *-*-solaris2* | *-*-sunos4* )
28646 if test "x$GCC" = "xyes"; then
28647 THREAD_OPTS="-pthreads $THREAD_OPTS"
28648 else
28649 THREAD_OPTS="-mt $THREAD_OPTS"
28650 fi
28651 ;;
28652 *-*-freebsd*)
28653 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
28654 ;;
28655 *-*-darwin* | *-*-cygwin* )
28656 THREAD_OPTS=""
28657 ;;
28658 *-*-aix*)
28659 THREAD_OPTS="pthreads"
28660 ;;
28661 *-hp-hpux* )
28662 if test "x$GCC" != "xyes"; then
28663 THREAD_OPTS=""
28664 fi
28665 ;;
28666
28667 *-*-irix* )
28668 if test "x$GCC" = "xyes"; then
28669 THREAD_OPTS=""
28670 fi
28671 ;;
28672
28673 *-*-*UnixWare*)
28674 if test "x$GCC" != "xyes"; then
28675 THREAD_OPTS="-Ethread"
28676 fi
28677 ;;
28678 esac
28679
28680 THREAD_OPTS="$THREAD_OPTS pthread none"
28681
28682 THREADS_OK=no
28683 for flag in $THREAD_OPTS; do
28684 case $flag in
28685 none)
28686 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
28687echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
28688 ;;
28689
28690 -*)
28691 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
28692echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
28693 THREADS_CFLAGS="$flag"
28694 ;;
28695
28696 *)
28697 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
28698echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
28699 THREADS_LINK="-l$flag"
28700 ;;
28701 esac
28702
28703 save_LIBS="$LIBS"
28704 save_CFLAGS="$CFLAGS"
28705 LIBS="$THREADS_LINK $LIBS"
28706 CFLAGS="$THREADS_CFLAGS $CFLAGS"
28707
28708 cat >conftest.$ac_ext <<_ACEOF
28709#line $LINENO "configure"
28710/* confdefs.h. */
28711_ACEOF
28712cat confdefs.h >>conftest.$ac_ext
28713cat >>conftest.$ac_ext <<_ACEOF
28714/* end confdefs.h. */
28715#include <pthread.h>
28716int
28717main ()
28718{
28719pthread_create(0,0,0,0);
28720 ;
28721 return 0;
28722}
28723_ACEOF
28724rm -f conftest.$ac_objext conftest$ac_exeext
28725if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28726 (eval $ac_link) 2>&5
28727 ac_status=$?
28728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28729 (exit $ac_status); } &&
28730 { ac_try='test -s conftest$ac_exeext'
28731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28732 (eval $ac_try) 2>&5
28733 ac_status=$?
28734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28735 (exit $ac_status); }; }; then
28736 THREADS_OK=yes
28737else
28738 echo "$as_me: failed program was:" >&5
28739sed 's/^/| /' conftest.$ac_ext >&5
28740
28741fi
28742rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28743
28744 LIBS="$save_LIBS"
28745 CFLAGS="$save_CFLAGS"
28746
28747 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
28748echo "${ECHO_T}$THREADS_OK" >&6
28749 if test "x$THREADS_OK" = "xyes"; then
28750 break;
28751 fi
28752
28753 THREADS_LINK=""
28754 THREADS_CFLAGS=""
28755 done
28756
28757 if test "x$THREADS_OK" != "xyes"; then
28758 wxUSE_THREADS=no
28759 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
28760echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
28761 else
28762 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
28763 LIBS="$THREADS_LINK $LIBS"
28764
28765 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
28766echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
28767 flag=no
28768 case "${host}" in
28769 *-aix*)
28770 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
28771 flag="-D_THREAD_SAFE"
28772 ;;
28773 *-freebsd*)
28774 flag="-D_THREAD_SAFE"
28775 ;;
28776 *-hp-hpux* )
28777 flag="-D_REENTRANT"
28778 if test "x$GCC" != "xyes"; then
28779 flag="$flag -D_RWSTD_MULTI_THREAD"
28780 fi
28781 ;;
28782 *solaris* | alpha*-osf*)
28783 flag="-D_REENTRANT"
28784 ;;
28785 esac
28786 echo "$as_me:$LINENO: result: ${flag}" >&5
28787echo "${ECHO_T}${flag}" >&6
28788 if test "x$flag" != xno; then
28789 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
28790 fi
28791
28792 if test "x$THREADS_CFLAGS" != "x"; then
28793 CFLAGS="$CFLAGS $THREADS_CFLAGS"
28794 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
28795 fi
28796 fi
28797 fi
28798
28799 if test "$wxUSE_THREADS" = "yes" ; then
28800
28801for ac_func in thr_setconcurrency
28802do
28803as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28804echo "$as_me:$LINENO: checking for $ac_func" >&5
28805echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28806if eval "test \"\${$as_ac_var+set}\" = set"; then
28807 echo $ECHO_N "(cached) $ECHO_C" >&6
28808else
28809 cat >conftest.$ac_ext <<_ACEOF
28810#line $LINENO "configure"
28811/* confdefs.h. */
28812_ACEOF
28813cat confdefs.h >>conftest.$ac_ext
28814cat >>conftest.$ac_ext <<_ACEOF
28815/* end confdefs.h. */
28816/* System header to define __stub macros and hopefully few prototypes,
28817 which can conflict with char $ac_func (); below.
28818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28819 <limits.h> exists even on freestanding compilers. */
28820#ifdef __STDC__
28821# include <limits.h>
28822#else
28823# include <assert.h>
28824#endif
28825/* Override any gcc2 internal prototype to avoid an error. */
28826#ifdef __cplusplus
28827extern "C"
28828{
28829#endif
28830/* We use char because int might match the return type of a gcc2
28831 builtin and then its argument prototype would still apply. */
28832char $ac_func ();
28833/* The GNU C library defines this for functions which it implements
28834 to always fail with ENOSYS. Some functions are actually named
28835 something starting with __ and the normal name is an alias. */
28836#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28837choke me
28838#else
28839char (*f) () = $ac_func;
28840#endif
28841#ifdef __cplusplus
28842}
28843#endif
28844
28845int
28846main ()
28847{
28848return f != $ac_func;
28849 ;
28850 return 0;
28851}
28852_ACEOF
28853rm -f conftest.$ac_objext conftest$ac_exeext
28854if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28855 (eval $ac_link) 2>&5
28856 ac_status=$?
28857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28858 (exit $ac_status); } &&
28859 { ac_try='test -s conftest$ac_exeext'
28860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28861 (eval $ac_try) 2>&5
28862 ac_status=$?
28863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28864 (exit $ac_status); }; }; then
28865 eval "$as_ac_var=yes"
28866else
28867 echo "$as_me: failed program was:" >&5
28868sed 's/^/| /' conftest.$ac_ext >&5
28869
28870eval "$as_ac_var=no"
28871fi
28872rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28873fi
28874echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28875echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28876if test `eval echo '${'$as_ac_var'}'` = yes; then
28877 cat >>confdefs.h <<_ACEOF
28878#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28879_ACEOF
28880
28881fi
28882done
28883
28884
28885
28886for ac_header in sched.h
28887do
28888as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28889if eval "test \"\${$as_ac_Header+set}\" = set"; then
28890 echo "$as_me:$LINENO: checking for $ac_header" >&5
28891echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28892if eval "test \"\${$as_ac_Header+set}\" = set"; then
28893 echo $ECHO_N "(cached) $ECHO_C" >&6
28894fi
28895echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28896echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28897else
28898 # Is the header compilable?
28899echo "$as_me:$LINENO: checking $ac_header usability" >&5
28900echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28901cat >conftest.$ac_ext <<_ACEOF
28902#line $LINENO "configure"
28903/* confdefs.h. */
28904_ACEOF
28905cat confdefs.h >>conftest.$ac_ext
28906cat >>conftest.$ac_ext <<_ACEOF
28907/* end confdefs.h. */
28908$ac_includes_default
28909#include <$ac_header>
28910_ACEOF
28911rm -f conftest.$ac_objext
28912if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28913 (eval $ac_compile) 2>&5
28914 ac_status=$?
28915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28916 (exit $ac_status); } &&
28917 { ac_try='test -s conftest.$ac_objext'
28918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28919 (eval $ac_try) 2>&5
28920 ac_status=$?
28921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28922 (exit $ac_status); }; }; then
28923 ac_header_compiler=yes
28924else
28925 echo "$as_me: failed program was:" >&5
28926sed 's/^/| /' conftest.$ac_ext >&5
28927
28928ac_header_compiler=no
28929fi
28930rm -f conftest.$ac_objext conftest.$ac_ext
28931echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28932echo "${ECHO_T}$ac_header_compiler" >&6
28933
28934# Is the header present?
28935echo "$as_me:$LINENO: checking $ac_header presence" >&5
28936echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28937cat >conftest.$ac_ext <<_ACEOF
28938#line $LINENO "configure"
28939/* confdefs.h. */
28940_ACEOF
28941cat confdefs.h >>conftest.$ac_ext
28942cat >>conftest.$ac_ext <<_ACEOF
28943/* end confdefs.h. */
28944#include <$ac_header>
28945_ACEOF
28946if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28947 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28948 ac_status=$?
28949 grep -v '^ *+' conftest.er1 >conftest.err
28950 rm -f conftest.er1
28951 cat conftest.err >&5
28952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28953 (exit $ac_status); } >/dev/null; then
28954 if test -s conftest.err; then
28955 ac_cpp_err=$ac_c_preproc_warn_flag
28956 else
28957 ac_cpp_err=
28958 fi
28959else
28960 ac_cpp_err=yes
28961fi
28962if test -z "$ac_cpp_err"; then
28963 ac_header_preproc=yes
28964else
28965 echo "$as_me: failed program was:" >&5
28966sed 's/^/| /' conftest.$ac_ext >&5
28967
28968 ac_header_preproc=no
28969fi
28970rm -f conftest.err conftest.$ac_ext
28971echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28972echo "${ECHO_T}$ac_header_preproc" >&6
28973
28974# So? What about this header?
28975case $ac_header_compiler:$ac_header_preproc in
28976 yes:no )
28977 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28978echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28979 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28980echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28981 (
28982 cat <<\_ASBOX
28983## ------------------------------------ ##
28984## Report this to bug-autoconf@gnu.org. ##
28985## ------------------------------------ ##
28986_ASBOX
28987 ) |
28988 sed "s/^/$as_me: WARNING: /" >&2
28989 ;;
28990 no:yes )
28991 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28992echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28993 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28994echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28996echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28997 (
28998 cat <<\_ASBOX
28999## ------------------------------------ ##
29000## Report this to bug-autoconf@gnu.org. ##
29001## ------------------------------------ ##
29002_ASBOX
29003 ) |
29004 sed "s/^/$as_me: WARNING: /" >&2
29005 ;;
29006esac
29007echo "$as_me:$LINENO: checking for $ac_header" >&5
29008echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29009if eval "test \"\${$as_ac_Header+set}\" = set"; then
29010 echo $ECHO_N "(cached) $ECHO_C" >&6
29011else
29012 eval "$as_ac_Header=$ac_header_preproc"
29013fi
29014echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29015echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29016
29017fi
29018if test `eval echo '${'$as_ac_Header'}'` = yes; then
29019 cat >>confdefs.h <<_ACEOF
29020#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29021_ACEOF
29022
29023fi
29024
29025done
29026
29027 if test "$ac_cv_header_sched_h" = "yes"; then
29028 echo "$as_me:$LINENO: checking for sched_yield" >&5
29029echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29030if test "${ac_cv_func_sched_yield+set}" = set; then
29031 echo $ECHO_N "(cached) $ECHO_C" >&6
29032else
29033 cat >conftest.$ac_ext <<_ACEOF
29034#line $LINENO "configure"
29035/* confdefs.h. */
29036_ACEOF
29037cat confdefs.h >>conftest.$ac_ext
29038cat >>conftest.$ac_ext <<_ACEOF
29039/* end confdefs.h. */
29040/* System header to define __stub macros and hopefully few prototypes,
29041 which can conflict with char sched_yield (); below.
29042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29043 <limits.h> exists even on freestanding compilers. */
29044#ifdef __STDC__
29045# include <limits.h>
29046#else
29047# include <assert.h>
29048#endif
29049/* Override any gcc2 internal prototype to avoid an error. */
29050#ifdef __cplusplus
29051extern "C"
29052{
29053#endif
29054/* We use char because int might match the return type of a gcc2
29055 builtin and then its argument prototype would still apply. */
29056char sched_yield ();
29057/* The GNU C library defines this for functions which it implements
29058 to always fail with ENOSYS. Some functions are actually named
29059 something starting with __ and the normal name is an alias. */
29060#if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29061choke me
29062#else
29063char (*f) () = sched_yield;
29064#endif
29065#ifdef __cplusplus
29066}
29067#endif
29068
29069int
29070main ()
29071{
29072return f != sched_yield;
29073 ;
29074 return 0;
29075}
29076_ACEOF
29077rm -f conftest.$ac_objext conftest$ac_exeext
29078if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29079 (eval $ac_link) 2>&5
29080 ac_status=$?
29081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29082 (exit $ac_status); } &&
29083 { ac_try='test -s conftest$ac_exeext'
29084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29085 (eval $ac_try) 2>&5
29086 ac_status=$?
29087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29088 (exit $ac_status); }; }; then
29089 ac_cv_func_sched_yield=yes
29090else
29091 echo "$as_me: failed program was:" >&5
29092sed 's/^/| /' conftest.$ac_ext >&5
29093
29094ac_cv_func_sched_yield=no
29095fi
29096rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29097fi
29098echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29099echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29100if test $ac_cv_func_sched_yield = yes; then
29101 cat >>confdefs.h <<\_ACEOF
29102#define HAVE_SCHED_YIELD 1
29103_ACEOF
29104
29105else
29106
29107 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29108echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29109if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29110 echo $ECHO_N "(cached) $ECHO_C" >&6
29111else
29112 ac_check_lib_save_LIBS=$LIBS
29113LIBS="-lposix4 $LIBS"
29114cat >conftest.$ac_ext <<_ACEOF
29115#line $LINENO "configure"
29116/* confdefs.h. */
29117_ACEOF
29118cat confdefs.h >>conftest.$ac_ext
29119cat >>conftest.$ac_ext <<_ACEOF
29120/* end confdefs.h. */
29121
29122/* Override any gcc2 internal prototype to avoid an error. */
29123#ifdef __cplusplus
29124extern "C"
29125#endif
29126/* We use char because int might match the return type of a gcc2
29127 builtin and then its argument prototype would still apply. */
29128char sched_yield ();
29129int
29130main ()
29131{
29132sched_yield ();
29133 ;
29134 return 0;
29135}
29136_ACEOF
29137rm -f conftest.$ac_objext conftest$ac_exeext
29138if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29139 (eval $ac_link) 2>&5
29140 ac_status=$?
29141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29142 (exit $ac_status); } &&
29143 { ac_try='test -s conftest$ac_exeext'
29144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29145 (eval $ac_try) 2>&5
29146 ac_status=$?
29147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29148 (exit $ac_status); }; }; then
29149 ac_cv_lib_posix4_sched_yield=yes
29150else
29151 echo "$as_me: failed program was:" >&5
29152sed 's/^/| /' conftest.$ac_ext >&5
29153
29154ac_cv_lib_posix4_sched_yield=no
29155fi
29156rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29157LIBS=$ac_check_lib_save_LIBS
29158fi
29159echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29160echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29161if test $ac_cv_lib_posix4_sched_yield = yes; then
29162 cat >>confdefs.h <<\_ACEOF
29163#define HAVE_SCHED_YIELD 1
29164_ACEOF
29165 POSIX4_LINK=" -lposix4"
29166else
29167 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29168echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29169
29170fi
29171
29172
29173
29174fi
29175
29176 fi
29177
29178 HAVE_PRIOR_FUNCS=0
29179 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29180echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29181if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29182 echo $ECHO_N "(cached) $ECHO_C" >&6
29183else
29184 cat >conftest.$ac_ext <<_ACEOF
29185#line $LINENO "configure"
29186/* confdefs.h. */
29187_ACEOF
29188cat confdefs.h >>conftest.$ac_ext
29189cat >>conftest.$ac_ext <<_ACEOF
29190/* end confdefs.h. */
29191/* System header to define __stub macros and hopefully few prototypes,
29192 which can conflict with char pthread_attr_getschedpolicy (); below.
29193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29194 <limits.h> exists even on freestanding compilers. */
29195#ifdef __STDC__
29196# include <limits.h>
29197#else
29198# include <assert.h>
29199#endif
29200/* Override any gcc2 internal prototype to avoid an error. */
29201#ifdef __cplusplus
29202extern "C"
29203{
29204#endif
29205/* We use char because int might match the return type of a gcc2
29206 builtin and then its argument prototype would still apply. */
29207char pthread_attr_getschedpolicy ();
29208/* The GNU C library defines this for functions which it implements
29209 to always fail with ENOSYS. Some functions are actually named
29210 something starting with __ and the normal name is an alias. */
29211#if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29212choke me
29213#else
29214char (*f) () = pthread_attr_getschedpolicy;
29215#endif
29216#ifdef __cplusplus
29217}
29218#endif
29219
29220int
29221main ()
29222{
29223return f != pthread_attr_getschedpolicy;
29224 ;
29225 return 0;
29226}
29227_ACEOF
29228rm -f conftest.$ac_objext conftest$ac_exeext
29229if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29230 (eval $ac_link) 2>&5
29231 ac_status=$?
29232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29233 (exit $ac_status); } &&
29234 { ac_try='test -s conftest$ac_exeext'
29235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29236 (eval $ac_try) 2>&5
29237 ac_status=$?
29238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29239 (exit $ac_status); }; }; then
29240 ac_cv_func_pthread_attr_getschedpolicy=yes
29241else
29242 echo "$as_me: failed program was:" >&5
29243sed 's/^/| /' conftest.$ac_ext >&5
29244
29245ac_cv_func_pthread_attr_getschedpolicy=no
29246fi
29247rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29248fi
29249echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29250echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29251if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29252 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29253echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29254if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29255 echo $ECHO_N "(cached) $ECHO_C" >&6
29256else
29257 cat >conftest.$ac_ext <<_ACEOF
29258#line $LINENO "configure"
29259/* confdefs.h. */
29260_ACEOF
29261cat confdefs.h >>conftest.$ac_ext
29262cat >>conftest.$ac_ext <<_ACEOF
29263/* end confdefs.h. */
29264/* System header to define __stub macros and hopefully few prototypes,
29265 which can conflict with char pthread_attr_setschedparam (); below.
29266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29267 <limits.h> exists even on freestanding compilers. */
29268#ifdef __STDC__
29269# include <limits.h>
29270#else
29271# include <assert.h>
29272#endif
29273/* Override any gcc2 internal prototype to avoid an error. */
29274#ifdef __cplusplus
29275extern "C"
29276{
29277#endif
29278/* We use char because int might match the return type of a gcc2
29279 builtin and then its argument prototype would still apply. */
29280char pthread_attr_setschedparam ();
29281/* The GNU C library defines this for functions which it implements
29282 to always fail with ENOSYS. Some functions are actually named
29283 something starting with __ and the normal name is an alias. */
29284#if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29285choke me
29286#else
29287char (*f) () = pthread_attr_setschedparam;
29288#endif
29289#ifdef __cplusplus
29290}
29291#endif
29292
29293int
29294main ()
29295{
29296return f != pthread_attr_setschedparam;
29297 ;
29298 return 0;
29299}
29300_ACEOF
29301rm -f conftest.$ac_objext conftest$ac_exeext
29302if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29303 (eval $ac_link) 2>&5
29304 ac_status=$?
29305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29306 (exit $ac_status); } &&
29307 { ac_try='test -s conftest$ac_exeext'
29308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29309 (eval $ac_try) 2>&5
29310 ac_status=$?
29311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29312 (exit $ac_status); }; }; then
29313 ac_cv_func_pthread_attr_setschedparam=yes
29314else
29315 echo "$as_me: failed program was:" >&5
29316sed 's/^/| /' conftest.$ac_ext >&5
29317
29318ac_cv_func_pthread_attr_setschedparam=no
29319fi
29320rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29321fi
29322echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29323echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29324if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29325 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29326echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29327if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29328 echo $ECHO_N "(cached) $ECHO_C" >&6
29329else
29330 cat >conftest.$ac_ext <<_ACEOF
29331#line $LINENO "configure"
29332/* confdefs.h. */
29333_ACEOF
29334cat confdefs.h >>conftest.$ac_ext
29335cat >>conftest.$ac_ext <<_ACEOF
29336/* end confdefs.h. */
29337/* System header to define __stub macros and hopefully few prototypes,
29338 which can conflict with char sched_get_priority_max (); below.
29339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29340 <limits.h> exists even on freestanding compilers. */
29341#ifdef __STDC__
29342# include <limits.h>
29343#else
29344# include <assert.h>
29345#endif
29346/* Override any gcc2 internal prototype to avoid an error. */
29347#ifdef __cplusplus
29348extern "C"
29349{
29350#endif
29351/* We use char because int might match the return type of a gcc2
29352 builtin and then its argument prototype would still apply. */
29353char sched_get_priority_max ();
29354/* The GNU C library defines this for functions which it implements
29355 to always fail with ENOSYS. Some functions are actually named
29356 something starting with __ and the normal name is an alias. */
29357#if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29358choke me
29359#else
29360char (*f) () = sched_get_priority_max;
29361#endif
29362#ifdef __cplusplus
29363}
29364#endif
29365
29366int
29367main ()
29368{
29369return f != sched_get_priority_max;
29370 ;
29371 return 0;
29372}
29373_ACEOF
29374rm -f conftest.$ac_objext conftest$ac_exeext
29375if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29376 (eval $ac_link) 2>&5
29377 ac_status=$?
29378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29379 (exit $ac_status); } &&
29380 { ac_try='test -s conftest$ac_exeext'
29381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29382 (eval $ac_try) 2>&5
29383 ac_status=$?
29384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29385 (exit $ac_status); }; }; then
29386 ac_cv_func_sched_get_priority_max=yes
29387else
29388 echo "$as_me: failed program was:" >&5
29389sed 's/^/| /' conftest.$ac_ext >&5
29390
29391ac_cv_func_sched_get_priority_max=no
29392fi
29393rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29394fi
29395echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29396echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29397if test $ac_cv_func_sched_get_priority_max = yes; then
29398 HAVE_PRIOR_FUNCS=1
29399else
29400 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29401echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29402if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29403 echo $ECHO_N "(cached) $ECHO_C" >&6
29404else
29405 ac_check_lib_save_LIBS=$LIBS
29406LIBS="-lposix4 $LIBS"
29407cat >conftest.$ac_ext <<_ACEOF
29408#line $LINENO "configure"
29409/* confdefs.h. */
29410_ACEOF
29411cat confdefs.h >>conftest.$ac_ext
29412cat >>conftest.$ac_ext <<_ACEOF
29413/* end confdefs.h. */
29414
29415/* Override any gcc2 internal prototype to avoid an error. */
29416#ifdef __cplusplus
29417extern "C"
29418#endif
29419/* We use char because int might match the return type of a gcc2
29420 builtin and then its argument prototype would still apply. */
29421char sched_get_priority_max ();
29422int
29423main ()
29424{
29425sched_get_priority_max ();
29426 ;
29427 return 0;
29428}
29429_ACEOF
29430rm -f conftest.$ac_objext conftest$ac_exeext
29431if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29432 (eval $ac_link) 2>&5
29433 ac_status=$?
29434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29435 (exit $ac_status); } &&
29436 { ac_try='test -s conftest$ac_exeext'
29437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29438 (eval $ac_try) 2>&5
29439 ac_status=$?
29440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29441 (exit $ac_status); }; }; then
29442 ac_cv_lib_posix4_sched_get_priority_max=yes
29443else
29444 echo "$as_me: failed program was:" >&5
29445sed 's/^/| /' conftest.$ac_ext >&5
29446
29447ac_cv_lib_posix4_sched_get_priority_max=no
29448fi
29449rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29450LIBS=$ac_check_lib_save_LIBS
29451fi
29452echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29453echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29454if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29455
29456 HAVE_PRIOR_FUNCS=1
29457 POSIX4_LINK=" -lposix4"
29458
29459fi
29460
29461
29462fi
29463
29464
29465fi
29466
29467
29468fi
29469
29470
29471 if test "$HAVE_PRIOR_FUNCS" = 1; then
29472 cat >>confdefs.h <<\_ACEOF
29473#define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29474_ACEOF
29475
29476 else
29477 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29478echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29479 fi
29480
29481 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29482echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29483if test "${ac_cv_func_pthread_cancel+set}" = set; then
29484 echo $ECHO_N "(cached) $ECHO_C" >&6
29485else
29486 cat >conftest.$ac_ext <<_ACEOF
29487#line $LINENO "configure"
29488/* confdefs.h. */
29489_ACEOF
29490cat confdefs.h >>conftest.$ac_ext
29491cat >>conftest.$ac_ext <<_ACEOF
29492/* end confdefs.h. */
29493/* System header to define __stub macros and hopefully few prototypes,
29494 which can conflict with char pthread_cancel (); below.
29495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29496 <limits.h> exists even on freestanding compilers. */
29497#ifdef __STDC__
29498# include <limits.h>
29499#else
29500# include <assert.h>
29501#endif
29502/* Override any gcc2 internal prototype to avoid an error. */
29503#ifdef __cplusplus
29504extern "C"
29505{
29506#endif
29507/* We use char because int might match the return type of a gcc2
29508 builtin and then its argument prototype would still apply. */
29509char pthread_cancel ();
29510/* The GNU C library defines this for functions which it implements
29511 to always fail with ENOSYS. Some functions are actually named
29512 something starting with __ and the normal name is an alias. */
29513#if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29514choke me
29515#else
29516char (*f) () = pthread_cancel;
29517#endif
29518#ifdef __cplusplus
29519}
29520#endif
29521
29522int
29523main ()
29524{
29525return f != pthread_cancel;
29526 ;
29527 return 0;
29528}
29529_ACEOF
29530rm -f conftest.$ac_objext conftest$ac_exeext
29531if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29532 (eval $ac_link) 2>&5
29533 ac_status=$?
29534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29535 (exit $ac_status); } &&
29536 { ac_try='test -s conftest$ac_exeext'
29537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29538 (eval $ac_try) 2>&5
29539 ac_status=$?
29540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29541 (exit $ac_status); }; }; then
29542 ac_cv_func_pthread_cancel=yes
29543else
29544 echo "$as_me: failed program was:" >&5
29545sed 's/^/| /' conftest.$ac_ext >&5
29546
29547ac_cv_func_pthread_cancel=no
29548fi
29549rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29550fi
29551echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29552echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29553if test $ac_cv_func_pthread_cancel = yes; then
29554 cat >>confdefs.h <<\_ACEOF
29555#define HAVE_PTHREAD_CANCEL 1
29556_ACEOF
29557
29558else
29559 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29560echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29561fi
29562
29563
29564 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29565echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29566if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29567 echo $ECHO_N "(cached) $ECHO_C" >&6
29568else
29569
29570 cat >conftest.$ac_ext <<_ACEOF
29571#line $LINENO "configure"
29572/* confdefs.h. */
29573_ACEOF
29574cat confdefs.h >>conftest.$ac_ext
29575cat >>conftest.$ac_ext <<_ACEOF
29576/* end confdefs.h. */
29577#include <pthread.h>
29578int
29579main ()
29580{
29581
29582 pthread_cleanup_push(NULL, NULL);
29583 pthread_cleanup_pop(0);
29584
29585 ;
29586 return 0;
29587}
29588_ACEOF
29589rm -f conftest.$ac_objext
29590if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29591 (eval $ac_compile) 2>&5
29592 ac_status=$?
29593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29594 (exit $ac_status); } &&
29595 { ac_try='test -s conftest.$ac_objext'
29596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29597 (eval $ac_try) 2>&5
29598 ac_status=$?
29599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29600 (exit $ac_status); }; }; then
29601
29602 wx_cv_func_pthread_cleanup_push=yes
29603
29604else
29605 echo "$as_me: failed program was:" >&5
29606sed 's/^/| /' conftest.$ac_ext >&5
29607
29608
29609 wx_cv_func_pthread_cleanup_push=no
29610
29611fi
29612rm -f conftest.$ac_objext conftest.$ac_ext
29613
29614fi
29615echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29616echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29617
29618 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29619 cat >>confdefs.h <<\_ACEOF
29620#define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29621_ACEOF
29622
29623 fi
29624
29625
29626 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29627echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29628if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29629 echo $ECHO_N "(cached) $ECHO_C" >&6
29630else
29631
29632 cat >conftest.$ac_ext <<_ACEOF
29633#line $LINENO "configure"
29634/* confdefs.h. */
29635_ACEOF
29636cat confdefs.h >>conftest.$ac_ext
29637cat >>conftest.$ac_ext <<_ACEOF
29638/* end confdefs.h. */
29639#include <pthread.h>
29640int
29641main ()
29642{
29643
29644 pthread_mutexattr_t attr;
29645 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29646
29647 ;
29648 return 0;
29649}
29650_ACEOF
29651rm -f conftest.$ac_objext
29652if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29653 (eval $ac_compile) 2>&5
29654 ac_status=$?
29655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29656 (exit $ac_status); } &&
29657 { ac_try='test -s conftest.$ac_objext'
29658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29659 (eval $ac_try) 2>&5
29660 ac_status=$?
29661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29662 (exit $ac_status); }; }; then
29663
29664 wx_cv_type_pthread_mutexattr_t=yes
29665
29666else
29667 echo "$as_me: failed program was:" >&5
29668sed 's/^/| /' conftest.$ac_ext >&5
29669
29670
29671 wx_cv_type_pthread_mutexattr_t=no
29672
29673
29674fi
29675rm -f conftest.$ac_objext conftest.$ac_ext
29676
29677fi
29678echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29679echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29680
29681 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29682 cat >>confdefs.h <<\_ACEOF
29683#define HAVE_PTHREAD_MUTEXATTR_T 1
29684_ACEOF
29685
29686 else
29687 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29688echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29689if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29690 echo $ECHO_N "(cached) $ECHO_C" >&6
29691else
29692
29693 cat >conftest.$ac_ext <<_ACEOF
29694#line $LINENO "configure"
29695/* confdefs.h. */
29696_ACEOF
29697cat confdefs.h >>conftest.$ac_ext
29698cat >>conftest.$ac_ext <<_ACEOF
29699/* end confdefs.h. */
29700#include <pthread.h>
29701int
29702main ()
29703{
29704
29705 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29706
29707 ;
29708 return 0;
29709}
29710_ACEOF
29711rm -f conftest.$ac_objext
29712if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29713 (eval $ac_compile) 2>&5
29714 ac_status=$?
29715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29716 (exit $ac_status); } &&
29717 { ac_try='test -s conftest.$ac_objext'
29718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29719 (eval $ac_try) 2>&5
29720 ac_status=$?
29721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29722 (exit $ac_status); }; }; then
29723
29724 wx_cv_type_pthread_rec_mutex_init=yes
29725
29726else
29727 echo "$as_me: failed program was:" >&5
29728sed 's/^/| /' conftest.$ac_ext >&5
29729
29730
29731 wx_cv_type_pthread_rec_mutex_init=no
29732
29733
29734fi
29735rm -f conftest.$ac_objext conftest.$ac_ext
29736
29737fi
29738echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
29739echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
29740 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
29741 cat >>confdefs.h <<\_ACEOF
29742#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
29743_ACEOF
29744
29745 else
29746 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
29747echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
29748 fi
29749 fi
29750 fi
29751
29752else
29753 if test "$wxUSE_THREADS" = "yes" ; then
29754 case "${host}" in
29755 *-*-mingw32* )
29756 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
29757echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
29758if test "${wx_cv_cflags_mthread+set}" = set; then
29759 echo $ECHO_N "(cached) $ECHO_C" >&6
29760else
29761
29762 CFLAGS_OLD="$CFLAGS"
29763 CFLAGS="$CFLAGS -mthreads"
29764 cat >conftest.$ac_ext <<_ACEOF
29765#line $LINENO "configure"
29766/* confdefs.h. */
29767_ACEOF
29768cat confdefs.h >>conftest.$ac_ext
29769cat >>conftest.$ac_ext <<_ACEOF
29770/* end confdefs.h. */
29771
29772int
29773main ()
29774{
29775
29776 ;
29777 return 0;
29778}
29779_ACEOF
29780rm -f conftest.$ac_objext
29781if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29782 (eval $ac_compile) 2>&5
29783 ac_status=$?
29784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29785 (exit $ac_status); } &&
29786 { ac_try='test -s conftest.$ac_objext'
29787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29788 (eval $ac_try) 2>&5
29789 ac_status=$?
29790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29791 (exit $ac_status); }; }; then
29792 wx_cv_cflags_mthread=yes
29793else
29794 echo "$as_me: failed program was:" >&5
29795sed 's/^/| /' conftest.$ac_ext >&5
29796
29797wx_cv_cflags_mthread=no
29798
29799fi
29800rm -f conftest.$ac_objext conftest.$ac_ext
29801
29802
29803fi
29804echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
29805echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
29806
29807 if test "$wx_cv_cflags_mthread" = "yes"; then
29808 CXXFLAGS="$CXXFLAGS -mthreads"
29809 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
29810 LDFLAGS="$LDFLAGS -mthreads"
29811 else
29812 CFLAGS="$CFLAGS_OLD"
29813 fi
29814 ;;
29815 esac
29816 fi
29817fi
29818
29819if test "$wxUSE_THREADS" = "yes"; then
29820 cat >>confdefs.h <<\_ACEOF
29821#define wxUSE_THREADS 1
29822_ACEOF
29823
29824
29825 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
29826else
29827 if test "$ac_cv_func_strtok_r" = "yes"; then
29828 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
29829echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
29830 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
29831 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
29832 echo "$as_me:$LINENO: result: yes" >&5
29833echo "${ECHO_T}yes" >&6
29834 else
29835 echo "$as_me:$LINENO: result: no" >&5
29836echo "${ECHO_T}no" >&6
29837 fi
29838 fi
29839fi
29840
29841if test "$WXGTK20" = 1 ; then
29842 cat >>confdefs.h <<_ACEOF
29843#define __WXGTK20__ $WXGTK20
29844_ACEOF
29845
29846 WXGTK12=1
29847fi
29848
29849if test "$WXGTK12" = 1 ; then
29850 cat >>confdefs.h <<_ACEOF
29851#define __WXGTK12__ $WXGTK12
29852_ACEOF
29853
29854fi
29855
29856if test "$WXGTK127" = 1 ; then
29857 cat >>confdefs.h <<_ACEOF
29858#define __WXGTK127__ $WXGTK127
29859_ACEOF
29860
29861fi
29862
29863WXDEBUG=
29864
29865if test "$wxUSE_DEBUG_INFO" = "yes" ; then
29866 WXDEBUG="-g"
29867 wxUSE_OPTIMISE=no
29868fi
29869
29870if test "$wxUSE_DEBUG_GDB" = "yes" ; then
29871 wxUSE_DEBUG_INFO=yes
29872 WXDEBUG="-ggdb"
29873fi
29874
29875if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
29876 cat >>confdefs.h <<\_ACEOF
29877#define WXDEBUG 1
29878_ACEOF
29879
29880 WXDEBUG_DEFINE="-D__WXDEBUG__"
29881else
29882 if test "$wxUSE_GTK" = 1 ; then
29883 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
29884 fi
29885fi
29886
29887if test "$wxUSE_MEM_TRACING" = "yes" ; then
29888 cat >>confdefs.h <<\_ACEOF
29889#define wxUSE_MEMORY_TRACING 1
29890_ACEOF
29891
29892 cat >>confdefs.h <<\_ACEOF
29893#define wxUSE_GLOBAL_MEMORY_OPERATORS 1
29894_ACEOF
29895
29896 cat >>confdefs.h <<\_ACEOF
29897#define wxUSE_DEBUG_NEW_ALWAYS 1
29898_ACEOF
29899
29900 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
29901fi
29902
29903if test "$wxUSE_DMALLOC" = "yes" ; then
29904 DMALLOC_LIBS="-ldmalloc"
29905fi
29906
29907PROFILE=
29908if test "$wxUSE_PROFILE" = "yes" ; then
29909 PROFILE=" -pg"
29910fi
29911
29912CODE_GEN_FLAGS=
29913CODE_GEN_FLAGS_CXX=
29914if test "$GCC" = "yes" ; then
29915 if test "$wxUSE_NO_RTTI" = "yes" ; then
29916 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
29917 fi
29918 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
29919 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
29920 fi
29921 if test "$wxUSE_PERMISSIVE" = "yes" ; then
29922 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
29923 fi
29924 if test "$USE_WIN32" = 1 ; then
29925 # I'm not even really sure what this was ever added to solve,
29926 # but someone added it for mingw native builds, so I guess
29927 # they had a reason, right??
29928 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fno-pcc-struct-return"
29929 fi
29930
29931 case "${host}" in
29932 powerpc*-*-aix* )
29933 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
29934 ;;
29935 *-hppa* )
29936 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
29937 ;;
29938 esac
29939fi
29940
29941OPTIMISE=
29942if test "$wxUSE_OPTIMISE" = "no" ; then
29943 if test "$GCC" = yes ; then
29944 OPTIMISE="-O0"
29945 fi
29946else
29947 if test "$GCC" = yes ; then
29948 OPTIMISE="-O2"
29949
29950 case "${host}" in
29951 i586-*-*|i686-*-* )
29952 OPTIMISE="${OPTIMISE} "
29953 ;;
29954 esac
29955 else
29956 OPTIMISE="-O"
29957 fi
29958fi
29959
29960
29961if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
29962 cat >>confdefs.h <<\_ACEOF
29963#define WXWIN_COMPATIBILITY_2 1
29964_ACEOF
29965
29966
29967 WXWIN_COMPATIBILITY_2_2="yes"
29968fi
29969
29970if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
29971 cat >>confdefs.h <<\_ACEOF
29972#define WXWIN_COMPATIBILITY_2_2 1
29973_ACEOF
29974
29975
29976 WXWIN_COMPATIBILITY_2_4="yes"
29977fi
29978
29979if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
29980 cat >>confdefs.h <<\_ACEOF
29981#define WXWIN_COMPATIBILITY_2_4 1
29982_ACEOF
29983
29984fi
29985
29986
29987if test "$wxUSE_GUI" = "yes"; then
29988 cat >>confdefs.h <<\_ACEOF
29989#define wxUSE_GUI 1
29990_ACEOF
29991
29992
29993 else
29994 cat >>confdefs.h <<\_ACEOF
29995#define wxUSE_NOGUI 1
29996_ACEOF
29997
29998fi
29999
30000
30001if test "$wxUSE_UNIX" = "yes"; then
30002 cat >>confdefs.h <<\_ACEOF
30003#define wxUSE_UNIX 1
30004_ACEOF
30005
30006fi
30007
30008
30009if test "$wxUSE_APPLE_IEEE" = "yes"; then
30010 cat >>confdefs.h <<\_ACEOF
30011#define wxUSE_APPLE_IEEE 1
30012_ACEOF
30013
30014fi
30015
30016if test "$wxUSE_TIMER" = "yes"; then
30017 cat >>confdefs.h <<\_ACEOF
30018#define wxUSE_TIMER 1
30019_ACEOF
30020
30021fi
30022
30023if test "$wxUSE_WAVE" = "yes"; then
30024 cat >>confdefs.h <<\_ACEOF
30025#define wxUSE_WAVE 1
30026_ACEOF
30027
30028fi
30029
30030if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30031 cat >>confdefs.h <<\_ACEOF
30032#define wxUSE_CMDLINE_PARSER 1
30033_ACEOF
30034
30035fi
30036
30037if test "$wxUSE_STOPWATCH" = "yes"; then
30038 cat >>confdefs.h <<\_ACEOF
30039#define wxUSE_STOPWATCH 1
30040_ACEOF
30041
30042fi
30043
30044if test "$wxUSE_DATETIME" = "yes"; then
30045 cat >>confdefs.h <<\_ACEOF
30046#define wxUSE_DATETIME 1
30047_ACEOF
30048
30049fi
30050
30051if test "$wxUSE_FILE" = "yes"; then
30052 cat >>confdefs.h <<\_ACEOF
30053#define wxUSE_FILE 1
30054_ACEOF
30055
30056fi
30057
30058if test "$wxUSE_FFILE" = "yes"; then
30059 cat >>confdefs.h <<\_ACEOF
30060#define wxUSE_FFILE 1
30061_ACEOF
30062
30063fi
30064
30065if test "$wxUSE_FILESYSTEM" = "yes"; then
30066 cat >>confdefs.h <<\_ACEOF
30067#define wxUSE_FILESYSTEM 1
30068_ACEOF
30069
30070fi
30071
30072if test "$wxUSE_FS_INET" = "yes"; then
30073 cat >>confdefs.h <<\_ACEOF
30074#define wxUSE_FS_INET 1
30075_ACEOF
30076
30077fi
30078
30079if test "$wxUSE_FS_ZIP" = "yes"; then
30080 cat >>confdefs.h <<\_ACEOF
30081#define wxUSE_FS_ZIP 1
30082_ACEOF
30083
30084fi
30085
30086if test "$wxUSE_ZIPSTREAM" = "yes"; then
30087 cat >>confdefs.h <<\_ACEOF
30088#define wxUSE_ZIPSTREAM 1
30089_ACEOF
30090
30091fi
30092
30093if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30094 cat >>confdefs.h <<\_ACEOF
30095#define wxUSE_ON_FATAL_EXCEPTION 1
30096_ACEOF
30097
30098fi
30099
30100if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30101 cat >>confdefs.h <<\_ACEOF
30102#define wxUSE_SNGLINST_CHECKER 1
30103_ACEOF
30104
30105fi
30106
30107if test "$wxUSE_BUSYINFO" = "yes"; then
30108 cat >>confdefs.h <<\_ACEOF
30109#define wxUSE_BUSYINFO 1
30110_ACEOF
30111
30112fi
30113
30114if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30115 cat >>confdefs.h <<\_ACEOF
30116#define wxUSE_STD_IOSTREAM 1
30117_ACEOF
30118
30119fi
30120
30121if test "$wxUSE_TEXTBUFFER" = "yes"; then
30122 cat >>confdefs.h <<\_ACEOF
30123#define wxUSE_TEXTBUFFER 1
30124_ACEOF
30125
30126fi
30127
30128if test "$wxUSE_TEXTFILE" = "yes"; then
30129 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30130 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30131echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30132 else
30133 cat >>confdefs.h <<\_ACEOF
30134#define wxUSE_TEXTFILE 1
30135_ACEOF
30136
30137 fi
30138fi
30139
30140if test "$wxUSE_CONFIG" = "yes" ; then
30141 if test "$wxUSE_TEXTFILE" != "yes"; then
30142 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30143echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30144 else
30145 cat >>confdefs.h <<\_ACEOF
30146#define wxUSE_CONFIG 1
30147_ACEOF
30148
30149 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
30150 fi
30151fi
30152
30153if test "$wxUSE_INTL" = "yes" ; then
30154 if test "$wxUSE_FILE" != "yes"; then
30155 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30156echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30157 else
30158 cat >>confdefs.h <<\_ACEOF
30159#define wxUSE_INTL 1
30160_ACEOF
30161
30162 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
30163 GUIDIST="$GUIDIST INTL_DIST"
30164 fi
30165fi
30166
30167if test "$wxUSE_LOG" = "yes"; then
30168 cat >>confdefs.h <<\_ACEOF
30169#define wxUSE_LOG 1
30170_ACEOF
30171
30172
30173 if test "$wxUSE_LOGGUI" = "yes"; then
30174 cat >>confdefs.h <<\_ACEOF
30175#define wxUSE_LOGGUI 1
30176_ACEOF
30177
30178 fi
30179
30180 if test "$wxUSE_LOGWINDOW" = "yes"; then
30181 cat >>confdefs.h <<\_ACEOF
30182#define wxUSE_LOGWINDOW 1
30183_ACEOF
30184
30185 fi
30186
30187 if test "$wxUSE_LOGDIALOG" = "yes"; then
30188 cat >>confdefs.h <<\_ACEOF
30189#define wxUSE_LOG_DIALOG 1
30190_ACEOF
30191
30192 fi
30193fi
30194
30195if test "$wxUSE_LONGLONG" = "yes"; then
30196 cat >>confdefs.h <<\_ACEOF
30197#define wxUSE_LONGLONG 1
30198_ACEOF
30199
30200fi
30201
30202if test "$wxUSE_GEOMETRY" = "yes"; then
30203 cat >>confdefs.h <<\_ACEOF
30204#define wxUSE_GEOMETRY 1
30205_ACEOF
30206
30207fi
30208
30209if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30210 cat >>confdefs.h <<\_ACEOF
30211#define wxUSE_DIALUP_MANAGER 1
30212_ACEOF
30213
30214 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
30215fi
30216
30217if test "$wxUSE_STREAMS" = "yes" ; then
30218 cat >>confdefs.h <<\_ACEOF
30219#define wxUSE_STREAMS 1
30220_ACEOF
30221
30222fi
30223
30224
30225if test "$wxUSE_DATETIME" = "yes"; then
30226
30227for ac_func in strptime
30228do
30229as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30230echo "$as_me:$LINENO: checking for $ac_func" >&5
30231echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30232if eval "test \"\${$as_ac_var+set}\" = set"; then
30233 echo $ECHO_N "(cached) $ECHO_C" >&6
30234else
30235 cat >conftest.$ac_ext <<_ACEOF
30236#line $LINENO "configure"
30237/* confdefs.h. */
30238_ACEOF
30239cat confdefs.h >>conftest.$ac_ext
30240cat >>conftest.$ac_ext <<_ACEOF
30241/* end confdefs.h. */
30242/* System header to define __stub macros and hopefully few prototypes,
30243 which can conflict with char $ac_func (); below.
30244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30245 <limits.h> exists even on freestanding compilers. */
30246#ifdef __STDC__
30247# include <limits.h>
30248#else
30249# include <assert.h>
30250#endif
30251/* Override any gcc2 internal prototype to avoid an error. */
30252#ifdef __cplusplus
30253extern "C"
30254{
30255#endif
30256/* We use char because int might match the return type of a gcc2
30257 builtin and then its argument prototype would still apply. */
30258char $ac_func ();
30259/* The GNU C library defines this for functions which it implements
30260 to always fail with ENOSYS. Some functions are actually named
30261 something starting with __ and the normal name is an alias. */
30262#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30263choke me
30264#else
30265char (*f) () = $ac_func;
30266#endif
30267#ifdef __cplusplus
30268}
30269#endif
30270
30271int
30272main ()
30273{
30274return f != $ac_func;
30275 ;
30276 return 0;
30277}
30278_ACEOF
30279rm -f conftest.$ac_objext conftest$ac_exeext
30280if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30281 (eval $ac_link) 2>&5
30282 ac_status=$?
30283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30284 (exit $ac_status); } &&
30285 { ac_try='test -s conftest$ac_exeext'
30286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30287 (eval $ac_try) 2>&5
30288 ac_status=$?
30289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30290 (exit $ac_status); }; }; then
30291 eval "$as_ac_var=yes"
30292else
30293 echo "$as_me: failed program was:" >&5
30294sed 's/^/| /' conftest.$ac_ext >&5
30295
30296eval "$as_ac_var=no"
30297fi
30298rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30299fi
30300echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30301echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30302if test `eval echo '${'$as_ac_var'}'` = yes; then
30303 cat >>confdefs.h <<_ACEOF
30304#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30305_ACEOF
30306
30307fi
30308done
30309
30310
30311 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30312echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30313if test "${wx_cv_var_timezone+set}" = set; then
30314 echo $ECHO_N "(cached) $ECHO_C" >&6
30315else
30316
30317 cat >conftest.$ac_ext <<_ACEOF
30318#line $LINENO "configure"
30319/* confdefs.h. */
30320_ACEOF
30321cat confdefs.h >>conftest.$ac_ext
30322cat >>conftest.$ac_ext <<_ACEOF
30323/* end confdefs.h. */
30324
30325 #include <time.h>
30326
30327int
30328main ()
30329{
30330
30331 int tz;
30332 tz = timezone;
30333
30334 ;
30335 return 0;
30336}
30337_ACEOF
30338rm -f conftest.$ac_objext
30339if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30340 (eval $ac_compile) 2>&5
30341 ac_status=$?
30342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30343 (exit $ac_status); } &&
30344 { ac_try='test -s conftest.$ac_objext'
30345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30346 (eval $ac_try) 2>&5
30347 ac_status=$?
30348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30349 (exit $ac_status); }; }; then
30350
30351 wx_cv_var_timezone=timezone
30352
30353else
30354 echo "$as_me: failed program was:" >&5
30355sed 's/^/| /' conftest.$ac_ext >&5
30356
30357
30358 cat >conftest.$ac_ext <<_ACEOF
30359#line $LINENO "configure"
30360/* confdefs.h. */
30361_ACEOF
30362cat confdefs.h >>conftest.$ac_ext
30363cat >>conftest.$ac_ext <<_ACEOF
30364/* end confdefs.h. */
30365
30366 #include <time.h>
30367
30368int
30369main ()
30370{
30371
30372 int tz;
30373 tz = _timezone;
30374
30375 ;
30376 return 0;
30377}
30378_ACEOF
30379rm -f conftest.$ac_objext
30380if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30381 (eval $ac_compile) 2>&5
30382 ac_status=$?
30383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30384 (exit $ac_status); } &&
30385 { ac_try='test -s conftest.$ac_objext'
30386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30387 (eval $ac_try) 2>&5
30388 ac_status=$?
30389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30390 (exit $ac_status); }; }; then
30391
30392 wx_cv_var_timezone=_timezone
30393
30394else
30395 echo "$as_me: failed program was:" >&5
30396sed 's/^/| /' conftest.$ac_ext >&5
30397
30398
30399 cat >conftest.$ac_ext <<_ACEOF
30400#line $LINENO "configure"
30401/* confdefs.h. */
30402_ACEOF
30403cat confdefs.h >>conftest.$ac_ext
30404cat >>conftest.$ac_ext <<_ACEOF
30405/* end confdefs.h. */
30406
30407 #include <time.h>
30408
30409int
30410main ()
30411{
30412
30413 int tz;
30414 tz = __timezone;
30415
30416 ;
30417 return 0;
30418}
30419_ACEOF
30420rm -f conftest.$ac_objext
30421if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30422 (eval $ac_compile) 2>&5
30423 ac_status=$?
30424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30425 (exit $ac_status); } &&
30426 { ac_try='test -s conftest.$ac_objext'
30427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30428 (eval $ac_try) 2>&5
30429 ac_status=$?
30430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30431 (exit $ac_status); }; }; then
30432
30433 wx_cv_var_timezone=__timezone
30434
30435else
30436 echo "$as_me: failed program was:" >&5
30437sed 's/^/| /' conftest.$ac_ext >&5
30438
30439
30440 if test "$USE_DOS" = 0 ; then
30441 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30442echo "$as_me: WARNING: no timezone variable" >&2;}
30443 fi
30444
30445
30446fi
30447rm -f conftest.$ac_objext conftest.$ac_ext
30448
30449
30450fi
30451rm -f conftest.$ac_objext conftest.$ac_ext
30452
30453
30454fi
30455rm -f conftest.$ac_objext conftest.$ac_ext
30456
30457
30458fi
30459echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30460echo "${ECHO_T}$wx_cv_var_timezone" >&6
30461
30462 if test "x$wx_cv_var_timezone" != x ; then
30463 cat >>confdefs.h <<_ACEOF
30464#define WX_TIMEZONE $wx_cv_var_timezone
30465_ACEOF
30466
30467 fi
30468
30469
30470for ac_func in localtime
30471do
30472as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30473echo "$as_me:$LINENO: checking for $ac_func" >&5
30474echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30475if eval "test \"\${$as_ac_var+set}\" = set"; then
30476 echo $ECHO_N "(cached) $ECHO_C" >&6
30477else
30478 cat >conftest.$ac_ext <<_ACEOF
30479#line $LINENO "configure"
30480/* confdefs.h. */
30481_ACEOF
30482cat confdefs.h >>conftest.$ac_ext
30483cat >>conftest.$ac_ext <<_ACEOF
30484/* end confdefs.h. */
30485/* System header to define __stub macros and hopefully few prototypes,
30486 which can conflict with char $ac_func (); below.
30487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30488 <limits.h> exists even on freestanding compilers. */
30489#ifdef __STDC__
30490# include <limits.h>
30491#else
30492# include <assert.h>
30493#endif
30494/* Override any gcc2 internal prototype to avoid an error. */
30495#ifdef __cplusplus
30496extern "C"
30497{
30498#endif
30499/* We use char because int might match the return type of a gcc2
30500 builtin and then its argument prototype would still apply. */
30501char $ac_func ();
30502/* The GNU C library defines this for functions which it implements
30503 to always fail with ENOSYS. Some functions are actually named
30504 something starting with __ and the normal name is an alias. */
30505#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30506choke me
30507#else
30508char (*f) () = $ac_func;
30509#endif
30510#ifdef __cplusplus
30511}
30512#endif
30513
30514int
30515main ()
30516{
30517return f != $ac_func;
30518 ;
30519 return 0;
30520}
30521_ACEOF
30522rm -f conftest.$ac_objext conftest$ac_exeext
30523if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30524 (eval $ac_link) 2>&5
30525 ac_status=$?
30526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30527 (exit $ac_status); } &&
30528 { ac_try='test -s conftest$ac_exeext'
30529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30530 (eval $ac_try) 2>&5
30531 ac_status=$?
30532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30533 (exit $ac_status); }; }; then
30534 eval "$as_ac_var=yes"
30535else
30536 echo "$as_me: failed program was:" >&5
30537sed 's/^/| /' conftest.$ac_ext >&5
30538
30539eval "$as_ac_var=no"
30540fi
30541rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30542fi
30543echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30544echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30545if test `eval echo '${'$as_ac_var'}'` = yes; then
30546 cat >>confdefs.h <<_ACEOF
30547#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30548_ACEOF
30549
30550fi
30551done
30552
30553
30554 if test "$ac_cv_func_localtime" = "yes"; then
30555 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30556echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30557if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30558 echo $ECHO_N "(cached) $ECHO_C" >&6
30559else
30560
30561 cat >conftest.$ac_ext <<_ACEOF
30562#line $LINENO "configure"
30563/* confdefs.h. */
30564_ACEOF
30565cat confdefs.h >>conftest.$ac_ext
30566cat >>conftest.$ac_ext <<_ACEOF
30567/* end confdefs.h. */
30568
30569 #include <time.h>
30570
30571int
30572main ()
30573{
30574
30575 struct tm tm;
30576 tm.tm_gmtoff++;
30577
30578 ;
30579 return 0;
30580}
30581_ACEOF
30582rm -f conftest.$ac_objext
30583if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30584 (eval $ac_compile) 2>&5
30585 ac_status=$?
30586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30587 (exit $ac_status); } &&
30588 { ac_try='test -s conftest.$ac_objext'
30589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30590 (eval $ac_try) 2>&5
30591 ac_status=$?
30592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30593 (exit $ac_status); }; }; then
30594
30595 wx_cv_struct_tm_has_gmtoff=yes
30596
30597else
30598 echo "$as_me: failed program was:" >&5
30599sed 's/^/| /' conftest.$ac_ext >&5
30600
30601wx_cv_struct_tm_has_gmtoff=no
30602
30603fi
30604rm -f conftest.$ac_objext conftest.$ac_ext
30605
30606fi
30607echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30608echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30609 fi
30610
30611 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30612 cat >>confdefs.h <<\_ACEOF
30613#define WX_GMTOFF_IN_TM 1
30614_ACEOF
30615
30616 fi
30617
30618
30619
30620for ac_func in gettimeofday ftime
30621do
30622as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30623echo "$as_me:$LINENO: checking for $ac_func" >&5
30624echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30625if eval "test \"\${$as_ac_var+set}\" = set"; then
30626 echo $ECHO_N "(cached) $ECHO_C" >&6
30627else
30628 cat >conftest.$ac_ext <<_ACEOF
30629#line $LINENO "configure"
30630/* confdefs.h. */
30631_ACEOF
30632cat confdefs.h >>conftest.$ac_ext
30633cat >>conftest.$ac_ext <<_ACEOF
30634/* end confdefs.h. */
30635/* System header to define __stub macros and hopefully few prototypes,
30636 which can conflict with char $ac_func (); below.
30637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30638 <limits.h> exists even on freestanding compilers. */
30639#ifdef __STDC__
30640# include <limits.h>
30641#else
30642# include <assert.h>
30643#endif
30644/* Override any gcc2 internal prototype to avoid an error. */
30645#ifdef __cplusplus
30646extern "C"
30647{
30648#endif
30649/* We use char because int might match the return type of a gcc2
30650 builtin and then its argument prototype would still apply. */
30651char $ac_func ();
30652/* The GNU C library defines this for functions which it implements
30653 to always fail with ENOSYS. Some functions are actually named
30654 something starting with __ and the normal name is an alias. */
30655#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30656choke me
30657#else
30658char (*f) () = $ac_func;
30659#endif
30660#ifdef __cplusplus
30661}
30662#endif
30663
30664int
30665main ()
30666{
30667return f != $ac_func;
30668 ;
30669 return 0;
30670}
30671_ACEOF
30672rm -f conftest.$ac_objext conftest$ac_exeext
30673if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30674 (eval $ac_link) 2>&5
30675 ac_status=$?
30676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30677 (exit $ac_status); } &&
30678 { ac_try='test -s conftest$ac_exeext'
30679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30680 (eval $ac_try) 2>&5
30681 ac_status=$?
30682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30683 (exit $ac_status); }; }; then
30684 eval "$as_ac_var=yes"
30685else
30686 echo "$as_me: failed program was:" >&5
30687sed 's/^/| /' conftest.$ac_ext >&5
30688
30689eval "$as_ac_var=no"
30690fi
30691rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30692fi
30693echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30694echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30695if test `eval echo '${'$as_ac_var'}'` = yes; then
30696 cat >>confdefs.h <<_ACEOF
30697#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30698_ACEOF
30699 break
30700fi
30701done
30702
30703
30704 if test "$ac_cv_func_gettimeofday" = "yes"; then
30705 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30706echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30707if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30708 echo $ECHO_N "(cached) $ECHO_C" >&6
30709else
30710
30711
30712
30713 ac_ext=cc
30714ac_cpp='$CXXCPP $CPPFLAGS'
30715ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30716ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30717ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30718
30719
30720 cat >conftest.$ac_ext <<_ACEOF
30721#line $LINENO "configure"
30722/* confdefs.h. */
30723_ACEOF
30724cat confdefs.h >>conftest.$ac_ext
30725cat >>conftest.$ac_ext <<_ACEOF
30726/* end confdefs.h. */
30727
30728 #include <sys/time.h>
30729 #include <unistd.h>
30730
30731int
30732main ()
30733{
30734
30735 struct timeval tv;
30736 gettimeofday(&tv, NULL);
30737
30738 ;
30739 return 0;
30740}
30741_ACEOF
30742rm -f conftest.$ac_objext
30743if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30744 (eval $ac_compile) 2>&5
30745 ac_status=$?
30746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30747 (exit $ac_status); } &&
30748 { ac_try='test -s conftest.$ac_objext'
30749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30750 (eval $ac_try) 2>&5
30751 ac_status=$?
30752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30753 (exit $ac_status); }; }; then
30754 wx_cv_func_gettimeofday_has_2_args=yes
30755else
30756 echo "$as_me: failed program was:" >&5
30757sed 's/^/| /' conftest.$ac_ext >&5
30758
30759cat >conftest.$ac_ext <<_ACEOF
30760#line $LINENO "configure"
30761/* confdefs.h. */
30762_ACEOF
30763cat confdefs.h >>conftest.$ac_ext
30764cat >>conftest.$ac_ext <<_ACEOF
30765/* end confdefs.h. */
30766
30767 #include <sys/time.h>
30768 #include <unistd.h>
30769
30770int
30771main ()
30772{
30773
30774 struct timeval tv;
30775 gettimeofday(&tv);
30776
30777 ;
30778 return 0;
30779}
30780_ACEOF
30781rm -f conftest.$ac_objext
30782if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30783 (eval $ac_compile) 2>&5
30784 ac_status=$?
30785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30786 (exit $ac_status); } &&
30787 { ac_try='test -s conftest.$ac_objext'
30788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30789 (eval $ac_try) 2>&5
30790 ac_status=$?
30791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30792 (exit $ac_status); }; }; then
30793 wx_cv_func_gettimeofday_has_2_args=no
30794else
30795 echo "$as_me: failed program was:" >&5
30796sed 's/^/| /' conftest.$ac_ext >&5
30797
30798
30799 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
30800echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
30801 wx_cv_func_gettimeofday_has_2_args=unknown
30802
30803
30804fi
30805rm -f conftest.$ac_objext conftest.$ac_ext
30806
30807fi
30808rm -f conftest.$ac_objext conftest.$ac_ext
30809 ac_ext=c
30810ac_cpp='$CPP $CPPFLAGS'
30811ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30812ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30813ac_compiler_gnu=$ac_cv_c_compiler_gnu
30814
30815
30816fi
30817echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
30818echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
30819
30820 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
30821 cat >>confdefs.h <<\_ACEOF
30822#define WX_GETTIMEOFDAY_NO_TZ 1
30823_ACEOF
30824
30825 fi
30826 fi
30827
30828 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
30829fi
30830
30831
30832if test "$wxUSE_SOCKETS" = "yes"; then
30833 if test "$wxUSE_MGL" = "1"; then
30834 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
30835echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
30836 wxUSE_SOCKETS="no"
30837 fi
30838fi
30839
30840if test "$wxUSE_SOCKETS" = "yes"; then
30841 if test "$TOOLKIT" != "MSW"; then
30842 echo "$as_me:$LINENO: checking for socket" >&5
30843echo $ECHO_N "checking for socket... $ECHO_C" >&6
30844if test "${ac_cv_func_socket+set}" = set; then
30845 echo $ECHO_N "(cached) $ECHO_C" >&6
30846else
30847 cat >conftest.$ac_ext <<_ACEOF
30848#line $LINENO "configure"
30849/* confdefs.h. */
30850_ACEOF
30851cat confdefs.h >>conftest.$ac_ext
30852cat >>conftest.$ac_ext <<_ACEOF
30853/* end confdefs.h. */
30854/* System header to define __stub macros and hopefully few prototypes,
30855 which can conflict with char socket (); below.
30856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30857 <limits.h> exists even on freestanding compilers. */
30858#ifdef __STDC__
30859# include <limits.h>
30860#else
30861# include <assert.h>
30862#endif
30863/* Override any gcc2 internal prototype to avoid an error. */
30864#ifdef __cplusplus
30865extern "C"
30866{
30867#endif
30868/* We use char because int might match the return type of a gcc2
30869 builtin and then its argument prototype would still apply. */
30870char socket ();
30871/* The GNU C library defines this for functions which it implements
30872 to always fail with ENOSYS. Some functions are actually named
30873 something starting with __ and the normal name is an alias. */
30874#if defined (__stub_socket) || defined (__stub___socket)
30875choke me
30876#else
30877char (*f) () = socket;
30878#endif
30879#ifdef __cplusplus
30880}
30881#endif
30882
30883int
30884main ()
30885{
30886return f != socket;
30887 ;
30888 return 0;
30889}
30890_ACEOF
30891rm -f conftest.$ac_objext conftest$ac_exeext
30892if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30893 (eval $ac_link) 2>&5
30894 ac_status=$?
30895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30896 (exit $ac_status); } &&
30897 { ac_try='test -s conftest$ac_exeext'
30898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30899 (eval $ac_try) 2>&5
30900 ac_status=$?
30901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30902 (exit $ac_status); }; }; then
30903 ac_cv_func_socket=yes
30904else
30905 echo "$as_me: failed program was:" >&5
30906sed 's/^/| /' conftest.$ac_ext >&5
30907
30908ac_cv_func_socket=no
30909fi
30910rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30911fi
30912echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
30913echo "${ECHO_T}$ac_cv_func_socket" >&6
30914if test $ac_cv_func_socket = yes; then
30915 :
30916else
30917 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
30918echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
30919if test "${ac_cv_lib_socket_socket+set}" = set; then
30920 echo $ECHO_N "(cached) $ECHO_C" >&6
30921else
30922 ac_check_lib_save_LIBS=$LIBS
30923LIBS="-lsocket $LIBS"
30924cat >conftest.$ac_ext <<_ACEOF
30925#line $LINENO "configure"
30926/* confdefs.h. */
30927_ACEOF
30928cat confdefs.h >>conftest.$ac_ext
30929cat >>conftest.$ac_ext <<_ACEOF
30930/* end confdefs.h. */
30931
30932/* Override any gcc2 internal prototype to avoid an error. */
30933#ifdef __cplusplus
30934extern "C"
30935#endif
30936/* We use char because int might match the return type of a gcc2
30937 builtin and then its argument prototype would still apply. */
30938char socket ();
30939int
30940main ()
30941{
30942socket ();
30943 ;
30944 return 0;
30945}
30946_ACEOF
30947rm -f conftest.$ac_objext conftest$ac_exeext
30948if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30949 (eval $ac_link) 2>&5
30950 ac_status=$?
30951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30952 (exit $ac_status); } &&
30953 { ac_try='test -s conftest$ac_exeext'
30954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30955 (eval $ac_try) 2>&5
30956 ac_status=$?
30957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30958 (exit $ac_status); }; }; then
30959 ac_cv_lib_socket_socket=yes
30960else
30961 echo "$as_me: failed program was:" >&5
30962sed 's/^/| /' conftest.$ac_ext >&5
30963
30964ac_cv_lib_socket_socket=no
30965fi
30966rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30967LIBS=$ac_check_lib_save_LIBS
30968fi
30969echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
30970echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
30971if test $ac_cv_lib_socket_socket = yes; then
30972 if test "$INET_LINK" != " -lsocket"; then
30973 INET_LINK="$INET_LINK -lsocket"
30974 fi
30975else
30976
30977 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
30978echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
30979 wxUSE_SOCKETS=no
30980
30981
30982fi
30983
30984
30985fi
30986
30987 fi
30988fi
30989
30990if test "$wxUSE_SOCKETS" = "yes" ; then
30991 if test "$TOOLKIT" != "MSW"; then
30992 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
30993echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
30994if test "${wx_cv_type_getsockname3+set}" = set; then
30995 echo $ECHO_N "(cached) $ECHO_C" >&6
30996else
30997
30998 cat >conftest.$ac_ext <<_ACEOF
30999#line $LINENO "configure"
31000/* confdefs.h. */
31001_ACEOF
31002cat confdefs.h >>conftest.$ac_ext
31003cat >>conftest.$ac_ext <<_ACEOF
31004/* end confdefs.h. */
31005
31006 #include <sys/types.h>
31007 #include <sys/socket.h>
31008
31009int
31010main ()
31011{
31012
31013 socklen_t len;
31014 getsockname(0, 0, &len);
31015
31016 ;
31017 return 0;
31018}
31019_ACEOF
31020rm -f conftest.$ac_objext
31021if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31022 (eval $ac_compile) 2>&5
31023 ac_status=$?
31024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31025 (exit $ac_status); } &&
31026 { ac_try='test -s conftest.$ac_objext'
31027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31028 (eval $ac_try) 2>&5
31029 ac_status=$?
31030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31031 (exit $ac_status); }; }; then
31032 wx_cv_type_getsockname3=socklen_t
31033else
31034 echo "$as_me: failed program was:" >&5
31035sed 's/^/| /' conftest.$ac_ext >&5
31036
31037
31038 CFLAGS_OLD="$CFLAGS"
31039 if test "$GCC" = yes ; then
31040 CFLAGS="$CFLAGS -Werror"
31041 fi
31042
31043 cat >conftest.$ac_ext <<_ACEOF
31044#line $LINENO "configure"
31045/* confdefs.h. */
31046_ACEOF
31047cat confdefs.h >>conftest.$ac_ext
31048cat >>conftest.$ac_ext <<_ACEOF
31049/* end confdefs.h. */
31050
31051 #include <sys/types.h>
31052 #include <sys/socket.h>
31053
31054int
31055main ()
31056{
31057
31058 size_t len;
31059 getsockname(0, 0, &len);
31060
31061 ;
31062 return 0;
31063}
31064_ACEOF
31065rm -f conftest.$ac_objext
31066if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31067 (eval $ac_compile) 2>&5
31068 ac_status=$?
31069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31070 (exit $ac_status); } &&
31071 { ac_try='test -s conftest.$ac_objext'
31072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31073 (eval $ac_try) 2>&5
31074 ac_status=$?
31075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31076 (exit $ac_status); }; }; then
31077 wx_cv_type_getsockname3=size_t
31078else
31079 echo "$as_me: failed program was:" >&5
31080sed 's/^/| /' conftest.$ac_ext >&5
31081
31082cat >conftest.$ac_ext <<_ACEOF
31083#line $LINENO "configure"
31084/* confdefs.h. */
31085_ACEOF
31086cat confdefs.h >>conftest.$ac_ext
31087cat >>conftest.$ac_ext <<_ACEOF
31088/* end confdefs.h. */
31089
31090 #include <sys/types.h>
31091 #include <sys/socket.h>
31092
31093int
31094main ()
31095{
31096
31097 int len;
31098 getsockname(0, 0, &len);
31099
31100 ;
31101 return 0;
31102}
31103_ACEOF
31104rm -f conftest.$ac_objext
31105if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31106 (eval $ac_compile) 2>&5
31107 ac_status=$?
31108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31109 (exit $ac_status); } &&
31110 { ac_try='test -s conftest.$ac_objext'
31111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31112 (eval $ac_try) 2>&5
31113 ac_status=$?
31114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31115 (exit $ac_status); }; }; then
31116 wx_cv_type_getsockname3=int
31117else
31118 echo "$as_me: failed program was:" >&5
31119sed 's/^/| /' conftest.$ac_ext >&5
31120
31121wx_cv_type_getsockname3=unknown
31122
31123fi
31124rm -f conftest.$ac_objext conftest.$ac_ext
31125
31126fi
31127rm -f conftest.$ac_objext conftest.$ac_ext
31128
31129 CFLAGS="$CFLAGS_OLD"
31130
31131
31132fi
31133rm -f conftest.$ac_objext conftest.$ac_ext
31134
31135fi
31136echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31137echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31138
31139 if test "$wx_cv_type_getsockname3" = "unknown"; then
31140 wxUSE_SOCKETS=no
31141 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31142echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31143 else
31144 cat >>confdefs.h <<_ACEOF
31145#define SOCKLEN_T $wx_cv_type_getsockname3
31146_ACEOF
31147
31148 fi
31149 fi
31150fi
31151
31152if test "$wxUSE_SOCKETS" = "yes" ; then
31153 cat >>confdefs.h <<\_ACEOF
31154#define wxUSE_SOCKETS 1
31155_ACEOF
31156
31157 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
31158fi
31159
31160
31161if test "$wxUSE_GUI" = "yes"; then
31162
31163 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31164 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31165echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31166 wxUSE_JOYSTICK=no
31167 fi
31168 if test "$TOOLKIT" = "MOTIF"; then
31169 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Motif... disabled" >&5
31170echo "$as_me: WARNING: Joystick not yet supported under Motif... disabled" >&2;}
31171 wxUSE_JOYSTICK=no
31172 fi
31173 if test "$TOOLKIT" = "X11"; then
31174 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under X11... disabled" >&5
31175echo "$as_me: WARNING: Joystick not yet supported under X11... disabled" >&2;}
31176 wxUSE_JOYSTICK=no
31177 fi
31178
31179 if test "$TOOLKIT" != "MSW"; then
31180 if test "$wxUSE_JOYSTICK" = "yes"; then
31181
31182for ac_header in linux/joystick.h
31183do
31184as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31185if eval "test \"\${$as_ac_Header+set}\" = set"; then
31186 echo "$as_me:$LINENO: checking for $ac_header" >&5
31187echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31188if eval "test \"\${$as_ac_Header+set}\" = set"; then
31189 echo $ECHO_N "(cached) $ECHO_C" >&6
31190fi
31191echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31192echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31193else
31194 # Is the header compilable?
31195echo "$as_me:$LINENO: checking $ac_header usability" >&5
31196echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31197cat >conftest.$ac_ext <<_ACEOF
31198#line $LINENO "configure"
31199/* confdefs.h. */
31200_ACEOF
31201cat confdefs.h >>conftest.$ac_ext
31202cat >>conftest.$ac_ext <<_ACEOF
31203/* end confdefs.h. */
31204$ac_includes_default
31205#include <$ac_header>
31206_ACEOF
31207rm -f conftest.$ac_objext
31208if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31209 (eval $ac_compile) 2>&5
31210 ac_status=$?
31211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31212 (exit $ac_status); } &&
31213 { ac_try='test -s conftest.$ac_objext'
31214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31215 (eval $ac_try) 2>&5
31216 ac_status=$?
31217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31218 (exit $ac_status); }; }; then
31219 ac_header_compiler=yes
31220else
31221 echo "$as_me: failed program was:" >&5
31222sed 's/^/| /' conftest.$ac_ext >&5
31223
31224ac_header_compiler=no
31225fi
31226rm -f conftest.$ac_objext conftest.$ac_ext
31227echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31228echo "${ECHO_T}$ac_header_compiler" >&6
31229
31230# Is the header present?
31231echo "$as_me:$LINENO: checking $ac_header presence" >&5
31232echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31233cat >conftest.$ac_ext <<_ACEOF
31234#line $LINENO "configure"
31235/* confdefs.h. */
31236_ACEOF
31237cat confdefs.h >>conftest.$ac_ext
31238cat >>conftest.$ac_ext <<_ACEOF
31239/* end confdefs.h. */
31240#include <$ac_header>
31241_ACEOF
31242if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31243 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31244 ac_status=$?
31245 grep -v '^ *+' conftest.er1 >conftest.err
31246 rm -f conftest.er1
31247 cat conftest.err >&5
31248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31249 (exit $ac_status); } >/dev/null; then
31250 if test -s conftest.err; then
31251 ac_cpp_err=$ac_c_preproc_warn_flag
31252 else
31253 ac_cpp_err=
31254 fi
31255else
31256 ac_cpp_err=yes
31257fi
31258if test -z "$ac_cpp_err"; then
31259 ac_header_preproc=yes
31260else
31261 echo "$as_me: failed program was:" >&5
31262sed 's/^/| /' conftest.$ac_ext >&5
31263
31264 ac_header_preproc=no
31265fi
31266rm -f conftest.err conftest.$ac_ext
31267echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31268echo "${ECHO_T}$ac_header_preproc" >&6
31269
31270# So? What about this header?
31271case $ac_header_compiler:$ac_header_preproc in
31272 yes:no )
31273 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31274echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31275 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31276echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31277 (
31278 cat <<\_ASBOX
31279## ------------------------------------ ##
31280## Report this to bug-autoconf@gnu.org. ##
31281## ------------------------------------ ##
31282_ASBOX
31283 ) |
31284 sed "s/^/$as_me: WARNING: /" >&2
31285 ;;
31286 no:yes )
31287 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31288echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31289 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31290echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31291 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31292echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31293 (
31294 cat <<\_ASBOX
31295## ------------------------------------ ##
31296## Report this to bug-autoconf@gnu.org. ##
31297## ------------------------------------ ##
31298_ASBOX
31299 ) |
31300 sed "s/^/$as_me: WARNING: /" >&2
31301 ;;
31302esac
31303echo "$as_me:$LINENO: checking for $ac_header" >&5
31304echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31305if eval "test \"\${$as_ac_Header+set}\" = set"; then
31306 echo $ECHO_N "(cached) $ECHO_C" >&6
31307else
31308 eval "$as_ac_Header=$ac_header_preproc"
31309fi
31310echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31311echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31312
31313fi
31314if test `eval echo '${'$as_ac_Header'}'` = yes; then
31315 cat >>confdefs.h <<_ACEOF
31316#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31317_ACEOF
31318
31319fi
31320
31321done
31322
31323 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31324 wxUSE_JOYSTICK=no
31325 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31326echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31327 fi
31328 fi
31329 fi
31330
31331 if test "$wxUSE_JOYSTICK" = "yes"; then
31332 cat >>confdefs.h <<\_ACEOF
31333#define wxUSE_JOYSTICK 1
31334_ACEOF
31335
31336 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
31337 fi
31338fi
31339
31340
31341if test "$TOOLKIT" != "MSW"; then
31342
31343 HAVE_DL_FUNCS=0
31344 HAVE_SHL_FUNCS=0
31345 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31346 if test "$USE_DARWIN" = 1; then
31347 HAVE_DL_FUNCS=1
31348 else
31349
31350for ac_func in dlopen
31351do
31352as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31353echo "$as_me:$LINENO: checking for $ac_func" >&5
31354echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31355if eval "test \"\${$as_ac_var+set}\" = set"; then
31356 echo $ECHO_N "(cached) $ECHO_C" >&6
31357else
31358 cat >conftest.$ac_ext <<_ACEOF
31359#line $LINENO "configure"
31360/* confdefs.h. */
31361_ACEOF
31362cat confdefs.h >>conftest.$ac_ext
31363cat >>conftest.$ac_ext <<_ACEOF
31364/* end confdefs.h. */
31365/* System header to define __stub macros and hopefully few prototypes,
31366 which can conflict with char $ac_func (); below.
31367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31368 <limits.h> exists even on freestanding compilers. */
31369#ifdef __STDC__
31370# include <limits.h>
31371#else
31372# include <assert.h>
31373#endif
31374/* Override any gcc2 internal prototype to avoid an error. */
31375#ifdef __cplusplus
31376extern "C"
31377{
31378#endif
31379/* We use char because int might match the return type of a gcc2
31380 builtin and then its argument prototype would still apply. */
31381char $ac_func ();
31382/* The GNU C library defines this for functions which it implements
31383 to always fail with ENOSYS. Some functions are actually named
31384 something starting with __ and the normal name is an alias. */
31385#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31386choke me
31387#else
31388char (*f) () = $ac_func;
31389#endif
31390#ifdef __cplusplus
31391}
31392#endif
31393
31394int
31395main ()
31396{
31397return f != $ac_func;
31398 ;
31399 return 0;
31400}
31401_ACEOF
31402rm -f conftest.$ac_objext conftest$ac_exeext
31403if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31404 (eval $ac_link) 2>&5
31405 ac_status=$?
31406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31407 (exit $ac_status); } &&
31408 { ac_try='test -s conftest$ac_exeext'
31409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31410 (eval $ac_try) 2>&5
31411 ac_status=$?
31412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31413 (exit $ac_status); }; }; then
31414 eval "$as_ac_var=yes"
31415else
31416 echo "$as_me: failed program was:" >&5
31417sed 's/^/| /' conftest.$ac_ext >&5
31418
31419eval "$as_ac_var=no"
31420fi
31421rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31422fi
31423echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31424echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31425if test `eval echo '${'$as_ac_var'}'` = yes; then
31426 cat >>confdefs.h <<_ACEOF
31427#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31428_ACEOF
31429
31430 cat >>confdefs.h <<\_ACEOF
31431#define HAVE_DLOPEN 1
31432_ACEOF
31433
31434 HAVE_DL_FUNCS=1
31435
31436else
31437
31438 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31439echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31440if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31441 echo $ECHO_N "(cached) $ECHO_C" >&6
31442else
31443 ac_check_lib_save_LIBS=$LIBS
31444LIBS="-ldl $LIBS"
31445cat >conftest.$ac_ext <<_ACEOF
31446#line $LINENO "configure"
31447/* confdefs.h. */
31448_ACEOF
31449cat confdefs.h >>conftest.$ac_ext
31450cat >>conftest.$ac_ext <<_ACEOF
31451/* end confdefs.h. */
31452
31453/* Override any gcc2 internal prototype to avoid an error. */
31454#ifdef __cplusplus
31455extern "C"
31456#endif
31457/* We use char because int might match the return type of a gcc2
31458 builtin and then its argument prototype would still apply. */
31459char dlopen ();
31460int
31461main ()
31462{
31463dlopen ();
31464 ;
31465 return 0;
31466}
31467_ACEOF
31468rm -f conftest.$ac_objext conftest$ac_exeext
31469if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31470 (eval $ac_link) 2>&5
31471 ac_status=$?
31472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31473 (exit $ac_status); } &&
31474 { ac_try='test -s conftest$ac_exeext'
31475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31476 (eval $ac_try) 2>&5
31477 ac_status=$?
31478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31479 (exit $ac_status); }; }; then
31480 ac_cv_lib_dl_dlopen=yes
31481else
31482 echo "$as_me: failed program was:" >&5
31483sed 's/^/| /' conftest.$ac_ext >&5
31484
31485ac_cv_lib_dl_dlopen=no
31486fi
31487rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31488LIBS=$ac_check_lib_save_LIBS
31489fi
31490echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31491echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31492if test $ac_cv_lib_dl_dlopen = yes; then
31493
31494 cat >>confdefs.h <<\_ACEOF
31495#define HAVE_DLOPEN 1
31496_ACEOF
31497
31498 HAVE_DL_FUNCS=1
31499 DL_LINK=" -ldl$DL_LINK"
31500
31501else
31502
31503
31504for ac_func in shl_load
31505do
31506as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31507echo "$as_me:$LINENO: checking for $ac_func" >&5
31508echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31509if eval "test \"\${$as_ac_var+set}\" = set"; then
31510 echo $ECHO_N "(cached) $ECHO_C" >&6
31511else
31512 cat >conftest.$ac_ext <<_ACEOF
31513#line $LINENO "configure"
31514/* confdefs.h. */
31515_ACEOF
31516cat confdefs.h >>conftest.$ac_ext
31517cat >>conftest.$ac_ext <<_ACEOF
31518/* end confdefs.h. */
31519/* System header to define __stub macros and hopefully few prototypes,
31520 which can conflict with char $ac_func (); below.
31521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31522 <limits.h> exists even on freestanding compilers. */
31523#ifdef __STDC__
31524# include <limits.h>
31525#else
31526# include <assert.h>
31527#endif
31528/* Override any gcc2 internal prototype to avoid an error. */
31529#ifdef __cplusplus
31530extern "C"
31531{
31532#endif
31533/* We use char because int might match the return type of a gcc2
31534 builtin and then its argument prototype would still apply. */
31535char $ac_func ();
31536/* The GNU C library defines this for functions which it implements
31537 to always fail with ENOSYS. Some functions are actually named
31538 something starting with __ and the normal name is an alias. */
31539#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31540choke me
31541#else
31542char (*f) () = $ac_func;
31543#endif
31544#ifdef __cplusplus
31545}
31546#endif
31547
31548int
31549main ()
31550{
31551return f != $ac_func;
31552 ;
31553 return 0;
31554}
31555_ACEOF
31556rm -f conftest.$ac_objext conftest$ac_exeext
31557if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31558 (eval $ac_link) 2>&5
31559 ac_status=$?
31560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31561 (exit $ac_status); } &&
31562 { ac_try='test -s conftest$ac_exeext'
31563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31564 (eval $ac_try) 2>&5
31565 ac_status=$?
31566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31567 (exit $ac_status); }; }; then
31568 eval "$as_ac_var=yes"
31569else
31570 echo "$as_me: failed program was:" >&5
31571sed 's/^/| /' conftest.$ac_ext >&5
31572
31573eval "$as_ac_var=no"
31574fi
31575rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31576fi
31577echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31578echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31579if test `eval echo '${'$as_ac_var'}'` = yes; then
31580 cat >>confdefs.h <<_ACEOF
31581#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31582_ACEOF
31583
31584 cat >>confdefs.h <<\_ACEOF
31585#define HAVE_SHL_LOAD 1
31586_ACEOF
31587
31588 HAVE_SHL_FUNCS=1
31589
31590else
31591
31592 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31593echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31594if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31595 echo $ECHO_N "(cached) $ECHO_C" >&6
31596else
31597 ac_check_lib_save_LIBS=$LIBS
31598LIBS="-lshl_load $LIBS"
31599cat >conftest.$ac_ext <<_ACEOF
31600#line $LINENO "configure"
31601/* confdefs.h. */
31602_ACEOF
31603cat confdefs.h >>conftest.$ac_ext
31604cat >>conftest.$ac_ext <<_ACEOF
31605/* end confdefs.h. */
31606
31607/* Override any gcc2 internal prototype to avoid an error. */
31608#ifdef __cplusplus
31609extern "C"
31610#endif
31611/* We use char because int might match the return type of a gcc2
31612 builtin and then its argument prototype would still apply. */
31613char dld ();
31614int
31615main ()
31616{
31617dld ();
31618 ;
31619 return 0;
31620}
31621_ACEOF
31622rm -f conftest.$ac_objext conftest$ac_exeext
31623if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31624 (eval $ac_link) 2>&5
31625 ac_status=$?
31626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31627 (exit $ac_status); } &&
31628 { ac_try='test -s conftest$ac_exeext'
31629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31630 (eval $ac_try) 2>&5
31631 ac_status=$?
31632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31633 (exit $ac_status); }; }; then
31634 ac_cv_lib_shl_load_dld=yes
31635else
31636 echo "$as_me: failed program was:" >&5
31637sed 's/^/| /' conftest.$ac_ext >&5
31638
31639ac_cv_lib_shl_load_dld=no
31640fi
31641rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31642LIBS=$ac_check_lib_save_LIBS
31643fi
31644echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31645echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31646if test $ac_cv_lib_shl_load_dld = yes; then
31647
31648 HAVE_SHL_FUNCS=1
31649 DL_LINK=" -ldld$DL_LINK"
31650
31651fi
31652
31653
31654fi
31655done
31656
31657
31658fi
31659
31660
31661fi
31662done
31663
31664
31665 if test "$HAVE_DL_FUNCS" = 1; then
31666
31667for ac_func in dlerror
31668do
31669as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31670echo "$as_me:$LINENO: checking for $ac_func" >&5
31671echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31672if eval "test \"\${$as_ac_var+set}\" = set"; then
31673 echo $ECHO_N "(cached) $ECHO_C" >&6
31674else
31675 cat >conftest.$ac_ext <<_ACEOF
31676#line $LINENO "configure"
31677/* confdefs.h. */
31678_ACEOF
31679cat confdefs.h >>conftest.$ac_ext
31680cat >>conftest.$ac_ext <<_ACEOF
31681/* end confdefs.h. */
31682/* System header to define __stub macros and hopefully few prototypes,
31683 which can conflict with char $ac_func (); below.
31684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31685 <limits.h> exists even on freestanding compilers. */
31686#ifdef __STDC__
31687# include <limits.h>
31688#else
31689# include <assert.h>
31690#endif
31691/* Override any gcc2 internal prototype to avoid an error. */
31692#ifdef __cplusplus
31693extern "C"
31694{
31695#endif
31696/* We use char because int might match the return type of a gcc2
31697 builtin and then its argument prototype would still apply. */
31698char $ac_func ();
31699/* The GNU C library defines this for functions which it implements
31700 to always fail with ENOSYS. Some functions are actually named
31701 something starting with __ and the normal name is an alias. */
31702#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31703choke me
31704#else
31705char (*f) () = $ac_func;
31706#endif
31707#ifdef __cplusplus
31708}
31709#endif
31710
31711int
31712main ()
31713{
31714return f != $ac_func;
31715 ;
31716 return 0;
31717}
31718_ACEOF
31719rm -f conftest.$ac_objext conftest$ac_exeext
31720if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31721 (eval $ac_link) 2>&5
31722 ac_status=$?
31723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31724 (exit $ac_status); } &&
31725 { ac_try='test -s conftest$ac_exeext'
31726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31727 (eval $ac_try) 2>&5
31728 ac_status=$?
31729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31730 (exit $ac_status); }; }; then
31731 eval "$as_ac_var=yes"
31732else
31733 echo "$as_me: failed program was:" >&5
31734sed 's/^/| /' conftest.$ac_ext >&5
31735
31736eval "$as_ac_var=no"
31737fi
31738rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31739fi
31740echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31741echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31742if test `eval echo '${'$as_ac_var'}'` = yes; then
31743 cat >>confdefs.h <<_ACEOF
31744#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31745_ACEOF
31746 cat >>confdefs.h <<\_ACEOF
31747#define HAVE_DLERROR 1
31748_ACEOF
31749
31750else
31751 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
31752echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
31753if test "${ac_cv_lib_dl_dlerror+set}" = set; then
31754 echo $ECHO_N "(cached) $ECHO_C" >&6
31755else
31756 ac_check_lib_save_LIBS=$LIBS
31757LIBS="-ldl $LIBS"
31758cat >conftest.$ac_ext <<_ACEOF
31759#line $LINENO "configure"
31760/* confdefs.h. */
31761_ACEOF
31762cat confdefs.h >>conftest.$ac_ext
31763cat >>conftest.$ac_ext <<_ACEOF
31764/* end confdefs.h. */
31765
31766/* Override any gcc2 internal prototype to avoid an error. */
31767#ifdef __cplusplus
31768extern "C"
31769#endif
31770/* We use char because int might match the return type of a gcc2
31771 builtin and then its argument prototype would still apply. */
31772char dlerror ();
31773int
31774main ()
31775{
31776dlerror ();
31777 ;
31778 return 0;
31779}
31780_ACEOF
31781rm -f conftest.$ac_objext conftest$ac_exeext
31782if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31783 (eval $ac_link) 2>&5
31784 ac_status=$?
31785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31786 (exit $ac_status); } &&
31787 { ac_try='test -s conftest$ac_exeext'
31788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31789 (eval $ac_try) 2>&5
31790 ac_status=$?
31791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31792 (exit $ac_status); }; }; then
31793 ac_cv_lib_dl_dlerror=yes
31794else
31795 echo "$as_me: failed program was:" >&5
31796sed 's/^/| /' conftest.$ac_ext >&5
31797
31798ac_cv_lib_dl_dlerror=no
31799fi
31800rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31801LIBS=$ac_check_lib_save_LIBS
31802fi
31803echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
31804echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
31805if test $ac_cv_lib_dl_dlerror = yes; then
31806 cat >>confdefs.h <<\_ACEOF
31807#define HAVE_DLERROR 1
31808_ACEOF
31809
31810fi
31811
31812fi
31813done
31814
31815 fi
31816 fi
31817
31818 if test "$HAVE_DL_FUNCS" = 0; then
31819 if test "$HAVE_SHL_FUNCS" = 0; then
31820 if test "$USE_UNIX" = 1; then
31821 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
31822echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
31823 wxUSE_DYNAMIC_LOADER=no
31824 wxUSE_DYNLIB_CLASS=no
31825 else
31826 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
31827echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
31828 fi
31829 fi
31830 fi
31831 fi
31832fi
31833
31834if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
31835 cat >>confdefs.h <<\_ACEOF
31836#define wxUSE_DYNAMIC_LOADER 1
31837_ACEOF
31838
31839elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31840 cat >>confdefs.h <<\_ACEOF
31841#define wxUSE_DYNLIB_CLASS 1
31842_ACEOF
31843
31844fi
31845
31846
31847if test "$wxUSE_FONTMAP" = "yes" ; then
31848 cat >>confdefs.h <<\_ACEOF
31849#define wxUSE_FONTMAP 1
31850_ACEOF
31851
31852fi
31853
31854if test "$wxUSE_UNICODE" = "yes" ; then
31855 cat >>confdefs.h <<\_ACEOF
31856#define wxUSE_UNICODE 1
31857_ACEOF
31858
31859
31860 if test "$wxUSE_MSW" != 1; then
31861 wxUSE_UNICODE_MSLU=no
31862 fi
31863
31864 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
31865 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
31866echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
31867if test "${ac_cv_lib_unicows_main+set}" = set; then
31868 echo $ECHO_N "(cached) $ECHO_C" >&6
31869else
31870 ac_check_lib_save_LIBS=$LIBS
31871LIBS="-lunicows $LIBS"
31872cat >conftest.$ac_ext <<_ACEOF
31873#line $LINENO "configure"
31874/* confdefs.h. */
31875_ACEOF
31876cat confdefs.h >>conftest.$ac_ext
31877cat >>conftest.$ac_ext <<_ACEOF
31878/* end confdefs.h. */
31879
31880
31881int
31882main ()
31883{
31884main ();
31885 ;
31886 return 0;
31887}
31888_ACEOF
31889rm -f conftest.$ac_objext conftest$ac_exeext
31890if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31891 (eval $ac_link) 2>&5
31892 ac_status=$?
31893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31894 (exit $ac_status); } &&
31895 { ac_try='test -s conftest$ac_exeext'
31896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31897 (eval $ac_try) 2>&5
31898 ac_status=$?
31899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31900 (exit $ac_status); }; }; then
31901 ac_cv_lib_unicows_main=yes
31902else
31903 echo "$as_me: failed program was:" >&5
31904sed 's/^/| /' conftest.$ac_ext >&5
31905
31906ac_cv_lib_unicows_main=no
31907fi
31908rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31909LIBS=$ac_check_lib_save_LIBS
31910fi
31911echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
31912echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
31913if test $ac_cv_lib_unicows_main = yes; then
31914
31915 cat >>confdefs.h <<\_ACEOF
31916#define wxUSE_UNICODE_MSLU 1
31917_ACEOF
31918
31919
31920else
31921
31922 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
31923 Applications will only run on Windows NT/2000/XP!" >&5
31924echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
31925 Applications will only run on Windows NT/2000/XP!" >&2;}
31926 wxUSE_UNICODE_MSLU=no
31927
31928fi
31929
31930 fi
31931fi
31932
31933if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
31934 cat >>confdefs.h <<\_ACEOF
31935#define wxUSE_EXPERIMENTAL_PRINTF 1
31936_ACEOF
31937
31938fi
31939
31940
31941if test "$wxUSE_POSTSCRIPT" = "yes" ; then
31942 cat >>confdefs.h <<\_ACEOF
31943#define wxUSE_POSTSCRIPT 1
31944_ACEOF
31945
31946fi
31947
31948cat >>confdefs.h <<\_ACEOF
31949#define wxUSE_AFM_FOR_POSTSCRIPT 1
31950_ACEOF
31951
31952
31953cat >>confdefs.h <<\_ACEOF
31954#define wxUSE_NORMALIZED_PS_FONTS 1
31955_ACEOF
31956
31957
31958
31959if test "$wxUSE_CONSTRAINTS" = "yes"; then
31960 cat >>confdefs.h <<\_ACEOF
31961#define wxUSE_CONSTRAINTS 1
31962_ACEOF
31963
31964 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
31965fi
31966
31967if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31968
31969
31970 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31971 cat >>confdefs.h <<\_ACEOF
31972#define wxUSE_MDI_ARCHITECTURE 1
31973_ACEOF
31974
31975 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
31976 fi
31977fi
31978
31979if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
31980 cat >>confdefs.h <<\_ACEOF
31981#define wxUSE_DOC_VIEW_ARCHITECTURE 1
31982_ACEOF
31983
31984 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
31985 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31986 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
31987 fi
31988fi
31989
31990if test "$wxUSE_HELP" = "yes"; then
31991 cat >>confdefs.h <<\_ACEOF
31992#define wxUSE_HELP 1
31993_ACEOF
31994
31995 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
31996
31997 if test "$wxUSE_MSW" = 1; then
31998 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
31999 cat >>confdefs.h <<\_ACEOF
32000#define wxUSE_MS_HTML_HELP 1
32001_ACEOF
32002
32003 fi
32004 fi
32005
32006 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32007 if test "$wxUSE_HTML" = "yes"; then
32008 cat >>confdefs.h <<\_ACEOF
32009#define wxUSE_WXHTML_HELP 1
32010_ACEOF
32011
32012 else
32013 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32014echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32015 wxUSE_WXHTML_HELP=no
32016 fi
32017 fi
32018fi
32019
32020if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32021 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32022 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32023echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32024 else
32025 cat >>confdefs.h <<\_ACEOF
32026#define wxUSE_PRINTING_ARCHITECTURE 1
32027_ACEOF
32028
32029 fi
32030 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
32031fi
32032
32033if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32034 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32035echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32036 { (exit 1); exit 1; }; }
32037fi
32038
32039
32040if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
32041 -o "$wxUSE_CLIPBOARD" = "yes" \
32042 -o "$wxUSE_OLE" = "yes" \
32043 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
32044
32045for ac_header in ole2.h
32046do
32047as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32048if eval "test \"\${$as_ac_Header+set}\" = set"; then
32049 echo "$as_me:$LINENO: checking for $ac_header" >&5
32050echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32051if eval "test \"\${$as_ac_Header+set}\" = set"; then
32052 echo $ECHO_N "(cached) $ECHO_C" >&6
32053fi
32054echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32055echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32056else
32057 # Is the header compilable?
32058echo "$as_me:$LINENO: checking $ac_header usability" >&5
32059echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32060cat >conftest.$ac_ext <<_ACEOF
32061#line $LINENO "configure"
32062/* confdefs.h. */
32063_ACEOF
32064cat confdefs.h >>conftest.$ac_ext
32065cat >>conftest.$ac_ext <<_ACEOF
32066/* end confdefs.h. */
32067$ac_includes_default
32068#include <$ac_header>
32069_ACEOF
32070rm -f conftest.$ac_objext
32071if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32072 (eval $ac_compile) 2>&5
32073 ac_status=$?
32074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32075 (exit $ac_status); } &&
32076 { ac_try='test -s conftest.$ac_objext'
32077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32078 (eval $ac_try) 2>&5
32079 ac_status=$?
32080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32081 (exit $ac_status); }; }; then
32082 ac_header_compiler=yes
32083else
32084 echo "$as_me: failed program was:" >&5
32085sed 's/^/| /' conftest.$ac_ext >&5
32086
32087ac_header_compiler=no
32088fi
32089rm -f conftest.$ac_objext conftest.$ac_ext
32090echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32091echo "${ECHO_T}$ac_header_compiler" >&6
32092
32093# Is the header present?
32094echo "$as_me:$LINENO: checking $ac_header presence" >&5
32095echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32096cat >conftest.$ac_ext <<_ACEOF
32097#line $LINENO "configure"
32098/* confdefs.h. */
32099_ACEOF
32100cat confdefs.h >>conftest.$ac_ext
32101cat >>conftest.$ac_ext <<_ACEOF
32102/* end confdefs.h. */
32103#include <$ac_header>
32104_ACEOF
32105if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32106 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32107 ac_status=$?
32108 grep -v '^ *+' conftest.er1 >conftest.err
32109 rm -f conftest.er1
32110 cat conftest.err >&5
32111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32112 (exit $ac_status); } >/dev/null; then
32113 if test -s conftest.err; then
32114 ac_cpp_err=$ac_c_preproc_warn_flag
32115 else
32116 ac_cpp_err=
32117 fi
32118else
32119 ac_cpp_err=yes
32120fi
32121if test -z "$ac_cpp_err"; then
32122 ac_header_preproc=yes
32123else
32124 echo "$as_me: failed program was:" >&5
32125sed 's/^/| /' conftest.$ac_ext >&5
32126
32127 ac_header_preproc=no
32128fi
32129rm -f conftest.err conftest.$ac_ext
32130echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32131echo "${ECHO_T}$ac_header_preproc" >&6
32132
32133# So? What about this header?
32134case $ac_header_compiler:$ac_header_preproc in
32135 yes:no )
32136 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32137echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32138 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32139echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32140 (
32141 cat <<\_ASBOX
32142## ------------------------------------ ##
32143## Report this to bug-autoconf@gnu.org. ##
32144## ------------------------------------ ##
32145_ASBOX
32146 ) |
32147 sed "s/^/$as_me: WARNING: /" >&2
32148 ;;
32149 no:yes )
32150 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32151echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32152 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32153echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32154 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32155echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32156 (
32157 cat <<\_ASBOX
32158## ------------------------------------ ##
32159## Report this to bug-autoconf@gnu.org. ##
32160## ------------------------------------ ##
32161_ASBOX
32162 ) |
32163 sed "s/^/$as_me: WARNING: /" >&2
32164 ;;
32165esac
32166echo "$as_me:$LINENO: checking for $ac_header" >&5
32167echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32168if eval "test \"\${$as_ac_Header+set}\" = set"; then
32169 echo $ECHO_N "(cached) $ECHO_C" >&6
32170else
32171 eval "$as_ac_Header=$ac_header_preproc"
32172fi
32173echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32174echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32175
32176fi
32177if test `eval echo '${'$as_ac_Header'}'` = yes; then
32178 cat >>confdefs.h <<_ACEOF
32179#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32180_ACEOF
32181
32182fi
32183
32184done
32185
32186
32187 if test "$ac_cv_header_ole2_h" = "yes" ; then
32188 if test "$GCC" = yes ; then
32189
32190
32191 ac_ext=cc
32192ac_cpp='$CXXCPP $CPPFLAGS'
32193ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32194ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32195ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32196
32197
32198 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32199echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32200 cat >conftest.$ac_ext <<_ACEOF
32201#line $LINENO "configure"
32202/* confdefs.h. */
32203_ACEOF
32204cat confdefs.h >>conftest.$ac_ext
32205cat >>conftest.$ac_ext <<_ACEOF
32206/* end confdefs.h. */
32207#include <windows.h>
32208 #include <ole2.h>
32209int
32210main ()
32211{
32212
32213 ;
32214 return 0;
32215}
32216_ACEOF
32217rm -f conftest.$ac_objext
32218if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32219 (eval $ac_compile) 2>&5
32220 ac_status=$?
32221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32222 (exit $ac_status); } &&
32223 { ac_try='test -s conftest.$ac_objext'
32224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32225 (eval $ac_try) 2>&5
32226 ac_status=$?
32227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32228 (exit $ac_status); }; }; then
32229 echo "$as_me:$LINENO: result: no" >&5
32230echo "${ECHO_T}no" >&6
32231else
32232 echo "$as_me: failed program was:" >&5
32233sed 's/^/| /' conftest.$ac_ext >&5
32234
32235echo "$as_me:$LINENO: result: yes" >&5
32236echo "${ECHO_T}yes" >&6
32237 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32238fi
32239rm -f conftest.$ac_objext conftest.$ac_ext
32240 ac_ext=c
32241ac_cpp='$CPP $CPPFLAGS'
32242ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32243ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32244ac_compiler_gnu=$ac_cv_c_compiler_gnu
32245
32246 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
32247 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32248 cat >>confdefs.h <<\_ACEOF
32249#define wxUSE_OLE 1
32250_ACEOF
32251
32252
32253 fi
32254
32255 cat >>confdefs.h <<\_ACEOF
32256#define wxUSE_DATAOBJ 1
32257_ACEOF
32258
32259 else
32260 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32261echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32262
32263 wxUSE_CLIPBOARD=no
32264 wxUSE_DRAG_AND_DROP=no
32265 wxUSE_DATAOBJ=no
32266 wxUSE_OLE=no
32267 fi
32268
32269 if test "$wxUSE_METAFILE" = "yes"; then
32270 cat >>confdefs.h <<\_ACEOF
32271#define wxUSE_METAFILE 1
32272_ACEOF
32273
32274
32275 cat >>confdefs.h <<\_ACEOF
32276#define wxUSE_ENH_METAFILE 1
32277_ACEOF
32278
32279 fi
32280fi
32281
32282if test "$wxUSE_IPC" = "yes"; then
32283 if test "$wxUSE_SOCKETS" != "yes"; then
32284 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32285echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32286 fi
32287
32288 cat >>confdefs.h <<\_ACEOF
32289#define wxUSE_IPC 1
32290_ACEOF
32291
32292fi
32293
32294if test "$wxUSE_CLIPBOARD" = "yes"; then
32295 if test "$wxUSE_MGL" = 1; then
32296 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32297echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32298 wxUSE_CLIPBOARD=no
32299 fi
32300
32301 if test "$wxUSE_CLIPBOARD" = "yes"; then
32302 cat >>confdefs.h <<\_ACEOF
32303#define wxUSE_CLIPBOARD 1
32304_ACEOF
32305
32306
32307 cat >>confdefs.h <<\_ACEOF
32308#define wxUSE_DATAOBJ 1
32309_ACEOF
32310
32311 fi
32312fi
32313
32314if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32315 if test "$wxUSE_GTK" = 1; then
32316 if test "$WXGTK12" != 1; then
32317 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32318echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32319 wxUSE_DRAG_AND_DROP=no
32320 fi
32321 fi
32322
32323 if test "$wxUSE_MOTIF" = 1; then
32324 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32325echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32326 wxUSE_DRAG_AND_DROP=no
32327 fi
32328
32329 if test "$wxUSE_X11" = 1; then
32330 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32331echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32332 wxUSE_DRAG_AND_DROP=no
32333 fi
32334
32335 if test "$wxUSE_MGL" = 1; then
32336 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32337echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32338 wxUSE_DRAG_AND_DROP=no
32339 fi
32340
32341 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32342 cat >>confdefs.h <<\_ACEOF
32343#define wxUSE_DRAG_AND_DROP 1
32344_ACEOF
32345
32346 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
32347 fi
32348
32349fi
32350
32351if test "$wxUSE_SPLINES" = "yes" ; then
32352 cat >>confdefs.h <<\_ACEOF
32353#define wxUSE_SPLINES 1
32354_ACEOF
32355
32356fi
32357
32358
32359USES_CONTROLS=0
32360if test "$wxUSE_CONTROLS" = "yes"; then
32361 USES_CONTROLS=1
32362fi
32363
32364if test "$wxUSE_ACCEL" = "yes"; then
32365 cat >>confdefs.h <<\_ACEOF
32366#define wxUSE_ACCEL 1
32367_ACEOF
32368
32369 USES_CONTROLS=1
32370fi
32371
32372if test "$wxUSE_BUTTON" = "yes"; then
32373 cat >>confdefs.h <<\_ACEOF
32374#define wxUSE_BUTTON 1
32375_ACEOF
32376
32377 USES_CONTROLS=1
32378fi
32379
32380if test "$wxUSE_BMPBUTTON" = "yes"; then
32381 cat >>confdefs.h <<\_ACEOF
32382#define wxUSE_BMPBUTTON 1
32383_ACEOF
32384
32385 USES_CONTROLS=1
32386fi
32387
32388if test "$wxUSE_CALCTRL" = "yes"; then
32389 cat >>confdefs.h <<\_ACEOF
32390#define wxUSE_CALENDARCTRL 1
32391_ACEOF
32392
32393 USES_CONTROLS=1
32394 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
32395fi
32396
32397if test "$wxUSE_CARET" = "yes"; then
32398 cat >>confdefs.h <<\_ACEOF
32399#define wxUSE_CARET 1
32400_ACEOF
32401
32402 USES_CONTROLS=1
32403 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
32404fi
32405
32406if test "$wxUSE_COMBOBOX" = "yes"; then
32407 cat >>confdefs.h <<\_ACEOF
32408#define wxUSE_COMBOBOX 1
32409_ACEOF
32410
32411 USES_CONTROLS=1
32412fi
32413
32414if test "$wxUSE_CHOICE" = "yes"; then
32415 cat >>confdefs.h <<\_ACEOF
32416#define wxUSE_CHOICE 1
32417_ACEOF
32418
32419 USES_CONTROLS=1
32420fi
32421
32422if test "$wxUSE_CHECKBOX" = "yes"; then
32423 cat >>confdefs.h <<\_ACEOF
32424#define wxUSE_CHECKBOX 1
32425_ACEOF
32426
32427 USES_CONTROLS=1
32428fi
32429
32430if test "$wxUSE_CHECKLST" = "yes"; then
32431 cat >>confdefs.h <<\_ACEOF
32432#define wxUSE_CHECKLISTBOX 1
32433_ACEOF
32434
32435 USES_CONTROLS=1
32436 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
32437fi
32438
32439if test "$wxUSE_DISPLAY" = "yes"; then
32440 cat >>confdefs.h <<\_ACEOF
32441#define wxUSE_DISPLAY 1
32442_ACEOF
32443
32444 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
32445fi
32446
32447if test "$wxUSE_GAUGE" = "yes"; then
32448 cat >>confdefs.h <<\_ACEOF
32449#define wxUSE_GAUGE 1
32450_ACEOF
32451
32452 USES_CONTROLS=1
32453fi
32454
32455if test "$wxUSE_GRID" = "yes"; then
32456 cat >>confdefs.h <<\_ACEOF
32457#define wxUSE_GRID 1
32458_ACEOF
32459
32460 USES_CONTROLS=1
32461 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
32462fi
32463
32464if test "$wxUSE_IMAGLIST" = "yes"; then
32465 cat >>confdefs.h <<\_ACEOF
32466#define wxUSE_IMAGLIST 1
32467_ACEOF
32468
32469fi
32470
32471if test "$wxUSE_LISTBOX" = "yes"; then
32472 cat >>confdefs.h <<\_ACEOF
32473#define wxUSE_LISTBOX 1
32474_ACEOF
32475
32476 USES_CONTROLS=1
32477fi
32478
32479if test "$wxUSE_LISTCTRL" = "yes"; then
32480 if test "$wxUSE_IMAGLIST" = "yes"; then
32481 cat >>confdefs.h <<\_ACEOF
32482#define wxUSE_LISTCTRL 1
32483_ACEOF
32484
32485 USES_CONTROLS=1
32486 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
32487 else
32488 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32489echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32490 fi
32491fi
32492
32493if test "$wxUSE_NOTEBOOK" = "yes"; then
32494 cat >>confdefs.h <<\_ACEOF
32495#define wxUSE_NOTEBOOK 1
32496_ACEOF
32497
32498 USES_CONTROLS=1
32499 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
32500fi
32501
32502
32503if test "$wxUSE_RADIOBOX" = "yes"; then
32504 cat >>confdefs.h <<\_ACEOF
32505#define wxUSE_RADIOBOX 1
32506_ACEOF
32507
32508 USES_CONTROLS=1
32509fi
32510
32511if test "$wxUSE_RADIOBTN" = "yes"; then
32512 cat >>confdefs.h <<\_ACEOF
32513#define wxUSE_RADIOBTN 1
32514_ACEOF
32515
32516 USES_CONTROLS=1
32517fi
32518
32519if test "$wxUSE_SASH" = "yes"; then
32520 cat >>confdefs.h <<\_ACEOF
32521#define wxUSE_SASH 1
32522_ACEOF
32523
32524 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
32525fi
32526
32527if test "$wxUSE_SCROLLBAR" = "yes"; then
32528 cat >>confdefs.h <<\_ACEOF
32529#define wxUSE_SCROLLBAR 1
32530_ACEOF
32531
32532 USES_CONTROLS=1
32533 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
32534fi
32535
32536if test "$wxUSE_SLIDER" = "yes"; then
32537 cat >>confdefs.h <<\_ACEOF
32538#define wxUSE_SLIDER 1
32539_ACEOF
32540
32541 USES_CONTROLS=1
32542fi
32543
32544if test "$wxUSE_SPINBTN" = "yes"; then
32545 cat >>confdefs.h <<\_ACEOF
32546#define wxUSE_SPINBTN 1
32547_ACEOF
32548
32549 USES_CONTROLS=1
32550fi
32551
32552if test "$wxUSE_SPINCTRL" = "yes"; then
32553 cat >>confdefs.h <<\_ACEOF
32554#define wxUSE_SPINCTRL 1
32555_ACEOF
32556
32557 USES_CONTROLS=1
32558fi
32559
32560if test "$wxUSE_SPLITTER" = "yes"; then
32561 cat >>confdefs.h <<\_ACEOF
32562#define wxUSE_SPLITTER 1
32563_ACEOF
32564
32565 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
32566fi
32567
32568if test "$wxUSE_STATBMP" = "yes"; then
32569 cat >>confdefs.h <<\_ACEOF
32570#define wxUSE_STATBMP 1
32571_ACEOF
32572
32573 USES_CONTROLS=1
32574fi
32575
32576if test "$wxUSE_STATBOX" = "yes"; then
32577 cat >>confdefs.h <<\_ACEOF
32578#define wxUSE_STATBOX 1
32579_ACEOF
32580
32581 USES_CONTROLS=1
32582fi
32583
32584if test "$wxUSE_STATTEXT" = "yes"; then
32585 cat >>confdefs.h <<\_ACEOF
32586#define wxUSE_STATTEXT 1
32587_ACEOF
32588
32589 USES_CONTROLS=1
32590fi
32591
32592if test "$wxUSE_STATLINE" = "yes"; then
32593 cat >>confdefs.h <<\_ACEOF
32594#define wxUSE_STATLINE 1
32595_ACEOF
32596
32597 USES_CONTROLS=1
32598fi
32599
32600if test "$wxUSE_STATUSBAR" = "yes"; then
32601 cat >>confdefs.h <<\_ACEOF
32602#define wxUSE_STATUSBAR 1
32603_ACEOF
32604
32605 USES_CONTROLS=1
32606
32607 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
32608fi
32609
32610if test "$wxUSE_TABDIALOG" = "yes"; then
32611 cat >>confdefs.h <<\_ACEOF
32612#define wxUSE_TAB_DIALOG 1
32613_ACEOF
32614
32615 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
32616fi
32617
32618if test "$wxUSE_TEXTCTRL" = "yes"; then
32619 cat >>confdefs.h <<\_ACEOF
32620#define wxUSE_TEXTCTRL 1
32621_ACEOF
32622
32623 USES_CONTROLS=1
32624 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
32625fi
32626
32627if test "$wxUSE_TOGGLEBTN" = "yes"; then
32628 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32629 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32630echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32631 wxUSE_TOGGLEBTN=no
32632 fi
32633 if test "$wxUSE_UNIVERSAL" = "yes"; then
32634 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32635echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32636 wxUSE_TOGGLEBTN=no
32637 fi
32638
32639 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32640 cat >>confdefs.h <<\_ACEOF
32641#define wxUSE_TOGGLEBTN 1
32642_ACEOF
32643
32644 USES_CONTROLS=1
32645 fi
32646fi
32647
32648if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32649 cat >>confdefs.h <<\_ACEOF
32650#define wxUSE_TOOLBAR_SIMPLE 1
32651_ACEOF
32652
32653 wxUSE_TOOLBAR="yes"
32654 USES_CONTROLS=1
32655fi
32656
32657if test "$wxUSE_TOOLBAR" = "yes"; then
32658 cat >>confdefs.h <<\_ACEOF
32659#define wxUSE_TOOLBAR 1
32660_ACEOF
32661
32662 USES_CONTROLS=1
32663
32664 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
32665 wxUSE_TOOLBAR_NATIVE="yes"
32666 fi
32667
32668 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
32669 cat >>confdefs.h <<\_ACEOF
32670#define wxUSE_TOOLBAR_NATIVE 1
32671_ACEOF
32672
32673 USES_CONTROLS=1
32674 fi
32675
32676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
32677fi
32678
32679if test "$wxUSE_TOOLTIPS" = "yes"; then
32680 if test "$wxUSE_MOTIF" = 1; then
32681 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
32682echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
32683 else
32684 if test "$wxUSE_UNIVERSAL" = "yes"; then
32685 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
32686echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
32687 else
32688 cat >>confdefs.h <<\_ACEOF
32689#define wxUSE_TOOLTIPS 1
32690_ACEOF
32691
32692 fi
32693 fi
32694fi
32695
32696if test "$wxUSE_TREECTRL" = "yes"; then
32697 if test "$wxUSE_IMAGLIST" = "yes"; then
32698 cat >>confdefs.h <<\_ACEOF
32699#define wxUSE_TREECTRL 1
32700_ACEOF
32701
32702 USES_CONTROLS=1
32703 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
32704 else
32705 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
32706echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
32707 fi
32708fi
32709
32710if test "$wxUSE_POPUPWIN" = "yes"; then
32711 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32712 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
32713echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
32714 else
32715 if test "$wxUSE_MOTIF" = 1; then
32716 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
32717echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
32718 else
32719 if test "$wxUSE_PM" = 1; then
32720 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
32721echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
32722 else
32723 cat >>confdefs.h <<\_ACEOF
32724#define wxUSE_POPUPWIN 1
32725_ACEOF
32726
32727
32728 USES_CONTROLS=1
32729 fi
32730 fi
32731 fi
32732fi
32733
32734if test "$wxUSE_TIPWINDOW" = "yes"; then
32735 if test "$wxUSE_PM" = 1; then
32736 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
32737echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
32738 else
32739 cat >>confdefs.h <<\_ACEOF
32740#define wxUSE_TIPWINDOW 1
32741_ACEOF
32742
32743 fi
32744fi
32745
32746if test "$USES_CONTROLS" = 1; then
32747 cat >>confdefs.h <<\_ACEOF
32748#define wxUSE_CONTROLS 1
32749_ACEOF
32750
32751fi
32752
32753
32754
32755if test "$wxUSE_DRAGIMAGE" = "yes"; then
32756 cat >>confdefs.h <<\_ACEOF
32757#define wxUSE_DRAGIMAGE 1
32758_ACEOF
32759
32760 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
32761fi
32762
32763if test "$wxUSE_ACCESSIBILITY" = "yes"; then
32764 cat >>confdefs.h <<\_ACEOF
32765#define wxUSE_ACCESSIBILITY 1
32766_ACEOF
32767
32768 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
32769fi
32770
32771if test "$wxUSE_MENUS" = "yes"; then
32772 cat >>confdefs.h <<\_ACEOF
32773#define wxUSE_MENUS 1
32774_ACEOF
32775
32776 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
32777fi
32778
32779if test "$wxUSE_METAFILE" = "yes"; then
32780 cat >>confdefs.h <<\_ACEOF
32781#define wxUSE_METAFILE 1
32782_ACEOF
32783
32784fi
32785
32786if test "$wxUSE_MIMETYPE" = "yes"; then
32787 cat >>confdefs.h <<\_ACEOF
32788#define wxUSE_MIMETYPE 1
32789_ACEOF
32790
32791fi
32792
32793if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
32794 cat >>confdefs.h <<\_ACEOF
32795#define wxUSE_SYSTEM_OPTIONS 1
32796_ACEOF
32797
32798if test "$TOOLKIT" = "MSW"; then
32799 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
32800fi
32801
32802fi
32803
32804if test "$wxUSE_PROTOCOL" = "yes"; then
32805 if test "$wxUSE_SOCKETS" != "yes"; then
32806 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
32807echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
32808 wxUSE_PROTOCOL=no
32809 fi
32810
32811 if test "$wxUSE_PROTOCOL" = "yes"; then
32812 cat >>confdefs.h <<\_ACEOF
32813#define wxUSE_PROTOCOL 1
32814_ACEOF
32815
32816
32817 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
32818 cat >>confdefs.h <<\_ACEOF
32819#define wxUSE_PROTOCOL_HTTP 1
32820_ACEOF
32821
32822 fi
32823 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
32824 cat >>confdefs.h <<\_ACEOF
32825#define wxUSE_PROTOCOL_FTP 1
32826_ACEOF
32827
32828 fi
32829 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
32830 cat >>confdefs.h <<\_ACEOF
32831#define wxUSE_PROTOCOL_FILE 1
32832_ACEOF
32833
32834 fi
32835 fi
32836fi
32837
32838if test "$wxUSE_URL" = "yes"; then
32839 if test "$wxUSE_PROTOCOL" != "yes"; then
32840 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
32841echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
32842 wxUSE_URL=no
32843 fi
32844 if test "$wxUSE_URL" = "yes"; then
32845 cat >>confdefs.h <<\_ACEOF
32846#define wxUSE_URL 1
32847_ACEOF
32848
32849 fi
32850fi
32851
32852if test "$wxUSE_MINIFRAME" = "yes"; then
32853 cat >>confdefs.h <<\_ACEOF
32854#define wxUSE_MINIFRAME 1
32855_ACEOF
32856
32857 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
32858fi
32859
32860if test "$wxUSE_HTML" = "yes"; then
32861 cat >>confdefs.h <<\_ACEOF
32862#define wxUSE_HTML 1
32863_ACEOF
32864
32865 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html htlbox"
32866fi
32867
32868if test "$wxUSE_VALIDATORS" = "yes"; then
32869 cat >>confdefs.h <<\_ACEOF
32870#define wxUSE_VALIDATORS 1
32871_ACEOF
32872
32873 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
32874fi
32875
32876if test "$wxUSE_PALETTE" = "yes" ; then
32877 cat >>confdefs.h <<\_ACEOF
32878#define wxUSE_PALETTE 1
32879_ACEOF
32880
32881fi
32882
32883if test "$wxUSE_IMAGE" = "yes" ; then
32884 cat >>confdefs.h <<\_ACEOF
32885#define wxUSE_IMAGE 1
32886_ACEOF
32887
32888fi
32889
32890if test "$wxUSE_GIF" = "yes" ; then
32891 cat >>confdefs.h <<\_ACEOF
32892#define wxUSE_GIF 1
32893_ACEOF
32894
32895fi
32896
32897if test "$wxUSE_PCX" = "yes" ; then
32898 cat >>confdefs.h <<\_ACEOF
32899#define wxUSE_PCX 1
32900_ACEOF
32901
32902fi
32903
32904if test "$wxUSE_IFF" = "yes" ; then
32905 cat >>confdefs.h <<\_ACEOF
32906#define wxUSE_IFF 1
32907_ACEOF
32908
32909fi
32910
32911if test "$wxUSE_PNM" = "yes" ; then
32912 cat >>confdefs.h <<\_ACEOF
32913#define wxUSE_PNM 1
32914_ACEOF
32915
32916fi
32917
32918if test "$wxUSE_XPM" = "yes" ; then
32919 cat >>confdefs.h <<\_ACEOF
32920#define wxUSE_XPM 1
32921_ACEOF
32922
32923fi
32924
32925if test "$wxUSE_ICO_CUR" = "yes" ; then
32926 cat >>confdefs.h <<\_ACEOF
32927#define wxUSE_ICO_CUR 1
32928_ACEOF
32929
32930fi
32931
32932if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
32933 LIBS=" -lunicows $LIBS"
32934fi
32935
32936
32937if test "$wxUSE_CHOICEDLG" = "yes"; then
32938 cat >>confdefs.h <<\_ACEOF
32939#define wxUSE_CHOICEDLG 1
32940_ACEOF
32941
32942fi
32943
32944if test "$wxUSE_COLOURDLG" = "yes"; then
32945 cat >>confdefs.h <<\_ACEOF
32946#define wxUSE_COLOURDLG 1
32947_ACEOF
32948
32949fi
32950
32951if test "$wxUSE_FILEDLG" = "yes"; then
32952 cat >>confdefs.h <<\_ACEOF
32953#define wxUSE_FILEDLG 1
32954_ACEOF
32955
32956fi
32957
32958if test "$wxUSE_FINDREPLDLG" = "yes"; then
32959 cat >>confdefs.h <<\_ACEOF
32960#define wxUSE_FINDREPLDLG 1
32961_ACEOF
32962
32963fi
32964
32965if test "$wxUSE_FONTDLG" = "yes"; then
32966 cat >>confdefs.h <<\_ACEOF
32967#define wxUSE_FONTDLG 1
32968_ACEOF
32969
32970fi
32971
32972if test "$wxUSE_DIRDLG" = "yes"; then
32973 if test "$wxUSE_TREECTRL" != "yes"; then
32974 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
32975echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
32976 else
32977 cat >>confdefs.h <<\_ACEOF
32978#define wxUSE_DIRDLG 1
32979_ACEOF
32980
32981 fi
32982fi
32983
32984if test "$wxUSE_MSGDLG" = "yes"; then
32985 cat >>confdefs.h <<\_ACEOF
32986#define wxUSE_MSGDLG 1
32987_ACEOF
32988
32989fi
32990
32991if test "$wxUSE_NUMBERDLG" = "yes"; then
32992 cat >>confdefs.h <<\_ACEOF
32993#define wxUSE_NUMBERDLG 1
32994_ACEOF
32995
32996fi
32997
32998if test "$wxUSE_PROGRESSDLG" = "yes"; then
32999 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33000 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33001echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33002 else
33003 cat >>confdefs.h <<\_ACEOF
33004#define wxUSE_PROGRESSDLG 1
33005_ACEOF
33006
33007 fi
33008fi
33009
33010if test "$wxUSE_SPLASH" = "yes"; then
33011 cat >>confdefs.h <<\_ACEOF
33012#define wxUSE_SPLASH 1
33013_ACEOF
33014
33015fi
33016
33017if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33018 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33019 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33020echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33021 else
33022 cat >>confdefs.h <<\_ACEOF
33023#define wxUSE_STARTUP_TIPS 1
33024_ACEOF
33025
33026 fi
33027fi
33028
33029if test "$wxUSE_TEXTDLG" = "yes"; then
33030 cat >>confdefs.h <<\_ACEOF
33031#define wxUSE_TEXTDLG 1
33032_ACEOF
33033
33034fi
33035
33036if test "$wxUSE_WIZARDDLG" = "yes"; then
33037 cat >>confdefs.h <<\_ACEOF
33038#define wxUSE_WIZARDDLG 1
33039_ACEOF
33040
33041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
33042fi
33043
33044
33045if test "$cross_compiling" = "yes"; then
33046 OSINFO="\"$host\""
33047else
33048 OSINFO=`uname -s -r -m`
33049 OSINFO="\"$OSINFO\""
33050fi
33051
33052cat >>confdefs.h <<_ACEOF
33053#define WXWIN_OS_DESCRIPTION $OSINFO
33054_ACEOF
33055
33056
33057
33058if test "x$prefix" != "xNONE"; then
33059 wxPREFIX=$prefix
33060else
33061 wxPREFIX=$ac_default_prefix
33062fi
33063
33064cat >>confdefs.h <<_ACEOF
33065#define wxINSTALL_PREFIX "$wxPREFIX"
33066_ACEOF
33067
33068
33069top_builddir_wxconfig=`pwd`
33070
33071
33072
33073
33074if test "$wxUSE_MAC" = 1 ; then
33075 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
33076fi
33077if test "$wxUSE_COCOA" = 1 ; then
33078 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
33079fi
33080
33081
33082LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33083
33084have_cos=0
33085have_floor=0
33086
33087for ac_func in cos
33088do
33089as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33090echo "$as_me:$LINENO: checking for $ac_func" >&5
33091echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33092if eval "test \"\${$as_ac_var+set}\" = set"; then
33093 echo $ECHO_N "(cached) $ECHO_C" >&6
33094else
33095 cat >conftest.$ac_ext <<_ACEOF
33096#line $LINENO "configure"
33097/* confdefs.h. */
33098_ACEOF
33099cat confdefs.h >>conftest.$ac_ext
33100cat >>conftest.$ac_ext <<_ACEOF
33101/* end confdefs.h. */
33102/* System header to define __stub macros and hopefully few prototypes,
33103 which can conflict with char $ac_func (); below.
33104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33105 <limits.h> exists even on freestanding compilers. */
33106#ifdef __STDC__
33107# include <limits.h>
33108#else
33109# include <assert.h>
33110#endif
33111/* Override any gcc2 internal prototype to avoid an error. */
33112#ifdef __cplusplus
33113extern "C"
33114{
33115#endif
33116/* We use char because int might match the return type of a gcc2
33117 builtin and then its argument prototype would still apply. */
33118char $ac_func ();
33119/* The GNU C library defines this for functions which it implements
33120 to always fail with ENOSYS. Some functions are actually named
33121 something starting with __ and the normal name is an alias. */
33122#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33123choke me
33124#else
33125char (*f) () = $ac_func;
33126#endif
33127#ifdef __cplusplus
33128}
33129#endif
33130
33131int
33132main ()
33133{
33134return f != $ac_func;
33135 ;
33136 return 0;
33137}
33138_ACEOF
33139rm -f conftest.$ac_objext conftest$ac_exeext
33140if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33141 (eval $ac_link) 2>&5
33142 ac_status=$?
33143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33144 (exit $ac_status); } &&
33145 { ac_try='test -s conftest$ac_exeext'
33146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33147 (eval $ac_try) 2>&5
33148 ac_status=$?
33149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33150 (exit $ac_status); }; }; then
33151 eval "$as_ac_var=yes"
33152else
33153 echo "$as_me: failed program was:" >&5
33154sed 's/^/| /' conftest.$ac_ext >&5
33155
33156eval "$as_ac_var=no"
33157fi
33158rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33159fi
33160echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33161echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33162if test `eval echo '${'$as_ac_var'}'` = yes; then
33163 cat >>confdefs.h <<_ACEOF
33164#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33165_ACEOF
33166 have_cos=1
33167fi
33168done
33169
33170
33171for ac_func in floor
33172do
33173as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33174echo "$as_me:$LINENO: checking for $ac_func" >&5
33175echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33176if eval "test \"\${$as_ac_var+set}\" = set"; then
33177 echo $ECHO_N "(cached) $ECHO_C" >&6
33178else
33179 cat >conftest.$ac_ext <<_ACEOF
33180#line $LINENO "configure"
33181/* confdefs.h. */
33182_ACEOF
33183cat confdefs.h >>conftest.$ac_ext
33184cat >>conftest.$ac_ext <<_ACEOF
33185/* end confdefs.h. */
33186/* System header to define __stub macros and hopefully few prototypes,
33187 which can conflict with char $ac_func (); below.
33188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33189 <limits.h> exists even on freestanding compilers. */
33190#ifdef __STDC__
33191# include <limits.h>
33192#else
33193# include <assert.h>
33194#endif
33195/* Override any gcc2 internal prototype to avoid an error. */
33196#ifdef __cplusplus
33197extern "C"
33198{
33199#endif
33200/* We use char because int might match the return type of a gcc2
33201 builtin and then its argument prototype would still apply. */
33202char $ac_func ();
33203/* The GNU C library defines this for functions which it implements
33204 to always fail with ENOSYS. Some functions are actually named
33205 something starting with __ and the normal name is an alias. */
33206#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33207choke me
33208#else
33209char (*f) () = $ac_func;
33210#endif
33211#ifdef __cplusplus
33212}
33213#endif
33214
33215int
33216main ()
33217{
33218return f != $ac_func;
33219 ;
33220 return 0;
33221}
33222_ACEOF
33223rm -f conftest.$ac_objext conftest$ac_exeext
33224if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33225 (eval $ac_link) 2>&5
33226 ac_status=$?
33227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33228 (exit $ac_status); } &&
33229 { ac_try='test -s conftest$ac_exeext'
33230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33231 (eval $ac_try) 2>&5
33232 ac_status=$?
33233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33234 (exit $ac_status); }; }; then
33235 eval "$as_ac_var=yes"
33236else
33237 echo "$as_me: failed program was:" >&5
33238sed 's/^/| /' conftest.$ac_ext >&5
33239
33240eval "$as_ac_var=no"
33241fi
33242rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33243fi
33244echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33245echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33246if test `eval echo '${'$as_ac_var'}'` = yes; then
33247 cat >>confdefs.h <<_ACEOF
33248#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33249_ACEOF
33250 have_floor=1
33251fi
33252done
33253
33254echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33255echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33256if test "$have_cos" = 1 -a "$have_floor" = 1; then
33257 echo "$as_me:$LINENO: result: yes" >&5
33258echo "${ECHO_T}yes" >&6
33259else
33260 echo "$as_me:$LINENO: result: no" >&5
33261echo "${ECHO_T}no" >&6
33262 LIBS="$LIBS -lm"
33263 # use different functions to avoid configure caching
33264 have_sin=0
33265 have_ceil=0
33266
33267for ac_func in sin
33268do
33269as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33270echo "$as_me:$LINENO: checking for $ac_func" >&5
33271echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33272if eval "test \"\${$as_ac_var+set}\" = set"; then
33273 echo $ECHO_N "(cached) $ECHO_C" >&6
33274else
33275 cat >conftest.$ac_ext <<_ACEOF
33276#line $LINENO "configure"
33277/* confdefs.h. */
33278_ACEOF
33279cat confdefs.h >>conftest.$ac_ext
33280cat >>conftest.$ac_ext <<_ACEOF
33281/* end confdefs.h. */
33282/* System header to define __stub macros and hopefully few prototypes,
33283 which can conflict with char $ac_func (); below.
33284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33285 <limits.h> exists even on freestanding compilers. */
33286#ifdef __STDC__
33287# include <limits.h>
33288#else
33289# include <assert.h>
33290#endif
33291/* Override any gcc2 internal prototype to avoid an error. */
33292#ifdef __cplusplus
33293extern "C"
33294{
33295#endif
33296/* We use char because int might match the return type of a gcc2
33297 builtin and then its argument prototype would still apply. */
33298char $ac_func ();
33299/* The GNU C library defines this for functions which it implements
33300 to always fail with ENOSYS. Some functions are actually named
33301 something starting with __ and the normal name is an alias. */
33302#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33303choke me
33304#else
33305char (*f) () = $ac_func;
33306#endif
33307#ifdef __cplusplus
33308}
33309#endif
33310
33311int
33312main ()
33313{
33314return f != $ac_func;
33315 ;
33316 return 0;
33317}
33318_ACEOF
33319rm -f conftest.$ac_objext conftest$ac_exeext
33320if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33321 (eval $ac_link) 2>&5
33322 ac_status=$?
33323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33324 (exit $ac_status); } &&
33325 { ac_try='test -s conftest$ac_exeext'
33326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33327 (eval $ac_try) 2>&5
33328 ac_status=$?
33329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33330 (exit $ac_status); }; }; then
33331 eval "$as_ac_var=yes"
33332else
33333 echo "$as_me: failed program was:" >&5
33334sed 's/^/| /' conftest.$ac_ext >&5
33335
33336eval "$as_ac_var=no"
33337fi
33338rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33339fi
33340echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33341echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33342if test `eval echo '${'$as_ac_var'}'` = yes; then
33343 cat >>confdefs.h <<_ACEOF
33344#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33345_ACEOF
33346 have_sin=1
33347fi
33348done
33349
33350
33351for ac_func in ceil
33352do
33353as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33354echo "$as_me:$LINENO: checking for $ac_func" >&5
33355echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33356if eval "test \"\${$as_ac_var+set}\" = set"; then
33357 echo $ECHO_N "(cached) $ECHO_C" >&6
33358else
33359 cat >conftest.$ac_ext <<_ACEOF
33360#line $LINENO "configure"
33361/* confdefs.h. */
33362_ACEOF
33363cat confdefs.h >>conftest.$ac_ext
33364cat >>conftest.$ac_ext <<_ACEOF
33365/* end confdefs.h. */
33366/* System header to define __stub macros and hopefully few prototypes,
33367 which can conflict with char $ac_func (); below.
33368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33369 <limits.h> exists even on freestanding compilers. */
33370#ifdef __STDC__
33371# include <limits.h>
33372#else
33373# include <assert.h>
33374#endif
33375/* Override any gcc2 internal prototype to avoid an error. */
33376#ifdef __cplusplus
33377extern "C"
33378{
33379#endif
33380/* We use char because int might match the return type of a gcc2
33381 builtin and then its argument prototype would still apply. */
33382char $ac_func ();
33383/* The GNU C library defines this for functions which it implements
33384 to always fail with ENOSYS. Some functions are actually named
33385 something starting with __ and the normal name is an alias. */
33386#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33387choke me
33388#else
33389char (*f) () = $ac_func;
33390#endif
33391#ifdef __cplusplus
33392}
33393#endif
33394
33395int
33396main ()
33397{
33398return f != $ac_func;
33399 ;
33400 return 0;
33401}
33402_ACEOF
33403rm -f conftest.$ac_objext conftest$ac_exeext
33404if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33405 (eval $ac_link) 2>&5
33406 ac_status=$?
33407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33408 (exit $ac_status); } &&
33409 { ac_try='test -s conftest$ac_exeext'
33410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33411 (eval $ac_try) 2>&5
33412 ac_status=$?
33413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33414 (exit $ac_status); }; }; then
33415 eval "$as_ac_var=yes"
33416else
33417 echo "$as_me: failed program was:" >&5
33418sed 's/^/| /' conftest.$ac_ext >&5
33419
33420eval "$as_ac_var=no"
33421fi
33422rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33423fi
33424echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33425echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33426if test `eval echo '${'$as_ac_var'}'` = yes; then
33427 cat >>confdefs.h <<_ACEOF
33428#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33429_ACEOF
33430 have_ceil=1
33431fi
33432done
33433
33434 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33435echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33436 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33437 echo "$as_me:$LINENO: result: yes" >&5
33438echo "${ECHO_T}yes" >&6
33439 else
33440 echo "$as_me:$LINENO: result: no" >&5
33441echo "${ECHO_T}no" >&6
33442 # not sure we should warn the user, crash, etc.
33443 fi
33444fi
33445
33446if test "$wxUSE_GUI" = "yes"; then
33447
33448 LIBS="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
33449
33450
33451 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
33452 drawing dynamic erase event exec font image \
33453 minimal propsize rotate shaped widgets"
33454else
33455 SAMPLES_SUBDIRS="console"
33456fi
33457
33458
33459INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33460-I\${top_srcdir}/include \
33461$REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33462$TOOLKIT_INCLUDE"
33463
33464if test "$wxUSE_GTK" = 1; then
33465 WXCONFIG_INCLUDE=
33466else
33467 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
33468fi
33469
33470if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33471 WXUNIV=1
33472else
33473 WXUNIV=0
33474fi
33475
33476
33477
33478
33479
33480
33481
33482
33483EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33484
33485if test $wxUSE_MONOLITHIC = "yes" ; then
33486 MONOLITHIC=1
33487else
33488 MONOLITHIC=0
33489fi
33490
33491
33492
33493
33494
33495
33496
33497TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr [A-Z] [a-z]`
33498
33499
33500
33501
33502
33503 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33504
33505 if test -n "$ac_tool_prefix"; then
33506 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33507set dummy ${ac_tool_prefix}ranlib; ac_word=$2
33508echo "$as_me:$LINENO: checking for $ac_word" >&5
33509echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33510if test "${ac_cv_prog_RANLIB+set}" = set; then
33511 echo $ECHO_N "(cached) $ECHO_C" >&6
33512else
33513 if test -n "$RANLIB"; then
33514 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
33515else
33516as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33517for as_dir in $PATH
33518do
33519 IFS=$as_save_IFS
33520 test -z "$as_dir" && as_dir=.
33521 for ac_exec_ext in '' $ac_executable_extensions; do
33522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33523 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
33524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33525 break 2
33526 fi
33527done
33528done
33529
33530fi
33531fi
33532RANLIB=$ac_cv_prog_RANLIB
33533if test -n "$RANLIB"; then
33534 echo "$as_me:$LINENO: result: $RANLIB" >&5
33535echo "${ECHO_T}$RANLIB" >&6
33536else
33537 echo "$as_me:$LINENO: result: no" >&5
33538echo "${ECHO_T}no" >&6
33539fi
33540
33541fi
33542if test -z "$ac_cv_prog_RANLIB"; then
33543 ac_ct_RANLIB=$RANLIB
33544 # Extract the first word of "ranlib", so it can be a program name with args.
33545set dummy ranlib; ac_word=$2
33546echo "$as_me:$LINENO: checking for $ac_word" >&5
33547echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33548if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33549 echo $ECHO_N "(cached) $ECHO_C" >&6
33550else
33551 if test -n "$ac_ct_RANLIB"; then
33552 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
33553else
33554as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33555for as_dir in $PATH
33556do
33557 IFS=$as_save_IFS
33558 test -z "$as_dir" && as_dir=.
33559 for ac_exec_ext in '' $ac_executable_extensions; do
33560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33561 ac_cv_prog_ac_ct_RANLIB="ranlib"
33562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33563 break 2
33564 fi
33565done
33566done
33567
33568 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
33569fi
33570fi
33571ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
33572if test -n "$ac_ct_RANLIB"; then
33573 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33574echo "${ECHO_T}$ac_ct_RANLIB" >&6
33575else
33576 echo "$as_me:$LINENO: result: no" >&5
33577echo "${ECHO_T}no" >&6
33578fi
33579
33580 RANLIB=$ac_ct_RANLIB
33581else
33582 RANLIB="$ac_cv_prog_RANLIB"
33583fi
33584
33585 # Find a good install program. We prefer a C program (faster),
33586# so one script is as good as another. But avoid the broken or
33587# incompatible versions:
33588# SysV /etc/install, /usr/sbin/install
33589# SunOS /usr/etc/install
33590# IRIX /sbin/install
33591# AIX /bin/install
33592# AmigaOS /C/install, which installs bootblocks on floppy discs
33593# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33594# AFS /usr/afsws/bin/install, which mishandles nonexistent args
33595# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33596# ./install, which can be erroneously created by make from ./install.sh.
33597echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33598echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
33599if test -z "$INSTALL"; then
33600if test "${ac_cv_path_install+set}" = set; then
33601 echo $ECHO_N "(cached) $ECHO_C" >&6
33602else
33603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33604for as_dir in $PATH
33605do
33606 IFS=$as_save_IFS
33607 test -z "$as_dir" && as_dir=.
33608 # Account for people who put trailing slashes in PATH elements.
33609case $as_dir/ in
33610 ./ | .// | /cC/* | \
33611 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
33612 /usr/ucb/* ) ;;
33613 *)
33614 # OSF1 and SCO ODT 3.0 have their own names for install.
33615 # Don't use installbsd from OSF since it installs stuff as root
33616 # by default.
33617 for ac_prog in ginstall scoinst install; do
33618 for ac_exec_ext in '' $ac_executable_extensions; do
33619 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
33620 if test $ac_prog = install &&
33621 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33622 # AIX install. It has an incompatible calling convention.
33623 :
33624 elif test $ac_prog = install &&
33625 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33626 # program-specific install script used by HP pwplus--don't use.
33627 :
33628 else
33629 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
33630 break 3
33631 fi
33632 fi
33633 done
33634 done
33635 ;;
33636esac
33637done
33638
33639
33640fi
33641 if test "${ac_cv_path_install+set}" = set; then
33642 INSTALL=$ac_cv_path_install
33643 else
33644 # As a last resort, use the slow shell script. We don't cache a
33645 # path for INSTALL within a source directory, because that will
33646 # break other packages using the cache if that directory is
33647 # removed, or if the path is relative.
33648 INSTALL=$ac_install_sh
33649 fi
33650fi
33651echo "$as_me:$LINENO: result: $INSTALL" >&5
33652echo "${ECHO_T}$INSTALL" >&6
33653
33654# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
33655# It thinks the first close brace ends the variable substitution.
33656test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
33657
33658test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
33659
33660test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
33661
33662 echo "$as_me:$LINENO: checking whether ln -s works" >&5
33663echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
33664LN_S=$as_ln_s
33665if test "$LN_S" = "ln -s"; then
33666 echo "$as_me:$LINENO: result: yes" >&5
33667echo "${ECHO_T}yes" >&6
33668else
33669 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
33670echo "${ECHO_T}no, using $LN_S" >&6
33671fi
33672
33673
33674 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
33675echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
33676set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
33677if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
33678 echo $ECHO_N "(cached) $ECHO_C" >&6
33679else
33680 cat >conftest.make <<\_ACEOF
33681all:
33682 @echo 'ac_maketemp="$(MAKE)"'
33683_ACEOF
33684# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
33685eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
33686if test -n "$ac_maketemp"; then
33687 eval ac_cv_prog_make_${ac_make}_set=yes
33688else
33689 eval ac_cv_prog_make_${ac_make}_set=no
33690fi
33691rm -f conftest.make
33692fi
33693if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
33694 echo "$as_me:$LINENO: result: yes" >&5
33695echo "${ECHO_T}yes" >&6
33696 SET_MAKE=
33697else
33698 echo "$as_me:$LINENO: result: no" >&5
33699echo "${ECHO_T}no" >&6
33700 SET_MAKE="MAKE=${MAKE-make}"
33701fi
33702
33703
33704
33705 if test "$build" != "$host" ; then
33706 AR=$host_alias-ar
33707 STRIP=$host_alias-strip
33708 else
33709 # Extract the first word of "ar", so it can be a program name with args.
33710set dummy ar; ac_word=$2
33711echo "$as_me:$LINENO: checking for $ac_word" >&5
33712echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33713if test "${ac_cv_prog_AR+set}" = set; then
33714 echo $ECHO_N "(cached) $ECHO_C" >&6
33715else
33716 if test -n "$AR"; then
33717 ac_cv_prog_AR="$AR" # Let the user override the test.
33718else
33719as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33720for as_dir in $PATH
33721do
33722 IFS=$as_save_IFS
33723 test -z "$as_dir" && as_dir=.
33724 for ac_exec_ext in '' $ac_executable_extensions; do
33725 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33726 ac_cv_prog_AR="ar"
33727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33728 break 2
33729 fi
33730done
33731done
33732
33733 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
33734fi
33735fi
33736AR=$ac_cv_prog_AR
33737if test -n "$AR"; then
33738 echo "$as_me:$LINENO: result: $AR" >&5
33739echo "${ECHO_T}$AR" >&6
33740else
33741 echo "$as_me:$LINENO: result: no" >&5
33742echo "${ECHO_T}no" >&6
33743fi
33744
33745 # Extract the first word of "strip", so it can be a program name with args.
33746set dummy strip; ac_word=$2
33747echo "$as_me:$LINENO: checking for $ac_word" >&5
33748echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33749if test "${ac_cv_prog_STRIP+set}" = set; then
33750 echo $ECHO_N "(cached) $ECHO_C" >&6
33751else
33752 if test -n "$STRIP"; then
33753 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
33754else
33755as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33756for as_dir in $PATH
33757do
33758 IFS=$as_save_IFS
33759 test -z "$as_dir" && as_dir=.
33760 for ac_exec_ext in '' $ac_executable_extensions; do
33761 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33762 ac_cv_prog_STRIP="strip"
33763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33764 break 2
33765 fi
33766done
33767done
33768
33769 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
33770fi
33771fi
33772STRIP=$ac_cv_prog_STRIP
33773if test -n "$STRIP"; then
33774 echo "$as_me:$LINENO: result: $STRIP" >&5
33775echo "${ECHO_T}$STRIP" >&6
33776else
33777 echo "$as_me:$LINENO: result: no" >&5
33778echo "${ECHO_T}no" >&6
33779fi
33780
33781 fi
33782
33783 case ${host} in
33784 *-hp-hpux* )
33785 INSTALL_DIR="mkdir"
33786 ;;
33787 *) INSTALL_DIR="$INSTALL -d"
33788 ;;
33789 esac
33790
33791
33792 fi
33793
33794 echo "$as_me:$LINENO: checking if make is GNU make" >&5
33795echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
33796if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
33797 echo $ECHO_N "(cached) $ECHO_C" >&6
33798else
33799
33800 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
33801 egrep -s GNU > /dev/null); then
33802 bakefile_cv_prog_makeisgnu="yes"
33803 else
33804 bakefile_cv_prog_makeisgnu="no"
33805 fi
33806
33807fi
33808echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
33809echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
33810
33811 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
33812 IF_GNU_MAKE=""
33813 else
33814 IF_GNU_MAKE="#"
33815 fi
33816
33817
33818
33819 PLATFORM_UNIX=0
33820 PLATFORM_WIN32=0
33821 PLATFORM_MSDOS=0
33822 PLATFORM_MAC=0
33823 PLATFORM_MACOSX=0
33824
33825 case "${host}" in
33826 *-*-cygwin* | *-*-mingw32* )
33827 PLATFORM_WIN32=1
33828 ;;
33829 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
33830 PLATFORM_MSDOS=1
33831 ;;
33832 powerpc-*-darwin* )
33833 PLATFORM_MAC=1
33834 PLATFORM_MACOSX=1
33835 ;;
33836 * )
33837 PLATFORM_UNIX=1
33838 ;;
33839 esac
33840
33841
33842
33843
33844
33845
33846
33847
33848 SO_SUFFIX="so"
33849 EXEEXT=""
33850 DLLPREFIX=lib
33851
33852 case "${host}" in
33853 *-hp-hpux* )
33854 SO_SUFFIX="sl"
33855 ;;
33856 *-*-aix* )
33857 SO_SUFFIX="a"
33858 ;;
33859 *-*-cygwin* | *-*-mingw32* )
33860 SO_SUFFIX="dll"
33861 EXEEXT=".exe"
33862 DLLPREFIX=""
33863 ;;
33864 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
33865 EXEEXT=".exe"
33866 DLLPREFIX=""
33867 ;;
33868 powerpc-*-darwin* )
33869 SO_SUFFIX="dylib"
33870 ;;
33871 esac
33872
33873
33874
33875
33876
33877
33878 SHARED_LD_CC="\$(CC) -shared -o"
33879 SHARED_LD_CXX="\$(CXX) -shared -o"
33880
33881 if test "x$GCC" = "xyes"; then
33882 PIC_FLAG="-fPIC"
33883 fi
33884
33885 case "${host}" in
33886 *-hp-hpux* )
33887 if test "x$GCC" = "xyes"; then
33888 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
33889 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
33890 else
33891 LDFLAGS="$LDFLAGS -L/usr/lib"
33892
33893 SHARED_LD_CC="${CC} -b -o"
33894 SHARED_LD_CXX="${CXX} -b -o"
33895 PIC_FLAG="+Z"
33896 fi
33897 ;;
33898
33899 *-*-linux* )
33900 if test "x$GCC" != "xyes"; then
33901 echo "$as_me:$LINENO: checking for Intel compiler" >&5
33902echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
33903if test "${bakefile_cv_prog_icc+set}" = set; then
33904 echo $ECHO_N "(cached) $ECHO_C" >&6
33905else
33906
33907 cat >conftest.$ac_ext <<_ACEOF
33908#line $LINENO "configure"
33909/* confdefs.h. */
33910_ACEOF
33911cat confdefs.h >>conftest.$ac_ext
33912cat >>conftest.$ac_ext <<_ACEOF
33913/* end confdefs.h. */
33914
33915int
33916main ()
33917{
33918
33919 #ifndef __INTEL_COMPILER
33920 #error Not icc
33921 #endif
33922
33923 ;
33924 return 0;
33925}
33926_ACEOF
33927rm -f conftest.$ac_objext
33928if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33929 (eval $ac_compile) 2>&5
33930 ac_status=$?
33931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33932 (exit $ac_status); } &&
33933 { ac_try='test -s conftest.$ac_objext'
33934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33935 (eval $ac_try) 2>&5
33936 ac_status=$?
33937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33938 (exit $ac_status); }; }; then
33939 bakefile_cv_prog_icc=yes
33940else
33941 echo "$as_me: failed program was:" >&5
33942sed 's/^/| /' conftest.$ac_ext >&5
33943
33944bakefile_cv_prog_icc=no
33945
33946fi
33947rm -f conftest.$ac_objext conftest.$ac_ext
33948
33949fi
33950echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
33951echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
33952 if test "$bakefile_cv_prog_icc" = "yes"; then
33953 PIC_FLAG="-KPIC"
33954 fi
33955 fi
33956 ;;
33957
33958 *-*-solaris2* )
33959 if test "x$GCC" != xyes ; then
33960 SHARED_LD_CC="${CC} -G -o"
33961 SHARED_LD_CXX="${CXX} -G -o"
33962 PIC_FLAG="-KPIC"
33963 fi
33964 ;;
33965
33966 *-*-darwin* )
33967 CFLAGS="$CFLAGS -fno-common"
33968 CXXFLAGS="$CXXFLAGS -fno-common"
33969
33970
33971 cat <<EOF >shared-ld-sh
33972#!/bin/sh
33973#-----------------------------------------------------------------------------
33974#-- Name: distrib/mac/shared-ld-sh
33975#-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
33976#-- Author: Gilles Depeyrot
33977#-- Copyright: (c) 2002 Gilles Depeyrot
33978#-- Licence: any use permitted
33979#-----------------------------------------------------------------------------
33980
33981verbose=0
33982args=""
33983objects=""
33984
33985while test \${#} -gt 0; do
33986 case \${1} in
33987
33988 -v)
33989 verbose=1
33990 ;;
33991
33992 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
33993 # collect these options and values
33994 args="\${args} \${1} \${2}"
33995 shift
33996 ;;
33997
33998 -l*|-L*|-flat_namespace)
33999 # collect these options
34000 args="\${args} \${1}"
34001 ;;
34002
34003 -dynamiclib)
34004 # skip these options
34005 ;;
34006
34007 -*)
34008 echo "shared-ld: unhandled option '\${1}'"
34009 exit 1
34010 ;;
34011
34012 *.o | *.a)
34013 # collect object files
34014 objects="\${objects} \${1}"
34015 ;;
34016
34017 *)
34018 echo "shared-ld: unhandled argument '\${1}'"
34019 exit 1
34020 ;;
34021
34022 esac
34023 shift
34024done
34025
34026#
34027# Link one module containing all the others
34028#
34029if test \${verbose} = 1; then
34030 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34031fi
34032c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34033status=\$?
34034if test \${status} != 0; then
34035 exit \${status}
34036fi
34037
34038#
34039# Link the shared library from the single module created
34040#
34041if test \${verbose} = 1; then
34042 echo "cc -dynamiclib master.\$\$.o \${args}"
34043fi
34044c++ -dynamiclib master.\$\$.o \${args}
34045status=\$?
34046if test \${status} != 0; then
34047 exit \${status}
34048fi
34049
34050#
34051# Remove intermediate module
34052#
34053rm -f master.\$\$.o
34054
34055exit 0
34056EOF
34057 chmod +x shared-ld-sh
34058
34059 SHARED_LD_CC="`pwd`/shared-ld-sh -undefined suppress -flat_namespace -o"
34060 SHARED_LD_CXX="$SHARED_LD_CC"
34061 PIC_FLAG="-dynamic -fPIC"
34062 ;;
34063
34064 *-*-aix* )
34065 if test "x$GCC" != "xyes"; then
34066 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34067set dummy makeC++SharedLib; ac_word=$2
34068echo "$as_me:$LINENO: checking for $ac_word" >&5
34069echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34070if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34071 echo $ECHO_N "(cached) $ECHO_C" >&6
34072else
34073 if test -n "$AIX_CXX_LD"; then
34074 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
34075else
34076as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34077for as_dir in $PATH
34078do
34079 IFS=$as_save_IFS
34080 test -z "$as_dir" && as_dir=.
34081 for ac_exec_ext in '' $ac_executable_extensions; do
34082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34083 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
34084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34085 break 2
34086 fi
34087done
34088done
34089
34090 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
34091fi
34092fi
34093AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
34094if test -n "$AIX_CXX_LD"; then
34095 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34096echo "${ECHO_T}$AIX_CXX_LD" >&6
34097else
34098 echo "$as_me:$LINENO: result: no" >&5
34099echo "${ECHO_T}no" >&6
34100fi
34101
34102 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
34103 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
34104 fi
34105 ;;
34106
34107 *-*-beos* )
34108 SHARED_LD_CC="${LD} -shared -o"
34109 SHARED_LD_CXX="${LD} -shared -o"
34110 ;;
34111
34112 *-*-irix* )
34113 if test "x$GCC" != "xyes"; then
34114 PIC_FLAG="-KPIC"
34115 fi
34116 ;;
34117
34118 *-*-cygwin* | *-*-mingw32* )
34119 PIC_FLAG=""
34120 ;;
34121
34122 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34123 *-*-sunos4* | \
34124 *-*-osf* | \
34125 *-*-dgux5* | \
34126 *-*-sysv5* )
34127 ;;
34128
34129 *)
34130 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34131echo "$as_me: error: unknown system type $host." >&2;}
34132 { (exit 1); exit 1; }; }
34133 esac
34134
34135
34136
34137
34138
34139
34140 USE_SOVERSION=0
34141 USE_SOVERLINUX=0
34142 USE_SOVERSOLARIS=0
34143 USE_SOSYMLINKS=0
34144 USE_MACVERSION=0
34145 SONAME_FLAG=
34146
34147 case "${host}" in
34148 *-*-linux* )
34149 SONAME_FLAG="-Wl,-soname,"
34150 USE_SOVERSION=1
34151 USE_SOVERLINUX=1
34152 USE_SOSYMLINKS=1
34153 ;;
34154
34155 *-*-solaris2* )
34156 SONAME_FLAG="-h "
34157 USE_SOVERSION=1
34158 USE_SOVERSOLARIS=1
34159 USE_SOSYMLINKS=1
34160 ;;
34161
34162 *-*-darwin* )
34163 USE_MACVERSION=1
34164 USE_SOVERSION=1
34165 USE_SOSYMLINKS=1
34166 ;;
34167 esac
34168
34169
34170
34171
34172
34173
34174
34175
34176
34177 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34178echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34179 DEPS_TRACKING=0
34180
34181 if test "x$GCC" = "xyes"; then
34182 DEPSMODE=gcc
34183 DEPS_TRACKING=1
34184 echo "$as_me:$LINENO: result: gcc" >&5
34185echo "${ECHO_T}gcc" >&6
34186 else
34187 echo "$as_me:$LINENO: result: none" >&5
34188echo "${ECHO_T}none" >&6
34189 fi
34190
34191 if test $DEPS_TRACKING = 1 ; then
34192 cat <<EOF >bk-deps
34193#!/bin/sh
34194
34195# This script is part of Bakefile (http://bakefile.sf.net) autoconf script.
34196# It is used to track C/C++ files dependencies in portable way.
34197#
34198# Permission is given to use this file in any way.
34199
34200DEPSMODE=$DEPSMODE
34201DEPSDIR=.deps
34202
34203mkdir -p \$DEPSDIR
34204
34205if test \$DEPSMODE = gcc ; then
34206 \${*} -MMD
34207 status=\${?}
34208 if test \${status} != 0 ; then
34209 exit \${status}
34210 fi
34211 # move created file to the location we want it in:
34212 while test \${#} -gt 0; do
34213 case "\${1}" in
34214 -o )
34215 shift
34216 objfile=\${1}
34217 ;;
34218 -* )
34219 ;;
34220 * )
34221 srcfile=\${1}
34222 ;;
34223 esac
34224 shift
34225 done
34226 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34227 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34228 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34229 rm -f \$depfile
34230 exit 0
34231else
34232 \${*}
34233 exit \${?}
34234fi
34235EOF
34236 chmod +x bk-deps
34237 fi
34238
34239
34240
34241
34242 RESCOMP=
34243 SETFILE=
34244
34245 case ${host} in
34246 *-*-cygwin* | *-*-mingw32* )
34247 if test "$build" != "$host" ; then
34248 RESCOMP=$host_alias-windres
34249 else
34250 # Extract the first word of "windres", so it can be a program name with args.
34251set dummy windres; ac_word=$2
34252echo "$as_me:$LINENO: checking for $ac_word" >&5
34253echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34254if test "${ac_cv_prog_RESCOMP+set}" = set; then
34255 echo $ECHO_N "(cached) $ECHO_C" >&6
34256else
34257 if test -n "$RESCOMP"; then
34258 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34259else
34260as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34261for as_dir in $PATH
34262do
34263 IFS=$as_save_IFS
34264 test -z "$as_dir" && as_dir=.
34265 for ac_exec_ext in '' $ac_executable_extensions; do
34266 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34267 ac_cv_prog_RESCOMP="windres"
34268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34269 break 2
34270 fi
34271done
34272done
34273
34274 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
34275fi
34276fi
34277RESCOMP=$ac_cv_prog_RESCOMP
34278if test -n "$RESCOMP"; then
34279 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34280echo "${ECHO_T}$RESCOMP" >&6
34281else
34282 echo "$as_me:$LINENO: result: no" >&5
34283echo "${ECHO_T}no" >&6
34284fi
34285
34286 fi
34287 ;;
34288
34289 *-*-darwin* )
34290 # Extract the first word of "Rez", so it can be a program name with args.
34291set dummy Rez; ac_word=$2
34292echo "$as_me:$LINENO: checking for $ac_word" >&5
34293echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34294if test "${ac_cv_prog_RESCOMP+set}" = set; then
34295 echo $ECHO_N "(cached) $ECHO_C" >&6
34296else
34297 if test -n "$RESCOMP"; then
34298 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34299else
34300as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34301for as_dir in $PATH
34302do
34303 IFS=$as_save_IFS
34304 test -z "$as_dir" && as_dir=.
34305 for ac_exec_ext in '' $ac_executable_extensions; do
34306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34307 ac_cv_prog_RESCOMP="Rez"
34308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34309 break 2
34310 fi
34311done
34312done
34313
34314 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
34315fi
34316fi
34317RESCOMP=$ac_cv_prog_RESCOMP
34318if test -n "$RESCOMP"; then
34319 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34320echo "${ECHO_T}$RESCOMP" >&6
34321else
34322 echo "$as_me:$LINENO: result: no" >&5
34323echo "${ECHO_T}no" >&6
34324fi
34325
34326 # Extract the first word of "SetFile", so it can be a program name with args.
34327set dummy SetFile; ac_word=$2
34328echo "$as_me:$LINENO: checking for $ac_word" >&5
34329echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34330if test "${ac_cv_prog_SETFILE+set}" = set; then
34331 echo $ECHO_N "(cached) $ECHO_C" >&6
34332else
34333 if test -n "$SETFILE"; then
34334 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34335else
34336as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34337for as_dir in $PATH
34338do
34339 IFS=$as_save_IFS
34340 test -z "$as_dir" && as_dir=.
34341 for ac_exec_ext in '' $ac_executable_extensions; do
34342 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34343 ac_cv_prog_SETFILE="SetFile"
34344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34345 break 2
34346 fi
34347done
34348done
34349
34350 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34351fi
34352fi
34353SETFILE=$ac_cv_prog_SETFILE
34354if test -n "$SETFILE"; then
34355 echo "$as_me:$LINENO: result: $SETFILE" >&5
34356echo "${ECHO_T}$SETFILE" >&6
34357else
34358 echo "$as_me:$LINENO: result: no" >&5
34359echo "${ECHO_T}no" >&6
34360fi
34361
34362 ;;
34363 esac
34364
34365
34366
34367
34368
34369
34370
34371 COND_SHARED_1_MONOLITHIC_0="#"
34372 if test "x$SHARED" = "x1" -a \
34373 "x$MONOLITHIC" = "x0" ; then
34374 COND_SHARED_1_MONOLITHIC_0=
34375 fi
34376
34377 COND_WXUSE_LIBPNG_BUILTIN="#"
34378 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
34379 COND_WXUSE_LIBPNG_BUILTIN=
34380 fi
34381
34382 COND_WXUSE_ZLIB_BUILTIN="#"
34383 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
34384 COND_WXUSE_ZLIB_BUILTIN=
34385 fi
34386
34387 COND_USE_SOSYMLINKS_1="#"
34388 if test "x$USE_SOSYMLINKS" = "x1" ; then
34389 COND_USE_SOSYMLINKS_1=
34390 fi
34391
34392 COND_USE_GUI_1="#"
34393 if test "x$USE_GUI" = "x1" ; then
34394 COND_USE_GUI_1=
34395 fi
34396
34397 COND_WXUSE_ODBC_BUILTIN="#"
34398 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
34399 COND_WXUSE_ODBC_BUILTIN=
34400 fi
34401
34402 COND_TOOLKIT_X11="#"
34403 if test "x$TOOLKIT" = "xX11" ; then
34404 COND_TOOLKIT_X11=
34405 fi
34406
34407 COND_TOOLKIT_MGL="#"
34408 if test "x$TOOLKIT" = "xMGL" ; then
34409 COND_TOOLKIT_MGL=
34410 fi
34411
34412 COND_TOOLKIT_GTK="#"
34413 if test "x$TOOLKIT" = "xGTK" ; then
34414 COND_TOOLKIT_GTK=
34415 fi
34416
34417 COND_TOOLKIT_MSW="#"
34418 if test "x$TOOLKIT" = "xMSW" ; then
34419 COND_TOOLKIT_MSW=
34420 fi
34421
34422 COND_TOOLKIT_MAC="#"
34423 if test "x$TOOLKIT" = "xMAC" ; then
34424 COND_TOOLKIT_MAC=
34425 fi
34426
34427 COND_USE_SOVERSION_1_PLATFORM_MACOSX_0="#"
34428 if test "x$USE_SOVERSION" = "x1" -a \
34429 "x$PLATFORM_MACOSX" = "x0" ; then
34430 COND_USE_SOVERSION_1_PLATFORM_MACOSX_0=
34431 fi
34432
34433 COND_USE_SOVERSION_1_PLATFORM_MACOSX_1="#"
34434 if test "x$USE_SOVERSION" = "x1" -a \
34435 "x$PLATFORM_MACOSX" = "x1" ; then
34436 COND_USE_SOVERSION_1_PLATFORM_MACOSX_1=
34437 fi
34438
34439 COND_PLATFORM_WIN32_1="#"
34440 if test "x$PLATFORM_WIN32" = "x1" ; then
34441 COND_PLATFORM_WIN32_1=
34442 fi
34443
34444 COND_SHARED_0_USE_GUI_1_MONOLITHIC_0="#"
34445 if test "x$SHARED" = "x0" -a \
34446 "x$USE_GUI" = "x1" -a \
34447 "x$MONOLITHIC" = "x0" ; then
34448 COND_SHARED_0_USE_GUI_1_MONOLITHIC_0=
34449 fi
34450
34451 COND_PLATFORM_UNIX_1="#"
34452 if test "x$PLATFORM_UNIX" = "x1" ; then
34453 COND_PLATFORM_UNIX_1=
34454 fi
34455
34456 COND_PLATFORM_MACOSX_1="#"
34457 if test "x$PLATFORM_MACOSX" = "x1" ; then
34458 COND_PLATFORM_MACOSX_1=
34459 fi
34460
34461 COND_WXUSE_LIBTIFF_BUILTIN="#"
34462 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
34463 COND_WXUSE_LIBTIFF_BUILTIN=
34464 fi
34465
34466 COND_SHARED_1_USE_GUI_1_MONOLITHIC_0="#"
34467 if test "x$SHARED" = "x1" -a \
34468 "x$USE_GUI" = "x1" -a \
34469 "x$MONOLITHIC" = "x0" ; then
34470 COND_SHARED_1_USE_GUI_1_MONOLITHIC_0=
34471 fi
34472
34473 COND_MONOLITHIC_0="#"
34474 if test "x$MONOLITHIC" = "x0" ; then
34475 COND_MONOLITHIC_0=
34476 fi
34477
34478 COND_WXUSE_REGEX_BUILTIN="#"
34479 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
34480 COND_WXUSE_REGEX_BUILTIN=
34481 fi
34482
34483 COND_TOOLKIT_MOTIF="#"
34484 if test "x$TOOLKIT" = "xMOTIF" ; then
34485 COND_TOOLKIT_MOTIF=
34486 fi
34487
34488 COND_TOOLKIT_COCOA="#"
34489 if test "x$TOOLKIT" = "xCOCOA" ; then
34490 COND_TOOLKIT_COCOA=
34491 fi
34492
34493 COND_TOOLKIT_OS2="#"
34494 if test "x$TOOLKIT" = "xOS2" ; then
34495 COND_TOOLKIT_OS2=
34496 fi
34497
34498 COND_WXUNIV_1="#"
34499 if test "x$WXUNIV" = "x1" ; then
34500 COND_WXUNIV_1=
34501 fi
34502
34503 COND_WXUSE_LIBJPEG_BUILTIN="#"
34504 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
34505 COND_WXUSE_LIBJPEG_BUILTIN=
34506 fi
34507
34508 COND_USE_GUI_0="#"
34509 if test "x$USE_GUI" = "x0" ; then
34510 COND_USE_GUI_0=
34511 fi
34512
34513 COND_SHARED_1_MONOLITHIC_1="#"
34514 if test "x$SHARED" = "x1" -a \
34515 "x$MONOLITHIC" = "x1" ; then
34516 COND_SHARED_1_MONOLITHIC_1=
34517 fi
34518
34519 COND_SHARED_0_MONOLITHIC_1="#"
34520 if test "x$SHARED" = "x0" -a \
34521 "x$MONOLITHIC" = "x1" ; then
34522 COND_SHARED_0_MONOLITHIC_1=
34523 fi
34524
34525 COND_USE_SOVERLINUX_1="#"
34526 if test "x$USE_SOVERLINUX" = "x1" ; then
34527 COND_USE_SOVERLINUX_1=
34528 fi
34529
34530 COND_USE_SOVERSOLARIS_1="#"
34531 if test "x$USE_SOVERSOLARIS" = "x1" ; then
34532 COND_USE_SOVERSOLARIS_1=
34533 fi
34534
34535 COND_USE_GUI_1_WXUNIV_0="#"
34536 if test "x$USE_GUI" = "x1" -a \
34537 "x$WXUNIV" = "x0" ; then
34538 COND_USE_GUI_1_WXUNIV_0=
34539 fi
34540
34541 COND_USE_GUI_1_WXUNIV_1="#"
34542 if test "x$USE_GUI" = "x1" -a \
34543 "x$WXUNIV" = "x1" ; then
34544 COND_USE_GUI_1_WXUNIV_1=
34545 fi
34546
34547 COND_UNICODE_1="#"
34548 if test "x$UNICODE" = "x1" ; then
34549 COND_UNICODE_1=
34550 fi
34551
34552 COND_PLATFORM_WIN32_0="#"
34553 if test "x$PLATFORM_WIN32" = "x0" ; then
34554 COND_PLATFORM_WIN32_0=
34555 fi
34556
34557 COND_MONOLITHIC_1="#"
34558 if test "x$MONOLITHIC" = "x1" ; then
34559 COND_MONOLITHIC_1=
34560 fi
34561
34562 COND_SHARED_0_MONOLITHIC_0="#"
34563 if test "x$SHARED" = "x0" -a \
34564 "x$MONOLITHIC" = "x0" ; then
34565 COND_SHARED_0_MONOLITHIC_0=
34566 fi
34567
34568 COND_BUILD_DEBUG="#"
34569 if test "x$BUILD" = "xdebug" ; then
34570 COND_BUILD_DEBUG=
34571 fi
34572
34573 COND_DEPS_TYPE_GCC="#"
34574 if test "x$DEPS_TYPE" = "xgcc" ; then
34575 COND_DEPS_TYPE_GCC=
34576 fi
34577
34578 COND_PLATFORM_MAC_1="#"
34579 if test "x$PLATFORM_MAC" = "x1" ; then
34580 COND_PLATFORM_MAC_1=
34581 fi
34582
34583 COND_SHARED_1="#"
34584 if test "x$SHARED" = "x1" ; then
34585 COND_SHARED_1=
34586 fi
34587
34588 COND_SHARED_0="#"
34589 if test "x$SHARED" = "x0" ; then
34590 COND_SHARED_0=
34591 fi
34592
34593 COND_DEPS_TRACKING_1="#"
34594 if test "x$DEPS_TRACKING" = "x1" ; then
34595 COND_DEPS_TRACKING_1=
34596 fi
34597
34598 COND_DEPS_TRACKING_0="#"
34599 if test "x$DEPS_TRACKING" = "x0" ; then
34600 COND_DEPS_TRACKING_0=
34601 fi
34602
34603
34604
34605
34606if test "$GXX" = yes ; then
34607 CXXWARNINGS="-Wall"
34608 fi
34609
34610EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
34611
34612CPPFLAGS=`echo $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
34613CFLAGS=`echo $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
34614CXXFLAGS=`echo $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
34615LIBS=`echo $LIBS | sed 's/ \+/ /g'`
34616
34617LDFLAGS="$LDFLAGS $PROFILE"
34618
34619SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
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
34667
34668
34669
34670
34671
34672
34673
34674
34675
34676
34677
34678
34679
34680
34681
34682
34683
34684
34685
34686
34687
34688
34689
34690
34691
34692
34693
34694
34695
34696
34697
34698
34699
34700
34701
34702
34703
34704
34705
34706
34707
34708
34709
34710
34711
34712
34713
34714
34715
34716
34717
34718
34719
34720
34721
34722
34723echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34724echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34725set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
34726if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34727 echo $ECHO_N "(cached) $ECHO_C" >&6
34728else
34729 cat >conftest.make <<\_ACEOF
34730all:
34731 @echo 'ac_maketemp="$(MAKE)"'
34732_ACEOF
34733# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34734eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34735if test -n "$ac_maketemp"; then
34736 eval ac_cv_prog_make_${ac_make}_set=yes
34737else
34738 eval ac_cv_prog_make_${ac_make}_set=no
34739fi
34740rm -f conftest.make
34741fi
34742if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34743 echo "$as_me:$LINENO: result: yes" >&5
34744echo "${ECHO_T}yes" >&6
34745 SET_MAKE=
34746else
34747 echo "$as_me:$LINENO: result: no" >&5
34748echo "${ECHO_T}no" >&6
34749 SET_MAKE="MAKE=${MAKE-make}"
34750fi
34751
34752
34753if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
34754 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
34755fi
34756
34757 ac_config_headers="$ac_config_headers setup.h"
34758
34759
34760 ac_config_files="$ac_config_files wx-config version-script Makefile"
34761
34762
34763 ac_config_commands="$ac_config_commands default"
34764
34765
34766
34767for subdir in samples demos utils contrib ; do
34768 if test -d ${srcdir}/${subdir} ; then
34769 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
34770 for mkin in $makefiles ; do
34771 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
34772 ac_config_files="$ac_config_files $mk"
34773
34774 done
34775 fi
34776done
34777
34778
34779cat >confcache <<\_ACEOF
34780# This file is a shell script that caches the results of configure
34781# tests run on this system so they can be shared between configure
34782# scripts and configure runs, see configure's option --config-cache.
34783# It is not useful on other systems. If it contains results you don't
34784# want to keep, you may remove or edit it.
34785#
34786# config.status only pays attention to the cache file if you give it
34787# the --recheck option to rerun configure.
34788#
34789# `ac_cv_env_foo' variables (set or unset) will be overridden when
34790# loading this file, other *unset* `ac_cv_foo' will be assigned the
34791# following values.
34792
34793_ACEOF
34794
34795# The following way of writing the cache mishandles newlines in values,
34796# but we know of no workaround that is simple, portable, and efficient.
34797# So, don't put newlines in cache variables' values.
34798# Ultrix sh set writes to stderr and can't be redirected directly,
34799# and sets the high bit in the cache file unless we assign to the vars.
34800{
34801 (set) 2>&1 |
34802 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34803 *ac_space=\ *)
34804 # `set' does not quote correctly, so add quotes (double-quote
34805 # substitution turns \\\\ into \\, and sed turns \\ into \).
34806 sed -n \
34807 "s/'/'\\\\''/g;
34808 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34809 ;;
34810 *)
34811 # `set' quotes correctly as required by POSIX, so do not add quotes.
34812 sed -n \
34813 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34814 ;;
34815 esac;
34816} |
34817 sed '
34818 t clear
34819 : clear
34820 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34821 t end
34822 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34823 : end' >>confcache
34824if diff $cache_file confcache >/dev/null 2>&1; then :; else
34825 if test -w $cache_file; then
34826 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34827 cat confcache >$cache_file
34828 else
34829 echo "not updating unwritable cache $cache_file"
34830 fi
34831fi
34832rm -f confcache
34833
34834test "x$prefix" = xNONE && prefix=$ac_default_prefix
34835# Let make expand exec_prefix.
34836test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
34837
34838# VPATH may cause trouble with some makes, so we remove $(srcdir),
34839# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34840# trailing colons and then remove the whole line if VPATH becomes empty
34841# (actually we leave an empty line to preserve line numbers).
34842if test "x$srcdir" = x.; then
34843 ac_vpsub='/^[ ]*VPATH[ ]*=/{
34844s/:*\$(srcdir):*/:/;
34845s/:*\${srcdir}:*/:/;
34846s/:*@srcdir@:*/:/;
34847s/^\([^=]*=[ ]*\):*/\1/;
34848s/:*$//;
34849s/^[^=]*=[ ]*$//;
34850}'
34851fi
34852
34853DEFS=-DHAVE_CONFIG_H
34854
34855ac_libobjs=
34856ac_ltlibobjs=
34857for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
34858 # 1. Remove the extension, and $U if already installed.
34859 ac_i=`echo "$ac_i" |
34860 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
34861 # 2. Add them.
34862 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
34863 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
34864done
34865LIBOBJS=$ac_libobjs
34866
34867LTLIBOBJS=$ac_ltlibobjs
34868
34869
34870
34871: ${CONFIG_STATUS=./config.status}
34872ac_clean_files_save=$ac_clean_files
34873ac_clean_files="$ac_clean_files $CONFIG_STATUS"
34874{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
34875echo "$as_me: creating $CONFIG_STATUS" >&6;}
34876cat >$CONFIG_STATUS <<_ACEOF
34877#! $SHELL
34878# Generated by $as_me.
34879# Run this file to recreate the current configuration.
34880# Compiler output produced by configure, useful for debugging
34881# configure, is in config.log if it exists.
34882
34883debug=false
34884ac_cs_recheck=false
34885ac_cs_silent=false
34886SHELL=\${CONFIG_SHELL-$SHELL}
34887_ACEOF
34888
34889cat >>$CONFIG_STATUS <<\_ACEOF
34890## --------------------- ##
34891## M4sh Initialization. ##
34892## --------------------- ##
34893
34894# Be Bourne compatible
34895if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
34896 emulate sh
34897 NULLCMD=:
34898 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
34899 # is contrary to our usage. Disable this feature.
34900 alias -g '${1+"$@"}'='"$@"'
34901elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
34902 set -o posix
34903fi
34904
34905# Support unset when possible.
34906if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
34907 as_unset=unset
34908else
34909 as_unset=false
34910fi
34911
34912
34913# Work around bugs in pre-3.0 UWIN ksh.
34914$as_unset ENV MAIL MAILPATH
34915PS1='$ '
34916PS2='> '
34917PS4='+ '
34918
34919# NLS nuisances.
34920for as_var in \
34921 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
34922 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
34923 LC_TELEPHONE LC_TIME
34924do
34925 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
34926 eval $as_var=C; export $as_var
34927 else
34928 $as_unset $as_var
34929 fi
34930done
34931
34932# Required to use basename.
34933if expr a : '\(a\)' >/dev/null 2>&1; then
34934 as_expr=expr
34935else
34936 as_expr=false
34937fi
34938
34939if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
34940 as_basename=basename
34941else
34942 as_basename=false
34943fi
34944
34945
34946# Name of the executable.
34947as_me=`$as_basename "$0" ||
34948$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34949 X"$0" : 'X\(//\)$' \| \
34950 X"$0" : 'X\(/\)$' \| \
34951 . : '\(.\)' 2>/dev/null ||
34952echo X/"$0" |
34953 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
34954 /^X\/\(\/\/\)$/{ s//\1/; q; }
34955 /^X\/\(\/\).*/{ s//\1/; q; }
34956 s/.*/./; q'`
34957
34958
34959# PATH needs CR, and LINENO needs CR and PATH.
34960# Avoid depending upon Character Ranges.
34961as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34962as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34963as_cr_Letters=$as_cr_letters$as_cr_LETTERS
34964as_cr_digits='0123456789'
34965as_cr_alnum=$as_cr_Letters$as_cr_digits
34966
34967# The user is always right.
34968if test "${PATH_SEPARATOR+set}" != set; then
34969 echo "#! /bin/sh" >conf$$.sh
34970 echo "exit 0" >>conf$$.sh
34971 chmod +x conf$$.sh
34972 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
34973 PATH_SEPARATOR=';'
34974 else
34975 PATH_SEPARATOR=:
34976 fi
34977 rm -f conf$$.sh
34978fi
34979
34980
34981 as_lineno_1=$LINENO
34982 as_lineno_2=$LINENO
34983 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34984 test "x$as_lineno_1" != "x$as_lineno_2" &&
34985 test "x$as_lineno_3" = "x$as_lineno_2" || {
34986 # Find who we are. Look in the path if we contain no path at all
34987 # relative or not.
34988 case $0 in
34989 *[\\/]* ) as_myself=$0 ;;
34990 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34991for as_dir in $PATH
34992do
34993 IFS=$as_save_IFS
34994 test -z "$as_dir" && as_dir=.
34995 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
34996done
34997
34998 ;;
34999 esac
35000 # We did not find ourselves, most probably we were run as `sh COMMAND'
35001 # in which case we are not to be found in the path.
35002 if test "x$as_myself" = x; then
35003 as_myself=$0
35004 fi
35005 if test ! -f "$as_myself"; then
35006 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
35007echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
35008 { (exit 1); exit 1; }; }
35009 fi
35010 case $CONFIG_SHELL in
35011 '')
35012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35013for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
35014do
35015 IFS=$as_save_IFS
35016 test -z "$as_dir" && as_dir=.
35017 for as_base in sh bash ksh sh5; do
35018 case $as_dir in
35019 /*)
35020 if ("$as_dir/$as_base" -c '
35021 as_lineno_1=$LINENO
35022 as_lineno_2=$LINENO
35023 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35024 test "x$as_lineno_1" != "x$as_lineno_2" &&
35025 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
35026 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
35027 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
35028 CONFIG_SHELL=$as_dir/$as_base
35029 export CONFIG_SHELL
35030 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
35031 fi;;
35032 esac
35033 done
35034done
35035;;
35036 esac
35037
35038 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
35039 # uniformly replaced by the line number. The first 'sed' inserts a
35040 # line-number line before each line; the second 'sed' does the real
35041 # work. The second script uses 'N' to pair each line-number line
35042 # with the numbered line, and appends trailing '-' during
35043 # substitution so that $LINENO is not a special case at line end.
35044 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
35045 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
35046 sed '=' <$as_myself |
35047 sed '
35048 N
35049 s,$,-,
35050 : loop
35051 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
35052 t loop
35053 s,-$,,
35054 s,^['$as_cr_digits']*\n,,
35055 ' >$as_me.lineno &&
35056 chmod +x $as_me.lineno ||
35057 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
35058echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
35059 { (exit 1); exit 1; }; }
35060
35061 # Don't try to exec as it changes $[0], causing all sort of problems
35062 # (the dirname of $[0] is not the place where we might find the
35063 # original and so on. Autoconf is especially sensible to this).
35064 . ./$as_me.lineno
35065 # Exit status is that of the last command.
35066 exit
35067}
35068
35069
35070case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
35071 *c*,-n*) ECHO_N= ECHO_C='
35072' ECHO_T=' ' ;;
35073 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
35074 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
35075esac
35076
35077if expr a : '\(a\)' >/dev/null 2>&1; then
35078 as_expr=expr
35079else
35080 as_expr=false
35081fi
35082
35083rm -f conf$$ conf$$.exe conf$$.file
35084echo >conf$$.file
35085if ln -s conf$$.file conf$$ 2>/dev/null; then
35086 # We could just check for DJGPP; but this test a) works b) is more generic
35087 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
35088 if test -f conf$$.exe; then
35089 # Don't use ln at all; we don't have any links
35090 as_ln_s='cp -p'
35091 else
35092 as_ln_s='ln -s'
35093 fi
35094elif ln conf$$.file conf$$ 2>/dev/null; then
35095 as_ln_s=ln
35096else
35097 as_ln_s='cp -p'
35098fi
35099rm -f conf$$ conf$$.exe conf$$.file
35100
35101if mkdir -p . 2>/dev/null; then
35102 as_mkdir_p=:
35103else
35104 as_mkdir_p=false
35105fi
35106
35107as_executable_p="test -f"
35108
35109# Sed expression to map a string onto a valid CPP name.
35110as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
35111
35112# Sed expression to map a string onto a valid variable name.
35113as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
35114
35115
35116# IFS
35117# We need space, tab and new line, in precisely that order.
35118as_nl='
35119'
35120IFS=" $as_nl"
35121
35122# CDPATH.
35123$as_unset CDPATH
35124
35125exec 6>&1
35126
35127# Open the log real soon, to keep \$[0] and so on meaningful, and to
35128# report actual input values of CONFIG_FILES etc. instead of their
35129# values after options handling. Logging --version etc. is OK.
35130exec 5>>config.log
35131{
35132 echo
35133 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35134## Running $as_me. ##
35135_ASBOX
35136} >&5
35137cat >&5 <<_CSEOF
35138
35139This file was extended by wxWindows $as_me 2.5.0, which was
35140generated by GNU Autoconf 2.57. Invocation command line was
35141
35142 CONFIG_FILES = $CONFIG_FILES
35143 CONFIG_HEADERS = $CONFIG_HEADERS
35144 CONFIG_LINKS = $CONFIG_LINKS
35145 CONFIG_COMMANDS = $CONFIG_COMMANDS
35146 $ $0 $@
35147
35148_CSEOF
35149echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
35150echo >&5
35151_ACEOF
35152
35153# Files that config.status was made for.
35154if test -n "$ac_config_files"; then
35155 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
35156fi
35157
35158if test -n "$ac_config_headers"; then
35159 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
35160fi
35161
35162if test -n "$ac_config_links"; then
35163 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
35164fi
35165
35166if test -n "$ac_config_commands"; then
35167 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
35168fi
35169
35170cat >>$CONFIG_STATUS <<\_ACEOF
35171
35172ac_cs_usage="\
35173\`$as_me' instantiates files from templates according to the
35174current configuration.
35175
35176Usage: $0 [OPTIONS] [FILE]...
35177
35178 -h, --help print this help, then exit
35179 -V, --version print version number, then exit
35180 -q, --quiet do not print progress messages
35181 -d, --debug don't remove temporary files
35182 --recheck update $as_me by reconfiguring in the same conditions
35183 --file=FILE[:TEMPLATE]
35184 instantiate the configuration file FILE
35185 --header=FILE[:TEMPLATE]
35186 instantiate the configuration header FILE
35187
35188Configuration files:
35189$config_files
35190
35191Configuration headers:
35192$config_headers
35193
35194Configuration commands:
35195$config_commands
35196
35197Report bugs to <bug-autoconf@gnu.org>."
35198_ACEOF
35199
35200cat >>$CONFIG_STATUS <<_ACEOF
35201ac_cs_version="\\
35202wxWindows config.status 2.5.0
35203configured by $0, generated by GNU Autoconf 2.57,
35204 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
35205
35206Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
35207Free Software Foundation, Inc.
35208This config.status script is free software; the Free Software Foundation
35209gives unlimited permission to copy, distribute and modify it."
35210srcdir=$srcdir
35211INSTALL="$INSTALL"
35212_ACEOF
35213
35214cat >>$CONFIG_STATUS <<\_ACEOF
35215# If no file are specified by the user, then we need to provide default
35216# value. By we need to know if files were specified by the user.
35217ac_need_defaults=:
35218while test $# != 0
35219do
35220 case $1 in
35221 --*=*)
35222 ac_option=`expr "x$1" : 'x\([^=]*\)='`
35223 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
35224 ac_shift=:
35225 ;;
35226 -*)
35227 ac_option=$1
35228 ac_optarg=$2
35229 ac_shift=shift
35230 ;;
35231 *) # This is not an option, so the user has probably given explicit
35232 # arguments.
35233 ac_option=$1
35234 ac_need_defaults=false;;
35235 esac
35236
35237 case $ac_option in
35238 # Handling of the options.
35239_ACEOF
35240cat >>$CONFIG_STATUS <<\_ACEOF
35241 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35242 ac_cs_recheck=: ;;
35243 --version | --vers* | -V )
35244 echo "$ac_cs_version"; exit 0 ;;
35245 --he | --h)
35246 # Conflict between --help and --header
35247 { { echo "$as_me:$LINENO: error: ambiguous option: $1
35248Try \`$0 --help' for more information." >&5
35249echo "$as_me: error: ambiguous option: $1
35250Try \`$0 --help' for more information." >&2;}
35251 { (exit 1); exit 1; }; };;
35252 --help | --hel | -h )
35253 echo "$ac_cs_usage"; exit 0 ;;
35254 --debug | --d* | -d )
35255 debug=: ;;
35256 --file | --fil | --fi | --f )
35257 $ac_shift
35258 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
35259 ac_need_defaults=false;;
35260 --header | --heade | --head | --hea )
35261 $ac_shift
35262 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
35263 ac_need_defaults=false;;
35264 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35265 | -silent | --silent | --silen | --sile | --sil | --si | --s)
35266 ac_cs_silent=: ;;
35267
35268 # This is an error.
35269 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
35270Try \`$0 --help' for more information." >&5
35271echo "$as_me: error: unrecognized option: $1
35272Try \`$0 --help' for more information." >&2;}
35273 { (exit 1); exit 1; }; } ;;
35274
35275 *) ac_config_targets="$ac_config_targets $1" ;;
35276
35277 esac
35278 shift
35279done
35280
35281ac_configure_extra_args=
35282
35283if $ac_cs_silent; then
35284 exec 6>/dev/null
35285 ac_configure_extra_args="$ac_configure_extra_args --silent"
35286fi
35287
35288_ACEOF
35289cat >>$CONFIG_STATUS <<_ACEOF
35290if \$ac_cs_recheck; then
35291 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
35292 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
35293fi
35294
35295_ACEOF
35296
35297cat >>$CONFIG_STATUS <<_ACEOF
35298#
35299# INIT-COMMANDS section.
35300#
35301
35302
35303 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
35304 LN_S="${LN_S}"
35305
35306
35307
35308_ACEOF
35309
35310
35311
35312cat >>$CONFIG_STATUS <<\_ACEOF
35313for ac_config_target in $ac_config_targets
35314do
35315 case "$ac_config_target" in
35316 # Handling of arguments.
35317 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
35318 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
35319 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
35320 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
35321 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
35322 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
35323 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35324echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35325 { (exit 1); exit 1; }; };;
35326 esac
35327done
35328
35329# If the user did not use the arguments to specify the items to instantiate,
35330# then the envvar interface is used. Set only those that are not.
35331# We use the long form for the default assignment because of an extremely
35332# bizarre bug on SunOS 4.1.3.
35333if $ac_need_defaults; then
35334 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
35335 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
35336 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
35337fi
35338
35339# Have a temporary directory for convenience. Make it in the build tree
35340# simply because there is no reason to put it here, and in addition,
35341# creating and moving files from /tmp can sometimes cause problems.
35342# Create a temporary directory, and hook for its removal unless debugging.
35343$debug ||
35344{
35345 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
35346 trap '{ (exit 1); exit 1; }' 1 2 13 15
35347}
35348
35349# Create a (secure) tmp directory for tmp files.
35350
35351{
35352 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
35353 test -n "$tmp" && test -d "$tmp"
35354} ||
35355{
35356 tmp=./confstat$$-$RANDOM
35357 (umask 077 && mkdir $tmp)
35358} ||
35359{
35360 echo "$me: cannot create a temporary directory in ." >&2
35361 { (exit 1); exit 1; }
35362}
35363
35364_ACEOF
35365
35366cat >>$CONFIG_STATUS <<_ACEOF
35367
35368#
35369# CONFIG_FILES section.
35370#
35371
35372# No need to generate the scripts if there are no CONFIG_FILES.
35373# This happens for instance when ./config.status config.h
35374if test -n "\$CONFIG_FILES"; then
35375 # Protect against being on the right side of a sed subst in config.status.
35376 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
35377 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
35378s,@SHELL@,$SHELL,;t t
35379s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
35380s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
35381s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
35382s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
35383s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
35384s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
35385s,@exec_prefix@,$exec_prefix,;t t
35386s,@prefix@,$prefix,;t t
35387s,@program_transform_name@,$program_transform_name,;t t
35388s,@bindir@,$bindir,;t t
35389s,@sbindir@,$sbindir,;t t
35390s,@libexecdir@,$libexecdir,;t t
35391s,@datadir@,$datadir,;t t
35392s,@sysconfdir@,$sysconfdir,;t t
35393s,@sharedstatedir@,$sharedstatedir,;t t
35394s,@localstatedir@,$localstatedir,;t t
35395s,@libdir@,$libdir,;t t
35396s,@includedir@,$includedir,;t t
35397s,@oldincludedir@,$oldincludedir,;t t
35398s,@infodir@,$infodir,;t t
35399s,@mandir@,$mandir,;t t
35400s,@build_alias@,$build_alias,;t t
35401s,@host_alias@,$host_alias,;t t
35402s,@target_alias@,$target_alias,;t t
35403s,@DEFS@,$DEFS,;t t
35404s,@ECHO_C@,$ECHO_C,;t t
35405s,@ECHO_N@,$ECHO_N,;t t
35406s,@ECHO_T@,$ECHO_T,;t t
35407s,@LIBS@,$LIBS,;t t
35408s,@build@,$build,;t t
35409s,@build_cpu@,$build_cpu,;t t
35410s,@build_vendor@,$build_vendor,;t t
35411s,@build_os@,$build_os,;t t
35412s,@host@,$host,;t t
35413s,@host_cpu@,$host_cpu,;t t
35414s,@host_vendor@,$host_vendor,;t t
35415s,@host_os@,$host_os,;t t
35416s,@target@,$target,;t t
35417s,@target_cpu@,$target_cpu,;t t
35418s,@target_vendor@,$target_vendor,;t t
35419s,@target_os@,$target_os,;t t
35420s,@CC@,$CC,;t t
35421s,@CFLAGS@,$CFLAGS,;t t
35422s,@LDFLAGS@,$LDFLAGS,;t t
35423s,@CPPFLAGS@,$CPPFLAGS,;t t
35424s,@ac_ct_CC@,$ac_ct_CC,;t t
35425s,@EXEEXT@,$EXEEXT,;t t
35426s,@OBJEXT@,$OBJEXT,;t t
35427s,@CPP@,$CPP,;t t
35428s,@EGREP@,$EGREP,;t t
35429s,@CXX@,$CXX,;t t
35430s,@CXXFLAGS@,$CXXFLAGS,;t t
35431s,@ac_ct_CXX@,$ac_ct_CXX,;t t
35432s,@RANLIB@,$RANLIB,;t t
35433s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
35434s,@AR@,$AR,;t t
35435s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
35436s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
35437s,@INSTALL_DATA@,$INSTALL_DATA,;t t
35438s,@STRIP@,$STRIP,;t t
35439s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
35440s,@YACC@,$YACC,;t t
35441s,@LEX@,$LEX,;t t
35442s,@LEXLIB@,$LEXLIB,;t t
35443s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
35444s,@LN_S@,$LN_S,;t t
35445s,@CXXCPP@,$CXXCPP,;t t
35446s,@PKG_CONFIG@,$PKG_CONFIG,;t t
35447s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
35448s,@GTK_LIBS@,$GTK_LIBS,;t t
35449s,@GTK_CONFIG@,$GTK_CONFIG,;t t
35450s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
35451s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
35452s,@X_CFLAGS@,$X_CFLAGS,;t t
35453s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
35454s,@X_LIBS@,$X_LIBS,;t t
35455s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
35456s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
35457s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
35458s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
35459s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
35460s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
35461s,@RESCOMP@,$RESCOMP,;t t
35462s,@DEREZ@,$DEREZ,;t t
35463s,@SETFILE@,$SETFILE,;t t
35464s,@LIBICONV@,$LIBICONV,;t t
35465s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
35466s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
35467s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
35468s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
35469s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
35470s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
35471s,@WXUNIV@,$WXUNIV,;t t
35472s,@MONOLITHIC@,$MONOLITHIC,;t t
35473s,@EXTRALIBS@,$EXTRALIBS,;t t
35474s,@UNICODE@,$UNICODE,;t t
35475s,@BUILD@,$BUILD,;t t
35476s,@SHARED@,$SHARED,;t t
35477s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
35478s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
35479s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
35480s,@SET_MAKE@,$SET_MAKE,;t t
35481s,@MAKE_SET@,$MAKE_SET,;t t
35482s,@INSTALL_DIR@,$INSTALL_DIR,;t t
35483s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
35484s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
35485s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
35486s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
35487s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
35488s,@SO_SUFFIX@,$SO_SUFFIX,;t t
35489s,@DLLPREFIX@,$DLLPREFIX,;t t
35490s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
35491s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
35492s,@PIC_FLAG@,$PIC_FLAG,;t t
35493s,@USE_SOVERSION@,$USE_SOVERSION,;t t
35494s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
35495s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
35496s,@USE_MACVERSION@,$USE_MACVERSION,;t t
35497s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
35498s,@SONAME_FLAG@,$SONAME_FLAG,;t t
35499s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
35500s,@COND_SHARED_1_MONOLITHIC_0@,$COND_SHARED_1_MONOLITHIC_0,;t t
35501s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
35502s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
35503s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
35504s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
35505s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
35506s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
35507s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
35508s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
35509s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
35510s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
35511s,@COND_USE_SOVERSION_1_PLATFORM_MACOSX_0@,$COND_USE_SOVERSION_1_PLATFORM_MACOSX_0,;t t
35512s,@COND_USE_SOVERSION_1_PLATFORM_MACOSX_1@,$COND_USE_SOVERSION_1_PLATFORM_MACOSX_1,;t t
35513s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
35514s,@COND_SHARED_0_USE_GUI_1_MONOLITHIC_0@,$COND_SHARED_0_USE_GUI_1_MONOLITHIC_0,;t t
35515s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
35516s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
35517s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
35518s,@COND_SHARED_1_USE_GUI_1_MONOLITHIC_0@,$COND_SHARED_1_USE_GUI_1_MONOLITHIC_0,;t t
35519s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
35520s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
35521s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
35522s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
35523s,@COND_TOOLKIT_OS2@,$COND_TOOLKIT_OS2,;t t
35524s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
35525s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
35526s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
35527s,@COND_SHARED_1_MONOLITHIC_1@,$COND_SHARED_1_MONOLITHIC_1,;t t
35528s,@COND_SHARED_0_MONOLITHIC_1@,$COND_SHARED_0_MONOLITHIC_1,;t t
35529s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
35530s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
35531s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
35532s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
35533s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
35534s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
35535s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
35536s,@COND_SHARED_0_MONOLITHIC_0@,$COND_SHARED_0_MONOLITHIC_0,;t t
35537s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
35538s,@COND_DEPS_TYPE_GCC@,$COND_DEPS_TYPE_GCC,;t t
35539s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
35540s,@COND_SHARED_1@,$COND_SHARED_1,;t t
35541s,@COND_SHARED_0@,$COND_SHARED_0,;t t
35542s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
35543s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
35544s,@LEX_STEM@,$LEX_STEM,;t t
35545s,@PATH_IFS@,$PATH_IFS,;t t
35546s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
35547s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
35548s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
35549s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
35550s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
35551s,@WX_LIBRARY_BASENAME@,$WX_LIBRARY_BASENAME,;t t
35552s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
35553s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
35554s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
35555s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
35556s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
35557s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
35558s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
35559s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
35560s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
35561s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
35562s,@WX_ALL@,$WX_ALL,;t t
35563s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
35564s,@SHARED_LD@,$SHARED_LD,;t t
35565s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
35566s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
35567s,@SONAME_FLAGS@,$SONAME_FLAGS,;t t
35568s,@SONAME_FLAGS_GL@,$SONAME_FLAGS_GL,;t t
35569s,@WX_TARGET_LIBRARY_SONAME@,$WX_TARGET_LIBRARY_SONAME,;t t
35570s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
35571s,@STATIC_FLAG@,$STATIC_FLAG,;t t
35572s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
35573s,@USE_GUI@,$USE_GUI,;t t
35574s,@AFMINSTALL@,$AFMINSTALL,;t t
35575s,@WIN32INSTALL@,$WIN32INSTALL,;t t
35576s,@TOOLKIT@,$TOOLKIT,;t t
35577s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
35578s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
35579s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
35580s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
35581s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
35582s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
35583s,@cross_compiling@,$cross_compiling,;t t
35584s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
35585s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
35586s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
35587s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
35588s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
35589s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
35590s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
35591s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
35592s,@ALL_HEADERS@,$ALL_HEADERS,;t t
35593s,@ALL_SOURCES@,$ALL_SOURCES,;t t
35594s,@GUIDIST@,$GUIDIST,;t t
35595s,@PORT_FILES@,$PORT_FILES,;t t
35596s,@DISTDIR@,$DISTDIR,;t t
35597s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
35598s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
35599s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
35600s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
35601s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
35602s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
35603s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
35604s,@RESFLAGS@,$RESFLAGS,;t t
35605s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
35606s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
35607s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
35608s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
35609s,@LIBWXMACRES@,$LIBWXMACRES,;t t
35610s,@MACRESCOMP@,$MACRESCOMP,;t t
35611s,@MACSETFILE@,$MACSETFILE,;t t
35612s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
35613s,@GCC@,$GCC,;t t
35614s,@DLLTOOL@,$DLLTOOL,;t t
35615s,@AS@,$AS,;t t
35616s,@NM@,$NM,;t t
35617s,@LD@,$LD,;t t
35618s,@MAKEINFO@,$MAKEINFO,;t t
35619s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
35620s,@ESD_LINK@,$ESD_LINK,;t t
35621s,@LIBOBJS@,$LIBOBJS,;t t
35622s,@LTLIBOBJS@,$LTLIBOBJS,;t t
35623CEOF
35624
35625_ACEOF
35626
35627 cat >>$CONFIG_STATUS <<\_ACEOF
35628 # Split the substitutions into bite-sized pieces for seds with
35629 # small command number limits, like on Digital OSF/1 and HP-UX.
35630 ac_max_sed_lines=48
35631 ac_sed_frag=1 # Number of current file.
35632 ac_beg=1 # First line for current file.
35633 ac_end=$ac_max_sed_lines # Line after last line for current file.
35634 ac_more_lines=:
35635 ac_sed_cmds=
35636 while $ac_more_lines; do
35637 if test $ac_beg -gt 1; then
35638 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35639 else
35640 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35641 fi
35642 if test ! -s $tmp/subs.frag; then
35643 ac_more_lines=false
35644 else
35645 # The purpose of the label and of the branching condition is to
35646 # speed up the sed processing (if there are no `@' at all, there
35647 # is no need to browse any of the substitutions).
35648 # These are the two extra sed commands mentioned above.
35649 (echo ':t
35650 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
35651 if test -z "$ac_sed_cmds"; then
35652 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
35653 else
35654 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
35655 fi
35656 ac_sed_frag=`expr $ac_sed_frag + 1`
35657 ac_beg=$ac_end
35658 ac_end=`expr $ac_end + $ac_max_sed_lines`
35659 fi
35660 done
35661 if test -z "$ac_sed_cmds"; then
35662 ac_sed_cmds=cat
35663 fi
35664fi # test -n "$CONFIG_FILES"
35665
35666_ACEOF
35667cat >>$CONFIG_STATUS <<\_ACEOF
35668for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
35669 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35670 case $ac_file in
35671 - | *:- | *:-:* ) # input from stdin
35672 cat >$tmp/stdin
35673 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35674 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35675 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35676 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35677 * ) ac_file_in=$ac_file.in ;;
35678 esac
35679
35680 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
35681 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35682$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35683 X"$ac_file" : 'X\(//\)[^/]' \| \
35684 X"$ac_file" : 'X\(//\)$' \| \
35685 X"$ac_file" : 'X\(/\)' \| \
35686 . : '\(.\)' 2>/dev/null ||
35687echo X"$ac_file" |
35688 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35689 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35690 /^X\(\/\/\)$/{ s//\1/; q; }
35691 /^X\(\/\).*/{ s//\1/; q; }
35692 s/.*/./; q'`
35693 { if $as_mkdir_p; then
35694 mkdir -p "$ac_dir"
35695 else
35696 as_dir="$ac_dir"
35697 as_dirs=
35698 while test ! -d "$as_dir"; do
35699 as_dirs="$as_dir $as_dirs"
35700 as_dir=`(dirname "$as_dir") 2>/dev/null ||
35701$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35702 X"$as_dir" : 'X\(//\)[^/]' \| \
35703 X"$as_dir" : 'X\(//\)$' \| \
35704 X"$as_dir" : 'X\(/\)' \| \
35705 . : '\(.\)' 2>/dev/null ||
35706echo X"$as_dir" |
35707 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35708 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35709 /^X\(\/\/\)$/{ s//\1/; q; }
35710 /^X\(\/\).*/{ s//\1/; q; }
35711 s/.*/./; q'`
35712 done
35713 test ! -n "$as_dirs" || mkdir $as_dirs
35714 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35715echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35716 { (exit 1); exit 1; }; }; }
35717
35718 ac_builddir=.
35719
35720if test "$ac_dir" != .; then
35721 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35722 # A "../" for each directory in $ac_dir_suffix.
35723 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35724else
35725 ac_dir_suffix= ac_top_builddir=
35726fi
35727
35728case $srcdir in
35729 .) # No --srcdir option. We are building in place.
35730 ac_srcdir=.
35731 if test -z "$ac_top_builddir"; then
35732 ac_top_srcdir=.
35733 else
35734 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
35735 fi ;;
35736 [\\/]* | ?:[\\/]* ) # Absolute path.
35737 ac_srcdir=$srcdir$ac_dir_suffix;
35738 ac_top_srcdir=$srcdir ;;
35739 *) # Relative path.
35740 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
35741 ac_top_srcdir=$ac_top_builddir$srcdir ;;
35742esac
35743# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
35744# absolute.
35745ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
35746ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
35747ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
35748ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
35749
35750
35751 case $INSTALL in
35752 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
35753 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
35754 esac
35755
35756 if test x"$ac_file" != x-; then
35757 { echo "$as_me:$LINENO: creating $ac_file" >&5
35758echo "$as_me: creating $ac_file" >&6;}
35759 rm -f "$ac_file"
35760 fi
35761 # Let's still pretend it is `configure' which instantiates (i.e., don't
35762 # use $as_me), people would be surprised to read:
35763 # /* config.h. Generated by config.status. */
35764 if test x"$ac_file" = x-; then
35765 configure_input=
35766 else
35767 configure_input="$ac_file. "
35768 fi
35769 configure_input=$configure_input"Generated from `echo $ac_file_in |
35770 sed 's,.*/,,'` by configure."
35771
35772 # First look for the input files in the build tree, otherwise in the
35773 # src tree.
35774 ac_file_inputs=`IFS=:
35775 for f in $ac_file_in; do
35776 case $f in
35777 -) echo $tmp/stdin ;;
35778 [\\/$]*)
35779 # Absolute (can't be DOS-style, as IFS=:)
35780 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35781echo "$as_me: error: cannot find input file: $f" >&2;}
35782 { (exit 1); exit 1; }; }
35783 echo $f;;
35784 *) # Relative
35785 if test -f "$f"; then
35786 # Build tree
35787 echo $f
35788 elif test -f "$srcdir/$f"; then
35789 # Source tree
35790 echo $srcdir/$f
35791 else
35792 # /dev/null tree
35793 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35794echo "$as_me: error: cannot find input file: $f" >&2;}
35795 { (exit 1); exit 1; }; }
35796 fi;;
35797 esac
35798 done` || { (exit 1); exit 1; }
35799_ACEOF
35800cat >>$CONFIG_STATUS <<_ACEOF
35801 sed "$ac_vpsub
35802$extrasub
35803_ACEOF
35804cat >>$CONFIG_STATUS <<\_ACEOF
35805:t
35806/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
35807s,@configure_input@,$configure_input,;t t
35808s,@srcdir@,$ac_srcdir,;t t
35809s,@abs_srcdir@,$ac_abs_srcdir,;t t
35810s,@top_srcdir@,$ac_top_srcdir,;t t
35811s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
35812s,@builddir@,$ac_builddir,;t t
35813s,@abs_builddir@,$ac_abs_builddir,;t t
35814s,@top_builddir@,$ac_top_builddir,;t t
35815s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
35816s,@INSTALL@,$ac_INSTALL,;t t
35817" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
35818 rm -f $tmp/stdin
35819 if test x"$ac_file" != x-; then
35820 mv $tmp/out $ac_file
35821 else
35822 cat $tmp/out
35823 rm -f $tmp/out
35824 fi
35825
35826done
35827_ACEOF
35828cat >>$CONFIG_STATUS <<\_ACEOF
35829
35830#
35831# CONFIG_HEADER section.
35832#
35833
35834# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
35835# NAME is the cpp macro being defined and VALUE is the value it is being given.
35836#
35837# ac_d sets the value in "#define NAME VALUE" lines.
35838ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
35839ac_dB='[ ].*$,\1#\2'
35840ac_dC=' '
35841ac_dD=',;t'
35842# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
35843ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
35844ac_uB='$,\1#\2define\3'
35845ac_uC=' '
35846ac_uD=',;t'
35847
35848for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
35849 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35850 case $ac_file in
35851 - | *:- | *:-:* ) # input from stdin
35852 cat >$tmp/stdin
35853 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35854 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35855 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35856 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35857 * ) ac_file_in=$ac_file.in ;;
35858 esac
35859
35860 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
35861echo "$as_me: creating $ac_file" >&6;}
35862
35863 # First look for the input files in the build tree, otherwise in the
35864 # src tree.
35865 ac_file_inputs=`IFS=:
35866 for f in $ac_file_in; do
35867 case $f in
35868 -) echo $tmp/stdin ;;
35869 [\\/$]*)
35870 # Absolute (can't be DOS-style, as IFS=:)
35871 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35872echo "$as_me: error: cannot find input file: $f" >&2;}
35873 { (exit 1); exit 1; }; }
35874 echo $f;;
35875 *) # Relative
35876 if test -f "$f"; then
35877 # Build tree
35878 echo $f
35879 elif test -f "$srcdir/$f"; then
35880 # Source tree
35881 echo $srcdir/$f
35882 else
35883 # /dev/null tree
35884 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35885echo "$as_me: error: cannot find input file: $f" >&2;}
35886 { (exit 1); exit 1; }; }
35887 fi;;
35888 esac
35889 done` || { (exit 1); exit 1; }
35890 # Remove the trailing spaces.
35891 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
35892
35893_ACEOF
35894
35895# Transform confdefs.h into two sed scripts, `conftest.defines' and
35896# `conftest.undefs', that substitutes the proper values into
35897# config.h.in to produce config.h. The first handles `#define'
35898# templates, and the second `#undef' templates.
35899# And first: Protect against being on the right side of a sed subst in
35900# config.status. Protect against being in an unquoted here document
35901# in config.status.
35902rm -f conftest.defines conftest.undefs
35903# Using a here document instead of a string reduces the quoting nightmare.
35904# Putting comments in sed scripts is not portable.
35905#
35906# `end' is used to avoid that the second main sed command (meant for
35907# 0-ary CPP macros) applies to n-ary macro definitions.
35908# See the Autoconf documentation for `clear'.
35909cat >confdef2sed.sed <<\_ACEOF
35910s/[\\&,]/\\&/g
35911s,[\\$`],\\&,g
35912t clear
35913: clear
35914s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
35915t end
35916s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
35917: end
35918_ACEOF
35919# If some macros were called several times there might be several times
35920# the same #defines, which is useless. Nevertheless, we may not want to
35921# sort them, since we want the *last* AC-DEFINE to be honored.
35922uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
35923sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
35924rm -f confdef2sed.sed
35925
35926# This sed command replaces #undef with comments. This is necessary, for
35927# example, in the case of _POSIX_SOURCE, which is predefined and required
35928# on some systems where configure will not decide to define it.
35929cat >>conftest.undefs <<\_ACEOF
35930s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
35931_ACEOF
35932
35933# Break up conftest.defines because some shells have a limit on the size
35934# of here documents, and old seds have small limits too (100 cmds).
35935echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
35936echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
35937echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
35938echo ' :' >>$CONFIG_STATUS
35939rm -f conftest.tail
35940while grep . conftest.defines >/dev/null
35941do
35942 # Write a limited-size here document to $tmp/defines.sed.
35943 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
35944 # Speed up: don't consider the non `#define' lines.
35945 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
35946 # Work around the forget-to-reset-the-flag bug.
35947 echo 't clr' >>$CONFIG_STATUS
35948 echo ': clr' >>$CONFIG_STATUS
35949 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
35950 echo 'CEOF
35951 sed -f $tmp/defines.sed $tmp/in >$tmp/out
35952 rm -f $tmp/in
35953 mv $tmp/out $tmp/in
35954' >>$CONFIG_STATUS
35955 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
35956 rm -f conftest.defines
35957 mv conftest.tail conftest.defines
35958done
35959rm -f conftest.defines
35960echo ' fi # grep' >>$CONFIG_STATUS
35961echo >>$CONFIG_STATUS
35962
35963# Break up conftest.undefs because some shells have a limit on the size
35964# of here documents, and old seds have small limits too (100 cmds).
35965echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
35966rm -f conftest.tail
35967while grep . conftest.undefs >/dev/null
35968do
35969 # Write a limited-size here document to $tmp/undefs.sed.
35970 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
35971 # Speed up: don't consider the non `#undef'
35972 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
35973 # Work around the forget-to-reset-the-flag bug.
35974 echo 't clr' >>$CONFIG_STATUS
35975 echo ': clr' >>$CONFIG_STATUS
35976 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
35977 echo 'CEOF
35978 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
35979 rm -f $tmp/in
35980 mv $tmp/out $tmp/in
35981' >>$CONFIG_STATUS
35982 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
35983 rm -f conftest.undefs
35984 mv conftest.tail conftest.undefs
35985done
35986rm -f conftest.undefs
35987
35988cat >>$CONFIG_STATUS <<\_ACEOF
35989 # Let's still pretend it is `configure' which instantiates (i.e., don't
35990 # use $as_me), people would be surprised to read:
35991 # /* config.h. Generated by config.status. */
35992 if test x"$ac_file" = x-; then
35993 echo "/* Generated by configure. */" >$tmp/config.h
35994 else
35995 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
35996 fi
35997 cat $tmp/in >>$tmp/config.h
35998 rm -f $tmp/in
35999 if test x"$ac_file" != x-; then
36000 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
36001 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
36002echo "$as_me: $ac_file is unchanged" >&6;}
36003 else
36004 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
36005$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36006 X"$ac_file" : 'X\(//\)[^/]' \| \
36007 X"$ac_file" : 'X\(//\)$' \| \
36008 X"$ac_file" : 'X\(/\)' \| \
36009 . : '\(.\)' 2>/dev/null ||
36010echo X"$ac_file" |
36011 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36012 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36013 /^X\(\/\/\)$/{ s//\1/; q; }
36014 /^X\(\/\).*/{ s//\1/; q; }
36015 s/.*/./; q'`
36016 { if $as_mkdir_p; then
36017 mkdir -p "$ac_dir"
36018 else
36019 as_dir="$ac_dir"
36020 as_dirs=
36021 while test ! -d "$as_dir"; do
36022 as_dirs="$as_dir $as_dirs"
36023 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36024$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36025 X"$as_dir" : 'X\(//\)[^/]' \| \
36026 X"$as_dir" : 'X\(//\)$' \| \
36027 X"$as_dir" : 'X\(/\)' \| \
36028 . : '\(.\)' 2>/dev/null ||
36029echo X"$as_dir" |
36030 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36031 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36032 /^X\(\/\/\)$/{ s//\1/; q; }
36033 /^X\(\/\).*/{ s//\1/; q; }
36034 s/.*/./; q'`
36035 done
36036 test ! -n "$as_dirs" || mkdir $as_dirs
36037 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36038echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36039 { (exit 1); exit 1; }; }; }
36040
36041 rm -f $ac_file
36042 mv $tmp/config.h $ac_file
36043 fi
36044 else
36045 cat $tmp/config.h
36046 rm -f $tmp/config.h
36047 fi
36048done
36049_ACEOF
36050cat >>$CONFIG_STATUS <<\_ACEOF
36051
36052#
36053# CONFIG_COMMANDS section.
36054#
36055for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
36056 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
36057 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
36058 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
36059$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36060 X"$ac_dest" : 'X\(//\)[^/]' \| \
36061 X"$ac_dest" : 'X\(//\)$' \| \
36062 X"$ac_dest" : 'X\(/\)' \| \
36063 . : '\(.\)' 2>/dev/null ||
36064echo X"$ac_dest" |
36065 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36066 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36067 /^X\(\/\/\)$/{ s//\1/; q; }
36068 /^X\(\/\).*/{ s//\1/; q; }
36069 s/.*/./; q'`
36070 ac_builddir=.
36071
36072if test "$ac_dir" != .; then
36073 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36074 # A "../" for each directory in $ac_dir_suffix.
36075 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36076else
36077 ac_dir_suffix= ac_top_builddir=
36078fi
36079
36080case $srcdir in
36081 .) # No --srcdir option. We are building in place.
36082 ac_srcdir=.
36083 if test -z "$ac_top_builddir"; then
36084 ac_top_srcdir=.
36085 else
36086 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36087 fi ;;
36088 [\\/]* | ?:[\\/]* ) # Absolute path.
36089 ac_srcdir=$srcdir$ac_dir_suffix;
36090 ac_top_srcdir=$srcdir ;;
36091 *) # Relative path.
36092 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36093 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36094esac
36095# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36096# absolute.
36097ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36098ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36099ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36100ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36101
36102
36103 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
36104echo "$as_me: executing $ac_dest commands" >&6;}
36105 case $ac_dest in
36106 default )
36107 if test ! -h wx-config; then
36108 chmod +x wx-config
36109 mv wx-config wx${TOOLCHAIN_NAME}-config
36110 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
36111 fi
36112
36113 if test ! -d lib; then
36114 mkdir lib
36115 fi
36116 if test ! -d lib/wx; then
36117 mkdir lib/wx
36118 fi
36119 if test ! -d lib/wx/include; then
36120 mkdir lib/wx/include
36121 fi
36122 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
36123 mkdir lib/wx/include/${TOOLCHAIN_NAME}
36124 fi
36125 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
36126 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
36127 fi
36128 if test -f setup.h; then
36129 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
36130 fi
36131 ;;
36132 esac
36133done
36134_ACEOF
36135
36136cat >>$CONFIG_STATUS <<\_ACEOF
36137
36138{ (exit 0); exit 0; }
36139_ACEOF
36140chmod +x $CONFIG_STATUS
36141ac_clean_files=$ac_clean_files_save
36142
36143
36144# configure is writing to config.log, and then calls config.status.
36145# config.status does its own redirection, appending to config.log.
36146# Unfortunately, on DOS this fails, as config.log is still kept open
36147# by configure, so config.status won't be able to write to it; its
36148# output is simply discarded. So we exec the FD to /dev/null,
36149# effectively closing config.log, so it can be properly (re)opened and
36150# appended to by config.status. When coming back to configure, we
36151# need to make the FD available again.
36152if test "$no_create" != yes; then
36153 ac_cs_success=:
36154 ac_config_status_args=
36155 test "$silent" = yes &&
36156 ac_config_status_args="$ac_config_status_args --quiet"
36157 exec 5>/dev/null
36158 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
36159 exec 5>>config.log
36160 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36161 # would make configure fail if this is the last instruction.
36162 $ac_cs_success || { (exit 1); exit 1; }
36163fi
36164
36165
36166echo
36167echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
36168echo ""
36169echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
36170echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
36171
36172echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
36173echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
36174echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
36175
36176echo " What level of wxWindows compatibility should be enabled?"
36177echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
36178echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
36179echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
36180
36181echo " Which libraries should wxWindows use?"
36182echo " jpeg ${wxUSE_LIBJPEG-none}"
36183echo " png ${wxUSE_LIBPNG-none}"
36184echo " regex ${wxUSE_REGEX}"
36185echo " tiff ${wxUSE_LIBTIFF-none}"
36186echo " zlib ${wxUSE_ZLIB}"
36187echo " odbc ${wxUSE_ODBC}"
36188
36189echo ""
36190