]> git.saurik.com Git - wxWidgets.git/blame_incremental - configure
regenerated
[wxWidgets.git] / configure
... / ...
CommitLineData
1#! /bin/sh
2# From configure.in Id: configure.in.
3# Guess values for system-dependent variables and create Makefiles.
4# Generated by GNU Autoconf 2.57 for wxWindows 2.5.0.
5#
6# Report bugs to <wx-dev@lists.wxwindows.org>.
7#
8# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
9# Free Software Foundation, Inc.
10# This configure script is free software; the Free Software Foundation
11# gives unlimited permission to copy, distribute and modify it.
12## --------------------- ##
13## M4sh Initialization. ##
14## --------------------- ##
15
16# Be Bourne compatible
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 set -o posix
25fi
26
27# Support unset when possible.
28if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
29 as_unset=unset
30else
31 as_unset=false
32fi
33
34
35# Work around bugs in pre-3.0 UWIN ksh.
36$as_unset ENV MAIL MAILPATH
37PS1='$ '
38PS2='> '
39PS4='+ '
40
41# NLS nuisances.
42for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46do
47 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52done
53
54# Required to use basename.
55if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57else
58 as_expr=false
59fi
60
61if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63else
64 as_basename=false
65fi
66
67
68# Name of the executable.
69as_me=`$as_basename "$0" ||
70$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81# PATH needs CR, and LINENO needs CR and PATH.
82# Avoid depending upon Character Ranges.
83as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86as_cr_digits='0123456789'
87as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89# The user is always right.
90if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113for as_dir in $PATH
114do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155done
156;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187}
188
189
190case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195esac
196
197if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199else
200 as_expr=false
201fi
202
203rm -f conf$$ conf$$.exe conf$$.file
204echo >conf$$.file
205if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216else
217 as_ln_s='cp -p'
218fi
219rm -f conf$$ conf$$.exe conf$$.file
220
221if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223else
224 as_mkdir_p=false
225fi
226
227as_executable_p="test -f"
228
229# Sed expression to map a string onto a valid CPP name.
230as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231
232# Sed expression to map a string onto a valid variable name.
233as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234
235
236# IFS
237# We need space, tab and new line, in precisely that order.
238as_nl='
239'
240IFS=" $as_nl"
241
242# CDPATH.
243$as_unset CDPATH
244
245
246# Name of the host.
247# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248# so uname gets run too.
249ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
251exec 6>&1
252
253#
254# Initializations.
255#
256ac_default_prefix=/usr/local
257ac_config_libobj_dir=.
258cross_compiling=no
259subdirs=
260MFLAGS=
261MAKEFLAGS=
262SHELL=${CONFIG_SHELL-/bin/sh}
263
264# Maximum number of lines to put in a shell here document.
265# This variable seems obsolete. It should probably be removed, and
266# only ac_max_sed_lines should be used.
267: ${ac_max_here_lines=38}
268
269# Identity of this package.
270PACKAGE_NAME='wxWindows'
271PACKAGE_TARNAME='wxwindows'
272PACKAGE_VERSION='2.5.0'
273PACKAGE_STRING='wxWindows 2.5.0'
274PACKAGE_BUGREPORT='wx-dev@lists.wxwindows.org'
275
276ac_unique_file="wx-config.in"
277# Factoring default headers for most tests.
278ac_includes_default="\
279#include <stdio.h>
280#if HAVE_SYS_TYPES_H
281# include <sys/types.h>
282#endif
283#if HAVE_SYS_STAT_H
284# include <sys/stat.h>
285#endif
286#if STDC_HEADERS
287# include <stdlib.h>
288# include <stddef.h>
289#else
290# if HAVE_STDLIB_H
291# include <stdlib.h>
292# endif
293#endif
294#if HAVE_STRING_H
295# if !STDC_HEADERS && HAVE_MEMORY_H
296# include <memory.h>
297# endif
298# include <string.h>
299#endif
300#if HAVE_STRINGS_H
301# include <strings.h>
302#endif
303#if HAVE_INTTYPES_H
304# include <inttypes.h>
305#else
306# if HAVE_STDINT_H
307# include <stdint.h>
308# endif
309#endif
310#if HAVE_UNISTD_H
311# include <unistd.h>
312#endif"
313
314ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE YACC LEX LEXLIB LEX_OUTPUT_ROOT LN_S CXXCPP PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS AIX_CXX_LD RESCOMP DEREZ SETFILE LIBICONV wxUSE_ZLIB wxUSE_REGEX wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC EXTRALIBS UNICODE BUILD SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SET_MAKE MAKE_SET INSTALL_DIR LDFLAGS_GUI 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_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_GUI_0 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_COCOA_USE_GUI_1 COND_USE_SOVERSOLARIS_1 COND_MONOLITHIC_1 COND_UNICODE_1 COND_MONOLITHIC_0 COND_TOOLKIT_MGL COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_0 COND_WXUSE_ODBC_BUILTIN COND_USE_SOVERSION_0 COND_WXUNIV_1 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_1 COND_PLATFORM_UNIX_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_WXUSE_REGEX_BUILTIN COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_PLATFORM_UNIX_1_USE_GUI_0 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_TOOLKIT_X11 COND_OFFICIAL_BUILD_0 COND_TOOLKIT_OS2 COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_1 COND_WXUSE_ZLIB_BUILTIN COND_TOOLKIT_MOTIF COND_MONOLITHIC_0_SHARED_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1 COND_MONOLITHIC_0_SHARED_0 COND_USE_GUI_1 COND_USE_GUI_0 COND_USE_GUI_0_USE_GUI_1 COND_TOOLKIT_MSW COND_TOOLKIT_X11_USE_GUI_1 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0 COND_BUILD_DEBUG COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1 COND_WXUSE_LIBTIFF_BUILTIN COND_OFFICIAL_BUILD_1 COND_BUILD_RELEASE COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_0 COND_USE_SOVERLINUX_1 COND_USE_SOSYMLINKS_1 COND_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1 COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_TOOLKIT_GTK COND_PLATFORM_WIN32_1_USE_GUI_0 COND_PLATFORM_WIN32_1_USE_GUI_1 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_MAC COND_TOOLKIT_MSW_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 LEX_STEM PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WX_LARGEFILE_FLAGS ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA MACOSX_BUNDLE LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL AS NM LD MAKEINFO INSTALL_LIBRARY ESD_LINK LIBOBJS LTLIBOBJS'
315ac_subst_files=''
316
317# Initialize some variables set by options.
318ac_init_help=
319ac_init_version=false
320# The variables have the same names as the options, with
321# dashes changed to underlines.
322cache_file=/dev/null
323exec_prefix=NONE
324no_create=
325no_recursion=
326prefix=NONE
327program_prefix=NONE
328program_suffix=NONE
329program_transform_name=s,x,x,
330silent=
331site=
332srcdir=
333verbose=
334x_includes=NONE
335x_libraries=NONE
336
337# Installation directory options.
338# These are left unexpanded so users can "make install exec_prefix=/foo"
339# and all the variables that are supposed to be based on exec_prefix
340# by default will actually change.
341# Use braces instead of parens because sh, perl, etc. also accept them.
342bindir='${exec_prefix}/bin'
343sbindir='${exec_prefix}/sbin'
344libexecdir='${exec_prefix}/libexec'
345datadir='${prefix}/share'
346sysconfdir='${prefix}/etc'
347sharedstatedir='${prefix}/com'
348localstatedir='${prefix}/var'
349libdir='${exec_prefix}/lib'
350includedir='${prefix}/include'
351oldincludedir='/usr/include'
352infodir='${prefix}/info'
353mandir='${prefix}/man'
354
355ac_prev=
356for ac_option
357do
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
361 ac_prev=
362 continue
363 fi
364
365 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366
367 # Accept the important Cygnus configure options, so we can diagnose typos.
368
369 case $ac_option in
370
371 -bindir | --bindir | --bindi | --bind | --bin | --bi)
372 ac_prev=bindir ;;
373 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374 bindir=$ac_optarg ;;
375
376 -build | --build | --buil | --bui | --bu)
377 ac_prev=build_alias ;;
378 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
379 build_alias=$ac_optarg ;;
380
381 -cache-file | --cache-file | --cache-fil | --cache-fi \
382 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
383 ac_prev=cache_file ;;
384 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
385 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
386 cache_file=$ac_optarg ;;
387
388 --config-cache | -C)
389 cache_file=config.cache ;;
390
391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
392 ac_prev=datadir ;;
393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
394 | --da=*)
395 datadir=$ac_optarg ;;
396
397 -disable-* | --disable-*)
398 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
405
406 -enable-* | --enable-*)
407 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
413 case $ac_option in
414 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 *) ac_optarg=yes ;;
416 esac
417 eval "enable_$ac_feature='$ac_optarg'" ;;
418
419 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
420 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
421 | --exec | --exe | --ex)
422 ac_prev=exec_prefix ;;
423 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
424 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
425 | --exec=* | --exe=* | --ex=*)
426 exec_prefix=$ac_optarg ;;
427
428 -gas | --gas | --ga | --g)
429 # Obsolete; use --with-gas.
430 with_gas=yes ;;
431
432 -help | --help | --hel | --he | -h)
433 ac_init_help=long ;;
434 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
435 ac_init_help=recursive ;;
436 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
437 ac_init_help=short ;;
438
439 -host | --host | --hos | --ho)
440 ac_prev=host_alias ;;
441 -host=* | --host=* | --hos=* | --ho=*)
442 host_alias=$ac_optarg ;;
443
444 -includedir | --includedir | --includedi | --included | --include \
445 | --includ | --inclu | --incl | --inc)
446 ac_prev=includedir ;;
447 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
448 | --includ=* | --inclu=* | --incl=* | --inc=*)
449 includedir=$ac_optarg ;;
450
451 -infodir | --infodir | --infodi | --infod | --info | --inf)
452 ac_prev=infodir ;;
453 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
454 infodir=$ac_optarg ;;
455
456 -libdir | --libdir | --libdi | --libd)
457 ac_prev=libdir ;;
458 -libdir=* | --libdir=* | --libdi=* | --libd=*)
459 libdir=$ac_optarg ;;
460
461 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
462 | --libexe | --libex | --libe)
463 ac_prev=libexecdir ;;
464 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
465 | --libexe=* | --libex=* | --libe=*)
466 libexecdir=$ac_optarg ;;
467
468 -localstatedir | --localstatedir | --localstatedi | --localstated \
469 | --localstate | --localstat | --localsta | --localst \
470 | --locals | --local | --loca | --loc | --lo)
471 ac_prev=localstatedir ;;
472 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
475 localstatedir=$ac_optarg ;;
476
477 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
478 ac_prev=mandir ;;
479 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
480 mandir=$ac_optarg ;;
481
482 -nfp | --nfp | --nf)
483 # Obsolete; use --without-fp.
484 with_fp=no ;;
485
486 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
487 | --no-cr | --no-c | -n)
488 no_create=yes ;;
489
490 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
491 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492 no_recursion=yes ;;
493
494 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
495 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
496 | --oldin | --oldi | --old | --ol | --o)
497 ac_prev=oldincludedir ;;
498 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
499 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
500 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
501 oldincludedir=$ac_optarg ;;
502
503 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
504 ac_prev=prefix ;;
505 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506 prefix=$ac_optarg ;;
507
508 -program-prefix | --program-prefix | --program-prefi | --program-pref \
509 | --program-pre | --program-pr | --program-p)
510 ac_prev=program_prefix ;;
511 -program-prefix=* | --program-prefix=* | --program-prefi=* \
512 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
513 program_prefix=$ac_optarg ;;
514
515 -program-suffix | --program-suffix | --program-suffi | --program-suff \
516 | --program-suf | --program-su | --program-s)
517 ac_prev=program_suffix ;;
518 -program-suffix=* | --program-suffix=* | --program-suffi=* \
519 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
520 program_suffix=$ac_optarg ;;
521
522 -program-transform-name | --program-transform-name \
523 | --program-transform-nam | --program-transform-na \
524 | --program-transform-n | --program-transform- \
525 | --program-transform | --program-transfor \
526 | --program-transfo | --program-transf \
527 | --program-trans | --program-tran \
528 | --progr-tra | --program-tr | --program-t)
529 ac_prev=program_transform_name ;;
530 -program-transform-name=* | --program-transform-name=* \
531 | --program-transform-nam=* | --program-transform-na=* \
532 | --program-transform-n=* | --program-transform-=* \
533 | --program-transform=* | --program-transfor=* \
534 | --program-transfo=* | --program-transf=* \
535 | --program-trans=* | --program-tran=* \
536 | --progr-tra=* | --program-tr=* | --program-t=*)
537 program_transform_name=$ac_optarg ;;
538
539 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
540 | -silent | --silent | --silen | --sile | --sil)
541 silent=yes ;;
542
543 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
544 ac_prev=sbindir ;;
545 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
546 | --sbi=* | --sb=*)
547 sbindir=$ac_optarg ;;
548
549 -sharedstatedir | --sharedstatedir | --sharedstatedi \
550 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
551 | --sharedst | --shareds | --shared | --share | --shar \
552 | --sha | --sh)
553 ac_prev=sharedstatedir ;;
554 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
555 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
556 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
557 | --sha=* | --sh=*)
558 sharedstatedir=$ac_optarg ;;
559
560 -site | --site | --sit)
561 ac_prev=site ;;
562 -site=* | --site=* | --sit=*)
563 site=$ac_optarg ;;
564
565 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
566 ac_prev=srcdir ;;
567 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568 srcdir=$ac_optarg ;;
569
570 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
571 | --syscon | --sysco | --sysc | --sys | --sy)
572 ac_prev=sysconfdir ;;
573 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
574 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
575 sysconfdir=$ac_optarg ;;
576
577 -target | --target | --targe | --targ | --tar | --ta | --t)
578 ac_prev=target_alias ;;
579 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
580 target_alias=$ac_optarg ;;
581
582 -v | -verbose | --verbose | --verbos | --verbo | --verb)
583 verbose=yes ;;
584
585 -version | --version | --versio | --versi | --vers | -V)
586 ac_init_version=: ;;
587
588 -with-* | --with-*)
589 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package=`echo $ac_package| sed 's/-/_/g'`
595 case $ac_option in
596 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 *) ac_optarg=yes ;;
598 esac
599 eval "with_$ac_package='$ac_optarg'" ;;
600
601 -without-* | --without-*)
602 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
609
610 --x)
611 # Obsolete; use --with-x.
612 with_x=yes ;;
613
614 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
615 | --x-incl | --x-inc | --x-in | --x-i)
616 ac_prev=x_includes ;;
617 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
618 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
619 x_includes=$ac_optarg ;;
620
621 -x-libraries | --x-libraries | --x-librarie | --x-librari \
622 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
623 ac_prev=x_libraries ;;
624 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
625 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
626 x_libraries=$ac_optarg ;;
627
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
631 ;;
632
633 *=*)
634 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
641 export $ac_envvar ;;
642
643 *)
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
649 ;;
650
651 esac
652done
653
654if test -n "$ac_prev"; then
655 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
658fi
659
660# Be sure to have absolute paths.
661for ac_var in exec_prefix prefix
662do
663 eval ac_val=$`echo $ac_var`
664 case $ac_val in
665 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
668 esac
669done
670
671# Be sure to have absolute paths.
672for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
674do
675 eval ac_val=$`echo $ac_var`
676 case $ac_val in
677 [\\/$]* | ?:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
680 esac
681done
682
683# There might be people who depend on the old broken behavior: `$host'
684# used to hold the argument of --host etc.
685# FIXME: To remove some day.
686build=$build_alias
687host=$host_alias
688target=$target_alias
689
690# FIXME: To remove some day.
691if test "x$host_alias" != x; then
692 if test "x$build_alias" = x; then
693 cross_compiling=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
697 cross_compiling=yes
698 fi
699fi
700
701ac_tool_prefix=
702test -n "$host_alias" && ac_tool_prefix=$host_alias-
703
704test "$silent" = yes && exec 6>/dev/null
705
706
707# Find the source files, if location was not specified.
708if test -z "$srcdir"; then
709 ac_srcdir_defaulted=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir=`(dirname "$0") 2>/dev/null ||
712$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
717echo X"$0" |
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
722 s/.*/./; q'`
723 srcdir=$ac_confdir
724 if test ! -r $srcdir/$ac_unique_file; then
725 srcdir=..
726 fi
727else
728 ac_srcdir_defaulted=no
729fi
730if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
734 else
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
737 fi
738fi
739(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743ac_env_build_alias_set=${build_alias+set}
744ac_env_build_alias_value=$build_alias
745ac_cv_env_build_alias_set=${build_alias+set}
746ac_cv_env_build_alias_value=$build_alias
747ac_env_host_alias_set=${host_alias+set}
748ac_env_host_alias_value=$host_alias
749ac_cv_env_host_alias_set=${host_alias+set}
750ac_cv_env_host_alias_value=$host_alias
751ac_env_target_alias_set=${target_alias+set}
752ac_env_target_alias_value=$target_alias
753ac_cv_env_target_alias_set=${target_alias+set}
754ac_cv_env_target_alias_value=$target_alias
755ac_env_CC_set=${CC+set}
756ac_env_CC_value=$CC
757ac_cv_env_CC_set=${CC+set}
758ac_cv_env_CC_value=$CC
759ac_env_CFLAGS_set=${CFLAGS+set}
760ac_env_CFLAGS_value=$CFLAGS
761ac_cv_env_CFLAGS_set=${CFLAGS+set}
762ac_cv_env_CFLAGS_value=$CFLAGS
763ac_env_LDFLAGS_set=${LDFLAGS+set}
764ac_env_LDFLAGS_value=$LDFLAGS
765ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
766ac_cv_env_LDFLAGS_value=$LDFLAGS
767ac_env_CPPFLAGS_set=${CPPFLAGS+set}
768ac_env_CPPFLAGS_value=$CPPFLAGS
769ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
770ac_cv_env_CPPFLAGS_value=$CPPFLAGS
771ac_env_CPP_set=${CPP+set}
772ac_env_CPP_value=$CPP
773ac_cv_env_CPP_set=${CPP+set}
774ac_cv_env_CPP_value=$CPP
775ac_env_CXX_set=${CXX+set}
776ac_env_CXX_value=$CXX
777ac_cv_env_CXX_set=${CXX+set}
778ac_cv_env_CXX_value=$CXX
779ac_env_CXXFLAGS_set=${CXXFLAGS+set}
780ac_env_CXXFLAGS_value=$CXXFLAGS
781ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
782ac_cv_env_CXXFLAGS_value=$CXXFLAGS
783ac_env_CXXCPP_set=${CXXCPP+set}
784ac_env_CXXCPP_value=$CXXCPP
785ac_cv_env_CXXCPP_set=${CXXCPP+set}
786ac_cv_env_CXXCPP_value=$CXXCPP
787
788#
789# Report the --help message.
790#
791if test "$ac_init_help" = "long"; then
792 # Omit some internal or obsolete options to make the list less imposing.
793 # This message is too long to be a string in the A/UX 3.1 sh.
794 cat <<_ACEOF
795\`configure' configures wxWindows 2.5.0 to adapt to many kinds of systems.
796
797Usage: $0 [OPTION]... [VAR=VALUE]...
798
799To assign environment variables (e.g., CC, CFLAGS...), specify them as
800VAR=VALUE. See below for descriptions of some of the useful variables.
801
802Defaults for the options are specified in brackets.
803
804Configuration:
805 -h, --help display this help and exit
806 --help=short display options specific to this package
807 --help=recursive display the short help of all the included packages
808 -V, --version display version information and exit
809 -q, --quiet, --silent do not print \`checking...' messages
810 --cache-file=FILE cache test results in FILE [disabled]
811 -C, --config-cache alias for \`--cache-file=config.cache'
812 -n, --no-create do not create output files
813 --srcdir=DIR find the sources in DIR [configure dir or \`..']
814
815_ACEOF
816
817 cat <<_ACEOF
818Installation directories:
819 --prefix=PREFIX install architecture-independent files in PREFIX
820 [$ac_default_prefix]
821 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
822 [PREFIX]
823
824By default, \`make install' will install all the files in
825\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
826an installation prefix other than \`$ac_default_prefix' using \`--prefix',
827for instance \`--prefix=\$HOME'.
828
829For better control, use the options below.
830
831Fine tuning of the installation directories:
832 --bindir=DIR user executables [EPREFIX/bin]
833 --sbindir=DIR system admin executables [EPREFIX/sbin]
834 --libexecdir=DIR program executables [EPREFIX/libexec]
835 --datadir=DIR read-only architecture-independent data [PREFIX/share]
836 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
837 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
838 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
839 --libdir=DIR object code libraries [EPREFIX/lib]
840 --includedir=DIR C header files [PREFIX/include]
841 --oldincludedir=DIR C header files for non-gcc [/usr/include]
842 --infodir=DIR info documentation [PREFIX/info]
843 --mandir=DIR man documentation [PREFIX/man]
844_ACEOF
845
846 cat <<\_ACEOF
847
848X features:
849 --x-includes=DIR X include files are in DIR
850 --x-libraries=DIR X library files are in DIR
851
852System types:
853 --build=BUILD configure for building on BUILD [guessed]
854 --host=HOST cross-compile to build programs to run on HOST [BUILD]
855 --target=TARGET configure for building compilers for TARGET [HOST]
856_ACEOF
857fi
858
859if test -n "$ac_init_help"; then
860 case $ac_init_help in
861 short | recursive ) echo "Configuration of wxWindows 2.5.0:";;
862 esac
863 cat <<\_ACEOF
864
865Optional Features:
866 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
867 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
868 --enable-gui use GUI classes
869 --disable-monolithic don't build wxWindows as single library
870 --enable-universal use wxWindows GUI controls instead of native ones
871 --enable-nanox use NanoX
872 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
873 --enable-shared create shared library code
874 --enable-optimise create optimised code
875 --enable-debug same as debug_flag and debug_info
876 --enable-precomp enable use of precompiled headers (Mac OS X/Darwin)
877 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
878 --enable-debug_info create code with debugging information
879 --enable-debug_gdb create code with extra GDB debugging information
880 --enable-debug_cntxt use wxDebugContext
881 --enable-mem_tracing create code with memory tracing
882 --enable-profile create code with profiling information
883 --enable-no_rtti create code without RTTI information
884 --enable-no_exceptions create code without C++ exceptions handling
885 --enable-permissive compile code disregarding strict ANSI
886 --enable-no_deps create code without dependency information
887 --enable-compat20 enable wxWindows 2.0 compatibility
888 --enable-compat22 enable wxWindows 2.2 compatibility
889 --disable-compat24 disable wxWindows 2.4 compatibility
890 --enable-rpath=DIR output the rpath flag from wx-config
891 --enable-intl use internationalization system
892 --enable-config use wxConfig (and derived) classes
893 --enable-protocols use wxProtocol and derived classes
894 --enable-ftp use wxFTP (requires wxProtocol
895 --enable-http use wxHTTP (requires wxProtocol
896 --enable-fileproto use wxFileProto class (requires wxProtocol
897 --enable-sockets use socket/network classes
898 --enable-ole use OLE classes
899 --enable-dataobj use data object classes
900 --enable-ipc use interprocess communication (wxSocket etc.)
901 --enable-cmdline use wxCmdLineParser class
902 --enable-datetime use wxDateTime class
903 --enable-stopwatch use wxStopWatch class
904 --enable-dialupman use dialup network classes
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-timer use wxTimer class
907 --enable-wave use wxWave class
908 --enable-fraction use wxFraction class
909 --enable-dynlib use wxLibrary class for DLL loading
910 --enable-dynamicloader use (new) wxDynamicLibrary class
911 --enable-longlong use wxLongLong class
912 --enable-geometry use geometry class
913 --enable-log use logging system
914 --enable-streams use wxStream etc classes
915 --enable-file use wxFile classes
916 --enable-ffile use wxFFile classes
917 --enable-textbuf use wxTextBuffer class
918 --enable-textfile use wxTextFile class
919 --enable-fontmap use font encodings conversion classes
920 --enable-unicode compile wxString with Unicode support
921 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)
922 --enable-wxprintfv use wxWindows implementation of vprintf()
923 --enable-std_iostreams use standard C++ stream classes
924 --enable-filesystem use virtual file systems classes
925 --enable-fs_inet use virtual HTTP/FTP filesystems
926 --enable-fs_zip use virtual ZIP filesystems
927 --enable-zipstream use wxZipInputStream
928 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException
929 --enable-snglinst use wxSingleInstanceChecker class
930 --enable-mimetype use wxMimeTypesManager
931 --enable-sysoptions use wxSystemOptions
932 --enable-url use wxURL class
933 --enable-protocol use wxProtocol class
934 --enable-protocol-http HTTP support in wxProtocol
935 --enable-protocol-ftp FTP support in wxProtocol
936 --enable-protocol-file FILE support in wxProtocol
937 --enable-threads use threads
938 --enable-docview use document view architecture
939 --enable-help use help subsystem
940 --enable-mshtmlhelp use MS HTML Help (win32)
941 --enable-html use wxHTML sub-library
942 --enable-htmlhelp use wxHTML-based help
943 --enable-constraints use layout-constraints system
944 --enable-printarch use printing architecture
945 --enable-mdi use multiple document interface architecture
946 --enable-loggui use standard GUI logger
947 --enable-logwin use wxLogWindow
948 --enable-logdialog use wxLogDialog
949 --enable-postscript use wxPostscriptDC device context (default for gtk+)
950 --enable-prologio not available; see contrib
951 --enable-resources not available; see contrib
952 --enable-clipboard use wxClipboard class
953 --enable-dnd use Drag'n'Drop classes
954 --enable-metafile use win32 metafiles
955 --enable-controls use all usual controls
956 --enable-accel use accelerators
957 --enable-button use wxButton class
958 --enable-bmpbutton use wxBitmapButton class
959 --enable-calendar use wxCalendarCtrl class
960 --enable-caret use wxCaret class
961 --enable-checkbox use wxCheckBox class
962 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
963 --enable-choice use wxChoice class
964 --enable-combobox use wxComboBox class
965 --enable-display use wxDisplay class
966 --enable-gauge use wxGauge class
967 --enable-grid use wxGrid class
968 --enable-imaglist use wxImageList class
969 --enable-listbox use wxListBox class
970 --enable-listctrl use wxListCtrl class
971 --enable-notebook use wxNotebook class
972 --enable-radiobox use wxRadioBox class
973 --enable-radiobtn use wxRadioButton class
974 --enable-sash use wxSashWindow class
975 --enable-scrollbar use wxScrollBar class and scrollable windows
976 --enable-slider use wxSlider class
977 --enable-spinbtn use wxSpinButton class
978 --enable-spinctrl use wxSpinCtrl class
979 --enable-splitter use wxSplitterWindow class
980 --enable-statbmp use wxStaticBitmap class
981 --enable-statbox use wxStaticBox class
982 --enable-statline use wxStaticLine class
983 --enable-stattext use wxStaticText class
984 --enable-statusbar use wxStatusBar class
985 --enable-tabdialog use wxTabControl class
986 --enable-textctrl use wxTextCtrl class
987 --enable-togglebtn use wxToggleButton class
988 --enable-toolbar use wxToolBar class
989 --enable-tbarnative use native wxToolBar class
990 --enable-tbarsmpl use wxToolBarSimple class
991 --enable-treectrl use wxTreeCtrl class
992 --enable-tipwindow use wxTipWindow class
993 --enable-popupwin use wxPopUpWindow class
994 --enable-commondlg use all common dialogs
995 --enable-choicedlg use wxChoiceDialog
996 --enable-coldlg use wxColourDialog
997 --enable-filedlg use wxFileDialog
998 --enable-finddlg use wxFindReplaceDialog
999 --enable-fontdlg use wxFontDialog
1000 --enable-dirdlg use wxDirDialog
1001 --enable-msgdlg use wxMessageDialog
1002 --enable-numberdlg use wxNumberEntryDialog
1003 --enable-splash use wxSplashScreen
1004 --enable-textdlg use wxTextDialog
1005 --enable-tipdlg use startup tips
1006 --enable-progressdlg use wxProgressDialog
1007 --enable-wizarddlg use wxWizard
1008 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1009 --enable-miniframe use wxMiniFrame class
1010 --enable-tooltips use wxToolTip class
1011 --enable-splines use spline drawing code
1012 --enable-validators use wxValidator and derived classes
1013 --enable-busyinfo use wxBusyInfo
1014 --enable-joystick use wxJoystick (Linux only)
1015 --enable-metafiles use wxMetaFile (Windows only)
1016 --enable-dragimage use wxDragImage
1017 --enable-accessibility enable accessibility support
1018 --enable-palette use wxPalette class
1019 --enable-image use wxImage class
1020 --enable-gif use gif images (GIF file format)
1021 --enable-pcx use pcx images (PCX file format)
1022 --enable-iff use iff images (IFF file format)
1023 --enable-pnm use pnm images (PNM file format)
1024 --enable-xpm use xpm images (XPM file format)
1025 --enable-icocur use Windows ICO and CUR formats
1026 --disable-largefile omit support for large files
1027 --disable-gtktest do not try to compile and run a test GTK+ program
1028 --disable-gtktest Do not try to compile and run a test GTK program
1029
1030Optional Packages:
1031 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1032 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1033 --with-gtk use GTK+
1034 --with-motif use Motif/Lesstif
1035 --with-mac use Mac OS X
1036 --with-cocoa use Cocoa
1037 --with-wine use Wine
1038 --with-msw use MS-Windows
1039 --with-pm use OS/2 Presentation Manager
1040 --with-mgl use SciTech MGL
1041 --with-microwin use MicroWindows
1042 --with-x11 use X11
1043 --with-libpng use libpng (PNG image format)
1044 --with-libjpeg use libjpeg (JPEG file format)
1045 --with-libtiff use libtiff (TIFF file format)
1046 --with-opengl use OpenGL (or Mesa)
1047 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1048 --with-regex enable support for wxRegEx class
1049 --with-zlib use zlib for LZW compression
1050 --with-odbc use the IODBC and wxODBC classes
1051 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1052 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1053 --with-x use the X Window System
1054 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1055
1056Some influential environment variables:
1057 CC C compiler command
1058 CFLAGS C compiler flags
1059 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1060 nonstandard directory <lib dir>
1061 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1062 headers in a nonstandard directory <include dir>
1063 CPP C preprocessor
1064 CXX C++ compiler command
1065 CXXFLAGS C++ compiler flags
1066 CXXCPP C++ preprocessor
1067
1068Use these variables to override the choices made by `configure' or to help
1069it to find libraries and programs with nonstandard names/locations.
1070
1071Report bugs to <wx-dev@lists.wxwindows.org>.
1072_ACEOF
1073fi
1074
1075if test "$ac_init_help" = "recursive"; then
1076 # If there are subdirs, report their specific --help.
1077 ac_popdir=`pwd`
1078 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1079 test -d $ac_dir || continue
1080 ac_builddir=.
1081
1082if test "$ac_dir" != .; then
1083 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1084 # A "../" for each directory in $ac_dir_suffix.
1085 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1086else
1087 ac_dir_suffix= ac_top_builddir=
1088fi
1089
1090case $srcdir in
1091 .) # No --srcdir option. We are building in place.
1092 ac_srcdir=.
1093 if test -z "$ac_top_builddir"; then
1094 ac_top_srcdir=.
1095 else
1096 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1097 fi ;;
1098 [\\/]* | ?:[\\/]* ) # Absolute path.
1099 ac_srcdir=$srcdir$ac_dir_suffix;
1100 ac_top_srcdir=$srcdir ;;
1101 *) # Relative path.
1102 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1103 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1104esac
1105# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1106# absolute.
1107ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1108ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1109ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1110ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1111
1112 cd $ac_dir
1113 # Check for guested configure; otherwise get Cygnus style configure.
1114 if test -f $ac_srcdir/configure.gnu; then
1115 echo
1116 $SHELL $ac_srcdir/configure.gnu --help=recursive
1117 elif test -f $ac_srcdir/configure; then
1118 echo
1119 $SHELL $ac_srcdir/configure --help=recursive
1120 elif test -f $ac_srcdir/configure.ac ||
1121 test -f $ac_srcdir/configure.in; then
1122 echo
1123 $ac_configure --help
1124 else
1125 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1126 fi
1127 cd $ac_popdir
1128 done
1129fi
1130
1131test -n "$ac_init_help" && exit 0
1132if $ac_init_version; then
1133 cat <<\_ACEOF
1134wxWindows configure 2.5.0
1135generated by GNU Autoconf 2.57
1136
1137Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1138Free Software Foundation, Inc.
1139This configure script is free software; the Free Software Foundation
1140gives unlimited permission to copy, distribute and modify it.
1141_ACEOF
1142 exit 0
1143fi
1144exec 5>config.log
1145cat >&5 <<_ACEOF
1146This file contains any messages produced by compilers while
1147running configure, to aid debugging if configure makes a mistake.
1148
1149It was created by wxWindows $as_me 2.5.0, which was
1150generated by GNU Autoconf 2.57. Invocation command line was
1151
1152 $ $0 $@
1153
1154_ACEOF
1155{
1156cat <<_ASUNAME
1157## --------- ##
1158## Platform. ##
1159## --------- ##
1160
1161hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1162uname -m = `(uname -m) 2>/dev/null || echo unknown`
1163uname -r = `(uname -r) 2>/dev/null || echo unknown`
1164uname -s = `(uname -s) 2>/dev/null || echo unknown`
1165uname -v = `(uname -v) 2>/dev/null || echo unknown`
1166
1167/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1168/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1169
1170/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1171/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1172/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1173hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1174/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1175/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1176/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1177
1178_ASUNAME
1179
1180as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1181for as_dir in $PATH
1182do
1183 IFS=$as_save_IFS
1184 test -z "$as_dir" && as_dir=.
1185 echo "PATH: $as_dir"
1186done
1187
1188} >&5
1189
1190cat >&5 <<_ACEOF
1191
1192
1193## ----------- ##
1194## Core tests. ##
1195## ----------- ##
1196
1197_ACEOF
1198
1199
1200# Keep a trace of the command line.
1201# Strip out --no-create and --no-recursion so they do not pile up.
1202# Strip out --silent because we don't want to record it for future runs.
1203# Also quote any args containing shell meta-characters.
1204# Make two passes to allow for proper duplicate-argument suppression.
1205ac_configure_args=
1206ac_configure_args0=
1207ac_configure_args1=
1208ac_sep=
1209ac_must_keep_next=false
1210for ac_pass in 1 2
1211do
1212 for ac_arg
1213 do
1214 case $ac_arg in
1215 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1216 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1217 | -silent | --silent | --silen | --sile | --sil)
1218 continue ;;
1219 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1220 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1221 esac
1222 case $ac_pass in
1223 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1224 2)
1225 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1226 if test $ac_must_keep_next = true; then
1227 ac_must_keep_next=false # Got value, back to normal.
1228 else
1229 case $ac_arg in
1230 *=* | --config-cache | -C | -disable-* | --disable-* \
1231 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1232 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1233 | -with-* | --with-* | -without-* | --without-* | --x)
1234 case "$ac_configure_args0 " in
1235 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1236 esac
1237 ;;
1238 -* ) ac_must_keep_next=true ;;
1239 esac
1240 fi
1241 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1242 # Get rid of the leading space.
1243 ac_sep=" "
1244 ;;
1245 esac
1246 done
1247done
1248$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1249$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1250
1251# When interrupted or exit'd, cleanup temporary files, and complete
1252# config.log. We remove comments because anyway the quotes in there
1253# would cause problems or look ugly.
1254# WARNING: Be sure not to use single quotes in there, as some shells,
1255# such as our DU 5.0 friend, will then `close' the trap.
1256trap 'exit_status=$?
1257 # Save into config.log some information that might help in debugging.
1258 {
1259 echo
1260
1261 cat <<\_ASBOX
1262## ---------------- ##
1263## Cache variables. ##
1264## ---------------- ##
1265_ASBOX
1266 echo
1267 # The following way of writing the cache mishandles newlines in values,
1268{
1269 (set) 2>&1 |
1270 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1271 *ac_space=\ *)
1272 sed -n \
1273 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1274 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1275 ;;
1276 *)
1277 sed -n \
1278 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1279 ;;
1280 esac;
1281}
1282 echo
1283
1284 cat <<\_ASBOX
1285## ----------------- ##
1286## Output variables. ##
1287## ----------------- ##
1288_ASBOX
1289 echo
1290 for ac_var in $ac_subst_vars
1291 do
1292 eval ac_val=$`echo $ac_var`
1293 echo "$ac_var='"'"'$ac_val'"'"'"
1294 done | sort
1295 echo
1296
1297 if test -n "$ac_subst_files"; then
1298 cat <<\_ASBOX
1299## ------------- ##
1300## Output files. ##
1301## ------------- ##
1302_ASBOX
1303 echo
1304 for ac_var in $ac_subst_files
1305 do
1306 eval ac_val=$`echo $ac_var`
1307 echo "$ac_var='"'"'$ac_val'"'"'"
1308 done | sort
1309 echo
1310 fi
1311
1312 if test -s confdefs.h; then
1313 cat <<\_ASBOX
1314## ----------- ##
1315## confdefs.h. ##
1316## ----------- ##
1317_ASBOX
1318 echo
1319 sed "/^$/d" confdefs.h | sort
1320 echo
1321 fi
1322 test "$ac_signal" != 0 &&
1323 echo "$as_me: caught signal $ac_signal"
1324 echo "$as_me: exit $exit_status"
1325 } >&5
1326 rm -f core core.* *.core &&
1327 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1328 exit $exit_status
1329 ' 0
1330for ac_signal in 1 2 13 15; do
1331 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1332done
1333ac_signal=0
1334
1335# confdefs.h avoids OS command line length limits that DEFS can exceed.
1336rm -rf conftest* confdefs.h
1337# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1338echo >confdefs.h
1339
1340# Predefined preprocessor variables.
1341
1342cat >>confdefs.h <<_ACEOF
1343#define PACKAGE_NAME "$PACKAGE_NAME"
1344_ACEOF
1345
1346
1347cat >>confdefs.h <<_ACEOF
1348#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1349_ACEOF
1350
1351
1352cat >>confdefs.h <<_ACEOF
1353#define PACKAGE_VERSION "$PACKAGE_VERSION"
1354_ACEOF
1355
1356
1357cat >>confdefs.h <<_ACEOF
1358#define PACKAGE_STRING "$PACKAGE_STRING"
1359_ACEOF
1360
1361
1362cat >>confdefs.h <<_ACEOF
1363#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1364_ACEOF
1365
1366
1367# Let the site file select an alternate cache file if it wants to.
1368# Prefer explicitly selected file to automatically selected ones.
1369if test -z "$CONFIG_SITE"; then
1370 if test "x$prefix" != xNONE; then
1371 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1372 else
1373 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1374 fi
1375fi
1376for ac_site_file in $CONFIG_SITE; do
1377 if test -r "$ac_site_file"; then
1378 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1379echo "$as_me: loading site script $ac_site_file" >&6;}
1380 sed 's/^/| /' "$ac_site_file" >&5
1381 . "$ac_site_file"
1382 fi
1383done
1384
1385if test -r "$cache_file"; then
1386 # Some versions of bash will fail to source /dev/null (special
1387 # files actually), so we avoid doing that.
1388 if test -f "$cache_file"; then
1389 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1390echo "$as_me: loading cache $cache_file" >&6;}
1391 case $cache_file in
1392 [\\/]* | ?:[\\/]* ) . $cache_file;;
1393 *) . ./$cache_file;;
1394 esac
1395 fi
1396else
1397 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1398echo "$as_me: creating cache $cache_file" >&6;}
1399 >$cache_file
1400fi
1401
1402# Check that the precious variables saved in the cache have kept the same
1403# value.
1404ac_cache_corrupted=false
1405for ac_var in `(set) 2>&1 |
1406 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1407 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1408 eval ac_new_set=\$ac_env_${ac_var}_set
1409 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1410 eval ac_new_val="\$ac_env_${ac_var}_value"
1411 case $ac_old_set,$ac_new_set in
1412 set,)
1413 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1414echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1415 ac_cache_corrupted=: ;;
1416 ,set)
1417 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1418echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1419 ac_cache_corrupted=: ;;
1420 ,);;
1421 *)
1422 if test "x$ac_old_val" != "x$ac_new_val"; then
1423 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1424echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1425 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1426echo "$as_me: former value: $ac_old_val" >&2;}
1427 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1428echo "$as_me: current value: $ac_new_val" >&2;}
1429 ac_cache_corrupted=:
1430 fi;;
1431 esac
1432 # Pass precious variables to config.status.
1433 if test "$ac_new_set" = set; then
1434 case $ac_new_val in
1435 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1436 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1437 *) ac_arg=$ac_var=$ac_new_val ;;
1438 esac
1439 case " $ac_configure_args " in
1440 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1441 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1442 esac
1443 fi
1444done
1445if $ac_cache_corrupted; then
1446 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1447echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1448 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1449echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1450 { (exit 1); exit 1; }; }
1451fi
1452
1453ac_ext=c
1454ac_cpp='$CPP $CPPFLAGS'
1455ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1456ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1457ac_compiler_gnu=$ac_cv_c_compiler_gnu
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488ac_aux_dir=
1489for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1490 if test -f $ac_dir/install-sh; then
1491 ac_aux_dir=$ac_dir
1492 ac_install_sh="$ac_aux_dir/install-sh -c"
1493 break
1494 elif test -f $ac_dir/install.sh; then
1495 ac_aux_dir=$ac_dir
1496 ac_install_sh="$ac_aux_dir/install.sh -c"
1497 break
1498 elif test -f $ac_dir/shtool; then
1499 ac_aux_dir=$ac_dir
1500 ac_install_sh="$ac_aux_dir/shtool install -c"
1501 break
1502 fi
1503done
1504if test -z "$ac_aux_dir"; then
1505 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1506echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1507 { (exit 1); exit 1; }; }
1508fi
1509ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1510ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1511ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1512
1513# Make sure we can run config.sub.
1514$ac_config_sub sun4 >/dev/null 2>&1 ||
1515 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1516echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1517 { (exit 1); exit 1; }; }
1518
1519echo "$as_me:$LINENO: checking build system type" >&5
1520echo $ECHO_N "checking build system type... $ECHO_C" >&6
1521if test "${ac_cv_build+set}" = set; then
1522 echo $ECHO_N "(cached) $ECHO_C" >&6
1523else
1524 ac_cv_build_alias=$build_alias
1525test -z "$ac_cv_build_alias" &&
1526 ac_cv_build_alias=`$ac_config_guess`
1527test -z "$ac_cv_build_alias" &&
1528 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1529echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1530 { (exit 1); exit 1; }; }
1531ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1532 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1533echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1534 { (exit 1); exit 1; }; }
1535
1536fi
1537echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1538echo "${ECHO_T}$ac_cv_build" >&6
1539build=$ac_cv_build
1540build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1541build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1542build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1543
1544
1545echo "$as_me:$LINENO: checking host system type" >&5
1546echo $ECHO_N "checking host system type... $ECHO_C" >&6
1547if test "${ac_cv_host+set}" = set; then
1548 echo $ECHO_N "(cached) $ECHO_C" >&6
1549else
1550 ac_cv_host_alias=$host_alias
1551test -z "$ac_cv_host_alias" &&
1552 ac_cv_host_alias=$ac_cv_build_alias
1553ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1554 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1555echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1556 { (exit 1); exit 1; }; }
1557
1558fi
1559echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1560echo "${ECHO_T}$ac_cv_host" >&6
1561host=$ac_cv_host
1562host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1563host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1564host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1565
1566
1567echo "$as_me:$LINENO: checking target system type" >&5
1568echo $ECHO_N "checking target system type... $ECHO_C" >&6
1569if test "${ac_cv_target+set}" = set; then
1570 echo $ECHO_N "(cached) $ECHO_C" >&6
1571else
1572 ac_cv_target_alias=$target_alias
1573test "x$ac_cv_target_alias" = "x" &&
1574 ac_cv_target_alias=$ac_cv_host_alias
1575ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1576 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1577echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1578 { (exit 1); exit 1; }; }
1579
1580fi
1581echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1582echo "${ECHO_T}$ac_cv_target" >&6
1583target=$ac_cv_target
1584target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1585target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1586target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1587
1588
1589# The aliases save the names the user supplied, while $host etc.
1590# will get canonicalized.
1591test -n "$target_alias" &&
1592 test "$program_prefix$program_suffix$program_transform_name" = \
1593 NONENONEs,x,x, &&
1594 program_prefix=${target_alias}-
1595
1596
1597
1598WX_MAJOR_VERSION_NUMBER=2
1599WX_MINOR_VERSION_NUMBER=5
1600WX_RELEASE_NUMBER=0
1601
1602WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1603WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1604
1605WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1606
1607WX_CURRENT=0
1608WX_REVISION=0
1609WX_AGE=0
1610
1611
1612
1613USE_UNIX=1
1614USE_WIN32=0
1615USE_DOS=0
1616USE_BEOS=0
1617USE_MAC=0
1618
1619USE_AIX=
1620USE_BSD= USE_DARWIN= USE_FREEBSD=
1621USE_GNU= USE_HPUX=
1622USE_LINUX=
1623USE_NETBSD=
1624USE_OPENBSD=
1625USE_OSF= USE_SGI=
1626USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1627USE_ULTRIX=
1628USE_UNIXWARE=
1629
1630USE_ALPHA=
1631
1632NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1633
1634ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1635
1636DEFAULT_wxUSE_COCOA=0
1637DEFAULT_wxUSE_GTK=0
1638DEFAULT_wxUSE_MAC=0
1639DEFAULT_wxUSE_MGL=0
1640DEFAULT_wxUSE_MICROWIN=0
1641DEFAULT_wxUSE_MOTIF=0
1642DEFAULT_wxUSE_MSW=0
1643DEFAULT_wxUSE_PM=0
1644DEFAULT_wxUSE_X11=0
1645
1646DEFAULT_DEFAULT_wxUSE_COCOA=0
1647DEFAULT_DEFAULT_wxUSE_GTK=0
1648DEFAULT_DEFAULT_wxUSE_MAC=0
1649DEFAULT_DEFAULT_wxUSE_MGL=0
1650DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1651DEFAULT_DEFAULT_wxUSE_MOTIF=0
1652DEFAULT_DEFAULT_wxUSE_MSW=0
1653DEFAULT_DEFAULT_wxUSE_PM=0
1654DEFAULT_DEFAULT_wxUSE_X11=0
1655
1656PROGRAM_EXT=
1657SO_SUFFIX=so
1658SAMPLES_RPATH_FLAG=
1659
1660case "${host}" in
1661 *-hp-hpux* )
1662 USE_HPUX=1
1663 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1664 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1665 SO_SUFFIX=sl
1666 cat >>confdefs.h <<\_ACEOF
1667#define __HPUX__ 1
1668_ACEOF
1669
1670 ;;
1671 *-*-linux* )
1672 USE_LINUX=1
1673 cat >>confdefs.h <<\_ACEOF
1674#define __LINUX__ 1
1675_ACEOF
1676
1677 TMP=`uname -m`
1678 if test "x$TMP" = "xalpha"; then
1679 USE_ALPHA=1
1680 cat >>confdefs.h <<\_ACEOF
1681#define __ALPHA__ 1
1682_ACEOF
1683
1684 fi
1685 DEFAULT_DEFAULT_wxUSE_GTK=1
1686 ;;
1687 *-*-gnu* )
1688 USE_GNU=1
1689 cat >>confdefs.h <<\_ACEOF
1690#define __GNU__ 1
1691_ACEOF
1692
1693 TMP=`uname -m`
1694 if test "x$TMP" = "xalpha"; then
1695 USE_ALPHA=1
1696 cat >>confdefs.h <<\_ACEOF
1697#define __ALPHA__ 1
1698_ACEOF
1699
1700 fi
1701 DEFAULT_DEFAULT_wxUSE_GTK=1
1702 ;;
1703 *-*-irix5* | *-*-irix6* )
1704 USE_SGI=1
1705 USE_SVR4=1
1706 cat >>confdefs.h <<\_ACEOF
1707#define __SGI__ 1
1708_ACEOF
1709
1710 cat >>confdefs.h <<\_ACEOF
1711#define __SVR4__ 1
1712_ACEOF
1713
1714 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1715 ;;
1716 *-*-solaris2* )
1717 USE_SUN=1
1718 USE_SOLARIS=1
1719 USE_SVR4=1
1720 cat >>confdefs.h <<\_ACEOF
1721#define __SUN__ 1
1722_ACEOF
1723
1724 cat >>confdefs.h <<\_ACEOF
1725#define __SOLARIS__ 1
1726_ACEOF
1727
1728 cat >>confdefs.h <<\_ACEOF
1729#define __SVR4__ 1
1730_ACEOF
1731
1732 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1733 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1734 ;;
1735 *-*-sunos4* )
1736 USE_SUN=1
1737 USE_SUNOS=1
1738 USE_BSD=1
1739 cat >>confdefs.h <<\_ACEOF
1740#define __SUN__ 1
1741_ACEOF
1742
1743 cat >>confdefs.h <<\_ACEOF
1744#define __SUNOS__ 1
1745_ACEOF
1746
1747 cat >>confdefs.h <<\_ACEOF
1748#define __BSD__ 1
1749_ACEOF
1750
1751 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1752 ;;
1753 *-*-freebsd*)
1754 USE_BSD=1
1755 USE_FREEBSD=1
1756 cat >>confdefs.h <<\_ACEOF
1757#define __FREEBSD__ 1
1758_ACEOF
1759
1760 cat >>confdefs.h <<\_ACEOF
1761#define __BSD__ 1
1762_ACEOF
1763
1764 DEFAULT_DEFAULT_wxUSE_GTK=1
1765 ;;
1766 *-*-openbsd*)
1767 USE_BSD=1
1768 USE_OPENBSD=1
1769 cat >>confdefs.h <<\_ACEOF
1770#define __OPENBSD__ 1
1771_ACEOF
1772
1773 cat >>confdefs.h <<\_ACEOF
1774#define __BSD__ 1
1775_ACEOF
1776
1777 DEFAULT_DEFAULT_wxUSE_GTK=1
1778 ;;
1779 *-*-netbsd*)
1780 USE_BSD=1
1781 USE_NETBSD=1
1782 cat >>confdefs.h <<\_ACEOF
1783#define __NETBSD__ 1
1784_ACEOF
1785
1786 cat >>confdefs.h <<\_ACEOF
1787#define __BSD__ 1
1788_ACEOF
1789
1790 DEFAULT_DEFAULT_wxUSE_GTK=1
1791 ;;
1792 *-*-osf* )
1793 USE_ALPHA=1
1794 USE_OSF=1
1795 cat >>confdefs.h <<\_ACEOF
1796#define __ALPHA__ 1
1797_ACEOF
1798
1799 cat >>confdefs.h <<\_ACEOF
1800#define __OSF__ 1
1801_ACEOF
1802
1803 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1804 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1805 ;;
1806 *-*-dgux5* )
1807 USE_ALPHA=1
1808 USE_SVR4=1
1809 cat >>confdefs.h <<\_ACEOF
1810#define __ALPHA__ 1
1811_ACEOF
1812
1813 cat >>confdefs.h <<\_ACEOF
1814#define __SVR4__ 1
1815_ACEOF
1816
1817 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1818 ;;
1819 *-*-sysv5* )
1820 USE_SYSV=1
1821 USE_SVR4=1
1822 cat >>confdefs.h <<\_ACEOF
1823#define __SYSV__ 1
1824_ACEOF
1825
1826 cat >>confdefs.h <<\_ACEOF
1827#define __SVR4__ 1
1828_ACEOF
1829
1830 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1831 ;;
1832 *-*-aix* )
1833 USE_AIX=1
1834 USE_SYSV=1
1835 USE_SVR4=1
1836 SO_SUFFIX=a
1837 cat >>confdefs.h <<\_ACEOF
1838#define __AIX__ 1
1839_ACEOF
1840
1841 cat >>confdefs.h <<\_ACEOF
1842#define __SYSV__ 1
1843_ACEOF
1844
1845 cat >>confdefs.h <<\_ACEOF
1846#define __SVR4__ 1
1847_ACEOF
1848
1849 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1850 ;;
1851
1852 *-*-*UnixWare*)
1853 USE_SYSV=1
1854 USE_SVR4=1
1855 USE_UNIXWARE=1
1856 cat >>confdefs.h <<\_ACEOF
1857#define __UNIXWARE__ 1
1858_ACEOF
1859
1860 ;;
1861
1862 *-*-cygwin* | *-*-mingw32* )
1863 SO_SUFFIX=dll
1864 PROGRAM_EXT=".exe"
1865 RESCOMP=windres
1866 DEFAULT_DEFAULT_wxUSE_MSW=1
1867 ;;
1868
1869 *-pc-msdosdjgpp )
1870 USE_UNIX=0
1871 USE_DOS=1
1872 cat >>confdefs.h <<\_ACEOF
1873#define __DOS__ 1
1874_ACEOF
1875
1876 PROGRAM_EXT=".exe"
1877 DEFAULT_DEFAULT_wxUSE_MGL=1
1878 LIBS="$LIBS -lstdc++"
1879 ;;
1880
1881 *-pc-os2_emx | *-pc-os2-emx )
1882 cat >>confdefs.h <<\_ACEOF
1883#define __EMX__ 1
1884_ACEOF
1885
1886 PROGRAM_EXT=".exe"
1887 DEFAULT_DEFAULT_wxUSE_PM=1
1888 ;;
1889
1890 powerpc-*-darwin* )
1891 USE_BSD=1
1892 USE_DARWIN=1
1893 SO_SUFFIX=dylib
1894 cat >>confdefs.h <<\_ACEOF
1895#define __BSD__ 1
1896_ACEOF
1897
1898 cat >>confdefs.h <<\_ACEOF
1899#define __DARWIN__ 1
1900_ACEOF
1901
1902 cat >>confdefs.h <<\_ACEOF
1903#define __POWERPC__ 1
1904_ACEOF
1905
1906 cat >>confdefs.h <<\_ACEOF
1907#define TARGET_CARBON 1
1908_ACEOF
1909
1910 DEFAULT_DEFAULT_wxUSE_MAC=1
1911 ;;
1912
1913 *-*-beos* )
1914 USE_BEOS=1
1915 cat >>confdefs.h <<\_ACEOF
1916#define __BEOS__ 1
1917_ACEOF
1918
1919 ;;
1920
1921 *)
1922 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1923echo "$as_me: error: unknown system type ${host}." >&2;}
1924 { (exit 1); exit 1; }; }
1925esac
1926
1927
1928
1929
1930 wx_arg_cache_file="configarg.cache"
1931 echo "loading argument cache $wx_arg_cache_file"
1932 rm -f ${wx_arg_cache_file}.tmp
1933 touch ${wx_arg_cache_file}.tmp
1934 touch ${wx_arg_cache_file}
1935
1936
1937DEBUG_CONFIGURE=0
1938if test $DEBUG_CONFIGURE = 1; then
1939 DEFAULT_wxUSE_UNIVERSAL=no
1940
1941 DEFAULT_wxUSE_NANOX=no
1942
1943 DEFAULT_wxUSE_THREADS=yes
1944
1945 DEFAULT_wxUSE_SHARED=yes
1946 DEFAULT_wxUSE_OPTIMISE=no
1947 DEFAULT_wxUSE_PROFILE=no
1948 DEFAULT_wxUSE_NO_DEPS=no
1949 DEFAULT_wxUSE_NO_RTTI=no
1950 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1951 DEFAULT_wxUSE_PERMISSIVE=no
1952 DEFAULT_wxUSE_DEBUG_FLAG=yes
1953 DEFAULT_wxUSE_DEBUG_INFO=yes
1954 DEFAULT_wxUSE_DEBUG_GDB=yes
1955 DEFAULT_wxUSE_MEM_TRACING=no
1956 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1957 DEFAULT_wxUSE_DMALLOC=no
1958 DEFAULT_wxUSE_PRECOMP=no
1959 DEFAULT_wxUSE_APPLE_IEEE=no
1960
1961 DEFAULT_wxUSE_LOG=yes
1962 DEFAULT_wxUSE_LOGWINDOW=no
1963 DEFAULT_wxUSE_LOGGUI=no
1964 DEFAULT_wxUSE_LOGDIALOG=no
1965
1966 DEFAULT_wxUSE_GUI=yes
1967 DEFAULT_wxUSE_CONTROLS=no
1968
1969 DEFAULT_wxUSE_REGEX=no
1970 DEFAULT_wxUSE_ZLIB=no
1971 DEFAULT_wxUSE_LIBPNG=no
1972 DEFAULT_wxUSE_LIBJPEG=no
1973 DEFAULT_wxUSE_LIBTIFF=no
1974 DEFAULT_wxUSE_ODBC=no
1975 DEFAULT_wxUSE_OPENGL=no
1976
1977 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1978 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1979 DEFAULT_wxUSE_STD_IOSTREAM=no
1980 DEFAULT_wxUSE_CMDLINE_PARSER=no
1981 DEFAULT_wxUSE_DATETIME=no
1982 DEFAULT_wxUSE_TIMER=no
1983 DEFAULT_wxUSE_STOPWATCH=no
1984 DEFAULT_wxUSE_FILE=no
1985 DEFAULT_wxUSE_FFILE=no
1986 DEFAULT_wxUSE_TEXTBUFFER=no
1987 DEFAULT_wxUSE_TEXTFILE=no
1988 DEFAULT_wxUSE_WAVE=no
1989 DEFAULT_wxUSE_INTL=no
1990 DEFAULT_wxUSE_CONFIG=no
1991 DEFAULT_wxUSE_FONTMAP=no
1992 DEFAULT_wxUSE_STREAMS=no
1993 DEFAULT_wxUSE_SOCKETS=no
1994 DEFAULT_wxUSE_OLE=no
1995 DEFAULT_wxUSE_DATAOBJ=no
1996 DEFAULT_wxUSE_DIALUP_MANAGER=no
1997 DEFAULT_wxUSE_JOYSTICK=no
1998 DEFAULT_wxUSE_DYNLIB_CLASS=no
1999 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2000 DEFAULT_wxUSE_LONGLONG=no
2001 DEFAULT_wxUSE_GEOMETRY=no
2002
2003 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2004 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2005 DEFAULT_wxUSE_POSTSCRIPT=no
2006
2007 DEFAULT_wxUSE_CLIPBOARD=no
2008 DEFAULT_wxUSE_TOOLTIPS=no
2009 DEFAULT_wxUSE_DRAG_AND_DROP=no
2010 DEFAULT_wxUSE_DRAGIMAGE=no
2011 DEFAULT_wxUSE_SPLINES=no
2012
2013 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2014 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2015 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2016
2017 DEFAULT_wxUSE_RESOURCES=no
2018 DEFAULT_wxUSE_CONSTRAINTS=no
2019 DEFAULT_wxUSE_IPC=no
2020 DEFAULT_wxUSE_HELP=no
2021 DEFAULT_wxUSE_MS_HTML_HELP=no
2022 DEFAULT_wxUSE_WXHTML_HELP=no
2023 DEFAULT_wxUSE_TREELAYOUT=no
2024 DEFAULT_wxUSE_METAFILE=no
2025 DEFAULT_wxUSE_MIMETYPE=no
2026 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2027 DEFAULT_wxUSE_PROTOCOL=no
2028 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2029 DEFAULT_wxUSE_PROTOCOL_FTP=no
2030 DEFAULT_wxUSE_PROTOCOL_FILE=no
2031 DEFAULT_wxUSE_URL=no
2032
2033 DEFAULT_wxUSE_COMMONDLGS=no
2034 DEFAULT_wxUSE_CHOICEDLG=no
2035 DEFAULT_wxUSE_COLOURDLG=no
2036 DEFAULT_wxUSE_DIRDLG=no
2037 DEFAULT_wxUSE_FILEDLG=no
2038 DEFAULT_wxUSE_FINDREPLDLG=no
2039 DEFAULT_wxUSE_FONTDLG=no
2040 DEFAULT_wxUSE_MSGDLG=no
2041 DEFAULT_wxUSE_NUMBERDLG=no
2042 DEFAULT_wxUSE_TEXTDLG=no
2043 DEFAULT_wxUSE_SPLASH=no
2044 DEFAULT_wxUSE_STARTUP_TIPS=no
2045 DEFAULT_wxUSE_PROGRESSDLG=no
2046 DEFAULT_wxUSE_WIZARDDLG=no
2047
2048 DEFAULT_wxUSE_MENUS=no
2049 DEFAULT_wxUSE_MINIFRAME=no
2050 DEFAULT_wxUSE_HTML=no
2051 DEFAULT_wxUSE_FILESYSTEM=no
2052 DEFAULT_wxUSE_FS_INET=no
2053 DEFAULT_wxUSE_FS_ZIP=no
2054 DEFAULT_wxUSE_BUSYINFO=no
2055 DEFAULT_wxUSE_ZIPSTREAM=no
2056 DEFAULT_wxUSE_VALIDATORS=no
2057
2058 DEFAULT_wxUSE_ACCEL=no
2059 DEFAULT_wxUSE_BUTTON=no
2060 DEFAULT_wxUSE_BMPBUTTON=no
2061 DEFAULT_wxUSE_CALCTRL=no
2062 DEFAULT_wxUSE_CARET=no
2063 DEFAULT_wxUSE_CHECKBOX=no
2064 DEFAULT_wxUSE_CHECKLST=no
2065 DEFAULT_wxUSE_CHOICE=no
2066 DEFAULT_wxUSE_COMBOBOX=no
2067 DEFAULT_wxUSE_DISPLAY=no
2068 DEFAULT_wxUSE_GAUGE=no
2069 DEFAULT_wxUSE_GRID=no
2070 DEFAULT_wxUSE_IMAGLIST=no
2071 DEFAULT_wxUSE_LISTBOX=no
2072 DEFAULT_wxUSE_LISTCTRL=no
2073 DEFAULT_wxUSE_NOTEBOOK=no
2074 DEFAULT_wxUSE_RADIOBOX=no
2075 DEFAULT_wxUSE_RADIOBTN=no
2076 DEFAULT_wxUSE_SASH=no
2077 DEFAULT_wxUSE_SCROLLBAR=no
2078 DEFAULT_wxUSE_SLIDER=no
2079 DEFAULT_wxUSE_SPINBTN=no
2080 DEFAULT_wxUSE_SPINCTRL=no
2081 DEFAULT_wxUSE_SPLITTER=no
2082 DEFAULT_wxUSE_STATBMP=no
2083 DEFAULT_wxUSE_STATBOX=no
2084 DEFAULT_wxUSE_STATLINE=no
2085 DEFAULT_wxUSE_STATTEXT=no
2086 DEFAULT_wxUSE_STATUSBAR=yes
2087 DEFAULT_wxUSE_TABDIALOG=no
2088 DEFAULT_wxUSE_TEXTCTRL=no
2089 DEFAULT_wxUSE_TOGGLEBTN=no
2090 DEFAULT_wxUSE_TOOLBAR=no
2091 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2092 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2093 DEFAULT_wxUSE_TREECTRL=no
2094 DEFAULT_wxUSE_POPUPWIN=no
2095 DEFAULT_wxUSE_TIPWINDOW=no
2096
2097 DEFAULT_wxUSE_UNICODE=no
2098 DEFAULT_wxUSE_UNICODE_MSLU=no
2099 DEFAULT_wxUSE_WCSRTOMBS=no
2100
2101 DEFAULT_wxUSE_PALETTE=no
2102 DEFAULT_wxUSE_IMAGE=no
2103 DEFAULT_wxUSE_GIF=no
2104 DEFAULT_wxUSE_PCX=no
2105 DEFAULT_wxUSE_PNM=no
2106 DEFAULT_wxUSE_IFF=no
2107 DEFAULT_wxUSE_XPM=no
2108 DEFAULT_wxUSE_ICO_CUR=no
2109 DEFAULT_wxUSE_ACCESSIBILITY=no
2110
2111 DEFAULT_wxUSE_MONOLITHIC=yes
2112else
2113 DEFAULT_wxUSE_UNIVERSAL=no
2114
2115 DEFAULT_wxUSE_NANOX=no
2116
2117 DEFAULT_wxUSE_THREADS=yes
2118
2119 DEFAULT_wxUSE_SHARED=yes
2120 DEFAULT_wxUSE_OPTIMISE=yes
2121 DEFAULT_wxUSE_PROFILE=no
2122 DEFAULT_wxUSE_NO_DEPS=no
2123 DEFAULT_wxUSE_NO_RTTI=no
2124 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2125 DEFAULT_wxUSE_PERMISSIVE=no
2126 DEFAULT_wxUSE_DEBUG_FLAG=no
2127 DEFAULT_wxUSE_DEBUG_INFO=no
2128 DEFAULT_wxUSE_DEBUG_GDB=no
2129 DEFAULT_wxUSE_MEM_TRACING=no
2130 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2131 DEFAULT_wxUSE_DMALLOC=no
2132 DEFAULT_wxUSE_PRECOMP=no
2133 DEFAULT_wxUSE_APPLE_IEEE=yes
2134
2135 DEFAULT_wxUSE_LOG=yes
2136 DEFAULT_wxUSE_LOGWINDOW=yes
2137 DEFAULT_wxUSE_LOGGUI=yes
2138 DEFAULT_wxUSE_LOGDIALOG=yes
2139
2140 DEFAULT_wxUSE_GUI=yes
2141
2142 DEFAULT_wxUSE_REGEX=yes
2143 DEFAULT_wxUSE_ZLIB=yes
2144 DEFAULT_wxUSE_LIBPNG=yes
2145 DEFAULT_wxUSE_LIBJPEG=yes
2146 DEFAULT_wxUSE_LIBTIFF=yes
2147 DEFAULT_wxUSE_ODBC=no
2148 DEFAULT_wxUSE_OPENGL=no
2149
2150 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2151 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2152 DEFAULT_wxUSE_STD_IOSTREAM=no
2153 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2154 DEFAULT_wxUSE_DATETIME=yes
2155 DEFAULT_wxUSE_TIMER=yes
2156 DEFAULT_wxUSE_STOPWATCH=yes
2157 DEFAULT_wxUSE_FILE=yes
2158 DEFAULT_wxUSE_FFILE=yes
2159 DEFAULT_wxUSE_TEXTBUFFER=yes
2160 DEFAULT_wxUSE_TEXTFILE=yes
2161 DEFAULT_wxUSE_WAVE=no
2162 DEFAULT_wxUSE_INTL=yes
2163 DEFAULT_wxUSE_CONFIG=yes
2164 DEFAULT_wxUSE_FONTMAP=yes
2165 DEFAULT_wxUSE_STREAMS=yes
2166 DEFAULT_wxUSE_SOCKETS=yes
2167 DEFAULT_wxUSE_OLE=yes
2168 DEFAULT_wxUSE_DATAOBJ=yes
2169 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2170 DEFAULT_wxUSE_JOYSTICK=yes
2171 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2172 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2173 DEFAULT_wxUSE_LONGLONG=yes
2174 DEFAULT_wxUSE_GEOMETRY=yes
2175
2176 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2177 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2178 DEFAULT_wxUSE_POSTSCRIPT=yes
2179
2180 DEFAULT_wxUSE_CLIPBOARD=yes
2181 DEFAULT_wxUSE_TOOLTIPS=yes
2182 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2183 DEFAULT_wxUSE_DRAGIMAGE=yes
2184 DEFAULT_wxUSE_SPLINES=yes
2185
2186 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2187 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2188 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2189
2190 DEFAULT_wxUSE_RESOURCES=no
2191 DEFAULT_wxUSE_CONSTRAINTS=yes
2192 DEFAULT_wxUSE_IPC=yes
2193 DEFAULT_wxUSE_HELP=yes
2194 DEFAULT_wxUSE_MS_HTML_HELP=yes
2195 DEFAULT_wxUSE_WXHTML_HELP=yes
2196 DEFAULT_wxUSE_TREELAYOUT=yes
2197 DEFAULT_wxUSE_METAFILE=yes
2198 DEFAULT_wxUSE_MIMETYPE=yes
2199 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2200 DEFAULT_wxUSE_PROTOCOL=yes
2201 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2202 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2203 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2204 DEFAULT_wxUSE_URL=yes
2205
2206 DEFAULT_wxUSE_COMMONDLGS=yes
2207 DEFAULT_wxUSE_CHOICEDLG=yes
2208 DEFAULT_wxUSE_COLOURDLG=yes
2209 DEFAULT_wxUSE_DIRDLG=yes
2210 DEFAULT_wxUSE_FILEDLG=yes
2211 DEFAULT_wxUSE_FINDREPLDLG=yes
2212 DEFAULT_wxUSE_FONTDLG=yes
2213 DEFAULT_wxUSE_MSGDLG=yes
2214 DEFAULT_wxUSE_NUMBERDLG=yes
2215 DEFAULT_wxUSE_TEXTDLG=yes
2216 DEFAULT_wxUSE_SPLASH=yes
2217 DEFAULT_wxUSE_STARTUP_TIPS=yes
2218 DEFAULT_wxUSE_PROGRESSDLG=yes
2219 DEFAULT_wxUSE_WIZARDDLG=yes
2220
2221 DEFAULT_wxUSE_MENUS=yes
2222 DEFAULT_wxUSE_MINIFRAME=yes
2223 DEFAULT_wxUSE_HTML=yes
2224 DEFAULT_wxUSE_FILESYSTEM=yes
2225 DEFAULT_wxUSE_FS_INET=yes
2226 DEFAULT_wxUSE_FS_ZIP=yes
2227 DEFAULT_wxUSE_BUSYINFO=yes
2228 DEFAULT_wxUSE_ZIPSTREAM=yes
2229 DEFAULT_wxUSE_VALIDATORS=yes
2230
2231 DEFAULT_wxUSE_ACCEL=yes
2232 DEFAULT_wxUSE_BUTTON=yes
2233 DEFAULT_wxUSE_BMPBUTTON=yes
2234 DEFAULT_wxUSE_CALCTRL=yes
2235 DEFAULT_wxUSE_CARET=yes
2236 DEFAULT_wxUSE_CHECKBOX=yes
2237 DEFAULT_wxUSE_CHECKLST=yes
2238 DEFAULT_wxUSE_CHOICE=yes
2239 DEFAULT_wxUSE_COMBOBOX=yes
2240 DEFAULT_wxUSE_DISPLAY=no
2241 DEFAULT_wxUSE_GAUGE=yes
2242 DEFAULT_wxUSE_GRID=yes
2243 DEFAULT_wxUSE_IMAGLIST=yes
2244 DEFAULT_wxUSE_LISTBOX=yes
2245 DEFAULT_wxUSE_LISTCTRL=yes
2246 DEFAULT_wxUSE_NOTEBOOK=yes
2247 DEFAULT_wxUSE_RADIOBOX=yes
2248 DEFAULT_wxUSE_RADIOBTN=yes
2249 DEFAULT_wxUSE_SASH=yes
2250 DEFAULT_wxUSE_SCROLLBAR=yes
2251 DEFAULT_wxUSE_SLIDER=yes
2252 DEFAULT_wxUSE_SPINBTN=yes
2253 DEFAULT_wxUSE_SPINCTRL=yes
2254 DEFAULT_wxUSE_SPLITTER=yes
2255 DEFAULT_wxUSE_STATBMP=yes
2256 DEFAULT_wxUSE_STATBOX=yes
2257 DEFAULT_wxUSE_STATLINE=yes
2258 DEFAULT_wxUSE_STATTEXT=yes
2259 DEFAULT_wxUSE_STATUSBAR=yes
2260 DEFAULT_wxUSE_TABDIALOG=no
2261 DEFAULT_wxUSE_TEXTCTRL=yes
2262 DEFAULT_wxUSE_TOGGLEBTN=yes
2263 DEFAULT_wxUSE_TOOLBAR=yes
2264 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2265 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2266 DEFAULT_wxUSE_TREECTRL=yes
2267 DEFAULT_wxUSE_POPUPWIN=yes
2268 DEFAULT_wxUSE_TIPWINDOW=yes
2269
2270 DEFAULT_wxUSE_UNICODE=no
2271 DEFAULT_wxUSE_UNICODE_MSLU=yes
2272 DEFAULT_wxUSE_WCSRTOMBS=no
2273
2274 DEFAULT_wxUSE_PALETTE=yes
2275 DEFAULT_wxUSE_IMAGE=yes
2276 DEFAULT_wxUSE_GIF=yes
2277 DEFAULT_wxUSE_PCX=yes
2278 DEFAULT_wxUSE_IFF=no
2279 DEFAULT_wxUSE_PNM=yes
2280 DEFAULT_wxUSE_XPM=yes
2281 DEFAULT_wxUSE_ICO_CUR=yes
2282 DEFAULT_wxUSE_ACCESSIBILITY=no
2283
2284 DEFAULT_wxUSE_MONOLITHIC=yes
2285fi
2286
2287
2288
2289for toolkit in `echo $ALL_TOOLKITS`; do
2290 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2291 if test "x$LINE" != "x" ; then
2292 has_toolkit_in_cache=1
2293 eval "DEFAULT_$LINE"
2294 eval "CACHE_$toolkit=1"
2295 fi
2296done
2297
2298
2299
2300 enablestring=
2301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2302echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2303 no_cache=0
2304 # Check whether --enable-gui or --disable-gui was given.
2305if test "${enable_gui+set}" = set; then
2306 enableval="$enable_gui"
2307
2308 if test "$enableval" = yes; then
2309 ac_cv_use_gui='wxUSE_GUI=yes'
2310 else
2311 ac_cv_use_gui='wxUSE_GUI=no'
2312 fi
2313
2314else
2315
2316 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2317 if test "x$LINE" != x ; then
2318 eval "DEFAULT_$LINE"
2319 else
2320 no_cache=1
2321 fi
2322
2323 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2324
2325fi;
2326
2327 eval "$ac_cv_use_gui"
2328 if test "$no_cache" != 1; then
2329 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2330 fi
2331
2332 if test "$wxUSE_GUI" = yes; then
2333 echo "$as_me:$LINENO: result: yes" >&5
2334echo "${ECHO_T}yes" >&6
2335 else
2336 echo "$as_me:$LINENO: result: no" >&5
2337echo "${ECHO_T}no" >&6
2338 fi
2339
2340
2341 enablestring=
2342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2343echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2344 no_cache=0
2345 # Check whether --enable-monolithic or --disable-monolithic was given.
2346if test "${enable_monolithic+set}" = set; then
2347 enableval="$enable_monolithic"
2348
2349 if test "$enableval" = yes; then
2350 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2351 else
2352 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2353 fi
2354
2355else
2356
2357 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2358 if test "x$LINE" != x ; then
2359 eval "DEFAULT_$LINE"
2360 else
2361 no_cache=1
2362 fi
2363
2364 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2365
2366fi;
2367
2368 eval "$ac_cv_use_monolithic"
2369 if test "$no_cache" != 1; then
2370 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2371 fi
2372
2373 if test "$wxUSE_MONOLITHIC" = yes; then
2374 echo "$as_me:$LINENO: result: yes" >&5
2375echo "${ECHO_T}yes" >&6
2376 else
2377 echo "$as_me:$LINENO: result: no" >&5
2378echo "${ECHO_T}no" >&6
2379 fi
2380
2381
2382if test "$wxUSE_GUI" = "yes"; then
2383
2384
2385 enablestring=
2386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2387echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2388 no_cache=0
2389 # Check whether --enable-universal or --disable-universal was given.
2390if test "${enable_universal+set}" = set; then
2391 enableval="$enable_universal"
2392
2393 if test "$enableval" = yes; then
2394 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2395 else
2396 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2397 fi
2398
2399else
2400
2401 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2402 if test "x$LINE" != x ; then
2403 eval "DEFAULT_$LINE"
2404 else
2405 no_cache=1
2406 fi
2407
2408 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2409
2410fi;
2411
2412 eval "$ac_cv_use_universal"
2413 if test "$no_cache" != 1; then
2414 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2415 fi
2416
2417 if test "$wxUSE_UNIVERSAL" = yes; then
2418 echo "$as_me:$LINENO: result: yes" >&5
2419echo "${ECHO_T}yes" >&6
2420 else
2421 echo "$as_me:$LINENO: result: no" >&5
2422echo "${ECHO_T}no" >&6
2423 fi
2424
2425
2426# Check whether --with-gtk or --without-gtk was given.
2427if test "${with_gtk+set}" = set; then
2428 withval="$with_gtk"
2429 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2430fi;
2431
2432# Check whether --with-motif or --without-motif was given.
2433if test "${with_motif+set}" = set; then
2434 withval="$with_motif"
2435 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2436fi;
2437
2438# Check whether --with-mac or --without-mac was given.
2439if test "${with_mac+set}" = set; then
2440 withval="$with_mac"
2441 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2442fi;
2443
2444# Check whether --with-cocoa or --without-cocoa was given.
2445if test "${with_cocoa+set}" = set; then
2446 withval="$with_cocoa"
2447 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2448fi;
2449
2450# Check whether --with-wine or --without-wine was given.
2451if test "${with_wine+set}" = set; then
2452 withval="$with_wine"
2453 wxUSE_WINE="$withval" CACHE_WINE=1
2454fi;
2455
2456# Check whether --with-msw or --without-msw was given.
2457if test "${with_msw+set}" = set; then
2458 withval="$with_msw"
2459 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2460fi;
2461
2462# Check whether --with-pm or --without-pm was given.
2463if test "${with_pm+set}" = set; then
2464 withval="$with_pm"
2465 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2466fi;
2467
2468# Check whether --with-mgl or --without-mgl was given.
2469if test "${with_mgl+set}" = set; then
2470 withval="$with_mgl"
2471 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2472fi;
2473
2474# Check whether --with-microwin or --without-microwin was given.
2475if test "${with_microwin+set}" = set; then
2476 withval="$with_microwin"
2477 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2478fi;
2479
2480# Check whether --with-x11 or --without-x11 was given.
2481if test "${with_x11+set}" = set; then
2482 withval="$with_x11"
2483 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2484fi;
2485
2486 enablestring=
2487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2488echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2489 no_cache=0
2490 # Check whether --enable-nanox or --disable-nanox was given.
2491if test "${enable_nanox+set}" = set; then
2492 enableval="$enable_nanox"
2493
2494 if test "$enableval" = yes; then
2495 ac_cv_use_nanox='wxUSE_NANOX=yes'
2496 else
2497 ac_cv_use_nanox='wxUSE_NANOX=no'
2498 fi
2499
2500else
2501
2502 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2503 if test "x$LINE" != x ; then
2504 eval "DEFAULT_$LINE"
2505 else
2506 no_cache=1
2507 fi
2508
2509 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2510
2511fi;
2512
2513 eval "$ac_cv_use_nanox"
2514 if test "$no_cache" != 1; then
2515 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2516 fi
2517
2518 if test "$wxUSE_NANOX" = yes; then
2519 echo "$as_me:$LINENO: result: yes" >&5
2520echo "${ECHO_T}yes" >&6
2521 else
2522 echo "$as_me:$LINENO: result: no" >&5
2523echo "${ECHO_T}no" >&6
2524 fi
2525
2526
2527
2528 enablestring=
2529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2530echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2531 no_cache=0
2532 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2533if test "${enable_gtk2+set}" = set; then
2534 enableval="$enable_gtk2"
2535
2536 if test "$enableval" = yes; then
2537 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2538 else
2539 ac_cv_use_gtk2='wxUSE_GTK2=no'
2540 fi
2541
2542else
2543
2544 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2545 if test "x$LINE" != x ; then
2546 eval "DEFAULT_$LINE"
2547 else
2548 no_cache=1
2549 fi
2550
2551 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2552
2553fi;
2554
2555 eval "$ac_cv_use_gtk2"
2556 if test "$no_cache" != 1; then
2557 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2558 fi
2559
2560 if test "$wxUSE_GTK2" = yes; then
2561 echo "$as_me:$LINENO: result: yes" >&5
2562echo "${ECHO_T}yes" >&6
2563 else
2564 echo "$as_me:$LINENO: result: no" >&5
2565echo "${ECHO_T}no" >&6
2566 fi
2567
2568
2569
2570 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2571echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2572 no_cache=0
2573
2574# Check whether --with-libpng or --without-libpng was given.
2575if test "${with_libpng+set}" = set; then
2576 withval="$with_libpng"
2577
2578 if test "$withval" = yes; then
2579 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2580 elif test "$withval" = no; then
2581 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2582 elif test "$withval" = sys; then
2583 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2584 elif test "$withval" = builtin; then
2585 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2586 else
2587 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2588echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2589 { (exit 1); exit 1; }; }
2590 fi
2591
2592else
2593
2594 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2595 if test "x$LINE" != x ; then
2596 eval "DEFAULT_$LINE"
2597 else
2598 no_cache=1
2599 fi
2600
2601 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2602
2603fi;
2604
2605 eval "$ac_cv_use_libpng"
2606 if test "$no_cache" != 1; then
2607 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2608 fi
2609
2610 if test "$wxUSE_LIBPNG" = yes; then
2611 echo "$as_me:$LINENO: result: yes" >&5
2612echo "${ECHO_T}yes" >&6
2613 elif test "$wxUSE_LIBPNG" = no; then
2614 echo "$as_me:$LINENO: result: no" >&5
2615echo "${ECHO_T}no" >&6
2616 elif test "$wxUSE_LIBPNG" = sys; then
2617 echo "$as_me:$LINENO: result: system version" >&5
2618echo "${ECHO_T}system version" >&6
2619 elif test "$wxUSE_LIBPNG" = builtin; then
2620 echo "$as_me:$LINENO: result: builtin version" >&5
2621echo "${ECHO_T}builtin version" >&6
2622 else
2623 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2624echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2625 { (exit 1); exit 1; }; }
2626 fi
2627
2628
2629 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2630echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2631 no_cache=0
2632
2633# Check whether --with-libjpeg or --without-libjpeg was given.
2634if test "${with_libjpeg+set}" = set; then
2635 withval="$with_libjpeg"
2636
2637 if test "$withval" = yes; then
2638 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2639 elif test "$withval" = no; then
2640 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2641 elif test "$withval" = sys; then
2642 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2643 elif test "$withval" = builtin; then
2644 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2645 else
2646 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2647echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2648 { (exit 1); exit 1; }; }
2649 fi
2650
2651else
2652
2653 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2654 if test "x$LINE" != x ; then
2655 eval "DEFAULT_$LINE"
2656 else
2657 no_cache=1
2658 fi
2659
2660 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2661
2662fi;
2663
2664 eval "$ac_cv_use_libjpeg"
2665 if test "$no_cache" != 1; then
2666 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2667 fi
2668
2669 if test "$wxUSE_LIBJPEG" = yes; then
2670 echo "$as_me:$LINENO: result: yes" >&5
2671echo "${ECHO_T}yes" >&6
2672 elif test "$wxUSE_LIBJPEG" = no; then
2673 echo "$as_me:$LINENO: result: no" >&5
2674echo "${ECHO_T}no" >&6
2675 elif test "$wxUSE_LIBJPEG" = sys; then
2676 echo "$as_me:$LINENO: result: system version" >&5
2677echo "${ECHO_T}system version" >&6
2678 elif test "$wxUSE_LIBJPEG" = builtin; then
2679 echo "$as_me:$LINENO: result: builtin version" >&5
2680echo "${ECHO_T}builtin version" >&6
2681 else
2682 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2683echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2684 { (exit 1); exit 1; }; }
2685 fi
2686
2687
2688 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2689echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2690 no_cache=0
2691
2692# Check whether --with-libtiff or --without-libtiff was given.
2693if test "${with_libtiff+set}" = set; then
2694 withval="$with_libtiff"
2695
2696 if test "$withval" = yes; then
2697 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2698 elif test "$withval" = no; then
2699 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2700 elif test "$withval" = sys; then
2701 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2702 elif test "$withval" = builtin; then
2703 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2704 else
2705 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2706echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2707 { (exit 1); exit 1; }; }
2708 fi
2709
2710else
2711
2712 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2713 if test "x$LINE" != x ; then
2714 eval "DEFAULT_$LINE"
2715 else
2716 no_cache=1
2717 fi
2718
2719 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2720
2721fi;
2722
2723 eval "$ac_cv_use_libtiff"
2724 if test "$no_cache" != 1; then
2725 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2726 fi
2727
2728 if test "$wxUSE_LIBTIFF" = yes; then
2729 echo "$as_me:$LINENO: result: yes" >&5
2730echo "${ECHO_T}yes" >&6
2731 elif test "$wxUSE_LIBTIFF" = no; then
2732 echo "$as_me:$LINENO: result: no" >&5
2733echo "${ECHO_T}no" >&6
2734 elif test "$wxUSE_LIBTIFF" = sys; then
2735 echo "$as_me:$LINENO: result: system version" >&5
2736echo "${ECHO_T}system version" >&6
2737 elif test "$wxUSE_LIBTIFF" = builtin; then
2738 echo "$as_me:$LINENO: result: builtin version" >&5
2739echo "${ECHO_T}builtin version" >&6
2740 else
2741 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2742echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2743 { (exit 1); exit 1; }; }
2744 fi
2745
2746
2747 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2748echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2749 no_cache=0
2750
2751# Check whether --with-opengl or --without-opengl was given.
2752if test "${with_opengl+set}" = set; then
2753 withval="$with_opengl"
2754
2755 if test "$withval" = yes; then
2756 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2757 else
2758 ac_cv_use_opengl='wxUSE_OPENGL=no'
2759 fi
2760
2761else
2762
2763 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2764 if test "x$LINE" != x ; then
2765 eval "DEFAULT_$LINE"
2766 else
2767 no_cache=1
2768 fi
2769
2770 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2771
2772fi;
2773
2774 eval "$ac_cv_use_opengl"
2775 if test "$no_cache" != 1; then
2776 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2777 fi
2778
2779 if test "$wxUSE_OPENGL" = yes; then
2780 echo "$as_me:$LINENO: result: yes" >&5
2781echo "${ECHO_T}yes" >&6
2782 else
2783 echo "$as_me:$LINENO: result: no" >&5
2784echo "${ECHO_T}no" >&6
2785 fi
2786
2787
2788fi
2789
2790
2791 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2792echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2793 no_cache=0
2794
2795# Check whether --with-dmalloc or --without-dmalloc was given.
2796if test "${with_dmalloc+set}" = set; then
2797 withval="$with_dmalloc"
2798
2799 if test "$withval" = yes; then
2800 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2801 else
2802 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2803 fi
2804
2805else
2806
2807 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2808 if test "x$LINE" != x ; then
2809 eval "DEFAULT_$LINE"
2810 else
2811 no_cache=1
2812 fi
2813
2814 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2815
2816fi;
2817
2818 eval "$ac_cv_use_dmalloc"
2819 if test "$no_cache" != 1; then
2820 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2821 fi
2822
2823 if test "$wxUSE_DMALLOC" = yes; then
2824 echo "$as_me:$LINENO: result: yes" >&5
2825echo "${ECHO_T}yes" >&6
2826 else
2827 echo "$as_me:$LINENO: result: no" >&5
2828echo "${ECHO_T}no" >&6
2829 fi
2830
2831
2832 echo "$as_me:$LINENO: checking for --with-regex" >&5
2833echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2834 no_cache=0
2835
2836# Check whether --with-regex or --without-regex was given.
2837if test "${with_regex+set}" = set; then
2838 withval="$with_regex"
2839
2840 if test "$withval" = yes; then
2841 ac_cv_use_regex='wxUSE_REGEX=yes'
2842 elif test "$withval" = no; then
2843 ac_cv_use_regex='wxUSE_REGEX=no'
2844 elif test "$withval" = sys; then
2845 ac_cv_use_regex='wxUSE_REGEX=sys'
2846 elif test "$withval" = builtin; then
2847 ac_cv_use_regex='wxUSE_REGEX=builtin'
2848 else
2849 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2850echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2851 { (exit 1); exit 1; }; }
2852 fi
2853
2854else
2855
2856 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2857 if test "x$LINE" != x ; then
2858 eval "DEFAULT_$LINE"
2859 else
2860 no_cache=1
2861 fi
2862
2863 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2864
2865fi;
2866
2867 eval "$ac_cv_use_regex"
2868 if test "$no_cache" != 1; then
2869 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2870 fi
2871
2872 if test "$wxUSE_REGEX" = yes; then
2873 echo "$as_me:$LINENO: result: yes" >&5
2874echo "${ECHO_T}yes" >&6
2875 elif test "$wxUSE_REGEX" = no; then
2876 echo "$as_me:$LINENO: result: no" >&5
2877echo "${ECHO_T}no" >&6
2878 elif test "$wxUSE_REGEX" = sys; then
2879 echo "$as_me:$LINENO: result: system version" >&5
2880echo "${ECHO_T}system version" >&6
2881 elif test "$wxUSE_REGEX" = builtin; then
2882 echo "$as_me:$LINENO: result: builtin version" >&5
2883echo "${ECHO_T}builtin version" >&6
2884 else
2885 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2886echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2887 { (exit 1); exit 1; }; }
2888 fi
2889
2890
2891 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2892echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2893 no_cache=0
2894
2895# Check whether --with-zlib or --without-zlib was given.
2896if test "${with_zlib+set}" = set; then
2897 withval="$with_zlib"
2898
2899 if test "$withval" = yes; then
2900 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2901 elif test "$withval" = no; then
2902 ac_cv_use_zlib='wxUSE_ZLIB=no'
2903 elif test "$withval" = sys; then
2904 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2905 elif test "$withval" = builtin; then
2906 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2907 else
2908 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2909echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2910 { (exit 1); exit 1; }; }
2911 fi
2912
2913else
2914
2915 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2916 if test "x$LINE" != x ; then
2917 eval "DEFAULT_$LINE"
2918 else
2919 no_cache=1
2920 fi
2921
2922 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2923
2924fi;
2925
2926 eval "$ac_cv_use_zlib"
2927 if test "$no_cache" != 1; then
2928 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2929 fi
2930
2931 if test "$wxUSE_ZLIB" = yes; then
2932 echo "$as_me:$LINENO: result: yes" >&5
2933echo "${ECHO_T}yes" >&6
2934 elif test "$wxUSE_ZLIB" = no; then
2935 echo "$as_me:$LINENO: result: no" >&5
2936echo "${ECHO_T}no" >&6
2937 elif test "$wxUSE_ZLIB" = sys; then
2938 echo "$as_me:$LINENO: result: system version" >&5
2939echo "${ECHO_T}system version" >&6
2940 elif test "$wxUSE_ZLIB" = builtin; then
2941 echo "$as_me:$LINENO: result: builtin version" >&5
2942echo "${ECHO_T}builtin version" >&6
2943 else
2944 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2945echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2946 { (exit 1); exit 1; }; }
2947 fi
2948
2949
2950 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2951echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2952 no_cache=0
2953
2954# Check whether --with-odbc or --without-odbc was given.
2955if test "${with_odbc+set}" = set; then
2956 withval="$with_odbc"
2957
2958 if test "$withval" = yes; then
2959 ac_cv_use_odbc='wxUSE_ODBC=yes'
2960 elif test "$withval" = no; then
2961 ac_cv_use_odbc='wxUSE_ODBC=no'
2962 elif test "$withval" = sys; then
2963 ac_cv_use_odbc='wxUSE_ODBC=sys'
2964 elif test "$withval" = builtin; then
2965 ac_cv_use_odbc='wxUSE_ODBC=builtin'
2966 else
2967 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2968echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
2969 { (exit 1); exit 1; }; }
2970 fi
2971
2972else
2973
2974 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2975 if test "x$LINE" != x ; then
2976 eval "DEFAULT_$LINE"
2977 else
2978 no_cache=1
2979 fi
2980
2981 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2982
2983fi;
2984
2985 eval "$ac_cv_use_odbc"
2986 if test "$no_cache" != 1; then
2987 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2988 fi
2989
2990 if test "$wxUSE_ODBC" = yes; then
2991 echo "$as_me:$LINENO: result: yes" >&5
2992echo "${ECHO_T}yes" >&6
2993 elif test "$wxUSE_ODBC" = no; then
2994 echo "$as_me:$LINENO: result: no" >&5
2995echo "${ECHO_T}no" >&6
2996 elif test "$wxUSE_ODBC" = sys; then
2997 echo "$as_me:$LINENO: result: system version" >&5
2998echo "${ECHO_T}system version" >&6
2999 elif test "$wxUSE_ODBC" = builtin; then
3000 echo "$as_me:$LINENO: result: builtin version" >&5
3001echo "${ECHO_T}builtin version" >&6
3002 else
3003 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3004echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3005 { (exit 1); exit 1; }; }
3006 fi
3007
3008
3009
3010
3011 enablestring=
3012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3013echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3014 no_cache=0
3015 # Check whether --enable-shared or --disable-shared was given.
3016if test "${enable_shared+set}" = set; then
3017 enableval="$enable_shared"
3018
3019 if test "$enableval" = yes; then
3020 ac_cv_use_shared='wxUSE_SHARED=yes'
3021 else
3022 ac_cv_use_shared='wxUSE_SHARED=no'
3023 fi
3024
3025else
3026
3027 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3028 if test "x$LINE" != x ; then
3029 eval "DEFAULT_$LINE"
3030 else
3031 no_cache=1
3032 fi
3033
3034 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3035
3036fi;
3037
3038 eval "$ac_cv_use_shared"
3039 if test "$no_cache" != 1; then
3040 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3041 fi
3042
3043 if test "$wxUSE_SHARED" = yes; then
3044 echo "$as_me:$LINENO: result: yes" >&5
3045echo "${ECHO_T}yes" >&6
3046 else
3047 echo "$as_me:$LINENO: result: no" >&5
3048echo "${ECHO_T}no" >&6
3049 fi
3050
3051
3052 enablestring=
3053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3054echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3055 no_cache=0
3056 # Check whether --enable-optimise or --disable-optimise was given.
3057if test "${enable_optimise+set}" = set; then
3058 enableval="$enable_optimise"
3059
3060 if test "$enableval" = yes; then
3061 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3062 else
3063 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3064 fi
3065
3066else
3067
3068 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3069 if test "x$LINE" != x ; then
3070 eval "DEFAULT_$LINE"
3071 else
3072 no_cache=1
3073 fi
3074
3075 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3076
3077fi;
3078
3079 eval "$ac_cv_use_optimise"
3080 if test "$no_cache" != 1; then
3081 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3082 fi
3083
3084 if test "$wxUSE_OPTIMISE" = yes; then
3085 echo "$as_me:$LINENO: result: yes" >&5
3086echo "${ECHO_T}yes" >&6
3087 else
3088 echo "$as_me:$LINENO: result: no" >&5
3089echo "${ECHO_T}no" >&6
3090 fi
3091
3092
3093 enablestring=
3094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3095echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3096 no_cache=0
3097 # Check whether --enable-debug or --disable-debug was given.
3098if test "${enable_debug+set}" = set; then
3099 enableval="$enable_debug"
3100
3101 if test "$enableval" = yes; then
3102 ac_cv_use_debug='wxUSE_DEBUG=yes'
3103 else
3104 ac_cv_use_debug='wxUSE_DEBUG=no'
3105 fi
3106
3107else
3108
3109 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3110 if test "x$LINE" != x ; then
3111 eval "DEFAULT_$LINE"
3112 else
3113 no_cache=1
3114 fi
3115
3116 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3117
3118fi;
3119
3120 eval "$ac_cv_use_debug"
3121 if test "$no_cache" != 1; then
3122 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3123 fi
3124
3125 if test "$wxUSE_DEBUG" = yes; then
3126 echo "$as_me:$LINENO: result: yes" >&5
3127echo "${ECHO_T}yes" >&6
3128 else
3129 echo "$as_me:$LINENO: result: no" >&5
3130echo "${ECHO_T}no" >&6
3131 fi
3132
3133
3134
3135 enablestring=
3136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-precomp" >&5
3137echo $ECHO_N "checking for --${enablestring:-enable}-precomp... $ECHO_C" >&6
3138 no_cache=0
3139 # Check whether --enable-precomp or --disable-precomp was given.
3140if test "${enable_precomp+set}" = set; then
3141 enableval="$enable_precomp"
3142
3143 if test "$enableval" = yes; then
3144 ac_cv_use_precomp='wxUSE_PRECOMP=yes'
3145 else
3146 ac_cv_use_precomp='wxUSE_PRECOMP=no'
3147 fi
3148
3149else
3150
3151 LINE=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
3152 if test "x$LINE" != x ; then
3153 eval "DEFAULT_$LINE"
3154 else
3155 no_cache=1
3156 fi
3157
3158 ac_cv_use_precomp='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
3159
3160fi;
3161
3162 eval "$ac_cv_use_precomp"
3163 if test "$no_cache" != 1; then
3164 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
3165 fi
3166
3167 if test "$wxUSE_PRECOMP" = yes; then
3168 echo "$as_me:$LINENO: result: yes" >&5
3169echo "${ECHO_T}yes" >&6
3170 else
3171 echo "$as_me:$LINENO: result: no" >&5
3172echo "${ECHO_T}no" >&6
3173 fi
3174
3175
3176if test "$wxUSE_DEBUG" = "yes"; then
3177 DEFAULT_wxUSE_DEBUG_FLAG=yes
3178 DEFAULT_wxUSE_DEBUG_INFO=yes
3179elif test "$wxUSE_DEBUG" = "no"; then
3180 DEFAULT_wxUSE_DEBUG_FLAG=no
3181 DEFAULT_wxUSE_DEBUG_INFO=no
3182fi
3183
3184
3185 enablestring=
3186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3187echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3188 no_cache=0
3189 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3190if test "${enable_debug_flag+set}" = set; then
3191 enableval="$enable_debug_flag"
3192
3193 if test "$enableval" = yes; then
3194 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3195 else
3196 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3197 fi
3198
3199else
3200
3201 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3202 if test "x$LINE" != x ; then
3203 eval "DEFAULT_$LINE"
3204 else
3205 no_cache=1
3206 fi
3207
3208 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3209
3210fi;
3211
3212 eval "$ac_cv_use_debug_flag"
3213 if test "$no_cache" != 1; then
3214 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3215 fi
3216
3217 if test "$wxUSE_DEBUG_FLAG" = yes; then
3218 echo "$as_me:$LINENO: result: yes" >&5
3219echo "${ECHO_T}yes" >&6
3220 else
3221 echo "$as_me:$LINENO: result: no" >&5
3222echo "${ECHO_T}no" >&6
3223 fi
3224
3225
3226 enablestring=
3227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3228echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3229 no_cache=0
3230 # Check whether --enable-debug_info or --disable-debug_info was given.
3231if test "${enable_debug_info+set}" = set; then
3232 enableval="$enable_debug_info"
3233
3234 if test "$enableval" = yes; then
3235 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3236 else
3237 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3238 fi
3239
3240else
3241
3242 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3243 if test "x$LINE" != x ; then
3244 eval "DEFAULT_$LINE"
3245 else
3246 no_cache=1
3247 fi
3248
3249 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3250
3251fi;
3252
3253 eval "$ac_cv_use_debug_info"
3254 if test "$no_cache" != 1; then
3255 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3256 fi
3257
3258 if test "$wxUSE_DEBUG_INFO" = yes; then
3259 echo "$as_me:$LINENO: result: yes" >&5
3260echo "${ECHO_T}yes" >&6
3261 else
3262 echo "$as_me:$LINENO: result: no" >&5
3263echo "${ECHO_T}no" >&6
3264 fi
3265
3266
3267 enablestring=
3268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3269echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3270 no_cache=0
3271 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3272if test "${enable_debug_gdb+set}" = set; then
3273 enableval="$enable_debug_gdb"
3274
3275 if test "$enableval" = yes; then
3276 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3277 else
3278 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3279 fi
3280
3281else
3282
3283 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3284 if test "x$LINE" != x ; then
3285 eval "DEFAULT_$LINE"
3286 else
3287 no_cache=1
3288 fi
3289
3290 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3291
3292fi;
3293
3294 eval "$ac_cv_use_debug_gdb"
3295 if test "$no_cache" != 1; then
3296 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3297 fi
3298
3299 if test "$wxUSE_DEBUG_GDB" = yes; then
3300 echo "$as_me:$LINENO: result: yes" >&5
3301echo "${ECHO_T}yes" >&6
3302 else
3303 echo "$as_me:$LINENO: result: no" >&5
3304echo "${ECHO_T}no" >&6
3305 fi
3306
3307
3308 enablestring=
3309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3310echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3311 no_cache=0
3312 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3313if test "${enable_debug_cntxt+set}" = set; then
3314 enableval="$enable_debug_cntxt"
3315
3316 if test "$enableval" = yes; then
3317 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3318 else
3319 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3320 fi
3321
3322else
3323
3324 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3325 if test "x$LINE" != x ; then
3326 eval "DEFAULT_$LINE"
3327 else
3328 no_cache=1
3329 fi
3330
3331 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3332
3333fi;
3334
3335 eval "$ac_cv_use_debug_cntxt"
3336 if test "$no_cache" != 1; then
3337 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3338 fi
3339
3340 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3341 echo "$as_me:$LINENO: result: yes" >&5
3342echo "${ECHO_T}yes" >&6
3343 else
3344 echo "$as_me:$LINENO: result: no" >&5
3345echo "${ECHO_T}no" >&6
3346 fi
3347
3348
3349 enablestring=
3350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3351echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3352 no_cache=0
3353 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3354if test "${enable_mem_tracing+set}" = set; then
3355 enableval="$enable_mem_tracing"
3356
3357 if test "$enableval" = yes; then
3358 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3359 else
3360 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3361 fi
3362
3363else
3364
3365 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3366 if test "x$LINE" != x ; then
3367 eval "DEFAULT_$LINE"
3368 else
3369 no_cache=1
3370 fi
3371
3372 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3373
3374fi;
3375
3376 eval "$ac_cv_use_mem_tracing"
3377 if test "$no_cache" != 1; then
3378 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3379 fi
3380
3381 if test "$wxUSE_MEM_TRACING" = yes; then
3382 echo "$as_me:$LINENO: result: yes" >&5
3383echo "${ECHO_T}yes" >&6
3384 else
3385 echo "$as_me:$LINENO: result: no" >&5
3386echo "${ECHO_T}no" >&6
3387 fi
3388
3389
3390 enablestring=
3391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3392echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3393 no_cache=0
3394 # Check whether --enable-profile or --disable-profile was given.
3395if test "${enable_profile+set}" = set; then
3396 enableval="$enable_profile"
3397
3398 if test "$enableval" = yes; then
3399 ac_cv_use_profile='wxUSE_PROFILE=yes'
3400 else
3401 ac_cv_use_profile='wxUSE_PROFILE=no'
3402 fi
3403
3404else
3405
3406 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3407 if test "x$LINE" != x ; then
3408 eval "DEFAULT_$LINE"
3409 else
3410 no_cache=1
3411 fi
3412
3413 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3414
3415fi;
3416
3417 eval "$ac_cv_use_profile"
3418 if test "$no_cache" != 1; then
3419 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3420 fi
3421
3422 if test "$wxUSE_PROFILE" = yes; then
3423 echo "$as_me:$LINENO: result: yes" >&5
3424echo "${ECHO_T}yes" >&6
3425 else
3426 echo "$as_me:$LINENO: result: no" >&5
3427echo "${ECHO_T}no" >&6
3428 fi
3429
3430
3431 enablestring=
3432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3433echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3434 no_cache=0
3435 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3436if test "${enable_no_rtti+set}" = set; then
3437 enableval="$enable_no_rtti"
3438
3439 if test "$enableval" = yes; then
3440 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3441 else
3442 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3443 fi
3444
3445else
3446
3447 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3448 if test "x$LINE" != x ; then
3449 eval "DEFAULT_$LINE"
3450 else
3451 no_cache=1
3452 fi
3453
3454 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3455
3456fi;
3457
3458 eval "$ac_cv_use_no_rtti"
3459 if test "$no_cache" != 1; then
3460 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3461 fi
3462
3463 if test "$wxUSE_NO_RTTI" = yes; then
3464 echo "$as_me:$LINENO: result: yes" >&5
3465echo "${ECHO_T}yes" >&6
3466 else
3467 echo "$as_me:$LINENO: result: no" >&5
3468echo "${ECHO_T}no" >&6
3469 fi
3470
3471
3472 enablestring=
3473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3474echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3475 no_cache=0
3476 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3477if test "${enable_no_exceptions+set}" = set; then
3478 enableval="$enable_no_exceptions"
3479
3480 if test "$enableval" = yes; then
3481 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3482 else
3483 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3484 fi
3485
3486else
3487
3488 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3489 if test "x$LINE" != x ; then
3490 eval "DEFAULT_$LINE"
3491 else
3492 no_cache=1
3493 fi
3494
3495 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3496
3497fi;
3498
3499 eval "$ac_cv_use_no_exceptions"
3500 if test "$no_cache" != 1; then
3501 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3502 fi
3503
3504 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3505 echo "$as_me:$LINENO: result: yes" >&5
3506echo "${ECHO_T}yes" >&6
3507 else
3508 echo "$as_me:$LINENO: result: no" >&5
3509echo "${ECHO_T}no" >&6
3510 fi
3511
3512
3513 enablestring=
3514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3515echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3516 no_cache=0
3517 # Check whether --enable-permissive or --disable-permissive was given.
3518if test "${enable_permissive+set}" = set; then
3519 enableval="$enable_permissive"
3520
3521 if test "$enableval" = yes; then
3522 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3523 else
3524 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3525 fi
3526
3527else
3528
3529 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3530 if test "x$LINE" != x ; then
3531 eval "DEFAULT_$LINE"
3532 else
3533 no_cache=1
3534 fi
3535
3536 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3537
3538fi;
3539
3540 eval "$ac_cv_use_permissive"
3541 if test "$no_cache" != 1; then
3542 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3543 fi
3544
3545 if test "$wxUSE_PERMISSIVE" = yes; then
3546 echo "$as_me:$LINENO: result: yes" >&5
3547echo "${ECHO_T}yes" >&6
3548 else
3549 echo "$as_me:$LINENO: result: no" >&5
3550echo "${ECHO_T}no" >&6
3551 fi
3552
3553
3554 enablestring=
3555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3556echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3557 no_cache=0
3558 # Check whether --enable-no_deps or --disable-no_deps was given.
3559if test "${enable_no_deps+set}" = set; then
3560 enableval="$enable_no_deps"
3561
3562 if test "$enableval" = yes; then
3563 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3564 else
3565 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3566 fi
3567
3568else
3569
3570 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3571 if test "x$LINE" != x ; then
3572 eval "DEFAULT_$LINE"
3573 else
3574 no_cache=1
3575 fi
3576
3577 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3578
3579fi;
3580
3581 eval "$ac_cv_use_no_deps"
3582 if test "$no_cache" != 1; then
3583 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3584 fi
3585
3586 if test "$wxUSE_NO_DEPS" = yes; then
3587 echo "$as_me:$LINENO: result: yes" >&5
3588echo "${ECHO_T}yes" >&6
3589 else
3590 echo "$as_me:$LINENO: result: no" >&5
3591echo "${ECHO_T}no" >&6
3592 fi
3593
3594
3595
3596 enablestring=
3597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat20" >&5
3598echo $ECHO_N "checking for --${enablestring:-enable}-compat20... $ECHO_C" >&6
3599 no_cache=0
3600 # Check whether --enable-compat20 or --disable-compat20 was given.
3601if test "${enable_compat20+set}" = set; then
3602 enableval="$enable_compat20"
3603
3604 if test "$enableval" = yes; then
3605 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=yes'
3606 else
3607 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=no'
3608 fi
3609
3610else
3611
3612 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3613 if test "x$LINE" != x ; then
3614 eval "DEFAULT_$LINE"
3615 else
3616 no_cache=1
3617 fi
3618
3619 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3620
3621fi;
3622
3623 eval "$ac_cv_use_compat20"
3624 if test "$no_cache" != 1; then
3625 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3626 fi
3627
3628 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3629 echo "$as_me:$LINENO: result: yes" >&5
3630echo "${ECHO_T}yes" >&6
3631 else
3632 echo "$as_me:$LINENO: result: no" >&5
3633echo "${ECHO_T}no" >&6
3634 fi
3635
3636
3637 enablestring=
3638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3639echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3640 no_cache=0
3641 # Check whether --enable-compat22 or --disable-compat22 was given.
3642if test "${enable_compat22+set}" = set; then
3643 enableval="$enable_compat22"
3644
3645 if test "$enableval" = yes; then
3646 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3647 else
3648 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3649 fi
3650
3651else
3652
3653 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3654 if test "x$LINE" != x ; then
3655 eval "DEFAULT_$LINE"
3656 else
3657 no_cache=1
3658 fi
3659
3660 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3661
3662fi;
3663
3664 eval "$ac_cv_use_compat22"
3665 if test "$no_cache" != 1; then
3666 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3667 fi
3668
3669 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3670 echo "$as_me:$LINENO: result: yes" >&5
3671echo "${ECHO_T}yes" >&6
3672 else
3673 echo "$as_me:$LINENO: result: no" >&5
3674echo "${ECHO_T}no" >&6
3675 fi
3676
3677
3678 enablestring=disable
3679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3680echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3681 no_cache=0
3682 # Check whether --enable-compat24 or --disable-compat24 was given.
3683if test "${enable_compat24+set}" = set; then
3684 enableval="$enable_compat24"
3685
3686 if test "$enableval" = yes; then
3687 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3688 else
3689 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3690 fi
3691
3692else
3693
3694 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3695 if test "x$LINE" != x ; then
3696 eval "DEFAULT_$LINE"
3697 else
3698 no_cache=1
3699 fi
3700
3701 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3702
3703fi;
3704
3705 eval "$ac_cv_use_compat24"
3706 if test "$no_cache" != 1; then
3707 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3708 fi
3709
3710 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3711 echo "$as_me:$LINENO: result: yes" >&5
3712echo "${ECHO_T}yes" >&6
3713 else
3714 echo "$as_me:$LINENO: result: no" >&5
3715echo "${ECHO_T}no" >&6
3716 fi
3717
3718
3719# Check whether --enable-rpath or --disable-rpath was given.
3720if test "${enable_rpath+set}" = set; then
3721 enableval="$enable_rpath"
3722 wxRPATH_DIR="$enableval"
3723fi;
3724
3725if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3726 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3727fi
3728
3729
3730
3731
3732 enablestring=
3733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3734echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3735 no_cache=0
3736 # Check whether --enable-intl or --disable-intl was given.
3737if test "${enable_intl+set}" = set; then
3738 enableval="$enable_intl"
3739
3740 if test "$enableval" = yes; then
3741 ac_cv_use_intl='wxUSE_INTL=yes'
3742 else
3743 ac_cv_use_intl='wxUSE_INTL=no'
3744 fi
3745
3746else
3747
3748 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3749 if test "x$LINE" != x ; then
3750 eval "DEFAULT_$LINE"
3751 else
3752 no_cache=1
3753 fi
3754
3755 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3756
3757fi;
3758
3759 eval "$ac_cv_use_intl"
3760 if test "$no_cache" != 1; then
3761 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3762 fi
3763
3764 if test "$wxUSE_INTL" = yes; then
3765 echo "$as_me:$LINENO: result: yes" >&5
3766echo "${ECHO_T}yes" >&6
3767 else
3768 echo "$as_me:$LINENO: result: no" >&5
3769echo "${ECHO_T}no" >&6
3770 fi
3771
3772
3773 enablestring=
3774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3775echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3776 no_cache=0
3777 # Check whether --enable-config or --disable-config was given.
3778if test "${enable_config+set}" = set; then
3779 enableval="$enable_config"
3780
3781 if test "$enableval" = yes; then
3782 ac_cv_use_config='wxUSE_CONFIG=yes'
3783 else
3784 ac_cv_use_config='wxUSE_CONFIG=no'
3785 fi
3786
3787else
3788
3789 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3790 if test "x$LINE" != x ; then
3791 eval "DEFAULT_$LINE"
3792 else
3793 no_cache=1
3794 fi
3795
3796 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3797
3798fi;
3799
3800 eval "$ac_cv_use_config"
3801 if test "$no_cache" != 1; then
3802 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3803 fi
3804
3805 if test "$wxUSE_CONFIG" = yes; then
3806 echo "$as_me:$LINENO: result: yes" >&5
3807echo "${ECHO_T}yes" >&6
3808 else
3809 echo "$as_me:$LINENO: result: no" >&5
3810echo "${ECHO_T}no" >&6
3811 fi
3812
3813
3814
3815 enablestring=
3816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3817echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3818 no_cache=0
3819 # Check whether --enable-protocols or --disable-protocols was given.
3820if test "${enable_protocols+set}" = set; then
3821 enableval="$enable_protocols"
3822
3823 if test "$enableval" = yes; then
3824 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3825 else
3826 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3827 fi
3828
3829else
3830
3831 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3832 if test "x$LINE" != x ; then
3833 eval "DEFAULT_$LINE"
3834 else
3835 no_cache=1
3836 fi
3837
3838 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3839
3840fi;
3841
3842 eval "$ac_cv_use_protocols"
3843 if test "$no_cache" != 1; then
3844 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3845 fi
3846
3847 if test "$wxUSE_PROTOCOL" = yes; then
3848 echo "$as_me:$LINENO: result: yes" >&5
3849echo "${ECHO_T}yes" >&6
3850 else
3851 echo "$as_me:$LINENO: result: no" >&5
3852echo "${ECHO_T}no" >&6
3853 fi
3854
3855
3856 enablestring=
3857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3858echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3859 no_cache=0
3860 # Check whether --enable-ftp or --disable-ftp was given.
3861if test "${enable_ftp+set}" = set; then
3862 enableval="$enable_ftp"
3863
3864 if test "$enableval" = yes; then
3865 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3866 else
3867 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3868 fi
3869
3870else
3871
3872 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3873 if test "x$LINE" != x ; then
3874 eval "DEFAULT_$LINE"
3875 else
3876 no_cache=1
3877 fi
3878
3879 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3880
3881fi;
3882
3883 eval "$ac_cv_use_ftp"
3884 if test "$no_cache" != 1; then
3885 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3886 fi
3887
3888 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3889 echo "$as_me:$LINENO: result: yes" >&5
3890echo "${ECHO_T}yes" >&6
3891 else
3892 echo "$as_me:$LINENO: result: no" >&5
3893echo "${ECHO_T}no" >&6
3894 fi
3895
3896
3897 enablestring=
3898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3899echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3900 no_cache=0
3901 # Check whether --enable-http or --disable-http was given.
3902if test "${enable_http+set}" = set; then
3903 enableval="$enable_http"
3904
3905 if test "$enableval" = yes; then
3906 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
3907 else
3908 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
3909 fi
3910
3911else
3912
3913 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3914 if test "x$LINE" != x ; then
3915 eval "DEFAULT_$LINE"
3916 else
3917 no_cache=1
3918 fi
3919
3920 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3921
3922fi;
3923
3924 eval "$ac_cv_use_http"
3925 if test "$no_cache" != 1; then
3926 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3927 fi
3928
3929 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3930 echo "$as_me:$LINENO: result: yes" >&5
3931echo "${ECHO_T}yes" >&6
3932 else
3933 echo "$as_me:$LINENO: result: no" >&5
3934echo "${ECHO_T}no" >&6
3935 fi
3936
3937
3938 enablestring=
3939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
3940echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
3941 no_cache=0
3942 # Check whether --enable-fileproto or --disable-fileproto was given.
3943if test "${enable_fileproto+set}" = set; then
3944 enableval="$enable_fileproto"
3945
3946 if test "$enableval" = yes; then
3947 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
3948 else
3949 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
3950 fi
3951
3952else
3953
3954 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3955 if test "x$LINE" != x ; then
3956 eval "DEFAULT_$LINE"
3957 else
3958 no_cache=1
3959 fi
3960
3961 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3962
3963fi;
3964
3965 eval "$ac_cv_use_fileproto"
3966 if test "$no_cache" != 1; then
3967 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3968 fi
3969
3970 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3971 echo "$as_me:$LINENO: result: yes" >&5
3972echo "${ECHO_T}yes" >&6
3973 else
3974 echo "$as_me:$LINENO: result: no" >&5
3975echo "${ECHO_T}no" >&6
3976 fi
3977
3978
3979 enablestring=
3980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
3981echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
3982 no_cache=0
3983 # Check whether --enable-sockets or --disable-sockets was given.
3984if test "${enable_sockets+set}" = set; then
3985 enableval="$enable_sockets"
3986
3987 if test "$enableval" = yes; then
3988 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
3989 else
3990 ac_cv_use_sockets='wxUSE_SOCKETS=no'
3991 fi
3992
3993else
3994
3995 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3996 if test "x$LINE" != x ; then
3997 eval "DEFAULT_$LINE"
3998 else
3999 no_cache=1
4000 fi
4001
4002 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4003
4004fi;
4005
4006 eval "$ac_cv_use_sockets"
4007 if test "$no_cache" != 1; then
4008 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4009 fi
4010
4011 if test "$wxUSE_SOCKETS" = yes; then
4012 echo "$as_me:$LINENO: result: yes" >&5
4013echo "${ECHO_T}yes" >&6
4014 else
4015 echo "$as_me:$LINENO: result: no" >&5
4016echo "${ECHO_T}no" >&6
4017 fi
4018
4019
4020 enablestring=
4021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4022echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4023 no_cache=0
4024 # Check whether --enable-ole or --disable-ole was given.
4025if test "${enable_ole+set}" = set; then
4026 enableval="$enable_ole"
4027
4028 if test "$enableval" = yes; then
4029 ac_cv_use_ole='wxUSE_OLE=yes'
4030 else
4031 ac_cv_use_ole='wxUSE_OLE=no'
4032 fi
4033
4034else
4035
4036 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4037 if test "x$LINE" != x ; then
4038 eval "DEFAULT_$LINE"
4039 else
4040 no_cache=1
4041 fi
4042
4043 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4044
4045fi;
4046
4047 eval "$ac_cv_use_ole"
4048 if test "$no_cache" != 1; then
4049 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4050 fi
4051
4052 if test "$wxUSE_OLE" = yes; then
4053 echo "$as_me:$LINENO: result: yes" >&5
4054echo "${ECHO_T}yes" >&6
4055 else
4056 echo "$as_me:$LINENO: result: no" >&5
4057echo "${ECHO_T}no" >&6
4058 fi
4059
4060
4061 enablestring=
4062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4063echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4064 no_cache=0
4065 # Check whether --enable-dataobj or --disable-dataobj was given.
4066if test "${enable_dataobj+set}" = set; then
4067 enableval="$enable_dataobj"
4068
4069 if test "$enableval" = yes; then
4070 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4071 else
4072 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4073 fi
4074
4075else
4076
4077 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4078 if test "x$LINE" != x ; then
4079 eval "DEFAULT_$LINE"
4080 else
4081 no_cache=1
4082 fi
4083
4084 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4085
4086fi;
4087
4088 eval "$ac_cv_use_dataobj"
4089 if test "$no_cache" != 1; then
4090 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4091 fi
4092
4093 if test "$wxUSE_DATAOBJ" = yes; then
4094 echo "$as_me:$LINENO: result: yes" >&5
4095echo "${ECHO_T}yes" >&6
4096 else
4097 echo "$as_me:$LINENO: result: no" >&5
4098echo "${ECHO_T}no" >&6
4099 fi
4100
4101
4102
4103 enablestring=
4104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4105echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4106 no_cache=0
4107 # Check whether --enable-ipc or --disable-ipc was given.
4108if test "${enable_ipc+set}" = set; then
4109 enableval="$enable_ipc"
4110
4111 if test "$enableval" = yes; then
4112 ac_cv_use_ipc='wxUSE_IPC=yes'
4113 else
4114 ac_cv_use_ipc='wxUSE_IPC=no'
4115 fi
4116
4117else
4118
4119 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4120 if test "x$LINE" != x ; then
4121 eval "DEFAULT_$LINE"
4122 else
4123 no_cache=1
4124 fi
4125
4126 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4127
4128fi;
4129
4130 eval "$ac_cv_use_ipc"
4131 if test "$no_cache" != 1; then
4132 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4133 fi
4134
4135 if test "$wxUSE_IPC" = yes; then
4136 echo "$as_me:$LINENO: result: yes" >&5
4137echo "${ECHO_T}yes" >&6
4138 else
4139 echo "$as_me:$LINENO: result: no" >&5
4140echo "${ECHO_T}no" >&6
4141 fi
4142
4143
4144
4145 enablestring=
4146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4147echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4148 no_cache=0
4149 # Check whether --enable-cmdline or --disable-cmdline was given.
4150if test "${enable_cmdline+set}" = set; then
4151 enableval="$enable_cmdline"
4152
4153 if test "$enableval" = yes; then
4154 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4155 else
4156 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4157 fi
4158
4159else
4160
4161 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4162 if test "x$LINE" != x ; then
4163 eval "DEFAULT_$LINE"
4164 else
4165 no_cache=1
4166 fi
4167
4168 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4169
4170fi;
4171
4172 eval "$ac_cv_use_cmdline"
4173 if test "$no_cache" != 1; then
4174 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4175 fi
4176
4177 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4178 echo "$as_me:$LINENO: result: yes" >&5
4179echo "${ECHO_T}yes" >&6
4180 else
4181 echo "$as_me:$LINENO: result: no" >&5
4182echo "${ECHO_T}no" >&6
4183 fi
4184
4185
4186 enablestring=
4187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4188echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4189 no_cache=0
4190 # Check whether --enable-datetime or --disable-datetime was given.
4191if test "${enable_datetime+set}" = set; then
4192 enableval="$enable_datetime"
4193
4194 if test "$enableval" = yes; then
4195 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4196 else
4197 ac_cv_use_datetime='wxUSE_DATETIME=no'
4198 fi
4199
4200else
4201
4202 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4203 if test "x$LINE" != x ; then
4204 eval "DEFAULT_$LINE"
4205 else
4206 no_cache=1
4207 fi
4208
4209 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4210
4211fi;
4212
4213 eval "$ac_cv_use_datetime"
4214 if test "$no_cache" != 1; then
4215 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4216 fi
4217
4218 if test "$wxUSE_DATETIME" = yes; then
4219 echo "$as_me:$LINENO: result: yes" >&5
4220echo "${ECHO_T}yes" >&6
4221 else
4222 echo "$as_me:$LINENO: result: no" >&5
4223echo "${ECHO_T}no" >&6
4224 fi
4225
4226
4227 enablestring=
4228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4229echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4230 no_cache=0
4231 # Check whether --enable-stopwatch or --disable-stopwatch was given.
4232if test "${enable_stopwatch+set}" = set; then
4233 enableval="$enable_stopwatch"
4234
4235 if test "$enableval" = yes; then
4236 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
4237 else
4238 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
4239 fi
4240
4241else
4242
4243 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4244 if test "x$LINE" != x ; then
4245 eval "DEFAULT_$LINE"
4246 else
4247 no_cache=1
4248 fi
4249
4250 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
4251
4252fi;
4253
4254 eval "$ac_cv_use_stopwatch"
4255 if test "$no_cache" != 1; then
4256 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4257 fi
4258
4259 if test "$wxUSE_STOPWATCH" = yes; then
4260 echo "$as_me:$LINENO: result: yes" >&5
4261echo "${ECHO_T}yes" >&6
4262 else
4263 echo "$as_me:$LINENO: result: no" >&5
4264echo "${ECHO_T}no" >&6
4265 fi
4266
4267
4268 enablestring=
4269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4270echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4271 no_cache=0
4272 # Check whether --enable-dialupman or --disable-dialupman was given.
4273if test "${enable_dialupman+set}" = set; then
4274 enableval="$enable_dialupman"
4275
4276 if test "$enableval" = yes; then
4277 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4278 else
4279 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4280 fi
4281
4282else
4283
4284 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4285 if test "x$LINE" != x ; then
4286 eval "DEFAULT_$LINE"
4287 else
4288 no_cache=1
4289 fi
4290
4291 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4292
4293fi;
4294
4295 eval "$ac_cv_use_dialupman"
4296 if test "$no_cache" != 1; then
4297 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4298 fi
4299
4300 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4301 echo "$as_me:$LINENO: result: yes" >&5
4302echo "${ECHO_T}yes" >&6
4303 else
4304 echo "$as_me:$LINENO: result: no" >&5
4305echo "${ECHO_T}no" >&6
4306 fi
4307
4308
4309 enablestring=
4310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4311echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4312 no_cache=0
4313 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4314if test "${enable_apple_ieee+set}" = set; then
4315 enableval="$enable_apple_ieee"
4316
4317 if test "$enableval" = yes; then
4318 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4319 else
4320 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4321 fi
4322
4323else
4324
4325 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4326 if test "x$LINE" != x ; then
4327 eval "DEFAULT_$LINE"
4328 else
4329 no_cache=1
4330 fi
4331
4332 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4333
4334fi;
4335
4336 eval "$ac_cv_use_apple_ieee"
4337 if test "$no_cache" != 1; then
4338 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4339 fi
4340
4341 if test "$wxUSE_APPLE_IEEE" = yes; then
4342 echo "$as_me:$LINENO: result: yes" >&5
4343echo "${ECHO_T}yes" >&6
4344 else
4345 echo "$as_me:$LINENO: result: no" >&5
4346echo "${ECHO_T}no" >&6
4347 fi
4348
4349
4350 enablestring=
4351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
4352echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4353 no_cache=0
4354 # Check whether --enable-timer or --disable-timer was given.
4355if test "${enable_timer+set}" = set; then
4356 enableval="$enable_timer"
4357
4358 if test "$enableval" = yes; then
4359 ac_cv_use_timer='wxUSE_TIMER=yes'
4360 else
4361 ac_cv_use_timer='wxUSE_TIMER=no'
4362 fi
4363
4364else
4365
4366 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4367 if test "x$LINE" != x ; then
4368 eval "DEFAULT_$LINE"
4369 else
4370 no_cache=1
4371 fi
4372
4373 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
4374
4375fi;
4376
4377 eval "$ac_cv_use_timer"
4378 if test "$no_cache" != 1; then
4379 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4380 fi
4381
4382 if test "$wxUSE_TIMER" = yes; then
4383 echo "$as_me:$LINENO: result: yes" >&5
4384echo "${ECHO_T}yes" >&6
4385 else
4386 echo "$as_me:$LINENO: result: no" >&5
4387echo "${ECHO_T}no" >&6
4388 fi
4389
4390
4391 enablestring=
4392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
4393echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4394 no_cache=0
4395 # Check whether --enable-wave or --disable-wave was given.
4396if test "${enable_wave+set}" = set; then
4397 enableval="$enable_wave"
4398
4399 if test "$enableval" = yes; then
4400 ac_cv_use_wave='wxUSE_WAVE=yes'
4401 else
4402 ac_cv_use_wave='wxUSE_WAVE=no'
4403 fi
4404
4405else
4406
4407 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4408 if test "x$LINE" != x ; then
4409 eval "DEFAULT_$LINE"
4410 else
4411 no_cache=1
4412 fi
4413
4414 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
4415
4416fi;
4417
4418 eval "$ac_cv_use_wave"
4419 if test "$no_cache" != 1; then
4420 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4421 fi
4422
4423 if test "$wxUSE_WAVE" = yes; then
4424 echo "$as_me:$LINENO: result: yes" >&5
4425echo "${ECHO_T}yes" >&6
4426 else
4427 echo "$as_me:$LINENO: result: no" >&5
4428echo "${ECHO_T}no" >&6
4429 fi
4430
4431
4432 enablestring=
4433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fraction" >&5
4434echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4435 no_cache=0
4436 # Check whether --enable-fraction or --disable-fraction was given.
4437if test "${enable_fraction+set}" = set; then
4438 enableval="$enable_fraction"
4439
4440 if test "$enableval" = yes; then
4441 ac_cv_use_fraction='wxUSE_FRACTION=yes'
4442 else
4443 ac_cv_use_fraction='wxUSE_FRACTION=no'
4444 fi
4445
4446else
4447
4448 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4449 if test "x$LINE" != x ; then
4450 eval "DEFAULT_$LINE"
4451 else
4452 no_cache=1
4453 fi
4454
4455 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
4456
4457fi;
4458
4459 eval "$ac_cv_use_fraction"
4460 if test "$no_cache" != 1; then
4461 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4462 fi
4463
4464 if test "$wxUSE_FRACTION" = yes; then
4465 echo "$as_me:$LINENO: result: yes" >&5
4466echo "${ECHO_T}yes" >&6
4467 else
4468 echo "$as_me:$LINENO: result: no" >&5
4469echo "${ECHO_T}no" >&6
4470 fi
4471
4472
4473 enablestring=
4474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4475echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4476 no_cache=0
4477 # Check whether --enable-dynlib or --disable-dynlib was given.
4478if test "${enable_dynlib+set}" = set; then
4479 enableval="$enable_dynlib"
4480
4481 if test "$enableval" = yes; then
4482 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4483 else
4484 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4485 fi
4486
4487else
4488
4489 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4490 if test "x$LINE" != x ; then
4491 eval "DEFAULT_$LINE"
4492 else
4493 no_cache=1
4494 fi
4495
4496 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4497
4498fi;
4499
4500 eval "$ac_cv_use_dynlib"
4501 if test "$no_cache" != 1; then
4502 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4503 fi
4504
4505 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4506 echo "$as_me:$LINENO: result: yes" >&5
4507echo "${ECHO_T}yes" >&6
4508 else
4509 echo "$as_me:$LINENO: result: no" >&5
4510echo "${ECHO_T}no" >&6
4511 fi
4512
4513
4514 enablestring=
4515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4516echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4517 no_cache=0
4518 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4519if test "${enable_dynamicloader+set}" = set; then
4520 enableval="$enable_dynamicloader"
4521
4522 if test "$enableval" = yes; then
4523 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4524 else
4525 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4526 fi
4527
4528else
4529
4530 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4531 if test "x$LINE" != x ; then
4532 eval "DEFAULT_$LINE"
4533 else
4534 no_cache=1
4535 fi
4536
4537 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4538
4539fi;
4540
4541 eval "$ac_cv_use_dynamicloader"
4542 if test "$no_cache" != 1; then
4543 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4544 fi
4545
4546 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4547 echo "$as_me:$LINENO: result: yes" >&5
4548echo "${ECHO_T}yes" >&6
4549 else
4550 echo "$as_me:$LINENO: result: no" >&5
4551echo "${ECHO_T}no" >&6
4552 fi
4553
4554
4555 enablestring=
4556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4557echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4558 no_cache=0
4559 # Check whether --enable-longlong or --disable-longlong was given.
4560if test "${enable_longlong+set}" = set; then
4561 enableval="$enable_longlong"
4562
4563 if test "$enableval" = yes; then
4564 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
4565 else
4566 ac_cv_use_longlong='wxUSE_LONGLONG=no'
4567 fi
4568
4569else
4570
4571 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4572 if test "x$LINE" != x ; then
4573 eval "DEFAULT_$LINE"
4574 else
4575 no_cache=1
4576 fi
4577
4578 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4579
4580fi;
4581
4582 eval "$ac_cv_use_longlong"
4583 if test "$no_cache" != 1; then
4584 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4585 fi
4586
4587 if test "$wxUSE_LONGLONG" = yes; then
4588 echo "$as_me:$LINENO: result: yes" >&5
4589echo "${ECHO_T}yes" >&6
4590 else
4591 echo "$as_me:$LINENO: result: no" >&5
4592echo "${ECHO_T}no" >&6
4593 fi
4594
4595
4596 enablestring=
4597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4598echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4599 no_cache=0
4600 # Check whether --enable-geometry or --disable-geometry was given.
4601if test "${enable_geometry+set}" = set; then
4602 enableval="$enable_geometry"
4603
4604 if test "$enableval" = yes; then
4605 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4606 else
4607 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4608 fi
4609
4610else
4611
4612 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4613 if test "x$LINE" != x ; then
4614 eval "DEFAULT_$LINE"
4615 else
4616 no_cache=1
4617 fi
4618
4619 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4620
4621fi;
4622
4623 eval "$ac_cv_use_geometry"
4624 if test "$no_cache" != 1; then
4625 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4626 fi
4627
4628 if test "$wxUSE_GEOMETRY" = yes; then
4629 echo "$as_me:$LINENO: result: yes" >&5
4630echo "${ECHO_T}yes" >&6
4631 else
4632 echo "$as_me:$LINENO: result: no" >&5
4633echo "${ECHO_T}no" >&6
4634 fi
4635
4636
4637 enablestring=
4638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4639echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4640 no_cache=0
4641 # Check whether --enable-log or --disable-log was given.
4642if test "${enable_log+set}" = set; then
4643 enableval="$enable_log"
4644
4645 if test "$enableval" = yes; then
4646 ac_cv_use_log='wxUSE_LOG=yes'
4647 else
4648 ac_cv_use_log='wxUSE_LOG=no'
4649 fi
4650
4651else
4652
4653 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4654 if test "x$LINE" != x ; then
4655 eval "DEFAULT_$LINE"
4656 else
4657 no_cache=1
4658 fi
4659
4660 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4661
4662fi;
4663
4664 eval "$ac_cv_use_log"
4665 if test "$no_cache" != 1; then
4666 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4667 fi
4668
4669 if test "$wxUSE_LOG" = yes; then
4670 echo "$as_me:$LINENO: result: yes" >&5
4671echo "${ECHO_T}yes" >&6
4672 else
4673 echo "$as_me:$LINENO: result: no" >&5
4674echo "${ECHO_T}no" >&6
4675 fi
4676
4677
4678 enablestring=
4679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
4680echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4681 no_cache=0
4682 # Check whether --enable-streams or --disable-streams was given.
4683if test "${enable_streams+set}" = set; then
4684 enableval="$enable_streams"
4685
4686 if test "$enableval" = yes; then
4687 ac_cv_use_streams='wxUSE_STREAMS=yes'
4688 else
4689 ac_cv_use_streams='wxUSE_STREAMS=no'
4690 fi
4691
4692else
4693
4694 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4695 if test "x$LINE" != x ; then
4696 eval "DEFAULT_$LINE"
4697 else
4698 no_cache=1
4699 fi
4700
4701 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4702
4703fi;
4704
4705 eval "$ac_cv_use_streams"
4706 if test "$no_cache" != 1; then
4707 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4708 fi
4709
4710 if test "$wxUSE_STREAMS" = yes; then
4711 echo "$as_me:$LINENO: result: yes" >&5
4712echo "${ECHO_T}yes" >&6
4713 else
4714 echo "$as_me:$LINENO: result: no" >&5
4715echo "${ECHO_T}no" >&6
4716 fi
4717
4718
4719 enablestring=
4720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4721echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4722 no_cache=0
4723 # Check whether --enable-file or --disable-file was given.
4724if test "${enable_file+set}" = set; then
4725 enableval="$enable_file"
4726
4727 if test "$enableval" = yes; then
4728 ac_cv_use_file='wxUSE_FILE=yes'
4729 else
4730 ac_cv_use_file='wxUSE_FILE=no'
4731 fi
4732
4733else
4734
4735 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4736 if test "x$LINE" != x ; then
4737 eval "DEFAULT_$LINE"
4738 else
4739 no_cache=1
4740 fi
4741
4742 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4743
4744fi;
4745
4746 eval "$ac_cv_use_file"
4747 if test "$no_cache" != 1; then
4748 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4749 fi
4750
4751 if test "$wxUSE_FILE" = yes; then
4752 echo "$as_me:$LINENO: result: yes" >&5
4753echo "${ECHO_T}yes" >&6
4754 else
4755 echo "$as_me:$LINENO: result: no" >&5
4756echo "${ECHO_T}no" >&6
4757 fi
4758
4759
4760 enablestring=
4761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4762echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4763 no_cache=0
4764 # Check whether --enable-ffile or --disable-ffile was given.
4765if test "${enable_ffile+set}" = set; then
4766 enableval="$enable_ffile"
4767
4768 if test "$enableval" = yes; then
4769 ac_cv_use_ffile='wxUSE_FFILE=yes'
4770 else
4771 ac_cv_use_ffile='wxUSE_FFILE=no'
4772 fi
4773
4774else
4775
4776 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4777 if test "x$LINE" != x ; then
4778 eval "DEFAULT_$LINE"
4779 else
4780 no_cache=1
4781 fi
4782
4783 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4784
4785fi;
4786
4787 eval "$ac_cv_use_ffile"
4788 if test "$no_cache" != 1; then
4789 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4790 fi
4791
4792 if test "$wxUSE_FFILE" = yes; then
4793 echo "$as_me:$LINENO: result: yes" >&5
4794echo "${ECHO_T}yes" >&6
4795 else
4796 echo "$as_me:$LINENO: result: no" >&5
4797echo "${ECHO_T}no" >&6
4798 fi
4799
4800
4801 enablestring=
4802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
4803echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4804 no_cache=0
4805 # Check whether --enable-textbuf or --disable-textbuf was given.
4806if test "${enable_textbuf+set}" = set; then
4807 enableval="$enable_textbuf"
4808
4809 if test "$enableval" = yes; then
4810 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
4811 else
4812 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
4813 fi
4814
4815else
4816
4817 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4818 if test "x$LINE" != x ; then
4819 eval "DEFAULT_$LINE"
4820 else
4821 no_cache=1
4822 fi
4823
4824 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4825
4826fi;
4827
4828 eval "$ac_cv_use_textbuf"
4829 if test "$no_cache" != 1; then
4830 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4831 fi
4832
4833 if test "$wxUSE_TEXTBUFFER" = yes; then
4834 echo "$as_me:$LINENO: result: yes" >&5
4835echo "${ECHO_T}yes" >&6
4836 else
4837 echo "$as_me:$LINENO: result: no" >&5
4838echo "${ECHO_T}no" >&6
4839 fi
4840
4841
4842 enablestring=
4843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
4844echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4845 no_cache=0
4846 # Check whether --enable-textfile or --disable-textfile was given.
4847if test "${enable_textfile+set}" = set; then
4848 enableval="$enable_textfile"
4849
4850 if test "$enableval" = yes; then
4851 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
4852 else
4853 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
4854 fi
4855
4856else
4857
4858 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4859 if test "x$LINE" != x ; then
4860 eval "DEFAULT_$LINE"
4861 else
4862 no_cache=1
4863 fi
4864
4865 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4866
4867fi;
4868
4869 eval "$ac_cv_use_textfile"
4870 if test "$no_cache" != 1; then
4871 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4872 fi
4873
4874 if test "$wxUSE_TEXTFILE" = yes; then
4875 echo "$as_me:$LINENO: result: yes" >&5
4876echo "${ECHO_T}yes" >&6
4877 else
4878 echo "$as_me:$LINENO: result: no" >&5
4879echo "${ECHO_T}no" >&6
4880 fi
4881
4882
4883 enablestring=
4884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4885echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4886 no_cache=0
4887 # Check whether --enable-fontmap or --disable-fontmap was given.
4888if test "${enable_fontmap+set}" = set; then
4889 enableval="$enable_fontmap"
4890
4891 if test "$enableval" = yes; then
4892 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4893 else
4894 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4895 fi
4896
4897else
4898
4899 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4900 if test "x$LINE" != x ; then
4901 eval "DEFAULT_$LINE"
4902 else
4903 no_cache=1
4904 fi
4905
4906 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4907
4908fi;
4909
4910 eval "$ac_cv_use_fontmap"
4911 if test "$no_cache" != 1; then
4912 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4913 fi
4914
4915 if test "$wxUSE_FONTMAP" = yes; then
4916 echo "$as_me:$LINENO: result: yes" >&5
4917echo "${ECHO_T}yes" >&6
4918 else
4919 echo "$as_me:$LINENO: result: no" >&5
4920echo "${ECHO_T}no" >&6
4921 fi
4922
4923
4924 enablestring=
4925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4926echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
4927 no_cache=0
4928 # Check whether --enable-unicode or --disable-unicode was given.
4929if test "${enable_unicode+set}" = set; then
4930 enableval="$enable_unicode"
4931
4932 if test "$enableval" = yes; then
4933 ac_cv_use_unicode='wxUSE_UNICODE=yes'
4934 else
4935 ac_cv_use_unicode='wxUSE_UNICODE=no'
4936 fi
4937
4938else
4939
4940 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4941 if test "x$LINE" != x ; then
4942 eval "DEFAULT_$LINE"
4943 else
4944 no_cache=1
4945 fi
4946
4947 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4948
4949fi;
4950
4951 eval "$ac_cv_use_unicode"
4952 if test "$no_cache" != 1; then
4953 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4954 fi
4955
4956 if test "$wxUSE_UNICODE" = yes; then
4957 echo "$as_me:$LINENO: result: yes" >&5
4958echo "${ECHO_T}yes" >&6
4959 else
4960 echo "$as_me:$LINENO: result: no" >&5
4961echo "${ECHO_T}no" >&6
4962 fi
4963
4964
4965 enablestring=
4966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4967echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
4968 no_cache=0
4969 # Check whether --enable-mslu or --disable-mslu was given.
4970if test "${enable_mslu+set}" = set; then
4971 enableval="$enable_mslu"
4972
4973 if test "$enableval" = yes; then
4974 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4975 else
4976 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4977 fi
4978
4979else
4980
4981 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4982 if test "x$LINE" != x ; then
4983 eval "DEFAULT_$LINE"
4984 else
4985 no_cache=1
4986 fi
4987
4988 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4989
4990fi;
4991
4992 eval "$ac_cv_use_mslu"
4993 if test "$no_cache" != 1; then
4994 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4995 fi
4996
4997 if test "$wxUSE_UNICODE_MSLU" = yes; then
4998 echo "$as_me:$LINENO: result: yes" >&5
4999echo "${ECHO_T}yes" >&6
5000 else
5001 echo "$as_me:$LINENO: result: no" >&5
5002echo "${ECHO_T}no" >&6
5003 fi
5004
5005
5006 enablestring=
5007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5008echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5009 no_cache=0
5010 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5011if test "${enable_wxprintfv+set}" = set; then
5012 enableval="$enable_wxprintfv"
5013
5014 if test "$enableval" = yes; then
5015 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5016 else
5017 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5018 fi
5019
5020else
5021
5022 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5023 if test "x$LINE" != x ; then
5024 eval "DEFAULT_$LINE"
5025 else
5026 no_cache=1
5027 fi
5028
5029 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5030
5031fi;
5032
5033 eval "$ac_cv_use_wxprintfv"
5034 if test "$no_cache" != 1; then
5035 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5036 fi
5037
5038 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5039 echo "$as_me:$LINENO: result: yes" >&5
5040echo "${ECHO_T}yes" >&6
5041 else
5042 echo "$as_me:$LINENO: result: no" >&5
5043echo "${ECHO_T}no" >&6
5044 fi
5045
5046
5047 enablestring=
5048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5049echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5050 no_cache=0
5051 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5052if test "${enable_std_iostreams+set}" = set; then
5053 enableval="$enable_std_iostreams"
5054
5055 if test "$enableval" = yes; then
5056 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5057 else
5058 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5059 fi
5060
5061else
5062
5063 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5064 if test "x$LINE" != x ; then
5065 eval "DEFAULT_$LINE"
5066 else
5067 no_cache=1
5068 fi
5069
5070 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5071
5072fi;
5073
5074 eval "$ac_cv_use_std_iostreams"
5075 if test "$no_cache" != 1; then
5076 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5077 fi
5078
5079 if test "$wxUSE_STD_IOSTREAM" = yes; then
5080 echo "$as_me:$LINENO: result: yes" >&5
5081echo "${ECHO_T}yes" >&6
5082 else
5083 echo "$as_me:$LINENO: result: no" >&5
5084echo "${ECHO_T}no" >&6
5085 fi
5086
5087
5088 enablestring=
5089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5090echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5091 no_cache=0
5092 # Check whether --enable-filesystem or --disable-filesystem was given.
5093if test "${enable_filesystem+set}" = set; then
5094 enableval="$enable_filesystem"
5095
5096 if test "$enableval" = yes; then
5097 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5098 else
5099 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5100 fi
5101
5102else
5103
5104 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5105 if test "x$LINE" != x ; then
5106 eval "DEFAULT_$LINE"
5107 else
5108 no_cache=1
5109 fi
5110
5111 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5112
5113fi;
5114
5115 eval "$ac_cv_use_filesystem"
5116 if test "$no_cache" != 1; then
5117 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5118 fi
5119
5120 if test "$wxUSE_FILESYSTEM" = yes; then
5121 echo "$as_me:$LINENO: result: yes" >&5
5122echo "${ECHO_T}yes" >&6
5123 else
5124 echo "$as_me:$LINENO: result: no" >&5
5125echo "${ECHO_T}no" >&6
5126 fi
5127
5128
5129 enablestring=
5130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5131echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5132 no_cache=0
5133 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5134if test "${enable_fs_inet+set}" = set; then
5135 enableval="$enable_fs_inet"
5136
5137 if test "$enableval" = yes; then
5138 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5139 else
5140 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5141 fi
5142
5143else
5144
5145 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5146 if test "x$LINE" != x ; then
5147 eval "DEFAULT_$LINE"
5148 else
5149 no_cache=1
5150 fi
5151
5152 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5153
5154fi;
5155
5156 eval "$ac_cv_use_fs_inet"
5157 if test "$no_cache" != 1; then
5158 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5159 fi
5160
5161 if test "$wxUSE_FS_INET" = yes; then
5162 echo "$as_me:$LINENO: result: yes" >&5
5163echo "${ECHO_T}yes" >&6
5164 else
5165 echo "$as_me:$LINENO: result: no" >&5
5166echo "${ECHO_T}no" >&6
5167 fi
5168
5169
5170 enablestring=
5171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5172echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5173 no_cache=0
5174 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5175if test "${enable_fs_zip+set}" = set; then
5176 enableval="$enable_fs_zip"
5177
5178 if test "$enableval" = yes; then
5179 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5180 else
5181 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5182 fi
5183
5184else
5185
5186 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5187 if test "x$LINE" != x ; then
5188 eval "DEFAULT_$LINE"
5189 else
5190 no_cache=1
5191 fi
5192
5193 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5194
5195fi;
5196
5197 eval "$ac_cv_use_fs_zip"
5198 if test "$no_cache" != 1; then
5199 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5200 fi
5201
5202 if test "$wxUSE_FS_ZIP" = yes; then
5203 echo "$as_me:$LINENO: result: yes" >&5
5204echo "${ECHO_T}yes" >&6
5205 else
5206 echo "$as_me:$LINENO: result: no" >&5
5207echo "${ECHO_T}no" >&6
5208 fi
5209
5210
5211 enablestring=
5212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5213echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5214 no_cache=0
5215 # Check whether --enable-zipstream or --disable-zipstream was given.
5216if test "${enable_zipstream+set}" = set; then
5217 enableval="$enable_zipstream"
5218
5219 if test "$enableval" = yes; then
5220 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5221 else
5222 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5223 fi
5224
5225else
5226
5227 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5228 if test "x$LINE" != x ; then
5229 eval "DEFAULT_$LINE"
5230 else
5231 no_cache=1
5232 fi
5233
5234 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5235
5236fi;
5237
5238 eval "$ac_cv_use_zipstream"
5239 if test "$no_cache" != 1; then
5240 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5241 fi
5242
5243 if test "$wxUSE_ZIPSTREAM" = yes; then
5244 echo "$as_me:$LINENO: result: yes" >&5
5245echo "${ECHO_T}yes" >&6
5246 else
5247 echo "$as_me:$LINENO: result: no" >&5
5248echo "${ECHO_T}no" >&6
5249 fi
5250
5251
5252
5253 enablestring=
5254 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5255echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5256 no_cache=0
5257 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5258if test "${enable_catch_segvs+set}" = set; then
5259 enableval="$enable_catch_segvs"
5260
5261 if test "$enableval" = yes; then
5262 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5263 else
5264 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5265 fi
5266
5267else
5268
5269 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5270 if test "x$LINE" != x ; then
5271 eval "DEFAULT_$LINE"
5272 else
5273 no_cache=1
5274 fi
5275
5276 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5277
5278fi;
5279
5280 eval "$ac_cv_use_catch_segvs"
5281 if test "$no_cache" != 1; then
5282 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5283 fi
5284
5285 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5286 echo "$as_me:$LINENO: result: yes" >&5
5287echo "${ECHO_T}yes" >&6
5288 else
5289 echo "$as_me:$LINENO: result: no" >&5
5290echo "${ECHO_T}no" >&6
5291 fi
5292
5293
5294 enablestring=
5295 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5296echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5297 no_cache=0
5298 # Check whether --enable-snglinst or --disable-snglinst was given.
5299if test "${enable_snglinst+set}" = set; then
5300 enableval="$enable_snglinst"
5301
5302 if test "$enableval" = yes; then
5303 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5304 else
5305 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5306 fi
5307
5308else
5309
5310 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5311 if test "x$LINE" != x ; then
5312 eval "DEFAULT_$LINE"
5313 else
5314 no_cache=1
5315 fi
5316
5317 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5318
5319fi;
5320
5321 eval "$ac_cv_use_snglinst"
5322 if test "$no_cache" != 1; then
5323 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5324 fi
5325
5326 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5327 echo "$as_me:$LINENO: result: yes" >&5
5328echo "${ECHO_T}yes" >&6
5329 else
5330 echo "$as_me:$LINENO: result: no" >&5
5331echo "${ECHO_T}no" >&6
5332 fi
5333
5334
5335
5336 enablestring=
5337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5338echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5339 no_cache=0
5340 # Check whether --enable-mimetype or --disable-mimetype was given.
5341if test "${enable_mimetype+set}" = set; then
5342 enableval="$enable_mimetype"
5343
5344 if test "$enableval" = yes; then
5345 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5346 else
5347 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5348 fi
5349
5350else
5351
5352 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5353 if test "x$LINE" != x ; then
5354 eval "DEFAULT_$LINE"
5355 else
5356 no_cache=1
5357 fi
5358
5359 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5360
5361fi;
5362
5363 eval "$ac_cv_use_mimetype"
5364 if test "$no_cache" != 1; then
5365 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5366 fi
5367
5368 if test "$wxUSE_MIMETYPE" = yes; then
5369 echo "$as_me:$LINENO: result: yes" >&5
5370echo "${ECHO_T}yes" >&6
5371 else
5372 echo "$as_me:$LINENO: result: no" >&5
5373echo "${ECHO_T}no" >&6
5374 fi
5375
5376
5377 enablestring=
5378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5379echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5380 no_cache=0
5381 # Check whether --enable-system_options or --disable-system_options was given.
5382if test "${enable_system_options+set}" = set; then
5383 enableval="$enable_system_options"
5384
5385 if test "$enableval" = yes; then
5386 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5387 else
5388 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5389 fi
5390
5391else
5392
5393 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5394 if test "x$LINE" != x ; then
5395 eval "DEFAULT_$LINE"
5396 else
5397 no_cache=1
5398 fi
5399
5400 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5401
5402fi;
5403
5404 eval "$ac_cv_use_system_options"
5405 if test "$no_cache" != 1; then
5406 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5407 fi
5408
5409 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5410 echo "$as_me:$LINENO: result: yes" >&5
5411echo "${ECHO_T}yes" >&6
5412 else
5413 echo "$as_me:$LINENO: result: no" >&5
5414echo "${ECHO_T}no" >&6
5415 fi
5416
5417
5418
5419 enablestring=
5420 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5421echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5422 no_cache=0
5423 # Check whether --enable-url or --disable-url was given.
5424if test "${enable_url+set}" = set; then
5425 enableval="$enable_url"
5426
5427 if test "$enableval" = yes; then
5428 ac_cv_use_url='wxUSE_URL=yes'
5429 else
5430 ac_cv_use_url='wxUSE_URL=no'
5431 fi
5432
5433else
5434
5435 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5436 if test "x$LINE" != x ; then
5437 eval "DEFAULT_$LINE"
5438 else
5439 no_cache=1
5440 fi
5441
5442 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5443
5444fi;
5445
5446 eval "$ac_cv_use_url"
5447 if test "$no_cache" != 1; then
5448 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5449 fi
5450
5451 if test "$wxUSE_URL" = yes; then
5452 echo "$as_me:$LINENO: result: yes" >&5
5453echo "${ECHO_T}yes" >&6
5454 else
5455 echo "$as_me:$LINENO: result: no" >&5
5456echo "${ECHO_T}no" >&6
5457 fi
5458
5459
5460 enablestring=
5461 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5462echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5463 no_cache=0
5464 # Check whether --enable-protocol or --disable-protocol was given.
5465if test "${enable_protocol+set}" = set; then
5466 enableval="$enable_protocol"
5467
5468 if test "$enableval" = yes; then
5469 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5470 else
5471 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5472 fi
5473
5474else
5475
5476 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5477 if test "x$LINE" != x ; then
5478 eval "DEFAULT_$LINE"
5479 else
5480 no_cache=1
5481 fi
5482
5483 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5484
5485fi;
5486
5487 eval "$ac_cv_use_protocol"
5488 if test "$no_cache" != 1; then
5489 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5490 fi
5491
5492 if test "$wxUSE_PROTOCOL" = yes; then
5493 echo "$as_me:$LINENO: result: yes" >&5
5494echo "${ECHO_T}yes" >&6
5495 else
5496 echo "$as_me:$LINENO: result: no" >&5
5497echo "${ECHO_T}no" >&6
5498 fi
5499
5500
5501 enablestring=
5502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5503echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5504 no_cache=0
5505 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5506if test "${enable_protocol_http+set}" = set; then
5507 enableval="$enable_protocol_http"
5508
5509 if test "$enableval" = yes; then
5510 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5511 else
5512 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5513 fi
5514
5515else
5516
5517 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5518 if test "x$LINE" != x ; then
5519 eval "DEFAULT_$LINE"
5520 else
5521 no_cache=1
5522 fi
5523
5524 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5525
5526fi;
5527
5528 eval "$ac_cv_use_protocol_http"
5529 if test "$no_cache" != 1; then
5530 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5531 fi
5532
5533 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5534 echo "$as_me:$LINENO: result: yes" >&5
5535echo "${ECHO_T}yes" >&6
5536 else
5537 echo "$as_me:$LINENO: result: no" >&5
5538echo "${ECHO_T}no" >&6
5539 fi
5540
5541
5542 enablestring=
5543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5544echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5545 no_cache=0
5546 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5547if test "${enable_protocol_ftp+set}" = set; then
5548 enableval="$enable_protocol_ftp"
5549
5550 if test "$enableval" = yes; then
5551 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5552 else
5553 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5554 fi
5555
5556else
5557
5558 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5559 if test "x$LINE" != x ; then
5560 eval "DEFAULT_$LINE"
5561 else
5562 no_cache=1
5563 fi
5564
5565 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5566
5567fi;
5568
5569 eval "$ac_cv_use_protocol_ftp"
5570 if test "$no_cache" != 1; then
5571 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5572 fi
5573
5574 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5575 echo "$as_me:$LINENO: result: yes" >&5
5576echo "${ECHO_T}yes" >&6
5577 else
5578 echo "$as_me:$LINENO: result: no" >&5
5579echo "${ECHO_T}no" >&6
5580 fi
5581
5582
5583 enablestring=
5584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5585echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5586 no_cache=0
5587 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5588if test "${enable_protocol_file+set}" = set; then
5589 enableval="$enable_protocol_file"
5590
5591 if test "$enableval" = yes; then
5592 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5593 else
5594 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5595 fi
5596
5597else
5598
5599 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5600 if test "x$LINE" != x ; then
5601 eval "DEFAULT_$LINE"
5602 else
5603 no_cache=1
5604 fi
5605
5606 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5607
5608fi;
5609
5610 eval "$ac_cv_use_protocol_file"
5611 if test "$no_cache" != 1; then
5612 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5613 fi
5614
5615 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5616 echo "$as_me:$LINENO: result: yes" >&5
5617echo "${ECHO_T}yes" >&6
5618 else
5619 echo "$as_me:$LINENO: result: no" >&5
5620echo "${ECHO_T}no" >&6
5621 fi
5622
5623
5624
5625
5626
5627 enablestring=
5628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5629echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5630 no_cache=0
5631 # Check whether --enable-threads or --disable-threads was given.
5632if test "${enable_threads+set}" = set; then
5633 enableval="$enable_threads"
5634
5635 if test "$enableval" = yes; then
5636 ac_cv_use_threads='wxUSE_THREADS=yes'
5637 else
5638 ac_cv_use_threads='wxUSE_THREADS=no'
5639 fi
5640
5641else
5642
5643 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5644 if test "x$LINE" != x ; then
5645 eval "DEFAULT_$LINE"
5646 else
5647 no_cache=1
5648 fi
5649
5650 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5651
5652fi;
5653
5654 eval "$ac_cv_use_threads"
5655 if test "$no_cache" != 1; then
5656 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5657 fi
5658
5659 if test "$wxUSE_THREADS" = yes; then
5660 echo "$as_me:$LINENO: result: yes" >&5
5661echo "${ECHO_T}yes" >&6
5662 else
5663 echo "$as_me:$LINENO: result: no" >&5
5664echo "${ECHO_T}no" >&6
5665 fi
5666
5667
5668if test "$wxUSE_GUI" = "yes"; then
5669
5670
5671
5672 enablestring=
5673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5674echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5675 no_cache=0
5676 # Check whether --enable-docview or --disable-docview was given.
5677if test "${enable_docview+set}" = set; then
5678 enableval="$enable_docview"
5679
5680 if test "$enableval" = yes; then
5681 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5682 else
5683 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5684 fi
5685
5686else
5687
5688 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5689 if test "x$LINE" != x ; then
5690 eval "DEFAULT_$LINE"
5691 else
5692 no_cache=1
5693 fi
5694
5695 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5696
5697fi;
5698
5699 eval "$ac_cv_use_docview"
5700 if test "$no_cache" != 1; then
5701 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5702 fi
5703
5704 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5705 echo "$as_me:$LINENO: result: yes" >&5
5706echo "${ECHO_T}yes" >&6
5707 else
5708 echo "$as_me:$LINENO: result: no" >&5
5709echo "${ECHO_T}no" >&6
5710 fi
5711
5712
5713 enablestring=
5714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5715echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5716 no_cache=0
5717 # Check whether --enable-help or --disable-help was given.
5718if test "${enable_help+set}" = set; then
5719 enableval="$enable_help"
5720
5721 if test "$enableval" = yes; then
5722 ac_cv_use_help='wxUSE_HELP=yes'
5723 else
5724 ac_cv_use_help='wxUSE_HELP=no'
5725 fi
5726
5727else
5728
5729 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5730 if test "x$LINE" != x ; then
5731 eval "DEFAULT_$LINE"
5732 else
5733 no_cache=1
5734 fi
5735
5736 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5737
5738fi;
5739
5740 eval "$ac_cv_use_help"
5741 if test "$no_cache" != 1; then
5742 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5743 fi
5744
5745 if test "$wxUSE_HELP" = yes; then
5746 echo "$as_me:$LINENO: result: yes" >&5
5747echo "${ECHO_T}yes" >&6
5748 else
5749 echo "$as_me:$LINENO: result: no" >&5
5750echo "${ECHO_T}no" >&6
5751 fi
5752
5753
5754 enablestring=
5755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5756echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5757 no_cache=0
5758 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5759if test "${enable_mshtmlhelp+set}" = set; then
5760 enableval="$enable_mshtmlhelp"
5761
5762 if test "$enableval" = yes; then
5763 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5764 else
5765 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
5766 fi
5767
5768else
5769
5770 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5771 if test "x$LINE" != x ; then
5772 eval "DEFAULT_$LINE"
5773 else
5774 no_cache=1
5775 fi
5776
5777 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5778
5779fi;
5780
5781 eval "$ac_cv_use_mshtmlhelp"
5782 if test "$no_cache" != 1; then
5783 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5784 fi
5785
5786 if test "$wxUSE_MS_HTML_HELP" = yes; then
5787 echo "$as_me:$LINENO: result: yes" >&5
5788echo "${ECHO_T}yes" >&6
5789 else
5790 echo "$as_me:$LINENO: result: no" >&5
5791echo "${ECHO_T}no" >&6
5792 fi
5793
5794
5795 enablestring=
5796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5797echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5798 no_cache=0
5799 # Check whether --enable-html or --disable-html was given.
5800if test "${enable_html+set}" = set; then
5801 enableval="$enable_html"
5802
5803 if test "$enableval" = yes; then
5804 ac_cv_use_html='wxUSE_HTML=yes'
5805 else
5806 ac_cv_use_html='wxUSE_HTML=no'
5807 fi
5808
5809else
5810
5811 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5812 if test "x$LINE" != x ; then
5813 eval "DEFAULT_$LINE"
5814 else
5815 no_cache=1
5816 fi
5817
5818 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5819
5820fi;
5821
5822 eval "$ac_cv_use_html"
5823 if test "$no_cache" != 1; then
5824 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5825 fi
5826
5827 if test "$wxUSE_HTML" = yes; then
5828 echo "$as_me:$LINENO: result: yes" >&5
5829echo "${ECHO_T}yes" >&6
5830 else
5831 echo "$as_me:$LINENO: result: no" >&5
5832echo "${ECHO_T}no" >&6
5833 fi
5834
5835
5836 enablestring=
5837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5838echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5839 no_cache=0
5840 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5841if test "${enable_htmlhelp+set}" = set; then
5842 enableval="$enable_htmlhelp"
5843
5844 if test "$enableval" = yes; then
5845 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5846 else
5847 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5848 fi
5849
5850else
5851
5852 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5853 if test "x$LINE" != x ; then
5854 eval "DEFAULT_$LINE"
5855 else
5856 no_cache=1
5857 fi
5858
5859 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5860
5861fi;
5862
5863 eval "$ac_cv_use_htmlhelp"
5864 if test "$no_cache" != 1; then
5865 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5866 fi
5867
5868 if test "$wxUSE_WXHTML_HELP" = yes; then
5869 echo "$as_me:$LINENO: result: yes" >&5
5870echo "${ECHO_T}yes" >&6
5871 else
5872 echo "$as_me:$LINENO: result: no" >&5
5873echo "${ECHO_T}no" >&6
5874 fi
5875
5876
5877 enablestring=
5878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5879echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5880 no_cache=0
5881 # Check whether --enable-constraints or --disable-constraints was given.
5882if test "${enable_constraints+set}" = set; then
5883 enableval="$enable_constraints"
5884
5885 if test "$enableval" = yes; then
5886 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
5887 else
5888 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
5889 fi
5890
5891else
5892
5893 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5894 if test "x$LINE" != x ; then
5895 eval "DEFAULT_$LINE"
5896 else
5897 no_cache=1
5898 fi
5899
5900 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5901
5902fi;
5903
5904 eval "$ac_cv_use_constraints"
5905 if test "$no_cache" != 1; then
5906 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5907 fi
5908
5909 if test "$wxUSE_CONSTRAINTS" = yes; then
5910 echo "$as_me:$LINENO: result: yes" >&5
5911echo "${ECHO_T}yes" >&6
5912 else
5913 echo "$as_me:$LINENO: result: no" >&5
5914echo "${ECHO_T}no" >&6
5915 fi
5916
5917
5918 enablestring=
5919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5920echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5921 no_cache=0
5922 # Check whether --enable-printarch or --disable-printarch was given.
5923if test "${enable_printarch+set}" = set; then
5924 enableval="$enable_printarch"
5925
5926 if test "$enableval" = yes; then
5927 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
5928 else
5929 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
5930 fi
5931
5932else
5933
5934 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5935 if test "x$LINE" != x ; then
5936 eval "DEFAULT_$LINE"
5937 else
5938 no_cache=1
5939 fi
5940
5941 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5942
5943fi;
5944
5945 eval "$ac_cv_use_printarch"
5946 if test "$no_cache" != 1; then
5947 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5948 fi
5949
5950 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5951 echo "$as_me:$LINENO: result: yes" >&5
5952echo "${ECHO_T}yes" >&6
5953 else
5954 echo "$as_me:$LINENO: result: no" >&5
5955echo "${ECHO_T}no" >&6
5956 fi
5957
5958
5959 enablestring=
5960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
5961echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
5962 no_cache=0
5963 # Check whether --enable-mdi or --disable-mdi was given.
5964if test "${enable_mdi+set}" = set; then
5965 enableval="$enable_mdi"
5966
5967 if test "$enableval" = yes; then
5968 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
5969 else
5970 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
5971 fi
5972
5973else
5974
5975 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5976 if test "x$LINE" != x ; then
5977 eval "DEFAULT_$LINE"
5978 else
5979 no_cache=1
5980 fi
5981
5982 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5983
5984fi;
5985
5986 eval "$ac_cv_use_mdi"
5987 if test "$no_cache" != 1; then
5988 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5989 fi
5990
5991 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5992 echo "$as_me:$LINENO: result: yes" >&5
5993echo "${ECHO_T}yes" >&6
5994 else
5995 echo "$as_me:$LINENO: result: no" >&5
5996echo "${ECHO_T}no" >&6
5997 fi
5998
5999
6000 enablestring=
6001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6002echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6003 no_cache=0
6004 # Check whether --enable-loggui or --disable-loggui was given.
6005if test "${enable_loggui+set}" = set; then
6006 enableval="$enable_loggui"
6007
6008 if test "$enableval" = yes; then
6009 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6010 else
6011 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6012 fi
6013
6014else
6015
6016 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6017 if test "x$LINE" != x ; then
6018 eval "DEFAULT_$LINE"
6019 else
6020 no_cache=1
6021 fi
6022
6023 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6024
6025fi;
6026
6027 eval "$ac_cv_use_loggui"
6028 if test "$no_cache" != 1; then
6029 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6030 fi
6031
6032 if test "$wxUSE_LOGGUI" = yes; then
6033 echo "$as_me:$LINENO: result: yes" >&5
6034echo "${ECHO_T}yes" >&6
6035 else
6036 echo "$as_me:$LINENO: result: no" >&5
6037echo "${ECHO_T}no" >&6
6038 fi
6039
6040
6041 enablestring=
6042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6043echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6044 no_cache=0
6045 # Check whether --enable-logwin or --disable-logwin was given.
6046if test "${enable_logwin+set}" = set; then
6047 enableval="$enable_logwin"
6048
6049 if test "$enableval" = yes; then
6050 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6051 else
6052 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6053 fi
6054
6055else
6056
6057 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6058 if test "x$LINE" != x ; then
6059 eval "DEFAULT_$LINE"
6060 else
6061 no_cache=1
6062 fi
6063
6064 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6065
6066fi;
6067
6068 eval "$ac_cv_use_logwin"
6069 if test "$no_cache" != 1; then
6070 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6071 fi
6072
6073 if test "$wxUSE_LOGWINDOW" = yes; then
6074 echo "$as_me:$LINENO: result: yes" >&5
6075echo "${ECHO_T}yes" >&6
6076 else
6077 echo "$as_me:$LINENO: result: no" >&5
6078echo "${ECHO_T}no" >&6
6079 fi
6080
6081
6082 enablestring=
6083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6084echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6085 no_cache=0
6086 # Check whether --enable-logdialog or --disable-logdialog was given.
6087if test "${enable_logdialog+set}" = set; then
6088 enableval="$enable_logdialog"
6089
6090 if test "$enableval" = yes; then
6091 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6092 else
6093 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6094 fi
6095
6096else
6097
6098 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6099 if test "x$LINE" != x ; then
6100 eval "DEFAULT_$LINE"
6101 else
6102 no_cache=1
6103 fi
6104
6105 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6106
6107fi;
6108
6109 eval "$ac_cv_use_logdialog"
6110 if test "$no_cache" != 1; then
6111 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6112 fi
6113
6114 if test "$wxUSE_LOGDIALOG" = yes; then
6115 echo "$as_me:$LINENO: result: yes" >&5
6116echo "${ECHO_T}yes" >&6
6117 else
6118 echo "$as_me:$LINENO: result: no" >&5
6119echo "${ECHO_T}no" >&6
6120 fi
6121
6122
6123
6124 enablestring=
6125 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6126echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6127 no_cache=0
6128 # Check whether --enable-postscript or --disable-postscript was given.
6129if test "${enable_postscript+set}" = set; then
6130 enableval="$enable_postscript"
6131
6132 if test "$enableval" = yes; then
6133 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6134 else
6135 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6136 fi
6137
6138else
6139
6140 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6141 if test "x$LINE" != x ; then
6142 eval "DEFAULT_$LINE"
6143 else
6144 no_cache=1
6145 fi
6146
6147 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6148
6149fi;
6150
6151 eval "$ac_cv_use_postscript"
6152 if test "$no_cache" != 1; then
6153 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6154 fi
6155
6156 if test "$wxUSE_POSTSCRIPT" = yes; then
6157 echo "$as_me:$LINENO: result: yes" >&5
6158echo "${ECHO_T}yes" >&6
6159 else
6160 echo "$as_me:$LINENO: result: no" >&5
6161echo "${ECHO_T}no" >&6
6162 fi
6163
6164
6165
6166
6167
6168 enablestring=
6169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6170echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6171 no_cache=0
6172 # Check whether --enable-prologio or --disable-prologio was given.
6173if test "${enable_prologio+set}" = set; then
6174 enableval="$enable_prologio"
6175
6176 if test "$enableval" = yes; then
6177 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6178 else
6179 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6180 fi
6181
6182else
6183
6184 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6185 if test "x$LINE" != x ; then
6186 eval "DEFAULT_$LINE"
6187 else
6188 no_cache=1
6189 fi
6190
6191 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6192
6193fi;
6194
6195 eval "$ac_cv_use_prologio"
6196 if test "$no_cache" != 1; then
6197 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6198 fi
6199
6200 if test "$wxUSE_PROLOGIO" = yes; then
6201 echo "$as_me:$LINENO: result: yes" >&5
6202echo "${ECHO_T}yes" >&6
6203 else
6204 echo "$as_me:$LINENO: result: no" >&5
6205echo "${ECHO_T}no" >&6
6206 fi
6207
6208
6209 enablestring=
6210 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6211echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6212 no_cache=0
6213 # Check whether --enable-resources or --disable-resources was given.
6214if test "${enable_resources+set}" = set; then
6215 enableval="$enable_resources"
6216
6217 if test "$enableval" = yes; then
6218 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6219 else
6220 ac_cv_use_resources='wxUSE_RESOURCES=no'
6221 fi
6222
6223else
6224
6225 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6226 if test "x$LINE" != x ; then
6227 eval "DEFAULT_$LINE"
6228 else
6229 no_cache=1
6230 fi
6231
6232 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6233
6234fi;
6235
6236 eval "$ac_cv_use_resources"
6237 if test "$no_cache" != 1; then
6238 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6239 fi
6240
6241 if test "$wxUSE_RESOURCES" = yes; then
6242 echo "$as_me:$LINENO: result: yes" >&5
6243echo "${ECHO_T}yes" >&6
6244 else
6245 echo "$as_me:$LINENO: result: no" >&5
6246echo "${ECHO_T}no" >&6
6247 fi
6248
6249
6250
6251
6252 enablestring=
6253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6254echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6255 no_cache=0
6256 # Check whether --enable-clipboard or --disable-clipboard was given.
6257if test "${enable_clipboard+set}" = set; then
6258 enableval="$enable_clipboard"
6259
6260 if test "$enableval" = yes; then
6261 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6262 else
6263 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6264 fi
6265
6266else
6267
6268 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6269 if test "x$LINE" != x ; then
6270 eval "DEFAULT_$LINE"
6271 else
6272 no_cache=1
6273 fi
6274
6275 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6276
6277fi;
6278
6279 eval "$ac_cv_use_clipboard"
6280 if test "$no_cache" != 1; then
6281 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6282 fi
6283
6284 if test "$wxUSE_CLIPBOARD" = yes; then
6285 echo "$as_me:$LINENO: result: yes" >&5
6286echo "${ECHO_T}yes" >&6
6287 else
6288 echo "$as_me:$LINENO: result: no" >&5
6289echo "${ECHO_T}no" >&6
6290 fi
6291
6292
6293 enablestring=
6294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6295echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6296 no_cache=0
6297 # Check whether --enable-dnd or --disable-dnd was given.
6298if test "${enable_dnd+set}" = set; then
6299 enableval="$enable_dnd"
6300
6301 if test "$enableval" = yes; then
6302 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6303 else
6304 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6305 fi
6306
6307else
6308
6309 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6310 if test "x$LINE" != x ; then
6311 eval "DEFAULT_$LINE"
6312 else
6313 no_cache=1
6314 fi
6315
6316 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6317
6318fi;
6319
6320 eval "$ac_cv_use_dnd"
6321 if test "$no_cache" != 1; then
6322 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6323 fi
6324
6325 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6326 echo "$as_me:$LINENO: result: yes" >&5
6327echo "${ECHO_T}yes" >&6
6328 else
6329 echo "$as_me:$LINENO: result: no" >&5
6330echo "${ECHO_T}no" >&6
6331 fi
6332
6333
6334 enablestring=
6335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6336echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6337 no_cache=0
6338 # Check whether --enable-metafile or --disable-metafile was given.
6339if test "${enable_metafile+set}" = set; then
6340 enableval="$enable_metafile"
6341
6342 if test "$enableval" = yes; then
6343 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6344 else
6345 ac_cv_use_metafile='wxUSE_METAFILE=no'
6346 fi
6347
6348else
6349
6350 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6351 if test "x$LINE" != x ; then
6352 eval "DEFAULT_$LINE"
6353 else
6354 no_cache=1
6355 fi
6356
6357 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6358
6359fi;
6360
6361 eval "$ac_cv_use_metafile"
6362 if test "$no_cache" != 1; then
6363 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6364 fi
6365
6366 if test "$wxUSE_METAFILE" = yes; then
6367 echo "$as_me:$LINENO: result: yes" >&5
6368echo "${ECHO_T}yes" >&6
6369 else
6370 echo "$as_me:$LINENO: result: no" >&5
6371echo "${ECHO_T}no" >&6
6372 fi
6373
6374
6375
6376
6377
6378 enablestring=
6379 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6380echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6381 no_cache=0
6382 # Check whether --enable-controls or --disable-controls was given.
6383if test "${enable_controls+set}" = set; then
6384 enableval="$enable_controls"
6385
6386 if test "$enableval" = yes; then
6387 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6388 else
6389 ac_cv_use_controls='wxUSE_CONTROLS=no'
6390 fi
6391
6392else
6393
6394 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6395 if test "x$LINE" != x ; then
6396 eval "DEFAULT_$LINE"
6397 else
6398 no_cache=1
6399 fi
6400
6401 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6402
6403fi;
6404
6405 eval "$ac_cv_use_controls"
6406 if test "$no_cache" != 1; then
6407 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6408 fi
6409
6410 if test "$wxUSE_CONTROLS" = yes; then
6411 echo "$as_me:$LINENO: result: yes" >&5
6412echo "${ECHO_T}yes" >&6
6413 else
6414 echo "$as_me:$LINENO: result: no" >&5
6415echo "${ECHO_T}no" >&6
6416 fi
6417
6418
6419if test "$wxUSE_CONTROLS" = "yes"; then
6420 DEFAULT_wxUSE_ACCEL=yes
6421 DEFAULT_wxUSE_BMPBUTTON=yes
6422 DEFAULT_wxUSE_BUTTON=yes
6423 DEFAULT_wxUSE_CALCTRL=no
6424 DEFAULT_wxUSE_CARET=yes
6425 DEFAULT_wxUSE_COMBOBOX=yes
6426 DEFAULT_wxUSE_CHECKBOX=yes
6427 DEFAULT_wxUSE_CHECKLISTBOX=yes
6428 DEFAULT_wxUSE_CHOICE=yes
6429 DEFAULT_wxUSE_GAUGE=yes
6430 DEFAULT_wxUSE_GRID=yes
6431 DEFAULT_wxUSE_IMAGLIST=yes
6432 DEFAULT_wxUSE_LISTBOX=yes
6433 DEFAULT_wxUSE_LISTCTRL=yes
6434 DEFAULT_wxUSE_NOTEBOOK=yes
6435 DEFAULT_wxUSE_RADIOBOX=yes
6436 DEFAULT_wxUSE_RADIOBTN=yes
6437 DEFAULT_wxUSE_SASH=yes
6438 DEFAULT_wxUSE_SCROLLBAR=yes
6439 DEFAULT_wxUSE_SLIDER=yes
6440 DEFAULT_wxUSE_SPINBTN=yes
6441 DEFAULT_wxUSE_SPINCTRL=yes
6442 DEFAULT_wxUSE_SPLITTER=yes
6443 DEFAULT_wxUSE_STATBMP=yes
6444 DEFAULT_wxUSE_STATBOX=yes
6445 DEFAULT_wxUSE_STATLINE=yes
6446 DEFAULT_wxUSE_STATUSBAR=yes
6447 DEFAULT_wxUSE_TAB_DIALOG=yes
6448 DEFAULT_wxUSE_TOGGLEBTN=yes
6449 DEFAULT_wxUSE_TOOLBAR=yes
6450 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6451 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6452 DEFAULT_wxUSE_TOOLTIPS=yes
6453 DEFAULT_wxUSE_TREECTRL=yes
6454 DEFAULT_wxUSE_POPUPWIN=yes
6455 DEFAULT_wxUSE_TIPWINDOW=yes
6456elif test "$wxUSE_CONTROLS" = "no"; then
6457 DEFAULT_wxUSE_ACCEL=no
6458 DEFAULT_wxUSE_BMPBUTTON=no
6459 DEFAULT_wxUSE_BUTTON=no
6460 DEFAULT_wxUSE_CALCTRL=no
6461 DEFAULT_wxUSE_CARET=no
6462 DEFAULT_wxUSE_COMBOBOX=no
6463 DEFAULT_wxUSE_CHECKBOX=no
6464 DEFAULT_wxUSE_CHECKLISTBOX=no
6465 DEFAULT_wxUSE_CHOICE=no
6466 DEFAULT_wxUSE_GAUGE=no
6467 DEFAULT_wxUSE_GRID=no
6468 DEFAULT_wxUSE_IMAGLIST=no
6469 DEFAULT_wxUSE_LISTBOX=no
6470 DEFAULT_wxUSE_LISTCTRL=no
6471 DEFAULT_wxUSE_NOTEBOOK=no
6472 DEFAULT_wxUSE_RADIOBOX=no
6473 DEFAULT_wxUSE_RADIOBTN=no
6474 DEFAULT_wxUSE_SASH=no
6475 DEFAULT_wxUSE_SCROLLBAR=no
6476 DEFAULT_wxUSE_SLIDER=no
6477 DEFAULT_wxUSE_SPINBTN=no
6478 DEFAULT_wxUSE_SPINCTRL=no
6479 DEFAULT_wxUSE_SPLITTER=no
6480 DEFAULT_wxUSE_STATBMP=no
6481 DEFAULT_wxUSE_STATBOX=no
6482 DEFAULT_wxUSE_STATLINE=no
6483 DEFAULT_wxUSE_STATUSBAR=no
6484 DEFAULT_wxUSE_TAB_DIALOG=no
6485 DEFAULT_wxUSE_TOGGLEBTN=no
6486 DEFAULT_wxUSE_TOOLBAR=no
6487 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6488 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6489 DEFAULT_wxUSE_TOOLTIPS=no
6490 DEFAULT_wxUSE_TREECTRL=no
6491 DEFAULT_wxUSE_POPUPWIN=no
6492 DEFAULT_wxUSE_TIPWINDOW=no
6493fi
6494
6495## FIXME: This is a blatant hack
6496if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6497 wxUSE_PRINTING_ARCHITECTURE=no
6498 wxUSE_HELP=no
6499 wxUSE_CLIPBOARD=no
6500 wxUSE_DRAG_AND_DROP=no
6501 wxUSE_DATAOBJ=no
6502 # Generic notebook requires tab dialog
6503 DEFAULT_wxUSE_TABDIALOG=yes
6504 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6505 DEFAULT_wxUSE_GAUGE=no
6506 DEFAULT_wxUSE_SCROLLBAR=no
6507 DEFAULT_wxUSE_COMBOBOX=no
6508 DEFAULT_wxUSE_CALCTRL=no
6509 DEFAULT_wxUSE_SPINBTN=no
6510 DEFAULT_wxUSE_SPINCTRL=no
6511 DEFAULT_wxUSE_TOOLTIPS=no
6512 DEFAULT_wxUSE_DRAGIMAGE=no
6513 DEFAULT_wxUSE_FINDREPLDLG=no
6514 DEFAULT_wxUSE_FONTDLG=no
6515 DEFAULT_wxUSE_GRID=no
6516 DEFAULT_wxUSE_NUMBERDLG=no
6517 DEFAULT_wxUSE_PROGRESSDLG=no
6518 DEFAULT_wxUSE_SASH=no
6519 DEFAULT_wxUSE_SPLITTER=no
6520 DEFAULT_wxUSE_WIZARDDLG=no
6521 DEFAULT_wxUSE_SPLITTER=no
6522 DEFAULT_wxUSE_STARTUP_TIPS=no
6523fi
6524
6525
6526 enablestring=
6527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6528echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6529 no_cache=0
6530 # Check whether --enable-accel or --disable-accel was given.
6531if test "${enable_accel+set}" = set; then
6532 enableval="$enable_accel"
6533
6534 if test "$enableval" = yes; then
6535 ac_cv_use_accel='wxUSE_ACCEL=yes'
6536 else
6537 ac_cv_use_accel='wxUSE_ACCEL=no'
6538 fi
6539
6540else
6541
6542 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6543 if test "x$LINE" != x ; then
6544 eval "DEFAULT_$LINE"
6545 else
6546 no_cache=1
6547 fi
6548
6549 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6550
6551fi;
6552
6553 eval "$ac_cv_use_accel"
6554 if test "$no_cache" != 1; then
6555 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6556 fi
6557
6558 if test "$wxUSE_ACCEL" = yes; then
6559 echo "$as_me:$LINENO: result: yes" >&5
6560echo "${ECHO_T}yes" >&6
6561 else
6562 echo "$as_me:$LINENO: result: no" >&5
6563echo "${ECHO_T}no" >&6
6564 fi
6565
6566
6567 enablestring=
6568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6569echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6570 no_cache=0
6571 # Check whether --enable-button or --disable-button was given.
6572if test "${enable_button+set}" = set; then
6573 enableval="$enable_button"
6574
6575 if test "$enableval" = yes; then
6576 ac_cv_use_button='wxUSE_BUTTON=yes'
6577 else
6578 ac_cv_use_button='wxUSE_BUTTON=no'
6579 fi
6580
6581else
6582
6583 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6584 if test "x$LINE" != x ; then
6585 eval "DEFAULT_$LINE"
6586 else
6587 no_cache=1
6588 fi
6589
6590 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6591
6592fi;
6593
6594 eval "$ac_cv_use_button"
6595 if test "$no_cache" != 1; then
6596 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6597 fi
6598
6599 if test "$wxUSE_BUTTON" = yes; then
6600 echo "$as_me:$LINENO: result: yes" >&5
6601echo "${ECHO_T}yes" >&6
6602 else
6603 echo "$as_me:$LINENO: result: no" >&5
6604echo "${ECHO_T}no" >&6
6605 fi
6606
6607
6608 enablestring=
6609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6610echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6611 no_cache=0
6612 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6613if test "${enable_bmpbutton+set}" = set; then
6614 enableval="$enable_bmpbutton"
6615
6616 if test "$enableval" = yes; then
6617 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6618 else
6619 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6620 fi
6621
6622else
6623
6624 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6625 if test "x$LINE" != x ; then
6626 eval "DEFAULT_$LINE"
6627 else
6628 no_cache=1
6629 fi
6630
6631 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6632
6633fi;
6634
6635 eval "$ac_cv_use_bmpbutton"
6636 if test "$no_cache" != 1; then
6637 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6638 fi
6639
6640 if test "$wxUSE_BMPBUTTON" = yes; then
6641 echo "$as_me:$LINENO: result: yes" >&5
6642echo "${ECHO_T}yes" >&6
6643 else
6644 echo "$as_me:$LINENO: result: no" >&5
6645echo "${ECHO_T}no" >&6
6646 fi
6647
6648
6649 enablestring=
6650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6651echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6652 no_cache=0
6653 # Check whether --enable-calendar or --disable-calendar was given.
6654if test "${enable_calendar+set}" = set; then
6655 enableval="$enable_calendar"
6656
6657 if test "$enableval" = yes; then
6658 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6659 else
6660 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6661 fi
6662
6663else
6664
6665 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6666 if test "x$LINE" != x ; then
6667 eval "DEFAULT_$LINE"
6668 else
6669 no_cache=1
6670 fi
6671
6672 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6673
6674fi;
6675
6676 eval "$ac_cv_use_calendar"
6677 if test "$no_cache" != 1; then
6678 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6679 fi
6680
6681 if test "$wxUSE_CALCTRL" = yes; then
6682 echo "$as_me:$LINENO: result: yes" >&5
6683echo "${ECHO_T}yes" >&6
6684 else
6685 echo "$as_me:$LINENO: result: no" >&5
6686echo "${ECHO_T}no" >&6
6687 fi
6688
6689
6690 enablestring=
6691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6692echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6693 no_cache=0
6694 # Check whether --enable-caret or --disable-caret was given.
6695if test "${enable_caret+set}" = set; then
6696 enableval="$enable_caret"
6697
6698 if test "$enableval" = yes; then
6699 ac_cv_use_caret='wxUSE_CARET=yes'
6700 else
6701 ac_cv_use_caret='wxUSE_CARET=no'
6702 fi
6703
6704else
6705
6706 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6707 if test "x$LINE" != x ; then
6708 eval "DEFAULT_$LINE"
6709 else
6710 no_cache=1
6711 fi
6712
6713 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6714
6715fi;
6716
6717 eval "$ac_cv_use_caret"
6718 if test "$no_cache" != 1; then
6719 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6720 fi
6721
6722 if test "$wxUSE_CARET" = yes; then
6723 echo "$as_me:$LINENO: result: yes" >&5
6724echo "${ECHO_T}yes" >&6
6725 else
6726 echo "$as_me:$LINENO: result: no" >&5
6727echo "${ECHO_T}no" >&6
6728 fi
6729
6730
6731 enablestring=
6732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6733echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6734 no_cache=0
6735 # Check whether --enable-checkbox or --disable-checkbox was given.
6736if test "${enable_checkbox+set}" = set; then
6737 enableval="$enable_checkbox"
6738
6739 if test "$enableval" = yes; then
6740 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6741 else
6742 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6743 fi
6744
6745else
6746
6747 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6748 if test "x$LINE" != x ; then
6749 eval "DEFAULT_$LINE"
6750 else
6751 no_cache=1
6752 fi
6753
6754 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6755
6756fi;
6757
6758 eval "$ac_cv_use_checkbox"
6759 if test "$no_cache" != 1; then
6760 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6761 fi
6762
6763 if test "$wxUSE_CHECKBOX" = yes; then
6764 echo "$as_me:$LINENO: result: yes" >&5
6765echo "${ECHO_T}yes" >&6
6766 else
6767 echo "$as_me:$LINENO: result: no" >&5
6768echo "${ECHO_T}no" >&6
6769 fi
6770
6771
6772 enablestring=
6773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6774echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6775 no_cache=0
6776 # Check whether --enable-checklst or --disable-checklst was given.
6777if test "${enable_checklst+set}" = set; then
6778 enableval="$enable_checklst"
6779
6780 if test "$enableval" = yes; then
6781 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6782 else
6783 ac_cv_use_checklst='wxUSE_CHECKLST=no'
6784 fi
6785
6786else
6787
6788 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6789 if test "x$LINE" != x ; then
6790 eval "DEFAULT_$LINE"
6791 else
6792 no_cache=1
6793 fi
6794
6795 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6796
6797fi;
6798
6799 eval "$ac_cv_use_checklst"
6800 if test "$no_cache" != 1; then
6801 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6802 fi
6803
6804 if test "$wxUSE_CHECKLST" = yes; then
6805 echo "$as_me:$LINENO: result: yes" >&5
6806echo "${ECHO_T}yes" >&6
6807 else
6808 echo "$as_me:$LINENO: result: no" >&5
6809echo "${ECHO_T}no" >&6
6810 fi
6811
6812
6813 enablestring=
6814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6815echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6816 no_cache=0
6817 # Check whether --enable-choice or --disable-choice was given.
6818if test "${enable_choice+set}" = set; then
6819 enableval="$enable_choice"
6820
6821 if test "$enableval" = yes; then
6822 ac_cv_use_choice='wxUSE_CHOICE=yes'
6823 else
6824 ac_cv_use_choice='wxUSE_CHOICE=no'
6825 fi
6826
6827else
6828
6829 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6830 if test "x$LINE" != x ; then
6831 eval "DEFAULT_$LINE"
6832 else
6833 no_cache=1
6834 fi
6835
6836 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6837
6838fi;
6839
6840 eval "$ac_cv_use_choice"
6841 if test "$no_cache" != 1; then
6842 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6843 fi
6844
6845 if test "$wxUSE_CHOICE" = yes; then
6846 echo "$as_me:$LINENO: result: yes" >&5
6847echo "${ECHO_T}yes" >&6
6848 else
6849 echo "$as_me:$LINENO: result: no" >&5
6850echo "${ECHO_T}no" >&6
6851 fi
6852
6853
6854 enablestring=
6855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6856echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6857 no_cache=0
6858 # Check whether --enable-combobox or --disable-combobox was given.
6859if test "${enable_combobox+set}" = set; then
6860 enableval="$enable_combobox"
6861
6862 if test "$enableval" = yes; then
6863 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6864 else
6865 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6866 fi
6867
6868else
6869
6870 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6871 if test "x$LINE" != x ; then
6872 eval "DEFAULT_$LINE"
6873 else
6874 no_cache=1
6875 fi
6876
6877 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6878
6879fi;
6880
6881 eval "$ac_cv_use_combobox"
6882 if test "$no_cache" != 1; then
6883 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6884 fi
6885
6886 if test "$wxUSE_COMBOBOX" = yes; then
6887 echo "$as_me:$LINENO: result: yes" >&5
6888echo "${ECHO_T}yes" >&6
6889 else
6890 echo "$as_me:$LINENO: result: no" >&5
6891echo "${ECHO_T}no" >&6
6892 fi
6893
6894
6895 enablestring=
6896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6897echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6898 no_cache=0
6899 # Check whether --enable-display or --disable-display was given.
6900if test "${enable_display+set}" = set; then
6901 enableval="$enable_display"
6902
6903 if test "$enableval" = yes; then
6904 ac_cv_use_display='wxUSE_DISPLAY=yes'
6905 else
6906 ac_cv_use_display='wxUSE_DISPLAY=no'
6907 fi
6908
6909else
6910
6911 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6912 if test "x$LINE" != x ; then
6913 eval "DEFAULT_$LINE"
6914 else
6915 no_cache=1
6916 fi
6917
6918 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6919
6920fi;
6921
6922 eval "$ac_cv_use_display"
6923 if test "$no_cache" != 1; then
6924 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6925 fi
6926
6927 if test "$wxUSE_DISPLAY" = yes; then
6928 echo "$as_me:$LINENO: result: yes" >&5
6929echo "${ECHO_T}yes" >&6
6930 else
6931 echo "$as_me:$LINENO: result: no" >&5
6932echo "${ECHO_T}no" >&6
6933 fi
6934
6935
6936 enablestring=
6937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6938echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6939 no_cache=0
6940 # Check whether --enable-gauge or --disable-gauge was given.
6941if test "${enable_gauge+set}" = set; then
6942 enableval="$enable_gauge"
6943
6944 if test "$enableval" = yes; then
6945 ac_cv_use_gauge='wxUSE_GAUGE=yes'
6946 else
6947 ac_cv_use_gauge='wxUSE_GAUGE=no'
6948 fi
6949
6950else
6951
6952 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6953 if test "x$LINE" != x ; then
6954 eval "DEFAULT_$LINE"
6955 else
6956 no_cache=1
6957 fi
6958
6959 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6960
6961fi;
6962
6963 eval "$ac_cv_use_gauge"
6964 if test "$no_cache" != 1; then
6965 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6966 fi
6967
6968 if test "$wxUSE_GAUGE" = yes; then
6969 echo "$as_me:$LINENO: result: yes" >&5
6970echo "${ECHO_T}yes" >&6
6971 else
6972 echo "$as_me:$LINENO: result: no" >&5
6973echo "${ECHO_T}no" >&6
6974 fi
6975
6976
6977 enablestring=
6978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
6979echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
6980 no_cache=0
6981 # Check whether --enable-grid or --disable-grid was given.
6982if test "${enable_grid+set}" = set; then
6983 enableval="$enable_grid"
6984
6985 if test "$enableval" = yes; then
6986 ac_cv_use_grid='wxUSE_GRID=yes'
6987 else
6988 ac_cv_use_grid='wxUSE_GRID=no'
6989 fi
6990
6991else
6992
6993 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6994 if test "x$LINE" != x ; then
6995 eval "DEFAULT_$LINE"
6996 else
6997 no_cache=1
6998 fi
6999
7000 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7001
7002fi;
7003
7004 eval "$ac_cv_use_grid"
7005 if test "$no_cache" != 1; then
7006 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7007 fi
7008
7009 if test "$wxUSE_GRID" = yes; then
7010 echo "$as_me:$LINENO: result: yes" >&5
7011echo "${ECHO_T}yes" >&6
7012 else
7013 echo "$as_me:$LINENO: result: no" >&5
7014echo "${ECHO_T}no" >&6
7015 fi
7016
7017
7018 enablestring=
7019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7020echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7021 no_cache=0
7022 # Check whether --enable-imaglist or --disable-imaglist was given.
7023if test "${enable_imaglist+set}" = set; then
7024 enableval="$enable_imaglist"
7025
7026 if test "$enableval" = yes; then
7027 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7028 else
7029 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7030 fi
7031
7032else
7033
7034 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7035 if test "x$LINE" != x ; then
7036 eval "DEFAULT_$LINE"
7037 else
7038 no_cache=1
7039 fi
7040
7041 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7042
7043fi;
7044
7045 eval "$ac_cv_use_imaglist"
7046 if test "$no_cache" != 1; then
7047 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7048 fi
7049
7050 if test "$wxUSE_IMAGLIST" = yes; then
7051 echo "$as_me:$LINENO: result: yes" >&5
7052echo "${ECHO_T}yes" >&6
7053 else
7054 echo "$as_me:$LINENO: result: no" >&5
7055echo "${ECHO_T}no" >&6
7056 fi
7057
7058
7059 enablestring=
7060 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7061echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7062 no_cache=0
7063 # Check whether --enable-listbox or --disable-listbox was given.
7064if test "${enable_listbox+set}" = set; then
7065 enableval="$enable_listbox"
7066
7067 if test "$enableval" = yes; then
7068 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7069 else
7070 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7071 fi
7072
7073else
7074
7075 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7076 if test "x$LINE" != x ; then
7077 eval "DEFAULT_$LINE"
7078 else
7079 no_cache=1
7080 fi
7081
7082 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7083
7084fi;
7085
7086 eval "$ac_cv_use_listbox"
7087 if test "$no_cache" != 1; then
7088 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7089 fi
7090
7091 if test "$wxUSE_LISTBOX" = yes; then
7092 echo "$as_me:$LINENO: result: yes" >&5
7093echo "${ECHO_T}yes" >&6
7094 else
7095 echo "$as_me:$LINENO: result: no" >&5
7096echo "${ECHO_T}no" >&6
7097 fi
7098
7099
7100 enablestring=
7101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7102echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7103 no_cache=0
7104 # Check whether --enable-listctrl or --disable-listctrl was given.
7105if test "${enable_listctrl+set}" = set; then
7106 enableval="$enable_listctrl"
7107
7108 if test "$enableval" = yes; then
7109 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7110 else
7111 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7112 fi
7113
7114else
7115
7116 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7117 if test "x$LINE" != x ; then
7118 eval "DEFAULT_$LINE"
7119 else
7120 no_cache=1
7121 fi
7122
7123 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7124
7125fi;
7126
7127 eval "$ac_cv_use_listctrl"
7128 if test "$no_cache" != 1; then
7129 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7130 fi
7131
7132 if test "$wxUSE_LISTCTRL" = yes; then
7133 echo "$as_me:$LINENO: result: yes" >&5
7134echo "${ECHO_T}yes" >&6
7135 else
7136 echo "$as_me:$LINENO: result: no" >&5
7137echo "${ECHO_T}no" >&6
7138 fi
7139
7140
7141 enablestring=
7142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7143echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7144 no_cache=0
7145 # Check whether --enable-notebook or --disable-notebook was given.
7146if test "${enable_notebook+set}" = set; then
7147 enableval="$enable_notebook"
7148
7149 if test "$enableval" = yes; then
7150 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7151 else
7152 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7153 fi
7154
7155else
7156
7157 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7158 if test "x$LINE" != x ; then
7159 eval "DEFAULT_$LINE"
7160 else
7161 no_cache=1
7162 fi
7163
7164 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7165
7166fi;
7167
7168 eval "$ac_cv_use_notebook"
7169 if test "$no_cache" != 1; then
7170 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7171 fi
7172
7173 if test "$wxUSE_NOTEBOOK" = yes; then
7174 echo "$as_me:$LINENO: result: yes" >&5
7175echo "${ECHO_T}yes" >&6
7176 else
7177 echo "$as_me:$LINENO: result: no" >&5
7178echo "${ECHO_T}no" >&6
7179 fi
7180
7181
7182 enablestring=
7183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7184echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7185 no_cache=0
7186 # Check whether --enable-radiobox or --disable-radiobox was given.
7187if test "${enable_radiobox+set}" = set; then
7188 enableval="$enable_radiobox"
7189
7190 if test "$enableval" = yes; then
7191 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7192 else
7193 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7194 fi
7195
7196else
7197
7198 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7199 if test "x$LINE" != x ; then
7200 eval "DEFAULT_$LINE"
7201 else
7202 no_cache=1
7203 fi
7204
7205 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7206
7207fi;
7208
7209 eval "$ac_cv_use_radiobox"
7210 if test "$no_cache" != 1; then
7211 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7212 fi
7213
7214 if test "$wxUSE_RADIOBOX" = yes; then
7215 echo "$as_me:$LINENO: result: yes" >&5
7216echo "${ECHO_T}yes" >&6
7217 else
7218 echo "$as_me:$LINENO: result: no" >&5
7219echo "${ECHO_T}no" >&6
7220 fi
7221
7222
7223 enablestring=
7224 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7225echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7226 no_cache=0
7227 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7228if test "${enable_radiobtn+set}" = set; then
7229 enableval="$enable_radiobtn"
7230
7231 if test "$enableval" = yes; then
7232 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7233 else
7234 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7235 fi
7236
7237else
7238
7239 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7240 if test "x$LINE" != x ; then
7241 eval "DEFAULT_$LINE"
7242 else
7243 no_cache=1
7244 fi
7245
7246 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7247
7248fi;
7249
7250 eval "$ac_cv_use_radiobtn"
7251 if test "$no_cache" != 1; then
7252 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7253 fi
7254
7255 if test "$wxUSE_RADIOBTN" = yes; then
7256 echo "$as_me:$LINENO: result: yes" >&5
7257echo "${ECHO_T}yes" >&6
7258 else
7259 echo "$as_me:$LINENO: result: no" >&5
7260echo "${ECHO_T}no" >&6
7261 fi
7262
7263
7264 enablestring=
7265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7266echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7267 no_cache=0
7268 # Check whether --enable-sash or --disable-sash was given.
7269if test "${enable_sash+set}" = set; then
7270 enableval="$enable_sash"
7271
7272 if test "$enableval" = yes; then
7273 ac_cv_use_sash='wxUSE_SASH=yes'
7274 else
7275 ac_cv_use_sash='wxUSE_SASH=no'
7276 fi
7277
7278else
7279
7280 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7281 if test "x$LINE" != x ; then
7282 eval "DEFAULT_$LINE"
7283 else
7284 no_cache=1
7285 fi
7286
7287 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7288
7289fi;
7290
7291 eval "$ac_cv_use_sash"
7292 if test "$no_cache" != 1; then
7293 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7294 fi
7295
7296 if test "$wxUSE_SASH" = yes; then
7297 echo "$as_me:$LINENO: result: yes" >&5
7298echo "${ECHO_T}yes" >&6
7299 else
7300 echo "$as_me:$LINENO: result: no" >&5
7301echo "${ECHO_T}no" >&6
7302 fi
7303
7304
7305 enablestring=
7306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7307echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7308 no_cache=0
7309 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7310if test "${enable_scrollbar+set}" = set; then
7311 enableval="$enable_scrollbar"
7312
7313 if test "$enableval" = yes; then
7314 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7315 else
7316 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7317 fi
7318
7319else
7320
7321 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7322 if test "x$LINE" != x ; then
7323 eval "DEFAULT_$LINE"
7324 else
7325 no_cache=1
7326 fi
7327
7328 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7329
7330fi;
7331
7332 eval "$ac_cv_use_scrollbar"
7333 if test "$no_cache" != 1; then
7334 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7335 fi
7336
7337 if test "$wxUSE_SCROLLBAR" = yes; then
7338 echo "$as_me:$LINENO: result: yes" >&5
7339echo "${ECHO_T}yes" >&6
7340 else
7341 echo "$as_me:$LINENO: result: no" >&5
7342echo "${ECHO_T}no" >&6
7343 fi
7344
7345
7346 enablestring=
7347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7348echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7349 no_cache=0
7350 # Check whether --enable-slider or --disable-slider was given.
7351if test "${enable_slider+set}" = set; then
7352 enableval="$enable_slider"
7353
7354 if test "$enableval" = yes; then
7355 ac_cv_use_slider='wxUSE_SLIDER=yes'
7356 else
7357 ac_cv_use_slider='wxUSE_SLIDER=no'
7358 fi
7359
7360else
7361
7362 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7363 if test "x$LINE" != x ; then
7364 eval "DEFAULT_$LINE"
7365 else
7366 no_cache=1
7367 fi
7368
7369 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7370
7371fi;
7372
7373 eval "$ac_cv_use_slider"
7374 if test "$no_cache" != 1; then
7375 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7376 fi
7377
7378 if test "$wxUSE_SLIDER" = yes; then
7379 echo "$as_me:$LINENO: result: yes" >&5
7380echo "${ECHO_T}yes" >&6
7381 else
7382 echo "$as_me:$LINENO: result: no" >&5
7383echo "${ECHO_T}no" >&6
7384 fi
7385
7386
7387 enablestring=
7388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7389echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7390 no_cache=0
7391 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7392if test "${enable_spinbtn+set}" = set; then
7393 enableval="$enable_spinbtn"
7394
7395 if test "$enableval" = yes; then
7396 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7397 else
7398 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7399 fi
7400
7401else
7402
7403 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7404 if test "x$LINE" != x ; then
7405 eval "DEFAULT_$LINE"
7406 else
7407 no_cache=1
7408 fi
7409
7410 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7411
7412fi;
7413
7414 eval "$ac_cv_use_spinbtn"
7415 if test "$no_cache" != 1; then
7416 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7417 fi
7418
7419 if test "$wxUSE_SPINBTN" = yes; then
7420 echo "$as_me:$LINENO: result: yes" >&5
7421echo "${ECHO_T}yes" >&6
7422 else
7423 echo "$as_me:$LINENO: result: no" >&5
7424echo "${ECHO_T}no" >&6
7425 fi
7426
7427
7428 enablestring=
7429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7430echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7431 no_cache=0
7432 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7433if test "${enable_spinctrl+set}" = set; then
7434 enableval="$enable_spinctrl"
7435
7436 if test "$enableval" = yes; then
7437 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7438 else
7439 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7440 fi
7441
7442else
7443
7444 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7445 if test "x$LINE" != x ; then
7446 eval "DEFAULT_$LINE"
7447 else
7448 no_cache=1
7449 fi
7450
7451 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7452
7453fi;
7454
7455 eval "$ac_cv_use_spinctrl"
7456 if test "$no_cache" != 1; then
7457 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7458 fi
7459
7460 if test "$wxUSE_SPINCTRL" = yes; then
7461 echo "$as_me:$LINENO: result: yes" >&5
7462echo "${ECHO_T}yes" >&6
7463 else
7464 echo "$as_me:$LINENO: result: no" >&5
7465echo "${ECHO_T}no" >&6
7466 fi
7467
7468
7469 enablestring=
7470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7471echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7472 no_cache=0
7473 # Check whether --enable-splitter or --disable-splitter was given.
7474if test "${enable_splitter+set}" = set; then
7475 enableval="$enable_splitter"
7476
7477 if test "$enableval" = yes; then
7478 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7479 else
7480 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7481 fi
7482
7483else
7484
7485 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7486 if test "x$LINE" != x ; then
7487 eval "DEFAULT_$LINE"
7488 else
7489 no_cache=1
7490 fi
7491
7492 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7493
7494fi;
7495
7496 eval "$ac_cv_use_splitter"
7497 if test "$no_cache" != 1; then
7498 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7499 fi
7500
7501 if test "$wxUSE_SPLITTER" = yes; then
7502 echo "$as_me:$LINENO: result: yes" >&5
7503echo "${ECHO_T}yes" >&6
7504 else
7505 echo "$as_me:$LINENO: result: no" >&5
7506echo "${ECHO_T}no" >&6
7507 fi
7508
7509
7510 enablestring=
7511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7512echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7513 no_cache=0
7514 # Check whether --enable-statbmp or --disable-statbmp was given.
7515if test "${enable_statbmp+set}" = set; then
7516 enableval="$enable_statbmp"
7517
7518 if test "$enableval" = yes; then
7519 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7520 else
7521 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7522 fi
7523
7524else
7525
7526 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7527 if test "x$LINE" != x ; then
7528 eval "DEFAULT_$LINE"
7529 else
7530 no_cache=1
7531 fi
7532
7533 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7534
7535fi;
7536
7537 eval "$ac_cv_use_statbmp"
7538 if test "$no_cache" != 1; then
7539 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7540 fi
7541
7542 if test "$wxUSE_STATBMP" = yes; then
7543 echo "$as_me:$LINENO: result: yes" >&5
7544echo "${ECHO_T}yes" >&6
7545 else
7546 echo "$as_me:$LINENO: result: no" >&5
7547echo "${ECHO_T}no" >&6
7548 fi
7549
7550
7551 enablestring=
7552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7553echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7554 no_cache=0
7555 # Check whether --enable-statbox or --disable-statbox was given.
7556if test "${enable_statbox+set}" = set; then
7557 enableval="$enable_statbox"
7558
7559 if test "$enableval" = yes; then
7560 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7561 else
7562 ac_cv_use_statbox='wxUSE_STATBOX=no'
7563 fi
7564
7565else
7566
7567 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7568 if test "x$LINE" != x ; then
7569 eval "DEFAULT_$LINE"
7570 else
7571 no_cache=1
7572 fi
7573
7574 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7575
7576fi;
7577
7578 eval "$ac_cv_use_statbox"
7579 if test "$no_cache" != 1; then
7580 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7581 fi
7582
7583 if test "$wxUSE_STATBOX" = yes; then
7584 echo "$as_me:$LINENO: result: yes" >&5
7585echo "${ECHO_T}yes" >&6
7586 else
7587 echo "$as_me:$LINENO: result: no" >&5
7588echo "${ECHO_T}no" >&6
7589 fi
7590
7591
7592 enablestring=
7593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7594echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7595 no_cache=0
7596 # Check whether --enable-statline or --disable-statline was given.
7597if test "${enable_statline+set}" = set; then
7598 enableval="$enable_statline"
7599
7600 if test "$enableval" = yes; then
7601 ac_cv_use_statline='wxUSE_STATLINE=yes'
7602 else
7603 ac_cv_use_statline='wxUSE_STATLINE=no'
7604 fi
7605
7606else
7607
7608 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7609 if test "x$LINE" != x ; then
7610 eval "DEFAULT_$LINE"
7611 else
7612 no_cache=1
7613 fi
7614
7615 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7616
7617fi;
7618
7619 eval "$ac_cv_use_statline"
7620 if test "$no_cache" != 1; then
7621 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7622 fi
7623
7624 if test "$wxUSE_STATLINE" = yes; then
7625 echo "$as_me:$LINENO: result: yes" >&5
7626echo "${ECHO_T}yes" >&6
7627 else
7628 echo "$as_me:$LINENO: result: no" >&5
7629echo "${ECHO_T}no" >&6
7630 fi
7631
7632
7633 enablestring=
7634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7635echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7636 no_cache=0
7637 # Check whether --enable-stattext or --disable-stattext was given.
7638if test "${enable_stattext+set}" = set; then
7639 enableval="$enable_stattext"
7640
7641 if test "$enableval" = yes; then
7642 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7643 else
7644 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7645 fi
7646
7647else
7648
7649 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7650 if test "x$LINE" != x ; then
7651 eval "DEFAULT_$LINE"
7652 else
7653 no_cache=1
7654 fi
7655
7656 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7657
7658fi;
7659
7660 eval "$ac_cv_use_stattext"
7661 if test "$no_cache" != 1; then
7662 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7663 fi
7664
7665 if test "$wxUSE_STATTEXT" = yes; then
7666 echo "$as_me:$LINENO: result: yes" >&5
7667echo "${ECHO_T}yes" >&6
7668 else
7669 echo "$as_me:$LINENO: result: no" >&5
7670echo "${ECHO_T}no" >&6
7671 fi
7672
7673
7674 enablestring=
7675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7676echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7677 no_cache=0
7678 # Check whether --enable-statusbar or --disable-statusbar was given.
7679if test "${enable_statusbar+set}" = set; then
7680 enableval="$enable_statusbar"
7681
7682 if test "$enableval" = yes; then
7683 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7684 else
7685 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7686 fi
7687
7688else
7689
7690 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7691 if test "x$LINE" != x ; then
7692 eval "DEFAULT_$LINE"
7693 else
7694 no_cache=1
7695 fi
7696
7697 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7698
7699fi;
7700
7701 eval "$ac_cv_use_statusbar"
7702 if test "$no_cache" != 1; then
7703 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7704 fi
7705
7706 if test "$wxUSE_STATUSBAR" = yes; then
7707 echo "$as_me:$LINENO: result: yes" >&5
7708echo "${ECHO_T}yes" >&6
7709 else
7710 echo "$as_me:$LINENO: result: no" >&5
7711echo "${ECHO_T}no" >&6
7712 fi
7713
7714
7715 enablestring=
7716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7717echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7718 no_cache=0
7719 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7720if test "${enable_tabdialog+set}" = set; then
7721 enableval="$enable_tabdialog"
7722
7723 if test "$enableval" = yes; then
7724 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7725 else
7726 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7727 fi
7728
7729else
7730
7731 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7732 if test "x$LINE" != x ; then
7733 eval "DEFAULT_$LINE"
7734 else
7735 no_cache=1
7736 fi
7737
7738 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7739
7740fi;
7741
7742 eval "$ac_cv_use_tabdialog"
7743 if test "$no_cache" != 1; then
7744 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7745 fi
7746
7747 if test "$wxUSE_TABDIALOG" = yes; then
7748 echo "$as_me:$LINENO: result: yes" >&5
7749echo "${ECHO_T}yes" >&6
7750 else
7751 echo "$as_me:$LINENO: result: no" >&5
7752echo "${ECHO_T}no" >&6
7753 fi
7754
7755
7756 enablestring=
7757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7758echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7759 no_cache=0
7760 # Check whether --enable-textctrl or --disable-textctrl was given.
7761if test "${enable_textctrl+set}" = set; then
7762 enableval="$enable_textctrl"
7763
7764 if test "$enableval" = yes; then
7765 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7766 else
7767 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7768 fi
7769
7770else
7771
7772 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7773 if test "x$LINE" != x ; then
7774 eval "DEFAULT_$LINE"
7775 else
7776 no_cache=1
7777 fi
7778
7779 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7780
7781fi;
7782
7783 eval "$ac_cv_use_textctrl"
7784 if test "$no_cache" != 1; then
7785 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7786 fi
7787
7788 if test "$wxUSE_TEXTCTRL" = yes; then
7789 echo "$as_me:$LINENO: result: yes" >&5
7790echo "${ECHO_T}yes" >&6
7791 else
7792 echo "$as_me:$LINENO: result: no" >&5
7793echo "${ECHO_T}no" >&6
7794 fi
7795
7796
7797 enablestring=
7798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7799echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7800 no_cache=0
7801 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7802if test "${enable_togglebtn+set}" = set; then
7803 enableval="$enable_togglebtn"
7804
7805 if test "$enableval" = yes; then
7806 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
7807 else
7808 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
7809 fi
7810
7811else
7812
7813 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7814 if test "x$LINE" != x ; then
7815 eval "DEFAULT_$LINE"
7816 else
7817 no_cache=1
7818 fi
7819
7820 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7821
7822fi;
7823
7824 eval "$ac_cv_use_togglebtn"
7825 if test "$no_cache" != 1; then
7826 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7827 fi
7828
7829 if test "$wxUSE_TOGGLEBTN" = yes; then
7830 echo "$as_me:$LINENO: result: yes" >&5
7831echo "${ECHO_T}yes" >&6
7832 else
7833 echo "$as_me:$LINENO: result: no" >&5
7834echo "${ECHO_T}no" >&6
7835 fi
7836
7837
7838 enablestring=
7839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7840echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7841 no_cache=0
7842 # Check whether --enable-toolbar or --disable-toolbar was given.
7843if test "${enable_toolbar+set}" = set; then
7844 enableval="$enable_toolbar"
7845
7846 if test "$enableval" = yes; then
7847 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
7848 else
7849 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
7850 fi
7851
7852else
7853
7854 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7855 if test "x$LINE" != x ; then
7856 eval "DEFAULT_$LINE"
7857 else
7858 no_cache=1
7859 fi
7860
7861 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7862
7863fi;
7864
7865 eval "$ac_cv_use_toolbar"
7866 if test "$no_cache" != 1; then
7867 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7868 fi
7869
7870 if test "$wxUSE_TOOLBAR" = yes; then
7871 echo "$as_me:$LINENO: result: yes" >&5
7872echo "${ECHO_T}yes" >&6
7873 else
7874 echo "$as_me:$LINENO: result: no" >&5
7875echo "${ECHO_T}no" >&6
7876 fi
7877
7878
7879 enablestring=
7880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7881echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7882 no_cache=0
7883 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7884if test "${enable_tbarnative+set}" = set; then
7885 enableval="$enable_tbarnative"
7886
7887 if test "$enableval" = yes; then
7888 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
7889 else
7890 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
7891 fi
7892
7893else
7894
7895 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7896 if test "x$LINE" != x ; then
7897 eval "DEFAULT_$LINE"
7898 else
7899 no_cache=1
7900 fi
7901
7902 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7903
7904fi;
7905
7906 eval "$ac_cv_use_tbarnative"
7907 if test "$no_cache" != 1; then
7908 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7909 fi
7910
7911 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7912 echo "$as_me:$LINENO: result: yes" >&5
7913echo "${ECHO_T}yes" >&6
7914 else
7915 echo "$as_me:$LINENO: result: no" >&5
7916echo "${ECHO_T}no" >&6
7917 fi
7918
7919
7920 enablestring=
7921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7922echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7923 no_cache=0
7924 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7925if test "${enable_tbarsmpl+set}" = set; then
7926 enableval="$enable_tbarsmpl"
7927
7928 if test "$enableval" = yes; then
7929 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
7930 else
7931 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
7932 fi
7933
7934else
7935
7936 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7937 if test "x$LINE" != x ; then
7938 eval "DEFAULT_$LINE"
7939 else
7940 no_cache=1
7941 fi
7942
7943 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7944
7945fi;
7946
7947 eval "$ac_cv_use_tbarsmpl"
7948 if test "$no_cache" != 1; then
7949 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7950 fi
7951
7952 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7953 echo "$as_me:$LINENO: result: yes" >&5
7954echo "${ECHO_T}yes" >&6
7955 else
7956 echo "$as_me:$LINENO: result: no" >&5
7957echo "${ECHO_T}no" >&6
7958 fi
7959
7960
7961 enablestring=
7962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
7963echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
7964 no_cache=0
7965 # Check whether --enable-treectrl or --disable-treectrl was given.
7966if test "${enable_treectrl+set}" = set; then
7967 enableval="$enable_treectrl"
7968
7969 if test "$enableval" = yes; then
7970 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
7971 else
7972 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
7973 fi
7974
7975else
7976
7977 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7978 if test "x$LINE" != x ; then
7979 eval "DEFAULT_$LINE"
7980 else
7981 no_cache=1
7982 fi
7983
7984 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7985
7986fi;
7987
7988 eval "$ac_cv_use_treectrl"
7989 if test "$no_cache" != 1; then
7990 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7991 fi
7992
7993 if test "$wxUSE_TREECTRL" = yes; then
7994 echo "$as_me:$LINENO: result: yes" >&5
7995echo "${ECHO_T}yes" >&6
7996 else
7997 echo "$as_me:$LINENO: result: no" >&5
7998echo "${ECHO_T}no" >&6
7999 fi
8000
8001
8002 enablestring=
8003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8004echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8005 no_cache=0
8006 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8007if test "${enable_tipwindow+set}" = set; then
8008 enableval="$enable_tipwindow"
8009
8010 if test "$enableval" = yes; then
8011 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8012 else
8013 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8014 fi
8015
8016else
8017
8018 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8019 if test "x$LINE" != x ; then
8020 eval "DEFAULT_$LINE"
8021 else
8022 no_cache=1
8023 fi
8024
8025 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8026
8027fi;
8028
8029 eval "$ac_cv_use_tipwindow"
8030 if test "$no_cache" != 1; then
8031 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8032 fi
8033
8034 if test "$wxUSE_TIPWINDOW" = yes; then
8035 echo "$as_me:$LINENO: result: yes" >&5
8036echo "${ECHO_T}yes" >&6
8037 else
8038 echo "$as_me:$LINENO: result: no" >&5
8039echo "${ECHO_T}no" >&6
8040 fi
8041
8042
8043 enablestring=
8044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8045echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8046 no_cache=0
8047 # Check whether --enable-popupwin or --disable-popupwin was given.
8048if test "${enable_popupwin+set}" = set; then
8049 enableval="$enable_popupwin"
8050
8051 if test "$enableval" = yes; then
8052 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8053 else
8054 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8055 fi
8056
8057else
8058
8059 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8060 if test "x$LINE" != x ; then
8061 eval "DEFAULT_$LINE"
8062 else
8063 no_cache=1
8064 fi
8065
8066 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8067
8068fi;
8069
8070 eval "$ac_cv_use_popupwin"
8071 if test "$no_cache" != 1; then
8072 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8073 fi
8074
8075 if test "$wxUSE_POPUPWIN" = yes; then
8076 echo "$as_me:$LINENO: result: yes" >&5
8077echo "${ECHO_T}yes" >&6
8078 else
8079 echo "$as_me:$LINENO: result: no" >&5
8080echo "${ECHO_T}no" >&6
8081 fi
8082
8083
8084
8085
8086 enablestring=
8087 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8088echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8089 no_cache=0
8090 # Check whether --enable-commondlg or --disable-commondlg was given.
8091if test "${enable_commondlg+set}" = set; then
8092 enableval="$enable_commondlg"
8093
8094 if test "$enableval" = yes; then
8095 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8096 else
8097 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8098 fi
8099
8100else
8101
8102 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8103 if test "x$LINE" != x ; then
8104 eval "DEFAULT_$LINE"
8105 else
8106 no_cache=1
8107 fi
8108
8109 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8110
8111fi;
8112
8113 eval "$ac_cv_use_commondlg"
8114 if test "$no_cache" != 1; then
8115 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8116 fi
8117
8118 if test "$wxUSE_COMMONDLGS" = yes; then
8119 echo "$as_me:$LINENO: result: yes" >&5
8120echo "${ECHO_T}yes" >&6
8121 else
8122 echo "$as_me:$LINENO: result: no" >&5
8123echo "${ECHO_T}no" >&6
8124 fi
8125
8126
8127 enablestring=
8128 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8129echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8130 no_cache=0
8131 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8132if test "${enable_choicedlg+set}" = set; then
8133 enableval="$enable_choicedlg"
8134
8135 if test "$enableval" = yes; then
8136 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8137 else
8138 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8139 fi
8140
8141else
8142
8143 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8144 if test "x$LINE" != x ; then
8145 eval "DEFAULT_$LINE"
8146 else
8147 no_cache=1
8148 fi
8149
8150 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8151
8152fi;
8153
8154 eval "$ac_cv_use_choicedlg"
8155 if test "$no_cache" != 1; then
8156 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8157 fi
8158
8159 if test "$wxUSE_CHOICEDLG" = yes; then
8160 echo "$as_me:$LINENO: result: yes" >&5
8161echo "${ECHO_T}yes" >&6
8162 else
8163 echo "$as_me:$LINENO: result: no" >&5
8164echo "${ECHO_T}no" >&6
8165 fi
8166
8167
8168 enablestring=
8169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8170echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8171 no_cache=0
8172 # Check whether --enable-coldlg or --disable-coldlg was given.
8173if test "${enable_coldlg+set}" = set; then
8174 enableval="$enable_coldlg"
8175
8176 if test "$enableval" = yes; then
8177 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8178 else
8179 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8180 fi
8181
8182else
8183
8184 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8185 if test "x$LINE" != x ; then
8186 eval "DEFAULT_$LINE"
8187 else
8188 no_cache=1
8189 fi
8190
8191 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8192
8193fi;
8194
8195 eval "$ac_cv_use_coldlg"
8196 if test "$no_cache" != 1; then
8197 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8198 fi
8199
8200 if test "$wxUSE_COLOURDLG" = yes; then
8201 echo "$as_me:$LINENO: result: yes" >&5
8202echo "${ECHO_T}yes" >&6
8203 else
8204 echo "$as_me:$LINENO: result: no" >&5
8205echo "${ECHO_T}no" >&6
8206 fi
8207
8208
8209 enablestring=
8210 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8211echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8212 no_cache=0
8213 # Check whether --enable-filedlg or --disable-filedlg was given.
8214if test "${enable_filedlg+set}" = set; then
8215 enableval="$enable_filedlg"
8216
8217 if test "$enableval" = yes; then
8218 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8219 else
8220 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8221 fi
8222
8223else
8224
8225 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8226 if test "x$LINE" != x ; then
8227 eval "DEFAULT_$LINE"
8228 else
8229 no_cache=1
8230 fi
8231
8232 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8233
8234fi;
8235
8236 eval "$ac_cv_use_filedlg"
8237 if test "$no_cache" != 1; then
8238 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8239 fi
8240
8241 if test "$wxUSE_FILEDLG" = yes; then
8242 echo "$as_me:$LINENO: result: yes" >&5
8243echo "${ECHO_T}yes" >&6
8244 else
8245 echo "$as_me:$LINENO: result: no" >&5
8246echo "${ECHO_T}no" >&6
8247 fi
8248
8249
8250 enablestring=
8251 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8252echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8253 no_cache=0
8254 # Check whether --enable-finddlg or --disable-finddlg was given.
8255if test "${enable_finddlg+set}" = set; then
8256 enableval="$enable_finddlg"
8257
8258 if test "$enableval" = yes; then
8259 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8260 else
8261 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8262 fi
8263
8264else
8265
8266 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8267 if test "x$LINE" != x ; then
8268 eval "DEFAULT_$LINE"
8269 else
8270 no_cache=1
8271 fi
8272
8273 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8274
8275fi;
8276
8277 eval "$ac_cv_use_finddlg"
8278 if test "$no_cache" != 1; then
8279 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8280 fi
8281
8282 if test "$wxUSE_FINDREPLDLG" = yes; then
8283 echo "$as_me:$LINENO: result: yes" >&5
8284echo "${ECHO_T}yes" >&6
8285 else
8286 echo "$as_me:$LINENO: result: no" >&5
8287echo "${ECHO_T}no" >&6
8288 fi
8289
8290
8291 enablestring=
8292 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8293echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8294 no_cache=0
8295 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8296if test "${enable_fontdlg+set}" = set; then
8297 enableval="$enable_fontdlg"
8298
8299 if test "$enableval" = yes; then
8300 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8301 else
8302 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8303 fi
8304
8305else
8306
8307 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8308 if test "x$LINE" != x ; then
8309 eval "DEFAULT_$LINE"
8310 else
8311 no_cache=1
8312 fi
8313
8314 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8315
8316fi;
8317
8318 eval "$ac_cv_use_fontdlg"
8319 if test "$no_cache" != 1; then
8320 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8321 fi
8322
8323 if test "$wxUSE_FONTDLG" = yes; then
8324 echo "$as_me:$LINENO: result: yes" >&5
8325echo "${ECHO_T}yes" >&6
8326 else
8327 echo "$as_me:$LINENO: result: no" >&5
8328echo "${ECHO_T}no" >&6
8329 fi
8330
8331
8332 enablestring=
8333 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8334echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8335 no_cache=0
8336 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8337if test "${enable_dirdlg+set}" = set; then
8338 enableval="$enable_dirdlg"
8339
8340 if test "$enableval" = yes; then
8341 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8342 else
8343 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8344 fi
8345
8346else
8347
8348 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8349 if test "x$LINE" != x ; then
8350 eval "DEFAULT_$LINE"
8351 else
8352 no_cache=1
8353 fi
8354
8355 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8356
8357fi;
8358
8359 eval "$ac_cv_use_dirdlg"
8360 if test "$no_cache" != 1; then
8361 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8362 fi
8363
8364 if test "$wxUSE_DIRDLG" = yes; then
8365 echo "$as_me:$LINENO: result: yes" >&5
8366echo "${ECHO_T}yes" >&6
8367 else
8368 echo "$as_me:$LINENO: result: no" >&5
8369echo "${ECHO_T}no" >&6
8370 fi
8371
8372
8373 enablestring=
8374 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8375echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8376 no_cache=0
8377 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8378if test "${enable_msgdlg+set}" = set; then
8379 enableval="$enable_msgdlg"
8380
8381 if test "$enableval" = yes; then
8382 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8383 else
8384 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8385 fi
8386
8387else
8388
8389 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8390 if test "x$LINE" != x ; then
8391 eval "DEFAULT_$LINE"
8392 else
8393 no_cache=1
8394 fi
8395
8396 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8397
8398fi;
8399
8400 eval "$ac_cv_use_msgdlg"
8401 if test "$no_cache" != 1; then
8402 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8403 fi
8404
8405 if test "$wxUSE_MSGDLG" = yes; then
8406 echo "$as_me:$LINENO: result: yes" >&5
8407echo "${ECHO_T}yes" >&6
8408 else
8409 echo "$as_me:$LINENO: result: no" >&5
8410echo "${ECHO_T}no" >&6
8411 fi
8412
8413
8414 enablestring=
8415 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8416echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8417 no_cache=0
8418 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8419if test "${enable_numberdlg+set}" = set; then
8420 enableval="$enable_numberdlg"
8421
8422 if test "$enableval" = yes; then
8423 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8424 else
8425 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8426 fi
8427
8428else
8429
8430 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8431 if test "x$LINE" != x ; then
8432 eval "DEFAULT_$LINE"
8433 else
8434 no_cache=1
8435 fi
8436
8437 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8438
8439fi;
8440
8441 eval "$ac_cv_use_numberdlg"
8442 if test "$no_cache" != 1; then
8443 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8444 fi
8445
8446 if test "$wxUSE_NUMBERDLG" = yes; then
8447 echo "$as_me:$LINENO: result: yes" >&5
8448echo "${ECHO_T}yes" >&6
8449 else
8450 echo "$as_me:$LINENO: result: no" >&5
8451echo "${ECHO_T}no" >&6
8452 fi
8453
8454
8455 enablestring=
8456 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8457echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8458 no_cache=0
8459 # Check whether --enable-splash or --disable-splash was given.
8460if test "${enable_splash+set}" = set; then
8461 enableval="$enable_splash"
8462
8463 if test "$enableval" = yes; then
8464 ac_cv_use_splash='wxUSE_SPLASH=yes'
8465 else
8466 ac_cv_use_splash='wxUSE_SPLASH=no'
8467 fi
8468
8469else
8470
8471 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8472 if test "x$LINE" != x ; then
8473 eval "DEFAULT_$LINE"
8474 else
8475 no_cache=1
8476 fi
8477
8478 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8479
8480fi;
8481
8482 eval "$ac_cv_use_splash"
8483 if test "$no_cache" != 1; then
8484 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8485 fi
8486
8487 if test "$wxUSE_SPLASH" = yes; then
8488 echo "$as_me:$LINENO: result: yes" >&5
8489echo "${ECHO_T}yes" >&6
8490 else
8491 echo "$as_me:$LINENO: result: no" >&5
8492echo "${ECHO_T}no" >&6
8493 fi
8494
8495
8496 enablestring=
8497 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8498echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8499 no_cache=0
8500 # Check whether --enable-textdlg or --disable-textdlg was given.
8501if test "${enable_textdlg+set}" = set; then
8502 enableval="$enable_textdlg"
8503
8504 if test "$enableval" = yes; then
8505 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8506 else
8507 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8508 fi
8509
8510else
8511
8512 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8513 if test "x$LINE" != x ; then
8514 eval "DEFAULT_$LINE"
8515 else
8516 no_cache=1
8517 fi
8518
8519 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8520
8521fi;
8522
8523 eval "$ac_cv_use_textdlg"
8524 if test "$no_cache" != 1; then
8525 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8526 fi
8527
8528 if test "$wxUSE_TEXTDLG" = yes; then
8529 echo "$as_me:$LINENO: result: yes" >&5
8530echo "${ECHO_T}yes" >&6
8531 else
8532 echo "$as_me:$LINENO: result: no" >&5
8533echo "${ECHO_T}no" >&6
8534 fi
8535
8536
8537 enablestring=
8538 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8539echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8540 no_cache=0
8541 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8542if test "${enable_tipdlg+set}" = set; then
8543 enableval="$enable_tipdlg"
8544
8545 if test "$enableval" = yes; then
8546 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8547 else
8548 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8549 fi
8550
8551else
8552
8553 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8554 if test "x$LINE" != x ; then
8555 eval "DEFAULT_$LINE"
8556 else
8557 no_cache=1
8558 fi
8559
8560 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8561
8562fi;
8563
8564 eval "$ac_cv_use_tipdlg"
8565 if test "$no_cache" != 1; then
8566 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8567 fi
8568
8569 if test "$wxUSE_STARTUP_TIPS" = yes; then
8570 echo "$as_me:$LINENO: result: yes" >&5
8571echo "${ECHO_T}yes" >&6
8572 else
8573 echo "$as_me:$LINENO: result: no" >&5
8574echo "${ECHO_T}no" >&6
8575 fi
8576
8577
8578 enablestring=
8579 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8580echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8581 no_cache=0
8582 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8583if test "${enable_progressdlg+set}" = set; then
8584 enableval="$enable_progressdlg"
8585
8586 if test "$enableval" = yes; then
8587 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8588 else
8589 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8590 fi
8591
8592else
8593
8594 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8595 if test "x$LINE" != x ; then
8596 eval "DEFAULT_$LINE"
8597 else
8598 no_cache=1
8599 fi
8600
8601 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8602
8603fi;
8604
8605 eval "$ac_cv_use_progressdlg"
8606 if test "$no_cache" != 1; then
8607 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8608 fi
8609
8610 if test "$wxUSE_PROGRESSDLG" = yes; then
8611 echo "$as_me:$LINENO: result: yes" >&5
8612echo "${ECHO_T}yes" >&6
8613 else
8614 echo "$as_me:$LINENO: result: no" >&5
8615echo "${ECHO_T}no" >&6
8616 fi
8617
8618
8619 enablestring=
8620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8621echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8622 no_cache=0
8623 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8624if test "${enable_wizarddlg+set}" = set; then
8625 enableval="$enable_wizarddlg"
8626
8627 if test "$enableval" = yes; then
8628 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8629 else
8630 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8631 fi
8632
8633else
8634
8635 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8636 if test "x$LINE" != x ; then
8637 eval "DEFAULT_$LINE"
8638 else
8639 no_cache=1
8640 fi
8641
8642 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8643
8644fi;
8645
8646 eval "$ac_cv_use_wizarddlg"
8647 if test "$no_cache" != 1; then
8648 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8649 fi
8650
8651 if test "$wxUSE_WIZARDDLG" = yes; then
8652 echo "$as_me:$LINENO: result: yes" >&5
8653echo "${ECHO_T}yes" >&6
8654 else
8655 echo "$as_me:$LINENO: result: no" >&5
8656echo "${ECHO_T}no" >&6
8657 fi
8658
8659
8660
8661
8662 enablestring=
8663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8664echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8665 no_cache=0
8666 # Check whether --enable-menus or --disable-menus was given.
8667if test "${enable_menus+set}" = set; then
8668 enableval="$enable_menus"
8669
8670 if test "$enableval" = yes; then
8671 ac_cv_use_menus='wxUSE_MENUS=yes'
8672 else
8673 ac_cv_use_menus='wxUSE_MENUS=no'
8674 fi
8675
8676else
8677
8678 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8679 if test "x$LINE" != x ; then
8680 eval "DEFAULT_$LINE"
8681 else
8682 no_cache=1
8683 fi
8684
8685 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8686
8687fi;
8688
8689 eval "$ac_cv_use_menus"
8690 if test "$no_cache" != 1; then
8691 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8692 fi
8693
8694 if test "$wxUSE_MENUS" = yes; then
8695 echo "$as_me:$LINENO: result: yes" >&5
8696echo "${ECHO_T}yes" >&6
8697 else
8698 echo "$as_me:$LINENO: result: no" >&5
8699echo "${ECHO_T}no" >&6
8700 fi
8701
8702
8703 enablestring=
8704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8705echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8706 no_cache=0
8707 # Check whether --enable-miniframe or --disable-miniframe was given.
8708if test "${enable_miniframe+set}" = set; then
8709 enableval="$enable_miniframe"
8710
8711 if test "$enableval" = yes; then
8712 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8713 else
8714 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8715 fi
8716
8717else
8718
8719 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8720 if test "x$LINE" != x ; then
8721 eval "DEFAULT_$LINE"
8722 else
8723 no_cache=1
8724 fi
8725
8726 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8727
8728fi;
8729
8730 eval "$ac_cv_use_miniframe"
8731 if test "$no_cache" != 1; then
8732 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8733 fi
8734
8735 if test "$wxUSE_MINIFRAME" = yes; then
8736 echo "$as_me:$LINENO: result: yes" >&5
8737echo "${ECHO_T}yes" >&6
8738 else
8739 echo "$as_me:$LINENO: result: no" >&5
8740echo "${ECHO_T}no" >&6
8741 fi
8742
8743
8744 enablestring=
8745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8746echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8747 no_cache=0
8748 # Check whether --enable-tooltips or --disable-tooltips was given.
8749if test "${enable_tooltips+set}" = set; then
8750 enableval="$enable_tooltips"
8751
8752 if test "$enableval" = yes; then
8753 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
8754 else
8755 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
8756 fi
8757
8758else
8759
8760 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8761 if test "x$LINE" != x ; then
8762 eval "DEFAULT_$LINE"
8763 else
8764 no_cache=1
8765 fi
8766
8767 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8768
8769fi;
8770
8771 eval "$ac_cv_use_tooltips"
8772 if test "$no_cache" != 1; then
8773 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8774 fi
8775
8776 if test "$wxUSE_TOOLTIPS" = yes; then
8777 echo "$as_me:$LINENO: result: yes" >&5
8778echo "${ECHO_T}yes" >&6
8779 else
8780 echo "$as_me:$LINENO: result: no" >&5
8781echo "${ECHO_T}no" >&6
8782 fi
8783
8784
8785 enablestring=
8786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8787echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8788 no_cache=0
8789 # Check whether --enable-splines or --disable-splines was given.
8790if test "${enable_splines+set}" = set; then
8791 enableval="$enable_splines"
8792
8793 if test "$enableval" = yes; then
8794 ac_cv_use_splines='wxUSE_SPLINES=yes'
8795 else
8796 ac_cv_use_splines='wxUSE_SPLINES=no'
8797 fi
8798
8799else
8800
8801 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8802 if test "x$LINE" != x ; then
8803 eval "DEFAULT_$LINE"
8804 else
8805 no_cache=1
8806 fi
8807
8808 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8809
8810fi;
8811
8812 eval "$ac_cv_use_splines"
8813 if test "$no_cache" != 1; then
8814 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8815 fi
8816
8817 if test "$wxUSE_SPLINES" = yes; then
8818 echo "$as_me:$LINENO: result: yes" >&5
8819echo "${ECHO_T}yes" >&6
8820 else
8821 echo "$as_me:$LINENO: result: no" >&5
8822echo "${ECHO_T}no" >&6
8823 fi
8824
8825
8826 enablestring=
8827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8828echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8829 no_cache=0
8830 # Check whether --enable-validators or --disable-validators was given.
8831if test "${enable_validators+set}" = set; then
8832 enableval="$enable_validators"
8833
8834 if test "$enableval" = yes; then
8835 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
8836 else
8837 ac_cv_use_validators='wxUSE_VALIDATORS=no'
8838 fi
8839
8840else
8841
8842 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8843 if test "x$LINE" != x ; then
8844 eval "DEFAULT_$LINE"
8845 else
8846 no_cache=1
8847 fi
8848
8849 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8850
8851fi;
8852
8853 eval "$ac_cv_use_validators"
8854 if test "$no_cache" != 1; then
8855 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8856 fi
8857
8858 if test "$wxUSE_VALIDATORS" = yes; then
8859 echo "$as_me:$LINENO: result: yes" >&5
8860echo "${ECHO_T}yes" >&6
8861 else
8862 echo "$as_me:$LINENO: result: no" >&5
8863echo "${ECHO_T}no" >&6
8864 fi
8865
8866
8867 enablestring=
8868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8869echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8870 no_cache=0
8871 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8872if test "${enable_busyinfo+set}" = set; then
8873 enableval="$enable_busyinfo"
8874
8875 if test "$enableval" = yes; then
8876 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
8877 else
8878 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
8879 fi
8880
8881else
8882
8883 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8884 if test "x$LINE" != x ; then
8885 eval "DEFAULT_$LINE"
8886 else
8887 no_cache=1
8888 fi
8889
8890 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8891
8892fi;
8893
8894 eval "$ac_cv_use_busyinfo"
8895 if test "$no_cache" != 1; then
8896 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8897 fi
8898
8899 if test "$wxUSE_BUSYINFO" = yes; then
8900 echo "$as_me:$LINENO: result: yes" >&5
8901echo "${ECHO_T}yes" >&6
8902 else
8903 echo "$as_me:$LINENO: result: no" >&5
8904echo "${ECHO_T}no" >&6
8905 fi
8906
8907
8908 enablestring=
8909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8910echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8911 no_cache=0
8912 # Check whether --enable-joystick or --disable-joystick was given.
8913if test "${enable_joystick+set}" = set; then
8914 enableval="$enable_joystick"
8915
8916 if test "$enableval" = yes; then
8917 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
8918 else
8919 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
8920 fi
8921
8922else
8923
8924 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8925 if test "x$LINE" != x ; then
8926 eval "DEFAULT_$LINE"
8927 else
8928 no_cache=1
8929 fi
8930
8931 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8932
8933fi;
8934
8935 eval "$ac_cv_use_joystick"
8936 if test "$no_cache" != 1; then
8937 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8938 fi
8939
8940 if test "$wxUSE_JOYSTICK" = yes; then
8941 echo "$as_me:$LINENO: result: yes" >&5
8942echo "${ECHO_T}yes" >&6
8943 else
8944 echo "$as_me:$LINENO: result: no" >&5
8945echo "${ECHO_T}no" >&6
8946 fi
8947
8948
8949 enablestring=
8950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8951echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
8952 no_cache=0
8953 # Check whether --enable-metafile or --disable-metafile was given.
8954if test "${enable_metafile+set}" = set; then
8955 enableval="$enable_metafile"
8956
8957 if test "$enableval" = yes; then
8958 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8959 else
8960 ac_cv_use_metafile='wxUSE_METAFILE=no'
8961 fi
8962
8963else
8964
8965 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8966 if test "x$LINE" != x ; then
8967 eval "DEFAULT_$LINE"
8968 else
8969 no_cache=1
8970 fi
8971
8972 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8973
8974fi;
8975
8976 eval "$ac_cv_use_metafile"
8977 if test "$no_cache" != 1; then
8978 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8979 fi
8980
8981 if test "$wxUSE_METAFILE" = yes; then
8982 echo "$as_me:$LINENO: result: yes" >&5
8983echo "${ECHO_T}yes" >&6
8984 else
8985 echo "$as_me:$LINENO: result: no" >&5
8986echo "${ECHO_T}no" >&6
8987 fi
8988
8989
8990 enablestring=
8991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
8992echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
8993 no_cache=0
8994 # Check whether --enable-dragimage or --disable-dragimage was given.
8995if test "${enable_dragimage+set}" = set; then
8996 enableval="$enable_dragimage"
8997
8998 if test "$enableval" = yes; then
8999 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9000 else
9001 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9002 fi
9003
9004else
9005
9006 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9007 if test "x$LINE" != x ; then
9008 eval "DEFAULT_$LINE"
9009 else
9010 no_cache=1
9011 fi
9012
9013 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9014
9015fi;
9016
9017 eval "$ac_cv_use_dragimage"
9018 if test "$no_cache" != 1; then
9019 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9020 fi
9021
9022 if test "$wxUSE_DRAGIMAGE" = yes; then
9023 echo "$as_me:$LINENO: result: yes" >&5
9024echo "${ECHO_T}yes" >&6
9025 else
9026 echo "$as_me:$LINENO: result: no" >&5
9027echo "${ECHO_T}no" >&6
9028 fi
9029
9030
9031 enablestring=
9032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9033echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9034 no_cache=0
9035 # Check whether --enable-accessibility or --disable-accessibility was given.
9036if test "${enable_accessibility+set}" = set; then
9037 enableval="$enable_accessibility"
9038
9039 if test "$enableval" = yes; then
9040 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9041 else
9042 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9043 fi
9044
9045else
9046
9047 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9048 if test "x$LINE" != x ; then
9049 eval "DEFAULT_$LINE"
9050 else
9051 no_cache=1
9052 fi
9053
9054 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9055
9056fi;
9057
9058 eval "$ac_cv_use_accessibility"
9059 if test "$no_cache" != 1; then
9060 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9061 fi
9062
9063 if test "$wxUSE_ACCESSIBILITY" = yes; then
9064 echo "$as_me:$LINENO: result: yes" >&5
9065echo "${ECHO_T}yes" >&6
9066 else
9067 echo "$as_me:$LINENO: result: no" >&5
9068echo "${ECHO_T}no" >&6
9069 fi
9070
9071
9072
9073
9074 enablestring=
9075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9076echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9077 no_cache=0
9078 # Check whether --enable-palette or --disable-palette was given.
9079if test "${enable_palette+set}" = set; then
9080 enableval="$enable_palette"
9081
9082 if test "$enableval" = yes; then
9083 ac_cv_use_palette='wxUSE_PALETTE=yes'
9084 else
9085 ac_cv_use_palette='wxUSE_PALETTE=no'
9086 fi
9087
9088else
9089
9090 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9091 if test "x$LINE" != x ; then
9092 eval "DEFAULT_$LINE"
9093 else
9094 no_cache=1
9095 fi
9096
9097 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9098
9099fi;
9100
9101 eval "$ac_cv_use_palette"
9102 if test "$no_cache" != 1; then
9103 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9104 fi
9105
9106 if test "$wxUSE_PALETTE" = yes; then
9107 echo "$as_me:$LINENO: result: yes" >&5
9108echo "${ECHO_T}yes" >&6
9109 else
9110 echo "$as_me:$LINENO: result: no" >&5
9111echo "${ECHO_T}no" >&6
9112 fi
9113
9114
9115 enablestring=
9116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9117echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9118 no_cache=0
9119 # Check whether --enable-image or --disable-image was given.
9120if test "${enable_image+set}" = set; then
9121 enableval="$enable_image"
9122
9123 if test "$enableval" = yes; then
9124 ac_cv_use_image='wxUSE_IMAGE=yes'
9125 else
9126 ac_cv_use_image='wxUSE_IMAGE=no'
9127 fi
9128
9129else
9130
9131 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9132 if test "x$LINE" != x ; then
9133 eval "DEFAULT_$LINE"
9134 else
9135 no_cache=1
9136 fi
9137
9138 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9139
9140fi;
9141
9142 eval "$ac_cv_use_image"
9143 if test "$no_cache" != 1; then
9144 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9145 fi
9146
9147 if test "$wxUSE_IMAGE" = yes; then
9148 echo "$as_me:$LINENO: result: yes" >&5
9149echo "${ECHO_T}yes" >&6
9150 else
9151 echo "$as_me:$LINENO: result: no" >&5
9152echo "${ECHO_T}no" >&6
9153 fi
9154
9155
9156 enablestring=
9157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9158echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9159 no_cache=0
9160 # Check whether --enable-gif or --disable-gif was given.
9161if test "${enable_gif+set}" = set; then
9162 enableval="$enable_gif"
9163
9164 if test "$enableval" = yes; then
9165 ac_cv_use_gif='wxUSE_GIF=yes'
9166 else
9167 ac_cv_use_gif='wxUSE_GIF=no'
9168 fi
9169
9170else
9171
9172 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9173 if test "x$LINE" != x ; then
9174 eval "DEFAULT_$LINE"
9175 else
9176 no_cache=1
9177 fi
9178
9179 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9180
9181fi;
9182
9183 eval "$ac_cv_use_gif"
9184 if test "$no_cache" != 1; then
9185 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9186 fi
9187
9188 if test "$wxUSE_GIF" = yes; then
9189 echo "$as_me:$LINENO: result: yes" >&5
9190echo "${ECHO_T}yes" >&6
9191 else
9192 echo "$as_me:$LINENO: result: no" >&5
9193echo "${ECHO_T}no" >&6
9194 fi
9195
9196
9197 enablestring=
9198 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9199echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9200 no_cache=0
9201 # Check whether --enable-pcx or --disable-pcx was given.
9202if test "${enable_pcx+set}" = set; then
9203 enableval="$enable_pcx"
9204
9205 if test "$enableval" = yes; then
9206 ac_cv_use_pcx='wxUSE_PCX=yes'
9207 else
9208 ac_cv_use_pcx='wxUSE_PCX=no'
9209 fi
9210
9211else
9212
9213 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9214 if test "x$LINE" != x ; then
9215 eval "DEFAULT_$LINE"
9216 else
9217 no_cache=1
9218 fi
9219
9220 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9221
9222fi;
9223
9224 eval "$ac_cv_use_pcx"
9225 if test "$no_cache" != 1; then
9226 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9227 fi
9228
9229 if test "$wxUSE_PCX" = yes; then
9230 echo "$as_me:$LINENO: result: yes" >&5
9231echo "${ECHO_T}yes" >&6
9232 else
9233 echo "$as_me:$LINENO: result: no" >&5
9234echo "${ECHO_T}no" >&6
9235 fi
9236
9237
9238 enablestring=
9239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9240echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9241 no_cache=0
9242 # Check whether --enable-iff or --disable-iff was given.
9243if test "${enable_iff+set}" = set; then
9244 enableval="$enable_iff"
9245
9246 if test "$enableval" = yes; then
9247 ac_cv_use_iff='wxUSE_IFF=yes'
9248 else
9249 ac_cv_use_iff='wxUSE_IFF=no'
9250 fi
9251
9252else
9253
9254 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9255 if test "x$LINE" != x ; then
9256 eval "DEFAULT_$LINE"
9257 else
9258 no_cache=1
9259 fi
9260
9261 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9262
9263fi;
9264
9265 eval "$ac_cv_use_iff"
9266 if test "$no_cache" != 1; then
9267 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9268 fi
9269
9270 if test "$wxUSE_IFF" = yes; then
9271 echo "$as_me:$LINENO: result: yes" >&5
9272echo "${ECHO_T}yes" >&6
9273 else
9274 echo "$as_me:$LINENO: result: no" >&5
9275echo "${ECHO_T}no" >&6
9276 fi
9277
9278
9279 enablestring=
9280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9281echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9282 no_cache=0
9283 # Check whether --enable-pnm or --disable-pnm was given.
9284if test "${enable_pnm+set}" = set; then
9285 enableval="$enable_pnm"
9286
9287 if test "$enableval" = yes; then
9288 ac_cv_use_pnm='wxUSE_PNM=yes'
9289 else
9290 ac_cv_use_pnm='wxUSE_PNM=no'
9291 fi
9292
9293else
9294
9295 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9296 if test "x$LINE" != x ; then
9297 eval "DEFAULT_$LINE"
9298 else
9299 no_cache=1
9300 fi
9301
9302 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9303
9304fi;
9305
9306 eval "$ac_cv_use_pnm"
9307 if test "$no_cache" != 1; then
9308 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9309 fi
9310
9311 if test "$wxUSE_PNM" = yes; then
9312 echo "$as_me:$LINENO: result: yes" >&5
9313echo "${ECHO_T}yes" >&6
9314 else
9315 echo "$as_me:$LINENO: result: no" >&5
9316echo "${ECHO_T}no" >&6
9317 fi
9318
9319
9320 enablestring=
9321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9322echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9323 no_cache=0
9324 # Check whether --enable-xpm or --disable-xpm was given.
9325if test "${enable_xpm+set}" = set; then
9326 enableval="$enable_xpm"
9327
9328 if test "$enableval" = yes; then
9329 ac_cv_use_xpm='wxUSE_XPM=yes'
9330 else
9331 ac_cv_use_xpm='wxUSE_XPM=no'
9332 fi
9333
9334else
9335
9336 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9337 if test "x$LINE" != x ; then
9338 eval "DEFAULT_$LINE"
9339 else
9340 no_cache=1
9341 fi
9342
9343 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9344
9345fi;
9346
9347 eval "$ac_cv_use_xpm"
9348 if test "$no_cache" != 1; then
9349 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9350 fi
9351
9352 if test "$wxUSE_XPM" = yes; then
9353 echo "$as_me:$LINENO: result: yes" >&5
9354echo "${ECHO_T}yes" >&6
9355 else
9356 echo "$as_me:$LINENO: result: no" >&5
9357echo "${ECHO_T}no" >&6
9358 fi
9359
9360
9361 enablestring=
9362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9363echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9364 no_cache=0
9365 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9366if test "${enable_ico_cur+set}" = set; then
9367 enableval="$enable_ico_cur"
9368
9369 if test "$enableval" = yes; then
9370 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9371 else
9372 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9373 fi
9374
9375else
9376
9377 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9378 if test "x$LINE" != x ; then
9379 eval "DEFAULT_$LINE"
9380 else
9381 no_cache=1
9382 fi
9383
9384 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9385
9386fi;
9387
9388 eval "$ac_cv_use_ico_cur"
9389 if test "$no_cache" != 1; then
9390 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9391 fi
9392
9393 if test "$wxUSE_ICO_CUR" = yes; then
9394 echo "$as_me:$LINENO: result: yes" >&5
9395echo "${ECHO_T}yes" >&6
9396 else
9397 echo "$as_me:$LINENO: result: no" >&5
9398echo "${ECHO_T}no" >&6
9399 fi
9400
9401
9402fi
9403
9404case "${host}" in
9405 *-pc-os2_emx | *-pc-os2-emx )
9406 PATH_IFS=';'
9407 LEX_STEM="lexyy"
9408 ;;
9409 *)
9410 PATH_IFS=':'
9411 LEX_STEM="lex.yy"
9412 ;;
9413esac
9414
9415
9416
9417 echo "saving argument cache $wx_arg_cache_file"
9418 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9419
9420
9421
9422echo "$as_me:$LINENO: checking for toolkit" >&5
9423echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9424
9425# In Wine, we need to default to MSW, not GTK or MOTIF
9426if test "$wxUSE_WINE" = "yes"; then
9427 DEFAULT_DEFAULT_wxUSE_GTK=0
9428 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9429 DEFAULT_DEFAULT_wxUSE_MSW=1
9430fi
9431
9432if test "$wxUSE_GUI" = "yes"; then
9433
9434 if test "$USE_BEOS" = 1; then
9435 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9436echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9437 { (exit 1); exit 1; }; }
9438 fi
9439
9440 if test "$TOOLKIT_GIVEN" = 1; then
9441 for toolkit in `echo $ALL_TOOLKITS`; do
9442 var=wxUSE_$toolkit
9443 eval "value=\$${var}"
9444 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9445 done
9446 else
9447 for toolkit in `echo $ALL_TOOLKITS`; do
9448 if test "$has_toolkit_in_cache" != 1; then
9449 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9450 else
9451 var=DEFAULT_wxUSE_$toolkit
9452 fi
9453 eval "wxUSE_$toolkit=\$${var}"
9454 done
9455 fi
9456
9457 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9458 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9459 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9460
9461 case "${host}" in
9462 *-pc-os2_emx | *-pc-os2-emx )
9463 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9464 esac
9465
9466 case "$NUM_TOOLKITS" in
9467 1)
9468 ;;
9469 0)
9470 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9471echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9472 { (exit 1); exit 1; }; }
9473 ;;
9474 *)
9475 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9476echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9477 { (exit 1); exit 1; }; }
9478 esac
9479
9480 for toolkit in `echo $ALL_TOOLKITS`; do
9481 var=wxUSE_$toolkit
9482 eval "value=\$${var}"
9483 if test "x$value" != x; then
9484 cache_var=CACHE_$toolkit
9485 eval "cache=\$${cache_var}"
9486 if test "$cache" = 1; then
9487 echo "$var=$value" >> ${wx_arg_cache_file}
9488 fi
9489 if test "$value" = 1; then
9490 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9491 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9492echo "${ECHO_T}$toolkit_echo" >&6
9493 fi
9494 fi
9495 done
9496else
9497 if test "x$host_alias" != "x"; then
9498 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9499echo "${ECHO_T}base ($host_alias hosted) only" >&6
9500 else
9501 echo "$as_me:$LINENO: result: base only" >&5
9502echo "${ECHO_T}base only" >&6
9503 fi
9504fi
9505
9506wants_win32=0
9507doesnt_want_win32=0
9508case "${host}" in
9509 *-*-cygwin*)
9510 if test "$wxUSE_MSW" = 1 ; then
9511 wants_win32=1
9512 else
9513 doesnt_want_win32=1
9514 fi
9515 ;;
9516 *-*-mingw*)
9517 wants_win32=1
9518 ;;
9519esac
9520
9521if test "$wxUSE_WINE" = "yes"; then
9522 wants_win32=1
9523 CC=winegcc
9524 CXX=wineg++
9525 RESCOMP=wrc
9526fi
9527
9528if test "$wants_win32" = 1 ; then
9529 USE_UNIX=0
9530 USE_WIN32=1
9531 cat >>confdefs.h <<\_ACEOF
9532#define __WIN32__ 1
9533_ACEOF
9534
9535 cat >>confdefs.h <<\_ACEOF
9536#define __WIN95__ 1
9537_ACEOF
9538
9539 cat >>confdefs.h <<\_ACEOF
9540#define __WINDOWS__ 1
9541_ACEOF
9542
9543 cat >>confdefs.h <<\_ACEOF
9544#define __GNUWIN32__ 1
9545_ACEOF
9546
9547 cat >>confdefs.h <<\_ACEOF
9548#define STRICT 1
9549_ACEOF
9550
9551 cat >>confdefs.h <<\_ACEOF
9552#define WINVER 0x0400
9553_ACEOF
9554
9555fi
9556if test "$doesnt_want_win32" = 1 ; then
9557 USE_UNIX=1
9558 USE_WIN32=0
9559fi
9560
9561if test "$USE_UNIX" = 1 ; then
9562 wxUSE_UNIX=yes
9563 cat >>confdefs.h <<\_ACEOF
9564#define __UNIX__ 1
9565_ACEOF
9566
9567fi
9568
9569
9570cat >confcache <<\_ACEOF
9571# This file is a shell script that caches the results of configure
9572# tests run on this system so they can be shared between configure
9573# scripts and configure runs, see configure's option --config-cache.
9574# It is not useful on other systems. If it contains results you don't
9575# want to keep, you may remove or edit it.
9576#
9577# config.status only pays attention to the cache file if you give it
9578# the --recheck option to rerun configure.
9579#
9580# `ac_cv_env_foo' variables (set or unset) will be overridden when
9581# loading this file, other *unset* `ac_cv_foo' will be assigned the
9582# following values.
9583
9584_ACEOF
9585
9586# The following way of writing the cache mishandles newlines in values,
9587# but we know of no workaround that is simple, portable, and efficient.
9588# So, don't put newlines in cache variables' values.
9589# Ultrix sh set writes to stderr and can't be redirected directly,
9590# and sets the high bit in the cache file unless we assign to the vars.
9591{
9592 (set) 2>&1 |
9593 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9594 *ac_space=\ *)
9595 # `set' does not quote correctly, so add quotes (double-quote
9596 # substitution turns \\\\ into \\, and sed turns \\ into \).
9597 sed -n \
9598 "s/'/'\\\\''/g;
9599 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9600 ;;
9601 *)
9602 # `set' quotes correctly as required by POSIX, so do not add quotes.
9603 sed -n \
9604 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9605 ;;
9606 esac;
9607} |
9608 sed '
9609 t clear
9610 : clear
9611 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9612 t end
9613 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9614 : end' >>confcache
9615if diff $cache_file confcache >/dev/null 2>&1; then :; else
9616 if test -w $cache_file; then
9617 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9618 cat confcache >$cache_file
9619 else
9620 echo "not updating unwritable cache $cache_file"
9621 fi
9622fi
9623rm -f confcache
9624
9625if test "$build" != "$host" ; then
9626 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9627 CC=$host_alias-gcc
9628 CXX=$host_alias-c++
9629 AR=$host_alias-ar
9630 RANLIB=$host_alias-ranlib
9631 DLLTOOL=$host_alias-dlltool
9632 RESCOMP=$host_alias-windres
9633 LD=$host_alias-ld
9634 NM=$host_alias-nm
9635 STRIP=$host_alias-strip
9636 else
9637 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9638echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9639 { (exit 1); exit 1; }; }
9640 fi
9641fi
9642
9643CFLAGS=${CFLAGS:=}
9644ac_ext=c
9645ac_cpp='$CPP $CPPFLAGS'
9646ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9647ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9648ac_compiler_gnu=$ac_cv_c_compiler_gnu
9649if test -n "$ac_tool_prefix"; then
9650 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9651set dummy ${ac_tool_prefix}gcc; ac_word=$2
9652echo "$as_me:$LINENO: checking for $ac_word" >&5
9653echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9654if test "${ac_cv_prog_CC+set}" = set; then
9655 echo $ECHO_N "(cached) $ECHO_C" >&6
9656else
9657 if test -n "$CC"; then
9658 ac_cv_prog_CC="$CC" # Let the user override the test.
9659else
9660as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9661for as_dir in $PATH
9662do
9663 IFS=$as_save_IFS
9664 test -z "$as_dir" && as_dir=.
9665 for ac_exec_ext in '' $ac_executable_extensions; do
9666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9667 ac_cv_prog_CC="${ac_tool_prefix}gcc"
9668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9669 break 2
9670 fi
9671done
9672done
9673
9674fi
9675fi
9676CC=$ac_cv_prog_CC
9677if test -n "$CC"; then
9678 echo "$as_me:$LINENO: result: $CC" >&5
9679echo "${ECHO_T}$CC" >&6
9680else
9681 echo "$as_me:$LINENO: result: no" >&5
9682echo "${ECHO_T}no" >&6
9683fi
9684
9685fi
9686if test -z "$ac_cv_prog_CC"; then
9687 ac_ct_CC=$CC
9688 # Extract the first word of "gcc", so it can be a program name with args.
9689set dummy gcc; ac_word=$2
9690echo "$as_me:$LINENO: checking for $ac_word" >&5
9691echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9692if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9693 echo $ECHO_N "(cached) $ECHO_C" >&6
9694else
9695 if test -n "$ac_ct_CC"; then
9696 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9697else
9698as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9699for as_dir in $PATH
9700do
9701 IFS=$as_save_IFS
9702 test -z "$as_dir" && as_dir=.
9703 for ac_exec_ext in '' $ac_executable_extensions; do
9704 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9705 ac_cv_prog_ac_ct_CC="gcc"
9706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9707 break 2
9708 fi
9709done
9710done
9711
9712fi
9713fi
9714ac_ct_CC=$ac_cv_prog_ac_ct_CC
9715if test -n "$ac_ct_CC"; then
9716 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9717echo "${ECHO_T}$ac_ct_CC" >&6
9718else
9719 echo "$as_me:$LINENO: result: no" >&5
9720echo "${ECHO_T}no" >&6
9721fi
9722
9723 CC=$ac_ct_CC
9724else
9725 CC="$ac_cv_prog_CC"
9726fi
9727
9728if test -z "$CC"; then
9729 if test -n "$ac_tool_prefix"; then
9730 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9731set dummy ${ac_tool_prefix}cc; ac_word=$2
9732echo "$as_me:$LINENO: checking for $ac_word" >&5
9733echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9734if test "${ac_cv_prog_CC+set}" = set; then
9735 echo $ECHO_N "(cached) $ECHO_C" >&6
9736else
9737 if test -n "$CC"; then
9738 ac_cv_prog_CC="$CC" # Let the user override the test.
9739else
9740as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9741for as_dir in $PATH
9742do
9743 IFS=$as_save_IFS
9744 test -z "$as_dir" && as_dir=.
9745 for ac_exec_ext in '' $ac_executable_extensions; do
9746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9747 ac_cv_prog_CC="${ac_tool_prefix}cc"
9748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9749 break 2
9750 fi
9751done
9752done
9753
9754fi
9755fi
9756CC=$ac_cv_prog_CC
9757if test -n "$CC"; then
9758 echo "$as_me:$LINENO: result: $CC" >&5
9759echo "${ECHO_T}$CC" >&6
9760else
9761 echo "$as_me:$LINENO: result: no" >&5
9762echo "${ECHO_T}no" >&6
9763fi
9764
9765fi
9766if test -z "$ac_cv_prog_CC"; then
9767 ac_ct_CC=$CC
9768 # Extract the first word of "cc", so it can be a program name with args.
9769set dummy cc; ac_word=$2
9770echo "$as_me:$LINENO: checking for $ac_word" >&5
9771echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9772if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9773 echo $ECHO_N "(cached) $ECHO_C" >&6
9774else
9775 if test -n "$ac_ct_CC"; then
9776 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9777else
9778as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9779for as_dir in $PATH
9780do
9781 IFS=$as_save_IFS
9782 test -z "$as_dir" && as_dir=.
9783 for ac_exec_ext in '' $ac_executable_extensions; do
9784 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9785 ac_cv_prog_ac_ct_CC="cc"
9786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9787 break 2
9788 fi
9789done
9790done
9791
9792fi
9793fi
9794ac_ct_CC=$ac_cv_prog_ac_ct_CC
9795if test -n "$ac_ct_CC"; then
9796 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9797echo "${ECHO_T}$ac_ct_CC" >&6
9798else
9799 echo "$as_me:$LINENO: result: no" >&5
9800echo "${ECHO_T}no" >&6
9801fi
9802
9803 CC=$ac_ct_CC
9804else
9805 CC="$ac_cv_prog_CC"
9806fi
9807
9808fi
9809if test -z "$CC"; then
9810 # Extract the first word of "cc", so it can be a program name with args.
9811set dummy cc; ac_word=$2
9812echo "$as_me:$LINENO: checking for $ac_word" >&5
9813echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9814if test "${ac_cv_prog_CC+set}" = set; then
9815 echo $ECHO_N "(cached) $ECHO_C" >&6
9816else
9817 if test -n "$CC"; then
9818 ac_cv_prog_CC="$CC" # Let the user override the test.
9819else
9820 ac_prog_rejected=no
9821as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9822for as_dir in $PATH
9823do
9824 IFS=$as_save_IFS
9825 test -z "$as_dir" && as_dir=.
9826 for ac_exec_ext in '' $ac_executable_extensions; do
9827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9828 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9829 ac_prog_rejected=yes
9830 continue
9831 fi
9832 ac_cv_prog_CC="cc"
9833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9834 break 2
9835 fi
9836done
9837done
9838
9839if test $ac_prog_rejected = yes; then
9840 # We found a bogon in the path, so make sure we never use it.
9841 set dummy $ac_cv_prog_CC
9842 shift
9843 if test $# != 0; then
9844 # We chose a different compiler from the bogus one.
9845 # However, it has the same basename, so the bogon will be chosen
9846 # first if we set CC to just the basename; use the full file name.
9847 shift
9848 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
9849 fi
9850fi
9851fi
9852fi
9853CC=$ac_cv_prog_CC
9854if test -n "$CC"; then
9855 echo "$as_me:$LINENO: result: $CC" >&5
9856echo "${ECHO_T}$CC" >&6
9857else
9858 echo "$as_me:$LINENO: result: no" >&5
9859echo "${ECHO_T}no" >&6
9860fi
9861
9862fi
9863if test -z "$CC"; then
9864 if test -n "$ac_tool_prefix"; then
9865 for ac_prog in cl
9866 do
9867 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9868set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9869echo "$as_me:$LINENO: checking for $ac_word" >&5
9870echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9871if test "${ac_cv_prog_CC+set}" = set; then
9872 echo $ECHO_N "(cached) $ECHO_C" >&6
9873else
9874 if test -n "$CC"; then
9875 ac_cv_prog_CC="$CC" # Let the user override the test.
9876else
9877as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9878for as_dir in $PATH
9879do
9880 IFS=$as_save_IFS
9881 test -z "$as_dir" && as_dir=.
9882 for ac_exec_ext in '' $ac_executable_extensions; do
9883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9884 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
9885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9886 break 2
9887 fi
9888done
9889done
9890
9891fi
9892fi
9893CC=$ac_cv_prog_CC
9894if test -n "$CC"; then
9895 echo "$as_me:$LINENO: result: $CC" >&5
9896echo "${ECHO_T}$CC" >&6
9897else
9898 echo "$as_me:$LINENO: result: no" >&5
9899echo "${ECHO_T}no" >&6
9900fi
9901
9902 test -n "$CC" && break
9903 done
9904fi
9905if test -z "$CC"; then
9906 ac_ct_CC=$CC
9907 for ac_prog in cl
9908do
9909 # Extract the first word of "$ac_prog", so it can be a program name with args.
9910set dummy $ac_prog; ac_word=$2
9911echo "$as_me:$LINENO: checking for $ac_word" >&5
9912echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9913if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9914 echo $ECHO_N "(cached) $ECHO_C" >&6
9915else
9916 if test -n "$ac_ct_CC"; then
9917 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9918else
9919as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9920for as_dir in $PATH
9921do
9922 IFS=$as_save_IFS
9923 test -z "$as_dir" && as_dir=.
9924 for ac_exec_ext in '' $ac_executable_extensions; do
9925 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9926 ac_cv_prog_ac_ct_CC="$ac_prog"
9927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9928 break 2
9929 fi
9930done
9931done
9932
9933fi
9934fi
9935ac_ct_CC=$ac_cv_prog_ac_ct_CC
9936if test -n "$ac_ct_CC"; then
9937 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9938echo "${ECHO_T}$ac_ct_CC" >&6
9939else
9940 echo "$as_me:$LINENO: result: no" >&5
9941echo "${ECHO_T}no" >&6
9942fi
9943
9944 test -n "$ac_ct_CC" && break
9945done
9946
9947 CC=$ac_ct_CC
9948fi
9949
9950fi
9951
9952
9953test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
9954See \`config.log' for more details." >&5
9955echo "$as_me: error: no acceptable C compiler found in \$PATH
9956See \`config.log' for more details." >&2;}
9957 { (exit 1); exit 1; }; }
9958
9959# Provide some information about the compiler.
9960echo "$as_me:$LINENO:" \
9961 "checking for C compiler version" >&5
9962ac_compiler=`set X $ac_compile; echo $2`
9963{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
9964 (eval $ac_compiler --version </dev/null >&5) 2>&5
9965 ac_status=$?
9966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9967 (exit $ac_status); }
9968{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
9969 (eval $ac_compiler -v </dev/null >&5) 2>&5
9970 ac_status=$?
9971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9972 (exit $ac_status); }
9973{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
9974 (eval $ac_compiler -V </dev/null >&5) 2>&5
9975 ac_status=$?
9976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9977 (exit $ac_status); }
9978
9979cat >conftest.$ac_ext <<_ACEOF
9980#line $LINENO "configure"
9981/* confdefs.h. */
9982_ACEOF
9983cat confdefs.h >>conftest.$ac_ext
9984cat >>conftest.$ac_ext <<_ACEOF
9985/* end confdefs.h. */
9986
9987int
9988main ()
9989{
9990
9991 ;
9992 return 0;
9993}
9994_ACEOF
9995ac_clean_files_save=$ac_clean_files
9996ac_clean_files="$ac_clean_files a.out a.exe b.out"
9997# Try to create an executable without -o first, disregard a.out.
9998# It will help us diagnose broken compilers, and finding out an intuition
9999# of exeext.
10000echo "$as_me:$LINENO: checking for C compiler default output" >&5
10001echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10002ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10003if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10004 (eval $ac_link_default) 2>&5
10005 ac_status=$?
10006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10007 (exit $ac_status); }; then
10008 # Find the output, starting from the most likely. This scheme is
10009# not robust to junk in `.', hence go to wildcards (a.*) only as a last
10010# resort.
10011
10012# Be careful to initialize this variable, since it used to be cached.
10013# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10014ac_cv_exeext=
10015# b.out is created by i960 compilers.
10016for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10017do
10018 test -f "$ac_file" || continue
10019 case $ac_file in
10020 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10021 ;;
10022 conftest.$ac_ext )
10023 # This is the source file.
10024 ;;
10025 [ab].out )
10026 # We found the default executable, but exeext='' is most
10027 # certainly right.
10028 break;;
10029 *.* )
10030 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10031 # FIXME: I believe we export ac_cv_exeext for Libtool,
10032 # but it would be cool to find out if it's true. Does anybody
10033 # maintain Libtool? --akim.
10034 export ac_cv_exeext
10035 break;;
10036 * )
10037 break;;
10038 esac
10039done
10040else
10041 echo "$as_me: failed program was:" >&5
10042sed 's/^/| /' conftest.$ac_ext >&5
10043
10044{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
10045See \`config.log' for more details." >&5
10046echo "$as_me: error: C compiler cannot create executables
10047See \`config.log' for more details." >&2;}
10048 { (exit 77); exit 77; }; }
10049fi
10050
10051ac_exeext=$ac_cv_exeext
10052echo "$as_me:$LINENO: result: $ac_file" >&5
10053echo "${ECHO_T}$ac_file" >&6
10054
10055# Check the compiler produces executables we can run. If not, either
10056# the compiler is broken, or we cross compile.
10057echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10058echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10059# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10060# If not cross compiling, check that we can run a simple program.
10061if test "$cross_compiling" != yes; then
10062 if { ac_try='./$ac_file'
10063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10064 (eval $ac_try) 2>&5
10065 ac_status=$?
10066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10067 (exit $ac_status); }; }; then
10068 cross_compiling=no
10069 else
10070 if test "$cross_compiling" = maybe; then
10071 cross_compiling=yes
10072 else
10073 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10074If you meant to cross compile, use \`--host'.
10075See \`config.log' for more details." >&5
10076echo "$as_me: error: cannot run C compiled programs.
10077If you meant to cross compile, use \`--host'.
10078See \`config.log' for more details." >&2;}
10079 { (exit 1); exit 1; }; }
10080 fi
10081 fi
10082fi
10083echo "$as_me:$LINENO: result: yes" >&5
10084echo "${ECHO_T}yes" >&6
10085
10086rm -f a.out a.exe conftest$ac_cv_exeext b.out
10087ac_clean_files=$ac_clean_files_save
10088# Check the compiler produces executables we can run. If not, either
10089# the compiler is broken, or we cross compile.
10090echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10091echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10092echo "$as_me:$LINENO: result: $cross_compiling" >&5
10093echo "${ECHO_T}$cross_compiling" >&6
10094
10095echo "$as_me:$LINENO: checking for suffix of executables" >&5
10096echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10097if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10098 (eval $ac_link) 2>&5
10099 ac_status=$?
10100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10101 (exit $ac_status); }; then
10102 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10103# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10104# work properly (i.e., refer to `conftest.exe'), while it won't with
10105# `rm'.
10106for ac_file in conftest.exe conftest conftest.*; do
10107 test -f "$ac_file" || continue
10108 case $ac_file in
10109 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10110 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10111 export ac_cv_exeext
10112 break;;
10113 * ) break;;
10114 esac
10115done
10116else
10117 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10118See \`config.log' for more details." >&5
10119echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10120See \`config.log' for more details." >&2;}
10121 { (exit 1); exit 1; }; }
10122fi
10123
10124rm -f conftest$ac_cv_exeext
10125echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10126echo "${ECHO_T}$ac_cv_exeext" >&6
10127
10128rm -f conftest.$ac_ext
10129EXEEXT=$ac_cv_exeext
10130ac_exeext=$EXEEXT
10131echo "$as_me:$LINENO: checking for suffix of object files" >&5
10132echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10133if test "${ac_cv_objext+set}" = set; then
10134 echo $ECHO_N "(cached) $ECHO_C" >&6
10135else
10136 cat >conftest.$ac_ext <<_ACEOF
10137#line $LINENO "configure"
10138/* confdefs.h. */
10139_ACEOF
10140cat confdefs.h >>conftest.$ac_ext
10141cat >>conftest.$ac_ext <<_ACEOF
10142/* end confdefs.h. */
10143
10144int
10145main ()
10146{
10147
10148 ;
10149 return 0;
10150}
10151_ACEOF
10152rm -f conftest.o conftest.obj
10153if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10154 (eval $ac_compile) 2>&5
10155 ac_status=$?
10156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10157 (exit $ac_status); }; then
10158 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10159 case $ac_file in
10160 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10161 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10162 break;;
10163 esac
10164done
10165else
10166 echo "$as_me: failed program was:" >&5
10167sed 's/^/| /' conftest.$ac_ext >&5
10168
10169{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10170See \`config.log' for more details." >&5
10171echo "$as_me: error: cannot compute suffix of object files: cannot compile
10172See \`config.log' for more details." >&2;}
10173 { (exit 1); exit 1; }; }
10174fi
10175
10176rm -f conftest.$ac_cv_objext conftest.$ac_ext
10177fi
10178echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10179echo "${ECHO_T}$ac_cv_objext" >&6
10180OBJEXT=$ac_cv_objext
10181ac_objext=$OBJEXT
10182echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10183echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10184if test "${ac_cv_c_compiler_gnu+set}" = set; then
10185 echo $ECHO_N "(cached) $ECHO_C" >&6
10186else
10187 cat >conftest.$ac_ext <<_ACEOF
10188#line $LINENO "configure"
10189/* confdefs.h. */
10190_ACEOF
10191cat confdefs.h >>conftest.$ac_ext
10192cat >>conftest.$ac_ext <<_ACEOF
10193/* end confdefs.h. */
10194
10195int
10196main ()
10197{
10198#ifndef __GNUC__
10199 choke me
10200#endif
10201
10202 ;
10203 return 0;
10204}
10205_ACEOF
10206rm -f conftest.$ac_objext
10207if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10208 (eval $ac_compile) 2>&5
10209 ac_status=$?
10210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10211 (exit $ac_status); } &&
10212 { ac_try='test -s conftest.$ac_objext'
10213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10214 (eval $ac_try) 2>&5
10215 ac_status=$?
10216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10217 (exit $ac_status); }; }; then
10218 ac_compiler_gnu=yes
10219else
10220 echo "$as_me: failed program was:" >&5
10221sed 's/^/| /' conftest.$ac_ext >&5
10222
10223ac_compiler_gnu=no
10224fi
10225rm -f conftest.$ac_objext conftest.$ac_ext
10226ac_cv_c_compiler_gnu=$ac_compiler_gnu
10227
10228fi
10229echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10230echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10231GCC=`test $ac_compiler_gnu = yes && echo yes`
10232ac_test_CFLAGS=${CFLAGS+set}
10233ac_save_CFLAGS=$CFLAGS
10234CFLAGS="-g"
10235echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10236echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10237if test "${ac_cv_prog_cc_g+set}" = set; then
10238 echo $ECHO_N "(cached) $ECHO_C" >&6
10239else
10240 cat >conftest.$ac_ext <<_ACEOF
10241#line $LINENO "configure"
10242/* confdefs.h. */
10243_ACEOF
10244cat confdefs.h >>conftest.$ac_ext
10245cat >>conftest.$ac_ext <<_ACEOF
10246/* end confdefs.h. */
10247
10248int
10249main ()
10250{
10251
10252 ;
10253 return 0;
10254}
10255_ACEOF
10256rm -f conftest.$ac_objext
10257if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10258 (eval $ac_compile) 2>&5
10259 ac_status=$?
10260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10261 (exit $ac_status); } &&
10262 { ac_try='test -s conftest.$ac_objext'
10263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10264 (eval $ac_try) 2>&5
10265 ac_status=$?
10266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10267 (exit $ac_status); }; }; then
10268 ac_cv_prog_cc_g=yes
10269else
10270 echo "$as_me: failed program was:" >&5
10271sed 's/^/| /' conftest.$ac_ext >&5
10272
10273ac_cv_prog_cc_g=no
10274fi
10275rm -f conftest.$ac_objext conftest.$ac_ext
10276fi
10277echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10278echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10279if test "$ac_test_CFLAGS" = set; then
10280 CFLAGS=$ac_save_CFLAGS
10281elif test $ac_cv_prog_cc_g = yes; then
10282 if test "$GCC" = yes; then
10283 CFLAGS="-g -O2"
10284 else
10285 CFLAGS="-g"
10286 fi
10287else
10288 if test "$GCC" = yes; then
10289 CFLAGS="-O2"
10290 else
10291 CFLAGS=
10292 fi
10293fi
10294echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10295echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10296if test "${ac_cv_prog_cc_stdc+set}" = set; then
10297 echo $ECHO_N "(cached) $ECHO_C" >&6
10298else
10299 ac_cv_prog_cc_stdc=no
10300ac_save_CC=$CC
10301cat >conftest.$ac_ext <<_ACEOF
10302#line $LINENO "configure"
10303/* confdefs.h. */
10304_ACEOF
10305cat confdefs.h >>conftest.$ac_ext
10306cat >>conftest.$ac_ext <<_ACEOF
10307/* end confdefs.h. */
10308#include <stdarg.h>
10309#include <stdio.h>
10310#include <sys/types.h>
10311#include <sys/stat.h>
10312/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10313struct buf { int x; };
10314FILE * (*rcsopen) (struct buf *, struct stat *, int);
10315static char *e (p, i)
10316 char **p;
10317 int i;
10318{
10319 return p[i];
10320}
10321static char *f (char * (*g) (char **, int), char **p, ...)
10322{
10323 char *s;
10324 va_list v;
10325 va_start (v,p);
10326 s = g (p, va_arg (v,int));
10327 va_end (v);
10328 return s;
10329}
10330int test (int i, double x);
10331struct s1 {int (*f) (int a);};
10332struct s2 {int (*f) (double a);};
10333int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10334int argc;
10335char **argv;
10336int
10337main ()
10338{
10339return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10340 ;
10341 return 0;
10342}
10343_ACEOF
10344# Don't try gcc -ansi; that turns off useful extensions and
10345# breaks some systems' header files.
10346# AIX -qlanglvl=ansi
10347# Ultrix and OSF/1 -std1
10348# HP-UX 10.20 and later -Ae
10349# HP-UX older versions -Aa -D_HPUX_SOURCE
10350# SVR4 -Xc -D__EXTENSIONS__
10351for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10352do
10353 CC="$ac_save_CC $ac_arg"
10354 rm -f conftest.$ac_objext
10355if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10356 (eval $ac_compile) 2>&5
10357 ac_status=$?
10358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10359 (exit $ac_status); } &&
10360 { ac_try='test -s conftest.$ac_objext'
10361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10362 (eval $ac_try) 2>&5
10363 ac_status=$?
10364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10365 (exit $ac_status); }; }; then
10366 ac_cv_prog_cc_stdc=$ac_arg
10367break
10368else
10369 echo "$as_me: failed program was:" >&5
10370sed 's/^/| /' conftest.$ac_ext >&5
10371
10372fi
10373rm -f conftest.$ac_objext
10374done
10375rm -f conftest.$ac_ext conftest.$ac_objext
10376CC=$ac_save_CC
10377
10378fi
10379
10380case "x$ac_cv_prog_cc_stdc" in
10381 x|xno)
10382 echo "$as_me:$LINENO: result: none needed" >&5
10383echo "${ECHO_T}none needed" >&6 ;;
10384 *)
10385 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10386echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10387 CC="$CC $ac_cv_prog_cc_stdc" ;;
10388esac
10389
10390# Some people use a C++ compiler to compile C. Since we use `exit',
10391# in C++ we need to declare it. In case someone uses the same compiler
10392# for both compiling C and C++ we need to have the C++ compiler decide
10393# the declaration of exit, since it's the most demanding environment.
10394cat >conftest.$ac_ext <<_ACEOF
10395#ifndef __cplusplus
10396 choke me
10397#endif
10398_ACEOF
10399rm -f conftest.$ac_objext
10400if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10401 (eval $ac_compile) 2>&5
10402 ac_status=$?
10403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10404 (exit $ac_status); } &&
10405 { ac_try='test -s conftest.$ac_objext'
10406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10407 (eval $ac_try) 2>&5
10408 ac_status=$?
10409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10410 (exit $ac_status); }; }; then
10411 for ac_declaration in \
10412 ''\
10413 '#include <stdlib.h>' \
10414 'extern "C" void std::exit (int) throw (); using std::exit;' \
10415 'extern "C" void std::exit (int); using std::exit;' \
10416 'extern "C" void exit (int) throw ();' \
10417 'extern "C" void exit (int);' \
10418 'void exit (int);'
10419do
10420 cat >conftest.$ac_ext <<_ACEOF
10421#line $LINENO "configure"
10422/* confdefs.h. */
10423_ACEOF
10424cat confdefs.h >>conftest.$ac_ext
10425cat >>conftest.$ac_ext <<_ACEOF
10426/* end confdefs.h. */
10427#include <stdlib.h>
10428$ac_declaration
10429int
10430main ()
10431{
10432exit (42);
10433 ;
10434 return 0;
10435}
10436_ACEOF
10437rm -f conftest.$ac_objext
10438if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10439 (eval $ac_compile) 2>&5
10440 ac_status=$?
10441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10442 (exit $ac_status); } &&
10443 { ac_try='test -s conftest.$ac_objext'
10444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10445 (eval $ac_try) 2>&5
10446 ac_status=$?
10447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10448 (exit $ac_status); }; }; then
10449 :
10450else
10451 echo "$as_me: failed program was:" >&5
10452sed 's/^/| /' conftest.$ac_ext >&5
10453
10454continue
10455fi
10456rm -f conftest.$ac_objext conftest.$ac_ext
10457 cat >conftest.$ac_ext <<_ACEOF
10458#line $LINENO "configure"
10459/* confdefs.h. */
10460_ACEOF
10461cat confdefs.h >>conftest.$ac_ext
10462cat >>conftest.$ac_ext <<_ACEOF
10463/* end confdefs.h. */
10464$ac_declaration
10465int
10466main ()
10467{
10468exit (42);
10469 ;
10470 return 0;
10471}
10472_ACEOF
10473rm -f conftest.$ac_objext
10474if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10475 (eval $ac_compile) 2>&5
10476 ac_status=$?
10477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10478 (exit $ac_status); } &&
10479 { ac_try='test -s conftest.$ac_objext'
10480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10481 (eval $ac_try) 2>&5
10482 ac_status=$?
10483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10484 (exit $ac_status); }; }; then
10485 break
10486else
10487 echo "$as_me: failed program was:" >&5
10488sed 's/^/| /' conftest.$ac_ext >&5
10489
10490fi
10491rm -f conftest.$ac_objext conftest.$ac_ext
10492done
10493rm -f conftest*
10494if test -n "$ac_declaration"; then
10495 echo '#ifdef __cplusplus' >>confdefs.h
10496 echo $ac_declaration >>confdefs.h
10497 echo '#endif' >>confdefs.h
10498fi
10499
10500else
10501 echo "$as_me: failed program was:" >&5
10502sed 's/^/| /' conftest.$ac_ext >&5
10503
10504fi
10505rm -f conftest.$ac_objext conftest.$ac_ext
10506ac_ext=c
10507ac_cpp='$CPP $CPPFLAGS'
10508ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10509ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10510ac_compiler_gnu=$ac_cv_c_compiler_gnu
10511
10512
10513
10514ac_ext=c
10515ac_cpp='$CPP $CPPFLAGS'
10516ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10517ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10518ac_compiler_gnu=$ac_cv_c_compiler_gnu
10519echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10520echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10521# On Suns, sometimes $CPP names a directory.
10522if test -n "$CPP" && test -d "$CPP"; then
10523 CPP=
10524fi
10525if test -z "$CPP"; then
10526 if test "${ac_cv_prog_CPP+set}" = set; then
10527 echo $ECHO_N "(cached) $ECHO_C" >&6
10528else
10529 # Double quotes because CPP needs to be expanded
10530 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10531 do
10532 ac_preproc_ok=false
10533for ac_c_preproc_warn_flag in '' yes
10534do
10535 # Use a header file that comes with gcc, so configuring glibc
10536 # with a fresh cross-compiler works.
10537 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10538 # <limits.h> exists even on freestanding compilers.
10539 # On the NeXT, cc -E runs the code through the compiler's parser,
10540 # not just through cpp. "Syntax error" is here to catch this case.
10541 cat >conftest.$ac_ext <<_ACEOF
10542#line $LINENO "configure"
10543/* confdefs.h. */
10544_ACEOF
10545cat confdefs.h >>conftest.$ac_ext
10546cat >>conftest.$ac_ext <<_ACEOF
10547/* end confdefs.h. */
10548#ifdef __STDC__
10549# include <limits.h>
10550#else
10551# include <assert.h>
10552#endif
10553 Syntax error
10554_ACEOF
10555if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10556 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10557 ac_status=$?
10558 grep -v '^ *+' conftest.er1 >conftest.err
10559 rm -f conftest.er1
10560 cat conftest.err >&5
10561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10562 (exit $ac_status); } >/dev/null; then
10563 if test -s conftest.err; then
10564 ac_cpp_err=$ac_c_preproc_warn_flag
10565 else
10566 ac_cpp_err=
10567 fi
10568else
10569 ac_cpp_err=yes
10570fi
10571if test -z "$ac_cpp_err"; then
10572 :
10573else
10574 echo "$as_me: failed program was:" >&5
10575sed 's/^/| /' conftest.$ac_ext >&5
10576
10577 # Broken: fails on valid input.
10578continue
10579fi
10580rm -f conftest.err conftest.$ac_ext
10581
10582 # OK, works on sane cases. Now check whether non-existent headers
10583 # can be detected and how.
10584 cat >conftest.$ac_ext <<_ACEOF
10585#line $LINENO "configure"
10586/* confdefs.h. */
10587_ACEOF
10588cat confdefs.h >>conftest.$ac_ext
10589cat >>conftest.$ac_ext <<_ACEOF
10590/* end confdefs.h. */
10591#include <ac_nonexistent.h>
10592_ACEOF
10593if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10594 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10595 ac_status=$?
10596 grep -v '^ *+' conftest.er1 >conftest.err
10597 rm -f conftest.er1
10598 cat conftest.err >&5
10599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10600 (exit $ac_status); } >/dev/null; then
10601 if test -s conftest.err; then
10602 ac_cpp_err=$ac_c_preproc_warn_flag
10603 else
10604 ac_cpp_err=
10605 fi
10606else
10607 ac_cpp_err=yes
10608fi
10609if test -z "$ac_cpp_err"; then
10610 # Broken: success on invalid input.
10611continue
10612else
10613 echo "$as_me: failed program was:" >&5
10614sed 's/^/| /' conftest.$ac_ext >&5
10615
10616 # Passes both tests.
10617ac_preproc_ok=:
10618break
10619fi
10620rm -f conftest.err conftest.$ac_ext
10621
10622done
10623# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10624rm -f conftest.err conftest.$ac_ext
10625if $ac_preproc_ok; then
10626 break
10627fi
10628
10629 done
10630 ac_cv_prog_CPP=$CPP
10631
10632fi
10633 CPP=$ac_cv_prog_CPP
10634else
10635 ac_cv_prog_CPP=$CPP
10636fi
10637echo "$as_me:$LINENO: result: $CPP" >&5
10638echo "${ECHO_T}$CPP" >&6
10639ac_preproc_ok=false
10640for ac_c_preproc_warn_flag in '' yes
10641do
10642 # Use a header file that comes with gcc, so configuring glibc
10643 # with a fresh cross-compiler works.
10644 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10645 # <limits.h> exists even on freestanding compilers.
10646 # On the NeXT, cc -E runs the code through the compiler's parser,
10647 # not just through cpp. "Syntax error" is here to catch this case.
10648 cat >conftest.$ac_ext <<_ACEOF
10649#line $LINENO "configure"
10650/* confdefs.h. */
10651_ACEOF
10652cat confdefs.h >>conftest.$ac_ext
10653cat >>conftest.$ac_ext <<_ACEOF
10654/* end confdefs.h. */
10655#ifdef __STDC__
10656# include <limits.h>
10657#else
10658# include <assert.h>
10659#endif
10660 Syntax error
10661_ACEOF
10662if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10663 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10664 ac_status=$?
10665 grep -v '^ *+' conftest.er1 >conftest.err
10666 rm -f conftest.er1
10667 cat conftest.err >&5
10668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10669 (exit $ac_status); } >/dev/null; then
10670 if test -s conftest.err; then
10671 ac_cpp_err=$ac_c_preproc_warn_flag
10672 else
10673 ac_cpp_err=
10674 fi
10675else
10676 ac_cpp_err=yes
10677fi
10678if test -z "$ac_cpp_err"; then
10679 :
10680else
10681 echo "$as_me: failed program was:" >&5
10682sed 's/^/| /' conftest.$ac_ext >&5
10683
10684 # Broken: fails on valid input.
10685continue
10686fi
10687rm -f conftest.err conftest.$ac_ext
10688
10689 # OK, works on sane cases. Now check whether non-existent headers
10690 # can be detected and how.
10691 cat >conftest.$ac_ext <<_ACEOF
10692#line $LINENO "configure"
10693/* confdefs.h. */
10694_ACEOF
10695cat confdefs.h >>conftest.$ac_ext
10696cat >>conftest.$ac_ext <<_ACEOF
10697/* end confdefs.h. */
10698#include <ac_nonexistent.h>
10699_ACEOF
10700if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10701 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10702 ac_status=$?
10703 grep -v '^ *+' conftest.er1 >conftest.err
10704 rm -f conftest.er1
10705 cat conftest.err >&5
10706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10707 (exit $ac_status); } >/dev/null; then
10708 if test -s conftest.err; then
10709 ac_cpp_err=$ac_c_preproc_warn_flag
10710 else
10711 ac_cpp_err=
10712 fi
10713else
10714 ac_cpp_err=yes
10715fi
10716if test -z "$ac_cpp_err"; then
10717 # Broken: success on invalid input.
10718continue
10719else
10720 echo "$as_me: failed program was:" >&5
10721sed 's/^/| /' conftest.$ac_ext >&5
10722
10723 # Passes both tests.
10724ac_preproc_ok=:
10725break
10726fi
10727rm -f conftest.err conftest.$ac_ext
10728
10729done
10730# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10731rm -f conftest.err conftest.$ac_ext
10732if $ac_preproc_ok; then
10733 :
10734else
10735 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10736See \`config.log' for more details." >&5
10737echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10738See \`config.log' for more details." >&2;}
10739 { (exit 1); exit 1; }; }
10740fi
10741
10742ac_ext=c
10743ac_cpp='$CPP $CPPFLAGS'
10744ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10745ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10746ac_compiler_gnu=$ac_cv_c_compiler_gnu
10747
10748
10749echo "$as_me:$LINENO: checking for egrep" >&5
10750echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10751if test "${ac_cv_prog_egrep+set}" = set; then
10752 echo $ECHO_N "(cached) $ECHO_C" >&6
10753else
10754 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10755 then ac_cv_prog_egrep='grep -E'
10756 else ac_cv_prog_egrep='egrep'
10757 fi
10758fi
10759echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10760echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10761 EGREP=$ac_cv_prog_egrep
10762
10763
10764if test $ac_cv_c_compiler_gnu = yes; then
10765 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10766echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10767if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10768 echo $ECHO_N "(cached) $ECHO_C" >&6
10769else
10770 ac_pattern="Autoconf.*'x'"
10771 cat >conftest.$ac_ext <<_ACEOF
10772#line $LINENO "configure"
10773/* confdefs.h. */
10774_ACEOF
10775cat confdefs.h >>conftest.$ac_ext
10776cat >>conftest.$ac_ext <<_ACEOF
10777/* end confdefs.h. */
10778#include <sgtty.h>
10779Autoconf TIOCGETP
10780_ACEOF
10781if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10782 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10783 ac_cv_prog_gcc_traditional=yes
10784else
10785 ac_cv_prog_gcc_traditional=no
10786fi
10787rm -f conftest*
10788
10789
10790 if test $ac_cv_prog_gcc_traditional = no; then
10791 cat >conftest.$ac_ext <<_ACEOF
10792#line $LINENO "configure"
10793/* confdefs.h. */
10794_ACEOF
10795cat confdefs.h >>conftest.$ac_ext
10796cat >>conftest.$ac_ext <<_ACEOF
10797/* end confdefs.h. */
10798#include <termio.h>
10799Autoconf TCGETA
10800_ACEOF
10801if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10802 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10803 ac_cv_prog_gcc_traditional=yes
10804fi
10805rm -f conftest*
10806
10807 fi
10808fi
10809echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10810echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10811 if test $ac_cv_prog_gcc_traditional = yes; then
10812 CC="$CC -traditional"
10813 fi
10814fi
10815
10816
10817
10818
10819ac_ext=cc
10820ac_cpp='$CXXCPP $CPPFLAGS'
10821ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10822ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10823ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10824
10825
10826CXXFLAGS=${CXXFLAGS:=}
10827ac_ext=cc
10828ac_cpp='$CXXCPP $CPPFLAGS'
10829ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10830ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10831ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10832if test -n "$ac_tool_prefix"; then
10833 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10834 do
10835 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10836set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10837echo "$as_me:$LINENO: checking for $ac_word" >&5
10838echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10839if test "${ac_cv_prog_CXX+set}" = set; then
10840 echo $ECHO_N "(cached) $ECHO_C" >&6
10841else
10842 if test -n "$CXX"; then
10843 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10844else
10845as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10846for as_dir in $PATH
10847do
10848 IFS=$as_save_IFS
10849 test -z "$as_dir" && as_dir=.
10850 for ac_exec_ext in '' $ac_executable_extensions; do
10851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10852 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10854 break 2
10855 fi
10856done
10857done
10858
10859fi
10860fi
10861CXX=$ac_cv_prog_CXX
10862if test -n "$CXX"; then
10863 echo "$as_me:$LINENO: result: $CXX" >&5
10864echo "${ECHO_T}$CXX" >&6
10865else
10866 echo "$as_me:$LINENO: result: no" >&5
10867echo "${ECHO_T}no" >&6
10868fi
10869
10870 test -n "$CXX" && break
10871 done
10872fi
10873if test -z "$CXX"; then
10874 ac_ct_CXX=$CXX
10875 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10876do
10877 # Extract the first word of "$ac_prog", so it can be a program name with args.
10878set dummy $ac_prog; ac_word=$2
10879echo "$as_me:$LINENO: checking for $ac_word" >&5
10880echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10881if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10882 echo $ECHO_N "(cached) $ECHO_C" >&6
10883else
10884 if test -n "$ac_ct_CXX"; then
10885 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
10886else
10887as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10888for as_dir in $PATH
10889do
10890 IFS=$as_save_IFS
10891 test -z "$as_dir" && as_dir=.
10892 for ac_exec_ext in '' $ac_executable_extensions; do
10893 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10894 ac_cv_prog_ac_ct_CXX="$ac_prog"
10895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10896 break 2
10897 fi
10898done
10899done
10900
10901fi
10902fi
10903ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
10904if test -n "$ac_ct_CXX"; then
10905 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
10906echo "${ECHO_T}$ac_ct_CXX" >&6
10907else
10908 echo "$as_me:$LINENO: result: no" >&5
10909echo "${ECHO_T}no" >&6
10910fi
10911
10912 test -n "$ac_ct_CXX" && break
10913done
10914test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
10915
10916 CXX=$ac_ct_CXX
10917fi
10918
10919
10920# Provide some information about the compiler.
10921echo "$as_me:$LINENO:" \
10922 "checking for C++ compiler version" >&5
10923ac_compiler=`set X $ac_compile; echo $2`
10924{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10925 (eval $ac_compiler --version </dev/null >&5) 2>&5
10926 ac_status=$?
10927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10928 (exit $ac_status); }
10929{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10930 (eval $ac_compiler -v </dev/null >&5) 2>&5
10931 ac_status=$?
10932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10933 (exit $ac_status); }
10934{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10935 (eval $ac_compiler -V </dev/null >&5) 2>&5
10936 ac_status=$?
10937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10938 (exit $ac_status); }
10939
10940echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
10941echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
10942if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
10943 echo $ECHO_N "(cached) $ECHO_C" >&6
10944else
10945 cat >conftest.$ac_ext <<_ACEOF
10946#line $LINENO "configure"
10947/* confdefs.h. */
10948_ACEOF
10949cat confdefs.h >>conftest.$ac_ext
10950cat >>conftest.$ac_ext <<_ACEOF
10951/* end confdefs.h. */
10952
10953int
10954main ()
10955{
10956#ifndef __GNUC__
10957 choke me
10958#endif
10959
10960 ;
10961 return 0;
10962}
10963_ACEOF
10964rm -f conftest.$ac_objext
10965if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10966 (eval $ac_compile) 2>&5
10967 ac_status=$?
10968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10969 (exit $ac_status); } &&
10970 { ac_try='test -s conftest.$ac_objext'
10971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10972 (eval $ac_try) 2>&5
10973 ac_status=$?
10974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10975 (exit $ac_status); }; }; then
10976 ac_compiler_gnu=yes
10977else
10978 echo "$as_me: failed program was:" >&5
10979sed 's/^/| /' conftest.$ac_ext >&5
10980
10981ac_compiler_gnu=no
10982fi
10983rm -f conftest.$ac_objext conftest.$ac_ext
10984ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
10985
10986fi
10987echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
10988echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
10989GXX=`test $ac_compiler_gnu = yes && echo yes`
10990ac_test_CXXFLAGS=${CXXFLAGS+set}
10991ac_save_CXXFLAGS=$CXXFLAGS
10992CXXFLAGS="-g"
10993echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
10994echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
10995if test "${ac_cv_prog_cxx_g+set}" = set; then
10996 echo $ECHO_N "(cached) $ECHO_C" >&6
10997else
10998 cat >conftest.$ac_ext <<_ACEOF
10999#line $LINENO "configure"
11000/* confdefs.h. */
11001_ACEOF
11002cat confdefs.h >>conftest.$ac_ext
11003cat >>conftest.$ac_ext <<_ACEOF
11004/* end confdefs.h. */
11005
11006int
11007main ()
11008{
11009
11010 ;
11011 return 0;
11012}
11013_ACEOF
11014rm -f conftest.$ac_objext
11015if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11016 (eval $ac_compile) 2>&5
11017 ac_status=$?
11018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11019 (exit $ac_status); } &&
11020 { ac_try='test -s conftest.$ac_objext'
11021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11022 (eval $ac_try) 2>&5
11023 ac_status=$?
11024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11025 (exit $ac_status); }; }; then
11026 ac_cv_prog_cxx_g=yes
11027else
11028 echo "$as_me: failed program was:" >&5
11029sed 's/^/| /' conftest.$ac_ext >&5
11030
11031ac_cv_prog_cxx_g=no
11032fi
11033rm -f conftest.$ac_objext conftest.$ac_ext
11034fi
11035echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11036echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11037if test "$ac_test_CXXFLAGS" = set; then
11038 CXXFLAGS=$ac_save_CXXFLAGS
11039elif test $ac_cv_prog_cxx_g = yes; then
11040 if test "$GXX" = yes; then
11041 CXXFLAGS="-g -O2"
11042 else
11043 CXXFLAGS="-g"
11044 fi
11045else
11046 if test "$GXX" = yes; then
11047 CXXFLAGS="-O2"
11048 else
11049 CXXFLAGS=
11050 fi
11051fi
11052for ac_declaration in \
11053 ''\
11054 '#include <stdlib.h>' \
11055 'extern "C" void std::exit (int) throw (); using std::exit;' \
11056 'extern "C" void std::exit (int); using std::exit;' \
11057 'extern "C" void exit (int) throw ();' \
11058 'extern "C" void exit (int);' \
11059 'void exit (int);'
11060do
11061 cat >conftest.$ac_ext <<_ACEOF
11062#line $LINENO "configure"
11063/* confdefs.h. */
11064_ACEOF
11065cat confdefs.h >>conftest.$ac_ext
11066cat >>conftest.$ac_ext <<_ACEOF
11067/* end confdefs.h. */
11068#include <stdlib.h>
11069$ac_declaration
11070int
11071main ()
11072{
11073exit (42);
11074 ;
11075 return 0;
11076}
11077_ACEOF
11078rm -f conftest.$ac_objext
11079if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11080 (eval $ac_compile) 2>&5
11081 ac_status=$?
11082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11083 (exit $ac_status); } &&
11084 { ac_try='test -s conftest.$ac_objext'
11085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11086 (eval $ac_try) 2>&5
11087 ac_status=$?
11088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11089 (exit $ac_status); }; }; then
11090 :
11091else
11092 echo "$as_me: failed program was:" >&5
11093sed 's/^/| /' conftest.$ac_ext >&5
11094
11095continue
11096fi
11097rm -f conftest.$ac_objext conftest.$ac_ext
11098 cat >conftest.$ac_ext <<_ACEOF
11099#line $LINENO "configure"
11100/* confdefs.h. */
11101_ACEOF
11102cat confdefs.h >>conftest.$ac_ext
11103cat >>conftest.$ac_ext <<_ACEOF
11104/* end confdefs.h. */
11105$ac_declaration
11106int
11107main ()
11108{
11109exit (42);
11110 ;
11111 return 0;
11112}
11113_ACEOF
11114rm -f conftest.$ac_objext
11115if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11116 (eval $ac_compile) 2>&5
11117 ac_status=$?
11118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11119 (exit $ac_status); } &&
11120 { ac_try='test -s conftest.$ac_objext'
11121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11122 (eval $ac_try) 2>&5
11123 ac_status=$?
11124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11125 (exit $ac_status); }; }; then
11126 break
11127else
11128 echo "$as_me: failed program was:" >&5
11129sed 's/^/| /' conftest.$ac_ext >&5
11130
11131fi
11132rm -f conftest.$ac_objext conftest.$ac_ext
11133done
11134rm -f conftest*
11135if test -n "$ac_declaration"; then
11136 echo '#ifdef __cplusplus' >>confdefs.h
11137 echo $ac_declaration >>confdefs.h
11138 echo '#endif' >>confdefs.h
11139fi
11140
11141ac_ext=cc
11142ac_cpp='$CXXCPP $CPPFLAGS'
11143ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11144ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11145ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11146
11147
11148ac_ext=c
11149ac_cpp='$CPP $CPPFLAGS'
11150ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11151ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11152ac_compiler_gnu=$ac_cv_c_compiler_gnu
11153
11154
11155if test -n "$ac_tool_prefix"; then
11156 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11157set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11158echo "$as_me:$LINENO: checking for $ac_word" >&5
11159echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11160if test "${ac_cv_prog_RANLIB+set}" = set; then
11161 echo $ECHO_N "(cached) $ECHO_C" >&6
11162else
11163 if test -n "$RANLIB"; then
11164 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11165else
11166as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11167for as_dir in $PATH
11168do
11169 IFS=$as_save_IFS
11170 test -z "$as_dir" && as_dir=.
11171 for ac_exec_ext in '' $ac_executable_extensions; do
11172 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11173 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11175 break 2
11176 fi
11177done
11178done
11179
11180fi
11181fi
11182RANLIB=$ac_cv_prog_RANLIB
11183if test -n "$RANLIB"; then
11184 echo "$as_me:$LINENO: result: $RANLIB" >&5
11185echo "${ECHO_T}$RANLIB" >&6
11186else
11187 echo "$as_me:$LINENO: result: no" >&5
11188echo "${ECHO_T}no" >&6
11189fi
11190
11191fi
11192if test -z "$ac_cv_prog_RANLIB"; then
11193 ac_ct_RANLIB=$RANLIB
11194 # Extract the first word of "ranlib", so it can be a program name with args.
11195set dummy ranlib; ac_word=$2
11196echo "$as_me:$LINENO: checking for $ac_word" >&5
11197echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11198if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11199 echo $ECHO_N "(cached) $ECHO_C" >&6
11200else
11201 if test -n "$ac_ct_RANLIB"; then
11202 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11203else
11204as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11205for as_dir in $PATH
11206do
11207 IFS=$as_save_IFS
11208 test -z "$as_dir" && as_dir=.
11209 for ac_exec_ext in '' $ac_executable_extensions; do
11210 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11211 ac_cv_prog_ac_ct_RANLIB="ranlib"
11212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11213 break 2
11214 fi
11215done
11216done
11217
11218 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11219fi
11220fi
11221ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11222if test -n "$ac_ct_RANLIB"; then
11223 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11224echo "${ECHO_T}$ac_ct_RANLIB" >&6
11225else
11226 echo "$as_me:$LINENO: result: no" >&5
11227echo "${ECHO_T}no" >&6
11228fi
11229
11230 RANLIB=$ac_ct_RANLIB
11231else
11232 RANLIB="$ac_cv_prog_RANLIB"
11233fi
11234
11235
11236# Extract the first word of "ar", so it can be a program name with args.
11237set dummy ar; ac_word=$2
11238echo "$as_me:$LINENO: checking for $ac_word" >&5
11239echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11240if test "${ac_cv_prog_AR+set}" = set; then
11241 echo $ECHO_N "(cached) $ECHO_C" >&6
11242else
11243 if test -n "$AR"; then
11244 ac_cv_prog_AR="$AR" # Let the user override the test.
11245else
11246as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11247for as_dir in $PATH
11248do
11249 IFS=$as_save_IFS
11250 test -z "$as_dir" && as_dir=.
11251 for ac_exec_ext in '' $ac_executable_extensions; do
11252 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11253 ac_cv_prog_AR="ar"
11254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11255 break 2
11256 fi
11257done
11258done
11259
11260 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
11261fi
11262fi
11263AR=$ac_cv_prog_AR
11264if test -n "$AR"; then
11265 echo "$as_me:$LINENO: result: $AR" >&5
11266echo "${ECHO_T}$AR" >&6
11267else
11268 echo "$as_me:$LINENO: result: no" >&5
11269echo "${ECHO_T}no" >&6
11270fi
11271
11272
11273# Find a good install program. We prefer a C program (faster),
11274# so one script is as good as another. But avoid the broken or
11275# incompatible versions:
11276# SysV /etc/install, /usr/sbin/install
11277# SunOS /usr/etc/install
11278# IRIX /sbin/install
11279# AIX /bin/install
11280# AmigaOS /C/install, which installs bootblocks on floppy discs
11281# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11282# AFS /usr/afsws/bin/install, which mishandles nonexistent args
11283# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11284# ./install, which can be erroneously created by make from ./install.sh.
11285echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11286echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11287if test -z "$INSTALL"; then
11288if test "${ac_cv_path_install+set}" = set; then
11289 echo $ECHO_N "(cached) $ECHO_C" >&6
11290else
11291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11292for as_dir in $PATH
11293do
11294 IFS=$as_save_IFS
11295 test -z "$as_dir" && as_dir=.
11296 # Account for people who put trailing slashes in PATH elements.
11297case $as_dir/ in
11298 ./ | .// | /cC/* | \
11299 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11300 /usr/ucb/* ) ;;
11301 *)
11302 # OSF1 and SCO ODT 3.0 have their own names for install.
11303 # Don't use installbsd from OSF since it installs stuff as root
11304 # by default.
11305 for ac_prog in ginstall scoinst install; do
11306 for ac_exec_ext in '' $ac_executable_extensions; do
11307 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11308 if test $ac_prog = install &&
11309 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11310 # AIX install. It has an incompatible calling convention.
11311 :
11312 elif test $ac_prog = install &&
11313 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11314 # program-specific install script used by HP pwplus--don't use.
11315 :
11316 else
11317 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11318 break 3
11319 fi
11320 fi
11321 done
11322 done
11323 ;;
11324esac
11325done
11326
11327
11328fi
11329 if test "${ac_cv_path_install+set}" = set; then
11330 INSTALL=$ac_cv_path_install
11331 else
11332 # As a last resort, use the slow shell script. We don't cache a
11333 # path for INSTALL within a source directory, because that will
11334 # break other packages using the cache if that directory is
11335 # removed, or if the path is relative.
11336 INSTALL=$ac_install_sh
11337 fi
11338fi
11339echo "$as_me:$LINENO: result: $INSTALL" >&5
11340echo "${ECHO_T}$INSTALL" >&6
11341
11342# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11343# It thinks the first close brace ends the variable substitution.
11344test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11345
11346test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11347
11348test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11349
11350
11351case ${INSTALL} in
11352 /* ) # Absolute
11353 ;;
11354 ?:* ) # Drive letter, considered as absolute.
11355 ;;
11356 *)
11357 INSTALL=`pwd`/${INSTALL} ;;
11358esac
11359
11360case ${host} in
11361 *-hp-hpux* )
11362 INSTALL_DIR="mkdir"
11363 ;;
11364
11365 *) INSTALL_DIR="$INSTALL -d"
11366 ;;
11367esac
11368
11369
11370case "${host}" in
11371
11372 powerpc-*-darwin* )
11373 INSTALL_PROGRAM="cp -fp"
11374 INSTALL_DATA="cp -fp"
11375 ;;
11376 *)
11377 ;;
11378esac
11379
11380# Extract the first word of "strip", so it can be a program name with args.
11381set dummy strip; ac_word=$2
11382echo "$as_me:$LINENO: checking for $ac_word" >&5
11383echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11384if test "${ac_cv_prog_STRIP+set}" = set; then
11385 echo $ECHO_N "(cached) $ECHO_C" >&6
11386else
11387 if test -n "$STRIP"; then
11388 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11389else
11390as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11391for as_dir in $PATH
11392do
11393 IFS=$as_save_IFS
11394 test -z "$as_dir" && as_dir=.
11395 for ac_exec_ext in '' $ac_executable_extensions; do
11396 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11397 ac_cv_prog_STRIP="strip"
11398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11399 break 2
11400 fi
11401done
11402done
11403
11404 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11405fi
11406fi
11407STRIP=$ac_cv_prog_STRIP
11408if test -n "$STRIP"; then
11409 echo "$as_me:$LINENO: result: $STRIP" >&5
11410echo "${ECHO_T}$STRIP" >&6
11411else
11412 echo "$as_me:$LINENO: result: no" >&5
11413echo "${ECHO_T}no" >&6
11414fi
11415
11416
11417echo "$as_me:$LINENO: checking if make is GNU make" >&5
11418echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11419if test "${wx_cv_prog_makeisgnu+set}" = set; then
11420 echo $ECHO_N "(cached) $ECHO_C" >&6
11421else
11422
11423 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11424 egrep -s GNU > /dev/null); then
11425 wx_cv_prog_makeisgnu="yes"
11426 else
11427 wx_cv_prog_makeisgnu="no"
11428 fi
11429
11430fi
11431echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11432echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11433
11434if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11435 IF_GNU_MAKE=""
11436else
11437 IF_GNU_MAKE="#"
11438fi
11439
11440
11441
11442if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11443echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11444echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11445if test "${wx_cv_prog_makevpath+set}" = set; then
11446 echo $ECHO_N "(cached) $ECHO_C" >&6
11447else
11448
11449cat - << EOF > confMake
11450check : file
11451 cp \$? \$@
11452 cp \$? final_file
11453EOF
11454
11455if test ! -d sub ; then
11456 mkdir sub
11457fi
11458echo dummy > sub/file
11459${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11460RESULT=$?
11461rm -f sub/file check final_file confMake
11462rmdir sub
11463if test "$RESULT" = 0; then
11464 wx_cv_prog_makevpath="yes"
11465else
11466 wx_cv_prog_makevpath="no"
11467fi
11468
11469fi
11470echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11471echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11472
11473if test "x$wx_cv_prog_makevpath" != "xyes"; then
11474{ { echo "$as_me:$LINENO: error:
11475You need a make-utility that is able to use the variable
11476VPATH correctly.
11477If your version of make does not support VPATH correctly,
11478please install GNU-make (possibly as gmake), and start
11479configure with the following command:
11480export MAKE=gmake; ./configure for sh-type shells
11481setenv MAKE gmake; ./configure for csh-type shells
11482Also please do remember to use gmake in this case every time
11483you are trying to compile.
11484" >&5
11485echo "$as_me: error:
11486You need a make-utility that is able to use the variable
11487VPATH correctly.
11488If your version of make does not support VPATH correctly,
11489please install GNU-make (possibly as gmake), and start
11490configure with the following command:
11491export MAKE=gmake; ./configure for sh-type shells
11492setenv MAKE gmake; ./configure for csh-type shells
11493Also please do remember to use gmake in this case every time
11494you are trying to compile.
11495" >&2;}
11496 { (exit 1); exit 1; }; }
11497fi fi
11498for ac_prog in 'bison -y' byacc
11499do
11500 # Extract the first word of "$ac_prog", so it can be a program name with args.
11501set dummy $ac_prog; ac_word=$2
11502echo "$as_me:$LINENO: checking for $ac_word" >&5
11503echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11504if test "${ac_cv_prog_YACC+set}" = set; then
11505 echo $ECHO_N "(cached) $ECHO_C" >&6
11506else
11507 if test -n "$YACC"; then
11508 ac_cv_prog_YACC="$YACC" # Let the user override the test.
11509else
11510as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11511for as_dir in $PATH
11512do
11513 IFS=$as_save_IFS
11514 test -z "$as_dir" && as_dir=.
11515 for ac_exec_ext in '' $ac_executable_extensions; do
11516 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11517 ac_cv_prog_YACC="$ac_prog"
11518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11519 break 2
11520 fi
11521done
11522done
11523
11524fi
11525fi
11526YACC=$ac_cv_prog_YACC
11527if test -n "$YACC"; then
11528 echo "$as_me:$LINENO: result: $YACC" >&5
11529echo "${ECHO_T}$YACC" >&6
11530else
11531 echo "$as_me:$LINENO: result: no" >&5
11532echo "${ECHO_T}no" >&6
11533fi
11534
11535 test -n "$YACC" && break
11536done
11537test -n "$YACC" || YACC="yacc"
11538
11539
11540for ac_prog in flex lex
11541do
11542 # Extract the first word of "$ac_prog", so it can be a program name with args.
11543set dummy $ac_prog; ac_word=$2
11544echo "$as_me:$LINENO: checking for $ac_word" >&5
11545echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11546if test "${ac_cv_prog_LEX+set}" = set; then
11547 echo $ECHO_N "(cached) $ECHO_C" >&6
11548else
11549 if test -n "$LEX"; then
11550 ac_cv_prog_LEX="$LEX" # Let the user override the test.
11551else
11552as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11553for as_dir in $PATH
11554do
11555 IFS=$as_save_IFS
11556 test -z "$as_dir" && as_dir=.
11557 for ac_exec_ext in '' $ac_executable_extensions; do
11558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11559 ac_cv_prog_LEX="$ac_prog"
11560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11561 break 2
11562 fi
11563done
11564done
11565
11566fi
11567fi
11568LEX=$ac_cv_prog_LEX
11569if test -n "$LEX"; then
11570 echo "$as_me:$LINENO: result: $LEX" >&5
11571echo "${ECHO_T}$LEX" >&6
11572else
11573 echo "$as_me:$LINENO: result: no" >&5
11574echo "${ECHO_T}no" >&6
11575fi
11576
11577 test -n "$LEX" && break
11578done
11579test -n "$LEX" || LEX=":"
11580
11581if test -z "$LEXLIB"
11582then
11583 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
11584echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
11585if test "${ac_cv_lib_fl_yywrap+set}" = set; then
11586 echo $ECHO_N "(cached) $ECHO_C" >&6
11587else
11588 ac_check_lib_save_LIBS=$LIBS
11589LIBS="-lfl $LIBS"
11590cat >conftest.$ac_ext <<_ACEOF
11591#line $LINENO "configure"
11592/* confdefs.h. */
11593_ACEOF
11594cat confdefs.h >>conftest.$ac_ext
11595cat >>conftest.$ac_ext <<_ACEOF
11596/* end confdefs.h. */
11597
11598/* Override any gcc2 internal prototype to avoid an error. */
11599#ifdef __cplusplus
11600extern "C"
11601#endif
11602/* We use char because int might match the return type of a gcc2
11603 builtin and then its argument prototype would still apply. */
11604char yywrap ();
11605int
11606main ()
11607{
11608yywrap ();
11609 ;
11610 return 0;
11611}
11612_ACEOF
11613rm -f conftest.$ac_objext conftest$ac_exeext
11614if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11615 (eval $ac_link) 2>&5
11616 ac_status=$?
11617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11618 (exit $ac_status); } &&
11619 { ac_try='test -s conftest$ac_exeext'
11620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11621 (eval $ac_try) 2>&5
11622 ac_status=$?
11623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11624 (exit $ac_status); }; }; then
11625 ac_cv_lib_fl_yywrap=yes
11626else
11627 echo "$as_me: failed program was:" >&5
11628sed 's/^/| /' conftest.$ac_ext >&5
11629
11630ac_cv_lib_fl_yywrap=no
11631fi
11632rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11633LIBS=$ac_check_lib_save_LIBS
11634fi
11635echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
11636echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
11637if test $ac_cv_lib_fl_yywrap = yes; then
11638 LEXLIB="-lfl"
11639else
11640 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
11641echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
11642if test "${ac_cv_lib_l_yywrap+set}" = set; then
11643 echo $ECHO_N "(cached) $ECHO_C" >&6
11644else
11645 ac_check_lib_save_LIBS=$LIBS
11646LIBS="-ll $LIBS"
11647cat >conftest.$ac_ext <<_ACEOF
11648#line $LINENO "configure"
11649/* confdefs.h. */
11650_ACEOF
11651cat confdefs.h >>conftest.$ac_ext
11652cat >>conftest.$ac_ext <<_ACEOF
11653/* end confdefs.h. */
11654
11655/* Override any gcc2 internal prototype to avoid an error. */
11656#ifdef __cplusplus
11657extern "C"
11658#endif
11659/* We use char because int might match the return type of a gcc2
11660 builtin and then its argument prototype would still apply. */
11661char yywrap ();
11662int
11663main ()
11664{
11665yywrap ();
11666 ;
11667 return 0;
11668}
11669_ACEOF
11670rm -f conftest.$ac_objext conftest$ac_exeext
11671if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11672 (eval $ac_link) 2>&5
11673 ac_status=$?
11674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11675 (exit $ac_status); } &&
11676 { ac_try='test -s conftest$ac_exeext'
11677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11678 (eval $ac_try) 2>&5
11679 ac_status=$?
11680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11681 (exit $ac_status); }; }; then
11682 ac_cv_lib_l_yywrap=yes
11683else
11684 echo "$as_me: failed program was:" >&5
11685sed 's/^/| /' conftest.$ac_ext >&5
11686
11687ac_cv_lib_l_yywrap=no
11688fi
11689rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11690LIBS=$ac_check_lib_save_LIBS
11691fi
11692echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
11693echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
11694if test $ac_cv_lib_l_yywrap = yes; then
11695 LEXLIB="-ll"
11696fi
11697
11698fi
11699
11700fi
11701
11702if test "x$LEX" != "x:"; then
11703 echo "$as_me:$LINENO: checking lex output file root" >&5
11704echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
11705if test "${ac_cv_prog_lex_root+set}" = set; then
11706 echo $ECHO_N "(cached) $ECHO_C" >&6
11707else
11708 # The minimal lex program is just a single line: %%. But some broken lexes
11709# (Solaris, I think it was) want two %% lines, so accommodate them.
11710cat >conftest.l <<_ACEOF
11711%%
11712%%
11713_ACEOF
11714{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
11715 (eval $LEX conftest.l) 2>&5
11716 ac_status=$?
11717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11718 (exit $ac_status); }
11719if test -f lex.yy.c; then
11720 ac_cv_prog_lex_root=lex.yy
11721elif test -f lexyy.c; then
11722 ac_cv_prog_lex_root=lexyy
11723else
11724 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
11725echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
11726 { (exit 1); exit 1; }; }
11727fi
11728fi
11729echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
11730echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
11731rm -f conftest.l
11732LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
11733
11734echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
11735echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
11736if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
11737 echo $ECHO_N "(cached) $ECHO_C" >&6
11738else
11739 # POSIX says lex can declare yytext either as a pointer or an array; the
11740# default is implementation-dependent. Figure out which it is, since
11741# not all implementations provide the %pointer and %array declarations.
11742ac_cv_prog_lex_yytext_pointer=no
11743echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
11744ac_save_LIBS=$LIBS
11745LIBS="$LIBS $LEXLIB"
11746cat >conftest.$ac_ext <<_ACEOF
11747`cat $LEX_OUTPUT_ROOT.c`
11748_ACEOF
11749rm -f conftest.$ac_objext conftest$ac_exeext
11750if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11751 (eval $ac_link) 2>&5
11752 ac_status=$?
11753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11754 (exit $ac_status); } &&
11755 { ac_try='test -s conftest$ac_exeext'
11756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11757 (eval $ac_try) 2>&5
11758 ac_status=$?
11759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11760 (exit $ac_status); }; }; then
11761 ac_cv_prog_lex_yytext_pointer=yes
11762else
11763 echo "$as_me: failed program was:" >&5
11764sed 's/^/| /' conftest.$ac_ext >&5
11765
11766fi
11767rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11768LIBS=$ac_save_LIBS
11769rm -f "${LEX_OUTPUT_ROOT}.c"
11770
11771fi
11772echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
11773echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
11774if test $ac_cv_prog_lex_yytext_pointer = yes; then
11775
11776cat >>confdefs.h <<\_ACEOF
11777#define YYTEXT_POINTER 1
11778_ACEOF
11779
11780fi
11781
11782fi
11783
11784echo "$as_me:$LINENO: checking whether ln -s works" >&5
11785echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11786LN_S=$as_ln_s
11787if test "$LN_S" = "ln -s"; then
11788 echo "$as_me:$LINENO: result: yes" >&5
11789echo "${ECHO_T}yes" >&6
11790else
11791 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11792echo "${ECHO_T}no, using $LN_S" >&6
11793fi
11794
11795
11796case "${host}" in
11797 *-pc-os2_emx | *-pc-os2-emx )
11798 LIBS="$LIBS -lstdcpp"
11799 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11800 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11801echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11802if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11803 echo $ECHO_N "(cached) $ECHO_C" >&6
11804else
11805 ac_check_lib_save_LIBS=$LIBS
11806LIBS="-lcExt $LIBS"
11807cat >conftest.$ac_ext <<_ACEOF
11808#line $LINENO "configure"
11809/* confdefs.h. */
11810_ACEOF
11811cat confdefs.h >>conftest.$ac_ext
11812cat >>conftest.$ac_ext <<_ACEOF
11813/* end confdefs.h. */
11814
11815/* Override any gcc2 internal prototype to avoid an error. */
11816#ifdef __cplusplus
11817extern "C"
11818#endif
11819/* We use char because int might match the return type of a gcc2
11820 builtin and then its argument prototype would still apply. */
11821char drand48 ();
11822int
11823main ()
11824{
11825drand48 ();
11826 ;
11827 return 0;
11828}
11829_ACEOF
11830rm -f conftest.$ac_objext conftest$ac_exeext
11831if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11832 (eval $ac_link) 2>&5
11833 ac_status=$?
11834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11835 (exit $ac_status); } &&
11836 { ac_try='test -s conftest$ac_exeext'
11837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11838 (eval $ac_try) 2>&5
11839 ac_status=$?
11840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11841 (exit $ac_status); }; }; then
11842 ac_cv_lib_cExt_drand48=yes
11843else
11844 echo "$as_me: failed program was:" >&5
11845sed 's/^/| /' conftest.$ac_ext >&5
11846
11847ac_cv_lib_cExt_drand48=no
11848fi
11849rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11850LIBS=$ac_check_lib_save_LIBS
11851fi
11852echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11853echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11854if test $ac_cv_lib_cExt_drand48 = yes; then
11855 LIBS="$LIBS -lcExt"
11856fi
11857
11858 else
11859 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11860 fi
11861 ;;
11862esac
11863
11864
11865if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11866 echo "$as_me:$LINENO: checking for strings.h" >&5
11867echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11868if test "${ac_cv_header_strings_h+set}" = set; then
11869 echo $ECHO_N "(cached) $ECHO_C" >&6
11870else
11871 ac_cv_header_strings_h=no
11872fi
11873echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11874echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11875 if test "$ac_cv_header_strings_h" = "no"; then
11876 echo "$as_me:$LINENO: result: forced no into cache" >&5
11877echo "${ECHO_T}forced no into cache" >&6
11878 else
11879 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11880echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11881 fi
11882fi
11883echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11884echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11885if test "${ac_cv_header_stdc+set}" = set; then
11886 echo $ECHO_N "(cached) $ECHO_C" >&6
11887else
11888 cat >conftest.$ac_ext <<_ACEOF
11889#line $LINENO "configure"
11890/* confdefs.h. */
11891_ACEOF
11892cat confdefs.h >>conftest.$ac_ext
11893cat >>conftest.$ac_ext <<_ACEOF
11894/* end confdefs.h. */
11895#include <stdlib.h>
11896#include <stdarg.h>
11897#include <string.h>
11898#include <float.h>
11899
11900int
11901main ()
11902{
11903
11904 ;
11905 return 0;
11906}
11907_ACEOF
11908rm -f conftest.$ac_objext
11909if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11910 (eval $ac_compile) 2>&5
11911 ac_status=$?
11912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11913 (exit $ac_status); } &&
11914 { ac_try='test -s conftest.$ac_objext'
11915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11916 (eval $ac_try) 2>&5
11917 ac_status=$?
11918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11919 (exit $ac_status); }; }; then
11920 ac_cv_header_stdc=yes
11921else
11922 echo "$as_me: failed program was:" >&5
11923sed 's/^/| /' conftest.$ac_ext >&5
11924
11925ac_cv_header_stdc=no
11926fi
11927rm -f conftest.$ac_objext conftest.$ac_ext
11928
11929if test $ac_cv_header_stdc = yes; then
11930 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11931 cat >conftest.$ac_ext <<_ACEOF
11932#line $LINENO "configure"
11933/* confdefs.h. */
11934_ACEOF
11935cat confdefs.h >>conftest.$ac_ext
11936cat >>conftest.$ac_ext <<_ACEOF
11937/* end confdefs.h. */
11938#include <string.h>
11939
11940_ACEOF
11941if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11942 $EGREP "memchr" >/dev/null 2>&1; then
11943 :
11944else
11945 ac_cv_header_stdc=no
11946fi
11947rm -f conftest*
11948
11949fi
11950
11951if test $ac_cv_header_stdc = yes; then
11952 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11953 cat >conftest.$ac_ext <<_ACEOF
11954#line $LINENO "configure"
11955/* confdefs.h. */
11956_ACEOF
11957cat confdefs.h >>conftest.$ac_ext
11958cat >>conftest.$ac_ext <<_ACEOF
11959/* end confdefs.h. */
11960#include <stdlib.h>
11961
11962_ACEOF
11963if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11964 $EGREP "free" >/dev/null 2>&1; then
11965 :
11966else
11967 ac_cv_header_stdc=no
11968fi
11969rm -f conftest*
11970
11971fi
11972
11973if test $ac_cv_header_stdc = yes; then
11974 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11975 if test "$cross_compiling" = yes; then
11976 :
11977else
11978 cat >conftest.$ac_ext <<_ACEOF
11979#line $LINENO "configure"
11980/* confdefs.h. */
11981_ACEOF
11982cat confdefs.h >>conftest.$ac_ext
11983cat >>conftest.$ac_ext <<_ACEOF
11984/* end confdefs.h. */
11985#include <ctype.h>
11986#if ((' ' & 0x0FF) == 0x020)
11987# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11988# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11989#else
11990# define ISLOWER(c) \
11991 (('a' <= (c) && (c) <= 'i') \
11992 || ('j' <= (c) && (c) <= 'r') \
11993 || ('s' <= (c) && (c) <= 'z'))
11994# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11995#endif
11996
11997#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11998int
11999main ()
12000{
12001 int i;
12002 for (i = 0; i < 256; i++)
12003 if (XOR (islower (i), ISLOWER (i))
12004 || toupper (i) != TOUPPER (i))
12005 exit(2);
12006 exit (0);
12007}
12008_ACEOF
12009rm -f conftest$ac_exeext
12010if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12011 (eval $ac_link) 2>&5
12012 ac_status=$?
12013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12014 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12016 (eval $ac_try) 2>&5
12017 ac_status=$?
12018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12019 (exit $ac_status); }; }; then
12020 :
12021else
12022 echo "$as_me: program exited with status $ac_status" >&5
12023echo "$as_me: failed program was:" >&5
12024sed 's/^/| /' conftest.$ac_ext >&5
12025
12026( exit $ac_status )
12027ac_cv_header_stdc=no
12028fi
12029rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12030fi
12031fi
12032fi
12033echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12034echo "${ECHO_T}$ac_cv_header_stdc" >&6
12035if test $ac_cv_header_stdc = yes; then
12036
12037cat >>confdefs.h <<\_ACEOF
12038#define STDC_HEADERS 1
12039_ACEOF
12040
12041fi
12042
12043# On IRIX 5.3, sys/types and inttypes.h are conflicting.
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12054 inttypes.h stdint.h unistd.h
12055do
12056as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12057echo "$as_me:$LINENO: checking for $ac_header" >&5
12058echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12059if eval "test \"\${$as_ac_Header+set}\" = set"; then
12060 echo $ECHO_N "(cached) $ECHO_C" >&6
12061else
12062 cat >conftest.$ac_ext <<_ACEOF
12063#line $LINENO "configure"
12064/* confdefs.h. */
12065_ACEOF
12066cat confdefs.h >>conftest.$ac_ext
12067cat >>conftest.$ac_ext <<_ACEOF
12068/* end confdefs.h. */
12069$ac_includes_default
12070
12071#include <$ac_header>
12072_ACEOF
12073rm -f conftest.$ac_objext
12074if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12075 (eval $ac_compile) 2>&5
12076 ac_status=$?
12077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12078 (exit $ac_status); } &&
12079 { ac_try='test -s conftest.$ac_objext'
12080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12081 (eval $ac_try) 2>&5
12082 ac_status=$?
12083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12084 (exit $ac_status); }; }; then
12085 eval "$as_ac_Header=yes"
12086else
12087 echo "$as_me: failed program was:" >&5
12088sed 's/^/| /' conftest.$ac_ext >&5
12089
12090eval "$as_ac_Header=no"
12091fi
12092rm -f conftest.$ac_objext conftest.$ac_ext
12093fi
12094echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12095echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12096if test `eval echo '${'$as_ac_Header'}'` = yes; then
12097 cat >>confdefs.h <<_ACEOF
12098#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12099_ACEOF
12100
12101fi
12102
12103done
12104
12105
12106
12107for ac_header in strings.h
12108do
12109as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12110if eval "test \"\${$as_ac_Header+set}\" = set"; then
12111 echo "$as_me:$LINENO: checking for $ac_header" >&5
12112echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12113if eval "test \"\${$as_ac_Header+set}\" = set"; then
12114 echo $ECHO_N "(cached) $ECHO_C" >&6
12115fi
12116echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12117echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12118else
12119 # Is the header compilable?
12120echo "$as_me:$LINENO: checking $ac_header usability" >&5
12121echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12122cat >conftest.$ac_ext <<_ACEOF
12123#line $LINENO "configure"
12124/* confdefs.h. */
12125_ACEOF
12126cat confdefs.h >>conftest.$ac_ext
12127cat >>conftest.$ac_ext <<_ACEOF
12128/* end confdefs.h. */
12129$ac_includes_default
12130#include <$ac_header>
12131_ACEOF
12132rm -f conftest.$ac_objext
12133if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12134 (eval $ac_compile) 2>&5
12135 ac_status=$?
12136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12137 (exit $ac_status); } &&
12138 { ac_try='test -s conftest.$ac_objext'
12139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12140 (eval $ac_try) 2>&5
12141 ac_status=$?
12142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12143 (exit $ac_status); }; }; then
12144 ac_header_compiler=yes
12145else
12146 echo "$as_me: failed program was:" >&5
12147sed 's/^/| /' conftest.$ac_ext >&5
12148
12149ac_header_compiler=no
12150fi
12151rm -f conftest.$ac_objext conftest.$ac_ext
12152echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12153echo "${ECHO_T}$ac_header_compiler" >&6
12154
12155# Is the header present?
12156echo "$as_me:$LINENO: checking $ac_header presence" >&5
12157echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12158cat >conftest.$ac_ext <<_ACEOF
12159#line $LINENO "configure"
12160/* confdefs.h. */
12161_ACEOF
12162cat confdefs.h >>conftest.$ac_ext
12163cat >>conftest.$ac_ext <<_ACEOF
12164/* end confdefs.h. */
12165#include <$ac_header>
12166_ACEOF
12167if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12168 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12169 ac_status=$?
12170 grep -v '^ *+' conftest.er1 >conftest.err
12171 rm -f conftest.er1
12172 cat conftest.err >&5
12173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12174 (exit $ac_status); } >/dev/null; then
12175 if test -s conftest.err; then
12176 ac_cpp_err=$ac_c_preproc_warn_flag
12177 else
12178 ac_cpp_err=
12179 fi
12180else
12181 ac_cpp_err=yes
12182fi
12183if test -z "$ac_cpp_err"; then
12184 ac_header_preproc=yes
12185else
12186 echo "$as_me: failed program was:" >&5
12187sed 's/^/| /' conftest.$ac_ext >&5
12188
12189 ac_header_preproc=no
12190fi
12191rm -f conftest.err conftest.$ac_ext
12192echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12193echo "${ECHO_T}$ac_header_preproc" >&6
12194
12195# So? What about this header?
12196case $ac_header_compiler:$ac_header_preproc in
12197 yes:no )
12198 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12199echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12200 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12201echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12202 (
12203 cat <<\_ASBOX
12204## ------------------------------------ ##
12205## Report this to bug-autoconf@gnu.org. ##
12206## ------------------------------------ ##
12207_ASBOX
12208 ) |
12209 sed "s/^/$as_me: WARNING: /" >&2
12210 ;;
12211 no:yes )
12212 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12213echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12214 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12215echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12216 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12217echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12218 (
12219 cat <<\_ASBOX
12220## ------------------------------------ ##
12221## Report this to bug-autoconf@gnu.org. ##
12222## ------------------------------------ ##
12223_ASBOX
12224 ) |
12225 sed "s/^/$as_me: WARNING: /" >&2
12226 ;;
12227esac
12228echo "$as_me:$LINENO: checking for $ac_header" >&5
12229echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12230if eval "test \"\${$as_ac_Header+set}\" = set"; then
12231 echo $ECHO_N "(cached) $ECHO_C" >&6
12232else
12233 eval "$as_ac_Header=$ac_header_preproc"
12234fi
12235echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12236echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12237
12238fi
12239if test `eval echo '${'$as_ac_Header'}'` = yes; then
12240 cat >>confdefs.h <<_ACEOF
12241#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12242_ACEOF
12243
12244fi
12245
12246done
12247
12248
12249
12250for ac_header in stdlib.h
12251do
12252as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12253if eval "test \"\${$as_ac_Header+set}\" = set"; then
12254 echo "$as_me:$LINENO: checking for $ac_header" >&5
12255echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12256if eval "test \"\${$as_ac_Header+set}\" = set"; then
12257 echo $ECHO_N "(cached) $ECHO_C" >&6
12258fi
12259echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12260echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12261else
12262 # Is the header compilable?
12263echo "$as_me:$LINENO: checking $ac_header usability" >&5
12264echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12265cat >conftest.$ac_ext <<_ACEOF
12266#line $LINENO "configure"
12267/* confdefs.h. */
12268_ACEOF
12269cat confdefs.h >>conftest.$ac_ext
12270cat >>conftest.$ac_ext <<_ACEOF
12271/* end confdefs.h. */
12272$ac_includes_default
12273#include <$ac_header>
12274_ACEOF
12275rm -f conftest.$ac_objext
12276if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12277 (eval $ac_compile) 2>&5
12278 ac_status=$?
12279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12280 (exit $ac_status); } &&
12281 { ac_try='test -s conftest.$ac_objext'
12282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12283 (eval $ac_try) 2>&5
12284 ac_status=$?
12285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12286 (exit $ac_status); }; }; then
12287 ac_header_compiler=yes
12288else
12289 echo "$as_me: failed program was:" >&5
12290sed 's/^/| /' conftest.$ac_ext >&5
12291
12292ac_header_compiler=no
12293fi
12294rm -f conftest.$ac_objext conftest.$ac_ext
12295echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12296echo "${ECHO_T}$ac_header_compiler" >&6
12297
12298# Is the header present?
12299echo "$as_me:$LINENO: checking $ac_header presence" >&5
12300echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12301cat >conftest.$ac_ext <<_ACEOF
12302#line $LINENO "configure"
12303/* confdefs.h. */
12304_ACEOF
12305cat confdefs.h >>conftest.$ac_ext
12306cat >>conftest.$ac_ext <<_ACEOF
12307/* end confdefs.h. */
12308#include <$ac_header>
12309_ACEOF
12310if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12311 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12312 ac_status=$?
12313 grep -v '^ *+' conftest.er1 >conftest.err
12314 rm -f conftest.er1
12315 cat conftest.err >&5
12316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12317 (exit $ac_status); } >/dev/null; then
12318 if test -s conftest.err; then
12319 ac_cpp_err=$ac_c_preproc_warn_flag
12320 else
12321 ac_cpp_err=
12322 fi
12323else
12324 ac_cpp_err=yes
12325fi
12326if test -z "$ac_cpp_err"; then
12327 ac_header_preproc=yes
12328else
12329 echo "$as_me: failed program was:" >&5
12330sed 's/^/| /' conftest.$ac_ext >&5
12331
12332 ac_header_preproc=no
12333fi
12334rm -f conftest.err conftest.$ac_ext
12335echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12336echo "${ECHO_T}$ac_header_preproc" >&6
12337
12338# So? What about this header?
12339case $ac_header_compiler:$ac_header_preproc in
12340 yes:no )
12341 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12342echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12343 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12344echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12345 (
12346 cat <<\_ASBOX
12347## ------------------------------------ ##
12348## Report this to bug-autoconf@gnu.org. ##
12349## ------------------------------------ ##
12350_ASBOX
12351 ) |
12352 sed "s/^/$as_me: WARNING: /" >&2
12353 ;;
12354 no:yes )
12355 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12356echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12357 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12358echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12359 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12360echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12361 (
12362 cat <<\_ASBOX
12363## ------------------------------------ ##
12364## Report this to bug-autoconf@gnu.org. ##
12365## ------------------------------------ ##
12366_ASBOX
12367 ) |
12368 sed "s/^/$as_me: WARNING: /" >&2
12369 ;;
12370esac
12371echo "$as_me:$LINENO: checking for $ac_header" >&5
12372echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12373if eval "test \"\${$as_ac_Header+set}\" = set"; then
12374 echo $ECHO_N "(cached) $ECHO_C" >&6
12375else
12376 eval "$as_ac_Header=$ac_header_preproc"
12377fi
12378echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12379echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12380
12381fi
12382if test `eval echo '${'$as_ac_Header'}'` = yes; then
12383 cat >>confdefs.h <<_ACEOF
12384#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12385_ACEOF
12386
12387fi
12388
12389done
12390
12391
12392for ac_header in malloc.h
12393do
12394as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12395if eval "test \"\${$as_ac_Header+set}\" = set"; then
12396 echo "$as_me:$LINENO: checking for $ac_header" >&5
12397echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12398if eval "test \"\${$as_ac_Header+set}\" = set"; then
12399 echo $ECHO_N "(cached) $ECHO_C" >&6
12400fi
12401echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12402echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12403else
12404 # Is the header compilable?
12405echo "$as_me:$LINENO: checking $ac_header usability" >&5
12406echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12407cat >conftest.$ac_ext <<_ACEOF
12408#line $LINENO "configure"
12409/* confdefs.h. */
12410_ACEOF
12411cat confdefs.h >>conftest.$ac_ext
12412cat >>conftest.$ac_ext <<_ACEOF
12413/* end confdefs.h. */
12414$ac_includes_default
12415#include <$ac_header>
12416_ACEOF
12417rm -f conftest.$ac_objext
12418if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12419 (eval $ac_compile) 2>&5
12420 ac_status=$?
12421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12422 (exit $ac_status); } &&
12423 { ac_try='test -s conftest.$ac_objext'
12424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12425 (eval $ac_try) 2>&5
12426 ac_status=$?
12427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12428 (exit $ac_status); }; }; then
12429 ac_header_compiler=yes
12430else
12431 echo "$as_me: failed program was:" >&5
12432sed 's/^/| /' conftest.$ac_ext >&5
12433
12434ac_header_compiler=no
12435fi
12436rm -f conftest.$ac_objext conftest.$ac_ext
12437echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12438echo "${ECHO_T}$ac_header_compiler" >&6
12439
12440# Is the header present?
12441echo "$as_me:$LINENO: checking $ac_header presence" >&5
12442echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12443cat >conftest.$ac_ext <<_ACEOF
12444#line $LINENO "configure"
12445/* confdefs.h. */
12446_ACEOF
12447cat confdefs.h >>conftest.$ac_ext
12448cat >>conftest.$ac_ext <<_ACEOF
12449/* end confdefs.h. */
12450#include <$ac_header>
12451_ACEOF
12452if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12453 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12454 ac_status=$?
12455 grep -v '^ *+' conftest.er1 >conftest.err
12456 rm -f conftest.er1
12457 cat conftest.err >&5
12458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12459 (exit $ac_status); } >/dev/null; then
12460 if test -s conftest.err; then
12461 ac_cpp_err=$ac_c_preproc_warn_flag
12462 else
12463 ac_cpp_err=
12464 fi
12465else
12466 ac_cpp_err=yes
12467fi
12468if test -z "$ac_cpp_err"; then
12469 ac_header_preproc=yes
12470else
12471 echo "$as_me: failed program was:" >&5
12472sed 's/^/| /' conftest.$ac_ext >&5
12473
12474 ac_header_preproc=no
12475fi
12476rm -f conftest.err conftest.$ac_ext
12477echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12478echo "${ECHO_T}$ac_header_preproc" >&6
12479
12480# So? What about this header?
12481case $ac_header_compiler:$ac_header_preproc in
12482 yes:no )
12483 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12484echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12485 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12486echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12487 (
12488 cat <<\_ASBOX
12489## ------------------------------------ ##
12490## Report this to bug-autoconf@gnu.org. ##
12491## ------------------------------------ ##
12492_ASBOX
12493 ) |
12494 sed "s/^/$as_me: WARNING: /" >&2
12495 ;;
12496 no:yes )
12497 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12498echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12499 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12500echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12501 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12502echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12503 (
12504 cat <<\_ASBOX
12505## ------------------------------------ ##
12506## Report this to bug-autoconf@gnu.org. ##
12507## ------------------------------------ ##
12508_ASBOX
12509 ) |
12510 sed "s/^/$as_me: WARNING: /" >&2
12511 ;;
12512esac
12513echo "$as_me:$LINENO: checking for $ac_header" >&5
12514echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12515if eval "test \"\${$as_ac_Header+set}\" = set"; then
12516 echo $ECHO_N "(cached) $ECHO_C" >&6
12517else
12518 eval "$as_ac_Header=$ac_header_preproc"
12519fi
12520echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12521echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12522
12523fi
12524if test `eval echo '${'$as_ac_Header'}'` = yes; then
12525 cat >>confdefs.h <<_ACEOF
12526#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12527_ACEOF
12528
12529fi
12530
12531done
12532
12533
12534for ac_header in unistd.h
12535do
12536as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12537if eval "test \"\${$as_ac_Header+set}\" = set"; then
12538 echo "$as_me:$LINENO: checking for $ac_header" >&5
12539echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12540if eval "test \"\${$as_ac_Header+set}\" = set"; then
12541 echo $ECHO_N "(cached) $ECHO_C" >&6
12542fi
12543echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12544echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12545else
12546 # Is the header compilable?
12547echo "$as_me:$LINENO: checking $ac_header usability" >&5
12548echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12549cat >conftest.$ac_ext <<_ACEOF
12550#line $LINENO "configure"
12551/* confdefs.h. */
12552_ACEOF
12553cat confdefs.h >>conftest.$ac_ext
12554cat >>conftest.$ac_ext <<_ACEOF
12555/* end confdefs.h. */
12556$ac_includes_default
12557#include <$ac_header>
12558_ACEOF
12559rm -f conftest.$ac_objext
12560if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12561 (eval $ac_compile) 2>&5
12562 ac_status=$?
12563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12564 (exit $ac_status); } &&
12565 { ac_try='test -s conftest.$ac_objext'
12566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12567 (eval $ac_try) 2>&5
12568 ac_status=$?
12569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12570 (exit $ac_status); }; }; then
12571 ac_header_compiler=yes
12572else
12573 echo "$as_me: failed program was:" >&5
12574sed 's/^/| /' conftest.$ac_ext >&5
12575
12576ac_header_compiler=no
12577fi
12578rm -f conftest.$ac_objext conftest.$ac_ext
12579echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12580echo "${ECHO_T}$ac_header_compiler" >&6
12581
12582# Is the header present?
12583echo "$as_me:$LINENO: checking $ac_header presence" >&5
12584echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12585cat >conftest.$ac_ext <<_ACEOF
12586#line $LINENO "configure"
12587/* confdefs.h. */
12588_ACEOF
12589cat confdefs.h >>conftest.$ac_ext
12590cat >>conftest.$ac_ext <<_ACEOF
12591/* end confdefs.h. */
12592#include <$ac_header>
12593_ACEOF
12594if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12595 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12596 ac_status=$?
12597 grep -v '^ *+' conftest.er1 >conftest.err
12598 rm -f conftest.er1
12599 cat conftest.err >&5
12600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12601 (exit $ac_status); } >/dev/null; then
12602 if test -s conftest.err; then
12603 ac_cpp_err=$ac_c_preproc_warn_flag
12604 else
12605 ac_cpp_err=
12606 fi
12607else
12608 ac_cpp_err=yes
12609fi
12610if test -z "$ac_cpp_err"; then
12611 ac_header_preproc=yes
12612else
12613 echo "$as_me: failed program was:" >&5
12614sed 's/^/| /' conftest.$ac_ext >&5
12615
12616 ac_header_preproc=no
12617fi
12618rm -f conftest.err conftest.$ac_ext
12619echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12620echo "${ECHO_T}$ac_header_preproc" >&6
12621
12622# So? What about this header?
12623case $ac_header_compiler:$ac_header_preproc in
12624 yes:no )
12625 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12626echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12627 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12628echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12629 (
12630 cat <<\_ASBOX
12631## ------------------------------------ ##
12632## Report this to bug-autoconf@gnu.org. ##
12633## ------------------------------------ ##
12634_ASBOX
12635 ) |
12636 sed "s/^/$as_me: WARNING: /" >&2
12637 ;;
12638 no:yes )
12639 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12640echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12641 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12642echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12643 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12644echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12645 (
12646 cat <<\_ASBOX
12647## ------------------------------------ ##
12648## Report this to bug-autoconf@gnu.org. ##
12649## ------------------------------------ ##
12650_ASBOX
12651 ) |
12652 sed "s/^/$as_me: WARNING: /" >&2
12653 ;;
12654esac
12655echo "$as_me:$LINENO: checking for $ac_header" >&5
12656echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12657if eval "test \"\${$as_ac_Header+set}\" = set"; then
12658 echo $ECHO_N "(cached) $ECHO_C" >&6
12659else
12660 eval "$as_ac_Header=$ac_header_preproc"
12661fi
12662echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12663echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12664
12665fi
12666if test `eval echo '${'$as_ac_Header'}'` = yes; then
12667 cat >>confdefs.h <<_ACEOF
12668#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12669_ACEOF
12670
12671fi
12672
12673done
12674
12675
12676for ac_header in wchar.h
12677do
12678as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12679if eval "test \"\${$as_ac_Header+set}\" = set"; then
12680 echo "$as_me:$LINENO: checking for $ac_header" >&5
12681echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12682if eval "test \"\${$as_ac_Header+set}\" = set"; then
12683 echo $ECHO_N "(cached) $ECHO_C" >&6
12684fi
12685echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12686echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12687else
12688 # Is the header compilable?
12689echo "$as_me:$LINENO: checking $ac_header usability" >&5
12690echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12691cat >conftest.$ac_ext <<_ACEOF
12692#line $LINENO "configure"
12693/* confdefs.h. */
12694_ACEOF
12695cat confdefs.h >>conftest.$ac_ext
12696cat >>conftest.$ac_ext <<_ACEOF
12697/* end confdefs.h. */
12698$ac_includes_default
12699#include <$ac_header>
12700_ACEOF
12701rm -f conftest.$ac_objext
12702if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12703 (eval $ac_compile) 2>&5
12704 ac_status=$?
12705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12706 (exit $ac_status); } &&
12707 { ac_try='test -s conftest.$ac_objext'
12708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12709 (eval $ac_try) 2>&5
12710 ac_status=$?
12711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12712 (exit $ac_status); }; }; then
12713 ac_header_compiler=yes
12714else
12715 echo "$as_me: failed program was:" >&5
12716sed 's/^/| /' conftest.$ac_ext >&5
12717
12718ac_header_compiler=no
12719fi
12720rm -f conftest.$ac_objext conftest.$ac_ext
12721echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12722echo "${ECHO_T}$ac_header_compiler" >&6
12723
12724# Is the header present?
12725echo "$as_me:$LINENO: checking $ac_header presence" >&5
12726echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12727cat >conftest.$ac_ext <<_ACEOF
12728#line $LINENO "configure"
12729/* confdefs.h. */
12730_ACEOF
12731cat confdefs.h >>conftest.$ac_ext
12732cat >>conftest.$ac_ext <<_ACEOF
12733/* end confdefs.h. */
12734#include <$ac_header>
12735_ACEOF
12736if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12737 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12738 ac_status=$?
12739 grep -v '^ *+' conftest.er1 >conftest.err
12740 rm -f conftest.er1
12741 cat conftest.err >&5
12742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12743 (exit $ac_status); } >/dev/null; then
12744 if test -s conftest.err; then
12745 ac_cpp_err=$ac_c_preproc_warn_flag
12746 else
12747 ac_cpp_err=
12748 fi
12749else
12750 ac_cpp_err=yes
12751fi
12752if test -z "$ac_cpp_err"; then
12753 ac_header_preproc=yes
12754else
12755 echo "$as_me: failed program was:" >&5
12756sed 's/^/| /' conftest.$ac_ext >&5
12757
12758 ac_header_preproc=no
12759fi
12760rm -f conftest.err conftest.$ac_ext
12761echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12762echo "${ECHO_T}$ac_header_preproc" >&6
12763
12764# So? What about this header?
12765case $ac_header_compiler:$ac_header_preproc in
12766 yes:no )
12767 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12768echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12769 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12770echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12771 (
12772 cat <<\_ASBOX
12773## ------------------------------------ ##
12774## Report this to bug-autoconf@gnu.org. ##
12775## ------------------------------------ ##
12776_ASBOX
12777 ) |
12778 sed "s/^/$as_me: WARNING: /" >&2
12779 ;;
12780 no:yes )
12781 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12782echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12783 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12784echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12785 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12786echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12787 (
12788 cat <<\_ASBOX
12789## ------------------------------------ ##
12790## Report this to bug-autoconf@gnu.org. ##
12791## ------------------------------------ ##
12792_ASBOX
12793 ) |
12794 sed "s/^/$as_me: WARNING: /" >&2
12795 ;;
12796esac
12797echo "$as_me:$LINENO: checking for $ac_header" >&5
12798echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12799if eval "test \"\${$as_ac_Header+set}\" = set"; then
12800 echo $ECHO_N "(cached) $ECHO_C" >&6
12801else
12802 eval "$as_ac_Header=$ac_header_preproc"
12803fi
12804echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12805echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12806
12807fi
12808if test `eval echo '${'$as_ac_Header'}'` = yes; then
12809 cat >>confdefs.h <<_ACEOF
12810#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12811_ACEOF
12812
12813fi
12814
12815done
12816
12817
12818if test "$ac_cv_header_wchar_h" != "yes"; then
12819
12820for ac_header in wcstr.h
12821do
12822as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12823if eval "test \"\${$as_ac_Header+set}\" = set"; then
12824 echo "$as_me:$LINENO: checking for $ac_header" >&5
12825echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12826if eval "test \"\${$as_ac_Header+set}\" = set"; then
12827 echo $ECHO_N "(cached) $ECHO_C" >&6
12828fi
12829echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12830echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12831else
12832 # Is the header compilable?
12833echo "$as_me:$LINENO: checking $ac_header usability" >&5
12834echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12835cat >conftest.$ac_ext <<_ACEOF
12836#line $LINENO "configure"
12837/* confdefs.h. */
12838_ACEOF
12839cat confdefs.h >>conftest.$ac_ext
12840cat >>conftest.$ac_ext <<_ACEOF
12841/* end confdefs.h. */
12842$ac_includes_default
12843#include <$ac_header>
12844_ACEOF
12845rm -f conftest.$ac_objext
12846if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12847 (eval $ac_compile) 2>&5
12848 ac_status=$?
12849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12850 (exit $ac_status); } &&
12851 { ac_try='test -s conftest.$ac_objext'
12852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12853 (eval $ac_try) 2>&5
12854 ac_status=$?
12855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12856 (exit $ac_status); }; }; then
12857 ac_header_compiler=yes
12858else
12859 echo "$as_me: failed program was:" >&5
12860sed 's/^/| /' conftest.$ac_ext >&5
12861
12862ac_header_compiler=no
12863fi
12864rm -f conftest.$ac_objext conftest.$ac_ext
12865echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12866echo "${ECHO_T}$ac_header_compiler" >&6
12867
12868# Is the header present?
12869echo "$as_me:$LINENO: checking $ac_header presence" >&5
12870echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12871cat >conftest.$ac_ext <<_ACEOF
12872#line $LINENO "configure"
12873/* confdefs.h. */
12874_ACEOF
12875cat confdefs.h >>conftest.$ac_ext
12876cat >>conftest.$ac_ext <<_ACEOF
12877/* end confdefs.h. */
12878#include <$ac_header>
12879_ACEOF
12880if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12881 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12882 ac_status=$?
12883 grep -v '^ *+' conftest.er1 >conftest.err
12884 rm -f conftest.er1
12885 cat conftest.err >&5
12886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12887 (exit $ac_status); } >/dev/null; then
12888 if test -s conftest.err; then
12889 ac_cpp_err=$ac_c_preproc_warn_flag
12890 else
12891 ac_cpp_err=
12892 fi
12893else
12894 ac_cpp_err=yes
12895fi
12896if test -z "$ac_cpp_err"; then
12897 ac_header_preproc=yes
12898else
12899 echo "$as_me: failed program was:" >&5
12900sed 's/^/| /' conftest.$ac_ext >&5
12901
12902 ac_header_preproc=no
12903fi
12904rm -f conftest.err conftest.$ac_ext
12905echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12906echo "${ECHO_T}$ac_header_preproc" >&6
12907
12908# So? What about this header?
12909case $ac_header_compiler:$ac_header_preproc in
12910 yes:no )
12911 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12912echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12913 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12914echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12915 (
12916 cat <<\_ASBOX
12917## ------------------------------------ ##
12918## Report this to bug-autoconf@gnu.org. ##
12919## ------------------------------------ ##
12920_ASBOX
12921 ) |
12922 sed "s/^/$as_me: WARNING: /" >&2
12923 ;;
12924 no:yes )
12925 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12926echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12927 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12928echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12929 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12930echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12931 (
12932 cat <<\_ASBOX
12933## ------------------------------------ ##
12934## Report this to bug-autoconf@gnu.org. ##
12935## ------------------------------------ ##
12936_ASBOX
12937 ) |
12938 sed "s/^/$as_me: WARNING: /" >&2
12939 ;;
12940esac
12941echo "$as_me:$LINENO: checking for $ac_header" >&5
12942echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12943if eval "test \"\${$as_ac_Header+set}\" = set"; then
12944 echo $ECHO_N "(cached) $ECHO_C" >&6
12945else
12946 eval "$as_ac_Header=$ac_header_preproc"
12947fi
12948echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12949echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12950
12951fi
12952if test `eval echo '${'$as_ac_Header'}'` = yes; then
12953 cat >>confdefs.h <<_ACEOF
12954#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12955_ACEOF
12956
12957fi
12958
12959done
12960
12961fi
12962
12963
12964for ac_header in fnmatch.h
12965do
12966as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12967if eval "test \"\${$as_ac_Header+set}\" = set"; then
12968 echo "$as_me:$LINENO: checking for $ac_header" >&5
12969echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12970if eval "test \"\${$as_ac_Header+set}\" = set"; then
12971 echo $ECHO_N "(cached) $ECHO_C" >&6
12972fi
12973echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12974echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12975else
12976 # Is the header compilable?
12977echo "$as_me:$LINENO: checking $ac_header usability" >&5
12978echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12979cat >conftest.$ac_ext <<_ACEOF
12980#line $LINENO "configure"
12981/* confdefs.h. */
12982_ACEOF
12983cat confdefs.h >>conftest.$ac_ext
12984cat >>conftest.$ac_ext <<_ACEOF
12985/* end confdefs.h. */
12986$ac_includes_default
12987#include <$ac_header>
12988_ACEOF
12989rm -f conftest.$ac_objext
12990if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12991 (eval $ac_compile) 2>&5
12992 ac_status=$?
12993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12994 (exit $ac_status); } &&
12995 { ac_try='test -s conftest.$ac_objext'
12996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12997 (eval $ac_try) 2>&5
12998 ac_status=$?
12999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000 (exit $ac_status); }; }; then
13001 ac_header_compiler=yes
13002else
13003 echo "$as_me: failed program was:" >&5
13004sed 's/^/| /' conftest.$ac_ext >&5
13005
13006ac_header_compiler=no
13007fi
13008rm -f conftest.$ac_objext conftest.$ac_ext
13009echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13010echo "${ECHO_T}$ac_header_compiler" >&6
13011
13012# Is the header present?
13013echo "$as_me:$LINENO: checking $ac_header presence" >&5
13014echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13015cat >conftest.$ac_ext <<_ACEOF
13016#line $LINENO "configure"
13017/* confdefs.h. */
13018_ACEOF
13019cat confdefs.h >>conftest.$ac_ext
13020cat >>conftest.$ac_ext <<_ACEOF
13021/* end confdefs.h. */
13022#include <$ac_header>
13023_ACEOF
13024if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13025 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13026 ac_status=$?
13027 grep -v '^ *+' conftest.er1 >conftest.err
13028 rm -f conftest.er1
13029 cat conftest.err >&5
13030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13031 (exit $ac_status); } >/dev/null; then
13032 if test -s conftest.err; then
13033 ac_cpp_err=$ac_c_preproc_warn_flag
13034 else
13035 ac_cpp_err=
13036 fi
13037else
13038 ac_cpp_err=yes
13039fi
13040if test -z "$ac_cpp_err"; then
13041 ac_header_preproc=yes
13042else
13043 echo "$as_me: failed program was:" >&5
13044sed 's/^/| /' conftest.$ac_ext >&5
13045
13046 ac_header_preproc=no
13047fi
13048rm -f conftest.err conftest.$ac_ext
13049echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13050echo "${ECHO_T}$ac_header_preproc" >&6
13051
13052# So? What about this header?
13053case $ac_header_compiler:$ac_header_preproc in
13054 yes:no )
13055 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13056echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13057 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13058echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13059 (
13060 cat <<\_ASBOX
13061## ------------------------------------ ##
13062## Report this to bug-autoconf@gnu.org. ##
13063## ------------------------------------ ##
13064_ASBOX
13065 ) |
13066 sed "s/^/$as_me: WARNING: /" >&2
13067 ;;
13068 no:yes )
13069 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13070echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13071 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13072echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13073 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13074echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13075 (
13076 cat <<\_ASBOX
13077## ------------------------------------ ##
13078## Report this to bug-autoconf@gnu.org. ##
13079## ------------------------------------ ##
13080_ASBOX
13081 ) |
13082 sed "s/^/$as_me: WARNING: /" >&2
13083 ;;
13084esac
13085echo "$as_me:$LINENO: checking for $ac_header" >&5
13086echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13087if eval "test \"\${$as_ac_Header+set}\" = set"; then
13088 echo $ECHO_N "(cached) $ECHO_C" >&6
13089else
13090 eval "$as_ac_Header=$ac_header_preproc"
13091fi
13092echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13093echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13094
13095fi
13096if test `eval echo '${'$as_ac_Header'}'` = yes; then
13097 cat >>confdefs.h <<_ACEOF
13098#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13099_ACEOF
13100
13101fi
13102
13103done
13104
13105
13106if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13107
13108for ac_func in fnmatch
13109do
13110as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13111echo "$as_me:$LINENO: checking for $ac_func" >&5
13112echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13113if eval "test \"\${$as_ac_var+set}\" = set"; then
13114 echo $ECHO_N "(cached) $ECHO_C" >&6
13115else
13116 cat >conftest.$ac_ext <<_ACEOF
13117#line $LINENO "configure"
13118/* confdefs.h. */
13119_ACEOF
13120cat confdefs.h >>conftest.$ac_ext
13121cat >>conftest.$ac_ext <<_ACEOF
13122/* end confdefs.h. */
13123/* System header to define __stub macros and hopefully few prototypes,
13124 which can conflict with char $ac_func (); below.
13125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13126 <limits.h> exists even on freestanding compilers. */
13127#ifdef __STDC__
13128# include <limits.h>
13129#else
13130# include <assert.h>
13131#endif
13132/* Override any gcc2 internal prototype to avoid an error. */
13133#ifdef __cplusplus
13134extern "C"
13135{
13136#endif
13137/* We use char because int might match the return type of a gcc2
13138 builtin and then its argument prototype would still apply. */
13139char $ac_func ();
13140/* The GNU C library defines this for functions which it implements
13141 to always fail with ENOSYS. Some functions are actually named
13142 something starting with __ and the normal name is an alias. */
13143#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13144choke me
13145#else
13146char (*f) () = $ac_func;
13147#endif
13148#ifdef __cplusplus
13149}
13150#endif
13151
13152int
13153main ()
13154{
13155return f != $ac_func;
13156 ;
13157 return 0;
13158}
13159_ACEOF
13160rm -f conftest.$ac_objext conftest$ac_exeext
13161if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13162 (eval $ac_link) 2>&5
13163 ac_status=$?
13164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13165 (exit $ac_status); } &&
13166 { ac_try='test -s conftest$ac_exeext'
13167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13168 (eval $ac_try) 2>&5
13169 ac_status=$?
13170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13171 (exit $ac_status); }; }; then
13172 eval "$as_ac_var=yes"
13173else
13174 echo "$as_me: failed program was:" >&5
13175sed 's/^/| /' conftest.$ac_ext >&5
13176
13177eval "$as_ac_var=no"
13178fi
13179rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13180fi
13181echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13182echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13183if test `eval echo '${'$as_ac_var'}'` = yes; then
13184 cat >>confdefs.h <<_ACEOF
13185#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13186_ACEOF
13187
13188fi
13189done
13190
13191fi
13192
13193
13194for ac_header in langinfo.h
13195do
13196as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13197if eval "test \"\${$as_ac_Header+set}\" = set"; then
13198 echo "$as_me:$LINENO: checking for $ac_header" >&5
13199echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13200if eval "test \"\${$as_ac_Header+set}\" = set"; then
13201 echo $ECHO_N "(cached) $ECHO_C" >&6
13202fi
13203echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13204echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13205else
13206 # Is the header compilable?
13207echo "$as_me:$LINENO: checking $ac_header usability" >&5
13208echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13209cat >conftest.$ac_ext <<_ACEOF
13210#line $LINENO "configure"
13211/* confdefs.h. */
13212_ACEOF
13213cat confdefs.h >>conftest.$ac_ext
13214cat >>conftest.$ac_ext <<_ACEOF
13215/* end confdefs.h. */
13216$ac_includes_default
13217#include <$ac_header>
13218_ACEOF
13219rm -f conftest.$ac_objext
13220if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13221 (eval $ac_compile) 2>&5
13222 ac_status=$?
13223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13224 (exit $ac_status); } &&
13225 { ac_try='test -s conftest.$ac_objext'
13226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13227 (eval $ac_try) 2>&5
13228 ac_status=$?
13229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13230 (exit $ac_status); }; }; then
13231 ac_header_compiler=yes
13232else
13233 echo "$as_me: failed program was:" >&5
13234sed 's/^/| /' conftest.$ac_ext >&5
13235
13236ac_header_compiler=no
13237fi
13238rm -f conftest.$ac_objext conftest.$ac_ext
13239echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13240echo "${ECHO_T}$ac_header_compiler" >&6
13241
13242# Is the header present?
13243echo "$as_me:$LINENO: checking $ac_header presence" >&5
13244echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13245cat >conftest.$ac_ext <<_ACEOF
13246#line $LINENO "configure"
13247/* confdefs.h. */
13248_ACEOF
13249cat confdefs.h >>conftest.$ac_ext
13250cat >>conftest.$ac_ext <<_ACEOF
13251/* end confdefs.h. */
13252#include <$ac_header>
13253_ACEOF
13254if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13255 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13256 ac_status=$?
13257 grep -v '^ *+' conftest.er1 >conftest.err
13258 rm -f conftest.er1
13259 cat conftest.err >&5
13260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13261 (exit $ac_status); } >/dev/null; then
13262 if test -s conftest.err; then
13263 ac_cpp_err=$ac_c_preproc_warn_flag
13264 else
13265 ac_cpp_err=
13266 fi
13267else
13268 ac_cpp_err=yes
13269fi
13270if test -z "$ac_cpp_err"; then
13271 ac_header_preproc=yes
13272else
13273 echo "$as_me: failed program was:" >&5
13274sed 's/^/| /' conftest.$ac_ext >&5
13275
13276 ac_header_preproc=no
13277fi
13278rm -f conftest.err conftest.$ac_ext
13279echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13280echo "${ECHO_T}$ac_header_preproc" >&6
13281
13282# So? What about this header?
13283case $ac_header_compiler:$ac_header_preproc in
13284 yes:no )
13285 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13286echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13287 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13288echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13289 (
13290 cat <<\_ASBOX
13291## ------------------------------------ ##
13292## Report this to bug-autoconf@gnu.org. ##
13293## ------------------------------------ ##
13294_ASBOX
13295 ) |
13296 sed "s/^/$as_me: WARNING: /" >&2
13297 ;;
13298 no:yes )
13299 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13300echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13301 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13302echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13303 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13304echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13305 (
13306 cat <<\_ASBOX
13307## ------------------------------------ ##
13308## Report this to bug-autoconf@gnu.org. ##
13309## ------------------------------------ ##
13310_ASBOX
13311 ) |
13312 sed "s/^/$as_me: WARNING: /" >&2
13313 ;;
13314esac
13315echo "$as_me:$LINENO: checking for $ac_header" >&5
13316echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13317if eval "test \"\${$as_ac_Header+set}\" = set"; then
13318 echo $ECHO_N "(cached) $ECHO_C" >&6
13319else
13320 eval "$as_ac_Header=$ac_header_preproc"
13321fi
13322echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13323echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13324
13325fi
13326if test `eval echo '${'$as_ac_Header'}'` = yes; then
13327 cat >>confdefs.h <<_ACEOF
13328#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13329_ACEOF
13330
13331fi
13332
13333done
13334
13335
13336case "${host}" in
13337 *-pc-os2_emx | *-pc-os2-emx )
13338 if test $ac_cv_header_langinfo_h = "yes"; then
13339 LIBS="$LIBS -lintl"
13340 fi
13341 ;;
13342esac
13343
13344if test "$wxUSE_GUI" = "yes"; then
13345 if test "$wxUSE_UNIX" = "yes"; then
13346
13347for ac_header in X11/XKBlib.h
13348do
13349as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13350if eval "test \"\${$as_ac_Header+set}\" = set"; then
13351 echo "$as_me:$LINENO: checking for $ac_header" >&5
13352echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13353if eval "test \"\${$as_ac_Header+set}\" = set"; then
13354 echo $ECHO_N "(cached) $ECHO_C" >&6
13355fi
13356echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13357echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13358else
13359 # Is the header compilable?
13360echo "$as_me:$LINENO: checking $ac_header usability" >&5
13361echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13362cat >conftest.$ac_ext <<_ACEOF
13363#line $LINENO "configure"
13364/* confdefs.h. */
13365_ACEOF
13366cat confdefs.h >>conftest.$ac_ext
13367cat >>conftest.$ac_ext <<_ACEOF
13368/* end confdefs.h. */
13369$ac_includes_default
13370#include <$ac_header>
13371_ACEOF
13372rm -f conftest.$ac_objext
13373if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13374 (eval $ac_compile) 2>&5
13375 ac_status=$?
13376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13377 (exit $ac_status); } &&
13378 { ac_try='test -s conftest.$ac_objext'
13379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13380 (eval $ac_try) 2>&5
13381 ac_status=$?
13382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13383 (exit $ac_status); }; }; then
13384 ac_header_compiler=yes
13385else
13386 echo "$as_me: failed program was:" >&5
13387sed 's/^/| /' conftest.$ac_ext >&5
13388
13389ac_header_compiler=no
13390fi
13391rm -f conftest.$ac_objext conftest.$ac_ext
13392echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13393echo "${ECHO_T}$ac_header_compiler" >&6
13394
13395# Is the header present?
13396echo "$as_me:$LINENO: checking $ac_header presence" >&5
13397echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13398cat >conftest.$ac_ext <<_ACEOF
13399#line $LINENO "configure"
13400/* confdefs.h. */
13401_ACEOF
13402cat confdefs.h >>conftest.$ac_ext
13403cat >>conftest.$ac_ext <<_ACEOF
13404/* end confdefs.h. */
13405#include <$ac_header>
13406_ACEOF
13407if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13408 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13409 ac_status=$?
13410 grep -v '^ *+' conftest.er1 >conftest.err
13411 rm -f conftest.er1
13412 cat conftest.err >&5
13413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13414 (exit $ac_status); } >/dev/null; then
13415 if test -s conftest.err; then
13416 ac_cpp_err=$ac_c_preproc_warn_flag
13417 else
13418 ac_cpp_err=
13419 fi
13420else
13421 ac_cpp_err=yes
13422fi
13423if test -z "$ac_cpp_err"; then
13424 ac_header_preproc=yes
13425else
13426 echo "$as_me: failed program was:" >&5
13427sed 's/^/| /' conftest.$ac_ext >&5
13428
13429 ac_header_preproc=no
13430fi
13431rm -f conftest.err conftest.$ac_ext
13432echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13433echo "${ECHO_T}$ac_header_preproc" >&6
13434
13435# So? What about this header?
13436case $ac_header_compiler:$ac_header_preproc in
13437 yes:no )
13438 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13439echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13440 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13441echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13442 (
13443 cat <<\_ASBOX
13444## ------------------------------------ ##
13445## Report this to bug-autoconf@gnu.org. ##
13446## ------------------------------------ ##
13447_ASBOX
13448 ) |
13449 sed "s/^/$as_me: WARNING: /" >&2
13450 ;;
13451 no:yes )
13452 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13453echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13454 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13455echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13456 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13457echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13458 (
13459 cat <<\_ASBOX
13460## ------------------------------------ ##
13461## Report this to bug-autoconf@gnu.org. ##
13462## ------------------------------------ ##
13463_ASBOX
13464 ) |
13465 sed "s/^/$as_me: WARNING: /" >&2
13466 ;;
13467esac
13468echo "$as_me:$LINENO: checking for $ac_header" >&5
13469echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13470if eval "test \"\${$as_ac_Header+set}\" = set"; then
13471 echo $ECHO_N "(cached) $ECHO_C" >&6
13472else
13473 eval "$as_ac_Header=$ac_header_preproc"
13474fi
13475echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13476echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13477
13478fi
13479if test `eval echo '${'$as_ac_Header'}'` = yes; then
13480 cat >>confdefs.h <<_ACEOF
13481#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13482_ACEOF
13483
13484fi
13485
13486done
13487
13488 fi
13489fi
13490
13491
13492echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13493echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13494if test "${ac_cv_c_const+set}" = set; then
13495 echo $ECHO_N "(cached) $ECHO_C" >&6
13496else
13497 cat >conftest.$ac_ext <<_ACEOF
13498#line $LINENO "configure"
13499/* confdefs.h. */
13500_ACEOF
13501cat confdefs.h >>conftest.$ac_ext
13502cat >>conftest.$ac_ext <<_ACEOF
13503/* end confdefs.h. */
13504
13505int
13506main ()
13507{
13508/* FIXME: Include the comments suggested by Paul. */
13509#ifndef __cplusplus
13510 /* Ultrix mips cc rejects this. */
13511 typedef int charset[2];
13512 const charset x;
13513 /* SunOS 4.1.1 cc rejects this. */
13514 char const *const *ccp;
13515 char **p;
13516 /* NEC SVR4.0.2 mips cc rejects this. */
13517 struct point {int x, y;};
13518 static struct point const zero = {0,0};
13519 /* AIX XL C 1.02.0.0 rejects this.
13520 It does not let you subtract one const X* pointer from another in
13521 an arm of an if-expression whose if-part is not a constant
13522 expression */
13523 const char *g = "string";
13524 ccp = &g + (g ? g-g : 0);
13525 /* HPUX 7.0 cc rejects these. */
13526 ++ccp;
13527 p = (char**) ccp;
13528 ccp = (char const *const *) p;
13529 { /* SCO 3.2v4 cc rejects this. */
13530 char *t;
13531 char const *s = 0 ? (char *) 0 : (char const *) 0;
13532
13533 *t++ = 0;
13534 }
13535 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13536 int x[] = {25, 17};
13537 const int *foo = &x[0];
13538 ++foo;
13539 }
13540 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13541 typedef const int *iptr;
13542 iptr p = 0;
13543 ++p;
13544 }
13545 { /* AIX XL C 1.02.0.0 rejects this saying
13546 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13547 struct s { int j; const int *ap[3]; };
13548 struct s *b; b->j = 5;
13549 }
13550 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13551 const int foo = 10;
13552 }
13553#endif
13554
13555 ;
13556 return 0;
13557}
13558_ACEOF
13559rm -f conftest.$ac_objext
13560if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13561 (eval $ac_compile) 2>&5
13562 ac_status=$?
13563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13564 (exit $ac_status); } &&
13565 { ac_try='test -s conftest.$ac_objext'
13566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13567 (eval $ac_try) 2>&5
13568 ac_status=$?
13569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13570 (exit $ac_status); }; }; then
13571 ac_cv_c_const=yes
13572else
13573 echo "$as_me: failed program was:" >&5
13574sed 's/^/| /' conftest.$ac_ext >&5
13575
13576ac_cv_c_const=no
13577fi
13578rm -f conftest.$ac_objext conftest.$ac_ext
13579fi
13580echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13581echo "${ECHO_T}$ac_cv_c_const" >&6
13582if test $ac_cv_c_const = no; then
13583
13584cat >>confdefs.h <<\_ACEOF
13585#define const
13586_ACEOF
13587
13588fi
13589
13590echo "$as_me:$LINENO: checking for inline" >&5
13591echo $ECHO_N "checking for inline... $ECHO_C" >&6
13592if test "${ac_cv_c_inline+set}" = set; then
13593 echo $ECHO_N "(cached) $ECHO_C" >&6
13594else
13595 ac_cv_c_inline=no
13596for ac_kw in inline __inline__ __inline; do
13597 cat >conftest.$ac_ext <<_ACEOF
13598#line $LINENO "configure"
13599/* confdefs.h. */
13600_ACEOF
13601cat confdefs.h >>conftest.$ac_ext
13602cat >>conftest.$ac_ext <<_ACEOF
13603/* end confdefs.h. */
13604#ifndef __cplusplus
13605typedef int foo_t;
13606static $ac_kw foo_t static_foo () {return 0; }
13607$ac_kw foo_t foo () {return 0; }
13608#endif
13609
13610_ACEOF
13611rm -f conftest.$ac_objext
13612if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13613 (eval $ac_compile) 2>&5
13614 ac_status=$?
13615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13616 (exit $ac_status); } &&
13617 { ac_try='test -s conftest.$ac_objext'
13618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13619 (eval $ac_try) 2>&5
13620 ac_status=$?
13621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13622 (exit $ac_status); }; }; then
13623 ac_cv_c_inline=$ac_kw; break
13624else
13625 echo "$as_me: failed program was:" >&5
13626sed 's/^/| /' conftest.$ac_ext >&5
13627
13628fi
13629rm -f conftest.$ac_objext conftest.$ac_ext
13630done
13631
13632fi
13633echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13634echo "${ECHO_T}$ac_cv_c_inline" >&6
13635case $ac_cv_c_inline in
13636 inline | yes) ;;
13637 no)
13638cat >>confdefs.h <<\_ACEOF
13639#define inline
13640_ACEOF
13641 ;;
13642 *) cat >>confdefs.h <<_ACEOF
13643#define inline $ac_cv_c_inline
13644_ACEOF
13645 ;;
13646esac
13647
13648
13649echo "$as_me:$LINENO: checking for char" >&5
13650echo $ECHO_N "checking for char... $ECHO_C" >&6
13651if test "${ac_cv_type_char+set}" = set; then
13652 echo $ECHO_N "(cached) $ECHO_C" >&6
13653else
13654 cat >conftest.$ac_ext <<_ACEOF
13655#line $LINENO "configure"
13656/* confdefs.h. */
13657_ACEOF
13658cat confdefs.h >>conftest.$ac_ext
13659cat >>conftest.$ac_ext <<_ACEOF
13660/* end confdefs.h. */
13661$ac_includes_default
13662int
13663main ()
13664{
13665if ((char *) 0)
13666 return 0;
13667if (sizeof (char))
13668 return 0;
13669 ;
13670 return 0;
13671}
13672_ACEOF
13673rm -f conftest.$ac_objext
13674if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13675 (eval $ac_compile) 2>&5
13676 ac_status=$?
13677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13678 (exit $ac_status); } &&
13679 { ac_try='test -s conftest.$ac_objext'
13680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13681 (eval $ac_try) 2>&5
13682 ac_status=$?
13683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13684 (exit $ac_status); }; }; then
13685 ac_cv_type_char=yes
13686else
13687 echo "$as_me: failed program was:" >&5
13688sed 's/^/| /' conftest.$ac_ext >&5
13689
13690ac_cv_type_char=no
13691fi
13692rm -f conftest.$ac_objext conftest.$ac_ext
13693fi
13694echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13695echo "${ECHO_T}$ac_cv_type_char" >&6
13696
13697echo "$as_me:$LINENO: checking size of char" >&5
13698echo $ECHO_N "checking size of char... $ECHO_C" >&6
13699if test "${ac_cv_sizeof_char+set}" = set; then
13700 echo $ECHO_N "(cached) $ECHO_C" >&6
13701else
13702 if test "$ac_cv_type_char" = yes; then
13703 # The cast to unsigned long works around a bug in the HP C Compiler
13704 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13705 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13706 # This bug is HP SR number 8606223364.
13707 if test "$cross_compiling" = yes; then
13708 # Depending upon the size, compute the lo and hi bounds.
13709cat >conftest.$ac_ext <<_ACEOF
13710#line $LINENO "configure"
13711/* confdefs.h. */
13712_ACEOF
13713cat confdefs.h >>conftest.$ac_ext
13714cat >>conftest.$ac_ext <<_ACEOF
13715/* end confdefs.h. */
13716$ac_includes_default
13717int
13718main ()
13719{
13720static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13721test_array [0] = 0
13722
13723 ;
13724 return 0;
13725}
13726_ACEOF
13727rm -f conftest.$ac_objext
13728if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13729 (eval $ac_compile) 2>&5
13730 ac_status=$?
13731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13732 (exit $ac_status); } &&
13733 { ac_try='test -s conftest.$ac_objext'
13734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13735 (eval $ac_try) 2>&5
13736 ac_status=$?
13737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13738 (exit $ac_status); }; }; then
13739 ac_lo=0 ac_mid=0
13740 while :; do
13741 cat >conftest.$ac_ext <<_ACEOF
13742#line $LINENO "configure"
13743/* confdefs.h. */
13744_ACEOF
13745cat confdefs.h >>conftest.$ac_ext
13746cat >>conftest.$ac_ext <<_ACEOF
13747/* end confdefs.h. */
13748$ac_includes_default
13749int
13750main ()
13751{
13752static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13753test_array [0] = 0
13754
13755 ;
13756 return 0;
13757}
13758_ACEOF
13759rm -f conftest.$ac_objext
13760if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13761 (eval $ac_compile) 2>&5
13762 ac_status=$?
13763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13764 (exit $ac_status); } &&
13765 { ac_try='test -s conftest.$ac_objext'
13766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13767 (eval $ac_try) 2>&5
13768 ac_status=$?
13769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13770 (exit $ac_status); }; }; then
13771 ac_hi=$ac_mid; break
13772else
13773 echo "$as_me: failed program was:" >&5
13774sed 's/^/| /' conftest.$ac_ext >&5
13775
13776ac_lo=`expr $ac_mid + 1`
13777 if test $ac_lo -le $ac_mid; then
13778 ac_lo= ac_hi=
13779 break
13780 fi
13781 ac_mid=`expr 2 '*' $ac_mid + 1`
13782fi
13783rm -f conftest.$ac_objext conftest.$ac_ext
13784 done
13785else
13786 echo "$as_me: failed program was:" >&5
13787sed 's/^/| /' conftest.$ac_ext >&5
13788
13789cat >conftest.$ac_ext <<_ACEOF
13790#line $LINENO "configure"
13791/* confdefs.h. */
13792_ACEOF
13793cat confdefs.h >>conftest.$ac_ext
13794cat >>conftest.$ac_ext <<_ACEOF
13795/* end confdefs.h. */
13796$ac_includes_default
13797int
13798main ()
13799{
13800static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13801test_array [0] = 0
13802
13803 ;
13804 return 0;
13805}
13806_ACEOF
13807rm -f conftest.$ac_objext
13808if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13809 (eval $ac_compile) 2>&5
13810 ac_status=$?
13811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13812 (exit $ac_status); } &&
13813 { ac_try='test -s conftest.$ac_objext'
13814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13815 (eval $ac_try) 2>&5
13816 ac_status=$?
13817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13818 (exit $ac_status); }; }; then
13819 ac_hi=-1 ac_mid=-1
13820 while :; do
13821 cat >conftest.$ac_ext <<_ACEOF
13822#line $LINENO "configure"
13823/* confdefs.h. */
13824_ACEOF
13825cat confdefs.h >>conftest.$ac_ext
13826cat >>conftest.$ac_ext <<_ACEOF
13827/* end confdefs.h. */
13828$ac_includes_default
13829int
13830main ()
13831{
13832static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13833test_array [0] = 0
13834
13835 ;
13836 return 0;
13837}
13838_ACEOF
13839rm -f conftest.$ac_objext
13840if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13841 (eval $ac_compile) 2>&5
13842 ac_status=$?
13843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13844 (exit $ac_status); } &&
13845 { ac_try='test -s conftest.$ac_objext'
13846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13847 (eval $ac_try) 2>&5
13848 ac_status=$?
13849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13850 (exit $ac_status); }; }; then
13851 ac_lo=$ac_mid; break
13852else
13853 echo "$as_me: failed program was:" >&5
13854sed 's/^/| /' conftest.$ac_ext >&5
13855
13856ac_hi=`expr '(' $ac_mid ')' - 1`
13857 if test $ac_mid -le $ac_hi; then
13858 ac_lo= ac_hi=
13859 break
13860 fi
13861 ac_mid=`expr 2 '*' $ac_mid`
13862fi
13863rm -f conftest.$ac_objext conftest.$ac_ext
13864 done
13865else
13866 echo "$as_me: failed program was:" >&5
13867sed 's/^/| /' conftest.$ac_ext >&5
13868
13869ac_lo= ac_hi=
13870fi
13871rm -f conftest.$ac_objext conftest.$ac_ext
13872fi
13873rm -f conftest.$ac_objext conftest.$ac_ext
13874# Binary search between lo and hi bounds.
13875while test "x$ac_lo" != "x$ac_hi"; do
13876 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13877 cat >conftest.$ac_ext <<_ACEOF
13878#line $LINENO "configure"
13879/* confdefs.h. */
13880_ACEOF
13881cat confdefs.h >>conftest.$ac_ext
13882cat >>conftest.$ac_ext <<_ACEOF
13883/* end confdefs.h. */
13884$ac_includes_default
13885int
13886main ()
13887{
13888static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13889test_array [0] = 0
13890
13891 ;
13892 return 0;
13893}
13894_ACEOF
13895rm -f conftest.$ac_objext
13896if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13897 (eval $ac_compile) 2>&5
13898 ac_status=$?
13899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13900 (exit $ac_status); } &&
13901 { ac_try='test -s conftest.$ac_objext'
13902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13903 (eval $ac_try) 2>&5
13904 ac_status=$?
13905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13906 (exit $ac_status); }; }; then
13907 ac_hi=$ac_mid
13908else
13909 echo "$as_me: failed program was:" >&5
13910sed 's/^/| /' conftest.$ac_ext >&5
13911
13912ac_lo=`expr '(' $ac_mid ')' + 1`
13913fi
13914rm -f conftest.$ac_objext conftest.$ac_ext
13915done
13916case $ac_lo in
13917?*) ac_cv_sizeof_char=$ac_lo;;
13918'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13919See \`config.log' for more details." >&5
13920echo "$as_me: error: cannot compute sizeof (char), 77
13921See \`config.log' for more details." >&2;}
13922 { (exit 1); exit 1; }; } ;;
13923esac
13924else
13925 if test "$cross_compiling" = yes; then
13926 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13927See \`config.log' for more details." >&5
13928echo "$as_me: error: cannot run test program while cross compiling
13929See \`config.log' for more details." >&2;}
13930 { (exit 1); exit 1; }; }
13931else
13932 cat >conftest.$ac_ext <<_ACEOF
13933#line $LINENO "configure"
13934/* confdefs.h. */
13935_ACEOF
13936cat confdefs.h >>conftest.$ac_ext
13937cat >>conftest.$ac_ext <<_ACEOF
13938/* end confdefs.h. */
13939$ac_includes_default
13940long longval () { return (long) (sizeof (char)); }
13941unsigned long ulongval () { return (long) (sizeof (char)); }
13942#include <stdio.h>
13943#include <stdlib.h>
13944int
13945main ()
13946{
13947
13948 FILE *f = fopen ("conftest.val", "w");
13949 if (! f)
13950 exit (1);
13951 if (((long) (sizeof (char))) < 0)
13952 {
13953 long i = longval ();
13954 if (i != ((long) (sizeof (char))))
13955 exit (1);
13956 fprintf (f, "%ld\n", i);
13957 }
13958 else
13959 {
13960 unsigned long i = ulongval ();
13961 if (i != ((long) (sizeof (char))))
13962 exit (1);
13963 fprintf (f, "%lu\n", i);
13964 }
13965 exit (ferror (f) || fclose (f) != 0);
13966
13967 ;
13968 return 0;
13969}
13970_ACEOF
13971rm -f conftest$ac_exeext
13972if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13973 (eval $ac_link) 2>&5
13974 ac_status=$?
13975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13978 (eval $ac_try) 2>&5
13979 ac_status=$?
13980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13981 (exit $ac_status); }; }; then
13982 ac_cv_sizeof_char=`cat conftest.val`
13983else
13984 echo "$as_me: program exited with status $ac_status" >&5
13985echo "$as_me: failed program was:" >&5
13986sed 's/^/| /' conftest.$ac_ext >&5
13987
13988( exit $ac_status )
13989{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13990See \`config.log' for more details." >&5
13991echo "$as_me: error: cannot compute sizeof (char), 77
13992See \`config.log' for more details." >&2;}
13993 { (exit 1); exit 1; }; }
13994fi
13995rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13996fi
13997fi
13998rm -f conftest.val
13999else
14000 ac_cv_sizeof_char=0
14001fi
14002fi
14003echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14004echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14005cat >>confdefs.h <<_ACEOF
14006#define SIZEOF_CHAR $ac_cv_sizeof_char
14007_ACEOF
14008
14009
14010echo "$as_me:$LINENO: checking for short" >&5
14011echo $ECHO_N "checking for short... $ECHO_C" >&6
14012if test "${ac_cv_type_short+set}" = set; then
14013 echo $ECHO_N "(cached) $ECHO_C" >&6
14014else
14015 cat >conftest.$ac_ext <<_ACEOF
14016#line $LINENO "configure"
14017/* confdefs.h. */
14018_ACEOF
14019cat confdefs.h >>conftest.$ac_ext
14020cat >>conftest.$ac_ext <<_ACEOF
14021/* end confdefs.h. */
14022$ac_includes_default
14023int
14024main ()
14025{
14026if ((short *) 0)
14027 return 0;
14028if (sizeof (short))
14029 return 0;
14030 ;
14031 return 0;
14032}
14033_ACEOF
14034rm -f conftest.$ac_objext
14035if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14036 (eval $ac_compile) 2>&5
14037 ac_status=$?
14038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14039 (exit $ac_status); } &&
14040 { ac_try='test -s conftest.$ac_objext'
14041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14042 (eval $ac_try) 2>&5
14043 ac_status=$?
14044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14045 (exit $ac_status); }; }; then
14046 ac_cv_type_short=yes
14047else
14048 echo "$as_me: failed program was:" >&5
14049sed 's/^/| /' conftest.$ac_ext >&5
14050
14051ac_cv_type_short=no
14052fi
14053rm -f conftest.$ac_objext conftest.$ac_ext
14054fi
14055echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14056echo "${ECHO_T}$ac_cv_type_short" >&6
14057
14058echo "$as_me:$LINENO: checking size of short" >&5
14059echo $ECHO_N "checking size of short... $ECHO_C" >&6
14060if test "${ac_cv_sizeof_short+set}" = set; then
14061 echo $ECHO_N "(cached) $ECHO_C" >&6
14062else
14063 if test "$ac_cv_type_short" = yes; then
14064 # The cast to unsigned long works around a bug in the HP C Compiler
14065 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14066 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14067 # This bug is HP SR number 8606223364.
14068 if test "$cross_compiling" = yes; then
14069 # Depending upon the size, compute the lo and hi bounds.
14070cat >conftest.$ac_ext <<_ACEOF
14071#line $LINENO "configure"
14072/* confdefs.h. */
14073_ACEOF
14074cat confdefs.h >>conftest.$ac_ext
14075cat >>conftest.$ac_ext <<_ACEOF
14076/* end confdefs.h. */
14077$ac_includes_default
14078int
14079main ()
14080{
14081static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14082test_array [0] = 0
14083
14084 ;
14085 return 0;
14086}
14087_ACEOF
14088rm -f conftest.$ac_objext
14089if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14090 (eval $ac_compile) 2>&5
14091 ac_status=$?
14092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14093 (exit $ac_status); } &&
14094 { ac_try='test -s conftest.$ac_objext'
14095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14096 (eval $ac_try) 2>&5
14097 ac_status=$?
14098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14099 (exit $ac_status); }; }; then
14100 ac_lo=0 ac_mid=0
14101 while :; do
14102 cat >conftest.$ac_ext <<_ACEOF
14103#line $LINENO "configure"
14104/* confdefs.h. */
14105_ACEOF
14106cat confdefs.h >>conftest.$ac_ext
14107cat >>conftest.$ac_ext <<_ACEOF
14108/* end confdefs.h. */
14109$ac_includes_default
14110int
14111main ()
14112{
14113static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14114test_array [0] = 0
14115
14116 ;
14117 return 0;
14118}
14119_ACEOF
14120rm -f conftest.$ac_objext
14121if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14122 (eval $ac_compile) 2>&5
14123 ac_status=$?
14124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14125 (exit $ac_status); } &&
14126 { ac_try='test -s conftest.$ac_objext'
14127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14128 (eval $ac_try) 2>&5
14129 ac_status=$?
14130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14131 (exit $ac_status); }; }; then
14132 ac_hi=$ac_mid; break
14133else
14134 echo "$as_me: failed program was:" >&5
14135sed 's/^/| /' conftest.$ac_ext >&5
14136
14137ac_lo=`expr $ac_mid + 1`
14138 if test $ac_lo -le $ac_mid; then
14139 ac_lo= ac_hi=
14140 break
14141 fi
14142 ac_mid=`expr 2 '*' $ac_mid + 1`
14143fi
14144rm -f conftest.$ac_objext conftest.$ac_ext
14145 done
14146else
14147 echo "$as_me: failed program was:" >&5
14148sed 's/^/| /' conftest.$ac_ext >&5
14149
14150cat >conftest.$ac_ext <<_ACEOF
14151#line $LINENO "configure"
14152/* confdefs.h. */
14153_ACEOF
14154cat confdefs.h >>conftest.$ac_ext
14155cat >>conftest.$ac_ext <<_ACEOF
14156/* end confdefs.h. */
14157$ac_includes_default
14158int
14159main ()
14160{
14161static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14162test_array [0] = 0
14163
14164 ;
14165 return 0;
14166}
14167_ACEOF
14168rm -f conftest.$ac_objext
14169if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14170 (eval $ac_compile) 2>&5
14171 ac_status=$?
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); } &&
14174 { ac_try='test -s conftest.$ac_objext'
14175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14176 (eval $ac_try) 2>&5
14177 ac_status=$?
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); }; }; then
14180 ac_hi=-1 ac_mid=-1
14181 while :; do
14182 cat >conftest.$ac_ext <<_ACEOF
14183#line $LINENO "configure"
14184/* confdefs.h. */
14185_ACEOF
14186cat confdefs.h >>conftest.$ac_ext
14187cat >>conftest.$ac_ext <<_ACEOF
14188/* end confdefs.h. */
14189$ac_includes_default
14190int
14191main ()
14192{
14193static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14194test_array [0] = 0
14195
14196 ;
14197 return 0;
14198}
14199_ACEOF
14200rm -f conftest.$ac_objext
14201if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14202 (eval $ac_compile) 2>&5
14203 ac_status=$?
14204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14205 (exit $ac_status); } &&
14206 { ac_try='test -s conftest.$ac_objext'
14207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14208 (eval $ac_try) 2>&5
14209 ac_status=$?
14210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14211 (exit $ac_status); }; }; then
14212 ac_lo=$ac_mid; break
14213else
14214 echo "$as_me: failed program was:" >&5
14215sed 's/^/| /' conftest.$ac_ext >&5
14216
14217ac_hi=`expr '(' $ac_mid ')' - 1`
14218 if test $ac_mid -le $ac_hi; then
14219 ac_lo= ac_hi=
14220 break
14221 fi
14222 ac_mid=`expr 2 '*' $ac_mid`
14223fi
14224rm -f conftest.$ac_objext conftest.$ac_ext
14225 done
14226else
14227 echo "$as_me: failed program was:" >&5
14228sed 's/^/| /' conftest.$ac_ext >&5
14229
14230ac_lo= ac_hi=
14231fi
14232rm -f conftest.$ac_objext conftest.$ac_ext
14233fi
14234rm -f conftest.$ac_objext conftest.$ac_ext
14235# Binary search between lo and hi bounds.
14236while test "x$ac_lo" != "x$ac_hi"; do
14237 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14238 cat >conftest.$ac_ext <<_ACEOF
14239#line $LINENO "configure"
14240/* confdefs.h. */
14241_ACEOF
14242cat confdefs.h >>conftest.$ac_ext
14243cat >>conftest.$ac_ext <<_ACEOF
14244/* end confdefs.h. */
14245$ac_includes_default
14246int
14247main ()
14248{
14249static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14250test_array [0] = 0
14251
14252 ;
14253 return 0;
14254}
14255_ACEOF
14256rm -f conftest.$ac_objext
14257if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14258 (eval $ac_compile) 2>&5
14259 ac_status=$?
14260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14261 (exit $ac_status); } &&
14262 { ac_try='test -s conftest.$ac_objext'
14263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14264 (eval $ac_try) 2>&5
14265 ac_status=$?
14266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14267 (exit $ac_status); }; }; then
14268 ac_hi=$ac_mid
14269else
14270 echo "$as_me: failed program was:" >&5
14271sed 's/^/| /' conftest.$ac_ext >&5
14272
14273ac_lo=`expr '(' $ac_mid ')' + 1`
14274fi
14275rm -f conftest.$ac_objext conftest.$ac_ext
14276done
14277case $ac_lo in
14278?*) ac_cv_sizeof_short=$ac_lo;;
14279'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14280See \`config.log' for more details." >&5
14281echo "$as_me: error: cannot compute sizeof (short), 77
14282See \`config.log' for more details." >&2;}
14283 { (exit 1); exit 1; }; } ;;
14284esac
14285else
14286 if test "$cross_compiling" = yes; then
14287 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14288See \`config.log' for more details." >&5
14289echo "$as_me: error: cannot run test program while cross compiling
14290See \`config.log' for more details." >&2;}
14291 { (exit 1); exit 1; }; }
14292else
14293 cat >conftest.$ac_ext <<_ACEOF
14294#line $LINENO "configure"
14295/* confdefs.h. */
14296_ACEOF
14297cat confdefs.h >>conftest.$ac_ext
14298cat >>conftest.$ac_ext <<_ACEOF
14299/* end confdefs.h. */
14300$ac_includes_default
14301long longval () { return (long) (sizeof (short)); }
14302unsigned long ulongval () { return (long) (sizeof (short)); }
14303#include <stdio.h>
14304#include <stdlib.h>
14305int
14306main ()
14307{
14308
14309 FILE *f = fopen ("conftest.val", "w");
14310 if (! f)
14311 exit (1);
14312 if (((long) (sizeof (short))) < 0)
14313 {
14314 long i = longval ();
14315 if (i != ((long) (sizeof (short))))
14316 exit (1);
14317 fprintf (f, "%ld\n", i);
14318 }
14319 else
14320 {
14321 unsigned long i = ulongval ();
14322 if (i != ((long) (sizeof (short))))
14323 exit (1);
14324 fprintf (f, "%lu\n", i);
14325 }
14326 exit (ferror (f) || fclose (f) != 0);
14327
14328 ;
14329 return 0;
14330}
14331_ACEOF
14332rm -f conftest$ac_exeext
14333if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14334 (eval $ac_link) 2>&5
14335 ac_status=$?
14336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14337 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14339 (eval $ac_try) 2>&5
14340 ac_status=$?
14341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14342 (exit $ac_status); }; }; then
14343 ac_cv_sizeof_short=`cat conftest.val`
14344else
14345 echo "$as_me: program exited with status $ac_status" >&5
14346echo "$as_me: failed program was:" >&5
14347sed 's/^/| /' conftest.$ac_ext >&5
14348
14349( exit $ac_status )
14350{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14351See \`config.log' for more details." >&5
14352echo "$as_me: error: cannot compute sizeof (short), 77
14353See \`config.log' for more details." >&2;}
14354 { (exit 1); exit 1; }; }
14355fi
14356rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14357fi
14358fi
14359rm -f conftest.val
14360else
14361 ac_cv_sizeof_short=0
14362fi
14363fi
14364echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14365echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14366cat >>confdefs.h <<_ACEOF
14367#define SIZEOF_SHORT $ac_cv_sizeof_short
14368_ACEOF
14369
14370
14371echo "$as_me:$LINENO: checking for void *" >&5
14372echo $ECHO_N "checking for void *... $ECHO_C" >&6
14373if test "${ac_cv_type_void_p+set}" = set; then
14374 echo $ECHO_N "(cached) $ECHO_C" >&6
14375else
14376 cat >conftest.$ac_ext <<_ACEOF
14377#line $LINENO "configure"
14378/* confdefs.h. */
14379_ACEOF
14380cat confdefs.h >>conftest.$ac_ext
14381cat >>conftest.$ac_ext <<_ACEOF
14382/* end confdefs.h. */
14383$ac_includes_default
14384int
14385main ()
14386{
14387if ((void * *) 0)
14388 return 0;
14389if (sizeof (void *))
14390 return 0;
14391 ;
14392 return 0;
14393}
14394_ACEOF
14395rm -f conftest.$ac_objext
14396if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14397 (eval $ac_compile) 2>&5
14398 ac_status=$?
14399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14400 (exit $ac_status); } &&
14401 { ac_try='test -s conftest.$ac_objext'
14402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14403 (eval $ac_try) 2>&5
14404 ac_status=$?
14405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14406 (exit $ac_status); }; }; then
14407 ac_cv_type_void_p=yes
14408else
14409 echo "$as_me: failed program was:" >&5
14410sed 's/^/| /' conftest.$ac_ext >&5
14411
14412ac_cv_type_void_p=no
14413fi
14414rm -f conftest.$ac_objext conftest.$ac_ext
14415fi
14416echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14417echo "${ECHO_T}$ac_cv_type_void_p" >&6
14418
14419echo "$as_me:$LINENO: checking size of void *" >&5
14420echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14421if test "${ac_cv_sizeof_void_p+set}" = set; then
14422 echo $ECHO_N "(cached) $ECHO_C" >&6
14423else
14424 if test "$ac_cv_type_void_p" = yes; then
14425 # The cast to unsigned long works around a bug in the HP C Compiler
14426 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14427 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14428 # This bug is HP SR number 8606223364.
14429 if test "$cross_compiling" = yes; then
14430 # Depending upon the size, compute the lo and hi bounds.
14431cat >conftest.$ac_ext <<_ACEOF
14432#line $LINENO "configure"
14433/* confdefs.h. */
14434_ACEOF
14435cat confdefs.h >>conftest.$ac_ext
14436cat >>conftest.$ac_ext <<_ACEOF
14437/* end confdefs.h. */
14438$ac_includes_default
14439int
14440main ()
14441{
14442static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14443test_array [0] = 0
14444
14445 ;
14446 return 0;
14447}
14448_ACEOF
14449rm -f conftest.$ac_objext
14450if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14451 (eval $ac_compile) 2>&5
14452 ac_status=$?
14453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14454 (exit $ac_status); } &&
14455 { ac_try='test -s conftest.$ac_objext'
14456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14457 (eval $ac_try) 2>&5
14458 ac_status=$?
14459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14460 (exit $ac_status); }; }; then
14461 ac_lo=0 ac_mid=0
14462 while :; do
14463 cat >conftest.$ac_ext <<_ACEOF
14464#line $LINENO "configure"
14465/* confdefs.h. */
14466_ACEOF
14467cat confdefs.h >>conftest.$ac_ext
14468cat >>conftest.$ac_ext <<_ACEOF
14469/* end confdefs.h. */
14470$ac_includes_default
14471int
14472main ()
14473{
14474static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14475test_array [0] = 0
14476
14477 ;
14478 return 0;
14479}
14480_ACEOF
14481rm -f conftest.$ac_objext
14482if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14483 (eval $ac_compile) 2>&5
14484 ac_status=$?
14485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14486 (exit $ac_status); } &&
14487 { ac_try='test -s conftest.$ac_objext'
14488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14489 (eval $ac_try) 2>&5
14490 ac_status=$?
14491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492 (exit $ac_status); }; }; then
14493 ac_hi=$ac_mid; break
14494else
14495 echo "$as_me: failed program was:" >&5
14496sed 's/^/| /' conftest.$ac_ext >&5
14497
14498ac_lo=`expr $ac_mid + 1`
14499 if test $ac_lo -le $ac_mid; then
14500 ac_lo= ac_hi=
14501 break
14502 fi
14503 ac_mid=`expr 2 '*' $ac_mid + 1`
14504fi
14505rm -f conftest.$ac_objext conftest.$ac_ext
14506 done
14507else
14508 echo "$as_me: failed program was:" >&5
14509sed 's/^/| /' conftest.$ac_ext >&5
14510
14511cat >conftest.$ac_ext <<_ACEOF
14512#line $LINENO "configure"
14513/* confdefs.h. */
14514_ACEOF
14515cat confdefs.h >>conftest.$ac_ext
14516cat >>conftest.$ac_ext <<_ACEOF
14517/* end confdefs.h. */
14518$ac_includes_default
14519int
14520main ()
14521{
14522static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14523test_array [0] = 0
14524
14525 ;
14526 return 0;
14527}
14528_ACEOF
14529rm -f conftest.$ac_objext
14530if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14531 (eval $ac_compile) 2>&5
14532 ac_status=$?
14533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14534 (exit $ac_status); } &&
14535 { ac_try='test -s conftest.$ac_objext'
14536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14537 (eval $ac_try) 2>&5
14538 ac_status=$?
14539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14540 (exit $ac_status); }; }; then
14541 ac_hi=-1 ac_mid=-1
14542 while :; do
14543 cat >conftest.$ac_ext <<_ACEOF
14544#line $LINENO "configure"
14545/* confdefs.h. */
14546_ACEOF
14547cat confdefs.h >>conftest.$ac_ext
14548cat >>conftest.$ac_ext <<_ACEOF
14549/* end confdefs.h. */
14550$ac_includes_default
14551int
14552main ()
14553{
14554static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14555test_array [0] = 0
14556
14557 ;
14558 return 0;
14559}
14560_ACEOF
14561rm -f conftest.$ac_objext
14562if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14563 (eval $ac_compile) 2>&5
14564 ac_status=$?
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); } &&
14567 { ac_try='test -s conftest.$ac_objext'
14568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14569 (eval $ac_try) 2>&5
14570 ac_status=$?
14571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14572 (exit $ac_status); }; }; then
14573 ac_lo=$ac_mid; break
14574else
14575 echo "$as_me: failed program was:" >&5
14576sed 's/^/| /' conftest.$ac_ext >&5
14577
14578ac_hi=`expr '(' $ac_mid ')' - 1`
14579 if test $ac_mid -le $ac_hi; then
14580 ac_lo= ac_hi=
14581 break
14582 fi
14583 ac_mid=`expr 2 '*' $ac_mid`
14584fi
14585rm -f conftest.$ac_objext conftest.$ac_ext
14586 done
14587else
14588 echo "$as_me: failed program was:" >&5
14589sed 's/^/| /' conftest.$ac_ext >&5
14590
14591ac_lo= ac_hi=
14592fi
14593rm -f conftest.$ac_objext conftest.$ac_ext
14594fi
14595rm -f conftest.$ac_objext conftest.$ac_ext
14596# Binary search between lo and hi bounds.
14597while test "x$ac_lo" != "x$ac_hi"; do
14598 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14599 cat >conftest.$ac_ext <<_ACEOF
14600#line $LINENO "configure"
14601/* confdefs.h. */
14602_ACEOF
14603cat confdefs.h >>conftest.$ac_ext
14604cat >>conftest.$ac_ext <<_ACEOF
14605/* end confdefs.h. */
14606$ac_includes_default
14607int
14608main ()
14609{
14610static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14611test_array [0] = 0
14612
14613 ;
14614 return 0;
14615}
14616_ACEOF
14617rm -f conftest.$ac_objext
14618if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14619 (eval $ac_compile) 2>&5
14620 ac_status=$?
14621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14622 (exit $ac_status); } &&
14623 { ac_try='test -s conftest.$ac_objext'
14624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14625 (eval $ac_try) 2>&5
14626 ac_status=$?
14627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14628 (exit $ac_status); }; }; then
14629 ac_hi=$ac_mid
14630else
14631 echo "$as_me: failed program was:" >&5
14632sed 's/^/| /' conftest.$ac_ext >&5
14633
14634ac_lo=`expr '(' $ac_mid ')' + 1`
14635fi
14636rm -f conftest.$ac_objext conftest.$ac_ext
14637done
14638case $ac_lo in
14639?*) ac_cv_sizeof_void_p=$ac_lo;;
14640'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14641See \`config.log' for more details." >&5
14642echo "$as_me: error: cannot compute sizeof (void *), 77
14643See \`config.log' for more details." >&2;}
14644 { (exit 1); exit 1; }; } ;;
14645esac
14646else
14647 if test "$cross_compiling" = yes; then
14648 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14649See \`config.log' for more details." >&5
14650echo "$as_me: error: cannot run test program while cross compiling
14651See \`config.log' for more details." >&2;}
14652 { (exit 1); exit 1; }; }
14653else
14654 cat >conftest.$ac_ext <<_ACEOF
14655#line $LINENO "configure"
14656/* confdefs.h. */
14657_ACEOF
14658cat confdefs.h >>conftest.$ac_ext
14659cat >>conftest.$ac_ext <<_ACEOF
14660/* end confdefs.h. */
14661$ac_includes_default
14662long longval () { return (long) (sizeof (void *)); }
14663unsigned long ulongval () { return (long) (sizeof (void *)); }
14664#include <stdio.h>
14665#include <stdlib.h>
14666int
14667main ()
14668{
14669
14670 FILE *f = fopen ("conftest.val", "w");
14671 if (! f)
14672 exit (1);
14673 if (((long) (sizeof (void *))) < 0)
14674 {
14675 long i = longval ();
14676 if (i != ((long) (sizeof (void *))))
14677 exit (1);
14678 fprintf (f, "%ld\n", i);
14679 }
14680 else
14681 {
14682 unsigned long i = ulongval ();
14683 if (i != ((long) (sizeof (void *))))
14684 exit (1);
14685 fprintf (f, "%lu\n", i);
14686 }
14687 exit (ferror (f) || fclose (f) != 0);
14688
14689 ;
14690 return 0;
14691}
14692_ACEOF
14693rm -f conftest$ac_exeext
14694if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14695 (eval $ac_link) 2>&5
14696 ac_status=$?
14697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14698 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14700 (eval $ac_try) 2>&5
14701 ac_status=$?
14702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14703 (exit $ac_status); }; }; then
14704 ac_cv_sizeof_void_p=`cat conftest.val`
14705else
14706 echo "$as_me: program exited with status $ac_status" >&5
14707echo "$as_me: failed program was:" >&5
14708sed 's/^/| /' conftest.$ac_ext >&5
14709
14710( exit $ac_status )
14711{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14712See \`config.log' for more details." >&5
14713echo "$as_me: error: cannot compute sizeof (void *), 77
14714See \`config.log' for more details." >&2;}
14715 { (exit 1); exit 1; }; }
14716fi
14717rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14718fi
14719fi
14720rm -f conftest.val
14721else
14722 ac_cv_sizeof_void_p=0
14723fi
14724fi
14725echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14726echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14727cat >>confdefs.h <<_ACEOF
14728#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14729_ACEOF
14730
14731
14732echo "$as_me:$LINENO: checking for int" >&5
14733echo $ECHO_N "checking for int... $ECHO_C" >&6
14734if test "${ac_cv_type_int+set}" = set; then
14735 echo $ECHO_N "(cached) $ECHO_C" >&6
14736else
14737 cat >conftest.$ac_ext <<_ACEOF
14738#line $LINENO "configure"
14739/* confdefs.h. */
14740_ACEOF
14741cat confdefs.h >>conftest.$ac_ext
14742cat >>conftest.$ac_ext <<_ACEOF
14743/* end confdefs.h. */
14744$ac_includes_default
14745int
14746main ()
14747{
14748if ((int *) 0)
14749 return 0;
14750if (sizeof (int))
14751 return 0;
14752 ;
14753 return 0;
14754}
14755_ACEOF
14756rm -f conftest.$ac_objext
14757if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14758 (eval $ac_compile) 2>&5
14759 ac_status=$?
14760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14761 (exit $ac_status); } &&
14762 { ac_try='test -s conftest.$ac_objext'
14763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14764 (eval $ac_try) 2>&5
14765 ac_status=$?
14766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14767 (exit $ac_status); }; }; then
14768 ac_cv_type_int=yes
14769else
14770 echo "$as_me: failed program was:" >&5
14771sed 's/^/| /' conftest.$ac_ext >&5
14772
14773ac_cv_type_int=no
14774fi
14775rm -f conftest.$ac_objext conftest.$ac_ext
14776fi
14777echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14778echo "${ECHO_T}$ac_cv_type_int" >&6
14779
14780echo "$as_me:$LINENO: checking size of int" >&5
14781echo $ECHO_N "checking size of int... $ECHO_C" >&6
14782if test "${ac_cv_sizeof_int+set}" = set; then
14783 echo $ECHO_N "(cached) $ECHO_C" >&6
14784else
14785 if test "$ac_cv_type_int" = yes; then
14786 # The cast to unsigned long works around a bug in the HP C Compiler
14787 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14788 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14789 # This bug is HP SR number 8606223364.
14790 if test "$cross_compiling" = yes; then
14791 # Depending upon the size, compute the lo and hi bounds.
14792cat >conftest.$ac_ext <<_ACEOF
14793#line $LINENO "configure"
14794/* confdefs.h. */
14795_ACEOF
14796cat confdefs.h >>conftest.$ac_ext
14797cat >>conftest.$ac_ext <<_ACEOF
14798/* end confdefs.h. */
14799$ac_includes_default
14800int
14801main ()
14802{
14803static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14804test_array [0] = 0
14805
14806 ;
14807 return 0;
14808}
14809_ACEOF
14810rm -f conftest.$ac_objext
14811if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14812 (eval $ac_compile) 2>&5
14813 ac_status=$?
14814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14815 (exit $ac_status); } &&
14816 { ac_try='test -s conftest.$ac_objext'
14817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14818 (eval $ac_try) 2>&5
14819 ac_status=$?
14820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14821 (exit $ac_status); }; }; then
14822 ac_lo=0 ac_mid=0
14823 while :; do
14824 cat >conftest.$ac_ext <<_ACEOF
14825#line $LINENO "configure"
14826/* confdefs.h. */
14827_ACEOF
14828cat confdefs.h >>conftest.$ac_ext
14829cat >>conftest.$ac_ext <<_ACEOF
14830/* end confdefs.h. */
14831$ac_includes_default
14832int
14833main ()
14834{
14835static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14836test_array [0] = 0
14837
14838 ;
14839 return 0;
14840}
14841_ACEOF
14842rm -f conftest.$ac_objext
14843if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14844 (eval $ac_compile) 2>&5
14845 ac_status=$?
14846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14847 (exit $ac_status); } &&
14848 { ac_try='test -s conftest.$ac_objext'
14849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14850 (eval $ac_try) 2>&5
14851 ac_status=$?
14852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14853 (exit $ac_status); }; }; then
14854 ac_hi=$ac_mid; break
14855else
14856 echo "$as_me: failed program was:" >&5
14857sed 's/^/| /' conftest.$ac_ext >&5
14858
14859ac_lo=`expr $ac_mid + 1`
14860 if test $ac_lo -le $ac_mid; then
14861 ac_lo= ac_hi=
14862 break
14863 fi
14864 ac_mid=`expr 2 '*' $ac_mid + 1`
14865fi
14866rm -f conftest.$ac_objext conftest.$ac_ext
14867 done
14868else
14869 echo "$as_me: failed program was:" >&5
14870sed 's/^/| /' conftest.$ac_ext >&5
14871
14872cat >conftest.$ac_ext <<_ACEOF
14873#line $LINENO "configure"
14874/* confdefs.h. */
14875_ACEOF
14876cat confdefs.h >>conftest.$ac_ext
14877cat >>conftest.$ac_ext <<_ACEOF
14878/* end confdefs.h. */
14879$ac_includes_default
14880int
14881main ()
14882{
14883static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14884test_array [0] = 0
14885
14886 ;
14887 return 0;
14888}
14889_ACEOF
14890rm -f conftest.$ac_objext
14891if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14892 (eval $ac_compile) 2>&5
14893 ac_status=$?
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); } &&
14896 { ac_try='test -s conftest.$ac_objext'
14897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14898 (eval $ac_try) 2>&5
14899 ac_status=$?
14900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14901 (exit $ac_status); }; }; then
14902 ac_hi=-1 ac_mid=-1
14903 while :; do
14904 cat >conftest.$ac_ext <<_ACEOF
14905#line $LINENO "configure"
14906/* confdefs.h. */
14907_ACEOF
14908cat confdefs.h >>conftest.$ac_ext
14909cat >>conftest.$ac_ext <<_ACEOF
14910/* end confdefs.h. */
14911$ac_includes_default
14912int
14913main ()
14914{
14915static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14916test_array [0] = 0
14917
14918 ;
14919 return 0;
14920}
14921_ACEOF
14922rm -f conftest.$ac_objext
14923if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14924 (eval $ac_compile) 2>&5
14925 ac_status=$?
14926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14927 (exit $ac_status); } &&
14928 { ac_try='test -s conftest.$ac_objext'
14929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14930 (eval $ac_try) 2>&5
14931 ac_status=$?
14932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14933 (exit $ac_status); }; }; then
14934 ac_lo=$ac_mid; break
14935else
14936 echo "$as_me: failed program was:" >&5
14937sed 's/^/| /' conftest.$ac_ext >&5
14938
14939ac_hi=`expr '(' $ac_mid ')' - 1`
14940 if test $ac_mid -le $ac_hi; then
14941 ac_lo= ac_hi=
14942 break
14943 fi
14944 ac_mid=`expr 2 '*' $ac_mid`
14945fi
14946rm -f conftest.$ac_objext conftest.$ac_ext
14947 done
14948else
14949 echo "$as_me: failed program was:" >&5
14950sed 's/^/| /' conftest.$ac_ext >&5
14951
14952ac_lo= ac_hi=
14953fi
14954rm -f conftest.$ac_objext conftest.$ac_ext
14955fi
14956rm -f conftest.$ac_objext conftest.$ac_ext
14957# Binary search between lo and hi bounds.
14958while test "x$ac_lo" != "x$ac_hi"; do
14959 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14960 cat >conftest.$ac_ext <<_ACEOF
14961#line $LINENO "configure"
14962/* confdefs.h. */
14963_ACEOF
14964cat confdefs.h >>conftest.$ac_ext
14965cat >>conftest.$ac_ext <<_ACEOF
14966/* end confdefs.h. */
14967$ac_includes_default
14968int
14969main ()
14970{
14971static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14972test_array [0] = 0
14973
14974 ;
14975 return 0;
14976}
14977_ACEOF
14978rm -f conftest.$ac_objext
14979if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14980 (eval $ac_compile) 2>&5
14981 ac_status=$?
14982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14983 (exit $ac_status); } &&
14984 { ac_try='test -s conftest.$ac_objext'
14985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14986 (eval $ac_try) 2>&5
14987 ac_status=$?
14988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14989 (exit $ac_status); }; }; then
14990 ac_hi=$ac_mid
14991else
14992 echo "$as_me: failed program was:" >&5
14993sed 's/^/| /' conftest.$ac_ext >&5
14994
14995ac_lo=`expr '(' $ac_mid ')' + 1`
14996fi
14997rm -f conftest.$ac_objext conftest.$ac_ext
14998done
14999case $ac_lo in
15000?*) ac_cv_sizeof_int=$ac_lo;;
15001'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15002See \`config.log' for more details." >&5
15003echo "$as_me: error: cannot compute sizeof (int), 77
15004See \`config.log' for more details." >&2;}
15005 { (exit 1); exit 1; }; } ;;
15006esac
15007else
15008 if test "$cross_compiling" = yes; then
15009 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15010See \`config.log' for more details." >&5
15011echo "$as_me: error: cannot run test program while cross compiling
15012See \`config.log' for more details." >&2;}
15013 { (exit 1); exit 1; }; }
15014else
15015 cat >conftest.$ac_ext <<_ACEOF
15016#line $LINENO "configure"
15017/* confdefs.h. */
15018_ACEOF
15019cat confdefs.h >>conftest.$ac_ext
15020cat >>conftest.$ac_ext <<_ACEOF
15021/* end confdefs.h. */
15022$ac_includes_default
15023long longval () { return (long) (sizeof (int)); }
15024unsigned long ulongval () { return (long) (sizeof (int)); }
15025#include <stdio.h>
15026#include <stdlib.h>
15027int
15028main ()
15029{
15030
15031 FILE *f = fopen ("conftest.val", "w");
15032 if (! f)
15033 exit (1);
15034 if (((long) (sizeof (int))) < 0)
15035 {
15036 long i = longval ();
15037 if (i != ((long) (sizeof (int))))
15038 exit (1);
15039 fprintf (f, "%ld\n", i);
15040 }
15041 else
15042 {
15043 unsigned long i = ulongval ();
15044 if (i != ((long) (sizeof (int))))
15045 exit (1);
15046 fprintf (f, "%lu\n", i);
15047 }
15048 exit (ferror (f) || fclose (f) != 0);
15049
15050 ;
15051 return 0;
15052}
15053_ACEOF
15054rm -f conftest$ac_exeext
15055if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15056 (eval $ac_link) 2>&5
15057 ac_status=$?
15058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15059 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15061 (eval $ac_try) 2>&5
15062 ac_status=$?
15063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15064 (exit $ac_status); }; }; then
15065 ac_cv_sizeof_int=`cat conftest.val`
15066else
15067 echo "$as_me: program exited with status $ac_status" >&5
15068echo "$as_me: failed program was:" >&5
15069sed 's/^/| /' conftest.$ac_ext >&5
15070
15071( exit $ac_status )
15072{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15073See \`config.log' for more details." >&5
15074echo "$as_me: error: cannot compute sizeof (int), 77
15075See \`config.log' for more details." >&2;}
15076 { (exit 1); exit 1; }; }
15077fi
15078rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15079fi
15080fi
15081rm -f conftest.val
15082else
15083 ac_cv_sizeof_int=0
15084fi
15085fi
15086echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15087echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15088cat >>confdefs.h <<_ACEOF
15089#define SIZEOF_INT $ac_cv_sizeof_int
15090_ACEOF
15091
15092
15093echo "$as_me:$LINENO: checking for long" >&5
15094echo $ECHO_N "checking for long... $ECHO_C" >&6
15095if test "${ac_cv_type_long+set}" = set; then
15096 echo $ECHO_N "(cached) $ECHO_C" >&6
15097else
15098 cat >conftest.$ac_ext <<_ACEOF
15099#line $LINENO "configure"
15100/* confdefs.h. */
15101_ACEOF
15102cat confdefs.h >>conftest.$ac_ext
15103cat >>conftest.$ac_ext <<_ACEOF
15104/* end confdefs.h. */
15105$ac_includes_default
15106int
15107main ()
15108{
15109if ((long *) 0)
15110 return 0;
15111if (sizeof (long))
15112 return 0;
15113 ;
15114 return 0;
15115}
15116_ACEOF
15117rm -f conftest.$ac_objext
15118if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15119 (eval $ac_compile) 2>&5
15120 ac_status=$?
15121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15122 (exit $ac_status); } &&
15123 { ac_try='test -s conftest.$ac_objext'
15124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15125 (eval $ac_try) 2>&5
15126 ac_status=$?
15127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15128 (exit $ac_status); }; }; then
15129 ac_cv_type_long=yes
15130else
15131 echo "$as_me: failed program was:" >&5
15132sed 's/^/| /' conftest.$ac_ext >&5
15133
15134ac_cv_type_long=no
15135fi
15136rm -f conftest.$ac_objext conftest.$ac_ext
15137fi
15138echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15139echo "${ECHO_T}$ac_cv_type_long" >&6
15140
15141echo "$as_me:$LINENO: checking size of long" >&5
15142echo $ECHO_N "checking size of long... $ECHO_C" >&6
15143if test "${ac_cv_sizeof_long+set}" = set; then
15144 echo $ECHO_N "(cached) $ECHO_C" >&6
15145else
15146 if test "$ac_cv_type_long" = yes; then
15147 # The cast to unsigned long works around a bug in the HP C Compiler
15148 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15149 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15150 # This bug is HP SR number 8606223364.
15151 if test "$cross_compiling" = yes; then
15152 # Depending upon the size, compute the lo and hi bounds.
15153cat >conftest.$ac_ext <<_ACEOF
15154#line $LINENO "configure"
15155/* confdefs.h. */
15156_ACEOF
15157cat confdefs.h >>conftest.$ac_ext
15158cat >>conftest.$ac_ext <<_ACEOF
15159/* end confdefs.h. */
15160$ac_includes_default
15161int
15162main ()
15163{
15164static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15165test_array [0] = 0
15166
15167 ;
15168 return 0;
15169}
15170_ACEOF
15171rm -f conftest.$ac_objext
15172if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15173 (eval $ac_compile) 2>&5
15174 ac_status=$?
15175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15176 (exit $ac_status); } &&
15177 { ac_try='test -s conftest.$ac_objext'
15178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15179 (eval $ac_try) 2>&5
15180 ac_status=$?
15181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15182 (exit $ac_status); }; }; then
15183 ac_lo=0 ac_mid=0
15184 while :; do
15185 cat >conftest.$ac_ext <<_ACEOF
15186#line $LINENO "configure"
15187/* confdefs.h. */
15188_ACEOF
15189cat confdefs.h >>conftest.$ac_ext
15190cat >>conftest.$ac_ext <<_ACEOF
15191/* end confdefs.h. */
15192$ac_includes_default
15193int
15194main ()
15195{
15196static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15197test_array [0] = 0
15198
15199 ;
15200 return 0;
15201}
15202_ACEOF
15203rm -f conftest.$ac_objext
15204if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15205 (eval $ac_compile) 2>&5
15206 ac_status=$?
15207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15208 (exit $ac_status); } &&
15209 { ac_try='test -s conftest.$ac_objext'
15210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15211 (eval $ac_try) 2>&5
15212 ac_status=$?
15213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15214 (exit $ac_status); }; }; then
15215 ac_hi=$ac_mid; break
15216else
15217 echo "$as_me: failed program was:" >&5
15218sed 's/^/| /' conftest.$ac_ext >&5
15219
15220ac_lo=`expr $ac_mid + 1`
15221 if test $ac_lo -le $ac_mid; then
15222 ac_lo= ac_hi=
15223 break
15224 fi
15225 ac_mid=`expr 2 '*' $ac_mid + 1`
15226fi
15227rm -f conftest.$ac_objext conftest.$ac_ext
15228 done
15229else
15230 echo "$as_me: failed program was:" >&5
15231sed 's/^/| /' conftest.$ac_ext >&5
15232
15233cat >conftest.$ac_ext <<_ACEOF
15234#line $LINENO "configure"
15235/* confdefs.h. */
15236_ACEOF
15237cat confdefs.h >>conftest.$ac_ext
15238cat >>conftest.$ac_ext <<_ACEOF
15239/* end confdefs.h. */
15240$ac_includes_default
15241int
15242main ()
15243{
15244static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15245test_array [0] = 0
15246
15247 ;
15248 return 0;
15249}
15250_ACEOF
15251rm -f conftest.$ac_objext
15252if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15253 (eval $ac_compile) 2>&5
15254 ac_status=$?
15255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15256 (exit $ac_status); } &&
15257 { ac_try='test -s conftest.$ac_objext'
15258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15259 (eval $ac_try) 2>&5
15260 ac_status=$?
15261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15262 (exit $ac_status); }; }; then
15263 ac_hi=-1 ac_mid=-1
15264 while :; do
15265 cat >conftest.$ac_ext <<_ACEOF
15266#line $LINENO "configure"
15267/* confdefs.h. */
15268_ACEOF
15269cat confdefs.h >>conftest.$ac_ext
15270cat >>conftest.$ac_ext <<_ACEOF
15271/* end confdefs.h. */
15272$ac_includes_default
15273int
15274main ()
15275{
15276static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15277test_array [0] = 0
15278
15279 ;
15280 return 0;
15281}
15282_ACEOF
15283rm -f conftest.$ac_objext
15284if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15285 (eval $ac_compile) 2>&5
15286 ac_status=$?
15287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15288 (exit $ac_status); } &&
15289 { ac_try='test -s conftest.$ac_objext'
15290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15291 (eval $ac_try) 2>&5
15292 ac_status=$?
15293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15294 (exit $ac_status); }; }; then
15295 ac_lo=$ac_mid; break
15296else
15297 echo "$as_me: failed program was:" >&5
15298sed 's/^/| /' conftest.$ac_ext >&5
15299
15300ac_hi=`expr '(' $ac_mid ')' - 1`
15301 if test $ac_mid -le $ac_hi; then
15302 ac_lo= ac_hi=
15303 break
15304 fi
15305 ac_mid=`expr 2 '*' $ac_mid`
15306fi
15307rm -f conftest.$ac_objext conftest.$ac_ext
15308 done
15309else
15310 echo "$as_me: failed program was:" >&5
15311sed 's/^/| /' conftest.$ac_ext >&5
15312
15313ac_lo= ac_hi=
15314fi
15315rm -f conftest.$ac_objext conftest.$ac_ext
15316fi
15317rm -f conftest.$ac_objext conftest.$ac_ext
15318# Binary search between lo and hi bounds.
15319while test "x$ac_lo" != "x$ac_hi"; do
15320 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15321 cat >conftest.$ac_ext <<_ACEOF
15322#line $LINENO "configure"
15323/* confdefs.h. */
15324_ACEOF
15325cat confdefs.h >>conftest.$ac_ext
15326cat >>conftest.$ac_ext <<_ACEOF
15327/* end confdefs.h. */
15328$ac_includes_default
15329int
15330main ()
15331{
15332static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15333test_array [0] = 0
15334
15335 ;
15336 return 0;
15337}
15338_ACEOF
15339rm -f conftest.$ac_objext
15340if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15341 (eval $ac_compile) 2>&5
15342 ac_status=$?
15343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15344 (exit $ac_status); } &&
15345 { ac_try='test -s conftest.$ac_objext'
15346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15347 (eval $ac_try) 2>&5
15348 ac_status=$?
15349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15350 (exit $ac_status); }; }; then
15351 ac_hi=$ac_mid
15352else
15353 echo "$as_me: failed program was:" >&5
15354sed 's/^/| /' conftest.$ac_ext >&5
15355
15356ac_lo=`expr '(' $ac_mid ')' + 1`
15357fi
15358rm -f conftest.$ac_objext conftest.$ac_ext
15359done
15360case $ac_lo in
15361?*) ac_cv_sizeof_long=$ac_lo;;
15362'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15363See \`config.log' for more details." >&5
15364echo "$as_me: error: cannot compute sizeof (long), 77
15365See \`config.log' for more details." >&2;}
15366 { (exit 1); exit 1; }; } ;;
15367esac
15368else
15369 if test "$cross_compiling" = yes; then
15370 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15371See \`config.log' for more details." >&5
15372echo "$as_me: error: cannot run test program while cross compiling
15373See \`config.log' for more details." >&2;}
15374 { (exit 1); exit 1; }; }
15375else
15376 cat >conftest.$ac_ext <<_ACEOF
15377#line $LINENO "configure"
15378/* confdefs.h. */
15379_ACEOF
15380cat confdefs.h >>conftest.$ac_ext
15381cat >>conftest.$ac_ext <<_ACEOF
15382/* end confdefs.h. */
15383$ac_includes_default
15384long longval () { return (long) (sizeof (long)); }
15385unsigned long ulongval () { return (long) (sizeof (long)); }
15386#include <stdio.h>
15387#include <stdlib.h>
15388int
15389main ()
15390{
15391
15392 FILE *f = fopen ("conftest.val", "w");
15393 if (! f)
15394 exit (1);
15395 if (((long) (sizeof (long))) < 0)
15396 {
15397 long i = longval ();
15398 if (i != ((long) (sizeof (long))))
15399 exit (1);
15400 fprintf (f, "%ld\n", i);
15401 }
15402 else
15403 {
15404 unsigned long i = ulongval ();
15405 if (i != ((long) (sizeof (long))))
15406 exit (1);
15407 fprintf (f, "%lu\n", i);
15408 }
15409 exit (ferror (f) || fclose (f) != 0);
15410
15411 ;
15412 return 0;
15413}
15414_ACEOF
15415rm -f conftest$ac_exeext
15416if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15417 (eval $ac_link) 2>&5
15418 ac_status=$?
15419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15420 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15422 (eval $ac_try) 2>&5
15423 ac_status=$?
15424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15425 (exit $ac_status); }; }; then
15426 ac_cv_sizeof_long=`cat conftest.val`
15427else
15428 echo "$as_me: program exited with status $ac_status" >&5
15429echo "$as_me: failed program was:" >&5
15430sed 's/^/| /' conftest.$ac_ext >&5
15431
15432( exit $ac_status )
15433{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15434See \`config.log' for more details." >&5
15435echo "$as_me: error: cannot compute sizeof (long), 77
15436See \`config.log' for more details." >&2;}
15437 { (exit 1); exit 1; }; }
15438fi
15439rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15440fi
15441fi
15442rm -f conftest.val
15443else
15444 ac_cv_sizeof_long=0
15445fi
15446fi
15447echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15448echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15449cat >>confdefs.h <<_ACEOF
15450#define SIZEOF_LONG $ac_cv_sizeof_long
15451_ACEOF
15452
15453
15454
15455case "${host}" in
15456 arm-*-linux* )
15457 echo "$as_me:$LINENO: checking for long long" >&5
15458echo $ECHO_N "checking for long long... $ECHO_C" >&6
15459if test "${ac_cv_type_long_long+set}" = set; then
15460 echo $ECHO_N "(cached) $ECHO_C" >&6
15461else
15462 cat >conftest.$ac_ext <<_ACEOF
15463#line $LINENO "configure"
15464/* confdefs.h. */
15465_ACEOF
15466cat confdefs.h >>conftest.$ac_ext
15467cat >>conftest.$ac_ext <<_ACEOF
15468/* end confdefs.h. */
15469$ac_includes_default
15470int
15471main ()
15472{
15473if ((long long *) 0)
15474 return 0;
15475if (sizeof (long long))
15476 return 0;
15477 ;
15478 return 0;
15479}
15480_ACEOF
15481rm -f conftest.$ac_objext
15482if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15483 (eval $ac_compile) 2>&5
15484 ac_status=$?
15485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15486 (exit $ac_status); } &&
15487 { ac_try='test -s conftest.$ac_objext'
15488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15489 (eval $ac_try) 2>&5
15490 ac_status=$?
15491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15492 (exit $ac_status); }; }; then
15493 ac_cv_type_long_long=yes
15494else
15495 echo "$as_me: failed program was:" >&5
15496sed 's/^/| /' conftest.$ac_ext >&5
15497
15498ac_cv_type_long_long=no
15499fi
15500rm -f conftest.$ac_objext conftest.$ac_ext
15501fi
15502echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15503echo "${ECHO_T}$ac_cv_type_long_long" >&6
15504
15505echo "$as_me:$LINENO: checking size of long long" >&5
15506echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15507if test "${ac_cv_sizeof_long_long+set}" = set; then
15508 echo $ECHO_N "(cached) $ECHO_C" >&6
15509else
15510 if test "$ac_cv_type_long_long" = yes; then
15511 # The cast to unsigned long works around a bug in the HP C Compiler
15512 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15513 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15514 # This bug is HP SR number 8606223364.
15515 if test "$cross_compiling" = yes; then
15516 # Depending upon the size, compute the lo and hi bounds.
15517cat >conftest.$ac_ext <<_ACEOF
15518#line $LINENO "configure"
15519/* confdefs.h. */
15520_ACEOF
15521cat confdefs.h >>conftest.$ac_ext
15522cat >>conftest.$ac_ext <<_ACEOF
15523/* end confdefs.h. */
15524$ac_includes_default
15525int
15526main ()
15527{
15528static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15529test_array [0] = 0
15530
15531 ;
15532 return 0;
15533}
15534_ACEOF
15535rm -f conftest.$ac_objext
15536if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15537 (eval $ac_compile) 2>&5
15538 ac_status=$?
15539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15540 (exit $ac_status); } &&
15541 { ac_try='test -s conftest.$ac_objext'
15542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15543 (eval $ac_try) 2>&5
15544 ac_status=$?
15545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15546 (exit $ac_status); }; }; then
15547 ac_lo=0 ac_mid=0
15548 while :; do
15549 cat >conftest.$ac_ext <<_ACEOF
15550#line $LINENO "configure"
15551/* confdefs.h. */
15552_ACEOF
15553cat confdefs.h >>conftest.$ac_ext
15554cat >>conftest.$ac_ext <<_ACEOF
15555/* end confdefs.h. */
15556$ac_includes_default
15557int
15558main ()
15559{
15560static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15561test_array [0] = 0
15562
15563 ;
15564 return 0;
15565}
15566_ACEOF
15567rm -f conftest.$ac_objext
15568if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15569 (eval $ac_compile) 2>&5
15570 ac_status=$?
15571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15572 (exit $ac_status); } &&
15573 { ac_try='test -s conftest.$ac_objext'
15574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15575 (eval $ac_try) 2>&5
15576 ac_status=$?
15577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15578 (exit $ac_status); }; }; then
15579 ac_hi=$ac_mid; break
15580else
15581 echo "$as_me: failed program was:" >&5
15582sed 's/^/| /' conftest.$ac_ext >&5
15583
15584ac_lo=`expr $ac_mid + 1`
15585 if test $ac_lo -le $ac_mid; then
15586 ac_lo= ac_hi=
15587 break
15588 fi
15589 ac_mid=`expr 2 '*' $ac_mid + 1`
15590fi
15591rm -f conftest.$ac_objext conftest.$ac_ext
15592 done
15593else
15594 echo "$as_me: failed program was:" >&5
15595sed 's/^/| /' conftest.$ac_ext >&5
15596
15597cat >conftest.$ac_ext <<_ACEOF
15598#line $LINENO "configure"
15599/* confdefs.h. */
15600_ACEOF
15601cat confdefs.h >>conftest.$ac_ext
15602cat >>conftest.$ac_ext <<_ACEOF
15603/* end confdefs.h. */
15604$ac_includes_default
15605int
15606main ()
15607{
15608static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15609test_array [0] = 0
15610
15611 ;
15612 return 0;
15613}
15614_ACEOF
15615rm -f conftest.$ac_objext
15616if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15617 (eval $ac_compile) 2>&5
15618 ac_status=$?
15619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15620 (exit $ac_status); } &&
15621 { ac_try='test -s conftest.$ac_objext'
15622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15623 (eval $ac_try) 2>&5
15624 ac_status=$?
15625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15626 (exit $ac_status); }; }; then
15627 ac_hi=-1 ac_mid=-1
15628 while :; do
15629 cat >conftest.$ac_ext <<_ACEOF
15630#line $LINENO "configure"
15631/* confdefs.h. */
15632_ACEOF
15633cat confdefs.h >>conftest.$ac_ext
15634cat >>conftest.$ac_ext <<_ACEOF
15635/* end confdefs.h. */
15636$ac_includes_default
15637int
15638main ()
15639{
15640static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15641test_array [0] = 0
15642
15643 ;
15644 return 0;
15645}
15646_ACEOF
15647rm -f conftest.$ac_objext
15648if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15649 (eval $ac_compile) 2>&5
15650 ac_status=$?
15651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15652 (exit $ac_status); } &&
15653 { ac_try='test -s conftest.$ac_objext'
15654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15655 (eval $ac_try) 2>&5
15656 ac_status=$?
15657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15658 (exit $ac_status); }; }; then
15659 ac_lo=$ac_mid; break
15660else
15661 echo "$as_me: failed program was:" >&5
15662sed 's/^/| /' conftest.$ac_ext >&5
15663
15664ac_hi=`expr '(' $ac_mid ')' - 1`
15665 if test $ac_mid -le $ac_hi; then
15666 ac_lo= ac_hi=
15667 break
15668 fi
15669 ac_mid=`expr 2 '*' $ac_mid`
15670fi
15671rm -f conftest.$ac_objext conftest.$ac_ext
15672 done
15673else
15674 echo "$as_me: failed program was:" >&5
15675sed 's/^/| /' conftest.$ac_ext >&5
15676
15677ac_lo= ac_hi=
15678fi
15679rm -f conftest.$ac_objext conftest.$ac_ext
15680fi
15681rm -f conftest.$ac_objext conftest.$ac_ext
15682# Binary search between lo and hi bounds.
15683while test "x$ac_lo" != "x$ac_hi"; do
15684 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15685 cat >conftest.$ac_ext <<_ACEOF
15686#line $LINENO "configure"
15687/* confdefs.h. */
15688_ACEOF
15689cat confdefs.h >>conftest.$ac_ext
15690cat >>conftest.$ac_ext <<_ACEOF
15691/* end confdefs.h. */
15692$ac_includes_default
15693int
15694main ()
15695{
15696static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15697test_array [0] = 0
15698
15699 ;
15700 return 0;
15701}
15702_ACEOF
15703rm -f conftest.$ac_objext
15704if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15705 (eval $ac_compile) 2>&5
15706 ac_status=$?
15707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15708 (exit $ac_status); } &&
15709 { ac_try='test -s conftest.$ac_objext'
15710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15711 (eval $ac_try) 2>&5
15712 ac_status=$?
15713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15714 (exit $ac_status); }; }; then
15715 ac_hi=$ac_mid
15716else
15717 echo "$as_me: failed program was:" >&5
15718sed 's/^/| /' conftest.$ac_ext >&5
15719
15720ac_lo=`expr '(' $ac_mid ')' + 1`
15721fi
15722rm -f conftest.$ac_objext conftest.$ac_ext
15723done
15724case $ac_lo in
15725?*) ac_cv_sizeof_long_long=$ac_lo;;
15726'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15727See \`config.log' for more details." >&5
15728echo "$as_me: error: cannot compute sizeof (long long), 77
15729See \`config.log' for more details." >&2;}
15730 { (exit 1); exit 1; }; } ;;
15731esac
15732else
15733 if test "$cross_compiling" = yes; then
15734 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15735See \`config.log' for more details." >&5
15736echo "$as_me: error: cannot run test program while cross compiling
15737See \`config.log' for more details." >&2;}
15738 { (exit 1); exit 1; }; }
15739else
15740 cat >conftest.$ac_ext <<_ACEOF
15741#line $LINENO "configure"
15742/* confdefs.h. */
15743_ACEOF
15744cat confdefs.h >>conftest.$ac_ext
15745cat >>conftest.$ac_ext <<_ACEOF
15746/* end confdefs.h. */
15747$ac_includes_default
15748long longval () { return (long) (sizeof (long long)); }
15749unsigned long ulongval () { return (long) (sizeof (long long)); }
15750#include <stdio.h>
15751#include <stdlib.h>
15752int
15753main ()
15754{
15755
15756 FILE *f = fopen ("conftest.val", "w");
15757 if (! f)
15758 exit (1);
15759 if (((long) (sizeof (long long))) < 0)
15760 {
15761 long i = longval ();
15762 if (i != ((long) (sizeof (long long))))
15763 exit (1);
15764 fprintf (f, "%ld\n", i);
15765 }
15766 else
15767 {
15768 unsigned long i = ulongval ();
15769 if (i != ((long) (sizeof (long long))))
15770 exit (1);
15771 fprintf (f, "%lu\n", i);
15772 }
15773 exit (ferror (f) || fclose (f) != 0);
15774
15775 ;
15776 return 0;
15777}
15778_ACEOF
15779rm -f conftest$ac_exeext
15780if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15781 (eval $ac_link) 2>&5
15782 ac_status=$?
15783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15784 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15786 (eval $ac_try) 2>&5
15787 ac_status=$?
15788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15789 (exit $ac_status); }; }; then
15790 ac_cv_sizeof_long_long=`cat conftest.val`
15791else
15792 echo "$as_me: program exited with status $ac_status" >&5
15793echo "$as_me: failed program was:" >&5
15794sed 's/^/| /' conftest.$ac_ext >&5
15795
15796( exit $ac_status )
15797{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15798See \`config.log' for more details." >&5
15799echo "$as_me: error: cannot compute sizeof (long long), 77
15800See \`config.log' for more details." >&2;}
15801 { (exit 1); exit 1; }; }
15802fi
15803rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15804fi
15805fi
15806rm -f conftest.val
15807else
15808 ac_cv_sizeof_long_long=0
15809fi
15810fi
15811echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15812echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15813cat >>confdefs.h <<_ACEOF
15814#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15815_ACEOF
15816
15817
15818 ;;
15819 *-hp-hpux* )
15820 echo "$as_me:$LINENO: checking for long long" >&5
15821echo $ECHO_N "checking for long long... $ECHO_C" >&6
15822if test "${ac_cv_type_long_long+set}" = set; then
15823 echo $ECHO_N "(cached) $ECHO_C" >&6
15824else
15825 cat >conftest.$ac_ext <<_ACEOF
15826#line $LINENO "configure"
15827/* confdefs.h. */
15828_ACEOF
15829cat confdefs.h >>conftest.$ac_ext
15830cat >>conftest.$ac_ext <<_ACEOF
15831/* end confdefs.h. */
15832$ac_includes_default
15833int
15834main ()
15835{
15836if ((long long *) 0)
15837 return 0;
15838if (sizeof (long long))
15839 return 0;
15840 ;
15841 return 0;
15842}
15843_ACEOF
15844rm -f conftest.$ac_objext
15845if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15846 (eval $ac_compile) 2>&5
15847 ac_status=$?
15848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15849 (exit $ac_status); } &&
15850 { ac_try='test -s conftest.$ac_objext'
15851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15852 (eval $ac_try) 2>&5
15853 ac_status=$?
15854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15855 (exit $ac_status); }; }; then
15856 ac_cv_type_long_long=yes
15857else
15858 echo "$as_me: failed program was:" >&5
15859sed 's/^/| /' conftest.$ac_ext >&5
15860
15861ac_cv_type_long_long=no
15862fi
15863rm -f conftest.$ac_objext conftest.$ac_ext
15864fi
15865echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15866echo "${ECHO_T}$ac_cv_type_long_long" >&6
15867
15868echo "$as_me:$LINENO: checking size of long long" >&5
15869echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15870if test "${ac_cv_sizeof_long_long+set}" = set; then
15871 echo $ECHO_N "(cached) $ECHO_C" >&6
15872else
15873 if test "$ac_cv_type_long_long" = yes; then
15874 # The cast to unsigned long works around a bug in the HP C Compiler
15875 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15876 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15877 # This bug is HP SR number 8606223364.
15878 if test "$cross_compiling" = yes; then
15879 # Depending upon the size, compute the lo and hi bounds.
15880cat >conftest.$ac_ext <<_ACEOF
15881#line $LINENO "configure"
15882/* confdefs.h. */
15883_ACEOF
15884cat confdefs.h >>conftest.$ac_ext
15885cat >>conftest.$ac_ext <<_ACEOF
15886/* end confdefs.h. */
15887$ac_includes_default
15888int
15889main ()
15890{
15891static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15892test_array [0] = 0
15893
15894 ;
15895 return 0;
15896}
15897_ACEOF
15898rm -f conftest.$ac_objext
15899if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15900 (eval $ac_compile) 2>&5
15901 ac_status=$?
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); } &&
15904 { ac_try='test -s conftest.$ac_objext'
15905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15906 (eval $ac_try) 2>&5
15907 ac_status=$?
15908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15909 (exit $ac_status); }; }; then
15910 ac_lo=0 ac_mid=0
15911 while :; do
15912 cat >conftest.$ac_ext <<_ACEOF
15913#line $LINENO "configure"
15914/* confdefs.h. */
15915_ACEOF
15916cat confdefs.h >>conftest.$ac_ext
15917cat >>conftest.$ac_ext <<_ACEOF
15918/* end confdefs.h. */
15919$ac_includes_default
15920int
15921main ()
15922{
15923static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15924test_array [0] = 0
15925
15926 ;
15927 return 0;
15928}
15929_ACEOF
15930rm -f conftest.$ac_objext
15931if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15932 (eval $ac_compile) 2>&5
15933 ac_status=$?
15934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15935 (exit $ac_status); } &&
15936 { ac_try='test -s conftest.$ac_objext'
15937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15938 (eval $ac_try) 2>&5
15939 ac_status=$?
15940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15941 (exit $ac_status); }; }; then
15942 ac_hi=$ac_mid; break
15943else
15944 echo "$as_me: failed program was:" >&5
15945sed 's/^/| /' conftest.$ac_ext >&5
15946
15947ac_lo=`expr $ac_mid + 1`
15948 if test $ac_lo -le $ac_mid; then
15949 ac_lo= ac_hi=
15950 break
15951 fi
15952 ac_mid=`expr 2 '*' $ac_mid + 1`
15953fi
15954rm -f conftest.$ac_objext conftest.$ac_ext
15955 done
15956else
15957 echo "$as_me: failed program was:" >&5
15958sed 's/^/| /' conftest.$ac_ext >&5
15959
15960cat >conftest.$ac_ext <<_ACEOF
15961#line $LINENO "configure"
15962/* confdefs.h. */
15963_ACEOF
15964cat confdefs.h >>conftest.$ac_ext
15965cat >>conftest.$ac_ext <<_ACEOF
15966/* end confdefs.h. */
15967$ac_includes_default
15968int
15969main ()
15970{
15971static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15972test_array [0] = 0
15973
15974 ;
15975 return 0;
15976}
15977_ACEOF
15978rm -f conftest.$ac_objext
15979if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15980 (eval $ac_compile) 2>&5
15981 ac_status=$?
15982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983 (exit $ac_status); } &&
15984 { ac_try='test -s conftest.$ac_objext'
15985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15986 (eval $ac_try) 2>&5
15987 ac_status=$?
15988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15989 (exit $ac_status); }; }; then
15990 ac_hi=-1 ac_mid=-1
15991 while :; do
15992 cat >conftest.$ac_ext <<_ACEOF
15993#line $LINENO "configure"
15994/* confdefs.h. */
15995_ACEOF
15996cat confdefs.h >>conftest.$ac_ext
15997cat >>conftest.$ac_ext <<_ACEOF
15998/* end confdefs.h. */
15999$ac_includes_default
16000int
16001main ()
16002{
16003static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16004test_array [0] = 0
16005
16006 ;
16007 return 0;
16008}
16009_ACEOF
16010rm -f conftest.$ac_objext
16011if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16012 (eval $ac_compile) 2>&5
16013 ac_status=$?
16014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16015 (exit $ac_status); } &&
16016 { ac_try='test -s conftest.$ac_objext'
16017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16018 (eval $ac_try) 2>&5
16019 ac_status=$?
16020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16021 (exit $ac_status); }; }; then
16022 ac_lo=$ac_mid; break
16023else
16024 echo "$as_me: failed program was:" >&5
16025sed 's/^/| /' conftest.$ac_ext >&5
16026
16027ac_hi=`expr '(' $ac_mid ')' - 1`
16028 if test $ac_mid -le $ac_hi; then
16029 ac_lo= ac_hi=
16030 break
16031 fi
16032 ac_mid=`expr 2 '*' $ac_mid`
16033fi
16034rm -f conftest.$ac_objext conftest.$ac_ext
16035 done
16036else
16037 echo "$as_me: failed program was:" >&5
16038sed 's/^/| /' conftest.$ac_ext >&5
16039
16040ac_lo= ac_hi=
16041fi
16042rm -f conftest.$ac_objext conftest.$ac_ext
16043fi
16044rm -f conftest.$ac_objext conftest.$ac_ext
16045# Binary search between lo and hi bounds.
16046while test "x$ac_lo" != "x$ac_hi"; do
16047 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16048 cat >conftest.$ac_ext <<_ACEOF
16049#line $LINENO "configure"
16050/* confdefs.h. */
16051_ACEOF
16052cat confdefs.h >>conftest.$ac_ext
16053cat >>conftest.$ac_ext <<_ACEOF
16054/* end confdefs.h. */
16055$ac_includes_default
16056int
16057main ()
16058{
16059static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16060test_array [0] = 0
16061
16062 ;
16063 return 0;
16064}
16065_ACEOF
16066rm -f conftest.$ac_objext
16067if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16068 (eval $ac_compile) 2>&5
16069 ac_status=$?
16070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071 (exit $ac_status); } &&
16072 { ac_try='test -s conftest.$ac_objext'
16073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16074 (eval $ac_try) 2>&5
16075 ac_status=$?
16076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16077 (exit $ac_status); }; }; then
16078 ac_hi=$ac_mid
16079else
16080 echo "$as_me: failed program was:" >&5
16081sed 's/^/| /' conftest.$ac_ext >&5
16082
16083ac_lo=`expr '(' $ac_mid ')' + 1`
16084fi
16085rm -f conftest.$ac_objext conftest.$ac_ext
16086done
16087case $ac_lo in
16088?*) ac_cv_sizeof_long_long=$ac_lo;;
16089'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16090See \`config.log' for more details." >&5
16091echo "$as_me: error: cannot compute sizeof (long long), 77
16092See \`config.log' for more details." >&2;}
16093 { (exit 1); exit 1; }; } ;;
16094esac
16095else
16096 if test "$cross_compiling" = yes; then
16097 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16098See \`config.log' for more details." >&5
16099echo "$as_me: error: cannot run test program while cross compiling
16100See \`config.log' for more details." >&2;}
16101 { (exit 1); exit 1; }; }
16102else
16103 cat >conftest.$ac_ext <<_ACEOF
16104#line $LINENO "configure"
16105/* confdefs.h. */
16106_ACEOF
16107cat confdefs.h >>conftest.$ac_ext
16108cat >>conftest.$ac_ext <<_ACEOF
16109/* end confdefs.h. */
16110$ac_includes_default
16111long longval () { return (long) (sizeof (long long)); }
16112unsigned long ulongval () { return (long) (sizeof (long long)); }
16113#include <stdio.h>
16114#include <stdlib.h>
16115int
16116main ()
16117{
16118
16119 FILE *f = fopen ("conftest.val", "w");
16120 if (! f)
16121 exit (1);
16122 if (((long) (sizeof (long long))) < 0)
16123 {
16124 long i = longval ();
16125 if (i != ((long) (sizeof (long long))))
16126 exit (1);
16127 fprintf (f, "%ld\n", i);
16128 }
16129 else
16130 {
16131 unsigned long i = ulongval ();
16132 if (i != ((long) (sizeof (long long))))
16133 exit (1);
16134 fprintf (f, "%lu\n", i);
16135 }
16136 exit (ferror (f) || fclose (f) != 0);
16137
16138 ;
16139 return 0;
16140}
16141_ACEOF
16142rm -f conftest$ac_exeext
16143if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16144 (eval $ac_link) 2>&5
16145 ac_status=$?
16146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16149 (eval $ac_try) 2>&5
16150 ac_status=$?
16151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152 (exit $ac_status); }; }; then
16153 ac_cv_sizeof_long_long=`cat conftest.val`
16154else
16155 echo "$as_me: program exited with status $ac_status" >&5
16156echo "$as_me: failed program was:" >&5
16157sed 's/^/| /' conftest.$ac_ext >&5
16158
16159( exit $ac_status )
16160{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16161See \`config.log' for more details." >&5
16162echo "$as_me: error: cannot compute sizeof (long long), 77
16163See \`config.log' for more details." >&2;}
16164 { (exit 1); exit 1; }; }
16165fi
16166rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16167fi
16168fi
16169rm -f conftest.val
16170else
16171 ac_cv_sizeof_long_long=0
16172fi
16173fi
16174echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16175echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16176cat >>confdefs.h <<_ACEOF
16177#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16178_ACEOF
16179
16180
16181 if test "$ac_cv_sizeof_long_long" != "0"; then
16182 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16183 fi
16184 ;;
16185 * )
16186 echo "$as_me:$LINENO: checking for long long" >&5
16187echo $ECHO_N "checking for long long... $ECHO_C" >&6
16188if test "${ac_cv_type_long_long+set}" = set; then
16189 echo $ECHO_N "(cached) $ECHO_C" >&6
16190else
16191 cat >conftest.$ac_ext <<_ACEOF
16192#line $LINENO "configure"
16193/* confdefs.h. */
16194_ACEOF
16195cat confdefs.h >>conftest.$ac_ext
16196cat >>conftest.$ac_ext <<_ACEOF
16197/* end confdefs.h. */
16198$ac_includes_default
16199int
16200main ()
16201{
16202if ((long long *) 0)
16203 return 0;
16204if (sizeof (long long))
16205 return 0;
16206 ;
16207 return 0;
16208}
16209_ACEOF
16210rm -f conftest.$ac_objext
16211if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16212 (eval $ac_compile) 2>&5
16213 ac_status=$?
16214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16215 (exit $ac_status); } &&
16216 { ac_try='test -s conftest.$ac_objext'
16217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16218 (eval $ac_try) 2>&5
16219 ac_status=$?
16220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16221 (exit $ac_status); }; }; then
16222 ac_cv_type_long_long=yes
16223else
16224 echo "$as_me: failed program was:" >&5
16225sed 's/^/| /' conftest.$ac_ext >&5
16226
16227ac_cv_type_long_long=no
16228fi
16229rm -f conftest.$ac_objext conftest.$ac_ext
16230fi
16231echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16232echo "${ECHO_T}$ac_cv_type_long_long" >&6
16233
16234echo "$as_me:$LINENO: checking size of long long" >&5
16235echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16236if test "${ac_cv_sizeof_long_long+set}" = set; then
16237 echo $ECHO_N "(cached) $ECHO_C" >&6
16238else
16239 if test "$ac_cv_type_long_long" = yes; then
16240 # The cast to unsigned long works around a bug in the HP C Compiler
16241 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16242 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16243 # This bug is HP SR number 8606223364.
16244 if test "$cross_compiling" = yes; then
16245 # Depending upon the size, compute the lo and hi bounds.
16246cat >conftest.$ac_ext <<_ACEOF
16247#line $LINENO "configure"
16248/* confdefs.h. */
16249_ACEOF
16250cat confdefs.h >>conftest.$ac_ext
16251cat >>conftest.$ac_ext <<_ACEOF
16252/* end confdefs.h. */
16253$ac_includes_default
16254int
16255main ()
16256{
16257static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16258test_array [0] = 0
16259
16260 ;
16261 return 0;
16262}
16263_ACEOF
16264rm -f conftest.$ac_objext
16265if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16266 (eval $ac_compile) 2>&5
16267 ac_status=$?
16268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16269 (exit $ac_status); } &&
16270 { ac_try='test -s conftest.$ac_objext'
16271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16272 (eval $ac_try) 2>&5
16273 ac_status=$?
16274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16275 (exit $ac_status); }; }; then
16276 ac_lo=0 ac_mid=0
16277 while :; do
16278 cat >conftest.$ac_ext <<_ACEOF
16279#line $LINENO "configure"
16280/* confdefs.h. */
16281_ACEOF
16282cat confdefs.h >>conftest.$ac_ext
16283cat >>conftest.$ac_ext <<_ACEOF
16284/* end confdefs.h. */
16285$ac_includes_default
16286int
16287main ()
16288{
16289static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16290test_array [0] = 0
16291
16292 ;
16293 return 0;
16294}
16295_ACEOF
16296rm -f conftest.$ac_objext
16297if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16298 (eval $ac_compile) 2>&5
16299 ac_status=$?
16300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16301 (exit $ac_status); } &&
16302 { ac_try='test -s conftest.$ac_objext'
16303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16304 (eval $ac_try) 2>&5
16305 ac_status=$?
16306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16307 (exit $ac_status); }; }; then
16308 ac_hi=$ac_mid; break
16309else
16310 echo "$as_me: failed program was:" >&5
16311sed 's/^/| /' conftest.$ac_ext >&5
16312
16313ac_lo=`expr $ac_mid + 1`
16314 if test $ac_lo -le $ac_mid; then
16315 ac_lo= ac_hi=
16316 break
16317 fi
16318 ac_mid=`expr 2 '*' $ac_mid + 1`
16319fi
16320rm -f conftest.$ac_objext conftest.$ac_ext
16321 done
16322else
16323 echo "$as_me: failed program was:" >&5
16324sed 's/^/| /' conftest.$ac_ext >&5
16325
16326cat >conftest.$ac_ext <<_ACEOF
16327#line $LINENO "configure"
16328/* confdefs.h. */
16329_ACEOF
16330cat confdefs.h >>conftest.$ac_ext
16331cat >>conftest.$ac_ext <<_ACEOF
16332/* end confdefs.h. */
16333$ac_includes_default
16334int
16335main ()
16336{
16337static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16338test_array [0] = 0
16339
16340 ;
16341 return 0;
16342}
16343_ACEOF
16344rm -f conftest.$ac_objext
16345if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16346 (eval $ac_compile) 2>&5
16347 ac_status=$?
16348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349 (exit $ac_status); } &&
16350 { ac_try='test -s conftest.$ac_objext'
16351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16352 (eval $ac_try) 2>&5
16353 ac_status=$?
16354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16355 (exit $ac_status); }; }; then
16356 ac_hi=-1 ac_mid=-1
16357 while :; do
16358 cat >conftest.$ac_ext <<_ACEOF
16359#line $LINENO "configure"
16360/* confdefs.h. */
16361_ACEOF
16362cat confdefs.h >>conftest.$ac_ext
16363cat >>conftest.$ac_ext <<_ACEOF
16364/* end confdefs.h. */
16365$ac_includes_default
16366int
16367main ()
16368{
16369static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16370test_array [0] = 0
16371
16372 ;
16373 return 0;
16374}
16375_ACEOF
16376rm -f conftest.$ac_objext
16377if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16378 (eval $ac_compile) 2>&5
16379 ac_status=$?
16380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16381 (exit $ac_status); } &&
16382 { ac_try='test -s conftest.$ac_objext'
16383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16384 (eval $ac_try) 2>&5
16385 ac_status=$?
16386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16387 (exit $ac_status); }; }; then
16388 ac_lo=$ac_mid; break
16389else
16390 echo "$as_me: failed program was:" >&5
16391sed 's/^/| /' conftest.$ac_ext >&5
16392
16393ac_hi=`expr '(' $ac_mid ')' - 1`
16394 if test $ac_mid -le $ac_hi; then
16395 ac_lo= ac_hi=
16396 break
16397 fi
16398 ac_mid=`expr 2 '*' $ac_mid`
16399fi
16400rm -f conftest.$ac_objext conftest.$ac_ext
16401 done
16402else
16403 echo "$as_me: failed program was:" >&5
16404sed 's/^/| /' conftest.$ac_ext >&5
16405
16406ac_lo= ac_hi=
16407fi
16408rm -f conftest.$ac_objext conftest.$ac_ext
16409fi
16410rm -f conftest.$ac_objext conftest.$ac_ext
16411# Binary search between lo and hi bounds.
16412while test "x$ac_lo" != "x$ac_hi"; do
16413 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16414 cat >conftest.$ac_ext <<_ACEOF
16415#line $LINENO "configure"
16416/* confdefs.h. */
16417_ACEOF
16418cat confdefs.h >>conftest.$ac_ext
16419cat >>conftest.$ac_ext <<_ACEOF
16420/* end confdefs.h. */
16421$ac_includes_default
16422int
16423main ()
16424{
16425static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16426test_array [0] = 0
16427
16428 ;
16429 return 0;
16430}
16431_ACEOF
16432rm -f conftest.$ac_objext
16433if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16434 (eval $ac_compile) 2>&5
16435 ac_status=$?
16436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16437 (exit $ac_status); } &&
16438 { ac_try='test -s conftest.$ac_objext'
16439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16440 (eval $ac_try) 2>&5
16441 ac_status=$?
16442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16443 (exit $ac_status); }; }; then
16444 ac_hi=$ac_mid
16445else
16446 echo "$as_me: failed program was:" >&5
16447sed 's/^/| /' conftest.$ac_ext >&5
16448
16449ac_lo=`expr '(' $ac_mid ')' + 1`
16450fi
16451rm -f conftest.$ac_objext conftest.$ac_ext
16452done
16453case $ac_lo in
16454?*) ac_cv_sizeof_long_long=$ac_lo;;
16455'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16456See \`config.log' for more details." >&5
16457echo "$as_me: error: cannot compute sizeof (long long), 77
16458See \`config.log' for more details." >&2;}
16459 { (exit 1); exit 1; }; } ;;
16460esac
16461else
16462 if test "$cross_compiling" = yes; then
16463 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16464See \`config.log' for more details." >&5
16465echo "$as_me: error: cannot run test program while cross compiling
16466See \`config.log' for more details." >&2;}
16467 { (exit 1); exit 1; }; }
16468else
16469 cat >conftest.$ac_ext <<_ACEOF
16470#line $LINENO "configure"
16471/* confdefs.h. */
16472_ACEOF
16473cat confdefs.h >>conftest.$ac_ext
16474cat >>conftest.$ac_ext <<_ACEOF
16475/* end confdefs.h. */
16476$ac_includes_default
16477long longval () { return (long) (sizeof (long long)); }
16478unsigned long ulongval () { return (long) (sizeof (long long)); }
16479#include <stdio.h>
16480#include <stdlib.h>
16481int
16482main ()
16483{
16484
16485 FILE *f = fopen ("conftest.val", "w");
16486 if (! f)
16487 exit (1);
16488 if (((long) (sizeof (long long))) < 0)
16489 {
16490 long i = longval ();
16491 if (i != ((long) (sizeof (long long))))
16492 exit (1);
16493 fprintf (f, "%ld\n", i);
16494 }
16495 else
16496 {
16497 unsigned long i = ulongval ();
16498 if (i != ((long) (sizeof (long long))))
16499 exit (1);
16500 fprintf (f, "%lu\n", i);
16501 }
16502 exit (ferror (f) || fclose (f) != 0);
16503
16504 ;
16505 return 0;
16506}
16507_ACEOF
16508rm -f conftest$ac_exeext
16509if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16510 (eval $ac_link) 2>&5
16511 ac_status=$?
16512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16513 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16515 (eval $ac_try) 2>&5
16516 ac_status=$?
16517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16518 (exit $ac_status); }; }; then
16519 ac_cv_sizeof_long_long=`cat conftest.val`
16520else
16521 echo "$as_me: program exited with status $ac_status" >&5
16522echo "$as_me: failed program was:" >&5
16523sed 's/^/| /' conftest.$ac_ext >&5
16524
16525( exit $ac_status )
16526{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16527See \`config.log' for more details." >&5
16528echo "$as_me: error: cannot compute sizeof (long long), 77
16529See \`config.log' for more details." >&2;}
16530 { (exit 1); exit 1; }; }
16531fi
16532rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16533fi
16534fi
16535rm -f conftest.val
16536else
16537 ac_cv_sizeof_long_long=0
16538fi
16539fi
16540echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16541echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16542cat >>confdefs.h <<_ACEOF
16543#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16544_ACEOF
16545
16546
16547esac
16548
16549echo "$as_me:$LINENO: checking size of wchar_t" >&5
16550echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16551if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16552 echo $ECHO_N "(cached) $ECHO_C" >&6
16553else
16554
16555 if test "$cross_compiling" = yes; then
16556
16557 case "${host}" in
16558 *-pc-msdosdjgpp )
16559 wx_cv_sizeof_wchar_t=0
16560 ;;
16561 * )
16562 wx_cv_sizeof_wchar_t=4
16563 ;;
16564 esac
16565
16566
16567else
16568 cat >conftest.$ac_ext <<_ACEOF
16569#line $LINENO "configure"
16570/* confdefs.h. */
16571_ACEOF
16572cat confdefs.h >>conftest.$ac_ext
16573cat >>conftest.$ac_ext <<_ACEOF
16574/* end confdefs.h. */
16575
16576 /* DJGPP only has fake wchar_t: */
16577 #ifdef __DJGPP__
16578 # error "fake wchar_t"
16579 #endif
16580 #ifdef HAVE_WCHAR_H
16581 # ifdef __CYGWIN__
16582 # include <stddef.h>
16583 # endif
16584 # include <wchar.h>
16585 #endif
16586 #ifdef HAVE_STDLIB_H
16587 # include <stdlib.h>
16588 #endif
16589 #include <stdio.h>
16590 int main()
16591 {
16592 FILE *f=fopen("conftestval", "w");
16593 if (!f) exit(1);
16594 fprintf(f, "%i", sizeof(wchar_t));
16595 exit(0);
16596 }
16597
16598_ACEOF
16599rm -f conftest$ac_exeext
16600if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16601 (eval $ac_link) 2>&5
16602 ac_status=$?
16603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16606 (eval $ac_try) 2>&5
16607 ac_status=$?
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); }; }; then
16610 wx_cv_sizeof_wchar_t=`cat conftestval`
16611else
16612 echo "$as_me: program exited with status $ac_status" >&5
16613echo "$as_me: failed program was:" >&5
16614sed 's/^/| /' conftest.$ac_ext >&5
16615
16616( exit $ac_status )
16617wx_cv_sizeof_wchar_t=0
16618fi
16619rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16620fi
16621
16622fi
16623echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16624echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16625
16626cat >>confdefs.h <<_ACEOF
16627#define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16628_ACEOF
16629
16630
16631# Check whether --enable-largefile or --disable-largefile was given.
16632if test "${enable_largefile+set}" = set; then
16633 enableval="$enable_largefile"
16634
16635fi;
16636if test "$enable_largefile" != no; then
16637 wx_largefile=no
16638
16639 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16640echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16641if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16642 echo $ECHO_N "(cached) $ECHO_C" >&6
16643else
16644
16645 cat >conftest.$ac_ext <<_ACEOF
16646#line $LINENO "configure"
16647/* confdefs.h. */
16648_ACEOF
16649cat confdefs.h >>conftest.$ac_ext
16650cat >>conftest.$ac_ext <<_ACEOF
16651/* end confdefs.h. */
16652#define _FILE_OFFSET_BITS 64
16653 #include <sys/types.h>
16654int
16655main ()
16656{
16657typedef struct {
16658 unsigned int field: sizeof(off_t) == 8;
16659} wxlf;
16660
16661 ;
16662 return 0;
16663}
16664_ACEOF
16665rm -f conftest.$ac_objext
16666if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16667 (eval $ac_compile) 2>&5
16668 ac_status=$?
16669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16670 (exit $ac_status); } &&
16671 { ac_try='test -s conftest.$ac_objext'
16672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16673 (eval $ac_try) 2>&5
16674 ac_status=$?
16675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16676 (exit $ac_status); }; }; then
16677 ac_cv_sys_file_offset_bits=64
16678else
16679 echo "$as_me: failed program was:" >&5
16680sed 's/^/| /' conftest.$ac_ext >&5
16681
16682ac_cv_sys_file_offset_bits=no
16683fi
16684rm -f conftest.$ac_objext conftest.$ac_ext
16685
16686
16687fi
16688echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16689echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16690
16691 if test "$ac_cv_sys_file_offset_bits" != no; then
16692 wx_largefile=yes
16693 cat >>confdefs.h <<_ACEOF
16694#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16695_ACEOF
16696
16697 fi
16698
16699 if test "x$wx_largefile" != "xyes"; then
16700
16701 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16702echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16703if test "${ac_cv_sys_large_files+set}" = set; then
16704 echo $ECHO_N "(cached) $ECHO_C" >&6
16705else
16706
16707 cat >conftest.$ac_ext <<_ACEOF
16708#line $LINENO "configure"
16709/* confdefs.h. */
16710_ACEOF
16711cat confdefs.h >>conftest.$ac_ext
16712cat >>conftest.$ac_ext <<_ACEOF
16713/* end confdefs.h. */
16714#define _LARGE_FILES 1
16715 #include <sys/types.h>
16716int
16717main ()
16718{
16719typedef struct {
16720 unsigned int field: sizeof(off_t) == 8;
16721} wxlf;
16722
16723 ;
16724 return 0;
16725}
16726_ACEOF
16727rm -f conftest.$ac_objext
16728if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16729 (eval $ac_compile) 2>&5
16730 ac_status=$?
16731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732 (exit $ac_status); } &&
16733 { ac_try='test -s conftest.$ac_objext'
16734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16735 (eval $ac_try) 2>&5
16736 ac_status=$?
16737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738 (exit $ac_status); }; }; then
16739 ac_cv_sys_large_files=1
16740else
16741 echo "$as_me: failed program was:" >&5
16742sed 's/^/| /' conftest.$ac_ext >&5
16743
16744ac_cv_sys_large_files=no
16745fi
16746rm -f conftest.$ac_objext conftest.$ac_ext
16747
16748
16749fi
16750echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16751echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16752
16753 if test "$ac_cv_sys_large_files" != no; then
16754 wx_largefile=yes
16755 cat >>confdefs.h <<_ACEOF
16756#define _LARGE_FILES $ac_cv_sys_large_files
16757_ACEOF
16758
16759 fi
16760
16761 fi
16762
16763 echo "$as_me:$LINENO: checking if large file support is available" >&5
16764echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16765 if test "x$wx_largefile" = "xyes"; then
16766 cat >>confdefs.h <<\_ACEOF
16767#define HAVE_LARGEFILE_SUPPORT 1
16768_ACEOF
16769
16770 fi
16771 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16772echo "${ECHO_T}$wx_largefile" >&6
16773fi
16774
16775
16776if test "x$wx_largefile" = "xyes"; then
16777 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16778 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16779 else
16780 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
16781 fi
16782 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16783fi
16784
16785echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16786echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16787if test "${ac_cv_c_bigendian+set}" = set; then
16788 echo $ECHO_N "(cached) $ECHO_C" >&6
16789else
16790 ac_cv_c_bigendian=unknown
16791# See if sys/param.h defines the BYTE_ORDER macro.
16792cat >conftest.$ac_ext <<_ACEOF
16793#line $LINENO "configure"
16794/* confdefs.h. */
16795_ACEOF
16796cat confdefs.h >>conftest.$ac_ext
16797cat >>conftest.$ac_ext <<_ACEOF
16798/* end confdefs.h. */
16799#include <sys/types.h>
16800#include <sys/param.h>
16801int
16802main ()
16803{
16804
16805#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16806 bogus endian macros
16807#endif
16808 ;
16809 return 0;
16810}
16811_ACEOF
16812rm -f conftest.$ac_objext
16813if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16814 (eval $ac_compile) 2>&5
16815 ac_status=$?
16816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16817 (exit $ac_status); } &&
16818 { ac_try='test -s conftest.$ac_objext'
16819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16820 (eval $ac_try) 2>&5
16821 ac_status=$?
16822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16823 (exit $ac_status); }; }; then
16824 # It does; now see whether it defined to BIG_ENDIAN or not.
16825cat >conftest.$ac_ext <<_ACEOF
16826#line $LINENO "configure"
16827/* confdefs.h. */
16828_ACEOF
16829cat confdefs.h >>conftest.$ac_ext
16830cat >>conftest.$ac_ext <<_ACEOF
16831/* end confdefs.h. */
16832#include <sys/types.h>
16833#include <sys/param.h>
16834int
16835main ()
16836{
16837
16838#if BYTE_ORDER != BIG_ENDIAN
16839 not big endian
16840#endif
16841 ;
16842 return 0;
16843}
16844_ACEOF
16845rm -f conftest.$ac_objext
16846if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16847 (eval $ac_compile) 2>&5
16848 ac_status=$?
16849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16850 (exit $ac_status); } &&
16851 { ac_try='test -s conftest.$ac_objext'
16852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16853 (eval $ac_try) 2>&5
16854 ac_status=$?
16855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16856 (exit $ac_status); }; }; then
16857 ac_cv_c_bigendian=yes
16858else
16859 echo "$as_me: failed program was:" >&5
16860sed 's/^/| /' conftest.$ac_ext >&5
16861
16862ac_cv_c_bigendian=no
16863fi
16864rm -f conftest.$ac_objext conftest.$ac_ext
16865else
16866 echo "$as_me: failed program was:" >&5
16867sed 's/^/| /' conftest.$ac_ext >&5
16868
16869fi
16870rm -f conftest.$ac_objext conftest.$ac_ext
16871if test $ac_cv_c_bigendian = unknown; then
16872if test "$cross_compiling" = yes; then
16873 ac_cv_c_bigendian=unknown
16874else
16875 cat >conftest.$ac_ext <<_ACEOF
16876#line $LINENO "configure"
16877/* confdefs.h. */
16878_ACEOF
16879cat confdefs.h >>conftest.$ac_ext
16880cat >>conftest.$ac_ext <<_ACEOF
16881/* end confdefs.h. */
16882main () {
16883 /* Are we little or big endian? From Harbison&Steele. */
16884 union
16885 {
16886 long l;
16887 char c[sizeof (long)];
16888 } u;
16889 u.l = 1;
16890 exit (u.c[sizeof (long) - 1] == 1);
16891}
16892_ACEOF
16893rm -f conftest$ac_exeext
16894if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16895 (eval $ac_link) 2>&5
16896 ac_status=$?
16897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16898 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16900 (eval $ac_try) 2>&5
16901 ac_status=$?
16902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16903 (exit $ac_status); }; }; then
16904 ac_cv_c_bigendian=no
16905else
16906 echo "$as_me: program exited with status $ac_status" >&5
16907echo "$as_me: failed program was:" >&5
16908sed 's/^/| /' conftest.$ac_ext >&5
16909
16910( exit $ac_status )
16911ac_cv_c_bigendian=yes
16912fi
16913rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16914fi
16915fi
16916fi
16917echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16918echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16919if test $ac_cv_c_bigendian = unknown; then
16920 { 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
16921echo "$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;}
16922fi
16923if test $ac_cv_c_bigendian = yes; then
16924 cat >>confdefs.h <<\_ACEOF
16925#define WORDS_BIGENDIAN 1
16926_ACEOF
16927
16928fi
16929
16930
16931
16932ac_ext=cc
16933ac_cpp='$CXXCPP $CPPFLAGS'
16934ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16935ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16936ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16937echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16938echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16939if test -z "$CXXCPP"; then
16940 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16941 echo $ECHO_N "(cached) $ECHO_C" >&6
16942else
16943 # Double quotes because CXXCPP needs to be expanded
16944 for CXXCPP in "$CXX -E" "/lib/cpp"
16945 do
16946 ac_preproc_ok=false
16947for ac_cxx_preproc_warn_flag in '' yes
16948do
16949 # Use a header file that comes with gcc, so configuring glibc
16950 # with a fresh cross-compiler works.
16951 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16952 # <limits.h> exists even on freestanding compilers.
16953 # On the NeXT, cc -E runs the code through the compiler's parser,
16954 # not just through cpp. "Syntax error" is here to catch this case.
16955 cat >conftest.$ac_ext <<_ACEOF
16956#line $LINENO "configure"
16957/* confdefs.h. */
16958_ACEOF
16959cat confdefs.h >>conftest.$ac_ext
16960cat >>conftest.$ac_ext <<_ACEOF
16961/* end confdefs.h. */
16962#ifdef __STDC__
16963# include <limits.h>
16964#else
16965# include <assert.h>
16966#endif
16967 Syntax error
16968_ACEOF
16969if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16970 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16971 ac_status=$?
16972 grep -v '^ *+' conftest.er1 >conftest.err
16973 rm -f conftest.er1
16974 cat conftest.err >&5
16975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16976 (exit $ac_status); } >/dev/null; then
16977 if test -s conftest.err; then
16978 ac_cpp_err=$ac_cxx_preproc_warn_flag
16979 else
16980 ac_cpp_err=
16981 fi
16982else
16983 ac_cpp_err=yes
16984fi
16985if test -z "$ac_cpp_err"; then
16986 :
16987else
16988 echo "$as_me: failed program was:" >&5
16989sed 's/^/| /' conftest.$ac_ext >&5
16990
16991 # Broken: fails on valid input.
16992continue
16993fi
16994rm -f conftest.err conftest.$ac_ext
16995
16996 # OK, works on sane cases. Now check whether non-existent headers
16997 # can be detected and how.
16998 cat >conftest.$ac_ext <<_ACEOF
16999#line $LINENO "configure"
17000/* confdefs.h. */
17001_ACEOF
17002cat confdefs.h >>conftest.$ac_ext
17003cat >>conftest.$ac_ext <<_ACEOF
17004/* end confdefs.h. */
17005#include <ac_nonexistent.h>
17006_ACEOF
17007if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17008 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17009 ac_status=$?
17010 grep -v '^ *+' conftest.er1 >conftest.err
17011 rm -f conftest.er1
17012 cat conftest.err >&5
17013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17014 (exit $ac_status); } >/dev/null; then
17015 if test -s conftest.err; then
17016 ac_cpp_err=$ac_cxx_preproc_warn_flag
17017 else
17018 ac_cpp_err=
17019 fi
17020else
17021 ac_cpp_err=yes
17022fi
17023if test -z "$ac_cpp_err"; then
17024 # Broken: success on invalid input.
17025continue
17026else
17027 echo "$as_me: failed program was:" >&5
17028sed 's/^/| /' conftest.$ac_ext >&5
17029
17030 # Passes both tests.
17031ac_preproc_ok=:
17032break
17033fi
17034rm -f conftest.err conftest.$ac_ext
17035
17036done
17037# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17038rm -f conftest.err conftest.$ac_ext
17039if $ac_preproc_ok; then
17040 break
17041fi
17042
17043 done
17044 ac_cv_prog_CXXCPP=$CXXCPP
17045
17046fi
17047 CXXCPP=$ac_cv_prog_CXXCPP
17048else
17049 ac_cv_prog_CXXCPP=$CXXCPP
17050fi
17051echo "$as_me:$LINENO: result: $CXXCPP" >&5
17052echo "${ECHO_T}$CXXCPP" >&6
17053ac_preproc_ok=false
17054for ac_cxx_preproc_warn_flag in '' yes
17055do
17056 # Use a header file that comes with gcc, so configuring glibc
17057 # with a fresh cross-compiler works.
17058 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17059 # <limits.h> exists even on freestanding compilers.
17060 # On the NeXT, cc -E runs the code through the compiler's parser,
17061 # not just through cpp. "Syntax error" is here to catch this case.
17062 cat >conftest.$ac_ext <<_ACEOF
17063#line $LINENO "configure"
17064/* confdefs.h. */
17065_ACEOF
17066cat confdefs.h >>conftest.$ac_ext
17067cat >>conftest.$ac_ext <<_ACEOF
17068/* end confdefs.h. */
17069#ifdef __STDC__
17070# include <limits.h>
17071#else
17072# include <assert.h>
17073#endif
17074 Syntax error
17075_ACEOF
17076if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17077 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17078 ac_status=$?
17079 grep -v '^ *+' conftest.er1 >conftest.err
17080 rm -f conftest.er1
17081 cat conftest.err >&5
17082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17083 (exit $ac_status); } >/dev/null; then
17084 if test -s conftest.err; then
17085 ac_cpp_err=$ac_cxx_preproc_warn_flag
17086 else
17087 ac_cpp_err=
17088 fi
17089else
17090 ac_cpp_err=yes
17091fi
17092if test -z "$ac_cpp_err"; then
17093 :
17094else
17095 echo "$as_me: failed program was:" >&5
17096sed 's/^/| /' conftest.$ac_ext >&5
17097
17098 # Broken: fails on valid input.
17099continue
17100fi
17101rm -f conftest.err conftest.$ac_ext
17102
17103 # OK, works on sane cases. Now check whether non-existent headers
17104 # can be detected and how.
17105 cat >conftest.$ac_ext <<_ACEOF
17106#line $LINENO "configure"
17107/* confdefs.h. */
17108_ACEOF
17109cat confdefs.h >>conftest.$ac_ext
17110cat >>conftest.$ac_ext <<_ACEOF
17111/* end confdefs.h. */
17112#include <ac_nonexistent.h>
17113_ACEOF
17114if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17115 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17116 ac_status=$?
17117 grep -v '^ *+' conftest.er1 >conftest.err
17118 rm -f conftest.er1
17119 cat conftest.err >&5
17120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17121 (exit $ac_status); } >/dev/null; then
17122 if test -s conftest.err; then
17123 ac_cpp_err=$ac_cxx_preproc_warn_flag
17124 else
17125 ac_cpp_err=
17126 fi
17127else
17128 ac_cpp_err=yes
17129fi
17130if test -z "$ac_cpp_err"; then
17131 # Broken: success on invalid input.
17132continue
17133else
17134 echo "$as_me: failed program was:" >&5
17135sed 's/^/| /' conftest.$ac_ext >&5
17136
17137 # Passes both tests.
17138ac_preproc_ok=:
17139break
17140fi
17141rm -f conftest.err conftest.$ac_ext
17142
17143done
17144# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17145rm -f conftest.err conftest.$ac_ext
17146if $ac_preproc_ok; then
17147 :
17148else
17149 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17150See \`config.log' for more details." >&5
17151echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17152See \`config.log' for more details." >&2;}
17153 { (exit 1); exit 1; }; }
17154fi
17155
17156ac_ext=cc
17157ac_cpp='$CXXCPP $CPPFLAGS'
17158ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17159ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17160ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17161
17162
17163
17164 if test "$cross_compiling" = "yes"; then
17165 cat >>confdefs.h <<\_ACEOF
17166#define wxUSE_IOSTREAMH 1
17167_ACEOF
17168
17169 else
17170
17171
17172 ac_ext=cc
17173ac_cpp='$CXXCPP $CPPFLAGS'
17174ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17175ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17176ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17177
17178
17179
17180for ac_header in iostream
17181do
17182as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17183if eval "test \"\${$as_ac_Header+set}\" = set"; then
17184 echo "$as_me:$LINENO: checking for $ac_header" >&5
17185echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17186if eval "test \"\${$as_ac_Header+set}\" = set"; then
17187 echo $ECHO_N "(cached) $ECHO_C" >&6
17188fi
17189echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17190echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17191else
17192 # Is the header compilable?
17193echo "$as_me:$LINENO: checking $ac_header usability" >&5
17194echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17195cat >conftest.$ac_ext <<_ACEOF
17196#line $LINENO "configure"
17197/* confdefs.h. */
17198_ACEOF
17199cat confdefs.h >>conftest.$ac_ext
17200cat >>conftest.$ac_ext <<_ACEOF
17201/* end confdefs.h. */
17202$ac_includes_default
17203#include <$ac_header>
17204_ACEOF
17205rm -f conftest.$ac_objext
17206if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17207 (eval $ac_compile) 2>&5
17208 ac_status=$?
17209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17210 (exit $ac_status); } &&
17211 { ac_try='test -s conftest.$ac_objext'
17212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17213 (eval $ac_try) 2>&5
17214 ac_status=$?
17215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17216 (exit $ac_status); }; }; then
17217 ac_header_compiler=yes
17218else
17219 echo "$as_me: failed program was:" >&5
17220sed 's/^/| /' conftest.$ac_ext >&5
17221
17222ac_header_compiler=no
17223fi
17224rm -f conftest.$ac_objext conftest.$ac_ext
17225echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17226echo "${ECHO_T}$ac_header_compiler" >&6
17227
17228# Is the header present?
17229echo "$as_me:$LINENO: checking $ac_header presence" >&5
17230echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17231cat >conftest.$ac_ext <<_ACEOF
17232#line $LINENO "configure"
17233/* confdefs.h. */
17234_ACEOF
17235cat confdefs.h >>conftest.$ac_ext
17236cat >>conftest.$ac_ext <<_ACEOF
17237/* end confdefs.h. */
17238#include <$ac_header>
17239_ACEOF
17240if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17241 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17242 ac_status=$?
17243 grep -v '^ *+' conftest.er1 >conftest.err
17244 rm -f conftest.er1
17245 cat conftest.err >&5
17246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17247 (exit $ac_status); } >/dev/null; then
17248 if test -s conftest.err; then
17249 ac_cpp_err=$ac_cxx_preproc_warn_flag
17250 else
17251 ac_cpp_err=
17252 fi
17253else
17254 ac_cpp_err=yes
17255fi
17256if test -z "$ac_cpp_err"; then
17257 ac_header_preproc=yes
17258else
17259 echo "$as_me: failed program was:" >&5
17260sed 's/^/| /' conftest.$ac_ext >&5
17261
17262 ac_header_preproc=no
17263fi
17264rm -f conftest.err conftest.$ac_ext
17265echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17266echo "${ECHO_T}$ac_header_preproc" >&6
17267
17268# So? What about this header?
17269case $ac_header_compiler:$ac_header_preproc in
17270 yes:no )
17271 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17272echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17273 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17274echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17275 (
17276 cat <<\_ASBOX
17277## ------------------------------------ ##
17278## Report this to bug-autoconf@gnu.org. ##
17279## ------------------------------------ ##
17280_ASBOX
17281 ) |
17282 sed "s/^/$as_me: WARNING: /" >&2
17283 ;;
17284 no:yes )
17285 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17286echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17287 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17288echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17289 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17290echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17291 (
17292 cat <<\_ASBOX
17293## ------------------------------------ ##
17294## Report this to bug-autoconf@gnu.org. ##
17295## ------------------------------------ ##
17296_ASBOX
17297 ) |
17298 sed "s/^/$as_me: WARNING: /" >&2
17299 ;;
17300esac
17301echo "$as_me:$LINENO: checking for $ac_header" >&5
17302echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17303if eval "test \"\${$as_ac_Header+set}\" = set"; then
17304 echo $ECHO_N "(cached) $ECHO_C" >&6
17305else
17306 eval "$as_ac_Header=$ac_header_preproc"
17307fi
17308echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17309echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17310
17311fi
17312if test `eval echo '${'$as_ac_Header'}'` = yes; then
17313 cat >>confdefs.h <<_ACEOF
17314#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17315_ACEOF
17316
17317fi
17318
17319done
17320
17321
17322 if test "$ac_cv_header_iostream" = "yes" ; then
17323 :
17324 else
17325 cat >>confdefs.h <<\_ACEOF
17326#define wxUSE_IOSTREAMH 1
17327_ACEOF
17328
17329 fi
17330
17331 ac_ext=c
17332ac_cpp='$CPP $CPPFLAGS'
17333ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17334ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17335ac_compiler_gnu=$ac_cv_c_compiler_gnu
17336
17337 fi
17338
17339
17340
17341 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17342echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17343if test "${wx_cv_cpp_bool+set}" = set; then
17344 echo $ECHO_N "(cached) $ECHO_C" >&6
17345else
17346
17347
17348
17349 ac_ext=cc
17350ac_cpp='$CXXCPP $CPPFLAGS'
17351ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17352ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17353ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17354
17355
17356 cat >conftest.$ac_ext <<_ACEOF
17357#line $LINENO "configure"
17358/* confdefs.h. */
17359_ACEOF
17360cat confdefs.h >>conftest.$ac_ext
17361cat >>conftest.$ac_ext <<_ACEOF
17362/* end confdefs.h. */
17363
17364
17365int
17366main ()
17367{
17368
17369 bool b = true;
17370
17371 return 0;
17372
17373 ;
17374 return 0;
17375}
17376_ACEOF
17377rm -f conftest.$ac_objext
17378if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17379 (eval $ac_compile) 2>&5
17380 ac_status=$?
17381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17382 (exit $ac_status); } &&
17383 { ac_try='test -s conftest.$ac_objext'
17384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17385 (eval $ac_try) 2>&5
17386 ac_status=$?
17387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17388 (exit $ac_status); }; }; then
17389
17390 wx_cv_cpp_bool=yes
17391
17392else
17393 echo "$as_me: failed program was:" >&5
17394sed 's/^/| /' conftest.$ac_ext >&5
17395
17396
17397 wx_cv_cpp_bool=no
17398
17399
17400fi
17401rm -f conftest.$ac_objext conftest.$ac_ext
17402
17403 ac_ext=c
17404ac_cpp='$CPP $CPPFLAGS'
17405ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17406ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17407ac_compiler_gnu=$ac_cv_c_compiler_gnu
17408
17409
17410fi
17411echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17412echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17413
17414 if test "$wx_cv_cpp_bool" = "yes"; then
17415 cat >>confdefs.h <<\_ACEOF
17416#define HAVE_BOOL 1
17417_ACEOF
17418
17419 fi
17420
17421
17422
17423 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17424echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17425if test "${wx_cv_explicit+set}" = set; then
17426 echo $ECHO_N "(cached) $ECHO_C" >&6
17427else
17428
17429
17430
17431 ac_ext=cc
17432ac_cpp='$CXXCPP $CPPFLAGS'
17433ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17434ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17435ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17436
17437
17438 cat >conftest.$ac_ext <<_ACEOF
17439#line $LINENO "configure"
17440/* confdefs.h. */
17441_ACEOF
17442cat confdefs.h >>conftest.$ac_ext
17443cat >>conftest.$ac_ext <<_ACEOF
17444/* end confdefs.h. */
17445
17446 class Foo { public: explicit Foo(int) {} };
17447
17448int
17449main ()
17450{
17451
17452 return 0;
17453
17454 ;
17455 return 0;
17456}
17457_ACEOF
17458rm -f conftest.$ac_objext
17459if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17460 (eval $ac_compile) 2>&5
17461 ac_status=$?
17462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17463 (exit $ac_status); } &&
17464 { ac_try='test -s conftest.$ac_objext'
17465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17466 (eval $ac_try) 2>&5
17467 ac_status=$?
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); }; }; then
17470
17471 cat >conftest.$ac_ext <<_ACEOF
17472#line $LINENO "configure"
17473/* confdefs.h. */
17474_ACEOF
17475cat confdefs.h >>conftest.$ac_ext
17476cat >>conftest.$ac_ext <<_ACEOF
17477/* end confdefs.h. */
17478
17479 class Foo { public: explicit Foo(int) {} };
17480 static void TakeFoo(const Foo& foo) { }
17481
17482int
17483main ()
17484{
17485
17486 TakeFoo(17);
17487 return 0;
17488
17489 ;
17490 return 0;
17491}
17492_ACEOF
17493rm -f conftest.$ac_objext
17494if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17495 (eval $ac_compile) 2>&5
17496 ac_status=$?
17497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17498 (exit $ac_status); } &&
17499 { ac_try='test -s conftest.$ac_objext'
17500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17501 (eval $ac_try) 2>&5
17502 ac_status=$?
17503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17504 (exit $ac_status); }; }; then
17505 wx_cv_explicit=no
17506else
17507 echo "$as_me: failed program was:" >&5
17508sed 's/^/| /' conftest.$ac_ext >&5
17509
17510wx_cv_explicit=yes
17511
17512fi
17513rm -f conftest.$ac_objext conftest.$ac_ext
17514
17515else
17516 echo "$as_me: failed program was:" >&5
17517sed 's/^/| /' conftest.$ac_ext >&5
17518
17519wx_cv_explicit=no
17520
17521fi
17522rm -f conftest.$ac_objext conftest.$ac_ext
17523
17524 ac_ext=c
17525ac_cpp='$CPP $CPPFLAGS'
17526ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17527ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17528ac_compiler_gnu=$ac_cv_c_compiler_gnu
17529
17530
17531fi
17532echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17533echo "${ECHO_T}$wx_cv_explicit" >&6
17534
17535 if test "$wx_cv_explicit" = "yes"; then
17536 cat >>confdefs.h <<\_ACEOF
17537#define HAVE_EXPLICIT 1
17538_ACEOF
17539
17540 fi
17541
17542
17543echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17544echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17545if test "${ac_cv_cxx_const_cast+set}" = set; then
17546 echo $ECHO_N "(cached) $ECHO_C" >&6
17547else
17548
17549
17550 ac_ext=cc
17551ac_cpp='$CXXCPP $CPPFLAGS'
17552ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17553ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17554ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17555
17556 cat >conftest.$ac_ext <<_ACEOF
17557#line $LINENO "configure"
17558/* confdefs.h. */
17559_ACEOF
17560cat confdefs.h >>conftest.$ac_ext
17561cat >>conftest.$ac_ext <<_ACEOF
17562/* end confdefs.h. */
17563
17564int
17565main ()
17566{
17567int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17568 ;
17569 return 0;
17570}
17571_ACEOF
17572rm -f conftest.$ac_objext
17573if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17574 (eval $ac_compile) 2>&5
17575 ac_status=$?
17576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17577 (exit $ac_status); } &&
17578 { ac_try='test -s conftest.$ac_objext'
17579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17580 (eval $ac_try) 2>&5
17581 ac_status=$?
17582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17583 (exit $ac_status); }; }; then
17584 ac_cv_cxx_const_cast=yes
17585else
17586 echo "$as_me: failed program was:" >&5
17587sed 's/^/| /' conftest.$ac_ext >&5
17588
17589ac_cv_cxx_const_cast=no
17590fi
17591rm -f conftest.$ac_objext conftest.$ac_ext
17592 ac_ext=c
17593ac_cpp='$CPP $CPPFLAGS'
17594ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17595ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17596ac_compiler_gnu=$ac_cv_c_compiler_gnu
17597
17598
17599fi
17600echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17601echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17602if test "$ac_cv_cxx_const_cast" = yes; then
17603
17604cat >>confdefs.h <<\_ACEOF
17605#define HAVE_CONST_CAST
17606_ACEOF
17607
17608fi
17609
17610
17611
17612SEARCH_INCLUDE="\
17613 /usr/local/include \
17614 \
17615 /usr/Motif-1.2/include \
17616 /usr/Motif-2.1/include \
17617 \
17618 /usr/include/Motif1.2 \
17619 /opt/xpm/include/X11 \
17620 /opt/GBxpm/include/ \
17621 /opt/GBxpm/X11/include/ \
17622 \
17623 /usr/Motif1.2/include \
17624 /usr/dt/include \
17625 /usr/openwin/include \
17626 \
17627 /usr/include/Xm \
17628 \
17629 /usr/X11R6/include \
17630 /usr/X11R6.4/include \
17631 /usr/X11R5/include \
17632 /usr/X11R4/include \
17633 \
17634 /usr/include/X11R6 \
17635 /usr/include/X11R5 \
17636 /usr/include/X11R4 \
17637 \
17638 /usr/local/X11R6/include \
17639 /usr/local/X11R5/include \
17640 /usr/local/X11R4/include \
17641 \
17642 /usr/local/include/X11R6 \
17643 /usr/local/include/X11R5 \
17644 /usr/local/include/X11R4 \
17645 \
17646 /usr/X11/include \
17647 /usr/include/X11 \
17648 /usr/local/X11/include \
17649 /usr/local/include/X11 \
17650 \
17651 /usr/X386/include \
17652 /usr/x386/include \
17653 /usr/XFree86/include/X11 \
17654 \
17655 X:/XFree86/include \
17656 X:/XFree86/include/X11 \
17657 \
17658 /usr/include/gtk \
17659 /usr/local/include/gtk \
17660 /usr/include/glib \
17661 /usr/local/include/glib \
17662 \
17663 /usr/include/qt \
17664 /usr/local/include/qt \
17665 \
17666 /usr/include/windows \
17667 /usr/include/wine \
17668 /usr/local/include/wine \
17669 \
17670 /usr/unsupported/include \
17671 /usr/athena/include \
17672 /usr/local/x11r5/include \
17673 /usr/lpp/Xamples/include \
17674 \
17675 /usr/openwin/share/include"
17676
17677SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17678
17679
17680cat >confcache <<\_ACEOF
17681# This file is a shell script that caches the results of configure
17682# tests run on this system so they can be shared between configure
17683# scripts and configure runs, see configure's option --config-cache.
17684# It is not useful on other systems. If it contains results you don't
17685# want to keep, you may remove or edit it.
17686#
17687# config.status only pays attention to the cache file if you give it
17688# the --recheck option to rerun configure.
17689#
17690# `ac_cv_env_foo' variables (set or unset) will be overridden when
17691# loading this file, other *unset* `ac_cv_foo' will be assigned the
17692# following values.
17693
17694_ACEOF
17695
17696# The following way of writing the cache mishandles newlines in values,
17697# but we know of no workaround that is simple, portable, and efficient.
17698# So, don't put newlines in cache variables' values.
17699# Ultrix sh set writes to stderr and can't be redirected directly,
17700# and sets the high bit in the cache file unless we assign to the vars.
17701{
17702 (set) 2>&1 |
17703 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17704 *ac_space=\ *)
17705 # `set' does not quote correctly, so add quotes (double-quote
17706 # substitution turns \\\\ into \\, and sed turns \\ into \).
17707 sed -n \
17708 "s/'/'\\\\''/g;
17709 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17710 ;;
17711 *)
17712 # `set' quotes correctly as required by POSIX, so do not add quotes.
17713 sed -n \
17714 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17715 ;;
17716 esac;
17717} |
17718 sed '
17719 t clear
17720 : clear
17721 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17722 t end
17723 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17724 : end' >>confcache
17725if diff $cache_file confcache >/dev/null 2>&1; then :; else
17726 if test -w $cache_file; then
17727 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17728 cat confcache >$cache_file
17729 else
17730 echo "not updating unwritable cache $cache_file"
17731 fi
17732fi
17733rm -f confcache
17734
17735if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17736 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17737echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17738if test "${wx_cv_lib_glibc21+set}" = set; then
17739 echo $ECHO_N "(cached) $ECHO_C" >&6
17740else
17741
17742 cat >conftest.$ac_ext <<_ACEOF
17743#line $LINENO "configure"
17744/* confdefs.h. */
17745_ACEOF
17746cat confdefs.h >>conftest.$ac_ext
17747cat >>conftest.$ac_ext <<_ACEOF
17748/* end confdefs.h. */
17749#include <features.h>
17750int
17751main ()
17752{
17753
17754 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17755 #error not glibc2.1
17756 #endif
17757
17758 ;
17759 return 0;
17760}
17761_ACEOF
17762rm -f conftest.$ac_objext
17763if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17764 (eval $ac_compile) 2>&5
17765 ac_status=$?
17766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767 (exit $ac_status); } &&
17768 { ac_try='test -s conftest.$ac_objext'
17769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17770 (eval $ac_try) 2>&5
17771 ac_status=$?
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); }; }; then
17774
17775 wx_cv_lib_glibc21=yes
17776
17777else
17778 echo "$as_me: failed program was:" >&5
17779sed 's/^/| /' conftest.$ac_ext >&5
17780
17781
17782 wx_cv_lib_glibc21=no
17783
17784
17785fi
17786rm -f conftest.$ac_objext conftest.$ac_ext
17787
17788fi
17789echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
17790echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
17791 if test "$wx_cv_lib_glibc21" = "yes"; then
17792 cat >>confdefs.h <<\_ACEOF
17793#define wxHAVE_GLIBC2 1
17794_ACEOF
17795
17796 fi
17797fi
17798
17799if test "x$wx_cv_lib_glibc21" = "xyes"; then
17800 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
17801 cat >>confdefs.h <<\_ACEOF
17802#define _GNU_SOURCE 1
17803_ACEOF
17804
17805 fi
17806fi
17807
17808
17809
17810REGEX_INCLUDE=
17811if test "$wxUSE_REGEX" != "no"; then
17812 cat >>confdefs.h <<\_ACEOF
17813#define wxUSE_REGEX 1
17814_ACEOF
17815
17816
17817 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
17818 if test "${ac_cv_header_regex_h+set}" = set; then
17819 echo "$as_me:$LINENO: checking for regex.h" >&5
17820echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17821if test "${ac_cv_header_regex_h+set}" = set; then
17822 echo $ECHO_N "(cached) $ECHO_C" >&6
17823fi
17824echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17825echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17826else
17827 # Is the header compilable?
17828echo "$as_me:$LINENO: checking regex.h usability" >&5
17829echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
17830cat >conftest.$ac_ext <<_ACEOF
17831#line $LINENO "configure"
17832/* confdefs.h. */
17833_ACEOF
17834cat confdefs.h >>conftest.$ac_ext
17835cat >>conftest.$ac_ext <<_ACEOF
17836/* end confdefs.h. */
17837$ac_includes_default
17838#include <regex.h>
17839_ACEOF
17840rm -f conftest.$ac_objext
17841if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17842 (eval $ac_compile) 2>&5
17843 ac_status=$?
17844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17845 (exit $ac_status); } &&
17846 { ac_try='test -s conftest.$ac_objext'
17847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17848 (eval $ac_try) 2>&5
17849 ac_status=$?
17850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851 (exit $ac_status); }; }; then
17852 ac_header_compiler=yes
17853else
17854 echo "$as_me: failed program was:" >&5
17855sed 's/^/| /' conftest.$ac_ext >&5
17856
17857ac_header_compiler=no
17858fi
17859rm -f conftest.$ac_objext conftest.$ac_ext
17860echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17861echo "${ECHO_T}$ac_header_compiler" >&6
17862
17863# Is the header present?
17864echo "$as_me:$LINENO: checking regex.h presence" >&5
17865echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
17866cat >conftest.$ac_ext <<_ACEOF
17867#line $LINENO "configure"
17868/* confdefs.h. */
17869_ACEOF
17870cat confdefs.h >>conftest.$ac_ext
17871cat >>conftest.$ac_ext <<_ACEOF
17872/* end confdefs.h. */
17873#include <regex.h>
17874_ACEOF
17875if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17876 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17877 ac_status=$?
17878 grep -v '^ *+' conftest.er1 >conftest.err
17879 rm -f conftest.er1
17880 cat conftest.err >&5
17881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17882 (exit $ac_status); } >/dev/null; then
17883 if test -s conftest.err; then
17884 ac_cpp_err=$ac_c_preproc_warn_flag
17885 else
17886 ac_cpp_err=
17887 fi
17888else
17889 ac_cpp_err=yes
17890fi
17891if test -z "$ac_cpp_err"; then
17892 ac_header_preproc=yes
17893else
17894 echo "$as_me: failed program was:" >&5
17895sed 's/^/| /' conftest.$ac_ext >&5
17896
17897 ac_header_preproc=no
17898fi
17899rm -f conftest.err conftest.$ac_ext
17900echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17901echo "${ECHO_T}$ac_header_preproc" >&6
17902
17903# So? What about this header?
17904case $ac_header_compiler:$ac_header_preproc in
17905 yes:no )
17906 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
17907echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17908 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17909echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17910 (
17911 cat <<\_ASBOX
17912## ------------------------------------ ##
17913## Report this to bug-autoconf@gnu.org. ##
17914## ------------------------------------ ##
17915_ASBOX
17916 ) |
17917 sed "s/^/$as_me: WARNING: /" >&2
17918 ;;
17919 no:yes )
17920 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
17921echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
17922 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
17923echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
17924 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17925echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17926 (
17927 cat <<\_ASBOX
17928## ------------------------------------ ##
17929## Report this to bug-autoconf@gnu.org. ##
17930## ------------------------------------ ##
17931_ASBOX
17932 ) |
17933 sed "s/^/$as_me: WARNING: /" >&2
17934 ;;
17935esac
17936echo "$as_me:$LINENO: checking for regex.h" >&5
17937echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17938if test "${ac_cv_header_regex_h+set}" = set; then
17939 echo $ECHO_N "(cached) $ECHO_C" >&6
17940else
17941 ac_cv_header_regex_h=$ac_header_preproc
17942fi
17943echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17944echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17945
17946fi
17947if test $ac_cv_header_regex_h = yes; then
17948
17949for ac_func in regcomp
17950do
17951as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17952echo "$as_me:$LINENO: checking for $ac_func" >&5
17953echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17954if eval "test \"\${$as_ac_var+set}\" = set"; then
17955 echo $ECHO_N "(cached) $ECHO_C" >&6
17956else
17957 cat >conftest.$ac_ext <<_ACEOF
17958#line $LINENO "configure"
17959/* confdefs.h. */
17960_ACEOF
17961cat confdefs.h >>conftest.$ac_ext
17962cat >>conftest.$ac_ext <<_ACEOF
17963/* end confdefs.h. */
17964/* System header to define __stub macros and hopefully few prototypes,
17965 which can conflict with char $ac_func (); below.
17966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17967 <limits.h> exists even on freestanding compilers. */
17968#ifdef __STDC__
17969# include <limits.h>
17970#else
17971# include <assert.h>
17972#endif
17973/* Override any gcc2 internal prototype to avoid an error. */
17974#ifdef __cplusplus
17975extern "C"
17976{
17977#endif
17978/* We use char because int might match the return type of a gcc2
17979 builtin and then its argument prototype would still apply. */
17980char $ac_func ();
17981/* The GNU C library defines this for functions which it implements
17982 to always fail with ENOSYS. Some functions are actually named
17983 something starting with __ and the normal name is an alias. */
17984#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17985choke me
17986#else
17987char (*f) () = $ac_func;
17988#endif
17989#ifdef __cplusplus
17990}
17991#endif
17992
17993int
17994main ()
17995{
17996return f != $ac_func;
17997 ;
17998 return 0;
17999}
18000_ACEOF
18001rm -f conftest.$ac_objext conftest$ac_exeext
18002if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18003 (eval $ac_link) 2>&5
18004 ac_status=$?
18005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18006 (exit $ac_status); } &&
18007 { ac_try='test -s conftest$ac_exeext'
18008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18009 (eval $ac_try) 2>&5
18010 ac_status=$?
18011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012 (exit $ac_status); }; }; then
18013 eval "$as_ac_var=yes"
18014else
18015 echo "$as_me: failed program was:" >&5
18016sed 's/^/| /' conftest.$ac_ext >&5
18017
18018eval "$as_ac_var=no"
18019fi
18020rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18021fi
18022echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18023echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18024if test `eval echo '${'$as_ac_var'}'` = yes; then
18025 cat >>confdefs.h <<_ACEOF
18026#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18027_ACEOF
18028
18029fi
18030done
18031
18032fi
18033
18034
18035
18036 if test "x$ac_cv_func_regcomp" != "xyes"; then
18037 if test "$wxUSE_REGEX" = "sys" ; then
18038 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18039echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18040 { (exit 1); exit 1; }; }
18041 else
18042 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18043echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18044 wxUSE_REGEX=builtin
18045 fi
18046 else
18047 wxUSE_REGEX=sys
18048 fi
18049 fi
18050
18051 if test "$wxUSE_REGEX" = "builtin" ; then
18052 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
18053 fi
18054fi
18055
18056
18057ZLIB_INCLUDE=
18058ZLIB_LINK=
18059if test "$wxUSE_ZLIB" != "no" ; then
18060 cat >>confdefs.h <<\_ACEOF
18061#define wxUSE_ZLIB 1
18062_ACEOF
18063
18064
18065 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18066 if test "$USE_DARWIN" = 1; then
18067 system_zlib_h_ok="yes"
18068 else
18069 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18070echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18071if test "${ac_cv_header_zlib_h+set}" = set; then
18072 echo $ECHO_N "(cached) $ECHO_C" >&6
18073else
18074 if test "$cross_compiling" = yes; then
18075 unset ac_cv_header_zlib_h
18076
18077else
18078 cat >conftest.$ac_ext <<_ACEOF
18079#line $LINENO "configure"
18080/* confdefs.h. */
18081_ACEOF
18082cat confdefs.h >>conftest.$ac_ext
18083cat >>conftest.$ac_ext <<_ACEOF
18084/* end confdefs.h. */
18085
18086 #include <zlib.h>
18087 #include <stdio.h>
18088
18089 int main()
18090 {
18091 FILE *f=fopen("conftestval", "w");
18092 if (!f) exit(1);
18093 fprintf(f, "%s",
18094 ZLIB_VERSION[0] == '1' &&
18095 (ZLIB_VERSION[2] > '1' ||
18096 (ZLIB_VERSION[2] == '1' &&
18097 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18098 exit(0);
18099 }
18100
18101_ACEOF
18102rm -f conftest$ac_exeext
18103if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18104 (eval $ac_link) 2>&5
18105 ac_status=$?
18106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18107 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18109 (eval $ac_try) 2>&5
18110 ac_status=$?
18111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18112 (exit $ac_status); }; }; then
18113 ac_cv_header_zlib_h=`cat conftestval`
18114else
18115 echo "$as_me: program exited with status $ac_status" >&5
18116echo "$as_me: failed program was:" >&5
18117sed 's/^/| /' conftest.$ac_ext >&5
18118
18119( exit $ac_status )
18120ac_cv_header_zlib_h=no
18121fi
18122rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18123fi
18124
18125fi
18126echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18127echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18128 if test "${ac_cv_header_zlib_h+set}" = set; then
18129 echo "$as_me:$LINENO: checking for zlib.h" >&5
18130echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18131if test "${ac_cv_header_zlib_h+set}" = set; then
18132 echo $ECHO_N "(cached) $ECHO_C" >&6
18133fi
18134echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18135echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18136else
18137 # Is the header compilable?
18138echo "$as_me:$LINENO: checking zlib.h usability" >&5
18139echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18140cat >conftest.$ac_ext <<_ACEOF
18141#line $LINENO "configure"
18142/* confdefs.h. */
18143_ACEOF
18144cat confdefs.h >>conftest.$ac_ext
18145cat >>conftest.$ac_ext <<_ACEOF
18146/* end confdefs.h. */
18147$ac_includes_default
18148#include <zlib.h>
18149_ACEOF
18150rm -f conftest.$ac_objext
18151if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18152 (eval $ac_compile) 2>&5
18153 ac_status=$?
18154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18155 (exit $ac_status); } &&
18156 { ac_try='test -s conftest.$ac_objext'
18157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18158 (eval $ac_try) 2>&5
18159 ac_status=$?
18160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161 (exit $ac_status); }; }; then
18162 ac_header_compiler=yes
18163else
18164 echo "$as_me: failed program was:" >&5
18165sed 's/^/| /' conftest.$ac_ext >&5
18166
18167ac_header_compiler=no
18168fi
18169rm -f conftest.$ac_objext conftest.$ac_ext
18170echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18171echo "${ECHO_T}$ac_header_compiler" >&6
18172
18173# Is the header present?
18174echo "$as_me:$LINENO: checking zlib.h presence" >&5
18175echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18176cat >conftest.$ac_ext <<_ACEOF
18177#line $LINENO "configure"
18178/* confdefs.h. */
18179_ACEOF
18180cat confdefs.h >>conftest.$ac_ext
18181cat >>conftest.$ac_ext <<_ACEOF
18182/* end confdefs.h. */
18183#include <zlib.h>
18184_ACEOF
18185if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18186 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18187 ac_status=$?
18188 grep -v '^ *+' conftest.er1 >conftest.err
18189 rm -f conftest.er1
18190 cat conftest.err >&5
18191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18192 (exit $ac_status); } >/dev/null; then
18193 if test -s conftest.err; then
18194 ac_cpp_err=$ac_c_preproc_warn_flag
18195 else
18196 ac_cpp_err=
18197 fi
18198else
18199 ac_cpp_err=yes
18200fi
18201if test -z "$ac_cpp_err"; then
18202 ac_header_preproc=yes
18203else
18204 echo "$as_me: failed program was:" >&5
18205sed 's/^/| /' conftest.$ac_ext >&5
18206
18207 ac_header_preproc=no
18208fi
18209rm -f conftest.err conftest.$ac_ext
18210echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18211echo "${ECHO_T}$ac_header_preproc" >&6
18212
18213# So? What about this header?
18214case $ac_header_compiler:$ac_header_preproc in
18215 yes:no )
18216 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18217echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18218 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18219echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18220 (
18221 cat <<\_ASBOX
18222## ------------------------------------ ##
18223## Report this to bug-autoconf@gnu.org. ##
18224## ------------------------------------ ##
18225_ASBOX
18226 ) |
18227 sed "s/^/$as_me: WARNING: /" >&2
18228 ;;
18229 no:yes )
18230 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18231echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18232 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18233echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18234 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18235echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18236 (
18237 cat <<\_ASBOX
18238## ------------------------------------ ##
18239## Report this to bug-autoconf@gnu.org. ##
18240## ------------------------------------ ##
18241_ASBOX
18242 ) |
18243 sed "s/^/$as_me: WARNING: /" >&2
18244 ;;
18245esac
18246echo "$as_me:$LINENO: checking for zlib.h" >&5
18247echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18248if test "${ac_cv_header_zlib_h+set}" = set; then
18249 echo $ECHO_N "(cached) $ECHO_C" >&6
18250else
18251 ac_cv_header_zlib_h=$ac_header_preproc
18252fi
18253echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18254echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18255
18256fi
18257
18258
18259
18260 system_zlib_h_ok=$ac_cv_header_zlib_h
18261 fi
18262
18263 if test "$system_zlib_h_ok" = "yes"; then
18264 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18265echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18266if test "${ac_cv_lib_z_deflate+set}" = set; then
18267 echo $ECHO_N "(cached) $ECHO_C" >&6
18268else
18269 ac_check_lib_save_LIBS=$LIBS
18270LIBS="-lz $LIBS"
18271cat >conftest.$ac_ext <<_ACEOF
18272#line $LINENO "configure"
18273/* confdefs.h. */
18274_ACEOF
18275cat confdefs.h >>conftest.$ac_ext
18276cat >>conftest.$ac_ext <<_ACEOF
18277/* end confdefs.h. */
18278
18279/* Override any gcc2 internal prototype to avoid an error. */
18280#ifdef __cplusplus
18281extern "C"
18282#endif
18283/* We use char because int might match the return type of a gcc2
18284 builtin and then its argument prototype would still apply. */
18285char deflate ();
18286int
18287main ()
18288{
18289deflate ();
18290 ;
18291 return 0;
18292}
18293_ACEOF
18294rm -f conftest.$ac_objext conftest$ac_exeext
18295if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18296 (eval $ac_link) 2>&5
18297 ac_status=$?
18298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18299 (exit $ac_status); } &&
18300 { ac_try='test -s conftest$ac_exeext'
18301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18302 (eval $ac_try) 2>&5
18303 ac_status=$?
18304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18305 (exit $ac_status); }; }; then
18306 ac_cv_lib_z_deflate=yes
18307else
18308 echo "$as_me: failed program was:" >&5
18309sed 's/^/| /' conftest.$ac_ext >&5
18310
18311ac_cv_lib_z_deflate=no
18312fi
18313rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18314LIBS=$ac_check_lib_save_LIBS
18315fi
18316echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18317echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18318if test $ac_cv_lib_z_deflate = yes; then
18319 ZLIB_LINK=" -lz"
18320fi
18321
18322 fi
18323
18324 if test "x$ZLIB_LINK" = "x" ; then
18325 if test "$wxUSE_ZLIB" = "sys" ; then
18326 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18327echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18328 { (exit 1); exit 1; }; }
18329 else
18330 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18331echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18332 wxUSE_ZLIB=builtin
18333 fi
18334 else
18335 wxUSE_ZLIB=sys
18336 fi
18337 fi
18338
18339 if test "$wxUSE_ZLIB" = "builtin" ; then
18340 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
18341 fi
18342fi
18343
18344
18345PNG_INCLUDE=
18346PNG_LINK=
18347if test "$wxUSE_LIBPNG" != "no" ; then
18348 cat >>confdefs.h <<\_ACEOF
18349#define wxUSE_LIBPNG 1
18350_ACEOF
18351
18352
18353 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18354 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18355echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18356 wxUSE_LIBPNG=sys
18357 fi
18358
18359 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18360 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18361echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18362 wxUSE_LIBPNG=builtin
18363 fi
18364
18365 if test "$wxUSE_MGL" != 1 ; then
18366 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18367 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18368echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18369if test "${ac_cv_header_png_h+set}" = set; then
18370 echo $ECHO_N "(cached) $ECHO_C" >&6
18371else
18372 if test "$cross_compiling" = yes; then
18373 unset ac_cv_header_png_h
18374
18375else
18376 cat >conftest.$ac_ext <<_ACEOF
18377#line $LINENO "configure"
18378/* confdefs.h. */
18379_ACEOF
18380cat confdefs.h >>conftest.$ac_ext
18381cat >>conftest.$ac_ext <<_ACEOF
18382/* end confdefs.h. */
18383
18384 #include <png.h>
18385 #include <stdio.h>
18386
18387 int main()
18388 {
18389 FILE *f=fopen("conftestval", "w");
18390 if (!f) exit(1);
18391 fprintf(f, "%s",
18392 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18393 exit(0);
18394 }
18395
18396_ACEOF
18397rm -f conftest$ac_exeext
18398if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18399 (eval $ac_link) 2>&5
18400 ac_status=$?
18401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18402 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18404 (eval $ac_try) 2>&5
18405 ac_status=$?
18406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18407 (exit $ac_status); }; }; then
18408 ac_cv_header_png_h=`cat conftestval`
18409else
18410 echo "$as_me: program exited with status $ac_status" >&5
18411echo "$as_me: failed program was:" >&5
18412sed 's/^/| /' conftest.$ac_ext >&5
18413
18414( exit $ac_status )
18415ac_cv_header_png_h=no
18416fi
18417rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18418fi
18419
18420fi
18421echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18422echo "${ECHO_T}$ac_cv_header_png_h" >&6
18423 if test "${ac_cv_header_png_h+set}" = set; then
18424 echo "$as_me:$LINENO: checking for png.h" >&5
18425echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18426if test "${ac_cv_header_png_h+set}" = set; then
18427 echo $ECHO_N "(cached) $ECHO_C" >&6
18428fi
18429echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18430echo "${ECHO_T}$ac_cv_header_png_h" >&6
18431else
18432 # Is the header compilable?
18433echo "$as_me:$LINENO: checking png.h usability" >&5
18434echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18435cat >conftest.$ac_ext <<_ACEOF
18436#line $LINENO "configure"
18437/* confdefs.h. */
18438_ACEOF
18439cat confdefs.h >>conftest.$ac_ext
18440cat >>conftest.$ac_ext <<_ACEOF
18441/* end confdefs.h. */
18442$ac_includes_default
18443#include <png.h>
18444_ACEOF
18445rm -f conftest.$ac_objext
18446if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18447 (eval $ac_compile) 2>&5
18448 ac_status=$?
18449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18450 (exit $ac_status); } &&
18451 { ac_try='test -s conftest.$ac_objext'
18452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18453 (eval $ac_try) 2>&5
18454 ac_status=$?
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); }; }; then
18457 ac_header_compiler=yes
18458else
18459 echo "$as_me: failed program was:" >&5
18460sed 's/^/| /' conftest.$ac_ext >&5
18461
18462ac_header_compiler=no
18463fi
18464rm -f conftest.$ac_objext conftest.$ac_ext
18465echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18466echo "${ECHO_T}$ac_header_compiler" >&6
18467
18468# Is the header present?
18469echo "$as_me:$LINENO: checking png.h presence" >&5
18470echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18471cat >conftest.$ac_ext <<_ACEOF
18472#line $LINENO "configure"
18473/* confdefs.h. */
18474_ACEOF
18475cat confdefs.h >>conftest.$ac_ext
18476cat >>conftest.$ac_ext <<_ACEOF
18477/* end confdefs.h. */
18478#include <png.h>
18479_ACEOF
18480if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18481 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18482 ac_status=$?
18483 grep -v '^ *+' conftest.er1 >conftest.err
18484 rm -f conftest.er1
18485 cat conftest.err >&5
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); } >/dev/null; then
18488 if test -s conftest.err; then
18489 ac_cpp_err=$ac_c_preproc_warn_flag
18490 else
18491 ac_cpp_err=
18492 fi
18493else
18494 ac_cpp_err=yes
18495fi
18496if test -z "$ac_cpp_err"; then
18497 ac_header_preproc=yes
18498else
18499 echo "$as_me: failed program was:" >&5
18500sed 's/^/| /' conftest.$ac_ext >&5
18501
18502 ac_header_preproc=no
18503fi
18504rm -f conftest.err conftest.$ac_ext
18505echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18506echo "${ECHO_T}$ac_header_preproc" >&6
18507
18508# So? What about this header?
18509case $ac_header_compiler:$ac_header_preproc in
18510 yes:no )
18511 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18512echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18513 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18514echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18515 (
18516 cat <<\_ASBOX
18517## ------------------------------------ ##
18518## Report this to bug-autoconf@gnu.org. ##
18519## ------------------------------------ ##
18520_ASBOX
18521 ) |
18522 sed "s/^/$as_me: WARNING: /" >&2
18523 ;;
18524 no:yes )
18525 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18526echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18527 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18528echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18529 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18530echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18531 (
18532 cat <<\_ASBOX
18533## ------------------------------------ ##
18534## Report this to bug-autoconf@gnu.org. ##
18535## ------------------------------------ ##
18536_ASBOX
18537 ) |
18538 sed "s/^/$as_me: WARNING: /" >&2
18539 ;;
18540esac
18541echo "$as_me:$LINENO: checking for png.h" >&5
18542echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18543if test "${ac_cv_header_png_h+set}" = set; then
18544 echo $ECHO_N "(cached) $ECHO_C" >&6
18545else
18546 ac_cv_header_png_h=$ac_header_preproc
18547fi
18548echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18549echo "${ECHO_T}$ac_cv_header_png_h" >&6
18550
18551fi
18552
18553
18554
18555 if test "$ac_cv_header_png_h" = "yes"; then
18556 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18557echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18558if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18559 echo $ECHO_N "(cached) $ECHO_C" >&6
18560else
18561 ac_check_lib_save_LIBS=$LIBS
18562LIBS="-lpng -lz -lm $LIBS"
18563cat >conftest.$ac_ext <<_ACEOF
18564#line $LINENO "configure"
18565/* confdefs.h. */
18566_ACEOF
18567cat confdefs.h >>conftest.$ac_ext
18568cat >>conftest.$ac_ext <<_ACEOF
18569/* end confdefs.h. */
18570
18571/* Override any gcc2 internal prototype to avoid an error. */
18572#ifdef __cplusplus
18573extern "C"
18574#endif
18575/* We use char because int might match the return type of a gcc2
18576 builtin and then its argument prototype would still apply. */
18577char png_check_sig ();
18578int
18579main ()
18580{
18581png_check_sig ();
18582 ;
18583 return 0;
18584}
18585_ACEOF
18586rm -f conftest.$ac_objext conftest$ac_exeext
18587if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18588 (eval $ac_link) 2>&5
18589 ac_status=$?
18590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591 (exit $ac_status); } &&
18592 { ac_try='test -s conftest$ac_exeext'
18593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18594 (eval $ac_try) 2>&5
18595 ac_status=$?
18596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18597 (exit $ac_status); }; }; then
18598 ac_cv_lib_png_png_check_sig=yes
18599else
18600 echo "$as_me: failed program was:" >&5
18601sed 's/^/| /' conftest.$ac_ext >&5
18602
18603ac_cv_lib_png_png_check_sig=no
18604fi
18605rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18606LIBS=$ac_check_lib_save_LIBS
18607fi
18608echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18609echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18610if test $ac_cv_lib_png_png_check_sig = yes; then
18611 PNG_LINK=" -lpng"
18612fi
18613
18614 fi
18615
18616 if test "x$PNG_LINK" = "x" ; then
18617 if test "$wxUSE_LIBPNG" = "sys" ; then
18618 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18619echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18620 { (exit 1); exit 1; }; }
18621 else
18622 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18623echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18624 wxUSE_LIBPNG=builtin
18625 fi
18626 else
18627 wxUSE_LIBPNG=sys
18628 fi
18629 fi
18630 fi
18631
18632 if test "$wxUSE_LIBPNG" = "builtin" ; then
18633 PNG_INCLUDE="-I\${top_srcdir}/src/png"
18634 fi
18635
18636 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
18637fi
18638
18639
18640JPEG_INCLUDE=
18641JPEG_LINK=
18642if test "$wxUSE_LIBJPEG" != "no" ; then
18643 cat >>confdefs.h <<\_ACEOF
18644#define wxUSE_LIBJPEG 1
18645_ACEOF
18646
18647
18648 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18649 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18650echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18651 wxUSE_LIBJPEG=sys
18652 fi
18653
18654 if test "$wxUSE_MGL" != 1 ; then
18655 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18656 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18657echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18658 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18659 echo $ECHO_N "(cached) $ECHO_C" >&6
18660else
18661 cat >conftest.$ac_ext <<_ACEOF
18662#line $LINENO "configure"
18663/* confdefs.h. */
18664_ACEOF
18665cat confdefs.h >>conftest.$ac_ext
18666cat >>conftest.$ac_ext <<_ACEOF
18667/* end confdefs.h. */
18668
18669 #undef HAVE_STDLIB_H
18670 #include <stdio.h>
18671 #include <jpeglib.h>
18672
18673int
18674main ()
18675{
18676
18677
18678 ;
18679 return 0;
18680}
18681_ACEOF
18682rm -f conftest.$ac_objext
18683if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18684 (eval $ac_compile) 2>&5
18685 ac_status=$?
18686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18687 (exit $ac_status); } &&
18688 { ac_try='test -s conftest.$ac_objext'
18689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18690 (eval $ac_try) 2>&5
18691 ac_status=$?
18692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693 (exit $ac_status); }; }; then
18694 ac_cv_header_jpeglib_h=yes
18695else
18696 echo "$as_me: failed program was:" >&5
18697sed 's/^/| /' conftest.$ac_ext >&5
18698
18699ac_cv_header_jpeglib_h=no
18700
18701fi
18702rm -f conftest.$ac_objext conftest.$ac_ext
18703
18704fi
18705
18706 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18707echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18708
18709 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18710 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18711echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18712if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18713 echo $ECHO_N "(cached) $ECHO_C" >&6
18714else
18715 ac_check_lib_save_LIBS=$LIBS
18716LIBS="-ljpeg $LIBS"
18717cat >conftest.$ac_ext <<_ACEOF
18718#line $LINENO "configure"
18719/* confdefs.h. */
18720_ACEOF
18721cat confdefs.h >>conftest.$ac_ext
18722cat >>conftest.$ac_ext <<_ACEOF
18723/* end confdefs.h. */
18724
18725/* Override any gcc2 internal prototype to avoid an error. */
18726#ifdef __cplusplus
18727extern "C"
18728#endif
18729/* We use char because int might match the return type of a gcc2
18730 builtin and then its argument prototype would still apply. */
18731char jpeg_read_header ();
18732int
18733main ()
18734{
18735jpeg_read_header ();
18736 ;
18737 return 0;
18738}
18739_ACEOF
18740rm -f conftest.$ac_objext conftest$ac_exeext
18741if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18742 (eval $ac_link) 2>&5
18743 ac_status=$?
18744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18745 (exit $ac_status); } &&
18746 { ac_try='test -s conftest$ac_exeext'
18747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18748 (eval $ac_try) 2>&5
18749 ac_status=$?
18750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18751 (exit $ac_status); }; }; then
18752 ac_cv_lib_jpeg_jpeg_read_header=yes
18753else
18754 echo "$as_me: failed program was:" >&5
18755sed 's/^/| /' conftest.$ac_ext >&5
18756
18757ac_cv_lib_jpeg_jpeg_read_header=no
18758fi
18759rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18760LIBS=$ac_check_lib_save_LIBS
18761fi
18762echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18763echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18764if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18765 JPEG_LINK=" -ljpeg"
18766fi
18767
18768 fi
18769
18770 if test "x$JPEG_LINK" = "x" ; then
18771 if test "$wxUSE_LIBJPEG" = "sys" ; then
18772 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18773echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18774 { (exit 1); exit 1; }; }
18775 else
18776 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18777echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18778 wxUSE_LIBJPEG=builtin
18779 fi
18780 else
18781 wxUSE_LIBJPEG=sys
18782 fi
18783 fi
18784 fi
18785
18786 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18787 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
18788 fi
18789fi
18790
18791
18792TIFF_INCLUDE=
18793TIFF_LINK=
18794TIFF_PREREQ_LINKS=-lm
18795if test "$wxUSE_LIBTIFF" != "no" ; then
18796 cat >>confdefs.h <<\_ACEOF
18797#define wxUSE_LIBTIFF 1
18798_ACEOF
18799
18800
18801 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
18802 if test "$wxUSE_LIBJPEG" = "sys"; then
18803 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
18804 fi
18805 if test "$wxUSE_ZLIB" = "sys"; then
18806 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
18807 fi
18808 if test "${ac_cv_header_tiffio_h+set}" = set; then
18809 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18810echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18811if test "${ac_cv_header_tiffio_h+set}" = set; then
18812 echo $ECHO_N "(cached) $ECHO_C" >&6
18813fi
18814echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18815echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18816else
18817 # Is the header compilable?
18818echo "$as_me:$LINENO: checking tiffio.h usability" >&5
18819echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
18820cat >conftest.$ac_ext <<_ACEOF
18821#line $LINENO "configure"
18822/* confdefs.h. */
18823_ACEOF
18824cat confdefs.h >>conftest.$ac_ext
18825cat >>conftest.$ac_ext <<_ACEOF
18826/* end confdefs.h. */
18827$ac_includes_default
18828#include <tiffio.h>
18829_ACEOF
18830rm -f conftest.$ac_objext
18831if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18832 (eval $ac_compile) 2>&5
18833 ac_status=$?
18834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18835 (exit $ac_status); } &&
18836 { ac_try='test -s conftest.$ac_objext'
18837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18838 (eval $ac_try) 2>&5
18839 ac_status=$?
18840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18841 (exit $ac_status); }; }; then
18842 ac_header_compiler=yes
18843else
18844 echo "$as_me: failed program was:" >&5
18845sed 's/^/| /' conftest.$ac_ext >&5
18846
18847ac_header_compiler=no
18848fi
18849rm -f conftest.$ac_objext conftest.$ac_ext
18850echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18851echo "${ECHO_T}$ac_header_compiler" >&6
18852
18853# Is the header present?
18854echo "$as_me:$LINENO: checking tiffio.h presence" >&5
18855echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
18856cat >conftest.$ac_ext <<_ACEOF
18857#line $LINENO "configure"
18858/* confdefs.h. */
18859_ACEOF
18860cat confdefs.h >>conftest.$ac_ext
18861cat >>conftest.$ac_ext <<_ACEOF
18862/* end confdefs.h. */
18863#include <tiffio.h>
18864_ACEOF
18865if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18866 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18867 ac_status=$?
18868 grep -v '^ *+' conftest.er1 >conftest.err
18869 rm -f conftest.er1
18870 cat conftest.err >&5
18871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18872 (exit $ac_status); } >/dev/null; then
18873 if test -s conftest.err; then
18874 ac_cpp_err=$ac_c_preproc_warn_flag
18875 else
18876 ac_cpp_err=
18877 fi
18878else
18879 ac_cpp_err=yes
18880fi
18881if test -z "$ac_cpp_err"; then
18882 ac_header_preproc=yes
18883else
18884 echo "$as_me: failed program was:" >&5
18885sed 's/^/| /' conftest.$ac_ext >&5
18886
18887 ac_header_preproc=no
18888fi
18889rm -f conftest.err conftest.$ac_ext
18890echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18891echo "${ECHO_T}$ac_header_preproc" >&6
18892
18893# So? What about this header?
18894case $ac_header_compiler:$ac_header_preproc in
18895 yes:no )
18896 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
18897echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18898 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18899echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18900 (
18901 cat <<\_ASBOX
18902## ------------------------------------ ##
18903## Report this to bug-autoconf@gnu.org. ##
18904## ------------------------------------ ##
18905_ASBOX
18906 ) |
18907 sed "s/^/$as_me: WARNING: /" >&2
18908 ;;
18909 no:yes )
18910 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
18911echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
18912 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
18913echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
18914 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18915echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18916 (
18917 cat <<\_ASBOX
18918## ------------------------------------ ##
18919## Report this to bug-autoconf@gnu.org. ##
18920## ------------------------------------ ##
18921_ASBOX
18922 ) |
18923 sed "s/^/$as_me: WARNING: /" >&2
18924 ;;
18925esac
18926echo "$as_me:$LINENO: checking for tiffio.h" >&5
18927echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18928if test "${ac_cv_header_tiffio_h+set}" = set; then
18929 echo $ECHO_N "(cached) $ECHO_C" >&6
18930else
18931 ac_cv_header_tiffio_h=$ac_header_preproc
18932fi
18933echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18934echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18935
18936fi
18937if test $ac_cv_header_tiffio_h = yes; then
18938 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
18939echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
18940if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
18941 echo $ECHO_N "(cached) $ECHO_C" >&6
18942else
18943 ac_check_lib_save_LIBS=$LIBS
18944LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
18945cat >conftest.$ac_ext <<_ACEOF
18946#line $LINENO "configure"
18947/* confdefs.h. */
18948_ACEOF
18949cat confdefs.h >>conftest.$ac_ext
18950cat >>conftest.$ac_ext <<_ACEOF
18951/* end confdefs.h. */
18952
18953/* Override any gcc2 internal prototype to avoid an error. */
18954#ifdef __cplusplus
18955extern "C"
18956#endif
18957/* We use char because int might match the return type of a gcc2
18958 builtin and then its argument prototype would still apply. */
18959char TIFFError ();
18960int
18961main ()
18962{
18963TIFFError ();
18964 ;
18965 return 0;
18966}
18967_ACEOF
18968rm -f conftest.$ac_objext conftest$ac_exeext
18969if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18970 (eval $ac_link) 2>&5
18971 ac_status=$?
18972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18973 (exit $ac_status); } &&
18974 { ac_try='test -s conftest$ac_exeext'
18975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18976 (eval $ac_try) 2>&5
18977 ac_status=$?
18978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18979 (exit $ac_status); }; }; then
18980 ac_cv_lib_tiff_TIFFError=yes
18981else
18982 echo "$as_me: failed program was:" >&5
18983sed 's/^/| /' conftest.$ac_ext >&5
18984
18985ac_cv_lib_tiff_TIFFError=no
18986fi
18987rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18988LIBS=$ac_check_lib_save_LIBS
18989fi
18990echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
18991echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
18992if test $ac_cv_lib_tiff_TIFFError = yes; then
18993 TIFF_LINK=" -ltiff"
18994fi
18995
18996
18997fi
18998
18999
19000
19001 if test "x$TIFF_LINK" = "x" ; then
19002 if test "$wxUSE_LIBTIFF" = "sys" ; then
19003 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19004echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19005 { (exit 1); exit 1; }; }
19006 else
19007 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19008echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19009 wxUSE_LIBTIFF=builtin
19010 fi
19011 else
19012 wxUSE_LIBTIFF=sys
19013 fi
19014 fi
19015
19016 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19017 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
19018 fi
19019fi
19020
19021
19022AFMINSTALL=
19023WIN32INSTALL=
19024
19025TOOLKIT=
19026TOOLKIT_INCLUDE=
19027WIDGET_SET=
19028
19029if test "$USE_WIN32" = 1 ; then
19030
19031for ac_header in w32api.h
19032do
19033as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19034if eval "test \"\${$as_ac_Header+set}\" = set"; then
19035 echo "$as_me:$LINENO: checking for $ac_header" >&5
19036echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19037if eval "test \"\${$as_ac_Header+set}\" = set"; then
19038 echo $ECHO_N "(cached) $ECHO_C" >&6
19039fi
19040echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19041echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19042else
19043 # Is the header compilable?
19044echo "$as_me:$LINENO: checking $ac_header usability" >&5
19045echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19046cat >conftest.$ac_ext <<_ACEOF
19047#line $LINENO "configure"
19048/* confdefs.h. */
19049_ACEOF
19050cat confdefs.h >>conftest.$ac_ext
19051cat >>conftest.$ac_ext <<_ACEOF
19052/* end confdefs.h. */
19053$ac_includes_default
19054#include <$ac_header>
19055_ACEOF
19056rm -f conftest.$ac_objext
19057if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19058 (eval $ac_compile) 2>&5
19059 ac_status=$?
19060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19061 (exit $ac_status); } &&
19062 { ac_try='test -s conftest.$ac_objext'
19063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19064 (eval $ac_try) 2>&5
19065 ac_status=$?
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); }; }; then
19068 ac_header_compiler=yes
19069else
19070 echo "$as_me: failed program was:" >&5
19071sed 's/^/| /' conftest.$ac_ext >&5
19072
19073ac_header_compiler=no
19074fi
19075rm -f conftest.$ac_objext conftest.$ac_ext
19076echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19077echo "${ECHO_T}$ac_header_compiler" >&6
19078
19079# Is the header present?
19080echo "$as_me:$LINENO: checking $ac_header presence" >&5
19081echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19082cat >conftest.$ac_ext <<_ACEOF
19083#line $LINENO "configure"
19084/* confdefs.h. */
19085_ACEOF
19086cat confdefs.h >>conftest.$ac_ext
19087cat >>conftest.$ac_ext <<_ACEOF
19088/* end confdefs.h. */
19089#include <$ac_header>
19090_ACEOF
19091if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19092 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19093 ac_status=$?
19094 grep -v '^ *+' conftest.er1 >conftest.err
19095 rm -f conftest.er1
19096 cat conftest.err >&5
19097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19098 (exit $ac_status); } >/dev/null; then
19099 if test -s conftest.err; then
19100 ac_cpp_err=$ac_c_preproc_warn_flag
19101 else
19102 ac_cpp_err=
19103 fi
19104else
19105 ac_cpp_err=yes
19106fi
19107if test -z "$ac_cpp_err"; then
19108 ac_header_preproc=yes
19109else
19110 echo "$as_me: failed program was:" >&5
19111sed 's/^/| /' conftest.$ac_ext >&5
19112
19113 ac_header_preproc=no
19114fi
19115rm -f conftest.err conftest.$ac_ext
19116echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19117echo "${ECHO_T}$ac_header_preproc" >&6
19118
19119# So? What about this header?
19120case $ac_header_compiler:$ac_header_preproc in
19121 yes:no )
19122 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19123echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19124 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19125echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19126 (
19127 cat <<\_ASBOX
19128## ------------------------------------ ##
19129## Report this to bug-autoconf@gnu.org. ##
19130## ------------------------------------ ##
19131_ASBOX
19132 ) |
19133 sed "s/^/$as_me: WARNING: /" >&2
19134 ;;
19135 no:yes )
19136 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19137echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19138 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19139echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19140 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19141echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19142 (
19143 cat <<\_ASBOX
19144## ------------------------------------ ##
19145## Report this to bug-autoconf@gnu.org. ##
19146## ------------------------------------ ##
19147_ASBOX
19148 ) |
19149 sed "s/^/$as_me: WARNING: /" >&2
19150 ;;
19151esac
19152echo "$as_me:$LINENO: checking for $ac_header" >&5
19153echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19154if eval "test \"\${$as_ac_Header+set}\" = set"; then
19155 echo $ECHO_N "(cached) $ECHO_C" >&6
19156else
19157 eval "$as_ac_Header=$ac_header_preproc"
19158fi
19159echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19160echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19161
19162fi
19163if test `eval echo '${'$as_ac_Header'}'` = yes; then
19164 cat >>confdefs.h <<_ACEOF
19165#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19166_ACEOF
19167
19168fi
19169
19170done
19171
19172 if test "${ac_cv_header_windows_h+set}" = set; then
19173 echo "$as_me:$LINENO: checking for windows.h" >&5
19174echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19175if test "${ac_cv_header_windows_h+set}" = set; then
19176 echo $ECHO_N "(cached) $ECHO_C" >&6
19177fi
19178echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19179echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19180else
19181 # Is the header compilable?
19182echo "$as_me:$LINENO: checking windows.h usability" >&5
19183echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19184cat >conftest.$ac_ext <<_ACEOF
19185#line $LINENO "configure"
19186/* confdefs.h. */
19187_ACEOF
19188cat confdefs.h >>conftest.$ac_ext
19189cat >>conftest.$ac_ext <<_ACEOF
19190/* end confdefs.h. */
19191$ac_includes_default
19192#include <windows.h>
19193_ACEOF
19194rm -f conftest.$ac_objext
19195if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19196 (eval $ac_compile) 2>&5
19197 ac_status=$?
19198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19199 (exit $ac_status); } &&
19200 { ac_try='test -s conftest.$ac_objext'
19201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19202 (eval $ac_try) 2>&5
19203 ac_status=$?
19204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19205 (exit $ac_status); }; }; then
19206 ac_header_compiler=yes
19207else
19208 echo "$as_me: failed program was:" >&5
19209sed 's/^/| /' conftest.$ac_ext >&5
19210
19211ac_header_compiler=no
19212fi
19213rm -f conftest.$ac_objext conftest.$ac_ext
19214echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19215echo "${ECHO_T}$ac_header_compiler" >&6
19216
19217# Is the header present?
19218echo "$as_me:$LINENO: checking windows.h presence" >&5
19219echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19220cat >conftest.$ac_ext <<_ACEOF
19221#line $LINENO "configure"
19222/* confdefs.h. */
19223_ACEOF
19224cat confdefs.h >>conftest.$ac_ext
19225cat >>conftest.$ac_ext <<_ACEOF
19226/* end confdefs.h. */
19227#include <windows.h>
19228_ACEOF
19229if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19230 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19231 ac_status=$?
19232 grep -v '^ *+' conftest.er1 >conftest.err
19233 rm -f conftest.er1
19234 cat conftest.err >&5
19235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19236 (exit $ac_status); } >/dev/null; then
19237 if test -s conftest.err; then
19238 ac_cpp_err=$ac_c_preproc_warn_flag
19239 else
19240 ac_cpp_err=
19241 fi
19242else
19243 ac_cpp_err=yes
19244fi
19245if test -z "$ac_cpp_err"; then
19246 ac_header_preproc=yes
19247else
19248 echo "$as_me: failed program was:" >&5
19249sed 's/^/| /' conftest.$ac_ext >&5
19250
19251 ac_header_preproc=no
19252fi
19253rm -f conftest.err conftest.$ac_ext
19254echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19255echo "${ECHO_T}$ac_header_preproc" >&6
19256
19257# So? What about this header?
19258case $ac_header_compiler:$ac_header_preproc in
19259 yes:no )
19260 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19261echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19262 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19263echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19264 (
19265 cat <<\_ASBOX
19266## ------------------------------------ ##
19267## Report this to bug-autoconf@gnu.org. ##
19268## ------------------------------------ ##
19269_ASBOX
19270 ) |
19271 sed "s/^/$as_me: WARNING: /" >&2
19272 ;;
19273 no:yes )
19274 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19275echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19276 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19277echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19278 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19279echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19280 (
19281 cat <<\_ASBOX
19282## ------------------------------------ ##
19283## Report this to bug-autoconf@gnu.org. ##
19284## ------------------------------------ ##
19285_ASBOX
19286 ) |
19287 sed "s/^/$as_me: WARNING: /" >&2
19288 ;;
19289esac
19290echo "$as_me:$LINENO: checking for windows.h" >&5
19291echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19292if test "${ac_cv_header_windows_h+set}" = set; then
19293 echo $ECHO_N "(cached) $ECHO_C" >&6
19294else
19295 ac_cv_header_windows_h=$ac_header_preproc
19296fi
19297echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19298echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19299
19300fi
19301if test $ac_cv_header_windows_h = yes; then
19302 :
19303else
19304
19305 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19306echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19307 { (exit 1); exit 1; }; }
19308
19309fi
19310
19311
19312
19313 echo "$as_me:$LINENO: checking if w32api has good enough MSIE support" >&5
19314echo $ECHO_N "checking if w32api has good enough MSIE support... $ECHO_C" >&6
19315if test "${wx_cv_w32api_win32_ie+set}" = set; then
19316 echo $ECHO_N "(cached) $ECHO_C" >&6
19317else
19318
19319 cat >conftest.$ac_ext <<_ACEOF
19320#line $LINENO "configure"
19321/* confdefs.h. */
19322_ACEOF
19323cat confdefs.h >>conftest.$ac_ext
19324cat >>conftest.$ac_ext <<_ACEOF
19325/* end confdefs.h. */
19326#include <w32api.h>
19327int
19328main ()
19329{
19330
19331 #define wxCHECK_W32API_VERSION( major, minor ) \
19332 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
19333 && ( ( __W32API_MAJOR_VERSION > (major) ) \
19334 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
19335
19336 #if !wxCHECK_W32API_VERSION(1,1)
19337 #error You need w32api 1.1 or newer
19338 #endif
19339
19340 ;
19341 return 0;
19342}
19343_ACEOF
19344rm -f conftest.$ac_objext
19345if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19346 (eval $ac_compile) 2>&5
19347 ac_status=$?
19348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19349 (exit $ac_status); } &&
19350 { ac_try='test -s conftest.$ac_objext'
19351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19352 (eval $ac_try) 2>&5
19353 ac_status=$?
19354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19355 (exit $ac_status); }; }; then
19356
19357 wx_cv_w32api_win32_ie=yes
19358
19359else
19360 echo "$as_me: failed program was:" >&5
19361sed 's/^/| /' conftest.$ac_ext >&5
19362
19363
19364 wx_cv_w32api_win32_ie=no
19365
19366fi
19367rm -f conftest.$ac_objext conftest.$ac_ext
19368
19369fi
19370echo "$as_me:$LINENO: result: $wx_cv_w32api_win32_ie" >&5
19371echo "${ECHO_T}$wx_cv_w32api_win32_ie" >&6
19372 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
19373 CPPFLAGS="$CPPFLAGS -D_WIN32_IE=0x400"
19374 fi
19375
19376 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19377
19378 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19379 LIBS="$LIBS -loleacc"
19380 fi
19381
19382 case "${host}" in
19383 *-*-cygwin* )
19384 LIBS="$LIBS -lkernel32 -luser32 -lcomdlg32"
19385 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
19386 esac
19387
19388 if test "$wxUSE_ODBC" = "sys" ; then
19389 wxUSE_ODBC = "yes"
19390 fi
19391 if test "$wxUSE_ODBC" = "yes" ; then
19392 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
19393 cat >>confdefs.h <<\_ACEOF
19394#define wxUSE_ODBC 1
19395_ACEOF
19396
19397 fi
19398
19399 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19400 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
19401
19402 WIN32INSTALL=win32install
19403fi
19404
19405if test "$USE_DARWIN" = 1; then
19406 if test "$wxUSE_PRECOMP" = "yes"; then
19407 CPPFLAGS="$CPPFLAGS -cpp-precomp"
19408 else
19409 CPPFLAGS="$CPPFLAGS -no-cpp-precomp"
19410 fi
19411fi
19412
19413if test "$wxUSE_GUI" = "yes"; then
19414 USE_GUI=1
19415
19416 GUI_TK_LIBRARY=
19417
19418 WXGTK12=
19419 WXGTK127=
19420 WXGTK20=
19421
19422 if test "$wxUSE_MSW" = 1 ; then
19423 TOOLKIT=MSW
19424 GUIDIST=MSW_DIST
19425 fi
19426
19427 if test "$wxUSE_GTK" = 1; then
19428 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19429echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19430
19431 gtk_version_cached=1
19432 if test "${wx_cv_lib_gtk+set}" = set; then
19433 echo $ECHO_N "(cached) $ECHO_C" >&6
19434else
19435
19436 gtk_version_cached=0
19437 echo "$as_me:$LINENO: result: " >&5
19438echo "${ECHO_T}" >&6
19439
19440 GTK_MODULES=
19441 if test "$wxUSE_THREADS" = "yes"; then
19442 GTK_MODULES=gthread
19443 fi
19444
19445 wx_cv_lib_gtk=
19446 if test "x$wxUSE_GTK2" = "xyes"; then
19447 # Check whether --enable-gtktest or --disable-gtktest was given.
19448if test "${enable_gtktest+set}" = set; then
19449 enableval="$enable_gtktest"
19450
19451else
19452 enable_gtktest=yes
19453fi;
19454
19455 pkg_config_args=gtk+-2.0
19456 for module in . $GTK_MODULES
19457 do
19458 case "$module" in
19459 gthread)
19460 pkg_config_args="$pkg_config_args gthread-2.0"
19461 ;;
19462 esac
19463 done
19464
19465 no_gtk=""
19466
19467 # Extract the first word of "pkg-config", so it can be a program name with args.
19468set dummy pkg-config; ac_word=$2
19469echo "$as_me:$LINENO: checking for $ac_word" >&5
19470echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19471if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19472 echo $ECHO_N "(cached) $ECHO_C" >&6
19473else
19474 case $PKG_CONFIG in
19475 [\\/]* | ?:[\\/]*)
19476 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19477 ;;
19478 *)
19479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19480for as_dir in $PATH
19481do
19482 IFS=$as_save_IFS
19483 test -z "$as_dir" && as_dir=.
19484 for ac_exec_ext in '' $ac_executable_extensions; do
19485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19486 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19488 break 2
19489 fi
19490done
19491done
19492
19493 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19494 ;;
19495esac
19496fi
19497PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19498
19499if test -n "$PKG_CONFIG"; then
19500 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19501echo "${ECHO_T}$PKG_CONFIG" >&6
19502else
19503 echo "$as_me:$LINENO: result: no" >&5
19504echo "${ECHO_T}no" >&6
19505fi
19506
19507
19508 if test x$PKG_CONFIG != xno ; then
19509 if pkg-config --atleast-pkgconfig-version 0.7 ; then
19510 :
19511 else
19512 echo *** pkg-config too old; version 0.7 or better required.
19513 no_gtk=yes
19514 PKG_CONFIG=no
19515 fi
19516 else
19517 no_gtk=yes
19518 fi
19519
19520 min_gtk_version=2.0.0
19521 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19522echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
19523
19524 if test x$PKG_CONFIG != xno ; then
19525 ## don't try to run the test against uninstalled libtool libs
19526 if $PKG_CONFIG --uninstalled $pkg_config_args; then
19527 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
19528 enable_gtktest=no
19529 fi
19530
19531 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
19532 :
19533 else
19534 no_gtk=yes
19535 fi
19536 fi
19537
19538 if test x"$no_gtk" = x ; then
19539 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
19540 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
19541 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19542 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19543 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19544 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19545 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19546 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19547 if test "x$enable_gtktest" = "xyes" ; then
19548 ac_save_CFLAGS="$CFLAGS"
19549 ac_save_LIBS="$LIBS"
19550 CFLAGS="$CFLAGS $GTK_CFLAGS"
19551 LIBS="$GTK_LIBS $LIBS"
19552 rm -f conf.gtktest
19553 if test "$cross_compiling" = yes; then
19554 echo $ac_n "cross compiling; assumed OK... $ac_c"
19555else
19556 cat >conftest.$ac_ext <<_ACEOF
19557#line $LINENO "configure"
19558/* confdefs.h. */
19559_ACEOF
19560cat confdefs.h >>conftest.$ac_ext
19561cat >>conftest.$ac_ext <<_ACEOF
19562/* end confdefs.h. */
19563
19564#include <gtk/gtk.h>
19565#include <stdio.h>
19566#include <stdlib.h>
19567
19568int
19569main ()
19570{
19571 int major, minor, micro;
19572 char *tmp_version;
19573
19574 system ("touch conf.gtktest");
19575
19576 /* HP/UX 9 (%@#!) writes to sscanf strings */
19577 tmp_version = g_strdup("$min_gtk_version");
19578 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
19579 printf("%s, bad version string\n", "$min_gtk_version");
19580 exit(1);
19581 }
19582
19583 if ((gtk_major_version != $gtk_config_major_version) ||
19584 (gtk_minor_version != $gtk_config_minor_version) ||
19585 (gtk_micro_version != $gtk_config_micro_version))
19586 {
19587 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19588 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19589 gtk_major_version, gtk_minor_version, gtk_micro_version);
19590 printf ("*** was found! If pkg-config was correct, then it is best\n");
19591 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19592 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19593 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19594 printf("*** required on your system.\n");
19595 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
19596 printf("*** to point to the correct configuration files\n");
19597 }
19598 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19599 (gtk_minor_version != GTK_MINOR_VERSION) ||
19600 (gtk_micro_version != GTK_MICRO_VERSION))
19601 {
19602 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19603 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19604 printf("*** library (version %d.%d.%d)\n",
19605 gtk_major_version, gtk_minor_version, gtk_micro_version);
19606 }
19607 else
19608 {
19609 if ((gtk_major_version > major) ||
19610 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19611 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19612 {
19613 return 0;
19614 }
19615 else
19616 {
19617 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19618 gtk_major_version, gtk_minor_version, gtk_micro_version);
19619 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19620 major, minor, micro);
19621 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19622 printf("***\n");
19623 printf("*** If you have already installed a sufficiently new version, this error\n");
19624 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
19625 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19626 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
19627 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
19628 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19629 printf("*** so that the correct libraries are found at run-time))\n");
19630 }
19631 }
19632 return 1;
19633}
19634
19635_ACEOF
19636rm -f conftest$ac_exeext
19637if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19638 (eval $ac_link) 2>&5
19639 ac_status=$?
19640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19641 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19643 (eval $ac_try) 2>&5
19644 ac_status=$?
19645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19646 (exit $ac_status); }; }; then
19647 :
19648else
19649 echo "$as_me: program exited with status $ac_status" >&5
19650echo "$as_me: failed program was:" >&5
19651sed 's/^/| /' conftest.$ac_ext >&5
19652
19653( exit $ac_status )
19654no_gtk=yes
19655fi
19656rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19657fi
19658 CFLAGS="$ac_save_CFLAGS"
19659 LIBS="$ac_save_LIBS"
19660 fi
19661 fi
19662 if test "x$no_gtk" = x ; then
19663 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
19664echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
19665 wx_cv_lib_gtk=2.0
19666 else
19667 echo "$as_me:$LINENO: result: no" >&5
19668echo "${ECHO_T}no" >&6
19669 if test "$PKG_CONFIG" = "no" ; then
19670 echo "*** A new enough version of pkg-config was not found."
19671 echo "*** See http://pkgconfig.sourceforge.net"
19672 else
19673 if test -f conf.gtktest ; then
19674 :
19675 else
19676 echo "*** Could not run GTK+ test program, checking why..."
19677 ac_save_CFLAGS="$CFLAGS"
19678 ac_save_LIBS="$LIBS"
19679 CFLAGS="$CFLAGS $GTK_CFLAGS"
19680 LIBS="$LIBS $GTK_LIBS"
19681 cat >conftest.$ac_ext <<_ACEOF
19682#line $LINENO "configure"
19683/* confdefs.h. */
19684_ACEOF
19685cat confdefs.h >>conftest.$ac_ext
19686cat >>conftest.$ac_ext <<_ACEOF
19687/* end confdefs.h. */
19688
19689#include <gtk/gtk.h>
19690#include <stdio.h>
19691
19692int
19693main ()
19694{
19695 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19696 ;
19697 return 0;
19698}
19699_ACEOF
19700rm -f conftest.$ac_objext conftest$ac_exeext
19701if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19702 (eval $ac_link) 2>&5
19703 ac_status=$?
19704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19705 (exit $ac_status); } &&
19706 { ac_try='test -s conftest$ac_exeext'
19707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19708 (eval $ac_try) 2>&5
19709 ac_status=$?
19710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19711 (exit $ac_status); }; }; then
19712 echo "*** The test program compiled, but did not run. This usually means"
19713 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
19714 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
19715 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
19716 echo "*** to the installed location Also, make sure you have run ldconfig if that"
19717 echo "*** is required on your system"
19718 echo "***"
19719 echo "*** If you have an old version installed, it is best to remove it, although"
19720 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
19721else
19722 echo "$as_me: failed program was:" >&5
19723sed 's/^/| /' conftest.$ac_ext >&5
19724
19725 echo "*** The test program failed to compile or link. See the file config.log for the"
19726 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
19727fi
19728rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19729 CFLAGS="$ac_save_CFLAGS"
19730 LIBS="$ac_save_LIBS"
19731 fi
19732 fi
19733 GTK_CFLAGS=""
19734 GTK_LIBS=""
19735 :
19736 fi
19737
19738
19739 rm -f conf.gtktest
19740
19741 else
19742
19743# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
19744if test "${with_gtk_prefix+set}" = set; then
19745 withval="$with_gtk_prefix"
19746 gtk_config_prefix="$withval"
19747else
19748 gtk_config_prefix=""
19749fi;
19750
19751# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
19752if test "${with_gtk_exec_prefix+set}" = set; then
19753 withval="$with_gtk_exec_prefix"
19754 gtk_config_exec_prefix="$withval"
19755else
19756 gtk_config_exec_prefix=""
19757fi;
19758# Check whether --enable-gtktest or --disable-gtktest was given.
19759if test "${enable_gtktest+set}" = set; then
19760 enableval="$enable_gtktest"
19761
19762else
19763 enable_gtktest=yes
19764fi;
19765
19766 for module in . $GTK_MODULES
19767 do
19768 case "$module" in
19769 gthread)
19770 gtk_config_args="$gtk_config_args gthread"
19771 ;;
19772 esac
19773 done
19774
19775 if test x$gtk_config_exec_prefix != x ; then
19776 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
19777 if test x${GTK_CONFIG+set} != xset ; then
19778 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
19779 fi
19780 fi
19781 if test x$gtk_config_prefix != x ; then
19782 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
19783 if test x${GTK_CONFIG+set} != xset ; then
19784 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
19785 fi
19786 fi
19787
19788 # Extract the first word of "gtk-config", so it can be a program name with args.
19789set dummy gtk-config; ac_word=$2
19790echo "$as_me:$LINENO: checking for $ac_word" >&5
19791echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19792if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
19793 echo $ECHO_N "(cached) $ECHO_C" >&6
19794else
19795 case $GTK_CONFIG in
19796 [\\/]* | ?:[\\/]*)
19797 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
19798 ;;
19799 *)
19800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19801for as_dir in $PATH
19802do
19803 IFS=$as_save_IFS
19804 test -z "$as_dir" && as_dir=.
19805 for ac_exec_ext in '' $ac_executable_extensions; do
19806 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19807 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19809 break 2
19810 fi
19811done
19812done
19813
19814 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
19815 ;;
19816esac
19817fi
19818GTK_CONFIG=$ac_cv_path_GTK_CONFIG
19819
19820if test -n "$GTK_CONFIG"; then
19821 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
19822echo "${ECHO_T}$GTK_CONFIG" >&6
19823else
19824 echo "$as_me:$LINENO: result: no" >&5
19825echo "${ECHO_T}no" >&6
19826fi
19827
19828 min_gtk_version=1.2.7
19829 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
19830echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
19831 no_gtk=""
19832 if test "$GTK_CONFIG" = "no" ; then
19833 no_gtk=yes
19834 else
19835 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
19836 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
19837 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
19838 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19839 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
19840 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19841 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
19842 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19843 if test "x$enable_gtktest" = "xyes" ; then
19844 ac_save_CFLAGS="$CFLAGS"
19845 ac_save_LIBS="$LIBS"
19846 CFLAGS="$CFLAGS $GTK_CFLAGS"
19847 LIBS="$GTK_LIBS $LIBS"
19848 rm -f conf.gtktest
19849 if test "$cross_compiling" = yes; then
19850 echo $ac_n "cross compiling; assumed OK... $ac_c"
19851else
19852 cat >conftest.$ac_ext <<_ACEOF
19853#line $LINENO "configure"
19854/* confdefs.h. */
19855_ACEOF
19856cat confdefs.h >>conftest.$ac_ext
19857cat >>conftest.$ac_ext <<_ACEOF
19858/* end confdefs.h. */
19859
19860#include <gtk/gtk.h>
19861#include <stdio.h>
19862#include <stdlib.h>
19863
19864int
19865main ()
19866{
19867 int major, minor, micro;
19868 char *tmp_version;
19869
19870 system ("touch conf.gtktest");
19871
19872 /* HP/UX 9 (%@#!) writes to sscanf strings */
19873 tmp_version = g_strdup("$min_gtk_version");
19874 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
19875 printf("%s, bad version string\n", "$min_gtk_version");
19876 exit(1);
19877 }
19878
19879 if ((gtk_major_version != $gtk_config_major_version) ||
19880 (gtk_minor_version != $gtk_config_minor_version) ||
19881 (gtk_micro_version != $gtk_config_micro_version))
19882 {
19883 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19884 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19885 gtk_major_version, gtk_minor_version, gtk_micro_version);
19886 printf ("*** was found! If gtk-config was correct, then it is best\n");
19887 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19888 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19889 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19890 printf("*** required on your system.\n");
19891 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
19892 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
19893 printf("*** before re-running configure\n");
19894 }
19895#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
19896 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19897 (gtk_minor_version != GTK_MINOR_VERSION) ||
19898 (gtk_micro_version != GTK_MICRO_VERSION))
19899 {
19900 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19901 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19902 printf("*** library (version %d.%d.%d)\n",
19903 gtk_major_version, gtk_minor_version, gtk_micro_version);
19904 }
19905#endif /* defined (GTK_MAJOR_VERSION) ... */
19906 else
19907 {
19908 if ((gtk_major_version > major) ||
19909 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19910 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19911 {
19912 return 0;
19913 }
19914 else
19915 {
19916 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19917 gtk_major_version, gtk_minor_version, gtk_micro_version);
19918 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19919 major, minor, micro);
19920 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19921 printf("***\n");
19922 printf("*** If you have already installed a sufficiently new version, this error\n");
19923 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
19924 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19925 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
19926 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
19927 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19928 printf("*** so that the correct libraries are found at run-time))\n");
19929 }
19930 }
19931 return 1;
19932}
19933
19934_ACEOF
19935rm -f conftest$ac_exeext
19936if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19937 (eval $ac_link) 2>&5
19938 ac_status=$?
19939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19940 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19942 (eval $ac_try) 2>&5
19943 ac_status=$?
19944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19945 (exit $ac_status); }; }; then
19946 :
19947else
19948 echo "$as_me: program exited with status $ac_status" >&5
19949echo "$as_me: failed program was:" >&5
19950sed 's/^/| /' conftest.$ac_ext >&5
19951
19952( exit $ac_status )
19953no_gtk=yes
19954fi
19955rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19956fi
19957 CFLAGS="$ac_save_CFLAGS"
19958 LIBS="$ac_save_LIBS"
19959 fi
19960 fi
19961 if test "x$no_gtk" = x ; then
19962 echo "$as_me:$LINENO: result: yes" >&5
19963echo "${ECHO_T}yes" >&6
19964 wx_cv_lib_gtk=1.2.7
19965 else
19966 echo "$as_me:$LINENO: result: no" >&5
19967echo "${ECHO_T}no" >&6
19968 if test "$GTK_CONFIG" = "no" ; then
19969 echo "*** The gtk-config script installed by GTK could not be found"
19970 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
19971 echo "*** your path, or set the GTK_CONFIG environment variable to the"
19972 echo "*** full path to gtk-config."
19973 else
19974 if test -f conf.gtktest ; then
19975 :
19976 else
19977 echo "*** Could not run GTK test program, checking why..."
19978 CFLAGS="$CFLAGS $GTK_CFLAGS"
19979 LIBS="$LIBS $GTK_LIBS"
19980 cat >conftest.$ac_ext <<_ACEOF
19981#line $LINENO "configure"
19982/* confdefs.h. */
19983_ACEOF
19984cat confdefs.h >>conftest.$ac_ext
19985cat >>conftest.$ac_ext <<_ACEOF
19986/* end confdefs.h. */
19987
19988#include <gtk/gtk.h>
19989#include <stdio.h>
19990
19991int
19992main ()
19993{
19994 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19995 ;
19996 return 0;
19997}
19998_ACEOF
19999rm -f conftest.$ac_objext conftest$ac_exeext
20000if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20001 (eval $ac_link) 2>&5
20002 ac_status=$?
20003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004 (exit $ac_status); } &&
20005 { ac_try='test -s conftest$ac_exeext'
20006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20007 (eval $ac_try) 2>&5
20008 ac_status=$?
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); }; }; then
20011 echo "*** The test program compiled, but did not run. This usually means"
20012 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20013 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20014 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20015 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20016 echo "*** is required on your system"
20017 echo "***"
20018 echo "*** If you have an old version installed, it is best to remove it, although"
20019 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20020 echo "***"
20021 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20022 echo "*** came with the system with the command"
20023 echo "***"
20024 echo "*** rpm --erase --nodeps gtk gtk-devel"
20025else
20026 echo "$as_me: failed program was:" >&5
20027sed 's/^/| /' conftest.$ac_ext >&5
20028
20029 echo "*** The test program failed to compile or link. See the file config.log for the"
20030 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20031 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20032 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20033fi
20034rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20035 CFLAGS="$ac_save_CFLAGS"
20036 LIBS="$ac_save_LIBS"
20037 fi
20038 fi
20039 GTK_CFLAGS=""
20040 GTK_LIBS=""
20041 :
20042 fi
20043
20044
20045 rm -f conf.gtktest
20046
20047
20048 if test -z "$wx_cv_lib_gtk"; then
20049
20050# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20051if test "${with_gtk_prefix+set}" = set; then
20052 withval="$with_gtk_prefix"
20053 gtk_config_prefix="$withval"
20054else
20055 gtk_config_prefix=""
20056fi;
20057
20058# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20059if test "${with_gtk_exec_prefix+set}" = set; then
20060 withval="$with_gtk_exec_prefix"
20061 gtk_config_exec_prefix="$withval"
20062else
20063 gtk_config_exec_prefix=""
20064fi;
20065# Check whether --enable-gtktest or --disable-gtktest was given.
20066if test "${enable_gtktest+set}" = set; then
20067 enableval="$enable_gtktest"
20068
20069else
20070 enable_gtktest=yes
20071fi;
20072
20073 for module in . $GTK_MODULES
20074 do
20075 case "$module" in
20076 gthread)
20077 gtk_config_args="$gtk_config_args gthread"
20078 ;;
20079 esac
20080 done
20081
20082 if test x$gtk_config_exec_prefix != x ; then
20083 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20084 if test x${GTK_CONFIG+set} != xset ; then
20085 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20086 fi
20087 fi
20088 if test x$gtk_config_prefix != x ; then
20089 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20090 if test x${GTK_CONFIG+set} != xset ; then
20091 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20092 fi
20093 fi
20094
20095 # Extract the first word of "gtk-config", so it can be a program name with args.
20096set dummy gtk-config; ac_word=$2
20097echo "$as_me:$LINENO: checking for $ac_word" >&5
20098echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20099if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20100 echo $ECHO_N "(cached) $ECHO_C" >&6
20101else
20102 case $GTK_CONFIG in
20103 [\\/]* | ?:[\\/]*)
20104 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20105 ;;
20106 *)
20107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20108for as_dir in $PATH
20109do
20110 IFS=$as_save_IFS
20111 test -z "$as_dir" && as_dir=.
20112 for ac_exec_ext in '' $ac_executable_extensions; do
20113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20114 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20116 break 2
20117 fi
20118done
20119done
20120
20121 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20122 ;;
20123esac
20124fi
20125GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20126
20127if test -n "$GTK_CONFIG"; then
20128 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20129echo "${ECHO_T}$GTK_CONFIG" >&6
20130else
20131 echo "$as_me:$LINENO: result: no" >&5
20132echo "${ECHO_T}no" >&6
20133fi
20134
20135 min_gtk_version=1.2.3
20136 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20137echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20138 no_gtk=""
20139 if test "$GTK_CONFIG" = "no" ; then
20140 no_gtk=yes
20141 else
20142 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20143 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20144 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20145 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20146 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20147 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20148 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20149 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20150 if test "x$enable_gtktest" = "xyes" ; then
20151 ac_save_CFLAGS="$CFLAGS"
20152 ac_save_LIBS="$LIBS"
20153 CFLAGS="$CFLAGS $GTK_CFLAGS"
20154 LIBS="$GTK_LIBS $LIBS"
20155 rm -f conf.gtktest
20156 if test "$cross_compiling" = yes; then
20157 echo $ac_n "cross compiling; assumed OK... $ac_c"
20158else
20159 cat >conftest.$ac_ext <<_ACEOF
20160#line $LINENO "configure"
20161/* confdefs.h. */
20162_ACEOF
20163cat confdefs.h >>conftest.$ac_ext
20164cat >>conftest.$ac_ext <<_ACEOF
20165/* end confdefs.h. */
20166
20167#include <gtk/gtk.h>
20168#include <stdio.h>
20169#include <stdlib.h>
20170
20171int
20172main ()
20173{
20174 int major, minor, micro;
20175 char *tmp_version;
20176
20177 system ("touch conf.gtktest");
20178
20179 /* HP/UX 9 (%@#!) writes to sscanf strings */
20180 tmp_version = g_strdup("$min_gtk_version");
20181 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20182 printf("%s, bad version string\n", "$min_gtk_version");
20183 exit(1);
20184 }
20185
20186 if ((gtk_major_version != $gtk_config_major_version) ||
20187 (gtk_minor_version != $gtk_config_minor_version) ||
20188 (gtk_micro_version != $gtk_config_micro_version))
20189 {
20190 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20191 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20192 gtk_major_version, gtk_minor_version, gtk_micro_version);
20193 printf ("*** was found! If gtk-config was correct, then it is best\n");
20194 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20195 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20196 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20197 printf("*** required on your system.\n");
20198 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20199 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20200 printf("*** before re-running configure\n");
20201 }
20202#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20203 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20204 (gtk_minor_version != GTK_MINOR_VERSION) ||
20205 (gtk_micro_version != GTK_MICRO_VERSION))
20206 {
20207 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20208 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20209 printf("*** library (version %d.%d.%d)\n",
20210 gtk_major_version, gtk_minor_version, gtk_micro_version);
20211 }
20212#endif /* defined (GTK_MAJOR_VERSION) ... */
20213 else
20214 {
20215 if ((gtk_major_version > major) ||
20216 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20217 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20218 {
20219 return 0;
20220 }
20221 else
20222 {
20223 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20224 gtk_major_version, gtk_minor_version, gtk_micro_version);
20225 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20226 major, minor, micro);
20227 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20228 printf("***\n");
20229 printf("*** If you have already installed a sufficiently new version, this error\n");
20230 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20231 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20232 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20233 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20234 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20235 printf("*** so that the correct libraries are found at run-time))\n");
20236 }
20237 }
20238 return 1;
20239}
20240
20241_ACEOF
20242rm -f conftest$ac_exeext
20243if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20244 (eval $ac_link) 2>&5
20245 ac_status=$?
20246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20247 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20249 (eval $ac_try) 2>&5
20250 ac_status=$?
20251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20252 (exit $ac_status); }; }; then
20253 :
20254else
20255 echo "$as_me: program exited with status $ac_status" >&5
20256echo "$as_me: failed program was:" >&5
20257sed 's/^/| /' conftest.$ac_ext >&5
20258
20259( exit $ac_status )
20260no_gtk=yes
20261fi
20262rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20263fi
20264 CFLAGS="$ac_save_CFLAGS"
20265 LIBS="$ac_save_LIBS"
20266 fi
20267 fi
20268 if test "x$no_gtk" = x ; then
20269 echo "$as_me:$LINENO: result: yes" >&5
20270echo "${ECHO_T}yes" >&6
20271 wx_cv_lib_gtk=1.2.3
20272 else
20273 echo "$as_me:$LINENO: result: no" >&5
20274echo "${ECHO_T}no" >&6
20275 if test "$GTK_CONFIG" = "no" ; then
20276 echo "*** The gtk-config script installed by GTK could not be found"
20277 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20278 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20279 echo "*** full path to gtk-config."
20280 else
20281 if test -f conf.gtktest ; then
20282 :
20283 else
20284 echo "*** Could not run GTK test program, checking why..."
20285 CFLAGS="$CFLAGS $GTK_CFLAGS"
20286 LIBS="$LIBS $GTK_LIBS"
20287 cat >conftest.$ac_ext <<_ACEOF
20288#line $LINENO "configure"
20289/* confdefs.h. */
20290_ACEOF
20291cat confdefs.h >>conftest.$ac_ext
20292cat >>conftest.$ac_ext <<_ACEOF
20293/* end confdefs.h. */
20294
20295#include <gtk/gtk.h>
20296#include <stdio.h>
20297
20298int
20299main ()
20300{
20301 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20302 ;
20303 return 0;
20304}
20305_ACEOF
20306rm -f conftest.$ac_objext conftest$ac_exeext
20307if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20308 (eval $ac_link) 2>&5
20309 ac_status=$?
20310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20311 (exit $ac_status); } &&
20312 { ac_try='test -s conftest$ac_exeext'
20313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20314 (eval $ac_try) 2>&5
20315 ac_status=$?
20316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20317 (exit $ac_status); }; }; then
20318 echo "*** The test program compiled, but did not run. This usually means"
20319 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20320 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20321 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20322 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20323 echo "*** is required on your system"
20324 echo "***"
20325 echo "*** If you have an old version installed, it is best to remove it, although"
20326 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20327 echo "***"
20328 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20329 echo "*** came with the system with the command"
20330 echo "***"
20331 echo "*** rpm --erase --nodeps gtk gtk-devel"
20332else
20333 echo "$as_me: failed program was:" >&5
20334sed 's/^/| /' conftest.$ac_ext >&5
20335
20336 echo "*** The test program failed to compile or link. See the file config.log for the"
20337 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20338 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20339 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20340fi
20341rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20342 CFLAGS="$ac_save_CFLAGS"
20343 LIBS="$ac_save_LIBS"
20344 fi
20345 fi
20346 GTK_CFLAGS=""
20347 GTK_LIBS=""
20348 :
20349 fi
20350
20351
20352 rm -f conf.gtktest
20353
20354 fi
20355 fi
20356
20357 if test -z "$wx_cv_lib_gtk"; then
20358 wx_cv_lib_gtk=none
20359 else
20360 wx_cv_cflags_gtk=$GTK_CFLAGS
20361 wx_cv_libs_gtk=$GTK_LIBS
20362 fi
20363
20364
20365fi
20366
20367
20368 if test "$gtk_version_cached" = 1; then
20369 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20370echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20371 fi
20372
20373 case "$wx_cv_lib_gtk" in
20374 2.0) WXGTK20=1
20375 TOOLKIT_VERSION=2
20376 ;;
20377 1.2.7) WXGTK127=1
20378 WXGTK12=1
20379 ;;
20380 1.2.3) WXGTK12=1
20381 ;;
20382 *) { { echo "$as_me:$LINENO: error:
20383Please check that gtk-config is in path, the directory
20384where GTK+ libraries are installed (returned by
20385'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20386equivalent variable and GTK+ is version 1.2.3 or above.
20387 " >&5
20388echo "$as_me: error:
20389Please check that gtk-config is in path, the directory
20390where GTK+ libraries are installed (returned by
20391'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20392equivalent variable and GTK+ is version 1.2.3 or above.
20393 " >&2;}
20394 { (exit 1); exit 1; }; }
20395 ;;
20396 esac
20397
20398 if test "$WXGTK20" = 1; then
20399 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20400
20401 succeeded=no
20402
20403 if test -z "$PKG_CONFIG"; then
20404 # Extract the first word of "pkg-config", so it can be a program name with args.
20405set dummy pkg-config; ac_word=$2
20406echo "$as_me:$LINENO: checking for $ac_word" >&5
20407echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20408if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20409 echo $ECHO_N "(cached) $ECHO_C" >&6
20410else
20411 case $PKG_CONFIG in
20412 [\\/]* | ?:[\\/]*)
20413 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20414 ;;
20415 *)
20416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20417for as_dir in $PATH
20418do
20419 IFS=$as_save_IFS
20420 test -z "$as_dir" && as_dir=.
20421 for ac_exec_ext in '' $ac_executable_extensions; do
20422 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20423 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20424 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20425 break 2
20426 fi
20427done
20428done
20429
20430 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20431 ;;
20432esac
20433fi
20434PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20435
20436if test -n "$PKG_CONFIG"; then
20437 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20438echo "${ECHO_T}$PKG_CONFIG" >&6
20439else
20440 echo "$as_me:$LINENO: result: no" >&5
20441echo "${ECHO_T}no" >&6
20442fi
20443
20444 fi
20445
20446 if test "$PKG_CONFIG" = "no" ; then
20447 echo "*** The pkg-config script could not be found. Make sure it is"
20448 echo "*** in your path, or set the PKG_CONFIG environment variable"
20449 echo "*** to the full path to pkg-config."
20450 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20451 else
20452 PKG_CONFIG_MIN_VERSION=0.9.0
20453 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20454 echo "$as_me:$LINENO: checking for pangoft2" >&5
20455echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20456
20457 if $PKG_CONFIG --exists "pangoft2" ; then
20458 echo "$as_me:$LINENO: result: yes" >&5
20459echo "${ECHO_T}yes" >&6
20460 succeeded=yes
20461
20462 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20463echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20464 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
20465 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20466echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20467
20468 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20469echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20470 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
20471 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20472echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20473 else
20474 PANGOFT2_CFLAGS=""
20475 PANGOFT2_LIBS=""
20476 ## If we have a custom action on failure, don't print errors, but
20477 ## do set a variable so people can do so.
20478 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20479
20480 fi
20481
20482
20483
20484 else
20485 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20486 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20487 fi
20488 fi
20489
20490 if test $succeeded = yes; then
20491
20492 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
20493 LIBS="$LIBS $PANGOFT2_LIBS"
20494
20495 else
20496
20497 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20498echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20499 wxUSE_PRINTING_ARCHITECTURE="no"
20500
20501
20502 fi
20503
20504 fi
20505 else
20506 if test "$wxUSE_UNICODE" = "yes"; then
20507 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20508echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20509 wxUSE_UNICODE=no
20510 fi
20511 fi
20512
20513 if test "$USE_DARWIN" != 1; then
20514
20515for ac_func in poll
20516do
20517as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20518echo "$as_me:$LINENO: checking for $ac_func" >&5
20519echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20520if eval "test \"\${$as_ac_var+set}\" = set"; then
20521 echo $ECHO_N "(cached) $ECHO_C" >&6
20522else
20523 cat >conftest.$ac_ext <<_ACEOF
20524#line $LINENO "configure"
20525/* confdefs.h. */
20526_ACEOF
20527cat confdefs.h >>conftest.$ac_ext
20528cat >>conftest.$ac_ext <<_ACEOF
20529/* end confdefs.h. */
20530/* System header to define __stub macros and hopefully few prototypes,
20531 which can conflict with char $ac_func (); below.
20532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20533 <limits.h> exists even on freestanding compilers. */
20534#ifdef __STDC__
20535# include <limits.h>
20536#else
20537# include <assert.h>
20538#endif
20539/* Override any gcc2 internal prototype to avoid an error. */
20540#ifdef __cplusplus
20541extern "C"
20542{
20543#endif
20544/* We use char because int might match the return type of a gcc2
20545 builtin and then its argument prototype would still apply. */
20546char $ac_func ();
20547/* The GNU C library defines this for functions which it implements
20548 to always fail with ENOSYS. Some functions are actually named
20549 something starting with __ and the normal name is an alias. */
20550#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20551choke me
20552#else
20553char (*f) () = $ac_func;
20554#endif
20555#ifdef __cplusplus
20556}
20557#endif
20558
20559int
20560main ()
20561{
20562return f != $ac_func;
20563 ;
20564 return 0;
20565}
20566_ACEOF
20567rm -f conftest.$ac_objext conftest$ac_exeext
20568if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20569 (eval $ac_link) 2>&5
20570 ac_status=$?
20571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20572 (exit $ac_status); } &&
20573 { ac_try='test -s conftest$ac_exeext'
20574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20575 (eval $ac_try) 2>&5
20576 ac_status=$?
20577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20578 (exit $ac_status); }; }; then
20579 eval "$as_ac_var=yes"
20580else
20581 echo "$as_me: failed program was:" >&5
20582sed 's/^/| /' conftest.$ac_ext >&5
20583
20584eval "$as_ac_var=no"
20585fi
20586rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20587fi
20588echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20589echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20590if test `eval echo '${'$as_ac_var'}'` = yes; then
20591 cat >>confdefs.h <<_ACEOF
20592#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20593_ACEOF
20594
20595fi
20596done
20597
20598 fi
20599
20600 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
20601 GUI_TK_LIBRARY="$wx_cv_libs_gtk"
20602
20603 AFMINSTALL=afminstall
20604 TOOLKIT=GTK
20605 GUIDIST=GTK_DIST
20606
20607 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
20608echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
20609if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
20610 echo $ECHO_N "(cached) $ECHO_C" >&6
20611else
20612 ac_check_lib_save_LIBS=$LIBS
20613LIBS="-lgdk $LIBS"
20614cat >conftest.$ac_ext <<_ACEOF
20615#line $LINENO "configure"
20616/* confdefs.h. */
20617_ACEOF
20618cat confdefs.h >>conftest.$ac_ext
20619cat >>conftest.$ac_ext <<_ACEOF
20620/* end confdefs.h. */
20621
20622/* Override any gcc2 internal prototype to avoid an error. */
20623#ifdef __cplusplus
20624extern "C"
20625#endif
20626/* We use char because int might match the return type of a gcc2
20627 builtin and then its argument prototype would still apply. */
20628char gdk_im_open ();
20629int
20630main ()
20631{
20632gdk_im_open ();
20633 ;
20634 return 0;
20635}
20636_ACEOF
20637rm -f conftest.$ac_objext conftest$ac_exeext
20638if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20639 (eval $ac_link) 2>&5
20640 ac_status=$?
20641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20642 (exit $ac_status); } &&
20643 { ac_try='test -s conftest$ac_exeext'
20644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20645 (eval $ac_try) 2>&5
20646 ac_status=$?
20647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20648 (exit $ac_status); }; }; then
20649 ac_cv_lib_gdk_gdk_im_open=yes
20650else
20651 echo "$as_me: failed program was:" >&5
20652sed 's/^/| /' conftest.$ac_ext >&5
20653
20654ac_cv_lib_gdk_gdk_im_open=no
20655fi
20656rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20657LIBS=$ac_check_lib_save_LIBS
20658fi
20659echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
20660echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
20661if test $ac_cv_lib_gdk_gdk_im_open = yes; then
20662 cat >>confdefs.h <<\_ACEOF
20663#define HAVE_XIM 1
20664_ACEOF
20665
20666fi
20667
20668 fi
20669
20670 if test "$wxUSE_MGL" = 1; then
20671 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
20672echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
20673 if test "x$MGL_ROOT" = x ; then
20674 echo "$as_me:$LINENO: result: not found" >&5
20675echo "${ECHO_T}not found" >&6
20676 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
20677echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
20678 { (exit 1); exit 1; }; }
20679 else
20680 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
20681echo "${ECHO_T}$MGL_ROOT" >&6
20682 fi
20683
20684 echo "$as_me:$LINENO: checking for libmgl location" >&5
20685echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
20686 case "${host}" in
20687 *-*-linux* )
20688 if test "x$wxUSE_SHARED" = xyes ; then
20689 mgl_os_candidates="linux/gcc/glibc.so linux/gcc/glibc"
20690 else
20691 mgl_os_candidates="linux/gcc/glibc linux/gcc/glibc.so"
20692 fi
20693 ;;
20694 *-pc-msdosdjgpp )
20695 mgl_os_candidates="dos32/dj2"
20696 ;;
20697 *)
20698 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
20699echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
20700 { (exit 1); exit 1; }; }
20701 esac
20702
20703 mgl_lib_type=""
20704 mgl_os=""
20705
20706 for mgl_os_i in $mgl_os_candidates ; do
20707 if test "x$mgl_os" = x ; then
20708 if test "$wxUSE_DEBUG_FLAG" = yes ; then
20709 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
20710 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
20711 mgl_lib_type=debug
20712 mgl_os=$mgl_os_i
20713 fi
20714 fi
20715 if test "x$mgl_lib_type" = x ; then
20716 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
20717 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
20718 mgl_lib_type=release
20719 mgl_os=$mgl_os_i
20720 fi
20721 fi
20722 fi
20723 done
20724
20725 if test "x$mgl_os" = x ; then
20726 echo "$as_me:$LINENO: result: not found" >&5
20727echo "${ECHO_T}not found" >&6
20728 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
20729echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
20730 { (exit 1); exit 1; }; }
20731 fi
20732 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
20733echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
20734
20735 wxUSE_UNIVERSAL="yes"
20736
20737 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
20738 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
20739
20740 AFMINSTALL=afminstall
20741 TOOLKIT=MGL
20742 GUIDIST=MGL_DIST
20743 fi
20744
20745 if test "$wxUSE_MICROWIN" = 1; then
20746 echo "$as_me:$LINENO: checking for MicroWindows" >&5
20747echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
20748 if test "x$MICROWINDOWS" = x ; then
20749 echo "$as_me:$LINENO: result: not found" >&5
20750echo "${ECHO_T}not found" >&6
20751 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
20752echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
20753 { (exit 1); exit 1; }; }
20754 else
20755 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
20756echo "${ECHO_T}$MICROWINDOWS" >&6
20757 fi
20758
20759 if test -f $MICROWINDOWS/lib/libmwin.a; then
20760 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
20761echo "${ECHO_T}MicroWindows' libraries found." >&6
20762 else
20763 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
20764echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
20765 { (exit 1); exit 1; }; }
20766 fi
20767
20768 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
20769 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
20770
20771 wxUSE_UNIVERSAL="yes"
20772
20773 AFMINSTALL=afminstall
20774 TOOLKIT=MICROWIN
20775 GUIDIST=MICROWIN_DIST
20776
20777 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
20778 fi
20779
20780 if test "$wxUSE_X11" = 1; then
20781 echo "$as_me:$LINENO: checking for X" >&5
20782echo $ECHO_N "checking for X... $ECHO_C" >&6
20783
20784
20785# Check whether --with-x or --without-x was given.
20786if test "${with_x+set}" = set; then
20787 withval="$with_x"
20788
20789fi;
20790# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
20791if test "x$with_x" = xno; then
20792 # The user explicitly disabled X.
20793 have_x=disabled
20794else
20795 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
20796 # Both variables are already set.
20797 have_x=yes
20798 else
20799 if test "${ac_cv_have_x+set}" = set; then
20800 echo $ECHO_N "(cached) $ECHO_C" >&6
20801else
20802 # One or both of the vars are not set, and there is no cached value.
20803ac_x_includes=no ac_x_libraries=no
20804rm -fr conftest.dir
20805if mkdir conftest.dir; then
20806 cd conftest.dir
20807 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
20808 cat >Imakefile <<'_ACEOF'
20809acfindx:
20810 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
20811_ACEOF
20812 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
20813 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20814 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
20815 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
20816 for ac_extension in a so sl; do
20817 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
20818 test -f $ac_im_libdir/libX11.$ac_extension; then
20819 ac_im_usrlibdir=$ac_im_libdir; break
20820 fi
20821 done
20822 # Screen out bogus values from the imake configuration. They are
20823 # bogus both because they are the default anyway, and because
20824 # using them would break gcc on systems where it needs fixed includes.
20825 case $ac_im_incroot in
20826 /usr/include) ;;
20827 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
20828 esac
20829 case $ac_im_usrlibdir in
20830 /usr/lib | /lib) ;;
20831 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
20832 esac
20833 fi
20834 cd ..
20835 rm -fr conftest.dir
20836fi
20837
20838# Standard set of common directories for X headers.
20839# Check X11 before X11Rn because it is often a symlink to the current release.
20840ac_x_header_dirs='
20841/usr/X11/include
20842/usr/X11R6/include
20843/usr/X11R5/include
20844/usr/X11R4/include
20845
20846/usr/include/X11
20847/usr/include/X11R6
20848/usr/include/X11R5
20849/usr/include/X11R4
20850
20851/usr/local/X11/include
20852/usr/local/X11R6/include
20853/usr/local/X11R5/include
20854/usr/local/X11R4/include
20855
20856/usr/local/include/X11
20857/usr/local/include/X11R6
20858/usr/local/include/X11R5
20859/usr/local/include/X11R4
20860
20861/usr/X386/include
20862/usr/x386/include
20863/usr/XFree86/include/X11
20864
20865/usr/include
20866/usr/local/include
20867/usr/unsupported/include
20868/usr/athena/include
20869/usr/local/x11r5/include
20870/usr/lpp/Xamples/include
20871
20872/usr/openwin/include
20873/usr/openwin/share/include'
20874
20875if test "$ac_x_includes" = no; then
20876 # Guess where to find include files, by looking for Intrinsic.h.
20877 # First, try using that file with no special directory specified.
20878 cat >conftest.$ac_ext <<_ACEOF
20879#line $LINENO "configure"
20880/* confdefs.h. */
20881_ACEOF
20882cat confdefs.h >>conftest.$ac_ext
20883cat >>conftest.$ac_ext <<_ACEOF
20884/* end confdefs.h. */
20885#include <X11/Intrinsic.h>
20886_ACEOF
20887if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20888 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20889 ac_status=$?
20890 grep -v '^ *+' conftest.er1 >conftest.err
20891 rm -f conftest.er1
20892 cat conftest.err >&5
20893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20894 (exit $ac_status); } >/dev/null; then
20895 if test -s conftest.err; then
20896 ac_cpp_err=$ac_c_preproc_warn_flag
20897 else
20898 ac_cpp_err=
20899 fi
20900else
20901 ac_cpp_err=yes
20902fi
20903if test -z "$ac_cpp_err"; then
20904 # We can compile using X headers with no special include directory.
20905ac_x_includes=
20906else
20907 echo "$as_me: failed program was:" >&5
20908sed 's/^/| /' conftest.$ac_ext >&5
20909
20910 for ac_dir in $ac_x_header_dirs; do
20911 if test -r "$ac_dir/X11/Intrinsic.h"; then
20912 ac_x_includes=$ac_dir
20913 break
20914 fi
20915done
20916fi
20917rm -f conftest.err conftest.$ac_ext
20918fi # $ac_x_includes = no
20919
20920if test "$ac_x_libraries" = no; then
20921 # Check for the libraries.
20922 # See if we find them without any special options.
20923 # Don't add to $LIBS permanently.
20924 ac_save_LIBS=$LIBS
20925 LIBS="-lXt $LIBS"
20926 cat >conftest.$ac_ext <<_ACEOF
20927#line $LINENO "configure"
20928/* confdefs.h. */
20929_ACEOF
20930cat confdefs.h >>conftest.$ac_ext
20931cat >>conftest.$ac_ext <<_ACEOF
20932/* end confdefs.h. */
20933#include <X11/Intrinsic.h>
20934int
20935main ()
20936{
20937XtMalloc (0)
20938 ;
20939 return 0;
20940}
20941_ACEOF
20942rm -f conftest.$ac_objext conftest$ac_exeext
20943if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20944 (eval $ac_link) 2>&5
20945 ac_status=$?
20946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20947 (exit $ac_status); } &&
20948 { ac_try='test -s conftest$ac_exeext'
20949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20950 (eval $ac_try) 2>&5
20951 ac_status=$?
20952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20953 (exit $ac_status); }; }; then
20954 LIBS=$ac_save_LIBS
20955# We can link X programs with no special library path.
20956ac_x_libraries=
20957else
20958 echo "$as_me: failed program was:" >&5
20959sed 's/^/| /' conftest.$ac_ext >&5
20960
20961LIBS=$ac_save_LIBS
20962for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
20963do
20964 # Don't even attempt the hair of trying to link an X program!
20965 for ac_extension in a so sl; do
20966 if test -r $ac_dir/libXt.$ac_extension; then
20967 ac_x_libraries=$ac_dir
20968 break 2
20969 fi
20970 done
20971done
20972fi
20973rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20974fi # $ac_x_libraries = no
20975
20976if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
20977 # Didn't find X anywhere. Cache the known absence of X.
20978 ac_cv_have_x="have_x=no"
20979else
20980 # Record where we found X for the cache.
20981 ac_cv_have_x="have_x=yes \
20982 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
20983fi
20984fi
20985
20986 fi
20987 eval "$ac_cv_have_x"
20988fi # $with_x != no
20989
20990if test "$have_x" != yes; then
20991 echo "$as_me:$LINENO: result: $have_x" >&5
20992echo "${ECHO_T}$have_x" >&6
20993 no_x=yes
20994else
20995 # If each of the values was on the command line, it overrides each guess.
20996 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
20997 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
20998 # Update the cache value to reflect the command line values.
20999 ac_cv_have_x="have_x=yes \
21000 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21001 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21002echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21003fi
21004
21005if test "$no_x" = yes; then
21006 # Not all programs may use this symbol, but it does not hurt to define it.
21007
21008cat >>confdefs.h <<\_ACEOF
21009#define X_DISPLAY_MISSING 1
21010_ACEOF
21011
21012 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
21013else
21014 if test -n "$x_includes"; then
21015 X_CFLAGS="$X_CFLAGS -I$x_includes"
21016 fi
21017
21018 # It would also be nice to do this for all -L options, not just this one.
21019 if test -n "$x_libraries"; then
21020 X_LIBS="$X_LIBS -L$x_libraries"
21021 # For Solaris; some versions of Sun CC require a space after -R and
21022 # others require no space. Words are not sufficient . . . .
21023 case `(uname -sr) 2>/dev/null` in
21024 "SunOS 5"*)
21025 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21026echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21027 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
21028 cat >conftest.$ac_ext <<_ACEOF
21029#line $LINENO "configure"
21030/* confdefs.h. */
21031_ACEOF
21032cat confdefs.h >>conftest.$ac_ext
21033cat >>conftest.$ac_ext <<_ACEOF
21034/* end confdefs.h. */
21035
21036int
21037main ()
21038{
21039
21040 ;
21041 return 0;
21042}
21043_ACEOF
21044rm -f conftest.$ac_objext conftest$ac_exeext
21045if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21046 (eval $ac_link) 2>&5
21047 ac_status=$?
21048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21049 (exit $ac_status); } &&
21050 { ac_try='test -s conftest$ac_exeext'
21051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21052 (eval $ac_try) 2>&5
21053 ac_status=$?
21054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21055 (exit $ac_status); }; }; then
21056 ac_R_nospace=yes
21057else
21058 echo "$as_me: failed program was:" >&5
21059sed 's/^/| /' conftest.$ac_ext >&5
21060
21061ac_R_nospace=no
21062fi
21063rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21064 if test $ac_R_nospace = yes; then
21065 echo "$as_me:$LINENO: result: no" >&5
21066echo "${ECHO_T}no" >&6
21067 X_LIBS="$X_LIBS -R$x_libraries"
21068 else
21069 LIBS="$ac_xsave_LIBS -R $x_libraries"
21070 cat >conftest.$ac_ext <<_ACEOF
21071#line $LINENO "configure"
21072/* confdefs.h. */
21073_ACEOF
21074cat confdefs.h >>conftest.$ac_ext
21075cat >>conftest.$ac_ext <<_ACEOF
21076/* end confdefs.h. */
21077
21078int
21079main ()
21080{
21081
21082 ;
21083 return 0;
21084}
21085_ACEOF
21086rm -f conftest.$ac_objext conftest$ac_exeext
21087if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21088 (eval $ac_link) 2>&5
21089 ac_status=$?
21090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21091 (exit $ac_status); } &&
21092 { ac_try='test -s conftest$ac_exeext'
21093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21094 (eval $ac_try) 2>&5
21095 ac_status=$?
21096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21097 (exit $ac_status); }; }; then
21098 ac_R_space=yes
21099else
21100 echo "$as_me: failed program was:" >&5
21101sed 's/^/| /' conftest.$ac_ext >&5
21102
21103ac_R_space=no
21104fi
21105rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21106 if test $ac_R_space = yes; then
21107 echo "$as_me:$LINENO: result: yes" >&5
21108echo "${ECHO_T}yes" >&6
21109 X_LIBS="$X_LIBS -R $x_libraries"
21110 else
21111 echo "$as_me:$LINENO: result: neither works" >&5
21112echo "${ECHO_T}neither works" >&6
21113 fi
21114 fi
21115 LIBS=$ac_xsave_LIBS
21116 esac
21117 fi
21118
21119 # Check for system-dependent libraries X programs must link with.
21120 # Do this before checking for the system-independent R6 libraries
21121 # (-lICE), since we may need -lsocket or whatever for X linking.
21122
21123 if test "$ISC" = yes; then
21124 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
21125 else
21126 # Martyn Johnson says this is needed for Ultrix, if the X
21127 # libraries were built with DECnet support. And Karl Berry says
21128 # the Alpha needs dnet_stub (dnet does not exist).
21129 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
21130 cat >conftest.$ac_ext <<_ACEOF
21131#line $LINENO "configure"
21132/* confdefs.h. */
21133_ACEOF
21134cat confdefs.h >>conftest.$ac_ext
21135cat >>conftest.$ac_ext <<_ACEOF
21136/* end confdefs.h. */
21137
21138/* Override any gcc2 internal prototype to avoid an error. */
21139#ifdef __cplusplus
21140extern "C"
21141#endif
21142/* We use char because int might match the return type of a gcc2
21143 builtin and then its argument prototype would still apply. */
21144char XOpenDisplay ();
21145int
21146main ()
21147{
21148XOpenDisplay ();
21149 ;
21150 return 0;
21151}
21152_ACEOF
21153rm -f conftest.$ac_objext conftest$ac_exeext
21154if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21155 (eval $ac_link) 2>&5
21156 ac_status=$?
21157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21158 (exit $ac_status); } &&
21159 { ac_try='test -s conftest$ac_exeext'
21160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21161 (eval $ac_try) 2>&5
21162 ac_status=$?
21163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21164 (exit $ac_status); }; }; then
21165 :
21166else
21167 echo "$as_me: failed program was:" >&5
21168sed 's/^/| /' conftest.$ac_ext >&5
21169
21170echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21171echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21172if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21173 echo $ECHO_N "(cached) $ECHO_C" >&6
21174else
21175 ac_check_lib_save_LIBS=$LIBS
21176LIBS="-ldnet $LIBS"
21177cat >conftest.$ac_ext <<_ACEOF
21178#line $LINENO "configure"
21179/* confdefs.h. */
21180_ACEOF
21181cat confdefs.h >>conftest.$ac_ext
21182cat >>conftest.$ac_ext <<_ACEOF
21183/* end confdefs.h. */
21184
21185/* Override any gcc2 internal prototype to avoid an error. */
21186#ifdef __cplusplus
21187extern "C"
21188#endif
21189/* We use char because int might match the return type of a gcc2
21190 builtin and then its argument prototype would still apply. */
21191char dnet_ntoa ();
21192int
21193main ()
21194{
21195dnet_ntoa ();
21196 ;
21197 return 0;
21198}
21199_ACEOF
21200rm -f conftest.$ac_objext conftest$ac_exeext
21201if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21202 (eval $ac_link) 2>&5
21203 ac_status=$?
21204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21205 (exit $ac_status); } &&
21206 { ac_try='test -s conftest$ac_exeext'
21207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21208 (eval $ac_try) 2>&5
21209 ac_status=$?
21210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21211 (exit $ac_status); }; }; then
21212 ac_cv_lib_dnet_dnet_ntoa=yes
21213else
21214 echo "$as_me: failed program was:" >&5
21215sed 's/^/| /' conftest.$ac_ext >&5
21216
21217ac_cv_lib_dnet_dnet_ntoa=no
21218fi
21219rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21220LIBS=$ac_check_lib_save_LIBS
21221fi
21222echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21223echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21224if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21225 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
21226fi
21227
21228 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
21229 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21230echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21231if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21232 echo $ECHO_N "(cached) $ECHO_C" >&6
21233else
21234 ac_check_lib_save_LIBS=$LIBS
21235LIBS="-ldnet_stub $LIBS"
21236cat >conftest.$ac_ext <<_ACEOF
21237#line $LINENO "configure"
21238/* confdefs.h. */
21239_ACEOF
21240cat confdefs.h >>conftest.$ac_ext
21241cat >>conftest.$ac_ext <<_ACEOF
21242/* end confdefs.h. */
21243
21244/* Override any gcc2 internal prototype to avoid an error. */
21245#ifdef __cplusplus
21246extern "C"
21247#endif
21248/* We use char because int might match the return type of a gcc2
21249 builtin and then its argument prototype would still apply. */
21250char dnet_ntoa ();
21251int
21252main ()
21253{
21254dnet_ntoa ();
21255 ;
21256 return 0;
21257}
21258_ACEOF
21259rm -f conftest.$ac_objext conftest$ac_exeext
21260if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21261 (eval $ac_link) 2>&5
21262 ac_status=$?
21263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21264 (exit $ac_status); } &&
21265 { ac_try='test -s conftest$ac_exeext'
21266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21267 (eval $ac_try) 2>&5
21268 ac_status=$?
21269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21270 (exit $ac_status); }; }; then
21271 ac_cv_lib_dnet_stub_dnet_ntoa=yes
21272else
21273 echo "$as_me: failed program was:" >&5
21274sed 's/^/| /' conftest.$ac_ext >&5
21275
21276ac_cv_lib_dnet_stub_dnet_ntoa=no
21277fi
21278rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21279LIBS=$ac_check_lib_save_LIBS
21280fi
21281echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21282echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21283if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21284 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
21285fi
21286
21287 fi
21288fi
21289rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21290 LIBS="$ac_xsave_LIBS"
21291
21292 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21293 # to get the SysV transport functions.
21294 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21295 # needs -lnsl.
21296 # The nsl library prevents programs from opening the X display
21297 # on Irix 5.2, according to T.E. Dickey.
21298 # The functions gethostbyname, getservbyname, and inet_addr are
21299 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21300 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21301echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21302if test "${ac_cv_func_gethostbyname+set}" = set; then
21303 echo $ECHO_N "(cached) $ECHO_C" >&6
21304else
21305 cat >conftest.$ac_ext <<_ACEOF
21306#line $LINENO "configure"
21307/* confdefs.h. */
21308_ACEOF
21309cat confdefs.h >>conftest.$ac_ext
21310cat >>conftest.$ac_ext <<_ACEOF
21311/* end confdefs.h. */
21312/* System header to define __stub macros and hopefully few prototypes,
21313 which can conflict with char gethostbyname (); below.
21314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21315 <limits.h> exists even on freestanding compilers. */
21316#ifdef __STDC__
21317# include <limits.h>
21318#else
21319# include <assert.h>
21320#endif
21321/* Override any gcc2 internal prototype to avoid an error. */
21322#ifdef __cplusplus
21323extern "C"
21324{
21325#endif
21326/* We use char because int might match the return type of a gcc2
21327 builtin and then its argument prototype would still apply. */
21328char gethostbyname ();
21329/* The GNU C library defines this for functions which it implements
21330 to always fail with ENOSYS. Some functions are actually named
21331 something starting with __ and the normal name is an alias. */
21332#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21333choke me
21334#else
21335char (*f) () = gethostbyname;
21336#endif
21337#ifdef __cplusplus
21338}
21339#endif
21340
21341int
21342main ()
21343{
21344return f != gethostbyname;
21345 ;
21346 return 0;
21347}
21348_ACEOF
21349rm -f conftest.$ac_objext conftest$ac_exeext
21350if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21351 (eval $ac_link) 2>&5
21352 ac_status=$?
21353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21354 (exit $ac_status); } &&
21355 { ac_try='test -s conftest$ac_exeext'
21356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21357 (eval $ac_try) 2>&5
21358 ac_status=$?
21359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21360 (exit $ac_status); }; }; then
21361 ac_cv_func_gethostbyname=yes
21362else
21363 echo "$as_me: failed program was:" >&5
21364sed 's/^/| /' conftest.$ac_ext >&5
21365
21366ac_cv_func_gethostbyname=no
21367fi
21368rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21369fi
21370echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21371echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21372
21373 if test $ac_cv_func_gethostbyname = no; then
21374 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21375echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21376if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21377 echo $ECHO_N "(cached) $ECHO_C" >&6
21378else
21379 ac_check_lib_save_LIBS=$LIBS
21380LIBS="-lnsl $LIBS"
21381cat >conftest.$ac_ext <<_ACEOF
21382#line $LINENO "configure"
21383/* confdefs.h. */
21384_ACEOF
21385cat confdefs.h >>conftest.$ac_ext
21386cat >>conftest.$ac_ext <<_ACEOF
21387/* end confdefs.h. */
21388
21389/* Override any gcc2 internal prototype to avoid an error. */
21390#ifdef __cplusplus
21391extern "C"
21392#endif
21393/* We use char because int might match the return type of a gcc2
21394 builtin and then its argument prototype would still apply. */
21395char gethostbyname ();
21396int
21397main ()
21398{
21399gethostbyname ();
21400 ;
21401 return 0;
21402}
21403_ACEOF
21404rm -f conftest.$ac_objext conftest$ac_exeext
21405if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21406 (eval $ac_link) 2>&5
21407 ac_status=$?
21408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21409 (exit $ac_status); } &&
21410 { ac_try='test -s conftest$ac_exeext'
21411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21412 (eval $ac_try) 2>&5
21413 ac_status=$?
21414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21415 (exit $ac_status); }; }; then
21416 ac_cv_lib_nsl_gethostbyname=yes
21417else
21418 echo "$as_me: failed program was:" >&5
21419sed 's/^/| /' conftest.$ac_ext >&5
21420
21421ac_cv_lib_nsl_gethostbyname=no
21422fi
21423rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21424LIBS=$ac_check_lib_save_LIBS
21425fi
21426echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21427echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21428if test $ac_cv_lib_nsl_gethostbyname = yes; then
21429 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
21430fi
21431
21432 if test $ac_cv_lib_nsl_gethostbyname = no; then
21433 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21434echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21435if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21436 echo $ECHO_N "(cached) $ECHO_C" >&6
21437else
21438 ac_check_lib_save_LIBS=$LIBS
21439LIBS="-lbsd $LIBS"
21440cat >conftest.$ac_ext <<_ACEOF
21441#line $LINENO "configure"
21442/* confdefs.h. */
21443_ACEOF
21444cat confdefs.h >>conftest.$ac_ext
21445cat >>conftest.$ac_ext <<_ACEOF
21446/* end confdefs.h. */
21447
21448/* Override any gcc2 internal prototype to avoid an error. */
21449#ifdef __cplusplus
21450extern "C"
21451#endif
21452/* We use char because int might match the return type of a gcc2
21453 builtin and then its argument prototype would still apply. */
21454char gethostbyname ();
21455int
21456main ()
21457{
21458gethostbyname ();
21459 ;
21460 return 0;
21461}
21462_ACEOF
21463rm -f conftest.$ac_objext conftest$ac_exeext
21464if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21465 (eval $ac_link) 2>&5
21466 ac_status=$?
21467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21468 (exit $ac_status); } &&
21469 { ac_try='test -s conftest$ac_exeext'
21470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21471 (eval $ac_try) 2>&5
21472 ac_status=$?
21473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21474 (exit $ac_status); }; }; then
21475 ac_cv_lib_bsd_gethostbyname=yes
21476else
21477 echo "$as_me: failed program was:" >&5
21478sed 's/^/| /' conftest.$ac_ext >&5
21479
21480ac_cv_lib_bsd_gethostbyname=no
21481fi
21482rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21483LIBS=$ac_check_lib_save_LIBS
21484fi
21485echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21486echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21487if test $ac_cv_lib_bsd_gethostbyname = yes; then
21488 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
21489fi
21490
21491 fi
21492 fi
21493
21494 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21495 # socket/setsockopt and other routines are undefined under SCO ODT
21496 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21497 # on later versions), says Simon Leinen: it contains gethostby*
21498 # variants that don't use the name server (or something). -lsocket
21499 # must be given before -lnsl if both are needed. We assume that
21500 # if connect needs -lnsl, so does gethostbyname.
21501 echo "$as_me:$LINENO: checking for connect" >&5
21502echo $ECHO_N "checking for connect... $ECHO_C" >&6
21503if test "${ac_cv_func_connect+set}" = set; then
21504 echo $ECHO_N "(cached) $ECHO_C" >&6
21505else
21506 cat >conftest.$ac_ext <<_ACEOF
21507#line $LINENO "configure"
21508/* confdefs.h. */
21509_ACEOF
21510cat confdefs.h >>conftest.$ac_ext
21511cat >>conftest.$ac_ext <<_ACEOF
21512/* end confdefs.h. */
21513/* System header to define __stub macros and hopefully few prototypes,
21514 which can conflict with char connect (); below.
21515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21516 <limits.h> exists even on freestanding compilers. */
21517#ifdef __STDC__
21518# include <limits.h>
21519#else
21520# include <assert.h>
21521#endif
21522/* Override any gcc2 internal prototype to avoid an error. */
21523#ifdef __cplusplus
21524extern "C"
21525{
21526#endif
21527/* We use char because int might match the return type of a gcc2
21528 builtin and then its argument prototype would still apply. */
21529char connect ();
21530/* The GNU C library defines this for functions which it implements
21531 to always fail with ENOSYS. Some functions are actually named
21532 something starting with __ and the normal name is an alias. */
21533#if defined (__stub_connect) || defined (__stub___connect)
21534choke me
21535#else
21536char (*f) () = connect;
21537#endif
21538#ifdef __cplusplus
21539}
21540#endif
21541
21542int
21543main ()
21544{
21545return f != connect;
21546 ;
21547 return 0;
21548}
21549_ACEOF
21550rm -f conftest.$ac_objext conftest$ac_exeext
21551if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21552 (eval $ac_link) 2>&5
21553 ac_status=$?
21554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21555 (exit $ac_status); } &&
21556 { ac_try='test -s conftest$ac_exeext'
21557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21558 (eval $ac_try) 2>&5
21559 ac_status=$?
21560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21561 (exit $ac_status); }; }; then
21562 ac_cv_func_connect=yes
21563else
21564 echo "$as_me: failed program was:" >&5
21565sed 's/^/| /' conftest.$ac_ext >&5
21566
21567ac_cv_func_connect=no
21568fi
21569rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21570fi
21571echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21572echo "${ECHO_T}$ac_cv_func_connect" >&6
21573
21574 if test $ac_cv_func_connect = no; then
21575 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21576echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21577if test "${ac_cv_lib_socket_connect+set}" = set; then
21578 echo $ECHO_N "(cached) $ECHO_C" >&6
21579else
21580 ac_check_lib_save_LIBS=$LIBS
21581LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
21582cat >conftest.$ac_ext <<_ACEOF
21583#line $LINENO "configure"
21584/* confdefs.h. */
21585_ACEOF
21586cat confdefs.h >>conftest.$ac_ext
21587cat >>conftest.$ac_ext <<_ACEOF
21588/* end confdefs.h. */
21589
21590/* Override any gcc2 internal prototype to avoid an error. */
21591#ifdef __cplusplus
21592extern "C"
21593#endif
21594/* We use char because int might match the return type of a gcc2
21595 builtin and then its argument prototype would still apply. */
21596char connect ();
21597int
21598main ()
21599{
21600connect ();
21601 ;
21602 return 0;
21603}
21604_ACEOF
21605rm -f conftest.$ac_objext conftest$ac_exeext
21606if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21607 (eval $ac_link) 2>&5
21608 ac_status=$?
21609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21610 (exit $ac_status); } &&
21611 { ac_try='test -s conftest$ac_exeext'
21612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21613 (eval $ac_try) 2>&5
21614 ac_status=$?
21615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21616 (exit $ac_status); }; }; then
21617 ac_cv_lib_socket_connect=yes
21618else
21619 echo "$as_me: failed program was:" >&5
21620sed 's/^/| /' conftest.$ac_ext >&5
21621
21622ac_cv_lib_socket_connect=no
21623fi
21624rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21625LIBS=$ac_check_lib_save_LIBS
21626fi
21627echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
21628echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
21629if test $ac_cv_lib_socket_connect = yes; then
21630 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
21631fi
21632
21633 fi
21634
21635 # Guillermo Gomez says -lposix is necessary on A/UX.
21636 echo "$as_me:$LINENO: checking for remove" >&5
21637echo $ECHO_N "checking for remove... $ECHO_C" >&6
21638if test "${ac_cv_func_remove+set}" = set; then
21639 echo $ECHO_N "(cached) $ECHO_C" >&6
21640else
21641 cat >conftest.$ac_ext <<_ACEOF
21642#line $LINENO "configure"
21643/* confdefs.h. */
21644_ACEOF
21645cat confdefs.h >>conftest.$ac_ext
21646cat >>conftest.$ac_ext <<_ACEOF
21647/* end confdefs.h. */
21648/* System header to define __stub macros and hopefully few prototypes,
21649 which can conflict with char remove (); below.
21650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21651 <limits.h> exists even on freestanding compilers. */
21652#ifdef __STDC__
21653# include <limits.h>
21654#else
21655# include <assert.h>
21656#endif
21657/* Override any gcc2 internal prototype to avoid an error. */
21658#ifdef __cplusplus
21659extern "C"
21660{
21661#endif
21662/* We use char because int might match the return type of a gcc2
21663 builtin and then its argument prototype would still apply. */
21664char remove ();
21665/* The GNU C library defines this for functions which it implements
21666 to always fail with ENOSYS. Some functions are actually named
21667 something starting with __ and the normal name is an alias. */
21668#if defined (__stub_remove) || defined (__stub___remove)
21669choke me
21670#else
21671char (*f) () = remove;
21672#endif
21673#ifdef __cplusplus
21674}
21675#endif
21676
21677int
21678main ()
21679{
21680return f != remove;
21681 ;
21682 return 0;
21683}
21684_ACEOF
21685rm -f conftest.$ac_objext conftest$ac_exeext
21686if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21687 (eval $ac_link) 2>&5
21688 ac_status=$?
21689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21690 (exit $ac_status); } &&
21691 { ac_try='test -s conftest$ac_exeext'
21692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21693 (eval $ac_try) 2>&5
21694 ac_status=$?
21695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21696 (exit $ac_status); }; }; then
21697 ac_cv_func_remove=yes
21698else
21699 echo "$as_me: failed program was:" >&5
21700sed 's/^/| /' conftest.$ac_ext >&5
21701
21702ac_cv_func_remove=no
21703fi
21704rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21705fi
21706echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
21707echo "${ECHO_T}$ac_cv_func_remove" >&6
21708
21709 if test $ac_cv_func_remove = no; then
21710 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
21711echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
21712if test "${ac_cv_lib_posix_remove+set}" = set; then
21713 echo $ECHO_N "(cached) $ECHO_C" >&6
21714else
21715 ac_check_lib_save_LIBS=$LIBS
21716LIBS="-lposix $LIBS"
21717cat >conftest.$ac_ext <<_ACEOF
21718#line $LINENO "configure"
21719/* confdefs.h. */
21720_ACEOF
21721cat confdefs.h >>conftest.$ac_ext
21722cat >>conftest.$ac_ext <<_ACEOF
21723/* end confdefs.h. */
21724
21725/* Override any gcc2 internal prototype to avoid an error. */
21726#ifdef __cplusplus
21727extern "C"
21728#endif
21729/* We use char because int might match the return type of a gcc2
21730 builtin and then its argument prototype would still apply. */
21731char remove ();
21732int
21733main ()
21734{
21735remove ();
21736 ;
21737 return 0;
21738}
21739_ACEOF
21740rm -f conftest.$ac_objext conftest$ac_exeext
21741if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21742 (eval $ac_link) 2>&5
21743 ac_status=$?
21744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21745 (exit $ac_status); } &&
21746 { ac_try='test -s conftest$ac_exeext'
21747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21748 (eval $ac_try) 2>&5
21749 ac_status=$?
21750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21751 (exit $ac_status); }; }; then
21752 ac_cv_lib_posix_remove=yes
21753else
21754 echo "$as_me: failed program was:" >&5
21755sed 's/^/| /' conftest.$ac_ext >&5
21756
21757ac_cv_lib_posix_remove=no
21758fi
21759rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21760LIBS=$ac_check_lib_save_LIBS
21761fi
21762echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
21763echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
21764if test $ac_cv_lib_posix_remove = yes; then
21765 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
21766fi
21767
21768 fi
21769
21770 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
21771 echo "$as_me:$LINENO: checking for shmat" >&5
21772echo $ECHO_N "checking for shmat... $ECHO_C" >&6
21773if test "${ac_cv_func_shmat+set}" = set; then
21774 echo $ECHO_N "(cached) $ECHO_C" >&6
21775else
21776 cat >conftest.$ac_ext <<_ACEOF
21777#line $LINENO "configure"
21778/* confdefs.h. */
21779_ACEOF
21780cat confdefs.h >>conftest.$ac_ext
21781cat >>conftest.$ac_ext <<_ACEOF
21782/* end confdefs.h. */
21783/* System header to define __stub macros and hopefully few prototypes,
21784 which can conflict with char shmat (); below.
21785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21786 <limits.h> exists even on freestanding compilers. */
21787#ifdef __STDC__
21788# include <limits.h>
21789#else
21790# include <assert.h>
21791#endif
21792/* Override any gcc2 internal prototype to avoid an error. */
21793#ifdef __cplusplus
21794extern "C"
21795{
21796#endif
21797/* We use char because int might match the return type of a gcc2
21798 builtin and then its argument prototype would still apply. */
21799char shmat ();
21800/* The GNU C library defines this for functions which it implements
21801 to always fail with ENOSYS. Some functions are actually named
21802 something starting with __ and the normal name is an alias. */
21803#if defined (__stub_shmat) || defined (__stub___shmat)
21804choke me
21805#else
21806char (*f) () = shmat;
21807#endif
21808#ifdef __cplusplus
21809}
21810#endif
21811
21812int
21813main ()
21814{
21815return f != shmat;
21816 ;
21817 return 0;
21818}
21819_ACEOF
21820rm -f conftest.$ac_objext conftest$ac_exeext
21821if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21822 (eval $ac_link) 2>&5
21823 ac_status=$?
21824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21825 (exit $ac_status); } &&
21826 { ac_try='test -s conftest$ac_exeext'
21827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21828 (eval $ac_try) 2>&5
21829 ac_status=$?
21830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21831 (exit $ac_status); }; }; then
21832 ac_cv_func_shmat=yes
21833else
21834 echo "$as_me: failed program was:" >&5
21835sed 's/^/| /' conftest.$ac_ext >&5
21836
21837ac_cv_func_shmat=no
21838fi
21839rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21840fi
21841echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
21842echo "${ECHO_T}$ac_cv_func_shmat" >&6
21843
21844 if test $ac_cv_func_shmat = no; then
21845 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
21846echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
21847if test "${ac_cv_lib_ipc_shmat+set}" = set; then
21848 echo $ECHO_N "(cached) $ECHO_C" >&6
21849else
21850 ac_check_lib_save_LIBS=$LIBS
21851LIBS="-lipc $LIBS"
21852cat >conftest.$ac_ext <<_ACEOF
21853#line $LINENO "configure"
21854/* confdefs.h. */
21855_ACEOF
21856cat confdefs.h >>conftest.$ac_ext
21857cat >>conftest.$ac_ext <<_ACEOF
21858/* end confdefs.h. */
21859
21860/* Override any gcc2 internal prototype to avoid an error. */
21861#ifdef __cplusplus
21862extern "C"
21863#endif
21864/* We use char because int might match the return type of a gcc2
21865 builtin and then its argument prototype would still apply. */
21866char shmat ();
21867int
21868main ()
21869{
21870shmat ();
21871 ;
21872 return 0;
21873}
21874_ACEOF
21875rm -f conftest.$ac_objext conftest$ac_exeext
21876if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21877 (eval $ac_link) 2>&5
21878 ac_status=$?
21879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21880 (exit $ac_status); } &&
21881 { ac_try='test -s conftest$ac_exeext'
21882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21883 (eval $ac_try) 2>&5
21884 ac_status=$?
21885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21886 (exit $ac_status); }; }; then
21887 ac_cv_lib_ipc_shmat=yes
21888else
21889 echo "$as_me: failed program was:" >&5
21890sed 's/^/| /' conftest.$ac_ext >&5
21891
21892ac_cv_lib_ipc_shmat=no
21893fi
21894rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21895LIBS=$ac_check_lib_save_LIBS
21896fi
21897echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
21898echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
21899if test $ac_cv_lib_ipc_shmat = yes; then
21900 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
21901fi
21902
21903 fi
21904 fi
21905
21906 # Check for libraries that X11R6 Xt/Xaw programs need.
21907 ac_save_LDFLAGS=$LDFLAGS
21908 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
21909 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
21910 # check for ICE first), but we must link in the order -lSM -lICE or
21911 # we get undefined symbols. So assume we have SM if we have ICE.
21912 # These have to be linked with before -lX11, unlike the other
21913 # libraries we check for below, so use a different variable.
21914 # John Interrante, Karl Berry
21915 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
21916echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
21917if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
21918 echo $ECHO_N "(cached) $ECHO_C" >&6
21919else
21920 ac_check_lib_save_LIBS=$LIBS
21921LIBS="-lICE $X_EXTRA_LIBS $LIBS"
21922cat >conftest.$ac_ext <<_ACEOF
21923#line $LINENO "configure"
21924/* confdefs.h. */
21925_ACEOF
21926cat confdefs.h >>conftest.$ac_ext
21927cat >>conftest.$ac_ext <<_ACEOF
21928/* end confdefs.h. */
21929
21930/* Override any gcc2 internal prototype to avoid an error. */
21931#ifdef __cplusplus
21932extern "C"
21933#endif
21934/* We use char because int might match the return type of a gcc2
21935 builtin and then its argument prototype would still apply. */
21936char IceConnectionNumber ();
21937int
21938main ()
21939{
21940IceConnectionNumber ();
21941 ;
21942 return 0;
21943}
21944_ACEOF
21945rm -f conftest.$ac_objext conftest$ac_exeext
21946if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21947 (eval $ac_link) 2>&5
21948 ac_status=$?
21949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21950 (exit $ac_status); } &&
21951 { ac_try='test -s conftest$ac_exeext'
21952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21953 (eval $ac_try) 2>&5
21954 ac_status=$?
21955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21956 (exit $ac_status); }; }; then
21957 ac_cv_lib_ICE_IceConnectionNumber=yes
21958else
21959 echo "$as_me: failed program was:" >&5
21960sed 's/^/| /' conftest.$ac_ext >&5
21961
21962ac_cv_lib_ICE_IceConnectionNumber=no
21963fi
21964rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21965LIBS=$ac_check_lib_save_LIBS
21966fi
21967echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
21968echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
21969if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
21970 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
21971fi
21972
21973 LDFLAGS=$ac_save_LDFLAGS
21974
21975fi
21976
21977
21978 if test "$no_x" = "yes"; then
21979 { { echo "$as_me:$LINENO: error: X11 not found" >&5
21980echo "$as_me: error: X11 not found" >&2;}
21981 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
21982 fi
21983
21984 GUI_TK_LIBRARY="$X_LIBS"
21985 TOOLKIT_INCLUDE="$X_CFLAGS"
21986 AFMINSTALL=afminstall
21987 COMPILED_X_PROGRAM=0
21988
21989 if test "$wxUSE_NANOX" = "yes"; then
21990 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
21991echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
21992 if test "x$MICROWIN" = x ; then
21993 echo "$as_me:$LINENO: result: not found" >&5
21994echo "${ECHO_T}not found" >&6
21995 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
21996echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
21997 { (exit 1); exit 1; }; }
21998 else
21999 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22000echo "${ECHO_T}$MICROWIN" >&6
22001 cat >>confdefs.h <<\_ACEOF
22002#define wxUSE_NANOX 1
22003_ACEOF
22004
22005 fi
22006 fi
22007
22008 xpm_link=
22009 echo "$as_me:$LINENO: checking for Xpm library" >&5
22010echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22011
22012ac_find_libraries=
22013for ac_dir in $SEARCH_LIB /usr/lib;
22014 do
22015 for ac_extension in a so sl dylib; do
22016 if test -f "$ac_dir/libXpm.$ac_extension"; then
22017 ac_find_libraries=$ac_dir
22018 break 2
22019 fi
22020 done
22021 done
22022
22023 if test "$ac_find_libraries" != "" ; then
22024
22025 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
22026 result=$?
22027 if test $result = 0; then
22028 ac_path_to_link=""
22029 else
22030 ac_path_to_link=" -L$ac_find_libraries"
22031 fi
22032
22033 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
22034 xpm_link=" -lXpm"
22035 cat >>confdefs.h <<\_ACEOF
22036#define wxHAVE_LIB_XPM 1
22037_ACEOF
22038
22039 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22040echo "${ECHO_T}found at $ac_find_libraries" >&6
22041 else
22042 cat >conftest.$ac_ext <<_ACEOF
22043#line $LINENO "configure"
22044/* confdefs.h. */
22045_ACEOF
22046cat confdefs.h >>conftest.$ac_ext
22047cat >>conftest.$ac_ext <<_ACEOF
22048/* end confdefs.h. */
22049
22050 #include <X11/xpm.h>
22051
22052int
22053main ()
22054{
22055
22056 int version;
22057 version = XpmLibraryVersion();
22058
22059 ;
22060 return 0;
22061}
22062_ACEOF
22063rm -f conftest.$ac_objext
22064if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22065 (eval $ac_compile) 2>&5
22066 ac_status=$?
22067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22068 (exit $ac_status); } &&
22069 { ac_try='test -s conftest.$ac_objext'
22070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22071 (eval $ac_try) 2>&5
22072 ac_status=$?
22073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22074 (exit $ac_status); }; }; then
22075
22076 xpm_link=" -lXpm"
22077 cat >>confdefs.h <<\_ACEOF
22078#define wxHAVE_LIB_XPM 1
22079_ACEOF
22080
22081 echo "$as_me:$LINENO: result: found in default search path" >&5
22082echo "${ECHO_T}found in default search path" >&6
22083 COMPILED_X_PROGRAM=0
22084
22085else
22086 echo "$as_me: failed program was:" >&5
22087sed 's/^/| /' conftest.$ac_ext >&5
22088
22089
22090 echo "$as_me:$LINENO: result: no" >&5
22091echo "${ECHO_T}no" >&6
22092 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22093echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22094
22095
22096fi
22097rm -f conftest.$ac_objext conftest.$ac_ext
22098 fi
22099
22100 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22101echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22102if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22103 echo $ECHO_N "(cached) $ECHO_C" >&6
22104else
22105 ac_check_lib_save_LIBS=$LIBS
22106LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22107cat >conftest.$ac_ext <<_ACEOF
22108#line $LINENO "configure"
22109/* confdefs.h. */
22110_ACEOF
22111cat confdefs.h >>conftest.$ac_ext
22112cat >>conftest.$ac_ext <<_ACEOF
22113/* end confdefs.h. */
22114
22115/* Override any gcc2 internal prototype to avoid an error. */
22116#ifdef __cplusplus
22117extern "C"
22118#endif
22119/* We use char because int might match the return type of a gcc2
22120 builtin and then its argument prototype would still apply. */
22121char XShapeQueryExtension ();
22122int
22123main ()
22124{
22125XShapeQueryExtension ();
22126 ;
22127 return 0;
22128}
22129_ACEOF
22130rm -f conftest.$ac_objext conftest$ac_exeext
22131if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22132 (eval $ac_link) 2>&5
22133 ac_status=$?
22134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22135 (exit $ac_status); } &&
22136 { ac_try='test -s conftest$ac_exeext'
22137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22138 (eval $ac_try) 2>&5
22139 ac_status=$?
22140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22141 (exit $ac_status); }; }; then
22142 ac_cv_lib_Xext_XShapeQueryExtension=yes
22143else
22144 echo "$as_me: failed program was:" >&5
22145sed 's/^/| /' conftest.$ac_ext >&5
22146
22147ac_cv_lib_Xext_XShapeQueryExtension=no
22148fi
22149rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22150LIBS=$ac_check_lib_save_LIBS
22151fi
22152echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22153echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22154if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22155
22156 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
22157 wxHAVE_XEXT_LIB=1
22158
22159fi
22160
22161
22162 if test "$wxUSE_UNICODE" = "yes"; then
22163
22164 succeeded=no
22165
22166 if test -z "$PKG_CONFIG"; then
22167 # Extract the first word of "pkg-config", so it can be a program name with args.
22168set dummy pkg-config; ac_word=$2
22169echo "$as_me:$LINENO: checking for $ac_word" >&5
22170echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22171if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22172 echo $ECHO_N "(cached) $ECHO_C" >&6
22173else
22174 case $PKG_CONFIG in
22175 [\\/]* | ?:[\\/]*)
22176 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22177 ;;
22178 *)
22179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22180for as_dir in $PATH
22181do
22182 IFS=$as_save_IFS
22183 test -z "$as_dir" && as_dir=.
22184 for ac_exec_ext in '' $ac_executable_extensions; do
22185 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22186 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22188 break 2
22189 fi
22190done
22191done
22192
22193 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22194 ;;
22195esac
22196fi
22197PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22198
22199if test -n "$PKG_CONFIG"; then
22200 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22201echo "${ECHO_T}$PKG_CONFIG" >&6
22202else
22203 echo "$as_me:$LINENO: result: no" >&5
22204echo "${ECHO_T}no" >&6
22205fi
22206
22207 fi
22208
22209 if test "$PKG_CONFIG" = "no" ; then
22210 echo "*** The pkg-config script could not be found. Make sure it is"
22211 echo "*** in your path, or set the PKG_CONFIG environment variable"
22212 echo "*** to the full path to pkg-config."
22213 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22214 else
22215 PKG_CONFIG_MIN_VERSION=0.9.0
22216 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22217 echo "$as_me:$LINENO: checking for pangox" >&5
22218echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22219
22220 if $PKG_CONFIG --exists "pangox" ; then
22221 echo "$as_me:$LINENO: result: yes" >&5
22222echo "${ECHO_T}yes" >&6
22223 succeeded=yes
22224
22225 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22226echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22227 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
22228 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22229echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22230
22231 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22232echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22233 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
22234 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22235echo "${ECHO_T}$PANGOX_LIBS" >&6
22236 else
22237 PANGOX_CFLAGS=""
22238 PANGOX_LIBS=""
22239 ## If we have a custom action on failure, don't print errors, but
22240 ## do set a variable so people can do so.
22241 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22242
22243 fi
22244
22245
22246
22247 else
22248 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22249 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22250 fi
22251 fi
22252
22253 if test $succeeded = yes; then
22254
22255 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
22256 LIBS="$LIBS $PANGOX_LIBS"
22257
22258 else
22259
22260 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22261echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22262 { (exit 1); exit 1; }; }
22263
22264
22265 fi
22266
22267
22268 succeeded=no
22269
22270 if test -z "$PKG_CONFIG"; then
22271 # Extract the first word of "pkg-config", so it can be a program name with args.
22272set dummy pkg-config; ac_word=$2
22273echo "$as_me:$LINENO: checking for $ac_word" >&5
22274echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22275if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22276 echo $ECHO_N "(cached) $ECHO_C" >&6
22277else
22278 case $PKG_CONFIG in
22279 [\\/]* | ?:[\\/]*)
22280 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22281 ;;
22282 *)
22283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22284for as_dir in $PATH
22285do
22286 IFS=$as_save_IFS
22287 test -z "$as_dir" && as_dir=.
22288 for ac_exec_ext in '' $ac_executable_extensions; do
22289 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22290 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22292 break 2
22293 fi
22294done
22295done
22296
22297 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22298 ;;
22299esac
22300fi
22301PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22302
22303if test -n "$PKG_CONFIG"; then
22304 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22305echo "${ECHO_T}$PKG_CONFIG" >&6
22306else
22307 echo "$as_me:$LINENO: result: no" >&5
22308echo "${ECHO_T}no" >&6
22309fi
22310
22311 fi
22312
22313 if test "$PKG_CONFIG" = "no" ; then
22314 echo "*** The pkg-config script could not be found. Make sure it is"
22315 echo "*** in your path, or set the PKG_CONFIG environment variable"
22316 echo "*** to the full path to pkg-config."
22317 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22318 else
22319 PKG_CONFIG_MIN_VERSION=0.9.0
22320 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22321 echo "$as_me:$LINENO: checking for pangoft2" >&5
22322echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22323
22324 if $PKG_CONFIG --exists "pangoft2" ; then
22325 echo "$as_me:$LINENO: result: yes" >&5
22326echo "${ECHO_T}yes" >&6
22327 succeeded=yes
22328
22329 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22330echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22331 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22332 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22333echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22334
22335 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22336echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22337 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22338 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22339echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22340 else
22341 PANGOFT2_CFLAGS=""
22342 PANGOFT2_LIBS=""
22343 ## If we have a custom action on failure, don't print errors, but
22344 ## do set a variable so people can do so.
22345 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22346
22347 fi
22348
22349
22350
22351 else
22352 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22353 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22354 fi
22355 fi
22356
22357 if test $succeeded = yes; then
22358
22359 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22360 LIBS="$LIBS $PANGOFT2_LIBS"
22361
22362 else
22363
22364 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22365echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22366 wxUSE_PRINTING_ARCHITECTURE="no"
22367
22368
22369 fi
22370
22371
22372 succeeded=no
22373
22374 if test -z "$PKG_CONFIG"; then
22375 # Extract the first word of "pkg-config", so it can be a program name with args.
22376set dummy pkg-config; ac_word=$2
22377echo "$as_me:$LINENO: checking for $ac_word" >&5
22378echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22379if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22380 echo $ECHO_N "(cached) $ECHO_C" >&6
22381else
22382 case $PKG_CONFIG in
22383 [\\/]* | ?:[\\/]*)
22384 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22385 ;;
22386 *)
22387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22388for as_dir in $PATH
22389do
22390 IFS=$as_save_IFS
22391 test -z "$as_dir" && as_dir=.
22392 for ac_exec_ext in '' $ac_executable_extensions; do
22393 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22394 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22396 break 2
22397 fi
22398done
22399done
22400
22401 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22402 ;;
22403esac
22404fi
22405PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22406
22407if test -n "$PKG_CONFIG"; then
22408 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22409echo "${ECHO_T}$PKG_CONFIG" >&6
22410else
22411 echo "$as_me:$LINENO: result: no" >&5
22412echo "${ECHO_T}no" >&6
22413fi
22414
22415 fi
22416
22417 if test "$PKG_CONFIG" = "no" ; then
22418 echo "*** The pkg-config script could not be found. Make sure it is"
22419 echo "*** in your path, or set the PKG_CONFIG environment variable"
22420 echo "*** to the full path to pkg-config."
22421 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22422 else
22423 PKG_CONFIG_MIN_VERSION=0.9.0
22424 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22425 echo "$as_me:$LINENO: checking for pangoxft" >&5
22426echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22427
22428 if $PKG_CONFIG --exists "pangoxft" ; then
22429 echo "$as_me:$LINENO: result: yes" >&5
22430echo "${ECHO_T}yes" >&6
22431 succeeded=yes
22432
22433 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22434echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22435 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
22436 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22437echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22438
22439 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22440echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22441 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
22442 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22443echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22444 else
22445 PANGOXFT_CFLAGS=""
22446 PANGOXFT_LIBS=""
22447 ## If we have a custom action on failure, don't print errors, but
22448 ## do set a variable so people can do so.
22449 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22450
22451 fi
22452
22453
22454
22455 else
22456 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22457 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22458 fi
22459 fi
22460
22461 if test $succeeded = yes; then
22462
22463 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
22464 LIBS="$LIBS $PANGOXFT_LIBS"
22465
22466 else
22467
22468 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22469echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22470
22471
22472 fi
22473
22474 fi
22475
22476 wxUSE_UNIVERSAL="yes"
22477
22478 if test "$wxUSE_NANOX" = "yes"; then
22479 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22480 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"
22481 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22482 else
22483 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link"
22484 fi
22485
22486 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
22487 TOOLKIT=X11
22488 GUIDIST=X11_DIST
22489 fi
22490
22491 if test "$wxUSE_MOTIF" = 1; then
22492 if test "$no_x" = yes; then
22493 # Not all programs may use this symbol, but it does not hurt to define it.
22494
22495cat >>confdefs.h <<\_ACEOF
22496#define X_DISPLAY_MISSING 1
22497_ACEOF
22498
22499 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22500else
22501 if test -n "$x_includes"; then
22502 X_CFLAGS="$X_CFLAGS -I$x_includes"
22503 fi
22504
22505 # It would also be nice to do this for all -L options, not just this one.
22506 if test -n "$x_libraries"; then
22507 X_LIBS="$X_LIBS -L$x_libraries"
22508 # For Solaris; some versions of Sun CC require a space after -R and
22509 # others require no space. Words are not sufficient . . . .
22510 case `(uname -sr) 2>/dev/null` in
22511 "SunOS 5"*)
22512 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22513echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22514 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22515 cat >conftest.$ac_ext <<_ACEOF
22516#line $LINENO "configure"
22517/* confdefs.h. */
22518_ACEOF
22519cat confdefs.h >>conftest.$ac_ext
22520cat >>conftest.$ac_ext <<_ACEOF
22521/* end confdefs.h. */
22522
22523int
22524main ()
22525{
22526
22527 ;
22528 return 0;
22529}
22530_ACEOF
22531rm -f conftest.$ac_objext conftest$ac_exeext
22532if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22533 (eval $ac_link) 2>&5
22534 ac_status=$?
22535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22536 (exit $ac_status); } &&
22537 { ac_try='test -s conftest$ac_exeext'
22538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22539 (eval $ac_try) 2>&5
22540 ac_status=$?
22541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22542 (exit $ac_status); }; }; then
22543 ac_R_nospace=yes
22544else
22545 echo "$as_me: failed program was:" >&5
22546sed 's/^/| /' conftest.$ac_ext >&5
22547
22548ac_R_nospace=no
22549fi
22550rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22551 if test $ac_R_nospace = yes; then
22552 echo "$as_me:$LINENO: result: no" >&5
22553echo "${ECHO_T}no" >&6
22554 X_LIBS="$X_LIBS -R$x_libraries"
22555 else
22556 LIBS="$ac_xsave_LIBS -R $x_libraries"
22557 cat >conftest.$ac_ext <<_ACEOF
22558#line $LINENO "configure"
22559/* confdefs.h. */
22560_ACEOF
22561cat confdefs.h >>conftest.$ac_ext
22562cat >>conftest.$ac_ext <<_ACEOF
22563/* end confdefs.h. */
22564
22565int
22566main ()
22567{
22568
22569 ;
22570 return 0;
22571}
22572_ACEOF
22573rm -f conftest.$ac_objext conftest$ac_exeext
22574if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22575 (eval $ac_link) 2>&5
22576 ac_status=$?
22577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22578 (exit $ac_status); } &&
22579 { ac_try='test -s conftest$ac_exeext'
22580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22581 (eval $ac_try) 2>&5
22582 ac_status=$?
22583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22584 (exit $ac_status); }; }; then
22585 ac_R_space=yes
22586else
22587 echo "$as_me: failed program was:" >&5
22588sed 's/^/| /' conftest.$ac_ext >&5
22589
22590ac_R_space=no
22591fi
22592rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22593 if test $ac_R_space = yes; then
22594 echo "$as_me:$LINENO: result: yes" >&5
22595echo "${ECHO_T}yes" >&6
22596 X_LIBS="$X_LIBS -R $x_libraries"
22597 else
22598 echo "$as_me:$LINENO: result: neither works" >&5
22599echo "${ECHO_T}neither works" >&6
22600 fi
22601 fi
22602 LIBS=$ac_xsave_LIBS
22603 esac
22604 fi
22605
22606 # Check for system-dependent libraries X programs must link with.
22607 # Do this before checking for the system-independent R6 libraries
22608 # (-lICE), since we may need -lsocket or whatever for X linking.
22609
22610 if test "$ISC" = yes; then
22611 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
22612 else
22613 # Martyn Johnson says this is needed for Ultrix, if the X
22614 # libraries were built with DECnet support. And Karl Berry says
22615 # the Alpha needs dnet_stub (dnet does not exist).
22616 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
22617 cat >conftest.$ac_ext <<_ACEOF
22618#line $LINENO "configure"
22619/* confdefs.h. */
22620_ACEOF
22621cat confdefs.h >>conftest.$ac_ext
22622cat >>conftest.$ac_ext <<_ACEOF
22623/* end confdefs.h. */
22624
22625/* Override any gcc2 internal prototype to avoid an error. */
22626#ifdef __cplusplus
22627extern "C"
22628#endif
22629/* We use char because int might match the return type of a gcc2
22630 builtin and then its argument prototype would still apply. */
22631char XOpenDisplay ();
22632int
22633main ()
22634{
22635XOpenDisplay ();
22636 ;
22637 return 0;
22638}
22639_ACEOF
22640rm -f conftest.$ac_objext conftest$ac_exeext
22641if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22642 (eval $ac_link) 2>&5
22643 ac_status=$?
22644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22645 (exit $ac_status); } &&
22646 { ac_try='test -s conftest$ac_exeext'
22647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22648 (eval $ac_try) 2>&5
22649 ac_status=$?
22650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22651 (exit $ac_status); }; }; then
22652 :
22653else
22654 echo "$as_me: failed program was:" >&5
22655sed 's/^/| /' conftest.$ac_ext >&5
22656
22657echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22658echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22659if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22660 echo $ECHO_N "(cached) $ECHO_C" >&6
22661else
22662 ac_check_lib_save_LIBS=$LIBS
22663LIBS="-ldnet $LIBS"
22664cat >conftest.$ac_ext <<_ACEOF
22665#line $LINENO "configure"
22666/* confdefs.h. */
22667_ACEOF
22668cat confdefs.h >>conftest.$ac_ext
22669cat >>conftest.$ac_ext <<_ACEOF
22670/* end confdefs.h. */
22671
22672/* Override any gcc2 internal prototype to avoid an error. */
22673#ifdef __cplusplus
22674extern "C"
22675#endif
22676/* We use char because int might match the return type of a gcc2
22677 builtin and then its argument prototype would still apply. */
22678char dnet_ntoa ();
22679int
22680main ()
22681{
22682dnet_ntoa ();
22683 ;
22684 return 0;
22685}
22686_ACEOF
22687rm -f conftest.$ac_objext conftest$ac_exeext
22688if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22689 (eval $ac_link) 2>&5
22690 ac_status=$?
22691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22692 (exit $ac_status); } &&
22693 { ac_try='test -s conftest$ac_exeext'
22694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22695 (eval $ac_try) 2>&5
22696 ac_status=$?
22697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22698 (exit $ac_status); }; }; then
22699 ac_cv_lib_dnet_dnet_ntoa=yes
22700else
22701 echo "$as_me: failed program was:" >&5
22702sed 's/^/| /' conftest.$ac_ext >&5
22703
22704ac_cv_lib_dnet_dnet_ntoa=no
22705fi
22706rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22707LIBS=$ac_check_lib_save_LIBS
22708fi
22709echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22710echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22711if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22712 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
22713fi
22714
22715 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
22716 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22717echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
22718if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22719 echo $ECHO_N "(cached) $ECHO_C" >&6
22720else
22721 ac_check_lib_save_LIBS=$LIBS
22722LIBS="-ldnet_stub $LIBS"
22723cat >conftest.$ac_ext <<_ACEOF
22724#line $LINENO "configure"
22725/* confdefs.h. */
22726_ACEOF
22727cat confdefs.h >>conftest.$ac_ext
22728cat >>conftest.$ac_ext <<_ACEOF
22729/* end confdefs.h. */
22730
22731/* Override any gcc2 internal prototype to avoid an error. */
22732#ifdef __cplusplus
22733extern "C"
22734#endif
22735/* We use char because int might match the return type of a gcc2
22736 builtin and then its argument prototype would still apply. */
22737char dnet_ntoa ();
22738int
22739main ()
22740{
22741dnet_ntoa ();
22742 ;
22743 return 0;
22744}
22745_ACEOF
22746rm -f conftest.$ac_objext conftest$ac_exeext
22747if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22748 (eval $ac_link) 2>&5
22749 ac_status=$?
22750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22751 (exit $ac_status); } &&
22752 { ac_try='test -s conftest$ac_exeext'
22753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22754 (eval $ac_try) 2>&5
22755 ac_status=$?
22756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22757 (exit $ac_status); }; }; then
22758 ac_cv_lib_dnet_stub_dnet_ntoa=yes
22759else
22760 echo "$as_me: failed program was:" >&5
22761sed 's/^/| /' conftest.$ac_ext >&5
22762
22763ac_cv_lib_dnet_stub_dnet_ntoa=no
22764fi
22765rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22766LIBS=$ac_check_lib_save_LIBS
22767fi
22768echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22769echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
22770if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
22771 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
22772fi
22773
22774 fi
22775fi
22776rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22777 LIBS="$ac_xsave_LIBS"
22778
22779 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22780 # to get the SysV transport functions.
22781 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22782 # needs -lnsl.
22783 # The nsl library prevents programs from opening the X display
22784 # on Irix 5.2, according to T.E. Dickey.
22785 # The functions gethostbyname, getservbyname, and inet_addr are
22786 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22787 echo "$as_me:$LINENO: checking for gethostbyname" >&5
22788echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
22789if test "${ac_cv_func_gethostbyname+set}" = set; then
22790 echo $ECHO_N "(cached) $ECHO_C" >&6
22791else
22792 cat >conftest.$ac_ext <<_ACEOF
22793#line $LINENO "configure"
22794/* confdefs.h. */
22795_ACEOF
22796cat confdefs.h >>conftest.$ac_ext
22797cat >>conftest.$ac_ext <<_ACEOF
22798/* end confdefs.h. */
22799/* System header to define __stub macros and hopefully few prototypes,
22800 which can conflict with char gethostbyname (); below.
22801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22802 <limits.h> exists even on freestanding compilers. */
22803#ifdef __STDC__
22804# include <limits.h>
22805#else
22806# include <assert.h>
22807#endif
22808/* Override any gcc2 internal prototype to avoid an error. */
22809#ifdef __cplusplus
22810extern "C"
22811{
22812#endif
22813/* We use char because int might match the return type of a gcc2
22814 builtin and then its argument prototype would still apply. */
22815char gethostbyname ();
22816/* The GNU C library defines this for functions which it implements
22817 to always fail with ENOSYS. Some functions are actually named
22818 something starting with __ and the normal name is an alias. */
22819#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
22820choke me
22821#else
22822char (*f) () = gethostbyname;
22823#endif
22824#ifdef __cplusplus
22825}
22826#endif
22827
22828int
22829main ()
22830{
22831return f != gethostbyname;
22832 ;
22833 return 0;
22834}
22835_ACEOF
22836rm -f conftest.$ac_objext conftest$ac_exeext
22837if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22838 (eval $ac_link) 2>&5
22839 ac_status=$?
22840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22841 (exit $ac_status); } &&
22842 { ac_try='test -s conftest$ac_exeext'
22843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22844 (eval $ac_try) 2>&5
22845 ac_status=$?
22846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22847 (exit $ac_status); }; }; then
22848 ac_cv_func_gethostbyname=yes
22849else
22850 echo "$as_me: failed program was:" >&5
22851sed 's/^/| /' conftest.$ac_ext >&5
22852
22853ac_cv_func_gethostbyname=no
22854fi
22855rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22856fi
22857echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22858echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
22859
22860 if test $ac_cv_func_gethostbyname = no; then
22861 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22862echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
22863if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22864 echo $ECHO_N "(cached) $ECHO_C" >&6
22865else
22866 ac_check_lib_save_LIBS=$LIBS
22867LIBS="-lnsl $LIBS"
22868cat >conftest.$ac_ext <<_ACEOF
22869#line $LINENO "configure"
22870/* confdefs.h. */
22871_ACEOF
22872cat confdefs.h >>conftest.$ac_ext
22873cat >>conftest.$ac_ext <<_ACEOF
22874/* end confdefs.h. */
22875
22876/* Override any gcc2 internal prototype to avoid an error. */
22877#ifdef __cplusplus
22878extern "C"
22879#endif
22880/* We use char because int might match the return type of a gcc2
22881 builtin and then its argument prototype would still apply. */
22882char gethostbyname ();
22883int
22884main ()
22885{
22886gethostbyname ();
22887 ;
22888 return 0;
22889}
22890_ACEOF
22891rm -f conftest.$ac_objext conftest$ac_exeext
22892if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22893 (eval $ac_link) 2>&5
22894 ac_status=$?
22895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22896 (exit $ac_status); } &&
22897 { ac_try='test -s conftest$ac_exeext'
22898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22899 (eval $ac_try) 2>&5
22900 ac_status=$?
22901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22902 (exit $ac_status); }; }; then
22903 ac_cv_lib_nsl_gethostbyname=yes
22904else
22905 echo "$as_me: failed program was:" >&5
22906sed 's/^/| /' conftest.$ac_ext >&5
22907
22908ac_cv_lib_nsl_gethostbyname=no
22909fi
22910rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22911LIBS=$ac_check_lib_save_LIBS
22912fi
22913echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22914echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
22915if test $ac_cv_lib_nsl_gethostbyname = yes; then
22916 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
22917fi
22918
22919 if test $ac_cv_lib_nsl_gethostbyname = no; then
22920 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22921echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
22922if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22923 echo $ECHO_N "(cached) $ECHO_C" >&6
22924else
22925 ac_check_lib_save_LIBS=$LIBS
22926LIBS="-lbsd $LIBS"
22927cat >conftest.$ac_ext <<_ACEOF
22928#line $LINENO "configure"
22929/* confdefs.h. */
22930_ACEOF
22931cat confdefs.h >>conftest.$ac_ext
22932cat >>conftest.$ac_ext <<_ACEOF
22933/* end confdefs.h. */
22934
22935/* Override any gcc2 internal prototype to avoid an error. */
22936#ifdef __cplusplus
22937extern "C"
22938#endif
22939/* We use char because int might match the return type of a gcc2
22940 builtin and then its argument prototype would still apply. */
22941char gethostbyname ();
22942int
22943main ()
22944{
22945gethostbyname ();
22946 ;
22947 return 0;
22948}
22949_ACEOF
22950rm -f conftest.$ac_objext conftest$ac_exeext
22951if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22952 (eval $ac_link) 2>&5
22953 ac_status=$?
22954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22955 (exit $ac_status); } &&
22956 { ac_try='test -s conftest$ac_exeext'
22957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22958 (eval $ac_try) 2>&5
22959 ac_status=$?
22960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22961 (exit $ac_status); }; }; then
22962 ac_cv_lib_bsd_gethostbyname=yes
22963else
22964 echo "$as_me: failed program was:" >&5
22965sed 's/^/| /' conftest.$ac_ext >&5
22966
22967ac_cv_lib_bsd_gethostbyname=no
22968fi
22969rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22970LIBS=$ac_check_lib_save_LIBS
22971fi
22972echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
22973echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
22974if test $ac_cv_lib_bsd_gethostbyname = yes; then
22975 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
22976fi
22977
22978 fi
22979 fi
22980
22981 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22982 # socket/setsockopt and other routines are undefined under SCO ODT
22983 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22984 # on later versions), says Simon Leinen: it contains gethostby*
22985 # variants that don't use the name server (or something). -lsocket
22986 # must be given before -lnsl if both are needed. We assume that
22987 # if connect needs -lnsl, so does gethostbyname.
22988 echo "$as_me:$LINENO: checking for connect" >&5
22989echo $ECHO_N "checking for connect... $ECHO_C" >&6
22990if test "${ac_cv_func_connect+set}" = set; then
22991 echo $ECHO_N "(cached) $ECHO_C" >&6
22992else
22993 cat >conftest.$ac_ext <<_ACEOF
22994#line $LINENO "configure"
22995/* confdefs.h. */
22996_ACEOF
22997cat confdefs.h >>conftest.$ac_ext
22998cat >>conftest.$ac_ext <<_ACEOF
22999/* end confdefs.h. */
23000/* System header to define __stub macros and hopefully few prototypes,
23001 which can conflict with char connect (); below.
23002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23003 <limits.h> exists even on freestanding compilers. */
23004#ifdef __STDC__
23005# include <limits.h>
23006#else
23007# include <assert.h>
23008#endif
23009/* Override any gcc2 internal prototype to avoid an error. */
23010#ifdef __cplusplus
23011extern "C"
23012{
23013#endif
23014/* We use char because int might match the return type of a gcc2
23015 builtin and then its argument prototype would still apply. */
23016char connect ();
23017/* The GNU C library defines this for functions which it implements
23018 to always fail with ENOSYS. Some functions are actually named
23019 something starting with __ and the normal name is an alias. */
23020#if defined (__stub_connect) || defined (__stub___connect)
23021choke me
23022#else
23023char (*f) () = connect;
23024#endif
23025#ifdef __cplusplus
23026}
23027#endif
23028
23029int
23030main ()
23031{
23032return f != connect;
23033 ;
23034 return 0;
23035}
23036_ACEOF
23037rm -f conftest.$ac_objext conftest$ac_exeext
23038if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23039 (eval $ac_link) 2>&5
23040 ac_status=$?
23041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23042 (exit $ac_status); } &&
23043 { ac_try='test -s conftest$ac_exeext'
23044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23045 (eval $ac_try) 2>&5
23046 ac_status=$?
23047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23048 (exit $ac_status); }; }; then
23049 ac_cv_func_connect=yes
23050else
23051 echo "$as_me: failed program was:" >&5
23052sed 's/^/| /' conftest.$ac_ext >&5
23053
23054ac_cv_func_connect=no
23055fi
23056rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23057fi
23058echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23059echo "${ECHO_T}$ac_cv_func_connect" >&6
23060
23061 if test $ac_cv_func_connect = no; then
23062 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23063echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23064if test "${ac_cv_lib_socket_connect+set}" = set; then
23065 echo $ECHO_N "(cached) $ECHO_C" >&6
23066else
23067 ac_check_lib_save_LIBS=$LIBS
23068LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23069cat >conftest.$ac_ext <<_ACEOF
23070#line $LINENO "configure"
23071/* confdefs.h. */
23072_ACEOF
23073cat confdefs.h >>conftest.$ac_ext
23074cat >>conftest.$ac_ext <<_ACEOF
23075/* end confdefs.h. */
23076
23077/* Override any gcc2 internal prototype to avoid an error. */
23078#ifdef __cplusplus
23079extern "C"
23080#endif
23081/* We use char because int might match the return type of a gcc2
23082 builtin and then its argument prototype would still apply. */
23083char connect ();
23084int
23085main ()
23086{
23087connect ();
23088 ;
23089 return 0;
23090}
23091_ACEOF
23092rm -f conftest.$ac_objext conftest$ac_exeext
23093if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23094 (eval $ac_link) 2>&5
23095 ac_status=$?
23096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23097 (exit $ac_status); } &&
23098 { ac_try='test -s conftest$ac_exeext'
23099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23100 (eval $ac_try) 2>&5
23101 ac_status=$?
23102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23103 (exit $ac_status); }; }; then
23104 ac_cv_lib_socket_connect=yes
23105else
23106 echo "$as_me: failed program was:" >&5
23107sed 's/^/| /' conftest.$ac_ext >&5
23108
23109ac_cv_lib_socket_connect=no
23110fi
23111rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23112LIBS=$ac_check_lib_save_LIBS
23113fi
23114echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23115echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23116if test $ac_cv_lib_socket_connect = yes; then
23117 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23118fi
23119
23120 fi
23121
23122 # Guillermo Gomez says -lposix is necessary on A/UX.
23123 echo "$as_me:$LINENO: checking for remove" >&5
23124echo $ECHO_N "checking for remove... $ECHO_C" >&6
23125if test "${ac_cv_func_remove+set}" = set; then
23126 echo $ECHO_N "(cached) $ECHO_C" >&6
23127else
23128 cat >conftest.$ac_ext <<_ACEOF
23129#line $LINENO "configure"
23130/* confdefs.h. */
23131_ACEOF
23132cat confdefs.h >>conftest.$ac_ext
23133cat >>conftest.$ac_ext <<_ACEOF
23134/* end confdefs.h. */
23135/* System header to define __stub macros and hopefully few prototypes,
23136 which can conflict with char remove (); below.
23137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23138 <limits.h> exists even on freestanding compilers. */
23139#ifdef __STDC__
23140# include <limits.h>
23141#else
23142# include <assert.h>
23143#endif
23144/* Override any gcc2 internal prototype to avoid an error. */
23145#ifdef __cplusplus
23146extern "C"
23147{
23148#endif
23149/* We use char because int might match the return type of a gcc2
23150 builtin and then its argument prototype would still apply. */
23151char remove ();
23152/* The GNU C library defines this for functions which it implements
23153 to always fail with ENOSYS. Some functions are actually named
23154 something starting with __ and the normal name is an alias. */
23155#if defined (__stub_remove) || defined (__stub___remove)
23156choke me
23157#else
23158char (*f) () = remove;
23159#endif
23160#ifdef __cplusplus
23161}
23162#endif
23163
23164int
23165main ()
23166{
23167return f != remove;
23168 ;
23169 return 0;
23170}
23171_ACEOF
23172rm -f conftest.$ac_objext conftest$ac_exeext
23173if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23174 (eval $ac_link) 2>&5
23175 ac_status=$?
23176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23177 (exit $ac_status); } &&
23178 { ac_try='test -s conftest$ac_exeext'
23179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23180 (eval $ac_try) 2>&5
23181 ac_status=$?
23182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23183 (exit $ac_status); }; }; then
23184 ac_cv_func_remove=yes
23185else
23186 echo "$as_me: failed program was:" >&5
23187sed 's/^/| /' conftest.$ac_ext >&5
23188
23189ac_cv_func_remove=no
23190fi
23191rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23192fi
23193echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23194echo "${ECHO_T}$ac_cv_func_remove" >&6
23195
23196 if test $ac_cv_func_remove = no; then
23197 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23198echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23199if test "${ac_cv_lib_posix_remove+set}" = set; then
23200 echo $ECHO_N "(cached) $ECHO_C" >&6
23201else
23202 ac_check_lib_save_LIBS=$LIBS
23203LIBS="-lposix $LIBS"
23204cat >conftest.$ac_ext <<_ACEOF
23205#line $LINENO "configure"
23206/* confdefs.h. */
23207_ACEOF
23208cat confdefs.h >>conftest.$ac_ext
23209cat >>conftest.$ac_ext <<_ACEOF
23210/* end confdefs.h. */
23211
23212/* Override any gcc2 internal prototype to avoid an error. */
23213#ifdef __cplusplus
23214extern "C"
23215#endif
23216/* We use char because int might match the return type of a gcc2
23217 builtin and then its argument prototype would still apply. */
23218char remove ();
23219int
23220main ()
23221{
23222remove ();
23223 ;
23224 return 0;
23225}
23226_ACEOF
23227rm -f conftest.$ac_objext conftest$ac_exeext
23228if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23229 (eval $ac_link) 2>&5
23230 ac_status=$?
23231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23232 (exit $ac_status); } &&
23233 { ac_try='test -s conftest$ac_exeext'
23234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23235 (eval $ac_try) 2>&5
23236 ac_status=$?
23237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23238 (exit $ac_status); }; }; then
23239 ac_cv_lib_posix_remove=yes
23240else
23241 echo "$as_me: failed program was:" >&5
23242sed 's/^/| /' conftest.$ac_ext >&5
23243
23244ac_cv_lib_posix_remove=no
23245fi
23246rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23247LIBS=$ac_check_lib_save_LIBS
23248fi
23249echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23250echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23251if test $ac_cv_lib_posix_remove = yes; then
23252 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23253fi
23254
23255 fi
23256
23257 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23258 echo "$as_me:$LINENO: checking for shmat" >&5
23259echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23260if test "${ac_cv_func_shmat+set}" = set; then
23261 echo $ECHO_N "(cached) $ECHO_C" >&6
23262else
23263 cat >conftest.$ac_ext <<_ACEOF
23264#line $LINENO "configure"
23265/* confdefs.h. */
23266_ACEOF
23267cat confdefs.h >>conftest.$ac_ext
23268cat >>conftest.$ac_ext <<_ACEOF
23269/* end confdefs.h. */
23270/* System header to define __stub macros and hopefully few prototypes,
23271 which can conflict with char shmat (); below.
23272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23273 <limits.h> exists even on freestanding compilers. */
23274#ifdef __STDC__
23275# include <limits.h>
23276#else
23277# include <assert.h>
23278#endif
23279/* Override any gcc2 internal prototype to avoid an error. */
23280#ifdef __cplusplus
23281extern "C"
23282{
23283#endif
23284/* We use char because int might match the return type of a gcc2
23285 builtin and then its argument prototype would still apply. */
23286char shmat ();
23287/* The GNU C library defines this for functions which it implements
23288 to always fail with ENOSYS. Some functions are actually named
23289 something starting with __ and the normal name is an alias. */
23290#if defined (__stub_shmat) || defined (__stub___shmat)
23291choke me
23292#else
23293char (*f) () = shmat;
23294#endif
23295#ifdef __cplusplus
23296}
23297#endif
23298
23299int
23300main ()
23301{
23302return f != shmat;
23303 ;
23304 return 0;
23305}
23306_ACEOF
23307rm -f conftest.$ac_objext conftest$ac_exeext
23308if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23309 (eval $ac_link) 2>&5
23310 ac_status=$?
23311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23312 (exit $ac_status); } &&
23313 { ac_try='test -s conftest$ac_exeext'
23314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23315 (eval $ac_try) 2>&5
23316 ac_status=$?
23317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23318 (exit $ac_status); }; }; then
23319 ac_cv_func_shmat=yes
23320else
23321 echo "$as_me: failed program was:" >&5
23322sed 's/^/| /' conftest.$ac_ext >&5
23323
23324ac_cv_func_shmat=no
23325fi
23326rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23327fi
23328echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23329echo "${ECHO_T}$ac_cv_func_shmat" >&6
23330
23331 if test $ac_cv_func_shmat = no; then
23332 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23333echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23334if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23335 echo $ECHO_N "(cached) $ECHO_C" >&6
23336else
23337 ac_check_lib_save_LIBS=$LIBS
23338LIBS="-lipc $LIBS"
23339cat >conftest.$ac_ext <<_ACEOF
23340#line $LINENO "configure"
23341/* confdefs.h. */
23342_ACEOF
23343cat confdefs.h >>conftest.$ac_ext
23344cat >>conftest.$ac_ext <<_ACEOF
23345/* end confdefs.h. */
23346
23347/* Override any gcc2 internal prototype to avoid an error. */
23348#ifdef __cplusplus
23349extern "C"
23350#endif
23351/* We use char because int might match the return type of a gcc2
23352 builtin and then its argument prototype would still apply. */
23353char shmat ();
23354int
23355main ()
23356{
23357shmat ();
23358 ;
23359 return 0;
23360}
23361_ACEOF
23362rm -f conftest.$ac_objext conftest$ac_exeext
23363if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23364 (eval $ac_link) 2>&5
23365 ac_status=$?
23366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23367 (exit $ac_status); } &&
23368 { ac_try='test -s conftest$ac_exeext'
23369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23370 (eval $ac_try) 2>&5
23371 ac_status=$?
23372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23373 (exit $ac_status); }; }; then
23374 ac_cv_lib_ipc_shmat=yes
23375else
23376 echo "$as_me: failed program was:" >&5
23377sed 's/^/| /' conftest.$ac_ext >&5
23378
23379ac_cv_lib_ipc_shmat=no
23380fi
23381rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23382LIBS=$ac_check_lib_save_LIBS
23383fi
23384echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23385echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23386if test $ac_cv_lib_ipc_shmat = yes; then
23387 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23388fi
23389
23390 fi
23391 fi
23392
23393 # Check for libraries that X11R6 Xt/Xaw programs need.
23394 ac_save_LDFLAGS=$LDFLAGS
23395 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23396 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23397 # check for ICE first), but we must link in the order -lSM -lICE or
23398 # we get undefined symbols. So assume we have SM if we have ICE.
23399 # These have to be linked with before -lX11, unlike the other
23400 # libraries we check for below, so use a different variable.
23401 # John Interrante, Karl Berry
23402 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23403echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23404if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23405 echo $ECHO_N "(cached) $ECHO_C" >&6
23406else
23407 ac_check_lib_save_LIBS=$LIBS
23408LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23409cat >conftest.$ac_ext <<_ACEOF
23410#line $LINENO "configure"
23411/* confdefs.h. */
23412_ACEOF
23413cat confdefs.h >>conftest.$ac_ext
23414cat >>conftest.$ac_ext <<_ACEOF
23415/* end confdefs.h. */
23416
23417/* Override any gcc2 internal prototype to avoid an error. */
23418#ifdef __cplusplus
23419extern "C"
23420#endif
23421/* We use char because int might match the return type of a gcc2
23422 builtin and then its argument prototype would still apply. */
23423char IceConnectionNumber ();
23424int
23425main ()
23426{
23427IceConnectionNumber ();
23428 ;
23429 return 0;
23430}
23431_ACEOF
23432rm -f conftest.$ac_objext conftest$ac_exeext
23433if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23434 (eval $ac_link) 2>&5
23435 ac_status=$?
23436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23437 (exit $ac_status); } &&
23438 { ac_try='test -s conftest$ac_exeext'
23439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23440 (eval $ac_try) 2>&5
23441 ac_status=$?
23442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23443 (exit $ac_status); }; }; then
23444 ac_cv_lib_ICE_IceConnectionNumber=yes
23445else
23446 echo "$as_me: failed program was:" >&5
23447sed 's/^/| /' conftest.$ac_ext >&5
23448
23449ac_cv_lib_ICE_IceConnectionNumber=no
23450fi
23451rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23452LIBS=$ac_check_lib_save_LIBS
23453fi
23454echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23455echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23456if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23457 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23458fi
23459
23460 LDFLAGS=$ac_save_LDFLAGS
23461
23462fi
23463
23464
23465 if test "$no_x" = "yes"; then
23466 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23467echo "$as_me: error: X11 not found" >&2;}
23468 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
23469 fi
23470
23471 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
23472 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
23473 AFMINSTALL=afminstall
23474 COMPILED_X_PROGRAM=0
23475
23476 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23477echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23478
23479ac_find_includes=
23480for ac_dir in $SEARCH_INCLUDE /usr/include;
23481 do
23482 if test -f "$ac_dir/Xm/Xm.h"; then
23483 ac_find_includes=$ac_dir
23484 break
23485 fi
23486 done
23487
23488 if test "$ac_find_includes" != "" ; then
23489 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23490echo "${ECHO_T}found in $ac_find_includes" >&6
23491
23492 if test "x$ac_find_includes" = "x/usr/include"; then
23493 ac_path_to_include=""
23494 else
23495 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
23496 result=$?
23497 if test $result = 0; then
23498 ac_path_to_include=""
23499 else
23500 ac_path_to_include=" -I$ac_find_includes"
23501 fi
23502 fi
23503
23504 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
23505 else
23506 cat >conftest.$ac_ext <<_ACEOF
23507#line $LINENO "configure"
23508/* confdefs.h. */
23509_ACEOF
23510cat confdefs.h >>conftest.$ac_ext
23511cat >>conftest.$ac_ext <<_ACEOF
23512/* end confdefs.h. */
23513
23514 #include <Xm/Xm.h>
23515
23516int
23517main ()
23518{
23519
23520 int version;
23521 version = xmUseVersion;
23522
23523 ;
23524 return 0;
23525}
23526_ACEOF
23527rm -f conftest.$ac_objext
23528if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23529 (eval $ac_compile) 2>&5
23530 ac_status=$?
23531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23532 (exit $ac_status); } &&
23533 { ac_try='test -s conftest.$ac_objext'
23534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23535 (eval $ac_try) 2>&5
23536 ac_status=$?
23537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23538 (exit $ac_status); }; }; then
23539
23540 echo "$as_me:$LINENO: result: found in default search path" >&5
23541echo "${ECHO_T}found in default search path" >&6
23542 COMPILED_X_PROGRAM=1
23543
23544else
23545 echo "$as_me: failed program was:" >&5
23546sed 's/^/| /' conftest.$ac_ext >&5
23547
23548
23549 echo "$as_me:$LINENO: result: no" >&5
23550echo "${ECHO_T}no" >&6
23551 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
23552echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
23553 { (exit 1); exit 1; }; }
23554
23555
23556fi
23557rm -f conftest.$ac_objext conftest.$ac_ext
23558 fi
23559
23560 if test "$COMPILED_X_PROGRAM" = 0; then
23561 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
23562echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
23563
23564ac_find_libraries=
23565for ac_dir in $SEARCH_LIB /usr/lib;
23566 do
23567 for ac_extension in a so sl dylib; do
23568 if test -f "$ac_dir/libXm.$ac_extension"; then
23569 ac_find_libraries=$ac_dir
23570 break 2
23571 fi
23572 done
23573 done
23574
23575 if test "$ac_find_libraries" != "" ; then
23576 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23577echo "${ECHO_T}found at $ac_find_libraries" >&6
23578
23579
23580 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23581 result=$?
23582 if test $result = 0; then
23583 ac_path_to_link=""
23584 else
23585 ac_path_to_link=" -L$ac_find_libraries"
23586 fi
23587
23588 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23589 else
23590 save_CFLAGS=$CFLAGS
23591 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23592
23593 cat >conftest.$ac_ext <<_ACEOF
23594#line $LINENO "configure"
23595/* confdefs.h. */
23596_ACEOF
23597cat confdefs.h >>conftest.$ac_ext
23598cat >>conftest.$ac_ext <<_ACEOF
23599/* end confdefs.h. */
23600
23601 #include <Xm/Xm.h>
23602
23603int
23604main ()
23605{
23606
23607 int version;
23608 version = xmUseVersion;
23609
23610 ;
23611 return 0;
23612}
23613_ACEOF
23614rm -f conftest.$ac_objext
23615if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23616 (eval $ac_compile) 2>&5
23617 ac_status=$?
23618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23619 (exit $ac_status); } &&
23620 { ac_try='test -s conftest.$ac_objext'
23621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23622 (eval $ac_try) 2>&5
23623 ac_status=$?
23624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23625 (exit $ac_status); }; }; then
23626
23627 echo "$as_me:$LINENO: result: found in default search path" >&5
23628echo "${ECHO_T}found in default search path" >&6
23629 COMPILED_X_PROGRAM=1
23630
23631else
23632 echo "$as_me: failed program was:" >&5
23633sed 's/^/| /' conftest.$ac_ext >&5
23634
23635
23636 echo "$as_me:$LINENO: result: no" >&5
23637echo "${ECHO_T}no" >&6
23638 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
23639echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
23640 { (exit 1); exit 1; }; }
23641
23642
23643fi
23644rm -f conftest.$ac_objext conftest.$ac_ext
23645
23646 CFLAGS=$save_CFLAGS
23647 fi
23648 fi
23649
23650 xpm_link=
23651 echo "$as_me:$LINENO: checking for Xpm library" >&5
23652echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
23653
23654ac_find_libraries=
23655for ac_dir in $SEARCH_LIB /usr/lib;
23656 do
23657 for ac_extension in a so sl dylib; do
23658 if test -f "$ac_dir/libXpm.$ac_extension"; then
23659 ac_find_libraries=$ac_dir
23660 break 2
23661 fi
23662 done
23663 done
23664
23665 if test "$ac_find_libraries" != "" ; then
23666
23667 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23668 result=$?
23669 if test $result = 0; then
23670 ac_path_to_link=""
23671 else
23672 ac_path_to_link=" -L$ac_find_libraries"
23673 fi
23674
23675 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23676
23677 xpm_link=" -lXpm"
23678 cat >>confdefs.h <<\_ACEOF
23679#define wxHAVE_LIB_XPM 1
23680_ACEOF
23681
23682 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23683echo "${ECHO_T}found at $ac_find_libraries" >&6
23684 else
23685 save_CFLAGS=$CFLAGS
23686 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23687
23688 cat >conftest.$ac_ext <<_ACEOF
23689#line $LINENO "configure"
23690/* confdefs.h. */
23691_ACEOF
23692cat confdefs.h >>conftest.$ac_ext
23693cat >>conftest.$ac_ext <<_ACEOF
23694/* end confdefs.h. */
23695
23696 #include <X11/xpm.h>
23697
23698int
23699main ()
23700{
23701
23702 int version;
23703 version = XpmLibraryVersion();
23704
23705 ;
23706 return 0;
23707}
23708_ACEOF
23709rm -f conftest.$ac_objext
23710if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23711 (eval $ac_compile) 2>&5
23712 ac_status=$?
23713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23714 (exit $ac_status); } &&
23715 { ac_try='test -s conftest.$ac_objext'
23716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23717 (eval $ac_try) 2>&5
23718 ac_status=$?
23719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23720 (exit $ac_status); }; }; then
23721
23722 xpm_link=" -lXpm"
23723 cat >>confdefs.h <<\_ACEOF
23724#define wxHAVE_LIB_XPM 1
23725_ACEOF
23726
23727 echo "$as_me:$LINENO: result: found in default search path" >&5
23728echo "${ECHO_T}found in default search path" >&6
23729 COMPILED_X_PROGRAM=0
23730
23731else
23732 echo "$as_me: failed program was:" >&5
23733sed 's/^/| /' conftest.$ac_ext >&5
23734
23735
23736 echo "$as_me:$LINENO: result: no" >&5
23737echo "${ECHO_T}no" >&6
23738 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
23739echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
23740
23741
23742fi
23743rm -f conftest.$ac_objext conftest.$ac_ext
23744
23745 CFLAGS=$save_CFLAGS
23746 fi
23747
23748 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
23749echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
23750 libp_link=""
23751 libsm_ice_link=""
23752 libs_found=0
23753 for libp in "" " -lXp"; do
23754 if test "$libs_found" = "0"; then
23755 for libsm_ice in " -lSM -lICE"; do
23756 if test "$libs_found" = "0"; then
23757 save_LIBS="$LIBS"
23758 LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
23759 save_CFLAGS=$CFLAGS
23760 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23761
23762 cat >conftest.$ac_ext <<_ACEOF
23763#line $LINENO "configure"
23764/* confdefs.h. */
23765_ACEOF
23766cat confdefs.h >>conftest.$ac_ext
23767cat >>conftest.$ac_ext <<_ACEOF
23768/* end confdefs.h. */
23769
23770 #include <Xm/Xm.h>
23771 #include <Xm/List.h>
23772
23773int
23774main ()
23775{
23776
23777 XmString string = NULL;
23778 Widget w = NULL;
23779 int position = 0;
23780 XmListAddItem(w, string, position);
23781
23782 ;
23783 return 0;
23784}
23785_ACEOF
23786rm -f conftest.$ac_objext conftest$ac_exeext
23787if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23788 (eval $ac_link) 2>&5
23789 ac_status=$?
23790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23791 (exit $ac_status); } &&
23792 { ac_try='test -s conftest$ac_exeext'
23793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23794 (eval $ac_try) 2>&5
23795 ac_status=$?
23796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23797 (exit $ac_status); }; }; then
23798
23799 libp_link="$libp"
23800 libsm_ice_link="$libsm_ice"
23801 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
23802echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
23803 libs_found=1
23804
23805else
23806 echo "$as_me: failed program was:" >&5
23807sed 's/^/| /' conftest.$ac_ext >&5
23808
23809
23810
23811fi
23812rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23813
23814 LIBS="$save_LIBS"
23815 CFLAGS=$save_CFLAGS
23816 fi
23817 done
23818 fi
23819 done
23820
23821 if test "$libs_found" = "0"; then
23822 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
23823echo "${ECHO_T}can't find the right libraries" >&6
23824 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
23825echo "$as_me: error: can't link a simple motif program" >&2;}
23826 { (exit 1); exit 1; }; }
23827 fi
23828
23829 save_CFLAGS=$CFLAGS
23830 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23831 echo "$as_me:$LINENO: checking for Motif 2" >&5
23832echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
23833 cat >conftest.$ac_ext <<_ACEOF
23834#line $LINENO "configure"
23835/* confdefs.h. */
23836_ACEOF
23837cat confdefs.h >>conftest.$ac_ext
23838cat >>conftest.$ac_ext <<_ACEOF
23839/* end confdefs.h. */
23840
23841 #include <Xm/Xm.h>
23842
23843int
23844main ()
23845{
23846
23847 #if XmVersion < 2000
23848 #error "Not Motif 2"
23849 #endif
23850
23851 ;
23852 return 0;
23853}
23854_ACEOF
23855rm -f conftest.$ac_objext
23856if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23857 (eval $ac_compile) 2>&5
23858 ac_status=$?
23859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23860 (exit $ac_status); } &&
23861 { ac_try='test -s conftest.$ac_objext'
23862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23863 (eval $ac_try) 2>&5
23864 ac_status=$?
23865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23866 (exit $ac_status); }; }; then
23867
23868 cat >>confdefs.h <<\_ACEOF
23869#define __WXMOTIF20__ 1
23870_ACEOF
23871
23872 echo "$as_me:$LINENO: result: found" >&5
23873echo "${ECHO_T}found" >&6
23874
23875else
23876 echo "$as_me: failed program was:" >&5
23877sed 's/^/| /' conftest.$ac_ext >&5
23878
23879
23880 cat >>confdefs.h <<\_ACEOF
23881#define __WXMOTIF20__ 0
23882_ACEOF
23883
23884 echo "$as_me:$LINENO: result: not found" >&5
23885echo "${ECHO_T}not found" >&6
23886
23887fi
23888rm -f conftest.$ac_objext conftest.$ac_ext
23889 CFLAGS=$save_CFLAGS
23890
23891 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
23892 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
23893 TOOLKIT=MOTIF
23894 GUIDIST=MOTIF_DIST
23895 wxHAVE_XEXT_LIB=1
23896 fi
23897
23898 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
23899 test "$wxHAVE_XEXT_LIB" = 1; then
23900 save_CFLAGS="$CFLAGS"
23901 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23902
23903 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
23904echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
23905 cat >conftest.$ac_ext <<_ACEOF
23906#line $LINENO "configure"
23907/* confdefs.h. */
23908_ACEOF
23909cat confdefs.h >>conftest.$ac_ext
23910cat >>conftest.$ac_ext <<_ACEOF
23911/* end confdefs.h. */
23912
23913 #include <X11/Xlib.h>
23914 #include <X11/extensions/shape.h>
23915
23916int
23917main ()
23918{
23919
23920 int dummy1, dummy2;
23921 XShapeQueryExtension((Display*)NULL,
23922 (int*)NULL, (int*)NULL);
23923
23924 ;
23925 return 0;
23926}
23927_ACEOF
23928rm -f conftest.$ac_objext
23929if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23930 (eval $ac_compile) 2>&5
23931 ac_status=$?
23932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23933 (exit $ac_status); } &&
23934 { ac_try='test -s conftest.$ac_objext'
23935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23936 (eval $ac_try) 2>&5
23937 ac_status=$?
23938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23939 (exit $ac_status); }; }; then
23940
23941 cat >>confdefs.h <<\_ACEOF
23942#define HAVE_XSHAPE 1
23943_ACEOF
23944
23945 echo "$as_me:$LINENO: result: found" >&5
23946echo "${ECHO_T}found" >&6
23947
23948else
23949 echo "$as_me: failed program was:" >&5
23950sed 's/^/| /' conftest.$ac_ext >&5
23951
23952
23953 echo "$as_me:$LINENO: result: not found" >&5
23954echo "${ECHO_T}not found" >&6
23955
23956fi
23957rm -f conftest.$ac_objext conftest.$ac_ext
23958 CFLAGS="$save_CFLAGS"
23959 fi
23960
23961 if test "$wxUSE_MAC" = 1; then
23962 CPPFLAGS="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
23963
23964 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
23965 TOOLKIT=MAC
23966 GUIDIST=MACX_DIST
23967 fi
23968
23969 if test "$wxUSE_COCOA" = 1; then
23970 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
23971 TOOLKIT=COCOA
23972 GUIDIST=COCOA_DIST
23973 fi
23974
23975 if test "$wxUSE_PM" = 1; then
23976 TOOLKIT=PM
23977 GUIDIST=GTK_DIST
23978 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
23979echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
23980 wxUSE_THREADS="no"
23981 fi
23982
23983 if test "$TOOLKIT" = "PM" ; then
23984 TOOLKIT_DIR="os2"
23985 else
23986 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
23987 fi
23988
23989 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
23990
23991 if test "$wxUSE_UNIVERSAL" = "yes"; then
23992 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
23993
23994 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
23995 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
23996
23997 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
23998 if test "$wxUSE_X11" = 1; then
23999 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24000 else
24001 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24002 fi
24003 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24004 WIDGET_SET=univ
24005 else
24006 ALL_OBJECTS="\$(GUIOBJS)"
24007 ALL_SOURCES="\$(ALL_SOURCES)"
24008 ALL_HEADERS="\$(ALL_HEADERS)"
24009 fi
24010
24011 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24012
24013 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24014 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
24015 fi
24016
24017 if test "$wxUSE_HTML" = "yes"; then
24018 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
24019 fi
24020
24021 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24022 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
24023 fi
24024 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24025 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
24026 fi
24027 if test "$wxUSE_LIBPNG" = "builtin" ; then
24028 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
24029 fi
24030
24031 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24032 DISTDIR="wx\$(TOOLKIT)"
24033else
24034 USE_GUI=0
24035
24036 TOOLKIT_DIR="base"
24037
24038 if test "$USE_WIN32" = 1 ; then
24039 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24040 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
24041
24042 TOOLKIT="MSW"
24043 else
24044 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24045 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
24046 fi
24047
24048 ALL_SOURCES="\$(ALL_SOURCES)"
24049 ALL_HEADERS="\$(ALL_HEADERS)"
24050
24051 PORT_FILES="\${top_srcdir}/src/files.lst"
24052
24053 GUIDIST="BASE_DIST"
24054 DISTDIR="wxBase"
24055fi
24056
24057
24058
24059
24060IODBC_C_SRC=""
24061
24062
24063if test "$TOOLKIT" != "MSW" ; then
24064
24065 if test "$wxUSE_ODBC" != "no" ; then
24066 cat >>confdefs.h <<\_ACEOF
24067#define wxUSE_ODBC 1
24068_ACEOF
24069
24070 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
24071
24072 WXODBCFLAG="-D_IODBC_"
24073
24074
24075 if test "$wxUSE_ODBC" = "sys" ; then
24076
24077 if test "${ac_cv_header_sql_h+set}" = set; then
24078 echo "$as_me:$LINENO: checking for sql.h" >&5
24079echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24080if test "${ac_cv_header_sql_h+set}" = set; then
24081 echo $ECHO_N "(cached) $ECHO_C" >&6
24082fi
24083echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24084echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24085else
24086 # Is the header compilable?
24087echo "$as_me:$LINENO: checking sql.h usability" >&5
24088echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24089cat >conftest.$ac_ext <<_ACEOF
24090#line $LINENO "configure"
24091/* confdefs.h. */
24092_ACEOF
24093cat confdefs.h >>conftest.$ac_ext
24094cat >>conftest.$ac_ext <<_ACEOF
24095/* end confdefs.h. */
24096$ac_includes_default
24097#include <sql.h>
24098_ACEOF
24099rm -f conftest.$ac_objext
24100if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24101 (eval $ac_compile) 2>&5
24102 ac_status=$?
24103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24104 (exit $ac_status); } &&
24105 { ac_try='test -s conftest.$ac_objext'
24106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24107 (eval $ac_try) 2>&5
24108 ac_status=$?
24109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24110 (exit $ac_status); }; }; then
24111 ac_header_compiler=yes
24112else
24113 echo "$as_me: failed program was:" >&5
24114sed 's/^/| /' conftest.$ac_ext >&5
24115
24116ac_header_compiler=no
24117fi
24118rm -f conftest.$ac_objext conftest.$ac_ext
24119echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24120echo "${ECHO_T}$ac_header_compiler" >&6
24121
24122# Is the header present?
24123echo "$as_me:$LINENO: checking sql.h presence" >&5
24124echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24125cat >conftest.$ac_ext <<_ACEOF
24126#line $LINENO "configure"
24127/* confdefs.h. */
24128_ACEOF
24129cat confdefs.h >>conftest.$ac_ext
24130cat >>conftest.$ac_ext <<_ACEOF
24131/* end confdefs.h. */
24132#include <sql.h>
24133_ACEOF
24134if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24135 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24136 ac_status=$?
24137 grep -v '^ *+' conftest.er1 >conftest.err
24138 rm -f conftest.er1
24139 cat conftest.err >&5
24140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24141 (exit $ac_status); } >/dev/null; then
24142 if test -s conftest.err; then
24143 ac_cpp_err=$ac_c_preproc_warn_flag
24144 else
24145 ac_cpp_err=
24146 fi
24147else
24148 ac_cpp_err=yes
24149fi
24150if test -z "$ac_cpp_err"; then
24151 ac_header_preproc=yes
24152else
24153 echo "$as_me: failed program was:" >&5
24154sed 's/^/| /' conftest.$ac_ext >&5
24155
24156 ac_header_preproc=no
24157fi
24158rm -f conftest.err conftest.$ac_ext
24159echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24160echo "${ECHO_T}$ac_header_preproc" >&6
24161
24162# So? What about this header?
24163case $ac_header_compiler:$ac_header_preproc in
24164 yes:no )
24165 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24166echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24167 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24168echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24169 (
24170 cat <<\_ASBOX
24171## ------------------------------------ ##
24172## Report this to bug-autoconf@gnu.org. ##
24173## ------------------------------------ ##
24174_ASBOX
24175 ) |
24176 sed "s/^/$as_me: WARNING: /" >&2
24177 ;;
24178 no:yes )
24179 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24180echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24181 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24182echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24183 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24184echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24185 (
24186 cat <<\_ASBOX
24187## ------------------------------------ ##
24188## Report this to bug-autoconf@gnu.org. ##
24189## ------------------------------------ ##
24190_ASBOX
24191 ) |
24192 sed "s/^/$as_me: WARNING: /" >&2
24193 ;;
24194esac
24195echo "$as_me:$LINENO: checking for sql.h" >&5
24196echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24197if test "${ac_cv_header_sql_h+set}" = set; then
24198 echo $ECHO_N "(cached) $ECHO_C" >&6
24199else
24200 ac_cv_header_sql_h=$ac_header_preproc
24201fi
24202echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24203echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24204
24205fi
24206
24207
24208 echo "$as_me:$LINENO: checking for library containing SQLAllocEnv" >&5
24209echo $ECHO_N "checking for library containing SQLAllocEnv... $ECHO_C" >&6
24210if test "${ac_cv_search_SQLAllocEnv+set}" = set; then
24211 echo $ECHO_N "(cached) $ECHO_C" >&6
24212else
24213 ac_func_search_save_LIBS=$LIBS
24214ac_cv_search_SQLAllocEnv=no
24215cat >conftest.$ac_ext <<_ACEOF
24216#line $LINENO "configure"
24217/* confdefs.h. */
24218_ACEOF
24219cat confdefs.h >>conftest.$ac_ext
24220cat >>conftest.$ac_ext <<_ACEOF
24221/* end confdefs.h. */
24222
24223/* Override any gcc2 internal prototype to avoid an error. */
24224#ifdef __cplusplus
24225extern "C"
24226#endif
24227/* We use char because int might match the return type of a gcc2
24228 builtin and then its argument prototype would still apply. */
24229char SQLAllocEnv ();
24230int
24231main ()
24232{
24233SQLAllocEnv ();
24234 ;
24235 return 0;
24236}
24237_ACEOF
24238rm -f conftest.$ac_objext conftest$ac_exeext
24239if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24240 (eval $ac_link) 2>&5
24241 ac_status=$?
24242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24243 (exit $ac_status); } &&
24244 { ac_try='test -s conftest$ac_exeext'
24245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24246 (eval $ac_try) 2>&5
24247 ac_status=$?
24248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24249 (exit $ac_status); }; }; then
24250 ac_cv_search_SQLAllocEnv="none required"
24251else
24252 echo "$as_me: failed program was:" >&5
24253sed 's/^/| /' conftest.$ac_ext >&5
24254
24255fi
24256rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24257if test "$ac_cv_search_SQLAllocEnv" = no; then
24258 for ac_lib in iodbc unixodbc odbc ; do
24259 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24260 cat >conftest.$ac_ext <<_ACEOF
24261#line $LINENO "configure"
24262/* confdefs.h. */
24263_ACEOF
24264cat confdefs.h >>conftest.$ac_ext
24265cat >>conftest.$ac_ext <<_ACEOF
24266/* end confdefs.h. */
24267
24268/* Override any gcc2 internal prototype to avoid an error. */
24269#ifdef __cplusplus
24270extern "C"
24271#endif
24272/* We use char because int might match the return type of a gcc2
24273 builtin and then its argument prototype would still apply. */
24274char SQLAllocEnv ();
24275int
24276main ()
24277{
24278SQLAllocEnv ();
24279 ;
24280 return 0;
24281}
24282_ACEOF
24283rm -f conftest.$ac_objext conftest$ac_exeext
24284if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24285 (eval $ac_link) 2>&5
24286 ac_status=$?
24287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24288 (exit $ac_status); } &&
24289 { ac_try='test -s conftest$ac_exeext'
24290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24291 (eval $ac_try) 2>&5
24292 ac_status=$?
24293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24294 (exit $ac_status); }; }; then
24295 ac_cv_search_SQLAllocEnv="-l$ac_lib"
24296break
24297else
24298 echo "$as_me: failed program was:" >&5
24299sed 's/^/| /' conftest.$ac_ext >&5
24300
24301fi
24302rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24303 done
24304fi
24305LIBS=$ac_func_search_save_LIBS
24306fi
24307echo "$as_me:$LINENO: result: $ac_cv_search_SQLAllocEnv" >&5
24308echo "${ECHO_T}$ac_cv_search_SQLAllocEnv" >&6
24309if test "$ac_cv_search_SQLAllocEnv" != no; then
24310 test "$ac_cv_search_SQLAllocEnv" = "none required" || LIBS="$ac_cv_search_SQLAllocEnv $LIBS"
24311
24312else
24313
24314 wxUSE_ODBC=builtin;
24315 { echo "$as_me:$LINENO: WARNING: can't find system Odbc library falling back to builtin " >&5
24316echo "$as_me: WARNING: can't find system Odbc library falling back to builtin " >&2;}
24317
24318fi
24319
24320 fi
24321 if test "$wxUSE_ODBC" != "sys" ; then
24322 ALL_OBJECTS="${ALL_OBJECTS} \$(IODBCOBJS)"
24323 fi
24324
24325 fi
24326
24327fi
24328
24329if test "$wxUSE_REGEX" = "builtin" ; then
24330 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
24331fi
24332if test "$wxUSE_ZLIB" = "builtin" ; then
24333 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
24334fi
24335
24336
24337if test "$wxUSE_OPENGL" = "yes"; then
24338 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24339 OPENGL_LIBS="-framework OpenGL -framework AGL"
24340 elif test "$wxUSE_MSW" = 1; then
24341 OPENGL_LIBS="-lopengl32 -lglu32"
24342 else
24343
24344
24345ac_find_includes=
24346for ac_dir in $SEARCH_INCLUDE /usr/include;
24347 do
24348 if test -f "$ac_dir/GL/gl.h"; then
24349 ac_find_includes=$ac_dir
24350 break
24351 fi
24352 done
24353
24354 if test "$ac_find_includes" != "" ; then
24355 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24356echo "${ECHO_T}found in $ac_find_includes" >&6
24357 set -x
24358
24359 if test "x$ac_find_includes" = "x/usr/include"; then
24360 ac_path_to_include=""
24361 else
24362 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
24363 result=$?
24364 if test $result = 0; then
24365 ac_path_to_include=""
24366 else
24367 ac_path_to_include=" -I$ac_find_includes"
24368 fi
24369 fi
24370
24371 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
24372 set +x
24373 fi
24374
24375 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24376 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24377echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24378if test "${ac_cv_header_GL_gl_h+set}" = set; then
24379 echo $ECHO_N "(cached) $ECHO_C" >&6
24380fi
24381echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24382echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24383else
24384 # Is the header compilable?
24385echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24386echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24387cat >conftest.$ac_ext <<_ACEOF
24388#line $LINENO "configure"
24389/* confdefs.h. */
24390_ACEOF
24391cat confdefs.h >>conftest.$ac_ext
24392cat >>conftest.$ac_ext <<_ACEOF
24393/* end confdefs.h. */
24394$ac_includes_default
24395#include <GL/gl.h>
24396_ACEOF
24397rm -f conftest.$ac_objext
24398if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24399 (eval $ac_compile) 2>&5
24400 ac_status=$?
24401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24402 (exit $ac_status); } &&
24403 { ac_try='test -s conftest.$ac_objext'
24404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24405 (eval $ac_try) 2>&5
24406 ac_status=$?
24407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24408 (exit $ac_status); }; }; then
24409 ac_header_compiler=yes
24410else
24411 echo "$as_me: failed program was:" >&5
24412sed 's/^/| /' conftest.$ac_ext >&5
24413
24414ac_header_compiler=no
24415fi
24416rm -f conftest.$ac_objext conftest.$ac_ext
24417echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24418echo "${ECHO_T}$ac_header_compiler" >&6
24419
24420# Is the header present?
24421echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24422echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24423cat >conftest.$ac_ext <<_ACEOF
24424#line $LINENO "configure"
24425/* confdefs.h. */
24426_ACEOF
24427cat confdefs.h >>conftest.$ac_ext
24428cat >>conftest.$ac_ext <<_ACEOF
24429/* end confdefs.h. */
24430#include <GL/gl.h>
24431_ACEOF
24432if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24433 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24434 ac_status=$?
24435 grep -v '^ *+' conftest.er1 >conftest.err
24436 rm -f conftest.er1
24437 cat conftest.err >&5
24438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24439 (exit $ac_status); } >/dev/null; then
24440 if test -s conftest.err; then
24441 ac_cpp_err=$ac_c_preproc_warn_flag
24442 else
24443 ac_cpp_err=
24444 fi
24445else
24446 ac_cpp_err=yes
24447fi
24448if test -z "$ac_cpp_err"; then
24449 ac_header_preproc=yes
24450else
24451 echo "$as_me: failed program was:" >&5
24452sed 's/^/| /' conftest.$ac_ext >&5
24453
24454 ac_header_preproc=no
24455fi
24456rm -f conftest.err conftest.$ac_ext
24457echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24458echo "${ECHO_T}$ac_header_preproc" >&6
24459
24460# So? What about this header?
24461case $ac_header_compiler:$ac_header_preproc in
24462 yes:no )
24463 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24464echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24465 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24466echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24467 (
24468 cat <<\_ASBOX
24469## ------------------------------------ ##
24470## Report this to bug-autoconf@gnu.org. ##
24471## ------------------------------------ ##
24472_ASBOX
24473 ) |
24474 sed "s/^/$as_me: WARNING: /" >&2
24475 ;;
24476 no:yes )
24477 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24478echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24479 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24480echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24481 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24482echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24483 (
24484 cat <<\_ASBOX
24485## ------------------------------------ ##
24486## Report this to bug-autoconf@gnu.org. ##
24487## ------------------------------------ ##
24488_ASBOX
24489 ) |
24490 sed "s/^/$as_me: WARNING: /" >&2
24491 ;;
24492esac
24493echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24494echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24495if test "${ac_cv_header_GL_gl_h+set}" = set; then
24496 echo $ECHO_N "(cached) $ECHO_C" >&6
24497else
24498 ac_cv_header_GL_gl_h=$ac_header_preproc
24499fi
24500echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24501echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24502
24503fi
24504if test $ac_cv_header_GL_gl_h = yes; then
24505
24506 found_gl=0
24507
24508 echo "$as_me:$LINENO: checking for -lGL" >&5
24509echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
24510
24511ac_find_libraries=
24512for ac_dir in $SEARCH_LIB /usr/lib;
24513 do
24514 for ac_extension in a so sl dylib; do
24515 if test -f "$ac_dir/libGL.$ac_extension"; then
24516 ac_find_libraries=$ac_dir
24517 break 2
24518 fi
24519 done
24520 done
24521
24522 if test "$ac_find_libraries" != "" ; then
24523
24524 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24525 result=$?
24526 if test $result = 0; then
24527 ac_path_to_link=""
24528 else
24529 ac_path_to_link=" -L$ac_find_libraries"
24530 fi
24531
24532 if test "$ac_path_to_link" != " -L/usr/lib" ; then
24533 LDFLAGS_GL="$ac_path_to_link"
24534 fi
24535
24536
24537ac_find_libraries=
24538for ac_dir in $SEARCH_LIB /usr/lib;
24539 do
24540 for ac_extension in a so sl dylib; do
24541 if test -f "$ac_dir/libGLU.$ac_extension"; then
24542 ac_find_libraries=$ac_dir
24543 break 2
24544 fi
24545 done
24546 done
24547
24548 if test "$ac_find_libraries" != "" ; then
24549
24550 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24551 result=$?
24552 if test $result = 0; then
24553 ac_path_to_link=""
24554 else
24555 ac_path_to_link=" -L$ac_find_libraries"
24556 fi
24557
24558 if test "$ac_path_to_link" != " -L/usr/lib" -a \
24559 "$ac_path_to_link" != "$LDFLAGS_GL"; then
24560 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
24561 fi
24562
24563 found_gl=1
24564 OPENGL_LIBS="-lGL -lGLU"
24565 echo "$as_me:$LINENO: result: yes" >&5
24566echo "${ECHO_T}yes" >&6
24567 fi
24568 fi
24569
24570 if "$found_gl" != 1; then
24571 echo "$as_me:$LINENO: result: no" >&5
24572echo "${ECHO_T}no" >&6
24573 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
24574echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
24575
24576ac_find_libraries=
24577for ac_dir in $SEARCH_LIB /usr/lib;
24578 do
24579 for ac_extension in a so sl dylib; do
24580 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
24581 ac_find_libraries=$ac_dir
24582 break 2
24583 fi
24584 done
24585 done
24586
24587 if test "$ac_find_libraries" != "" ; then
24588
24589 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24590 result=$?
24591 if test $result = 0; then
24592 ac_path_to_link=""
24593 else
24594 ac_path_to_link=" -L$ac_find_libraries"
24595 fi
24596
24597 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
24598 OPENGL_LIBS="-lMesaGL -lMesaGLU"
24599 echo "$as_me:$LINENO: result: yes" >&5
24600echo "${ECHO_T}yes" >&6
24601 else
24602 echo "$as_me:$LINENO: result: no" >&5
24603echo "${ECHO_T}no" >&6
24604 fi
24605 fi
24606
24607fi
24608
24609
24610
24611 if test "x$OPENGL_LIBS" = "x"; then
24612 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
24613echo "$as_me: error: OpenGL libraries not available" >&2;}
24614 { (exit 1); exit 1; }; }
24615 fi
24616 fi
24617
24618 if test "$wxUSE_OPENGL" = "yes"; then
24619 cat >>confdefs.h <<\_ACEOF
24620#define wxUSE_OPENGL 1
24621_ACEOF
24622
24623 cat >>confdefs.h <<\_ACEOF
24624#define wxUSE_GLCANVAS 1
24625_ACEOF
24626
24627 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl"
24628 fi
24629fi
24630
24631if test -z "$TOOLKIT_VPATH" ; then
24632 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
24633fi
24634
24635if test -n "$TOOLKIT" ; then
24636 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
24637fi
24638
24639UNICODE=0
24640lib_unicode_suffix=
24641if test "$wxUSE_UNICODE" = "yes"; then
24642 lib_unicode_suffix=u
24643 UNICODE=1
24644fi
24645
24646lib_debug_suffix=
24647BUILD=release
24648if test "$wxUSE_DEBUG_FLAG" = "yes"; then
24649 lib_debug_suffix=d
24650 BUILD=debug
24651fi
24652
24653WX_VERSION_TAG=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
24654
24655TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
24656TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
24657
24658if test "$cross_compiling" = "yes"; then
24659 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
24660 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
24661fi
24662
24663WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
24664WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
24665WX_LIBRARY_BASENAME="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
24666
24667WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24668WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24669
24670WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
24671WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
24672WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
24673WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24674
24675case "${host}" in
24676 *-*-cygwin* | *-*-mingw32* )
24677
24678
24679
24680 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
24681 WX_LIBRARY="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
24682 WX_LIBRARY_GL="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
24683 WX_LIBRARY_NAME_SHARED="${WX_LIBRARY}.${SO_SUFFIX}"
24684 WX_LIBRARY_NAME_SHARED_GL="${WX_LIBRARY_GL}.${SO_SUFFIX}"
24685 else
24686 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
24687 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24688 fi
24689 ;;
24690
24691 *-*-darwin* )
24692
24693 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
24694 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
24695
24696 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
24697 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
24698 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
24699 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24700
24701 if test "$wxUSE_MAC" = 1; then
24702 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
24703 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
24704 fi
24705 ;;
24706esac
24707
24708WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
24709WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
24710
24711WXCONFIG_LIBS="-l${WX_LIBRARY}"
24712WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
24713
24714if test "$wxUSE_OPENGL" = "yes"; then
24715 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
24716 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
24717fi
24718
24719
24720
24721if test "$wxUSE_SHARED" = "yes"; then
24722 case "${host}" in
24723 *-pc-os2_emx | *-pc-os2-emx | \
24724 *-pc-msdosdjgpp )
24725 wxUSE_SHARED=no
24726 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
24727echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
24728 ;;
24729 esac
24730fi
24731
24732SHARED=0
24733if test "$wxUSE_SHARED" = "yes"; then
24734 SHARED=1
24735
24736 if test "$wxUSE_OPENGL" = "yes"; then
24737 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
24738 WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
24739 else
24740 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
24741 WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1}"
24742 fi
24743
24744 if test "$GCC" = "yes"; then
24745 PIC_FLAG="-fPIC"
24746 fi
24747
24748
24749
24750 found_versioning=no
24751
24752
24753 if test $found_versioning = no ; then
24754 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
24755echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
24756if test "${wx_cv_version_script+set}" = set; then
24757 echo $ECHO_N "(cached) $ECHO_C" >&6
24758else
24759
24760 echo "VER_1 { *; };" >conftest.sym
24761 echo "int main() { return 0; }" >conftest.cpp
24762
24763 if { ac_try='
24764 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
24765 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
24766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24767 (eval $ac_try) 2>&5
24768 ac_status=$?
24769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24770 (exit $ac_status); }; } ; then
24771 if test -s conftest.stderr ; then
24772 wx_cv_version_script=no
24773 else
24774 wx_cv_version_script=yes
24775 fi
24776 else
24777 wx_cv_version_script=no
24778 fi
24779 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
24780
24781fi
24782echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
24783echo "${ECHO_T}$wx_cv_version_script" >&6
24784 if test $wx_cv_version_script = yes ; then
24785 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
24786 fi
24787 fi
24788
24789
24790 SHARED_LD="${CXX} -shared -o"
24791
24792 case "${host}" in
24793 *-hp-hpux* )
24794 if test "$GCC" = "yes"; then
24795 SHARED_LD="${CXX} -shared ${PIC_FLAG} -o"
24796 else
24797 LDFLAGS="$LDFLAGS -L/usr/lib"
24798
24799 SHARED_LD="${CXX} -b -o"
24800 PIC_FLAG="+Z"
24801 fi
24802
24803 if test "$wxUSE_OPENGL" = "yes"; then
24804 WX_ALL_INSTALLED="preinstall_gl"
24805 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
24806 else
24807 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
24808 fi
24809 ;;
24810
24811 *-*-linux* | *-*-gnu* )
24812 if test "$GCC" != "yes"; then
24813 echo "$as_me:$LINENO: checking for Intel compiler" >&5
24814echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
24815if test "${wx_cv_prog_icc+set}" = set; then
24816 echo $ECHO_N "(cached) $ECHO_C" >&6
24817else
24818
24819 cat >conftest.$ac_ext <<_ACEOF
24820#line $LINENO "configure"
24821/* confdefs.h. */
24822_ACEOF
24823cat confdefs.h >>conftest.$ac_ext
24824cat >>conftest.$ac_ext <<_ACEOF
24825/* end confdefs.h. */
24826
24827int
24828main ()
24829{
24830
24831 #ifndef __INTEL_COMPILER
24832 #error Not icc
24833 #endif
24834
24835 ;
24836 return 0;
24837}
24838_ACEOF
24839rm -f conftest.$ac_objext
24840if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24841 (eval $ac_compile) 2>&5
24842 ac_status=$?
24843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24844 (exit $ac_status); } &&
24845 { ac_try='test -s conftest.$ac_objext'
24846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24847 (eval $ac_try) 2>&5
24848 ac_status=$?
24849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24850 (exit $ac_status); }; }; then
24851 wx_cv_prog_icc=yes
24852else
24853 echo "$as_me: failed program was:" >&5
24854sed 's/^/| /' conftest.$ac_ext >&5
24855
24856wx_cv_prog_icc=no
24857
24858fi
24859rm -f conftest.$ac_objext conftest.$ac_ext
24860
24861fi
24862echo "$as_me:$LINENO: result: $wx_cv_prog_icc" >&5
24863echo "${ECHO_T}$wx_cv_prog_icc" >&6
24864 if test "$wx_cv_prog_icc" = "yes"; then
24865 PIC_FLAG="-KPIC"
24866 fi
24867 fi
24868
24869 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
24870 ;;
24871
24872 *-*-solaris2* )
24873 if test "$GCC" = yes ; then
24874 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
24875
24876 saveLdflags="$LDFLAGS"
24877 LDFLAGS="$saveLdflags -Wl,-rpath,/"
24878 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
24879echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
24880 cat >conftest.$ac_ext <<_ACEOF
24881#line $LINENO "configure"
24882/* confdefs.h. */
24883_ACEOF
24884cat confdefs.h >>conftest.$ac_ext
24885cat >>conftest.$ac_ext <<_ACEOF
24886/* end confdefs.h. */
24887
24888int
24889main ()
24890{
24891
24892 ;
24893 return 0;
24894}
24895_ACEOF
24896rm -f conftest.$ac_objext conftest$ac_exeext
24897if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24898 (eval $ac_link) 2>&5
24899 ac_status=$?
24900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24901 (exit $ac_status); } &&
24902 { ac_try='test -s conftest$ac_exeext'
24903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24904 (eval $ac_try) 2>&5
24905 ac_status=$?
24906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24907 (exit $ac_status); }; }; then
24908
24909 echo "$as_me:$LINENO: result: yes" >&5
24910echo "${ECHO_T}yes" >&6
24911 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
24912
24913else
24914 echo "$as_me: failed program was:" >&5
24915sed 's/^/| /' conftest.$ac_ext >&5
24916
24917
24918 echo "$as_me:$LINENO: result: no" >&5
24919echo "${ECHO_T}no" >&6
24920 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
24921echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
24922 LDFLAGS="$saveLdflags -Wl,-R,/"
24923 cat >conftest.$ac_ext <<_ACEOF
24924#line $LINENO "configure"
24925/* confdefs.h. */
24926_ACEOF
24927cat confdefs.h >>conftest.$ac_ext
24928cat >>conftest.$ac_ext <<_ACEOF
24929/* end confdefs.h. */
24930
24931int
24932main ()
24933{
24934
24935 ;
24936 return 0;
24937}
24938_ACEOF
24939rm -f conftest.$ac_objext conftest$ac_exeext
24940if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24941 (eval $ac_link) 2>&5
24942 ac_status=$?
24943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24944 (exit $ac_status); } &&
24945 { ac_try='test -s conftest$ac_exeext'
24946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24947 (eval $ac_try) 2>&5
24948 ac_status=$?
24949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24950 (exit $ac_status); }; }; then
24951
24952 echo "$as_me:$LINENO: result: yes" >&5
24953echo "${ECHO_T}yes" >&6
24954 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
24955else
24956 echo "$as_me: failed program was:" >&5
24957sed 's/^/| /' conftest.$ac_ext >&5
24958
24959
24960 echo "$as_me:$LINENO: result: no" >&5
24961echo "${ECHO_T}no" >&6
24962
24963fi
24964rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24965
24966fi
24967rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24968 LDFLAGS="$saveLdflags"
24969 else
24970 SHARED_LD="${CXX} -G -o"
24971 PIC_FLAG="-KPIC"
24972 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
24973 fi
24974 ;;
24975
24976 *-*-darwin* )
24977 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -DWXMAKINGDLL"
24978 CFLAGS="$CFLAGS -fno-common"
24979 CXXFLAGS="$CXXFLAGS -fno-common"
24980 SHARED_LD="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
24981 PIC_FLAG="-dynamic -fPIC"
24982 ;;
24983
24984 *-*-aix* )
24985 if test "$GCC" != "yes"; then
24986 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
24987set dummy makeC++SharedLib; ac_word=$2
24988echo "$as_me:$LINENO: checking for $ac_word" >&5
24989echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24990if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
24991 echo $ECHO_N "(cached) $ECHO_C" >&6
24992else
24993 if test -n "$AIX_CXX_LD"; then
24994 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
24995else
24996as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24997for as_dir in $PATH
24998do
24999 IFS=$as_save_IFS
25000 test -z "$as_dir" && as_dir=.
25001 for ac_exec_ext in '' $ac_executable_extensions; do
25002 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25003 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
25004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25005 break 2
25006 fi
25007done
25008done
25009
25010 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
25011fi
25012fi
25013AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
25014if test -n "$AIX_CXX_LD"; then
25015 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
25016echo "${ECHO_T}$AIX_CXX_LD" >&6
25017else
25018 echo "$as_me:$LINENO: result: no" >&5
25019echo "${ECHO_T}no" >&6
25020fi
25021
25022
25023 SHARED_LD="$(AIX_CXX_LD) -p 0 -o"
25024 fi
25025 ;;
25026
25027 *-*-cygwin* | *-*-mingw32* )
25028 WX_LIBRARY_IMPORTLIB="${WX_LIBRARY_NAME_SHARED}.a"
25029
25030 SHARED_LD="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
25031 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
25032
25033 PIC_FLAG="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
25034
25035 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
25036 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
25037
25038 if test "$wxUSE_OPENGL" = "yes"; then
25039 LIBS="${LIBS} ${OPENGL_LIBS}"
25040 fi
25041 ;;
25042
25043 *-*-beos* )
25044 SHARED_LD="${LD} -shared -o"
25045 ;;
25046
25047 *-*-irix* )
25048 if test "$GCC" != "yes"; then
25049 PIC_FLAG="-KPIC"
25050 fi
25051 ;;
25052
25053 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
25054 *-*-sunos4* | \
25055 *-*-osf* | \
25056 *-*-dgux5* | \
25057 *-*-sysv5* )
25058 ;;
25059
25060 *)
25061 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
25062echo "$as_me: error: unknown system type $host." >&2;}
25063 { (exit 1); exit 1; }; }
25064 esac
25065
25066 if test "x$WX_TARGET_LIBRARY" = "x"; then
25067 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
25068 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
25069 fi
25070
25071 WX_TARGET_LIBRARY_TYPE="so"
25072 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
25073fi
25074
25075if test "$wxUSE_SHARED" = "no"; then
25076
25077 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25078 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25079 fi
25080
25081 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25082 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25083 fi
25084
25085 if test "$wxUSE_OPENGL" = "yes"; then
25086 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
25087 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25088 else
25089 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25090 fi
25091
25092 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
25093 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
25094
25095 WX_TARGET_LIBRARY_TYPE="a"
25096 INSTALL_LIBRARY='$(INSTALL_DATA)'
25097
25098 STATIC_FLAG="yes"
25099else
25100 STATIC_FLAG="no"
25101fi
25102
25103MACRESCOMP="@#"
25104MACSETFILE="@#"
25105MACRESWXCONFIG="#"
25106if test "$wxUSE_MAC" = 1; then
25107 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25108 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
25109 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
25110 # Extract the first word of "Rez", so it can be a program name with args.
25111set dummy Rez; ac_word=$2
25112echo "$as_me:$LINENO: checking for $ac_word" >&5
25113echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25114if test "${ac_cv_prog_RESCOMP+set}" = set; then
25115 echo $ECHO_N "(cached) $ECHO_C" >&6
25116else
25117 if test -n "$RESCOMP"; then
25118 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25119else
25120as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25121for as_dir in $PATH
25122do
25123 IFS=$as_save_IFS
25124 test -z "$as_dir" && as_dir=.
25125 for ac_exec_ext in '' $ac_executable_extensions; do
25126 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25127 ac_cv_prog_RESCOMP="Rez"
25128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25129 break 2
25130 fi
25131done
25132done
25133
25134 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25135fi
25136fi
25137RESCOMP=$ac_cv_prog_RESCOMP
25138if test -n "$RESCOMP"; then
25139 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25140echo "${ECHO_T}$RESCOMP" >&6
25141else
25142 echo "$as_me:$LINENO: result: no" >&5
25143echo "${ECHO_T}no" >&6
25144fi
25145
25146 # Extract the first word of "DeRez", so it can be a program name with args.
25147set dummy DeRez; ac_word=$2
25148echo "$as_me:$LINENO: checking for $ac_word" >&5
25149echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25150if test "${ac_cv_prog_DEREZ+set}" = set; then
25151 echo $ECHO_N "(cached) $ECHO_C" >&6
25152else
25153 if test -n "$DEREZ"; then
25154 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25155else
25156as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25157for as_dir in $PATH
25158do
25159 IFS=$as_save_IFS
25160 test -z "$as_dir" && as_dir=.
25161 for ac_exec_ext in '' $ac_executable_extensions; do
25162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25163 ac_cv_prog_DEREZ="DeRez"
25164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25165 break 2
25166 fi
25167done
25168done
25169
25170 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25171fi
25172fi
25173DEREZ=$ac_cv_prog_DEREZ
25174if test -n "$DEREZ"; then
25175 echo "$as_me:$LINENO: result: $DEREZ" >&5
25176echo "${ECHO_T}$DEREZ" >&6
25177else
25178 echo "$as_me:$LINENO: result: no" >&5
25179echo "${ECHO_T}no" >&6
25180fi
25181
25182 # Extract the first word of "SetFile", so it can be a program name with args.
25183set dummy SetFile; ac_word=$2
25184echo "$as_me:$LINENO: checking for $ac_word" >&5
25185echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25186if test "${ac_cv_prog_SETFILE+set}" = set; then
25187 echo $ECHO_N "(cached) $ECHO_C" >&6
25188else
25189 if test -n "$SETFILE"; then
25190 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25191else
25192as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25193for as_dir in $PATH
25194do
25195 IFS=$as_save_IFS
25196 test -z "$as_dir" && as_dir=.
25197 for ac_exec_ext in '' $ac_executable_extensions; do
25198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25199 ac_cv_prog_SETFILE="SetFile"
25200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25201 break 2
25202 fi
25203done
25204done
25205
25206 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25207fi
25208fi
25209SETFILE=$ac_cv_prog_SETFILE
25210if test -n "$SETFILE"; then
25211 echo "$as_me:$LINENO: result: $SETFILE" >&5
25212echo "${ECHO_T}$SETFILE" >&6
25213else
25214 echo "$as_me:$LINENO: result: no" >&5
25215echo "${ECHO_T}no" >&6
25216fi
25217
25218 MACOSX_BUNDLE="bundle"
25219 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25220 MACSETFILE="\$(SETFILE)"
25221 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25222elif test "$wxUSE_COCOA" = 1; then
25223 # Extract the first word of "Rez", so it can be a program name with args.
25224set dummy Rez; ac_word=$2
25225echo "$as_me:$LINENO: checking for $ac_word" >&5
25226echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25227if test "${ac_cv_prog_RESCOMP+set}" = set; then
25228 echo $ECHO_N "(cached) $ECHO_C" >&6
25229else
25230 if test -n "$RESCOMP"; then
25231 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25232else
25233as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25234for as_dir in $PATH
25235do
25236 IFS=$as_save_IFS
25237 test -z "$as_dir" && as_dir=.
25238 for ac_exec_ext in '' $ac_executable_extensions; do
25239 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25240 ac_cv_prog_RESCOMP="Rez"
25241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25242 break 2
25243 fi
25244done
25245done
25246
25247 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25248fi
25249fi
25250RESCOMP=$ac_cv_prog_RESCOMP
25251if test -n "$RESCOMP"; then
25252 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25253echo "${ECHO_T}$RESCOMP" >&6
25254else
25255 echo "$as_me:$LINENO: result: no" >&5
25256echo "${ECHO_T}no" >&6
25257fi
25258
25259 # Extract the first word of "DeRez", so it can be a program name with args.
25260set dummy DeRez; ac_word=$2
25261echo "$as_me:$LINENO: checking for $ac_word" >&5
25262echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25263if test "${ac_cv_prog_DEREZ+set}" = set; then
25264 echo $ECHO_N "(cached) $ECHO_C" >&6
25265else
25266 if test -n "$DEREZ"; then
25267 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25268else
25269as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25270for as_dir in $PATH
25271do
25272 IFS=$as_save_IFS
25273 test -z "$as_dir" && as_dir=.
25274 for ac_exec_ext in '' $ac_executable_extensions; do
25275 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25276 ac_cv_prog_DEREZ="DeRez"
25277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25278 break 2
25279 fi
25280done
25281done
25282
25283 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25284fi
25285fi
25286DEREZ=$ac_cv_prog_DEREZ
25287if test -n "$DEREZ"; then
25288 echo "$as_me:$LINENO: result: $DEREZ" >&5
25289echo "${ECHO_T}$DEREZ" >&6
25290else
25291 echo "$as_me:$LINENO: result: no" >&5
25292echo "${ECHO_T}no" >&6
25293fi
25294
25295 # Extract the first word of "SetFile", so it can be a program name with args.
25296set dummy SetFile; ac_word=$2
25297echo "$as_me:$LINENO: checking for $ac_word" >&5
25298echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25299if test "${ac_cv_prog_SETFILE+set}" = set; then
25300 echo $ECHO_N "(cached) $ECHO_C" >&6
25301else
25302 if test -n "$SETFILE"; then
25303 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25304else
25305as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25306for as_dir in $PATH
25307do
25308 IFS=$as_save_IFS
25309 test -z "$as_dir" && as_dir=.
25310 for ac_exec_ext in '' $ac_executable_extensions; do
25311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25312 ac_cv_prog_SETFILE="SetFile"
25313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25314 break 2
25315 fi
25316done
25317done
25318
25319 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25320fi
25321fi
25322SETFILE=$ac_cv_prog_SETFILE
25323if test -n "$SETFILE"; then
25324 echo "$as_me:$LINENO: result: $SETFILE" >&5
25325echo "${ECHO_T}$SETFILE" >&6
25326else
25327 echo "$as_me:$LINENO: result: no" >&5
25328echo "${ECHO_T}no" >&6
25329fi
25330
25331 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25332 MACSETFILE="\$(SETFILE)"
25333 MACRESWXCONFIG="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25334else
25335 if test "$wxUSE_PM" = 1; then
25336 MACRESCOMP="emxbind -ep"
25337 fi
25338fi
25339
25340
25341echo "$as_me:$LINENO: checking for mode_t" >&5
25342echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25343if test "${ac_cv_type_mode_t+set}" = set; then
25344 echo $ECHO_N "(cached) $ECHO_C" >&6
25345else
25346 cat >conftest.$ac_ext <<_ACEOF
25347#line $LINENO "configure"
25348/* confdefs.h. */
25349_ACEOF
25350cat confdefs.h >>conftest.$ac_ext
25351cat >>conftest.$ac_ext <<_ACEOF
25352/* end confdefs.h. */
25353$ac_includes_default
25354int
25355main ()
25356{
25357if ((mode_t *) 0)
25358 return 0;
25359if (sizeof (mode_t))
25360 return 0;
25361 ;
25362 return 0;
25363}
25364_ACEOF
25365rm -f conftest.$ac_objext
25366if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25367 (eval $ac_compile) 2>&5
25368 ac_status=$?
25369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25370 (exit $ac_status); } &&
25371 { ac_try='test -s conftest.$ac_objext'
25372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25373 (eval $ac_try) 2>&5
25374 ac_status=$?
25375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25376 (exit $ac_status); }; }; then
25377 ac_cv_type_mode_t=yes
25378else
25379 echo "$as_me: failed program was:" >&5
25380sed 's/^/| /' conftest.$ac_ext >&5
25381
25382ac_cv_type_mode_t=no
25383fi
25384rm -f conftest.$ac_objext conftest.$ac_ext
25385fi
25386echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25387echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25388if test $ac_cv_type_mode_t = yes; then
25389 :
25390else
25391
25392cat >>confdefs.h <<_ACEOF
25393#define mode_t int
25394_ACEOF
25395
25396fi
25397
25398echo "$as_me:$LINENO: checking for off_t" >&5
25399echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25400if test "${ac_cv_type_off_t+set}" = set; then
25401 echo $ECHO_N "(cached) $ECHO_C" >&6
25402else
25403 cat >conftest.$ac_ext <<_ACEOF
25404#line $LINENO "configure"
25405/* confdefs.h. */
25406_ACEOF
25407cat confdefs.h >>conftest.$ac_ext
25408cat >>conftest.$ac_ext <<_ACEOF
25409/* end confdefs.h. */
25410$ac_includes_default
25411int
25412main ()
25413{
25414if ((off_t *) 0)
25415 return 0;
25416if (sizeof (off_t))
25417 return 0;
25418 ;
25419 return 0;
25420}
25421_ACEOF
25422rm -f conftest.$ac_objext
25423if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25424 (eval $ac_compile) 2>&5
25425 ac_status=$?
25426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25427 (exit $ac_status); } &&
25428 { ac_try='test -s conftest.$ac_objext'
25429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25430 (eval $ac_try) 2>&5
25431 ac_status=$?
25432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25433 (exit $ac_status); }; }; then
25434 ac_cv_type_off_t=yes
25435else
25436 echo "$as_me: failed program was:" >&5
25437sed 's/^/| /' conftest.$ac_ext >&5
25438
25439ac_cv_type_off_t=no
25440fi
25441rm -f conftest.$ac_objext conftest.$ac_ext
25442fi
25443echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25444echo "${ECHO_T}$ac_cv_type_off_t" >&6
25445if test $ac_cv_type_off_t = yes; then
25446 :
25447else
25448
25449cat >>confdefs.h <<_ACEOF
25450#define off_t long
25451_ACEOF
25452
25453fi
25454
25455echo "$as_me:$LINENO: checking for pid_t" >&5
25456echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25457if test "${ac_cv_type_pid_t+set}" = set; then
25458 echo $ECHO_N "(cached) $ECHO_C" >&6
25459else
25460 cat >conftest.$ac_ext <<_ACEOF
25461#line $LINENO "configure"
25462/* confdefs.h. */
25463_ACEOF
25464cat confdefs.h >>conftest.$ac_ext
25465cat >>conftest.$ac_ext <<_ACEOF
25466/* end confdefs.h. */
25467$ac_includes_default
25468int
25469main ()
25470{
25471if ((pid_t *) 0)
25472 return 0;
25473if (sizeof (pid_t))
25474 return 0;
25475 ;
25476 return 0;
25477}
25478_ACEOF
25479rm -f conftest.$ac_objext
25480if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25481 (eval $ac_compile) 2>&5
25482 ac_status=$?
25483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25484 (exit $ac_status); } &&
25485 { ac_try='test -s conftest.$ac_objext'
25486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25487 (eval $ac_try) 2>&5
25488 ac_status=$?
25489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25490 (exit $ac_status); }; }; then
25491 ac_cv_type_pid_t=yes
25492else
25493 echo "$as_me: failed program was:" >&5
25494sed 's/^/| /' conftest.$ac_ext >&5
25495
25496ac_cv_type_pid_t=no
25497fi
25498rm -f conftest.$ac_objext conftest.$ac_ext
25499fi
25500echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25501echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25502if test $ac_cv_type_pid_t = yes; then
25503 :
25504else
25505
25506cat >>confdefs.h <<_ACEOF
25507#define pid_t int
25508_ACEOF
25509
25510fi
25511
25512echo "$as_me:$LINENO: checking for size_t" >&5
25513echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25514if test "${ac_cv_type_size_t+set}" = set; then
25515 echo $ECHO_N "(cached) $ECHO_C" >&6
25516else
25517 cat >conftest.$ac_ext <<_ACEOF
25518#line $LINENO "configure"
25519/* confdefs.h. */
25520_ACEOF
25521cat confdefs.h >>conftest.$ac_ext
25522cat >>conftest.$ac_ext <<_ACEOF
25523/* end confdefs.h. */
25524$ac_includes_default
25525int
25526main ()
25527{
25528if ((size_t *) 0)
25529 return 0;
25530if (sizeof (size_t))
25531 return 0;
25532 ;
25533 return 0;
25534}
25535_ACEOF
25536rm -f conftest.$ac_objext
25537if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25538 (eval $ac_compile) 2>&5
25539 ac_status=$?
25540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25541 (exit $ac_status); } &&
25542 { ac_try='test -s conftest.$ac_objext'
25543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25544 (eval $ac_try) 2>&5
25545 ac_status=$?
25546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25547 (exit $ac_status); }; }; then
25548 ac_cv_type_size_t=yes
25549else
25550 echo "$as_me: failed program was:" >&5
25551sed 's/^/| /' conftest.$ac_ext >&5
25552
25553ac_cv_type_size_t=no
25554fi
25555rm -f conftest.$ac_objext conftest.$ac_ext
25556fi
25557echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25558echo "${ECHO_T}$ac_cv_type_size_t" >&6
25559if test $ac_cv_type_size_t = yes; then
25560 :
25561else
25562
25563cat >>confdefs.h <<_ACEOF
25564#define size_t unsigned
25565_ACEOF
25566
25567fi
25568
25569echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25570echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25571if test "${ac_cv_type_uid_t+set}" = set; then
25572 echo $ECHO_N "(cached) $ECHO_C" >&6
25573else
25574 cat >conftest.$ac_ext <<_ACEOF
25575#line $LINENO "configure"
25576/* confdefs.h. */
25577_ACEOF
25578cat confdefs.h >>conftest.$ac_ext
25579cat >>conftest.$ac_ext <<_ACEOF
25580/* end confdefs.h. */
25581#include <sys/types.h>
25582
25583_ACEOF
25584if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25585 $EGREP "uid_t" >/dev/null 2>&1; then
25586 ac_cv_type_uid_t=yes
25587else
25588 ac_cv_type_uid_t=no
25589fi
25590rm -f conftest*
25591
25592fi
25593echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25594echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25595if test $ac_cv_type_uid_t = no; then
25596
25597cat >>confdefs.h <<\_ACEOF
25598#define uid_t int
25599_ACEOF
25600
25601
25602cat >>confdefs.h <<\_ACEOF
25603#define gid_t int
25604_ACEOF
25605
25606fi
25607
25608
25609
25610
25611ac_ext=cc
25612ac_cpp='$CXXCPP $CPPFLAGS'
25613ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25614ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25615ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25616
25617echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25618echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25619if test "${wx_cv_size_t_is_uint+set}" = set; then
25620 echo $ECHO_N "(cached) $ECHO_C" >&6
25621else
25622
25623 cat >conftest.$ac_ext <<_ACEOF
25624#line $LINENO "configure"
25625/* confdefs.h. */
25626_ACEOF
25627cat confdefs.h >>conftest.$ac_ext
25628cat >>conftest.$ac_ext <<_ACEOF
25629/* end confdefs.h. */
25630#include <stddef.h>
25631int
25632main ()
25633{
25634
25635 return 0; }
25636
25637 struct Foo { void foo(size_t); void foo(unsigned int); };
25638
25639 int bar() {
25640
25641 ;
25642 return 0;
25643}
25644_ACEOF
25645rm -f conftest.$ac_objext
25646if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25647 (eval $ac_compile) 2>&5
25648 ac_status=$?
25649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25650 (exit $ac_status); } &&
25651 { ac_try='test -s conftest.$ac_objext'
25652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25653 (eval $ac_try) 2>&5
25654 ac_status=$?
25655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25656 (exit $ac_status); }; }; then
25657 wx_cv_size_t_is_uint=no
25658else
25659 echo "$as_me: failed program was:" >&5
25660sed 's/^/| /' conftest.$ac_ext >&5
25661
25662wx_cv_size_t_is_uint=yes
25663
25664fi
25665rm -f conftest.$ac_objext conftest.$ac_ext
25666
25667
25668fi
25669echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
25670echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
25671
25672if test "$wx_cv_size_t_is_uint" = "yes"; then
25673 cat >>confdefs.h <<\_ACEOF
25674#define wxSIZE_T_IS_UINT 1
25675_ACEOF
25676
25677else
25678 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
25679echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
25680if test "${wx_cv_size_t_is_ulong+set}" = set; then
25681 echo $ECHO_N "(cached) $ECHO_C" >&6
25682else
25683 cat >conftest.$ac_ext <<_ACEOF
25684#line $LINENO "configure"
25685/* confdefs.h. */
25686_ACEOF
25687cat confdefs.h >>conftest.$ac_ext
25688cat >>conftest.$ac_ext <<_ACEOF
25689/* end confdefs.h. */
25690#include <stddef.h>
25691int
25692main ()
25693{
25694
25695 return 0; }
25696
25697 struct Foo { void foo(size_t); void foo(unsigned long); };
25698
25699 int bar() {
25700
25701 ;
25702 return 0;
25703}
25704_ACEOF
25705rm -f conftest.$ac_objext
25706if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25707 (eval $ac_compile) 2>&5
25708 ac_status=$?
25709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25710 (exit $ac_status); } &&
25711 { ac_try='test -s conftest.$ac_objext'
25712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25713 (eval $ac_try) 2>&5
25714 ac_status=$?
25715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25716 (exit $ac_status); }; }; then
25717 wx_cv_size_t_is_ulong=no
25718else
25719 echo "$as_me: failed program was:" >&5
25720sed 's/^/| /' conftest.$ac_ext >&5
25721
25722wx_cv_size_t_is_ulong=yes
25723
25724fi
25725rm -f conftest.$ac_objext conftest.$ac_ext
25726
25727fi
25728echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
25729echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
25730
25731 if test "$wx_cv_size_t_is_ulong" = "yes"; then
25732 cat >>confdefs.h <<\_ACEOF
25733#define wxSIZE_T_IS_ULONG 1
25734_ACEOF
25735
25736 fi
25737fi
25738
25739ac_ext=c
25740ac_cpp='$CPP $CPPFLAGS'
25741ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25742ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25743ac_compiler_gnu=$ac_cv_c_compiler_gnu
25744
25745
25746
25747echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
25748echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
25749if test "${wx_cv_struct_pw_gecos+set}" = set; then
25750 echo $ECHO_N "(cached) $ECHO_C" >&6
25751else
25752
25753 cat >conftest.$ac_ext <<_ACEOF
25754#line $LINENO "configure"
25755/* confdefs.h. */
25756_ACEOF
25757cat confdefs.h >>conftest.$ac_ext
25758cat >>conftest.$ac_ext <<_ACEOF
25759/* end confdefs.h. */
25760#include <pwd.h>
25761int
25762main ()
25763{
25764
25765 char *p;
25766 struct passwd *pw;
25767 p = pw->pw_gecos;
25768
25769 ;
25770 return 0;
25771}
25772_ACEOF
25773rm -f conftest.$ac_objext
25774if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25775 (eval $ac_compile) 2>&5
25776 ac_status=$?
25777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25778 (exit $ac_status); } &&
25779 { ac_try='test -s conftest.$ac_objext'
25780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25781 (eval $ac_try) 2>&5
25782 ac_status=$?
25783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25784 (exit $ac_status); }; }; then
25785
25786 wx_cv_struct_pw_gecos=yes
25787
25788else
25789 echo "$as_me: failed program was:" >&5
25790sed 's/^/| /' conftest.$ac_ext >&5
25791
25792
25793 wx_cv_struct_pw_gecos=no
25794
25795
25796fi
25797rm -f conftest.$ac_objext conftest.$ac_ext
25798
25799
25800fi
25801echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
25802echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
25803
25804if test "$wx_cv_struct_pw_gecos" = "yes"; then
25805 cat >>confdefs.h <<\_ACEOF
25806#define HAVE_PW_GECOS 1
25807_ACEOF
25808
25809fi
25810
25811
25812if test "$wx_cv_sizeof_wchar_t" != "0"; then
25813 cat >>confdefs.h <<\_ACEOF
25814#define wxUSE_WCHAR_T 1
25815_ACEOF
25816
25817
25818 WCSLEN_FOUND=0
25819 WCHAR_LINK=
25820
25821for ac_func in wcslen
25822do
25823as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25824echo "$as_me:$LINENO: checking for $ac_func" >&5
25825echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25826if eval "test \"\${$as_ac_var+set}\" = set"; then
25827 echo $ECHO_N "(cached) $ECHO_C" >&6
25828else
25829 cat >conftest.$ac_ext <<_ACEOF
25830#line $LINENO "configure"
25831/* confdefs.h. */
25832_ACEOF
25833cat confdefs.h >>conftest.$ac_ext
25834cat >>conftest.$ac_ext <<_ACEOF
25835/* end confdefs.h. */
25836/* System header to define __stub macros and hopefully few prototypes,
25837 which can conflict with char $ac_func (); below.
25838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25839 <limits.h> exists even on freestanding compilers. */
25840#ifdef __STDC__
25841# include <limits.h>
25842#else
25843# include <assert.h>
25844#endif
25845/* Override any gcc2 internal prototype to avoid an error. */
25846#ifdef __cplusplus
25847extern "C"
25848{
25849#endif
25850/* We use char because int might match the return type of a gcc2
25851 builtin and then its argument prototype would still apply. */
25852char $ac_func ();
25853/* The GNU C library defines this for functions which it implements
25854 to always fail with ENOSYS. Some functions are actually named
25855 something starting with __ and the normal name is an alias. */
25856#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25857choke me
25858#else
25859char (*f) () = $ac_func;
25860#endif
25861#ifdef __cplusplus
25862}
25863#endif
25864
25865int
25866main ()
25867{
25868return f != $ac_func;
25869 ;
25870 return 0;
25871}
25872_ACEOF
25873rm -f conftest.$ac_objext conftest$ac_exeext
25874if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25875 (eval $ac_link) 2>&5
25876 ac_status=$?
25877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25878 (exit $ac_status); } &&
25879 { ac_try='test -s conftest$ac_exeext'
25880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25881 (eval $ac_try) 2>&5
25882 ac_status=$?
25883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25884 (exit $ac_status); }; }; then
25885 eval "$as_ac_var=yes"
25886else
25887 echo "$as_me: failed program was:" >&5
25888sed 's/^/| /' conftest.$ac_ext >&5
25889
25890eval "$as_ac_var=no"
25891fi
25892rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25893fi
25894echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25895echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25896if test `eval echo '${'$as_ac_var'}'` = yes; then
25897 cat >>confdefs.h <<_ACEOF
25898#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25899_ACEOF
25900 WCSLEN_FOUND=1
25901fi
25902done
25903
25904
25905 if test "$WCSLEN_FOUND" = 0; then
25906 if test "$TOOLKIT" = "MSW"; then
25907 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
25908echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
25909if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
25910 echo $ECHO_N "(cached) $ECHO_C" >&6
25911else
25912 ac_check_lib_save_LIBS=$LIBS
25913LIBS="-lmsvcrt $LIBS"
25914cat >conftest.$ac_ext <<_ACEOF
25915#line $LINENO "configure"
25916/* confdefs.h. */
25917_ACEOF
25918cat confdefs.h >>conftest.$ac_ext
25919cat >>conftest.$ac_ext <<_ACEOF
25920/* end confdefs.h. */
25921
25922/* Override any gcc2 internal prototype to avoid an error. */
25923#ifdef __cplusplus
25924extern "C"
25925#endif
25926/* We use char because int might match the return type of a gcc2
25927 builtin and then its argument prototype would still apply. */
25928char wcslen ();
25929int
25930main ()
25931{
25932wcslen ();
25933 ;
25934 return 0;
25935}
25936_ACEOF
25937rm -f conftest.$ac_objext conftest$ac_exeext
25938if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25939 (eval $ac_link) 2>&5
25940 ac_status=$?
25941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25942 (exit $ac_status); } &&
25943 { ac_try='test -s conftest$ac_exeext'
25944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25945 (eval $ac_try) 2>&5
25946 ac_status=$?
25947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25948 (exit $ac_status); }; }; then
25949 ac_cv_lib_msvcrt_wcslen=yes
25950else
25951 echo "$as_me: failed program was:" >&5
25952sed 's/^/| /' conftest.$ac_ext >&5
25953
25954ac_cv_lib_msvcrt_wcslen=no
25955fi
25956rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25957LIBS=$ac_check_lib_save_LIBS
25958fi
25959echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
25960echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
25961if test $ac_cv_lib_msvcrt_wcslen = yes; then
25962 WCHAR_OK=1
25963fi
25964
25965 else
25966 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
25967echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
25968if test "${ac_cv_lib_w_wcslen+set}" = set; then
25969 echo $ECHO_N "(cached) $ECHO_C" >&6
25970else
25971 ac_check_lib_save_LIBS=$LIBS
25972LIBS="-lw $LIBS"
25973cat >conftest.$ac_ext <<_ACEOF
25974#line $LINENO "configure"
25975/* confdefs.h. */
25976_ACEOF
25977cat confdefs.h >>conftest.$ac_ext
25978cat >>conftest.$ac_ext <<_ACEOF
25979/* end confdefs.h. */
25980
25981/* Override any gcc2 internal prototype to avoid an error. */
25982#ifdef __cplusplus
25983extern "C"
25984#endif
25985/* We use char because int might match the return type of a gcc2
25986 builtin and then its argument prototype would still apply. */
25987char wcslen ();
25988int
25989main ()
25990{
25991wcslen ();
25992 ;
25993 return 0;
25994}
25995_ACEOF
25996rm -f conftest.$ac_objext conftest$ac_exeext
25997if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25998 (eval $ac_link) 2>&5
25999 ac_status=$?
26000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26001 (exit $ac_status); } &&
26002 { ac_try='test -s conftest$ac_exeext'
26003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26004 (eval $ac_try) 2>&5
26005 ac_status=$?
26006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26007 (exit $ac_status); }; }; then
26008 ac_cv_lib_w_wcslen=yes
26009else
26010 echo "$as_me: failed program was:" >&5
26011sed 's/^/| /' conftest.$ac_ext >&5
26012
26013ac_cv_lib_w_wcslen=no
26014fi
26015rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26016LIBS=$ac_check_lib_save_LIBS
26017fi
26018echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26019echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26020if test $ac_cv_lib_w_wcslen = yes; then
26021
26022 WCHAR_LINK=" -lw"
26023 WCSLEN_FOUND=1
26024
26025fi
26026
26027 fi
26028 fi
26029
26030 if test "$WCSLEN_FOUND" = 1; then
26031 cat >>confdefs.h <<\_ACEOF
26032#define HAVE_WCSLEN 1
26033_ACEOF
26034
26035 fi
26036
26037
26038for ac_func in wcsrtombs
26039do
26040as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26041echo "$as_me:$LINENO: checking for $ac_func" >&5
26042echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26043if eval "test \"\${$as_ac_var+set}\" = set"; then
26044 echo $ECHO_N "(cached) $ECHO_C" >&6
26045else
26046 cat >conftest.$ac_ext <<_ACEOF
26047#line $LINENO "configure"
26048/* confdefs.h. */
26049_ACEOF
26050cat confdefs.h >>conftest.$ac_ext
26051cat >>conftest.$ac_ext <<_ACEOF
26052/* end confdefs.h. */
26053/* System header to define __stub macros and hopefully few prototypes,
26054 which can conflict with char $ac_func (); below.
26055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26056 <limits.h> exists even on freestanding compilers. */
26057#ifdef __STDC__
26058# include <limits.h>
26059#else
26060# include <assert.h>
26061#endif
26062/* Override any gcc2 internal prototype to avoid an error. */
26063#ifdef __cplusplus
26064extern "C"
26065{
26066#endif
26067/* We use char because int might match the return type of a gcc2
26068 builtin and then its argument prototype would still apply. */
26069char $ac_func ();
26070/* The GNU C library defines this for functions which it implements
26071 to always fail with ENOSYS. Some functions are actually named
26072 something starting with __ and the normal name is an alias. */
26073#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26074choke me
26075#else
26076char (*f) () = $ac_func;
26077#endif
26078#ifdef __cplusplus
26079}
26080#endif
26081
26082int
26083main ()
26084{
26085return f != $ac_func;
26086 ;
26087 return 0;
26088}
26089_ACEOF
26090rm -f conftest.$ac_objext conftest$ac_exeext
26091if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26092 (eval $ac_link) 2>&5
26093 ac_status=$?
26094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26095 (exit $ac_status); } &&
26096 { ac_try='test -s conftest$ac_exeext'
26097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26098 (eval $ac_try) 2>&5
26099 ac_status=$?
26100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26101 (exit $ac_status); }; }; then
26102 eval "$as_ac_var=yes"
26103else
26104 echo "$as_me: failed program was:" >&5
26105sed 's/^/| /' conftest.$ac_ext >&5
26106
26107eval "$as_ac_var=no"
26108fi
26109rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26110fi
26111echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26112echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26113if test `eval echo '${'$as_ac_var'}'` = yes; then
26114 cat >>confdefs.h <<_ACEOF
26115#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26116_ACEOF
26117
26118fi
26119done
26120
26121else
26122 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26123echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26124fi
26125
26126
26127
26128ac_ext=cc
26129ac_cpp='$CXXCPP $CPPFLAGS'
26130ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26131ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26132ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26133
26134
26135
26136for ac_func in vsnprintf
26137do
26138as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26139echo "$as_me:$LINENO: checking for $ac_func" >&5
26140echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26141if eval "test \"\${$as_ac_var+set}\" = set"; then
26142 echo $ECHO_N "(cached) $ECHO_C" >&6
26143else
26144 cat >conftest.$ac_ext <<_ACEOF
26145#line $LINENO "configure"
26146/* confdefs.h. */
26147_ACEOF
26148cat confdefs.h >>conftest.$ac_ext
26149cat >>conftest.$ac_ext <<_ACEOF
26150/* end confdefs.h. */
26151/* System header to define __stub macros and hopefully few prototypes,
26152 which can conflict with char $ac_func (); below.
26153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26154 <limits.h> exists even on freestanding compilers. */
26155#ifdef __STDC__
26156# include <limits.h>
26157#else
26158# include <assert.h>
26159#endif
26160/* Override any gcc2 internal prototype to avoid an error. */
26161#ifdef __cplusplus
26162extern "C"
26163{
26164#endif
26165/* We use char because int might match the return type of a gcc2
26166 builtin and then its argument prototype would still apply. */
26167char $ac_func ();
26168/* The GNU C library defines this for functions which it implements
26169 to always fail with ENOSYS. Some functions are actually named
26170 something starting with __ and the normal name is an alias. */
26171#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26172choke me
26173#else
26174char (*f) () = $ac_func;
26175#endif
26176#ifdef __cplusplus
26177}
26178#endif
26179
26180int
26181main ()
26182{
26183return f != $ac_func;
26184 ;
26185 return 0;
26186}
26187_ACEOF
26188rm -f conftest.$ac_objext conftest$ac_exeext
26189if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26190 (eval $ac_link) 2>&5
26191 ac_status=$?
26192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26193 (exit $ac_status); } &&
26194 { ac_try='test -s conftest$ac_exeext'
26195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26196 (eval $ac_try) 2>&5
26197 ac_status=$?
26198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26199 (exit $ac_status); }; }; then
26200 eval "$as_ac_var=yes"
26201else
26202 echo "$as_me: failed program was:" >&5
26203sed 's/^/| /' conftest.$ac_ext >&5
26204
26205eval "$as_ac_var=no"
26206fi
26207rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26208fi
26209echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26210echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26211if test `eval echo '${'$as_ac_var'}'` = yes; then
26212 cat >>confdefs.h <<_ACEOF
26213#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26214_ACEOF
26215
26216fi
26217done
26218
26219
26220if test "$ac_cv_func_vsnprintf" = "yes"; then
26221 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26222echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26223if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26224 echo $ECHO_N "(cached) $ECHO_C" >&6
26225else
26226
26227 cat >conftest.$ac_ext <<_ACEOF
26228#line $LINENO "configure"
26229/* confdefs.h. */
26230_ACEOF
26231cat confdefs.h >>conftest.$ac_ext
26232cat >>conftest.$ac_ext <<_ACEOF
26233/* end confdefs.h. */
26234
26235 #include <stdio.h>
26236 #include <stdarg.h>
26237
26238int
26239main ()
26240{
26241
26242 char *buf;
26243 va_list ap;
26244 vsnprintf(buf, 10u, "%s", ap);
26245
26246 ;
26247 return 0;
26248}
26249_ACEOF
26250rm -f conftest.$ac_objext
26251if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26252 (eval $ac_compile) 2>&5
26253 ac_status=$?
26254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26255 (exit $ac_status); } &&
26256 { ac_try='test -s conftest.$ac_objext'
26257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26258 (eval $ac_try) 2>&5
26259 ac_status=$?
26260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26261 (exit $ac_status); }; }; then
26262 wx_cv_func_vsnprintf_decl=yes
26263else
26264 echo "$as_me: failed program was:" >&5
26265sed 's/^/| /' conftest.$ac_ext >&5
26266
26267wx_cv_func_vsnprintf_decl=no
26268
26269fi
26270rm -f conftest.$ac_objext conftest.$ac_ext
26271
26272
26273fi
26274echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26275echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26276
26277 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26278 cat >>confdefs.h <<\_ACEOF
26279#define HAVE_VSNPRINTF_DECL 1
26280_ACEOF
26281
26282 fi
26283fi
26284
26285if test "$wxUSE_UNICODE" = yes; then
26286
26287
26288
26289for ac_func in fputwc wprintf vswprintf
26290do
26291as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26292echo "$as_me:$LINENO: checking for $ac_func" >&5
26293echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26294if eval "test \"\${$as_ac_var+set}\" = set"; then
26295 echo $ECHO_N "(cached) $ECHO_C" >&6
26296else
26297 cat >conftest.$ac_ext <<_ACEOF
26298#line $LINENO "configure"
26299/* confdefs.h. */
26300_ACEOF
26301cat confdefs.h >>conftest.$ac_ext
26302cat >>conftest.$ac_ext <<_ACEOF
26303/* end confdefs.h. */
26304/* System header to define __stub macros and hopefully few prototypes,
26305 which can conflict with char $ac_func (); below.
26306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26307 <limits.h> exists even on freestanding compilers. */
26308#ifdef __STDC__
26309# include <limits.h>
26310#else
26311# include <assert.h>
26312#endif
26313/* Override any gcc2 internal prototype to avoid an error. */
26314#ifdef __cplusplus
26315extern "C"
26316{
26317#endif
26318/* We use char because int might match the return type of a gcc2
26319 builtin and then its argument prototype would still apply. */
26320char $ac_func ();
26321/* The GNU C library defines this for functions which it implements
26322 to always fail with ENOSYS. Some functions are actually named
26323 something starting with __ and the normal name is an alias. */
26324#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26325choke me
26326#else
26327char (*f) () = $ac_func;
26328#endif
26329#ifdef __cplusplus
26330}
26331#endif
26332
26333int
26334main ()
26335{
26336return f != $ac_func;
26337 ;
26338 return 0;
26339}
26340_ACEOF
26341rm -f conftest.$ac_objext conftest$ac_exeext
26342if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26343 (eval $ac_link) 2>&5
26344 ac_status=$?
26345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26346 (exit $ac_status); } &&
26347 { ac_try='test -s conftest$ac_exeext'
26348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26349 (eval $ac_try) 2>&5
26350 ac_status=$?
26351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26352 (exit $ac_status); }; }; then
26353 eval "$as_ac_var=yes"
26354else
26355 echo "$as_me: failed program was:" >&5
26356sed 's/^/| /' conftest.$ac_ext >&5
26357
26358eval "$as_ac_var=no"
26359fi
26360rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26361fi
26362echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26363echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26364if test `eval echo '${'$as_ac_var'}'` = yes; then
26365 cat >>confdefs.h <<_ACEOF
26366#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26367_ACEOF
26368
26369fi
26370done
26371
26372
26373 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26374echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26375 cat >conftest.$ac_ext <<_ACEOF
26376#line $LINENO "configure"
26377/* confdefs.h. */
26378_ACEOF
26379cat confdefs.h >>conftest.$ac_ext
26380cat >>conftest.$ac_ext <<_ACEOF
26381/* end confdefs.h. */
26382#include <wchar.h>
26383int
26384main ()
26385{
26386&_vsnwprintf;
26387 ;
26388 return 0;
26389}
26390_ACEOF
26391rm -f conftest.$ac_objext
26392if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26393 (eval $ac_compile) 2>&5
26394 ac_status=$?
26395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26396 (exit $ac_status); } &&
26397 { ac_try='test -s conftest.$ac_objext'
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 echo "$as_me:$LINENO: result: yes" >&5
26404echo "${ECHO_T}yes" >&6
26405 cat >>confdefs.h <<\_ACEOF
26406#define HAVE__VSNWPRINTF 1
26407_ACEOF
26408
26409else
26410 echo "$as_me: failed program was:" >&5
26411sed 's/^/| /' conftest.$ac_ext >&5
26412
26413echo "$as_me:$LINENO: result: no" >&5
26414echo "${ECHO_T}no" >&6
26415fi
26416rm -f conftest.$ac_objext conftest.$ac_ext;
26417fi
26418
26419ac_ext=c
26420ac_cpp='$CPP $CPPFLAGS'
26421ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26422ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26423ac_compiler_gnu=$ac_cv_c_compiler_gnu
26424
26425
26426
26427
26428if test "$TOOLKIT" != "MSW"; then
26429
26430
26431
26432
26433ac_ext=cc
26434ac_cpp='$CXXCPP $CPPFLAGS'
26435ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26436ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26437ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26438
26439
26440
26441
26442# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26443if test "${with_libiconv_prefix+set}" = set; then
26444 withval="$with_libiconv_prefix"
26445
26446 for dir in `echo "$withval" | tr : ' '`; do
26447 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
26448 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
26449 done
26450
26451fi;
26452
26453 echo "$as_me:$LINENO: checking for iconv" >&5
26454echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26455if test "${am_cv_func_iconv+set}" = set; then
26456 echo $ECHO_N "(cached) $ECHO_C" >&6
26457else
26458
26459 am_cv_func_iconv="no, consider installing GNU libiconv"
26460 am_cv_lib_iconv=no
26461 cat >conftest.$ac_ext <<_ACEOF
26462#line $LINENO "configure"
26463/* confdefs.h. */
26464_ACEOF
26465cat confdefs.h >>conftest.$ac_ext
26466cat >>conftest.$ac_ext <<_ACEOF
26467/* end confdefs.h. */
26468#include <stdlib.h>
26469#include <iconv.h>
26470int
26471main ()
26472{
26473iconv_t cd = iconv_open("","");
26474 iconv(cd,NULL,NULL,NULL,NULL);
26475 iconv_close(cd);
26476 ;
26477 return 0;
26478}
26479_ACEOF
26480rm -f conftest.$ac_objext conftest$ac_exeext
26481if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26482 (eval $ac_link) 2>&5
26483 ac_status=$?
26484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26485 (exit $ac_status); } &&
26486 { ac_try='test -s conftest$ac_exeext'
26487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26488 (eval $ac_try) 2>&5
26489 ac_status=$?
26490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26491 (exit $ac_status); }; }; then
26492 am_cv_func_iconv=yes
26493else
26494 echo "$as_me: failed program was:" >&5
26495sed 's/^/| /' conftest.$ac_ext >&5
26496
26497fi
26498rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26499 if test "$am_cv_func_iconv" != yes; then
26500 am_save_LIBS="$LIBS"
26501 LIBS="$LIBS -liconv"
26502 cat >conftest.$ac_ext <<_ACEOF
26503#line $LINENO "configure"
26504/* confdefs.h. */
26505_ACEOF
26506cat confdefs.h >>conftest.$ac_ext
26507cat >>conftest.$ac_ext <<_ACEOF
26508/* end confdefs.h. */
26509#include <stdlib.h>
26510#include <iconv.h>
26511int
26512main ()
26513{
26514iconv_t cd = iconv_open("","");
26515 iconv(cd,NULL,NULL,NULL,NULL);
26516 iconv_close(cd);
26517 ;
26518 return 0;
26519}
26520_ACEOF
26521rm -f conftest.$ac_objext conftest$ac_exeext
26522if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26523 (eval $ac_link) 2>&5
26524 ac_status=$?
26525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26526 (exit $ac_status); } &&
26527 { ac_try='test -s conftest$ac_exeext'
26528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26529 (eval $ac_try) 2>&5
26530 ac_status=$?
26531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26532 (exit $ac_status); }; }; then
26533 am_cv_lib_iconv=yes
26534 am_cv_func_iconv=yes
26535else
26536 echo "$as_me: failed program was:" >&5
26537sed 's/^/| /' conftest.$ac_ext >&5
26538
26539fi
26540rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26541 LIBS="$am_save_LIBS"
26542 fi
26543
26544fi
26545echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26546echo "${ECHO_T}$am_cv_func_iconv" >&6
26547 if test "$am_cv_func_iconv" = yes; then
26548
26549cat >>confdefs.h <<\_ACEOF
26550#define HAVE_ICONV 1
26551_ACEOF
26552
26553 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26554echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26555if test "${wx_cv_func_iconv_const+set}" = set; then
26556 echo $ECHO_N "(cached) $ECHO_C" >&6
26557else
26558 cat >conftest.$ac_ext <<_ACEOF
26559#line $LINENO "configure"
26560/* confdefs.h. */
26561_ACEOF
26562cat confdefs.h >>conftest.$ac_ext
26563cat >>conftest.$ac_ext <<_ACEOF
26564/* end confdefs.h. */
26565
26566#include <stdlib.h>
26567#include <iconv.h>
26568extern
26569#ifdef __cplusplus
26570"C"
26571#endif
26572#if defined(__STDC__) || defined(__cplusplus)
26573size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26574#else
26575size_t iconv();
26576#endif
26577
26578int
26579main ()
26580{
26581
26582 ;
26583 return 0;
26584}
26585_ACEOF
26586rm -f conftest.$ac_objext
26587if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26588 (eval $ac_compile) 2>&5
26589 ac_status=$?
26590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26591 (exit $ac_status); } &&
26592 { ac_try='test -s conftest.$ac_objext'
26593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26594 (eval $ac_try) 2>&5
26595 ac_status=$?
26596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26597 (exit $ac_status); }; }; then
26598 wx_cv_func_iconv_const="no"
26599else
26600 echo "$as_me: failed program was:" >&5
26601sed 's/^/| /' conftest.$ac_ext >&5
26602
26603wx_cv_func_iconv_const="yes"
26604
26605fi
26606rm -f conftest.$ac_objext conftest.$ac_ext
26607
26608fi
26609echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26610echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26611
26612 iconv_const=
26613 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26614 iconv_const="const"
26615 fi
26616
26617
26618cat >>confdefs.h <<_ACEOF
26619#define ICONV_CONST $iconv_const
26620_ACEOF
26621
26622 fi
26623 LIBICONV=
26624 if test "$am_cv_lib_iconv" = yes; then
26625 LIBICONV="-liconv"
26626 fi
26627
26628
26629LIBS="$LIBICONV $LIBS"
26630ac_ext=c
26631ac_cpp='$CPP $CPPFLAGS'
26632ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26633ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26634ac_compiler_gnu=$ac_cv_c_compiler_gnu
26635
26636
26637if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26638
26639for ac_func in sigaction
26640do
26641as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26642echo "$as_me:$LINENO: checking for $ac_func" >&5
26643echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26644if eval "test \"\${$as_ac_var+set}\" = set"; then
26645 echo $ECHO_N "(cached) $ECHO_C" >&6
26646else
26647 cat >conftest.$ac_ext <<_ACEOF
26648#line $LINENO "configure"
26649/* confdefs.h. */
26650_ACEOF
26651cat confdefs.h >>conftest.$ac_ext
26652cat >>conftest.$ac_ext <<_ACEOF
26653/* end confdefs.h. */
26654/* System header to define __stub macros and hopefully few prototypes,
26655 which can conflict with char $ac_func (); below.
26656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26657 <limits.h> exists even on freestanding compilers. */
26658#ifdef __STDC__
26659# include <limits.h>
26660#else
26661# include <assert.h>
26662#endif
26663/* Override any gcc2 internal prototype to avoid an error. */
26664#ifdef __cplusplus
26665extern "C"
26666{
26667#endif
26668/* We use char because int might match the return type of a gcc2
26669 builtin and then its argument prototype would still apply. */
26670char $ac_func ();
26671/* The GNU C library defines this for functions which it implements
26672 to always fail with ENOSYS. Some functions are actually named
26673 something starting with __ and the normal name is an alias. */
26674#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26675choke me
26676#else
26677char (*f) () = $ac_func;
26678#endif
26679#ifdef __cplusplus
26680}
26681#endif
26682
26683int
26684main ()
26685{
26686return f != $ac_func;
26687 ;
26688 return 0;
26689}
26690_ACEOF
26691rm -f conftest.$ac_objext conftest$ac_exeext
26692if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26693 (eval $ac_link) 2>&5
26694 ac_status=$?
26695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26696 (exit $ac_status); } &&
26697 { ac_try='test -s conftest$ac_exeext'
26698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26699 (eval $ac_try) 2>&5
26700 ac_status=$?
26701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26702 (exit $ac_status); }; }; then
26703 eval "$as_ac_var=yes"
26704else
26705 echo "$as_me: failed program was:" >&5
26706sed 's/^/| /' conftest.$ac_ext >&5
26707
26708eval "$as_ac_var=no"
26709fi
26710rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26711fi
26712echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26713echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26714if test `eval echo '${'$as_ac_var'}'` = yes; then
26715 cat >>confdefs.h <<_ACEOF
26716#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26717_ACEOF
26718
26719fi
26720done
26721
26722
26723 if test "$ac_cv_func_sigaction" = "no"; then
26724 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
26725echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
26726 wxUSE_ON_FATAL_EXCEPTION=no
26727 fi
26728
26729 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
26730
26731
26732 ac_ext=cc
26733ac_cpp='$CXXCPP $CPPFLAGS'
26734ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26735ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26736ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26737
26738
26739 echo "$as_me:$LINENO: checking for sa_handler type" >&5
26740echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
26741if test "${wx_cv_type_sa_handler+set}" = set; then
26742 echo $ECHO_N "(cached) $ECHO_C" >&6
26743else
26744
26745 cat >conftest.$ac_ext <<_ACEOF
26746#line $LINENO "configure"
26747/* confdefs.h. */
26748_ACEOF
26749cat confdefs.h >>conftest.$ac_ext
26750cat >>conftest.$ac_ext <<_ACEOF
26751/* end confdefs.h. */
26752#include <signal.h>
26753int
26754main ()
26755{
26756
26757 extern void testSigHandler(int);
26758
26759 struct sigaction sa;
26760 sa.sa_handler = testSigHandler;
26761
26762 ;
26763 return 0;
26764}
26765_ACEOF
26766rm -f conftest.$ac_objext
26767if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26768 (eval $ac_compile) 2>&5
26769 ac_status=$?
26770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26771 (exit $ac_status); } &&
26772 { ac_try='test -s conftest.$ac_objext'
26773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26774 (eval $ac_try) 2>&5
26775 ac_status=$?
26776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26777 (exit $ac_status); }; }; then
26778
26779 wx_cv_type_sa_handler=int
26780
26781else
26782 echo "$as_me: failed program was:" >&5
26783sed 's/^/| /' conftest.$ac_ext >&5
26784
26785
26786 wx_cv_type_sa_handler=void
26787
26788fi
26789rm -f conftest.$ac_objext conftest.$ac_ext
26790
26791fi
26792echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
26793echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
26794
26795 ac_ext=c
26796ac_cpp='$CPP $CPPFLAGS'
26797ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26798ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26799ac_compiler_gnu=$ac_cv_c_compiler_gnu
26800
26801
26802 cat >>confdefs.h <<_ACEOF
26803#define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
26804_ACEOF
26805
26806 fi
26807fi
26808
26809
26810
26811for ac_func in mkstemp mktemp
26812do
26813as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26814echo "$as_me:$LINENO: checking for $ac_func" >&5
26815echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26816if eval "test \"\${$as_ac_var+set}\" = set"; then
26817 echo $ECHO_N "(cached) $ECHO_C" >&6
26818else
26819 cat >conftest.$ac_ext <<_ACEOF
26820#line $LINENO "configure"
26821/* confdefs.h. */
26822_ACEOF
26823cat confdefs.h >>conftest.$ac_ext
26824cat >>conftest.$ac_ext <<_ACEOF
26825/* end confdefs.h. */
26826/* System header to define __stub macros and hopefully few prototypes,
26827 which can conflict with char $ac_func (); below.
26828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26829 <limits.h> exists even on freestanding compilers. */
26830#ifdef __STDC__
26831# include <limits.h>
26832#else
26833# include <assert.h>
26834#endif
26835/* Override any gcc2 internal prototype to avoid an error. */
26836#ifdef __cplusplus
26837extern "C"
26838{
26839#endif
26840/* We use char because int might match the return type of a gcc2
26841 builtin and then its argument prototype would still apply. */
26842char $ac_func ();
26843/* The GNU C library defines this for functions which it implements
26844 to always fail with ENOSYS. Some functions are actually named
26845 something starting with __ and the normal name is an alias. */
26846#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26847choke me
26848#else
26849char (*f) () = $ac_func;
26850#endif
26851#ifdef __cplusplus
26852}
26853#endif
26854
26855int
26856main ()
26857{
26858return f != $ac_func;
26859 ;
26860 return 0;
26861}
26862_ACEOF
26863rm -f conftest.$ac_objext conftest$ac_exeext
26864if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26865 (eval $ac_link) 2>&5
26866 ac_status=$?
26867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26868 (exit $ac_status); } &&
26869 { ac_try='test -s conftest$ac_exeext'
26870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26871 (eval $ac_try) 2>&5
26872 ac_status=$?
26873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26874 (exit $ac_status); }; }; then
26875 eval "$as_ac_var=yes"
26876else
26877 echo "$as_me: failed program was:" >&5
26878sed 's/^/| /' conftest.$ac_ext >&5
26879
26880eval "$as_ac_var=no"
26881fi
26882rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26883fi
26884echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26885echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26886if test `eval echo '${'$as_ac_var'}'` = yes; then
26887 cat >>confdefs.h <<_ACEOF
26888#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26889_ACEOF
26890 break
26891fi
26892done
26893
26894
26895echo "$as_me:$LINENO: checking for statfs" >&5
26896echo $ECHO_N "checking for statfs... $ECHO_C" >&6
26897if test "${wx_cv_func_statfs+set}" = set; then
26898 echo $ECHO_N "(cached) $ECHO_C" >&6
26899else
26900 cat >conftest.$ac_ext <<_ACEOF
26901#line $LINENO "configure"
26902/* confdefs.h. */
26903_ACEOF
26904cat confdefs.h >>conftest.$ac_ext
26905cat >>conftest.$ac_ext <<_ACEOF
26906/* end confdefs.h. */
26907
26908 #if defined(__BSD__)
26909 #include <sys/param.h>
26910 #include <sys/mount.h>
26911 #else
26912 #include <sys/vfs.h>
26913 #endif
26914
26915int
26916main ()
26917{
26918
26919 long l;
26920 struct statfs fs;
26921 statfs("/", &fs);
26922 l = fs.f_bsize;
26923 l += fs.f_blocks;
26924 l += fs.f_bavail;
26925
26926 ;
26927 return 0;
26928}
26929_ACEOF
26930rm -f conftest.$ac_objext
26931if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26932 (eval $ac_compile) 2>&5
26933 ac_status=$?
26934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26935 (exit $ac_status); } &&
26936 { ac_try='test -s conftest.$ac_objext'
26937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26938 (eval $ac_try) 2>&5
26939 ac_status=$?
26940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26941 (exit $ac_status); }; }; then
26942
26943 wx_cv_func_statfs=yes
26944
26945else
26946 echo "$as_me: failed program was:" >&5
26947sed 's/^/| /' conftest.$ac_ext >&5
26948
26949
26950 wx_cv_func_statfs=no
26951
26952
26953fi
26954rm -f conftest.$ac_objext conftest.$ac_ext
26955
26956fi
26957echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
26958echo "${ECHO_T}$wx_cv_func_statfs" >&6
26959
26960if test "$wx_cv_func_statfs" = "yes"; then
26961 wx_cv_type_statvfs_t="struct statfs"
26962 cat >>confdefs.h <<\_ACEOF
26963#define HAVE_STATFS 1
26964_ACEOF
26965
26966else
26967 echo "$as_me:$LINENO: checking for statvfs" >&5
26968echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
26969if test "${wx_cv_func_statvfs+set}" = set; then
26970 echo $ECHO_N "(cached) $ECHO_C" >&6
26971else
26972 cat >conftest.$ac_ext <<_ACEOF
26973#line $LINENO "configure"
26974/* confdefs.h. */
26975_ACEOF
26976cat confdefs.h >>conftest.$ac_ext
26977cat >>conftest.$ac_ext <<_ACEOF
26978/* end confdefs.h. */
26979
26980 #include <stddef.h>
26981 #include <sys/statvfs.h>
26982
26983int
26984main ()
26985{
26986
26987 statvfs("/", NULL);
26988
26989 ;
26990 return 0;
26991}
26992_ACEOF
26993rm -f conftest.$ac_objext
26994if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26995 (eval $ac_compile) 2>&5
26996 ac_status=$?
26997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26998 (exit $ac_status); } &&
26999 { ac_try='test -s conftest.$ac_objext'
27000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27001 (eval $ac_try) 2>&5
27002 ac_status=$?
27003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27004 (exit $ac_status); }; }; then
27005 wx_cv_func_statvfs=yes
27006else
27007 echo "$as_me: failed program was:" >&5
27008sed 's/^/| /' conftest.$ac_ext >&5
27009
27010wx_cv_func_statvfs=no
27011
27012fi
27013rm -f conftest.$ac_objext conftest.$ac_ext
27014
27015fi
27016echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27017echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27018
27019 if test "$wx_cv_func_statvfs" = "yes"; then
27020
27021
27022 ac_ext=cc
27023ac_cpp='$CXXCPP $CPPFLAGS'
27024ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27025ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27026ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27027
27028
27029 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27030echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27031if test "${wx_cv_type_statvfs_t+set}" = set; then
27032 echo $ECHO_N "(cached) $ECHO_C" >&6
27033else
27034 cat >conftest.$ac_ext <<_ACEOF
27035#line $LINENO "configure"
27036/* confdefs.h. */
27037_ACEOF
27038cat confdefs.h >>conftest.$ac_ext
27039cat >>conftest.$ac_ext <<_ACEOF
27040/* end confdefs.h. */
27041
27042 #include <sys/statvfs.h>
27043
27044int
27045main ()
27046{
27047
27048 long l;
27049 statvfs_t fs;
27050 statvfs("/", &fs);
27051 l = fs.f_bsize;
27052 l += fs.f_blocks;
27053 l += fs.f_bavail;
27054
27055 ;
27056 return 0;
27057}
27058_ACEOF
27059rm -f conftest.$ac_objext
27060if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27061 (eval $ac_compile) 2>&5
27062 ac_status=$?
27063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27064 (exit $ac_status); } &&
27065 { ac_try='test -s conftest.$ac_objext'
27066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27067 (eval $ac_try) 2>&5
27068 ac_status=$?
27069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27070 (exit $ac_status); }; }; then
27071 wx_cv_type_statvfs_t=statvfs_t
27072else
27073 echo "$as_me: failed program was:" >&5
27074sed 's/^/| /' conftest.$ac_ext >&5
27075
27076
27077 cat >conftest.$ac_ext <<_ACEOF
27078#line $LINENO "configure"
27079/* confdefs.h. */
27080_ACEOF
27081cat confdefs.h >>conftest.$ac_ext
27082cat >>conftest.$ac_ext <<_ACEOF
27083/* end confdefs.h. */
27084
27085 #include <sys/statvfs.h>
27086
27087int
27088main ()
27089{
27090
27091 long l;
27092 struct statvfs fs;
27093 statvfs("/", &fs);
27094 l = fs.f_bsize;
27095 l += fs.f_blocks;
27096 l += fs.f_bavail;
27097
27098 ;
27099 return 0;
27100}
27101_ACEOF
27102rm -f conftest.$ac_objext
27103if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27104 (eval $ac_compile) 2>&5
27105 ac_status=$?
27106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27107 (exit $ac_status); } &&
27108 { ac_try='test -s conftest.$ac_objext'
27109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27110 (eval $ac_try) 2>&5
27111 ac_status=$?
27112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27113 (exit $ac_status); }; }; then
27114 wx_cv_type_statvfs_t="struct statvfs"
27115else
27116 echo "$as_me: failed program was:" >&5
27117sed 's/^/| /' conftest.$ac_ext >&5
27118
27119wx_cv_type_statvfs_t="unknown"
27120
27121fi
27122rm -f conftest.$ac_objext conftest.$ac_ext
27123
27124
27125fi
27126rm -f conftest.$ac_objext conftest.$ac_ext
27127
27128fi
27129echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27130echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27131
27132 ac_ext=c
27133ac_cpp='$CPP $CPPFLAGS'
27134ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27135ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27136ac_compiler_gnu=$ac_cv_c_compiler_gnu
27137
27138
27139 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27140 cat >>confdefs.h <<\_ACEOF
27141#define HAVE_STATVFS 1
27142_ACEOF
27143
27144 fi
27145 else
27146 wx_cv_type_statvfs_t="unknown"
27147 fi
27148fi
27149
27150if test "$wx_cv_type_statvfs_t" != "unknown"; then
27151 cat >>confdefs.h <<_ACEOF
27152#define WX_STATFS_T $wx_cv_type_statvfs_t
27153_ACEOF
27154
27155else
27156 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27157echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27158fi
27159
27160if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27161
27162
27163for ac_func in fcntl flock
27164do
27165as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27166echo "$as_me:$LINENO: checking for $ac_func" >&5
27167echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27168if eval "test \"\${$as_ac_var+set}\" = set"; then
27169 echo $ECHO_N "(cached) $ECHO_C" >&6
27170else
27171 cat >conftest.$ac_ext <<_ACEOF
27172#line $LINENO "configure"
27173/* confdefs.h. */
27174_ACEOF
27175cat confdefs.h >>conftest.$ac_ext
27176cat >>conftest.$ac_ext <<_ACEOF
27177/* end confdefs.h. */
27178/* System header to define __stub macros and hopefully few prototypes,
27179 which can conflict with char $ac_func (); below.
27180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27181 <limits.h> exists even on freestanding compilers. */
27182#ifdef __STDC__
27183# include <limits.h>
27184#else
27185# include <assert.h>
27186#endif
27187/* Override any gcc2 internal prototype to avoid an error. */
27188#ifdef __cplusplus
27189extern "C"
27190{
27191#endif
27192/* We use char because int might match the return type of a gcc2
27193 builtin and then its argument prototype would still apply. */
27194char $ac_func ();
27195/* The GNU C library defines this for functions which it implements
27196 to always fail with ENOSYS. Some functions are actually named
27197 something starting with __ and the normal name is an alias. */
27198#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27199choke me
27200#else
27201char (*f) () = $ac_func;
27202#endif
27203#ifdef __cplusplus
27204}
27205#endif
27206
27207int
27208main ()
27209{
27210return f != $ac_func;
27211 ;
27212 return 0;
27213}
27214_ACEOF
27215rm -f conftest.$ac_objext conftest$ac_exeext
27216if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27217 (eval $ac_link) 2>&5
27218 ac_status=$?
27219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27220 (exit $ac_status); } &&
27221 { ac_try='test -s conftest$ac_exeext'
27222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27223 (eval $ac_try) 2>&5
27224 ac_status=$?
27225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27226 (exit $ac_status); }; }; then
27227 eval "$as_ac_var=yes"
27228else
27229 echo "$as_me: failed program was:" >&5
27230sed 's/^/| /' conftest.$ac_ext >&5
27231
27232eval "$as_ac_var=no"
27233fi
27234rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27235fi
27236echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27237echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27238if test `eval echo '${'$as_ac_var'}'` = yes; then
27239 cat >>confdefs.h <<_ACEOF
27240#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27241_ACEOF
27242 break
27243fi
27244done
27245
27246
27247 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27248 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27249echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27250 wxUSE_SNGLINST_CHECKER=no
27251 fi
27252fi
27253
27254
27255for ac_func in timegm
27256do
27257as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27258echo "$as_me:$LINENO: checking for $ac_func" >&5
27259echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27260if eval "test \"\${$as_ac_var+set}\" = set"; then
27261 echo $ECHO_N "(cached) $ECHO_C" >&6
27262else
27263 cat >conftest.$ac_ext <<_ACEOF
27264#line $LINENO "configure"
27265/* confdefs.h. */
27266_ACEOF
27267cat confdefs.h >>conftest.$ac_ext
27268cat >>conftest.$ac_ext <<_ACEOF
27269/* end confdefs.h. */
27270/* System header to define __stub macros and hopefully few prototypes,
27271 which can conflict with char $ac_func (); below.
27272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27273 <limits.h> exists even on freestanding compilers. */
27274#ifdef __STDC__
27275# include <limits.h>
27276#else
27277# include <assert.h>
27278#endif
27279/* Override any gcc2 internal prototype to avoid an error. */
27280#ifdef __cplusplus
27281extern "C"
27282{
27283#endif
27284/* We use char because int might match the return type of a gcc2
27285 builtin and then its argument prototype would still apply. */
27286char $ac_func ();
27287/* The GNU C library defines this for functions which it implements
27288 to always fail with ENOSYS. Some functions are actually named
27289 something starting with __ and the normal name is an alias. */
27290#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27291choke me
27292#else
27293char (*f) () = $ac_func;
27294#endif
27295#ifdef __cplusplus
27296}
27297#endif
27298
27299int
27300main ()
27301{
27302return f != $ac_func;
27303 ;
27304 return 0;
27305}
27306_ACEOF
27307rm -f conftest.$ac_objext conftest$ac_exeext
27308if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27309 (eval $ac_link) 2>&5
27310 ac_status=$?
27311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27312 (exit $ac_status); } &&
27313 { ac_try='test -s conftest$ac_exeext'
27314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27315 (eval $ac_try) 2>&5
27316 ac_status=$?
27317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27318 (exit $ac_status); }; }; then
27319 eval "$as_ac_var=yes"
27320else
27321 echo "$as_me: failed program was:" >&5
27322sed 's/^/| /' conftest.$ac_ext >&5
27323
27324eval "$as_ac_var=no"
27325fi
27326rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27327fi
27328echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27329echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27330if test `eval echo '${'$as_ac_var'}'` = yes; then
27331 cat >>confdefs.h <<_ACEOF
27332#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27333_ACEOF
27334
27335fi
27336done
27337
27338
27339
27340
27341for ac_func in putenv setenv
27342do
27343as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27344echo "$as_me:$LINENO: checking for $ac_func" >&5
27345echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27346if eval "test \"\${$as_ac_var+set}\" = set"; then
27347 echo $ECHO_N "(cached) $ECHO_C" >&6
27348else
27349 cat >conftest.$ac_ext <<_ACEOF
27350#line $LINENO "configure"
27351/* confdefs.h. */
27352_ACEOF
27353cat confdefs.h >>conftest.$ac_ext
27354cat >>conftest.$ac_ext <<_ACEOF
27355/* end confdefs.h. */
27356/* System header to define __stub macros and hopefully few prototypes,
27357 which can conflict with char $ac_func (); below.
27358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27359 <limits.h> exists even on freestanding compilers. */
27360#ifdef __STDC__
27361# include <limits.h>
27362#else
27363# include <assert.h>
27364#endif
27365/* Override any gcc2 internal prototype to avoid an error. */
27366#ifdef __cplusplus
27367extern "C"
27368{
27369#endif
27370/* We use char because int might match the return type of a gcc2
27371 builtin and then its argument prototype would still apply. */
27372char $ac_func ();
27373/* The GNU C library defines this for functions which it implements
27374 to always fail with ENOSYS. Some functions are actually named
27375 something starting with __ and the normal name is an alias. */
27376#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27377choke me
27378#else
27379char (*f) () = $ac_func;
27380#endif
27381#ifdef __cplusplus
27382}
27383#endif
27384
27385int
27386main ()
27387{
27388return f != $ac_func;
27389 ;
27390 return 0;
27391}
27392_ACEOF
27393rm -f conftest.$ac_objext conftest$ac_exeext
27394if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27395 (eval $ac_link) 2>&5
27396 ac_status=$?
27397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27398 (exit $ac_status); } &&
27399 { ac_try='test -s conftest$ac_exeext'
27400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27401 (eval $ac_try) 2>&5
27402 ac_status=$?
27403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27404 (exit $ac_status); }; }; then
27405 eval "$as_ac_var=yes"
27406else
27407 echo "$as_me: failed program was:" >&5
27408sed 's/^/| /' conftest.$ac_ext >&5
27409
27410eval "$as_ac_var=no"
27411fi
27412rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27413fi
27414echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27415echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27416if test `eval echo '${'$as_ac_var'}'` = yes; then
27417 cat >>confdefs.h <<_ACEOF
27418#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27419_ACEOF
27420 break
27421fi
27422done
27423
27424
27425HAVE_SOME_SLEEP_FUNC=0
27426if test "$USE_BEOS" = 1; then
27427 cat >>confdefs.h <<\_ACEOF
27428#define HAVE_SLEEP 1
27429_ACEOF
27430
27431 HAVE_SOME_SLEEP_FUNC=1
27432fi
27433
27434if test "$USE_DARWIN" = 1; then
27435 cat >>confdefs.h <<\_ACEOF
27436#define HAVE_USLEEP 1
27437_ACEOF
27438
27439 HAVE_SOME_SLEEP_FUNC=1
27440fi
27441
27442if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27443 POSIX4_LINK=
27444
27445for ac_func in nanosleep
27446do
27447as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27448echo "$as_me:$LINENO: checking for $ac_func" >&5
27449echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27450if eval "test \"\${$as_ac_var+set}\" = set"; then
27451 echo $ECHO_N "(cached) $ECHO_C" >&6
27452else
27453 cat >conftest.$ac_ext <<_ACEOF
27454#line $LINENO "configure"
27455/* confdefs.h. */
27456_ACEOF
27457cat confdefs.h >>conftest.$ac_ext
27458cat >>conftest.$ac_ext <<_ACEOF
27459/* end confdefs.h. */
27460/* System header to define __stub macros and hopefully few prototypes,
27461 which can conflict with char $ac_func (); below.
27462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27463 <limits.h> exists even on freestanding compilers. */
27464#ifdef __STDC__
27465# include <limits.h>
27466#else
27467# include <assert.h>
27468#endif
27469/* Override any gcc2 internal prototype to avoid an error. */
27470#ifdef __cplusplus
27471extern "C"
27472{
27473#endif
27474/* We use char because int might match the return type of a gcc2
27475 builtin and then its argument prototype would still apply. */
27476char $ac_func ();
27477/* The GNU C library defines this for functions which it implements
27478 to always fail with ENOSYS. Some functions are actually named
27479 something starting with __ and the normal name is an alias. */
27480#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27481choke me
27482#else
27483char (*f) () = $ac_func;
27484#endif
27485#ifdef __cplusplus
27486}
27487#endif
27488
27489int
27490main ()
27491{
27492return f != $ac_func;
27493 ;
27494 return 0;
27495}
27496_ACEOF
27497rm -f conftest.$ac_objext conftest$ac_exeext
27498if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27499 (eval $ac_link) 2>&5
27500 ac_status=$?
27501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27502 (exit $ac_status); } &&
27503 { ac_try='test -s conftest$ac_exeext'
27504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27505 (eval $ac_try) 2>&5
27506 ac_status=$?
27507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27508 (exit $ac_status); }; }; then
27509 eval "$as_ac_var=yes"
27510else
27511 echo "$as_me: failed program was:" >&5
27512sed 's/^/| /' conftest.$ac_ext >&5
27513
27514eval "$as_ac_var=no"
27515fi
27516rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27517fi
27518echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27519echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27520if test `eval echo '${'$as_ac_var'}'` = yes; then
27521 cat >>confdefs.h <<_ACEOF
27522#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27523_ACEOF
27524 cat >>confdefs.h <<\_ACEOF
27525#define HAVE_NANOSLEEP 1
27526_ACEOF
27527
27528else
27529
27530 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27531echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27532if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27533 echo $ECHO_N "(cached) $ECHO_C" >&6
27534else
27535 ac_check_lib_save_LIBS=$LIBS
27536LIBS="-lposix4 $LIBS"
27537cat >conftest.$ac_ext <<_ACEOF
27538#line $LINENO "configure"
27539/* confdefs.h. */
27540_ACEOF
27541cat confdefs.h >>conftest.$ac_ext
27542cat >>conftest.$ac_ext <<_ACEOF
27543/* end confdefs.h. */
27544
27545/* Override any gcc2 internal prototype to avoid an error. */
27546#ifdef __cplusplus
27547extern "C"
27548#endif
27549/* We use char because int might match the return type of a gcc2
27550 builtin and then its argument prototype would still apply. */
27551char nanosleep ();
27552int
27553main ()
27554{
27555nanosleep ();
27556 ;
27557 return 0;
27558}
27559_ACEOF
27560rm -f conftest.$ac_objext conftest$ac_exeext
27561if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27562 (eval $ac_link) 2>&5
27563 ac_status=$?
27564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27565 (exit $ac_status); } &&
27566 { ac_try='test -s conftest$ac_exeext'
27567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27568 (eval $ac_try) 2>&5
27569 ac_status=$?
27570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27571 (exit $ac_status); }; }; then
27572 ac_cv_lib_posix4_nanosleep=yes
27573else
27574 echo "$as_me: failed program was:" >&5
27575sed 's/^/| /' conftest.$ac_ext >&5
27576
27577ac_cv_lib_posix4_nanosleep=no
27578fi
27579rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27580LIBS=$ac_check_lib_save_LIBS
27581fi
27582echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27583echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27584if test $ac_cv_lib_posix4_nanosleep = yes; then
27585
27586 cat >>confdefs.h <<\_ACEOF
27587#define HAVE_NANOSLEEP 1
27588_ACEOF
27589
27590 POSIX4_LINK=" -lposix4"
27591
27592else
27593
27594
27595for ac_func in usleep
27596do
27597as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27598echo "$as_me:$LINENO: checking for $ac_func" >&5
27599echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27600if eval "test \"\${$as_ac_var+set}\" = set"; then
27601 echo $ECHO_N "(cached) $ECHO_C" >&6
27602else
27603 cat >conftest.$ac_ext <<_ACEOF
27604#line $LINENO "configure"
27605/* confdefs.h. */
27606_ACEOF
27607cat confdefs.h >>conftest.$ac_ext
27608cat >>conftest.$ac_ext <<_ACEOF
27609/* end confdefs.h. */
27610/* System header to define __stub macros and hopefully few prototypes,
27611 which can conflict with char $ac_func (); below.
27612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27613 <limits.h> exists even on freestanding compilers. */
27614#ifdef __STDC__
27615# include <limits.h>
27616#else
27617# include <assert.h>
27618#endif
27619/* Override any gcc2 internal prototype to avoid an error. */
27620#ifdef __cplusplus
27621extern "C"
27622{
27623#endif
27624/* We use char because int might match the return type of a gcc2
27625 builtin and then its argument prototype would still apply. */
27626char $ac_func ();
27627/* The GNU C library defines this for functions which it implements
27628 to always fail with ENOSYS. Some functions are actually named
27629 something starting with __ and the normal name is an alias. */
27630#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27631choke me
27632#else
27633char (*f) () = $ac_func;
27634#endif
27635#ifdef __cplusplus
27636}
27637#endif
27638
27639int
27640main ()
27641{
27642return f != $ac_func;
27643 ;
27644 return 0;
27645}
27646_ACEOF
27647rm -f conftest.$ac_objext conftest$ac_exeext
27648if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27649 (eval $ac_link) 2>&5
27650 ac_status=$?
27651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27652 (exit $ac_status); } &&
27653 { ac_try='test -s conftest$ac_exeext'
27654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27655 (eval $ac_try) 2>&5
27656 ac_status=$?
27657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27658 (exit $ac_status); }; }; then
27659 eval "$as_ac_var=yes"
27660else
27661 echo "$as_me: failed program was:" >&5
27662sed 's/^/| /' conftest.$ac_ext >&5
27663
27664eval "$as_ac_var=no"
27665fi
27666rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27667fi
27668echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27669echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27670if test `eval echo '${'$as_ac_var'}'` = yes; then
27671 cat >>confdefs.h <<_ACEOF
27672#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27673_ACEOF
27674 cat >>confdefs.h <<\_ACEOF
27675#define HAVE_USLEEP 1
27676_ACEOF
27677
27678else
27679 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
27680echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
27681
27682fi
27683done
27684
27685
27686
27687fi
27688
27689
27690
27691fi
27692done
27693
27694fi
27695
27696
27697
27698for ac_func in uname gethostname
27699do
27700as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27701echo "$as_me:$LINENO: checking for $ac_func" >&5
27702echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27703if eval "test \"\${$as_ac_var+set}\" = set"; then
27704 echo $ECHO_N "(cached) $ECHO_C" >&6
27705else
27706 cat >conftest.$ac_ext <<_ACEOF
27707#line $LINENO "configure"
27708/* confdefs.h. */
27709_ACEOF
27710cat confdefs.h >>conftest.$ac_ext
27711cat >>conftest.$ac_ext <<_ACEOF
27712/* end confdefs.h. */
27713/* System header to define __stub macros and hopefully few prototypes,
27714 which can conflict with char $ac_func (); below.
27715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27716 <limits.h> exists even on freestanding compilers. */
27717#ifdef __STDC__
27718# include <limits.h>
27719#else
27720# include <assert.h>
27721#endif
27722/* Override any gcc2 internal prototype to avoid an error. */
27723#ifdef __cplusplus
27724extern "C"
27725{
27726#endif
27727/* We use char because int might match the return type of a gcc2
27728 builtin and then its argument prototype would still apply. */
27729char $ac_func ();
27730/* The GNU C library defines this for functions which it implements
27731 to always fail with ENOSYS. Some functions are actually named
27732 something starting with __ and the normal name is an alias. */
27733#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27734choke me
27735#else
27736char (*f) () = $ac_func;
27737#endif
27738#ifdef __cplusplus
27739}
27740#endif
27741
27742int
27743main ()
27744{
27745return f != $ac_func;
27746 ;
27747 return 0;
27748}
27749_ACEOF
27750rm -f conftest.$ac_objext conftest$ac_exeext
27751if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27752 (eval $ac_link) 2>&5
27753 ac_status=$?
27754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27755 (exit $ac_status); } &&
27756 { ac_try='test -s conftest$ac_exeext'
27757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27758 (eval $ac_try) 2>&5
27759 ac_status=$?
27760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27761 (exit $ac_status); }; }; then
27762 eval "$as_ac_var=yes"
27763else
27764 echo "$as_me: failed program was:" >&5
27765sed 's/^/| /' conftest.$ac_ext >&5
27766
27767eval "$as_ac_var=no"
27768fi
27769rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27770fi
27771echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27772echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27773if test `eval echo '${'$as_ac_var'}'` = yes; then
27774 cat >>confdefs.h <<_ACEOF
27775#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27776_ACEOF
27777 break
27778fi
27779done
27780
27781
27782
27783
27784ac_ext=cc
27785ac_cpp='$CXXCPP $CPPFLAGS'
27786ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27787ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27788ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27789
27790
27791
27792for ac_func in strtok_r
27793do
27794as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27795echo "$as_me:$LINENO: checking for $ac_func" >&5
27796echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27797if eval "test \"\${$as_ac_var+set}\" = set"; then
27798 echo $ECHO_N "(cached) $ECHO_C" >&6
27799else
27800 cat >conftest.$ac_ext <<_ACEOF
27801#line $LINENO "configure"
27802/* confdefs.h. */
27803_ACEOF
27804cat confdefs.h >>conftest.$ac_ext
27805cat >>conftest.$ac_ext <<_ACEOF
27806/* end confdefs.h. */
27807/* System header to define __stub macros and hopefully few prototypes,
27808 which can conflict with char $ac_func (); below.
27809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27810 <limits.h> exists even on freestanding compilers. */
27811#ifdef __STDC__
27812# include <limits.h>
27813#else
27814# include <assert.h>
27815#endif
27816/* Override any gcc2 internal prototype to avoid an error. */
27817#ifdef __cplusplus
27818extern "C"
27819{
27820#endif
27821/* We use char because int might match the return type of a gcc2
27822 builtin and then its argument prototype would still apply. */
27823char $ac_func ();
27824/* The GNU C library defines this for functions which it implements
27825 to always fail with ENOSYS. Some functions are actually named
27826 something starting with __ and the normal name is an alias. */
27827#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27828choke me
27829#else
27830char (*f) () = $ac_func;
27831#endif
27832#ifdef __cplusplus
27833}
27834#endif
27835
27836int
27837main ()
27838{
27839return f != $ac_func;
27840 ;
27841 return 0;
27842}
27843_ACEOF
27844rm -f conftest.$ac_objext conftest$ac_exeext
27845if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27846 (eval $ac_link) 2>&5
27847 ac_status=$?
27848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27849 (exit $ac_status); } &&
27850 { ac_try='test -s conftest$ac_exeext'
27851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27852 (eval $ac_try) 2>&5
27853 ac_status=$?
27854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27855 (exit $ac_status); }; }; then
27856 eval "$as_ac_var=yes"
27857else
27858 echo "$as_me: failed program was:" >&5
27859sed 's/^/| /' conftest.$ac_ext >&5
27860
27861eval "$as_ac_var=no"
27862fi
27863rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27864fi
27865echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27866echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27867if test `eval echo '${'$as_ac_var'}'` = yes; then
27868 cat >>confdefs.h <<_ACEOF
27869#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27870_ACEOF
27871
27872fi
27873done
27874
27875
27876ac_ext=c
27877ac_cpp='$CPP $CPPFLAGS'
27878ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27879ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27880ac_compiler_gnu=$ac_cv_c_compiler_gnu
27881
27882
27883INET_LINK=
27884
27885for ac_func in inet_addr
27886do
27887as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27888echo "$as_me:$LINENO: checking for $ac_func" >&5
27889echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27890if eval "test \"\${$as_ac_var+set}\" = set"; then
27891 echo $ECHO_N "(cached) $ECHO_C" >&6
27892else
27893 cat >conftest.$ac_ext <<_ACEOF
27894#line $LINENO "configure"
27895/* confdefs.h. */
27896_ACEOF
27897cat confdefs.h >>conftest.$ac_ext
27898cat >>conftest.$ac_ext <<_ACEOF
27899/* end confdefs.h. */
27900/* System header to define __stub macros and hopefully few prototypes,
27901 which can conflict with char $ac_func (); below.
27902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27903 <limits.h> exists even on freestanding compilers. */
27904#ifdef __STDC__
27905# include <limits.h>
27906#else
27907# include <assert.h>
27908#endif
27909/* Override any gcc2 internal prototype to avoid an error. */
27910#ifdef __cplusplus
27911extern "C"
27912{
27913#endif
27914/* We use char because int might match the return type of a gcc2
27915 builtin and then its argument prototype would still apply. */
27916char $ac_func ();
27917/* The GNU C library defines this for functions which it implements
27918 to always fail with ENOSYS. Some functions are actually named
27919 something starting with __ and the normal name is an alias. */
27920#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27921choke me
27922#else
27923char (*f) () = $ac_func;
27924#endif
27925#ifdef __cplusplus
27926}
27927#endif
27928
27929int
27930main ()
27931{
27932return f != $ac_func;
27933 ;
27934 return 0;
27935}
27936_ACEOF
27937rm -f conftest.$ac_objext conftest$ac_exeext
27938if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27939 (eval $ac_link) 2>&5
27940 ac_status=$?
27941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27942 (exit $ac_status); } &&
27943 { ac_try='test -s conftest$ac_exeext'
27944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27945 (eval $ac_try) 2>&5
27946 ac_status=$?
27947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27948 (exit $ac_status); }; }; then
27949 eval "$as_ac_var=yes"
27950else
27951 echo "$as_me: failed program was:" >&5
27952sed 's/^/| /' conftest.$ac_ext >&5
27953
27954eval "$as_ac_var=no"
27955fi
27956rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27957fi
27958echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27959echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27960if test `eval echo '${'$as_ac_var'}'` = yes; then
27961 cat >>confdefs.h <<_ACEOF
27962#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27963_ACEOF
27964 cat >>confdefs.h <<\_ACEOF
27965#define HAVE_INET_ADDR 1
27966_ACEOF
27967
27968else
27969
27970 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
27971echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
27972if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
27973 echo $ECHO_N "(cached) $ECHO_C" >&6
27974else
27975 ac_check_lib_save_LIBS=$LIBS
27976LIBS="-lnsl $LIBS"
27977cat >conftest.$ac_ext <<_ACEOF
27978#line $LINENO "configure"
27979/* confdefs.h. */
27980_ACEOF
27981cat confdefs.h >>conftest.$ac_ext
27982cat >>conftest.$ac_ext <<_ACEOF
27983/* end confdefs.h. */
27984
27985/* Override any gcc2 internal prototype to avoid an error. */
27986#ifdef __cplusplus
27987extern "C"
27988#endif
27989/* We use char because int might match the return type of a gcc2
27990 builtin and then its argument prototype would still apply. */
27991char inet_addr ();
27992int
27993main ()
27994{
27995inet_addr ();
27996 ;
27997 return 0;
27998}
27999_ACEOF
28000rm -f conftest.$ac_objext conftest$ac_exeext
28001if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28002 (eval $ac_link) 2>&5
28003 ac_status=$?
28004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28005 (exit $ac_status); } &&
28006 { ac_try='test -s conftest$ac_exeext'
28007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28008 (eval $ac_try) 2>&5
28009 ac_status=$?
28010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28011 (exit $ac_status); }; }; then
28012 ac_cv_lib_nsl_inet_addr=yes
28013else
28014 echo "$as_me: failed program was:" >&5
28015sed 's/^/| /' conftest.$ac_ext >&5
28016
28017ac_cv_lib_nsl_inet_addr=no
28018fi
28019rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28020LIBS=$ac_check_lib_save_LIBS
28021fi
28022echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28023echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28024if test $ac_cv_lib_nsl_inet_addr = yes; then
28025 INET_LINK="nsl"
28026else
28027 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28028echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28029if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28030 echo $ECHO_N "(cached) $ECHO_C" >&6
28031else
28032 ac_check_lib_save_LIBS=$LIBS
28033LIBS="-lresolv $LIBS"
28034cat >conftest.$ac_ext <<_ACEOF
28035#line $LINENO "configure"
28036/* confdefs.h. */
28037_ACEOF
28038cat confdefs.h >>conftest.$ac_ext
28039cat >>conftest.$ac_ext <<_ACEOF
28040/* end confdefs.h. */
28041
28042/* Override any gcc2 internal prototype to avoid an error. */
28043#ifdef __cplusplus
28044extern "C"
28045#endif
28046/* We use char because int might match the return type of a gcc2
28047 builtin and then its argument prototype would still apply. */
28048char inet_addr ();
28049int
28050main ()
28051{
28052inet_addr ();
28053 ;
28054 return 0;
28055}
28056_ACEOF
28057rm -f conftest.$ac_objext conftest$ac_exeext
28058if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28059 (eval $ac_link) 2>&5
28060 ac_status=$?
28061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28062 (exit $ac_status); } &&
28063 { ac_try='test -s conftest$ac_exeext'
28064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28065 (eval $ac_try) 2>&5
28066 ac_status=$?
28067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28068 (exit $ac_status); }; }; then
28069 ac_cv_lib_resolv_inet_addr=yes
28070else
28071 echo "$as_me: failed program was:" >&5
28072sed 's/^/| /' conftest.$ac_ext >&5
28073
28074ac_cv_lib_resolv_inet_addr=no
28075fi
28076rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28077LIBS=$ac_check_lib_save_LIBS
28078fi
28079echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28080echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28081if test $ac_cv_lib_resolv_inet_addr = yes; then
28082 INET_LINK="resolv"
28083else
28084 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28085echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28086if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28087 echo $ECHO_N "(cached) $ECHO_C" >&6
28088else
28089 ac_check_lib_save_LIBS=$LIBS
28090LIBS="-lsocket $LIBS"
28091cat >conftest.$ac_ext <<_ACEOF
28092#line $LINENO "configure"
28093/* confdefs.h. */
28094_ACEOF
28095cat confdefs.h >>conftest.$ac_ext
28096cat >>conftest.$ac_ext <<_ACEOF
28097/* end confdefs.h. */
28098
28099/* Override any gcc2 internal prototype to avoid an error. */
28100#ifdef __cplusplus
28101extern "C"
28102#endif
28103/* We use char because int might match the return type of a gcc2
28104 builtin and then its argument prototype would still apply. */
28105char inet_addr ();
28106int
28107main ()
28108{
28109inet_addr ();
28110 ;
28111 return 0;
28112}
28113_ACEOF
28114rm -f conftest.$ac_objext conftest$ac_exeext
28115if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28116 (eval $ac_link) 2>&5
28117 ac_status=$?
28118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28119 (exit $ac_status); } &&
28120 { ac_try='test -s conftest$ac_exeext'
28121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28122 (eval $ac_try) 2>&5
28123 ac_status=$?
28124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28125 (exit $ac_status); }; }; then
28126 ac_cv_lib_socket_inet_addr=yes
28127else
28128 echo "$as_me: failed program was:" >&5
28129sed 's/^/| /' conftest.$ac_ext >&5
28130
28131ac_cv_lib_socket_inet_addr=no
28132fi
28133rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28134LIBS=$ac_check_lib_save_LIBS
28135fi
28136echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28137echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28138if test $ac_cv_lib_socket_inet_addr = yes; then
28139 INET_LINK="socket"
28140
28141fi
28142
28143
28144fi
28145
28146
28147fi
28148
28149
28150
28151fi
28152done
28153
28154
28155
28156for ac_func in inet_aton
28157do
28158as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28159echo "$as_me:$LINENO: checking for $ac_func" >&5
28160echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28161if eval "test \"\${$as_ac_var+set}\" = set"; then
28162 echo $ECHO_N "(cached) $ECHO_C" >&6
28163else
28164 cat >conftest.$ac_ext <<_ACEOF
28165#line $LINENO "configure"
28166/* confdefs.h. */
28167_ACEOF
28168cat confdefs.h >>conftest.$ac_ext
28169cat >>conftest.$ac_ext <<_ACEOF
28170/* end confdefs.h. */
28171/* System header to define __stub macros and hopefully few prototypes,
28172 which can conflict with char $ac_func (); below.
28173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28174 <limits.h> exists even on freestanding compilers. */
28175#ifdef __STDC__
28176# include <limits.h>
28177#else
28178# include <assert.h>
28179#endif
28180/* Override any gcc2 internal prototype to avoid an error. */
28181#ifdef __cplusplus
28182extern "C"
28183{
28184#endif
28185/* We use char because int might match the return type of a gcc2
28186 builtin and then its argument prototype would still apply. */
28187char $ac_func ();
28188/* The GNU C library defines this for functions which it implements
28189 to always fail with ENOSYS. Some functions are actually named
28190 something starting with __ and the normal name is an alias. */
28191#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28192choke me
28193#else
28194char (*f) () = $ac_func;
28195#endif
28196#ifdef __cplusplus
28197}
28198#endif
28199
28200int
28201main ()
28202{
28203return f != $ac_func;
28204 ;
28205 return 0;
28206}
28207_ACEOF
28208rm -f conftest.$ac_objext conftest$ac_exeext
28209if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28210 (eval $ac_link) 2>&5
28211 ac_status=$?
28212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28213 (exit $ac_status); } &&
28214 { ac_try='test -s conftest$ac_exeext'
28215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28216 (eval $ac_try) 2>&5
28217 ac_status=$?
28218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28219 (exit $ac_status); }; }; then
28220 eval "$as_ac_var=yes"
28221else
28222 echo "$as_me: failed program was:" >&5
28223sed 's/^/| /' conftest.$ac_ext >&5
28224
28225eval "$as_ac_var=no"
28226fi
28227rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28228fi
28229echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28230echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28231if test `eval echo '${'$as_ac_var'}'` = yes; then
28232 cat >>confdefs.h <<_ACEOF
28233#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28234_ACEOF
28235 cat >>confdefs.h <<\_ACEOF
28236#define HAVE_INET_ATON 1
28237_ACEOF
28238
28239else
28240
28241 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28242echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28243echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28244if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28245 echo $ECHO_N "(cached) $ECHO_C" >&6
28246else
28247 ac_check_lib_save_LIBS=$LIBS
28248LIBS="-l$INET_LINK $LIBS"
28249cat >conftest.$ac_ext <<_ACEOF
28250#line $LINENO "configure"
28251/* confdefs.h. */
28252_ACEOF
28253cat confdefs.h >>conftest.$ac_ext
28254cat >>conftest.$ac_ext <<_ACEOF
28255/* end confdefs.h. */
28256
28257/* Override any gcc2 internal prototype to avoid an error. */
28258#ifdef __cplusplus
28259extern "C"
28260#endif
28261/* We use char because int might match the return type of a gcc2
28262 builtin and then its argument prototype would still apply. */
28263char inet_aton ();
28264int
28265main ()
28266{
28267inet_aton ();
28268 ;
28269 return 0;
28270}
28271_ACEOF
28272rm -f conftest.$ac_objext conftest$ac_exeext
28273if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28274 (eval $ac_link) 2>&5
28275 ac_status=$?
28276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28277 (exit $ac_status); } &&
28278 { ac_try='test -s conftest$ac_exeext'
28279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28280 (eval $ac_try) 2>&5
28281 ac_status=$?
28282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28283 (exit $ac_status); }; }; then
28284 eval "$as_ac_Lib=yes"
28285else
28286 echo "$as_me: failed program was:" >&5
28287sed 's/^/| /' conftest.$ac_ext >&5
28288
28289eval "$as_ac_Lib=no"
28290fi
28291rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28292LIBS=$ac_check_lib_save_LIBS
28293fi
28294echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28295echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28296if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28297 cat >>confdefs.h <<\_ACEOF
28298#define HAVE_INET_ATON 1
28299_ACEOF
28300
28301fi
28302
28303
28304fi
28305done
28306
28307
28308if test "x$INET_LINK" != "x"; then
28309 cat >>confdefs.h <<\_ACEOF
28310#define HAVE_INET_ADDR 1
28311_ACEOF
28312
28313 INET_LINK=" -l$INET_LINK"
28314fi
28315
28316fi
28317
28318
28319
28320ESD_LINK=
28321if test "${ac_cv_header_esd_h+set}" = set; then
28322 echo "$as_me:$LINENO: checking for esd.h" >&5
28323echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28324if test "${ac_cv_header_esd_h+set}" = set; then
28325 echo $ECHO_N "(cached) $ECHO_C" >&6
28326fi
28327echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28328echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28329else
28330 # Is the header compilable?
28331echo "$as_me:$LINENO: checking esd.h usability" >&5
28332echo $ECHO_N "checking esd.h usability... $ECHO_C" >&6
28333cat >conftest.$ac_ext <<_ACEOF
28334#line $LINENO "configure"
28335/* confdefs.h. */
28336_ACEOF
28337cat confdefs.h >>conftest.$ac_ext
28338cat >>conftest.$ac_ext <<_ACEOF
28339/* end confdefs.h. */
28340$ac_includes_default
28341#include <esd.h>
28342_ACEOF
28343rm -f conftest.$ac_objext
28344if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28345 (eval $ac_compile) 2>&5
28346 ac_status=$?
28347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28348 (exit $ac_status); } &&
28349 { ac_try='test -s conftest.$ac_objext'
28350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28351 (eval $ac_try) 2>&5
28352 ac_status=$?
28353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28354 (exit $ac_status); }; }; then
28355 ac_header_compiler=yes
28356else
28357 echo "$as_me: failed program was:" >&5
28358sed 's/^/| /' conftest.$ac_ext >&5
28359
28360ac_header_compiler=no
28361fi
28362rm -f conftest.$ac_objext conftest.$ac_ext
28363echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28364echo "${ECHO_T}$ac_header_compiler" >&6
28365
28366# Is the header present?
28367echo "$as_me:$LINENO: checking esd.h presence" >&5
28368echo $ECHO_N "checking esd.h presence... $ECHO_C" >&6
28369cat >conftest.$ac_ext <<_ACEOF
28370#line $LINENO "configure"
28371/* confdefs.h. */
28372_ACEOF
28373cat confdefs.h >>conftest.$ac_ext
28374cat >>conftest.$ac_ext <<_ACEOF
28375/* end confdefs.h. */
28376#include <esd.h>
28377_ACEOF
28378if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28379 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28380 ac_status=$?
28381 grep -v '^ *+' conftest.er1 >conftest.err
28382 rm -f conftest.er1
28383 cat conftest.err >&5
28384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28385 (exit $ac_status); } >/dev/null; then
28386 if test -s conftest.err; then
28387 ac_cpp_err=$ac_c_preproc_warn_flag
28388 else
28389 ac_cpp_err=
28390 fi
28391else
28392 ac_cpp_err=yes
28393fi
28394if test -z "$ac_cpp_err"; then
28395 ac_header_preproc=yes
28396else
28397 echo "$as_me: failed program was:" >&5
28398sed 's/^/| /' conftest.$ac_ext >&5
28399
28400 ac_header_preproc=no
28401fi
28402rm -f conftest.err conftest.$ac_ext
28403echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28404echo "${ECHO_T}$ac_header_preproc" >&6
28405
28406# So? What about this header?
28407case $ac_header_compiler:$ac_header_preproc in
28408 yes:no )
28409 { echo "$as_me:$LINENO: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&5
28410echo "$as_me: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28411 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28412echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28413 (
28414 cat <<\_ASBOX
28415## ------------------------------------ ##
28416## Report this to bug-autoconf@gnu.org. ##
28417## ------------------------------------ ##
28418_ASBOX
28419 ) |
28420 sed "s/^/$as_me: WARNING: /" >&2
28421 ;;
28422 no:yes )
28423 { echo "$as_me:$LINENO: WARNING: esd.h: present but cannot be compiled" >&5
28424echo "$as_me: WARNING: esd.h: present but cannot be compiled" >&2;}
28425 { echo "$as_me:$LINENO: WARNING: esd.h: check for missing prerequisite headers?" >&5
28426echo "$as_me: WARNING: esd.h: check for missing prerequisite headers?" >&2;}
28427 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28428echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28429 (
28430 cat <<\_ASBOX
28431## ------------------------------------ ##
28432## Report this to bug-autoconf@gnu.org. ##
28433## ------------------------------------ ##
28434_ASBOX
28435 ) |
28436 sed "s/^/$as_me: WARNING: /" >&2
28437 ;;
28438esac
28439echo "$as_me:$LINENO: checking for esd.h" >&5
28440echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28441if test "${ac_cv_header_esd_h+set}" = set; then
28442 echo $ECHO_N "(cached) $ECHO_C" >&6
28443else
28444 ac_cv_header_esd_h=$ac_header_preproc
28445fi
28446echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28447echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28448
28449fi
28450if test $ac_cv_header_esd_h = yes; then
28451
28452 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28453echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28454if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28455 echo $ECHO_N "(cached) $ECHO_C" >&6
28456else
28457 ac_check_lib_save_LIBS=$LIBS
28458LIBS="-lesd $LIBS"
28459cat >conftest.$ac_ext <<_ACEOF
28460#line $LINENO "configure"
28461/* confdefs.h. */
28462_ACEOF
28463cat confdefs.h >>conftest.$ac_ext
28464cat >>conftest.$ac_ext <<_ACEOF
28465/* end confdefs.h. */
28466
28467/* Override any gcc2 internal prototype to avoid an error. */
28468#ifdef __cplusplus
28469extern "C"
28470#endif
28471/* We use char because int might match the return type of a gcc2
28472 builtin and then its argument prototype would still apply. */
28473char esd_close ();
28474int
28475main ()
28476{
28477esd_close ();
28478 ;
28479 return 0;
28480}
28481_ACEOF
28482rm -f conftest.$ac_objext conftest$ac_exeext
28483if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28484 (eval $ac_link) 2>&5
28485 ac_status=$?
28486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28487 (exit $ac_status); } &&
28488 { ac_try='test -s conftest$ac_exeext'
28489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28490 (eval $ac_try) 2>&5
28491 ac_status=$?
28492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28493 (exit $ac_status); }; }; then
28494 ac_cv_lib_esd_esd_close=yes
28495else
28496 echo "$as_me: failed program was:" >&5
28497sed 's/^/| /' conftest.$ac_ext >&5
28498
28499ac_cv_lib_esd_esd_close=no
28500fi
28501rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28502LIBS=$ac_check_lib_save_LIBS
28503fi
28504echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28505echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28506if test $ac_cv_lib_esd_esd_close = yes; then
28507
28508 ESD_LINK="-lesd"
28509
28510fi
28511
28512
28513fi
28514
28515
28516
28517
28518
28519cat >confcache <<\_ACEOF
28520# This file is a shell script that caches the results of configure
28521# tests run on this system so they can be shared between configure
28522# scripts and configure runs, see configure's option --config-cache.
28523# It is not useful on other systems. If it contains results you don't
28524# want to keep, you may remove or edit it.
28525#
28526# config.status only pays attention to the cache file if you give it
28527# the --recheck option to rerun configure.
28528#
28529# `ac_cv_env_foo' variables (set or unset) will be overridden when
28530# loading this file, other *unset* `ac_cv_foo' will be assigned the
28531# following values.
28532
28533_ACEOF
28534
28535# The following way of writing the cache mishandles newlines in values,
28536# but we know of no workaround that is simple, portable, and efficient.
28537# So, don't put newlines in cache variables' values.
28538# Ultrix sh set writes to stderr and can't be redirected directly,
28539# and sets the high bit in the cache file unless we assign to the vars.
28540{
28541 (set) 2>&1 |
28542 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28543 *ac_space=\ *)
28544 # `set' does not quote correctly, so add quotes (double-quote
28545 # substitution turns \\\\ into \\, and sed turns \\ into \).
28546 sed -n \
28547 "s/'/'\\\\''/g;
28548 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28549 ;;
28550 *)
28551 # `set' quotes correctly as required by POSIX, so do not add quotes.
28552 sed -n \
28553 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28554 ;;
28555 esac;
28556} |
28557 sed '
28558 t clear
28559 : clear
28560 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28561 t end
28562 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28563 : end' >>confcache
28564if diff $cache_file confcache >/dev/null 2>&1; then :; else
28565 if test -w $cache_file; then
28566 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28567 cat confcache >$cache_file
28568 else
28569 echo "not updating unwritable cache $cache_file"
28570 fi
28571fi
28572rm -f confcache
28573
28574
28575CPP_MT_FLAG=
28576if test "$TOOLKIT" != "MSW"; then
28577
28578
28579 THREADS_LINK=
28580 THREADS_CFLAGS=
28581
28582 if test "$wxUSE_THREADS" = "yes" ; then
28583 if test "$USE_BEOS" = 1; then
28584 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28585echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28586 wxUSE_THREADS="no"
28587 fi
28588 fi
28589
28590 if test "$wxUSE_THREADS" = "yes" ; then
28591
28592
28593 THREAD_OPTS="-pthread"
28594 case "${host}" in
28595 *-*-solaris2* | *-*-sunos4* )
28596 if test "x$GCC" = "xyes"; then
28597 THREAD_OPTS="-pthreads $THREAD_OPTS"
28598 else
28599 THREAD_OPTS="-mt $THREAD_OPTS"
28600 fi
28601 ;;
28602 *-*-freebsd*)
28603 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
28604 ;;
28605 *-*-darwin* | *-*-cygwin* )
28606 THREAD_OPTS=""
28607 ;;
28608 *-*-aix*)
28609 THREAD_OPTS="pthreads"
28610 ;;
28611 *-hp-hpux* )
28612 if test "x$GCC" != "xyes"; then
28613 THREAD_OPTS=""
28614 fi
28615 ;;
28616
28617 *-*-irix* )
28618 if test "x$GCC" = "xyes"; then
28619 THREAD_OPTS=""
28620 fi
28621 ;;
28622
28623 *-*-*UnixWare*)
28624 if test "x$GCC" != "xyes"; then
28625 THREAD_OPTS="-Ethread"
28626 fi
28627 ;;
28628 esac
28629
28630 THREAD_OPTS="$THREAD_OPTS pthread none"
28631
28632 THREADS_OK=no
28633 for flag in $THREAD_OPTS; do
28634 case $flag in
28635 none)
28636 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
28637echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
28638 ;;
28639
28640 -*)
28641 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
28642echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
28643 THREADS_CFLAGS="$flag"
28644 ;;
28645
28646 *)
28647 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
28648echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
28649 THREADS_LINK="-l$flag"
28650 ;;
28651 esac
28652
28653 save_LIBS="$LIBS"
28654 save_CFLAGS="$CFLAGS"
28655 LIBS="$THREADS_LINK $LIBS"
28656 CFLAGS="$THREADS_CFLAGS $CFLAGS"
28657
28658 cat >conftest.$ac_ext <<_ACEOF
28659#line $LINENO "configure"
28660/* confdefs.h. */
28661_ACEOF
28662cat confdefs.h >>conftest.$ac_ext
28663cat >>conftest.$ac_ext <<_ACEOF
28664/* end confdefs.h. */
28665#include <pthread.h>
28666int
28667main ()
28668{
28669pthread_create(0,0,0,0);
28670 ;
28671 return 0;
28672}
28673_ACEOF
28674rm -f conftest.$ac_objext conftest$ac_exeext
28675if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28676 (eval $ac_link) 2>&5
28677 ac_status=$?
28678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28679 (exit $ac_status); } &&
28680 { ac_try='test -s conftest$ac_exeext'
28681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28682 (eval $ac_try) 2>&5
28683 ac_status=$?
28684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28685 (exit $ac_status); }; }; then
28686 THREADS_OK=yes
28687else
28688 echo "$as_me: failed program was:" >&5
28689sed 's/^/| /' conftest.$ac_ext >&5
28690
28691fi
28692rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28693
28694 LIBS="$save_LIBS"
28695 CFLAGS="$save_CFLAGS"
28696
28697 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
28698echo "${ECHO_T}$THREADS_OK" >&6
28699 if test "x$THREADS_OK" = "xyes"; then
28700 break;
28701 fi
28702
28703 THREADS_LINK=""
28704 THREADS_CFLAGS=""
28705 done
28706
28707 if test "x$THREADS_OK" != "xyes"; then
28708 wxUSE_THREADS=no
28709 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
28710echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
28711 else
28712 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
28713 LIBS="$THREADS_LINK $LIBS"
28714
28715 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
28716echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
28717 flag=no
28718 case "${host}" in
28719 *-aix*)
28720 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
28721 flag="-D_THREAD_SAFE"
28722 ;;
28723 *-freebsd*)
28724 flag="-D_THREAD_SAFE"
28725 ;;
28726 *-hp-hpux* )
28727 flag="-D_REENTRANT"
28728 if test "x$GCC" != "xyes"; then
28729 flag="$flag -D_RWSTD_MULTI_THREAD"
28730 fi
28731 ;;
28732 *solaris* | alpha*-osf*)
28733 flag="-D_REENTRANT"
28734 ;;
28735 esac
28736 echo "$as_me:$LINENO: result: ${flag}" >&5
28737echo "${ECHO_T}${flag}" >&6
28738 if test "x$flag" != xno; then
28739 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
28740 fi
28741
28742 if test "x$THREADS_CFLAGS" != "x"; then
28743 CFLAGS="$CFLAGS $THREADS_CFLAGS"
28744 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
28745 fi
28746 fi
28747 fi
28748
28749 if test "$wxUSE_THREADS" = "yes" ; then
28750
28751for ac_func in thr_setconcurrency
28752do
28753as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28754echo "$as_me:$LINENO: checking for $ac_func" >&5
28755echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28756if eval "test \"\${$as_ac_var+set}\" = set"; then
28757 echo $ECHO_N "(cached) $ECHO_C" >&6
28758else
28759 cat >conftest.$ac_ext <<_ACEOF
28760#line $LINENO "configure"
28761/* confdefs.h. */
28762_ACEOF
28763cat confdefs.h >>conftest.$ac_ext
28764cat >>conftest.$ac_ext <<_ACEOF
28765/* end confdefs.h. */
28766/* System header to define __stub macros and hopefully few prototypes,
28767 which can conflict with char $ac_func (); below.
28768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28769 <limits.h> exists even on freestanding compilers. */
28770#ifdef __STDC__
28771# include <limits.h>
28772#else
28773# include <assert.h>
28774#endif
28775/* Override any gcc2 internal prototype to avoid an error. */
28776#ifdef __cplusplus
28777extern "C"
28778{
28779#endif
28780/* We use char because int might match the return type of a gcc2
28781 builtin and then its argument prototype would still apply. */
28782char $ac_func ();
28783/* The GNU C library defines this for functions which it implements
28784 to always fail with ENOSYS. Some functions are actually named
28785 something starting with __ and the normal name is an alias. */
28786#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28787choke me
28788#else
28789char (*f) () = $ac_func;
28790#endif
28791#ifdef __cplusplus
28792}
28793#endif
28794
28795int
28796main ()
28797{
28798return f != $ac_func;
28799 ;
28800 return 0;
28801}
28802_ACEOF
28803rm -f conftest.$ac_objext conftest$ac_exeext
28804if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28805 (eval $ac_link) 2>&5
28806 ac_status=$?
28807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28808 (exit $ac_status); } &&
28809 { ac_try='test -s conftest$ac_exeext'
28810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28811 (eval $ac_try) 2>&5
28812 ac_status=$?
28813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28814 (exit $ac_status); }; }; then
28815 eval "$as_ac_var=yes"
28816else
28817 echo "$as_me: failed program was:" >&5
28818sed 's/^/| /' conftest.$ac_ext >&5
28819
28820eval "$as_ac_var=no"
28821fi
28822rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28823fi
28824echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28825echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28826if test `eval echo '${'$as_ac_var'}'` = yes; then
28827 cat >>confdefs.h <<_ACEOF
28828#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28829_ACEOF
28830
28831fi
28832done
28833
28834
28835
28836for ac_header in sched.h
28837do
28838as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28839if eval "test \"\${$as_ac_Header+set}\" = set"; then
28840 echo "$as_me:$LINENO: checking for $ac_header" >&5
28841echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28842if eval "test \"\${$as_ac_Header+set}\" = set"; then
28843 echo $ECHO_N "(cached) $ECHO_C" >&6
28844fi
28845echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28846echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28847else
28848 # Is the header compilable?
28849echo "$as_me:$LINENO: checking $ac_header usability" >&5
28850echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28851cat >conftest.$ac_ext <<_ACEOF
28852#line $LINENO "configure"
28853/* confdefs.h. */
28854_ACEOF
28855cat confdefs.h >>conftest.$ac_ext
28856cat >>conftest.$ac_ext <<_ACEOF
28857/* end confdefs.h. */
28858$ac_includes_default
28859#include <$ac_header>
28860_ACEOF
28861rm -f conftest.$ac_objext
28862if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28863 (eval $ac_compile) 2>&5
28864 ac_status=$?
28865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28866 (exit $ac_status); } &&
28867 { ac_try='test -s conftest.$ac_objext'
28868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28869 (eval $ac_try) 2>&5
28870 ac_status=$?
28871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28872 (exit $ac_status); }; }; then
28873 ac_header_compiler=yes
28874else
28875 echo "$as_me: failed program was:" >&5
28876sed 's/^/| /' conftest.$ac_ext >&5
28877
28878ac_header_compiler=no
28879fi
28880rm -f conftest.$ac_objext conftest.$ac_ext
28881echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28882echo "${ECHO_T}$ac_header_compiler" >&6
28883
28884# Is the header present?
28885echo "$as_me:$LINENO: checking $ac_header presence" >&5
28886echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28887cat >conftest.$ac_ext <<_ACEOF
28888#line $LINENO "configure"
28889/* confdefs.h. */
28890_ACEOF
28891cat confdefs.h >>conftest.$ac_ext
28892cat >>conftest.$ac_ext <<_ACEOF
28893/* end confdefs.h. */
28894#include <$ac_header>
28895_ACEOF
28896if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28897 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28898 ac_status=$?
28899 grep -v '^ *+' conftest.er1 >conftest.err
28900 rm -f conftest.er1
28901 cat conftest.err >&5
28902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28903 (exit $ac_status); } >/dev/null; then
28904 if test -s conftest.err; then
28905 ac_cpp_err=$ac_c_preproc_warn_flag
28906 else
28907 ac_cpp_err=
28908 fi
28909else
28910 ac_cpp_err=yes
28911fi
28912if test -z "$ac_cpp_err"; then
28913 ac_header_preproc=yes
28914else
28915 echo "$as_me: failed program was:" >&5
28916sed 's/^/| /' conftest.$ac_ext >&5
28917
28918 ac_header_preproc=no
28919fi
28920rm -f conftest.err conftest.$ac_ext
28921echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28922echo "${ECHO_T}$ac_header_preproc" >&6
28923
28924# So? What about this header?
28925case $ac_header_compiler:$ac_header_preproc in
28926 yes:no )
28927 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28928echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28929 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28930echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28931 (
28932 cat <<\_ASBOX
28933## ------------------------------------ ##
28934## Report this to bug-autoconf@gnu.org. ##
28935## ------------------------------------ ##
28936_ASBOX
28937 ) |
28938 sed "s/^/$as_me: WARNING: /" >&2
28939 ;;
28940 no:yes )
28941 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28942echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28943 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28944echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28945 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28946echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28947 (
28948 cat <<\_ASBOX
28949## ------------------------------------ ##
28950## Report this to bug-autoconf@gnu.org. ##
28951## ------------------------------------ ##
28952_ASBOX
28953 ) |
28954 sed "s/^/$as_me: WARNING: /" >&2
28955 ;;
28956esac
28957echo "$as_me:$LINENO: checking for $ac_header" >&5
28958echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28959if eval "test \"\${$as_ac_Header+set}\" = set"; then
28960 echo $ECHO_N "(cached) $ECHO_C" >&6
28961else
28962 eval "$as_ac_Header=$ac_header_preproc"
28963fi
28964echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28965echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28966
28967fi
28968if test `eval echo '${'$as_ac_Header'}'` = yes; then
28969 cat >>confdefs.h <<_ACEOF
28970#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28971_ACEOF
28972
28973fi
28974
28975done
28976
28977 if test "$ac_cv_header_sched_h" = "yes"; then
28978 echo "$as_me:$LINENO: checking for sched_yield" >&5
28979echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
28980if test "${ac_cv_func_sched_yield+set}" = set; then
28981 echo $ECHO_N "(cached) $ECHO_C" >&6
28982else
28983 cat >conftest.$ac_ext <<_ACEOF
28984#line $LINENO "configure"
28985/* confdefs.h. */
28986_ACEOF
28987cat confdefs.h >>conftest.$ac_ext
28988cat >>conftest.$ac_ext <<_ACEOF
28989/* end confdefs.h. */
28990/* System header to define __stub macros and hopefully few prototypes,
28991 which can conflict with char sched_yield (); below.
28992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28993 <limits.h> exists even on freestanding compilers. */
28994#ifdef __STDC__
28995# include <limits.h>
28996#else
28997# include <assert.h>
28998#endif
28999/* Override any gcc2 internal prototype to avoid an error. */
29000#ifdef __cplusplus
29001extern "C"
29002{
29003#endif
29004/* We use char because int might match the return type of a gcc2
29005 builtin and then its argument prototype would still apply. */
29006char sched_yield ();
29007/* The GNU C library defines this for functions which it implements
29008 to always fail with ENOSYS. Some functions are actually named
29009 something starting with __ and the normal name is an alias. */
29010#if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29011choke me
29012#else
29013char (*f) () = sched_yield;
29014#endif
29015#ifdef __cplusplus
29016}
29017#endif
29018
29019int
29020main ()
29021{
29022return f != sched_yield;
29023 ;
29024 return 0;
29025}
29026_ACEOF
29027rm -f conftest.$ac_objext conftest$ac_exeext
29028if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29029 (eval $ac_link) 2>&5
29030 ac_status=$?
29031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29032 (exit $ac_status); } &&
29033 { ac_try='test -s conftest$ac_exeext'
29034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29035 (eval $ac_try) 2>&5
29036 ac_status=$?
29037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29038 (exit $ac_status); }; }; then
29039 ac_cv_func_sched_yield=yes
29040else
29041 echo "$as_me: failed program was:" >&5
29042sed 's/^/| /' conftest.$ac_ext >&5
29043
29044ac_cv_func_sched_yield=no
29045fi
29046rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29047fi
29048echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29049echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29050if test $ac_cv_func_sched_yield = yes; then
29051 cat >>confdefs.h <<\_ACEOF
29052#define HAVE_SCHED_YIELD 1
29053_ACEOF
29054
29055else
29056
29057 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29058echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29059if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29060 echo $ECHO_N "(cached) $ECHO_C" >&6
29061else
29062 ac_check_lib_save_LIBS=$LIBS
29063LIBS="-lposix4 $LIBS"
29064cat >conftest.$ac_ext <<_ACEOF
29065#line $LINENO "configure"
29066/* confdefs.h. */
29067_ACEOF
29068cat confdefs.h >>conftest.$ac_ext
29069cat >>conftest.$ac_ext <<_ACEOF
29070/* end confdefs.h. */
29071
29072/* Override any gcc2 internal prototype to avoid an error. */
29073#ifdef __cplusplus
29074extern "C"
29075#endif
29076/* We use char because int might match the return type of a gcc2
29077 builtin and then its argument prototype would still apply. */
29078char sched_yield ();
29079int
29080main ()
29081{
29082sched_yield ();
29083 ;
29084 return 0;
29085}
29086_ACEOF
29087rm -f conftest.$ac_objext conftest$ac_exeext
29088if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29089 (eval $ac_link) 2>&5
29090 ac_status=$?
29091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29092 (exit $ac_status); } &&
29093 { ac_try='test -s conftest$ac_exeext'
29094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29095 (eval $ac_try) 2>&5
29096 ac_status=$?
29097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29098 (exit $ac_status); }; }; then
29099 ac_cv_lib_posix4_sched_yield=yes
29100else
29101 echo "$as_me: failed program was:" >&5
29102sed 's/^/| /' conftest.$ac_ext >&5
29103
29104ac_cv_lib_posix4_sched_yield=no
29105fi
29106rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29107LIBS=$ac_check_lib_save_LIBS
29108fi
29109echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29110echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29111if test $ac_cv_lib_posix4_sched_yield = yes; then
29112 cat >>confdefs.h <<\_ACEOF
29113#define HAVE_SCHED_YIELD 1
29114_ACEOF
29115 POSIX4_LINK=" -lposix4"
29116else
29117 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29118echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29119
29120fi
29121
29122
29123
29124fi
29125
29126 fi
29127
29128 HAVE_PRIOR_FUNCS=0
29129 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29130echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29131if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29132 echo $ECHO_N "(cached) $ECHO_C" >&6
29133else
29134 cat >conftest.$ac_ext <<_ACEOF
29135#line $LINENO "configure"
29136/* confdefs.h. */
29137_ACEOF
29138cat confdefs.h >>conftest.$ac_ext
29139cat >>conftest.$ac_ext <<_ACEOF
29140/* end confdefs.h. */
29141/* System header to define __stub macros and hopefully few prototypes,
29142 which can conflict with char pthread_attr_getschedpolicy (); below.
29143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29144 <limits.h> exists even on freestanding compilers. */
29145#ifdef __STDC__
29146# include <limits.h>
29147#else
29148# include <assert.h>
29149#endif
29150/* Override any gcc2 internal prototype to avoid an error. */
29151#ifdef __cplusplus
29152extern "C"
29153{
29154#endif
29155/* We use char because int might match the return type of a gcc2
29156 builtin and then its argument prototype would still apply. */
29157char pthread_attr_getschedpolicy ();
29158/* The GNU C library defines this for functions which it implements
29159 to always fail with ENOSYS. Some functions are actually named
29160 something starting with __ and the normal name is an alias. */
29161#if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29162choke me
29163#else
29164char (*f) () = pthread_attr_getschedpolicy;
29165#endif
29166#ifdef __cplusplus
29167}
29168#endif
29169
29170int
29171main ()
29172{
29173return f != pthread_attr_getschedpolicy;
29174 ;
29175 return 0;
29176}
29177_ACEOF
29178rm -f conftest.$ac_objext conftest$ac_exeext
29179if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29180 (eval $ac_link) 2>&5
29181 ac_status=$?
29182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29183 (exit $ac_status); } &&
29184 { ac_try='test -s conftest$ac_exeext'
29185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29186 (eval $ac_try) 2>&5
29187 ac_status=$?
29188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29189 (exit $ac_status); }; }; then
29190 ac_cv_func_pthread_attr_getschedpolicy=yes
29191else
29192 echo "$as_me: failed program was:" >&5
29193sed 's/^/| /' conftest.$ac_ext >&5
29194
29195ac_cv_func_pthread_attr_getschedpolicy=no
29196fi
29197rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29198fi
29199echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29200echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29201if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29202 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29203echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29204if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29205 echo $ECHO_N "(cached) $ECHO_C" >&6
29206else
29207 cat >conftest.$ac_ext <<_ACEOF
29208#line $LINENO "configure"
29209/* confdefs.h. */
29210_ACEOF
29211cat confdefs.h >>conftest.$ac_ext
29212cat >>conftest.$ac_ext <<_ACEOF
29213/* end confdefs.h. */
29214/* System header to define __stub macros and hopefully few prototypes,
29215 which can conflict with char pthread_attr_setschedparam (); below.
29216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29217 <limits.h> exists even on freestanding compilers. */
29218#ifdef __STDC__
29219# include <limits.h>
29220#else
29221# include <assert.h>
29222#endif
29223/* Override any gcc2 internal prototype to avoid an error. */
29224#ifdef __cplusplus
29225extern "C"
29226{
29227#endif
29228/* We use char because int might match the return type of a gcc2
29229 builtin and then its argument prototype would still apply. */
29230char pthread_attr_setschedparam ();
29231/* The GNU C library defines this for functions which it implements
29232 to always fail with ENOSYS. Some functions are actually named
29233 something starting with __ and the normal name is an alias. */
29234#if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29235choke me
29236#else
29237char (*f) () = pthread_attr_setschedparam;
29238#endif
29239#ifdef __cplusplus
29240}
29241#endif
29242
29243int
29244main ()
29245{
29246return f != pthread_attr_setschedparam;
29247 ;
29248 return 0;
29249}
29250_ACEOF
29251rm -f conftest.$ac_objext conftest$ac_exeext
29252if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29253 (eval $ac_link) 2>&5
29254 ac_status=$?
29255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29256 (exit $ac_status); } &&
29257 { ac_try='test -s conftest$ac_exeext'
29258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29259 (eval $ac_try) 2>&5
29260 ac_status=$?
29261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29262 (exit $ac_status); }; }; then
29263 ac_cv_func_pthread_attr_setschedparam=yes
29264else
29265 echo "$as_me: failed program was:" >&5
29266sed 's/^/| /' conftest.$ac_ext >&5
29267
29268ac_cv_func_pthread_attr_setschedparam=no
29269fi
29270rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29271fi
29272echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29273echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29274if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29275 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29276echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29277if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29278 echo $ECHO_N "(cached) $ECHO_C" >&6
29279else
29280 cat >conftest.$ac_ext <<_ACEOF
29281#line $LINENO "configure"
29282/* confdefs.h. */
29283_ACEOF
29284cat confdefs.h >>conftest.$ac_ext
29285cat >>conftest.$ac_ext <<_ACEOF
29286/* end confdefs.h. */
29287/* System header to define __stub macros and hopefully few prototypes,
29288 which can conflict with char sched_get_priority_max (); below.
29289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29290 <limits.h> exists even on freestanding compilers. */
29291#ifdef __STDC__
29292# include <limits.h>
29293#else
29294# include <assert.h>
29295#endif
29296/* Override any gcc2 internal prototype to avoid an error. */
29297#ifdef __cplusplus
29298extern "C"
29299{
29300#endif
29301/* We use char because int might match the return type of a gcc2
29302 builtin and then its argument prototype would still apply. */
29303char sched_get_priority_max ();
29304/* The GNU C library defines this for functions which it implements
29305 to always fail with ENOSYS. Some functions are actually named
29306 something starting with __ and the normal name is an alias. */
29307#if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29308choke me
29309#else
29310char (*f) () = sched_get_priority_max;
29311#endif
29312#ifdef __cplusplus
29313}
29314#endif
29315
29316int
29317main ()
29318{
29319return f != sched_get_priority_max;
29320 ;
29321 return 0;
29322}
29323_ACEOF
29324rm -f conftest.$ac_objext conftest$ac_exeext
29325if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29326 (eval $ac_link) 2>&5
29327 ac_status=$?
29328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29329 (exit $ac_status); } &&
29330 { ac_try='test -s conftest$ac_exeext'
29331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29332 (eval $ac_try) 2>&5
29333 ac_status=$?
29334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29335 (exit $ac_status); }; }; then
29336 ac_cv_func_sched_get_priority_max=yes
29337else
29338 echo "$as_me: failed program was:" >&5
29339sed 's/^/| /' conftest.$ac_ext >&5
29340
29341ac_cv_func_sched_get_priority_max=no
29342fi
29343rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29344fi
29345echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29346echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29347if test $ac_cv_func_sched_get_priority_max = yes; then
29348 HAVE_PRIOR_FUNCS=1
29349else
29350 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29351echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29352if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29353 echo $ECHO_N "(cached) $ECHO_C" >&6
29354else
29355 ac_check_lib_save_LIBS=$LIBS
29356LIBS="-lposix4 $LIBS"
29357cat >conftest.$ac_ext <<_ACEOF
29358#line $LINENO "configure"
29359/* confdefs.h. */
29360_ACEOF
29361cat confdefs.h >>conftest.$ac_ext
29362cat >>conftest.$ac_ext <<_ACEOF
29363/* end confdefs.h. */
29364
29365/* Override any gcc2 internal prototype to avoid an error. */
29366#ifdef __cplusplus
29367extern "C"
29368#endif
29369/* We use char because int might match the return type of a gcc2
29370 builtin and then its argument prototype would still apply. */
29371char sched_get_priority_max ();
29372int
29373main ()
29374{
29375sched_get_priority_max ();
29376 ;
29377 return 0;
29378}
29379_ACEOF
29380rm -f conftest.$ac_objext conftest$ac_exeext
29381if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29382 (eval $ac_link) 2>&5
29383 ac_status=$?
29384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29385 (exit $ac_status); } &&
29386 { ac_try='test -s conftest$ac_exeext'
29387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29388 (eval $ac_try) 2>&5
29389 ac_status=$?
29390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29391 (exit $ac_status); }; }; then
29392 ac_cv_lib_posix4_sched_get_priority_max=yes
29393else
29394 echo "$as_me: failed program was:" >&5
29395sed 's/^/| /' conftest.$ac_ext >&5
29396
29397ac_cv_lib_posix4_sched_get_priority_max=no
29398fi
29399rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29400LIBS=$ac_check_lib_save_LIBS
29401fi
29402echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29403echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29404if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29405
29406 HAVE_PRIOR_FUNCS=1
29407 POSIX4_LINK=" -lposix4"
29408
29409fi
29410
29411
29412fi
29413
29414
29415fi
29416
29417
29418fi
29419
29420
29421 if test "$HAVE_PRIOR_FUNCS" = 1; then
29422 cat >>confdefs.h <<\_ACEOF
29423#define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29424_ACEOF
29425
29426 else
29427 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29428echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29429 fi
29430
29431 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29432echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29433if test "${ac_cv_func_pthread_cancel+set}" = set; then
29434 echo $ECHO_N "(cached) $ECHO_C" >&6
29435else
29436 cat >conftest.$ac_ext <<_ACEOF
29437#line $LINENO "configure"
29438/* confdefs.h. */
29439_ACEOF
29440cat confdefs.h >>conftest.$ac_ext
29441cat >>conftest.$ac_ext <<_ACEOF
29442/* end confdefs.h. */
29443/* System header to define __stub macros and hopefully few prototypes,
29444 which can conflict with char pthread_cancel (); below.
29445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29446 <limits.h> exists even on freestanding compilers. */
29447#ifdef __STDC__
29448# include <limits.h>
29449#else
29450# include <assert.h>
29451#endif
29452/* Override any gcc2 internal prototype to avoid an error. */
29453#ifdef __cplusplus
29454extern "C"
29455{
29456#endif
29457/* We use char because int might match the return type of a gcc2
29458 builtin and then its argument prototype would still apply. */
29459char pthread_cancel ();
29460/* The GNU C library defines this for functions which it implements
29461 to always fail with ENOSYS. Some functions are actually named
29462 something starting with __ and the normal name is an alias. */
29463#if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29464choke me
29465#else
29466char (*f) () = pthread_cancel;
29467#endif
29468#ifdef __cplusplus
29469}
29470#endif
29471
29472int
29473main ()
29474{
29475return f != pthread_cancel;
29476 ;
29477 return 0;
29478}
29479_ACEOF
29480rm -f conftest.$ac_objext conftest$ac_exeext
29481if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29482 (eval $ac_link) 2>&5
29483 ac_status=$?
29484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29485 (exit $ac_status); } &&
29486 { ac_try='test -s conftest$ac_exeext'
29487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29488 (eval $ac_try) 2>&5
29489 ac_status=$?
29490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29491 (exit $ac_status); }; }; then
29492 ac_cv_func_pthread_cancel=yes
29493else
29494 echo "$as_me: failed program was:" >&5
29495sed 's/^/| /' conftest.$ac_ext >&5
29496
29497ac_cv_func_pthread_cancel=no
29498fi
29499rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29500fi
29501echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29502echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29503if test $ac_cv_func_pthread_cancel = yes; then
29504 cat >>confdefs.h <<\_ACEOF
29505#define HAVE_PTHREAD_CANCEL 1
29506_ACEOF
29507
29508else
29509 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29510echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29511fi
29512
29513
29514 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29515echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29516if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29517 echo $ECHO_N "(cached) $ECHO_C" >&6
29518else
29519
29520 cat >conftest.$ac_ext <<_ACEOF
29521#line $LINENO "configure"
29522/* confdefs.h. */
29523_ACEOF
29524cat confdefs.h >>conftest.$ac_ext
29525cat >>conftest.$ac_ext <<_ACEOF
29526/* end confdefs.h. */
29527#include <pthread.h>
29528int
29529main ()
29530{
29531
29532 pthread_cleanup_push(NULL, NULL);
29533 pthread_cleanup_pop(0);
29534
29535 ;
29536 return 0;
29537}
29538_ACEOF
29539rm -f conftest.$ac_objext
29540if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29541 (eval $ac_compile) 2>&5
29542 ac_status=$?
29543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29544 (exit $ac_status); } &&
29545 { ac_try='test -s conftest.$ac_objext'
29546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29547 (eval $ac_try) 2>&5
29548 ac_status=$?
29549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29550 (exit $ac_status); }; }; then
29551
29552 wx_cv_func_pthread_cleanup_push=yes
29553
29554else
29555 echo "$as_me: failed program was:" >&5
29556sed 's/^/| /' conftest.$ac_ext >&5
29557
29558
29559 wx_cv_func_pthread_cleanup_push=no
29560
29561fi
29562rm -f conftest.$ac_objext conftest.$ac_ext
29563
29564fi
29565echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29566echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29567
29568 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29569 cat >>confdefs.h <<\_ACEOF
29570#define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29571_ACEOF
29572
29573 fi
29574
29575
29576 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29577echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29578if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29579 echo $ECHO_N "(cached) $ECHO_C" >&6
29580else
29581
29582 cat >conftest.$ac_ext <<_ACEOF
29583#line $LINENO "configure"
29584/* confdefs.h. */
29585_ACEOF
29586cat confdefs.h >>conftest.$ac_ext
29587cat >>conftest.$ac_ext <<_ACEOF
29588/* end confdefs.h. */
29589#include <pthread.h>
29590int
29591main ()
29592{
29593
29594 pthread_mutexattr_t attr;
29595 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29596
29597 ;
29598 return 0;
29599}
29600_ACEOF
29601rm -f conftest.$ac_objext
29602if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29603 (eval $ac_compile) 2>&5
29604 ac_status=$?
29605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29606 (exit $ac_status); } &&
29607 { ac_try='test -s conftest.$ac_objext'
29608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29609 (eval $ac_try) 2>&5
29610 ac_status=$?
29611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29612 (exit $ac_status); }; }; then
29613
29614 wx_cv_type_pthread_mutexattr_t=yes
29615
29616else
29617 echo "$as_me: failed program was:" >&5
29618sed 's/^/| /' conftest.$ac_ext >&5
29619
29620
29621 wx_cv_type_pthread_mutexattr_t=no
29622
29623
29624fi
29625rm -f conftest.$ac_objext conftest.$ac_ext
29626
29627fi
29628echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29629echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29630
29631 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29632 cat >>confdefs.h <<\_ACEOF
29633#define HAVE_PTHREAD_MUTEXATTR_T 1
29634_ACEOF
29635
29636 else
29637 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29638echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29639if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29640 echo $ECHO_N "(cached) $ECHO_C" >&6
29641else
29642
29643 cat >conftest.$ac_ext <<_ACEOF
29644#line $LINENO "configure"
29645/* confdefs.h. */
29646_ACEOF
29647cat confdefs.h >>conftest.$ac_ext
29648cat >>conftest.$ac_ext <<_ACEOF
29649/* end confdefs.h. */
29650#include <pthread.h>
29651int
29652main ()
29653{
29654
29655 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29656
29657 ;
29658 return 0;
29659}
29660_ACEOF
29661rm -f conftest.$ac_objext
29662if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29663 (eval $ac_compile) 2>&5
29664 ac_status=$?
29665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29666 (exit $ac_status); } &&
29667 { ac_try='test -s conftest.$ac_objext'
29668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29669 (eval $ac_try) 2>&5
29670 ac_status=$?
29671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29672 (exit $ac_status); }; }; then
29673
29674 wx_cv_type_pthread_rec_mutex_init=yes
29675
29676else
29677 echo "$as_me: failed program was:" >&5
29678sed 's/^/| /' conftest.$ac_ext >&5
29679
29680
29681 wx_cv_type_pthread_rec_mutex_init=no
29682
29683
29684fi
29685rm -f conftest.$ac_objext conftest.$ac_ext
29686
29687fi
29688echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
29689echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
29690 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
29691 cat >>confdefs.h <<\_ACEOF
29692#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
29693_ACEOF
29694
29695 else
29696 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
29697echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
29698 fi
29699 fi
29700 fi
29701
29702else
29703 if test "$wxUSE_THREADS" = "yes" ; then
29704 case "${host}" in
29705 *-*-mingw32* )
29706 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
29707echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
29708if test "${wx_cv_cflags_mthread+set}" = set; then
29709 echo $ECHO_N "(cached) $ECHO_C" >&6
29710else
29711
29712 CFLAGS_OLD="$CFLAGS"
29713 CFLAGS="$CFLAGS -mthreads"
29714 cat >conftest.$ac_ext <<_ACEOF
29715#line $LINENO "configure"
29716/* confdefs.h. */
29717_ACEOF
29718cat confdefs.h >>conftest.$ac_ext
29719cat >>conftest.$ac_ext <<_ACEOF
29720/* end confdefs.h. */
29721
29722int
29723main ()
29724{
29725
29726 ;
29727 return 0;
29728}
29729_ACEOF
29730rm -f conftest.$ac_objext
29731if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29732 (eval $ac_compile) 2>&5
29733 ac_status=$?
29734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29735 (exit $ac_status); } &&
29736 { ac_try='test -s conftest.$ac_objext'
29737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29738 (eval $ac_try) 2>&5
29739 ac_status=$?
29740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29741 (exit $ac_status); }; }; then
29742 wx_cv_cflags_mthread=yes
29743else
29744 echo "$as_me: failed program was:" >&5
29745sed 's/^/| /' conftest.$ac_ext >&5
29746
29747wx_cv_cflags_mthread=no
29748
29749fi
29750rm -f conftest.$ac_objext conftest.$ac_ext
29751
29752
29753fi
29754echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
29755echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
29756
29757 if test "$wx_cv_cflags_mthread" = "yes"; then
29758 CXXFLAGS="$CXXFLAGS -mthreads"
29759 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
29760 LDFLAGS="$LDFLAGS -mthreads"
29761 else
29762 CFLAGS="$CFLAGS_OLD"
29763 fi
29764 ;;
29765 esac
29766 fi
29767fi
29768
29769if test "$wxUSE_THREADS" = "yes"; then
29770 cat >>confdefs.h <<\_ACEOF
29771#define wxUSE_THREADS 1
29772_ACEOF
29773
29774
29775 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
29776else
29777 if test "$ac_cv_func_strtok_r" = "yes"; then
29778 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
29779echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
29780 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
29781 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
29782 echo "$as_me:$LINENO: result: yes" >&5
29783echo "${ECHO_T}yes" >&6
29784 else
29785 echo "$as_me:$LINENO: result: no" >&5
29786echo "${ECHO_T}no" >&6
29787 fi
29788 fi
29789fi
29790
29791if test "$WXGTK20" = 1 ; then
29792 cat >>confdefs.h <<_ACEOF
29793#define __WXGTK20__ $WXGTK20
29794_ACEOF
29795
29796 WXGTK12=1
29797fi
29798
29799if test "$WXGTK12" = 1 ; then
29800 cat >>confdefs.h <<_ACEOF
29801#define __WXGTK12__ $WXGTK12
29802_ACEOF
29803
29804fi
29805
29806if test "$WXGTK127" = 1 ; then
29807 cat >>confdefs.h <<_ACEOF
29808#define __WXGTK127__ $WXGTK127
29809_ACEOF
29810
29811fi
29812
29813WXDEBUG=
29814
29815if test "$wxUSE_DEBUG_INFO" = "yes" ; then
29816 WXDEBUG="-g"
29817 wxUSE_OPTIMISE=no
29818fi
29819
29820if test "$wxUSE_DEBUG_GDB" = "yes" ; then
29821 wxUSE_DEBUG_INFO=yes
29822 WXDEBUG="-ggdb"
29823fi
29824
29825if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
29826 cat >>confdefs.h <<\_ACEOF
29827#define WXDEBUG 1
29828_ACEOF
29829
29830 WXDEBUG_DEFINE="-D__WXDEBUG__"
29831else
29832 if test "$wxUSE_GTK" = 1 ; then
29833 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
29834 fi
29835fi
29836
29837if test "$wxUSE_MEM_TRACING" = "yes" ; then
29838 cat >>confdefs.h <<\_ACEOF
29839#define wxUSE_MEMORY_TRACING 1
29840_ACEOF
29841
29842 cat >>confdefs.h <<\_ACEOF
29843#define wxUSE_GLOBAL_MEMORY_OPERATORS 1
29844_ACEOF
29845
29846 cat >>confdefs.h <<\_ACEOF
29847#define wxUSE_DEBUG_NEW_ALWAYS 1
29848_ACEOF
29849
29850 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
29851fi
29852
29853if test "$wxUSE_DMALLOC" = "yes" ; then
29854 DMALLOC_LIBS="-ldmalloc"
29855fi
29856
29857PROFILE=
29858if test "$wxUSE_PROFILE" = "yes" ; then
29859 PROFILE=" -pg"
29860fi
29861
29862CODE_GEN_FLAGS=
29863CODE_GEN_FLAGS_CXX=
29864if test "$GCC" = "yes" ; then
29865 if test "$wxUSE_NO_RTTI" = "yes" ; then
29866 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
29867 fi
29868 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
29869 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
29870 fi
29871 if test "$wxUSE_PERMISSIVE" = "yes" ; then
29872 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
29873 fi
29874 if test "$USE_WIN32" = 1 ; then
29875 # I'm not even really sure what this was ever added to solve,
29876 # but someone added it for mingw native builds, so I guess
29877 # they had a reason, right??
29878 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fno-pcc-struct-return"
29879 fi
29880
29881 case "${host}" in
29882 powerpc*-*-aix* )
29883 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
29884 ;;
29885 *-hppa* )
29886 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
29887 ;;
29888 esac
29889fi
29890
29891OPTIMISE=
29892if test "$wxUSE_OPTIMISE" = "no" ; then
29893 if test "$GCC" = yes ; then
29894 OPTIMISE="-O0"
29895 fi
29896else
29897 if test "$GCC" = yes ; then
29898 OPTIMISE="-O2"
29899
29900 case "${host}" in
29901 i586-*-*|i686-*-* )
29902 OPTIMISE="${OPTIMISE} "
29903 ;;
29904 esac
29905 else
29906 OPTIMISE="-O"
29907 fi
29908fi
29909
29910
29911if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
29912 cat >>confdefs.h <<\_ACEOF
29913#define WXWIN_COMPATIBILITY_2 1
29914_ACEOF
29915
29916
29917 WXWIN_COMPATIBILITY_2_2="yes"
29918fi
29919
29920if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
29921 cat >>confdefs.h <<\_ACEOF
29922#define WXWIN_COMPATIBILITY_2_2 1
29923_ACEOF
29924
29925
29926 WXWIN_COMPATIBILITY_2_4="yes"
29927fi
29928
29929if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
29930 cat >>confdefs.h <<\_ACEOF
29931#define WXWIN_COMPATIBILITY_2_4 1
29932_ACEOF
29933
29934fi
29935
29936
29937if test "$wxUSE_GUI" = "yes"; then
29938 cat >>confdefs.h <<\_ACEOF
29939#define wxUSE_GUI 1
29940_ACEOF
29941
29942
29943 else
29944 cat >>confdefs.h <<\_ACEOF
29945#define wxUSE_NOGUI 1
29946_ACEOF
29947
29948fi
29949
29950
29951if test "$wxUSE_UNIX" = "yes"; then
29952 cat >>confdefs.h <<\_ACEOF
29953#define wxUSE_UNIX 1
29954_ACEOF
29955
29956fi
29957
29958
29959if test "$wxUSE_APPLE_IEEE" = "yes"; then
29960 cat >>confdefs.h <<\_ACEOF
29961#define wxUSE_APPLE_IEEE 1
29962_ACEOF
29963
29964fi
29965
29966if test "$wxUSE_TIMER" = "yes"; then
29967 cat >>confdefs.h <<\_ACEOF
29968#define wxUSE_TIMER 1
29969_ACEOF
29970
29971fi
29972
29973if test "$wxUSE_WAVE" = "yes"; then
29974 cat >>confdefs.h <<\_ACEOF
29975#define wxUSE_WAVE 1
29976_ACEOF
29977
29978fi
29979
29980if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
29981 cat >>confdefs.h <<\_ACEOF
29982#define wxUSE_CMDLINE_PARSER 1
29983_ACEOF
29984
29985fi
29986
29987if test "$wxUSE_STOPWATCH" = "yes"; then
29988 cat >>confdefs.h <<\_ACEOF
29989#define wxUSE_STOPWATCH 1
29990_ACEOF
29991
29992fi
29993
29994if test "$wxUSE_DATETIME" = "yes"; then
29995 cat >>confdefs.h <<\_ACEOF
29996#define wxUSE_DATETIME 1
29997_ACEOF
29998
29999fi
30000
30001if test "$wxUSE_FILE" = "yes"; then
30002 cat >>confdefs.h <<\_ACEOF
30003#define wxUSE_FILE 1
30004_ACEOF
30005
30006fi
30007
30008if test "$wxUSE_FFILE" = "yes"; then
30009 cat >>confdefs.h <<\_ACEOF
30010#define wxUSE_FFILE 1
30011_ACEOF
30012
30013fi
30014
30015if test "$wxUSE_FILESYSTEM" = "yes"; then
30016 cat >>confdefs.h <<\_ACEOF
30017#define wxUSE_FILESYSTEM 1
30018_ACEOF
30019
30020fi
30021
30022if test "$wxUSE_FS_INET" = "yes"; then
30023 cat >>confdefs.h <<\_ACEOF
30024#define wxUSE_FS_INET 1
30025_ACEOF
30026
30027fi
30028
30029if test "$wxUSE_FS_ZIP" = "yes"; then
30030 cat >>confdefs.h <<\_ACEOF
30031#define wxUSE_FS_ZIP 1
30032_ACEOF
30033
30034fi
30035
30036if test "$wxUSE_ZIPSTREAM" = "yes"; then
30037 cat >>confdefs.h <<\_ACEOF
30038#define wxUSE_ZIPSTREAM 1
30039_ACEOF
30040
30041fi
30042
30043if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30044 cat >>confdefs.h <<\_ACEOF
30045#define wxUSE_ON_FATAL_EXCEPTION 1
30046_ACEOF
30047
30048fi
30049
30050if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30051 cat >>confdefs.h <<\_ACEOF
30052#define wxUSE_SNGLINST_CHECKER 1
30053_ACEOF
30054
30055fi
30056
30057if test "$wxUSE_BUSYINFO" = "yes"; then
30058 cat >>confdefs.h <<\_ACEOF
30059#define wxUSE_BUSYINFO 1
30060_ACEOF
30061
30062fi
30063
30064if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30065 cat >>confdefs.h <<\_ACEOF
30066#define wxUSE_STD_IOSTREAM 1
30067_ACEOF
30068
30069fi
30070
30071if test "$wxUSE_TEXTBUFFER" = "yes"; then
30072 cat >>confdefs.h <<\_ACEOF
30073#define wxUSE_TEXTBUFFER 1
30074_ACEOF
30075
30076fi
30077
30078if test "$wxUSE_TEXTFILE" = "yes"; then
30079 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30080 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30081echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30082 else
30083 cat >>confdefs.h <<\_ACEOF
30084#define wxUSE_TEXTFILE 1
30085_ACEOF
30086
30087 fi
30088fi
30089
30090if test "$wxUSE_CONFIG" = "yes" ; then
30091 if test "$wxUSE_TEXTFILE" != "yes"; then
30092 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30093echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30094 else
30095 cat >>confdefs.h <<\_ACEOF
30096#define wxUSE_CONFIG 1
30097_ACEOF
30098
30099 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
30100 fi
30101fi
30102
30103if test "$wxUSE_INTL" = "yes" ; then
30104 if test "$wxUSE_FILE" != "yes"; then
30105 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30106echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30107 else
30108 cat >>confdefs.h <<\_ACEOF
30109#define wxUSE_INTL 1
30110_ACEOF
30111
30112 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
30113 GUIDIST="$GUIDIST INTL_DIST"
30114 fi
30115fi
30116
30117if test "$wxUSE_LOG" = "yes"; then
30118 cat >>confdefs.h <<\_ACEOF
30119#define wxUSE_LOG 1
30120_ACEOF
30121
30122
30123 if test "$wxUSE_LOGGUI" = "yes"; then
30124 cat >>confdefs.h <<\_ACEOF
30125#define wxUSE_LOGGUI 1
30126_ACEOF
30127
30128 fi
30129
30130 if test "$wxUSE_LOGWINDOW" = "yes"; then
30131 cat >>confdefs.h <<\_ACEOF
30132#define wxUSE_LOGWINDOW 1
30133_ACEOF
30134
30135 fi
30136
30137 if test "$wxUSE_LOGDIALOG" = "yes"; then
30138 cat >>confdefs.h <<\_ACEOF
30139#define wxUSE_LOG_DIALOG 1
30140_ACEOF
30141
30142 fi
30143fi
30144
30145if test "$wxUSE_LONGLONG" = "yes"; then
30146 cat >>confdefs.h <<\_ACEOF
30147#define wxUSE_LONGLONG 1
30148_ACEOF
30149
30150fi
30151
30152if test "$wxUSE_GEOMETRY" = "yes"; then
30153 cat >>confdefs.h <<\_ACEOF
30154#define wxUSE_GEOMETRY 1
30155_ACEOF
30156
30157fi
30158
30159if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30160 cat >>confdefs.h <<\_ACEOF
30161#define wxUSE_DIALUP_MANAGER 1
30162_ACEOF
30163
30164 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
30165fi
30166
30167if test "$wxUSE_STREAMS" = "yes" ; then
30168 cat >>confdefs.h <<\_ACEOF
30169#define wxUSE_STREAMS 1
30170_ACEOF
30171
30172fi
30173
30174
30175if test "$wxUSE_DATETIME" = "yes"; then
30176
30177for ac_func in strptime
30178do
30179as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30180echo "$as_me:$LINENO: checking for $ac_func" >&5
30181echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30182if eval "test \"\${$as_ac_var+set}\" = set"; then
30183 echo $ECHO_N "(cached) $ECHO_C" >&6
30184else
30185 cat >conftest.$ac_ext <<_ACEOF
30186#line $LINENO "configure"
30187/* confdefs.h. */
30188_ACEOF
30189cat confdefs.h >>conftest.$ac_ext
30190cat >>conftest.$ac_ext <<_ACEOF
30191/* end confdefs.h. */
30192/* System header to define __stub macros and hopefully few prototypes,
30193 which can conflict with char $ac_func (); below.
30194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30195 <limits.h> exists even on freestanding compilers. */
30196#ifdef __STDC__
30197# include <limits.h>
30198#else
30199# include <assert.h>
30200#endif
30201/* Override any gcc2 internal prototype to avoid an error. */
30202#ifdef __cplusplus
30203extern "C"
30204{
30205#endif
30206/* We use char because int might match the return type of a gcc2
30207 builtin and then its argument prototype would still apply. */
30208char $ac_func ();
30209/* The GNU C library defines this for functions which it implements
30210 to always fail with ENOSYS. Some functions are actually named
30211 something starting with __ and the normal name is an alias. */
30212#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30213choke me
30214#else
30215char (*f) () = $ac_func;
30216#endif
30217#ifdef __cplusplus
30218}
30219#endif
30220
30221int
30222main ()
30223{
30224return f != $ac_func;
30225 ;
30226 return 0;
30227}
30228_ACEOF
30229rm -f conftest.$ac_objext conftest$ac_exeext
30230if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30231 (eval $ac_link) 2>&5
30232 ac_status=$?
30233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30234 (exit $ac_status); } &&
30235 { ac_try='test -s conftest$ac_exeext'
30236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30237 (eval $ac_try) 2>&5
30238 ac_status=$?
30239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30240 (exit $ac_status); }; }; then
30241 eval "$as_ac_var=yes"
30242else
30243 echo "$as_me: failed program was:" >&5
30244sed 's/^/| /' conftest.$ac_ext >&5
30245
30246eval "$as_ac_var=no"
30247fi
30248rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30249fi
30250echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30251echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30252if test `eval echo '${'$as_ac_var'}'` = yes; then
30253 cat >>confdefs.h <<_ACEOF
30254#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30255_ACEOF
30256
30257fi
30258done
30259
30260
30261 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30262echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30263if test "${wx_cv_var_timezone+set}" = set; then
30264 echo $ECHO_N "(cached) $ECHO_C" >&6
30265else
30266
30267 cat >conftest.$ac_ext <<_ACEOF
30268#line $LINENO "configure"
30269/* confdefs.h. */
30270_ACEOF
30271cat confdefs.h >>conftest.$ac_ext
30272cat >>conftest.$ac_ext <<_ACEOF
30273/* end confdefs.h. */
30274
30275 #include <time.h>
30276
30277int
30278main ()
30279{
30280
30281 int tz;
30282 tz = timezone;
30283
30284 ;
30285 return 0;
30286}
30287_ACEOF
30288rm -f conftest.$ac_objext
30289if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30290 (eval $ac_compile) 2>&5
30291 ac_status=$?
30292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30293 (exit $ac_status); } &&
30294 { ac_try='test -s conftest.$ac_objext'
30295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30296 (eval $ac_try) 2>&5
30297 ac_status=$?
30298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30299 (exit $ac_status); }; }; then
30300
30301 wx_cv_var_timezone=timezone
30302
30303else
30304 echo "$as_me: failed program was:" >&5
30305sed 's/^/| /' conftest.$ac_ext >&5
30306
30307
30308 cat >conftest.$ac_ext <<_ACEOF
30309#line $LINENO "configure"
30310/* confdefs.h. */
30311_ACEOF
30312cat confdefs.h >>conftest.$ac_ext
30313cat >>conftest.$ac_ext <<_ACEOF
30314/* end confdefs.h. */
30315
30316 #include <time.h>
30317
30318int
30319main ()
30320{
30321
30322 int tz;
30323 tz = _timezone;
30324
30325 ;
30326 return 0;
30327}
30328_ACEOF
30329rm -f conftest.$ac_objext
30330if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30331 (eval $ac_compile) 2>&5
30332 ac_status=$?
30333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30334 (exit $ac_status); } &&
30335 { ac_try='test -s conftest.$ac_objext'
30336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30337 (eval $ac_try) 2>&5
30338 ac_status=$?
30339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30340 (exit $ac_status); }; }; then
30341
30342 wx_cv_var_timezone=_timezone
30343
30344else
30345 echo "$as_me: failed program was:" >&5
30346sed 's/^/| /' conftest.$ac_ext >&5
30347
30348
30349 cat >conftest.$ac_ext <<_ACEOF
30350#line $LINENO "configure"
30351/* confdefs.h. */
30352_ACEOF
30353cat confdefs.h >>conftest.$ac_ext
30354cat >>conftest.$ac_ext <<_ACEOF
30355/* end confdefs.h. */
30356
30357 #include <time.h>
30358
30359int
30360main ()
30361{
30362
30363 int tz;
30364 tz = __timezone;
30365
30366 ;
30367 return 0;
30368}
30369_ACEOF
30370rm -f conftest.$ac_objext
30371if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30372 (eval $ac_compile) 2>&5
30373 ac_status=$?
30374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30375 (exit $ac_status); } &&
30376 { ac_try='test -s conftest.$ac_objext'
30377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30378 (eval $ac_try) 2>&5
30379 ac_status=$?
30380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30381 (exit $ac_status); }; }; then
30382
30383 wx_cv_var_timezone=__timezone
30384
30385else
30386 echo "$as_me: failed program was:" >&5
30387sed 's/^/| /' conftest.$ac_ext >&5
30388
30389
30390 if test "$USE_DOS" = 0 ; then
30391 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30392echo "$as_me: WARNING: no timezone variable" >&2;}
30393 fi
30394
30395
30396fi
30397rm -f conftest.$ac_objext conftest.$ac_ext
30398
30399
30400fi
30401rm -f conftest.$ac_objext conftest.$ac_ext
30402
30403
30404fi
30405rm -f conftest.$ac_objext conftest.$ac_ext
30406
30407
30408fi
30409echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30410echo "${ECHO_T}$wx_cv_var_timezone" >&6
30411
30412 if test "x$wx_cv_var_timezone" != x ; then
30413 cat >>confdefs.h <<_ACEOF
30414#define WX_TIMEZONE $wx_cv_var_timezone
30415_ACEOF
30416
30417 fi
30418
30419
30420for ac_func in localtime
30421do
30422as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30423echo "$as_me:$LINENO: checking for $ac_func" >&5
30424echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30425if eval "test \"\${$as_ac_var+set}\" = set"; then
30426 echo $ECHO_N "(cached) $ECHO_C" >&6
30427else
30428 cat >conftest.$ac_ext <<_ACEOF
30429#line $LINENO "configure"
30430/* confdefs.h. */
30431_ACEOF
30432cat confdefs.h >>conftest.$ac_ext
30433cat >>conftest.$ac_ext <<_ACEOF
30434/* end confdefs.h. */
30435/* System header to define __stub macros and hopefully few prototypes,
30436 which can conflict with char $ac_func (); below.
30437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30438 <limits.h> exists even on freestanding compilers. */
30439#ifdef __STDC__
30440# include <limits.h>
30441#else
30442# include <assert.h>
30443#endif
30444/* Override any gcc2 internal prototype to avoid an error. */
30445#ifdef __cplusplus
30446extern "C"
30447{
30448#endif
30449/* We use char because int might match the return type of a gcc2
30450 builtin and then its argument prototype would still apply. */
30451char $ac_func ();
30452/* The GNU C library defines this for functions which it implements
30453 to always fail with ENOSYS. Some functions are actually named
30454 something starting with __ and the normal name is an alias. */
30455#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30456choke me
30457#else
30458char (*f) () = $ac_func;
30459#endif
30460#ifdef __cplusplus
30461}
30462#endif
30463
30464int
30465main ()
30466{
30467return f != $ac_func;
30468 ;
30469 return 0;
30470}
30471_ACEOF
30472rm -f conftest.$ac_objext conftest$ac_exeext
30473if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30474 (eval $ac_link) 2>&5
30475 ac_status=$?
30476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30477 (exit $ac_status); } &&
30478 { ac_try='test -s conftest$ac_exeext'
30479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30480 (eval $ac_try) 2>&5
30481 ac_status=$?
30482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30483 (exit $ac_status); }; }; then
30484 eval "$as_ac_var=yes"
30485else
30486 echo "$as_me: failed program was:" >&5
30487sed 's/^/| /' conftest.$ac_ext >&5
30488
30489eval "$as_ac_var=no"
30490fi
30491rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30492fi
30493echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30494echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30495if test `eval echo '${'$as_ac_var'}'` = yes; then
30496 cat >>confdefs.h <<_ACEOF
30497#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30498_ACEOF
30499
30500fi
30501done
30502
30503
30504 if test "$ac_cv_func_localtime" = "yes"; then
30505 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30506echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30507if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30508 echo $ECHO_N "(cached) $ECHO_C" >&6
30509else
30510
30511 cat >conftest.$ac_ext <<_ACEOF
30512#line $LINENO "configure"
30513/* confdefs.h. */
30514_ACEOF
30515cat confdefs.h >>conftest.$ac_ext
30516cat >>conftest.$ac_ext <<_ACEOF
30517/* end confdefs.h. */
30518
30519 #include <time.h>
30520
30521int
30522main ()
30523{
30524
30525 struct tm tm;
30526 tm.tm_gmtoff++;
30527
30528 ;
30529 return 0;
30530}
30531_ACEOF
30532rm -f conftest.$ac_objext
30533if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30534 (eval $ac_compile) 2>&5
30535 ac_status=$?
30536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30537 (exit $ac_status); } &&
30538 { ac_try='test -s conftest.$ac_objext'
30539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30540 (eval $ac_try) 2>&5
30541 ac_status=$?
30542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30543 (exit $ac_status); }; }; then
30544
30545 wx_cv_struct_tm_has_gmtoff=yes
30546
30547else
30548 echo "$as_me: failed program was:" >&5
30549sed 's/^/| /' conftest.$ac_ext >&5
30550
30551wx_cv_struct_tm_has_gmtoff=no
30552
30553fi
30554rm -f conftest.$ac_objext conftest.$ac_ext
30555
30556fi
30557echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30558echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30559 fi
30560
30561 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30562 cat >>confdefs.h <<\_ACEOF
30563#define WX_GMTOFF_IN_TM 1
30564_ACEOF
30565
30566 fi
30567
30568
30569
30570for ac_func in gettimeofday ftime
30571do
30572as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30573echo "$as_me:$LINENO: checking for $ac_func" >&5
30574echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30575if eval "test \"\${$as_ac_var+set}\" = set"; then
30576 echo $ECHO_N "(cached) $ECHO_C" >&6
30577else
30578 cat >conftest.$ac_ext <<_ACEOF
30579#line $LINENO "configure"
30580/* confdefs.h. */
30581_ACEOF
30582cat confdefs.h >>conftest.$ac_ext
30583cat >>conftest.$ac_ext <<_ACEOF
30584/* end confdefs.h. */
30585/* System header to define __stub macros and hopefully few prototypes,
30586 which can conflict with char $ac_func (); below.
30587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30588 <limits.h> exists even on freestanding compilers. */
30589#ifdef __STDC__
30590# include <limits.h>
30591#else
30592# include <assert.h>
30593#endif
30594/* Override any gcc2 internal prototype to avoid an error. */
30595#ifdef __cplusplus
30596extern "C"
30597{
30598#endif
30599/* We use char because int might match the return type of a gcc2
30600 builtin and then its argument prototype would still apply. */
30601char $ac_func ();
30602/* The GNU C library defines this for functions which it implements
30603 to always fail with ENOSYS. Some functions are actually named
30604 something starting with __ and the normal name is an alias. */
30605#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30606choke me
30607#else
30608char (*f) () = $ac_func;
30609#endif
30610#ifdef __cplusplus
30611}
30612#endif
30613
30614int
30615main ()
30616{
30617return f != $ac_func;
30618 ;
30619 return 0;
30620}
30621_ACEOF
30622rm -f conftest.$ac_objext conftest$ac_exeext
30623if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30624 (eval $ac_link) 2>&5
30625 ac_status=$?
30626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30627 (exit $ac_status); } &&
30628 { ac_try='test -s conftest$ac_exeext'
30629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30630 (eval $ac_try) 2>&5
30631 ac_status=$?
30632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30633 (exit $ac_status); }; }; then
30634 eval "$as_ac_var=yes"
30635else
30636 echo "$as_me: failed program was:" >&5
30637sed 's/^/| /' conftest.$ac_ext >&5
30638
30639eval "$as_ac_var=no"
30640fi
30641rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30642fi
30643echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30644echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30645if test `eval echo '${'$as_ac_var'}'` = yes; then
30646 cat >>confdefs.h <<_ACEOF
30647#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30648_ACEOF
30649 break
30650fi
30651done
30652
30653
30654 if test "$ac_cv_func_gettimeofday" = "yes"; then
30655 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30656echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30657if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30658 echo $ECHO_N "(cached) $ECHO_C" >&6
30659else
30660
30661
30662
30663 ac_ext=cc
30664ac_cpp='$CXXCPP $CPPFLAGS'
30665ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30666ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30667ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30668
30669
30670 cat >conftest.$ac_ext <<_ACEOF
30671#line $LINENO "configure"
30672/* confdefs.h. */
30673_ACEOF
30674cat confdefs.h >>conftest.$ac_ext
30675cat >>conftest.$ac_ext <<_ACEOF
30676/* end confdefs.h. */
30677
30678 #include <sys/time.h>
30679 #include <unistd.h>
30680
30681int
30682main ()
30683{
30684
30685 struct timeval tv;
30686 gettimeofday(&tv, NULL);
30687
30688 ;
30689 return 0;
30690}
30691_ACEOF
30692rm -f conftest.$ac_objext
30693if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30694 (eval $ac_compile) 2>&5
30695 ac_status=$?
30696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30697 (exit $ac_status); } &&
30698 { ac_try='test -s conftest.$ac_objext'
30699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30700 (eval $ac_try) 2>&5
30701 ac_status=$?
30702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30703 (exit $ac_status); }; }; then
30704 wx_cv_func_gettimeofday_has_2_args=yes
30705else
30706 echo "$as_me: failed program was:" >&5
30707sed 's/^/| /' conftest.$ac_ext >&5
30708
30709cat >conftest.$ac_ext <<_ACEOF
30710#line $LINENO "configure"
30711/* confdefs.h. */
30712_ACEOF
30713cat confdefs.h >>conftest.$ac_ext
30714cat >>conftest.$ac_ext <<_ACEOF
30715/* end confdefs.h. */
30716
30717 #include <sys/time.h>
30718 #include <unistd.h>
30719
30720int
30721main ()
30722{
30723
30724 struct timeval tv;
30725 gettimeofday(&tv);
30726
30727 ;
30728 return 0;
30729}
30730_ACEOF
30731rm -f conftest.$ac_objext
30732if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30733 (eval $ac_compile) 2>&5
30734 ac_status=$?
30735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30736 (exit $ac_status); } &&
30737 { ac_try='test -s conftest.$ac_objext'
30738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30739 (eval $ac_try) 2>&5
30740 ac_status=$?
30741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30742 (exit $ac_status); }; }; then
30743 wx_cv_func_gettimeofday_has_2_args=no
30744else
30745 echo "$as_me: failed program was:" >&5
30746sed 's/^/| /' conftest.$ac_ext >&5
30747
30748
30749 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
30750echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
30751 wx_cv_func_gettimeofday_has_2_args=unknown
30752
30753
30754fi
30755rm -f conftest.$ac_objext conftest.$ac_ext
30756
30757fi
30758rm -f conftest.$ac_objext conftest.$ac_ext
30759 ac_ext=c
30760ac_cpp='$CPP $CPPFLAGS'
30761ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30762ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30763ac_compiler_gnu=$ac_cv_c_compiler_gnu
30764
30765
30766fi
30767echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
30768echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
30769
30770 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
30771 cat >>confdefs.h <<\_ACEOF
30772#define WX_GETTIMEOFDAY_NO_TZ 1
30773_ACEOF
30774
30775 fi
30776 fi
30777
30778 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
30779fi
30780
30781
30782if test "$wxUSE_SOCKETS" = "yes"; then
30783 if test "$wxUSE_MGL" = "1"; then
30784 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
30785echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
30786 wxUSE_SOCKETS="no"
30787 fi
30788fi
30789
30790if test "$wxUSE_SOCKETS" = "yes"; then
30791 if test "$TOOLKIT" != "MSW"; then
30792 echo "$as_me:$LINENO: checking for socket" >&5
30793echo $ECHO_N "checking for socket... $ECHO_C" >&6
30794if test "${ac_cv_func_socket+set}" = set; then
30795 echo $ECHO_N "(cached) $ECHO_C" >&6
30796else
30797 cat >conftest.$ac_ext <<_ACEOF
30798#line $LINENO "configure"
30799/* confdefs.h. */
30800_ACEOF
30801cat confdefs.h >>conftest.$ac_ext
30802cat >>conftest.$ac_ext <<_ACEOF
30803/* end confdefs.h. */
30804/* System header to define __stub macros and hopefully few prototypes,
30805 which can conflict with char socket (); below.
30806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30807 <limits.h> exists even on freestanding compilers. */
30808#ifdef __STDC__
30809# include <limits.h>
30810#else
30811# include <assert.h>
30812#endif
30813/* Override any gcc2 internal prototype to avoid an error. */
30814#ifdef __cplusplus
30815extern "C"
30816{
30817#endif
30818/* We use char because int might match the return type of a gcc2
30819 builtin and then its argument prototype would still apply. */
30820char socket ();
30821/* The GNU C library defines this for functions which it implements
30822 to always fail with ENOSYS. Some functions are actually named
30823 something starting with __ and the normal name is an alias. */
30824#if defined (__stub_socket) || defined (__stub___socket)
30825choke me
30826#else
30827char (*f) () = socket;
30828#endif
30829#ifdef __cplusplus
30830}
30831#endif
30832
30833int
30834main ()
30835{
30836return f != socket;
30837 ;
30838 return 0;
30839}
30840_ACEOF
30841rm -f conftest.$ac_objext conftest$ac_exeext
30842if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30843 (eval $ac_link) 2>&5
30844 ac_status=$?
30845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30846 (exit $ac_status); } &&
30847 { ac_try='test -s conftest$ac_exeext'
30848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30849 (eval $ac_try) 2>&5
30850 ac_status=$?
30851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30852 (exit $ac_status); }; }; then
30853 ac_cv_func_socket=yes
30854else
30855 echo "$as_me: failed program was:" >&5
30856sed 's/^/| /' conftest.$ac_ext >&5
30857
30858ac_cv_func_socket=no
30859fi
30860rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30861fi
30862echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
30863echo "${ECHO_T}$ac_cv_func_socket" >&6
30864if test $ac_cv_func_socket = yes; then
30865 :
30866else
30867 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
30868echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
30869if test "${ac_cv_lib_socket_socket+set}" = set; then
30870 echo $ECHO_N "(cached) $ECHO_C" >&6
30871else
30872 ac_check_lib_save_LIBS=$LIBS
30873LIBS="-lsocket $LIBS"
30874cat >conftest.$ac_ext <<_ACEOF
30875#line $LINENO "configure"
30876/* confdefs.h. */
30877_ACEOF
30878cat confdefs.h >>conftest.$ac_ext
30879cat >>conftest.$ac_ext <<_ACEOF
30880/* end confdefs.h. */
30881
30882/* Override any gcc2 internal prototype to avoid an error. */
30883#ifdef __cplusplus
30884extern "C"
30885#endif
30886/* We use char because int might match the return type of a gcc2
30887 builtin and then its argument prototype would still apply. */
30888char socket ();
30889int
30890main ()
30891{
30892socket ();
30893 ;
30894 return 0;
30895}
30896_ACEOF
30897rm -f conftest.$ac_objext conftest$ac_exeext
30898if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30899 (eval $ac_link) 2>&5
30900 ac_status=$?
30901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30902 (exit $ac_status); } &&
30903 { ac_try='test -s conftest$ac_exeext'
30904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30905 (eval $ac_try) 2>&5
30906 ac_status=$?
30907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30908 (exit $ac_status); }; }; then
30909 ac_cv_lib_socket_socket=yes
30910else
30911 echo "$as_me: failed program was:" >&5
30912sed 's/^/| /' conftest.$ac_ext >&5
30913
30914ac_cv_lib_socket_socket=no
30915fi
30916rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30917LIBS=$ac_check_lib_save_LIBS
30918fi
30919echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
30920echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
30921if test $ac_cv_lib_socket_socket = yes; then
30922 if test "$INET_LINK" != " -lsocket"; then
30923 INET_LINK="$INET_LINK -lsocket"
30924 fi
30925else
30926
30927 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
30928echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
30929 wxUSE_SOCKETS=no
30930
30931
30932fi
30933
30934
30935fi
30936
30937 fi
30938fi
30939
30940if test "$wxUSE_SOCKETS" = "yes" ; then
30941 if test "$TOOLKIT" != "MSW"; then
30942 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
30943echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
30944if test "${wx_cv_type_getsockname3+set}" = set; then
30945 echo $ECHO_N "(cached) $ECHO_C" >&6
30946else
30947
30948 cat >conftest.$ac_ext <<_ACEOF
30949#line $LINENO "configure"
30950/* confdefs.h. */
30951_ACEOF
30952cat confdefs.h >>conftest.$ac_ext
30953cat >>conftest.$ac_ext <<_ACEOF
30954/* end confdefs.h. */
30955
30956 #include <sys/types.h>
30957 #include <sys/socket.h>
30958
30959int
30960main ()
30961{
30962
30963 socklen_t len;
30964 getsockname(0, 0, &len);
30965
30966 ;
30967 return 0;
30968}
30969_ACEOF
30970rm -f conftest.$ac_objext
30971if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30972 (eval $ac_compile) 2>&5
30973 ac_status=$?
30974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30975 (exit $ac_status); } &&
30976 { ac_try='test -s conftest.$ac_objext'
30977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30978 (eval $ac_try) 2>&5
30979 ac_status=$?
30980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30981 (exit $ac_status); }; }; then
30982 wx_cv_type_getsockname3=socklen_t
30983else
30984 echo "$as_me: failed program was:" >&5
30985sed 's/^/| /' conftest.$ac_ext >&5
30986
30987
30988 CFLAGS_OLD="$CFLAGS"
30989 if test "$GCC" = yes ; then
30990 CFLAGS="$CFLAGS -Werror"
30991 fi
30992
30993 cat >conftest.$ac_ext <<_ACEOF
30994#line $LINENO "configure"
30995/* confdefs.h. */
30996_ACEOF
30997cat confdefs.h >>conftest.$ac_ext
30998cat >>conftest.$ac_ext <<_ACEOF
30999/* end confdefs.h. */
31000
31001 #include <sys/types.h>
31002 #include <sys/socket.h>
31003
31004int
31005main ()
31006{
31007
31008 size_t len;
31009 getsockname(0, 0, &len);
31010
31011 ;
31012 return 0;
31013}
31014_ACEOF
31015rm -f conftest.$ac_objext
31016if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31017 (eval $ac_compile) 2>&5
31018 ac_status=$?
31019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31020 (exit $ac_status); } &&
31021 { ac_try='test -s conftest.$ac_objext'
31022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31023 (eval $ac_try) 2>&5
31024 ac_status=$?
31025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31026 (exit $ac_status); }; }; then
31027 wx_cv_type_getsockname3=size_t
31028else
31029 echo "$as_me: failed program was:" >&5
31030sed 's/^/| /' conftest.$ac_ext >&5
31031
31032cat >conftest.$ac_ext <<_ACEOF
31033#line $LINENO "configure"
31034/* confdefs.h. */
31035_ACEOF
31036cat confdefs.h >>conftest.$ac_ext
31037cat >>conftest.$ac_ext <<_ACEOF
31038/* end confdefs.h. */
31039
31040 #include <sys/types.h>
31041 #include <sys/socket.h>
31042
31043int
31044main ()
31045{
31046
31047 int len;
31048 getsockname(0, 0, &len);
31049
31050 ;
31051 return 0;
31052}
31053_ACEOF
31054rm -f conftest.$ac_objext
31055if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31056 (eval $ac_compile) 2>&5
31057 ac_status=$?
31058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31059 (exit $ac_status); } &&
31060 { ac_try='test -s conftest.$ac_objext'
31061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31062 (eval $ac_try) 2>&5
31063 ac_status=$?
31064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31065 (exit $ac_status); }; }; then
31066 wx_cv_type_getsockname3=int
31067else
31068 echo "$as_me: failed program was:" >&5
31069sed 's/^/| /' conftest.$ac_ext >&5
31070
31071wx_cv_type_getsockname3=unknown
31072
31073fi
31074rm -f conftest.$ac_objext conftest.$ac_ext
31075
31076fi
31077rm -f conftest.$ac_objext conftest.$ac_ext
31078
31079 CFLAGS="$CFLAGS_OLD"
31080
31081
31082fi
31083rm -f conftest.$ac_objext conftest.$ac_ext
31084
31085fi
31086echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31087echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31088
31089 if test "$wx_cv_type_getsockname3" = "unknown"; then
31090 wxUSE_SOCKETS=no
31091 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31092echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31093 else
31094 cat >>confdefs.h <<_ACEOF
31095#define SOCKLEN_T $wx_cv_type_getsockname3
31096_ACEOF
31097
31098 fi
31099 fi
31100fi
31101
31102if test "$wxUSE_SOCKETS" = "yes" ; then
31103 cat >>confdefs.h <<\_ACEOF
31104#define wxUSE_SOCKETS 1
31105_ACEOF
31106
31107 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
31108fi
31109
31110
31111if test "$wxUSE_GUI" = "yes"; then
31112
31113 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31114 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31115echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31116 wxUSE_JOYSTICK=no
31117 fi
31118 if test "$TOOLKIT" = "MOTIF"; then
31119 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Motif... disabled" >&5
31120echo "$as_me: WARNING: Joystick not yet supported under Motif... disabled" >&2;}
31121 wxUSE_JOYSTICK=no
31122 fi
31123 if test "$TOOLKIT" = "X11"; then
31124 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under X11... disabled" >&5
31125echo "$as_me: WARNING: Joystick not yet supported under X11... disabled" >&2;}
31126 wxUSE_JOYSTICK=no
31127 fi
31128
31129 if test "$TOOLKIT" != "MSW"; then
31130 if test "$wxUSE_JOYSTICK" = "yes"; then
31131
31132for ac_header in linux/joystick.h
31133do
31134as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31135if eval "test \"\${$as_ac_Header+set}\" = set"; then
31136 echo "$as_me:$LINENO: checking for $ac_header" >&5
31137echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31138if eval "test \"\${$as_ac_Header+set}\" = set"; then
31139 echo $ECHO_N "(cached) $ECHO_C" >&6
31140fi
31141echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31142echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31143else
31144 # Is the header compilable?
31145echo "$as_me:$LINENO: checking $ac_header usability" >&5
31146echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31147cat >conftest.$ac_ext <<_ACEOF
31148#line $LINENO "configure"
31149/* confdefs.h. */
31150_ACEOF
31151cat confdefs.h >>conftest.$ac_ext
31152cat >>conftest.$ac_ext <<_ACEOF
31153/* end confdefs.h. */
31154$ac_includes_default
31155#include <$ac_header>
31156_ACEOF
31157rm -f conftest.$ac_objext
31158if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31159 (eval $ac_compile) 2>&5
31160 ac_status=$?
31161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31162 (exit $ac_status); } &&
31163 { ac_try='test -s conftest.$ac_objext'
31164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31165 (eval $ac_try) 2>&5
31166 ac_status=$?
31167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31168 (exit $ac_status); }; }; then
31169 ac_header_compiler=yes
31170else
31171 echo "$as_me: failed program was:" >&5
31172sed 's/^/| /' conftest.$ac_ext >&5
31173
31174ac_header_compiler=no
31175fi
31176rm -f conftest.$ac_objext conftest.$ac_ext
31177echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31178echo "${ECHO_T}$ac_header_compiler" >&6
31179
31180# Is the header present?
31181echo "$as_me:$LINENO: checking $ac_header presence" >&5
31182echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31183cat >conftest.$ac_ext <<_ACEOF
31184#line $LINENO "configure"
31185/* confdefs.h. */
31186_ACEOF
31187cat confdefs.h >>conftest.$ac_ext
31188cat >>conftest.$ac_ext <<_ACEOF
31189/* end confdefs.h. */
31190#include <$ac_header>
31191_ACEOF
31192if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31193 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31194 ac_status=$?
31195 grep -v '^ *+' conftest.er1 >conftest.err
31196 rm -f conftest.er1
31197 cat conftest.err >&5
31198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31199 (exit $ac_status); } >/dev/null; then
31200 if test -s conftest.err; then
31201 ac_cpp_err=$ac_c_preproc_warn_flag
31202 else
31203 ac_cpp_err=
31204 fi
31205else
31206 ac_cpp_err=yes
31207fi
31208if test -z "$ac_cpp_err"; then
31209 ac_header_preproc=yes
31210else
31211 echo "$as_me: failed program was:" >&5
31212sed 's/^/| /' conftest.$ac_ext >&5
31213
31214 ac_header_preproc=no
31215fi
31216rm -f conftest.err conftest.$ac_ext
31217echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31218echo "${ECHO_T}$ac_header_preproc" >&6
31219
31220# So? What about this header?
31221case $ac_header_compiler:$ac_header_preproc in
31222 yes:no )
31223 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31224echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31225 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31226echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31227 (
31228 cat <<\_ASBOX
31229## ------------------------------------ ##
31230## Report this to bug-autoconf@gnu.org. ##
31231## ------------------------------------ ##
31232_ASBOX
31233 ) |
31234 sed "s/^/$as_me: WARNING: /" >&2
31235 ;;
31236 no:yes )
31237 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31238echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31239 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31240echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31241 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31242echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31243 (
31244 cat <<\_ASBOX
31245## ------------------------------------ ##
31246## Report this to bug-autoconf@gnu.org. ##
31247## ------------------------------------ ##
31248_ASBOX
31249 ) |
31250 sed "s/^/$as_me: WARNING: /" >&2
31251 ;;
31252esac
31253echo "$as_me:$LINENO: checking for $ac_header" >&5
31254echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31255if eval "test \"\${$as_ac_Header+set}\" = set"; then
31256 echo $ECHO_N "(cached) $ECHO_C" >&6
31257else
31258 eval "$as_ac_Header=$ac_header_preproc"
31259fi
31260echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31261echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31262
31263fi
31264if test `eval echo '${'$as_ac_Header'}'` = yes; then
31265 cat >>confdefs.h <<_ACEOF
31266#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31267_ACEOF
31268
31269fi
31270
31271done
31272
31273 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31274 wxUSE_JOYSTICK=no
31275 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31276echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31277 fi
31278 fi
31279 fi
31280
31281 if test "$wxUSE_JOYSTICK" = "yes"; then
31282 cat >>confdefs.h <<\_ACEOF
31283#define wxUSE_JOYSTICK 1
31284_ACEOF
31285
31286 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
31287 fi
31288fi
31289
31290
31291if test "$TOOLKIT" != "MSW"; then
31292
31293 HAVE_DL_FUNCS=0
31294 HAVE_SHL_FUNCS=0
31295 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31296 if test "$USE_DARWIN" = 1; then
31297 HAVE_DL_FUNCS=1
31298 else
31299
31300for ac_func in dlopen
31301do
31302as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31303echo "$as_me:$LINENO: checking for $ac_func" >&5
31304echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31305if eval "test \"\${$as_ac_var+set}\" = set"; then
31306 echo $ECHO_N "(cached) $ECHO_C" >&6
31307else
31308 cat >conftest.$ac_ext <<_ACEOF
31309#line $LINENO "configure"
31310/* confdefs.h. */
31311_ACEOF
31312cat confdefs.h >>conftest.$ac_ext
31313cat >>conftest.$ac_ext <<_ACEOF
31314/* end confdefs.h. */
31315/* System header to define __stub macros and hopefully few prototypes,
31316 which can conflict with char $ac_func (); below.
31317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31318 <limits.h> exists even on freestanding compilers. */
31319#ifdef __STDC__
31320# include <limits.h>
31321#else
31322# include <assert.h>
31323#endif
31324/* Override any gcc2 internal prototype to avoid an error. */
31325#ifdef __cplusplus
31326extern "C"
31327{
31328#endif
31329/* We use char because int might match the return type of a gcc2
31330 builtin and then its argument prototype would still apply. */
31331char $ac_func ();
31332/* The GNU C library defines this for functions which it implements
31333 to always fail with ENOSYS. Some functions are actually named
31334 something starting with __ and the normal name is an alias. */
31335#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31336choke me
31337#else
31338char (*f) () = $ac_func;
31339#endif
31340#ifdef __cplusplus
31341}
31342#endif
31343
31344int
31345main ()
31346{
31347return f != $ac_func;
31348 ;
31349 return 0;
31350}
31351_ACEOF
31352rm -f conftest.$ac_objext conftest$ac_exeext
31353if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31354 (eval $ac_link) 2>&5
31355 ac_status=$?
31356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31357 (exit $ac_status); } &&
31358 { ac_try='test -s conftest$ac_exeext'
31359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31360 (eval $ac_try) 2>&5
31361 ac_status=$?
31362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31363 (exit $ac_status); }; }; then
31364 eval "$as_ac_var=yes"
31365else
31366 echo "$as_me: failed program was:" >&5
31367sed 's/^/| /' conftest.$ac_ext >&5
31368
31369eval "$as_ac_var=no"
31370fi
31371rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31372fi
31373echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31374echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31375if test `eval echo '${'$as_ac_var'}'` = yes; then
31376 cat >>confdefs.h <<_ACEOF
31377#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31378_ACEOF
31379
31380 cat >>confdefs.h <<\_ACEOF
31381#define HAVE_DLOPEN 1
31382_ACEOF
31383
31384 HAVE_DL_FUNCS=1
31385
31386else
31387
31388 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31389echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31390if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31391 echo $ECHO_N "(cached) $ECHO_C" >&6
31392else
31393 ac_check_lib_save_LIBS=$LIBS
31394LIBS="-ldl $LIBS"
31395cat >conftest.$ac_ext <<_ACEOF
31396#line $LINENO "configure"
31397/* confdefs.h. */
31398_ACEOF
31399cat confdefs.h >>conftest.$ac_ext
31400cat >>conftest.$ac_ext <<_ACEOF
31401/* end confdefs.h. */
31402
31403/* Override any gcc2 internal prototype to avoid an error. */
31404#ifdef __cplusplus
31405extern "C"
31406#endif
31407/* We use char because int might match the return type of a gcc2
31408 builtin and then its argument prototype would still apply. */
31409char dlopen ();
31410int
31411main ()
31412{
31413dlopen ();
31414 ;
31415 return 0;
31416}
31417_ACEOF
31418rm -f conftest.$ac_objext conftest$ac_exeext
31419if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31420 (eval $ac_link) 2>&5
31421 ac_status=$?
31422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31423 (exit $ac_status); } &&
31424 { ac_try='test -s conftest$ac_exeext'
31425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31426 (eval $ac_try) 2>&5
31427 ac_status=$?
31428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31429 (exit $ac_status); }; }; then
31430 ac_cv_lib_dl_dlopen=yes
31431else
31432 echo "$as_me: failed program was:" >&5
31433sed 's/^/| /' conftest.$ac_ext >&5
31434
31435ac_cv_lib_dl_dlopen=no
31436fi
31437rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31438LIBS=$ac_check_lib_save_LIBS
31439fi
31440echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31441echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31442if test $ac_cv_lib_dl_dlopen = yes; then
31443
31444 cat >>confdefs.h <<\_ACEOF
31445#define HAVE_DLOPEN 1
31446_ACEOF
31447
31448 HAVE_DL_FUNCS=1
31449 DL_LINK=" -ldl$DL_LINK"
31450
31451else
31452
31453
31454for ac_func in shl_load
31455do
31456as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31457echo "$as_me:$LINENO: checking for $ac_func" >&5
31458echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31459if eval "test \"\${$as_ac_var+set}\" = set"; then
31460 echo $ECHO_N "(cached) $ECHO_C" >&6
31461else
31462 cat >conftest.$ac_ext <<_ACEOF
31463#line $LINENO "configure"
31464/* confdefs.h. */
31465_ACEOF
31466cat confdefs.h >>conftest.$ac_ext
31467cat >>conftest.$ac_ext <<_ACEOF
31468/* end confdefs.h. */
31469/* System header to define __stub macros and hopefully few prototypes,
31470 which can conflict with char $ac_func (); below.
31471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31472 <limits.h> exists even on freestanding compilers. */
31473#ifdef __STDC__
31474# include <limits.h>
31475#else
31476# include <assert.h>
31477#endif
31478/* Override any gcc2 internal prototype to avoid an error. */
31479#ifdef __cplusplus
31480extern "C"
31481{
31482#endif
31483/* We use char because int might match the return type of a gcc2
31484 builtin and then its argument prototype would still apply. */
31485char $ac_func ();
31486/* The GNU C library defines this for functions which it implements
31487 to always fail with ENOSYS. Some functions are actually named
31488 something starting with __ and the normal name is an alias. */
31489#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31490choke me
31491#else
31492char (*f) () = $ac_func;
31493#endif
31494#ifdef __cplusplus
31495}
31496#endif
31497
31498int
31499main ()
31500{
31501return f != $ac_func;
31502 ;
31503 return 0;
31504}
31505_ACEOF
31506rm -f conftest.$ac_objext conftest$ac_exeext
31507if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31508 (eval $ac_link) 2>&5
31509 ac_status=$?
31510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31511 (exit $ac_status); } &&
31512 { ac_try='test -s conftest$ac_exeext'
31513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31514 (eval $ac_try) 2>&5
31515 ac_status=$?
31516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31517 (exit $ac_status); }; }; then
31518 eval "$as_ac_var=yes"
31519else
31520 echo "$as_me: failed program was:" >&5
31521sed 's/^/| /' conftest.$ac_ext >&5
31522
31523eval "$as_ac_var=no"
31524fi
31525rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31526fi
31527echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31528echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31529if test `eval echo '${'$as_ac_var'}'` = yes; then
31530 cat >>confdefs.h <<_ACEOF
31531#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31532_ACEOF
31533
31534 cat >>confdefs.h <<\_ACEOF
31535#define HAVE_SHL_LOAD 1
31536_ACEOF
31537
31538 HAVE_SHL_FUNCS=1
31539
31540else
31541
31542 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31543echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31544if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31545 echo $ECHO_N "(cached) $ECHO_C" >&6
31546else
31547 ac_check_lib_save_LIBS=$LIBS
31548LIBS="-lshl_load $LIBS"
31549cat >conftest.$ac_ext <<_ACEOF
31550#line $LINENO "configure"
31551/* confdefs.h. */
31552_ACEOF
31553cat confdefs.h >>conftest.$ac_ext
31554cat >>conftest.$ac_ext <<_ACEOF
31555/* end confdefs.h. */
31556
31557/* Override any gcc2 internal prototype to avoid an error. */
31558#ifdef __cplusplus
31559extern "C"
31560#endif
31561/* We use char because int might match the return type of a gcc2
31562 builtin and then its argument prototype would still apply. */
31563char dld ();
31564int
31565main ()
31566{
31567dld ();
31568 ;
31569 return 0;
31570}
31571_ACEOF
31572rm -f conftest.$ac_objext conftest$ac_exeext
31573if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31574 (eval $ac_link) 2>&5
31575 ac_status=$?
31576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31577 (exit $ac_status); } &&
31578 { ac_try='test -s conftest$ac_exeext'
31579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31580 (eval $ac_try) 2>&5
31581 ac_status=$?
31582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31583 (exit $ac_status); }; }; then
31584 ac_cv_lib_shl_load_dld=yes
31585else
31586 echo "$as_me: failed program was:" >&5
31587sed 's/^/| /' conftest.$ac_ext >&5
31588
31589ac_cv_lib_shl_load_dld=no
31590fi
31591rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31592LIBS=$ac_check_lib_save_LIBS
31593fi
31594echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31595echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31596if test $ac_cv_lib_shl_load_dld = yes; then
31597
31598 HAVE_SHL_FUNCS=1
31599 DL_LINK=" -ldld$DL_LINK"
31600
31601fi
31602
31603
31604fi
31605done
31606
31607
31608fi
31609
31610
31611fi
31612done
31613
31614
31615 if test "$HAVE_DL_FUNCS" = 1; then
31616
31617for ac_func in dlerror
31618do
31619as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31620echo "$as_me:$LINENO: checking for $ac_func" >&5
31621echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31622if eval "test \"\${$as_ac_var+set}\" = set"; then
31623 echo $ECHO_N "(cached) $ECHO_C" >&6
31624else
31625 cat >conftest.$ac_ext <<_ACEOF
31626#line $LINENO "configure"
31627/* confdefs.h. */
31628_ACEOF
31629cat confdefs.h >>conftest.$ac_ext
31630cat >>conftest.$ac_ext <<_ACEOF
31631/* end confdefs.h. */
31632/* System header to define __stub macros and hopefully few prototypes,
31633 which can conflict with char $ac_func (); below.
31634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31635 <limits.h> exists even on freestanding compilers. */
31636#ifdef __STDC__
31637# include <limits.h>
31638#else
31639# include <assert.h>
31640#endif
31641/* Override any gcc2 internal prototype to avoid an error. */
31642#ifdef __cplusplus
31643extern "C"
31644{
31645#endif
31646/* We use char because int might match the return type of a gcc2
31647 builtin and then its argument prototype would still apply. */
31648char $ac_func ();
31649/* The GNU C library defines this for functions which it implements
31650 to always fail with ENOSYS. Some functions are actually named
31651 something starting with __ and the normal name is an alias. */
31652#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31653choke me
31654#else
31655char (*f) () = $ac_func;
31656#endif
31657#ifdef __cplusplus
31658}
31659#endif
31660
31661int
31662main ()
31663{
31664return f != $ac_func;
31665 ;
31666 return 0;
31667}
31668_ACEOF
31669rm -f conftest.$ac_objext conftest$ac_exeext
31670if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31671 (eval $ac_link) 2>&5
31672 ac_status=$?
31673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31674 (exit $ac_status); } &&
31675 { ac_try='test -s conftest$ac_exeext'
31676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31677 (eval $ac_try) 2>&5
31678 ac_status=$?
31679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31680 (exit $ac_status); }; }; then
31681 eval "$as_ac_var=yes"
31682else
31683 echo "$as_me: failed program was:" >&5
31684sed 's/^/| /' conftest.$ac_ext >&5
31685
31686eval "$as_ac_var=no"
31687fi
31688rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31689fi
31690echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31691echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31692if test `eval echo '${'$as_ac_var'}'` = yes; then
31693 cat >>confdefs.h <<_ACEOF
31694#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31695_ACEOF
31696 cat >>confdefs.h <<\_ACEOF
31697#define HAVE_DLERROR 1
31698_ACEOF
31699
31700else
31701 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
31702echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
31703if test "${ac_cv_lib_dl_dlerror+set}" = set; then
31704 echo $ECHO_N "(cached) $ECHO_C" >&6
31705else
31706 ac_check_lib_save_LIBS=$LIBS
31707LIBS="-ldl $LIBS"
31708cat >conftest.$ac_ext <<_ACEOF
31709#line $LINENO "configure"
31710/* confdefs.h. */
31711_ACEOF
31712cat confdefs.h >>conftest.$ac_ext
31713cat >>conftest.$ac_ext <<_ACEOF
31714/* end confdefs.h. */
31715
31716/* Override any gcc2 internal prototype to avoid an error. */
31717#ifdef __cplusplus
31718extern "C"
31719#endif
31720/* We use char because int might match the return type of a gcc2
31721 builtin and then its argument prototype would still apply. */
31722char dlerror ();
31723int
31724main ()
31725{
31726dlerror ();
31727 ;
31728 return 0;
31729}
31730_ACEOF
31731rm -f conftest.$ac_objext conftest$ac_exeext
31732if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31733 (eval $ac_link) 2>&5
31734 ac_status=$?
31735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31736 (exit $ac_status); } &&
31737 { ac_try='test -s conftest$ac_exeext'
31738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31739 (eval $ac_try) 2>&5
31740 ac_status=$?
31741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31742 (exit $ac_status); }; }; then
31743 ac_cv_lib_dl_dlerror=yes
31744else
31745 echo "$as_me: failed program was:" >&5
31746sed 's/^/| /' conftest.$ac_ext >&5
31747
31748ac_cv_lib_dl_dlerror=no
31749fi
31750rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31751LIBS=$ac_check_lib_save_LIBS
31752fi
31753echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
31754echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
31755if test $ac_cv_lib_dl_dlerror = yes; then
31756 cat >>confdefs.h <<\_ACEOF
31757#define HAVE_DLERROR 1
31758_ACEOF
31759
31760fi
31761
31762fi
31763done
31764
31765 fi
31766 fi
31767
31768 if test "$HAVE_DL_FUNCS" = 0; then
31769 if test "$HAVE_SHL_FUNCS" = 0; then
31770 if test "$USE_UNIX" = 1; then
31771 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
31772echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
31773 wxUSE_DYNAMIC_LOADER=no
31774 wxUSE_DYNLIB_CLASS=no
31775 else
31776 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
31777echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
31778 fi
31779 fi
31780 fi
31781 fi
31782fi
31783
31784if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
31785 cat >>confdefs.h <<\_ACEOF
31786#define wxUSE_DYNAMIC_LOADER 1
31787_ACEOF
31788
31789elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31790 cat >>confdefs.h <<\_ACEOF
31791#define wxUSE_DYNLIB_CLASS 1
31792_ACEOF
31793
31794fi
31795
31796
31797if test "$wxUSE_FONTMAP" = "yes" ; then
31798 cat >>confdefs.h <<\_ACEOF
31799#define wxUSE_FONTMAP 1
31800_ACEOF
31801
31802fi
31803
31804if test "$wxUSE_UNICODE" = "yes" ; then
31805 cat >>confdefs.h <<\_ACEOF
31806#define wxUSE_UNICODE 1
31807_ACEOF
31808
31809
31810 if test "$wxUSE_MSW" != 1; then
31811 wxUSE_UNICODE_MSLU=no
31812 fi
31813
31814 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
31815 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
31816echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
31817if test "${ac_cv_lib_unicows_main+set}" = set; then
31818 echo $ECHO_N "(cached) $ECHO_C" >&6
31819else
31820 ac_check_lib_save_LIBS=$LIBS
31821LIBS="-lunicows $LIBS"
31822cat >conftest.$ac_ext <<_ACEOF
31823#line $LINENO "configure"
31824/* confdefs.h. */
31825_ACEOF
31826cat confdefs.h >>conftest.$ac_ext
31827cat >>conftest.$ac_ext <<_ACEOF
31828/* end confdefs.h. */
31829
31830
31831int
31832main ()
31833{
31834main ();
31835 ;
31836 return 0;
31837}
31838_ACEOF
31839rm -f conftest.$ac_objext conftest$ac_exeext
31840if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31841 (eval $ac_link) 2>&5
31842 ac_status=$?
31843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31844 (exit $ac_status); } &&
31845 { ac_try='test -s conftest$ac_exeext'
31846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31847 (eval $ac_try) 2>&5
31848 ac_status=$?
31849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31850 (exit $ac_status); }; }; then
31851 ac_cv_lib_unicows_main=yes
31852else
31853 echo "$as_me: failed program was:" >&5
31854sed 's/^/| /' conftest.$ac_ext >&5
31855
31856ac_cv_lib_unicows_main=no
31857fi
31858rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31859LIBS=$ac_check_lib_save_LIBS
31860fi
31861echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
31862echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
31863if test $ac_cv_lib_unicows_main = yes; then
31864
31865 cat >>confdefs.h <<\_ACEOF
31866#define wxUSE_UNICODE_MSLU 1
31867_ACEOF
31868
31869
31870else
31871
31872 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
31873 Applications will only run on Windows NT/2000/XP!" >&5
31874echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
31875 Applications will only run on Windows NT/2000/XP!" >&2;}
31876 wxUSE_UNICODE_MSLU=no
31877
31878fi
31879
31880 fi
31881fi
31882
31883if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
31884 cat >>confdefs.h <<\_ACEOF
31885#define wxUSE_EXPERIMENTAL_PRINTF 1
31886_ACEOF
31887
31888fi
31889
31890
31891if test "$wxUSE_POSTSCRIPT" = "yes" ; then
31892 cat >>confdefs.h <<\_ACEOF
31893#define wxUSE_POSTSCRIPT 1
31894_ACEOF
31895
31896fi
31897
31898cat >>confdefs.h <<\_ACEOF
31899#define wxUSE_AFM_FOR_POSTSCRIPT 1
31900_ACEOF
31901
31902
31903cat >>confdefs.h <<\_ACEOF
31904#define wxUSE_NORMALIZED_PS_FONTS 1
31905_ACEOF
31906
31907
31908
31909if test "$wxUSE_CONSTRAINTS" = "yes"; then
31910 cat >>confdefs.h <<\_ACEOF
31911#define wxUSE_CONSTRAINTS 1
31912_ACEOF
31913
31914 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
31915fi
31916
31917if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31918
31919
31920 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31921 cat >>confdefs.h <<\_ACEOF
31922#define wxUSE_MDI_ARCHITECTURE 1
31923_ACEOF
31924
31925 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
31926 fi
31927fi
31928
31929if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
31930 cat >>confdefs.h <<\_ACEOF
31931#define wxUSE_DOC_VIEW_ARCHITECTURE 1
31932_ACEOF
31933
31934 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
31935 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31936 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
31937 fi
31938fi
31939
31940if test "$wxUSE_HELP" = "yes"; then
31941 cat >>confdefs.h <<\_ACEOF
31942#define wxUSE_HELP 1
31943_ACEOF
31944
31945 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
31946
31947 if test "$wxUSE_MSW" = 1; then
31948 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
31949 cat >>confdefs.h <<\_ACEOF
31950#define wxUSE_MS_HTML_HELP 1
31951_ACEOF
31952
31953 fi
31954 fi
31955
31956 if test "$wxUSE_WXHTML_HELP" = "yes"; then
31957 if test "$wxUSE_HTML" = "yes"; then
31958 cat >>confdefs.h <<\_ACEOF
31959#define wxUSE_WXHTML_HELP 1
31960_ACEOF
31961
31962 else
31963 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
31964echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
31965 wxUSE_WXHTML_HELP=no
31966 fi
31967 fi
31968fi
31969
31970if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
31971 if test "$wxUSE_CONSTRAINTS" != "yes"; then
31972 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
31973echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
31974 else
31975 cat >>confdefs.h <<\_ACEOF
31976#define wxUSE_PRINTING_ARCHITECTURE 1
31977_ACEOF
31978
31979 fi
31980 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
31981fi
31982
31983if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
31984 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
31985echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
31986 { (exit 1); exit 1; }; }
31987fi
31988
31989
31990if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
31991 -o "$wxUSE_CLIPBOARD" = "yes" \
31992 -o "$wxUSE_OLE" = "yes" \
31993 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
31994
31995for ac_header in ole2.h
31996do
31997as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31998if eval "test \"\${$as_ac_Header+set}\" = set"; then
31999 echo "$as_me:$LINENO: checking for $ac_header" >&5
32000echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32001if eval "test \"\${$as_ac_Header+set}\" = set"; then
32002 echo $ECHO_N "(cached) $ECHO_C" >&6
32003fi
32004echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32005echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32006else
32007 # Is the header compilable?
32008echo "$as_me:$LINENO: checking $ac_header usability" >&5
32009echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32010cat >conftest.$ac_ext <<_ACEOF
32011#line $LINENO "configure"
32012/* confdefs.h. */
32013_ACEOF
32014cat confdefs.h >>conftest.$ac_ext
32015cat >>conftest.$ac_ext <<_ACEOF
32016/* end confdefs.h. */
32017$ac_includes_default
32018#include <$ac_header>
32019_ACEOF
32020rm -f conftest.$ac_objext
32021if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32022 (eval $ac_compile) 2>&5
32023 ac_status=$?
32024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32025 (exit $ac_status); } &&
32026 { ac_try='test -s conftest.$ac_objext'
32027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32028 (eval $ac_try) 2>&5
32029 ac_status=$?
32030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32031 (exit $ac_status); }; }; then
32032 ac_header_compiler=yes
32033else
32034 echo "$as_me: failed program was:" >&5
32035sed 's/^/| /' conftest.$ac_ext >&5
32036
32037ac_header_compiler=no
32038fi
32039rm -f conftest.$ac_objext conftest.$ac_ext
32040echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32041echo "${ECHO_T}$ac_header_compiler" >&6
32042
32043# Is the header present?
32044echo "$as_me:$LINENO: checking $ac_header presence" >&5
32045echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32046cat >conftest.$ac_ext <<_ACEOF
32047#line $LINENO "configure"
32048/* confdefs.h. */
32049_ACEOF
32050cat confdefs.h >>conftest.$ac_ext
32051cat >>conftest.$ac_ext <<_ACEOF
32052/* end confdefs.h. */
32053#include <$ac_header>
32054_ACEOF
32055if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32056 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32057 ac_status=$?
32058 grep -v '^ *+' conftest.er1 >conftest.err
32059 rm -f conftest.er1
32060 cat conftest.err >&5
32061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32062 (exit $ac_status); } >/dev/null; then
32063 if test -s conftest.err; then
32064 ac_cpp_err=$ac_c_preproc_warn_flag
32065 else
32066 ac_cpp_err=
32067 fi
32068else
32069 ac_cpp_err=yes
32070fi
32071if test -z "$ac_cpp_err"; then
32072 ac_header_preproc=yes
32073else
32074 echo "$as_me: failed program was:" >&5
32075sed 's/^/| /' conftest.$ac_ext >&5
32076
32077 ac_header_preproc=no
32078fi
32079rm -f conftest.err conftest.$ac_ext
32080echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32081echo "${ECHO_T}$ac_header_preproc" >&6
32082
32083# So? What about this header?
32084case $ac_header_compiler:$ac_header_preproc in
32085 yes:no )
32086 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32087echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32088 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32089echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32090 (
32091 cat <<\_ASBOX
32092## ------------------------------------ ##
32093## Report this to bug-autoconf@gnu.org. ##
32094## ------------------------------------ ##
32095_ASBOX
32096 ) |
32097 sed "s/^/$as_me: WARNING: /" >&2
32098 ;;
32099 no:yes )
32100 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32101echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32102 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32103echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32104 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32105echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32106 (
32107 cat <<\_ASBOX
32108## ------------------------------------ ##
32109## Report this to bug-autoconf@gnu.org. ##
32110## ------------------------------------ ##
32111_ASBOX
32112 ) |
32113 sed "s/^/$as_me: WARNING: /" >&2
32114 ;;
32115esac
32116echo "$as_me:$LINENO: checking for $ac_header" >&5
32117echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32118if eval "test \"\${$as_ac_Header+set}\" = set"; then
32119 echo $ECHO_N "(cached) $ECHO_C" >&6
32120else
32121 eval "$as_ac_Header=$ac_header_preproc"
32122fi
32123echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32124echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32125
32126fi
32127if test `eval echo '${'$as_ac_Header'}'` = yes; then
32128 cat >>confdefs.h <<_ACEOF
32129#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32130_ACEOF
32131
32132fi
32133
32134done
32135
32136
32137 if test "$ac_cv_header_ole2_h" = "yes" ; then
32138 if test "$GCC" = yes ; then
32139
32140
32141 ac_ext=cc
32142ac_cpp='$CXXCPP $CPPFLAGS'
32143ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32144ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32145ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32146
32147
32148 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32149echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32150 cat >conftest.$ac_ext <<_ACEOF
32151#line $LINENO "configure"
32152/* confdefs.h. */
32153_ACEOF
32154cat confdefs.h >>conftest.$ac_ext
32155cat >>conftest.$ac_ext <<_ACEOF
32156/* end confdefs.h. */
32157#include <windows.h>
32158 #include <ole2.h>
32159int
32160main ()
32161{
32162
32163 ;
32164 return 0;
32165}
32166_ACEOF
32167rm -f conftest.$ac_objext
32168if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32169 (eval $ac_compile) 2>&5
32170 ac_status=$?
32171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32172 (exit $ac_status); } &&
32173 { ac_try='test -s conftest.$ac_objext'
32174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32175 (eval $ac_try) 2>&5
32176 ac_status=$?
32177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32178 (exit $ac_status); }; }; then
32179 echo "$as_me:$LINENO: result: no" >&5
32180echo "${ECHO_T}no" >&6
32181else
32182 echo "$as_me: failed program was:" >&5
32183sed 's/^/| /' conftest.$ac_ext >&5
32184
32185echo "$as_me:$LINENO: result: yes" >&5
32186echo "${ECHO_T}yes" >&6
32187 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32188fi
32189rm -f conftest.$ac_objext conftest.$ac_ext
32190 ac_ext=c
32191ac_cpp='$CPP $CPPFLAGS'
32192ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32193ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32194ac_compiler_gnu=$ac_cv_c_compiler_gnu
32195
32196 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
32197 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32198 cat >>confdefs.h <<\_ACEOF
32199#define wxUSE_OLE 1
32200_ACEOF
32201
32202
32203 fi
32204
32205 cat >>confdefs.h <<\_ACEOF
32206#define wxUSE_DATAOBJ 1
32207_ACEOF
32208
32209 else
32210 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32211echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32212
32213 wxUSE_CLIPBOARD=no
32214 wxUSE_DRAG_AND_DROP=no
32215 wxUSE_DATAOBJ=no
32216 wxUSE_OLE=no
32217 fi
32218
32219 if test "$wxUSE_METAFILE" = "yes"; then
32220 cat >>confdefs.h <<\_ACEOF
32221#define wxUSE_METAFILE 1
32222_ACEOF
32223
32224
32225 cat >>confdefs.h <<\_ACEOF
32226#define wxUSE_ENH_METAFILE 1
32227_ACEOF
32228
32229 fi
32230fi
32231
32232if test "$wxUSE_IPC" = "yes"; then
32233 if test "$wxUSE_SOCKETS" != "yes"; then
32234 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32235echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32236 fi
32237
32238 cat >>confdefs.h <<\_ACEOF
32239#define wxUSE_IPC 1
32240_ACEOF
32241
32242fi
32243
32244if test "$wxUSE_CLIPBOARD" = "yes"; then
32245 if test "$wxUSE_MGL" = 1; then
32246 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32247echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32248 wxUSE_CLIPBOARD=no
32249 fi
32250
32251 if test "$wxUSE_CLIPBOARD" = "yes"; then
32252 cat >>confdefs.h <<\_ACEOF
32253#define wxUSE_CLIPBOARD 1
32254_ACEOF
32255
32256
32257 cat >>confdefs.h <<\_ACEOF
32258#define wxUSE_DATAOBJ 1
32259_ACEOF
32260
32261 fi
32262fi
32263
32264if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32265 if test "$wxUSE_GTK" = 1; then
32266 if test "$WXGTK12" != 1; then
32267 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32268echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32269 wxUSE_DRAG_AND_DROP=no
32270 fi
32271 fi
32272
32273 if test "$wxUSE_MOTIF" = 1; then
32274 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32275echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32276 wxUSE_DRAG_AND_DROP=no
32277 fi
32278
32279 if test "$wxUSE_X11" = 1; then
32280 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32281echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32282 wxUSE_DRAG_AND_DROP=no
32283 fi
32284
32285 if test "$wxUSE_MGL" = 1; then
32286 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32287echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32288 wxUSE_DRAG_AND_DROP=no
32289 fi
32290
32291 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32292 cat >>confdefs.h <<\_ACEOF
32293#define wxUSE_DRAG_AND_DROP 1
32294_ACEOF
32295
32296 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
32297 fi
32298
32299fi
32300
32301if test "$wxUSE_SPLINES" = "yes" ; then
32302 cat >>confdefs.h <<\_ACEOF
32303#define wxUSE_SPLINES 1
32304_ACEOF
32305
32306fi
32307
32308
32309USES_CONTROLS=0
32310if test "$wxUSE_CONTROLS" = "yes"; then
32311 USES_CONTROLS=1
32312fi
32313
32314if test "$wxUSE_ACCEL" = "yes"; then
32315 cat >>confdefs.h <<\_ACEOF
32316#define wxUSE_ACCEL 1
32317_ACEOF
32318
32319 USES_CONTROLS=1
32320fi
32321
32322if test "$wxUSE_BUTTON" = "yes"; then
32323 cat >>confdefs.h <<\_ACEOF
32324#define wxUSE_BUTTON 1
32325_ACEOF
32326
32327 USES_CONTROLS=1
32328fi
32329
32330if test "$wxUSE_BMPBUTTON" = "yes"; then
32331 cat >>confdefs.h <<\_ACEOF
32332#define wxUSE_BMPBUTTON 1
32333_ACEOF
32334
32335 USES_CONTROLS=1
32336fi
32337
32338if test "$wxUSE_CALCTRL" = "yes"; then
32339 cat >>confdefs.h <<\_ACEOF
32340#define wxUSE_CALENDARCTRL 1
32341_ACEOF
32342
32343 USES_CONTROLS=1
32344 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
32345fi
32346
32347if test "$wxUSE_CARET" = "yes"; then
32348 cat >>confdefs.h <<\_ACEOF
32349#define wxUSE_CARET 1
32350_ACEOF
32351
32352 USES_CONTROLS=1
32353 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
32354fi
32355
32356if test "$wxUSE_COMBOBOX" = "yes"; then
32357 cat >>confdefs.h <<\_ACEOF
32358#define wxUSE_COMBOBOX 1
32359_ACEOF
32360
32361 USES_CONTROLS=1
32362fi
32363
32364if test "$wxUSE_CHOICE" = "yes"; then
32365 cat >>confdefs.h <<\_ACEOF
32366#define wxUSE_CHOICE 1
32367_ACEOF
32368
32369 USES_CONTROLS=1
32370fi
32371
32372if test "$wxUSE_CHECKBOX" = "yes"; then
32373 cat >>confdefs.h <<\_ACEOF
32374#define wxUSE_CHECKBOX 1
32375_ACEOF
32376
32377 USES_CONTROLS=1
32378fi
32379
32380if test "$wxUSE_CHECKLST" = "yes"; then
32381 cat >>confdefs.h <<\_ACEOF
32382#define wxUSE_CHECKLISTBOX 1
32383_ACEOF
32384
32385 USES_CONTROLS=1
32386 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
32387fi
32388
32389if test "$wxUSE_DISPLAY" = "yes"; then
32390 cat >>confdefs.h <<\_ACEOF
32391#define wxUSE_DISPLAY 1
32392_ACEOF
32393
32394 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
32395fi
32396
32397if test "$wxUSE_GAUGE" = "yes"; then
32398 cat >>confdefs.h <<\_ACEOF
32399#define wxUSE_GAUGE 1
32400_ACEOF
32401
32402 USES_CONTROLS=1
32403fi
32404
32405if test "$wxUSE_GRID" = "yes"; then
32406 cat >>confdefs.h <<\_ACEOF
32407#define wxUSE_GRID 1
32408_ACEOF
32409
32410 USES_CONTROLS=1
32411 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
32412fi
32413
32414if test "$wxUSE_IMAGLIST" = "yes"; then
32415 cat >>confdefs.h <<\_ACEOF
32416#define wxUSE_IMAGLIST 1
32417_ACEOF
32418
32419fi
32420
32421if test "$wxUSE_LISTBOX" = "yes"; then
32422 cat >>confdefs.h <<\_ACEOF
32423#define wxUSE_LISTBOX 1
32424_ACEOF
32425
32426 USES_CONTROLS=1
32427fi
32428
32429if test "$wxUSE_LISTCTRL" = "yes"; then
32430 if test "$wxUSE_IMAGLIST" = "yes"; then
32431 cat >>confdefs.h <<\_ACEOF
32432#define wxUSE_LISTCTRL 1
32433_ACEOF
32434
32435 USES_CONTROLS=1
32436 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
32437 else
32438 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32439echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32440 fi
32441fi
32442
32443if test "$wxUSE_NOTEBOOK" = "yes"; then
32444 cat >>confdefs.h <<\_ACEOF
32445#define wxUSE_NOTEBOOK 1
32446_ACEOF
32447
32448 USES_CONTROLS=1
32449 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
32450fi
32451
32452
32453if test "$wxUSE_RADIOBOX" = "yes"; then
32454 cat >>confdefs.h <<\_ACEOF
32455#define wxUSE_RADIOBOX 1
32456_ACEOF
32457
32458 USES_CONTROLS=1
32459fi
32460
32461if test "$wxUSE_RADIOBTN" = "yes"; then
32462 cat >>confdefs.h <<\_ACEOF
32463#define wxUSE_RADIOBTN 1
32464_ACEOF
32465
32466 USES_CONTROLS=1
32467fi
32468
32469if test "$wxUSE_SASH" = "yes"; then
32470 cat >>confdefs.h <<\_ACEOF
32471#define wxUSE_SASH 1
32472_ACEOF
32473
32474 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
32475fi
32476
32477if test "$wxUSE_SCROLLBAR" = "yes"; then
32478 cat >>confdefs.h <<\_ACEOF
32479#define wxUSE_SCROLLBAR 1
32480_ACEOF
32481
32482 USES_CONTROLS=1
32483 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
32484fi
32485
32486if test "$wxUSE_SLIDER" = "yes"; then
32487 cat >>confdefs.h <<\_ACEOF
32488#define wxUSE_SLIDER 1
32489_ACEOF
32490
32491 USES_CONTROLS=1
32492fi
32493
32494if test "$wxUSE_SPINBTN" = "yes"; then
32495 cat >>confdefs.h <<\_ACEOF
32496#define wxUSE_SPINBTN 1
32497_ACEOF
32498
32499 USES_CONTROLS=1
32500fi
32501
32502if test "$wxUSE_SPINCTRL" = "yes"; then
32503 cat >>confdefs.h <<\_ACEOF
32504#define wxUSE_SPINCTRL 1
32505_ACEOF
32506
32507 USES_CONTROLS=1
32508fi
32509
32510if test "$wxUSE_SPLITTER" = "yes"; then
32511 cat >>confdefs.h <<\_ACEOF
32512#define wxUSE_SPLITTER 1
32513_ACEOF
32514
32515 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
32516fi
32517
32518if test "$wxUSE_STATBMP" = "yes"; then
32519 cat >>confdefs.h <<\_ACEOF
32520#define wxUSE_STATBMP 1
32521_ACEOF
32522
32523 USES_CONTROLS=1
32524fi
32525
32526if test "$wxUSE_STATBOX" = "yes"; then
32527 cat >>confdefs.h <<\_ACEOF
32528#define wxUSE_STATBOX 1
32529_ACEOF
32530
32531 USES_CONTROLS=1
32532fi
32533
32534if test "$wxUSE_STATTEXT" = "yes"; then
32535 cat >>confdefs.h <<\_ACEOF
32536#define wxUSE_STATTEXT 1
32537_ACEOF
32538
32539 USES_CONTROLS=1
32540fi
32541
32542if test "$wxUSE_STATLINE" = "yes"; then
32543 cat >>confdefs.h <<\_ACEOF
32544#define wxUSE_STATLINE 1
32545_ACEOF
32546
32547 USES_CONTROLS=1
32548fi
32549
32550if test "$wxUSE_STATUSBAR" = "yes"; then
32551 cat >>confdefs.h <<\_ACEOF
32552#define wxUSE_STATUSBAR 1
32553_ACEOF
32554
32555 USES_CONTROLS=1
32556
32557 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
32558fi
32559
32560if test "$wxUSE_TABDIALOG" = "yes"; then
32561 cat >>confdefs.h <<\_ACEOF
32562#define wxUSE_TAB_DIALOG 1
32563_ACEOF
32564
32565 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
32566fi
32567
32568if test "$wxUSE_TEXTCTRL" = "yes"; then
32569 cat >>confdefs.h <<\_ACEOF
32570#define wxUSE_TEXTCTRL 1
32571_ACEOF
32572
32573 USES_CONTROLS=1
32574 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
32575fi
32576
32577if test "$wxUSE_TOGGLEBTN" = "yes"; then
32578 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32579 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32580echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32581 wxUSE_TOGGLEBTN=no
32582 fi
32583 if test "$wxUSE_UNIVERSAL" = "yes"; then
32584 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32585echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32586 wxUSE_TOGGLEBTN=no
32587 fi
32588
32589 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32590 cat >>confdefs.h <<\_ACEOF
32591#define wxUSE_TOGGLEBTN 1
32592_ACEOF
32593
32594 USES_CONTROLS=1
32595 fi
32596fi
32597
32598if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32599 cat >>confdefs.h <<\_ACEOF
32600#define wxUSE_TOOLBAR_SIMPLE 1
32601_ACEOF
32602
32603 wxUSE_TOOLBAR="yes"
32604 USES_CONTROLS=1
32605fi
32606
32607if test "$wxUSE_TOOLBAR" = "yes"; then
32608 cat >>confdefs.h <<\_ACEOF
32609#define wxUSE_TOOLBAR 1
32610_ACEOF
32611
32612 USES_CONTROLS=1
32613
32614 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
32615 wxUSE_TOOLBAR_NATIVE="yes"
32616 fi
32617
32618 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
32619 cat >>confdefs.h <<\_ACEOF
32620#define wxUSE_TOOLBAR_NATIVE 1
32621_ACEOF
32622
32623 USES_CONTROLS=1
32624 fi
32625
32626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
32627fi
32628
32629if test "$wxUSE_TOOLTIPS" = "yes"; then
32630 if test "$wxUSE_MOTIF" = 1; then
32631 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
32632echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
32633 else
32634 if test "$wxUSE_UNIVERSAL" = "yes"; then
32635 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
32636echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
32637 else
32638 cat >>confdefs.h <<\_ACEOF
32639#define wxUSE_TOOLTIPS 1
32640_ACEOF
32641
32642 fi
32643 fi
32644fi
32645
32646if test "$wxUSE_TREECTRL" = "yes"; then
32647 if test "$wxUSE_IMAGLIST" = "yes"; then
32648 cat >>confdefs.h <<\_ACEOF
32649#define wxUSE_TREECTRL 1
32650_ACEOF
32651
32652 USES_CONTROLS=1
32653 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
32654 else
32655 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
32656echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
32657 fi
32658fi
32659
32660if test "$wxUSE_POPUPWIN" = "yes"; then
32661 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32662 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
32663echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
32664 else
32665 if test "$wxUSE_MOTIF" = 1; then
32666 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
32667echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
32668 else
32669 if test "$wxUSE_PM" = 1; then
32670 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
32671echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
32672 else
32673 cat >>confdefs.h <<\_ACEOF
32674#define wxUSE_POPUPWIN 1
32675_ACEOF
32676
32677
32678 USES_CONTROLS=1
32679 fi
32680 fi
32681 fi
32682fi
32683
32684if test "$wxUSE_TIPWINDOW" = "yes"; then
32685 if test "$wxUSE_PM" = 1; then
32686 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
32687echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
32688 else
32689 cat >>confdefs.h <<\_ACEOF
32690#define wxUSE_TIPWINDOW 1
32691_ACEOF
32692
32693 fi
32694fi
32695
32696if test "$USES_CONTROLS" = 1; then
32697 cat >>confdefs.h <<\_ACEOF
32698#define wxUSE_CONTROLS 1
32699_ACEOF
32700
32701fi
32702
32703
32704
32705if test "$wxUSE_DRAGIMAGE" = "yes"; then
32706 cat >>confdefs.h <<\_ACEOF
32707#define wxUSE_DRAGIMAGE 1
32708_ACEOF
32709
32710 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
32711fi
32712
32713if test "$wxUSE_ACCESSIBILITY" = "yes"; then
32714 cat >>confdefs.h <<\_ACEOF
32715#define wxUSE_ACCESSIBILITY 1
32716_ACEOF
32717
32718 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
32719fi
32720
32721if test "$wxUSE_MENUS" = "yes"; then
32722 cat >>confdefs.h <<\_ACEOF
32723#define wxUSE_MENUS 1
32724_ACEOF
32725
32726 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
32727fi
32728
32729if test "$wxUSE_METAFILE" = "yes"; then
32730 cat >>confdefs.h <<\_ACEOF
32731#define wxUSE_METAFILE 1
32732_ACEOF
32733
32734fi
32735
32736if test "$wxUSE_MIMETYPE" = "yes"; then
32737 cat >>confdefs.h <<\_ACEOF
32738#define wxUSE_MIMETYPE 1
32739_ACEOF
32740
32741fi
32742
32743if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
32744 cat >>confdefs.h <<\_ACEOF
32745#define wxUSE_SYSTEM_OPTIONS 1
32746_ACEOF
32747
32748if test "$TOOLKIT" = "MSW"; then
32749 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
32750fi
32751
32752fi
32753
32754if test "$wxUSE_PROTOCOL" = "yes"; then
32755 if test "$wxUSE_SOCKETS" != "yes"; then
32756 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
32757echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
32758 wxUSE_PROTOCOL=no
32759 fi
32760
32761 if test "$wxUSE_PROTOCOL" = "yes"; then
32762 cat >>confdefs.h <<\_ACEOF
32763#define wxUSE_PROTOCOL 1
32764_ACEOF
32765
32766
32767 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
32768 cat >>confdefs.h <<\_ACEOF
32769#define wxUSE_PROTOCOL_HTTP 1
32770_ACEOF
32771
32772 fi
32773 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
32774 cat >>confdefs.h <<\_ACEOF
32775#define wxUSE_PROTOCOL_FTP 1
32776_ACEOF
32777
32778 fi
32779 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
32780 cat >>confdefs.h <<\_ACEOF
32781#define wxUSE_PROTOCOL_FILE 1
32782_ACEOF
32783
32784 fi
32785 fi
32786fi
32787
32788if test "$wxUSE_URL" = "yes"; then
32789 if test "$wxUSE_PROTOCOL" != "yes"; then
32790 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
32791echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
32792 wxUSE_URL=no
32793 fi
32794 if test "$wxUSE_URL" = "yes"; then
32795 cat >>confdefs.h <<\_ACEOF
32796#define wxUSE_URL 1
32797_ACEOF
32798
32799 fi
32800fi
32801
32802if test "$wxUSE_MINIFRAME" = "yes"; then
32803 cat >>confdefs.h <<\_ACEOF
32804#define wxUSE_MINIFRAME 1
32805_ACEOF
32806
32807 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
32808fi
32809
32810if test "$wxUSE_HTML" = "yes"; then
32811 cat >>confdefs.h <<\_ACEOF
32812#define wxUSE_HTML 1
32813_ACEOF
32814
32815 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html htlbox"
32816fi
32817
32818if test "$wxUSE_VALIDATORS" = "yes"; then
32819 cat >>confdefs.h <<\_ACEOF
32820#define wxUSE_VALIDATORS 1
32821_ACEOF
32822
32823 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
32824fi
32825
32826if test "$wxUSE_PALETTE" = "yes" ; then
32827 cat >>confdefs.h <<\_ACEOF
32828#define wxUSE_PALETTE 1
32829_ACEOF
32830
32831fi
32832
32833if test "$wxUSE_IMAGE" = "yes" ; then
32834 cat >>confdefs.h <<\_ACEOF
32835#define wxUSE_IMAGE 1
32836_ACEOF
32837
32838fi
32839
32840if test "$wxUSE_GIF" = "yes" ; then
32841 cat >>confdefs.h <<\_ACEOF
32842#define wxUSE_GIF 1
32843_ACEOF
32844
32845fi
32846
32847if test "$wxUSE_PCX" = "yes" ; then
32848 cat >>confdefs.h <<\_ACEOF
32849#define wxUSE_PCX 1
32850_ACEOF
32851
32852fi
32853
32854if test "$wxUSE_IFF" = "yes" ; then
32855 cat >>confdefs.h <<\_ACEOF
32856#define wxUSE_IFF 1
32857_ACEOF
32858
32859fi
32860
32861if test "$wxUSE_PNM" = "yes" ; then
32862 cat >>confdefs.h <<\_ACEOF
32863#define wxUSE_PNM 1
32864_ACEOF
32865
32866fi
32867
32868if test "$wxUSE_XPM" = "yes" ; then
32869 cat >>confdefs.h <<\_ACEOF
32870#define wxUSE_XPM 1
32871_ACEOF
32872
32873fi
32874
32875if test "$wxUSE_ICO_CUR" = "yes" ; then
32876 cat >>confdefs.h <<\_ACEOF
32877#define wxUSE_ICO_CUR 1
32878_ACEOF
32879
32880fi
32881
32882if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
32883 LIBS=" -lunicows $LIBS"
32884fi
32885
32886
32887if test "$wxUSE_CHOICEDLG" = "yes"; then
32888 cat >>confdefs.h <<\_ACEOF
32889#define wxUSE_CHOICEDLG 1
32890_ACEOF
32891
32892fi
32893
32894if test "$wxUSE_COLOURDLG" = "yes"; then
32895 cat >>confdefs.h <<\_ACEOF
32896#define wxUSE_COLOURDLG 1
32897_ACEOF
32898
32899fi
32900
32901if test "$wxUSE_FILEDLG" = "yes"; then
32902 cat >>confdefs.h <<\_ACEOF
32903#define wxUSE_FILEDLG 1
32904_ACEOF
32905
32906fi
32907
32908if test "$wxUSE_FINDREPLDLG" = "yes"; then
32909 cat >>confdefs.h <<\_ACEOF
32910#define wxUSE_FINDREPLDLG 1
32911_ACEOF
32912
32913fi
32914
32915if test "$wxUSE_FONTDLG" = "yes"; then
32916 cat >>confdefs.h <<\_ACEOF
32917#define wxUSE_FONTDLG 1
32918_ACEOF
32919
32920fi
32921
32922if test "$wxUSE_DIRDLG" = "yes"; then
32923 if test "$wxUSE_TREECTRL" != "yes"; then
32924 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
32925echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
32926 else
32927 cat >>confdefs.h <<\_ACEOF
32928#define wxUSE_DIRDLG 1
32929_ACEOF
32930
32931 fi
32932fi
32933
32934if test "$wxUSE_MSGDLG" = "yes"; then
32935 cat >>confdefs.h <<\_ACEOF
32936#define wxUSE_MSGDLG 1
32937_ACEOF
32938
32939fi
32940
32941if test "$wxUSE_NUMBERDLG" = "yes"; then
32942 cat >>confdefs.h <<\_ACEOF
32943#define wxUSE_NUMBERDLG 1
32944_ACEOF
32945
32946fi
32947
32948if test "$wxUSE_PROGRESSDLG" = "yes"; then
32949 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32950 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
32951echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
32952 else
32953 cat >>confdefs.h <<\_ACEOF
32954#define wxUSE_PROGRESSDLG 1
32955_ACEOF
32956
32957 fi
32958fi
32959
32960if test "$wxUSE_SPLASH" = "yes"; then
32961 cat >>confdefs.h <<\_ACEOF
32962#define wxUSE_SPLASH 1
32963_ACEOF
32964
32965fi
32966
32967if test "$wxUSE_STARTUP_TIPS" = "yes"; then
32968 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32969 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
32970echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
32971 else
32972 cat >>confdefs.h <<\_ACEOF
32973#define wxUSE_STARTUP_TIPS 1
32974_ACEOF
32975
32976 fi
32977fi
32978
32979if test "$wxUSE_TEXTDLG" = "yes"; then
32980 cat >>confdefs.h <<\_ACEOF
32981#define wxUSE_TEXTDLG 1
32982_ACEOF
32983
32984fi
32985
32986if test "$wxUSE_WIZARDDLG" = "yes"; then
32987 cat >>confdefs.h <<\_ACEOF
32988#define wxUSE_WIZARDDLG 1
32989_ACEOF
32990
32991 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
32992fi
32993
32994
32995if test "$cross_compiling" = "yes"; then
32996 OSINFO="\"$host\""
32997else
32998 OSINFO=`uname -s -r -m`
32999 OSINFO="\"$OSINFO\""
33000fi
33001
33002cat >>confdefs.h <<_ACEOF
33003#define WXWIN_OS_DESCRIPTION $OSINFO
33004_ACEOF
33005
33006
33007
33008if test "x$prefix" != "xNONE"; then
33009 wxPREFIX=$prefix
33010else
33011 wxPREFIX=$ac_default_prefix
33012fi
33013
33014cat >>confdefs.h <<_ACEOF
33015#define wxINSTALL_PREFIX "$wxPREFIX"
33016_ACEOF
33017
33018
33019top_builddir_wxconfig=`pwd`
33020
33021
33022
33023
33024if test "$wxUSE_MAC" = 1 ; then
33025 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
33026fi
33027if test "$wxUSE_COCOA" = 1 ; then
33028 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
33029fi
33030
33031
33032LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33033
33034have_cos=0
33035have_floor=0
33036
33037for ac_func in cos
33038do
33039as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33040echo "$as_me:$LINENO: checking for $ac_func" >&5
33041echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33042if eval "test \"\${$as_ac_var+set}\" = set"; then
33043 echo $ECHO_N "(cached) $ECHO_C" >&6
33044else
33045 cat >conftest.$ac_ext <<_ACEOF
33046#line $LINENO "configure"
33047/* confdefs.h. */
33048_ACEOF
33049cat confdefs.h >>conftest.$ac_ext
33050cat >>conftest.$ac_ext <<_ACEOF
33051/* end confdefs.h. */
33052/* System header to define __stub macros and hopefully few prototypes,
33053 which can conflict with char $ac_func (); below.
33054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33055 <limits.h> exists even on freestanding compilers. */
33056#ifdef __STDC__
33057# include <limits.h>
33058#else
33059# include <assert.h>
33060#endif
33061/* Override any gcc2 internal prototype to avoid an error. */
33062#ifdef __cplusplus
33063extern "C"
33064{
33065#endif
33066/* We use char because int might match the return type of a gcc2
33067 builtin and then its argument prototype would still apply. */
33068char $ac_func ();
33069/* The GNU C library defines this for functions which it implements
33070 to always fail with ENOSYS. Some functions are actually named
33071 something starting with __ and the normal name is an alias. */
33072#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33073choke me
33074#else
33075char (*f) () = $ac_func;
33076#endif
33077#ifdef __cplusplus
33078}
33079#endif
33080
33081int
33082main ()
33083{
33084return f != $ac_func;
33085 ;
33086 return 0;
33087}
33088_ACEOF
33089rm -f conftest.$ac_objext conftest$ac_exeext
33090if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33091 (eval $ac_link) 2>&5
33092 ac_status=$?
33093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33094 (exit $ac_status); } &&
33095 { ac_try='test -s conftest$ac_exeext'
33096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33097 (eval $ac_try) 2>&5
33098 ac_status=$?
33099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33100 (exit $ac_status); }; }; then
33101 eval "$as_ac_var=yes"
33102else
33103 echo "$as_me: failed program was:" >&5
33104sed 's/^/| /' conftest.$ac_ext >&5
33105
33106eval "$as_ac_var=no"
33107fi
33108rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33109fi
33110echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33111echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33112if test `eval echo '${'$as_ac_var'}'` = yes; then
33113 cat >>confdefs.h <<_ACEOF
33114#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33115_ACEOF
33116 have_cos=1
33117fi
33118done
33119
33120
33121for ac_func in floor
33122do
33123as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33124echo "$as_me:$LINENO: checking for $ac_func" >&5
33125echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33126if eval "test \"\${$as_ac_var+set}\" = set"; then
33127 echo $ECHO_N "(cached) $ECHO_C" >&6
33128else
33129 cat >conftest.$ac_ext <<_ACEOF
33130#line $LINENO "configure"
33131/* confdefs.h. */
33132_ACEOF
33133cat confdefs.h >>conftest.$ac_ext
33134cat >>conftest.$ac_ext <<_ACEOF
33135/* end confdefs.h. */
33136/* System header to define __stub macros and hopefully few prototypes,
33137 which can conflict with char $ac_func (); below.
33138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33139 <limits.h> exists even on freestanding compilers. */
33140#ifdef __STDC__
33141# include <limits.h>
33142#else
33143# include <assert.h>
33144#endif
33145/* Override any gcc2 internal prototype to avoid an error. */
33146#ifdef __cplusplus
33147extern "C"
33148{
33149#endif
33150/* We use char because int might match the return type of a gcc2
33151 builtin and then its argument prototype would still apply. */
33152char $ac_func ();
33153/* The GNU C library defines this for functions which it implements
33154 to always fail with ENOSYS. Some functions are actually named
33155 something starting with __ and the normal name is an alias. */
33156#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33157choke me
33158#else
33159char (*f) () = $ac_func;
33160#endif
33161#ifdef __cplusplus
33162}
33163#endif
33164
33165int
33166main ()
33167{
33168return f != $ac_func;
33169 ;
33170 return 0;
33171}
33172_ACEOF
33173rm -f conftest.$ac_objext conftest$ac_exeext
33174if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33175 (eval $ac_link) 2>&5
33176 ac_status=$?
33177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33178 (exit $ac_status); } &&
33179 { ac_try='test -s conftest$ac_exeext'
33180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33181 (eval $ac_try) 2>&5
33182 ac_status=$?
33183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33184 (exit $ac_status); }; }; then
33185 eval "$as_ac_var=yes"
33186else
33187 echo "$as_me: failed program was:" >&5
33188sed 's/^/| /' conftest.$ac_ext >&5
33189
33190eval "$as_ac_var=no"
33191fi
33192rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33193fi
33194echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33195echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33196if test `eval echo '${'$as_ac_var'}'` = yes; then
33197 cat >>confdefs.h <<_ACEOF
33198#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33199_ACEOF
33200 have_floor=1
33201fi
33202done
33203
33204echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33205echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33206if test "$have_cos" = 1 -a "$have_floor" = 1; then
33207 echo "$as_me:$LINENO: result: yes" >&5
33208echo "${ECHO_T}yes" >&6
33209else
33210 echo "$as_me:$LINENO: result: no" >&5
33211echo "${ECHO_T}no" >&6
33212 LIBS="$LIBS -lm"
33213 # use different functions to avoid configure caching
33214 have_sin=0
33215 have_ceil=0
33216
33217for ac_func in sin
33218do
33219as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33220echo "$as_me:$LINENO: checking for $ac_func" >&5
33221echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33222if eval "test \"\${$as_ac_var+set}\" = set"; then
33223 echo $ECHO_N "(cached) $ECHO_C" >&6
33224else
33225 cat >conftest.$ac_ext <<_ACEOF
33226#line $LINENO "configure"
33227/* confdefs.h. */
33228_ACEOF
33229cat confdefs.h >>conftest.$ac_ext
33230cat >>conftest.$ac_ext <<_ACEOF
33231/* end confdefs.h. */
33232/* System header to define __stub macros and hopefully few prototypes,
33233 which can conflict with char $ac_func (); below.
33234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33235 <limits.h> exists even on freestanding compilers. */
33236#ifdef __STDC__
33237# include <limits.h>
33238#else
33239# include <assert.h>
33240#endif
33241/* Override any gcc2 internal prototype to avoid an error. */
33242#ifdef __cplusplus
33243extern "C"
33244{
33245#endif
33246/* We use char because int might match the return type of a gcc2
33247 builtin and then its argument prototype would still apply. */
33248char $ac_func ();
33249/* The GNU C library defines this for functions which it implements
33250 to always fail with ENOSYS. Some functions are actually named
33251 something starting with __ and the normal name is an alias. */
33252#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33253choke me
33254#else
33255char (*f) () = $ac_func;
33256#endif
33257#ifdef __cplusplus
33258}
33259#endif
33260
33261int
33262main ()
33263{
33264return f != $ac_func;
33265 ;
33266 return 0;
33267}
33268_ACEOF
33269rm -f conftest.$ac_objext conftest$ac_exeext
33270if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33271 (eval $ac_link) 2>&5
33272 ac_status=$?
33273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33274 (exit $ac_status); } &&
33275 { ac_try='test -s conftest$ac_exeext'
33276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33277 (eval $ac_try) 2>&5
33278 ac_status=$?
33279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33280 (exit $ac_status); }; }; then
33281 eval "$as_ac_var=yes"
33282else
33283 echo "$as_me: failed program was:" >&5
33284sed 's/^/| /' conftest.$ac_ext >&5
33285
33286eval "$as_ac_var=no"
33287fi
33288rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33289fi
33290echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33291echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33292if test `eval echo '${'$as_ac_var'}'` = yes; then
33293 cat >>confdefs.h <<_ACEOF
33294#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33295_ACEOF
33296 have_sin=1
33297fi
33298done
33299
33300
33301for ac_func in ceil
33302do
33303as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33304echo "$as_me:$LINENO: checking for $ac_func" >&5
33305echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33306if eval "test \"\${$as_ac_var+set}\" = set"; then
33307 echo $ECHO_N "(cached) $ECHO_C" >&6
33308else
33309 cat >conftest.$ac_ext <<_ACEOF
33310#line $LINENO "configure"
33311/* confdefs.h. */
33312_ACEOF
33313cat confdefs.h >>conftest.$ac_ext
33314cat >>conftest.$ac_ext <<_ACEOF
33315/* end confdefs.h. */
33316/* System header to define __stub macros and hopefully few prototypes,
33317 which can conflict with char $ac_func (); below.
33318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33319 <limits.h> exists even on freestanding compilers. */
33320#ifdef __STDC__
33321# include <limits.h>
33322#else
33323# include <assert.h>
33324#endif
33325/* Override any gcc2 internal prototype to avoid an error. */
33326#ifdef __cplusplus
33327extern "C"
33328{
33329#endif
33330/* We use char because int might match the return type of a gcc2
33331 builtin and then its argument prototype would still apply. */
33332char $ac_func ();
33333/* The GNU C library defines this for functions which it implements
33334 to always fail with ENOSYS. Some functions are actually named
33335 something starting with __ and the normal name is an alias. */
33336#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33337choke me
33338#else
33339char (*f) () = $ac_func;
33340#endif
33341#ifdef __cplusplus
33342}
33343#endif
33344
33345int
33346main ()
33347{
33348return f != $ac_func;
33349 ;
33350 return 0;
33351}
33352_ACEOF
33353rm -f conftest.$ac_objext conftest$ac_exeext
33354if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33355 (eval $ac_link) 2>&5
33356 ac_status=$?
33357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33358 (exit $ac_status); } &&
33359 { ac_try='test -s conftest$ac_exeext'
33360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33361 (eval $ac_try) 2>&5
33362 ac_status=$?
33363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33364 (exit $ac_status); }; }; then
33365 eval "$as_ac_var=yes"
33366else
33367 echo "$as_me: failed program was:" >&5
33368sed 's/^/| /' conftest.$ac_ext >&5
33369
33370eval "$as_ac_var=no"
33371fi
33372rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33373fi
33374echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33375echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33376if test `eval echo '${'$as_ac_var'}'` = yes; then
33377 cat >>confdefs.h <<_ACEOF
33378#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33379_ACEOF
33380 have_ceil=1
33381fi
33382done
33383
33384 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33385echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33386 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33387 echo "$as_me:$LINENO: result: yes" >&5
33388echo "${ECHO_T}yes" >&6
33389 else
33390 echo "$as_me:$LINENO: result: no" >&5
33391echo "${ECHO_T}no" >&6
33392 # not sure we should warn the user, crash, etc.
33393 fi
33394fi
33395
33396if test "$wxUSE_GUI" = "yes"; then
33397
33398 LIBS="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
33399
33400
33401 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
33402 drawing dynamic erase event exec font image \
33403 minimal propsize rotate shaped widgets"
33404
33405 if test "$wxUSE_MONOLITHIC" != "yes"; then
33406 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
33407 fi
33408else
33409 SAMPLES_SUBDIRS="console"
33410fi
33411
33412
33413INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33414-I\${top_srcdir}/include \
33415$REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33416$TOOLKIT_INCLUDE"
33417
33418if test "$wxUSE_GTK" = 1; then
33419 WXCONFIG_INCLUDE=
33420else
33421 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
33422fi
33423
33424if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33425 WXUNIV=1
33426else
33427 WXUNIV=0
33428fi
33429
33430
33431
33432
33433
33434
33435
33436
33437EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33438
33439if test $wxUSE_MONOLITHIC = "yes" ; then
33440 MONOLITHIC=1
33441else
33442 MONOLITHIC=0
33443fi
33444
33445VENDOR="custom"
33446OFFICIAL_BUILD=0
33447
33448
33449
33450
33451
33452
33453
33454
33455
33456TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr [A-Z] [a-z]`
33457
33458
33459
33460
33461
33462 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33463
33464 if test -n "$ac_tool_prefix"; then
33465 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33466set dummy ${ac_tool_prefix}ranlib; ac_word=$2
33467echo "$as_me:$LINENO: checking for $ac_word" >&5
33468echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33469if test "${ac_cv_prog_RANLIB+set}" = set; then
33470 echo $ECHO_N "(cached) $ECHO_C" >&6
33471else
33472 if test -n "$RANLIB"; then
33473 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
33474else
33475as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33476for as_dir in $PATH
33477do
33478 IFS=$as_save_IFS
33479 test -z "$as_dir" && as_dir=.
33480 for ac_exec_ext in '' $ac_executable_extensions; do
33481 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33482 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
33483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33484 break 2
33485 fi
33486done
33487done
33488
33489fi
33490fi
33491RANLIB=$ac_cv_prog_RANLIB
33492if test -n "$RANLIB"; then
33493 echo "$as_me:$LINENO: result: $RANLIB" >&5
33494echo "${ECHO_T}$RANLIB" >&6
33495else
33496 echo "$as_me:$LINENO: result: no" >&5
33497echo "${ECHO_T}no" >&6
33498fi
33499
33500fi
33501if test -z "$ac_cv_prog_RANLIB"; then
33502 ac_ct_RANLIB=$RANLIB
33503 # Extract the first word of "ranlib", so it can be a program name with args.
33504set dummy ranlib; ac_word=$2
33505echo "$as_me:$LINENO: checking for $ac_word" >&5
33506echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33507if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33508 echo $ECHO_N "(cached) $ECHO_C" >&6
33509else
33510 if test -n "$ac_ct_RANLIB"; then
33511 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
33512else
33513as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33514for as_dir in $PATH
33515do
33516 IFS=$as_save_IFS
33517 test -z "$as_dir" && as_dir=.
33518 for ac_exec_ext in '' $ac_executable_extensions; do
33519 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33520 ac_cv_prog_ac_ct_RANLIB="ranlib"
33521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33522 break 2
33523 fi
33524done
33525done
33526
33527 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
33528fi
33529fi
33530ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
33531if test -n "$ac_ct_RANLIB"; then
33532 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33533echo "${ECHO_T}$ac_ct_RANLIB" >&6
33534else
33535 echo "$as_me:$LINENO: result: no" >&5
33536echo "${ECHO_T}no" >&6
33537fi
33538
33539 RANLIB=$ac_ct_RANLIB
33540else
33541 RANLIB="$ac_cv_prog_RANLIB"
33542fi
33543
33544 # Find a good install program. We prefer a C program (faster),
33545# so one script is as good as another. But avoid the broken or
33546# incompatible versions:
33547# SysV /etc/install, /usr/sbin/install
33548# SunOS /usr/etc/install
33549# IRIX /sbin/install
33550# AIX /bin/install
33551# AmigaOS /C/install, which installs bootblocks on floppy discs
33552# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33553# AFS /usr/afsws/bin/install, which mishandles nonexistent args
33554# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33555# ./install, which can be erroneously created by make from ./install.sh.
33556echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33557echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
33558if test -z "$INSTALL"; then
33559if test "${ac_cv_path_install+set}" = set; then
33560 echo $ECHO_N "(cached) $ECHO_C" >&6
33561else
33562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33563for as_dir in $PATH
33564do
33565 IFS=$as_save_IFS
33566 test -z "$as_dir" && as_dir=.
33567 # Account for people who put trailing slashes in PATH elements.
33568case $as_dir/ in
33569 ./ | .// | /cC/* | \
33570 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
33571 /usr/ucb/* ) ;;
33572 *)
33573 # OSF1 and SCO ODT 3.0 have their own names for install.
33574 # Don't use installbsd from OSF since it installs stuff as root
33575 # by default.
33576 for ac_prog in ginstall scoinst install; do
33577 for ac_exec_ext in '' $ac_executable_extensions; do
33578 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
33579 if test $ac_prog = install &&
33580 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33581 # AIX install. It has an incompatible calling convention.
33582 :
33583 elif test $ac_prog = install &&
33584 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33585 # program-specific install script used by HP pwplus--don't use.
33586 :
33587 else
33588 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
33589 break 3
33590 fi
33591 fi
33592 done
33593 done
33594 ;;
33595esac
33596done
33597
33598
33599fi
33600 if test "${ac_cv_path_install+set}" = set; then
33601 INSTALL=$ac_cv_path_install
33602 else
33603 # As a last resort, use the slow shell script. We don't cache a
33604 # path for INSTALL within a source directory, because that will
33605 # break other packages using the cache if that directory is
33606 # removed, or if the path is relative.
33607 INSTALL=$ac_install_sh
33608 fi
33609fi
33610echo "$as_me:$LINENO: result: $INSTALL" >&5
33611echo "${ECHO_T}$INSTALL" >&6
33612
33613# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
33614# It thinks the first close brace ends the variable substitution.
33615test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
33616
33617test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
33618
33619test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
33620
33621 echo "$as_me:$LINENO: checking whether ln -s works" >&5
33622echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
33623LN_S=$as_ln_s
33624if test "$LN_S" = "ln -s"; then
33625 echo "$as_me:$LINENO: result: yes" >&5
33626echo "${ECHO_T}yes" >&6
33627else
33628 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
33629echo "${ECHO_T}no, using $LN_S" >&6
33630fi
33631
33632
33633 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
33634echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
33635set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
33636if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
33637 echo $ECHO_N "(cached) $ECHO_C" >&6
33638else
33639 cat >conftest.make <<\_ACEOF
33640all:
33641 @echo 'ac_maketemp="$(MAKE)"'
33642_ACEOF
33643# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
33644eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
33645if test -n "$ac_maketemp"; then
33646 eval ac_cv_prog_make_${ac_make}_set=yes
33647else
33648 eval ac_cv_prog_make_${ac_make}_set=no
33649fi
33650rm -f conftest.make
33651fi
33652if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
33653 echo "$as_me:$LINENO: result: yes" >&5
33654echo "${ECHO_T}yes" >&6
33655 SET_MAKE=
33656else
33657 echo "$as_me:$LINENO: result: no" >&5
33658echo "${ECHO_T}no" >&6
33659 SET_MAKE="MAKE=${MAKE-make}"
33660fi
33661
33662
33663
33664 if test "$build" != "$host" ; then
33665 AR=$host_alias-ar
33666 STRIP=$host_alias-strip
33667 else
33668 # Extract the first word of "ar", so it can be a program name with args.
33669set dummy ar; ac_word=$2
33670echo "$as_me:$LINENO: checking for $ac_word" >&5
33671echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33672if test "${ac_cv_prog_AR+set}" = set; then
33673 echo $ECHO_N "(cached) $ECHO_C" >&6
33674else
33675 if test -n "$AR"; then
33676 ac_cv_prog_AR="$AR" # Let the user override the test.
33677else
33678as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33679for as_dir in $PATH
33680do
33681 IFS=$as_save_IFS
33682 test -z "$as_dir" && as_dir=.
33683 for ac_exec_ext in '' $ac_executable_extensions; do
33684 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33685 ac_cv_prog_AR="ar"
33686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33687 break 2
33688 fi
33689done
33690done
33691
33692 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
33693fi
33694fi
33695AR=$ac_cv_prog_AR
33696if test -n "$AR"; then
33697 echo "$as_me:$LINENO: result: $AR" >&5
33698echo "${ECHO_T}$AR" >&6
33699else
33700 echo "$as_me:$LINENO: result: no" >&5
33701echo "${ECHO_T}no" >&6
33702fi
33703
33704 # Extract the first word of "strip", so it can be a program name with args.
33705set dummy strip; ac_word=$2
33706echo "$as_me:$LINENO: checking for $ac_word" >&5
33707echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33708if test "${ac_cv_prog_STRIP+set}" = set; then
33709 echo $ECHO_N "(cached) $ECHO_C" >&6
33710else
33711 if test -n "$STRIP"; then
33712 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
33713else
33714as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33715for as_dir in $PATH
33716do
33717 IFS=$as_save_IFS
33718 test -z "$as_dir" && as_dir=.
33719 for ac_exec_ext in '' $ac_executable_extensions; do
33720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33721 ac_cv_prog_STRIP="strip"
33722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33723 break 2
33724 fi
33725done
33726done
33727
33728 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
33729fi
33730fi
33731STRIP=$ac_cv_prog_STRIP
33732if test -n "$STRIP"; then
33733 echo "$as_me:$LINENO: result: $STRIP" >&5
33734echo "${ECHO_T}$STRIP" >&6
33735else
33736 echo "$as_me:$LINENO: result: no" >&5
33737echo "${ECHO_T}no" >&6
33738fi
33739
33740 fi
33741
33742 case ${host} in
33743 *-hp-hpux* )
33744 INSTALL_DIR="mkdir"
33745 ;;
33746 *) INSTALL_DIR="$INSTALL -d"
33747 ;;
33748 esac
33749
33750
33751 LDFLAGS_GUI=
33752 case ${host} in
33753 *-*-cygwin* | *-*-mingw32* )
33754 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
33755 esac
33756
33757
33758 fi
33759
33760 echo "$as_me:$LINENO: checking if make is GNU make" >&5
33761echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
33762if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
33763 echo $ECHO_N "(cached) $ECHO_C" >&6
33764else
33765
33766 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
33767 egrep -s GNU > /dev/null); then
33768 bakefile_cv_prog_makeisgnu="yes"
33769 else
33770 bakefile_cv_prog_makeisgnu="no"
33771 fi
33772
33773fi
33774echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
33775echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
33776
33777 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
33778 IF_GNU_MAKE=""
33779 else
33780 IF_GNU_MAKE="#"
33781 fi
33782
33783
33784
33785 PLATFORM_UNIX=0
33786 PLATFORM_WIN32=0
33787 PLATFORM_MSDOS=0
33788 PLATFORM_MAC=0
33789 PLATFORM_MACOSX=0
33790
33791 case "${host}" in
33792 *-*-cygwin* | *-*-mingw32* )
33793 PLATFORM_WIN32=1
33794 ;;
33795 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
33796 PLATFORM_MSDOS=1
33797 ;;
33798 powerpc-*-darwin* )
33799 PLATFORM_MAC=1
33800 PLATFORM_MACOSX=1
33801 ;;
33802 * )
33803 PLATFORM_UNIX=1
33804 ;;
33805 esac
33806
33807
33808
33809
33810
33811
33812
33813
33814 SO_SUFFIX="so"
33815 EXEEXT=""
33816 DLLPREFIX=lib
33817
33818 case "${host}" in
33819 *-hp-hpux* )
33820 SO_SUFFIX="sl"
33821 ;;
33822 *-*-aix* )
33823 SO_SUFFIX="a"
33824 ;;
33825 *-*-cygwin* | *-*-mingw32* )
33826 SO_SUFFIX="dll"
33827 EXEEXT=".exe"
33828 DLLPREFIX=""
33829 ;;
33830 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
33831 EXEEXT=".exe"
33832 DLLPREFIX=""
33833 ;;
33834 powerpc-*-darwin* )
33835 SO_SUFFIX="dylib"
33836 ;;
33837 esac
33838
33839
33840
33841
33842
33843
33844 SHARED_LD_CC="\$(CC) -shared -o"
33845 SHARED_LD_CXX="\$(CXX) -shared -o"
33846
33847 if test "x$GCC" = "xyes"; then
33848 PIC_FLAG="-fPIC"
33849 fi
33850
33851 case "${host}" in
33852 *-hp-hpux* )
33853 if test "x$GCC" = "xyes"; then
33854 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
33855 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
33856 else
33857 LDFLAGS="$LDFLAGS -L/usr/lib"
33858
33859 SHARED_LD_CC="${CC} -b -o"
33860 SHARED_LD_CXX="${CXX} -b -o"
33861 PIC_FLAG="+Z"
33862 fi
33863 ;;
33864
33865 *-*-linux* )
33866 if test "x$GCC" != "xyes"; then
33867 echo "$as_me:$LINENO: checking for Intel compiler" >&5
33868echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
33869if test "${bakefile_cv_prog_icc+set}" = set; then
33870 echo $ECHO_N "(cached) $ECHO_C" >&6
33871else
33872
33873 cat >conftest.$ac_ext <<_ACEOF
33874#line $LINENO "configure"
33875/* confdefs.h. */
33876_ACEOF
33877cat confdefs.h >>conftest.$ac_ext
33878cat >>conftest.$ac_ext <<_ACEOF
33879/* end confdefs.h. */
33880
33881int
33882main ()
33883{
33884
33885 #ifndef __INTEL_COMPILER
33886 #error Not icc
33887 #endif
33888
33889 ;
33890 return 0;
33891}
33892_ACEOF
33893rm -f conftest.$ac_objext
33894if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33895 (eval $ac_compile) 2>&5
33896 ac_status=$?
33897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33898 (exit $ac_status); } &&
33899 { ac_try='test -s conftest.$ac_objext'
33900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33901 (eval $ac_try) 2>&5
33902 ac_status=$?
33903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33904 (exit $ac_status); }; }; then
33905 bakefile_cv_prog_icc=yes
33906else
33907 echo "$as_me: failed program was:" >&5
33908sed 's/^/| /' conftest.$ac_ext >&5
33909
33910bakefile_cv_prog_icc=no
33911
33912fi
33913rm -f conftest.$ac_objext conftest.$ac_ext
33914
33915fi
33916echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
33917echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
33918 if test "$bakefile_cv_prog_icc" = "yes"; then
33919 PIC_FLAG="-KPIC"
33920 fi
33921 fi
33922 ;;
33923
33924 *-*-solaris2* )
33925 if test "x$GCC" != xyes ; then
33926 SHARED_LD_CC="${CC} -G -o"
33927 SHARED_LD_CXX="${CXX} -G -o"
33928 PIC_FLAG="-KPIC"
33929 fi
33930 ;;
33931
33932 *-*-darwin* )
33933 CFLAGS="$CFLAGS -fno-common"
33934 CXXFLAGS="$CXXFLAGS -fno-common"
33935
33936
33937 cat <<EOF >shared-ld-sh
33938#!/bin/sh
33939#-----------------------------------------------------------------------------
33940#-- Name: distrib/mac/shared-ld-sh
33941#-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
33942#-- Author: Gilles Depeyrot
33943#-- Copyright: (c) 2002 Gilles Depeyrot
33944#-- Licence: any use permitted
33945#-----------------------------------------------------------------------------
33946
33947verbose=0
33948args=""
33949objects=""
33950
33951while test \${#} -gt 0; do
33952 case \${1} in
33953
33954 -v)
33955 verbose=1
33956 ;;
33957
33958 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
33959 # collect these options and values
33960 args="\${args} \${1} \${2}"
33961 shift
33962 ;;
33963
33964 -l*|-L*|-flat_namespace)
33965 # collect these options
33966 args="\${args} \${1}"
33967 ;;
33968
33969 -dynamiclib)
33970 # skip these options
33971 ;;
33972
33973 -*)
33974 echo "shared-ld: unhandled option '\${1}'"
33975 exit 1
33976 ;;
33977
33978 *.o | *.a)
33979 # collect object files
33980 objects="\${objects} \${1}"
33981 ;;
33982
33983 *)
33984 echo "shared-ld: unhandled argument '\${1}'"
33985 exit 1
33986 ;;
33987
33988 esac
33989 shift
33990done
33991
33992#
33993# Link one module containing all the others
33994#
33995if test \${verbose} = 1; then
33996 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
33997fi
33998c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
33999status=\$?
34000if test \${status} != 0; then
34001 exit \${status}
34002fi
34003
34004#
34005# Link the shared library from the single module created
34006#
34007if test \${verbose} = 1; then
34008 echo "cc -dynamiclib master.\$\$.o \${args}"
34009fi
34010c++ -dynamiclib master.\$\$.o \${args}
34011status=\$?
34012if test \${status} != 0; then
34013 exit \${status}
34014fi
34015
34016#
34017# Remove intermediate module
34018#
34019rm -f master.\$\$.o
34020
34021exit 0
34022EOF
34023 chmod +x shared-ld-sh
34024
34025 SHARED_LD_CC="`pwd`/shared-ld-sh -undefined suppress -flat_namespace -o"
34026 SHARED_LD_CXX="$SHARED_LD_CC"
34027 PIC_FLAG="-dynamic -fPIC"
34028 ;;
34029
34030 *-*-aix* )
34031 if test "x$GCC" != "xyes"; then
34032 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34033set dummy makeC++SharedLib; ac_word=$2
34034echo "$as_me:$LINENO: checking for $ac_word" >&5
34035echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34036if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34037 echo $ECHO_N "(cached) $ECHO_C" >&6
34038else
34039 if test -n "$AIX_CXX_LD"; then
34040 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
34041else
34042as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34043for as_dir in $PATH
34044do
34045 IFS=$as_save_IFS
34046 test -z "$as_dir" && as_dir=.
34047 for ac_exec_ext in '' $ac_executable_extensions; do
34048 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34049 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
34050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34051 break 2
34052 fi
34053done
34054done
34055
34056 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
34057fi
34058fi
34059AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
34060if test -n "$AIX_CXX_LD"; then
34061 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34062echo "${ECHO_T}$AIX_CXX_LD" >&6
34063else
34064 echo "$as_me:$LINENO: result: no" >&5
34065echo "${ECHO_T}no" >&6
34066fi
34067
34068 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
34069 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
34070 fi
34071 ;;
34072
34073 *-*-beos* )
34074 SHARED_LD_CC="${LD} -shared -o"
34075 SHARED_LD_CXX="${LD} -shared -o"
34076 ;;
34077
34078 *-*-irix* )
34079 if test "x$GCC" != "xyes"; then
34080 PIC_FLAG="-KPIC"
34081 fi
34082 ;;
34083
34084 *-*-cygwin* | *-*-mingw32* )
34085 PIC_FLAG=""
34086 ;;
34087
34088 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34089 *-*-sunos4* | \
34090 *-*-osf* | \
34091 *-*-dgux5* | \
34092 *-*-sysv5* )
34093 ;;
34094
34095 *)
34096 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34097echo "$as_me: error: unknown system type $host." >&2;}
34098 { (exit 1); exit 1; }; }
34099 esac
34100
34101
34102
34103
34104
34105
34106 USE_SOVERSION=0
34107 USE_SOVERLINUX=0
34108 USE_SOVERSOLARIS=0
34109 USE_SOSYMLINKS=0
34110 USE_MACVERSION=0
34111 SONAME_FLAG=
34112
34113 case "${host}" in
34114 *-*-linux* )
34115 SONAME_FLAG="-Wl,-soname,"
34116 USE_SOVERSION=1
34117 USE_SOVERLINUX=1
34118 USE_SOSYMLINKS=1
34119 ;;
34120
34121 *-*-solaris2* )
34122 SONAME_FLAG="-h "
34123 USE_SOVERSION=1
34124 USE_SOVERSOLARIS=1
34125 USE_SOSYMLINKS=1
34126 ;;
34127
34128 *-*-darwin* )
34129 USE_MACVERSION=1
34130 USE_SOVERSION=1
34131 USE_SOSYMLINKS=1
34132 ;;
34133 esac
34134
34135
34136
34137
34138
34139
34140
34141
34142
34143 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34144echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34145 DEPS_TRACKING=0
34146
34147 if test "x$GCC" = "xyes"; then
34148 DEPSMODE=gcc
34149 DEPS_TRACKING=1
34150 echo "$as_me:$LINENO: result: gcc" >&5
34151echo "${ECHO_T}gcc" >&6
34152 else
34153 echo "$as_me:$LINENO: result: none" >&5
34154echo "${ECHO_T}none" >&6
34155 fi
34156
34157 if test $DEPS_TRACKING = 1 ; then
34158 cat <<EOF >bk-deps
34159#!/bin/sh
34160
34161# This script is part of Bakefile (http://bakefile.sf.net) autoconf script.
34162# It is used to track C/C++ files dependencies in portable way.
34163#
34164# Permission is given to use this file in any way.
34165
34166DEPSMODE=$DEPSMODE
34167DEPSDIR=.deps
34168
34169mkdir -p \$DEPSDIR
34170
34171if test \$DEPSMODE = gcc ; then
34172 \${*} -MMD
34173 status=\${?}
34174 if test \${status} != 0 ; then
34175 exit \${status}
34176 fi
34177 # move created file to the location we want it in:
34178 while test \${#} -gt 0; do
34179 case "\${1}" in
34180 -o )
34181 shift
34182 objfile=\${1}
34183 ;;
34184 -* )
34185 ;;
34186 * )
34187 srcfile=\${1}
34188 ;;
34189 esac
34190 shift
34191 done
34192 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34193 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34194 if test -f \$depfile ; then
34195 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34196 rm -f \$depfile
34197 else
34198 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34199 if test -f \$depfile ; then
34200 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34201 rm -f \$depfile
34202 fi
34203 fi
34204 exit 0
34205else
34206 \${*}
34207 exit \${?}
34208fi
34209EOF
34210 chmod +x bk-deps
34211 fi
34212
34213
34214
34215
34216 RESCOMP=
34217 SETFILE=
34218
34219 case ${host} in
34220 *-*-cygwin* | *-*-mingw32* )
34221 if test "$build" != "$host" ; then
34222 RESCOMP=$host_alias-windres
34223 else
34224 # Extract the first word of "windres", so it can be a program name with args.
34225set dummy windres; ac_word=$2
34226echo "$as_me:$LINENO: checking for $ac_word" >&5
34227echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34228if test "${ac_cv_prog_RESCOMP+set}" = set; then
34229 echo $ECHO_N "(cached) $ECHO_C" >&6
34230else
34231 if test -n "$RESCOMP"; then
34232 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34233else
34234as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34235for as_dir in $PATH
34236do
34237 IFS=$as_save_IFS
34238 test -z "$as_dir" && as_dir=.
34239 for ac_exec_ext in '' $ac_executable_extensions; do
34240 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34241 ac_cv_prog_RESCOMP="windres"
34242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34243 break 2
34244 fi
34245done
34246done
34247
34248 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
34249fi
34250fi
34251RESCOMP=$ac_cv_prog_RESCOMP
34252if test -n "$RESCOMP"; then
34253 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34254echo "${ECHO_T}$RESCOMP" >&6
34255else
34256 echo "$as_me:$LINENO: result: no" >&5
34257echo "${ECHO_T}no" >&6
34258fi
34259
34260 fi
34261 ;;
34262
34263 *-*-darwin* )
34264 # Extract the first word of "Rez", so it can be a program name with args.
34265set dummy Rez; ac_word=$2
34266echo "$as_me:$LINENO: checking for $ac_word" >&5
34267echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34268if test "${ac_cv_prog_RESCOMP+set}" = set; then
34269 echo $ECHO_N "(cached) $ECHO_C" >&6
34270else
34271 if test -n "$RESCOMP"; then
34272 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34273else
34274as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34275for as_dir in $PATH
34276do
34277 IFS=$as_save_IFS
34278 test -z "$as_dir" && as_dir=.
34279 for ac_exec_ext in '' $ac_executable_extensions; do
34280 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34281 ac_cv_prog_RESCOMP="Rez"
34282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34283 break 2
34284 fi
34285done
34286done
34287
34288 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
34289fi
34290fi
34291RESCOMP=$ac_cv_prog_RESCOMP
34292if test -n "$RESCOMP"; then
34293 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34294echo "${ECHO_T}$RESCOMP" >&6
34295else
34296 echo "$as_me:$LINENO: result: no" >&5
34297echo "${ECHO_T}no" >&6
34298fi
34299
34300 # Extract the first word of "SetFile", so it can be a program name with args.
34301set dummy SetFile; ac_word=$2
34302echo "$as_me:$LINENO: checking for $ac_word" >&5
34303echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34304if test "${ac_cv_prog_SETFILE+set}" = set; then
34305 echo $ECHO_N "(cached) $ECHO_C" >&6
34306else
34307 if test -n "$SETFILE"; then
34308 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34309else
34310as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34311for as_dir in $PATH
34312do
34313 IFS=$as_save_IFS
34314 test -z "$as_dir" && as_dir=.
34315 for ac_exec_ext in '' $ac_executable_extensions; do
34316 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34317 ac_cv_prog_SETFILE="SetFile"
34318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34319 break 2
34320 fi
34321done
34322done
34323
34324 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34325fi
34326fi
34327SETFILE=$ac_cv_prog_SETFILE
34328if test -n "$SETFILE"; then
34329 echo "$as_me:$LINENO: result: $SETFILE" >&5
34330echo "${ECHO_T}$SETFILE" >&6
34331else
34332 echo "$as_me:$LINENO: result: no" >&5
34333echo "${ECHO_T}no" >&6
34334fi
34335
34336 ;;
34337 esac
34338
34339
34340
34341
34342
34343
34344
34345 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_1="#"
34346 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34347 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_1=""
34348 fi
34349
34350 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
34351 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34352 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
34353 fi
34354
34355 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
34356 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
34357 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
34358 fi
34359
34360 COND_PLATFORM_MACOSX_1_USE_GUI_0="#"
34361 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x0" ; then
34362 COND_PLATFORM_MACOSX_1_USE_GUI_0=""
34363 fi
34364
34365 COND_DEPS_TRACKING_0="#"
34366 if test "x$DEPS_TRACKING" = "x0" ; then
34367 COND_DEPS_TRACKING_0=""
34368 fi
34369
34370 COND_DEPS_TRACKING_1="#"
34371 if test "x$DEPS_TRACKING" = "x1" ; then
34372 COND_DEPS_TRACKING_1=""
34373 fi
34374
34375 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
34376 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
34377 COND_TOOLKIT_MOTIF_USE_GUI_1=""
34378 fi
34379
34380 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_1="#"
34381 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34382 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_1=""
34383 fi
34384
34385 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
34386 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34387 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
34388 fi
34389
34390 COND_TOOLKIT_COCOA_USE_GUI_1="#"
34391 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
34392 COND_TOOLKIT_COCOA_USE_GUI_1=""
34393 fi
34394
34395 COND_USE_SOVERSOLARIS_1="#"
34396 if test "x$USE_SOVERSOLARIS" = "x1" ; then
34397 COND_USE_SOVERSOLARIS_1=""
34398 fi
34399
34400 COND_MONOLITHIC_1="#"
34401 if test "x$MONOLITHIC" = "x1" ; then
34402 COND_MONOLITHIC_1=""
34403 fi
34404
34405 COND_UNICODE_1="#"
34406 if test "x$UNICODE" = "x1" ; then
34407 COND_UNICODE_1=""
34408 fi
34409
34410 COND_MONOLITHIC_0="#"
34411 if test "x$MONOLITHIC" = "x0" ; then
34412 COND_MONOLITHIC_0=""
34413 fi
34414
34415 COND_TOOLKIT_MGL="#"
34416 if test "x$TOOLKIT" = "xMGL" ; then
34417 COND_TOOLKIT_MGL=""
34418 fi
34419
34420 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
34421 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34422 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
34423 fi
34424
34425 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_0="#"
34426 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34427 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_0=""
34428 fi
34429
34430 COND_WXUSE_ODBC_BUILTIN="#"
34431 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
34432 COND_WXUSE_ODBC_BUILTIN=""
34433 fi
34434
34435 COND_USE_SOVERSION_0="#"
34436 if test "x$USE_SOVERSION" = "x0" ; then
34437 COND_USE_SOVERSION_0=""
34438 fi
34439
34440 COND_WXUNIV_1="#"
34441 if test "x$WXUNIV" = "x1" ; then
34442 COND_WXUNIV_1=""
34443 fi
34444
34445 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_1="#"
34446 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34447 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_1=""
34448 fi
34449
34450 COND_PLATFORM_UNIX_1="#"
34451 if test "x$PLATFORM_UNIX" = "x1" ; then
34452 COND_PLATFORM_UNIX_1=""
34453 fi
34454
34455 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
34456 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34457 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
34458 fi
34459
34460 COND_WXUSE_REGEX_BUILTIN="#"
34461 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
34462 COND_WXUSE_REGEX_BUILTIN=""
34463 fi
34464
34465 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1="#"
34466 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34467 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1=""
34468 fi
34469
34470 COND_MONOLITHIC_1_SHARED_0="#"
34471 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
34472 COND_MONOLITHIC_1_SHARED_0=""
34473 fi
34474
34475 COND_MONOLITHIC_1_SHARED_1="#"
34476 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
34477 COND_MONOLITHIC_1_SHARED_1=""
34478 fi
34479
34480 COND_PLATFORM_UNIX_1_USE_GUI_0="#"
34481 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x0" ; then
34482 COND_PLATFORM_UNIX_1_USE_GUI_0=""
34483 fi
34484
34485 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
34486 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
34487 COND_PLATFORM_UNIX_1_USE_GUI_1=""
34488 fi
34489
34490 COND_TOOLKIT_X11="#"
34491 if test "x$TOOLKIT" = "xX11" ; then
34492 COND_TOOLKIT_X11=""
34493 fi
34494
34495 COND_OFFICIAL_BUILD_0="#"
34496 if test "x$OFFICIAL_BUILD" = "x0" ; then
34497 COND_OFFICIAL_BUILD_0=""
34498 fi
34499
34500 COND_TOOLKIT_OS2="#"
34501 if test "x$TOOLKIT" = "xOS2" ; then
34502 COND_TOOLKIT_OS2=""
34503 fi
34504
34505 COND_TOOLKIT_MGL_USE_GUI_1="#"
34506 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
34507 COND_TOOLKIT_MGL_USE_GUI_1=""
34508 fi
34509
34510 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_1="#"
34511 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34512 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_1=""
34513 fi
34514
34515 COND_WXUSE_ZLIB_BUILTIN="#"
34516 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
34517 COND_WXUSE_ZLIB_BUILTIN=""
34518 fi
34519
34520 COND_TOOLKIT_MOTIF="#"
34521 if test "x$TOOLKIT" = "xMOTIF" ; then
34522 COND_TOOLKIT_MOTIF=""
34523 fi
34524
34525 COND_MONOLITHIC_0_SHARED_1="#"
34526 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
34527 COND_MONOLITHIC_0_SHARED_1=""
34528 fi
34529
34530 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
34531 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
34532 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
34533 fi
34534
34535 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
34536 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34537 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
34538 fi
34539
34540 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1="#"
34541 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34542 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1=""
34543 fi
34544
34545 COND_MONOLITHIC_0_SHARED_0="#"
34546 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
34547 COND_MONOLITHIC_0_SHARED_0=""
34548 fi
34549
34550 COND_USE_GUI_1="#"
34551 if test "x$USE_GUI" = "x1" ; then
34552 COND_USE_GUI_1=""
34553 fi
34554
34555 COND_USE_GUI_0="#"
34556 if test "x$USE_GUI" = "x0" ; then
34557 COND_USE_GUI_0=""
34558 fi
34559
34560 COND_USE_GUI_0_USE_GUI_1="#"
34561 if test "x$USE_GUI" = "x0" -a "x$USE_GUI" = "x1" ; then
34562 COND_USE_GUI_0_USE_GUI_1=""
34563 fi
34564
34565 COND_TOOLKIT_MSW="#"
34566 if test "x$TOOLKIT" = "xMSW" ; then
34567 COND_TOOLKIT_MSW=""
34568 fi
34569
34570 COND_TOOLKIT_X11_USE_GUI_1="#"
34571 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
34572 COND_TOOLKIT_X11_USE_GUI_1=""
34573 fi
34574
34575 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0="#"
34576 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34577 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0=""
34578 fi
34579
34580 COND_BUILD_DEBUG="#"
34581 if test "x$BUILD" = "xdebug" ; then
34582 COND_BUILD_DEBUG=""
34583 fi
34584
34585 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1="#"
34586 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34587 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1=""
34588 fi
34589
34590 COND_WXUSE_LIBTIFF_BUILTIN="#"
34591 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
34592 COND_WXUSE_LIBTIFF_BUILTIN=""
34593 fi
34594
34595 COND_OFFICIAL_BUILD_1="#"
34596 if test "x$OFFICIAL_BUILD" = "x1" ; then
34597 COND_OFFICIAL_BUILD_1=""
34598 fi
34599
34600 COND_BUILD_RELEASE="#"
34601 if test "x$BUILD" = "xrelease" ; then
34602 COND_BUILD_RELEASE=""
34603 fi
34604
34605 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_0="#"
34606 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34607 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_0=""
34608 fi
34609
34610 COND_USE_SOVERLINUX_1="#"
34611 if test "x$USE_SOVERLINUX" = "x1" ; then
34612 COND_USE_SOVERLINUX_1=""
34613 fi
34614
34615 COND_USE_SOSYMLINKS_1="#"
34616 if test "x$USE_SOSYMLINKS" = "x1" ; then
34617 COND_USE_SOSYMLINKS_1=""
34618 fi
34619
34620 COND_TOOLKIT_COCOA="#"
34621 if test "x$TOOLKIT" = "xCOCOA" ; then
34622 COND_TOOLKIT_COCOA=""
34623 fi
34624
34625 COND_PLATFORM_MACOSX_1="#"
34626 if test "x$PLATFORM_MACOSX" = "x1" ; then
34627 COND_PLATFORM_MACOSX_1=""
34628 fi
34629
34630 COND_WXUSE_LIBJPEG_BUILTIN="#"
34631 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
34632 COND_WXUSE_LIBJPEG_BUILTIN=""
34633 fi
34634
34635 COND_WXUSE_LIBPNG_BUILTIN="#"
34636 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
34637 COND_WXUSE_LIBPNG_BUILTIN=""
34638 fi
34639
34640 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
34641 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
34642 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
34643 fi
34644
34645 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
34646 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
34647 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
34648 fi
34649
34650 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1="#"
34651 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34652 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1=""
34653 fi
34654
34655 COND_USE_GUI_1_WXUNIV_0="#"
34656 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34657 COND_USE_GUI_1_WXUNIV_0=""
34658 fi
34659
34660 COND_USE_GUI_1_WXUNIV_1="#"
34661 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34662 COND_USE_GUI_1_WXUNIV_1=""
34663 fi
34664
34665 COND_TOOLKIT_GTK="#"
34666 if test "x$TOOLKIT" = "xGTK" ; then
34667 COND_TOOLKIT_GTK=""
34668 fi
34669
34670 COND_PLATFORM_WIN32_1_USE_GUI_0="#"
34671 if test "x$PLATFORM_WIN32" = "x1" -a "x$USE_GUI" = "x0" ; then
34672 COND_PLATFORM_WIN32_1_USE_GUI_0=""
34673 fi
34674
34675 COND_PLATFORM_WIN32_1_USE_GUI_1="#"
34676 if test "x$PLATFORM_WIN32" = "x1" -a "x$USE_GUI" = "x1" ; then
34677 COND_PLATFORM_WIN32_1_USE_GUI_1=""
34678 fi
34679
34680 COND_PLATFORM_WIN32_0="#"
34681 if test "x$PLATFORM_WIN32" = "x0" ; then
34682 COND_PLATFORM_WIN32_0=""
34683 fi
34684
34685 COND_PLATFORM_WIN32_1="#"
34686 if test "x$PLATFORM_WIN32" = "x1" ; then
34687 COND_PLATFORM_WIN32_1=""
34688 fi
34689
34690 COND_TOOLKIT_GTK_USE_GUI_1="#"
34691 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
34692 COND_TOOLKIT_GTK_USE_GUI_1=""
34693 fi
34694
34695 COND_TOOLKIT_MAC="#"
34696 if test "x$TOOLKIT" = "xMAC" ; then
34697 COND_TOOLKIT_MAC=""
34698 fi
34699
34700 COND_TOOLKIT_MSW_USE_GUI_1="#"
34701 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
34702 COND_TOOLKIT_MSW_USE_GUI_1=""
34703 fi
34704
34705 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
34706 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
34707 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
34708 fi
34709
34710
34711
34712
34713if test "$GXX" = yes ; then
34714 CXXWARNINGS="-Wall"
34715 fi
34716
34717EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
34718
34719CPPFLAGS=`echo $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
34720CFLAGS=`echo $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
34721CXXFLAGS=`echo $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
34722LIBS=`echo $LIBS | sed 's/ \+/ /g'`
34723
34724LDFLAGS="$LDFLAGS $PROFILE"
34725
34726SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
34727
34728
34729
34730
34731
34732
34733
34734
34735
34736
34737
34738
34739
34740
34741
34742
34743
34744
34745
34746
34747
34748
34749
34750
34751
34752
34753
34754
34755
34756
34757
34758
34759
34760
34761
34762
34763
34764
34765
34766
34767
34768
34769
34770
34771
34772
34773
34774
34775
34776
34777
34778
34779
34780
34781
34782
34783
34784
34785
34786
34787
34788
34789
34790
34791
34792
34793
34794
34795
34796
34797
34798
34799
34800
34801
34802
34803
34804
34805
34806
34807
34808
34809
34810
34811
34812
34813
34814
34815
34816
34817
34818
34819
34820
34821
34822
34823
34824
34825
34826
34827echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34828echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34829set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
34830if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34831 echo $ECHO_N "(cached) $ECHO_C" >&6
34832else
34833 cat >conftest.make <<\_ACEOF
34834all:
34835 @echo 'ac_maketemp="$(MAKE)"'
34836_ACEOF
34837# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34838eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34839if test -n "$ac_maketemp"; then
34840 eval ac_cv_prog_make_${ac_make}_set=yes
34841else
34842 eval ac_cv_prog_make_${ac_make}_set=no
34843fi
34844rm -f conftest.make
34845fi
34846if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34847 echo "$as_me:$LINENO: result: yes" >&5
34848echo "${ECHO_T}yes" >&6
34849 SET_MAKE=
34850else
34851 echo "$as_me:$LINENO: result: no" >&5
34852echo "${ECHO_T}no" >&6
34853 SET_MAKE="MAKE=${MAKE-make}"
34854fi
34855
34856
34857if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
34858 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
34859fi
34860
34861 ac_config_headers="$ac_config_headers setup.h"
34862
34863
34864 ac_config_files="$ac_config_files wx-config version-script Makefile"
34865
34866
34867 ac_config_commands="$ac_config_commands default"
34868
34869
34870
34871if test "$wxUSE_GUI" = "yes"; then
34872 SUBDIRS="samples demos utils contrib"
34873else SUBDIRS="samples utils"
34874fi
34875
34876for subdir in `echo $SUBDIRS`; do
34877 if test -d ${srcdir}/${subdir} ; then
34878 if test "$wxUSE_GUI" = "yes"; then
34879 if test ${subdir} = "samples"; then
34880 for sample in `echo $SAMPLES_SUBDIRS`; do
34881 if test -d $srcdir/samples/$sample; then
34882 makefiles="samples/$sample/Makefile.in $makefiles"
34883 fi
34884 done
34885 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
34886 fi
34887 else if test ${subdir} = "samples"; then
34888 makefiles="samples/console/Makefile.in"
34889 else makefiles="utils/HelpGen/Makefile.in \
34890 utils/HelpGen/src/Makefile.in \
34891 utils/makegen/Makefile.in"
34892 fi
34893 fi
34894
34895 for mkin in $makefiles ; do
34896 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
34897 ac_config_files="$ac_config_files $mk"
34898
34899 done
34900 fi
34901done
34902
34903
34904cat >confcache <<\_ACEOF
34905# This file is a shell script that caches the results of configure
34906# tests run on this system so they can be shared between configure
34907# scripts and configure runs, see configure's option --config-cache.
34908# It is not useful on other systems. If it contains results you don't
34909# want to keep, you may remove or edit it.
34910#
34911# config.status only pays attention to the cache file if you give it
34912# the --recheck option to rerun configure.
34913#
34914# `ac_cv_env_foo' variables (set or unset) will be overridden when
34915# loading this file, other *unset* `ac_cv_foo' will be assigned the
34916# following values.
34917
34918_ACEOF
34919
34920# The following way of writing the cache mishandles newlines in values,
34921# but we know of no workaround that is simple, portable, and efficient.
34922# So, don't put newlines in cache variables' values.
34923# Ultrix sh set writes to stderr and can't be redirected directly,
34924# and sets the high bit in the cache file unless we assign to the vars.
34925{
34926 (set) 2>&1 |
34927 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34928 *ac_space=\ *)
34929 # `set' does not quote correctly, so add quotes (double-quote
34930 # substitution turns \\\\ into \\, and sed turns \\ into \).
34931 sed -n \
34932 "s/'/'\\\\''/g;
34933 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34934 ;;
34935 *)
34936 # `set' quotes correctly as required by POSIX, so do not add quotes.
34937 sed -n \
34938 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34939 ;;
34940 esac;
34941} |
34942 sed '
34943 t clear
34944 : clear
34945 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34946 t end
34947 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34948 : end' >>confcache
34949if diff $cache_file confcache >/dev/null 2>&1; then :; else
34950 if test -w $cache_file; then
34951 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34952 cat confcache >$cache_file
34953 else
34954 echo "not updating unwritable cache $cache_file"
34955 fi
34956fi
34957rm -f confcache
34958
34959test "x$prefix" = xNONE && prefix=$ac_default_prefix
34960# Let make expand exec_prefix.
34961test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
34962
34963# VPATH may cause trouble with some makes, so we remove $(srcdir),
34964# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34965# trailing colons and then remove the whole line if VPATH becomes empty
34966# (actually we leave an empty line to preserve line numbers).
34967if test "x$srcdir" = x.; then
34968 ac_vpsub='/^[ ]*VPATH[ ]*=/{
34969s/:*\$(srcdir):*/:/;
34970s/:*\${srcdir}:*/:/;
34971s/:*@srcdir@:*/:/;
34972s/^\([^=]*=[ ]*\):*/\1/;
34973s/:*$//;
34974s/^[^=]*=[ ]*$//;
34975}'
34976fi
34977
34978DEFS=-DHAVE_CONFIG_H
34979
34980ac_libobjs=
34981ac_ltlibobjs=
34982for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
34983 # 1. Remove the extension, and $U if already installed.
34984 ac_i=`echo "$ac_i" |
34985 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
34986 # 2. Add them.
34987 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
34988 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
34989done
34990LIBOBJS=$ac_libobjs
34991
34992LTLIBOBJS=$ac_ltlibobjs
34993
34994
34995
34996: ${CONFIG_STATUS=./config.status}
34997ac_clean_files_save=$ac_clean_files
34998ac_clean_files="$ac_clean_files $CONFIG_STATUS"
34999{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
35000echo "$as_me: creating $CONFIG_STATUS" >&6;}
35001cat >$CONFIG_STATUS <<_ACEOF
35002#! $SHELL
35003# Generated by $as_me.
35004# Run this file to recreate the current configuration.
35005# Compiler output produced by configure, useful for debugging
35006# configure, is in config.log if it exists.
35007
35008debug=false
35009ac_cs_recheck=false
35010ac_cs_silent=false
35011SHELL=\${CONFIG_SHELL-$SHELL}
35012_ACEOF
35013
35014cat >>$CONFIG_STATUS <<\_ACEOF
35015## --------------------- ##
35016## M4sh Initialization. ##
35017## --------------------- ##
35018
35019# Be Bourne compatible
35020if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
35021 emulate sh
35022 NULLCMD=:
35023 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
35024 # is contrary to our usage. Disable this feature.
35025 alias -g '${1+"$@"}'='"$@"'
35026elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
35027 set -o posix
35028fi
35029
35030# Support unset when possible.
35031if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
35032 as_unset=unset
35033else
35034 as_unset=false
35035fi
35036
35037
35038# Work around bugs in pre-3.0 UWIN ksh.
35039$as_unset ENV MAIL MAILPATH
35040PS1='$ '
35041PS2='> '
35042PS4='+ '
35043
35044# NLS nuisances.
35045for as_var in \
35046 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
35047 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
35048 LC_TELEPHONE LC_TIME
35049do
35050 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
35051 eval $as_var=C; export $as_var
35052 else
35053 $as_unset $as_var
35054 fi
35055done
35056
35057# Required to use basename.
35058if expr a : '\(a\)' >/dev/null 2>&1; then
35059 as_expr=expr
35060else
35061 as_expr=false
35062fi
35063
35064if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
35065 as_basename=basename
35066else
35067 as_basename=false
35068fi
35069
35070
35071# Name of the executable.
35072as_me=`$as_basename "$0" ||
35073$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
35074 X"$0" : 'X\(//\)$' \| \
35075 X"$0" : 'X\(/\)$' \| \
35076 . : '\(.\)' 2>/dev/null ||
35077echo X/"$0" |
35078 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
35079 /^X\/\(\/\/\)$/{ s//\1/; q; }
35080 /^X\/\(\/\).*/{ s//\1/; q; }
35081 s/.*/./; q'`
35082
35083
35084# PATH needs CR, and LINENO needs CR and PATH.
35085# Avoid depending upon Character Ranges.
35086as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35087as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35088as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35089as_cr_digits='0123456789'
35090as_cr_alnum=$as_cr_Letters$as_cr_digits
35091
35092# The user is always right.
35093if test "${PATH_SEPARATOR+set}" != set; then
35094 echo "#! /bin/sh" >conf$$.sh
35095 echo "exit 0" >>conf$$.sh
35096 chmod +x conf$$.sh
35097 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
35098 PATH_SEPARATOR=';'
35099 else
35100 PATH_SEPARATOR=:
35101 fi
35102 rm -f conf$$.sh
35103fi
35104
35105
35106 as_lineno_1=$LINENO
35107 as_lineno_2=$LINENO
35108 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35109 test "x$as_lineno_1" != "x$as_lineno_2" &&
35110 test "x$as_lineno_3" = "x$as_lineno_2" || {
35111 # Find who we are. Look in the path if we contain no path at all
35112 # relative or not.
35113 case $0 in
35114 *[\\/]* ) as_myself=$0 ;;
35115 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35116for as_dir in $PATH
35117do
35118 IFS=$as_save_IFS
35119 test -z "$as_dir" && as_dir=.
35120 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
35121done
35122
35123 ;;
35124 esac
35125 # We did not find ourselves, most probably we were run as `sh COMMAND'
35126 # in which case we are not to be found in the path.
35127 if test "x$as_myself" = x; then
35128 as_myself=$0
35129 fi
35130 if test ! -f "$as_myself"; then
35131 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
35132echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
35133 { (exit 1); exit 1; }; }
35134 fi
35135 case $CONFIG_SHELL in
35136 '')
35137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35138for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
35139do
35140 IFS=$as_save_IFS
35141 test -z "$as_dir" && as_dir=.
35142 for as_base in sh bash ksh sh5; do
35143 case $as_dir in
35144 /*)
35145 if ("$as_dir/$as_base" -c '
35146 as_lineno_1=$LINENO
35147 as_lineno_2=$LINENO
35148 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35149 test "x$as_lineno_1" != "x$as_lineno_2" &&
35150 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
35151 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
35152 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
35153 CONFIG_SHELL=$as_dir/$as_base
35154 export CONFIG_SHELL
35155 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
35156 fi;;
35157 esac
35158 done
35159done
35160;;
35161 esac
35162
35163 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
35164 # uniformly replaced by the line number. The first 'sed' inserts a
35165 # line-number line before each line; the second 'sed' does the real
35166 # work. The second script uses 'N' to pair each line-number line
35167 # with the numbered line, and appends trailing '-' during
35168 # substitution so that $LINENO is not a special case at line end.
35169 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
35170 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
35171 sed '=' <$as_myself |
35172 sed '
35173 N
35174 s,$,-,
35175 : loop
35176 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
35177 t loop
35178 s,-$,,
35179 s,^['$as_cr_digits']*\n,,
35180 ' >$as_me.lineno &&
35181 chmod +x $as_me.lineno ||
35182 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
35183echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
35184 { (exit 1); exit 1; }; }
35185
35186 # Don't try to exec as it changes $[0], causing all sort of problems
35187 # (the dirname of $[0] is not the place where we might find the
35188 # original and so on. Autoconf is especially sensible to this).
35189 . ./$as_me.lineno
35190 # Exit status is that of the last command.
35191 exit
35192}
35193
35194
35195case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
35196 *c*,-n*) ECHO_N= ECHO_C='
35197' ECHO_T=' ' ;;
35198 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
35199 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
35200esac
35201
35202if expr a : '\(a\)' >/dev/null 2>&1; then
35203 as_expr=expr
35204else
35205 as_expr=false
35206fi
35207
35208rm -f conf$$ conf$$.exe conf$$.file
35209echo >conf$$.file
35210if ln -s conf$$.file conf$$ 2>/dev/null; then
35211 # We could just check for DJGPP; but this test a) works b) is more generic
35212 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
35213 if test -f conf$$.exe; then
35214 # Don't use ln at all; we don't have any links
35215 as_ln_s='cp -p'
35216 else
35217 as_ln_s='ln -s'
35218 fi
35219elif ln conf$$.file conf$$ 2>/dev/null; then
35220 as_ln_s=ln
35221else
35222 as_ln_s='cp -p'
35223fi
35224rm -f conf$$ conf$$.exe conf$$.file
35225
35226if mkdir -p . 2>/dev/null; then
35227 as_mkdir_p=:
35228else
35229 as_mkdir_p=false
35230fi
35231
35232as_executable_p="test -f"
35233
35234# Sed expression to map a string onto a valid CPP name.
35235as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
35236
35237# Sed expression to map a string onto a valid variable name.
35238as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
35239
35240
35241# IFS
35242# We need space, tab and new line, in precisely that order.
35243as_nl='
35244'
35245IFS=" $as_nl"
35246
35247# CDPATH.
35248$as_unset CDPATH
35249
35250exec 6>&1
35251
35252# Open the log real soon, to keep \$[0] and so on meaningful, and to
35253# report actual input values of CONFIG_FILES etc. instead of their
35254# values after options handling. Logging --version etc. is OK.
35255exec 5>>config.log
35256{
35257 echo
35258 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35259## Running $as_me. ##
35260_ASBOX
35261} >&5
35262cat >&5 <<_CSEOF
35263
35264This file was extended by wxWindows $as_me 2.5.0, which was
35265generated by GNU Autoconf 2.57. Invocation command line was
35266
35267 CONFIG_FILES = $CONFIG_FILES
35268 CONFIG_HEADERS = $CONFIG_HEADERS
35269 CONFIG_LINKS = $CONFIG_LINKS
35270 CONFIG_COMMANDS = $CONFIG_COMMANDS
35271 $ $0 $@
35272
35273_CSEOF
35274echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
35275echo >&5
35276_ACEOF
35277
35278# Files that config.status was made for.
35279if test -n "$ac_config_files"; then
35280 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
35281fi
35282
35283if test -n "$ac_config_headers"; then
35284 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
35285fi
35286
35287if test -n "$ac_config_links"; then
35288 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
35289fi
35290
35291if test -n "$ac_config_commands"; then
35292 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
35293fi
35294
35295cat >>$CONFIG_STATUS <<\_ACEOF
35296
35297ac_cs_usage="\
35298\`$as_me' instantiates files from templates according to the
35299current configuration.
35300
35301Usage: $0 [OPTIONS] [FILE]...
35302
35303 -h, --help print this help, then exit
35304 -V, --version print version number, then exit
35305 -q, --quiet do not print progress messages
35306 -d, --debug don't remove temporary files
35307 --recheck update $as_me by reconfiguring in the same conditions
35308 --file=FILE[:TEMPLATE]
35309 instantiate the configuration file FILE
35310 --header=FILE[:TEMPLATE]
35311 instantiate the configuration header FILE
35312
35313Configuration files:
35314$config_files
35315
35316Configuration headers:
35317$config_headers
35318
35319Configuration commands:
35320$config_commands
35321
35322Report bugs to <bug-autoconf@gnu.org>."
35323_ACEOF
35324
35325cat >>$CONFIG_STATUS <<_ACEOF
35326ac_cs_version="\\
35327wxWindows config.status 2.5.0
35328configured by $0, generated by GNU Autoconf 2.57,
35329 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
35330
35331Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
35332Free Software Foundation, Inc.
35333This config.status script is free software; the Free Software Foundation
35334gives unlimited permission to copy, distribute and modify it."
35335srcdir=$srcdir
35336INSTALL="$INSTALL"
35337_ACEOF
35338
35339cat >>$CONFIG_STATUS <<\_ACEOF
35340# If no file are specified by the user, then we need to provide default
35341# value. By we need to know if files were specified by the user.
35342ac_need_defaults=:
35343while test $# != 0
35344do
35345 case $1 in
35346 --*=*)
35347 ac_option=`expr "x$1" : 'x\([^=]*\)='`
35348 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
35349 ac_shift=:
35350 ;;
35351 -*)
35352 ac_option=$1
35353 ac_optarg=$2
35354 ac_shift=shift
35355 ;;
35356 *) # This is not an option, so the user has probably given explicit
35357 # arguments.
35358 ac_option=$1
35359 ac_need_defaults=false;;
35360 esac
35361
35362 case $ac_option in
35363 # Handling of the options.
35364_ACEOF
35365cat >>$CONFIG_STATUS <<\_ACEOF
35366 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35367 ac_cs_recheck=: ;;
35368 --version | --vers* | -V )
35369 echo "$ac_cs_version"; exit 0 ;;
35370 --he | --h)
35371 # Conflict between --help and --header
35372 { { echo "$as_me:$LINENO: error: ambiguous option: $1
35373Try \`$0 --help' for more information." >&5
35374echo "$as_me: error: ambiguous option: $1
35375Try \`$0 --help' for more information." >&2;}
35376 { (exit 1); exit 1; }; };;
35377 --help | --hel | -h )
35378 echo "$ac_cs_usage"; exit 0 ;;
35379 --debug | --d* | -d )
35380 debug=: ;;
35381 --file | --fil | --fi | --f )
35382 $ac_shift
35383 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
35384 ac_need_defaults=false;;
35385 --header | --heade | --head | --hea )
35386 $ac_shift
35387 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
35388 ac_need_defaults=false;;
35389 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35390 | -silent | --silent | --silen | --sile | --sil | --si | --s)
35391 ac_cs_silent=: ;;
35392
35393 # This is an error.
35394 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
35395Try \`$0 --help' for more information." >&5
35396echo "$as_me: error: unrecognized option: $1
35397Try \`$0 --help' for more information." >&2;}
35398 { (exit 1); exit 1; }; } ;;
35399
35400 *) ac_config_targets="$ac_config_targets $1" ;;
35401
35402 esac
35403 shift
35404done
35405
35406ac_configure_extra_args=
35407
35408if $ac_cs_silent; then
35409 exec 6>/dev/null
35410 ac_configure_extra_args="$ac_configure_extra_args --silent"
35411fi
35412
35413_ACEOF
35414cat >>$CONFIG_STATUS <<_ACEOF
35415if \$ac_cs_recheck; then
35416 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
35417 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
35418fi
35419
35420_ACEOF
35421
35422cat >>$CONFIG_STATUS <<_ACEOF
35423#
35424# INIT-COMMANDS section.
35425#
35426
35427
35428 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
35429 LN_S="${LN_S}"
35430
35431
35432
35433_ACEOF
35434
35435
35436
35437cat >>$CONFIG_STATUS <<\_ACEOF
35438for ac_config_target in $ac_config_targets
35439do
35440 case "$ac_config_target" in
35441 # Handling of arguments.
35442 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
35443 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
35444 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
35445 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
35446 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
35447 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
35448 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35449echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35450 { (exit 1); exit 1; }; };;
35451 esac
35452done
35453
35454# If the user did not use the arguments to specify the items to instantiate,
35455# then the envvar interface is used. Set only those that are not.
35456# We use the long form for the default assignment because of an extremely
35457# bizarre bug on SunOS 4.1.3.
35458if $ac_need_defaults; then
35459 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
35460 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
35461 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
35462fi
35463
35464# Have a temporary directory for convenience. Make it in the build tree
35465# simply because there is no reason to put it here, and in addition,
35466# creating and moving files from /tmp can sometimes cause problems.
35467# Create a temporary directory, and hook for its removal unless debugging.
35468$debug ||
35469{
35470 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
35471 trap '{ (exit 1); exit 1; }' 1 2 13 15
35472}
35473
35474# Create a (secure) tmp directory for tmp files.
35475
35476{
35477 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
35478 test -n "$tmp" && test -d "$tmp"
35479} ||
35480{
35481 tmp=./confstat$$-$RANDOM
35482 (umask 077 && mkdir $tmp)
35483} ||
35484{
35485 echo "$me: cannot create a temporary directory in ." >&2
35486 { (exit 1); exit 1; }
35487}
35488
35489_ACEOF
35490
35491cat >>$CONFIG_STATUS <<_ACEOF
35492
35493#
35494# CONFIG_FILES section.
35495#
35496
35497# No need to generate the scripts if there are no CONFIG_FILES.
35498# This happens for instance when ./config.status config.h
35499if test -n "\$CONFIG_FILES"; then
35500 # Protect against being on the right side of a sed subst in config.status.
35501 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
35502 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
35503s,@SHELL@,$SHELL,;t t
35504s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
35505s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
35506s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
35507s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
35508s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
35509s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
35510s,@exec_prefix@,$exec_prefix,;t t
35511s,@prefix@,$prefix,;t t
35512s,@program_transform_name@,$program_transform_name,;t t
35513s,@bindir@,$bindir,;t t
35514s,@sbindir@,$sbindir,;t t
35515s,@libexecdir@,$libexecdir,;t t
35516s,@datadir@,$datadir,;t t
35517s,@sysconfdir@,$sysconfdir,;t t
35518s,@sharedstatedir@,$sharedstatedir,;t t
35519s,@localstatedir@,$localstatedir,;t t
35520s,@libdir@,$libdir,;t t
35521s,@includedir@,$includedir,;t t
35522s,@oldincludedir@,$oldincludedir,;t t
35523s,@infodir@,$infodir,;t t
35524s,@mandir@,$mandir,;t t
35525s,@build_alias@,$build_alias,;t t
35526s,@host_alias@,$host_alias,;t t
35527s,@target_alias@,$target_alias,;t t
35528s,@DEFS@,$DEFS,;t t
35529s,@ECHO_C@,$ECHO_C,;t t
35530s,@ECHO_N@,$ECHO_N,;t t
35531s,@ECHO_T@,$ECHO_T,;t t
35532s,@LIBS@,$LIBS,;t t
35533s,@build@,$build,;t t
35534s,@build_cpu@,$build_cpu,;t t
35535s,@build_vendor@,$build_vendor,;t t
35536s,@build_os@,$build_os,;t t
35537s,@host@,$host,;t t
35538s,@host_cpu@,$host_cpu,;t t
35539s,@host_vendor@,$host_vendor,;t t
35540s,@host_os@,$host_os,;t t
35541s,@target@,$target,;t t
35542s,@target_cpu@,$target_cpu,;t t
35543s,@target_vendor@,$target_vendor,;t t
35544s,@target_os@,$target_os,;t t
35545s,@CC@,$CC,;t t
35546s,@CFLAGS@,$CFLAGS,;t t
35547s,@LDFLAGS@,$LDFLAGS,;t t
35548s,@CPPFLAGS@,$CPPFLAGS,;t t
35549s,@ac_ct_CC@,$ac_ct_CC,;t t
35550s,@EXEEXT@,$EXEEXT,;t t
35551s,@OBJEXT@,$OBJEXT,;t t
35552s,@CPP@,$CPP,;t t
35553s,@EGREP@,$EGREP,;t t
35554s,@CXX@,$CXX,;t t
35555s,@CXXFLAGS@,$CXXFLAGS,;t t
35556s,@ac_ct_CXX@,$ac_ct_CXX,;t t
35557s,@RANLIB@,$RANLIB,;t t
35558s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
35559s,@AR@,$AR,;t t
35560s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
35561s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
35562s,@INSTALL_DATA@,$INSTALL_DATA,;t t
35563s,@STRIP@,$STRIP,;t t
35564s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
35565s,@YACC@,$YACC,;t t
35566s,@LEX@,$LEX,;t t
35567s,@LEXLIB@,$LEXLIB,;t t
35568s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
35569s,@LN_S@,$LN_S,;t t
35570s,@CXXCPP@,$CXXCPP,;t t
35571s,@PKG_CONFIG@,$PKG_CONFIG,;t t
35572s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
35573s,@GTK_LIBS@,$GTK_LIBS,;t t
35574s,@GTK_CONFIG@,$GTK_CONFIG,;t t
35575s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
35576s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
35577s,@X_CFLAGS@,$X_CFLAGS,;t t
35578s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
35579s,@X_LIBS@,$X_LIBS,;t t
35580s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
35581s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
35582s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
35583s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
35584s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
35585s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
35586s,@RESCOMP@,$RESCOMP,;t t
35587s,@DEREZ@,$DEREZ,;t t
35588s,@SETFILE@,$SETFILE,;t t
35589s,@LIBICONV@,$LIBICONV,;t t
35590s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
35591s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
35592s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
35593s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
35594s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
35595s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
35596s,@VENDOR@,$VENDOR,;t t
35597s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
35598s,@WXUNIV@,$WXUNIV,;t t
35599s,@MONOLITHIC@,$MONOLITHIC,;t t
35600s,@EXTRALIBS@,$EXTRALIBS,;t t
35601s,@UNICODE@,$UNICODE,;t t
35602s,@BUILD@,$BUILD,;t t
35603s,@SHARED@,$SHARED,;t t
35604s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
35605s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
35606s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
35607s,@SET_MAKE@,$SET_MAKE,;t t
35608s,@MAKE_SET@,$MAKE_SET,;t t
35609s,@INSTALL_DIR@,$INSTALL_DIR,;t t
35610s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
35611s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
35612s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
35613s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
35614s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
35615s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
35616s,@SO_SUFFIX@,$SO_SUFFIX,;t t
35617s,@DLLPREFIX@,$DLLPREFIX,;t t
35618s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
35619s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
35620s,@PIC_FLAG@,$PIC_FLAG,;t t
35621s,@USE_SOVERSION@,$USE_SOVERSION,;t t
35622s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
35623s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
35624s,@USE_MACVERSION@,$USE_MACVERSION,;t t
35625s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
35626s,@SONAME_FLAG@,$SONAME_FLAG,;t t
35627s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
35628s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_1,;t t
35629s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
35630s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
35631s,@COND_PLATFORM_MACOSX_1_USE_GUI_0@,$COND_PLATFORM_MACOSX_1_USE_GUI_0,;t t
35632s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
35633s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
35634s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
35635s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_1,;t t
35636s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
35637s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
35638s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
35639s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
35640s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
35641s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
35642s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
35643s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
35644s,@COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_0,;t t
35645s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
35646s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
35647s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
35648s,@COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_1,;t t
35649s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
35650s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
35651s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
35652s,@COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1,;t t
35653s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
35654s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
35655s,@COND_PLATFORM_UNIX_1_USE_GUI_0@,$COND_PLATFORM_UNIX_1_USE_GUI_0,;t t
35656s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
35657s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
35658s,@COND_OFFICIAL_BUILD_0@,$COND_OFFICIAL_BUILD_0,;t t
35659s,@COND_TOOLKIT_OS2@,$COND_TOOLKIT_OS2,;t t
35660s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
35661s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_1,;t t
35662s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
35663s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
35664s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
35665s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
35666s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
35667s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1,;t t
35668s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
35669s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
35670s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
35671s,@COND_USE_GUI_0_USE_GUI_1@,$COND_USE_GUI_0_USE_GUI_1,;t t
35672s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
35673s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
35674s,@COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0,;t t
35675s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
35676s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1,;t t
35677s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
35678s,@COND_OFFICIAL_BUILD_1@,$COND_OFFICIAL_BUILD_1,;t t
35679s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
35680s,@COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_0,;t t
35681s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
35682s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
35683s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
35684s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
35685s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
35686s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
35687s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
35688s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
35689s,@COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1,;t t
35690s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
35691s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
35692s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
35693s,@COND_PLATFORM_WIN32_1_USE_GUI_0@,$COND_PLATFORM_WIN32_1_USE_GUI_0,;t t
35694s,@COND_PLATFORM_WIN32_1_USE_GUI_1@,$COND_PLATFORM_WIN32_1_USE_GUI_1,;t t
35695s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
35696s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
35697s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
35698s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
35699s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
35700s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
35701s,@LEX_STEM@,$LEX_STEM,;t t
35702s,@PATH_IFS@,$PATH_IFS,;t t
35703s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
35704s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
35705s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
35706s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
35707s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
35708s,@WX_LIBRARY_BASENAME@,$WX_LIBRARY_BASENAME,;t t
35709s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
35710s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
35711s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
35712s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
35713s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
35714s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
35715s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
35716s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
35717s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
35718s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
35719s,@WX_ALL@,$WX_ALL,;t t
35720s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
35721s,@SHARED_LD@,$SHARED_LD,;t t
35722s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
35723s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
35724s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
35725s,@STATIC_FLAG@,$STATIC_FLAG,;t t
35726s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
35727s,@USE_GUI@,$USE_GUI,;t t
35728s,@AFMINSTALL@,$AFMINSTALL,;t t
35729s,@WIN32INSTALL@,$WIN32INSTALL,;t t
35730s,@TOOLKIT@,$TOOLKIT,;t t
35731s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
35732s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
35733s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
35734s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
35735s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
35736s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
35737s,@cross_compiling@,$cross_compiling,;t t
35738s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
35739s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
35740s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
35741s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
35742s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
35743s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
35744s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
35745s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
35746s,@ALL_HEADERS@,$ALL_HEADERS,;t t
35747s,@ALL_SOURCES@,$ALL_SOURCES,;t t
35748s,@GUIDIST@,$GUIDIST,;t t
35749s,@PORT_FILES@,$PORT_FILES,;t t
35750s,@DISTDIR@,$DISTDIR,;t t
35751s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
35752s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
35753s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
35754s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
35755s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
35756s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
35757s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
35758s,@RESFLAGS@,$RESFLAGS,;t t
35759s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
35760s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
35761s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
35762s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
35763s,@LIBWXMACRES@,$LIBWXMACRES,;t t
35764s,@MACRESCOMP@,$MACRESCOMP,;t t
35765s,@MACSETFILE@,$MACSETFILE,;t t
35766s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
35767s,@GCC@,$GCC,;t t
35768s,@DLLTOOL@,$DLLTOOL,;t t
35769s,@AS@,$AS,;t t
35770s,@NM@,$NM,;t t
35771s,@LD@,$LD,;t t
35772s,@MAKEINFO@,$MAKEINFO,;t t
35773s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
35774s,@ESD_LINK@,$ESD_LINK,;t t
35775s,@LIBOBJS@,$LIBOBJS,;t t
35776s,@LTLIBOBJS@,$LTLIBOBJS,;t t
35777CEOF
35778
35779_ACEOF
35780
35781 cat >>$CONFIG_STATUS <<\_ACEOF
35782 # Split the substitutions into bite-sized pieces for seds with
35783 # small command number limits, like on Digital OSF/1 and HP-UX.
35784 ac_max_sed_lines=48
35785 ac_sed_frag=1 # Number of current file.
35786 ac_beg=1 # First line for current file.
35787 ac_end=$ac_max_sed_lines # Line after last line for current file.
35788 ac_more_lines=:
35789 ac_sed_cmds=
35790 while $ac_more_lines; do
35791 if test $ac_beg -gt 1; then
35792 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35793 else
35794 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35795 fi
35796 if test ! -s $tmp/subs.frag; then
35797 ac_more_lines=false
35798 else
35799 # The purpose of the label and of the branching condition is to
35800 # speed up the sed processing (if there are no `@' at all, there
35801 # is no need to browse any of the substitutions).
35802 # These are the two extra sed commands mentioned above.
35803 (echo ':t
35804 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
35805 if test -z "$ac_sed_cmds"; then
35806 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
35807 else
35808 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
35809 fi
35810 ac_sed_frag=`expr $ac_sed_frag + 1`
35811 ac_beg=$ac_end
35812 ac_end=`expr $ac_end + $ac_max_sed_lines`
35813 fi
35814 done
35815 if test -z "$ac_sed_cmds"; then
35816 ac_sed_cmds=cat
35817 fi
35818fi # test -n "$CONFIG_FILES"
35819
35820_ACEOF
35821cat >>$CONFIG_STATUS <<\_ACEOF
35822for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
35823 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35824 case $ac_file in
35825 - | *:- | *:-:* ) # input from stdin
35826 cat >$tmp/stdin
35827 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35828 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35829 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35830 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35831 * ) ac_file_in=$ac_file.in ;;
35832 esac
35833
35834 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
35835 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35836$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35837 X"$ac_file" : 'X\(//\)[^/]' \| \
35838 X"$ac_file" : 'X\(//\)$' \| \
35839 X"$ac_file" : 'X\(/\)' \| \
35840 . : '\(.\)' 2>/dev/null ||
35841echo X"$ac_file" |
35842 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35843 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35844 /^X\(\/\/\)$/{ s//\1/; q; }
35845 /^X\(\/\).*/{ s//\1/; q; }
35846 s/.*/./; q'`
35847 { if $as_mkdir_p; then
35848 mkdir -p "$ac_dir"
35849 else
35850 as_dir="$ac_dir"
35851 as_dirs=
35852 while test ! -d "$as_dir"; do
35853 as_dirs="$as_dir $as_dirs"
35854 as_dir=`(dirname "$as_dir") 2>/dev/null ||
35855$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35856 X"$as_dir" : 'X\(//\)[^/]' \| \
35857 X"$as_dir" : 'X\(//\)$' \| \
35858 X"$as_dir" : 'X\(/\)' \| \
35859 . : '\(.\)' 2>/dev/null ||
35860echo X"$as_dir" |
35861 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35862 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35863 /^X\(\/\/\)$/{ s//\1/; q; }
35864 /^X\(\/\).*/{ s//\1/; q; }
35865 s/.*/./; q'`
35866 done
35867 test ! -n "$as_dirs" || mkdir $as_dirs
35868 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35869echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35870 { (exit 1); exit 1; }; }; }
35871
35872 ac_builddir=.
35873
35874if test "$ac_dir" != .; then
35875 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35876 # A "../" for each directory in $ac_dir_suffix.
35877 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35878else
35879 ac_dir_suffix= ac_top_builddir=
35880fi
35881
35882case $srcdir in
35883 .) # No --srcdir option. We are building in place.
35884 ac_srcdir=.
35885 if test -z "$ac_top_builddir"; then
35886 ac_top_srcdir=.
35887 else
35888 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
35889 fi ;;
35890 [\\/]* | ?:[\\/]* ) # Absolute path.
35891 ac_srcdir=$srcdir$ac_dir_suffix;
35892 ac_top_srcdir=$srcdir ;;
35893 *) # Relative path.
35894 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
35895 ac_top_srcdir=$ac_top_builddir$srcdir ;;
35896esac
35897# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
35898# absolute.
35899ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
35900ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
35901ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
35902ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
35903
35904
35905 case $INSTALL in
35906 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
35907 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
35908 esac
35909
35910 if test x"$ac_file" != x-; then
35911 { echo "$as_me:$LINENO: creating $ac_file" >&5
35912echo "$as_me: creating $ac_file" >&6;}
35913 rm -f "$ac_file"
35914 fi
35915 # Let's still pretend it is `configure' which instantiates (i.e., don't
35916 # use $as_me), people would be surprised to read:
35917 # /* config.h. Generated by config.status. */
35918 if test x"$ac_file" = x-; then
35919 configure_input=
35920 else
35921 configure_input="$ac_file. "
35922 fi
35923 configure_input=$configure_input"Generated from `echo $ac_file_in |
35924 sed 's,.*/,,'` by configure."
35925
35926 # First look for the input files in the build tree, otherwise in the
35927 # src tree.
35928 ac_file_inputs=`IFS=:
35929 for f in $ac_file_in; do
35930 case $f in
35931 -) echo $tmp/stdin ;;
35932 [\\/$]*)
35933 # Absolute (can't be DOS-style, as IFS=:)
35934 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35935echo "$as_me: error: cannot find input file: $f" >&2;}
35936 { (exit 1); exit 1; }; }
35937 echo $f;;
35938 *) # Relative
35939 if test -f "$f"; then
35940 # Build tree
35941 echo $f
35942 elif test -f "$srcdir/$f"; then
35943 # Source tree
35944 echo $srcdir/$f
35945 else
35946 # /dev/null tree
35947 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35948echo "$as_me: error: cannot find input file: $f" >&2;}
35949 { (exit 1); exit 1; }; }
35950 fi;;
35951 esac
35952 done` || { (exit 1); exit 1; }
35953_ACEOF
35954cat >>$CONFIG_STATUS <<_ACEOF
35955 sed "$ac_vpsub
35956$extrasub
35957_ACEOF
35958cat >>$CONFIG_STATUS <<\_ACEOF
35959:t
35960/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
35961s,@configure_input@,$configure_input,;t t
35962s,@srcdir@,$ac_srcdir,;t t
35963s,@abs_srcdir@,$ac_abs_srcdir,;t t
35964s,@top_srcdir@,$ac_top_srcdir,;t t
35965s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
35966s,@builddir@,$ac_builddir,;t t
35967s,@abs_builddir@,$ac_abs_builddir,;t t
35968s,@top_builddir@,$ac_top_builddir,;t t
35969s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
35970s,@INSTALL@,$ac_INSTALL,;t t
35971" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
35972 rm -f $tmp/stdin
35973 if test x"$ac_file" != x-; then
35974 mv $tmp/out $ac_file
35975 else
35976 cat $tmp/out
35977 rm -f $tmp/out
35978 fi
35979
35980done
35981_ACEOF
35982cat >>$CONFIG_STATUS <<\_ACEOF
35983
35984#
35985# CONFIG_HEADER section.
35986#
35987
35988# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
35989# NAME is the cpp macro being defined and VALUE is the value it is being given.
35990#
35991# ac_d sets the value in "#define NAME VALUE" lines.
35992ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
35993ac_dB='[ ].*$,\1#\2'
35994ac_dC=' '
35995ac_dD=',;t'
35996# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
35997ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
35998ac_uB='$,\1#\2define\3'
35999ac_uC=' '
36000ac_uD=',;t'
36001
36002for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
36003 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36004 case $ac_file in
36005 - | *:- | *:-:* ) # input from stdin
36006 cat >$tmp/stdin
36007 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36008 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36009 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36010 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36011 * ) ac_file_in=$ac_file.in ;;
36012 esac
36013
36014 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
36015echo "$as_me: creating $ac_file" >&6;}
36016
36017 # First look for the input files in the build tree, otherwise in the
36018 # src tree.
36019 ac_file_inputs=`IFS=:
36020 for f in $ac_file_in; do
36021 case $f in
36022 -) echo $tmp/stdin ;;
36023 [\\/$]*)
36024 # Absolute (can't be DOS-style, as IFS=:)
36025 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36026echo "$as_me: error: cannot find input file: $f" >&2;}
36027 { (exit 1); exit 1; }; }
36028 echo $f;;
36029 *) # Relative
36030 if test -f "$f"; then
36031 # Build tree
36032 echo $f
36033 elif test -f "$srcdir/$f"; then
36034 # Source tree
36035 echo $srcdir/$f
36036 else
36037 # /dev/null tree
36038 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36039echo "$as_me: error: cannot find input file: $f" >&2;}
36040 { (exit 1); exit 1; }; }
36041 fi;;
36042 esac
36043 done` || { (exit 1); exit 1; }
36044 # Remove the trailing spaces.
36045 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
36046
36047_ACEOF
36048
36049# Transform confdefs.h into two sed scripts, `conftest.defines' and
36050# `conftest.undefs', that substitutes the proper values into
36051# config.h.in to produce config.h. The first handles `#define'
36052# templates, and the second `#undef' templates.
36053# And first: Protect against being on the right side of a sed subst in
36054# config.status. Protect against being in an unquoted here document
36055# in config.status.
36056rm -f conftest.defines conftest.undefs
36057# Using a here document instead of a string reduces the quoting nightmare.
36058# Putting comments in sed scripts is not portable.
36059#
36060# `end' is used to avoid that the second main sed command (meant for
36061# 0-ary CPP macros) applies to n-ary macro definitions.
36062# See the Autoconf documentation for `clear'.
36063cat >confdef2sed.sed <<\_ACEOF
36064s/[\\&,]/\\&/g
36065s,[\\$`],\\&,g
36066t clear
36067: clear
36068s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
36069t end
36070s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
36071: end
36072_ACEOF
36073# If some macros were called several times there might be several times
36074# the same #defines, which is useless. Nevertheless, we may not want to
36075# sort them, since we want the *last* AC-DEFINE to be honored.
36076uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
36077sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
36078rm -f confdef2sed.sed
36079
36080# This sed command replaces #undef with comments. This is necessary, for
36081# example, in the case of _POSIX_SOURCE, which is predefined and required
36082# on some systems where configure will not decide to define it.
36083cat >>conftest.undefs <<\_ACEOF
36084s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
36085_ACEOF
36086
36087# Break up conftest.defines because some shells have a limit on the size
36088# of here documents, and old seds have small limits too (100 cmds).
36089echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
36090echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
36091echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
36092echo ' :' >>$CONFIG_STATUS
36093rm -f conftest.tail
36094while grep . conftest.defines >/dev/null
36095do
36096 # Write a limited-size here document to $tmp/defines.sed.
36097 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
36098 # Speed up: don't consider the non `#define' lines.
36099 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
36100 # Work around the forget-to-reset-the-flag bug.
36101 echo 't clr' >>$CONFIG_STATUS
36102 echo ': clr' >>$CONFIG_STATUS
36103 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
36104 echo 'CEOF
36105 sed -f $tmp/defines.sed $tmp/in >$tmp/out
36106 rm -f $tmp/in
36107 mv $tmp/out $tmp/in
36108' >>$CONFIG_STATUS
36109 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
36110 rm -f conftest.defines
36111 mv conftest.tail conftest.defines
36112done
36113rm -f conftest.defines
36114echo ' fi # grep' >>$CONFIG_STATUS
36115echo >>$CONFIG_STATUS
36116
36117# Break up conftest.undefs because some shells have a limit on the size
36118# of here documents, and old seds have small limits too (100 cmds).
36119echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
36120rm -f conftest.tail
36121while grep . conftest.undefs >/dev/null
36122do
36123 # Write a limited-size here document to $tmp/undefs.sed.
36124 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
36125 # Speed up: don't consider the non `#undef'
36126 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
36127 # Work around the forget-to-reset-the-flag bug.
36128 echo 't clr' >>$CONFIG_STATUS
36129 echo ': clr' >>$CONFIG_STATUS
36130 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
36131 echo 'CEOF
36132 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
36133 rm -f $tmp/in
36134 mv $tmp/out $tmp/in
36135' >>$CONFIG_STATUS
36136 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
36137 rm -f conftest.undefs
36138 mv conftest.tail conftest.undefs
36139done
36140rm -f conftest.undefs
36141
36142cat >>$CONFIG_STATUS <<\_ACEOF
36143 # Let's still pretend it is `configure' which instantiates (i.e., don't
36144 # use $as_me), people would be surprised to read:
36145 # /* config.h. Generated by config.status. */
36146 if test x"$ac_file" = x-; then
36147 echo "/* Generated by configure. */" >$tmp/config.h
36148 else
36149 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
36150 fi
36151 cat $tmp/in >>$tmp/config.h
36152 rm -f $tmp/in
36153 if test x"$ac_file" != x-; then
36154 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
36155 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
36156echo "$as_me: $ac_file is unchanged" >&6;}
36157 else
36158 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
36159$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36160 X"$ac_file" : 'X\(//\)[^/]' \| \
36161 X"$ac_file" : 'X\(//\)$' \| \
36162 X"$ac_file" : 'X\(/\)' \| \
36163 . : '\(.\)' 2>/dev/null ||
36164echo X"$ac_file" |
36165 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36166 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36167 /^X\(\/\/\)$/{ s//\1/; q; }
36168 /^X\(\/\).*/{ s//\1/; q; }
36169 s/.*/./; q'`
36170 { if $as_mkdir_p; then
36171 mkdir -p "$ac_dir"
36172 else
36173 as_dir="$ac_dir"
36174 as_dirs=
36175 while test ! -d "$as_dir"; do
36176 as_dirs="$as_dir $as_dirs"
36177 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36178$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36179 X"$as_dir" : 'X\(//\)[^/]' \| \
36180 X"$as_dir" : 'X\(//\)$' \| \
36181 X"$as_dir" : 'X\(/\)' \| \
36182 . : '\(.\)' 2>/dev/null ||
36183echo X"$as_dir" |
36184 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36185 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36186 /^X\(\/\/\)$/{ s//\1/; q; }
36187 /^X\(\/\).*/{ s//\1/; q; }
36188 s/.*/./; q'`
36189 done
36190 test ! -n "$as_dirs" || mkdir $as_dirs
36191 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36192echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36193 { (exit 1); exit 1; }; }; }
36194
36195 rm -f $ac_file
36196 mv $tmp/config.h $ac_file
36197 fi
36198 else
36199 cat $tmp/config.h
36200 rm -f $tmp/config.h
36201 fi
36202done
36203_ACEOF
36204cat >>$CONFIG_STATUS <<\_ACEOF
36205
36206#
36207# CONFIG_COMMANDS section.
36208#
36209for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
36210 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
36211 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
36212 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
36213$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36214 X"$ac_dest" : 'X\(//\)[^/]' \| \
36215 X"$ac_dest" : 'X\(//\)$' \| \
36216 X"$ac_dest" : 'X\(/\)' \| \
36217 . : '\(.\)' 2>/dev/null ||
36218echo X"$ac_dest" |
36219 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36220 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36221 /^X\(\/\/\)$/{ s//\1/; q; }
36222 /^X\(\/\).*/{ s//\1/; q; }
36223 s/.*/./; q'`
36224 ac_builddir=.
36225
36226if test "$ac_dir" != .; then
36227 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36228 # A "../" for each directory in $ac_dir_suffix.
36229 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36230else
36231 ac_dir_suffix= ac_top_builddir=
36232fi
36233
36234case $srcdir in
36235 .) # No --srcdir option. We are building in place.
36236 ac_srcdir=.
36237 if test -z "$ac_top_builddir"; then
36238 ac_top_srcdir=.
36239 else
36240 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36241 fi ;;
36242 [\\/]* | ?:[\\/]* ) # Absolute path.
36243 ac_srcdir=$srcdir$ac_dir_suffix;
36244 ac_top_srcdir=$srcdir ;;
36245 *) # Relative path.
36246 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36247 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36248esac
36249# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36250# absolute.
36251ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36252ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36253ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36254ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36255
36256
36257 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
36258echo "$as_me: executing $ac_dest commands" >&6;}
36259 case $ac_dest in
36260 default )
36261 if test ! -h wx-config; then
36262 chmod +x wx-config
36263 mv wx-config wx${TOOLCHAIN_NAME}-config
36264 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
36265 fi
36266
36267 if test ! -d lib; then
36268 mkdir lib
36269 fi
36270 if test ! -d lib/wx; then
36271 mkdir lib/wx
36272 fi
36273 if test ! -d lib/wx/include; then
36274 mkdir lib/wx/include
36275 fi
36276 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
36277 mkdir lib/wx/include/${TOOLCHAIN_NAME}
36278 fi
36279 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
36280 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
36281 fi
36282 if test -f setup.h; then
36283 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
36284 fi
36285 ;;
36286 esac
36287done
36288_ACEOF
36289
36290cat >>$CONFIG_STATUS <<\_ACEOF
36291
36292{ (exit 0); exit 0; }
36293_ACEOF
36294chmod +x $CONFIG_STATUS
36295ac_clean_files=$ac_clean_files_save
36296
36297
36298# configure is writing to config.log, and then calls config.status.
36299# config.status does its own redirection, appending to config.log.
36300# Unfortunately, on DOS this fails, as config.log is still kept open
36301# by configure, so config.status won't be able to write to it; its
36302# output is simply discarded. So we exec the FD to /dev/null,
36303# effectively closing config.log, so it can be properly (re)opened and
36304# appended to by config.status. When coming back to configure, we
36305# need to make the FD available again.
36306if test "$no_create" != yes; then
36307 ac_cs_success=:
36308 ac_config_status_args=
36309 test "$silent" = yes &&
36310 ac_config_status_args="$ac_config_status_args --quiet"
36311 exec 5>/dev/null
36312 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
36313 exec 5>>config.log
36314 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36315 # would make configure fail if this is the last instruction.
36316 $ac_cs_success || { (exit 1); exit 1; }
36317fi
36318
36319
36320echo
36321echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
36322echo ""
36323echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
36324echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
36325
36326echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
36327echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
36328echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
36329
36330echo " What level of wxWindows compatibility should be enabled?"
36331echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
36332echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
36333echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
36334
36335echo " Which libraries should wxWindows use?"
36336echo " jpeg ${wxUSE_LIBJPEG-none}"
36337echo " png ${wxUSE_LIBPNG-none}"
36338echo " regex ${wxUSE_REGEX}"
36339echo " tiff ${wxUSE_LIBTIFF-none}"
36340echo " zlib ${wxUSE_ZLIB}"
36341echo " odbc ${wxUSE_ODBC}"
36342
36343echo ""
36344