]> git.saurik.com Git - wxWidgets.git/blame_incremental - configure
wxSpinCtrl abuses m_isShown. Don't use it for any logic
[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 RESCOMP DEREZ SETFILE LIBICONV wxUSE_ZLIB wxUSE_REGEX wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC EXTRALIBS EXTRALIBS_GUI 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 AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING COND_BUILD_DEBUG COND_BUILD_RELEASE COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_UNIX_1 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1 COND_TOOLKIT_OS2 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1 COND_UNICODE_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WXUNIV_1 COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN COND_PLATFORM_MAC_1 COND_SHARED_1 COND_SHARED_0 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC LEX_STEM PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WX_LARGEFILE_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA MACOSX_BUNDLE LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL AS NM LD MAKEINFO INSTALL_LIBRARY ESD_LINK LIBOBJS LTLIBOBJS'
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-stl use STL for containers
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 DEFAULT_wxUSE_STL=no
1941
1942 DEFAULT_wxUSE_NANOX=no
1943
1944 DEFAULT_wxUSE_THREADS=yes
1945
1946 DEFAULT_wxUSE_SHARED=yes
1947 DEFAULT_wxUSE_OPTIMISE=no
1948 DEFAULT_wxUSE_PROFILE=no
1949 DEFAULT_wxUSE_NO_DEPS=no
1950 DEFAULT_wxUSE_NO_RTTI=no
1951 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1952 DEFAULT_wxUSE_PERMISSIVE=no
1953 DEFAULT_wxUSE_DEBUG_FLAG=yes
1954 DEFAULT_wxUSE_DEBUG_INFO=yes
1955 DEFAULT_wxUSE_DEBUG_GDB=yes
1956 DEFAULT_wxUSE_MEM_TRACING=no
1957 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1958 DEFAULT_wxUSE_DMALLOC=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 DEFAULT_wxUSE_STL=no
2115
2116 DEFAULT_wxUSE_NANOX=no
2117
2118 DEFAULT_wxUSE_THREADS=yes
2119
2120 DEFAULT_wxUSE_SHARED=yes
2121 DEFAULT_wxUSE_OPTIMISE=yes
2122 DEFAULT_wxUSE_PROFILE=no
2123 DEFAULT_wxUSE_NO_DEPS=no
2124 DEFAULT_wxUSE_NO_RTTI=no
2125 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2126 DEFAULT_wxUSE_PERMISSIVE=no
2127 DEFAULT_wxUSE_DEBUG_FLAG=no
2128 DEFAULT_wxUSE_DEBUG_INFO=no
2129 DEFAULT_wxUSE_DEBUG_GDB=no
2130 DEFAULT_wxUSE_MEM_TRACING=no
2131 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2132 DEFAULT_wxUSE_DMALLOC=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 enablestring=
3135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3136echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3137 no_cache=0
3138 # Check whether --enable-stl or --disable-stl was given.
3139if test "${enable_stl+set}" = set; then
3140 enableval="$enable_stl"
3141
3142 if test "$enableval" = yes; then
3143 ac_cv_use_stl='wxUSE_STL=yes'
3144 else
3145 ac_cv_use_stl='wxUSE_STL=no'
3146 fi
3147
3148else
3149
3150 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3151 if test "x$LINE" != x ; then
3152 eval "DEFAULT_$LINE"
3153 else
3154 no_cache=1
3155 fi
3156
3157 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3158
3159fi;
3160
3161 eval "$ac_cv_use_stl"
3162 if test "$no_cache" != 1; then
3163 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3164 fi
3165
3166 if test "$wxUSE_STL" = yes; then
3167 echo "$as_me:$LINENO: result: yes" >&5
3168echo "${ECHO_T}yes" >&6
3169 else
3170 echo "$as_me:$LINENO: result: no" >&5
3171echo "${ECHO_T}no" >&6
3172 fi
3173
3174
3175if test "$wxUSE_DEBUG" = "yes"; then
3176 DEFAULT_wxUSE_DEBUG_FLAG=yes
3177 DEFAULT_wxUSE_DEBUG_INFO=yes
3178elif test "$wxUSE_DEBUG" = "no"; then
3179 DEFAULT_wxUSE_DEBUG_FLAG=no
3180 DEFAULT_wxUSE_DEBUG_INFO=no
3181fi
3182
3183
3184 enablestring=
3185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3186echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3187 no_cache=0
3188 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3189if test "${enable_debug_flag+set}" = set; then
3190 enableval="$enable_debug_flag"
3191
3192 if test "$enableval" = yes; then
3193 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3194 else
3195 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3196 fi
3197
3198else
3199
3200 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3201 if test "x$LINE" != x ; then
3202 eval "DEFAULT_$LINE"
3203 else
3204 no_cache=1
3205 fi
3206
3207 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3208
3209fi;
3210
3211 eval "$ac_cv_use_debug_flag"
3212 if test "$no_cache" != 1; then
3213 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3214 fi
3215
3216 if test "$wxUSE_DEBUG_FLAG" = yes; then
3217 echo "$as_me:$LINENO: result: yes" >&5
3218echo "${ECHO_T}yes" >&6
3219 else
3220 echo "$as_me:$LINENO: result: no" >&5
3221echo "${ECHO_T}no" >&6
3222 fi
3223
3224
3225 enablestring=
3226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3227echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3228 no_cache=0
3229 # Check whether --enable-debug_info or --disable-debug_info was given.
3230if test "${enable_debug_info+set}" = set; then
3231 enableval="$enable_debug_info"
3232
3233 if test "$enableval" = yes; then
3234 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3235 else
3236 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3237 fi
3238
3239else
3240
3241 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3242 if test "x$LINE" != x ; then
3243 eval "DEFAULT_$LINE"
3244 else
3245 no_cache=1
3246 fi
3247
3248 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3249
3250fi;
3251
3252 eval "$ac_cv_use_debug_info"
3253 if test "$no_cache" != 1; then
3254 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3255 fi
3256
3257 if test "$wxUSE_DEBUG_INFO" = yes; then
3258 echo "$as_me:$LINENO: result: yes" >&5
3259echo "${ECHO_T}yes" >&6
3260 else
3261 echo "$as_me:$LINENO: result: no" >&5
3262echo "${ECHO_T}no" >&6
3263 fi
3264
3265
3266 enablestring=
3267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3268echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3269 no_cache=0
3270 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3271if test "${enable_debug_gdb+set}" = set; then
3272 enableval="$enable_debug_gdb"
3273
3274 if test "$enableval" = yes; then
3275 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3276 else
3277 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3278 fi
3279
3280else
3281
3282 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3283 if test "x$LINE" != x ; then
3284 eval "DEFAULT_$LINE"
3285 else
3286 no_cache=1
3287 fi
3288
3289 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3290
3291fi;
3292
3293 eval "$ac_cv_use_debug_gdb"
3294 if test "$no_cache" != 1; then
3295 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3296 fi
3297
3298 if test "$wxUSE_DEBUG_GDB" = yes; then
3299 echo "$as_me:$LINENO: result: yes" >&5
3300echo "${ECHO_T}yes" >&6
3301 else
3302 echo "$as_me:$LINENO: result: no" >&5
3303echo "${ECHO_T}no" >&6
3304 fi
3305
3306
3307 enablestring=
3308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3309echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3310 no_cache=0
3311 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3312if test "${enable_debug_cntxt+set}" = set; then
3313 enableval="$enable_debug_cntxt"
3314
3315 if test "$enableval" = yes; then
3316 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3317 else
3318 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3319 fi
3320
3321else
3322
3323 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3324 if test "x$LINE" != x ; then
3325 eval "DEFAULT_$LINE"
3326 else
3327 no_cache=1
3328 fi
3329
3330 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3331
3332fi;
3333
3334 eval "$ac_cv_use_debug_cntxt"
3335 if test "$no_cache" != 1; then
3336 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3337 fi
3338
3339 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3340 echo "$as_me:$LINENO: result: yes" >&5
3341echo "${ECHO_T}yes" >&6
3342 else
3343 echo "$as_me:$LINENO: result: no" >&5
3344echo "${ECHO_T}no" >&6
3345 fi
3346
3347
3348 enablestring=
3349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3350echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3351 no_cache=0
3352 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3353if test "${enable_mem_tracing+set}" = set; then
3354 enableval="$enable_mem_tracing"
3355
3356 if test "$enableval" = yes; then
3357 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3358 else
3359 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3360 fi
3361
3362else
3363
3364 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3365 if test "x$LINE" != x ; then
3366 eval "DEFAULT_$LINE"
3367 else
3368 no_cache=1
3369 fi
3370
3371 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3372
3373fi;
3374
3375 eval "$ac_cv_use_mem_tracing"
3376 if test "$no_cache" != 1; then
3377 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3378 fi
3379
3380 if test "$wxUSE_MEM_TRACING" = yes; then
3381 echo "$as_me:$LINENO: result: yes" >&5
3382echo "${ECHO_T}yes" >&6
3383 else
3384 echo "$as_me:$LINENO: result: no" >&5
3385echo "${ECHO_T}no" >&6
3386 fi
3387
3388
3389 enablestring=
3390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3391echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3392 no_cache=0
3393 # Check whether --enable-profile or --disable-profile was given.
3394if test "${enable_profile+set}" = set; then
3395 enableval="$enable_profile"
3396
3397 if test "$enableval" = yes; then
3398 ac_cv_use_profile='wxUSE_PROFILE=yes'
3399 else
3400 ac_cv_use_profile='wxUSE_PROFILE=no'
3401 fi
3402
3403else
3404
3405 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3406 if test "x$LINE" != x ; then
3407 eval "DEFAULT_$LINE"
3408 else
3409 no_cache=1
3410 fi
3411
3412 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3413
3414fi;
3415
3416 eval "$ac_cv_use_profile"
3417 if test "$no_cache" != 1; then
3418 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3419 fi
3420
3421 if test "$wxUSE_PROFILE" = yes; then
3422 echo "$as_me:$LINENO: result: yes" >&5
3423echo "${ECHO_T}yes" >&6
3424 else
3425 echo "$as_me:$LINENO: result: no" >&5
3426echo "${ECHO_T}no" >&6
3427 fi
3428
3429
3430 enablestring=
3431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3432echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3433 no_cache=0
3434 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3435if test "${enable_no_rtti+set}" = set; then
3436 enableval="$enable_no_rtti"
3437
3438 if test "$enableval" = yes; then
3439 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3440 else
3441 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3442 fi
3443
3444else
3445
3446 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3447 if test "x$LINE" != x ; then
3448 eval "DEFAULT_$LINE"
3449 else
3450 no_cache=1
3451 fi
3452
3453 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3454
3455fi;
3456
3457 eval "$ac_cv_use_no_rtti"
3458 if test "$no_cache" != 1; then
3459 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3460 fi
3461
3462 if test "$wxUSE_NO_RTTI" = yes; then
3463 echo "$as_me:$LINENO: result: yes" >&5
3464echo "${ECHO_T}yes" >&6
3465 else
3466 echo "$as_me:$LINENO: result: no" >&5
3467echo "${ECHO_T}no" >&6
3468 fi
3469
3470
3471 enablestring=
3472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3473echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3474 no_cache=0
3475 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3476if test "${enable_no_exceptions+set}" = set; then
3477 enableval="$enable_no_exceptions"
3478
3479 if test "$enableval" = yes; then
3480 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3481 else
3482 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3483 fi
3484
3485else
3486
3487 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3488 if test "x$LINE" != x ; then
3489 eval "DEFAULT_$LINE"
3490 else
3491 no_cache=1
3492 fi
3493
3494 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3495
3496fi;
3497
3498 eval "$ac_cv_use_no_exceptions"
3499 if test "$no_cache" != 1; then
3500 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3501 fi
3502
3503 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3504 echo "$as_me:$LINENO: result: yes" >&5
3505echo "${ECHO_T}yes" >&6
3506 else
3507 echo "$as_me:$LINENO: result: no" >&5
3508echo "${ECHO_T}no" >&6
3509 fi
3510
3511
3512 enablestring=
3513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3514echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3515 no_cache=0
3516 # Check whether --enable-permissive or --disable-permissive was given.
3517if test "${enable_permissive+set}" = set; then
3518 enableval="$enable_permissive"
3519
3520 if test "$enableval" = yes; then
3521 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3522 else
3523 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3524 fi
3525
3526else
3527
3528 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3529 if test "x$LINE" != x ; then
3530 eval "DEFAULT_$LINE"
3531 else
3532 no_cache=1
3533 fi
3534
3535 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3536
3537fi;
3538
3539 eval "$ac_cv_use_permissive"
3540 if test "$no_cache" != 1; then
3541 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3542 fi
3543
3544 if test "$wxUSE_PERMISSIVE" = yes; then
3545 echo "$as_me:$LINENO: result: yes" >&5
3546echo "${ECHO_T}yes" >&6
3547 else
3548 echo "$as_me:$LINENO: result: no" >&5
3549echo "${ECHO_T}no" >&6
3550 fi
3551
3552
3553 enablestring=
3554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3555echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3556 no_cache=0
3557 # Check whether --enable-no_deps or --disable-no_deps was given.
3558if test "${enable_no_deps+set}" = set; then
3559 enableval="$enable_no_deps"
3560
3561 if test "$enableval" = yes; then
3562 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3563 else
3564 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3565 fi
3566
3567else
3568
3569 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3570 if test "x$LINE" != x ; then
3571 eval "DEFAULT_$LINE"
3572 else
3573 no_cache=1
3574 fi
3575
3576 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3577
3578fi;
3579
3580 eval "$ac_cv_use_no_deps"
3581 if test "$no_cache" != 1; then
3582 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3583 fi
3584
3585 if test "$wxUSE_NO_DEPS" = yes; then
3586 echo "$as_me:$LINENO: result: yes" >&5
3587echo "${ECHO_T}yes" >&6
3588 else
3589 echo "$as_me:$LINENO: result: no" >&5
3590echo "${ECHO_T}no" >&6
3591 fi
3592
3593
3594
3595 enablestring=
3596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat20" >&5
3597echo $ECHO_N "checking for --${enablestring:-enable}-compat20... $ECHO_C" >&6
3598 no_cache=0
3599 # Check whether --enable-compat20 or --disable-compat20 was given.
3600if test "${enable_compat20+set}" = set; then
3601 enableval="$enable_compat20"
3602
3603 if test "$enableval" = yes; then
3604 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=yes'
3605 else
3606 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=no'
3607 fi
3608
3609else
3610
3611 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3612 if test "x$LINE" != x ; then
3613 eval "DEFAULT_$LINE"
3614 else
3615 no_cache=1
3616 fi
3617
3618 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3619
3620fi;
3621
3622 eval "$ac_cv_use_compat20"
3623 if test "$no_cache" != 1; then
3624 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3625 fi
3626
3627 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3628 echo "$as_me:$LINENO: result: yes" >&5
3629echo "${ECHO_T}yes" >&6
3630 else
3631 echo "$as_me:$LINENO: result: no" >&5
3632echo "${ECHO_T}no" >&6
3633 fi
3634
3635
3636 enablestring=
3637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3638echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3639 no_cache=0
3640 # Check whether --enable-compat22 or --disable-compat22 was given.
3641if test "${enable_compat22+set}" = set; then
3642 enableval="$enable_compat22"
3643
3644 if test "$enableval" = yes; then
3645 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3646 else
3647 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3648 fi
3649
3650else
3651
3652 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3653 if test "x$LINE" != x ; then
3654 eval "DEFAULT_$LINE"
3655 else
3656 no_cache=1
3657 fi
3658
3659 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3660
3661fi;
3662
3663 eval "$ac_cv_use_compat22"
3664 if test "$no_cache" != 1; then
3665 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3666 fi
3667
3668 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3669 echo "$as_me:$LINENO: result: yes" >&5
3670echo "${ECHO_T}yes" >&6
3671 else
3672 echo "$as_me:$LINENO: result: no" >&5
3673echo "${ECHO_T}no" >&6
3674 fi
3675
3676
3677 enablestring=disable
3678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3679echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3680 no_cache=0
3681 # Check whether --enable-compat24 or --disable-compat24 was given.
3682if test "${enable_compat24+set}" = set; then
3683 enableval="$enable_compat24"
3684
3685 if test "$enableval" = yes; then
3686 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3687 else
3688 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3689 fi
3690
3691else
3692
3693 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3694 if test "x$LINE" != x ; then
3695 eval "DEFAULT_$LINE"
3696 else
3697 no_cache=1
3698 fi
3699
3700 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3701
3702fi;
3703
3704 eval "$ac_cv_use_compat24"
3705 if test "$no_cache" != 1; then
3706 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3707 fi
3708
3709 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3710 echo "$as_me:$LINENO: result: yes" >&5
3711echo "${ECHO_T}yes" >&6
3712 else
3713 echo "$as_me:$LINENO: result: no" >&5
3714echo "${ECHO_T}no" >&6
3715 fi
3716
3717
3718# Check whether --enable-rpath or --disable-rpath was given.
3719if test "${enable_rpath+set}" = set; then
3720 enableval="$enable_rpath"
3721 wxRPATH_DIR="$enableval"
3722fi;
3723
3724if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3725 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3726fi
3727
3728
3729
3730
3731 enablestring=
3732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3733echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3734 no_cache=0
3735 # Check whether --enable-intl or --disable-intl was given.
3736if test "${enable_intl+set}" = set; then
3737 enableval="$enable_intl"
3738
3739 if test "$enableval" = yes; then
3740 ac_cv_use_intl='wxUSE_INTL=yes'
3741 else
3742 ac_cv_use_intl='wxUSE_INTL=no'
3743 fi
3744
3745else
3746
3747 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3748 if test "x$LINE" != x ; then
3749 eval "DEFAULT_$LINE"
3750 else
3751 no_cache=1
3752 fi
3753
3754 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3755
3756fi;
3757
3758 eval "$ac_cv_use_intl"
3759 if test "$no_cache" != 1; then
3760 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3761 fi
3762
3763 if test "$wxUSE_INTL" = yes; then
3764 echo "$as_me:$LINENO: result: yes" >&5
3765echo "${ECHO_T}yes" >&6
3766 else
3767 echo "$as_me:$LINENO: result: no" >&5
3768echo "${ECHO_T}no" >&6
3769 fi
3770
3771
3772 enablestring=
3773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3774echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3775 no_cache=0
3776 # Check whether --enable-config or --disable-config was given.
3777if test "${enable_config+set}" = set; then
3778 enableval="$enable_config"
3779
3780 if test "$enableval" = yes; then
3781 ac_cv_use_config='wxUSE_CONFIG=yes'
3782 else
3783 ac_cv_use_config='wxUSE_CONFIG=no'
3784 fi
3785
3786else
3787
3788 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3789 if test "x$LINE" != x ; then
3790 eval "DEFAULT_$LINE"
3791 else
3792 no_cache=1
3793 fi
3794
3795 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3796
3797fi;
3798
3799 eval "$ac_cv_use_config"
3800 if test "$no_cache" != 1; then
3801 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3802 fi
3803
3804 if test "$wxUSE_CONFIG" = yes; then
3805 echo "$as_me:$LINENO: result: yes" >&5
3806echo "${ECHO_T}yes" >&6
3807 else
3808 echo "$as_me:$LINENO: result: no" >&5
3809echo "${ECHO_T}no" >&6
3810 fi
3811
3812
3813
3814 enablestring=
3815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3816echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3817 no_cache=0
3818 # Check whether --enable-protocols or --disable-protocols was given.
3819if test "${enable_protocols+set}" = set; then
3820 enableval="$enable_protocols"
3821
3822 if test "$enableval" = yes; then
3823 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3824 else
3825 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3826 fi
3827
3828else
3829
3830 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3831 if test "x$LINE" != x ; then
3832 eval "DEFAULT_$LINE"
3833 else
3834 no_cache=1
3835 fi
3836
3837 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3838
3839fi;
3840
3841 eval "$ac_cv_use_protocols"
3842 if test "$no_cache" != 1; then
3843 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3844 fi
3845
3846 if test "$wxUSE_PROTOCOL" = yes; then
3847 echo "$as_me:$LINENO: result: yes" >&5
3848echo "${ECHO_T}yes" >&6
3849 else
3850 echo "$as_me:$LINENO: result: no" >&5
3851echo "${ECHO_T}no" >&6
3852 fi
3853
3854
3855 enablestring=
3856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3857echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3858 no_cache=0
3859 # Check whether --enable-ftp or --disable-ftp was given.
3860if test "${enable_ftp+set}" = set; then
3861 enableval="$enable_ftp"
3862
3863 if test "$enableval" = yes; then
3864 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3865 else
3866 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3867 fi
3868
3869else
3870
3871 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3872 if test "x$LINE" != x ; then
3873 eval "DEFAULT_$LINE"
3874 else
3875 no_cache=1
3876 fi
3877
3878 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3879
3880fi;
3881
3882 eval "$ac_cv_use_ftp"
3883 if test "$no_cache" != 1; then
3884 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3885 fi
3886
3887 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3888 echo "$as_me:$LINENO: result: yes" >&5
3889echo "${ECHO_T}yes" >&6
3890 else
3891 echo "$as_me:$LINENO: result: no" >&5
3892echo "${ECHO_T}no" >&6
3893 fi
3894
3895
3896 enablestring=
3897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3898echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3899 no_cache=0
3900 # Check whether --enable-http or --disable-http was given.
3901if test "${enable_http+set}" = set; then
3902 enableval="$enable_http"
3903
3904 if test "$enableval" = yes; then
3905 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
3906 else
3907 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
3908 fi
3909
3910else
3911
3912 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3913 if test "x$LINE" != x ; then
3914 eval "DEFAULT_$LINE"
3915 else
3916 no_cache=1
3917 fi
3918
3919 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3920
3921fi;
3922
3923 eval "$ac_cv_use_http"
3924 if test "$no_cache" != 1; then
3925 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3926 fi
3927
3928 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3929 echo "$as_me:$LINENO: result: yes" >&5
3930echo "${ECHO_T}yes" >&6
3931 else
3932 echo "$as_me:$LINENO: result: no" >&5
3933echo "${ECHO_T}no" >&6
3934 fi
3935
3936
3937 enablestring=
3938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
3939echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
3940 no_cache=0
3941 # Check whether --enable-fileproto or --disable-fileproto was given.
3942if test "${enable_fileproto+set}" = set; then
3943 enableval="$enable_fileproto"
3944
3945 if test "$enableval" = yes; then
3946 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
3947 else
3948 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
3949 fi
3950
3951else
3952
3953 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3954 if test "x$LINE" != x ; then
3955 eval "DEFAULT_$LINE"
3956 else
3957 no_cache=1
3958 fi
3959
3960 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3961
3962fi;
3963
3964 eval "$ac_cv_use_fileproto"
3965 if test "$no_cache" != 1; then
3966 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3967 fi
3968
3969 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3970 echo "$as_me:$LINENO: result: yes" >&5
3971echo "${ECHO_T}yes" >&6
3972 else
3973 echo "$as_me:$LINENO: result: no" >&5
3974echo "${ECHO_T}no" >&6
3975 fi
3976
3977
3978 enablestring=
3979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
3980echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
3981 no_cache=0
3982 # Check whether --enable-sockets or --disable-sockets was given.
3983if test "${enable_sockets+set}" = set; then
3984 enableval="$enable_sockets"
3985
3986 if test "$enableval" = yes; then
3987 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
3988 else
3989 ac_cv_use_sockets='wxUSE_SOCKETS=no'
3990 fi
3991
3992else
3993
3994 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3995 if test "x$LINE" != x ; then
3996 eval "DEFAULT_$LINE"
3997 else
3998 no_cache=1
3999 fi
4000
4001 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4002
4003fi;
4004
4005 eval "$ac_cv_use_sockets"
4006 if test "$no_cache" != 1; then
4007 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4008 fi
4009
4010 if test "$wxUSE_SOCKETS" = yes; then
4011 echo "$as_me:$LINENO: result: yes" >&5
4012echo "${ECHO_T}yes" >&6
4013 else
4014 echo "$as_me:$LINENO: result: no" >&5
4015echo "${ECHO_T}no" >&6
4016 fi
4017
4018
4019 enablestring=
4020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4021echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4022 no_cache=0
4023 # Check whether --enable-ole or --disable-ole was given.
4024if test "${enable_ole+set}" = set; then
4025 enableval="$enable_ole"
4026
4027 if test "$enableval" = yes; then
4028 ac_cv_use_ole='wxUSE_OLE=yes'
4029 else
4030 ac_cv_use_ole='wxUSE_OLE=no'
4031 fi
4032
4033else
4034
4035 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4036 if test "x$LINE" != x ; then
4037 eval "DEFAULT_$LINE"
4038 else
4039 no_cache=1
4040 fi
4041
4042 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4043
4044fi;
4045
4046 eval "$ac_cv_use_ole"
4047 if test "$no_cache" != 1; then
4048 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4049 fi
4050
4051 if test "$wxUSE_OLE" = yes; then
4052 echo "$as_me:$LINENO: result: yes" >&5
4053echo "${ECHO_T}yes" >&6
4054 else
4055 echo "$as_me:$LINENO: result: no" >&5
4056echo "${ECHO_T}no" >&6
4057 fi
4058
4059
4060 enablestring=
4061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4062echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4063 no_cache=0
4064 # Check whether --enable-dataobj or --disable-dataobj was given.
4065if test "${enable_dataobj+set}" = set; then
4066 enableval="$enable_dataobj"
4067
4068 if test "$enableval" = yes; then
4069 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4070 else
4071 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4072 fi
4073
4074else
4075
4076 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4077 if test "x$LINE" != x ; then
4078 eval "DEFAULT_$LINE"
4079 else
4080 no_cache=1
4081 fi
4082
4083 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4084
4085fi;
4086
4087 eval "$ac_cv_use_dataobj"
4088 if test "$no_cache" != 1; then
4089 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4090 fi
4091
4092 if test "$wxUSE_DATAOBJ" = yes; then
4093 echo "$as_me:$LINENO: result: yes" >&5
4094echo "${ECHO_T}yes" >&6
4095 else
4096 echo "$as_me:$LINENO: result: no" >&5
4097echo "${ECHO_T}no" >&6
4098 fi
4099
4100
4101
4102 enablestring=
4103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4104echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4105 no_cache=0
4106 # Check whether --enable-ipc or --disable-ipc was given.
4107if test "${enable_ipc+set}" = set; then
4108 enableval="$enable_ipc"
4109
4110 if test "$enableval" = yes; then
4111 ac_cv_use_ipc='wxUSE_IPC=yes'
4112 else
4113 ac_cv_use_ipc='wxUSE_IPC=no'
4114 fi
4115
4116else
4117
4118 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4119 if test "x$LINE" != x ; then
4120 eval "DEFAULT_$LINE"
4121 else
4122 no_cache=1
4123 fi
4124
4125 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4126
4127fi;
4128
4129 eval "$ac_cv_use_ipc"
4130 if test "$no_cache" != 1; then
4131 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4132 fi
4133
4134 if test "$wxUSE_IPC" = yes; then
4135 echo "$as_me:$LINENO: result: yes" >&5
4136echo "${ECHO_T}yes" >&6
4137 else
4138 echo "$as_me:$LINENO: result: no" >&5
4139echo "${ECHO_T}no" >&6
4140 fi
4141
4142
4143
4144 enablestring=
4145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4146echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4147 no_cache=0
4148 # Check whether --enable-cmdline or --disable-cmdline was given.
4149if test "${enable_cmdline+set}" = set; then
4150 enableval="$enable_cmdline"
4151
4152 if test "$enableval" = yes; then
4153 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4154 else
4155 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4156 fi
4157
4158else
4159
4160 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4161 if test "x$LINE" != x ; then
4162 eval "DEFAULT_$LINE"
4163 else
4164 no_cache=1
4165 fi
4166
4167 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4168
4169fi;
4170
4171 eval "$ac_cv_use_cmdline"
4172 if test "$no_cache" != 1; then
4173 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4174 fi
4175
4176 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4177 echo "$as_me:$LINENO: result: yes" >&5
4178echo "${ECHO_T}yes" >&6
4179 else
4180 echo "$as_me:$LINENO: result: no" >&5
4181echo "${ECHO_T}no" >&6
4182 fi
4183
4184
4185 enablestring=
4186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4187echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4188 no_cache=0
4189 # Check whether --enable-datetime or --disable-datetime was given.
4190if test "${enable_datetime+set}" = set; then
4191 enableval="$enable_datetime"
4192
4193 if test "$enableval" = yes; then
4194 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4195 else
4196 ac_cv_use_datetime='wxUSE_DATETIME=no'
4197 fi
4198
4199else
4200
4201 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4202 if test "x$LINE" != x ; then
4203 eval "DEFAULT_$LINE"
4204 else
4205 no_cache=1
4206 fi
4207
4208 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4209
4210fi;
4211
4212 eval "$ac_cv_use_datetime"
4213 if test "$no_cache" != 1; then
4214 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4215 fi
4216
4217 if test "$wxUSE_DATETIME" = yes; then
4218 echo "$as_me:$LINENO: result: yes" >&5
4219echo "${ECHO_T}yes" >&6
4220 else
4221 echo "$as_me:$LINENO: result: no" >&5
4222echo "${ECHO_T}no" >&6
4223 fi
4224
4225
4226 enablestring=
4227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4228echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4229 no_cache=0
4230 # Check whether --enable-stopwatch or --disable-stopwatch was given.
4231if test "${enable_stopwatch+set}" = set; then
4232 enableval="$enable_stopwatch"
4233
4234 if test "$enableval" = yes; then
4235 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
4236 else
4237 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
4238 fi
4239
4240else
4241
4242 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4243 if test "x$LINE" != x ; then
4244 eval "DEFAULT_$LINE"
4245 else
4246 no_cache=1
4247 fi
4248
4249 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
4250
4251fi;
4252
4253 eval "$ac_cv_use_stopwatch"
4254 if test "$no_cache" != 1; then
4255 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4256 fi
4257
4258 if test "$wxUSE_STOPWATCH" = yes; then
4259 echo "$as_me:$LINENO: result: yes" >&5
4260echo "${ECHO_T}yes" >&6
4261 else
4262 echo "$as_me:$LINENO: result: no" >&5
4263echo "${ECHO_T}no" >&6
4264 fi
4265
4266
4267 enablestring=
4268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4269echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4270 no_cache=0
4271 # Check whether --enable-dialupman or --disable-dialupman was given.
4272if test "${enable_dialupman+set}" = set; then
4273 enableval="$enable_dialupman"
4274
4275 if test "$enableval" = yes; then
4276 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4277 else
4278 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4279 fi
4280
4281else
4282
4283 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4284 if test "x$LINE" != x ; then
4285 eval "DEFAULT_$LINE"
4286 else
4287 no_cache=1
4288 fi
4289
4290 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4291
4292fi;
4293
4294 eval "$ac_cv_use_dialupman"
4295 if test "$no_cache" != 1; then
4296 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4297 fi
4298
4299 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4300 echo "$as_me:$LINENO: result: yes" >&5
4301echo "${ECHO_T}yes" >&6
4302 else
4303 echo "$as_me:$LINENO: result: no" >&5
4304echo "${ECHO_T}no" >&6
4305 fi
4306
4307
4308 enablestring=
4309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4310echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4311 no_cache=0
4312 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4313if test "${enable_apple_ieee+set}" = set; then
4314 enableval="$enable_apple_ieee"
4315
4316 if test "$enableval" = yes; then
4317 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4318 else
4319 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4320 fi
4321
4322else
4323
4324 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4325 if test "x$LINE" != x ; then
4326 eval "DEFAULT_$LINE"
4327 else
4328 no_cache=1
4329 fi
4330
4331 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4332
4333fi;
4334
4335 eval "$ac_cv_use_apple_ieee"
4336 if test "$no_cache" != 1; then
4337 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4338 fi
4339
4340 if test "$wxUSE_APPLE_IEEE" = yes; then
4341 echo "$as_me:$LINENO: result: yes" >&5
4342echo "${ECHO_T}yes" >&6
4343 else
4344 echo "$as_me:$LINENO: result: no" >&5
4345echo "${ECHO_T}no" >&6
4346 fi
4347
4348
4349 enablestring=
4350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
4351echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4352 no_cache=0
4353 # Check whether --enable-timer or --disable-timer was given.
4354if test "${enable_timer+set}" = set; then
4355 enableval="$enable_timer"
4356
4357 if test "$enableval" = yes; then
4358 ac_cv_use_timer='wxUSE_TIMER=yes'
4359 else
4360 ac_cv_use_timer='wxUSE_TIMER=no'
4361 fi
4362
4363else
4364
4365 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4366 if test "x$LINE" != x ; then
4367 eval "DEFAULT_$LINE"
4368 else
4369 no_cache=1
4370 fi
4371
4372 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
4373
4374fi;
4375
4376 eval "$ac_cv_use_timer"
4377 if test "$no_cache" != 1; then
4378 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4379 fi
4380
4381 if test "$wxUSE_TIMER" = yes; then
4382 echo "$as_me:$LINENO: result: yes" >&5
4383echo "${ECHO_T}yes" >&6
4384 else
4385 echo "$as_me:$LINENO: result: no" >&5
4386echo "${ECHO_T}no" >&6
4387 fi
4388
4389
4390 enablestring=
4391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
4392echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4393 no_cache=0
4394 # Check whether --enable-wave or --disable-wave was given.
4395if test "${enable_wave+set}" = set; then
4396 enableval="$enable_wave"
4397
4398 if test "$enableval" = yes; then
4399 ac_cv_use_wave='wxUSE_WAVE=yes'
4400 else
4401 ac_cv_use_wave='wxUSE_WAVE=no'
4402 fi
4403
4404else
4405
4406 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4407 if test "x$LINE" != x ; then
4408 eval "DEFAULT_$LINE"
4409 else
4410 no_cache=1
4411 fi
4412
4413 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
4414
4415fi;
4416
4417 eval "$ac_cv_use_wave"
4418 if test "$no_cache" != 1; then
4419 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4420 fi
4421
4422 if test "$wxUSE_WAVE" = yes; then
4423 echo "$as_me:$LINENO: result: yes" >&5
4424echo "${ECHO_T}yes" >&6
4425 else
4426 echo "$as_me:$LINENO: result: no" >&5
4427echo "${ECHO_T}no" >&6
4428 fi
4429
4430
4431 enablestring=
4432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fraction" >&5
4433echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4434 no_cache=0
4435 # Check whether --enable-fraction or --disable-fraction was given.
4436if test "${enable_fraction+set}" = set; then
4437 enableval="$enable_fraction"
4438
4439 if test "$enableval" = yes; then
4440 ac_cv_use_fraction='wxUSE_FRACTION=yes'
4441 else
4442 ac_cv_use_fraction='wxUSE_FRACTION=no'
4443 fi
4444
4445else
4446
4447 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4448 if test "x$LINE" != x ; then
4449 eval "DEFAULT_$LINE"
4450 else
4451 no_cache=1
4452 fi
4453
4454 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
4455
4456fi;
4457
4458 eval "$ac_cv_use_fraction"
4459 if test "$no_cache" != 1; then
4460 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4461 fi
4462
4463 if test "$wxUSE_FRACTION" = yes; then
4464 echo "$as_me:$LINENO: result: yes" >&5
4465echo "${ECHO_T}yes" >&6
4466 else
4467 echo "$as_me:$LINENO: result: no" >&5
4468echo "${ECHO_T}no" >&6
4469 fi
4470
4471
4472 enablestring=
4473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4474echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4475 no_cache=0
4476 # Check whether --enable-dynlib or --disable-dynlib was given.
4477if test "${enable_dynlib+set}" = set; then
4478 enableval="$enable_dynlib"
4479
4480 if test "$enableval" = yes; then
4481 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4482 else
4483 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4484 fi
4485
4486else
4487
4488 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4489 if test "x$LINE" != x ; then
4490 eval "DEFAULT_$LINE"
4491 else
4492 no_cache=1
4493 fi
4494
4495 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4496
4497fi;
4498
4499 eval "$ac_cv_use_dynlib"
4500 if test "$no_cache" != 1; then
4501 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4502 fi
4503
4504 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4505 echo "$as_me:$LINENO: result: yes" >&5
4506echo "${ECHO_T}yes" >&6
4507 else
4508 echo "$as_me:$LINENO: result: no" >&5
4509echo "${ECHO_T}no" >&6
4510 fi
4511
4512
4513 enablestring=
4514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4515echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4516 no_cache=0
4517 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4518if test "${enable_dynamicloader+set}" = set; then
4519 enableval="$enable_dynamicloader"
4520
4521 if test "$enableval" = yes; then
4522 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4523 else
4524 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4525 fi
4526
4527else
4528
4529 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4530 if test "x$LINE" != x ; then
4531 eval "DEFAULT_$LINE"
4532 else
4533 no_cache=1
4534 fi
4535
4536 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4537
4538fi;
4539
4540 eval "$ac_cv_use_dynamicloader"
4541 if test "$no_cache" != 1; then
4542 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4543 fi
4544
4545 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4546 echo "$as_me:$LINENO: result: yes" >&5
4547echo "${ECHO_T}yes" >&6
4548 else
4549 echo "$as_me:$LINENO: result: no" >&5
4550echo "${ECHO_T}no" >&6
4551 fi
4552
4553
4554 enablestring=
4555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4556echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4557 no_cache=0
4558 # Check whether --enable-longlong or --disable-longlong was given.
4559if test "${enable_longlong+set}" = set; then
4560 enableval="$enable_longlong"
4561
4562 if test "$enableval" = yes; then
4563 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
4564 else
4565 ac_cv_use_longlong='wxUSE_LONGLONG=no'
4566 fi
4567
4568else
4569
4570 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4571 if test "x$LINE" != x ; then
4572 eval "DEFAULT_$LINE"
4573 else
4574 no_cache=1
4575 fi
4576
4577 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4578
4579fi;
4580
4581 eval "$ac_cv_use_longlong"
4582 if test "$no_cache" != 1; then
4583 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4584 fi
4585
4586 if test "$wxUSE_LONGLONG" = yes; then
4587 echo "$as_me:$LINENO: result: yes" >&5
4588echo "${ECHO_T}yes" >&6
4589 else
4590 echo "$as_me:$LINENO: result: no" >&5
4591echo "${ECHO_T}no" >&6
4592 fi
4593
4594
4595 enablestring=
4596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4597echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4598 no_cache=0
4599 # Check whether --enable-geometry or --disable-geometry was given.
4600if test "${enable_geometry+set}" = set; then
4601 enableval="$enable_geometry"
4602
4603 if test "$enableval" = yes; then
4604 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4605 else
4606 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4607 fi
4608
4609else
4610
4611 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4612 if test "x$LINE" != x ; then
4613 eval "DEFAULT_$LINE"
4614 else
4615 no_cache=1
4616 fi
4617
4618 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4619
4620fi;
4621
4622 eval "$ac_cv_use_geometry"
4623 if test "$no_cache" != 1; then
4624 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4625 fi
4626
4627 if test "$wxUSE_GEOMETRY" = yes; then
4628 echo "$as_me:$LINENO: result: yes" >&5
4629echo "${ECHO_T}yes" >&6
4630 else
4631 echo "$as_me:$LINENO: result: no" >&5
4632echo "${ECHO_T}no" >&6
4633 fi
4634
4635
4636 enablestring=
4637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4638echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4639 no_cache=0
4640 # Check whether --enable-log or --disable-log was given.
4641if test "${enable_log+set}" = set; then
4642 enableval="$enable_log"
4643
4644 if test "$enableval" = yes; then
4645 ac_cv_use_log='wxUSE_LOG=yes'
4646 else
4647 ac_cv_use_log='wxUSE_LOG=no'
4648 fi
4649
4650else
4651
4652 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4653 if test "x$LINE" != x ; then
4654 eval "DEFAULT_$LINE"
4655 else
4656 no_cache=1
4657 fi
4658
4659 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4660
4661fi;
4662
4663 eval "$ac_cv_use_log"
4664 if test "$no_cache" != 1; then
4665 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4666 fi
4667
4668 if test "$wxUSE_LOG" = yes; then
4669 echo "$as_me:$LINENO: result: yes" >&5
4670echo "${ECHO_T}yes" >&6
4671 else
4672 echo "$as_me:$LINENO: result: no" >&5
4673echo "${ECHO_T}no" >&6
4674 fi
4675
4676
4677 enablestring=
4678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
4679echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4680 no_cache=0
4681 # Check whether --enable-streams or --disable-streams was given.
4682if test "${enable_streams+set}" = set; then
4683 enableval="$enable_streams"
4684
4685 if test "$enableval" = yes; then
4686 ac_cv_use_streams='wxUSE_STREAMS=yes'
4687 else
4688 ac_cv_use_streams='wxUSE_STREAMS=no'
4689 fi
4690
4691else
4692
4693 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4694 if test "x$LINE" != x ; then
4695 eval "DEFAULT_$LINE"
4696 else
4697 no_cache=1
4698 fi
4699
4700 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4701
4702fi;
4703
4704 eval "$ac_cv_use_streams"
4705 if test "$no_cache" != 1; then
4706 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4707 fi
4708
4709 if test "$wxUSE_STREAMS" = yes; then
4710 echo "$as_me:$LINENO: result: yes" >&5
4711echo "${ECHO_T}yes" >&6
4712 else
4713 echo "$as_me:$LINENO: result: no" >&5
4714echo "${ECHO_T}no" >&6
4715 fi
4716
4717
4718 enablestring=
4719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4720echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4721 no_cache=0
4722 # Check whether --enable-file or --disable-file was given.
4723if test "${enable_file+set}" = set; then
4724 enableval="$enable_file"
4725
4726 if test "$enableval" = yes; then
4727 ac_cv_use_file='wxUSE_FILE=yes'
4728 else
4729 ac_cv_use_file='wxUSE_FILE=no'
4730 fi
4731
4732else
4733
4734 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4735 if test "x$LINE" != x ; then
4736 eval "DEFAULT_$LINE"
4737 else
4738 no_cache=1
4739 fi
4740
4741 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4742
4743fi;
4744
4745 eval "$ac_cv_use_file"
4746 if test "$no_cache" != 1; then
4747 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4748 fi
4749
4750 if test "$wxUSE_FILE" = yes; then
4751 echo "$as_me:$LINENO: result: yes" >&5
4752echo "${ECHO_T}yes" >&6
4753 else
4754 echo "$as_me:$LINENO: result: no" >&5
4755echo "${ECHO_T}no" >&6
4756 fi
4757
4758
4759 enablestring=
4760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4761echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4762 no_cache=0
4763 # Check whether --enable-ffile or --disable-ffile was given.
4764if test "${enable_ffile+set}" = set; then
4765 enableval="$enable_ffile"
4766
4767 if test "$enableval" = yes; then
4768 ac_cv_use_ffile='wxUSE_FFILE=yes'
4769 else
4770 ac_cv_use_ffile='wxUSE_FFILE=no'
4771 fi
4772
4773else
4774
4775 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4776 if test "x$LINE" != x ; then
4777 eval "DEFAULT_$LINE"
4778 else
4779 no_cache=1
4780 fi
4781
4782 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4783
4784fi;
4785
4786 eval "$ac_cv_use_ffile"
4787 if test "$no_cache" != 1; then
4788 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4789 fi
4790
4791 if test "$wxUSE_FFILE" = yes; then
4792 echo "$as_me:$LINENO: result: yes" >&5
4793echo "${ECHO_T}yes" >&6
4794 else
4795 echo "$as_me:$LINENO: result: no" >&5
4796echo "${ECHO_T}no" >&6
4797 fi
4798
4799
4800 enablestring=
4801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
4802echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4803 no_cache=0
4804 # Check whether --enable-textbuf or --disable-textbuf was given.
4805if test "${enable_textbuf+set}" = set; then
4806 enableval="$enable_textbuf"
4807
4808 if test "$enableval" = yes; then
4809 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
4810 else
4811 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
4812 fi
4813
4814else
4815
4816 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4817 if test "x$LINE" != x ; then
4818 eval "DEFAULT_$LINE"
4819 else
4820 no_cache=1
4821 fi
4822
4823 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4824
4825fi;
4826
4827 eval "$ac_cv_use_textbuf"
4828 if test "$no_cache" != 1; then
4829 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4830 fi
4831
4832 if test "$wxUSE_TEXTBUFFER" = yes; then
4833 echo "$as_me:$LINENO: result: yes" >&5
4834echo "${ECHO_T}yes" >&6
4835 else
4836 echo "$as_me:$LINENO: result: no" >&5
4837echo "${ECHO_T}no" >&6
4838 fi
4839
4840
4841 enablestring=
4842 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
4843echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4844 no_cache=0
4845 # Check whether --enable-textfile or --disable-textfile was given.
4846if test "${enable_textfile+set}" = set; then
4847 enableval="$enable_textfile"
4848
4849 if test "$enableval" = yes; then
4850 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
4851 else
4852 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
4853 fi
4854
4855else
4856
4857 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4858 if test "x$LINE" != x ; then
4859 eval "DEFAULT_$LINE"
4860 else
4861 no_cache=1
4862 fi
4863
4864 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4865
4866fi;
4867
4868 eval "$ac_cv_use_textfile"
4869 if test "$no_cache" != 1; then
4870 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4871 fi
4872
4873 if test "$wxUSE_TEXTFILE" = yes; then
4874 echo "$as_me:$LINENO: result: yes" >&5
4875echo "${ECHO_T}yes" >&6
4876 else
4877 echo "$as_me:$LINENO: result: no" >&5
4878echo "${ECHO_T}no" >&6
4879 fi
4880
4881
4882 enablestring=
4883 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4884echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4885 no_cache=0
4886 # Check whether --enable-fontmap or --disable-fontmap was given.
4887if test "${enable_fontmap+set}" = set; then
4888 enableval="$enable_fontmap"
4889
4890 if test "$enableval" = yes; then
4891 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4892 else
4893 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4894 fi
4895
4896else
4897
4898 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4899 if test "x$LINE" != x ; then
4900 eval "DEFAULT_$LINE"
4901 else
4902 no_cache=1
4903 fi
4904
4905 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4906
4907fi;
4908
4909 eval "$ac_cv_use_fontmap"
4910 if test "$no_cache" != 1; then
4911 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4912 fi
4913
4914 if test "$wxUSE_FONTMAP" = yes; then
4915 echo "$as_me:$LINENO: result: yes" >&5
4916echo "${ECHO_T}yes" >&6
4917 else
4918 echo "$as_me:$LINENO: result: no" >&5
4919echo "${ECHO_T}no" >&6
4920 fi
4921
4922
4923 enablestring=
4924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4925echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
4926 no_cache=0
4927 # Check whether --enable-unicode or --disable-unicode was given.
4928if test "${enable_unicode+set}" = set; then
4929 enableval="$enable_unicode"
4930
4931 if test "$enableval" = yes; then
4932 ac_cv_use_unicode='wxUSE_UNICODE=yes'
4933 else
4934 ac_cv_use_unicode='wxUSE_UNICODE=no'
4935 fi
4936
4937else
4938
4939 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4940 if test "x$LINE" != x ; then
4941 eval "DEFAULT_$LINE"
4942 else
4943 no_cache=1
4944 fi
4945
4946 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4947
4948fi;
4949
4950 eval "$ac_cv_use_unicode"
4951 if test "$no_cache" != 1; then
4952 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4953 fi
4954
4955 if test "$wxUSE_UNICODE" = yes; then
4956 echo "$as_me:$LINENO: result: yes" >&5
4957echo "${ECHO_T}yes" >&6
4958 else
4959 echo "$as_me:$LINENO: result: no" >&5
4960echo "${ECHO_T}no" >&6
4961 fi
4962
4963
4964 enablestring=
4965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4966echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
4967 no_cache=0
4968 # Check whether --enable-mslu or --disable-mslu was given.
4969if test "${enable_mslu+set}" = set; then
4970 enableval="$enable_mslu"
4971
4972 if test "$enableval" = yes; then
4973 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4974 else
4975 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4976 fi
4977
4978else
4979
4980 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4981 if test "x$LINE" != x ; then
4982 eval "DEFAULT_$LINE"
4983 else
4984 no_cache=1
4985 fi
4986
4987 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4988
4989fi;
4990
4991 eval "$ac_cv_use_mslu"
4992 if test "$no_cache" != 1; then
4993 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4994 fi
4995
4996 if test "$wxUSE_UNICODE_MSLU" = yes; then
4997 echo "$as_me:$LINENO: result: yes" >&5
4998echo "${ECHO_T}yes" >&6
4999 else
5000 echo "$as_me:$LINENO: result: no" >&5
5001echo "${ECHO_T}no" >&6
5002 fi
5003
5004
5005 enablestring=
5006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5007echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5008 no_cache=0
5009 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5010if test "${enable_wxprintfv+set}" = set; then
5011 enableval="$enable_wxprintfv"
5012
5013 if test "$enableval" = yes; then
5014 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5015 else
5016 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5017 fi
5018
5019else
5020
5021 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5022 if test "x$LINE" != x ; then
5023 eval "DEFAULT_$LINE"
5024 else
5025 no_cache=1
5026 fi
5027
5028 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5029
5030fi;
5031
5032 eval "$ac_cv_use_wxprintfv"
5033 if test "$no_cache" != 1; then
5034 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5035 fi
5036
5037 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5038 echo "$as_me:$LINENO: result: yes" >&5
5039echo "${ECHO_T}yes" >&6
5040 else
5041 echo "$as_me:$LINENO: result: no" >&5
5042echo "${ECHO_T}no" >&6
5043 fi
5044
5045
5046 enablestring=
5047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5048echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5049 no_cache=0
5050 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5051if test "${enable_std_iostreams+set}" = set; then
5052 enableval="$enable_std_iostreams"
5053
5054 if test "$enableval" = yes; then
5055 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5056 else
5057 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5058 fi
5059
5060else
5061
5062 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5063 if test "x$LINE" != x ; then
5064 eval "DEFAULT_$LINE"
5065 else
5066 no_cache=1
5067 fi
5068
5069 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5070
5071fi;
5072
5073 eval "$ac_cv_use_std_iostreams"
5074 if test "$no_cache" != 1; then
5075 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5076 fi
5077
5078 if test "$wxUSE_STD_IOSTREAM" = yes; then
5079 echo "$as_me:$LINENO: result: yes" >&5
5080echo "${ECHO_T}yes" >&6
5081 else
5082 echo "$as_me:$LINENO: result: no" >&5
5083echo "${ECHO_T}no" >&6
5084 fi
5085
5086
5087 enablestring=
5088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5089echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5090 no_cache=0
5091 # Check whether --enable-filesystem or --disable-filesystem was given.
5092if test "${enable_filesystem+set}" = set; then
5093 enableval="$enable_filesystem"
5094
5095 if test "$enableval" = yes; then
5096 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5097 else
5098 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5099 fi
5100
5101else
5102
5103 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5104 if test "x$LINE" != x ; then
5105 eval "DEFAULT_$LINE"
5106 else
5107 no_cache=1
5108 fi
5109
5110 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5111
5112fi;
5113
5114 eval "$ac_cv_use_filesystem"
5115 if test "$no_cache" != 1; then
5116 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5117 fi
5118
5119 if test "$wxUSE_FILESYSTEM" = yes; then
5120 echo "$as_me:$LINENO: result: yes" >&5
5121echo "${ECHO_T}yes" >&6
5122 else
5123 echo "$as_me:$LINENO: result: no" >&5
5124echo "${ECHO_T}no" >&6
5125 fi
5126
5127
5128 enablestring=
5129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5130echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5131 no_cache=0
5132 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5133if test "${enable_fs_inet+set}" = set; then
5134 enableval="$enable_fs_inet"
5135
5136 if test "$enableval" = yes; then
5137 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5138 else
5139 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5140 fi
5141
5142else
5143
5144 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5145 if test "x$LINE" != x ; then
5146 eval "DEFAULT_$LINE"
5147 else
5148 no_cache=1
5149 fi
5150
5151 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5152
5153fi;
5154
5155 eval "$ac_cv_use_fs_inet"
5156 if test "$no_cache" != 1; then
5157 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5158 fi
5159
5160 if test "$wxUSE_FS_INET" = yes; then
5161 echo "$as_me:$LINENO: result: yes" >&5
5162echo "${ECHO_T}yes" >&6
5163 else
5164 echo "$as_me:$LINENO: result: no" >&5
5165echo "${ECHO_T}no" >&6
5166 fi
5167
5168
5169 enablestring=
5170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5171echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5172 no_cache=0
5173 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5174if test "${enable_fs_zip+set}" = set; then
5175 enableval="$enable_fs_zip"
5176
5177 if test "$enableval" = yes; then
5178 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5179 else
5180 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5181 fi
5182
5183else
5184
5185 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5186 if test "x$LINE" != x ; then
5187 eval "DEFAULT_$LINE"
5188 else
5189 no_cache=1
5190 fi
5191
5192 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5193
5194fi;
5195
5196 eval "$ac_cv_use_fs_zip"
5197 if test "$no_cache" != 1; then
5198 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5199 fi
5200
5201 if test "$wxUSE_FS_ZIP" = yes; then
5202 echo "$as_me:$LINENO: result: yes" >&5
5203echo "${ECHO_T}yes" >&6
5204 else
5205 echo "$as_me:$LINENO: result: no" >&5
5206echo "${ECHO_T}no" >&6
5207 fi
5208
5209
5210 enablestring=
5211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5212echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5213 no_cache=0
5214 # Check whether --enable-zipstream or --disable-zipstream was given.
5215if test "${enable_zipstream+set}" = set; then
5216 enableval="$enable_zipstream"
5217
5218 if test "$enableval" = yes; then
5219 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5220 else
5221 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5222 fi
5223
5224else
5225
5226 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5227 if test "x$LINE" != x ; then
5228 eval "DEFAULT_$LINE"
5229 else
5230 no_cache=1
5231 fi
5232
5233 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5234
5235fi;
5236
5237 eval "$ac_cv_use_zipstream"
5238 if test "$no_cache" != 1; then
5239 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5240 fi
5241
5242 if test "$wxUSE_ZIPSTREAM" = yes; then
5243 echo "$as_me:$LINENO: result: yes" >&5
5244echo "${ECHO_T}yes" >&6
5245 else
5246 echo "$as_me:$LINENO: result: no" >&5
5247echo "${ECHO_T}no" >&6
5248 fi
5249
5250
5251
5252 enablestring=
5253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5254echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5255 no_cache=0
5256 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5257if test "${enable_catch_segvs+set}" = set; then
5258 enableval="$enable_catch_segvs"
5259
5260 if test "$enableval" = yes; then
5261 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5262 else
5263 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5264 fi
5265
5266else
5267
5268 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5269 if test "x$LINE" != x ; then
5270 eval "DEFAULT_$LINE"
5271 else
5272 no_cache=1
5273 fi
5274
5275 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5276
5277fi;
5278
5279 eval "$ac_cv_use_catch_segvs"
5280 if test "$no_cache" != 1; then
5281 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5282 fi
5283
5284 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5285 echo "$as_me:$LINENO: result: yes" >&5
5286echo "${ECHO_T}yes" >&6
5287 else
5288 echo "$as_me:$LINENO: result: no" >&5
5289echo "${ECHO_T}no" >&6
5290 fi
5291
5292
5293 enablestring=
5294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5295echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5296 no_cache=0
5297 # Check whether --enable-snglinst or --disable-snglinst was given.
5298if test "${enable_snglinst+set}" = set; then
5299 enableval="$enable_snglinst"
5300
5301 if test "$enableval" = yes; then
5302 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5303 else
5304 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5305 fi
5306
5307else
5308
5309 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5310 if test "x$LINE" != x ; then
5311 eval "DEFAULT_$LINE"
5312 else
5313 no_cache=1
5314 fi
5315
5316 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5317
5318fi;
5319
5320 eval "$ac_cv_use_snglinst"
5321 if test "$no_cache" != 1; then
5322 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5323 fi
5324
5325 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5326 echo "$as_me:$LINENO: result: yes" >&5
5327echo "${ECHO_T}yes" >&6
5328 else
5329 echo "$as_me:$LINENO: result: no" >&5
5330echo "${ECHO_T}no" >&6
5331 fi
5332
5333
5334
5335 enablestring=
5336 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5337echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5338 no_cache=0
5339 # Check whether --enable-mimetype or --disable-mimetype was given.
5340if test "${enable_mimetype+set}" = set; then
5341 enableval="$enable_mimetype"
5342
5343 if test "$enableval" = yes; then
5344 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5345 else
5346 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5347 fi
5348
5349else
5350
5351 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5352 if test "x$LINE" != x ; then
5353 eval "DEFAULT_$LINE"
5354 else
5355 no_cache=1
5356 fi
5357
5358 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5359
5360fi;
5361
5362 eval "$ac_cv_use_mimetype"
5363 if test "$no_cache" != 1; then
5364 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5365 fi
5366
5367 if test "$wxUSE_MIMETYPE" = yes; then
5368 echo "$as_me:$LINENO: result: yes" >&5
5369echo "${ECHO_T}yes" >&6
5370 else
5371 echo "$as_me:$LINENO: result: no" >&5
5372echo "${ECHO_T}no" >&6
5373 fi
5374
5375
5376 enablestring=
5377 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5378echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5379 no_cache=0
5380 # Check whether --enable-system_options or --disable-system_options was given.
5381if test "${enable_system_options+set}" = set; then
5382 enableval="$enable_system_options"
5383
5384 if test "$enableval" = yes; then
5385 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5386 else
5387 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5388 fi
5389
5390else
5391
5392 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5393 if test "x$LINE" != x ; then
5394 eval "DEFAULT_$LINE"
5395 else
5396 no_cache=1
5397 fi
5398
5399 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5400
5401fi;
5402
5403 eval "$ac_cv_use_system_options"
5404 if test "$no_cache" != 1; then
5405 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5406 fi
5407
5408 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5409 echo "$as_me:$LINENO: result: yes" >&5
5410echo "${ECHO_T}yes" >&6
5411 else
5412 echo "$as_me:$LINENO: result: no" >&5
5413echo "${ECHO_T}no" >&6
5414 fi
5415
5416
5417
5418 enablestring=
5419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5420echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5421 no_cache=0
5422 # Check whether --enable-url or --disable-url was given.
5423if test "${enable_url+set}" = set; then
5424 enableval="$enable_url"
5425
5426 if test "$enableval" = yes; then
5427 ac_cv_use_url='wxUSE_URL=yes'
5428 else
5429 ac_cv_use_url='wxUSE_URL=no'
5430 fi
5431
5432else
5433
5434 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5435 if test "x$LINE" != x ; then
5436 eval "DEFAULT_$LINE"
5437 else
5438 no_cache=1
5439 fi
5440
5441 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5442
5443fi;
5444
5445 eval "$ac_cv_use_url"
5446 if test "$no_cache" != 1; then
5447 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5448 fi
5449
5450 if test "$wxUSE_URL" = yes; then
5451 echo "$as_me:$LINENO: result: yes" >&5
5452echo "${ECHO_T}yes" >&6
5453 else
5454 echo "$as_me:$LINENO: result: no" >&5
5455echo "${ECHO_T}no" >&6
5456 fi
5457
5458
5459 enablestring=
5460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5461echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5462 no_cache=0
5463 # Check whether --enable-protocol or --disable-protocol was given.
5464if test "${enable_protocol+set}" = set; then
5465 enableval="$enable_protocol"
5466
5467 if test "$enableval" = yes; then
5468 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5469 else
5470 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5471 fi
5472
5473else
5474
5475 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5476 if test "x$LINE" != x ; then
5477 eval "DEFAULT_$LINE"
5478 else
5479 no_cache=1
5480 fi
5481
5482 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5483
5484fi;
5485
5486 eval "$ac_cv_use_protocol"
5487 if test "$no_cache" != 1; then
5488 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5489 fi
5490
5491 if test "$wxUSE_PROTOCOL" = yes; then
5492 echo "$as_me:$LINENO: result: yes" >&5
5493echo "${ECHO_T}yes" >&6
5494 else
5495 echo "$as_me:$LINENO: result: no" >&5
5496echo "${ECHO_T}no" >&6
5497 fi
5498
5499
5500 enablestring=
5501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5502echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5503 no_cache=0
5504 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5505if test "${enable_protocol_http+set}" = set; then
5506 enableval="$enable_protocol_http"
5507
5508 if test "$enableval" = yes; then
5509 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5510 else
5511 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5512 fi
5513
5514else
5515
5516 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5517 if test "x$LINE" != x ; then
5518 eval "DEFAULT_$LINE"
5519 else
5520 no_cache=1
5521 fi
5522
5523 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5524
5525fi;
5526
5527 eval "$ac_cv_use_protocol_http"
5528 if test "$no_cache" != 1; then
5529 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5530 fi
5531
5532 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5533 echo "$as_me:$LINENO: result: yes" >&5
5534echo "${ECHO_T}yes" >&6
5535 else
5536 echo "$as_me:$LINENO: result: no" >&5
5537echo "${ECHO_T}no" >&6
5538 fi
5539
5540
5541 enablestring=
5542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5543echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5544 no_cache=0
5545 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5546if test "${enable_protocol_ftp+set}" = set; then
5547 enableval="$enable_protocol_ftp"
5548
5549 if test "$enableval" = yes; then
5550 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5551 else
5552 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5553 fi
5554
5555else
5556
5557 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5558 if test "x$LINE" != x ; then
5559 eval "DEFAULT_$LINE"
5560 else
5561 no_cache=1
5562 fi
5563
5564 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5565
5566fi;
5567
5568 eval "$ac_cv_use_protocol_ftp"
5569 if test "$no_cache" != 1; then
5570 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5571 fi
5572
5573 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5574 echo "$as_me:$LINENO: result: yes" >&5
5575echo "${ECHO_T}yes" >&6
5576 else
5577 echo "$as_me:$LINENO: result: no" >&5
5578echo "${ECHO_T}no" >&6
5579 fi
5580
5581
5582 enablestring=
5583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5584echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5585 no_cache=0
5586 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5587if test "${enable_protocol_file+set}" = set; then
5588 enableval="$enable_protocol_file"
5589
5590 if test "$enableval" = yes; then
5591 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5592 else
5593 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5594 fi
5595
5596else
5597
5598 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5599 if test "x$LINE" != x ; then
5600 eval "DEFAULT_$LINE"
5601 else
5602 no_cache=1
5603 fi
5604
5605 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5606
5607fi;
5608
5609 eval "$ac_cv_use_protocol_file"
5610 if test "$no_cache" != 1; then
5611 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5612 fi
5613
5614 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5615 echo "$as_me:$LINENO: result: yes" >&5
5616echo "${ECHO_T}yes" >&6
5617 else
5618 echo "$as_me:$LINENO: result: no" >&5
5619echo "${ECHO_T}no" >&6
5620 fi
5621
5622
5623
5624
5625
5626 enablestring=
5627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5628echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5629 no_cache=0
5630 # Check whether --enable-threads or --disable-threads was given.
5631if test "${enable_threads+set}" = set; then
5632 enableval="$enable_threads"
5633
5634 if test "$enableval" = yes; then
5635 ac_cv_use_threads='wxUSE_THREADS=yes'
5636 else
5637 ac_cv_use_threads='wxUSE_THREADS=no'
5638 fi
5639
5640else
5641
5642 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5643 if test "x$LINE" != x ; then
5644 eval "DEFAULT_$LINE"
5645 else
5646 no_cache=1
5647 fi
5648
5649 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5650
5651fi;
5652
5653 eval "$ac_cv_use_threads"
5654 if test "$no_cache" != 1; then
5655 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5656 fi
5657
5658 if test "$wxUSE_THREADS" = yes; then
5659 echo "$as_me:$LINENO: result: yes" >&5
5660echo "${ECHO_T}yes" >&6
5661 else
5662 echo "$as_me:$LINENO: result: no" >&5
5663echo "${ECHO_T}no" >&6
5664 fi
5665
5666
5667if test "$wxUSE_GUI" = "yes"; then
5668
5669
5670
5671 enablestring=
5672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5673echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5674 no_cache=0
5675 # Check whether --enable-docview or --disable-docview was given.
5676if test "${enable_docview+set}" = set; then
5677 enableval="$enable_docview"
5678
5679 if test "$enableval" = yes; then
5680 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5681 else
5682 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5683 fi
5684
5685else
5686
5687 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5688 if test "x$LINE" != x ; then
5689 eval "DEFAULT_$LINE"
5690 else
5691 no_cache=1
5692 fi
5693
5694 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5695
5696fi;
5697
5698 eval "$ac_cv_use_docview"
5699 if test "$no_cache" != 1; then
5700 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5701 fi
5702
5703 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5704 echo "$as_me:$LINENO: result: yes" >&5
5705echo "${ECHO_T}yes" >&6
5706 else
5707 echo "$as_me:$LINENO: result: no" >&5
5708echo "${ECHO_T}no" >&6
5709 fi
5710
5711
5712 enablestring=
5713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5714echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5715 no_cache=0
5716 # Check whether --enable-help or --disable-help was given.
5717if test "${enable_help+set}" = set; then
5718 enableval="$enable_help"
5719
5720 if test "$enableval" = yes; then
5721 ac_cv_use_help='wxUSE_HELP=yes'
5722 else
5723 ac_cv_use_help='wxUSE_HELP=no'
5724 fi
5725
5726else
5727
5728 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5729 if test "x$LINE" != x ; then
5730 eval "DEFAULT_$LINE"
5731 else
5732 no_cache=1
5733 fi
5734
5735 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5736
5737fi;
5738
5739 eval "$ac_cv_use_help"
5740 if test "$no_cache" != 1; then
5741 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5742 fi
5743
5744 if test "$wxUSE_HELP" = yes; then
5745 echo "$as_me:$LINENO: result: yes" >&5
5746echo "${ECHO_T}yes" >&6
5747 else
5748 echo "$as_me:$LINENO: result: no" >&5
5749echo "${ECHO_T}no" >&6
5750 fi
5751
5752
5753 enablestring=
5754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5755echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5756 no_cache=0
5757 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5758if test "${enable_mshtmlhelp+set}" = set; then
5759 enableval="$enable_mshtmlhelp"
5760
5761 if test "$enableval" = yes; then
5762 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5763 else
5764 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
5765 fi
5766
5767else
5768
5769 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5770 if test "x$LINE" != x ; then
5771 eval "DEFAULT_$LINE"
5772 else
5773 no_cache=1
5774 fi
5775
5776 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5777
5778fi;
5779
5780 eval "$ac_cv_use_mshtmlhelp"
5781 if test "$no_cache" != 1; then
5782 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5783 fi
5784
5785 if test "$wxUSE_MS_HTML_HELP" = yes; then
5786 echo "$as_me:$LINENO: result: yes" >&5
5787echo "${ECHO_T}yes" >&6
5788 else
5789 echo "$as_me:$LINENO: result: no" >&5
5790echo "${ECHO_T}no" >&6
5791 fi
5792
5793
5794 enablestring=
5795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5796echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5797 no_cache=0
5798 # Check whether --enable-html or --disable-html was given.
5799if test "${enable_html+set}" = set; then
5800 enableval="$enable_html"
5801
5802 if test "$enableval" = yes; then
5803 ac_cv_use_html='wxUSE_HTML=yes'
5804 else
5805 ac_cv_use_html='wxUSE_HTML=no'
5806 fi
5807
5808else
5809
5810 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5811 if test "x$LINE" != x ; then
5812 eval "DEFAULT_$LINE"
5813 else
5814 no_cache=1
5815 fi
5816
5817 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5818
5819fi;
5820
5821 eval "$ac_cv_use_html"
5822 if test "$no_cache" != 1; then
5823 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5824 fi
5825
5826 if test "$wxUSE_HTML" = yes; then
5827 echo "$as_me:$LINENO: result: yes" >&5
5828echo "${ECHO_T}yes" >&6
5829 else
5830 echo "$as_me:$LINENO: result: no" >&5
5831echo "${ECHO_T}no" >&6
5832 fi
5833
5834
5835 enablestring=
5836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5837echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5838 no_cache=0
5839 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5840if test "${enable_htmlhelp+set}" = set; then
5841 enableval="$enable_htmlhelp"
5842
5843 if test "$enableval" = yes; then
5844 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5845 else
5846 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5847 fi
5848
5849else
5850
5851 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5852 if test "x$LINE" != x ; then
5853 eval "DEFAULT_$LINE"
5854 else
5855 no_cache=1
5856 fi
5857
5858 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5859
5860fi;
5861
5862 eval "$ac_cv_use_htmlhelp"
5863 if test "$no_cache" != 1; then
5864 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5865 fi
5866
5867 if test "$wxUSE_WXHTML_HELP" = yes; then
5868 echo "$as_me:$LINENO: result: yes" >&5
5869echo "${ECHO_T}yes" >&6
5870 else
5871 echo "$as_me:$LINENO: result: no" >&5
5872echo "${ECHO_T}no" >&6
5873 fi
5874
5875
5876 enablestring=
5877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5878echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5879 no_cache=0
5880 # Check whether --enable-constraints or --disable-constraints was given.
5881if test "${enable_constraints+set}" = set; then
5882 enableval="$enable_constraints"
5883
5884 if test "$enableval" = yes; then
5885 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
5886 else
5887 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
5888 fi
5889
5890else
5891
5892 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5893 if test "x$LINE" != x ; then
5894 eval "DEFAULT_$LINE"
5895 else
5896 no_cache=1
5897 fi
5898
5899 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5900
5901fi;
5902
5903 eval "$ac_cv_use_constraints"
5904 if test "$no_cache" != 1; then
5905 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5906 fi
5907
5908 if test "$wxUSE_CONSTRAINTS" = yes; then
5909 echo "$as_me:$LINENO: result: yes" >&5
5910echo "${ECHO_T}yes" >&6
5911 else
5912 echo "$as_me:$LINENO: result: no" >&5
5913echo "${ECHO_T}no" >&6
5914 fi
5915
5916
5917 enablestring=
5918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5919echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5920 no_cache=0
5921 # Check whether --enable-printarch or --disable-printarch was given.
5922if test "${enable_printarch+set}" = set; then
5923 enableval="$enable_printarch"
5924
5925 if test "$enableval" = yes; then
5926 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
5927 else
5928 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
5929 fi
5930
5931else
5932
5933 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5934 if test "x$LINE" != x ; then
5935 eval "DEFAULT_$LINE"
5936 else
5937 no_cache=1
5938 fi
5939
5940 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5941
5942fi;
5943
5944 eval "$ac_cv_use_printarch"
5945 if test "$no_cache" != 1; then
5946 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5947 fi
5948
5949 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5950 echo "$as_me:$LINENO: result: yes" >&5
5951echo "${ECHO_T}yes" >&6
5952 else
5953 echo "$as_me:$LINENO: result: no" >&5
5954echo "${ECHO_T}no" >&6
5955 fi
5956
5957
5958 enablestring=
5959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
5960echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
5961 no_cache=0
5962 # Check whether --enable-mdi or --disable-mdi was given.
5963if test "${enable_mdi+set}" = set; then
5964 enableval="$enable_mdi"
5965
5966 if test "$enableval" = yes; then
5967 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
5968 else
5969 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
5970 fi
5971
5972else
5973
5974 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5975 if test "x$LINE" != x ; then
5976 eval "DEFAULT_$LINE"
5977 else
5978 no_cache=1
5979 fi
5980
5981 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5982
5983fi;
5984
5985 eval "$ac_cv_use_mdi"
5986 if test "$no_cache" != 1; then
5987 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5988 fi
5989
5990 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5991 echo "$as_me:$LINENO: result: yes" >&5
5992echo "${ECHO_T}yes" >&6
5993 else
5994 echo "$as_me:$LINENO: result: no" >&5
5995echo "${ECHO_T}no" >&6
5996 fi
5997
5998
5999 enablestring=
6000 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6001echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6002 no_cache=0
6003 # Check whether --enable-loggui or --disable-loggui was given.
6004if test "${enable_loggui+set}" = set; then
6005 enableval="$enable_loggui"
6006
6007 if test "$enableval" = yes; then
6008 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6009 else
6010 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6011 fi
6012
6013else
6014
6015 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6016 if test "x$LINE" != x ; then
6017 eval "DEFAULT_$LINE"
6018 else
6019 no_cache=1
6020 fi
6021
6022 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6023
6024fi;
6025
6026 eval "$ac_cv_use_loggui"
6027 if test "$no_cache" != 1; then
6028 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6029 fi
6030
6031 if test "$wxUSE_LOGGUI" = yes; then
6032 echo "$as_me:$LINENO: result: yes" >&5
6033echo "${ECHO_T}yes" >&6
6034 else
6035 echo "$as_me:$LINENO: result: no" >&5
6036echo "${ECHO_T}no" >&6
6037 fi
6038
6039
6040 enablestring=
6041 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6042echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6043 no_cache=0
6044 # Check whether --enable-logwin or --disable-logwin was given.
6045if test "${enable_logwin+set}" = set; then
6046 enableval="$enable_logwin"
6047
6048 if test "$enableval" = yes; then
6049 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6050 else
6051 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6052 fi
6053
6054else
6055
6056 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6057 if test "x$LINE" != x ; then
6058 eval "DEFAULT_$LINE"
6059 else
6060 no_cache=1
6061 fi
6062
6063 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6064
6065fi;
6066
6067 eval "$ac_cv_use_logwin"
6068 if test "$no_cache" != 1; then
6069 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6070 fi
6071
6072 if test "$wxUSE_LOGWINDOW" = yes; then
6073 echo "$as_me:$LINENO: result: yes" >&5
6074echo "${ECHO_T}yes" >&6
6075 else
6076 echo "$as_me:$LINENO: result: no" >&5
6077echo "${ECHO_T}no" >&6
6078 fi
6079
6080
6081 enablestring=
6082 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6083echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6084 no_cache=0
6085 # Check whether --enable-logdialog or --disable-logdialog was given.
6086if test "${enable_logdialog+set}" = set; then
6087 enableval="$enable_logdialog"
6088
6089 if test "$enableval" = yes; then
6090 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6091 else
6092 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6093 fi
6094
6095else
6096
6097 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6098 if test "x$LINE" != x ; then
6099 eval "DEFAULT_$LINE"
6100 else
6101 no_cache=1
6102 fi
6103
6104 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6105
6106fi;
6107
6108 eval "$ac_cv_use_logdialog"
6109 if test "$no_cache" != 1; then
6110 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6111 fi
6112
6113 if test "$wxUSE_LOGDIALOG" = yes; then
6114 echo "$as_me:$LINENO: result: yes" >&5
6115echo "${ECHO_T}yes" >&6
6116 else
6117 echo "$as_me:$LINENO: result: no" >&5
6118echo "${ECHO_T}no" >&6
6119 fi
6120
6121
6122
6123 enablestring=
6124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6125echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6126 no_cache=0
6127 # Check whether --enable-postscript or --disable-postscript was given.
6128if test "${enable_postscript+set}" = set; then
6129 enableval="$enable_postscript"
6130
6131 if test "$enableval" = yes; then
6132 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6133 else
6134 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6135 fi
6136
6137else
6138
6139 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6140 if test "x$LINE" != x ; then
6141 eval "DEFAULT_$LINE"
6142 else
6143 no_cache=1
6144 fi
6145
6146 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6147
6148fi;
6149
6150 eval "$ac_cv_use_postscript"
6151 if test "$no_cache" != 1; then
6152 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6153 fi
6154
6155 if test "$wxUSE_POSTSCRIPT" = yes; then
6156 echo "$as_me:$LINENO: result: yes" >&5
6157echo "${ECHO_T}yes" >&6
6158 else
6159 echo "$as_me:$LINENO: result: no" >&5
6160echo "${ECHO_T}no" >&6
6161 fi
6162
6163
6164
6165
6166
6167 enablestring=
6168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6169echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6170 no_cache=0
6171 # Check whether --enable-prologio or --disable-prologio was given.
6172if test "${enable_prologio+set}" = set; then
6173 enableval="$enable_prologio"
6174
6175 if test "$enableval" = yes; then
6176 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6177 else
6178 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6179 fi
6180
6181else
6182
6183 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6184 if test "x$LINE" != x ; then
6185 eval "DEFAULT_$LINE"
6186 else
6187 no_cache=1
6188 fi
6189
6190 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6191
6192fi;
6193
6194 eval "$ac_cv_use_prologio"
6195 if test "$no_cache" != 1; then
6196 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6197 fi
6198
6199 if test "$wxUSE_PROLOGIO" = yes; then
6200 echo "$as_me:$LINENO: result: yes" >&5
6201echo "${ECHO_T}yes" >&6
6202 else
6203 echo "$as_me:$LINENO: result: no" >&5
6204echo "${ECHO_T}no" >&6
6205 fi
6206
6207
6208 enablestring=
6209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6210echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6211 no_cache=0
6212 # Check whether --enable-resources or --disable-resources was given.
6213if test "${enable_resources+set}" = set; then
6214 enableval="$enable_resources"
6215
6216 if test "$enableval" = yes; then
6217 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6218 else
6219 ac_cv_use_resources='wxUSE_RESOURCES=no'
6220 fi
6221
6222else
6223
6224 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6225 if test "x$LINE" != x ; then
6226 eval "DEFAULT_$LINE"
6227 else
6228 no_cache=1
6229 fi
6230
6231 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6232
6233fi;
6234
6235 eval "$ac_cv_use_resources"
6236 if test "$no_cache" != 1; then
6237 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6238 fi
6239
6240 if test "$wxUSE_RESOURCES" = yes; then
6241 echo "$as_me:$LINENO: result: yes" >&5
6242echo "${ECHO_T}yes" >&6
6243 else
6244 echo "$as_me:$LINENO: result: no" >&5
6245echo "${ECHO_T}no" >&6
6246 fi
6247
6248
6249
6250
6251 enablestring=
6252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6253echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6254 no_cache=0
6255 # Check whether --enable-clipboard or --disable-clipboard was given.
6256if test "${enable_clipboard+set}" = set; then
6257 enableval="$enable_clipboard"
6258
6259 if test "$enableval" = yes; then
6260 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6261 else
6262 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6263 fi
6264
6265else
6266
6267 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6268 if test "x$LINE" != x ; then
6269 eval "DEFAULT_$LINE"
6270 else
6271 no_cache=1
6272 fi
6273
6274 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6275
6276fi;
6277
6278 eval "$ac_cv_use_clipboard"
6279 if test "$no_cache" != 1; then
6280 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6281 fi
6282
6283 if test "$wxUSE_CLIPBOARD" = yes; then
6284 echo "$as_me:$LINENO: result: yes" >&5
6285echo "${ECHO_T}yes" >&6
6286 else
6287 echo "$as_me:$LINENO: result: no" >&5
6288echo "${ECHO_T}no" >&6
6289 fi
6290
6291
6292 enablestring=
6293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6294echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6295 no_cache=0
6296 # Check whether --enable-dnd or --disable-dnd was given.
6297if test "${enable_dnd+set}" = set; then
6298 enableval="$enable_dnd"
6299
6300 if test "$enableval" = yes; then
6301 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6302 else
6303 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6304 fi
6305
6306else
6307
6308 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6309 if test "x$LINE" != x ; then
6310 eval "DEFAULT_$LINE"
6311 else
6312 no_cache=1
6313 fi
6314
6315 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6316
6317fi;
6318
6319 eval "$ac_cv_use_dnd"
6320 if test "$no_cache" != 1; then
6321 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6322 fi
6323
6324 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6325 echo "$as_me:$LINENO: result: yes" >&5
6326echo "${ECHO_T}yes" >&6
6327 else
6328 echo "$as_me:$LINENO: result: no" >&5
6329echo "${ECHO_T}no" >&6
6330 fi
6331
6332
6333 enablestring=
6334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6335echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6336 no_cache=0
6337 # Check whether --enable-metafile or --disable-metafile was given.
6338if test "${enable_metafile+set}" = set; then
6339 enableval="$enable_metafile"
6340
6341 if test "$enableval" = yes; then
6342 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6343 else
6344 ac_cv_use_metafile='wxUSE_METAFILE=no'
6345 fi
6346
6347else
6348
6349 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6350 if test "x$LINE" != x ; then
6351 eval "DEFAULT_$LINE"
6352 else
6353 no_cache=1
6354 fi
6355
6356 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6357
6358fi;
6359
6360 eval "$ac_cv_use_metafile"
6361 if test "$no_cache" != 1; then
6362 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6363 fi
6364
6365 if test "$wxUSE_METAFILE" = yes; then
6366 echo "$as_me:$LINENO: result: yes" >&5
6367echo "${ECHO_T}yes" >&6
6368 else
6369 echo "$as_me:$LINENO: result: no" >&5
6370echo "${ECHO_T}no" >&6
6371 fi
6372
6373
6374
6375
6376
6377 enablestring=
6378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6379echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6380 no_cache=0
6381 # Check whether --enable-controls or --disable-controls was given.
6382if test "${enable_controls+set}" = set; then
6383 enableval="$enable_controls"
6384
6385 if test "$enableval" = yes; then
6386 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6387 else
6388 ac_cv_use_controls='wxUSE_CONTROLS=no'
6389 fi
6390
6391else
6392
6393 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6394 if test "x$LINE" != x ; then
6395 eval "DEFAULT_$LINE"
6396 else
6397 no_cache=1
6398 fi
6399
6400 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6401
6402fi;
6403
6404 eval "$ac_cv_use_controls"
6405 if test "$no_cache" != 1; then
6406 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6407 fi
6408
6409 if test "$wxUSE_CONTROLS" = yes; then
6410 echo "$as_me:$LINENO: result: yes" >&5
6411echo "${ECHO_T}yes" >&6
6412 else
6413 echo "$as_me:$LINENO: result: no" >&5
6414echo "${ECHO_T}no" >&6
6415 fi
6416
6417
6418if test "$wxUSE_CONTROLS" = "yes"; then
6419 DEFAULT_wxUSE_ACCEL=yes
6420 DEFAULT_wxUSE_BMPBUTTON=yes
6421 DEFAULT_wxUSE_BUTTON=yes
6422 DEFAULT_wxUSE_CALCTRL=no
6423 DEFAULT_wxUSE_CARET=yes
6424 DEFAULT_wxUSE_COMBOBOX=yes
6425 DEFAULT_wxUSE_CHECKBOX=yes
6426 DEFAULT_wxUSE_CHECKLISTBOX=yes
6427 DEFAULT_wxUSE_CHOICE=yes
6428 DEFAULT_wxUSE_GAUGE=yes
6429 DEFAULT_wxUSE_GRID=yes
6430 DEFAULT_wxUSE_IMAGLIST=yes
6431 DEFAULT_wxUSE_LISTBOX=yes
6432 DEFAULT_wxUSE_LISTCTRL=yes
6433 DEFAULT_wxUSE_NOTEBOOK=yes
6434 DEFAULT_wxUSE_RADIOBOX=yes
6435 DEFAULT_wxUSE_RADIOBTN=yes
6436 DEFAULT_wxUSE_SASH=yes
6437 DEFAULT_wxUSE_SCROLLBAR=yes
6438 DEFAULT_wxUSE_SLIDER=yes
6439 DEFAULT_wxUSE_SPINBTN=yes
6440 DEFAULT_wxUSE_SPINCTRL=yes
6441 DEFAULT_wxUSE_SPLITTER=yes
6442 DEFAULT_wxUSE_STATBMP=yes
6443 DEFAULT_wxUSE_STATBOX=yes
6444 DEFAULT_wxUSE_STATLINE=yes
6445 DEFAULT_wxUSE_STATUSBAR=yes
6446 DEFAULT_wxUSE_TAB_DIALOG=yes
6447 DEFAULT_wxUSE_TOGGLEBTN=yes
6448 DEFAULT_wxUSE_TOOLBAR=yes
6449 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6450 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6451 DEFAULT_wxUSE_TOOLTIPS=yes
6452 DEFAULT_wxUSE_TREECTRL=yes
6453 DEFAULT_wxUSE_POPUPWIN=yes
6454 DEFAULT_wxUSE_TIPWINDOW=yes
6455elif test "$wxUSE_CONTROLS" = "no"; then
6456 DEFAULT_wxUSE_ACCEL=no
6457 DEFAULT_wxUSE_BMPBUTTON=no
6458 DEFAULT_wxUSE_BUTTON=no
6459 DEFAULT_wxUSE_CALCTRL=no
6460 DEFAULT_wxUSE_CARET=no
6461 DEFAULT_wxUSE_COMBOBOX=no
6462 DEFAULT_wxUSE_CHECKBOX=no
6463 DEFAULT_wxUSE_CHECKLISTBOX=no
6464 DEFAULT_wxUSE_CHOICE=no
6465 DEFAULT_wxUSE_GAUGE=no
6466 DEFAULT_wxUSE_GRID=no
6467 DEFAULT_wxUSE_IMAGLIST=no
6468 DEFAULT_wxUSE_LISTBOX=no
6469 DEFAULT_wxUSE_LISTCTRL=no
6470 DEFAULT_wxUSE_NOTEBOOK=no
6471 DEFAULT_wxUSE_RADIOBOX=no
6472 DEFAULT_wxUSE_RADIOBTN=no
6473 DEFAULT_wxUSE_SASH=no
6474 DEFAULT_wxUSE_SCROLLBAR=no
6475 DEFAULT_wxUSE_SLIDER=no
6476 DEFAULT_wxUSE_SPINBTN=no
6477 DEFAULT_wxUSE_SPINCTRL=no
6478 DEFAULT_wxUSE_SPLITTER=no
6479 DEFAULT_wxUSE_STATBMP=no
6480 DEFAULT_wxUSE_STATBOX=no
6481 DEFAULT_wxUSE_STATLINE=no
6482 DEFAULT_wxUSE_STATUSBAR=no
6483 DEFAULT_wxUSE_TAB_DIALOG=no
6484 DEFAULT_wxUSE_TOGGLEBTN=no
6485 DEFAULT_wxUSE_TOOLBAR=no
6486 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6487 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6488 DEFAULT_wxUSE_TOOLTIPS=no
6489 DEFAULT_wxUSE_TREECTRL=no
6490 DEFAULT_wxUSE_POPUPWIN=no
6491 DEFAULT_wxUSE_TIPWINDOW=no
6492fi
6493
6494## FIXME: This is a blatant hack
6495if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6496 wxUSE_PRINTING_ARCHITECTURE=no
6497 wxUSE_HELP=no
6498 wxUSE_CLIPBOARD=no
6499 wxUSE_DRAG_AND_DROP=no
6500 wxUSE_DATAOBJ=no
6501 # Generic notebook requires tab dialog
6502 DEFAULT_wxUSE_TABDIALOG=yes
6503 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6504 DEFAULT_wxUSE_GAUGE=no
6505 DEFAULT_wxUSE_SCROLLBAR=no
6506 DEFAULT_wxUSE_COMBOBOX=no
6507 DEFAULT_wxUSE_CALCTRL=no
6508 DEFAULT_wxUSE_SPINBTN=no
6509 DEFAULT_wxUSE_SPINCTRL=no
6510 DEFAULT_wxUSE_TOOLTIPS=no
6511 DEFAULT_wxUSE_DRAGIMAGE=no
6512 DEFAULT_wxUSE_PROGRESSDLG=no
6513fi
6514
6515
6516 enablestring=
6517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6518echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6519 no_cache=0
6520 # Check whether --enable-accel or --disable-accel was given.
6521if test "${enable_accel+set}" = set; then
6522 enableval="$enable_accel"
6523
6524 if test "$enableval" = yes; then
6525 ac_cv_use_accel='wxUSE_ACCEL=yes'
6526 else
6527 ac_cv_use_accel='wxUSE_ACCEL=no'
6528 fi
6529
6530else
6531
6532 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6533 if test "x$LINE" != x ; then
6534 eval "DEFAULT_$LINE"
6535 else
6536 no_cache=1
6537 fi
6538
6539 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6540
6541fi;
6542
6543 eval "$ac_cv_use_accel"
6544 if test "$no_cache" != 1; then
6545 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6546 fi
6547
6548 if test "$wxUSE_ACCEL" = yes; then
6549 echo "$as_me:$LINENO: result: yes" >&5
6550echo "${ECHO_T}yes" >&6
6551 else
6552 echo "$as_me:$LINENO: result: no" >&5
6553echo "${ECHO_T}no" >&6
6554 fi
6555
6556
6557 enablestring=
6558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6559echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6560 no_cache=0
6561 # Check whether --enable-button or --disable-button was given.
6562if test "${enable_button+set}" = set; then
6563 enableval="$enable_button"
6564
6565 if test "$enableval" = yes; then
6566 ac_cv_use_button='wxUSE_BUTTON=yes'
6567 else
6568 ac_cv_use_button='wxUSE_BUTTON=no'
6569 fi
6570
6571else
6572
6573 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6574 if test "x$LINE" != x ; then
6575 eval "DEFAULT_$LINE"
6576 else
6577 no_cache=1
6578 fi
6579
6580 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6581
6582fi;
6583
6584 eval "$ac_cv_use_button"
6585 if test "$no_cache" != 1; then
6586 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6587 fi
6588
6589 if test "$wxUSE_BUTTON" = yes; then
6590 echo "$as_me:$LINENO: result: yes" >&5
6591echo "${ECHO_T}yes" >&6
6592 else
6593 echo "$as_me:$LINENO: result: no" >&5
6594echo "${ECHO_T}no" >&6
6595 fi
6596
6597
6598 enablestring=
6599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6600echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6601 no_cache=0
6602 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6603if test "${enable_bmpbutton+set}" = set; then
6604 enableval="$enable_bmpbutton"
6605
6606 if test "$enableval" = yes; then
6607 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6608 else
6609 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6610 fi
6611
6612else
6613
6614 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6615 if test "x$LINE" != x ; then
6616 eval "DEFAULT_$LINE"
6617 else
6618 no_cache=1
6619 fi
6620
6621 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6622
6623fi;
6624
6625 eval "$ac_cv_use_bmpbutton"
6626 if test "$no_cache" != 1; then
6627 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6628 fi
6629
6630 if test "$wxUSE_BMPBUTTON" = yes; then
6631 echo "$as_me:$LINENO: result: yes" >&5
6632echo "${ECHO_T}yes" >&6
6633 else
6634 echo "$as_me:$LINENO: result: no" >&5
6635echo "${ECHO_T}no" >&6
6636 fi
6637
6638
6639 enablestring=
6640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6641echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6642 no_cache=0
6643 # Check whether --enable-calendar or --disable-calendar was given.
6644if test "${enable_calendar+set}" = set; then
6645 enableval="$enable_calendar"
6646
6647 if test "$enableval" = yes; then
6648 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6649 else
6650 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6651 fi
6652
6653else
6654
6655 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6656 if test "x$LINE" != x ; then
6657 eval "DEFAULT_$LINE"
6658 else
6659 no_cache=1
6660 fi
6661
6662 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6663
6664fi;
6665
6666 eval "$ac_cv_use_calendar"
6667 if test "$no_cache" != 1; then
6668 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6669 fi
6670
6671 if test "$wxUSE_CALCTRL" = yes; then
6672 echo "$as_me:$LINENO: result: yes" >&5
6673echo "${ECHO_T}yes" >&6
6674 else
6675 echo "$as_me:$LINENO: result: no" >&5
6676echo "${ECHO_T}no" >&6
6677 fi
6678
6679
6680 enablestring=
6681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6682echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6683 no_cache=0
6684 # Check whether --enable-caret or --disable-caret was given.
6685if test "${enable_caret+set}" = set; then
6686 enableval="$enable_caret"
6687
6688 if test "$enableval" = yes; then
6689 ac_cv_use_caret='wxUSE_CARET=yes'
6690 else
6691 ac_cv_use_caret='wxUSE_CARET=no'
6692 fi
6693
6694else
6695
6696 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6697 if test "x$LINE" != x ; then
6698 eval "DEFAULT_$LINE"
6699 else
6700 no_cache=1
6701 fi
6702
6703 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6704
6705fi;
6706
6707 eval "$ac_cv_use_caret"
6708 if test "$no_cache" != 1; then
6709 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6710 fi
6711
6712 if test "$wxUSE_CARET" = yes; then
6713 echo "$as_me:$LINENO: result: yes" >&5
6714echo "${ECHO_T}yes" >&6
6715 else
6716 echo "$as_me:$LINENO: result: no" >&5
6717echo "${ECHO_T}no" >&6
6718 fi
6719
6720
6721 enablestring=
6722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6723echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6724 no_cache=0
6725 # Check whether --enable-checkbox or --disable-checkbox was given.
6726if test "${enable_checkbox+set}" = set; then
6727 enableval="$enable_checkbox"
6728
6729 if test "$enableval" = yes; then
6730 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6731 else
6732 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6733 fi
6734
6735else
6736
6737 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6738 if test "x$LINE" != x ; then
6739 eval "DEFAULT_$LINE"
6740 else
6741 no_cache=1
6742 fi
6743
6744 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6745
6746fi;
6747
6748 eval "$ac_cv_use_checkbox"
6749 if test "$no_cache" != 1; then
6750 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6751 fi
6752
6753 if test "$wxUSE_CHECKBOX" = yes; then
6754 echo "$as_me:$LINENO: result: yes" >&5
6755echo "${ECHO_T}yes" >&6
6756 else
6757 echo "$as_me:$LINENO: result: no" >&5
6758echo "${ECHO_T}no" >&6
6759 fi
6760
6761
6762 enablestring=
6763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6764echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6765 no_cache=0
6766 # Check whether --enable-checklst or --disable-checklst was given.
6767if test "${enable_checklst+set}" = set; then
6768 enableval="$enable_checklst"
6769
6770 if test "$enableval" = yes; then
6771 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6772 else
6773 ac_cv_use_checklst='wxUSE_CHECKLST=no'
6774 fi
6775
6776else
6777
6778 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6779 if test "x$LINE" != x ; then
6780 eval "DEFAULT_$LINE"
6781 else
6782 no_cache=1
6783 fi
6784
6785 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6786
6787fi;
6788
6789 eval "$ac_cv_use_checklst"
6790 if test "$no_cache" != 1; then
6791 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6792 fi
6793
6794 if test "$wxUSE_CHECKLST" = yes; then
6795 echo "$as_me:$LINENO: result: yes" >&5
6796echo "${ECHO_T}yes" >&6
6797 else
6798 echo "$as_me:$LINENO: result: no" >&5
6799echo "${ECHO_T}no" >&6
6800 fi
6801
6802
6803 enablestring=
6804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6805echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6806 no_cache=0
6807 # Check whether --enable-choice or --disable-choice was given.
6808if test "${enable_choice+set}" = set; then
6809 enableval="$enable_choice"
6810
6811 if test "$enableval" = yes; then
6812 ac_cv_use_choice='wxUSE_CHOICE=yes'
6813 else
6814 ac_cv_use_choice='wxUSE_CHOICE=no'
6815 fi
6816
6817else
6818
6819 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6820 if test "x$LINE" != x ; then
6821 eval "DEFAULT_$LINE"
6822 else
6823 no_cache=1
6824 fi
6825
6826 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6827
6828fi;
6829
6830 eval "$ac_cv_use_choice"
6831 if test "$no_cache" != 1; then
6832 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6833 fi
6834
6835 if test "$wxUSE_CHOICE" = yes; then
6836 echo "$as_me:$LINENO: result: yes" >&5
6837echo "${ECHO_T}yes" >&6
6838 else
6839 echo "$as_me:$LINENO: result: no" >&5
6840echo "${ECHO_T}no" >&6
6841 fi
6842
6843
6844 enablestring=
6845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6846echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6847 no_cache=0
6848 # Check whether --enable-combobox or --disable-combobox was given.
6849if test "${enable_combobox+set}" = set; then
6850 enableval="$enable_combobox"
6851
6852 if test "$enableval" = yes; then
6853 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6854 else
6855 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6856 fi
6857
6858else
6859
6860 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6861 if test "x$LINE" != x ; then
6862 eval "DEFAULT_$LINE"
6863 else
6864 no_cache=1
6865 fi
6866
6867 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6868
6869fi;
6870
6871 eval "$ac_cv_use_combobox"
6872 if test "$no_cache" != 1; then
6873 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6874 fi
6875
6876 if test "$wxUSE_COMBOBOX" = yes; then
6877 echo "$as_me:$LINENO: result: yes" >&5
6878echo "${ECHO_T}yes" >&6
6879 else
6880 echo "$as_me:$LINENO: result: no" >&5
6881echo "${ECHO_T}no" >&6
6882 fi
6883
6884
6885 enablestring=
6886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6887echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6888 no_cache=0
6889 # Check whether --enable-display or --disable-display was given.
6890if test "${enable_display+set}" = set; then
6891 enableval="$enable_display"
6892
6893 if test "$enableval" = yes; then
6894 ac_cv_use_display='wxUSE_DISPLAY=yes'
6895 else
6896 ac_cv_use_display='wxUSE_DISPLAY=no'
6897 fi
6898
6899else
6900
6901 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6902 if test "x$LINE" != x ; then
6903 eval "DEFAULT_$LINE"
6904 else
6905 no_cache=1
6906 fi
6907
6908 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6909
6910fi;
6911
6912 eval "$ac_cv_use_display"
6913 if test "$no_cache" != 1; then
6914 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6915 fi
6916
6917 if test "$wxUSE_DISPLAY" = yes; then
6918 echo "$as_me:$LINENO: result: yes" >&5
6919echo "${ECHO_T}yes" >&6
6920 else
6921 echo "$as_me:$LINENO: result: no" >&5
6922echo "${ECHO_T}no" >&6
6923 fi
6924
6925
6926 enablestring=
6927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6928echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6929 no_cache=0
6930 # Check whether --enable-gauge or --disable-gauge was given.
6931if test "${enable_gauge+set}" = set; then
6932 enableval="$enable_gauge"
6933
6934 if test "$enableval" = yes; then
6935 ac_cv_use_gauge='wxUSE_GAUGE=yes'
6936 else
6937 ac_cv_use_gauge='wxUSE_GAUGE=no'
6938 fi
6939
6940else
6941
6942 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6943 if test "x$LINE" != x ; then
6944 eval "DEFAULT_$LINE"
6945 else
6946 no_cache=1
6947 fi
6948
6949 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6950
6951fi;
6952
6953 eval "$ac_cv_use_gauge"
6954 if test "$no_cache" != 1; then
6955 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6956 fi
6957
6958 if test "$wxUSE_GAUGE" = yes; then
6959 echo "$as_me:$LINENO: result: yes" >&5
6960echo "${ECHO_T}yes" >&6
6961 else
6962 echo "$as_me:$LINENO: result: no" >&5
6963echo "${ECHO_T}no" >&6
6964 fi
6965
6966
6967 enablestring=
6968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
6969echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
6970 no_cache=0
6971 # Check whether --enable-grid or --disable-grid was given.
6972if test "${enable_grid+set}" = set; then
6973 enableval="$enable_grid"
6974
6975 if test "$enableval" = yes; then
6976 ac_cv_use_grid='wxUSE_GRID=yes'
6977 else
6978 ac_cv_use_grid='wxUSE_GRID=no'
6979 fi
6980
6981else
6982
6983 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6984 if test "x$LINE" != x ; then
6985 eval "DEFAULT_$LINE"
6986 else
6987 no_cache=1
6988 fi
6989
6990 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6991
6992fi;
6993
6994 eval "$ac_cv_use_grid"
6995 if test "$no_cache" != 1; then
6996 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6997 fi
6998
6999 if test "$wxUSE_GRID" = yes; then
7000 echo "$as_me:$LINENO: result: yes" >&5
7001echo "${ECHO_T}yes" >&6
7002 else
7003 echo "$as_me:$LINENO: result: no" >&5
7004echo "${ECHO_T}no" >&6
7005 fi
7006
7007
7008 enablestring=
7009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7010echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7011 no_cache=0
7012 # Check whether --enable-imaglist or --disable-imaglist was given.
7013if test "${enable_imaglist+set}" = set; then
7014 enableval="$enable_imaglist"
7015
7016 if test "$enableval" = yes; then
7017 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7018 else
7019 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7020 fi
7021
7022else
7023
7024 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7025 if test "x$LINE" != x ; then
7026 eval "DEFAULT_$LINE"
7027 else
7028 no_cache=1
7029 fi
7030
7031 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7032
7033fi;
7034
7035 eval "$ac_cv_use_imaglist"
7036 if test "$no_cache" != 1; then
7037 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7038 fi
7039
7040 if test "$wxUSE_IMAGLIST" = yes; then
7041 echo "$as_me:$LINENO: result: yes" >&5
7042echo "${ECHO_T}yes" >&6
7043 else
7044 echo "$as_me:$LINENO: result: no" >&5
7045echo "${ECHO_T}no" >&6
7046 fi
7047
7048
7049 enablestring=
7050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7051echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7052 no_cache=0
7053 # Check whether --enable-listbox or --disable-listbox was given.
7054if test "${enable_listbox+set}" = set; then
7055 enableval="$enable_listbox"
7056
7057 if test "$enableval" = yes; then
7058 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7059 else
7060 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7061 fi
7062
7063else
7064
7065 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7066 if test "x$LINE" != x ; then
7067 eval "DEFAULT_$LINE"
7068 else
7069 no_cache=1
7070 fi
7071
7072 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7073
7074fi;
7075
7076 eval "$ac_cv_use_listbox"
7077 if test "$no_cache" != 1; then
7078 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7079 fi
7080
7081 if test "$wxUSE_LISTBOX" = yes; then
7082 echo "$as_me:$LINENO: result: yes" >&5
7083echo "${ECHO_T}yes" >&6
7084 else
7085 echo "$as_me:$LINENO: result: no" >&5
7086echo "${ECHO_T}no" >&6
7087 fi
7088
7089
7090 enablestring=
7091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7092echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7093 no_cache=0
7094 # Check whether --enable-listctrl or --disable-listctrl was given.
7095if test "${enable_listctrl+set}" = set; then
7096 enableval="$enable_listctrl"
7097
7098 if test "$enableval" = yes; then
7099 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7100 else
7101 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7102 fi
7103
7104else
7105
7106 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7107 if test "x$LINE" != x ; then
7108 eval "DEFAULT_$LINE"
7109 else
7110 no_cache=1
7111 fi
7112
7113 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7114
7115fi;
7116
7117 eval "$ac_cv_use_listctrl"
7118 if test "$no_cache" != 1; then
7119 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7120 fi
7121
7122 if test "$wxUSE_LISTCTRL" = yes; then
7123 echo "$as_me:$LINENO: result: yes" >&5
7124echo "${ECHO_T}yes" >&6
7125 else
7126 echo "$as_me:$LINENO: result: no" >&5
7127echo "${ECHO_T}no" >&6
7128 fi
7129
7130
7131 enablestring=
7132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7133echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7134 no_cache=0
7135 # Check whether --enable-notebook or --disable-notebook was given.
7136if test "${enable_notebook+set}" = set; then
7137 enableval="$enable_notebook"
7138
7139 if test "$enableval" = yes; then
7140 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7141 else
7142 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7143 fi
7144
7145else
7146
7147 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7148 if test "x$LINE" != x ; then
7149 eval "DEFAULT_$LINE"
7150 else
7151 no_cache=1
7152 fi
7153
7154 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7155
7156fi;
7157
7158 eval "$ac_cv_use_notebook"
7159 if test "$no_cache" != 1; then
7160 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7161 fi
7162
7163 if test "$wxUSE_NOTEBOOK" = yes; then
7164 echo "$as_me:$LINENO: result: yes" >&5
7165echo "${ECHO_T}yes" >&6
7166 else
7167 echo "$as_me:$LINENO: result: no" >&5
7168echo "${ECHO_T}no" >&6
7169 fi
7170
7171
7172 enablestring=
7173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7174echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7175 no_cache=0
7176 # Check whether --enable-radiobox or --disable-radiobox was given.
7177if test "${enable_radiobox+set}" = set; then
7178 enableval="$enable_radiobox"
7179
7180 if test "$enableval" = yes; then
7181 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7182 else
7183 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7184 fi
7185
7186else
7187
7188 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7189 if test "x$LINE" != x ; then
7190 eval "DEFAULT_$LINE"
7191 else
7192 no_cache=1
7193 fi
7194
7195 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7196
7197fi;
7198
7199 eval "$ac_cv_use_radiobox"
7200 if test "$no_cache" != 1; then
7201 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7202 fi
7203
7204 if test "$wxUSE_RADIOBOX" = yes; then
7205 echo "$as_me:$LINENO: result: yes" >&5
7206echo "${ECHO_T}yes" >&6
7207 else
7208 echo "$as_me:$LINENO: result: no" >&5
7209echo "${ECHO_T}no" >&6
7210 fi
7211
7212
7213 enablestring=
7214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7215echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7216 no_cache=0
7217 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7218if test "${enable_radiobtn+set}" = set; then
7219 enableval="$enable_radiobtn"
7220
7221 if test "$enableval" = yes; then
7222 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7223 else
7224 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7225 fi
7226
7227else
7228
7229 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7230 if test "x$LINE" != x ; then
7231 eval "DEFAULT_$LINE"
7232 else
7233 no_cache=1
7234 fi
7235
7236 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7237
7238fi;
7239
7240 eval "$ac_cv_use_radiobtn"
7241 if test "$no_cache" != 1; then
7242 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7243 fi
7244
7245 if test "$wxUSE_RADIOBTN" = yes; then
7246 echo "$as_me:$LINENO: result: yes" >&5
7247echo "${ECHO_T}yes" >&6
7248 else
7249 echo "$as_me:$LINENO: result: no" >&5
7250echo "${ECHO_T}no" >&6
7251 fi
7252
7253
7254 enablestring=
7255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7256echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7257 no_cache=0
7258 # Check whether --enable-sash or --disable-sash was given.
7259if test "${enable_sash+set}" = set; then
7260 enableval="$enable_sash"
7261
7262 if test "$enableval" = yes; then
7263 ac_cv_use_sash='wxUSE_SASH=yes'
7264 else
7265 ac_cv_use_sash='wxUSE_SASH=no'
7266 fi
7267
7268else
7269
7270 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7271 if test "x$LINE" != x ; then
7272 eval "DEFAULT_$LINE"
7273 else
7274 no_cache=1
7275 fi
7276
7277 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7278
7279fi;
7280
7281 eval "$ac_cv_use_sash"
7282 if test "$no_cache" != 1; then
7283 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7284 fi
7285
7286 if test "$wxUSE_SASH" = yes; then
7287 echo "$as_me:$LINENO: result: yes" >&5
7288echo "${ECHO_T}yes" >&6
7289 else
7290 echo "$as_me:$LINENO: result: no" >&5
7291echo "${ECHO_T}no" >&6
7292 fi
7293
7294
7295 enablestring=
7296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7297echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7298 no_cache=0
7299 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7300if test "${enable_scrollbar+set}" = set; then
7301 enableval="$enable_scrollbar"
7302
7303 if test "$enableval" = yes; then
7304 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7305 else
7306 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7307 fi
7308
7309else
7310
7311 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7312 if test "x$LINE" != x ; then
7313 eval "DEFAULT_$LINE"
7314 else
7315 no_cache=1
7316 fi
7317
7318 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7319
7320fi;
7321
7322 eval "$ac_cv_use_scrollbar"
7323 if test "$no_cache" != 1; then
7324 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7325 fi
7326
7327 if test "$wxUSE_SCROLLBAR" = yes; then
7328 echo "$as_me:$LINENO: result: yes" >&5
7329echo "${ECHO_T}yes" >&6
7330 else
7331 echo "$as_me:$LINENO: result: no" >&5
7332echo "${ECHO_T}no" >&6
7333 fi
7334
7335
7336 enablestring=
7337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7338echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7339 no_cache=0
7340 # Check whether --enable-slider or --disable-slider was given.
7341if test "${enable_slider+set}" = set; then
7342 enableval="$enable_slider"
7343
7344 if test "$enableval" = yes; then
7345 ac_cv_use_slider='wxUSE_SLIDER=yes'
7346 else
7347 ac_cv_use_slider='wxUSE_SLIDER=no'
7348 fi
7349
7350else
7351
7352 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7353 if test "x$LINE" != x ; then
7354 eval "DEFAULT_$LINE"
7355 else
7356 no_cache=1
7357 fi
7358
7359 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7360
7361fi;
7362
7363 eval "$ac_cv_use_slider"
7364 if test "$no_cache" != 1; then
7365 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7366 fi
7367
7368 if test "$wxUSE_SLIDER" = yes; then
7369 echo "$as_me:$LINENO: result: yes" >&5
7370echo "${ECHO_T}yes" >&6
7371 else
7372 echo "$as_me:$LINENO: result: no" >&5
7373echo "${ECHO_T}no" >&6
7374 fi
7375
7376
7377 enablestring=
7378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7379echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7380 no_cache=0
7381 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7382if test "${enable_spinbtn+set}" = set; then
7383 enableval="$enable_spinbtn"
7384
7385 if test "$enableval" = yes; then
7386 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7387 else
7388 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7389 fi
7390
7391else
7392
7393 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7394 if test "x$LINE" != x ; then
7395 eval "DEFAULT_$LINE"
7396 else
7397 no_cache=1
7398 fi
7399
7400 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7401
7402fi;
7403
7404 eval "$ac_cv_use_spinbtn"
7405 if test "$no_cache" != 1; then
7406 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7407 fi
7408
7409 if test "$wxUSE_SPINBTN" = yes; then
7410 echo "$as_me:$LINENO: result: yes" >&5
7411echo "${ECHO_T}yes" >&6
7412 else
7413 echo "$as_me:$LINENO: result: no" >&5
7414echo "${ECHO_T}no" >&6
7415 fi
7416
7417
7418 enablestring=
7419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7420echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7421 no_cache=0
7422 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7423if test "${enable_spinctrl+set}" = set; then
7424 enableval="$enable_spinctrl"
7425
7426 if test "$enableval" = yes; then
7427 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7428 else
7429 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7430 fi
7431
7432else
7433
7434 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7435 if test "x$LINE" != x ; then
7436 eval "DEFAULT_$LINE"
7437 else
7438 no_cache=1
7439 fi
7440
7441 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7442
7443fi;
7444
7445 eval "$ac_cv_use_spinctrl"
7446 if test "$no_cache" != 1; then
7447 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7448 fi
7449
7450 if test "$wxUSE_SPINCTRL" = yes; then
7451 echo "$as_me:$LINENO: result: yes" >&5
7452echo "${ECHO_T}yes" >&6
7453 else
7454 echo "$as_me:$LINENO: result: no" >&5
7455echo "${ECHO_T}no" >&6
7456 fi
7457
7458
7459 enablestring=
7460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7461echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7462 no_cache=0
7463 # Check whether --enable-splitter or --disable-splitter was given.
7464if test "${enable_splitter+set}" = set; then
7465 enableval="$enable_splitter"
7466
7467 if test "$enableval" = yes; then
7468 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7469 else
7470 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7471 fi
7472
7473else
7474
7475 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7476 if test "x$LINE" != x ; then
7477 eval "DEFAULT_$LINE"
7478 else
7479 no_cache=1
7480 fi
7481
7482 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7483
7484fi;
7485
7486 eval "$ac_cv_use_splitter"
7487 if test "$no_cache" != 1; then
7488 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7489 fi
7490
7491 if test "$wxUSE_SPLITTER" = yes; then
7492 echo "$as_me:$LINENO: result: yes" >&5
7493echo "${ECHO_T}yes" >&6
7494 else
7495 echo "$as_me:$LINENO: result: no" >&5
7496echo "${ECHO_T}no" >&6
7497 fi
7498
7499
7500 enablestring=
7501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7502echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7503 no_cache=0
7504 # Check whether --enable-statbmp or --disable-statbmp was given.
7505if test "${enable_statbmp+set}" = set; then
7506 enableval="$enable_statbmp"
7507
7508 if test "$enableval" = yes; then
7509 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7510 else
7511 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7512 fi
7513
7514else
7515
7516 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7517 if test "x$LINE" != x ; then
7518 eval "DEFAULT_$LINE"
7519 else
7520 no_cache=1
7521 fi
7522
7523 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7524
7525fi;
7526
7527 eval "$ac_cv_use_statbmp"
7528 if test "$no_cache" != 1; then
7529 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7530 fi
7531
7532 if test "$wxUSE_STATBMP" = yes; then
7533 echo "$as_me:$LINENO: result: yes" >&5
7534echo "${ECHO_T}yes" >&6
7535 else
7536 echo "$as_me:$LINENO: result: no" >&5
7537echo "${ECHO_T}no" >&6
7538 fi
7539
7540
7541 enablestring=
7542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7543echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7544 no_cache=0
7545 # Check whether --enable-statbox or --disable-statbox was given.
7546if test "${enable_statbox+set}" = set; then
7547 enableval="$enable_statbox"
7548
7549 if test "$enableval" = yes; then
7550 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7551 else
7552 ac_cv_use_statbox='wxUSE_STATBOX=no'
7553 fi
7554
7555else
7556
7557 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7558 if test "x$LINE" != x ; then
7559 eval "DEFAULT_$LINE"
7560 else
7561 no_cache=1
7562 fi
7563
7564 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7565
7566fi;
7567
7568 eval "$ac_cv_use_statbox"
7569 if test "$no_cache" != 1; then
7570 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7571 fi
7572
7573 if test "$wxUSE_STATBOX" = yes; then
7574 echo "$as_me:$LINENO: result: yes" >&5
7575echo "${ECHO_T}yes" >&6
7576 else
7577 echo "$as_me:$LINENO: result: no" >&5
7578echo "${ECHO_T}no" >&6
7579 fi
7580
7581
7582 enablestring=
7583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7584echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7585 no_cache=0
7586 # Check whether --enable-statline or --disable-statline was given.
7587if test "${enable_statline+set}" = set; then
7588 enableval="$enable_statline"
7589
7590 if test "$enableval" = yes; then
7591 ac_cv_use_statline='wxUSE_STATLINE=yes'
7592 else
7593 ac_cv_use_statline='wxUSE_STATLINE=no'
7594 fi
7595
7596else
7597
7598 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7599 if test "x$LINE" != x ; then
7600 eval "DEFAULT_$LINE"
7601 else
7602 no_cache=1
7603 fi
7604
7605 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7606
7607fi;
7608
7609 eval "$ac_cv_use_statline"
7610 if test "$no_cache" != 1; then
7611 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7612 fi
7613
7614 if test "$wxUSE_STATLINE" = yes; then
7615 echo "$as_me:$LINENO: result: yes" >&5
7616echo "${ECHO_T}yes" >&6
7617 else
7618 echo "$as_me:$LINENO: result: no" >&5
7619echo "${ECHO_T}no" >&6
7620 fi
7621
7622
7623 enablestring=
7624 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7625echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7626 no_cache=0
7627 # Check whether --enable-stattext or --disable-stattext was given.
7628if test "${enable_stattext+set}" = set; then
7629 enableval="$enable_stattext"
7630
7631 if test "$enableval" = yes; then
7632 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7633 else
7634 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7635 fi
7636
7637else
7638
7639 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7640 if test "x$LINE" != x ; then
7641 eval "DEFAULT_$LINE"
7642 else
7643 no_cache=1
7644 fi
7645
7646 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7647
7648fi;
7649
7650 eval "$ac_cv_use_stattext"
7651 if test "$no_cache" != 1; then
7652 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7653 fi
7654
7655 if test "$wxUSE_STATTEXT" = yes; then
7656 echo "$as_me:$LINENO: result: yes" >&5
7657echo "${ECHO_T}yes" >&6
7658 else
7659 echo "$as_me:$LINENO: result: no" >&5
7660echo "${ECHO_T}no" >&6
7661 fi
7662
7663
7664 enablestring=
7665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7666echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7667 no_cache=0
7668 # Check whether --enable-statusbar or --disable-statusbar was given.
7669if test "${enable_statusbar+set}" = set; then
7670 enableval="$enable_statusbar"
7671
7672 if test "$enableval" = yes; then
7673 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7674 else
7675 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7676 fi
7677
7678else
7679
7680 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7681 if test "x$LINE" != x ; then
7682 eval "DEFAULT_$LINE"
7683 else
7684 no_cache=1
7685 fi
7686
7687 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7688
7689fi;
7690
7691 eval "$ac_cv_use_statusbar"
7692 if test "$no_cache" != 1; then
7693 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7694 fi
7695
7696 if test "$wxUSE_STATUSBAR" = yes; then
7697 echo "$as_me:$LINENO: result: yes" >&5
7698echo "${ECHO_T}yes" >&6
7699 else
7700 echo "$as_me:$LINENO: result: no" >&5
7701echo "${ECHO_T}no" >&6
7702 fi
7703
7704
7705 enablestring=
7706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7707echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7708 no_cache=0
7709 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7710if test "${enable_tabdialog+set}" = set; then
7711 enableval="$enable_tabdialog"
7712
7713 if test "$enableval" = yes; then
7714 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7715 else
7716 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7717 fi
7718
7719else
7720
7721 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7722 if test "x$LINE" != x ; then
7723 eval "DEFAULT_$LINE"
7724 else
7725 no_cache=1
7726 fi
7727
7728 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7729
7730fi;
7731
7732 eval "$ac_cv_use_tabdialog"
7733 if test "$no_cache" != 1; then
7734 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7735 fi
7736
7737 if test "$wxUSE_TABDIALOG" = yes; then
7738 echo "$as_me:$LINENO: result: yes" >&5
7739echo "${ECHO_T}yes" >&6
7740 else
7741 echo "$as_me:$LINENO: result: no" >&5
7742echo "${ECHO_T}no" >&6
7743 fi
7744
7745
7746 enablestring=
7747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7748echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7749 no_cache=0
7750 # Check whether --enable-textctrl or --disable-textctrl was given.
7751if test "${enable_textctrl+set}" = set; then
7752 enableval="$enable_textctrl"
7753
7754 if test "$enableval" = yes; then
7755 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7756 else
7757 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7758 fi
7759
7760else
7761
7762 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7763 if test "x$LINE" != x ; then
7764 eval "DEFAULT_$LINE"
7765 else
7766 no_cache=1
7767 fi
7768
7769 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7770
7771fi;
7772
7773 eval "$ac_cv_use_textctrl"
7774 if test "$no_cache" != 1; then
7775 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7776 fi
7777
7778 if test "$wxUSE_TEXTCTRL" = yes; then
7779 echo "$as_me:$LINENO: result: yes" >&5
7780echo "${ECHO_T}yes" >&6
7781 else
7782 echo "$as_me:$LINENO: result: no" >&5
7783echo "${ECHO_T}no" >&6
7784 fi
7785
7786
7787 enablestring=
7788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7789echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7790 no_cache=0
7791 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7792if test "${enable_togglebtn+set}" = set; then
7793 enableval="$enable_togglebtn"
7794
7795 if test "$enableval" = yes; then
7796 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
7797 else
7798 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
7799 fi
7800
7801else
7802
7803 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7804 if test "x$LINE" != x ; then
7805 eval "DEFAULT_$LINE"
7806 else
7807 no_cache=1
7808 fi
7809
7810 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7811
7812fi;
7813
7814 eval "$ac_cv_use_togglebtn"
7815 if test "$no_cache" != 1; then
7816 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7817 fi
7818
7819 if test "$wxUSE_TOGGLEBTN" = yes; then
7820 echo "$as_me:$LINENO: result: yes" >&5
7821echo "${ECHO_T}yes" >&6
7822 else
7823 echo "$as_me:$LINENO: result: no" >&5
7824echo "${ECHO_T}no" >&6
7825 fi
7826
7827
7828 enablestring=
7829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7830echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7831 no_cache=0
7832 # Check whether --enable-toolbar or --disable-toolbar was given.
7833if test "${enable_toolbar+set}" = set; then
7834 enableval="$enable_toolbar"
7835
7836 if test "$enableval" = yes; then
7837 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
7838 else
7839 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
7840 fi
7841
7842else
7843
7844 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7845 if test "x$LINE" != x ; then
7846 eval "DEFAULT_$LINE"
7847 else
7848 no_cache=1
7849 fi
7850
7851 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7852
7853fi;
7854
7855 eval "$ac_cv_use_toolbar"
7856 if test "$no_cache" != 1; then
7857 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7858 fi
7859
7860 if test "$wxUSE_TOOLBAR" = yes; then
7861 echo "$as_me:$LINENO: result: yes" >&5
7862echo "${ECHO_T}yes" >&6
7863 else
7864 echo "$as_me:$LINENO: result: no" >&5
7865echo "${ECHO_T}no" >&6
7866 fi
7867
7868
7869 enablestring=
7870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7871echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7872 no_cache=0
7873 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7874if test "${enable_tbarnative+set}" = set; then
7875 enableval="$enable_tbarnative"
7876
7877 if test "$enableval" = yes; then
7878 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
7879 else
7880 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
7881 fi
7882
7883else
7884
7885 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7886 if test "x$LINE" != x ; then
7887 eval "DEFAULT_$LINE"
7888 else
7889 no_cache=1
7890 fi
7891
7892 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7893
7894fi;
7895
7896 eval "$ac_cv_use_tbarnative"
7897 if test "$no_cache" != 1; then
7898 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7899 fi
7900
7901 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7902 echo "$as_me:$LINENO: result: yes" >&5
7903echo "${ECHO_T}yes" >&6
7904 else
7905 echo "$as_me:$LINENO: result: no" >&5
7906echo "${ECHO_T}no" >&6
7907 fi
7908
7909
7910 enablestring=
7911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7912echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7913 no_cache=0
7914 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7915if test "${enable_tbarsmpl+set}" = set; then
7916 enableval="$enable_tbarsmpl"
7917
7918 if test "$enableval" = yes; then
7919 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
7920 else
7921 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
7922 fi
7923
7924else
7925
7926 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7927 if test "x$LINE" != x ; then
7928 eval "DEFAULT_$LINE"
7929 else
7930 no_cache=1
7931 fi
7932
7933 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7934
7935fi;
7936
7937 eval "$ac_cv_use_tbarsmpl"
7938 if test "$no_cache" != 1; then
7939 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7940 fi
7941
7942 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7943 echo "$as_me:$LINENO: result: yes" >&5
7944echo "${ECHO_T}yes" >&6
7945 else
7946 echo "$as_me:$LINENO: result: no" >&5
7947echo "${ECHO_T}no" >&6
7948 fi
7949
7950
7951 enablestring=
7952 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
7953echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
7954 no_cache=0
7955 # Check whether --enable-treectrl or --disable-treectrl was given.
7956if test "${enable_treectrl+set}" = set; then
7957 enableval="$enable_treectrl"
7958
7959 if test "$enableval" = yes; then
7960 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
7961 else
7962 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
7963 fi
7964
7965else
7966
7967 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7968 if test "x$LINE" != x ; then
7969 eval "DEFAULT_$LINE"
7970 else
7971 no_cache=1
7972 fi
7973
7974 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7975
7976fi;
7977
7978 eval "$ac_cv_use_treectrl"
7979 if test "$no_cache" != 1; then
7980 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7981 fi
7982
7983 if test "$wxUSE_TREECTRL" = yes; then
7984 echo "$as_me:$LINENO: result: yes" >&5
7985echo "${ECHO_T}yes" >&6
7986 else
7987 echo "$as_me:$LINENO: result: no" >&5
7988echo "${ECHO_T}no" >&6
7989 fi
7990
7991
7992 enablestring=
7993 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
7994echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
7995 no_cache=0
7996 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7997if test "${enable_tipwindow+set}" = set; then
7998 enableval="$enable_tipwindow"
7999
8000 if test "$enableval" = yes; then
8001 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8002 else
8003 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8004 fi
8005
8006else
8007
8008 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8009 if test "x$LINE" != x ; then
8010 eval "DEFAULT_$LINE"
8011 else
8012 no_cache=1
8013 fi
8014
8015 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8016
8017fi;
8018
8019 eval "$ac_cv_use_tipwindow"
8020 if test "$no_cache" != 1; then
8021 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8022 fi
8023
8024 if test "$wxUSE_TIPWINDOW" = yes; then
8025 echo "$as_me:$LINENO: result: yes" >&5
8026echo "${ECHO_T}yes" >&6
8027 else
8028 echo "$as_me:$LINENO: result: no" >&5
8029echo "${ECHO_T}no" >&6
8030 fi
8031
8032
8033 enablestring=
8034 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8035echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8036 no_cache=0
8037 # Check whether --enable-popupwin or --disable-popupwin was given.
8038if test "${enable_popupwin+set}" = set; then
8039 enableval="$enable_popupwin"
8040
8041 if test "$enableval" = yes; then
8042 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8043 else
8044 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8045 fi
8046
8047else
8048
8049 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8050 if test "x$LINE" != x ; then
8051 eval "DEFAULT_$LINE"
8052 else
8053 no_cache=1
8054 fi
8055
8056 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8057
8058fi;
8059
8060 eval "$ac_cv_use_popupwin"
8061 if test "$no_cache" != 1; then
8062 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8063 fi
8064
8065 if test "$wxUSE_POPUPWIN" = yes; then
8066 echo "$as_me:$LINENO: result: yes" >&5
8067echo "${ECHO_T}yes" >&6
8068 else
8069 echo "$as_me:$LINENO: result: no" >&5
8070echo "${ECHO_T}no" >&6
8071 fi
8072
8073
8074
8075
8076 enablestring=
8077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8078echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8079 no_cache=0
8080 # Check whether --enable-commondlg or --disable-commondlg was given.
8081if test "${enable_commondlg+set}" = set; then
8082 enableval="$enable_commondlg"
8083
8084 if test "$enableval" = yes; then
8085 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8086 else
8087 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8088 fi
8089
8090else
8091
8092 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8093 if test "x$LINE" != x ; then
8094 eval "DEFAULT_$LINE"
8095 else
8096 no_cache=1
8097 fi
8098
8099 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8100
8101fi;
8102
8103 eval "$ac_cv_use_commondlg"
8104 if test "$no_cache" != 1; then
8105 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8106 fi
8107
8108 if test "$wxUSE_COMMONDLGS" = yes; then
8109 echo "$as_me:$LINENO: result: yes" >&5
8110echo "${ECHO_T}yes" >&6
8111 else
8112 echo "$as_me:$LINENO: result: no" >&5
8113echo "${ECHO_T}no" >&6
8114 fi
8115
8116
8117 enablestring=
8118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8119echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8120 no_cache=0
8121 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8122if test "${enable_choicedlg+set}" = set; then
8123 enableval="$enable_choicedlg"
8124
8125 if test "$enableval" = yes; then
8126 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8127 else
8128 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8129 fi
8130
8131else
8132
8133 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8134 if test "x$LINE" != x ; then
8135 eval "DEFAULT_$LINE"
8136 else
8137 no_cache=1
8138 fi
8139
8140 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8141
8142fi;
8143
8144 eval "$ac_cv_use_choicedlg"
8145 if test "$no_cache" != 1; then
8146 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8147 fi
8148
8149 if test "$wxUSE_CHOICEDLG" = yes; then
8150 echo "$as_me:$LINENO: result: yes" >&5
8151echo "${ECHO_T}yes" >&6
8152 else
8153 echo "$as_me:$LINENO: result: no" >&5
8154echo "${ECHO_T}no" >&6
8155 fi
8156
8157
8158 enablestring=
8159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8160echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8161 no_cache=0
8162 # Check whether --enable-coldlg or --disable-coldlg was given.
8163if test "${enable_coldlg+set}" = set; then
8164 enableval="$enable_coldlg"
8165
8166 if test "$enableval" = yes; then
8167 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8168 else
8169 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8170 fi
8171
8172else
8173
8174 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8175 if test "x$LINE" != x ; then
8176 eval "DEFAULT_$LINE"
8177 else
8178 no_cache=1
8179 fi
8180
8181 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8182
8183fi;
8184
8185 eval "$ac_cv_use_coldlg"
8186 if test "$no_cache" != 1; then
8187 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8188 fi
8189
8190 if test "$wxUSE_COLOURDLG" = yes; then
8191 echo "$as_me:$LINENO: result: yes" >&5
8192echo "${ECHO_T}yes" >&6
8193 else
8194 echo "$as_me:$LINENO: result: no" >&5
8195echo "${ECHO_T}no" >&6
8196 fi
8197
8198
8199 enablestring=
8200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8201echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8202 no_cache=0
8203 # Check whether --enable-filedlg or --disable-filedlg was given.
8204if test "${enable_filedlg+set}" = set; then
8205 enableval="$enable_filedlg"
8206
8207 if test "$enableval" = yes; then
8208 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8209 else
8210 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8211 fi
8212
8213else
8214
8215 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8216 if test "x$LINE" != x ; then
8217 eval "DEFAULT_$LINE"
8218 else
8219 no_cache=1
8220 fi
8221
8222 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8223
8224fi;
8225
8226 eval "$ac_cv_use_filedlg"
8227 if test "$no_cache" != 1; then
8228 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8229 fi
8230
8231 if test "$wxUSE_FILEDLG" = yes; then
8232 echo "$as_me:$LINENO: result: yes" >&5
8233echo "${ECHO_T}yes" >&6
8234 else
8235 echo "$as_me:$LINENO: result: no" >&5
8236echo "${ECHO_T}no" >&6
8237 fi
8238
8239
8240 enablestring=
8241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8242echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8243 no_cache=0
8244 # Check whether --enable-finddlg or --disable-finddlg was given.
8245if test "${enable_finddlg+set}" = set; then
8246 enableval="$enable_finddlg"
8247
8248 if test "$enableval" = yes; then
8249 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8250 else
8251 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8252 fi
8253
8254else
8255
8256 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8257 if test "x$LINE" != x ; then
8258 eval "DEFAULT_$LINE"
8259 else
8260 no_cache=1
8261 fi
8262
8263 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8264
8265fi;
8266
8267 eval "$ac_cv_use_finddlg"
8268 if test "$no_cache" != 1; then
8269 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8270 fi
8271
8272 if test "$wxUSE_FINDREPLDLG" = yes; then
8273 echo "$as_me:$LINENO: result: yes" >&5
8274echo "${ECHO_T}yes" >&6
8275 else
8276 echo "$as_me:$LINENO: result: no" >&5
8277echo "${ECHO_T}no" >&6
8278 fi
8279
8280
8281 enablestring=
8282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8283echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8284 no_cache=0
8285 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8286if test "${enable_fontdlg+set}" = set; then
8287 enableval="$enable_fontdlg"
8288
8289 if test "$enableval" = yes; then
8290 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8291 else
8292 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8293 fi
8294
8295else
8296
8297 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8298 if test "x$LINE" != x ; then
8299 eval "DEFAULT_$LINE"
8300 else
8301 no_cache=1
8302 fi
8303
8304 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8305
8306fi;
8307
8308 eval "$ac_cv_use_fontdlg"
8309 if test "$no_cache" != 1; then
8310 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8311 fi
8312
8313 if test "$wxUSE_FONTDLG" = yes; then
8314 echo "$as_me:$LINENO: result: yes" >&5
8315echo "${ECHO_T}yes" >&6
8316 else
8317 echo "$as_me:$LINENO: result: no" >&5
8318echo "${ECHO_T}no" >&6
8319 fi
8320
8321
8322 enablestring=
8323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8324echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8325 no_cache=0
8326 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8327if test "${enable_dirdlg+set}" = set; then
8328 enableval="$enable_dirdlg"
8329
8330 if test "$enableval" = yes; then
8331 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8332 else
8333 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8334 fi
8335
8336else
8337
8338 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8339 if test "x$LINE" != x ; then
8340 eval "DEFAULT_$LINE"
8341 else
8342 no_cache=1
8343 fi
8344
8345 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8346
8347fi;
8348
8349 eval "$ac_cv_use_dirdlg"
8350 if test "$no_cache" != 1; then
8351 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8352 fi
8353
8354 if test "$wxUSE_DIRDLG" = yes; then
8355 echo "$as_me:$LINENO: result: yes" >&5
8356echo "${ECHO_T}yes" >&6
8357 else
8358 echo "$as_me:$LINENO: result: no" >&5
8359echo "${ECHO_T}no" >&6
8360 fi
8361
8362
8363 enablestring=
8364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8365echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8366 no_cache=0
8367 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8368if test "${enable_msgdlg+set}" = set; then
8369 enableval="$enable_msgdlg"
8370
8371 if test "$enableval" = yes; then
8372 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8373 else
8374 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8375 fi
8376
8377else
8378
8379 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8380 if test "x$LINE" != x ; then
8381 eval "DEFAULT_$LINE"
8382 else
8383 no_cache=1
8384 fi
8385
8386 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8387
8388fi;
8389
8390 eval "$ac_cv_use_msgdlg"
8391 if test "$no_cache" != 1; then
8392 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8393 fi
8394
8395 if test "$wxUSE_MSGDLG" = yes; then
8396 echo "$as_me:$LINENO: result: yes" >&5
8397echo "${ECHO_T}yes" >&6
8398 else
8399 echo "$as_me:$LINENO: result: no" >&5
8400echo "${ECHO_T}no" >&6
8401 fi
8402
8403
8404 enablestring=
8405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8406echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8407 no_cache=0
8408 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8409if test "${enable_numberdlg+set}" = set; then
8410 enableval="$enable_numberdlg"
8411
8412 if test "$enableval" = yes; then
8413 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8414 else
8415 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8416 fi
8417
8418else
8419
8420 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8421 if test "x$LINE" != x ; then
8422 eval "DEFAULT_$LINE"
8423 else
8424 no_cache=1
8425 fi
8426
8427 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8428
8429fi;
8430
8431 eval "$ac_cv_use_numberdlg"
8432 if test "$no_cache" != 1; then
8433 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8434 fi
8435
8436 if test "$wxUSE_NUMBERDLG" = yes; then
8437 echo "$as_me:$LINENO: result: yes" >&5
8438echo "${ECHO_T}yes" >&6
8439 else
8440 echo "$as_me:$LINENO: result: no" >&5
8441echo "${ECHO_T}no" >&6
8442 fi
8443
8444
8445 enablestring=
8446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8447echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8448 no_cache=0
8449 # Check whether --enable-splash or --disable-splash was given.
8450if test "${enable_splash+set}" = set; then
8451 enableval="$enable_splash"
8452
8453 if test "$enableval" = yes; then
8454 ac_cv_use_splash='wxUSE_SPLASH=yes'
8455 else
8456 ac_cv_use_splash='wxUSE_SPLASH=no'
8457 fi
8458
8459else
8460
8461 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8462 if test "x$LINE" != x ; then
8463 eval "DEFAULT_$LINE"
8464 else
8465 no_cache=1
8466 fi
8467
8468 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8469
8470fi;
8471
8472 eval "$ac_cv_use_splash"
8473 if test "$no_cache" != 1; then
8474 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8475 fi
8476
8477 if test "$wxUSE_SPLASH" = yes; then
8478 echo "$as_me:$LINENO: result: yes" >&5
8479echo "${ECHO_T}yes" >&6
8480 else
8481 echo "$as_me:$LINENO: result: no" >&5
8482echo "${ECHO_T}no" >&6
8483 fi
8484
8485
8486 enablestring=
8487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8488echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8489 no_cache=0
8490 # Check whether --enable-textdlg or --disable-textdlg was given.
8491if test "${enable_textdlg+set}" = set; then
8492 enableval="$enable_textdlg"
8493
8494 if test "$enableval" = yes; then
8495 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8496 else
8497 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8498 fi
8499
8500else
8501
8502 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8503 if test "x$LINE" != x ; then
8504 eval "DEFAULT_$LINE"
8505 else
8506 no_cache=1
8507 fi
8508
8509 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8510
8511fi;
8512
8513 eval "$ac_cv_use_textdlg"
8514 if test "$no_cache" != 1; then
8515 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8516 fi
8517
8518 if test "$wxUSE_TEXTDLG" = yes; then
8519 echo "$as_me:$LINENO: result: yes" >&5
8520echo "${ECHO_T}yes" >&6
8521 else
8522 echo "$as_me:$LINENO: result: no" >&5
8523echo "${ECHO_T}no" >&6
8524 fi
8525
8526
8527 enablestring=
8528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8529echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8530 no_cache=0
8531 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8532if test "${enable_tipdlg+set}" = set; then
8533 enableval="$enable_tipdlg"
8534
8535 if test "$enableval" = yes; then
8536 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8537 else
8538 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8539 fi
8540
8541else
8542
8543 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8544 if test "x$LINE" != x ; then
8545 eval "DEFAULT_$LINE"
8546 else
8547 no_cache=1
8548 fi
8549
8550 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8551
8552fi;
8553
8554 eval "$ac_cv_use_tipdlg"
8555 if test "$no_cache" != 1; then
8556 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8557 fi
8558
8559 if test "$wxUSE_STARTUP_TIPS" = yes; then
8560 echo "$as_me:$LINENO: result: yes" >&5
8561echo "${ECHO_T}yes" >&6
8562 else
8563 echo "$as_me:$LINENO: result: no" >&5
8564echo "${ECHO_T}no" >&6
8565 fi
8566
8567
8568 enablestring=
8569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8570echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8571 no_cache=0
8572 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8573if test "${enable_progressdlg+set}" = set; then
8574 enableval="$enable_progressdlg"
8575
8576 if test "$enableval" = yes; then
8577 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8578 else
8579 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8580 fi
8581
8582else
8583
8584 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8585 if test "x$LINE" != x ; then
8586 eval "DEFAULT_$LINE"
8587 else
8588 no_cache=1
8589 fi
8590
8591 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8592
8593fi;
8594
8595 eval "$ac_cv_use_progressdlg"
8596 if test "$no_cache" != 1; then
8597 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8598 fi
8599
8600 if test "$wxUSE_PROGRESSDLG" = yes; then
8601 echo "$as_me:$LINENO: result: yes" >&5
8602echo "${ECHO_T}yes" >&6
8603 else
8604 echo "$as_me:$LINENO: result: no" >&5
8605echo "${ECHO_T}no" >&6
8606 fi
8607
8608
8609 enablestring=
8610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8611echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8612 no_cache=0
8613 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8614if test "${enable_wizarddlg+set}" = set; then
8615 enableval="$enable_wizarddlg"
8616
8617 if test "$enableval" = yes; then
8618 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8619 else
8620 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8621 fi
8622
8623else
8624
8625 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8626 if test "x$LINE" != x ; then
8627 eval "DEFAULT_$LINE"
8628 else
8629 no_cache=1
8630 fi
8631
8632 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8633
8634fi;
8635
8636 eval "$ac_cv_use_wizarddlg"
8637 if test "$no_cache" != 1; then
8638 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8639 fi
8640
8641 if test "$wxUSE_WIZARDDLG" = yes; then
8642 echo "$as_me:$LINENO: result: yes" >&5
8643echo "${ECHO_T}yes" >&6
8644 else
8645 echo "$as_me:$LINENO: result: no" >&5
8646echo "${ECHO_T}no" >&6
8647 fi
8648
8649
8650
8651
8652 enablestring=
8653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8654echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8655 no_cache=0
8656 # Check whether --enable-menus or --disable-menus was given.
8657if test "${enable_menus+set}" = set; then
8658 enableval="$enable_menus"
8659
8660 if test "$enableval" = yes; then
8661 ac_cv_use_menus='wxUSE_MENUS=yes'
8662 else
8663 ac_cv_use_menus='wxUSE_MENUS=no'
8664 fi
8665
8666else
8667
8668 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8669 if test "x$LINE" != x ; then
8670 eval "DEFAULT_$LINE"
8671 else
8672 no_cache=1
8673 fi
8674
8675 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8676
8677fi;
8678
8679 eval "$ac_cv_use_menus"
8680 if test "$no_cache" != 1; then
8681 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8682 fi
8683
8684 if test "$wxUSE_MENUS" = yes; then
8685 echo "$as_me:$LINENO: result: yes" >&5
8686echo "${ECHO_T}yes" >&6
8687 else
8688 echo "$as_me:$LINENO: result: no" >&5
8689echo "${ECHO_T}no" >&6
8690 fi
8691
8692
8693 enablestring=
8694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8695echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8696 no_cache=0
8697 # Check whether --enable-miniframe or --disable-miniframe was given.
8698if test "${enable_miniframe+set}" = set; then
8699 enableval="$enable_miniframe"
8700
8701 if test "$enableval" = yes; then
8702 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8703 else
8704 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8705 fi
8706
8707else
8708
8709 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8710 if test "x$LINE" != x ; then
8711 eval "DEFAULT_$LINE"
8712 else
8713 no_cache=1
8714 fi
8715
8716 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8717
8718fi;
8719
8720 eval "$ac_cv_use_miniframe"
8721 if test "$no_cache" != 1; then
8722 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8723 fi
8724
8725 if test "$wxUSE_MINIFRAME" = yes; then
8726 echo "$as_me:$LINENO: result: yes" >&5
8727echo "${ECHO_T}yes" >&6
8728 else
8729 echo "$as_me:$LINENO: result: no" >&5
8730echo "${ECHO_T}no" >&6
8731 fi
8732
8733
8734 enablestring=
8735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8736echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8737 no_cache=0
8738 # Check whether --enable-tooltips or --disable-tooltips was given.
8739if test "${enable_tooltips+set}" = set; then
8740 enableval="$enable_tooltips"
8741
8742 if test "$enableval" = yes; then
8743 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
8744 else
8745 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
8746 fi
8747
8748else
8749
8750 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8751 if test "x$LINE" != x ; then
8752 eval "DEFAULT_$LINE"
8753 else
8754 no_cache=1
8755 fi
8756
8757 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8758
8759fi;
8760
8761 eval "$ac_cv_use_tooltips"
8762 if test "$no_cache" != 1; then
8763 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8764 fi
8765
8766 if test "$wxUSE_TOOLTIPS" = yes; then
8767 echo "$as_me:$LINENO: result: yes" >&5
8768echo "${ECHO_T}yes" >&6
8769 else
8770 echo "$as_me:$LINENO: result: no" >&5
8771echo "${ECHO_T}no" >&6
8772 fi
8773
8774
8775 enablestring=
8776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8777echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8778 no_cache=0
8779 # Check whether --enable-splines or --disable-splines was given.
8780if test "${enable_splines+set}" = set; then
8781 enableval="$enable_splines"
8782
8783 if test "$enableval" = yes; then
8784 ac_cv_use_splines='wxUSE_SPLINES=yes'
8785 else
8786 ac_cv_use_splines='wxUSE_SPLINES=no'
8787 fi
8788
8789else
8790
8791 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8792 if test "x$LINE" != x ; then
8793 eval "DEFAULT_$LINE"
8794 else
8795 no_cache=1
8796 fi
8797
8798 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8799
8800fi;
8801
8802 eval "$ac_cv_use_splines"
8803 if test "$no_cache" != 1; then
8804 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8805 fi
8806
8807 if test "$wxUSE_SPLINES" = yes; then
8808 echo "$as_me:$LINENO: result: yes" >&5
8809echo "${ECHO_T}yes" >&6
8810 else
8811 echo "$as_me:$LINENO: result: no" >&5
8812echo "${ECHO_T}no" >&6
8813 fi
8814
8815
8816 enablestring=
8817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8818echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8819 no_cache=0
8820 # Check whether --enable-validators or --disable-validators was given.
8821if test "${enable_validators+set}" = set; then
8822 enableval="$enable_validators"
8823
8824 if test "$enableval" = yes; then
8825 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
8826 else
8827 ac_cv_use_validators='wxUSE_VALIDATORS=no'
8828 fi
8829
8830else
8831
8832 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8833 if test "x$LINE" != x ; then
8834 eval "DEFAULT_$LINE"
8835 else
8836 no_cache=1
8837 fi
8838
8839 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8840
8841fi;
8842
8843 eval "$ac_cv_use_validators"
8844 if test "$no_cache" != 1; then
8845 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8846 fi
8847
8848 if test "$wxUSE_VALIDATORS" = yes; then
8849 echo "$as_me:$LINENO: result: yes" >&5
8850echo "${ECHO_T}yes" >&6
8851 else
8852 echo "$as_me:$LINENO: result: no" >&5
8853echo "${ECHO_T}no" >&6
8854 fi
8855
8856
8857 enablestring=
8858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8859echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8860 no_cache=0
8861 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8862if test "${enable_busyinfo+set}" = set; then
8863 enableval="$enable_busyinfo"
8864
8865 if test "$enableval" = yes; then
8866 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
8867 else
8868 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
8869 fi
8870
8871else
8872
8873 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8874 if test "x$LINE" != x ; then
8875 eval "DEFAULT_$LINE"
8876 else
8877 no_cache=1
8878 fi
8879
8880 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8881
8882fi;
8883
8884 eval "$ac_cv_use_busyinfo"
8885 if test "$no_cache" != 1; then
8886 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8887 fi
8888
8889 if test "$wxUSE_BUSYINFO" = yes; then
8890 echo "$as_me:$LINENO: result: yes" >&5
8891echo "${ECHO_T}yes" >&6
8892 else
8893 echo "$as_me:$LINENO: result: no" >&5
8894echo "${ECHO_T}no" >&6
8895 fi
8896
8897
8898 enablestring=
8899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8900echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8901 no_cache=0
8902 # Check whether --enable-joystick or --disable-joystick was given.
8903if test "${enable_joystick+set}" = set; then
8904 enableval="$enable_joystick"
8905
8906 if test "$enableval" = yes; then
8907 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
8908 else
8909 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
8910 fi
8911
8912else
8913
8914 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8915 if test "x$LINE" != x ; then
8916 eval "DEFAULT_$LINE"
8917 else
8918 no_cache=1
8919 fi
8920
8921 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8922
8923fi;
8924
8925 eval "$ac_cv_use_joystick"
8926 if test "$no_cache" != 1; then
8927 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8928 fi
8929
8930 if test "$wxUSE_JOYSTICK" = yes; then
8931 echo "$as_me:$LINENO: result: yes" >&5
8932echo "${ECHO_T}yes" >&6
8933 else
8934 echo "$as_me:$LINENO: result: no" >&5
8935echo "${ECHO_T}no" >&6
8936 fi
8937
8938
8939 enablestring=
8940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8941echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
8942 no_cache=0
8943 # Check whether --enable-metafile or --disable-metafile was given.
8944if test "${enable_metafile+set}" = set; then
8945 enableval="$enable_metafile"
8946
8947 if test "$enableval" = yes; then
8948 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8949 else
8950 ac_cv_use_metafile='wxUSE_METAFILE=no'
8951 fi
8952
8953else
8954
8955 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8956 if test "x$LINE" != x ; then
8957 eval "DEFAULT_$LINE"
8958 else
8959 no_cache=1
8960 fi
8961
8962 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8963
8964fi;
8965
8966 eval "$ac_cv_use_metafile"
8967 if test "$no_cache" != 1; then
8968 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8969 fi
8970
8971 if test "$wxUSE_METAFILE" = yes; then
8972 echo "$as_me:$LINENO: result: yes" >&5
8973echo "${ECHO_T}yes" >&6
8974 else
8975 echo "$as_me:$LINENO: result: no" >&5
8976echo "${ECHO_T}no" >&6
8977 fi
8978
8979
8980 enablestring=
8981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
8982echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
8983 no_cache=0
8984 # Check whether --enable-dragimage or --disable-dragimage was given.
8985if test "${enable_dragimage+set}" = set; then
8986 enableval="$enable_dragimage"
8987
8988 if test "$enableval" = yes; then
8989 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
8990 else
8991 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
8992 fi
8993
8994else
8995
8996 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8997 if test "x$LINE" != x ; then
8998 eval "DEFAULT_$LINE"
8999 else
9000 no_cache=1
9001 fi
9002
9003 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9004
9005fi;
9006
9007 eval "$ac_cv_use_dragimage"
9008 if test "$no_cache" != 1; then
9009 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9010 fi
9011
9012 if test "$wxUSE_DRAGIMAGE" = yes; then
9013 echo "$as_me:$LINENO: result: yes" >&5
9014echo "${ECHO_T}yes" >&6
9015 else
9016 echo "$as_me:$LINENO: result: no" >&5
9017echo "${ECHO_T}no" >&6
9018 fi
9019
9020
9021 enablestring=
9022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9023echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9024 no_cache=0
9025 # Check whether --enable-accessibility or --disable-accessibility was given.
9026if test "${enable_accessibility+set}" = set; then
9027 enableval="$enable_accessibility"
9028
9029 if test "$enableval" = yes; then
9030 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9031 else
9032 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9033 fi
9034
9035else
9036
9037 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9038 if test "x$LINE" != x ; then
9039 eval "DEFAULT_$LINE"
9040 else
9041 no_cache=1
9042 fi
9043
9044 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9045
9046fi;
9047
9048 eval "$ac_cv_use_accessibility"
9049 if test "$no_cache" != 1; then
9050 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9051 fi
9052
9053 if test "$wxUSE_ACCESSIBILITY" = yes; then
9054 echo "$as_me:$LINENO: result: yes" >&5
9055echo "${ECHO_T}yes" >&6
9056 else
9057 echo "$as_me:$LINENO: result: no" >&5
9058echo "${ECHO_T}no" >&6
9059 fi
9060
9061
9062
9063
9064 enablestring=
9065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9066echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9067 no_cache=0
9068 # Check whether --enable-palette or --disable-palette was given.
9069if test "${enable_palette+set}" = set; then
9070 enableval="$enable_palette"
9071
9072 if test "$enableval" = yes; then
9073 ac_cv_use_palette='wxUSE_PALETTE=yes'
9074 else
9075 ac_cv_use_palette='wxUSE_PALETTE=no'
9076 fi
9077
9078else
9079
9080 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9081 if test "x$LINE" != x ; then
9082 eval "DEFAULT_$LINE"
9083 else
9084 no_cache=1
9085 fi
9086
9087 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9088
9089fi;
9090
9091 eval "$ac_cv_use_palette"
9092 if test "$no_cache" != 1; then
9093 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9094 fi
9095
9096 if test "$wxUSE_PALETTE" = yes; then
9097 echo "$as_me:$LINENO: result: yes" >&5
9098echo "${ECHO_T}yes" >&6
9099 else
9100 echo "$as_me:$LINENO: result: no" >&5
9101echo "${ECHO_T}no" >&6
9102 fi
9103
9104
9105 enablestring=
9106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9107echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9108 no_cache=0
9109 # Check whether --enable-image or --disable-image was given.
9110if test "${enable_image+set}" = set; then
9111 enableval="$enable_image"
9112
9113 if test "$enableval" = yes; then
9114 ac_cv_use_image='wxUSE_IMAGE=yes'
9115 else
9116 ac_cv_use_image='wxUSE_IMAGE=no'
9117 fi
9118
9119else
9120
9121 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9122 if test "x$LINE" != x ; then
9123 eval "DEFAULT_$LINE"
9124 else
9125 no_cache=1
9126 fi
9127
9128 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9129
9130fi;
9131
9132 eval "$ac_cv_use_image"
9133 if test "$no_cache" != 1; then
9134 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9135 fi
9136
9137 if test "$wxUSE_IMAGE" = yes; then
9138 echo "$as_me:$LINENO: result: yes" >&5
9139echo "${ECHO_T}yes" >&6
9140 else
9141 echo "$as_me:$LINENO: result: no" >&5
9142echo "${ECHO_T}no" >&6
9143 fi
9144
9145
9146 enablestring=
9147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9148echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9149 no_cache=0
9150 # Check whether --enable-gif or --disable-gif was given.
9151if test "${enable_gif+set}" = set; then
9152 enableval="$enable_gif"
9153
9154 if test "$enableval" = yes; then
9155 ac_cv_use_gif='wxUSE_GIF=yes'
9156 else
9157 ac_cv_use_gif='wxUSE_GIF=no'
9158 fi
9159
9160else
9161
9162 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9163 if test "x$LINE" != x ; then
9164 eval "DEFAULT_$LINE"
9165 else
9166 no_cache=1
9167 fi
9168
9169 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9170
9171fi;
9172
9173 eval "$ac_cv_use_gif"
9174 if test "$no_cache" != 1; then
9175 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9176 fi
9177
9178 if test "$wxUSE_GIF" = yes; then
9179 echo "$as_me:$LINENO: result: yes" >&5
9180echo "${ECHO_T}yes" >&6
9181 else
9182 echo "$as_me:$LINENO: result: no" >&5
9183echo "${ECHO_T}no" >&6
9184 fi
9185
9186
9187 enablestring=
9188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9189echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9190 no_cache=0
9191 # Check whether --enable-pcx or --disable-pcx was given.
9192if test "${enable_pcx+set}" = set; then
9193 enableval="$enable_pcx"
9194
9195 if test "$enableval" = yes; then
9196 ac_cv_use_pcx='wxUSE_PCX=yes'
9197 else
9198 ac_cv_use_pcx='wxUSE_PCX=no'
9199 fi
9200
9201else
9202
9203 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9204 if test "x$LINE" != x ; then
9205 eval "DEFAULT_$LINE"
9206 else
9207 no_cache=1
9208 fi
9209
9210 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9211
9212fi;
9213
9214 eval "$ac_cv_use_pcx"
9215 if test "$no_cache" != 1; then
9216 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9217 fi
9218
9219 if test "$wxUSE_PCX" = yes; then
9220 echo "$as_me:$LINENO: result: yes" >&5
9221echo "${ECHO_T}yes" >&6
9222 else
9223 echo "$as_me:$LINENO: result: no" >&5
9224echo "${ECHO_T}no" >&6
9225 fi
9226
9227
9228 enablestring=
9229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9230echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9231 no_cache=0
9232 # Check whether --enable-iff or --disable-iff was given.
9233if test "${enable_iff+set}" = set; then
9234 enableval="$enable_iff"
9235
9236 if test "$enableval" = yes; then
9237 ac_cv_use_iff='wxUSE_IFF=yes'
9238 else
9239 ac_cv_use_iff='wxUSE_IFF=no'
9240 fi
9241
9242else
9243
9244 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9245 if test "x$LINE" != x ; then
9246 eval "DEFAULT_$LINE"
9247 else
9248 no_cache=1
9249 fi
9250
9251 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9252
9253fi;
9254
9255 eval "$ac_cv_use_iff"
9256 if test "$no_cache" != 1; then
9257 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9258 fi
9259
9260 if test "$wxUSE_IFF" = yes; then
9261 echo "$as_me:$LINENO: result: yes" >&5
9262echo "${ECHO_T}yes" >&6
9263 else
9264 echo "$as_me:$LINENO: result: no" >&5
9265echo "${ECHO_T}no" >&6
9266 fi
9267
9268
9269 enablestring=
9270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9271echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9272 no_cache=0
9273 # Check whether --enable-pnm or --disable-pnm was given.
9274if test "${enable_pnm+set}" = set; then
9275 enableval="$enable_pnm"
9276
9277 if test "$enableval" = yes; then
9278 ac_cv_use_pnm='wxUSE_PNM=yes'
9279 else
9280 ac_cv_use_pnm='wxUSE_PNM=no'
9281 fi
9282
9283else
9284
9285 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9286 if test "x$LINE" != x ; then
9287 eval "DEFAULT_$LINE"
9288 else
9289 no_cache=1
9290 fi
9291
9292 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9293
9294fi;
9295
9296 eval "$ac_cv_use_pnm"
9297 if test "$no_cache" != 1; then
9298 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9299 fi
9300
9301 if test "$wxUSE_PNM" = yes; then
9302 echo "$as_me:$LINENO: result: yes" >&5
9303echo "${ECHO_T}yes" >&6
9304 else
9305 echo "$as_me:$LINENO: result: no" >&5
9306echo "${ECHO_T}no" >&6
9307 fi
9308
9309
9310 enablestring=
9311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9312echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9313 no_cache=0
9314 # Check whether --enable-xpm or --disable-xpm was given.
9315if test "${enable_xpm+set}" = set; then
9316 enableval="$enable_xpm"
9317
9318 if test "$enableval" = yes; then
9319 ac_cv_use_xpm='wxUSE_XPM=yes'
9320 else
9321 ac_cv_use_xpm='wxUSE_XPM=no'
9322 fi
9323
9324else
9325
9326 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9327 if test "x$LINE" != x ; then
9328 eval "DEFAULT_$LINE"
9329 else
9330 no_cache=1
9331 fi
9332
9333 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9334
9335fi;
9336
9337 eval "$ac_cv_use_xpm"
9338 if test "$no_cache" != 1; then
9339 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9340 fi
9341
9342 if test "$wxUSE_XPM" = yes; then
9343 echo "$as_me:$LINENO: result: yes" >&5
9344echo "${ECHO_T}yes" >&6
9345 else
9346 echo "$as_me:$LINENO: result: no" >&5
9347echo "${ECHO_T}no" >&6
9348 fi
9349
9350
9351 enablestring=
9352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9353echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9354 no_cache=0
9355 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9356if test "${enable_ico_cur+set}" = set; then
9357 enableval="$enable_ico_cur"
9358
9359 if test "$enableval" = yes; then
9360 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9361 else
9362 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9363 fi
9364
9365else
9366
9367 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9368 if test "x$LINE" != x ; then
9369 eval "DEFAULT_$LINE"
9370 else
9371 no_cache=1
9372 fi
9373
9374 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9375
9376fi;
9377
9378 eval "$ac_cv_use_ico_cur"
9379 if test "$no_cache" != 1; then
9380 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9381 fi
9382
9383 if test "$wxUSE_ICO_CUR" = yes; then
9384 echo "$as_me:$LINENO: result: yes" >&5
9385echo "${ECHO_T}yes" >&6
9386 else
9387 echo "$as_me:$LINENO: result: no" >&5
9388echo "${ECHO_T}no" >&6
9389 fi
9390
9391
9392fi
9393
9394case "${host}" in
9395 *-pc-os2_emx | *-pc-os2-emx )
9396 PATH_IFS=';'
9397 LEX_STEM="lexyy"
9398 ;;
9399 *)
9400 PATH_IFS=':'
9401 LEX_STEM="lex.yy"
9402 ;;
9403esac
9404
9405
9406
9407 echo "saving argument cache $wx_arg_cache_file"
9408 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9409
9410
9411
9412echo "$as_me:$LINENO: checking for toolkit" >&5
9413echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9414
9415# In Wine, we need to default to MSW, not GTK or MOTIF
9416if test "$wxUSE_WINE" = "yes"; then
9417 DEFAULT_DEFAULT_wxUSE_GTK=0
9418 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9419 DEFAULT_DEFAULT_wxUSE_MSW=1
9420fi
9421
9422if test "$wxUSE_GUI" = "yes"; then
9423
9424 if test "$USE_BEOS" = 1; then
9425 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9426echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9427 { (exit 1); exit 1; }; }
9428 fi
9429
9430 if test "$TOOLKIT_GIVEN" = 1; then
9431 for toolkit in `echo $ALL_TOOLKITS`; do
9432 var=wxUSE_$toolkit
9433 eval "value=\$${var}"
9434 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9435 done
9436 else
9437 for toolkit in `echo $ALL_TOOLKITS`; do
9438 if test "$has_toolkit_in_cache" != 1; then
9439 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9440 else
9441 var=DEFAULT_wxUSE_$toolkit
9442 fi
9443 eval "wxUSE_$toolkit=\$${var}"
9444 done
9445 fi
9446
9447 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9448 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9449 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9450
9451 case "${host}" in
9452 *-pc-os2_emx | *-pc-os2-emx )
9453 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9454 esac
9455
9456 case "$NUM_TOOLKITS" in
9457 1)
9458 ;;
9459 0)
9460 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9461echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9462 { (exit 1); exit 1; }; }
9463 ;;
9464 *)
9465 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9466echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9467 { (exit 1); exit 1; }; }
9468 esac
9469
9470 for toolkit in `echo $ALL_TOOLKITS`; do
9471 var=wxUSE_$toolkit
9472 eval "value=\$${var}"
9473 if test "x$value" != x; then
9474 cache_var=CACHE_$toolkit
9475 eval "cache=\$${cache_var}"
9476 if test "$cache" = 1; then
9477 echo "$var=$value" >> ${wx_arg_cache_file}
9478 fi
9479 if test "$value" = 1; then
9480 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9481 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9482echo "${ECHO_T}$toolkit_echo" >&6
9483 fi
9484 fi
9485 done
9486else
9487 if test "x$host_alias" != "x"; then
9488 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9489echo "${ECHO_T}base ($host_alias hosted) only" >&6
9490 else
9491 echo "$as_me:$LINENO: result: base only" >&5
9492echo "${ECHO_T}base only" >&6
9493 fi
9494fi
9495
9496wants_win32=0
9497doesnt_want_win32=0
9498case "${host}" in
9499 *-*-cygwin*)
9500 if test "$wxUSE_MSW" = 1 ; then
9501 wants_win32=1
9502 else
9503 doesnt_want_win32=1
9504 fi
9505 ;;
9506 *-*-mingw*)
9507 wants_win32=1
9508 ;;
9509esac
9510
9511if test "$wxUSE_WINE" = "yes"; then
9512 wants_win32=1
9513 CC=winegcc
9514 CXX=wineg++
9515 RESCOMP=wrc
9516fi
9517
9518if test "$wants_win32" = 1 ; then
9519 USE_UNIX=0
9520 USE_WIN32=1
9521 cat >>confdefs.h <<\_ACEOF
9522#define __WIN32__ 1
9523_ACEOF
9524
9525 cat >>confdefs.h <<\_ACEOF
9526#define __WIN95__ 1
9527_ACEOF
9528
9529 cat >>confdefs.h <<\_ACEOF
9530#define __WINDOWS__ 1
9531_ACEOF
9532
9533 cat >>confdefs.h <<\_ACEOF
9534#define __GNUWIN32__ 1
9535_ACEOF
9536
9537 cat >>confdefs.h <<\_ACEOF
9538#define STRICT 1
9539_ACEOF
9540
9541 cat >>confdefs.h <<\_ACEOF
9542#define WINVER 0x0400
9543_ACEOF
9544
9545fi
9546if test "$doesnt_want_win32" = 1 ; then
9547 USE_UNIX=1
9548 USE_WIN32=0
9549fi
9550
9551if test "$USE_UNIX" = 1 ; then
9552 wxUSE_UNIX=yes
9553 cat >>confdefs.h <<\_ACEOF
9554#define __UNIX__ 1
9555_ACEOF
9556
9557fi
9558
9559
9560cat >confcache <<\_ACEOF
9561# This file is a shell script that caches the results of configure
9562# tests run on this system so they can be shared between configure
9563# scripts and configure runs, see configure's option --config-cache.
9564# It is not useful on other systems. If it contains results you don't
9565# want to keep, you may remove or edit it.
9566#
9567# config.status only pays attention to the cache file if you give it
9568# the --recheck option to rerun configure.
9569#
9570# `ac_cv_env_foo' variables (set or unset) will be overridden when
9571# loading this file, other *unset* `ac_cv_foo' will be assigned the
9572# following values.
9573
9574_ACEOF
9575
9576# The following way of writing the cache mishandles newlines in values,
9577# but we know of no workaround that is simple, portable, and efficient.
9578# So, don't put newlines in cache variables' values.
9579# Ultrix sh set writes to stderr and can't be redirected directly,
9580# and sets the high bit in the cache file unless we assign to the vars.
9581{
9582 (set) 2>&1 |
9583 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9584 *ac_space=\ *)
9585 # `set' does not quote correctly, so add quotes (double-quote
9586 # substitution turns \\\\ into \\, and sed turns \\ into \).
9587 sed -n \
9588 "s/'/'\\\\''/g;
9589 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9590 ;;
9591 *)
9592 # `set' quotes correctly as required by POSIX, so do not add quotes.
9593 sed -n \
9594 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9595 ;;
9596 esac;
9597} |
9598 sed '
9599 t clear
9600 : clear
9601 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9602 t end
9603 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9604 : end' >>confcache
9605if diff $cache_file confcache >/dev/null 2>&1; then :; else
9606 if test -w $cache_file; then
9607 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9608 cat confcache >$cache_file
9609 else
9610 echo "not updating unwritable cache $cache_file"
9611 fi
9612fi
9613rm -f confcache
9614
9615if test "$build" != "$host" ; then
9616 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9617 CC=$host_alias-gcc
9618 CXX=$host_alias-c++
9619 AR=$host_alias-ar
9620 RANLIB=$host_alias-ranlib
9621 DLLTOOL=$host_alias-dlltool
9622 RESCOMP=$host_alias-windres
9623 LD=$host_alias-ld
9624 NM=$host_alias-nm
9625 STRIP=$host_alias-strip
9626 else
9627 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9628echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9629 { (exit 1); exit 1; }; }
9630 fi
9631fi
9632
9633CFLAGS=${CFLAGS:=}
9634ac_ext=c
9635ac_cpp='$CPP $CPPFLAGS'
9636ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9637ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9638ac_compiler_gnu=$ac_cv_c_compiler_gnu
9639if test -n "$ac_tool_prefix"; then
9640 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9641set dummy ${ac_tool_prefix}gcc; ac_word=$2
9642echo "$as_me:$LINENO: checking for $ac_word" >&5
9643echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9644if test "${ac_cv_prog_CC+set}" = set; then
9645 echo $ECHO_N "(cached) $ECHO_C" >&6
9646else
9647 if test -n "$CC"; then
9648 ac_cv_prog_CC="$CC" # Let the user override the test.
9649else
9650as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9651for as_dir in $PATH
9652do
9653 IFS=$as_save_IFS
9654 test -z "$as_dir" && as_dir=.
9655 for ac_exec_ext in '' $ac_executable_extensions; do
9656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9657 ac_cv_prog_CC="${ac_tool_prefix}gcc"
9658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9659 break 2
9660 fi
9661done
9662done
9663
9664fi
9665fi
9666CC=$ac_cv_prog_CC
9667if test -n "$CC"; then
9668 echo "$as_me:$LINENO: result: $CC" >&5
9669echo "${ECHO_T}$CC" >&6
9670else
9671 echo "$as_me:$LINENO: result: no" >&5
9672echo "${ECHO_T}no" >&6
9673fi
9674
9675fi
9676if test -z "$ac_cv_prog_CC"; then
9677 ac_ct_CC=$CC
9678 # Extract the first word of "gcc", so it can be a program name with args.
9679set dummy gcc; ac_word=$2
9680echo "$as_me:$LINENO: checking for $ac_word" >&5
9681echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9682if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9683 echo $ECHO_N "(cached) $ECHO_C" >&6
9684else
9685 if test -n "$ac_ct_CC"; then
9686 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9687else
9688as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9689for as_dir in $PATH
9690do
9691 IFS=$as_save_IFS
9692 test -z "$as_dir" && as_dir=.
9693 for ac_exec_ext in '' $ac_executable_extensions; do
9694 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9695 ac_cv_prog_ac_ct_CC="gcc"
9696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9697 break 2
9698 fi
9699done
9700done
9701
9702fi
9703fi
9704ac_ct_CC=$ac_cv_prog_ac_ct_CC
9705if test -n "$ac_ct_CC"; then
9706 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9707echo "${ECHO_T}$ac_ct_CC" >&6
9708else
9709 echo "$as_me:$LINENO: result: no" >&5
9710echo "${ECHO_T}no" >&6
9711fi
9712
9713 CC=$ac_ct_CC
9714else
9715 CC="$ac_cv_prog_CC"
9716fi
9717
9718if test -z "$CC"; then
9719 if test -n "$ac_tool_prefix"; then
9720 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9721set dummy ${ac_tool_prefix}cc; ac_word=$2
9722echo "$as_me:$LINENO: checking for $ac_word" >&5
9723echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9724if test "${ac_cv_prog_CC+set}" = set; then
9725 echo $ECHO_N "(cached) $ECHO_C" >&6
9726else
9727 if test -n "$CC"; then
9728 ac_cv_prog_CC="$CC" # Let the user override the test.
9729else
9730as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9731for as_dir in $PATH
9732do
9733 IFS=$as_save_IFS
9734 test -z "$as_dir" && as_dir=.
9735 for ac_exec_ext in '' $ac_executable_extensions; do
9736 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9737 ac_cv_prog_CC="${ac_tool_prefix}cc"
9738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9739 break 2
9740 fi
9741done
9742done
9743
9744fi
9745fi
9746CC=$ac_cv_prog_CC
9747if test -n "$CC"; then
9748 echo "$as_me:$LINENO: result: $CC" >&5
9749echo "${ECHO_T}$CC" >&6
9750else
9751 echo "$as_me:$LINENO: result: no" >&5
9752echo "${ECHO_T}no" >&6
9753fi
9754
9755fi
9756if test -z "$ac_cv_prog_CC"; then
9757 ac_ct_CC=$CC
9758 # Extract the first word of "cc", so it can be a program name with args.
9759set dummy cc; ac_word=$2
9760echo "$as_me:$LINENO: checking for $ac_word" >&5
9761echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9762if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9763 echo $ECHO_N "(cached) $ECHO_C" >&6
9764else
9765 if test -n "$ac_ct_CC"; then
9766 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9767else
9768as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9769for as_dir in $PATH
9770do
9771 IFS=$as_save_IFS
9772 test -z "$as_dir" && as_dir=.
9773 for ac_exec_ext in '' $ac_executable_extensions; do
9774 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9775 ac_cv_prog_ac_ct_CC="cc"
9776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9777 break 2
9778 fi
9779done
9780done
9781
9782fi
9783fi
9784ac_ct_CC=$ac_cv_prog_ac_ct_CC
9785if test -n "$ac_ct_CC"; then
9786 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9787echo "${ECHO_T}$ac_ct_CC" >&6
9788else
9789 echo "$as_me:$LINENO: result: no" >&5
9790echo "${ECHO_T}no" >&6
9791fi
9792
9793 CC=$ac_ct_CC
9794else
9795 CC="$ac_cv_prog_CC"
9796fi
9797
9798fi
9799if test -z "$CC"; then
9800 # Extract the first word of "cc", so it can be a program name with args.
9801set dummy cc; ac_word=$2
9802echo "$as_me:$LINENO: checking for $ac_word" >&5
9803echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9804if test "${ac_cv_prog_CC+set}" = set; then
9805 echo $ECHO_N "(cached) $ECHO_C" >&6
9806else
9807 if test -n "$CC"; then
9808 ac_cv_prog_CC="$CC" # Let the user override the test.
9809else
9810 ac_prog_rejected=no
9811as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9812for as_dir in $PATH
9813do
9814 IFS=$as_save_IFS
9815 test -z "$as_dir" && as_dir=.
9816 for ac_exec_ext in '' $ac_executable_extensions; do
9817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9818 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9819 ac_prog_rejected=yes
9820 continue
9821 fi
9822 ac_cv_prog_CC="cc"
9823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9824 break 2
9825 fi
9826done
9827done
9828
9829if test $ac_prog_rejected = yes; then
9830 # We found a bogon in the path, so make sure we never use it.
9831 set dummy $ac_cv_prog_CC
9832 shift
9833 if test $# != 0; then
9834 # We chose a different compiler from the bogus one.
9835 # However, it has the same basename, so the bogon will be chosen
9836 # first if we set CC to just the basename; use the full file name.
9837 shift
9838 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
9839 fi
9840fi
9841fi
9842fi
9843CC=$ac_cv_prog_CC
9844if test -n "$CC"; then
9845 echo "$as_me:$LINENO: result: $CC" >&5
9846echo "${ECHO_T}$CC" >&6
9847else
9848 echo "$as_me:$LINENO: result: no" >&5
9849echo "${ECHO_T}no" >&6
9850fi
9851
9852fi
9853if test -z "$CC"; then
9854 if test -n "$ac_tool_prefix"; then
9855 for ac_prog in cl
9856 do
9857 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9858set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9859echo "$as_me:$LINENO: checking for $ac_word" >&5
9860echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9861if test "${ac_cv_prog_CC+set}" = set; then
9862 echo $ECHO_N "(cached) $ECHO_C" >&6
9863else
9864 if test -n "$CC"; then
9865 ac_cv_prog_CC="$CC" # Let the user override the test.
9866else
9867as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9868for as_dir in $PATH
9869do
9870 IFS=$as_save_IFS
9871 test -z "$as_dir" && as_dir=.
9872 for ac_exec_ext in '' $ac_executable_extensions; do
9873 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9874 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
9875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9876 break 2
9877 fi
9878done
9879done
9880
9881fi
9882fi
9883CC=$ac_cv_prog_CC
9884if test -n "$CC"; then
9885 echo "$as_me:$LINENO: result: $CC" >&5
9886echo "${ECHO_T}$CC" >&6
9887else
9888 echo "$as_me:$LINENO: result: no" >&5
9889echo "${ECHO_T}no" >&6
9890fi
9891
9892 test -n "$CC" && break
9893 done
9894fi
9895if test -z "$CC"; then
9896 ac_ct_CC=$CC
9897 for ac_prog in cl
9898do
9899 # Extract the first word of "$ac_prog", so it can be a program name with args.
9900set dummy $ac_prog; ac_word=$2
9901echo "$as_me:$LINENO: checking for $ac_word" >&5
9902echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9903if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9904 echo $ECHO_N "(cached) $ECHO_C" >&6
9905else
9906 if test -n "$ac_ct_CC"; then
9907 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9908else
9909as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9910for as_dir in $PATH
9911do
9912 IFS=$as_save_IFS
9913 test -z "$as_dir" && as_dir=.
9914 for ac_exec_ext in '' $ac_executable_extensions; do
9915 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9916 ac_cv_prog_ac_ct_CC="$ac_prog"
9917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9918 break 2
9919 fi
9920done
9921done
9922
9923fi
9924fi
9925ac_ct_CC=$ac_cv_prog_ac_ct_CC
9926if test -n "$ac_ct_CC"; then
9927 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9928echo "${ECHO_T}$ac_ct_CC" >&6
9929else
9930 echo "$as_me:$LINENO: result: no" >&5
9931echo "${ECHO_T}no" >&6
9932fi
9933
9934 test -n "$ac_ct_CC" && break
9935done
9936
9937 CC=$ac_ct_CC
9938fi
9939
9940fi
9941
9942
9943test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
9944See \`config.log' for more details." >&5
9945echo "$as_me: error: no acceptable C compiler found in \$PATH
9946See \`config.log' for more details." >&2;}
9947 { (exit 1); exit 1; }; }
9948
9949# Provide some information about the compiler.
9950echo "$as_me:$LINENO:" \
9951 "checking for C compiler version" >&5
9952ac_compiler=`set X $ac_compile; echo $2`
9953{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
9954 (eval $ac_compiler --version </dev/null >&5) 2>&5
9955 ac_status=$?
9956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9957 (exit $ac_status); }
9958{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
9959 (eval $ac_compiler -v </dev/null >&5) 2>&5
9960 ac_status=$?
9961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9962 (exit $ac_status); }
9963{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
9964 (eval $ac_compiler -V </dev/null >&5) 2>&5
9965 ac_status=$?
9966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9967 (exit $ac_status); }
9968
9969cat >conftest.$ac_ext <<_ACEOF
9970#line $LINENO "configure"
9971/* confdefs.h. */
9972_ACEOF
9973cat confdefs.h >>conftest.$ac_ext
9974cat >>conftest.$ac_ext <<_ACEOF
9975/* end confdefs.h. */
9976
9977int
9978main ()
9979{
9980
9981 ;
9982 return 0;
9983}
9984_ACEOF
9985ac_clean_files_save=$ac_clean_files
9986ac_clean_files="$ac_clean_files a.out a.exe b.out"
9987# Try to create an executable without -o first, disregard a.out.
9988# It will help us diagnose broken compilers, and finding out an intuition
9989# of exeext.
9990echo "$as_me:$LINENO: checking for C compiler default output" >&5
9991echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
9992ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
9993if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
9994 (eval $ac_link_default) 2>&5
9995 ac_status=$?
9996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9997 (exit $ac_status); }; then
9998 # Find the output, starting from the most likely. This scheme is
9999# not robust to junk in `.', hence go to wildcards (a.*) only as a last
10000# resort.
10001
10002# Be careful to initialize this variable, since it used to be cached.
10003# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10004ac_cv_exeext=
10005# b.out is created by i960 compilers.
10006for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10007do
10008 test -f "$ac_file" || continue
10009 case $ac_file in
10010 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10011 ;;
10012 conftest.$ac_ext )
10013 # This is the source file.
10014 ;;
10015 [ab].out )
10016 # We found the default executable, but exeext='' is most
10017 # certainly right.
10018 break;;
10019 *.* )
10020 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10021 # FIXME: I believe we export ac_cv_exeext for Libtool,
10022 # but it would be cool to find out if it's true. Does anybody
10023 # maintain Libtool? --akim.
10024 export ac_cv_exeext
10025 break;;
10026 * )
10027 break;;
10028 esac
10029done
10030else
10031 echo "$as_me: failed program was:" >&5
10032sed 's/^/| /' conftest.$ac_ext >&5
10033
10034{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
10035See \`config.log' for more details." >&5
10036echo "$as_me: error: C compiler cannot create executables
10037See \`config.log' for more details." >&2;}
10038 { (exit 77); exit 77; }; }
10039fi
10040
10041ac_exeext=$ac_cv_exeext
10042echo "$as_me:$LINENO: result: $ac_file" >&5
10043echo "${ECHO_T}$ac_file" >&6
10044
10045# Check the compiler produces executables we can run. If not, either
10046# the compiler is broken, or we cross compile.
10047echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10048echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10049# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10050# If not cross compiling, check that we can run a simple program.
10051if test "$cross_compiling" != yes; then
10052 if { ac_try='./$ac_file'
10053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10054 (eval $ac_try) 2>&5
10055 ac_status=$?
10056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10057 (exit $ac_status); }; }; then
10058 cross_compiling=no
10059 else
10060 if test "$cross_compiling" = maybe; then
10061 cross_compiling=yes
10062 else
10063 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10064If you meant to cross compile, use \`--host'.
10065See \`config.log' for more details." >&5
10066echo "$as_me: error: cannot run C compiled programs.
10067If you meant to cross compile, use \`--host'.
10068See \`config.log' for more details." >&2;}
10069 { (exit 1); exit 1; }; }
10070 fi
10071 fi
10072fi
10073echo "$as_me:$LINENO: result: yes" >&5
10074echo "${ECHO_T}yes" >&6
10075
10076rm -f a.out a.exe conftest$ac_cv_exeext b.out
10077ac_clean_files=$ac_clean_files_save
10078# Check the compiler produces executables we can run. If not, either
10079# the compiler is broken, or we cross compile.
10080echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10081echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10082echo "$as_me:$LINENO: result: $cross_compiling" >&5
10083echo "${ECHO_T}$cross_compiling" >&6
10084
10085echo "$as_me:$LINENO: checking for suffix of executables" >&5
10086echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10087if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10088 (eval $ac_link) 2>&5
10089 ac_status=$?
10090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10091 (exit $ac_status); }; then
10092 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10093# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10094# work properly (i.e., refer to `conftest.exe'), while it won't with
10095# `rm'.
10096for ac_file in conftest.exe conftest conftest.*; do
10097 test -f "$ac_file" || continue
10098 case $ac_file in
10099 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10100 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10101 export ac_cv_exeext
10102 break;;
10103 * ) break;;
10104 esac
10105done
10106else
10107 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10108See \`config.log' for more details." >&5
10109echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10110See \`config.log' for more details." >&2;}
10111 { (exit 1); exit 1; }; }
10112fi
10113
10114rm -f conftest$ac_cv_exeext
10115echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10116echo "${ECHO_T}$ac_cv_exeext" >&6
10117
10118rm -f conftest.$ac_ext
10119EXEEXT=$ac_cv_exeext
10120ac_exeext=$EXEEXT
10121echo "$as_me:$LINENO: checking for suffix of object files" >&5
10122echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10123if test "${ac_cv_objext+set}" = set; then
10124 echo $ECHO_N "(cached) $ECHO_C" >&6
10125else
10126 cat >conftest.$ac_ext <<_ACEOF
10127#line $LINENO "configure"
10128/* confdefs.h. */
10129_ACEOF
10130cat confdefs.h >>conftest.$ac_ext
10131cat >>conftest.$ac_ext <<_ACEOF
10132/* end confdefs.h. */
10133
10134int
10135main ()
10136{
10137
10138 ;
10139 return 0;
10140}
10141_ACEOF
10142rm -f conftest.o conftest.obj
10143if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10144 (eval $ac_compile) 2>&5
10145 ac_status=$?
10146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10147 (exit $ac_status); }; then
10148 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10149 case $ac_file in
10150 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10151 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10152 break;;
10153 esac
10154done
10155else
10156 echo "$as_me: failed program was:" >&5
10157sed 's/^/| /' conftest.$ac_ext >&5
10158
10159{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10160See \`config.log' for more details." >&5
10161echo "$as_me: error: cannot compute suffix of object files: cannot compile
10162See \`config.log' for more details." >&2;}
10163 { (exit 1); exit 1; }; }
10164fi
10165
10166rm -f conftest.$ac_cv_objext conftest.$ac_ext
10167fi
10168echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10169echo "${ECHO_T}$ac_cv_objext" >&6
10170OBJEXT=$ac_cv_objext
10171ac_objext=$OBJEXT
10172echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10173echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10174if test "${ac_cv_c_compiler_gnu+set}" = set; then
10175 echo $ECHO_N "(cached) $ECHO_C" >&6
10176else
10177 cat >conftest.$ac_ext <<_ACEOF
10178#line $LINENO "configure"
10179/* confdefs.h. */
10180_ACEOF
10181cat confdefs.h >>conftest.$ac_ext
10182cat >>conftest.$ac_ext <<_ACEOF
10183/* end confdefs.h. */
10184
10185int
10186main ()
10187{
10188#ifndef __GNUC__
10189 choke me
10190#endif
10191
10192 ;
10193 return 0;
10194}
10195_ACEOF
10196rm -f conftest.$ac_objext
10197if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10198 (eval $ac_compile) 2>&5
10199 ac_status=$?
10200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10201 (exit $ac_status); } &&
10202 { ac_try='test -s conftest.$ac_objext'
10203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10204 (eval $ac_try) 2>&5
10205 ac_status=$?
10206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10207 (exit $ac_status); }; }; then
10208 ac_compiler_gnu=yes
10209else
10210 echo "$as_me: failed program was:" >&5
10211sed 's/^/| /' conftest.$ac_ext >&5
10212
10213ac_compiler_gnu=no
10214fi
10215rm -f conftest.$ac_objext conftest.$ac_ext
10216ac_cv_c_compiler_gnu=$ac_compiler_gnu
10217
10218fi
10219echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10220echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10221GCC=`test $ac_compiler_gnu = yes && echo yes`
10222ac_test_CFLAGS=${CFLAGS+set}
10223ac_save_CFLAGS=$CFLAGS
10224CFLAGS="-g"
10225echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10226echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10227if test "${ac_cv_prog_cc_g+set}" = set; then
10228 echo $ECHO_N "(cached) $ECHO_C" >&6
10229else
10230 cat >conftest.$ac_ext <<_ACEOF
10231#line $LINENO "configure"
10232/* confdefs.h. */
10233_ACEOF
10234cat confdefs.h >>conftest.$ac_ext
10235cat >>conftest.$ac_ext <<_ACEOF
10236/* end confdefs.h. */
10237
10238int
10239main ()
10240{
10241
10242 ;
10243 return 0;
10244}
10245_ACEOF
10246rm -f conftest.$ac_objext
10247if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10248 (eval $ac_compile) 2>&5
10249 ac_status=$?
10250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10251 (exit $ac_status); } &&
10252 { ac_try='test -s conftest.$ac_objext'
10253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10254 (eval $ac_try) 2>&5
10255 ac_status=$?
10256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10257 (exit $ac_status); }; }; then
10258 ac_cv_prog_cc_g=yes
10259else
10260 echo "$as_me: failed program was:" >&5
10261sed 's/^/| /' conftest.$ac_ext >&5
10262
10263ac_cv_prog_cc_g=no
10264fi
10265rm -f conftest.$ac_objext conftest.$ac_ext
10266fi
10267echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10268echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10269if test "$ac_test_CFLAGS" = set; then
10270 CFLAGS=$ac_save_CFLAGS
10271elif test $ac_cv_prog_cc_g = yes; then
10272 if test "$GCC" = yes; then
10273 CFLAGS="-g -O2"
10274 else
10275 CFLAGS="-g"
10276 fi
10277else
10278 if test "$GCC" = yes; then
10279 CFLAGS="-O2"
10280 else
10281 CFLAGS=
10282 fi
10283fi
10284echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10285echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10286if test "${ac_cv_prog_cc_stdc+set}" = set; then
10287 echo $ECHO_N "(cached) $ECHO_C" >&6
10288else
10289 ac_cv_prog_cc_stdc=no
10290ac_save_CC=$CC
10291cat >conftest.$ac_ext <<_ACEOF
10292#line $LINENO "configure"
10293/* confdefs.h. */
10294_ACEOF
10295cat confdefs.h >>conftest.$ac_ext
10296cat >>conftest.$ac_ext <<_ACEOF
10297/* end confdefs.h. */
10298#include <stdarg.h>
10299#include <stdio.h>
10300#include <sys/types.h>
10301#include <sys/stat.h>
10302/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10303struct buf { int x; };
10304FILE * (*rcsopen) (struct buf *, struct stat *, int);
10305static char *e (p, i)
10306 char **p;
10307 int i;
10308{
10309 return p[i];
10310}
10311static char *f (char * (*g) (char **, int), char **p, ...)
10312{
10313 char *s;
10314 va_list v;
10315 va_start (v,p);
10316 s = g (p, va_arg (v,int));
10317 va_end (v);
10318 return s;
10319}
10320int test (int i, double x);
10321struct s1 {int (*f) (int a);};
10322struct s2 {int (*f) (double a);};
10323int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10324int argc;
10325char **argv;
10326int
10327main ()
10328{
10329return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10330 ;
10331 return 0;
10332}
10333_ACEOF
10334# Don't try gcc -ansi; that turns off useful extensions and
10335# breaks some systems' header files.
10336# AIX -qlanglvl=ansi
10337# Ultrix and OSF/1 -std1
10338# HP-UX 10.20 and later -Ae
10339# HP-UX older versions -Aa -D_HPUX_SOURCE
10340# SVR4 -Xc -D__EXTENSIONS__
10341for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10342do
10343 CC="$ac_save_CC $ac_arg"
10344 rm -f conftest.$ac_objext
10345if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10346 (eval $ac_compile) 2>&5
10347 ac_status=$?
10348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10349 (exit $ac_status); } &&
10350 { ac_try='test -s conftest.$ac_objext'
10351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10352 (eval $ac_try) 2>&5
10353 ac_status=$?
10354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10355 (exit $ac_status); }; }; then
10356 ac_cv_prog_cc_stdc=$ac_arg
10357break
10358else
10359 echo "$as_me: failed program was:" >&5
10360sed 's/^/| /' conftest.$ac_ext >&5
10361
10362fi
10363rm -f conftest.$ac_objext
10364done
10365rm -f conftest.$ac_ext conftest.$ac_objext
10366CC=$ac_save_CC
10367
10368fi
10369
10370case "x$ac_cv_prog_cc_stdc" in
10371 x|xno)
10372 echo "$as_me:$LINENO: result: none needed" >&5
10373echo "${ECHO_T}none needed" >&6 ;;
10374 *)
10375 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10376echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10377 CC="$CC $ac_cv_prog_cc_stdc" ;;
10378esac
10379
10380# Some people use a C++ compiler to compile C. Since we use `exit',
10381# in C++ we need to declare it. In case someone uses the same compiler
10382# for both compiling C and C++ we need to have the C++ compiler decide
10383# the declaration of exit, since it's the most demanding environment.
10384cat >conftest.$ac_ext <<_ACEOF
10385#ifndef __cplusplus
10386 choke me
10387#endif
10388_ACEOF
10389rm -f conftest.$ac_objext
10390if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10391 (eval $ac_compile) 2>&5
10392 ac_status=$?
10393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10394 (exit $ac_status); } &&
10395 { ac_try='test -s conftest.$ac_objext'
10396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10397 (eval $ac_try) 2>&5
10398 ac_status=$?
10399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10400 (exit $ac_status); }; }; then
10401 for ac_declaration in \
10402 ''\
10403 '#include <stdlib.h>' \
10404 'extern "C" void std::exit (int) throw (); using std::exit;' \
10405 'extern "C" void std::exit (int); using std::exit;' \
10406 'extern "C" void exit (int) throw ();' \
10407 'extern "C" void exit (int);' \
10408 'void exit (int);'
10409do
10410 cat >conftest.$ac_ext <<_ACEOF
10411#line $LINENO "configure"
10412/* confdefs.h. */
10413_ACEOF
10414cat confdefs.h >>conftest.$ac_ext
10415cat >>conftest.$ac_ext <<_ACEOF
10416/* end confdefs.h. */
10417#include <stdlib.h>
10418$ac_declaration
10419int
10420main ()
10421{
10422exit (42);
10423 ;
10424 return 0;
10425}
10426_ACEOF
10427rm -f conftest.$ac_objext
10428if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10429 (eval $ac_compile) 2>&5
10430 ac_status=$?
10431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10432 (exit $ac_status); } &&
10433 { ac_try='test -s conftest.$ac_objext'
10434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10435 (eval $ac_try) 2>&5
10436 ac_status=$?
10437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10438 (exit $ac_status); }; }; then
10439 :
10440else
10441 echo "$as_me: failed program was:" >&5
10442sed 's/^/| /' conftest.$ac_ext >&5
10443
10444continue
10445fi
10446rm -f conftest.$ac_objext conftest.$ac_ext
10447 cat >conftest.$ac_ext <<_ACEOF
10448#line $LINENO "configure"
10449/* confdefs.h. */
10450_ACEOF
10451cat confdefs.h >>conftest.$ac_ext
10452cat >>conftest.$ac_ext <<_ACEOF
10453/* end confdefs.h. */
10454$ac_declaration
10455int
10456main ()
10457{
10458exit (42);
10459 ;
10460 return 0;
10461}
10462_ACEOF
10463rm -f conftest.$ac_objext
10464if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10465 (eval $ac_compile) 2>&5
10466 ac_status=$?
10467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10468 (exit $ac_status); } &&
10469 { ac_try='test -s conftest.$ac_objext'
10470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10471 (eval $ac_try) 2>&5
10472 ac_status=$?
10473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10474 (exit $ac_status); }; }; then
10475 break
10476else
10477 echo "$as_me: failed program was:" >&5
10478sed 's/^/| /' conftest.$ac_ext >&5
10479
10480fi
10481rm -f conftest.$ac_objext conftest.$ac_ext
10482done
10483rm -f conftest*
10484if test -n "$ac_declaration"; then
10485 echo '#ifdef __cplusplus' >>confdefs.h
10486 echo $ac_declaration >>confdefs.h
10487 echo '#endif' >>confdefs.h
10488fi
10489
10490else
10491 echo "$as_me: failed program was:" >&5
10492sed 's/^/| /' conftest.$ac_ext >&5
10493
10494fi
10495rm -f conftest.$ac_objext conftest.$ac_ext
10496ac_ext=c
10497ac_cpp='$CPP $CPPFLAGS'
10498ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10499ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10500ac_compiler_gnu=$ac_cv_c_compiler_gnu
10501
10502
10503
10504ac_ext=c
10505ac_cpp='$CPP $CPPFLAGS'
10506ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10507ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10508ac_compiler_gnu=$ac_cv_c_compiler_gnu
10509echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10510echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10511# On Suns, sometimes $CPP names a directory.
10512if test -n "$CPP" && test -d "$CPP"; then
10513 CPP=
10514fi
10515if test -z "$CPP"; then
10516 if test "${ac_cv_prog_CPP+set}" = set; then
10517 echo $ECHO_N "(cached) $ECHO_C" >&6
10518else
10519 # Double quotes because CPP needs to be expanded
10520 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10521 do
10522 ac_preproc_ok=false
10523for ac_c_preproc_warn_flag in '' yes
10524do
10525 # Use a header file that comes with gcc, so configuring glibc
10526 # with a fresh cross-compiler works.
10527 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10528 # <limits.h> exists even on freestanding compilers.
10529 # On the NeXT, cc -E runs the code through the compiler's parser,
10530 # not just through cpp. "Syntax error" is here to catch this case.
10531 cat >conftest.$ac_ext <<_ACEOF
10532#line $LINENO "configure"
10533/* confdefs.h. */
10534_ACEOF
10535cat confdefs.h >>conftest.$ac_ext
10536cat >>conftest.$ac_ext <<_ACEOF
10537/* end confdefs.h. */
10538#ifdef __STDC__
10539# include <limits.h>
10540#else
10541# include <assert.h>
10542#endif
10543 Syntax error
10544_ACEOF
10545if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10546 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10547 ac_status=$?
10548 grep -v '^ *+' conftest.er1 >conftest.err
10549 rm -f conftest.er1
10550 cat conftest.err >&5
10551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10552 (exit $ac_status); } >/dev/null; then
10553 if test -s conftest.err; then
10554 ac_cpp_err=$ac_c_preproc_warn_flag
10555 else
10556 ac_cpp_err=
10557 fi
10558else
10559 ac_cpp_err=yes
10560fi
10561if test -z "$ac_cpp_err"; then
10562 :
10563else
10564 echo "$as_me: failed program was:" >&5
10565sed 's/^/| /' conftest.$ac_ext >&5
10566
10567 # Broken: fails on valid input.
10568continue
10569fi
10570rm -f conftest.err conftest.$ac_ext
10571
10572 # OK, works on sane cases. Now check whether non-existent headers
10573 # can be detected and how.
10574 cat >conftest.$ac_ext <<_ACEOF
10575#line $LINENO "configure"
10576/* confdefs.h. */
10577_ACEOF
10578cat confdefs.h >>conftest.$ac_ext
10579cat >>conftest.$ac_ext <<_ACEOF
10580/* end confdefs.h. */
10581#include <ac_nonexistent.h>
10582_ACEOF
10583if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10584 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10585 ac_status=$?
10586 grep -v '^ *+' conftest.er1 >conftest.err
10587 rm -f conftest.er1
10588 cat conftest.err >&5
10589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10590 (exit $ac_status); } >/dev/null; then
10591 if test -s conftest.err; then
10592 ac_cpp_err=$ac_c_preproc_warn_flag
10593 else
10594 ac_cpp_err=
10595 fi
10596else
10597 ac_cpp_err=yes
10598fi
10599if test -z "$ac_cpp_err"; then
10600 # Broken: success on invalid input.
10601continue
10602else
10603 echo "$as_me: failed program was:" >&5
10604sed 's/^/| /' conftest.$ac_ext >&5
10605
10606 # Passes both tests.
10607ac_preproc_ok=:
10608break
10609fi
10610rm -f conftest.err conftest.$ac_ext
10611
10612done
10613# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10614rm -f conftest.err conftest.$ac_ext
10615if $ac_preproc_ok; then
10616 break
10617fi
10618
10619 done
10620 ac_cv_prog_CPP=$CPP
10621
10622fi
10623 CPP=$ac_cv_prog_CPP
10624else
10625 ac_cv_prog_CPP=$CPP
10626fi
10627echo "$as_me:$LINENO: result: $CPP" >&5
10628echo "${ECHO_T}$CPP" >&6
10629ac_preproc_ok=false
10630for ac_c_preproc_warn_flag in '' yes
10631do
10632 # Use a header file that comes with gcc, so configuring glibc
10633 # with a fresh cross-compiler works.
10634 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10635 # <limits.h> exists even on freestanding compilers.
10636 # On the NeXT, cc -E runs the code through the compiler's parser,
10637 # not just through cpp. "Syntax error" is here to catch this case.
10638 cat >conftest.$ac_ext <<_ACEOF
10639#line $LINENO "configure"
10640/* confdefs.h. */
10641_ACEOF
10642cat confdefs.h >>conftest.$ac_ext
10643cat >>conftest.$ac_ext <<_ACEOF
10644/* end confdefs.h. */
10645#ifdef __STDC__
10646# include <limits.h>
10647#else
10648# include <assert.h>
10649#endif
10650 Syntax error
10651_ACEOF
10652if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10653 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10654 ac_status=$?
10655 grep -v '^ *+' conftest.er1 >conftest.err
10656 rm -f conftest.er1
10657 cat conftest.err >&5
10658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10659 (exit $ac_status); } >/dev/null; then
10660 if test -s conftest.err; then
10661 ac_cpp_err=$ac_c_preproc_warn_flag
10662 else
10663 ac_cpp_err=
10664 fi
10665else
10666 ac_cpp_err=yes
10667fi
10668if test -z "$ac_cpp_err"; then
10669 :
10670else
10671 echo "$as_me: failed program was:" >&5
10672sed 's/^/| /' conftest.$ac_ext >&5
10673
10674 # Broken: fails on valid input.
10675continue
10676fi
10677rm -f conftest.err conftest.$ac_ext
10678
10679 # OK, works on sane cases. Now check whether non-existent headers
10680 # can be detected and how.
10681 cat >conftest.$ac_ext <<_ACEOF
10682#line $LINENO "configure"
10683/* confdefs.h. */
10684_ACEOF
10685cat confdefs.h >>conftest.$ac_ext
10686cat >>conftest.$ac_ext <<_ACEOF
10687/* end confdefs.h. */
10688#include <ac_nonexistent.h>
10689_ACEOF
10690if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10691 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10692 ac_status=$?
10693 grep -v '^ *+' conftest.er1 >conftest.err
10694 rm -f conftest.er1
10695 cat conftest.err >&5
10696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10697 (exit $ac_status); } >/dev/null; then
10698 if test -s conftest.err; then
10699 ac_cpp_err=$ac_c_preproc_warn_flag
10700 else
10701 ac_cpp_err=
10702 fi
10703else
10704 ac_cpp_err=yes
10705fi
10706if test -z "$ac_cpp_err"; then
10707 # Broken: success on invalid input.
10708continue
10709else
10710 echo "$as_me: failed program was:" >&5
10711sed 's/^/| /' conftest.$ac_ext >&5
10712
10713 # Passes both tests.
10714ac_preproc_ok=:
10715break
10716fi
10717rm -f conftest.err conftest.$ac_ext
10718
10719done
10720# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10721rm -f conftest.err conftest.$ac_ext
10722if $ac_preproc_ok; then
10723 :
10724else
10725 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10726See \`config.log' for more details." >&5
10727echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10728See \`config.log' for more details." >&2;}
10729 { (exit 1); exit 1; }; }
10730fi
10731
10732ac_ext=c
10733ac_cpp='$CPP $CPPFLAGS'
10734ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10735ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10736ac_compiler_gnu=$ac_cv_c_compiler_gnu
10737
10738
10739echo "$as_me:$LINENO: checking for egrep" >&5
10740echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10741if test "${ac_cv_prog_egrep+set}" = set; then
10742 echo $ECHO_N "(cached) $ECHO_C" >&6
10743else
10744 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10745 then ac_cv_prog_egrep='grep -E'
10746 else ac_cv_prog_egrep='egrep'
10747 fi
10748fi
10749echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10750echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10751 EGREP=$ac_cv_prog_egrep
10752
10753
10754if test $ac_cv_c_compiler_gnu = yes; then
10755 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10756echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10757if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10758 echo $ECHO_N "(cached) $ECHO_C" >&6
10759else
10760 ac_pattern="Autoconf.*'x'"
10761 cat >conftest.$ac_ext <<_ACEOF
10762#line $LINENO "configure"
10763/* confdefs.h. */
10764_ACEOF
10765cat confdefs.h >>conftest.$ac_ext
10766cat >>conftest.$ac_ext <<_ACEOF
10767/* end confdefs.h. */
10768#include <sgtty.h>
10769Autoconf TIOCGETP
10770_ACEOF
10771if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10772 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10773 ac_cv_prog_gcc_traditional=yes
10774else
10775 ac_cv_prog_gcc_traditional=no
10776fi
10777rm -f conftest*
10778
10779
10780 if test $ac_cv_prog_gcc_traditional = no; then
10781 cat >conftest.$ac_ext <<_ACEOF
10782#line $LINENO "configure"
10783/* confdefs.h. */
10784_ACEOF
10785cat confdefs.h >>conftest.$ac_ext
10786cat >>conftest.$ac_ext <<_ACEOF
10787/* end confdefs.h. */
10788#include <termio.h>
10789Autoconf TCGETA
10790_ACEOF
10791if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10792 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10793 ac_cv_prog_gcc_traditional=yes
10794fi
10795rm -f conftest*
10796
10797 fi
10798fi
10799echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10800echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10801 if test $ac_cv_prog_gcc_traditional = yes; then
10802 CC="$CC -traditional"
10803 fi
10804fi
10805
10806
10807
10808
10809ac_ext=cc
10810ac_cpp='$CXXCPP $CPPFLAGS'
10811ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10812ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10813ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10814
10815
10816CXXFLAGS=${CXXFLAGS:=}
10817ac_ext=cc
10818ac_cpp='$CXXCPP $CPPFLAGS'
10819ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10820ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10821ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10822if test -n "$ac_tool_prefix"; then
10823 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10824 do
10825 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10826set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10827echo "$as_me:$LINENO: checking for $ac_word" >&5
10828echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10829if test "${ac_cv_prog_CXX+set}" = set; then
10830 echo $ECHO_N "(cached) $ECHO_C" >&6
10831else
10832 if test -n "$CXX"; then
10833 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10834else
10835as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10836for as_dir in $PATH
10837do
10838 IFS=$as_save_IFS
10839 test -z "$as_dir" && as_dir=.
10840 for ac_exec_ext in '' $ac_executable_extensions; do
10841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10842 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10844 break 2
10845 fi
10846done
10847done
10848
10849fi
10850fi
10851CXX=$ac_cv_prog_CXX
10852if test -n "$CXX"; then
10853 echo "$as_me:$LINENO: result: $CXX" >&5
10854echo "${ECHO_T}$CXX" >&6
10855else
10856 echo "$as_me:$LINENO: result: no" >&5
10857echo "${ECHO_T}no" >&6
10858fi
10859
10860 test -n "$CXX" && break
10861 done
10862fi
10863if test -z "$CXX"; then
10864 ac_ct_CXX=$CXX
10865 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10866do
10867 # Extract the first word of "$ac_prog", so it can be a program name with args.
10868set dummy $ac_prog; ac_word=$2
10869echo "$as_me:$LINENO: checking for $ac_word" >&5
10870echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10871if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10872 echo $ECHO_N "(cached) $ECHO_C" >&6
10873else
10874 if test -n "$ac_ct_CXX"; then
10875 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
10876else
10877as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10878for as_dir in $PATH
10879do
10880 IFS=$as_save_IFS
10881 test -z "$as_dir" && as_dir=.
10882 for ac_exec_ext in '' $ac_executable_extensions; do
10883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10884 ac_cv_prog_ac_ct_CXX="$ac_prog"
10885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10886 break 2
10887 fi
10888done
10889done
10890
10891fi
10892fi
10893ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
10894if test -n "$ac_ct_CXX"; then
10895 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
10896echo "${ECHO_T}$ac_ct_CXX" >&6
10897else
10898 echo "$as_me:$LINENO: result: no" >&5
10899echo "${ECHO_T}no" >&6
10900fi
10901
10902 test -n "$ac_ct_CXX" && break
10903done
10904test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
10905
10906 CXX=$ac_ct_CXX
10907fi
10908
10909
10910# Provide some information about the compiler.
10911echo "$as_me:$LINENO:" \
10912 "checking for C++ compiler version" >&5
10913ac_compiler=`set X $ac_compile; echo $2`
10914{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10915 (eval $ac_compiler --version </dev/null >&5) 2>&5
10916 ac_status=$?
10917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10918 (exit $ac_status); }
10919{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10920 (eval $ac_compiler -v </dev/null >&5) 2>&5
10921 ac_status=$?
10922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10923 (exit $ac_status); }
10924{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10925 (eval $ac_compiler -V </dev/null >&5) 2>&5
10926 ac_status=$?
10927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10928 (exit $ac_status); }
10929
10930echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
10931echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
10932if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
10933 echo $ECHO_N "(cached) $ECHO_C" >&6
10934else
10935 cat >conftest.$ac_ext <<_ACEOF
10936#line $LINENO "configure"
10937/* confdefs.h. */
10938_ACEOF
10939cat confdefs.h >>conftest.$ac_ext
10940cat >>conftest.$ac_ext <<_ACEOF
10941/* end confdefs.h. */
10942
10943int
10944main ()
10945{
10946#ifndef __GNUC__
10947 choke me
10948#endif
10949
10950 ;
10951 return 0;
10952}
10953_ACEOF
10954rm -f conftest.$ac_objext
10955if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10956 (eval $ac_compile) 2>&5
10957 ac_status=$?
10958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10959 (exit $ac_status); } &&
10960 { ac_try='test -s conftest.$ac_objext'
10961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10962 (eval $ac_try) 2>&5
10963 ac_status=$?
10964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10965 (exit $ac_status); }; }; then
10966 ac_compiler_gnu=yes
10967else
10968 echo "$as_me: failed program was:" >&5
10969sed 's/^/| /' conftest.$ac_ext >&5
10970
10971ac_compiler_gnu=no
10972fi
10973rm -f conftest.$ac_objext conftest.$ac_ext
10974ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
10975
10976fi
10977echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
10978echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
10979GXX=`test $ac_compiler_gnu = yes && echo yes`
10980ac_test_CXXFLAGS=${CXXFLAGS+set}
10981ac_save_CXXFLAGS=$CXXFLAGS
10982CXXFLAGS="-g"
10983echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
10984echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
10985if test "${ac_cv_prog_cxx_g+set}" = set; then
10986 echo $ECHO_N "(cached) $ECHO_C" >&6
10987else
10988 cat >conftest.$ac_ext <<_ACEOF
10989#line $LINENO "configure"
10990/* confdefs.h. */
10991_ACEOF
10992cat confdefs.h >>conftest.$ac_ext
10993cat >>conftest.$ac_ext <<_ACEOF
10994/* end confdefs.h. */
10995
10996int
10997main ()
10998{
10999
11000 ;
11001 return 0;
11002}
11003_ACEOF
11004rm -f conftest.$ac_objext
11005if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11006 (eval $ac_compile) 2>&5
11007 ac_status=$?
11008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11009 (exit $ac_status); } &&
11010 { ac_try='test -s conftest.$ac_objext'
11011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11012 (eval $ac_try) 2>&5
11013 ac_status=$?
11014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11015 (exit $ac_status); }; }; then
11016 ac_cv_prog_cxx_g=yes
11017else
11018 echo "$as_me: failed program was:" >&5
11019sed 's/^/| /' conftest.$ac_ext >&5
11020
11021ac_cv_prog_cxx_g=no
11022fi
11023rm -f conftest.$ac_objext conftest.$ac_ext
11024fi
11025echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11026echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11027if test "$ac_test_CXXFLAGS" = set; then
11028 CXXFLAGS=$ac_save_CXXFLAGS
11029elif test $ac_cv_prog_cxx_g = yes; then
11030 if test "$GXX" = yes; then
11031 CXXFLAGS="-g -O2"
11032 else
11033 CXXFLAGS="-g"
11034 fi
11035else
11036 if test "$GXX" = yes; then
11037 CXXFLAGS="-O2"
11038 else
11039 CXXFLAGS=
11040 fi
11041fi
11042for ac_declaration in \
11043 ''\
11044 '#include <stdlib.h>' \
11045 'extern "C" void std::exit (int) throw (); using std::exit;' \
11046 'extern "C" void std::exit (int); using std::exit;' \
11047 'extern "C" void exit (int) throw ();' \
11048 'extern "C" void exit (int);' \
11049 'void exit (int);'
11050do
11051 cat >conftest.$ac_ext <<_ACEOF
11052#line $LINENO "configure"
11053/* confdefs.h. */
11054_ACEOF
11055cat confdefs.h >>conftest.$ac_ext
11056cat >>conftest.$ac_ext <<_ACEOF
11057/* end confdefs.h. */
11058#include <stdlib.h>
11059$ac_declaration
11060int
11061main ()
11062{
11063exit (42);
11064 ;
11065 return 0;
11066}
11067_ACEOF
11068rm -f conftest.$ac_objext
11069if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11070 (eval $ac_compile) 2>&5
11071 ac_status=$?
11072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11073 (exit $ac_status); } &&
11074 { ac_try='test -s conftest.$ac_objext'
11075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11076 (eval $ac_try) 2>&5
11077 ac_status=$?
11078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11079 (exit $ac_status); }; }; then
11080 :
11081else
11082 echo "$as_me: failed program was:" >&5
11083sed 's/^/| /' conftest.$ac_ext >&5
11084
11085continue
11086fi
11087rm -f conftest.$ac_objext conftest.$ac_ext
11088 cat >conftest.$ac_ext <<_ACEOF
11089#line $LINENO "configure"
11090/* confdefs.h. */
11091_ACEOF
11092cat confdefs.h >>conftest.$ac_ext
11093cat >>conftest.$ac_ext <<_ACEOF
11094/* end confdefs.h. */
11095$ac_declaration
11096int
11097main ()
11098{
11099exit (42);
11100 ;
11101 return 0;
11102}
11103_ACEOF
11104rm -f conftest.$ac_objext
11105if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11106 (eval $ac_compile) 2>&5
11107 ac_status=$?
11108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11109 (exit $ac_status); } &&
11110 { ac_try='test -s conftest.$ac_objext'
11111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11112 (eval $ac_try) 2>&5
11113 ac_status=$?
11114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11115 (exit $ac_status); }; }; then
11116 break
11117else
11118 echo "$as_me: failed program was:" >&5
11119sed 's/^/| /' conftest.$ac_ext >&5
11120
11121fi
11122rm -f conftest.$ac_objext conftest.$ac_ext
11123done
11124rm -f conftest*
11125if test -n "$ac_declaration"; then
11126 echo '#ifdef __cplusplus' >>confdefs.h
11127 echo $ac_declaration >>confdefs.h
11128 echo '#endif' >>confdefs.h
11129fi
11130
11131ac_ext=cc
11132ac_cpp='$CXXCPP $CPPFLAGS'
11133ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11134ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11135ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11136
11137
11138ac_ext=c
11139ac_cpp='$CPP $CPPFLAGS'
11140ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11141ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11142ac_compiler_gnu=$ac_cv_c_compiler_gnu
11143
11144
11145if test -n "$ac_tool_prefix"; then
11146 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11147set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11148echo "$as_me:$LINENO: checking for $ac_word" >&5
11149echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11150if test "${ac_cv_prog_RANLIB+set}" = set; then
11151 echo $ECHO_N "(cached) $ECHO_C" >&6
11152else
11153 if test -n "$RANLIB"; then
11154 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11155else
11156as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11157for as_dir in $PATH
11158do
11159 IFS=$as_save_IFS
11160 test -z "$as_dir" && as_dir=.
11161 for ac_exec_ext in '' $ac_executable_extensions; do
11162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11163 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11165 break 2
11166 fi
11167done
11168done
11169
11170fi
11171fi
11172RANLIB=$ac_cv_prog_RANLIB
11173if test -n "$RANLIB"; then
11174 echo "$as_me:$LINENO: result: $RANLIB" >&5
11175echo "${ECHO_T}$RANLIB" >&6
11176else
11177 echo "$as_me:$LINENO: result: no" >&5
11178echo "${ECHO_T}no" >&6
11179fi
11180
11181fi
11182if test -z "$ac_cv_prog_RANLIB"; then
11183 ac_ct_RANLIB=$RANLIB
11184 # Extract the first word of "ranlib", so it can be a program name with args.
11185set dummy ranlib; ac_word=$2
11186echo "$as_me:$LINENO: checking for $ac_word" >&5
11187echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11188if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11189 echo $ECHO_N "(cached) $ECHO_C" >&6
11190else
11191 if test -n "$ac_ct_RANLIB"; then
11192 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11193else
11194as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11195for as_dir in $PATH
11196do
11197 IFS=$as_save_IFS
11198 test -z "$as_dir" && as_dir=.
11199 for ac_exec_ext in '' $ac_executable_extensions; do
11200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11201 ac_cv_prog_ac_ct_RANLIB="ranlib"
11202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11203 break 2
11204 fi
11205done
11206done
11207
11208 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11209fi
11210fi
11211ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11212if test -n "$ac_ct_RANLIB"; then
11213 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11214echo "${ECHO_T}$ac_ct_RANLIB" >&6
11215else
11216 echo "$as_me:$LINENO: result: no" >&5
11217echo "${ECHO_T}no" >&6
11218fi
11219
11220 RANLIB=$ac_ct_RANLIB
11221else
11222 RANLIB="$ac_cv_prog_RANLIB"
11223fi
11224
11225
11226# Extract the first word of "ar", so it can be a program name with args.
11227set dummy ar; ac_word=$2
11228echo "$as_me:$LINENO: checking for $ac_word" >&5
11229echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11230if test "${ac_cv_prog_AR+set}" = set; then
11231 echo $ECHO_N "(cached) $ECHO_C" >&6
11232else
11233 if test -n "$AR"; then
11234 ac_cv_prog_AR="$AR" # Let the user override the test.
11235else
11236as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11237for as_dir in $PATH
11238do
11239 IFS=$as_save_IFS
11240 test -z "$as_dir" && as_dir=.
11241 for ac_exec_ext in '' $ac_executable_extensions; do
11242 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11243 ac_cv_prog_AR="ar"
11244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11245 break 2
11246 fi
11247done
11248done
11249
11250 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
11251fi
11252fi
11253AR=$ac_cv_prog_AR
11254if test -n "$AR"; then
11255 echo "$as_me:$LINENO: result: $AR" >&5
11256echo "${ECHO_T}$AR" >&6
11257else
11258 echo "$as_me:$LINENO: result: no" >&5
11259echo "${ECHO_T}no" >&6
11260fi
11261
11262
11263# Find a good install program. We prefer a C program (faster),
11264# so one script is as good as another. But avoid the broken or
11265# incompatible versions:
11266# SysV /etc/install, /usr/sbin/install
11267# SunOS /usr/etc/install
11268# IRIX /sbin/install
11269# AIX /bin/install
11270# AmigaOS /C/install, which installs bootblocks on floppy discs
11271# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11272# AFS /usr/afsws/bin/install, which mishandles nonexistent args
11273# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11274# ./install, which can be erroneously created by make from ./install.sh.
11275echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11276echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11277if test -z "$INSTALL"; then
11278if test "${ac_cv_path_install+set}" = set; then
11279 echo $ECHO_N "(cached) $ECHO_C" >&6
11280else
11281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11282for as_dir in $PATH
11283do
11284 IFS=$as_save_IFS
11285 test -z "$as_dir" && as_dir=.
11286 # Account for people who put trailing slashes in PATH elements.
11287case $as_dir/ in
11288 ./ | .// | /cC/* | \
11289 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11290 /usr/ucb/* ) ;;
11291 *)
11292 # OSF1 and SCO ODT 3.0 have their own names for install.
11293 # Don't use installbsd from OSF since it installs stuff as root
11294 # by default.
11295 for ac_prog in ginstall scoinst install; do
11296 for ac_exec_ext in '' $ac_executable_extensions; do
11297 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11298 if test $ac_prog = install &&
11299 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11300 # AIX install. It has an incompatible calling convention.
11301 :
11302 elif test $ac_prog = install &&
11303 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11304 # program-specific install script used by HP pwplus--don't use.
11305 :
11306 else
11307 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11308 break 3
11309 fi
11310 fi
11311 done
11312 done
11313 ;;
11314esac
11315done
11316
11317
11318fi
11319 if test "${ac_cv_path_install+set}" = set; then
11320 INSTALL=$ac_cv_path_install
11321 else
11322 # As a last resort, use the slow shell script. We don't cache a
11323 # path for INSTALL within a source directory, because that will
11324 # break other packages using the cache if that directory is
11325 # removed, or if the path is relative.
11326 INSTALL=$ac_install_sh
11327 fi
11328fi
11329echo "$as_me:$LINENO: result: $INSTALL" >&5
11330echo "${ECHO_T}$INSTALL" >&6
11331
11332# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11333# It thinks the first close brace ends the variable substitution.
11334test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11335
11336test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11337
11338test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11339
11340
11341case ${INSTALL} in
11342 /* ) # Absolute
11343 ;;
11344 ?:* ) # Drive letter, considered as absolute.
11345 ;;
11346 *)
11347 INSTALL=`pwd`/${INSTALL} ;;
11348esac
11349
11350case ${host} in
11351 *-hp-hpux* )
11352 INSTALL_DIR="mkdir"
11353 ;;
11354
11355 *) INSTALL_DIR="$INSTALL -d"
11356 ;;
11357esac
11358
11359
11360case "${host}" in
11361
11362 powerpc-*-darwin* )
11363 INSTALL_PROGRAM="cp -fp"
11364 INSTALL_DATA="cp -fp"
11365 ;;
11366 *)
11367 ;;
11368esac
11369
11370# Extract the first word of "strip", so it can be a program name with args.
11371set dummy strip; ac_word=$2
11372echo "$as_me:$LINENO: checking for $ac_word" >&5
11373echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11374if test "${ac_cv_prog_STRIP+set}" = set; then
11375 echo $ECHO_N "(cached) $ECHO_C" >&6
11376else
11377 if test -n "$STRIP"; then
11378 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11379else
11380as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11381for as_dir in $PATH
11382do
11383 IFS=$as_save_IFS
11384 test -z "$as_dir" && as_dir=.
11385 for ac_exec_ext in '' $ac_executable_extensions; do
11386 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11387 ac_cv_prog_STRIP="strip"
11388 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11389 break 2
11390 fi
11391done
11392done
11393
11394 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11395fi
11396fi
11397STRIP=$ac_cv_prog_STRIP
11398if test -n "$STRIP"; then
11399 echo "$as_me:$LINENO: result: $STRIP" >&5
11400echo "${ECHO_T}$STRIP" >&6
11401else
11402 echo "$as_me:$LINENO: result: no" >&5
11403echo "${ECHO_T}no" >&6
11404fi
11405
11406
11407echo "$as_me:$LINENO: checking if make is GNU make" >&5
11408echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11409if test "${wx_cv_prog_makeisgnu+set}" = set; then
11410 echo $ECHO_N "(cached) $ECHO_C" >&6
11411else
11412
11413 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11414 egrep -s GNU > /dev/null); then
11415 wx_cv_prog_makeisgnu="yes"
11416 else
11417 wx_cv_prog_makeisgnu="no"
11418 fi
11419
11420fi
11421echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11422echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11423
11424if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11425 IF_GNU_MAKE=""
11426else
11427 IF_GNU_MAKE="#"
11428fi
11429
11430
11431
11432if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11433echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11434echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11435if test "${wx_cv_prog_makevpath+set}" = set; then
11436 echo $ECHO_N "(cached) $ECHO_C" >&6
11437else
11438
11439cat - << EOF > confMake
11440check : file
11441 cp \$? \$@
11442 cp \$? final_file
11443EOF
11444
11445if test ! -d sub ; then
11446 mkdir sub
11447fi
11448echo dummy > sub/file
11449${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11450RESULT=$?
11451rm -f sub/file check final_file confMake
11452rmdir sub
11453if test "$RESULT" = 0; then
11454 wx_cv_prog_makevpath="yes"
11455else
11456 wx_cv_prog_makevpath="no"
11457fi
11458
11459fi
11460echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11461echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11462
11463if test "x$wx_cv_prog_makevpath" != "xyes"; then
11464{ { echo "$as_me:$LINENO: error:
11465You need a make-utility that is able to use the variable
11466VPATH correctly.
11467If your version of make does not support VPATH correctly,
11468please install GNU-make (possibly as gmake), and start
11469configure with the following command:
11470export MAKE=gmake; ./configure for sh-type shells
11471setenv MAKE gmake; ./configure for csh-type shells
11472Also please do remember to use gmake in this case every time
11473you are trying to compile.
11474" >&5
11475echo "$as_me: error:
11476You need a make-utility that is able to use the variable
11477VPATH correctly.
11478If your version of make does not support VPATH correctly,
11479please install GNU-make (possibly as gmake), and start
11480configure with the following command:
11481export MAKE=gmake; ./configure for sh-type shells
11482setenv MAKE gmake; ./configure for csh-type shells
11483Also please do remember to use gmake in this case every time
11484you are trying to compile.
11485" >&2;}
11486 { (exit 1); exit 1; }; }
11487fi fi
11488for ac_prog in 'bison -y' byacc
11489do
11490 # Extract the first word of "$ac_prog", so it can be a program name with args.
11491set dummy $ac_prog; ac_word=$2
11492echo "$as_me:$LINENO: checking for $ac_word" >&5
11493echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11494if test "${ac_cv_prog_YACC+set}" = set; then
11495 echo $ECHO_N "(cached) $ECHO_C" >&6
11496else
11497 if test -n "$YACC"; then
11498 ac_cv_prog_YACC="$YACC" # Let the user override the test.
11499else
11500as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11501for as_dir in $PATH
11502do
11503 IFS=$as_save_IFS
11504 test -z "$as_dir" && as_dir=.
11505 for ac_exec_ext in '' $ac_executable_extensions; do
11506 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11507 ac_cv_prog_YACC="$ac_prog"
11508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11509 break 2
11510 fi
11511done
11512done
11513
11514fi
11515fi
11516YACC=$ac_cv_prog_YACC
11517if test -n "$YACC"; then
11518 echo "$as_me:$LINENO: result: $YACC" >&5
11519echo "${ECHO_T}$YACC" >&6
11520else
11521 echo "$as_me:$LINENO: result: no" >&5
11522echo "${ECHO_T}no" >&6
11523fi
11524
11525 test -n "$YACC" && break
11526done
11527test -n "$YACC" || YACC="yacc"
11528
11529
11530for ac_prog in flex lex
11531do
11532 # Extract the first word of "$ac_prog", so it can be a program name with args.
11533set dummy $ac_prog; ac_word=$2
11534echo "$as_me:$LINENO: checking for $ac_word" >&5
11535echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11536if test "${ac_cv_prog_LEX+set}" = set; then
11537 echo $ECHO_N "(cached) $ECHO_C" >&6
11538else
11539 if test -n "$LEX"; then
11540 ac_cv_prog_LEX="$LEX" # Let the user override the test.
11541else
11542as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11543for as_dir in $PATH
11544do
11545 IFS=$as_save_IFS
11546 test -z "$as_dir" && as_dir=.
11547 for ac_exec_ext in '' $ac_executable_extensions; do
11548 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11549 ac_cv_prog_LEX="$ac_prog"
11550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11551 break 2
11552 fi
11553done
11554done
11555
11556fi
11557fi
11558LEX=$ac_cv_prog_LEX
11559if test -n "$LEX"; then
11560 echo "$as_me:$LINENO: result: $LEX" >&5
11561echo "${ECHO_T}$LEX" >&6
11562else
11563 echo "$as_me:$LINENO: result: no" >&5
11564echo "${ECHO_T}no" >&6
11565fi
11566
11567 test -n "$LEX" && break
11568done
11569test -n "$LEX" || LEX=":"
11570
11571if test -z "$LEXLIB"
11572then
11573 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
11574echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
11575if test "${ac_cv_lib_fl_yywrap+set}" = set; then
11576 echo $ECHO_N "(cached) $ECHO_C" >&6
11577else
11578 ac_check_lib_save_LIBS=$LIBS
11579LIBS="-lfl $LIBS"
11580cat >conftest.$ac_ext <<_ACEOF
11581#line $LINENO "configure"
11582/* confdefs.h. */
11583_ACEOF
11584cat confdefs.h >>conftest.$ac_ext
11585cat >>conftest.$ac_ext <<_ACEOF
11586/* end confdefs.h. */
11587
11588/* Override any gcc2 internal prototype to avoid an error. */
11589#ifdef __cplusplus
11590extern "C"
11591#endif
11592/* We use char because int might match the return type of a gcc2
11593 builtin and then its argument prototype would still apply. */
11594char yywrap ();
11595int
11596main ()
11597{
11598yywrap ();
11599 ;
11600 return 0;
11601}
11602_ACEOF
11603rm -f conftest.$ac_objext conftest$ac_exeext
11604if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11605 (eval $ac_link) 2>&5
11606 ac_status=$?
11607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11608 (exit $ac_status); } &&
11609 { ac_try='test -s conftest$ac_exeext'
11610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11611 (eval $ac_try) 2>&5
11612 ac_status=$?
11613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11614 (exit $ac_status); }; }; then
11615 ac_cv_lib_fl_yywrap=yes
11616else
11617 echo "$as_me: failed program was:" >&5
11618sed 's/^/| /' conftest.$ac_ext >&5
11619
11620ac_cv_lib_fl_yywrap=no
11621fi
11622rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11623LIBS=$ac_check_lib_save_LIBS
11624fi
11625echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
11626echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
11627if test $ac_cv_lib_fl_yywrap = yes; then
11628 LEXLIB="-lfl"
11629else
11630 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
11631echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
11632if test "${ac_cv_lib_l_yywrap+set}" = set; then
11633 echo $ECHO_N "(cached) $ECHO_C" >&6
11634else
11635 ac_check_lib_save_LIBS=$LIBS
11636LIBS="-ll $LIBS"
11637cat >conftest.$ac_ext <<_ACEOF
11638#line $LINENO "configure"
11639/* confdefs.h. */
11640_ACEOF
11641cat confdefs.h >>conftest.$ac_ext
11642cat >>conftest.$ac_ext <<_ACEOF
11643/* end confdefs.h. */
11644
11645/* Override any gcc2 internal prototype to avoid an error. */
11646#ifdef __cplusplus
11647extern "C"
11648#endif
11649/* We use char because int might match the return type of a gcc2
11650 builtin and then its argument prototype would still apply. */
11651char yywrap ();
11652int
11653main ()
11654{
11655yywrap ();
11656 ;
11657 return 0;
11658}
11659_ACEOF
11660rm -f conftest.$ac_objext conftest$ac_exeext
11661if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11662 (eval $ac_link) 2>&5
11663 ac_status=$?
11664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11665 (exit $ac_status); } &&
11666 { ac_try='test -s conftest$ac_exeext'
11667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11668 (eval $ac_try) 2>&5
11669 ac_status=$?
11670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11671 (exit $ac_status); }; }; then
11672 ac_cv_lib_l_yywrap=yes
11673else
11674 echo "$as_me: failed program was:" >&5
11675sed 's/^/| /' conftest.$ac_ext >&5
11676
11677ac_cv_lib_l_yywrap=no
11678fi
11679rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11680LIBS=$ac_check_lib_save_LIBS
11681fi
11682echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
11683echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
11684if test $ac_cv_lib_l_yywrap = yes; then
11685 LEXLIB="-ll"
11686fi
11687
11688fi
11689
11690fi
11691
11692if test "x$LEX" != "x:"; then
11693 echo "$as_me:$LINENO: checking lex output file root" >&5
11694echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
11695if test "${ac_cv_prog_lex_root+set}" = set; then
11696 echo $ECHO_N "(cached) $ECHO_C" >&6
11697else
11698 # The minimal lex program is just a single line: %%. But some broken lexes
11699# (Solaris, I think it was) want two %% lines, so accommodate them.
11700cat >conftest.l <<_ACEOF
11701%%
11702%%
11703_ACEOF
11704{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
11705 (eval $LEX conftest.l) 2>&5
11706 ac_status=$?
11707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11708 (exit $ac_status); }
11709if test -f lex.yy.c; then
11710 ac_cv_prog_lex_root=lex.yy
11711elif test -f lexyy.c; then
11712 ac_cv_prog_lex_root=lexyy
11713else
11714 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
11715echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
11716 { (exit 1); exit 1; }; }
11717fi
11718fi
11719echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
11720echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
11721rm -f conftest.l
11722LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
11723
11724echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
11725echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
11726if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
11727 echo $ECHO_N "(cached) $ECHO_C" >&6
11728else
11729 # POSIX says lex can declare yytext either as a pointer or an array; the
11730# default is implementation-dependent. Figure out which it is, since
11731# not all implementations provide the %pointer and %array declarations.
11732ac_cv_prog_lex_yytext_pointer=no
11733echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
11734ac_save_LIBS=$LIBS
11735LIBS="$LIBS $LEXLIB"
11736cat >conftest.$ac_ext <<_ACEOF
11737`cat $LEX_OUTPUT_ROOT.c`
11738_ACEOF
11739rm -f conftest.$ac_objext conftest$ac_exeext
11740if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11741 (eval $ac_link) 2>&5
11742 ac_status=$?
11743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11744 (exit $ac_status); } &&
11745 { ac_try='test -s conftest$ac_exeext'
11746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11747 (eval $ac_try) 2>&5
11748 ac_status=$?
11749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11750 (exit $ac_status); }; }; then
11751 ac_cv_prog_lex_yytext_pointer=yes
11752else
11753 echo "$as_me: failed program was:" >&5
11754sed 's/^/| /' conftest.$ac_ext >&5
11755
11756fi
11757rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11758LIBS=$ac_save_LIBS
11759rm -f "${LEX_OUTPUT_ROOT}.c"
11760
11761fi
11762echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
11763echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
11764if test $ac_cv_prog_lex_yytext_pointer = yes; then
11765
11766cat >>confdefs.h <<\_ACEOF
11767#define YYTEXT_POINTER 1
11768_ACEOF
11769
11770fi
11771
11772fi
11773
11774echo "$as_me:$LINENO: checking whether ln -s works" >&5
11775echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11776LN_S=$as_ln_s
11777if test "$LN_S" = "ln -s"; then
11778 echo "$as_me:$LINENO: result: yes" >&5
11779echo "${ECHO_T}yes" >&6
11780else
11781 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11782echo "${ECHO_T}no, using $LN_S" >&6
11783fi
11784
11785
11786case "${host}" in
11787 *-pc-os2_emx | *-pc-os2-emx )
11788 LIBS="$LIBS -lstdcpp"
11789 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11790 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11791echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11792if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11793 echo $ECHO_N "(cached) $ECHO_C" >&6
11794else
11795 ac_check_lib_save_LIBS=$LIBS
11796LIBS="-lcExt $LIBS"
11797cat >conftest.$ac_ext <<_ACEOF
11798#line $LINENO "configure"
11799/* confdefs.h. */
11800_ACEOF
11801cat confdefs.h >>conftest.$ac_ext
11802cat >>conftest.$ac_ext <<_ACEOF
11803/* end confdefs.h. */
11804
11805/* Override any gcc2 internal prototype to avoid an error. */
11806#ifdef __cplusplus
11807extern "C"
11808#endif
11809/* We use char because int might match the return type of a gcc2
11810 builtin and then its argument prototype would still apply. */
11811char drand48 ();
11812int
11813main ()
11814{
11815drand48 ();
11816 ;
11817 return 0;
11818}
11819_ACEOF
11820rm -f conftest.$ac_objext conftest$ac_exeext
11821if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11822 (eval $ac_link) 2>&5
11823 ac_status=$?
11824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11825 (exit $ac_status); } &&
11826 { ac_try='test -s conftest$ac_exeext'
11827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11828 (eval $ac_try) 2>&5
11829 ac_status=$?
11830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11831 (exit $ac_status); }; }; then
11832 ac_cv_lib_cExt_drand48=yes
11833else
11834 echo "$as_me: failed program was:" >&5
11835sed 's/^/| /' conftest.$ac_ext >&5
11836
11837ac_cv_lib_cExt_drand48=no
11838fi
11839rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11840LIBS=$ac_check_lib_save_LIBS
11841fi
11842echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11843echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11844if test $ac_cv_lib_cExt_drand48 = yes; then
11845 LIBS="$LIBS -lcExt"
11846fi
11847
11848 else
11849 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11850 fi
11851 ;;
11852esac
11853
11854
11855if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11856 echo "$as_me:$LINENO: checking for strings.h" >&5
11857echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11858if test "${ac_cv_header_strings_h+set}" = set; then
11859 echo $ECHO_N "(cached) $ECHO_C" >&6
11860else
11861 ac_cv_header_strings_h=no
11862fi
11863echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11864echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11865 if test "$ac_cv_header_strings_h" = "no"; then
11866 echo "$as_me:$LINENO: result: forced no into cache" >&5
11867echo "${ECHO_T}forced no into cache" >&6
11868 else
11869 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11870echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11871 fi
11872fi
11873echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11874echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11875if test "${ac_cv_header_stdc+set}" = set; then
11876 echo $ECHO_N "(cached) $ECHO_C" >&6
11877else
11878 cat >conftest.$ac_ext <<_ACEOF
11879#line $LINENO "configure"
11880/* confdefs.h. */
11881_ACEOF
11882cat confdefs.h >>conftest.$ac_ext
11883cat >>conftest.$ac_ext <<_ACEOF
11884/* end confdefs.h. */
11885#include <stdlib.h>
11886#include <stdarg.h>
11887#include <string.h>
11888#include <float.h>
11889
11890int
11891main ()
11892{
11893
11894 ;
11895 return 0;
11896}
11897_ACEOF
11898rm -f conftest.$ac_objext
11899if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11900 (eval $ac_compile) 2>&5
11901 ac_status=$?
11902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11903 (exit $ac_status); } &&
11904 { ac_try='test -s conftest.$ac_objext'
11905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11906 (eval $ac_try) 2>&5
11907 ac_status=$?
11908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11909 (exit $ac_status); }; }; then
11910 ac_cv_header_stdc=yes
11911else
11912 echo "$as_me: failed program was:" >&5
11913sed 's/^/| /' conftest.$ac_ext >&5
11914
11915ac_cv_header_stdc=no
11916fi
11917rm -f conftest.$ac_objext conftest.$ac_ext
11918
11919if test $ac_cv_header_stdc = yes; then
11920 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11921 cat >conftest.$ac_ext <<_ACEOF
11922#line $LINENO "configure"
11923/* confdefs.h. */
11924_ACEOF
11925cat confdefs.h >>conftest.$ac_ext
11926cat >>conftest.$ac_ext <<_ACEOF
11927/* end confdefs.h. */
11928#include <string.h>
11929
11930_ACEOF
11931if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11932 $EGREP "memchr" >/dev/null 2>&1; then
11933 :
11934else
11935 ac_cv_header_stdc=no
11936fi
11937rm -f conftest*
11938
11939fi
11940
11941if test $ac_cv_header_stdc = yes; then
11942 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11943 cat >conftest.$ac_ext <<_ACEOF
11944#line $LINENO "configure"
11945/* confdefs.h. */
11946_ACEOF
11947cat confdefs.h >>conftest.$ac_ext
11948cat >>conftest.$ac_ext <<_ACEOF
11949/* end confdefs.h. */
11950#include <stdlib.h>
11951
11952_ACEOF
11953if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11954 $EGREP "free" >/dev/null 2>&1; then
11955 :
11956else
11957 ac_cv_header_stdc=no
11958fi
11959rm -f conftest*
11960
11961fi
11962
11963if test $ac_cv_header_stdc = yes; then
11964 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11965 if test "$cross_compiling" = yes; then
11966 :
11967else
11968 cat >conftest.$ac_ext <<_ACEOF
11969#line $LINENO "configure"
11970/* confdefs.h. */
11971_ACEOF
11972cat confdefs.h >>conftest.$ac_ext
11973cat >>conftest.$ac_ext <<_ACEOF
11974/* end confdefs.h. */
11975#include <ctype.h>
11976#if ((' ' & 0x0FF) == 0x020)
11977# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11978# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11979#else
11980# define ISLOWER(c) \
11981 (('a' <= (c) && (c) <= 'i') \
11982 || ('j' <= (c) && (c) <= 'r') \
11983 || ('s' <= (c) && (c) <= 'z'))
11984# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11985#endif
11986
11987#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11988int
11989main ()
11990{
11991 int i;
11992 for (i = 0; i < 256; i++)
11993 if (XOR (islower (i), ISLOWER (i))
11994 || toupper (i) != TOUPPER (i))
11995 exit(2);
11996 exit (0);
11997}
11998_ACEOF
11999rm -f conftest$ac_exeext
12000if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12001 (eval $ac_link) 2>&5
12002 ac_status=$?
12003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12004 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12006 (eval $ac_try) 2>&5
12007 ac_status=$?
12008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12009 (exit $ac_status); }; }; then
12010 :
12011else
12012 echo "$as_me: program exited with status $ac_status" >&5
12013echo "$as_me: failed program was:" >&5
12014sed 's/^/| /' conftest.$ac_ext >&5
12015
12016( exit $ac_status )
12017ac_cv_header_stdc=no
12018fi
12019rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12020fi
12021fi
12022fi
12023echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12024echo "${ECHO_T}$ac_cv_header_stdc" >&6
12025if test $ac_cv_header_stdc = yes; then
12026
12027cat >>confdefs.h <<\_ACEOF
12028#define STDC_HEADERS 1
12029_ACEOF
12030
12031fi
12032
12033# On IRIX 5.3, sys/types and inttypes.h are conflicting.
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12044 inttypes.h stdint.h unistd.h
12045do
12046as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12047echo "$as_me:$LINENO: checking for $ac_header" >&5
12048echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12049if eval "test \"\${$as_ac_Header+set}\" = set"; then
12050 echo $ECHO_N "(cached) $ECHO_C" >&6
12051else
12052 cat >conftest.$ac_ext <<_ACEOF
12053#line $LINENO "configure"
12054/* confdefs.h. */
12055_ACEOF
12056cat confdefs.h >>conftest.$ac_ext
12057cat >>conftest.$ac_ext <<_ACEOF
12058/* end confdefs.h. */
12059$ac_includes_default
12060
12061#include <$ac_header>
12062_ACEOF
12063rm -f conftest.$ac_objext
12064if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12065 (eval $ac_compile) 2>&5
12066 ac_status=$?
12067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12068 (exit $ac_status); } &&
12069 { ac_try='test -s conftest.$ac_objext'
12070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12071 (eval $ac_try) 2>&5
12072 ac_status=$?
12073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12074 (exit $ac_status); }; }; then
12075 eval "$as_ac_Header=yes"
12076else
12077 echo "$as_me: failed program was:" >&5
12078sed 's/^/| /' conftest.$ac_ext >&5
12079
12080eval "$as_ac_Header=no"
12081fi
12082rm -f conftest.$ac_objext conftest.$ac_ext
12083fi
12084echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12085echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12086if test `eval echo '${'$as_ac_Header'}'` = yes; then
12087 cat >>confdefs.h <<_ACEOF
12088#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12089_ACEOF
12090
12091fi
12092
12093done
12094
12095
12096
12097for ac_header in strings.h
12098do
12099as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12100if eval "test \"\${$as_ac_Header+set}\" = set"; then
12101 echo "$as_me:$LINENO: checking for $ac_header" >&5
12102echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12103if eval "test \"\${$as_ac_Header+set}\" = set"; then
12104 echo $ECHO_N "(cached) $ECHO_C" >&6
12105fi
12106echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12107echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12108else
12109 # Is the header compilable?
12110echo "$as_me:$LINENO: checking $ac_header usability" >&5
12111echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12112cat >conftest.$ac_ext <<_ACEOF
12113#line $LINENO "configure"
12114/* confdefs.h. */
12115_ACEOF
12116cat confdefs.h >>conftest.$ac_ext
12117cat >>conftest.$ac_ext <<_ACEOF
12118/* end confdefs.h. */
12119$ac_includes_default
12120#include <$ac_header>
12121_ACEOF
12122rm -f conftest.$ac_objext
12123if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12124 (eval $ac_compile) 2>&5
12125 ac_status=$?
12126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12127 (exit $ac_status); } &&
12128 { ac_try='test -s conftest.$ac_objext'
12129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12130 (eval $ac_try) 2>&5
12131 ac_status=$?
12132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12133 (exit $ac_status); }; }; then
12134 ac_header_compiler=yes
12135else
12136 echo "$as_me: failed program was:" >&5
12137sed 's/^/| /' conftest.$ac_ext >&5
12138
12139ac_header_compiler=no
12140fi
12141rm -f conftest.$ac_objext conftest.$ac_ext
12142echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12143echo "${ECHO_T}$ac_header_compiler" >&6
12144
12145# Is the header present?
12146echo "$as_me:$LINENO: checking $ac_header presence" >&5
12147echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12148cat >conftest.$ac_ext <<_ACEOF
12149#line $LINENO "configure"
12150/* confdefs.h. */
12151_ACEOF
12152cat confdefs.h >>conftest.$ac_ext
12153cat >>conftest.$ac_ext <<_ACEOF
12154/* end confdefs.h. */
12155#include <$ac_header>
12156_ACEOF
12157if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12158 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12159 ac_status=$?
12160 grep -v '^ *+' conftest.er1 >conftest.err
12161 rm -f conftest.er1
12162 cat conftest.err >&5
12163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12164 (exit $ac_status); } >/dev/null; then
12165 if test -s conftest.err; then
12166 ac_cpp_err=$ac_c_preproc_warn_flag
12167 else
12168 ac_cpp_err=
12169 fi
12170else
12171 ac_cpp_err=yes
12172fi
12173if test -z "$ac_cpp_err"; then
12174 ac_header_preproc=yes
12175else
12176 echo "$as_me: failed program was:" >&5
12177sed 's/^/| /' conftest.$ac_ext >&5
12178
12179 ac_header_preproc=no
12180fi
12181rm -f conftest.err conftest.$ac_ext
12182echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12183echo "${ECHO_T}$ac_header_preproc" >&6
12184
12185# So? What about this header?
12186case $ac_header_compiler:$ac_header_preproc in
12187 yes:no )
12188 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12189echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12190 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12191echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12192 (
12193 cat <<\_ASBOX
12194## ------------------------------------ ##
12195## Report this to bug-autoconf@gnu.org. ##
12196## ------------------------------------ ##
12197_ASBOX
12198 ) |
12199 sed "s/^/$as_me: WARNING: /" >&2
12200 ;;
12201 no:yes )
12202 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12203echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12204 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12205echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12206 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12207echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12208 (
12209 cat <<\_ASBOX
12210## ------------------------------------ ##
12211## Report this to bug-autoconf@gnu.org. ##
12212## ------------------------------------ ##
12213_ASBOX
12214 ) |
12215 sed "s/^/$as_me: WARNING: /" >&2
12216 ;;
12217esac
12218echo "$as_me:$LINENO: checking for $ac_header" >&5
12219echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12220if eval "test \"\${$as_ac_Header+set}\" = set"; then
12221 echo $ECHO_N "(cached) $ECHO_C" >&6
12222else
12223 eval "$as_ac_Header=$ac_header_preproc"
12224fi
12225echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12226echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12227
12228fi
12229if test `eval echo '${'$as_ac_Header'}'` = yes; then
12230 cat >>confdefs.h <<_ACEOF
12231#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12232_ACEOF
12233
12234fi
12235
12236done
12237
12238
12239
12240for ac_header in stdlib.h
12241do
12242as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12243if eval "test \"\${$as_ac_Header+set}\" = set"; then
12244 echo "$as_me:$LINENO: checking for $ac_header" >&5
12245echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12246if eval "test \"\${$as_ac_Header+set}\" = set"; then
12247 echo $ECHO_N "(cached) $ECHO_C" >&6
12248fi
12249echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12250echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12251else
12252 # Is the header compilable?
12253echo "$as_me:$LINENO: checking $ac_header usability" >&5
12254echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12255cat >conftest.$ac_ext <<_ACEOF
12256#line $LINENO "configure"
12257/* confdefs.h. */
12258_ACEOF
12259cat confdefs.h >>conftest.$ac_ext
12260cat >>conftest.$ac_ext <<_ACEOF
12261/* end confdefs.h. */
12262$ac_includes_default
12263#include <$ac_header>
12264_ACEOF
12265rm -f conftest.$ac_objext
12266if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12267 (eval $ac_compile) 2>&5
12268 ac_status=$?
12269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12270 (exit $ac_status); } &&
12271 { ac_try='test -s conftest.$ac_objext'
12272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12273 (eval $ac_try) 2>&5
12274 ac_status=$?
12275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12276 (exit $ac_status); }; }; then
12277 ac_header_compiler=yes
12278else
12279 echo "$as_me: failed program was:" >&5
12280sed 's/^/| /' conftest.$ac_ext >&5
12281
12282ac_header_compiler=no
12283fi
12284rm -f conftest.$ac_objext conftest.$ac_ext
12285echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12286echo "${ECHO_T}$ac_header_compiler" >&6
12287
12288# Is the header present?
12289echo "$as_me:$LINENO: checking $ac_header presence" >&5
12290echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12291cat >conftest.$ac_ext <<_ACEOF
12292#line $LINENO "configure"
12293/* confdefs.h. */
12294_ACEOF
12295cat confdefs.h >>conftest.$ac_ext
12296cat >>conftest.$ac_ext <<_ACEOF
12297/* end confdefs.h. */
12298#include <$ac_header>
12299_ACEOF
12300if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12301 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12302 ac_status=$?
12303 grep -v '^ *+' conftest.er1 >conftest.err
12304 rm -f conftest.er1
12305 cat conftest.err >&5
12306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12307 (exit $ac_status); } >/dev/null; then
12308 if test -s conftest.err; then
12309 ac_cpp_err=$ac_c_preproc_warn_flag
12310 else
12311 ac_cpp_err=
12312 fi
12313else
12314 ac_cpp_err=yes
12315fi
12316if test -z "$ac_cpp_err"; then
12317 ac_header_preproc=yes
12318else
12319 echo "$as_me: failed program was:" >&5
12320sed 's/^/| /' conftest.$ac_ext >&5
12321
12322 ac_header_preproc=no
12323fi
12324rm -f conftest.err conftest.$ac_ext
12325echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12326echo "${ECHO_T}$ac_header_preproc" >&6
12327
12328# So? What about this header?
12329case $ac_header_compiler:$ac_header_preproc in
12330 yes:no )
12331 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12332echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12333 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12334echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12335 (
12336 cat <<\_ASBOX
12337## ------------------------------------ ##
12338## Report this to bug-autoconf@gnu.org. ##
12339## ------------------------------------ ##
12340_ASBOX
12341 ) |
12342 sed "s/^/$as_me: WARNING: /" >&2
12343 ;;
12344 no:yes )
12345 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12346echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12347 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12348echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12349 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12350echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12351 (
12352 cat <<\_ASBOX
12353## ------------------------------------ ##
12354## Report this to bug-autoconf@gnu.org. ##
12355## ------------------------------------ ##
12356_ASBOX
12357 ) |
12358 sed "s/^/$as_me: WARNING: /" >&2
12359 ;;
12360esac
12361echo "$as_me:$LINENO: checking for $ac_header" >&5
12362echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12363if eval "test \"\${$as_ac_Header+set}\" = set"; then
12364 echo $ECHO_N "(cached) $ECHO_C" >&6
12365else
12366 eval "$as_ac_Header=$ac_header_preproc"
12367fi
12368echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12369echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12370
12371fi
12372if test `eval echo '${'$as_ac_Header'}'` = yes; then
12373 cat >>confdefs.h <<_ACEOF
12374#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12375_ACEOF
12376
12377fi
12378
12379done
12380
12381
12382for ac_header in malloc.h
12383do
12384as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12385if eval "test \"\${$as_ac_Header+set}\" = set"; then
12386 echo "$as_me:$LINENO: checking for $ac_header" >&5
12387echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12388if eval "test \"\${$as_ac_Header+set}\" = set"; then
12389 echo $ECHO_N "(cached) $ECHO_C" >&6
12390fi
12391echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12392echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12393else
12394 # Is the header compilable?
12395echo "$as_me:$LINENO: checking $ac_header usability" >&5
12396echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12397cat >conftest.$ac_ext <<_ACEOF
12398#line $LINENO "configure"
12399/* confdefs.h. */
12400_ACEOF
12401cat confdefs.h >>conftest.$ac_ext
12402cat >>conftest.$ac_ext <<_ACEOF
12403/* end confdefs.h. */
12404$ac_includes_default
12405#include <$ac_header>
12406_ACEOF
12407rm -f conftest.$ac_objext
12408if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12409 (eval $ac_compile) 2>&5
12410 ac_status=$?
12411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12412 (exit $ac_status); } &&
12413 { ac_try='test -s conftest.$ac_objext'
12414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12415 (eval $ac_try) 2>&5
12416 ac_status=$?
12417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12418 (exit $ac_status); }; }; then
12419 ac_header_compiler=yes
12420else
12421 echo "$as_me: failed program was:" >&5
12422sed 's/^/| /' conftest.$ac_ext >&5
12423
12424ac_header_compiler=no
12425fi
12426rm -f conftest.$ac_objext conftest.$ac_ext
12427echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12428echo "${ECHO_T}$ac_header_compiler" >&6
12429
12430# Is the header present?
12431echo "$as_me:$LINENO: checking $ac_header presence" >&5
12432echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12433cat >conftest.$ac_ext <<_ACEOF
12434#line $LINENO "configure"
12435/* confdefs.h. */
12436_ACEOF
12437cat confdefs.h >>conftest.$ac_ext
12438cat >>conftest.$ac_ext <<_ACEOF
12439/* end confdefs.h. */
12440#include <$ac_header>
12441_ACEOF
12442if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12443 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12444 ac_status=$?
12445 grep -v '^ *+' conftest.er1 >conftest.err
12446 rm -f conftest.er1
12447 cat conftest.err >&5
12448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12449 (exit $ac_status); } >/dev/null; then
12450 if test -s conftest.err; then
12451 ac_cpp_err=$ac_c_preproc_warn_flag
12452 else
12453 ac_cpp_err=
12454 fi
12455else
12456 ac_cpp_err=yes
12457fi
12458if test -z "$ac_cpp_err"; then
12459 ac_header_preproc=yes
12460else
12461 echo "$as_me: failed program was:" >&5
12462sed 's/^/| /' conftest.$ac_ext >&5
12463
12464 ac_header_preproc=no
12465fi
12466rm -f conftest.err conftest.$ac_ext
12467echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12468echo "${ECHO_T}$ac_header_preproc" >&6
12469
12470# So? What about this header?
12471case $ac_header_compiler:$ac_header_preproc in
12472 yes:no )
12473 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12474echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12475 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12476echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12477 (
12478 cat <<\_ASBOX
12479## ------------------------------------ ##
12480## Report this to bug-autoconf@gnu.org. ##
12481## ------------------------------------ ##
12482_ASBOX
12483 ) |
12484 sed "s/^/$as_me: WARNING: /" >&2
12485 ;;
12486 no:yes )
12487 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12488echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12489 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12490echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12491 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12492echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12493 (
12494 cat <<\_ASBOX
12495## ------------------------------------ ##
12496## Report this to bug-autoconf@gnu.org. ##
12497## ------------------------------------ ##
12498_ASBOX
12499 ) |
12500 sed "s/^/$as_me: WARNING: /" >&2
12501 ;;
12502esac
12503echo "$as_me:$LINENO: checking for $ac_header" >&5
12504echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12505if eval "test \"\${$as_ac_Header+set}\" = set"; then
12506 echo $ECHO_N "(cached) $ECHO_C" >&6
12507else
12508 eval "$as_ac_Header=$ac_header_preproc"
12509fi
12510echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12511echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12512
12513fi
12514if test `eval echo '${'$as_ac_Header'}'` = yes; then
12515 cat >>confdefs.h <<_ACEOF
12516#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12517_ACEOF
12518
12519fi
12520
12521done
12522
12523
12524for ac_header in unistd.h
12525do
12526as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12527if eval "test \"\${$as_ac_Header+set}\" = set"; then
12528 echo "$as_me:$LINENO: checking for $ac_header" >&5
12529echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12530if eval "test \"\${$as_ac_Header+set}\" = set"; then
12531 echo $ECHO_N "(cached) $ECHO_C" >&6
12532fi
12533echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12534echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12535else
12536 # Is the header compilable?
12537echo "$as_me:$LINENO: checking $ac_header usability" >&5
12538echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12539cat >conftest.$ac_ext <<_ACEOF
12540#line $LINENO "configure"
12541/* confdefs.h. */
12542_ACEOF
12543cat confdefs.h >>conftest.$ac_ext
12544cat >>conftest.$ac_ext <<_ACEOF
12545/* end confdefs.h. */
12546$ac_includes_default
12547#include <$ac_header>
12548_ACEOF
12549rm -f conftest.$ac_objext
12550if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12551 (eval $ac_compile) 2>&5
12552 ac_status=$?
12553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12554 (exit $ac_status); } &&
12555 { ac_try='test -s conftest.$ac_objext'
12556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12557 (eval $ac_try) 2>&5
12558 ac_status=$?
12559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12560 (exit $ac_status); }; }; then
12561 ac_header_compiler=yes
12562else
12563 echo "$as_me: failed program was:" >&5
12564sed 's/^/| /' conftest.$ac_ext >&5
12565
12566ac_header_compiler=no
12567fi
12568rm -f conftest.$ac_objext conftest.$ac_ext
12569echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12570echo "${ECHO_T}$ac_header_compiler" >&6
12571
12572# Is the header present?
12573echo "$as_me:$LINENO: checking $ac_header presence" >&5
12574echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12575cat >conftest.$ac_ext <<_ACEOF
12576#line $LINENO "configure"
12577/* confdefs.h. */
12578_ACEOF
12579cat confdefs.h >>conftest.$ac_ext
12580cat >>conftest.$ac_ext <<_ACEOF
12581/* end confdefs.h. */
12582#include <$ac_header>
12583_ACEOF
12584if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12585 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12586 ac_status=$?
12587 grep -v '^ *+' conftest.er1 >conftest.err
12588 rm -f conftest.er1
12589 cat conftest.err >&5
12590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12591 (exit $ac_status); } >/dev/null; then
12592 if test -s conftest.err; then
12593 ac_cpp_err=$ac_c_preproc_warn_flag
12594 else
12595 ac_cpp_err=
12596 fi
12597else
12598 ac_cpp_err=yes
12599fi
12600if test -z "$ac_cpp_err"; then
12601 ac_header_preproc=yes
12602else
12603 echo "$as_me: failed program was:" >&5
12604sed 's/^/| /' conftest.$ac_ext >&5
12605
12606 ac_header_preproc=no
12607fi
12608rm -f conftest.err conftest.$ac_ext
12609echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12610echo "${ECHO_T}$ac_header_preproc" >&6
12611
12612# So? What about this header?
12613case $ac_header_compiler:$ac_header_preproc in
12614 yes:no )
12615 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12616echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12617 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12618echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12619 (
12620 cat <<\_ASBOX
12621## ------------------------------------ ##
12622## Report this to bug-autoconf@gnu.org. ##
12623## ------------------------------------ ##
12624_ASBOX
12625 ) |
12626 sed "s/^/$as_me: WARNING: /" >&2
12627 ;;
12628 no:yes )
12629 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12630echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12631 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12632echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12633 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12634echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12635 (
12636 cat <<\_ASBOX
12637## ------------------------------------ ##
12638## Report this to bug-autoconf@gnu.org. ##
12639## ------------------------------------ ##
12640_ASBOX
12641 ) |
12642 sed "s/^/$as_me: WARNING: /" >&2
12643 ;;
12644esac
12645echo "$as_me:$LINENO: checking for $ac_header" >&5
12646echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12647if eval "test \"\${$as_ac_Header+set}\" = set"; then
12648 echo $ECHO_N "(cached) $ECHO_C" >&6
12649else
12650 eval "$as_ac_Header=$ac_header_preproc"
12651fi
12652echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12653echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12654
12655fi
12656if test `eval echo '${'$as_ac_Header'}'` = yes; then
12657 cat >>confdefs.h <<_ACEOF
12658#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12659_ACEOF
12660
12661fi
12662
12663done
12664
12665
12666for ac_header in wchar.h
12667do
12668as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12669if eval "test \"\${$as_ac_Header+set}\" = set"; then
12670 echo "$as_me:$LINENO: checking for $ac_header" >&5
12671echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12672if eval "test \"\${$as_ac_Header+set}\" = set"; then
12673 echo $ECHO_N "(cached) $ECHO_C" >&6
12674fi
12675echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12676echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12677else
12678 # Is the header compilable?
12679echo "$as_me:$LINENO: checking $ac_header usability" >&5
12680echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12681cat >conftest.$ac_ext <<_ACEOF
12682#line $LINENO "configure"
12683/* confdefs.h. */
12684_ACEOF
12685cat confdefs.h >>conftest.$ac_ext
12686cat >>conftest.$ac_ext <<_ACEOF
12687/* end confdefs.h. */
12688$ac_includes_default
12689#include <$ac_header>
12690_ACEOF
12691rm -f conftest.$ac_objext
12692if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12693 (eval $ac_compile) 2>&5
12694 ac_status=$?
12695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12696 (exit $ac_status); } &&
12697 { ac_try='test -s conftest.$ac_objext'
12698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12699 (eval $ac_try) 2>&5
12700 ac_status=$?
12701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12702 (exit $ac_status); }; }; then
12703 ac_header_compiler=yes
12704else
12705 echo "$as_me: failed program was:" >&5
12706sed 's/^/| /' conftest.$ac_ext >&5
12707
12708ac_header_compiler=no
12709fi
12710rm -f conftest.$ac_objext conftest.$ac_ext
12711echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12712echo "${ECHO_T}$ac_header_compiler" >&6
12713
12714# Is the header present?
12715echo "$as_me:$LINENO: checking $ac_header presence" >&5
12716echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12717cat >conftest.$ac_ext <<_ACEOF
12718#line $LINENO "configure"
12719/* confdefs.h. */
12720_ACEOF
12721cat confdefs.h >>conftest.$ac_ext
12722cat >>conftest.$ac_ext <<_ACEOF
12723/* end confdefs.h. */
12724#include <$ac_header>
12725_ACEOF
12726if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12727 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12728 ac_status=$?
12729 grep -v '^ *+' conftest.er1 >conftest.err
12730 rm -f conftest.er1
12731 cat conftest.err >&5
12732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12733 (exit $ac_status); } >/dev/null; then
12734 if test -s conftest.err; then
12735 ac_cpp_err=$ac_c_preproc_warn_flag
12736 else
12737 ac_cpp_err=
12738 fi
12739else
12740 ac_cpp_err=yes
12741fi
12742if test -z "$ac_cpp_err"; then
12743 ac_header_preproc=yes
12744else
12745 echo "$as_me: failed program was:" >&5
12746sed 's/^/| /' conftest.$ac_ext >&5
12747
12748 ac_header_preproc=no
12749fi
12750rm -f conftest.err conftest.$ac_ext
12751echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12752echo "${ECHO_T}$ac_header_preproc" >&6
12753
12754# So? What about this header?
12755case $ac_header_compiler:$ac_header_preproc in
12756 yes:no )
12757 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12758echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12759 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12760echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12761 (
12762 cat <<\_ASBOX
12763## ------------------------------------ ##
12764## Report this to bug-autoconf@gnu.org. ##
12765## ------------------------------------ ##
12766_ASBOX
12767 ) |
12768 sed "s/^/$as_me: WARNING: /" >&2
12769 ;;
12770 no:yes )
12771 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12772echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12773 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12774echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12775 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12776echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12777 (
12778 cat <<\_ASBOX
12779## ------------------------------------ ##
12780## Report this to bug-autoconf@gnu.org. ##
12781## ------------------------------------ ##
12782_ASBOX
12783 ) |
12784 sed "s/^/$as_me: WARNING: /" >&2
12785 ;;
12786esac
12787echo "$as_me:$LINENO: checking for $ac_header" >&5
12788echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12789if eval "test \"\${$as_ac_Header+set}\" = set"; then
12790 echo $ECHO_N "(cached) $ECHO_C" >&6
12791else
12792 eval "$as_ac_Header=$ac_header_preproc"
12793fi
12794echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12795echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12796
12797fi
12798if test `eval echo '${'$as_ac_Header'}'` = yes; then
12799 cat >>confdefs.h <<_ACEOF
12800#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12801_ACEOF
12802
12803fi
12804
12805done
12806
12807
12808if test "$ac_cv_header_wchar_h" != "yes"; then
12809
12810for ac_header in wcstr.h
12811do
12812as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12813if eval "test \"\${$as_ac_Header+set}\" = set"; then
12814 echo "$as_me:$LINENO: checking for $ac_header" >&5
12815echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12816if eval "test \"\${$as_ac_Header+set}\" = set"; then
12817 echo $ECHO_N "(cached) $ECHO_C" >&6
12818fi
12819echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12820echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12821else
12822 # Is the header compilable?
12823echo "$as_me:$LINENO: checking $ac_header usability" >&5
12824echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12825cat >conftest.$ac_ext <<_ACEOF
12826#line $LINENO "configure"
12827/* confdefs.h. */
12828_ACEOF
12829cat confdefs.h >>conftest.$ac_ext
12830cat >>conftest.$ac_ext <<_ACEOF
12831/* end confdefs.h. */
12832$ac_includes_default
12833#include <$ac_header>
12834_ACEOF
12835rm -f conftest.$ac_objext
12836if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12837 (eval $ac_compile) 2>&5
12838 ac_status=$?
12839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12840 (exit $ac_status); } &&
12841 { ac_try='test -s conftest.$ac_objext'
12842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12843 (eval $ac_try) 2>&5
12844 ac_status=$?
12845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12846 (exit $ac_status); }; }; then
12847 ac_header_compiler=yes
12848else
12849 echo "$as_me: failed program was:" >&5
12850sed 's/^/| /' conftest.$ac_ext >&5
12851
12852ac_header_compiler=no
12853fi
12854rm -f conftest.$ac_objext conftest.$ac_ext
12855echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12856echo "${ECHO_T}$ac_header_compiler" >&6
12857
12858# Is the header present?
12859echo "$as_me:$LINENO: checking $ac_header presence" >&5
12860echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12861cat >conftest.$ac_ext <<_ACEOF
12862#line $LINENO "configure"
12863/* confdefs.h. */
12864_ACEOF
12865cat confdefs.h >>conftest.$ac_ext
12866cat >>conftest.$ac_ext <<_ACEOF
12867/* end confdefs.h. */
12868#include <$ac_header>
12869_ACEOF
12870if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12871 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12872 ac_status=$?
12873 grep -v '^ *+' conftest.er1 >conftest.err
12874 rm -f conftest.er1
12875 cat conftest.err >&5
12876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12877 (exit $ac_status); } >/dev/null; then
12878 if test -s conftest.err; then
12879 ac_cpp_err=$ac_c_preproc_warn_flag
12880 else
12881 ac_cpp_err=
12882 fi
12883else
12884 ac_cpp_err=yes
12885fi
12886if test -z "$ac_cpp_err"; then
12887 ac_header_preproc=yes
12888else
12889 echo "$as_me: failed program was:" >&5
12890sed 's/^/| /' conftest.$ac_ext >&5
12891
12892 ac_header_preproc=no
12893fi
12894rm -f conftest.err conftest.$ac_ext
12895echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12896echo "${ECHO_T}$ac_header_preproc" >&6
12897
12898# So? What about this header?
12899case $ac_header_compiler:$ac_header_preproc in
12900 yes:no )
12901 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12902echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12903 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12904echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12905 (
12906 cat <<\_ASBOX
12907## ------------------------------------ ##
12908## Report this to bug-autoconf@gnu.org. ##
12909## ------------------------------------ ##
12910_ASBOX
12911 ) |
12912 sed "s/^/$as_me: WARNING: /" >&2
12913 ;;
12914 no:yes )
12915 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12916echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12917 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12918echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12919 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12920echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12921 (
12922 cat <<\_ASBOX
12923## ------------------------------------ ##
12924## Report this to bug-autoconf@gnu.org. ##
12925## ------------------------------------ ##
12926_ASBOX
12927 ) |
12928 sed "s/^/$as_me: WARNING: /" >&2
12929 ;;
12930esac
12931echo "$as_me:$LINENO: checking for $ac_header" >&5
12932echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12933if eval "test \"\${$as_ac_Header+set}\" = set"; then
12934 echo $ECHO_N "(cached) $ECHO_C" >&6
12935else
12936 eval "$as_ac_Header=$ac_header_preproc"
12937fi
12938echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12939echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12940
12941fi
12942if test `eval echo '${'$as_ac_Header'}'` = yes; then
12943 cat >>confdefs.h <<_ACEOF
12944#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12945_ACEOF
12946
12947fi
12948
12949done
12950
12951fi
12952
12953
12954for ac_header in fnmatch.h
12955do
12956as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12957if eval "test \"\${$as_ac_Header+set}\" = set"; then
12958 echo "$as_me:$LINENO: checking for $ac_header" >&5
12959echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12960if eval "test \"\${$as_ac_Header+set}\" = set"; then
12961 echo $ECHO_N "(cached) $ECHO_C" >&6
12962fi
12963echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12964echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12965else
12966 # Is the header compilable?
12967echo "$as_me:$LINENO: checking $ac_header usability" >&5
12968echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12969cat >conftest.$ac_ext <<_ACEOF
12970#line $LINENO "configure"
12971/* confdefs.h. */
12972_ACEOF
12973cat confdefs.h >>conftest.$ac_ext
12974cat >>conftest.$ac_ext <<_ACEOF
12975/* end confdefs.h. */
12976$ac_includes_default
12977#include <$ac_header>
12978_ACEOF
12979rm -f conftest.$ac_objext
12980if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12981 (eval $ac_compile) 2>&5
12982 ac_status=$?
12983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12984 (exit $ac_status); } &&
12985 { ac_try='test -s conftest.$ac_objext'
12986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12987 (eval $ac_try) 2>&5
12988 ac_status=$?
12989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12990 (exit $ac_status); }; }; then
12991 ac_header_compiler=yes
12992else
12993 echo "$as_me: failed program was:" >&5
12994sed 's/^/| /' conftest.$ac_ext >&5
12995
12996ac_header_compiler=no
12997fi
12998rm -f conftest.$ac_objext conftest.$ac_ext
12999echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13000echo "${ECHO_T}$ac_header_compiler" >&6
13001
13002# Is the header present?
13003echo "$as_me:$LINENO: checking $ac_header presence" >&5
13004echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13005cat >conftest.$ac_ext <<_ACEOF
13006#line $LINENO "configure"
13007/* confdefs.h. */
13008_ACEOF
13009cat confdefs.h >>conftest.$ac_ext
13010cat >>conftest.$ac_ext <<_ACEOF
13011/* end confdefs.h. */
13012#include <$ac_header>
13013_ACEOF
13014if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13015 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13016 ac_status=$?
13017 grep -v '^ *+' conftest.er1 >conftest.err
13018 rm -f conftest.er1
13019 cat conftest.err >&5
13020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13021 (exit $ac_status); } >/dev/null; then
13022 if test -s conftest.err; then
13023 ac_cpp_err=$ac_c_preproc_warn_flag
13024 else
13025 ac_cpp_err=
13026 fi
13027else
13028 ac_cpp_err=yes
13029fi
13030if test -z "$ac_cpp_err"; then
13031 ac_header_preproc=yes
13032else
13033 echo "$as_me: failed program was:" >&5
13034sed 's/^/| /' conftest.$ac_ext >&5
13035
13036 ac_header_preproc=no
13037fi
13038rm -f conftest.err conftest.$ac_ext
13039echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13040echo "${ECHO_T}$ac_header_preproc" >&6
13041
13042# So? What about this header?
13043case $ac_header_compiler:$ac_header_preproc in
13044 yes:no )
13045 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13046echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13047 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13048echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13049 (
13050 cat <<\_ASBOX
13051## ------------------------------------ ##
13052## Report this to bug-autoconf@gnu.org. ##
13053## ------------------------------------ ##
13054_ASBOX
13055 ) |
13056 sed "s/^/$as_me: WARNING: /" >&2
13057 ;;
13058 no:yes )
13059 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13060echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13061 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13062echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13063 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13064echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13065 (
13066 cat <<\_ASBOX
13067## ------------------------------------ ##
13068## Report this to bug-autoconf@gnu.org. ##
13069## ------------------------------------ ##
13070_ASBOX
13071 ) |
13072 sed "s/^/$as_me: WARNING: /" >&2
13073 ;;
13074esac
13075echo "$as_me:$LINENO: checking for $ac_header" >&5
13076echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13077if eval "test \"\${$as_ac_Header+set}\" = set"; then
13078 echo $ECHO_N "(cached) $ECHO_C" >&6
13079else
13080 eval "$as_ac_Header=$ac_header_preproc"
13081fi
13082echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13083echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13084
13085fi
13086if test `eval echo '${'$as_ac_Header'}'` = yes; then
13087 cat >>confdefs.h <<_ACEOF
13088#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13089_ACEOF
13090
13091fi
13092
13093done
13094
13095
13096if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13097
13098for ac_func in fnmatch
13099do
13100as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13101echo "$as_me:$LINENO: checking for $ac_func" >&5
13102echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13103if eval "test \"\${$as_ac_var+set}\" = set"; then
13104 echo $ECHO_N "(cached) $ECHO_C" >&6
13105else
13106 cat >conftest.$ac_ext <<_ACEOF
13107#line $LINENO "configure"
13108/* confdefs.h. */
13109_ACEOF
13110cat confdefs.h >>conftest.$ac_ext
13111cat >>conftest.$ac_ext <<_ACEOF
13112/* end confdefs.h. */
13113/* System header to define __stub macros and hopefully few prototypes,
13114 which can conflict with char $ac_func (); below.
13115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13116 <limits.h> exists even on freestanding compilers. */
13117#ifdef __STDC__
13118# include <limits.h>
13119#else
13120# include <assert.h>
13121#endif
13122/* Override any gcc2 internal prototype to avoid an error. */
13123#ifdef __cplusplus
13124extern "C"
13125{
13126#endif
13127/* We use char because int might match the return type of a gcc2
13128 builtin and then its argument prototype would still apply. */
13129char $ac_func ();
13130/* The GNU C library defines this for functions which it implements
13131 to always fail with ENOSYS. Some functions are actually named
13132 something starting with __ and the normal name is an alias. */
13133#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13134choke me
13135#else
13136char (*f) () = $ac_func;
13137#endif
13138#ifdef __cplusplus
13139}
13140#endif
13141
13142int
13143main ()
13144{
13145return f != $ac_func;
13146 ;
13147 return 0;
13148}
13149_ACEOF
13150rm -f conftest.$ac_objext conftest$ac_exeext
13151if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13152 (eval $ac_link) 2>&5
13153 ac_status=$?
13154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13155 (exit $ac_status); } &&
13156 { ac_try='test -s conftest$ac_exeext'
13157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13158 (eval $ac_try) 2>&5
13159 ac_status=$?
13160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13161 (exit $ac_status); }; }; then
13162 eval "$as_ac_var=yes"
13163else
13164 echo "$as_me: failed program was:" >&5
13165sed 's/^/| /' conftest.$ac_ext >&5
13166
13167eval "$as_ac_var=no"
13168fi
13169rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13170fi
13171echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13172echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13173if test `eval echo '${'$as_ac_var'}'` = yes; then
13174 cat >>confdefs.h <<_ACEOF
13175#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13176_ACEOF
13177
13178fi
13179done
13180
13181fi
13182
13183
13184for ac_header in langinfo.h
13185do
13186as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13187if eval "test \"\${$as_ac_Header+set}\" = set"; then
13188 echo "$as_me:$LINENO: checking for $ac_header" >&5
13189echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13190if eval "test \"\${$as_ac_Header+set}\" = set"; then
13191 echo $ECHO_N "(cached) $ECHO_C" >&6
13192fi
13193echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13194echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13195else
13196 # Is the header compilable?
13197echo "$as_me:$LINENO: checking $ac_header usability" >&5
13198echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13199cat >conftest.$ac_ext <<_ACEOF
13200#line $LINENO "configure"
13201/* confdefs.h. */
13202_ACEOF
13203cat confdefs.h >>conftest.$ac_ext
13204cat >>conftest.$ac_ext <<_ACEOF
13205/* end confdefs.h. */
13206$ac_includes_default
13207#include <$ac_header>
13208_ACEOF
13209rm -f conftest.$ac_objext
13210if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13211 (eval $ac_compile) 2>&5
13212 ac_status=$?
13213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13214 (exit $ac_status); } &&
13215 { ac_try='test -s conftest.$ac_objext'
13216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13217 (eval $ac_try) 2>&5
13218 ac_status=$?
13219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13220 (exit $ac_status); }; }; then
13221 ac_header_compiler=yes
13222else
13223 echo "$as_me: failed program was:" >&5
13224sed 's/^/| /' conftest.$ac_ext >&5
13225
13226ac_header_compiler=no
13227fi
13228rm -f conftest.$ac_objext conftest.$ac_ext
13229echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13230echo "${ECHO_T}$ac_header_compiler" >&6
13231
13232# Is the header present?
13233echo "$as_me:$LINENO: checking $ac_header presence" >&5
13234echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13235cat >conftest.$ac_ext <<_ACEOF
13236#line $LINENO "configure"
13237/* confdefs.h. */
13238_ACEOF
13239cat confdefs.h >>conftest.$ac_ext
13240cat >>conftest.$ac_ext <<_ACEOF
13241/* end confdefs.h. */
13242#include <$ac_header>
13243_ACEOF
13244if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13245 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13246 ac_status=$?
13247 grep -v '^ *+' conftest.er1 >conftest.err
13248 rm -f conftest.er1
13249 cat conftest.err >&5
13250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13251 (exit $ac_status); } >/dev/null; then
13252 if test -s conftest.err; then
13253 ac_cpp_err=$ac_c_preproc_warn_flag
13254 else
13255 ac_cpp_err=
13256 fi
13257else
13258 ac_cpp_err=yes
13259fi
13260if test -z "$ac_cpp_err"; then
13261 ac_header_preproc=yes
13262else
13263 echo "$as_me: failed program was:" >&5
13264sed 's/^/| /' conftest.$ac_ext >&5
13265
13266 ac_header_preproc=no
13267fi
13268rm -f conftest.err conftest.$ac_ext
13269echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13270echo "${ECHO_T}$ac_header_preproc" >&6
13271
13272# So? What about this header?
13273case $ac_header_compiler:$ac_header_preproc in
13274 yes:no )
13275 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13276echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13277 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13278echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13279 (
13280 cat <<\_ASBOX
13281## ------------------------------------ ##
13282## Report this to bug-autoconf@gnu.org. ##
13283## ------------------------------------ ##
13284_ASBOX
13285 ) |
13286 sed "s/^/$as_me: WARNING: /" >&2
13287 ;;
13288 no:yes )
13289 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13290echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13291 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13292echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13293 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13294echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13295 (
13296 cat <<\_ASBOX
13297## ------------------------------------ ##
13298## Report this to bug-autoconf@gnu.org. ##
13299## ------------------------------------ ##
13300_ASBOX
13301 ) |
13302 sed "s/^/$as_me: WARNING: /" >&2
13303 ;;
13304esac
13305echo "$as_me:$LINENO: checking for $ac_header" >&5
13306echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13307if eval "test \"\${$as_ac_Header+set}\" = set"; then
13308 echo $ECHO_N "(cached) $ECHO_C" >&6
13309else
13310 eval "$as_ac_Header=$ac_header_preproc"
13311fi
13312echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13313echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13314
13315fi
13316if test `eval echo '${'$as_ac_Header'}'` = yes; then
13317 cat >>confdefs.h <<_ACEOF
13318#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13319_ACEOF
13320
13321fi
13322
13323done
13324
13325
13326case "${host}" in
13327 *-pc-os2_emx | *-pc-os2-emx )
13328 if test $ac_cv_header_langinfo_h = "yes"; then
13329 LIBS="$LIBS -lintl"
13330 fi
13331 ;;
13332esac
13333
13334if test "$wxUSE_GUI" = "yes"; then
13335 if test "$wxUSE_UNIX" = "yes"; then
13336
13337for ac_header in X11/XKBlib.h
13338do
13339as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13340if eval "test \"\${$as_ac_Header+set}\" = set"; then
13341 echo "$as_me:$LINENO: checking for $ac_header" >&5
13342echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13343if eval "test \"\${$as_ac_Header+set}\" = set"; then
13344 echo $ECHO_N "(cached) $ECHO_C" >&6
13345fi
13346echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13347echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13348else
13349 # Is the header compilable?
13350echo "$as_me:$LINENO: checking $ac_header usability" >&5
13351echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13352cat >conftest.$ac_ext <<_ACEOF
13353#line $LINENO "configure"
13354/* confdefs.h. */
13355_ACEOF
13356cat confdefs.h >>conftest.$ac_ext
13357cat >>conftest.$ac_ext <<_ACEOF
13358/* end confdefs.h. */
13359$ac_includes_default
13360#include <$ac_header>
13361_ACEOF
13362rm -f conftest.$ac_objext
13363if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13364 (eval $ac_compile) 2>&5
13365 ac_status=$?
13366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13367 (exit $ac_status); } &&
13368 { ac_try='test -s conftest.$ac_objext'
13369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13370 (eval $ac_try) 2>&5
13371 ac_status=$?
13372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13373 (exit $ac_status); }; }; then
13374 ac_header_compiler=yes
13375else
13376 echo "$as_me: failed program was:" >&5
13377sed 's/^/| /' conftest.$ac_ext >&5
13378
13379ac_header_compiler=no
13380fi
13381rm -f conftest.$ac_objext conftest.$ac_ext
13382echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13383echo "${ECHO_T}$ac_header_compiler" >&6
13384
13385# Is the header present?
13386echo "$as_me:$LINENO: checking $ac_header presence" >&5
13387echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13388cat >conftest.$ac_ext <<_ACEOF
13389#line $LINENO "configure"
13390/* confdefs.h. */
13391_ACEOF
13392cat confdefs.h >>conftest.$ac_ext
13393cat >>conftest.$ac_ext <<_ACEOF
13394/* end confdefs.h. */
13395#include <$ac_header>
13396_ACEOF
13397if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13398 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13399 ac_status=$?
13400 grep -v '^ *+' conftest.er1 >conftest.err
13401 rm -f conftest.er1
13402 cat conftest.err >&5
13403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404 (exit $ac_status); } >/dev/null; then
13405 if test -s conftest.err; then
13406 ac_cpp_err=$ac_c_preproc_warn_flag
13407 else
13408 ac_cpp_err=
13409 fi
13410else
13411 ac_cpp_err=yes
13412fi
13413if test -z "$ac_cpp_err"; then
13414 ac_header_preproc=yes
13415else
13416 echo "$as_me: failed program was:" >&5
13417sed 's/^/| /' conftest.$ac_ext >&5
13418
13419 ac_header_preproc=no
13420fi
13421rm -f conftest.err conftest.$ac_ext
13422echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13423echo "${ECHO_T}$ac_header_preproc" >&6
13424
13425# So? What about this header?
13426case $ac_header_compiler:$ac_header_preproc in
13427 yes:no )
13428 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13429echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13430 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13431echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13432 (
13433 cat <<\_ASBOX
13434## ------------------------------------ ##
13435## Report this to bug-autoconf@gnu.org. ##
13436## ------------------------------------ ##
13437_ASBOX
13438 ) |
13439 sed "s/^/$as_me: WARNING: /" >&2
13440 ;;
13441 no:yes )
13442 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13443echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13444 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13445echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13446 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13447echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13448 (
13449 cat <<\_ASBOX
13450## ------------------------------------ ##
13451## Report this to bug-autoconf@gnu.org. ##
13452## ------------------------------------ ##
13453_ASBOX
13454 ) |
13455 sed "s/^/$as_me: WARNING: /" >&2
13456 ;;
13457esac
13458echo "$as_me:$LINENO: checking for $ac_header" >&5
13459echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13460if eval "test \"\${$as_ac_Header+set}\" = set"; then
13461 echo $ECHO_N "(cached) $ECHO_C" >&6
13462else
13463 eval "$as_ac_Header=$ac_header_preproc"
13464fi
13465echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13466echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13467
13468fi
13469if test `eval echo '${'$as_ac_Header'}'` = yes; then
13470 cat >>confdefs.h <<_ACEOF
13471#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13472_ACEOF
13473
13474fi
13475
13476done
13477
13478 fi
13479fi
13480
13481
13482echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13483echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13484if test "${ac_cv_c_const+set}" = set; then
13485 echo $ECHO_N "(cached) $ECHO_C" >&6
13486else
13487 cat >conftest.$ac_ext <<_ACEOF
13488#line $LINENO "configure"
13489/* confdefs.h. */
13490_ACEOF
13491cat confdefs.h >>conftest.$ac_ext
13492cat >>conftest.$ac_ext <<_ACEOF
13493/* end confdefs.h. */
13494
13495int
13496main ()
13497{
13498/* FIXME: Include the comments suggested by Paul. */
13499#ifndef __cplusplus
13500 /* Ultrix mips cc rejects this. */
13501 typedef int charset[2];
13502 const charset x;
13503 /* SunOS 4.1.1 cc rejects this. */
13504 char const *const *ccp;
13505 char **p;
13506 /* NEC SVR4.0.2 mips cc rejects this. */
13507 struct point {int x, y;};
13508 static struct point const zero = {0,0};
13509 /* AIX XL C 1.02.0.0 rejects this.
13510 It does not let you subtract one const X* pointer from another in
13511 an arm of an if-expression whose if-part is not a constant
13512 expression */
13513 const char *g = "string";
13514 ccp = &g + (g ? g-g : 0);
13515 /* HPUX 7.0 cc rejects these. */
13516 ++ccp;
13517 p = (char**) ccp;
13518 ccp = (char const *const *) p;
13519 { /* SCO 3.2v4 cc rejects this. */
13520 char *t;
13521 char const *s = 0 ? (char *) 0 : (char const *) 0;
13522
13523 *t++ = 0;
13524 }
13525 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13526 int x[] = {25, 17};
13527 const int *foo = &x[0];
13528 ++foo;
13529 }
13530 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13531 typedef const int *iptr;
13532 iptr p = 0;
13533 ++p;
13534 }
13535 { /* AIX XL C 1.02.0.0 rejects this saying
13536 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13537 struct s { int j; const int *ap[3]; };
13538 struct s *b; b->j = 5;
13539 }
13540 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13541 const int foo = 10;
13542 }
13543#endif
13544
13545 ;
13546 return 0;
13547}
13548_ACEOF
13549rm -f conftest.$ac_objext
13550if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13551 (eval $ac_compile) 2>&5
13552 ac_status=$?
13553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13554 (exit $ac_status); } &&
13555 { ac_try='test -s conftest.$ac_objext'
13556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13557 (eval $ac_try) 2>&5
13558 ac_status=$?
13559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13560 (exit $ac_status); }; }; then
13561 ac_cv_c_const=yes
13562else
13563 echo "$as_me: failed program was:" >&5
13564sed 's/^/| /' conftest.$ac_ext >&5
13565
13566ac_cv_c_const=no
13567fi
13568rm -f conftest.$ac_objext conftest.$ac_ext
13569fi
13570echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13571echo "${ECHO_T}$ac_cv_c_const" >&6
13572if test $ac_cv_c_const = no; then
13573
13574cat >>confdefs.h <<\_ACEOF
13575#define const
13576_ACEOF
13577
13578fi
13579
13580echo "$as_me:$LINENO: checking for inline" >&5
13581echo $ECHO_N "checking for inline... $ECHO_C" >&6
13582if test "${ac_cv_c_inline+set}" = set; then
13583 echo $ECHO_N "(cached) $ECHO_C" >&6
13584else
13585 ac_cv_c_inline=no
13586for ac_kw in inline __inline__ __inline; do
13587 cat >conftest.$ac_ext <<_ACEOF
13588#line $LINENO "configure"
13589/* confdefs.h. */
13590_ACEOF
13591cat confdefs.h >>conftest.$ac_ext
13592cat >>conftest.$ac_ext <<_ACEOF
13593/* end confdefs.h. */
13594#ifndef __cplusplus
13595typedef int foo_t;
13596static $ac_kw foo_t static_foo () {return 0; }
13597$ac_kw foo_t foo () {return 0; }
13598#endif
13599
13600_ACEOF
13601rm -f conftest.$ac_objext
13602if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13603 (eval $ac_compile) 2>&5
13604 ac_status=$?
13605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13606 (exit $ac_status); } &&
13607 { ac_try='test -s conftest.$ac_objext'
13608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13609 (eval $ac_try) 2>&5
13610 ac_status=$?
13611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13612 (exit $ac_status); }; }; then
13613 ac_cv_c_inline=$ac_kw; break
13614else
13615 echo "$as_me: failed program was:" >&5
13616sed 's/^/| /' conftest.$ac_ext >&5
13617
13618fi
13619rm -f conftest.$ac_objext conftest.$ac_ext
13620done
13621
13622fi
13623echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13624echo "${ECHO_T}$ac_cv_c_inline" >&6
13625case $ac_cv_c_inline in
13626 inline | yes) ;;
13627 no)
13628cat >>confdefs.h <<\_ACEOF
13629#define inline
13630_ACEOF
13631 ;;
13632 *) cat >>confdefs.h <<_ACEOF
13633#define inline $ac_cv_c_inline
13634_ACEOF
13635 ;;
13636esac
13637
13638
13639echo "$as_me:$LINENO: checking for char" >&5
13640echo $ECHO_N "checking for char... $ECHO_C" >&6
13641if test "${ac_cv_type_char+set}" = set; then
13642 echo $ECHO_N "(cached) $ECHO_C" >&6
13643else
13644 cat >conftest.$ac_ext <<_ACEOF
13645#line $LINENO "configure"
13646/* confdefs.h. */
13647_ACEOF
13648cat confdefs.h >>conftest.$ac_ext
13649cat >>conftest.$ac_ext <<_ACEOF
13650/* end confdefs.h. */
13651$ac_includes_default
13652int
13653main ()
13654{
13655if ((char *) 0)
13656 return 0;
13657if (sizeof (char))
13658 return 0;
13659 ;
13660 return 0;
13661}
13662_ACEOF
13663rm -f conftest.$ac_objext
13664if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13665 (eval $ac_compile) 2>&5
13666 ac_status=$?
13667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13668 (exit $ac_status); } &&
13669 { ac_try='test -s conftest.$ac_objext'
13670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13671 (eval $ac_try) 2>&5
13672 ac_status=$?
13673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13674 (exit $ac_status); }; }; then
13675 ac_cv_type_char=yes
13676else
13677 echo "$as_me: failed program was:" >&5
13678sed 's/^/| /' conftest.$ac_ext >&5
13679
13680ac_cv_type_char=no
13681fi
13682rm -f conftest.$ac_objext conftest.$ac_ext
13683fi
13684echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13685echo "${ECHO_T}$ac_cv_type_char" >&6
13686
13687echo "$as_me:$LINENO: checking size of char" >&5
13688echo $ECHO_N "checking size of char... $ECHO_C" >&6
13689if test "${ac_cv_sizeof_char+set}" = set; then
13690 echo $ECHO_N "(cached) $ECHO_C" >&6
13691else
13692 if test "$ac_cv_type_char" = yes; then
13693 # The cast to unsigned long works around a bug in the HP C Compiler
13694 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13695 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13696 # This bug is HP SR number 8606223364.
13697 if test "$cross_compiling" = yes; then
13698 # Depending upon the size, compute the lo and hi bounds.
13699cat >conftest.$ac_ext <<_ACEOF
13700#line $LINENO "configure"
13701/* confdefs.h. */
13702_ACEOF
13703cat confdefs.h >>conftest.$ac_ext
13704cat >>conftest.$ac_ext <<_ACEOF
13705/* end confdefs.h. */
13706$ac_includes_default
13707int
13708main ()
13709{
13710static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13711test_array [0] = 0
13712
13713 ;
13714 return 0;
13715}
13716_ACEOF
13717rm -f conftest.$ac_objext
13718if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13719 (eval $ac_compile) 2>&5
13720 ac_status=$?
13721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13722 (exit $ac_status); } &&
13723 { ac_try='test -s conftest.$ac_objext'
13724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13725 (eval $ac_try) 2>&5
13726 ac_status=$?
13727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13728 (exit $ac_status); }; }; then
13729 ac_lo=0 ac_mid=0
13730 while :; do
13731 cat >conftest.$ac_ext <<_ACEOF
13732#line $LINENO "configure"
13733/* confdefs.h. */
13734_ACEOF
13735cat confdefs.h >>conftest.$ac_ext
13736cat >>conftest.$ac_ext <<_ACEOF
13737/* end confdefs.h. */
13738$ac_includes_default
13739int
13740main ()
13741{
13742static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13743test_array [0] = 0
13744
13745 ;
13746 return 0;
13747}
13748_ACEOF
13749rm -f conftest.$ac_objext
13750if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13751 (eval $ac_compile) 2>&5
13752 ac_status=$?
13753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13754 (exit $ac_status); } &&
13755 { ac_try='test -s conftest.$ac_objext'
13756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13757 (eval $ac_try) 2>&5
13758 ac_status=$?
13759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13760 (exit $ac_status); }; }; then
13761 ac_hi=$ac_mid; break
13762else
13763 echo "$as_me: failed program was:" >&5
13764sed 's/^/| /' conftest.$ac_ext >&5
13765
13766ac_lo=`expr $ac_mid + 1`
13767 if test $ac_lo -le $ac_mid; then
13768 ac_lo= ac_hi=
13769 break
13770 fi
13771 ac_mid=`expr 2 '*' $ac_mid + 1`
13772fi
13773rm -f conftest.$ac_objext conftest.$ac_ext
13774 done
13775else
13776 echo "$as_me: failed program was:" >&5
13777sed 's/^/| /' conftest.$ac_ext >&5
13778
13779cat >conftest.$ac_ext <<_ACEOF
13780#line $LINENO "configure"
13781/* confdefs.h. */
13782_ACEOF
13783cat confdefs.h >>conftest.$ac_ext
13784cat >>conftest.$ac_ext <<_ACEOF
13785/* end confdefs.h. */
13786$ac_includes_default
13787int
13788main ()
13789{
13790static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13791test_array [0] = 0
13792
13793 ;
13794 return 0;
13795}
13796_ACEOF
13797rm -f conftest.$ac_objext
13798if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13799 (eval $ac_compile) 2>&5
13800 ac_status=$?
13801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13802 (exit $ac_status); } &&
13803 { ac_try='test -s conftest.$ac_objext'
13804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13805 (eval $ac_try) 2>&5
13806 ac_status=$?
13807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13808 (exit $ac_status); }; }; then
13809 ac_hi=-1 ac_mid=-1
13810 while :; do
13811 cat >conftest.$ac_ext <<_ACEOF
13812#line $LINENO "configure"
13813/* confdefs.h. */
13814_ACEOF
13815cat confdefs.h >>conftest.$ac_ext
13816cat >>conftest.$ac_ext <<_ACEOF
13817/* end confdefs.h. */
13818$ac_includes_default
13819int
13820main ()
13821{
13822static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13823test_array [0] = 0
13824
13825 ;
13826 return 0;
13827}
13828_ACEOF
13829rm -f conftest.$ac_objext
13830if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13831 (eval $ac_compile) 2>&5
13832 ac_status=$?
13833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13834 (exit $ac_status); } &&
13835 { ac_try='test -s conftest.$ac_objext'
13836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13837 (eval $ac_try) 2>&5
13838 ac_status=$?
13839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13840 (exit $ac_status); }; }; then
13841 ac_lo=$ac_mid; break
13842else
13843 echo "$as_me: failed program was:" >&5
13844sed 's/^/| /' conftest.$ac_ext >&5
13845
13846ac_hi=`expr '(' $ac_mid ')' - 1`
13847 if test $ac_mid -le $ac_hi; then
13848 ac_lo= ac_hi=
13849 break
13850 fi
13851 ac_mid=`expr 2 '*' $ac_mid`
13852fi
13853rm -f conftest.$ac_objext conftest.$ac_ext
13854 done
13855else
13856 echo "$as_me: failed program was:" >&5
13857sed 's/^/| /' conftest.$ac_ext >&5
13858
13859ac_lo= ac_hi=
13860fi
13861rm -f conftest.$ac_objext conftest.$ac_ext
13862fi
13863rm -f conftest.$ac_objext conftest.$ac_ext
13864# Binary search between lo and hi bounds.
13865while test "x$ac_lo" != "x$ac_hi"; do
13866 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13867 cat >conftest.$ac_ext <<_ACEOF
13868#line $LINENO "configure"
13869/* confdefs.h. */
13870_ACEOF
13871cat confdefs.h >>conftest.$ac_ext
13872cat >>conftest.$ac_ext <<_ACEOF
13873/* end confdefs.h. */
13874$ac_includes_default
13875int
13876main ()
13877{
13878static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13879test_array [0] = 0
13880
13881 ;
13882 return 0;
13883}
13884_ACEOF
13885rm -f conftest.$ac_objext
13886if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13887 (eval $ac_compile) 2>&5
13888 ac_status=$?
13889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13890 (exit $ac_status); } &&
13891 { ac_try='test -s conftest.$ac_objext'
13892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13893 (eval $ac_try) 2>&5
13894 ac_status=$?
13895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13896 (exit $ac_status); }; }; then
13897 ac_hi=$ac_mid
13898else
13899 echo "$as_me: failed program was:" >&5
13900sed 's/^/| /' conftest.$ac_ext >&5
13901
13902ac_lo=`expr '(' $ac_mid ')' + 1`
13903fi
13904rm -f conftest.$ac_objext conftest.$ac_ext
13905done
13906case $ac_lo in
13907?*) ac_cv_sizeof_char=$ac_lo;;
13908'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13909See \`config.log' for more details." >&5
13910echo "$as_me: error: cannot compute sizeof (char), 77
13911See \`config.log' for more details." >&2;}
13912 { (exit 1); exit 1; }; } ;;
13913esac
13914else
13915 if test "$cross_compiling" = yes; then
13916 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13917See \`config.log' for more details." >&5
13918echo "$as_me: error: cannot run test program while cross compiling
13919See \`config.log' for more details." >&2;}
13920 { (exit 1); exit 1; }; }
13921else
13922 cat >conftest.$ac_ext <<_ACEOF
13923#line $LINENO "configure"
13924/* confdefs.h. */
13925_ACEOF
13926cat confdefs.h >>conftest.$ac_ext
13927cat >>conftest.$ac_ext <<_ACEOF
13928/* end confdefs.h. */
13929$ac_includes_default
13930long longval () { return (long) (sizeof (char)); }
13931unsigned long ulongval () { return (long) (sizeof (char)); }
13932#include <stdio.h>
13933#include <stdlib.h>
13934int
13935main ()
13936{
13937
13938 FILE *f = fopen ("conftest.val", "w");
13939 if (! f)
13940 exit (1);
13941 if (((long) (sizeof (char))) < 0)
13942 {
13943 long i = longval ();
13944 if (i != ((long) (sizeof (char))))
13945 exit (1);
13946 fprintf (f, "%ld\n", i);
13947 }
13948 else
13949 {
13950 unsigned long i = ulongval ();
13951 if (i != ((long) (sizeof (char))))
13952 exit (1);
13953 fprintf (f, "%lu\n", i);
13954 }
13955 exit (ferror (f) || fclose (f) != 0);
13956
13957 ;
13958 return 0;
13959}
13960_ACEOF
13961rm -f conftest$ac_exeext
13962if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13963 (eval $ac_link) 2>&5
13964 ac_status=$?
13965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13966 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13968 (eval $ac_try) 2>&5
13969 ac_status=$?
13970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13971 (exit $ac_status); }; }; then
13972 ac_cv_sizeof_char=`cat conftest.val`
13973else
13974 echo "$as_me: program exited with status $ac_status" >&5
13975echo "$as_me: failed program was:" >&5
13976sed 's/^/| /' conftest.$ac_ext >&5
13977
13978( exit $ac_status )
13979{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13980See \`config.log' for more details." >&5
13981echo "$as_me: error: cannot compute sizeof (char), 77
13982See \`config.log' for more details." >&2;}
13983 { (exit 1); exit 1; }; }
13984fi
13985rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13986fi
13987fi
13988rm -f conftest.val
13989else
13990 ac_cv_sizeof_char=0
13991fi
13992fi
13993echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
13994echo "${ECHO_T}$ac_cv_sizeof_char" >&6
13995cat >>confdefs.h <<_ACEOF
13996#define SIZEOF_CHAR $ac_cv_sizeof_char
13997_ACEOF
13998
13999
14000echo "$as_me:$LINENO: checking for short" >&5
14001echo $ECHO_N "checking for short... $ECHO_C" >&6
14002if test "${ac_cv_type_short+set}" = set; then
14003 echo $ECHO_N "(cached) $ECHO_C" >&6
14004else
14005 cat >conftest.$ac_ext <<_ACEOF
14006#line $LINENO "configure"
14007/* confdefs.h. */
14008_ACEOF
14009cat confdefs.h >>conftest.$ac_ext
14010cat >>conftest.$ac_ext <<_ACEOF
14011/* end confdefs.h. */
14012$ac_includes_default
14013int
14014main ()
14015{
14016if ((short *) 0)
14017 return 0;
14018if (sizeof (short))
14019 return 0;
14020 ;
14021 return 0;
14022}
14023_ACEOF
14024rm -f conftest.$ac_objext
14025if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14026 (eval $ac_compile) 2>&5
14027 ac_status=$?
14028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14029 (exit $ac_status); } &&
14030 { ac_try='test -s conftest.$ac_objext'
14031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14032 (eval $ac_try) 2>&5
14033 ac_status=$?
14034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14035 (exit $ac_status); }; }; then
14036 ac_cv_type_short=yes
14037else
14038 echo "$as_me: failed program was:" >&5
14039sed 's/^/| /' conftest.$ac_ext >&5
14040
14041ac_cv_type_short=no
14042fi
14043rm -f conftest.$ac_objext conftest.$ac_ext
14044fi
14045echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14046echo "${ECHO_T}$ac_cv_type_short" >&6
14047
14048echo "$as_me:$LINENO: checking size of short" >&5
14049echo $ECHO_N "checking size of short... $ECHO_C" >&6
14050if test "${ac_cv_sizeof_short+set}" = set; then
14051 echo $ECHO_N "(cached) $ECHO_C" >&6
14052else
14053 if test "$ac_cv_type_short" = yes; then
14054 # The cast to unsigned long works around a bug in the HP C Compiler
14055 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14056 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14057 # This bug is HP SR number 8606223364.
14058 if test "$cross_compiling" = yes; then
14059 # Depending upon the size, compute the lo and hi bounds.
14060cat >conftest.$ac_ext <<_ACEOF
14061#line $LINENO "configure"
14062/* confdefs.h. */
14063_ACEOF
14064cat confdefs.h >>conftest.$ac_ext
14065cat >>conftest.$ac_ext <<_ACEOF
14066/* end confdefs.h. */
14067$ac_includes_default
14068int
14069main ()
14070{
14071static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14072test_array [0] = 0
14073
14074 ;
14075 return 0;
14076}
14077_ACEOF
14078rm -f conftest.$ac_objext
14079if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14080 (eval $ac_compile) 2>&5
14081 ac_status=$?
14082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083 (exit $ac_status); } &&
14084 { ac_try='test -s conftest.$ac_objext'
14085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14086 (eval $ac_try) 2>&5
14087 ac_status=$?
14088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14089 (exit $ac_status); }; }; then
14090 ac_lo=0 ac_mid=0
14091 while :; do
14092 cat >conftest.$ac_ext <<_ACEOF
14093#line $LINENO "configure"
14094/* confdefs.h. */
14095_ACEOF
14096cat confdefs.h >>conftest.$ac_ext
14097cat >>conftest.$ac_ext <<_ACEOF
14098/* end confdefs.h. */
14099$ac_includes_default
14100int
14101main ()
14102{
14103static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14104test_array [0] = 0
14105
14106 ;
14107 return 0;
14108}
14109_ACEOF
14110rm -f conftest.$ac_objext
14111if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14112 (eval $ac_compile) 2>&5
14113 ac_status=$?
14114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14115 (exit $ac_status); } &&
14116 { ac_try='test -s conftest.$ac_objext'
14117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14118 (eval $ac_try) 2>&5
14119 ac_status=$?
14120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14121 (exit $ac_status); }; }; then
14122 ac_hi=$ac_mid; break
14123else
14124 echo "$as_me: failed program was:" >&5
14125sed 's/^/| /' conftest.$ac_ext >&5
14126
14127ac_lo=`expr $ac_mid + 1`
14128 if test $ac_lo -le $ac_mid; then
14129 ac_lo= ac_hi=
14130 break
14131 fi
14132 ac_mid=`expr 2 '*' $ac_mid + 1`
14133fi
14134rm -f conftest.$ac_objext conftest.$ac_ext
14135 done
14136else
14137 echo "$as_me: failed program was:" >&5
14138sed 's/^/| /' conftest.$ac_ext >&5
14139
14140cat >conftest.$ac_ext <<_ACEOF
14141#line $LINENO "configure"
14142/* confdefs.h. */
14143_ACEOF
14144cat confdefs.h >>conftest.$ac_ext
14145cat >>conftest.$ac_ext <<_ACEOF
14146/* end confdefs.h. */
14147$ac_includes_default
14148int
14149main ()
14150{
14151static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14152test_array [0] = 0
14153
14154 ;
14155 return 0;
14156}
14157_ACEOF
14158rm -f conftest.$ac_objext
14159if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14160 (eval $ac_compile) 2>&5
14161 ac_status=$?
14162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14163 (exit $ac_status); } &&
14164 { ac_try='test -s conftest.$ac_objext'
14165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14166 (eval $ac_try) 2>&5
14167 ac_status=$?
14168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14169 (exit $ac_status); }; }; then
14170 ac_hi=-1 ac_mid=-1
14171 while :; do
14172 cat >conftest.$ac_ext <<_ACEOF
14173#line $LINENO "configure"
14174/* confdefs.h. */
14175_ACEOF
14176cat confdefs.h >>conftest.$ac_ext
14177cat >>conftest.$ac_ext <<_ACEOF
14178/* end confdefs.h. */
14179$ac_includes_default
14180int
14181main ()
14182{
14183static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14184test_array [0] = 0
14185
14186 ;
14187 return 0;
14188}
14189_ACEOF
14190rm -f conftest.$ac_objext
14191if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14192 (eval $ac_compile) 2>&5
14193 ac_status=$?
14194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14195 (exit $ac_status); } &&
14196 { ac_try='test -s conftest.$ac_objext'
14197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14198 (eval $ac_try) 2>&5
14199 ac_status=$?
14200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14201 (exit $ac_status); }; }; then
14202 ac_lo=$ac_mid; break
14203else
14204 echo "$as_me: failed program was:" >&5
14205sed 's/^/| /' conftest.$ac_ext >&5
14206
14207ac_hi=`expr '(' $ac_mid ')' - 1`
14208 if test $ac_mid -le $ac_hi; then
14209 ac_lo= ac_hi=
14210 break
14211 fi
14212 ac_mid=`expr 2 '*' $ac_mid`
14213fi
14214rm -f conftest.$ac_objext conftest.$ac_ext
14215 done
14216else
14217 echo "$as_me: failed program was:" >&5
14218sed 's/^/| /' conftest.$ac_ext >&5
14219
14220ac_lo= ac_hi=
14221fi
14222rm -f conftest.$ac_objext conftest.$ac_ext
14223fi
14224rm -f conftest.$ac_objext conftest.$ac_ext
14225# Binary search between lo and hi bounds.
14226while test "x$ac_lo" != "x$ac_hi"; do
14227 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14228 cat >conftest.$ac_ext <<_ACEOF
14229#line $LINENO "configure"
14230/* confdefs.h. */
14231_ACEOF
14232cat confdefs.h >>conftest.$ac_ext
14233cat >>conftest.$ac_ext <<_ACEOF
14234/* end confdefs.h. */
14235$ac_includes_default
14236int
14237main ()
14238{
14239static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14240test_array [0] = 0
14241
14242 ;
14243 return 0;
14244}
14245_ACEOF
14246rm -f conftest.$ac_objext
14247if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14248 (eval $ac_compile) 2>&5
14249 ac_status=$?
14250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14251 (exit $ac_status); } &&
14252 { ac_try='test -s conftest.$ac_objext'
14253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14254 (eval $ac_try) 2>&5
14255 ac_status=$?
14256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14257 (exit $ac_status); }; }; then
14258 ac_hi=$ac_mid
14259else
14260 echo "$as_me: failed program was:" >&5
14261sed 's/^/| /' conftest.$ac_ext >&5
14262
14263ac_lo=`expr '(' $ac_mid ')' + 1`
14264fi
14265rm -f conftest.$ac_objext conftest.$ac_ext
14266done
14267case $ac_lo in
14268?*) ac_cv_sizeof_short=$ac_lo;;
14269'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14270See \`config.log' for more details." >&5
14271echo "$as_me: error: cannot compute sizeof (short), 77
14272See \`config.log' for more details." >&2;}
14273 { (exit 1); exit 1; }; } ;;
14274esac
14275else
14276 if test "$cross_compiling" = yes; then
14277 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14278See \`config.log' for more details." >&5
14279echo "$as_me: error: cannot run test program while cross compiling
14280See \`config.log' for more details." >&2;}
14281 { (exit 1); exit 1; }; }
14282else
14283 cat >conftest.$ac_ext <<_ACEOF
14284#line $LINENO "configure"
14285/* confdefs.h. */
14286_ACEOF
14287cat confdefs.h >>conftest.$ac_ext
14288cat >>conftest.$ac_ext <<_ACEOF
14289/* end confdefs.h. */
14290$ac_includes_default
14291long longval () { return (long) (sizeof (short)); }
14292unsigned long ulongval () { return (long) (sizeof (short)); }
14293#include <stdio.h>
14294#include <stdlib.h>
14295int
14296main ()
14297{
14298
14299 FILE *f = fopen ("conftest.val", "w");
14300 if (! f)
14301 exit (1);
14302 if (((long) (sizeof (short))) < 0)
14303 {
14304 long i = longval ();
14305 if (i != ((long) (sizeof (short))))
14306 exit (1);
14307 fprintf (f, "%ld\n", i);
14308 }
14309 else
14310 {
14311 unsigned long i = ulongval ();
14312 if (i != ((long) (sizeof (short))))
14313 exit (1);
14314 fprintf (f, "%lu\n", i);
14315 }
14316 exit (ferror (f) || fclose (f) != 0);
14317
14318 ;
14319 return 0;
14320}
14321_ACEOF
14322rm -f conftest$ac_exeext
14323if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14324 (eval $ac_link) 2>&5
14325 ac_status=$?
14326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14327 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14329 (eval $ac_try) 2>&5
14330 ac_status=$?
14331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14332 (exit $ac_status); }; }; then
14333 ac_cv_sizeof_short=`cat conftest.val`
14334else
14335 echo "$as_me: program exited with status $ac_status" >&5
14336echo "$as_me: failed program was:" >&5
14337sed 's/^/| /' conftest.$ac_ext >&5
14338
14339( exit $ac_status )
14340{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14341See \`config.log' for more details." >&5
14342echo "$as_me: error: cannot compute sizeof (short), 77
14343See \`config.log' for more details." >&2;}
14344 { (exit 1); exit 1; }; }
14345fi
14346rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14347fi
14348fi
14349rm -f conftest.val
14350else
14351 ac_cv_sizeof_short=0
14352fi
14353fi
14354echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14355echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14356cat >>confdefs.h <<_ACEOF
14357#define SIZEOF_SHORT $ac_cv_sizeof_short
14358_ACEOF
14359
14360
14361echo "$as_me:$LINENO: checking for void *" >&5
14362echo $ECHO_N "checking for void *... $ECHO_C" >&6
14363if test "${ac_cv_type_void_p+set}" = set; then
14364 echo $ECHO_N "(cached) $ECHO_C" >&6
14365else
14366 cat >conftest.$ac_ext <<_ACEOF
14367#line $LINENO "configure"
14368/* confdefs.h. */
14369_ACEOF
14370cat confdefs.h >>conftest.$ac_ext
14371cat >>conftest.$ac_ext <<_ACEOF
14372/* end confdefs.h. */
14373$ac_includes_default
14374int
14375main ()
14376{
14377if ((void * *) 0)
14378 return 0;
14379if (sizeof (void *))
14380 return 0;
14381 ;
14382 return 0;
14383}
14384_ACEOF
14385rm -f conftest.$ac_objext
14386if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14387 (eval $ac_compile) 2>&5
14388 ac_status=$?
14389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14390 (exit $ac_status); } &&
14391 { ac_try='test -s conftest.$ac_objext'
14392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14393 (eval $ac_try) 2>&5
14394 ac_status=$?
14395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14396 (exit $ac_status); }; }; then
14397 ac_cv_type_void_p=yes
14398else
14399 echo "$as_me: failed program was:" >&5
14400sed 's/^/| /' conftest.$ac_ext >&5
14401
14402ac_cv_type_void_p=no
14403fi
14404rm -f conftest.$ac_objext conftest.$ac_ext
14405fi
14406echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14407echo "${ECHO_T}$ac_cv_type_void_p" >&6
14408
14409echo "$as_me:$LINENO: checking size of void *" >&5
14410echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14411if test "${ac_cv_sizeof_void_p+set}" = set; then
14412 echo $ECHO_N "(cached) $ECHO_C" >&6
14413else
14414 if test "$ac_cv_type_void_p" = yes; then
14415 # The cast to unsigned long works around a bug in the HP C Compiler
14416 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14417 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14418 # This bug is HP SR number 8606223364.
14419 if test "$cross_compiling" = yes; then
14420 # Depending upon the size, compute the lo and hi bounds.
14421cat >conftest.$ac_ext <<_ACEOF
14422#line $LINENO "configure"
14423/* confdefs.h. */
14424_ACEOF
14425cat confdefs.h >>conftest.$ac_ext
14426cat >>conftest.$ac_ext <<_ACEOF
14427/* end confdefs.h. */
14428$ac_includes_default
14429int
14430main ()
14431{
14432static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14433test_array [0] = 0
14434
14435 ;
14436 return 0;
14437}
14438_ACEOF
14439rm -f conftest.$ac_objext
14440if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14441 (eval $ac_compile) 2>&5
14442 ac_status=$?
14443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14444 (exit $ac_status); } &&
14445 { ac_try='test -s conftest.$ac_objext'
14446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14447 (eval $ac_try) 2>&5
14448 ac_status=$?
14449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14450 (exit $ac_status); }; }; then
14451 ac_lo=0 ac_mid=0
14452 while :; do
14453 cat >conftest.$ac_ext <<_ACEOF
14454#line $LINENO "configure"
14455/* confdefs.h. */
14456_ACEOF
14457cat confdefs.h >>conftest.$ac_ext
14458cat >>conftest.$ac_ext <<_ACEOF
14459/* end confdefs.h. */
14460$ac_includes_default
14461int
14462main ()
14463{
14464static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14465test_array [0] = 0
14466
14467 ;
14468 return 0;
14469}
14470_ACEOF
14471rm -f conftest.$ac_objext
14472if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14473 (eval $ac_compile) 2>&5
14474 ac_status=$?
14475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14476 (exit $ac_status); } &&
14477 { ac_try='test -s conftest.$ac_objext'
14478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14479 (eval $ac_try) 2>&5
14480 ac_status=$?
14481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14482 (exit $ac_status); }; }; then
14483 ac_hi=$ac_mid; break
14484else
14485 echo "$as_me: failed program was:" >&5
14486sed 's/^/| /' conftest.$ac_ext >&5
14487
14488ac_lo=`expr $ac_mid + 1`
14489 if test $ac_lo -le $ac_mid; then
14490 ac_lo= ac_hi=
14491 break
14492 fi
14493 ac_mid=`expr 2 '*' $ac_mid + 1`
14494fi
14495rm -f conftest.$ac_objext conftest.$ac_ext
14496 done
14497else
14498 echo "$as_me: failed program was:" >&5
14499sed 's/^/| /' conftest.$ac_ext >&5
14500
14501cat >conftest.$ac_ext <<_ACEOF
14502#line $LINENO "configure"
14503/* confdefs.h. */
14504_ACEOF
14505cat confdefs.h >>conftest.$ac_ext
14506cat >>conftest.$ac_ext <<_ACEOF
14507/* end confdefs.h. */
14508$ac_includes_default
14509int
14510main ()
14511{
14512static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14513test_array [0] = 0
14514
14515 ;
14516 return 0;
14517}
14518_ACEOF
14519rm -f conftest.$ac_objext
14520if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14521 (eval $ac_compile) 2>&5
14522 ac_status=$?
14523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14524 (exit $ac_status); } &&
14525 { ac_try='test -s conftest.$ac_objext'
14526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14527 (eval $ac_try) 2>&5
14528 ac_status=$?
14529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14530 (exit $ac_status); }; }; then
14531 ac_hi=-1 ac_mid=-1
14532 while :; do
14533 cat >conftest.$ac_ext <<_ACEOF
14534#line $LINENO "configure"
14535/* confdefs.h. */
14536_ACEOF
14537cat confdefs.h >>conftest.$ac_ext
14538cat >>conftest.$ac_ext <<_ACEOF
14539/* end confdefs.h. */
14540$ac_includes_default
14541int
14542main ()
14543{
14544static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14545test_array [0] = 0
14546
14547 ;
14548 return 0;
14549}
14550_ACEOF
14551rm -f conftest.$ac_objext
14552if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14553 (eval $ac_compile) 2>&5
14554 ac_status=$?
14555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14556 (exit $ac_status); } &&
14557 { ac_try='test -s conftest.$ac_objext'
14558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14559 (eval $ac_try) 2>&5
14560 ac_status=$?
14561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14562 (exit $ac_status); }; }; then
14563 ac_lo=$ac_mid; break
14564else
14565 echo "$as_me: failed program was:" >&5
14566sed 's/^/| /' conftest.$ac_ext >&5
14567
14568ac_hi=`expr '(' $ac_mid ')' - 1`
14569 if test $ac_mid -le $ac_hi; then
14570 ac_lo= ac_hi=
14571 break
14572 fi
14573 ac_mid=`expr 2 '*' $ac_mid`
14574fi
14575rm -f conftest.$ac_objext conftest.$ac_ext
14576 done
14577else
14578 echo "$as_me: failed program was:" >&5
14579sed 's/^/| /' conftest.$ac_ext >&5
14580
14581ac_lo= ac_hi=
14582fi
14583rm -f conftest.$ac_objext conftest.$ac_ext
14584fi
14585rm -f conftest.$ac_objext conftest.$ac_ext
14586# Binary search between lo and hi bounds.
14587while test "x$ac_lo" != "x$ac_hi"; do
14588 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14589 cat >conftest.$ac_ext <<_ACEOF
14590#line $LINENO "configure"
14591/* confdefs.h. */
14592_ACEOF
14593cat confdefs.h >>conftest.$ac_ext
14594cat >>conftest.$ac_ext <<_ACEOF
14595/* end confdefs.h. */
14596$ac_includes_default
14597int
14598main ()
14599{
14600static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14601test_array [0] = 0
14602
14603 ;
14604 return 0;
14605}
14606_ACEOF
14607rm -f conftest.$ac_objext
14608if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14609 (eval $ac_compile) 2>&5
14610 ac_status=$?
14611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14612 (exit $ac_status); } &&
14613 { ac_try='test -s conftest.$ac_objext'
14614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14615 (eval $ac_try) 2>&5
14616 ac_status=$?
14617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14618 (exit $ac_status); }; }; then
14619 ac_hi=$ac_mid
14620else
14621 echo "$as_me: failed program was:" >&5
14622sed 's/^/| /' conftest.$ac_ext >&5
14623
14624ac_lo=`expr '(' $ac_mid ')' + 1`
14625fi
14626rm -f conftest.$ac_objext conftest.$ac_ext
14627done
14628case $ac_lo in
14629?*) ac_cv_sizeof_void_p=$ac_lo;;
14630'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14631See \`config.log' for more details." >&5
14632echo "$as_me: error: cannot compute sizeof (void *), 77
14633See \`config.log' for more details." >&2;}
14634 { (exit 1); exit 1; }; } ;;
14635esac
14636else
14637 if test "$cross_compiling" = yes; then
14638 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14639See \`config.log' for more details." >&5
14640echo "$as_me: error: cannot run test program while cross compiling
14641See \`config.log' for more details." >&2;}
14642 { (exit 1); exit 1; }; }
14643else
14644 cat >conftest.$ac_ext <<_ACEOF
14645#line $LINENO "configure"
14646/* confdefs.h. */
14647_ACEOF
14648cat confdefs.h >>conftest.$ac_ext
14649cat >>conftest.$ac_ext <<_ACEOF
14650/* end confdefs.h. */
14651$ac_includes_default
14652long longval () { return (long) (sizeof (void *)); }
14653unsigned long ulongval () { return (long) (sizeof (void *)); }
14654#include <stdio.h>
14655#include <stdlib.h>
14656int
14657main ()
14658{
14659
14660 FILE *f = fopen ("conftest.val", "w");
14661 if (! f)
14662 exit (1);
14663 if (((long) (sizeof (void *))) < 0)
14664 {
14665 long i = longval ();
14666 if (i != ((long) (sizeof (void *))))
14667 exit (1);
14668 fprintf (f, "%ld\n", i);
14669 }
14670 else
14671 {
14672 unsigned long i = ulongval ();
14673 if (i != ((long) (sizeof (void *))))
14674 exit (1);
14675 fprintf (f, "%lu\n", i);
14676 }
14677 exit (ferror (f) || fclose (f) != 0);
14678
14679 ;
14680 return 0;
14681}
14682_ACEOF
14683rm -f conftest$ac_exeext
14684if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14685 (eval $ac_link) 2>&5
14686 ac_status=$?
14687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14688 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14690 (eval $ac_try) 2>&5
14691 ac_status=$?
14692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14693 (exit $ac_status); }; }; then
14694 ac_cv_sizeof_void_p=`cat conftest.val`
14695else
14696 echo "$as_me: program exited with status $ac_status" >&5
14697echo "$as_me: failed program was:" >&5
14698sed 's/^/| /' conftest.$ac_ext >&5
14699
14700( exit $ac_status )
14701{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14702See \`config.log' for more details." >&5
14703echo "$as_me: error: cannot compute sizeof (void *), 77
14704See \`config.log' for more details." >&2;}
14705 { (exit 1); exit 1; }; }
14706fi
14707rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14708fi
14709fi
14710rm -f conftest.val
14711else
14712 ac_cv_sizeof_void_p=0
14713fi
14714fi
14715echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14716echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14717cat >>confdefs.h <<_ACEOF
14718#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14719_ACEOF
14720
14721
14722echo "$as_me:$LINENO: checking for int" >&5
14723echo $ECHO_N "checking for int... $ECHO_C" >&6
14724if test "${ac_cv_type_int+set}" = set; then
14725 echo $ECHO_N "(cached) $ECHO_C" >&6
14726else
14727 cat >conftest.$ac_ext <<_ACEOF
14728#line $LINENO "configure"
14729/* confdefs.h. */
14730_ACEOF
14731cat confdefs.h >>conftest.$ac_ext
14732cat >>conftest.$ac_ext <<_ACEOF
14733/* end confdefs.h. */
14734$ac_includes_default
14735int
14736main ()
14737{
14738if ((int *) 0)
14739 return 0;
14740if (sizeof (int))
14741 return 0;
14742 ;
14743 return 0;
14744}
14745_ACEOF
14746rm -f conftest.$ac_objext
14747if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14748 (eval $ac_compile) 2>&5
14749 ac_status=$?
14750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14751 (exit $ac_status); } &&
14752 { ac_try='test -s conftest.$ac_objext'
14753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14754 (eval $ac_try) 2>&5
14755 ac_status=$?
14756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14757 (exit $ac_status); }; }; then
14758 ac_cv_type_int=yes
14759else
14760 echo "$as_me: failed program was:" >&5
14761sed 's/^/| /' conftest.$ac_ext >&5
14762
14763ac_cv_type_int=no
14764fi
14765rm -f conftest.$ac_objext conftest.$ac_ext
14766fi
14767echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14768echo "${ECHO_T}$ac_cv_type_int" >&6
14769
14770echo "$as_me:$LINENO: checking size of int" >&5
14771echo $ECHO_N "checking size of int... $ECHO_C" >&6
14772if test "${ac_cv_sizeof_int+set}" = set; then
14773 echo $ECHO_N "(cached) $ECHO_C" >&6
14774else
14775 if test "$ac_cv_type_int" = yes; then
14776 # The cast to unsigned long works around a bug in the HP C Compiler
14777 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14778 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14779 # This bug is HP SR number 8606223364.
14780 if test "$cross_compiling" = yes; then
14781 # Depending upon the size, compute the lo and hi bounds.
14782cat >conftest.$ac_ext <<_ACEOF
14783#line $LINENO "configure"
14784/* confdefs.h. */
14785_ACEOF
14786cat confdefs.h >>conftest.$ac_ext
14787cat >>conftest.$ac_ext <<_ACEOF
14788/* end confdefs.h. */
14789$ac_includes_default
14790int
14791main ()
14792{
14793static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14794test_array [0] = 0
14795
14796 ;
14797 return 0;
14798}
14799_ACEOF
14800rm -f conftest.$ac_objext
14801if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14802 (eval $ac_compile) 2>&5
14803 ac_status=$?
14804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14805 (exit $ac_status); } &&
14806 { ac_try='test -s conftest.$ac_objext'
14807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14808 (eval $ac_try) 2>&5
14809 ac_status=$?
14810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14811 (exit $ac_status); }; }; then
14812 ac_lo=0 ac_mid=0
14813 while :; do
14814 cat >conftest.$ac_ext <<_ACEOF
14815#line $LINENO "configure"
14816/* confdefs.h. */
14817_ACEOF
14818cat confdefs.h >>conftest.$ac_ext
14819cat >>conftest.$ac_ext <<_ACEOF
14820/* end confdefs.h. */
14821$ac_includes_default
14822int
14823main ()
14824{
14825static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14826test_array [0] = 0
14827
14828 ;
14829 return 0;
14830}
14831_ACEOF
14832rm -f conftest.$ac_objext
14833if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14834 (eval $ac_compile) 2>&5
14835 ac_status=$?
14836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14837 (exit $ac_status); } &&
14838 { ac_try='test -s conftest.$ac_objext'
14839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14840 (eval $ac_try) 2>&5
14841 ac_status=$?
14842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14843 (exit $ac_status); }; }; then
14844 ac_hi=$ac_mid; break
14845else
14846 echo "$as_me: failed program was:" >&5
14847sed 's/^/| /' conftest.$ac_ext >&5
14848
14849ac_lo=`expr $ac_mid + 1`
14850 if test $ac_lo -le $ac_mid; then
14851 ac_lo= ac_hi=
14852 break
14853 fi
14854 ac_mid=`expr 2 '*' $ac_mid + 1`
14855fi
14856rm -f conftest.$ac_objext conftest.$ac_ext
14857 done
14858else
14859 echo "$as_me: failed program was:" >&5
14860sed 's/^/| /' conftest.$ac_ext >&5
14861
14862cat >conftest.$ac_ext <<_ACEOF
14863#line $LINENO "configure"
14864/* confdefs.h. */
14865_ACEOF
14866cat confdefs.h >>conftest.$ac_ext
14867cat >>conftest.$ac_ext <<_ACEOF
14868/* end confdefs.h. */
14869$ac_includes_default
14870int
14871main ()
14872{
14873static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14874test_array [0] = 0
14875
14876 ;
14877 return 0;
14878}
14879_ACEOF
14880rm -f conftest.$ac_objext
14881if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14882 (eval $ac_compile) 2>&5
14883 ac_status=$?
14884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14885 (exit $ac_status); } &&
14886 { ac_try='test -s conftest.$ac_objext'
14887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14888 (eval $ac_try) 2>&5
14889 ac_status=$?
14890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14891 (exit $ac_status); }; }; then
14892 ac_hi=-1 ac_mid=-1
14893 while :; do
14894 cat >conftest.$ac_ext <<_ACEOF
14895#line $LINENO "configure"
14896/* confdefs.h. */
14897_ACEOF
14898cat confdefs.h >>conftest.$ac_ext
14899cat >>conftest.$ac_ext <<_ACEOF
14900/* end confdefs.h. */
14901$ac_includes_default
14902int
14903main ()
14904{
14905static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14906test_array [0] = 0
14907
14908 ;
14909 return 0;
14910}
14911_ACEOF
14912rm -f conftest.$ac_objext
14913if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14914 (eval $ac_compile) 2>&5
14915 ac_status=$?
14916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14917 (exit $ac_status); } &&
14918 { ac_try='test -s conftest.$ac_objext'
14919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14920 (eval $ac_try) 2>&5
14921 ac_status=$?
14922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14923 (exit $ac_status); }; }; then
14924 ac_lo=$ac_mid; break
14925else
14926 echo "$as_me: failed program was:" >&5
14927sed 's/^/| /' conftest.$ac_ext >&5
14928
14929ac_hi=`expr '(' $ac_mid ')' - 1`
14930 if test $ac_mid -le $ac_hi; then
14931 ac_lo= ac_hi=
14932 break
14933 fi
14934 ac_mid=`expr 2 '*' $ac_mid`
14935fi
14936rm -f conftest.$ac_objext conftest.$ac_ext
14937 done
14938else
14939 echo "$as_me: failed program was:" >&5
14940sed 's/^/| /' conftest.$ac_ext >&5
14941
14942ac_lo= ac_hi=
14943fi
14944rm -f conftest.$ac_objext conftest.$ac_ext
14945fi
14946rm -f conftest.$ac_objext conftest.$ac_ext
14947# Binary search between lo and hi bounds.
14948while test "x$ac_lo" != "x$ac_hi"; do
14949 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14950 cat >conftest.$ac_ext <<_ACEOF
14951#line $LINENO "configure"
14952/* confdefs.h. */
14953_ACEOF
14954cat confdefs.h >>conftest.$ac_ext
14955cat >>conftest.$ac_ext <<_ACEOF
14956/* end confdefs.h. */
14957$ac_includes_default
14958int
14959main ()
14960{
14961static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14962test_array [0] = 0
14963
14964 ;
14965 return 0;
14966}
14967_ACEOF
14968rm -f conftest.$ac_objext
14969if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14970 (eval $ac_compile) 2>&5
14971 ac_status=$?
14972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14973 (exit $ac_status); } &&
14974 { ac_try='test -s conftest.$ac_objext'
14975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14976 (eval $ac_try) 2>&5
14977 ac_status=$?
14978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14979 (exit $ac_status); }; }; then
14980 ac_hi=$ac_mid
14981else
14982 echo "$as_me: failed program was:" >&5
14983sed 's/^/| /' conftest.$ac_ext >&5
14984
14985ac_lo=`expr '(' $ac_mid ')' + 1`
14986fi
14987rm -f conftest.$ac_objext conftest.$ac_ext
14988done
14989case $ac_lo in
14990?*) ac_cv_sizeof_int=$ac_lo;;
14991'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14992See \`config.log' for more details." >&5
14993echo "$as_me: error: cannot compute sizeof (int), 77
14994See \`config.log' for more details." >&2;}
14995 { (exit 1); exit 1; }; } ;;
14996esac
14997else
14998 if test "$cross_compiling" = yes; then
14999 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15000See \`config.log' for more details." >&5
15001echo "$as_me: error: cannot run test program while cross compiling
15002See \`config.log' for more details." >&2;}
15003 { (exit 1); exit 1; }; }
15004else
15005 cat >conftest.$ac_ext <<_ACEOF
15006#line $LINENO "configure"
15007/* confdefs.h. */
15008_ACEOF
15009cat confdefs.h >>conftest.$ac_ext
15010cat >>conftest.$ac_ext <<_ACEOF
15011/* end confdefs.h. */
15012$ac_includes_default
15013long longval () { return (long) (sizeof (int)); }
15014unsigned long ulongval () { return (long) (sizeof (int)); }
15015#include <stdio.h>
15016#include <stdlib.h>
15017int
15018main ()
15019{
15020
15021 FILE *f = fopen ("conftest.val", "w");
15022 if (! f)
15023 exit (1);
15024 if (((long) (sizeof (int))) < 0)
15025 {
15026 long i = longval ();
15027 if (i != ((long) (sizeof (int))))
15028 exit (1);
15029 fprintf (f, "%ld\n", i);
15030 }
15031 else
15032 {
15033 unsigned long i = ulongval ();
15034 if (i != ((long) (sizeof (int))))
15035 exit (1);
15036 fprintf (f, "%lu\n", i);
15037 }
15038 exit (ferror (f) || fclose (f) != 0);
15039
15040 ;
15041 return 0;
15042}
15043_ACEOF
15044rm -f conftest$ac_exeext
15045if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15046 (eval $ac_link) 2>&5
15047 ac_status=$?
15048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15049 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15051 (eval $ac_try) 2>&5
15052 ac_status=$?
15053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15054 (exit $ac_status); }; }; then
15055 ac_cv_sizeof_int=`cat conftest.val`
15056else
15057 echo "$as_me: program exited with status $ac_status" >&5
15058echo "$as_me: failed program was:" >&5
15059sed 's/^/| /' conftest.$ac_ext >&5
15060
15061( exit $ac_status )
15062{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15063See \`config.log' for more details." >&5
15064echo "$as_me: error: cannot compute sizeof (int), 77
15065See \`config.log' for more details." >&2;}
15066 { (exit 1); exit 1; }; }
15067fi
15068rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15069fi
15070fi
15071rm -f conftest.val
15072else
15073 ac_cv_sizeof_int=0
15074fi
15075fi
15076echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15077echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15078cat >>confdefs.h <<_ACEOF
15079#define SIZEOF_INT $ac_cv_sizeof_int
15080_ACEOF
15081
15082
15083echo "$as_me:$LINENO: checking for long" >&5
15084echo $ECHO_N "checking for long... $ECHO_C" >&6
15085if test "${ac_cv_type_long+set}" = set; then
15086 echo $ECHO_N "(cached) $ECHO_C" >&6
15087else
15088 cat >conftest.$ac_ext <<_ACEOF
15089#line $LINENO "configure"
15090/* confdefs.h. */
15091_ACEOF
15092cat confdefs.h >>conftest.$ac_ext
15093cat >>conftest.$ac_ext <<_ACEOF
15094/* end confdefs.h. */
15095$ac_includes_default
15096int
15097main ()
15098{
15099if ((long *) 0)
15100 return 0;
15101if (sizeof (long))
15102 return 0;
15103 ;
15104 return 0;
15105}
15106_ACEOF
15107rm -f conftest.$ac_objext
15108if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15109 (eval $ac_compile) 2>&5
15110 ac_status=$?
15111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15112 (exit $ac_status); } &&
15113 { ac_try='test -s conftest.$ac_objext'
15114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15115 (eval $ac_try) 2>&5
15116 ac_status=$?
15117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15118 (exit $ac_status); }; }; then
15119 ac_cv_type_long=yes
15120else
15121 echo "$as_me: failed program was:" >&5
15122sed 's/^/| /' conftest.$ac_ext >&5
15123
15124ac_cv_type_long=no
15125fi
15126rm -f conftest.$ac_objext conftest.$ac_ext
15127fi
15128echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15129echo "${ECHO_T}$ac_cv_type_long" >&6
15130
15131echo "$as_me:$LINENO: checking size of long" >&5
15132echo $ECHO_N "checking size of long... $ECHO_C" >&6
15133if test "${ac_cv_sizeof_long+set}" = set; then
15134 echo $ECHO_N "(cached) $ECHO_C" >&6
15135else
15136 if test "$ac_cv_type_long" = yes; then
15137 # The cast to unsigned long works around a bug in the HP C Compiler
15138 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15139 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15140 # This bug is HP SR number 8606223364.
15141 if test "$cross_compiling" = yes; then
15142 # Depending upon the size, compute the lo and hi bounds.
15143cat >conftest.$ac_ext <<_ACEOF
15144#line $LINENO "configure"
15145/* confdefs.h. */
15146_ACEOF
15147cat confdefs.h >>conftest.$ac_ext
15148cat >>conftest.$ac_ext <<_ACEOF
15149/* end confdefs.h. */
15150$ac_includes_default
15151int
15152main ()
15153{
15154static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15155test_array [0] = 0
15156
15157 ;
15158 return 0;
15159}
15160_ACEOF
15161rm -f conftest.$ac_objext
15162if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15163 (eval $ac_compile) 2>&5
15164 ac_status=$?
15165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15166 (exit $ac_status); } &&
15167 { ac_try='test -s conftest.$ac_objext'
15168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15169 (eval $ac_try) 2>&5
15170 ac_status=$?
15171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172 (exit $ac_status); }; }; then
15173 ac_lo=0 ac_mid=0
15174 while :; do
15175 cat >conftest.$ac_ext <<_ACEOF
15176#line $LINENO "configure"
15177/* confdefs.h. */
15178_ACEOF
15179cat confdefs.h >>conftest.$ac_ext
15180cat >>conftest.$ac_ext <<_ACEOF
15181/* end confdefs.h. */
15182$ac_includes_default
15183int
15184main ()
15185{
15186static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15187test_array [0] = 0
15188
15189 ;
15190 return 0;
15191}
15192_ACEOF
15193rm -f conftest.$ac_objext
15194if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15195 (eval $ac_compile) 2>&5
15196 ac_status=$?
15197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15198 (exit $ac_status); } &&
15199 { ac_try='test -s conftest.$ac_objext'
15200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15201 (eval $ac_try) 2>&5
15202 ac_status=$?
15203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15204 (exit $ac_status); }; }; then
15205 ac_hi=$ac_mid; break
15206else
15207 echo "$as_me: failed program was:" >&5
15208sed 's/^/| /' conftest.$ac_ext >&5
15209
15210ac_lo=`expr $ac_mid + 1`
15211 if test $ac_lo -le $ac_mid; then
15212 ac_lo= ac_hi=
15213 break
15214 fi
15215 ac_mid=`expr 2 '*' $ac_mid + 1`
15216fi
15217rm -f conftest.$ac_objext conftest.$ac_ext
15218 done
15219else
15220 echo "$as_me: failed program was:" >&5
15221sed 's/^/| /' conftest.$ac_ext >&5
15222
15223cat >conftest.$ac_ext <<_ACEOF
15224#line $LINENO "configure"
15225/* confdefs.h. */
15226_ACEOF
15227cat confdefs.h >>conftest.$ac_ext
15228cat >>conftest.$ac_ext <<_ACEOF
15229/* end confdefs.h. */
15230$ac_includes_default
15231int
15232main ()
15233{
15234static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15235test_array [0] = 0
15236
15237 ;
15238 return 0;
15239}
15240_ACEOF
15241rm -f conftest.$ac_objext
15242if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15243 (eval $ac_compile) 2>&5
15244 ac_status=$?
15245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15246 (exit $ac_status); } &&
15247 { ac_try='test -s conftest.$ac_objext'
15248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15249 (eval $ac_try) 2>&5
15250 ac_status=$?
15251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15252 (exit $ac_status); }; }; then
15253 ac_hi=-1 ac_mid=-1
15254 while :; do
15255 cat >conftest.$ac_ext <<_ACEOF
15256#line $LINENO "configure"
15257/* confdefs.h. */
15258_ACEOF
15259cat confdefs.h >>conftest.$ac_ext
15260cat >>conftest.$ac_ext <<_ACEOF
15261/* end confdefs.h. */
15262$ac_includes_default
15263int
15264main ()
15265{
15266static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15267test_array [0] = 0
15268
15269 ;
15270 return 0;
15271}
15272_ACEOF
15273rm -f conftest.$ac_objext
15274if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15275 (eval $ac_compile) 2>&5
15276 ac_status=$?
15277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15278 (exit $ac_status); } &&
15279 { ac_try='test -s conftest.$ac_objext'
15280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15281 (eval $ac_try) 2>&5
15282 ac_status=$?
15283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15284 (exit $ac_status); }; }; then
15285 ac_lo=$ac_mid; break
15286else
15287 echo "$as_me: failed program was:" >&5
15288sed 's/^/| /' conftest.$ac_ext >&5
15289
15290ac_hi=`expr '(' $ac_mid ')' - 1`
15291 if test $ac_mid -le $ac_hi; then
15292 ac_lo= ac_hi=
15293 break
15294 fi
15295 ac_mid=`expr 2 '*' $ac_mid`
15296fi
15297rm -f conftest.$ac_objext conftest.$ac_ext
15298 done
15299else
15300 echo "$as_me: failed program was:" >&5
15301sed 's/^/| /' conftest.$ac_ext >&5
15302
15303ac_lo= ac_hi=
15304fi
15305rm -f conftest.$ac_objext conftest.$ac_ext
15306fi
15307rm -f conftest.$ac_objext conftest.$ac_ext
15308# Binary search between lo and hi bounds.
15309while test "x$ac_lo" != "x$ac_hi"; do
15310 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15311 cat >conftest.$ac_ext <<_ACEOF
15312#line $LINENO "configure"
15313/* confdefs.h. */
15314_ACEOF
15315cat confdefs.h >>conftest.$ac_ext
15316cat >>conftest.$ac_ext <<_ACEOF
15317/* end confdefs.h. */
15318$ac_includes_default
15319int
15320main ()
15321{
15322static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15323test_array [0] = 0
15324
15325 ;
15326 return 0;
15327}
15328_ACEOF
15329rm -f conftest.$ac_objext
15330if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15331 (eval $ac_compile) 2>&5
15332 ac_status=$?
15333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15334 (exit $ac_status); } &&
15335 { ac_try='test -s conftest.$ac_objext'
15336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15337 (eval $ac_try) 2>&5
15338 ac_status=$?
15339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15340 (exit $ac_status); }; }; then
15341 ac_hi=$ac_mid
15342else
15343 echo "$as_me: failed program was:" >&5
15344sed 's/^/| /' conftest.$ac_ext >&5
15345
15346ac_lo=`expr '(' $ac_mid ')' + 1`
15347fi
15348rm -f conftest.$ac_objext conftest.$ac_ext
15349done
15350case $ac_lo in
15351?*) ac_cv_sizeof_long=$ac_lo;;
15352'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15353See \`config.log' for more details." >&5
15354echo "$as_me: error: cannot compute sizeof (long), 77
15355See \`config.log' for more details." >&2;}
15356 { (exit 1); exit 1; }; } ;;
15357esac
15358else
15359 if test "$cross_compiling" = yes; then
15360 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15361See \`config.log' for more details." >&5
15362echo "$as_me: error: cannot run test program while cross compiling
15363See \`config.log' for more details." >&2;}
15364 { (exit 1); exit 1; }; }
15365else
15366 cat >conftest.$ac_ext <<_ACEOF
15367#line $LINENO "configure"
15368/* confdefs.h. */
15369_ACEOF
15370cat confdefs.h >>conftest.$ac_ext
15371cat >>conftest.$ac_ext <<_ACEOF
15372/* end confdefs.h. */
15373$ac_includes_default
15374long longval () { return (long) (sizeof (long)); }
15375unsigned long ulongval () { return (long) (sizeof (long)); }
15376#include <stdio.h>
15377#include <stdlib.h>
15378int
15379main ()
15380{
15381
15382 FILE *f = fopen ("conftest.val", "w");
15383 if (! f)
15384 exit (1);
15385 if (((long) (sizeof (long))) < 0)
15386 {
15387 long i = longval ();
15388 if (i != ((long) (sizeof (long))))
15389 exit (1);
15390 fprintf (f, "%ld\n", i);
15391 }
15392 else
15393 {
15394 unsigned long i = ulongval ();
15395 if (i != ((long) (sizeof (long))))
15396 exit (1);
15397 fprintf (f, "%lu\n", i);
15398 }
15399 exit (ferror (f) || fclose (f) != 0);
15400
15401 ;
15402 return 0;
15403}
15404_ACEOF
15405rm -f conftest$ac_exeext
15406if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15407 (eval $ac_link) 2>&5
15408 ac_status=$?
15409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15410 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15412 (eval $ac_try) 2>&5
15413 ac_status=$?
15414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15415 (exit $ac_status); }; }; then
15416 ac_cv_sizeof_long=`cat conftest.val`
15417else
15418 echo "$as_me: program exited with status $ac_status" >&5
15419echo "$as_me: failed program was:" >&5
15420sed 's/^/| /' conftest.$ac_ext >&5
15421
15422( exit $ac_status )
15423{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15424See \`config.log' for more details." >&5
15425echo "$as_me: error: cannot compute sizeof (long), 77
15426See \`config.log' for more details." >&2;}
15427 { (exit 1); exit 1; }; }
15428fi
15429rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15430fi
15431fi
15432rm -f conftest.val
15433else
15434 ac_cv_sizeof_long=0
15435fi
15436fi
15437echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15438echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15439cat >>confdefs.h <<_ACEOF
15440#define SIZEOF_LONG $ac_cv_sizeof_long
15441_ACEOF
15442
15443
15444
15445case "${host}" in
15446 arm-*-linux* )
15447 echo "$as_me:$LINENO: checking for long long" >&5
15448echo $ECHO_N "checking for long long... $ECHO_C" >&6
15449if test "${ac_cv_type_long_long+set}" = set; then
15450 echo $ECHO_N "(cached) $ECHO_C" >&6
15451else
15452 cat >conftest.$ac_ext <<_ACEOF
15453#line $LINENO "configure"
15454/* confdefs.h. */
15455_ACEOF
15456cat confdefs.h >>conftest.$ac_ext
15457cat >>conftest.$ac_ext <<_ACEOF
15458/* end confdefs.h. */
15459$ac_includes_default
15460int
15461main ()
15462{
15463if ((long long *) 0)
15464 return 0;
15465if (sizeof (long long))
15466 return 0;
15467 ;
15468 return 0;
15469}
15470_ACEOF
15471rm -f conftest.$ac_objext
15472if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15473 (eval $ac_compile) 2>&5
15474 ac_status=$?
15475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15476 (exit $ac_status); } &&
15477 { ac_try='test -s conftest.$ac_objext'
15478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15479 (eval $ac_try) 2>&5
15480 ac_status=$?
15481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15482 (exit $ac_status); }; }; then
15483 ac_cv_type_long_long=yes
15484else
15485 echo "$as_me: failed program was:" >&5
15486sed 's/^/| /' conftest.$ac_ext >&5
15487
15488ac_cv_type_long_long=no
15489fi
15490rm -f conftest.$ac_objext conftest.$ac_ext
15491fi
15492echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15493echo "${ECHO_T}$ac_cv_type_long_long" >&6
15494
15495echo "$as_me:$LINENO: checking size of long long" >&5
15496echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15497if test "${ac_cv_sizeof_long_long+set}" = set; then
15498 echo $ECHO_N "(cached) $ECHO_C" >&6
15499else
15500 if test "$ac_cv_type_long_long" = yes; then
15501 # The cast to unsigned long works around a bug in the HP C Compiler
15502 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15503 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15504 # This bug is HP SR number 8606223364.
15505 if test "$cross_compiling" = yes; then
15506 # Depending upon the size, compute the lo and hi bounds.
15507cat >conftest.$ac_ext <<_ACEOF
15508#line $LINENO "configure"
15509/* confdefs.h. */
15510_ACEOF
15511cat confdefs.h >>conftest.$ac_ext
15512cat >>conftest.$ac_ext <<_ACEOF
15513/* end confdefs.h. */
15514$ac_includes_default
15515int
15516main ()
15517{
15518static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15519test_array [0] = 0
15520
15521 ;
15522 return 0;
15523}
15524_ACEOF
15525rm -f conftest.$ac_objext
15526if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15527 (eval $ac_compile) 2>&5
15528 ac_status=$?
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); } &&
15531 { ac_try='test -s conftest.$ac_objext'
15532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15533 (eval $ac_try) 2>&5
15534 ac_status=$?
15535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15536 (exit $ac_status); }; }; then
15537 ac_lo=0 ac_mid=0
15538 while :; do
15539 cat >conftest.$ac_ext <<_ACEOF
15540#line $LINENO "configure"
15541/* confdefs.h. */
15542_ACEOF
15543cat confdefs.h >>conftest.$ac_ext
15544cat >>conftest.$ac_ext <<_ACEOF
15545/* end confdefs.h. */
15546$ac_includes_default
15547int
15548main ()
15549{
15550static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15551test_array [0] = 0
15552
15553 ;
15554 return 0;
15555}
15556_ACEOF
15557rm -f conftest.$ac_objext
15558if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15559 (eval $ac_compile) 2>&5
15560 ac_status=$?
15561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15562 (exit $ac_status); } &&
15563 { ac_try='test -s conftest.$ac_objext'
15564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15565 (eval $ac_try) 2>&5
15566 ac_status=$?
15567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15568 (exit $ac_status); }; }; then
15569 ac_hi=$ac_mid; break
15570else
15571 echo "$as_me: failed program was:" >&5
15572sed 's/^/| /' conftest.$ac_ext >&5
15573
15574ac_lo=`expr $ac_mid + 1`
15575 if test $ac_lo -le $ac_mid; then
15576 ac_lo= ac_hi=
15577 break
15578 fi
15579 ac_mid=`expr 2 '*' $ac_mid + 1`
15580fi
15581rm -f conftest.$ac_objext conftest.$ac_ext
15582 done
15583else
15584 echo "$as_me: failed program was:" >&5
15585sed 's/^/| /' conftest.$ac_ext >&5
15586
15587cat >conftest.$ac_ext <<_ACEOF
15588#line $LINENO "configure"
15589/* confdefs.h. */
15590_ACEOF
15591cat confdefs.h >>conftest.$ac_ext
15592cat >>conftest.$ac_ext <<_ACEOF
15593/* end confdefs.h. */
15594$ac_includes_default
15595int
15596main ()
15597{
15598static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15599test_array [0] = 0
15600
15601 ;
15602 return 0;
15603}
15604_ACEOF
15605rm -f conftest.$ac_objext
15606if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15607 (eval $ac_compile) 2>&5
15608 ac_status=$?
15609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15610 (exit $ac_status); } &&
15611 { ac_try='test -s conftest.$ac_objext'
15612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15613 (eval $ac_try) 2>&5
15614 ac_status=$?
15615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15616 (exit $ac_status); }; }; then
15617 ac_hi=-1 ac_mid=-1
15618 while :; do
15619 cat >conftest.$ac_ext <<_ACEOF
15620#line $LINENO "configure"
15621/* confdefs.h. */
15622_ACEOF
15623cat confdefs.h >>conftest.$ac_ext
15624cat >>conftest.$ac_ext <<_ACEOF
15625/* end confdefs.h. */
15626$ac_includes_default
15627int
15628main ()
15629{
15630static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15631test_array [0] = 0
15632
15633 ;
15634 return 0;
15635}
15636_ACEOF
15637rm -f conftest.$ac_objext
15638if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15639 (eval $ac_compile) 2>&5
15640 ac_status=$?
15641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15642 (exit $ac_status); } &&
15643 { ac_try='test -s conftest.$ac_objext'
15644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15645 (eval $ac_try) 2>&5
15646 ac_status=$?
15647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15648 (exit $ac_status); }; }; then
15649 ac_lo=$ac_mid; break
15650else
15651 echo "$as_me: failed program was:" >&5
15652sed 's/^/| /' conftest.$ac_ext >&5
15653
15654ac_hi=`expr '(' $ac_mid ')' - 1`
15655 if test $ac_mid -le $ac_hi; then
15656 ac_lo= ac_hi=
15657 break
15658 fi
15659 ac_mid=`expr 2 '*' $ac_mid`
15660fi
15661rm -f conftest.$ac_objext conftest.$ac_ext
15662 done
15663else
15664 echo "$as_me: failed program was:" >&5
15665sed 's/^/| /' conftest.$ac_ext >&5
15666
15667ac_lo= ac_hi=
15668fi
15669rm -f conftest.$ac_objext conftest.$ac_ext
15670fi
15671rm -f conftest.$ac_objext conftest.$ac_ext
15672# Binary search between lo and hi bounds.
15673while test "x$ac_lo" != "x$ac_hi"; do
15674 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15675 cat >conftest.$ac_ext <<_ACEOF
15676#line $LINENO "configure"
15677/* confdefs.h. */
15678_ACEOF
15679cat confdefs.h >>conftest.$ac_ext
15680cat >>conftest.$ac_ext <<_ACEOF
15681/* end confdefs.h. */
15682$ac_includes_default
15683int
15684main ()
15685{
15686static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15687test_array [0] = 0
15688
15689 ;
15690 return 0;
15691}
15692_ACEOF
15693rm -f conftest.$ac_objext
15694if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15695 (eval $ac_compile) 2>&5
15696 ac_status=$?
15697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15698 (exit $ac_status); } &&
15699 { ac_try='test -s conftest.$ac_objext'
15700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15701 (eval $ac_try) 2>&5
15702 ac_status=$?
15703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15704 (exit $ac_status); }; }; then
15705 ac_hi=$ac_mid
15706else
15707 echo "$as_me: failed program was:" >&5
15708sed 's/^/| /' conftest.$ac_ext >&5
15709
15710ac_lo=`expr '(' $ac_mid ')' + 1`
15711fi
15712rm -f conftest.$ac_objext conftest.$ac_ext
15713done
15714case $ac_lo in
15715?*) ac_cv_sizeof_long_long=$ac_lo;;
15716'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15717See \`config.log' for more details." >&5
15718echo "$as_me: error: cannot compute sizeof (long long), 77
15719See \`config.log' for more details." >&2;}
15720 { (exit 1); exit 1; }; } ;;
15721esac
15722else
15723 if test "$cross_compiling" = yes; then
15724 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15725See \`config.log' for more details." >&5
15726echo "$as_me: error: cannot run test program while cross compiling
15727See \`config.log' for more details." >&2;}
15728 { (exit 1); exit 1; }; }
15729else
15730 cat >conftest.$ac_ext <<_ACEOF
15731#line $LINENO "configure"
15732/* confdefs.h. */
15733_ACEOF
15734cat confdefs.h >>conftest.$ac_ext
15735cat >>conftest.$ac_ext <<_ACEOF
15736/* end confdefs.h. */
15737$ac_includes_default
15738long longval () { return (long) (sizeof (long long)); }
15739unsigned long ulongval () { return (long) (sizeof (long long)); }
15740#include <stdio.h>
15741#include <stdlib.h>
15742int
15743main ()
15744{
15745
15746 FILE *f = fopen ("conftest.val", "w");
15747 if (! f)
15748 exit (1);
15749 if (((long) (sizeof (long long))) < 0)
15750 {
15751 long i = longval ();
15752 if (i != ((long) (sizeof (long long))))
15753 exit (1);
15754 fprintf (f, "%ld\n", i);
15755 }
15756 else
15757 {
15758 unsigned long i = ulongval ();
15759 if (i != ((long) (sizeof (long long))))
15760 exit (1);
15761 fprintf (f, "%lu\n", i);
15762 }
15763 exit (ferror (f) || fclose (f) != 0);
15764
15765 ;
15766 return 0;
15767}
15768_ACEOF
15769rm -f conftest$ac_exeext
15770if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15771 (eval $ac_link) 2>&5
15772 ac_status=$?
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15776 (eval $ac_try) 2>&5
15777 ac_status=$?
15778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15779 (exit $ac_status); }; }; then
15780 ac_cv_sizeof_long_long=`cat conftest.val`
15781else
15782 echo "$as_me: program exited with status $ac_status" >&5
15783echo "$as_me: failed program was:" >&5
15784sed 's/^/| /' conftest.$ac_ext >&5
15785
15786( exit $ac_status )
15787{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15788See \`config.log' for more details." >&5
15789echo "$as_me: error: cannot compute sizeof (long long), 77
15790See \`config.log' for more details." >&2;}
15791 { (exit 1); exit 1; }; }
15792fi
15793rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15794fi
15795fi
15796rm -f conftest.val
15797else
15798 ac_cv_sizeof_long_long=0
15799fi
15800fi
15801echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15802echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15803cat >>confdefs.h <<_ACEOF
15804#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15805_ACEOF
15806
15807
15808 ;;
15809 *-hp-hpux* )
15810 echo "$as_me:$LINENO: checking for long long" >&5
15811echo $ECHO_N "checking for long long... $ECHO_C" >&6
15812if test "${ac_cv_type_long_long+set}" = set; then
15813 echo $ECHO_N "(cached) $ECHO_C" >&6
15814else
15815 cat >conftest.$ac_ext <<_ACEOF
15816#line $LINENO "configure"
15817/* confdefs.h. */
15818_ACEOF
15819cat confdefs.h >>conftest.$ac_ext
15820cat >>conftest.$ac_ext <<_ACEOF
15821/* end confdefs.h. */
15822$ac_includes_default
15823int
15824main ()
15825{
15826if ((long long *) 0)
15827 return 0;
15828if (sizeof (long long))
15829 return 0;
15830 ;
15831 return 0;
15832}
15833_ACEOF
15834rm -f conftest.$ac_objext
15835if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15836 (eval $ac_compile) 2>&5
15837 ac_status=$?
15838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15839 (exit $ac_status); } &&
15840 { ac_try='test -s conftest.$ac_objext'
15841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15842 (eval $ac_try) 2>&5
15843 ac_status=$?
15844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845 (exit $ac_status); }; }; then
15846 ac_cv_type_long_long=yes
15847else
15848 echo "$as_me: failed program was:" >&5
15849sed 's/^/| /' conftest.$ac_ext >&5
15850
15851ac_cv_type_long_long=no
15852fi
15853rm -f conftest.$ac_objext conftest.$ac_ext
15854fi
15855echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15856echo "${ECHO_T}$ac_cv_type_long_long" >&6
15857
15858echo "$as_me:$LINENO: checking size of long long" >&5
15859echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15860if test "${ac_cv_sizeof_long_long+set}" = set; then
15861 echo $ECHO_N "(cached) $ECHO_C" >&6
15862else
15863 if test "$ac_cv_type_long_long" = yes; then
15864 # The cast to unsigned long works around a bug in the HP C Compiler
15865 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15866 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15867 # This bug is HP SR number 8606223364.
15868 if test "$cross_compiling" = yes; then
15869 # Depending upon the size, compute the lo and hi bounds.
15870cat >conftest.$ac_ext <<_ACEOF
15871#line $LINENO "configure"
15872/* confdefs.h. */
15873_ACEOF
15874cat confdefs.h >>conftest.$ac_ext
15875cat >>conftest.$ac_ext <<_ACEOF
15876/* end confdefs.h. */
15877$ac_includes_default
15878int
15879main ()
15880{
15881static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15882test_array [0] = 0
15883
15884 ;
15885 return 0;
15886}
15887_ACEOF
15888rm -f conftest.$ac_objext
15889if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15890 (eval $ac_compile) 2>&5
15891 ac_status=$?
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); } &&
15894 { ac_try='test -s conftest.$ac_objext'
15895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15896 (eval $ac_try) 2>&5
15897 ac_status=$?
15898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15899 (exit $ac_status); }; }; then
15900 ac_lo=0 ac_mid=0
15901 while :; do
15902 cat >conftest.$ac_ext <<_ACEOF
15903#line $LINENO "configure"
15904/* confdefs.h. */
15905_ACEOF
15906cat confdefs.h >>conftest.$ac_ext
15907cat >>conftest.$ac_ext <<_ACEOF
15908/* end confdefs.h. */
15909$ac_includes_default
15910int
15911main ()
15912{
15913static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15914test_array [0] = 0
15915
15916 ;
15917 return 0;
15918}
15919_ACEOF
15920rm -f conftest.$ac_objext
15921if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15922 (eval $ac_compile) 2>&5
15923 ac_status=$?
15924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15925 (exit $ac_status); } &&
15926 { ac_try='test -s conftest.$ac_objext'
15927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15928 (eval $ac_try) 2>&5
15929 ac_status=$?
15930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15931 (exit $ac_status); }; }; then
15932 ac_hi=$ac_mid; break
15933else
15934 echo "$as_me: failed program was:" >&5
15935sed 's/^/| /' conftest.$ac_ext >&5
15936
15937ac_lo=`expr $ac_mid + 1`
15938 if test $ac_lo -le $ac_mid; then
15939 ac_lo= ac_hi=
15940 break
15941 fi
15942 ac_mid=`expr 2 '*' $ac_mid + 1`
15943fi
15944rm -f conftest.$ac_objext conftest.$ac_ext
15945 done
15946else
15947 echo "$as_me: failed program was:" >&5
15948sed 's/^/| /' conftest.$ac_ext >&5
15949
15950cat >conftest.$ac_ext <<_ACEOF
15951#line $LINENO "configure"
15952/* confdefs.h. */
15953_ACEOF
15954cat confdefs.h >>conftest.$ac_ext
15955cat >>conftest.$ac_ext <<_ACEOF
15956/* end confdefs.h. */
15957$ac_includes_default
15958int
15959main ()
15960{
15961static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15962test_array [0] = 0
15963
15964 ;
15965 return 0;
15966}
15967_ACEOF
15968rm -f conftest.$ac_objext
15969if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15970 (eval $ac_compile) 2>&5
15971 ac_status=$?
15972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973 (exit $ac_status); } &&
15974 { ac_try='test -s conftest.$ac_objext'
15975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15976 (eval $ac_try) 2>&5
15977 ac_status=$?
15978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15979 (exit $ac_status); }; }; then
15980 ac_hi=-1 ac_mid=-1
15981 while :; do
15982 cat >conftest.$ac_ext <<_ACEOF
15983#line $LINENO "configure"
15984/* confdefs.h. */
15985_ACEOF
15986cat confdefs.h >>conftest.$ac_ext
15987cat >>conftest.$ac_ext <<_ACEOF
15988/* end confdefs.h. */
15989$ac_includes_default
15990int
15991main ()
15992{
15993static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15994test_array [0] = 0
15995
15996 ;
15997 return 0;
15998}
15999_ACEOF
16000rm -f conftest.$ac_objext
16001if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16002 (eval $ac_compile) 2>&5
16003 ac_status=$?
16004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16005 (exit $ac_status); } &&
16006 { ac_try='test -s conftest.$ac_objext'
16007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16008 (eval $ac_try) 2>&5
16009 ac_status=$?
16010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16011 (exit $ac_status); }; }; then
16012 ac_lo=$ac_mid; break
16013else
16014 echo "$as_me: failed program was:" >&5
16015sed 's/^/| /' conftest.$ac_ext >&5
16016
16017ac_hi=`expr '(' $ac_mid ')' - 1`
16018 if test $ac_mid -le $ac_hi; then
16019 ac_lo= ac_hi=
16020 break
16021 fi
16022 ac_mid=`expr 2 '*' $ac_mid`
16023fi
16024rm -f conftest.$ac_objext conftest.$ac_ext
16025 done
16026else
16027 echo "$as_me: failed program was:" >&5
16028sed 's/^/| /' conftest.$ac_ext >&5
16029
16030ac_lo= ac_hi=
16031fi
16032rm -f conftest.$ac_objext conftest.$ac_ext
16033fi
16034rm -f conftest.$ac_objext conftest.$ac_ext
16035# Binary search between lo and hi bounds.
16036while test "x$ac_lo" != "x$ac_hi"; do
16037 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16038 cat >conftest.$ac_ext <<_ACEOF
16039#line $LINENO "configure"
16040/* confdefs.h. */
16041_ACEOF
16042cat confdefs.h >>conftest.$ac_ext
16043cat >>conftest.$ac_ext <<_ACEOF
16044/* end confdefs.h. */
16045$ac_includes_default
16046int
16047main ()
16048{
16049static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16050test_array [0] = 0
16051
16052 ;
16053 return 0;
16054}
16055_ACEOF
16056rm -f conftest.$ac_objext
16057if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16058 (eval $ac_compile) 2>&5
16059 ac_status=$?
16060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16061 (exit $ac_status); } &&
16062 { ac_try='test -s conftest.$ac_objext'
16063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16064 (eval $ac_try) 2>&5
16065 ac_status=$?
16066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16067 (exit $ac_status); }; }; then
16068 ac_hi=$ac_mid
16069else
16070 echo "$as_me: failed program was:" >&5
16071sed 's/^/| /' conftest.$ac_ext >&5
16072
16073ac_lo=`expr '(' $ac_mid ')' + 1`
16074fi
16075rm -f conftest.$ac_objext conftest.$ac_ext
16076done
16077case $ac_lo in
16078?*) ac_cv_sizeof_long_long=$ac_lo;;
16079'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16080See \`config.log' for more details." >&5
16081echo "$as_me: error: cannot compute sizeof (long long), 77
16082See \`config.log' for more details." >&2;}
16083 { (exit 1); exit 1; }; } ;;
16084esac
16085else
16086 if test "$cross_compiling" = yes; then
16087 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16088See \`config.log' for more details." >&5
16089echo "$as_me: error: cannot run test program while cross compiling
16090See \`config.log' for more details." >&2;}
16091 { (exit 1); exit 1; }; }
16092else
16093 cat >conftest.$ac_ext <<_ACEOF
16094#line $LINENO "configure"
16095/* confdefs.h. */
16096_ACEOF
16097cat confdefs.h >>conftest.$ac_ext
16098cat >>conftest.$ac_ext <<_ACEOF
16099/* end confdefs.h. */
16100$ac_includes_default
16101long longval () { return (long) (sizeof (long long)); }
16102unsigned long ulongval () { return (long) (sizeof (long long)); }
16103#include <stdio.h>
16104#include <stdlib.h>
16105int
16106main ()
16107{
16108
16109 FILE *f = fopen ("conftest.val", "w");
16110 if (! f)
16111 exit (1);
16112 if (((long) (sizeof (long long))) < 0)
16113 {
16114 long i = longval ();
16115 if (i != ((long) (sizeof (long long))))
16116 exit (1);
16117 fprintf (f, "%ld\n", i);
16118 }
16119 else
16120 {
16121 unsigned long i = ulongval ();
16122 if (i != ((long) (sizeof (long long))))
16123 exit (1);
16124 fprintf (f, "%lu\n", i);
16125 }
16126 exit (ferror (f) || fclose (f) != 0);
16127
16128 ;
16129 return 0;
16130}
16131_ACEOF
16132rm -f conftest$ac_exeext
16133if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16134 (eval $ac_link) 2>&5
16135 ac_status=$?
16136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16139 (eval $ac_try) 2>&5
16140 ac_status=$?
16141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16142 (exit $ac_status); }; }; then
16143 ac_cv_sizeof_long_long=`cat conftest.val`
16144else
16145 echo "$as_me: program exited with status $ac_status" >&5
16146echo "$as_me: failed program was:" >&5
16147sed 's/^/| /' conftest.$ac_ext >&5
16148
16149( exit $ac_status )
16150{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16151See \`config.log' for more details." >&5
16152echo "$as_me: error: cannot compute sizeof (long long), 77
16153See \`config.log' for more details." >&2;}
16154 { (exit 1); exit 1; }; }
16155fi
16156rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16157fi
16158fi
16159rm -f conftest.val
16160else
16161 ac_cv_sizeof_long_long=0
16162fi
16163fi
16164echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16165echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16166cat >>confdefs.h <<_ACEOF
16167#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16168_ACEOF
16169
16170
16171 if test "$ac_cv_sizeof_long_long" != "0"; then
16172 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16173 fi
16174 ;;
16175 * )
16176 echo "$as_me:$LINENO: checking for long long" >&5
16177echo $ECHO_N "checking for long long... $ECHO_C" >&6
16178if test "${ac_cv_type_long_long+set}" = set; then
16179 echo $ECHO_N "(cached) $ECHO_C" >&6
16180else
16181 cat >conftest.$ac_ext <<_ACEOF
16182#line $LINENO "configure"
16183/* confdefs.h. */
16184_ACEOF
16185cat confdefs.h >>conftest.$ac_ext
16186cat >>conftest.$ac_ext <<_ACEOF
16187/* end confdefs.h. */
16188$ac_includes_default
16189int
16190main ()
16191{
16192if ((long long *) 0)
16193 return 0;
16194if (sizeof (long long))
16195 return 0;
16196 ;
16197 return 0;
16198}
16199_ACEOF
16200rm -f conftest.$ac_objext
16201if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16202 (eval $ac_compile) 2>&5
16203 ac_status=$?
16204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16205 (exit $ac_status); } &&
16206 { ac_try='test -s conftest.$ac_objext'
16207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16208 (eval $ac_try) 2>&5
16209 ac_status=$?
16210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16211 (exit $ac_status); }; }; then
16212 ac_cv_type_long_long=yes
16213else
16214 echo "$as_me: failed program was:" >&5
16215sed 's/^/| /' conftest.$ac_ext >&5
16216
16217ac_cv_type_long_long=no
16218fi
16219rm -f conftest.$ac_objext conftest.$ac_ext
16220fi
16221echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16222echo "${ECHO_T}$ac_cv_type_long_long" >&6
16223
16224echo "$as_me:$LINENO: checking size of long long" >&5
16225echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16226if test "${ac_cv_sizeof_long_long+set}" = set; then
16227 echo $ECHO_N "(cached) $ECHO_C" >&6
16228else
16229 if test "$ac_cv_type_long_long" = yes; then
16230 # The cast to unsigned long works around a bug in the HP C Compiler
16231 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16232 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16233 # This bug is HP SR number 8606223364.
16234 if test "$cross_compiling" = yes; then
16235 # Depending upon the size, compute the lo and hi bounds.
16236cat >conftest.$ac_ext <<_ACEOF
16237#line $LINENO "configure"
16238/* confdefs.h. */
16239_ACEOF
16240cat confdefs.h >>conftest.$ac_ext
16241cat >>conftest.$ac_ext <<_ACEOF
16242/* end confdefs.h. */
16243$ac_includes_default
16244int
16245main ()
16246{
16247static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16248test_array [0] = 0
16249
16250 ;
16251 return 0;
16252}
16253_ACEOF
16254rm -f conftest.$ac_objext
16255if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16256 (eval $ac_compile) 2>&5
16257 ac_status=$?
16258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259 (exit $ac_status); } &&
16260 { ac_try='test -s conftest.$ac_objext'
16261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16262 (eval $ac_try) 2>&5
16263 ac_status=$?
16264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16265 (exit $ac_status); }; }; then
16266 ac_lo=0 ac_mid=0
16267 while :; do
16268 cat >conftest.$ac_ext <<_ACEOF
16269#line $LINENO "configure"
16270/* confdefs.h. */
16271_ACEOF
16272cat confdefs.h >>conftest.$ac_ext
16273cat >>conftest.$ac_ext <<_ACEOF
16274/* end confdefs.h. */
16275$ac_includes_default
16276int
16277main ()
16278{
16279static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16280test_array [0] = 0
16281
16282 ;
16283 return 0;
16284}
16285_ACEOF
16286rm -f conftest.$ac_objext
16287if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16288 (eval $ac_compile) 2>&5
16289 ac_status=$?
16290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16291 (exit $ac_status); } &&
16292 { ac_try='test -s conftest.$ac_objext'
16293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16294 (eval $ac_try) 2>&5
16295 ac_status=$?
16296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16297 (exit $ac_status); }; }; then
16298 ac_hi=$ac_mid; break
16299else
16300 echo "$as_me: failed program was:" >&5
16301sed 's/^/| /' conftest.$ac_ext >&5
16302
16303ac_lo=`expr $ac_mid + 1`
16304 if test $ac_lo -le $ac_mid; then
16305 ac_lo= ac_hi=
16306 break
16307 fi
16308 ac_mid=`expr 2 '*' $ac_mid + 1`
16309fi
16310rm -f conftest.$ac_objext conftest.$ac_ext
16311 done
16312else
16313 echo "$as_me: failed program was:" >&5
16314sed 's/^/| /' conftest.$ac_ext >&5
16315
16316cat >conftest.$ac_ext <<_ACEOF
16317#line $LINENO "configure"
16318/* confdefs.h. */
16319_ACEOF
16320cat confdefs.h >>conftest.$ac_ext
16321cat >>conftest.$ac_ext <<_ACEOF
16322/* end confdefs.h. */
16323$ac_includes_default
16324int
16325main ()
16326{
16327static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16328test_array [0] = 0
16329
16330 ;
16331 return 0;
16332}
16333_ACEOF
16334rm -f conftest.$ac_objext
16335if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16336 (eval $ac_compile) 2>&5
16337 ac_status=$?
16338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16339 (exit $ac_status); } &&
16340 { ac_try='test -s conftest.$ac_objext'
16341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16342 (eval $ac_try) 2>&5
16343 ac_status=$?
16344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16345 (exit $ac_status); }; }; then
16346 ac_hi=-1 ac_mid=-1
16347 while :; do
16348 cat >conftest.$ac_ext <<_ACEOF
16349#line $LINENO "configure"
16350/* confdefs.h. */
16351_ACEOF
16352cat confdefs.h >>conftest.$ac_ext
16353cat >>conftest.$ac_ext <<_ACEOF
16354/* end confdefs.h. */
16355$ac_includes_default
16356int
16357main ()
16358{
16359static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16360test_array [0] = 0
16361
16362 ;
16363 return 0;
16364}
16365_ACEOF
16366rm -f conftest.$ac_objext
16367if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16368 (eval $ac_compile) 2>&5
16369 ac_status=$?
16370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16371 (exit $ac_status); } &&
16372 { ac_try='test -s conftest.$ac_objext'
16373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16374 (eval $ac_try) 2>&5
16375 ac_status=$?
16376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16377 (exit $ac_status); }; }; then
16378 ac_lo=$ac_mid; break
16379else
16380 echo "$as_me: failed program was:" >&5
16381sed 's/^/| /' conftest.$ac_ext >&5
16382
16383ac_hi=`expr '(' $ac_mid ')' - 1`
16384 if test $ac_mid -le $ac_hi; then
16385 ac_lo= ac_hi=
16386 break
16387 fi
16388 ac_mid=`expr 2 '*' $ac_mid`
16389fi
16390rm -f conftest.$ac_objext conftest.$ac_ext
16391 done
16392else
16393 echo "$as_me: failed program was:" >&5
16394sed 's/^/| /' conftest.$ac_ext >&5
16395
16396ac_lo= ac_hi=
16397fi
16398rm -f conftest.$ac_objext conftest.$ac_ext
16399fi
16400rm -f conftest.$ac_objext conftest.$ac_ext
16401# Binary search between lo and hi bounds.
16402while test "x$ac_lo" != "x$ac_hi"; do
16403 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16404 cat >conftest.$ac_ext <<_ACEOF
16405#line $LINENO "configure"
16406/* confdefs.h. */
16407_ACEOF
16408cat confdefs.h >>conftest.$ac_ext
16409cat >>conftest.$ac_ext <<_ACEOF
16410/* end confdefs.h. */
16411$ac_includes_default
16412int
16413main ()
16414{
16415static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16416test_array [0] = 0
16417
16418 ;
16419 return 0;
16420}
16421_ACEOF
16422rm -f conftest.$ac_objext
16423if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16424 (eval $ac_compile) 2>&5
16425 ac_status=$?
16426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16427 (exit $ac_status); } &&
16428 { ac_try='test -s conftest.$ac_objext'
16429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16430 (eval $ac_try) 2>&5
16431 ac_status=$?
16432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16433 (exit $ac_status); }; }; then
16434 ac_hi=$ac_mid
16435else
16436 echo "$as_me: failed program was:" >&5
16437sed 's/^/| /' conftest.$ac_ext >&5
16438
16439ac_lo=`expr '(' $ac_mid ')' + 1`
16440fi
16441rm -f conftest.$ac_objext conftest.$ac_ext
16442done
16443case $ac_lo in
16444?*) ac_cv_sizeof_long_long=$ac_lo;;
16445'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16446See \`config.log' for more details." >&5
16447echo "$as_me: error: cannot compute sizeof (long long), 77
16448See \`config.log' for more details." >&2;}
16449 { (exit 1); exit 1; }; } ;;
16450esac
16451else
16452 if test "$cross_compiling" = yes; then
16453 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16454See \`config.log' for more details." >&5
16455echo "$as_me: error: cannot run test program while cross compiling
16456See \`config.log' for more details." >&2;}
16457 { (exit 1); exit 1; }; }
16458else
16459 cat >conftest.$ac_ext <<_ACEOF
16460#line $LINENO "configure"
16461/* confdefs.h. */
16462_ACEOF
16463cat confdefs.h >>conftest.$ac_ext
16464cat >>conftest.$ac_ext <<_ACEOF
16465/* end confdefs.h. */
16466$ac_includes_default
16467long longval () { return (long) (sizeof (long long)); }
16468unsigned long ulongval () { return (long) (sizeof (long long)); }
16469#include <stdio.h>
16470#include <stdlib.h>
16471int
16472main ()
16473{
16474
16475 FILE *f = fopen ("conftest.val", "w");
16476 if (! f)
16477 exit (1);
16478 if (((long) (sizeof (long long))) < 0)
16479 {
16480 long i = longval ();
16481 if (i != ((long) (sizeof (long long))))
16482 exit (1);
16483 fprintf (f, "%ld\n", i);
16484 }
16485 else
16486 {
16487 unsigned long i = ulongval ();
16488 if (i != ((long) (sizeof (long long))))
16489 exit (1);
16490 fprintf (f, "%lu\n", i);
16491 }
16492 exit (ferror (f) || fclose (f) != 0);
16493
16494 ;
16495 return 0;
16496}
16497_ACEOF
16498rm -f conftest$ac_exeext
16499if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16500 (eval $ac_link) 2>&5
16501 ac_status=$?
16502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16503 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16505 (eval $ac_try) 2>&5
16506 ac_status=$?
16507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16508 (exit $ac_status); }; }; then
16509 ac_cv_sizeof_long_long=`cat conftest.val`
16510else
16511 echo "$as_me: program exited with status $ac_status" >&5
16512echo "$as_me: failed program was:" >&5
16513sed 's/^/| /' conftest.$ac_ext >&5
16514
16515( exit $ac_status )
16516{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16517See \`config.log' for more details." >&5
16518echo "$as_me: error: cannot compute sizeof (long long), 77
16519See \`config.log' for more details." >&2;}
16520 { (exit 1); exit 1; }; }
16521fi
16522rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16523fi
16524fi
16525rm -f conftest.val
16526else
16527 ac_cv_sizeof_long_long=0
16528fi
16529fi
16530echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16531echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16532cat >>confdefs.h <<_ACEOF
16533#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16534_ACEOF
16535
16536
16537esac
16538
16539echo "$as_me:$LINENO: checking size of wchar_t" >&5
16540echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16541if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16542 echo $ECHO_N "(cached) $ECHO_C" >&6
16543else
16544
16545 if test "$cross_compiling" = yes; then
16546
16547 case "${host}" in
16548 *-pc-msdosdjgpp )
16549 wx_cv_sizeof_wchar_t=0
16550 ;;
16551 * )
16552 wx_cv_sizeof_wchar_t=4
16553 ;;
16554 esac
16555
16556
16557else
16558 cat >conftest.$ac_ext <<_ACEOF
16559#line $LINENO "configure"
16560/* confdefs.h. */
16561_ACEOF
16562cat confdefs.h >>conftest.$ac_ext
16563cat >>conftest.$ac_ext <<_ACEOF
16564/* end confdefs.h. */
16565
16566 /* DJGPP only has fake wchar_t: */
16567 #ifdef __DJGPP__
16568 # error "fake wchar_t"
16569 #endif
16570 #ifdef HAVE_WCHAR_H
16571 # ifdef __CYGWIN__
16572 # include <stddef.h>
16573 # endif
16574 # include <wchar.h>
16575 #endif
16576 #ifdef HAVE_STDLIB_H
16577 # include <stdlib.h>
16578 #endif
16579 #include <stdio.h>
16580 int main()
16581 {
16582 FILE *f=fopen("conftestval", "w");
16583 if (!f) exit(1);
16584 fprintf(f, "%i", sizeof(wchar_t));
16585 exit(0);
16586 }
16587
16588_ACEOF
16589rm -f conftest$ac_exeext
16590if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16591 (eval $ac_link) 2>&5
16592 ac_status=$?
16593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16594 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16596 (eval $ac_try) 2>&5
16597 ac_status=$?
16598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16599 (exit $ac_status); }; }; then
16600 wx_cv_sizeof_wchar_t=`cat conftestval`
16601else
16602 echo "$as_me: program exited with status $ac_status" >&5
16603echo "$as_me: failed program was:" >&5
16604sed 's/^/| /' conftest.$ac_ext >&5
16605
16606( exit $ac_status )
16607wx_cv_sizeof_wchar_t=0
16608fi
16609rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16610fi
16611
16612fi
16613echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16614echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16615
16616cat >>confdefs.h <<_ACEOF
16617#define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16618_ACEOF
16619
16620
16621# Check whether --enable-largefile or --disable-largefile was given.
16622if test "${enable_largefile+set}" = set; then
16623 enableval="$enable_largefile"
16624
16625fi;
16626if test "$enable_largefile" != no; then
16627 wx_largefile=no
16628
16629 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16630echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16631if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16632 echo $ECHO_N "(cached) $ECHO_C" >&6
16633else
16634
16635 cat >conftest.$ac_ext <<_ACEOF
16636#line $LINENO "configure"
16637/* confdefs.h. */
16638_ACEOF
16639cat confdefs.h >>conftest.$ac_ext
16640cat >>conftest.$ac_ext <<_ACEOF
16641/* end confdefs.h. */
16642#define _FILE_OFFSET_BITS 64
16643 #include <sys/types.h>
16644int
16645main ()
16646{
16647typedef struct {
16648 unsigned int field: sizeof(off_t) == 8;
16649} wxlf;
16650
16651 ;
16652 return 0;
16653}
16654_ACEOF
16655rm -f conftest.$ac_objext
16656if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16657 (eval $ac_compile) 2>&5
16658 ac_status=$?
16659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16660 (exit $ac_status); } &&
16661 { ac_try='test -s conftest.$ac_objext'
16662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16663 (eval $ac_try) 2>&5
16664 ac_status=$?
16665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16666 (exit $ac_status); }; }; then
16667 ac_cv_sys_file_offset_bits=64
16668else
16669 echo "$as_me: failed program was:" >&5
16670sed 's/^/| /' conftest.$ac_ext >&5
16671
16672ac_cv_sys_file_offset_bits=no
16673fi
16674rm -f conftest.$ac_objext conftest.$ac_ext
16675
16676
16677fi
16678echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16679echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16680
16681 if test "$ac_cv_sys_file_offset_bits" != no; then
16682 wx_largefile=yes
16683 cat >>confdefs.h <<_ACEOF
16684#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16685_ACEOF
16686
16687 fi
16688
16689 if test "x$wx_largefile" != "xyes"; then
16690
16691 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16692echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16693if test "${ac_cv_sys_large_files+set}" = set; then
16694 echo $ECHO_N "(cached) $ECHO_C" >&6
16695else
16696
16697 cat >conftest.$ac_ext <<_ACEOF
16698#line $LINENO "configure"
16699/* confdefs.h. */
16700_ACEOF
16701cat confdefs.h >>conftest.$ac_ext
16702cat >>conftest.$ac_ext <<_ACEOF
16703/* end confdefs.h. */
16704#define _LARGE_FILES 1
16705 #include <sys/types.h>
16706int
16707main ()
16708{
16709typedef struct {
16710 unsigned int field: sizeof(off_t) == 8;
16711} wxlf;
16712
16713 ;
16714 return 0;
16715}
16716_ACEOF
16717rm -f conftest.$ac_objext
16718if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16719 (eval $ac_compile) 2>&5
16720 ac_status=$?
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); } &&
16723 { ac_try='test -s conftest.$ac_objext'
16724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16725 (eval $ac_try) 2>&5
16726 ac_status=$?
16727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16728 (exit $ac_status); }; }; then
16729 ac_cv_sys_large_files=1
16730else
16731 echo "$as_me: failed program was:" >&5
16732sed 's/^/| /' conftest.$ac_ext >&5
16733
16734ac_cv_sys_large_files=no
16735fi
16736rm -f conftest.$ac_objext conftest.$ac_ext
16737
16738
16739fi
16740echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16741echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16742
16743 if test "$ac_cv_sys_large_files" != no; then
16744 wx_largefile=yes
16745 cat >>confdefs.h <<_ACEOF
16746#define _LARGE_FILES $ac_cv_sys_large_files
16747_ACEOF
16748
16749 fi
16750
16751 fi
16752
16753 echo "$as_me:$LINENO: checking if large file support is available" >&5
16754echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16755 if test "x$wx_largefile" = "xyes"; then
16756 cat >>confdefs.h <<\_ACEOF
16757#define HAVE_LARGEFILE_SUPPORT 1
16758_ACEOF
16759
16760 fi
16761 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16762echo "${ECHO_T}$wx_largefile" >&6
16763fi
16764
16765
16766if test "x$wx_largefile" = "xyes"; then
16767 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16768 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16769 else
16770 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
16771 fi
16772 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16773fi
16774
16775echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16776echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16777if test "${ac_cv_c_bigendian+set}" = set; then
16778 echo $ECHO_N "(cached) $ECHO_C" >&6
16779else
16780 ac_cv_c_bigendian=unknown
16781# See if sys/param.h defines the BYTE_ORDER macro.
16782cat >conftest.$ac_ext <<_ACEOF
16783#line $LINENO "configure"
16784/* confdefs.h. */
16785_ACEOF
16786cat confdefs.h >>conftest.$ac_ext
16787cat >>conftest.$ac_ext <<_ACEOF
16788/* end confdefs.h. */
16789#include <sys/types.h>
16790#include <sys/param.h>
16791int
16792main ()
16793{
16794
16795#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16796 bogus endian macros
16797#endif
16798 ;
16799 return 0;
16800}
16801_ACEOF
16802rm -f conftest.$ac_objext
16803if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16804 (eval $ac_compile) 2>&5
16805 ac_status=$?
16806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16807 (exit $ac_status); } &&
16808 { ac_try='test -s conftest.$ac_objext'
16809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16810 (eval $ac_try) 2>&5
16811 ac_status=$?
16812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16813 (exit $ac_status); }; }; then
16814 # It does; now see whether it defined to BIG_ENDIAN or not.
16815cat >conftest.$ac_ext <<_ACEOF
16816#line $LINENO "configure"
16817/* confdefs.h. */
16818_ACEOF
16819cat confdefs.h >>conftest.$ac_ext
16820cat >>conftest.$ac_ext <<_ACEOF
16821/* end confdefs.h. */
16822#include <sys/types.h>
16823#include <sys/param.h>
16824int
16825main ()
16826{
16827
16828#if BYTE_ORDER != BIG_ENDIAN
16829 not big endian
16830#endif
16831 ;
16832 return 0;
16833}
16834_ACEOF
16835rm -f conftest.$ac_objext
16836if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16837 (eval $ac_compile) 2>&5
16838 ac_status=$?
16839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16840 (exit $ac_status); } &&
16841 { ac_try='test -s conftest.$ac_objext'
16842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16843 (eval $ac_try) 2>&5
16844 ac_status=$?
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); }; }; then
16847 ac_cv_c_bigendian=yes
16848else
16849 echo "$as_me: failed program was:" >&5
16850sed 's/^/| /' conftest.$ac_ext >&5
16851
16852ac_cv_c_bigendian=no
16853fi
16854rm -f conftest.$ac_objext conftest.$ac_ext
16855else
16856 echo "$as_me: failed program was:" >&5
16857sed 's/^/| /' conftest.$ac_ext >&5
16858
16859fi
16860rm -f conftest.$ac_objext conftest.$ac_ext
16861if test $ac_cv_c_bigendian = unknown; then
16862if test "$cross_compiling" = yes; then
16863 ac_cv_c_bigendian=unknown
16864else
16865 cat >conftest.$ac_ext <<_ACEOF
16866#line $LINENO "configure"
16867/* confdefs.h. */
16868_ACEOF
16869cat confdefs.h >>conftest.$ac_ext
16870cat >>conftest.$ac_ext <<_ACEOF
16871/* end confdefs.h. */
16872main () {
16873 /* Are we little or big endian? From Harbison&Steele. */
16874 union
16875 {
16876 long l;
16877 char c[sizeof (long)];
16878 } u;
16879 u.l = 1;
16880 exit (u.c[sizeof (long) - 1] == 1);
16881}
16882_ACEOF
16883rm -f conftest$ac_exeext
16884if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16885 (eval $ac_link) 2>&5
16886 ac_status=$?
16887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16888 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16890 (eval $ac_try) 2>&5
16891 ac_status=$?
16892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16893 (exit $ac_status); }; }; then
16894 ac_cv_c_bigendian=no
16895else
16896 echo "$as_me: program exited with status $ac_status" >&5
16897echo "$as_me: failed program was:" >&5
16898sed 's/^/| /' conftest.$ac_ext >&5
16899
16900( exit $ac_status )
16901ac_cv_c_bigendian=yes
16902fi
16903rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16904fi
16905fi
16906fi
16907echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16908echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16909if test $ac_cv_c_bigendian = unknown; then
16910 { 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
16911echo "$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;}
16912fi
16913if test $ac_cv_c_bigendian = yes; then
16914 cat >>confdefs.h <<\_ACEOF
16915#define WORDS_BIGENDIAN 1
16916_ACEOF
16917
16918fi
16919
16920
16921
16922ac_ext=cc
16923ac_cpp='$CXXCPP $CPPFLAGS'
16924ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16925ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16926ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16927echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16928echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16929if test -z "$CXXCPP"; then
16930 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16931 echo $ECHO_N "(cached) $ECHO_C" >&6
16932else
16933 # Double quotes because CXXCPP needs to be expanded
16934 for CXXCPP in "$CXX -E" "/lib/cpp"
16935 do
16936 ac_preproc_ok=false
16937for ac_cxx_preproc_warn_flag in '' yes
16938do
16939 # Use a header file that comes with gcc, so configuring glibc
16940 # with a fresh cross-compiler works.
16941 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16942 # <limits.h> exists even on freestanding compilers.
16943 # On the NeXT, cc -E runs the code through the compiler's parser,
16944 # not just through cpp. "Syntax error" is here to catch this case.
16945 cat >conftest.$ac_ext <<_ACEOF
16946#line $LINENO "configure"
16947/* confdefs.h. */
16948_ACEOF
16949cat confdefs.h >>conftest.$ac_ext
16950cat >>conftest.$ac_ext <<_ACEOF
16951/* end confdefs.h. */
16952#ifdef __STDC__
16953# include <limits.h>
16954#else
16955# include <assert.h>
16956#endif
16957 Syntax error
16958_ACEOF
16959if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16960 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16961 ac_status=$?
16962 grep -v '^ *+' conftest.er1 >conftest.err
16963 rm -f conftest.er1
16964 cat conftest.err >&5
16965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16966 (exit $ac_status); } >/dev/null; then
16967 if test -s conftest.err; then
16968 ac_cpp_err=$ac_cxx_preproc_warn_flag
16969 else
16970 ac_cpp_err=
16971 fi
16972else
16973 ac_cpp_err=yes
16974fi
16975if test -z "$ac_cpp_err"; then
16976 :
16977else
16978 echo "$as_me: failed program was:" >&5
16979sed 's/^/| /' conftest.$ac_ext >&5
16980
16981 # Broken: fails on valid input.
16982continue
16983fi
16984rm -f conftest.err conftest.$ac_ext
16985
16986 # OK, works on sane cases. Now check whether non-existent headers
16987 # can be detected and how.
16988 cat >conftest.$ac_ext <<_ACEOF
16989#line $LINENO "configure"
16990/* confdefs.h. */
16991_ACEOF
16992cat confdefs.h >>conftest.$ac_ext
16993cat >>conftest.$ac_ext <<_ACEOF
16994/* end confdefs.h. */
16995#include <ac_nonexistent.h>
16996_ACEOF
16997if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16998 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16999 ac_status=$?
17000 grep -v '^ *+' conftest.er1 >conftest.err
17001 rm -f conftest.er1
17002 cat conftest.err >&5
17003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17004 (exit $ac_status); } >/dev/null; then
17005 if test -s conftest.err; then
17006 ac_cpp_err=$ac_cxx_preproc_warn_flag
17007 else
17008 ac_cpp_err=
17009 fi
17010else
17011 ac_cpp_err=yes
17012fi
17013if test -z "$ac_cpp_err"; then
17014 # Broken: success on invalid input.
17015continue
17016else
17017 echo "$as_me: failed program was:" >&5
17018sed 's/^/| /' conftest.$ac_ext >&5
17019
17020 # Passes both tests.
17021ac_preproc_ok=:
17022break
17023fi
17024rm -f conftest.err conftest.$ac_ext
17025
17026done
17027# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17028rm -f conftest.err conftest.$ac_ext
17029if $ac_preproc_ok; then
17030 break
17031fi
17032
17033 done
17034 ac_cv_prog_CXXCPP=$CXXCPP
17035
17036fi
17037 CXXCPP=$ac_cv_prog_CXXCPP
17038else
17039 ac_cv_prog_CXXCPP=$CXXCPP
17040fi
17041echo "$as_me:$LINENO: result: $CXXCPP" >&5
17042echo "${ECHO_T}$CXXCPP" >&6
17043ac_preproc_ok=false
17044for ac_cxx_preproc_warn_flag in '' yes
17045do
17046 # Use a header file that comes with gcc, so configuring glibc
17047 # with a fresh cross-compiler works.
17048 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17049 # <limits.h> exists even on freestanding compilers.
17050 # On the NeXT, cc -E runs the code through the compiler's parser,
17051 # not just through cpp. "Syntax error" is here to catch this case.
17052 cat >conftest.$ac_ext <<_ACEOF
17053#line $LINENO "configure"
17054/* confdefs.h. */
17055_ACEOF
17056cat confdefs.h >>conftest.$ac_ext
17057cat >>conftest.$ac_ext <<_ACEOF
17058/* end confdefs.h. */
17059#ifdef __STDC__
17060# include <limits.h>
17061#else
17062# include <assert.h>
17063#endif
17064 Syntax error
17065_ACEOF
17066if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17067 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17068 ac_status=$?
17069 grep -v '^ *+' conftest.er1 >conftest.err
17070 rm -f conftest.er1
17071 cat conftest.err >&5
17072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17073 (exit $ac_status); } >/dev/null; then
17074 if test -s conftest.err; then
17075 ac_cpp_err=$ac_cxx_preproc_warn_flag
17076 else
17077 ac_cpp_err=
17078 fi
17079else
17080 ac_cpp_err=yes
17081fi
17082if test -z "$ac_cpp_err"; then
17083 :
17084else
17085 echo "$as_me: failed program was:" >&5
17086sed 's/^/| /' conftest.$ac_ext >&5
17087
17088 # Broken: fails on valid input.
17089continue
17090fi
17091rm -f conftest.err conftest.$ac_ext
17092
17093 # OK, works on sane cases. Now check whether non-existent headers
17094 # can be detected and how.
17095 cat >conftest.$ac_ext <<_ACEOF
17096#line $LINENO "configure"
17097/* confdefs.h. */
17098_ACEOF
17099cat confdefs.h >>conftest.$ac_ext
17100cat >>conftest.$ac_ext <<_ACEOF
17101/* end confdefs.h. */
17102#include <ac_nonexistent.h>
17103_ACEOF
17104if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17105 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17106 ac_status=$?
17107 grep -v '^ *+' conftest.er1 >conftest.err
17108 rm -f conftest.er1
17109 cat conftest.err >&5
17110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17111 (exit $ac_status); } >/dev/null; then
17112 if test -s conftest.err; then
17113 ac_cpp_err=$ac_cxx_preproc_warn_flag
17114 else
17115 ac_cpp_err=
17116 fi
17117else
17118 ac_cpp_err=yes
17119fi
17120if test -z "$ac_cpp_err"; then
17121 # Broken: success on invalid input.
17122continue
17123else
17124 echo "$as_me: failed program was:" >&5
17125sed 's/^/| /' conftest.$ac_ext >&5
17126
17127 # Passes both tests.
17128ac_preproc_ok=:
17129break
17130fi
17131rm -f conftest.err conftest.$ac_ext
17132
17133done
17134# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17135rm -f conftest.err conftest.$ac_ext
17136if $ac_preproc_ok; then
17137 :
17138else
17139 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17140See \`config.log' for more details." >&5
17141echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17142See \`config.log' for more details." >&2;}
17143 { (exit 1); exit 1; }; }
17144fi
17145
17146ac_ext=cc
17147ac_cpp='$CXXCPP $CPPFLAGS'
17148ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17149ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17150ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17151
17152
17153
17154 if test "$cross_compiling" = "yes"; then
17155 cat >>confdefs.h <<\_ACEOF
17156#define wxUSE_IOSTREAMH 1
17157_ACEOF
17158
17159 else
17160
17161
17162 ac_ext=cc
17163ac_cpp='$CXXCPP $CPPFLAGS'
17164ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17165ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17166ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17167
17168
17169
17170for ac_header in iostream
17171do
17172as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17173if eval "test \"\${$as_ac_Header+set}\" = set"; then
17174 echo "$as_me:$LINENO: checking for $ac_header" >&5
17175echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17176if eval "test \"\${$as_ac_Header+set}\" = set"; then
17177 echo $ECHO_N "(cached) $ECHO_C" >&6
17178fi
17179echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17180echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17181else
17182 # Is the header compilable?
17183echo "$as_me:$LINENO: checking $ac_header usability" >&5
17184echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17185cat >conftest.$ac_ext <<_ACEOF
17186#line $LINENO "configure"
17187/* confdefs.h. */
17188_ACEOF
17189cat confdefs.h >>conftest.$ac_ext
17190cat >>conftest.$ac_ext <<_ACEOF
17191/* end confdefs.h. */
17192$ac_includes_default
17193#include <$ac_header>
17194_ACEOF
17195rm -f conftest.$ac_objext
17196if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17197 (eval $ac_compile) 2>&5
17198 ac_status=$?
17199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17200 (exit $ac_status); } &&
17201 { ac_try='test -s conftest.$ac_objext'
17202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17203 (eval $ac_try) 2>&5
17204 ac_status=$?
17205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17206 (exit $ac_status); }; }; then
17207 ac_header_compiler=yes
17208else
17209 echo "$as_me: failed program was:" >&5
17210sed 's/^/| /' conftest.$ac_ext >&5
17211
17212ac_header_compiler=no
17213fi
17214rm -f conftest.$ac_objext conftest.$ac_ext
17215echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17216echo "${ECHO_T}$ac_header_compiler" >&6
17217
17218# Is the header present?
17219echo "$as_me:$LINENO: checking $ac_header presence" >&5
17220echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17221cat >conftest.$ac_ext <<_ACEOF
17222#line $LINENO "configure"
17223/* confdefs.h. */
17224_ACEOF
17225cat confdefs.h >>conftest.$ac_ext
17226cat >>conftest.$ac_ext <<_ACEOF
17227/* end confdefs.h. */
17228#include <$ac_header>
17229_ACEOF
17230if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17231 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17232 ac_status=$?
17233 grep -v '^ *+' conftest.er1 >conftest.err
17234 rm -f conftest.er1
17235 cat conftest.err >&5
17236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17237 (exit $ac_status); } >/dev/null; then
17238 if test -s conftest.err; then
17239 ac_cpp_err=$ac_cxx_preproc_warn_flag
17240 else
17241 ac_cpp_err=
17242 fi
17243else
17244 ac_cpp_err=yes
17245fi
17246if test -z "$ac_cpp_err"; then
17247 ac_header_preproc=yes
17248else
17249 echo "$as_me: failed program was:" >&5
17250sed 's/^/| /' conftest.$ac_ext >&5
17251
17252 ac_header_preproc=no
17253fi
17254rm -f conftest.err conftest.$ac_ext
17255echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17256echo "${ECHO_T}$ac_header_preproc" >&6
17257
17258# So? What about this header?
17259case $ac_header_compiler:$ac_header_preproc in
17260 yes:no )
17261 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17262echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17263 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17264echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17265 (
17266 cat <<\_ASBOX
17267## ------------------------------------ ##
17268## Report this to bug-autoconf@gnu.org. ##
17269## ------------------------------------ ##
17270_ASBOX
17271 ) |
17272 sed "s/^/$as_me: WARNING: /" >&2
17273 ;;
17274 no:yes )
17275 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17276echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17277 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17278echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17279 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17280echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17281 (
17282 cat <<\_ASBOX
17283## ------------------------------------ ##
17284## Report this to bug-autoconf@gnu.org. ##
17285## ------------------------------------ ##
17286_ASBOX
17287 ) |
17288 sed "s/^/$as_me: WARNING: /" >&2
17289 ;;
17290esac
17291echo "$as_me:$LINENO: checking for $ac_header" >&5
17292echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17293if eval "test \"\${$as_ac_Header+set}\" = set"; then
17294 echo $ECHO_N "(cached) $ECHO_C" >&6
17295else
17296 eval "$as_ac_Header=$ac_header_preproc"
17297fi
17298echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17299echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17300
17301fi
17302if test `eval echo '${'$as_ac_Header'}'` = yes; then
17303 cat >>confdefs.h <<_ACEOF
17304#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17305_ACEOF
17306
17307fi
17308
17309done
17310
17311
17312 if test "$ac_cv_header_iostream" = "yes" ; then
17313 :
17314 else
17315 cat >>confdefs.h <<\_ACEOF
17316#define wxUSE_IOSTREAMH 1
17317_ACEOF
17318
17319 fi
17320
17321 ac_ext=c
17322ac_cpp='$CPP $CPPFLAGS'
17323ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17324ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17325ac_compiler_gnu=$ac_cv_c_compiler_gnu
17326
17327 fi
17328
17329
17330
17331 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17332echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17333if test "${wx_cv_cpp_bool+set}" = set; then
17334 echo $ECHO_N "(cached) $ECHO_C" >&6
17335else
17336
17337
17338
17339 ac_ext=cc
17340ac_cpp='$CXXCPP $CPPFLAGS'
17341ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17342ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17343ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17344
17345
17346 cat >conftest.$ac_ext <<_ACEOF
17347#line $LINENO "configure"
17348/* confdefs.h. */
17349_ACEOF
17350cat confdefs.h >>conftest.$ac_ext
17351cat >>conftest.$ac_ext <<_ACEOF
17352/* end confdefs.h. */
17353
17354
17355int
17356main ()
17357{
17358
17359 bool b = true;
17360
17361 return 0;
17362
17363 ;
17364 return 0;
17365}
17366_ACEOF
17367rm -f conftest.$ac_objext
17368if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17369 (eval $ac_compile) 2>&5
17370 ac_status=$?
17371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17372 (exit $ac_status); } &&
17373 { ac_try='test -s conftest.$ac_objext'
17374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17375 (eval $ac_try) 2>&5
17376 ac_status=$?
17377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17378 (exit $ac_status); }; }; then
17379
17380 wx_cv_cpp_bool=yes
17381
17382else
17383 echo "$as_me: failed program was:" >&5
17384sed 's/^/| /' conftest.$ac_ext >&5
17385
17386
17387 wx_cv_cpp_bool=no
17388
17389
17390fi
17391rm -f conftest.$ac_objext conftest.$ac_ext
17392
17393 ac_ext=c
17394ac_cpp='$CPP $CPPFLAGS'
17395ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17396ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17397ac_compiler_gnu=$ac_cv_c_compiler_gnu
17398
17399
17400fi
17401echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17402echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17403
17404 if test "$wx_cv_cpp_bool" = "yes"; then
17405 cat >>confdefs.h <<\_ACEOF
17406#define HAVE_BOOL 1
17407_ACEOF
17408
17409 fi
17410
17411
17412
17413 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17414echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17415if test "${wx_cv_explicit+set}" = set; then
17416 echo $ECHO_N "(cached) $ECHO_C" >&6
17417else
17418
17419
17420
17421 ac_ext=cc
17422ac_cpp='$CXXCPP $CPPFLAGS'
17423ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17424ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17425ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17426
17427
17428 cat >conftest.$ac_ext <<_ACEOF
17429#line $LINENO "configure"
17430/* confdefs.h. */
17431_ACEOF
17432cat confdefs.h >>conftest.$ac_ext
17433cat >>conftest.$ac_ext <<_ACEOF
17434/* end confdefs.h. */
17435
17436 class Foo { public: explicit Foo(int) {} };
17437
17438int
17439main ()
17440{
17441
17442 return 0;
17443
17444 ;
17445 return 0;
17446}
17447_ACEOF
17448rm -f conftest.$ac_objext
17449if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17450 (eval $ac_compile) 2>&5
17451 ac_status=$?
17452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17453 (exit $ac_status); } &&
17454 { ac_try='test -s conftest.$ac_objext'
17455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17456 (eval $ac_try) 2>&5
17457 ac_status=$?
17458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17459 (exit $ac_status); }; }; then
17460
17461 cat >conftest.$ac_ext <<_ACEOF
17462#line $LINENO "configure"
17463/* confdefs.h. */
17464_ACEOF
17465cat confdefs.h >>conftest.$ac_ext
17466cat >>conftest.$ac_ext <<_ACEOF
17467/* end confdefs.h. */
17468
17469 class Foo { public: explicit Foo(int) {} };
17470 static void TakeFoo(const Foo& foo) { }
17471
17472int
17473main ()
17474{
17475
17476 TakeFoo(17);
17477 return 0;
17478
17479 ;
17480 return 0;
17481}
17482_ACEOF
17483rm -f conftest.$ac_objext
17484if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17485 (eval $ac_compile) 2>&5
17486 ac_status=$?
17487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17488 (exit $ac_status); } &&
17489 { ac_try='test -s conftest.$ac_objext'
17490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17491 (eval $ac_try) 2>&5
17492 ac_status=$?
17493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17494 (exit $ac_status); }; }; then
17495 wx_cv_explicit=no
17496else
17497 echo "$as_me: failed program was:" >&5
17498sed 's/^/| /' conftest.$ac_ext >&5
17499
17500wx_cv_explicit=yes
17501
17502fi
17503rm -f conftest.$ac_objext conftest.$ac_ext
17504
17505else
17506 echo "$as_me: failed program was:" >&5
17507sed 's/^/| /' conftest.$ac_ext >&5
17508
17509wx_cv_explicit=no
17510
17511fi
17512rm -f conftest.$ac_objext conftest.$ac_ext
17513
17514 ac_ext=c
17515ac_cpp='$CPP $CPPFLAGS'
17516ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17517ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17518ac_compiler_gnu=$ac_cv_c_compiler_gnu
17519
17520
17521fi
17522echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17523echo "${ECHO_T}$wx_cv_explicit" >&6
17524
17525 if test "$wx_cv_explicit" = "yes"; then
17526 cat >>confdefs.h <<\_ACEOF
17527#define HAVE_EXPLICIT 1
17528_ACEOF
17529
17530 fi
17531
17532
17533echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17534echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17535if test "${ac_cv_cxx_const_cast+set}" = set; then
17536 echo $ECHO_N "(cached) $ECHO_C" >&6
17537else
17538
17539
17540 ac_ext=cc
17541ac_cpp='$CXXCPP $CPPFLAGS'
17542ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17543ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17544ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17545
17546 cat >conftest.$ac_ext <<_ACEOF
17547#line $LINENO "configure"
17548/* confdefs.h. */
17549_ACEOF
17550cat confdefs.h >>conftest.$ac_ext
17551cat >>conftest.$ac_ext <<_ACEOF
17552/* end confdefs.h. */
17553
17554int
17555main ()
17556{
17557int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17558 ;
17559 return 0;
17560}
17561_ACEOF
17562rm -f conftest.$ac_objext
17563if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17564 (eval $ac_compile) 2>&5
17565 ac_status=$?
17566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17567 (exit $ac_status); } &&
17568 { ac_try='test -s conftest.$ac_objext'
17569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17570 (eval $ac_try) 2>&5
17571 ac_status=$?
17572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573 (exit $ac_status); }; }; then
17574 ac_cv_cxx_const_cast=yes
17575else
17576 echo "$as_me: failed program was:" >&5
17577sed 's/^/| /' conftest.$ac_ext >&5
17578
17579ac_cv_cxx_const_cast=no
17580fi
17581rm -f conftest.$ac_objext conftest.$ac_ext
17582 ac_ext=c
17583ac_cpp='$CPP $CPPFLAGS'
17584ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17585ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17586ac_compiler_gnu=$ac_cv_c_compiler_gnu
17587
17588
17589fi
17590echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17591echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17592if test "$ac_cv_cxx_const_cast" = yes; then
17593
17594cat >>confdefs.h <<\_ACEOF
17595#define HAVE_CONST_CAST
17596_ACEOF
17597
17598fi
17599
17600
17601
17602SEARCH_INCLUDE="\
17603 /usr/local/include \
17604 \
17605 /usr/Motif-1.2/include \
17606 /usr/Motif-2.1/include \
17607 \
17608 /usr/include/Motif1.2 \
17609 /opt/xpm/include/X11 \
17610 /opt/GBxpm/include/ \
17611 /opt/GBxpm/X11/include/ \
17612 \
17613 /usr/Motif1.2/include \
17614 /usr/dt/include \
17615 /usr/openwin/include \
17616 \
17617 /usr/include/Xm \
17618 \
17619 /usr/X11R6/include \
17620 /usr/X11R6.4/include \
17621 /usr/X11R5/include \
17622 /usr/X11R4/include \
17623 \
17624 /usr/include/X11R6 \
17625 /usr/include/X11R5 \
17626 /usr/include/X11R4 \
17627 \
17628 /usr/local/X11R6/include \
17629 /usr/local/X11R5/include \
17630 /usr/local/X11R4/include \
17631 \
17632 /usr/local/include/X11R6 \
17633 /usr/local/include/X11R5 \
17634 /usr/local/include/X11R4 \
17635 \
17636 /usr/X11/include \
17637 /usr/include/X11 \
17638 /usr/local/X11/include \
17639 /usr/local/include/X11 \
17640 \
17641 /usr/X386/include \
17642 /usr/x386/include \
17643 /usr/XFree86/include/X11 \
17644 \
17645 X:/XFree86/include \
17646 X:/XFree86/include/X11 \
17647 \
17648 /usr/include/gtk \
17649 /usr/local/include/gtk \
17650 /usr/include/glib \
17651 /usr/local/include/glib \
17652 \
17653 /usr/include/qt \
17654 /usr/local/include/qt \
17655 \
17656 /usr/include/windows \
17657 /usr/include/wine \
17658 /usr/local/include/wine \
17659 \
17660 /usr/unsupported/include \
17661 /usr/athena/include \
17662 /usr/local/x11r5/include \
17663 /usr/lpp/Xamples/include \
17664 \
17665 /usr/openwin/share/include"
17666
17667SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17668
17669
17670cat >confcache <<\_ACEOF
17671# This file is a shell script that caches the results of configure
17672# tests run on this system so they can be shared between configure
17673# scripts and configure runs, see configure's option --config-cache.
17674# It is not useful on other systems. If it contains results you don't
17675# want to keep, you may remove or edit it.
17676#
17677# config.status only pays attention to the cache file if you give it
17678# the --recheck option to rerun configure.
17679#
17680# `ac_cv_env_foo' variables (set or unset) will be overridden when
17681# loading this file, other *unset* `ac_cv_foo' will be assigned the
17682# following values.
17683
17684_ACEOF
17685
17686# The following way of writing the cache mishandles newlines in values,
17687# but we know of no workaround that is simple, portable, and efficient.
17688# So, don't put newlines in cache variables' values.
17689# Ultrix sh set writes to stderr and can't be redirected directly,
17690# and sets the high bit in the cache file unless we assign to the vars.
17691{
17692 (set) 2>&1 |
17693 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17694 *ac_space=\ *)
17695 # `set' does not quote correctly, so add quotes (double-quote
17696 # substitution turns \\\\ into \\, and sed turns \\ into \).
17697 sed -n \
17698 "s/'/'\\\\''/g;
17699 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17700 ;;
17701 *)
17702 # `set' quotes correctly as required by POSIX, so do not add quotes.
17703 sed -n \
17704 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17705 ;;
17706 esac;
17707} |
17708 sed '
17709 t clear
17710 : clear
17711 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17712 t end
17713 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17714 : end' >>confcache
17715if diff $cache_file confcache >/dev/null 2>&1; then :; else
17716 if test -w $cache_file; then
17717 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17718 cat confcache >$cache_file
17719 else
17720 echo "not updating unwritable cache $cache_file"
17721 fi
17722fi
17723rm -f confcache
17724
17725if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17726 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17727echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17728if test "${wx_cv_lib_glibc21+set}" = set; then
17729 echo $ECHO_N "(cached) $ECHO_C" >&6
17730else
17731
17732 cat >conftest.$ac_ext <<_ACEOF
17733#line $LINENO "configure"
17734/* confdefs.h. */
17735_ACEOF
17736cat confdefs.h >>conftest.$ac_ext
17737cat >>conftest.$ac_ext <<_ACEOF
17738/* end confdefs.h. */
17739#include <features.h>
17740int
17741main ()
17742{
17743
17744 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17745 #error not glibc2.1
17746 #endif
17747
17748 ;
17749 return 0;
17750}
17751_ACEOF
17752rm -f conftest.$ac_objext
17753if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17754 (eval $ac_compile) 2>&5
17755 ac_status=$?
17756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17757 (exit $ac_status); } &&
17758 { ac_try='test -s conftest.$ac_objext'
17759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17760 (eval $ac_try) 2>&5
17761 ac_status=$?
17762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17763 (exit $ac_status); }; }; then
17764
17765 wx_cv_lib_glibc21=yes
17766
17767else
17768 echo "$as_me: failed program was:" >&5
17769sed 's/^/| /' conftest.$ac_ext >&5
17770
17771
17772 wx_cv_lib_glibc21=no
17773
17774
17775fi
17776rm -f conftest.$ac_objext conftest.$ac_ext
17777
17778fi
17779echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
17780echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
17781 if test "$wx_cv_lib_glibc21" = "yes"; then
17782 cat >>confdefs.h <<\_ACEOF
17783#define wxHAVE_GLIBC2 1
17784_ACEOF
17785
17786 fi
17787fi
17788
17789if test "x$wx_cv_lib_glibc21" = "xyes"; then
17790 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
17791 cat >>confdefs.h <<\_ACEOF
17792#define _GNU_SOURCE 1
17793_ACEOF
17794
17795 fi
17796fi
17797
17798
17799
17800REGEX_INCLUDE=
17801if test "$wxUSE_REGEX" != "no"; then
17802 cat >>confdefs.h <<\_ACEOF
17803#define wxUSE_REGEX 1
17804_ACEOF
17805
17806
17807 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
17808 if test "${ac_cv_header_regex_h+set}" = set; then
17809 echo "$as_me:$LINENO: checking for regex.h" >&5
17810echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17811if test "${ac_cv_header_regex_h+set}" = set; then
17812 echo $ECHO_N "(cached) $ECHO_C" >&6
17813fi
17814echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17815echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17816else
17817 # Is the header compilable?
17818echo "$as_me:$LINENO: checking regex.h usability" >&5
17819echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
17820cat >conftest.$ac_ext <<_ACEOF
17821#line $LINENO "configure"
17822/* confdefs.h. */
17823_ACEOF
17824cat confdefs.h >>conftest.$ac_ext
17825cat >>conftest.$ac_ext <<_ACEOF
17826/* end confdefs.h. */
17827$ac_includes_default
17828#include <regex.h>
17829_ACEOF
17830rm -f conftest.$ac_objext
17831if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17832 (eval $ac_compile) 2>&5
17833 ac_status=$?
17834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17835 (exit $ac_status); } &&
17836 { ac_try='test -s conftest.$ac_objext'
17837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17838 (eval $ac_try) 2>&5
17839 ac_status=$?
17840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17841 (exit $ac_status); }; }; then
17842 ac_header_compiler=yes
17843else
17844 echo "$as_me: failed program was:" >&5
17845sed 's/^/| /' conftest.$ac_ext >&5
17846
17847ac_header_compiler=no
17848fi
17849rm -f conftest.$ac_objext conftest.$ac_ext
17850echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17851echo "${ECHO_T}$ac_header_compiler" >&6
17852
17853# Is the header present?
17854echo "$as_me:$LINENO: checking regex.h presence" >&5
17855echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
17856cat >conftest.$ac_ext <<_ACEOF
17857#line $LINENO "configure"
17858/* confdefs.h. */
17859_ACEOF
17860cat confdefs.h >>conftest.$ac_ext
17861cat >>conftest.$ac_ext <<_ACEOF
17862/* end confdefs.h. */
17863#include <regex.h>
17864_ACEOF
17865if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17866 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17867 ac_status=$?
17868 grep -v '^ *+' conftest.er1 >conftest.err
17869 rm -f conftest.er1
17870 cat conftest.err >&5
17871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17872 (exit $ac_status); } >/dev/null; then
17873 if test -s conftest.err; then
17874 ac_cpp_err=$ac_c_preproc_warn_flag
17875 else
17876 ac_cpp_err=
17877 fi
17878else
17879 ac_cpp_err=yes
17880fi
17881if test -z "$ac_cpp_err"; then
17882 ac_header_preproc=yes
17883else
17884 echo "$as_me: failed program was:" >&5
17885sed 's/^/| /' conftest.$ac_ext >&5
17886
17887 ac_header_preproc=no
17888fi
17889rm -f conftest.err conftest.$ac_ext
17890echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17891echo "${ECHO_T}$ac_header_preproc" >&6
17892
17893# So? What about this header?
17894case $ac_header_compiler:$ac_header_preproc in
17895 yes:no )
17896 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
17897echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17898 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17899echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17900 (
17901 cat <<\_ASBOX
17902## ------------------------------------ ##
17903## Report this to bug-autoconf@gnu.org. ##
17904## ------------------------------------ ##
17905_ASBOX
17906 ) |
17907 sed "s/^/$as_me: WARNING: /" >&2
17908 ;;
17909 no:yes )
17910 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
17911echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
17912 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
17913echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
17914 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17915echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17916 (
17917 cat <<\_ASBOX
17918## ------------------------------------ ##
17919## Report this to bug-autoconf@gnu.org. ##
17920## ------------------------------------ ##
17921_ASBOX
17922 ) |
17923 sed "s/^/$as_me: WARNING: /" >&2
17924 ;;
17925esac
17926echo "$as_me:$LINENO: checking for regex.h" >&5
17927echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17928if test "${ac_cv_header_regex_h+set}" = set; then
17929 echo $ECHO_N "(cached) $ECHO_C" >&6
17930else
17931 ac_cv_header_regex_h=$ac_header_preproc
17932fi
17933echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17934echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17935
17936fi
17937if test $ac_cv_header_regex_h = yes; then
17938
17939for ac_func in regcomp
17940do
17941as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17942echo "$as_me:$LINENO: checking for $ac_func" >&5
17943echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17944if eval "test \"\${$as_ac_var+set}\" = set"; then
17945 echo $ECHO_N "(cached) $ECHO_C" >&6
17946else
17947 cat >conftest.$ac_ext <<_ACEOF
17948#line $LINENO "configure"
17949/* confdefs.h. */
17950_ACEOF
17951cat confdefs.h >>conftest.$ac_ext
17952cat >>conftest.$ac_ext <<_ACEOF
17953/* end confdefs.h. */
17954/* System header to define __stub macros and hopefully few prototypes,
17955 which can conflict with char $ac_func (); below.
17956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17957 <limits.h> exists even on freestanding compilers. */
17958#ifdef __STDC__
17959# include <limits.h>
17960#else
17961# include <assert.h>
17962#endif
17963/* Override any gcc2 internal prototype to avoid an error. */
17964#ifdef __cplusplus
17965extern "C"
17966{
17967#endif
17968/* We use char because int might match the return type of a gcc2
17969 builtin and then its argument prototype would still apply. */
17970char $ac_func ();
17971/* The GNU C library defines this for functions which it implements
17972 to always fail with ENOSYS. Some functions are actually named
17973 something starting with __ and the normal name is an alias. */
17974#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17975choke me
17976#else
17977char (*f) () = $ac_func;
17978#endif
17979#ifdef __cplusplus
17980}
17981#endif
17982
17983int
17984main ()
17985{
17986return f != $ac_func;
17987 ;
17988 return 0;
17989}
17990_ACEOF
17991rm -f conftest.$ac_objext conftest$ac_exeext
17992if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17993 (eval $ac_link) 2>&5
17994 ac_status=$?
17995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17996 (exit $ac_status); } &&
17997 { ac_try='test -s conftest$ac_exeext'
17998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17999 (eval $ac_try) 2>&5
18000 ac_status=$?
18001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18002 (exit $ac_status); }; }; then
18003 eval "$as_ac_var=yes"
18004else
18005 echo "$as_me: failed program was:" >&5
18006sed 's/^/| /' conftest.$ac_ext >&5
18007
18008eval "$as_ac_var=no"
18009fi
18010rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18011fi
18012echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18013echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18014if test `eval echo '${'$as_ac_var'}'` = yes; then
18015 cat >>confdefs.h <<_ACEOF
18016#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18017_ACEOF
18018
18019fi
18020done
18021
18022fi
18023
18024
18025
18026 if test "x$ac_cv_func_regcomp" != "xyes"; then
18027 if test "$wxUSE_REGEX" = "sys" ; then
18028 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18029echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18030 { (exit 1); exit 1; }; }
18031 else
18032 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18033echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18034 wxUSE_REGEX=builtin
18035 fi
18036 else
18037 wxUSE_REGEX=sys
18038 fi
18039 fi
18040
18041 if test "$wxUSE_REGEX" = "builtin" ; then
18042 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
18043 fi
18044fi
18045
18046
18047ZLIB_INCLUDE=
18048ZLIB_LINK=
18049if test "$wxUSE_ZLIB" != "no" ; then
18050 cat >>confdefs.h <<\_ACEOF
18051#define wxUSE_ZLIB 1
18052_ACEOF
18053
18054
18055 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18056 if test "$USE_DARWIN" = 1; then
18057 system_zlib_h_ok="yes"
18058 else
18059 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18060echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18061if test "${ac_cv_header_zlib_h+set}" = set; then
18062 echo $ECHO_N "(cached) $ECHO_C" >&6
18063else
18064 if test "$cross_compiling" = yes; then
18065 unset ac_cv_header_zlib_h
18066
18067else
18068 cat >conftest.$ac_ext <<_ACEOF
18069#line $LINENO "configure"
18070/* confdefs.h. */
18071_ACEOF
18072cat confdefs.h >>conftest.$ac_ext
18073cat >>conftest.$ac_ext <<_ACEOF
18074/* end confdefs.h. */
18075
18076 #include <zlib.h>
18077 #include <stdio.h>
18078
18079 int main()
18080 {
18081 FILE *f=fopen("conftestval", "w");
18082 if (!f) exit(1);
18083 fprintf(f, "%s",
18084 ZLIB_VERSION[0] == '1' &&
18085 (ZLIB_VERSION[2] > '1' ||
18086 (ZLIB_VERSION[2] == '1' &&
18087 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18088 exit(0);
18089 }
18090
18091_ACEOF
18092rm -f conftest$ac_exeext
18093if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18094 (eval $ac_link) 2>&5
18095 ac_status=$?
18096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18097 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18099 (eval $ac_try) 2>&5
18100 ac_status=$?
18101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18102 (exit $ac_status); }; }; then
18103 ac_cv_header_zlib_h=`cat conftestval`
18104else
18105 echo "$as_me: program exited with status $ac_status" >&5
18106echo "$as_me: failed program was:" >&5
18107sed 's/^/| /' conftest.$ac_ext >&5
18108
18109( exit $ac_status )
18110ac_cv_header_zlib_h=no
18111fi
18112rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18113fi
18114
18115fi
18116echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18117echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18118 if test "${ac_cv_header_zlib_h+set}" = set; then
18119 echo "$as_me:$LINENO: checking for zlib.h" >&5
18120echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18121if test "${ac_cv_header_zlib_h+set}" = set; then
18122 echo $ECHO_N "(cached) $ECHO_C" >&6
18123fi
18124echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18125echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18126else
18127 # Is the header compilable?
18128echo "$as_me:$LINENO: checking zlib.h usability" >&5
18129echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18130cat >conftest.$ac_ext <<_ACEOF
18131#line $LINENO "configure"
18132/* confdefs.h. */
18133_ACEOF
18134cat confdefs.h >>conftest.$ac_ext
18135cat >>conftest.$ac_ext <<_ACEOF
18136/* end confdefs.h. */
18137$ac_includes_default
18138#include <zlib.h>
18139_ACEOF
18140rm -f conftest.$ac_objext
18141if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18142 (eval $ac_compile) 2>&5
18143 ac_status=$?
18144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18145 (exit $ac_status); } &&
18146 { ac_try='test -s conftest.$ac_objext'
18147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18148 (eval $ac_try) 2>&5
18149 ac_status=$?
18150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18151 (exit $ac_status); }; }; then
18152 ac_header_compiler=yes
18153else
18154 echo "$as_me: failed program was:" >&5
18155sed 's/^/| /' conftest.$ac_ext >&5
18156
18157ac_header_compiler=no
18158fi
18159rm -f conftest.$ac_objext conftest.$ac_ext
18160echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18161echo "${ECHO_T}$ac_header_compiler" >&6
18162
18163# Is the header present?
18164echo "$as_me:$LINENO: checking zlib.h presence" >&5
18165echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18166cat >conftest.$ac_ext <<_ACEOF
18167#line $LINENO "configure"
18168/* confdefs.h. */
18169_ACEOF
18170cat confdefs.h >>conftest.$ac_ext
18171cat >>conftest.$ac_ext <<_ACEOF
18172/* end confdefs.h. */
18173#include <zlib.h>
18174_ACEOF
18175if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18176 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18177 ac_status=$?
18178 grep -v '^ *+' conftest.er1 >conftest.err
18179 rm -f conftest.er1
18180 cat conftest.err >&5
18181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18182 (exit $ac_status); } >/dev/null; then
18183 if test -s conftest.err; then
18184 ac_cpp_err=$ac_c_preproc_warn_flag
18185 else
18186 ac_cpp_err=
18187 fi
18188else
18189 ac_cpp_err=yes
18190fi
18191if test -z "$ac_cpp_err"; then
18192 ac_header_preproc=yes
18193else
18194 echo "$as_me: failed program was:" >&5
18195sed 's/^/| /' conftest.$ac_ext >&5
18196
18197 ac_header_preproc=no
18198fi
18199rm -f conftest.err conftest.$ac_ext
18200echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18201echo "${ECHO_T}$ac_header_preproc" >&6
18202
18203# So? What about this header?
18204case $ac_header_compiler:$ac_header_preproc in
18205 yes:no )
18206 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18207echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18208 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18209echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18210 (
18211 cat <<\_ASBOX
18212## ------------------------------------ ##
18213## Report this to bug-autoconf@gnu.org. ##
18214## ------------------------------------ ##
18215_ASBOX
18216 ) |
18217 sed "s/^/$as_me: WARNING: /" >&2
18218 ;;
18219 no:yes )
18220 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18221echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18222 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18223echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18224 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18225echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18226 (
18227 cat <<\_ASBOX
18228## ------------------------------------ ##
18229## Report this to bug-autoconf@gnu.org. ##
18230## ------------------------------------ ##
18231_ASBOX
18232 ) |
18233 sed "s/^/$as_me: WARNING: /" >&2
18234 ;;
18235esac
18236echo "$as_me:$LINENO: checking for zlib.h" >&5
18237echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18238if test "${ac_cv_header_zlib_h+set}" = set; then
18239 echo $ECHO_N "(cached) $ECHO_C" >&6
18240else
18241 ac_cv_header_zlib_h=$ac_header_preproc
18242fi
18243echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18244echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18245
18246fi
18247
18248
18249
18250 system_zlib_h_ok=$ac_cv_header_zlib_h
18251 fi
18252
18253 if test "$system_zlib_h_ok" = "yes"; then
18254 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18255echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18256if test "${ac_cv_lib_z_deflate+set}" = set; then
18257 echo $ECHO_N "(cached) $ECHO_C" >&6
18258else
18259 ac_check_lib_save_LIBS=$LIBS
18260LIBS="-lz $LIBS"
18261cat >conftest.$ac_ext <<_ACEOF
18262#line $LINENO "configure"
18263/* confdefs.h. */
18264_ACEOF
18265cat confdefs.h >>conftest.$ac_ext
18266cat >>conftest.$ac_ext <<_ACEOF
18267/* end confdefs.h. */
18268
18269/* Override any gcc2 internal prototype to avoid an error. */
18270#ifdef __cplusplus
18271extern "C"
18272#endif
18273/* We use char because int might match the return type of a gcc2
18274 builtin and then its argument prototype would still apply. */
18275char deflate ();
18276int
18277main ()
18278{
18279deflate ();
18280 ;
18281 return 0;
18282}
18283_ACEOF
18284rm -f conftest.$ac_objext conftest$ac_exeext
18285if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18286 (eval $ac_link) 2>&5
18287 ac_status=$?
18288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18289 (exit $ac_status); } &&
18290 { ac_try='test -s conftest$ac_exeext'
18291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18292 (eval $ac_try) 2>&5
18293 ac_status=$?
18294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18295 (exit $ac_status); }; }; then
18296 ac_cv_lib_z_deflate=yes
18297else
18298 echo "$as_me: failed program was:" >&5
18299sed 's/^/| /' conftest.$ac_ext >&5
18300
18301ac_cv_lib_z_deflate=no
18302fi
18303rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18304LIBS=$ac_check_lib_save_LIBS
18305fi
18306echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18307echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18308if test $ac_cv_lib_z_deflate = yes; then
18309 ZLIB_LINK=" -lz"
18310fi
18311
18312 fi
18313
18314 if test "x$ZLIB_LINK" = "x" ; then
18315 if test "$wxUSE_ZLIB" = "sys" ; then
18316 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18317echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18318 { (exit 1); exit 1; }; }
18319 else
18320 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18321echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18322 wxUSE_ZLIB=builtin
18323 fi
18324 else
18325 wxUSE_ZLIB=sys
18326 fi
18327 fi
18328
18329 if test "$wxUSE_ZLIB" = "builtin" ; then
18330 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
18331 fi
18332fi
18333
18334
18335PNG_INCLUDE=
18336PNG_LINK=
18337if test "$wxUSE_LIBPNG" != "no" ; then
18338 cat >>confdefs.h <<\_ACEOF
18339#define wxUSE_LIBPNG 1
18340_ACEOF
18341
18342
18343 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18344 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18345echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18346 wxUSE_LIBPNG=sys
18347 fi
18348
18349 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18350 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18351echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18352 wxUSE_LIBPNG=builtin
18353 fi
18354
18355 if test "$wxUSE_MGL" != 1 ; then
18356 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18357 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18358echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18359if test "${ac_cv_header_png_h+set}" = set; then
18360 echo $ECHO_N "(cached) $ECHO_C" >&6
18361else
18362 if test "$cross_compiling" = yes; then
18363 unset ac_cv_header_png_h
18364
18365else
18366 cat >conftest.$ac_ext <<_ACEOF
18367#line $LINENO "configure"
18368/* confdefs.h. */
18369_ACEOF
18370cat confdefs.h >>conftest.$ac_ext
18371cat >>conftest.$ac_ext <<_ACEOF
18372/* end confdefs.h. */
18373
18374 #include <png.h>
18375 #include <stdio.h>
18376
18377 int main()
18378 {
18379 FILE *f=fopen("conftestval", "w");
18380 if (!f) exit(1);
18381 fprintf(f, "%s",
18382 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18383 exit(0);
18384 }
18385
18386_ACEOF
18387rm -f conftest$ac_exeext
18388if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18389 (eval $ac_link) 2>&5
18390 ac_status=$?
18391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18392 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18394 (eval $ac_try) 2>&5
18395 ac_status=$?
18396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18397 (exit $ac_status); }; }; then
18398 ac_cv_header_png_h=`cat conftestval`
18399else
18400 echo "$as_me: program exited with status $ac_status" >&5
18401echo "$as_me: failed program was:" >&5
18402sed 's/^/| /' conftest.$ac_ext >&5
18403
18404( exit $ac_status )
18405ac_cv_header_png_h=no
18406fi
18407rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18408fi
18409
18410fi
18411echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18412echo "${ECHO_T}$ac_cv_header_png_h" >&6
18413 if test "${ac_cv_header_png_h+set}" = set; then
18414 echo "$as_me:$LINENO: checking for png.h" >&5
18415echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18416if test "${ac_cv_header_png_h+set}" = set; then
18417 echo $ECHO_N "(cached) $ECHO_C" >&6
18418fi
18419echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18420echo "${ECHO_T}$ac_cv_header_png_h" >&6
18421else
18422 # Is the header compilable?
18423echo "$as_me:$LINENO: checking png.h usability" >&5
18424echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18425cat >conftest.$ac_ext <<_ACEOF
18426#line $LINENO "configure"
18427/* confdefs.h. */
18428_ACEOF
18429cat confdefs.h >>conftest.$ac_ext
18430cat >>conftest.$ac_ext <<_ACEOF
18431/* end confdefs.h. */
18432$ac_includes_default
18433#include <png.h>
18434_ACEOF
18435rm -f conftest.$ac_objext
18436if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18437 (eval $ac_compile) 2>&5
18438 ac_status=$?
18439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18440 (exit $ac_status); } &&
18441 { ac_try='test -s conftest.$ac_objext'
18442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18443 (eval $ac_try) 2>&5
18444 ac_status=$?
18445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18446 (exit $ac_status); }; }; then
18447 ac_header_compiler=yes
18448else
18449 echo "$as_me: failed program was:" >&5
18450sed 's/^/| /' conftest.$ac_ext >&5
18451
18452ac_header_compiler=no
18453fi
18454rm -f conftest.$ac_objext conftest.$ac_ext
18455echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18456echo "${ECHO_T}$ac_header_compiler" >&6
18457
18458# Is the header present?
18459echo "$as_me:$LINENO: checking png.h presence" >&5
18460echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18461cat >conftest.$ac_ext <<_ACEOF
18462#line $LINENO "configure"
18463/* confdefs.h. */
18464_ACEOF
18465cat confdefs.h >>conftest.$ac_ext
18466cat >>conftest.$ac_ext <<_ACEOF
18467/* end confdefs.h. */
18468#include <png.h>
18469_ACEOF
18470if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18471 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18472 ac_status=$?
18473 grep -v '^ *+' conftest.er1 >conftest.err
18474 rm -f conftest.er1
18475 cat conftest.err >&5
18476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18477 (exit $ac_status); } >/dev/null; then
18478 if test -s conftest.err; then
18479 ac_cpp_err=$ac_c_preproc_warn_flag
18480 else
18481 ac_cpp_err=
18482 fi
18483else
18484 ac_cpp_err=yes
18485fi
18486if test -z "$ac_cpp_err"; then
18487 ac_header_preproc=yes
18488else
18489 echo "$as_me: failed program was:" >&5
18490sed 's/^/| /' conftest.$ac_ext >&5
18491
18492 ac_header_preproc=no
18493fi
18494rm -f conftest.err conftest.$ac_ext
18495echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18496echo "${ECHO_T}$ac_header_preproc" >&6
18497
18498# So? What about this header?
18499case $ac_header_compiler:$ac_header_preproc in
18500 yes:no )
18501 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18502echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18503 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18504echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18505 (
18506 cat <<\_ASBOX
18507## ------------------------------------ ##
18508## Report this to bug-autoconf@gnu.org. ##
18509## ------------------------------------ ##
18510_ASBOX
18511 ) |
18512 sed "s/^/$as_me: WARNING: /" >&2
18513 ;;
18514 no:yes )
18515 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18516echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18517 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18518echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18519 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18520echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18521 (
18522 cat <<\_ASBOX
18523## ------------------------------------ ##
18524## Report this to bug-autoconf@gnu.org. ##
18525## ------------------------------------ ##
18526_ASBOX
18527 ) |
18528 sed "s/^/$as_me: WARNING: /" >&2
18529 ;;
18530esac
18531echo "$as_me:$LINENO: checking for png.h" >&5
18532echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18533if test "${ac_cv_header_png_h+set}" = set; then
18534 echo $ECHO_N "(cached) $ECHO_C" >&6
18535else
18536 ac_cv_header_png_h=$ac_header_preproc
18537fi
18538echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18539echo "${ECHO_T}$ac_cv_header_png_h" >&6
18540
18541fi
18542
18543
18544
18545 if test "$ac_cv_header_png_h" = "yes"; then
18546 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18547echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18548if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18549 echo $ECHO_N "(cached) $ECHO_C" >&6
18550else
18551 ac_check_lib_save_LIBS=$LIBS
18552LIBS="-lpng -lz -lm $LIBS"
18553cat >conftest.$ac_ext <<_ACEOF
18554#line $LINENO "configure"
18555/* confdefs.h. */
18556_ACEOF
18557cat confdefs.h >>conftest.$ac_ext
18558cat >>conftest.$ac_ext <<_ACEOF
18559/* end confdefs.h. */
18560
18561/* Override any gcc2 internal prototype to avoid an error. */
18562#ifdef __cplusplus
18563extern "C"
18564#endif
18565/* We use char because int might match the return type of a gcc2
18566 builtin and then its argument prototype would still apply. */
18567char png_check_sig ();
18568int
18569main ()
18570{
18571png_check_sig ();
18572 ;
18573 return 0;
18574}
18575_ACEOF
18576rm -f conftest.$ac_objext conftest$ac_exeext
18577if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18578 (eval $ac_link) 2>&5
18579 ac_status=$?
18580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18581 (exit $ac_status); } &&
18582 { ac_try='test -s conftest$ac_exeext'
18583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18584 (eval $ac_try) 2>&5
18585 ac_status=$?
18586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18587 (exit $ac_status); }; }; then
18588 ac_cv_lib_png_png_check_sig=yes
18589else
18590 echo "$as_me: failed program was:" >&5
18591sed 's/^/| /' conftest.$ac_ext >&5
18592
18593ac_cv_lib_png_png_check_sig=no
18594fi
18595rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18596LIBS=$ac_check_lib_save_LIBS
18597fi
18598echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18599echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18600if test $ac_cv_lib_png_png_check_sig = yes; then
18601 PNG_LINK=" -lpng"
18602fi
18603
18604 fi
18605
18606 if test "x$PNG_LINK" = "x" ; then
18607 if test "$wxUSE_LIBPNG" = "sys" ; then
18608 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18609echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18610 { (exit 1); exit 1; }; }
18611 else
18612 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18613echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18614 wxUSE_LIBPNG=builtin
18615 fi
18616 else
18617 wxUSE_LIBPNG=sys
18618 fi
18619 fi
18620 fi
18621
18622 if test "$wxUSE_LIBPNG" = "builtin" ; then
18623 PNG_INCLUDE="-I\${top_srcdir}/src/png"
18624 fi
18625
18626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
18627fi
18628
18629
18630JPEG_INCLUDE=
18631JPEG_LINK=
18632if test "$wxUSE_LIBJPEG" != "no" ; then
18633 cat >>confdefs.h <<\_ACEOF
18634#define wxUSE_LIBJPEG 1
18635_ACEOF
18636
18637
18638 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18639 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18640echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18641 wxUSE_LIBJPEG=sys
18642 fi
18643
18644 if test "$wxUSE_MGL" != 1 ; then
18645 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18646 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18647echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18648 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18649 echo $ECHO_N "(cached) $ECHO_C" >&6
18650else
18651 cat >conftest.$ac_ext <<_ACEOF
18652#line $LINENO "configure"
18653/* confdefs.h. */
18654_ACEOF
18655cat confdefs.h >>conftest.$ac_ext
18656cat >>conftest.$ac_ext <<_ACEOF
18657/* end confdefs.h. */
18658
18659 #undef HAVE_STDLIB_H
18660 #include <stdio.h>
18661 #include <jpeglib.h>
18662
18663int
18664main ()
18665{
18666
18667
18668 ;
18669 return 0;
18670}
18671_ACEOF
18672rm -f conftest.$ac_objext
18673if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18674 (eval $ac_compile) 2>&5
18675 ac_status=$?
18676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18677 (exit $ac_status); } &&
18678 { ac_try='test -s conftest.$ac_objext'
18679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18680 (eval $ac_try) 2>&5
18681 ac_status=$?
18682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18683 (exit $ac_status); }; }; then
18684 ac_cv_header_jpeglib_h=yes
18685else
18686 echo "$as_me: failed program was:" >&5
18687sed 's/^/| /' conftest.$ac_ext >&5
18688
18689ac_cv_header_jpeglib_h=no
18690
18691fi
18692rm -f conftest.$ac_objext conftest.$ac_ext
18693
18694fi
18695
18696 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18697echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18698
18699 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18700 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18701echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18702if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18703 echo $ECHO_N "(cached) $ECHO_C" >&6
18704else
18705 ac_check_lib_save_LIBS=$LIBS
18706LIBS="-ljpeg $LIBS"
18707cat >conftest.$ac_ext <<_ACEOF
18708#line $LINENO "configure"
18709/* confdefs.h. */
18710_ACEOF
18711cat confdefs.h >>conftest.$ac_ext
18712cat >>conftest.$ac_ext <<_ACEOF
18713/* end confdefs.h. */
18714
18715/* Override any gcc2 internal prototype to avoid an error. */
18716#ifdef __cplusplus
18717extern "C"
18718#endif
18719/* We use char because int might match the return type of a gcc2
18720 builtin and then its argument prototype would still apply. */
18721char jpeg_read_header ();
18722int
18723main ()
18724{
18725jpeg_read_header ();
18726 ;
18727 return 0;
18728}
18729_ACEOF
18730rm -f conftest.$ac_objext conftest$ac_exeext
18731if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18732 (eval $ac_link) 2>&5
18733 ac_status=$?
18734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18735 (exit $ac_status); } &&
18736 { ac_try='test -s conftest$ac_exeext'
18737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18738 (eval $ac_try) 2>&5
18739 ac_status=$?
18740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18741 (exit $ac_status); }; }; then
18742 ac_cv_lib_jpeg_jpeg_read_header=yes
18743else
18744 echo "$as_me: failed program was:" >&5
18745sed 's/^/| /' conftest.$ac_ext >&5
18746
18747ac_cv_lib_jpeg_jpeg_read_header=no
18748fi
18749rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18750LIBS=$ac_check_lib_save_LIBS
18751fi
18752echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18753echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18754if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18755 JPEG_LINK=" -ljpeg"
18756fi
18757
18758 fi
18759
18760 if test "x$JPEG_LINK" = "x" ; then
18761 if test "$wxUSE_LIBJPEG" = "sys" ; then
18762 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18763echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18764 { (exit 1); exit 1; }; }
18765 else
18766 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18767echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18768 wxUSE_LIBJPEG=builtin
18769 fi
18770 else
18771 wxUSE_LIBJPEG=sys
18772 fi
18773 fi
18774 fi
18775
18776 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18777 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
18778 fi
18779fi
18780
18781
18782TIFF_INCLUDE=
18783TIFF_LINK=
18784TIFF_PREREQ_LINKS=-lm
18785if test "$wxUSE_LIBTIFF" != "no" ; then
18786 cat >>confdefs.h <<\_ACEOF
18787#define wxUSE_LIBTIFF 1
18788_ACEOF
18789
18790
18791 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
18792 if test "$wxUSE_LIBJPEG" = "sys"; then
18793 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
18794 fi
18795 if test "$wxUSE_ZLIB" = "sys"; then
18796 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
18797 fi
18798 if test "${ac_cv_header_tiffio_h+set}" = set; then
18799 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18800echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18801if test "${ac_cv_header_tiffio_h+set}" = set; then
18802 echo $ECHO_N "(cached) $ECHO_C" >&6
18803fi
18804echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18805echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18806else
18807 # Is the header compilable?
18808echo "$as_me:$LINENO: checking tiffio.h usability" >&5
18809echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
18810cat >conftest.$ac_ext <<_ACEOF
18811#line $LINENO "configure"
18812/* confdefs.h. */
18813_ACEOF
18814cat confdefs.h >>conftest.$ac_ext
18815cat >>conftest.$ac_ext <<_ACEOF
18816/* end confdefs.h. */
18817$ac_includes_default
18818#include <tiffio.h>
18819_ACEOF
18820rm -f conftest.$ac_objext
18821if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18822 (eval $ac_compile) 2>&5
18823 ac_status=$?
18824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18825 (exit $ac_status); } &&
18826 { ac_try='test -s conftest.$ac_objext'
18827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18828 (eval $ac_try) 2>&5
18829 ac_status=$?
18830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18831 (exit $ac_status); }; }; then
18832 ac_header_compiler=yes
18833else
18834 echo "$as_me: failed program was:" >&5
18835sed 's/^/| /' conftest.$ac_ext >&5
18836
18837ac_header_compiler=no
18838fi
18839rm -f conftest.$ac_objext conftest.$ac_ext
18840echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18841echo "${ECHO_T}$ac_header_compiler" >&6
18842
18843# Is the header present?
18844echo "$as_me:$LINENO: checking tiffio.h presence" >&5
18845echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
18846cat >conftest.$ac_ext <<_ACEOF
18847#line $LINENO "configure"
18848/* confdefs.h. */
18849_ACEOF
18850cat confdefs.h >>conftest.$ac_ext
18851cat >>conftest.$ac_ext <<_ACEOF
18852/* end confdefs.h. */
18853#include <tiffio.h>
18854_ACEOF
18855if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18856 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18857 ac_status=$?
18858 grep -v '^ *+' conftest.er1 >conftest.err
18859 rm -f conftest.er1
18860 cat conftest.err >&5
18861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862 (exit $ac_status); } >/dev/null; then
18863 if test -s conftest.err; then
18864 ac_cpp_err=$ac_c_preproc_warn_flag
18865 else
18866 ac_cpp_err=
18867 fi
18868else
18869 ac_cpp_err=yes
18870fi
18871if test -z "$ac_cpp_err"; then
18872 ac_header_preproc=yes
18873else
18874 echo "$as_me: failed program was:" >&5
18875sed 's/^/| /' conftest.$ac_ext >&5
18876
18877 ac_header_preproc=no
18878fi
18879rm -f conftest.err conftest.$ac_ext
18880echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18881echo "${ECHO_T}$ac_header_preproc" >&6
18882
18883# So? What about this header?
18884case $ac_header_compiler:$ac_header_preproc in
18885 yes:no )
18886 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
18887echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18888 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18889echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18890 (
18891 cat <<\_ASBOX
18892## ------------------------------------ ##
18893## Report this to bug-autoconf@gnu.org. ##
18894## ------------------------------------ ##
18895_ASBOX
18896 ) |
18897 sed "s/^/$as_me: WARNING: /" >&2
18898 ;;
18899 no:yes )
18900 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
18901echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
18902 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
18903echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
18904 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18905echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18906 (
18907 cat <<\_ASBOX
18908## ------------------------------------ ##
18909## Report this to bug-autoconf@gnu.org. ##
18910## ------------------------------------ ##
18911_ASBOX
18912 ) |
18913 sed "s/^/$as_me: WARNING: /" >&2
18914 ;;
18915esac
18916echo "$as_me:$LINENO: checking for tiffio.h" >&5
18917echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18918if test "${ac_cv_header_tiffio_h+set}" = set; then
18919 echo $ECHO_N "(cached) $ECHO_C" >&6
18920else
18921 ac_cv_header_tiffio_h=$ac_header_preproc
18922fi
18923echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18924echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18925
18926fi
18927if test $ac_cv_header_tiffio_h = yes; then
18928 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
18929echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
18930if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
18931 echo $ECHO_N "(cached) $ECHO_C" >&6
18932else
18933 ac_check_lib_save_LIBS=$LIBS
18934LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
18935cat >conftest.$ac_ext <<_ACEOF
18936#line $LINENO "configure"
18937/* confdefs.h. */
18938_ACEOF
18939cat confdefs.h >>conftest.$ac_ext
18940cat >>conftest.$ac_ext <<_ACEOF
18941/* end confdefs.h. */
18942
18943/* Override any gcc2 internal prototype to avoid an error. */
18944#ifdef __cplusplus
18945extern "C"
18946#endif
18947/* We use char because int might match the return type of a gcc2
18948 builtin and then its argument prototype would still apply. */
18949char TIFFError ();
18950int
18951main ()
18952{
18953TIFFError ();
18954 ;
18955 return 0;
18956}
18957_ACEOF
18958rm -f conftest.$ac_objext conftest$ac_exeext
18959if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18960 (eval $ac_link) 2>&5
18961 ac_status=$?
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); } &&
18964 { ac_try='test -s conftest$ac_exeext'
18965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18966 (eval $ac_try) 2>&5
18967 ac_status=$?
18968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18969 (exit $ac_status); }; }; then
18970 ac_cv_lib_tiff_TIFFError=yes
18971else
18972 echo "$as_me: failed program was:" >&5
18973sed 's/^/| /' conftest.$ac_ext >&5
18974
18975ac_cv_lib_tiff_TIFFError=no
18976fi
18977rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18978LIBS=$ac_check_lib_save_LIBS
18979fi
18980echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
18981echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
18982if test $ac_cv_lib_tiff_TIFFError = yes; then
18983 TIFF_LINK=" -ltiff"
18984fi
18985
18986
18987fi
18988
18989
18990
18991 if test "x$TIFF_LINK" = "x" ; then
18992 if test "$wxUSE_LIBTIFF" = "sys" ; then
18993 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
18994echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
18995 { (exit 1); exit 1; }; }
18996 else
18997 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
18998echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
18999 wxUSE_LIBTIFF=builtin
19000 fi
19001 else
19002 wxUSE_LIBTIFF=sys
19003 fi
19004 fi
19005
19006 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19007 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
19008 fi
19009fi
19010
19011
19012AFMINSTALL=
19013WIN32INSTALL=
19014
19015TOOLKIT=
19016TOOLKIT_INCLUDE=
19017WIDGET_SET=
19018
19019if test "$USE_WIN32" = 1 ; then
19020
19021for ac_header in w32api.h
19022do
19023as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19024if eval "test \"\${$as_ac_Header+set}\" = set"; then
19025 echo "$as_me:$LINENO: checking for $ac_header" >&5
19026echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19027if eval "test \"\${$as_ac_Header+set}\" = set"; then
19028 echo $ECHO_N "(cached) $ECHO_C" >&6
19029fi
19030echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19031echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19032else
19033 # Is the header compilable?
19034echo "$as_me:$LINENO: checking $ac_header usability" >&5
19035echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19036cat >conftest.$ac_ext <<_ACEOF
19037#line $LINENO "configure"
19038/* confdefs.h. */
19039_ACEOF
19040cat confdefs.h >>conftest.$ac_ext
19041cat >>conftest.$ac_ext <<_ACEOF
19042/* end confdefs.h. */
19043$ac_includes_default
19044#include <$ac_header>
19045_ACEOF
19046rm -f conftest.$ac_objext
19047if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19048 (eval $ac_compile) 2>&5
19049 ac_status=$?
19050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19051 (exit $ac_status); } &&
19052 { ac_try='test -s conftest.$ac_objext'
19053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19054 (eval $ac_try) 2>&5
19055 ac_status=$?
19056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19057 (exit $ac_status); }; }; then
19058 ac_header_compiler=yes
19059else
19060 echo "$as_me: failed program was:" >&5
19061sed 's/^/| /' conftest.$ac_ext >&5
19062
19063ac_header_compiler=no
19064fi
19065rm -f conftest.$ac_objext conftest.$ac_ext
19066echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19067echo "${ECHO_T}$ac_header_compiler" >&6
19068
19069# Is the header present?
19070echo "$as_me:$LINENO: checking $ac_header presence" >&5
19071echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19072cat >conftest.$ac_ext <<_ACEOF
19073#line $LINENO "configure"
19074/* confdefs.h. */
19075_ACEOF
19076cat confdefs.h >>conftest.$ac_ext
19077cat >>conftest.$ac_ext <<_ACEOF
19078/* end confdefs.h. */
19079#include <$ac_header>
19080_ACEOF
19081if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19082 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19083 ac_status=$?
19084 grep -v '^ *+' conftest.er1 >conftest.err
19085 rm -f conftest.er1
19086 cat conftest.err >&5
19087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19088 (exit $ac_status); } >/dev/null; then
19089 if test -s conftest.err; then
19090 ac_cpp_err=$ac_c_preproc_warn_flag
19091 else
19092 ac_cpp_err=
19093 fi
19094else
19095 ac_cpp_err=yes
19096fi
19097if test -z "$ac_cpp_err"; then
19098 ac_header_preproc=yes
19099else
19100 echo "$as_me: failed program was:" >&5
19101sed 's/^/| /' conftest.$ac_ext >&5
19102
19103 ac_header_preproc=no
19104fi
19105rm -f conftest.err conftest.$ac_ext
19106echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19107echo "${ECHO_T}$ac_header_preproc" >&6
19108
19109# So? What about this header?
19110case $ac_header_compiler:$ac_header_preproc in
19111 yes:no )
19112 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19113echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19114 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19115echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19116 (
19117 cat <<\_ASBOX
19118## ------------------------------------ ##
19119## Report this to bug-autoconf@gnu.org. ##
19120## ------------------------------------ ##
19121_ASBOX
19122 ) |
19123 sed "s/^/$as_me: WARNING: /" >&2
19124 ;;
19125 no:yes )
19126 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19127echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19128 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19129echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19130 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19131echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19132 (
19133 cat <<\_ASBOX
19134## ------------------------------------ ##
19135## Report this to bug-autoconf@gnu.org. ##
19136## ------------------------------------ ##
19137_ASBOX
19138 ) |
19139 sed "s/^/$as_me: WARNING: /" >&2
19140 ;;
19141esac
19142echo "$as_me:$LINENO: checking for $ac_header" >&5
19143echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19144if eval "test \"\${$as_ac_Header+set}\" = set"; then
19145 echo $ECHO_N "(cached) $ECHO_C" >&6
19146else
19147 eval "$as_ac_Header=$ac_header_preproc"
19148fi
19149echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19150echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19151
19152fi
19153if test `eval echo '${'$as_ac_Header'}'` = yes; then
19154 cat >>confdefs.h <<_ACEOF
19155#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19156_ACEOF
19157
19158fi
19159
19160done
19161
19162 if test "${ac_cv_header_windows_h+set}" = set; then
19163 echo "$as_me:$LINENO: checking for windows.h" >&5
19164echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19165if test "${ac_cv_header_windows_h+set}" = set; then
19166 echo $ECHO_N "(cached) $ECHO_C" >&6
19167fi
19168echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19169echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19170else
19171 # Is the header compilable?
19172echo "$as_me:$LINENO: checking windows.h usability" >&5
19173echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19174cat >conftest.$ac_ext <<_ACEOF
19175#line $LINENO "configure"
19176/* confdefs.h. */
19177_ACEOF
19178cat confdefs.h >>conftest.$ac_ext
19179cat >>conftest.$ac_ext <<_ACEOF
19180/* end confdefs.h. */
19181$ac_includes_default
19182#include <windows.h>
19183_ACEOF
19184rm -f conftest.$ac_objext
19185if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19186 (eval $ac_compile) 2>&5
19187 ac_status=$?
19188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19189 (exit $ac_status); } &&
19190 { ac_try='test -s conftest.$ac_objext'
19191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19192 (eval $ac_try) 2>&5
19193 ac_status=$?
19194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19195 (exit $ac_status); }; }; then
19196 ac_header_compiler=yes
19197else
19198 echo "$as_me: failed program was:" >&5
19199sed 's/^/| /' conftest.$ac_ext >&5
19200
19201ac_header_compiler=no
19202fi
19203rm -f conftest.$ac_objext conftest.$ac_ext
19204echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19205echo "${ECHO_T}$ac_header_compiler" >&6
19206
19207# Is the header present?
19208echo "$as_me:$LINENO: checking windows.h presence" >&5
19209echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19210cat >conftest.$ac_ext <<_ACEOF
19211#line $LINENO "configure"
19212/* confdefs.h. */
19213_ACEOF
19214cat confdefs.h >>conftest.$ac_ext
19215cat >>conftest.$ac_ext <<_ACEOF
19216/* end confdefs.h. */
19217#include <windows.h>
19218_ACEOF
19219if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19220 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19221 ac_status=$?
19222 grep -v '^ *+' conftest.er1 >conftest.err
19223 rm -f conftest.er1
19224 cat conftest.err >&5
19225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19226 (exit $ac_status); } >/dev/null; then
19227 if test -s conftest.err; then
19228 ac_cpp_err=$ac_c_preproc_warn_flag
19229 else
19230 ac_cpp_err=
19231 fi
19232else
19233 ac_cpp_err=yes
19234fi
19235if test -z "$ac_cpp_err"; then
19236 ac_header_preproc=yes
19237else
19238 echo "$as_me: failed program was:" >&5
19239sed 's/^/| /' conftest.$ac_ext >&5
19240
19241 ac_header_preproc=no
19242fi
19243rm -f conftest.err conftest.$ac_ext
19244echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19245echo "${ECHO_T}$ac_header_preproc" >&6
19246
19247# So? What about this header?
19248case $ac_header_compiler:$ac_header_preproc in
19249 yes:no )
19250 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19251echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19252 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19253echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19254 (
19255 cat <<\_ASBOX
19256## ------------------------------------ ##
19257## Report this to bug-autoconf@gnu.org. ##
19258## ------------------------------------ ##
19259_ASBOX
19260 ) |
19261 sed "s/^/$as_me: WARNING: /" >&2
19262 ;;
19263 no:yes )
19264 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19265echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19266 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19267echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19268 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19269echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19270 (
19271 cat <<\_ASBOX
19272## ------------------------------------ ##
19273## Report this to bug-autoconf@gnu.org. ##
19274## ------------------------------------ ##
19275_ASBOX
19276 ) |
19277 sed "s/^/$as_me: WARNING: /" >&2
19278 ;;
19279esac
19280echo "$as_me:$LINENO: checking for windows.h" >&5
19281echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19282if test "${ac_cv_header_windows_h+set}" = set; then
19283 echo $ECHO_N "(cached) $ECHO_C" >&6
19284else
19285 ac_cv_header_windows_h=$ac_header_preproc
19286fi
19287echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19288echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19289
19290fi
19291if test $ac_cv_header_windows_h = yes; then
19292 :
19293else
19294
19295 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19296echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19297 { (exit 1); exit 1; }; }
19298
19299fi
19300
19301
19302
19303 echo "$as_me:$LINENO: checking if w32api has good enough MSIE support" >&5
19304echo $ECHO_N "checking if w32api has good enough MSIE support... $ECHO_C" >&6
19305if test "${wx_cv_w32api_win32_ie+set}" = set; then
19306 echo $ECHO_N "(cached) $ECHO_C" >&6
19307else
19308
19309 cat >conftest.$ac_ext <<_ACEOF
19310#line $LINENO "configure"
19311/* confdefs.h. */
19312_ACEOF
19313cat confdefs.h >>conftest.$ac_ext
19314cat >>conftest.$ac_ext <<_ACEOF
19315/* end confdefs.h. */
19316#include <w32api.h>
19317int
19318main ()
19319{
19320
19321 #define wxCHECK_W32API_VERSION( major, minor ) \
19322 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
19323 && ( ( __W32API_MAJOR_VERSION > (major) ) \
19324 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
19325
19326 #if !wxCHECK_W32API_VERSION(1,1)
19327 #error You need w32api 1.1 or newer
19328 #endif
19329
19330 ;
19331 return 0;
19332}
19333_ACEOF
19334rm -f conftest.$ac_objext
19335if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19336 (eval $ac_compile) 2>&5
19337 ac_status=$?
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); } &&
19340 { ac_try='test -s conftest.$ac_objext'
19341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19342 (eval $ac_try) 2>&5
19343 ac_status=$?
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); }; }; then
19346
19347 wx_cv_w32api_win32_ie=yes
19348
19349else
19350 echo "$as_me: failed program was:" >&5
19351sed 's/^/| /' conftest.$ac_ext >&5
19352
19353
19354 wx_cv_w32api_win32_ie=no
19355
19356fi
19357rm -f conftest.$ac_objext conftest.$ac_ext
19358
19359fi
19360echo "$as_me:$LINENO: result: $wx_cv_w32api_win32_ie" >&5
19361echo "${ECHO_T}$wx_cv_w32api_win32_ie" >&6
19362 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
19363 CPPFLAGS="$CPPFLAGS -D_WIN32_IE=0x400"
19364 fi
19365
19366 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19367
19368 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19369 LIBS="$LIBS -loleacc"
19370 fi
19371
19372 case "${host}" in
19373 *-*-cygwin* )
19374 LIBS="$LIBS -lkernel32 -luser32"
19375 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
19376 esac
19377
19378 if test "$wxUSE_ODBC" = "sys" ; then
19379 wxUSE_ODBC = "yes"
19380 fi
19381 if test "$wxUSE_ODBC" = "yes" ; then
19382 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
19383 cat >>confdefs.h <<\_ACEOF
19384#define wxUSE_ODBC 1
19385_ACEOF
19386
19387 fi
19388
19389 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19390 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
19391
19392 WIN32INSTALL=win32install
19393fi
19394
19395if test "$wxUSE_GUI" = "yes"; then
19396 USE_GUI=1
19397
19398 GUI_TK_LIBRARY=
19399
19400 WXGTK12=
19401 WXGTK127=
19402 WXGTK20=
19403
19404 if test "$wxUSE_MSW" = 1 ; then
19405 TOOLKIT=MSW
19406 GUIDIST=MSW_DIST
19407 fi
19408
19409 if test "$wxUSE_GTK" = 1; then
19410 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19411echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19412
19413 gtk_version_cached=1
19414 if test "${wx_cv_lib_gtk+set}" = set; then
19415 echo $ECHO_N "(cached) $ECHO_C" >&6
19416else
19417
19418 gtk_version_cached=0
19419 echo "$as_me:$LINENO: result: " >&5
19420echo "${ECHO_T}" >&6
19421
19422 GTK_MODULES=
19423 if test "$wxUSE_THREADS" = "yes"; then
19424 GTK_MODULES=gthread
19425 fi
19426
19427 wx_cv_lib_gtk=
19428 if test "x$wxUSE_GTK2" = "xyes"; then
19429 # Check whether --enable-gtktest or --disable-gtktest was given.
19430if test "${enable_gtktest+set}" = set; then
19431 enableval="$enable_gtktest"
19432
19433else
19434 enable_gtktest=yes
19435fi;
19436
19437 pkg_config_args=gtk+-2.0
19438 for module in . $GTK_MODULES
19439 do
19440 case "$module" in
19441 gthread)
19442 pkg_config_args="$pkg_config_args gthread-2.0"
19443 ;;
19444 esac
19445 done
19446
19447 no_gtk=""
19448
19449 # Extract the first word of "pkg-config", so it can be a program name with args.
19450set dummy pkg-config; ac_word=$2
19451echo "$as_me:$LINENO: checking for $ac_word" >&5
19452echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19453if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19454 echo $ECHO_N "(cached) $ECHO_C" >&6
19455else
19456 case $PKG_CONFIG in
19457 [\\/]* | ?:[\\/]*)
19458 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19459 ;;
19460 *)
19461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19462for as_dir in $PATH
19463do
19464 IFS=$as_save_IFS
19465 test -z "$as_dir" && as_dir=.
19466 for ac_exec_ext in '' $ac_executable_extensions; do
19467 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19468 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19470 break 2
19471 fi
19472done
19473done
19474
19475 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19476 ;;
19477esac
19478fi
19479PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19480
19481if test -n "$PKG_CONFIG"; then
19482 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19483echo "${ECHO_T}$PKG_CONFIG" >&6
19484else
19485 echo "$as_me:$LINENO: result: no" >&5
19486echo "${ECHO_T}no" >&6
19487fi
19488
19489
19490 if test x$PKG_CONFIG != xno ; then
19491 if pkg-config --atleast-pkgconfig-version 0.7 ; then
19492 :
19493 else
19494 echo *** pkg-config too old; version 0.7 or better required.
19495 no_gtk=yes
19496 PKG_CONFIG=no
19497 fi
19498 else
19499 no_gtk=yes
19500 fi
19501
19502 min_gtk_version=2.0.0
19503 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19504echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
19505
19506 if test x$PKG_CONFIG != xno ; then
19507 ## don't try to run the test against uninstalled libtool libs
19508 if $PKG_CONFIG --uninstalled $pkg_config_args; then
19509 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
19510 enable_gtktest=no
19511 fi
19512
19513 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
19514 :
19515 else
19516 no_gtk=yes
19517 fi
19518 fi
19519
19520 if test x"$no_gtk" = x ; then
19521 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
19522 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
19523 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19524 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19525 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19526 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19527 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19528 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19529 if test "x$enable_gtktest" = "xyes" ; then
19530 ac_save_CFLAGS="$CFLAGS"
19531 ac_save_LIBS="$LIBS"
19532 CFLAGS="$CFLAGS $GTK_CFLAGS"
19533 LIBS="$GTK_LIBS $LIBS"
19534 rm -f conf.gtktest
19535 if test "$cross_compiling" = yes; then
19536 echo $ac_n "cross compiling; assumed OK... $ac_c"
19537else
19538 cat >conftest.$ac_ext <<_ACEOF
19539#line $LINENO "configure"
19540/* confdefs.h. */
19541_ACEOF
19542cat confdefs.h >>conftest.$ac_ext
19543cat >>conftest.$ac_ext <<_ACEOF
19544/* end confdefs.h. */
19545
19546#include <gtk/gtk.h>
19547#include <stdio.h>
19548#include <stdlib.h>
19549
19550int
19551main ()
19552{
19553 int major, minor, micro;
19554 char *tmp_version;
19555
19556 system ("touch conf.gtktest");
19557
19558 /* HP/UX 9 (%@#!) writes to sscanf strings */
19559 tmp_version = g_strdup("$min_gtk_version");
19560 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
19561 printf("%s, bad version string\n", "$min_gtk_version");
19562 exit(1);
19563 }
19564
19565 if ((gtk_major_version != $gtk_config_major_version) ||
19566 (gtk_minor_version != $gtk_config_minor_version) ||
19567 (gtk_micro_version != $gtk_config_micro_version))
19568 {
19569 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19570 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19571 gtk_major_version, gtk_minor_version, gtk_micro_version);
19572 printf ("*** was found! If pkg-config was correct, then it is best\n");
19573 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19574 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19575 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19576 printf("*** required on your system.\n");
19577 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
19578 printf("*** to point to the correct configuration files\n");
19579 }
19580 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19581 (gtk_minor_version != GTK_MINOR_VERSION) ||
19582 (gtk_micro_version != GTK_MICRO_VERSION))
19583 {
19584 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19585 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19586 printf("*** library (version %d.%d.%d)\n",
19587 gtk_major_version, gtk_minor_version, gtk_micro_version);
19588 }
19589 else
19590 {
19591 if ((gtk_major_version > major) ||
19592 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19593 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19594 {
19595 return 0;
19596 }
19597 else
19598 {
19599 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19600 gtk_major_version, gtk_minor_version, gtk_micro_version);
19601 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19602 major, minor, micro);
19603 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19604 printf("***\n");
19605 printf("*** If you have already installed a sufficiently new version, this error\n");
19606 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
19607 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19608 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
19609 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
19610 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19611 printf("*** so that the correct libraries are found at run-time))\n");
19612 }
19613 }
19614 return 1;
19615}
19616
19617_ACEOF
19618rm -f conftest$ac_exeext
19619if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19620 (eval $ac_link) 2>&5
19621 ac_status=$?
19622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19623 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19625 (eval $ac_try) 2>&5
19626 ac_status=$?
19627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19628 (exit $ac_status); }; }; then
19629 :
19630else
19631 echo "$as_me: program exited with status $ac_status" >&5
19632echo "$as_me: failed program was:" >&5
19633sed 's/^/| /' conftest.$ac_ext >&5
19634
19635( exit $ac_status )
19636no_gtk=yes
19637fi
19638rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19639fi
19640 CFLAGS="$ac_save_CFLAGS"
19641 LIBS="$ac_save_LIBS"
19642 fi
19643 fi
19644 if test "x$no_gtk" = x ; then
19645 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
19646echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
19647 wx_cv_lib_gtk=2.0
19648 else
19649 echo "$as_me:$LINENO: result: no" >&5
19650echo "${ECHO_T}no" >&6
19651 if test "$PKG_CONFIG" = "no" ; then
19652 echo "*** A new enough version of pkg-config was not found."
19653 echo "*** See http://pkgconfig.sourceforge.net"
19654 else
19655 if test -f conf.gtktest ; then
19656 :
19657 else
19658 echo "*** Could not run GTK+ test program, checking why..."
19659 ac_save_CFLAGS="$CFLAGS"
19660 ac_save_LIBS="$LIBS"
19661 CFLAGS="$CFLAGS $GTK_CFLAGS"
19662 LIBS="$LIBS $GTK_LIBS"
19663 cat >conftest.$ac_ext <<_ACEOF
19664#line $LINENO "configure"
19665/* confdefs.h. */
19666_ACEOF
19667cat confdefs.h >>conftest.$ac_ext
19668cat >>conftest.$ac_ext <<_ACEOF
19669/* end confdefs.h. */
19670
19671#include <gtk/gtk.h>
19672#include <stdio.h>
19673
19674int
19675main ()
19676{
19677 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19678 ;
19679 return 0;
19680}
19681_ACEOF
19682rm -f conftest.$ac_objext conftest$ac_exeext
19683if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19684 (eval $ac_link) 2>&5
19685 ac_status=$?
19686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19687 (exit $ac_status); } &&
19688 { ac_try='test -s conftest$ac_exeext'
19689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19690 (eval $ac_try) 2>&5
19691 ac_status=$?
19692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19693 (exit $ac_status); }; }; then
19694 echo "*** The test program compiled, but did not run. This usually means"
19695 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
19696 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
19697 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
19698 echo "*** to the installed location Also, make sure you have run ldconfig if that"
19699 echo "*** is required on your system"
19700 echo "***"
19701 echo "*** If you have an old version installed, it is best to remove it, although"
19702 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
19703else
19704 echo "$as_me: failed program was:" >&5
19705sed 's/^/| /' conftest.$ac_ext >&5
19706
19707 echo "*** The test program failed to compile or link. See the file config.log for the"
19708 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
19709fi
19710rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19711 CFLAGS="$ac_save_CFLAGS"
19712 LIBS="$ac_save_LIBS"
19713 fi
19714 fi
19715 GTK_CFLAGS=""
19716 GTK_LIBS=""
19717 :
19718 fi
19719
19720
19721 rm -f conf.gtktest
19722
19723 else
19724
19725# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
19726if test "${with_gtk_prefix+set}" = set; then
19727 withval="$with_gtk_prefix"
19728 gtk_config_prefix="$withval"
19729else
19730 gtk_config_prefix=""
19731fi;
19732
19733# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
19734if test "${with_gtk_exec_prefix+set}" = set; then
19735 withval="$with_gtk_exec_prefix"
19736 gtk_config_exec_prefix="$withval"
19737else
19738 gtk_config_exec_prefix=""
19739fi;
19740# Check whether --enable-gtktest or --disable-gtktest was given.
19741if test "${enable_gtktest+set}" = set; then
19742 enableval="$enable_gtktest"
19743
19744else
19745 enable_gtktest=yes
19746fi;
19747
19748 for module in . $GTK_MODULES
19749 do
19750 case "$module" in
19751 gthread)
19752 gtk_config_args="$gtk_config_args gthread"
19753 ;;
19754 esac
19755 done
19756
19757 if test x$gtk_config_exec_prefix != x ; then
19758 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
19759 if test x${GTK_CONFIG+set} != xset ; then
19760 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
19761 fi
19762 fi
19763 if test x$gtk_config_prefix != x ; then
19764 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
19765 if test x${GTK_CONFIG+set} != xset ; then
19766 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
19767 fi
19768 fi
19769
19770 # Extract the first word of "gtk-config", so it can be a program name with args.
19771set dummy gtk-config; ac_word=$2
19772echo "$as_me:$LINENO: checking for $ac_word" >&5
19773echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19774if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
19775 echo $ECHO_N "(cached) $ECHO_C" >&6
19776else
19777 case $GTK_CONFIG in
19778 [\\/]* | ?:[\\/]*)
19779 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
19780 ;;
19781 *)
19782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19783for as_dir in $PATH
19784do
19785 IFS=$as_save_IFS
19786 test -z "$as_dir" && as_dir=.
19787 for ac_exec_ext in '' $ac_executable_extensions; do
19788 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19789 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19790 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19791 break 2
19792 fi
19793done
19794done
19795
19796 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
19797 ;;
19798esac
19799fi
19800GTK_CONFIG=$ac_cv_path_GTK_CONFIG
19801
19802if test -n "$GTK_CONFIG"; then
19803 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
19804echo "${ECHO_T}$GTK_CONFIG" >&6
19805else
19806 echo "$as_me:$LINENO: result: no" >&5
19807echo "${ECHO_T}no" >&6
19808fi
19809
19810 min_gtk_version=1.2.7
19811 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
19812echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
19813 no_gtk=""
19814 if test "$GTK_CONFIG" = "no" ; then
19815 no_gtk=yes
19816 else
19817 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
19818 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
19819 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
19820 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19821 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
19822 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19823 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
19824 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19825 if test "x$enable_gtktest" = "xyes" ; then
19826 ac_save_CFLAGS="$CFLAGS"
19827 ac_save_LIBS="$LIBS"
19828 CFLAGS="$CFLAGS $GTK_CFLAGS"
19829 LIBS="$GTK_LIBS $LIBS"
19830 rm -f conf.gtktest
19831 if test "$cross_compiling" = yes; then
19832 echo $ac_n "cross compiling; assumed OK... $ac_c"
19833else
19834 cat >conftest.$ac_ext <<_ACEOF
19835#line $LINENO "configure"
19836/* confdefs.h. */
19837_ACEOF
19838cat confdefs.h >>conftest.$ac_ext
19839cat >>conftest.$ac_ext <<_ACEOF
19840/* end confdefs.h. */
19841
19842#include <gtk/gtk.h>
19843#include <stdio.h>
19844#include <stdlib.h>
19845
19846int
19847main ()
19848{
19849 int major, minor, micro;
19850 char *tmp_version;
19851
19852 system ("touch conf.gtktest");
19853
19854 /* HP/UX 9 (%@#!) writes to sscanf strings */
19855 tmp_version = g_strdup("$min_gtk_version");
19856 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
19857 printf("%s, bad version string\n", "$min_gtk_version");
19858 exit(1);
19859 }
19860
19861 if ((gtk_major_version != $gtk_config_major_version) ||
19862 (gtk_minor_version != $gtk_config_minor_version) ||
19863 (gtk_micro_version != $gtk_config_micro_version))
19864 {
19865 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19866 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19867 gtk_major_version, gtk_minor_version, gtk_micro_version);
19868 printf ("*** was found! If gtk-config was correct, then it is best\n");
19869 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19870 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19871 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19872 printf("*** required on your system.\n");
19873 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
19874 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
19875 printf("*** before re-running configure\n");
19876 }
19877#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
19878 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19879 (gtk_minor_version != GTK_MINOR_VERSION) ||
19880 (gtk_micro_version != GTK_MICRO_VERSION))
19881 {
19882 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19883 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19884 printf("*** library (version %d.%d.%d)\n",
19885 gtk_major_version, gtk_minor_version, gtk_micro_version);
19886 }
19887#endif /* defined (GTK_MAJOR_VERSION) ... */
19888 else
19889 {
19890 if ((gtk_major_version > major) ||
19891 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19892 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19893 {
19894 return 0;
19895 }
19896 else
19897 {
19898 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19899 gtk_major_version, gtk_minor_version, gtk_micro_version);
19900 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19901 major, minor, micro);
19902 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19903 printf("***\n");
19904 printf("*** If you have already installed a sufficiently new version, this error\n");
19905 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
19906 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19907 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
19908 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
19909 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19910 printf("*** so that the correct libraries are found at run-time))\n");
19911 }
19912 }
19913 return 1;
19914}
19915
19916_ACEOF
19917rm -f conftest$ac_exeext
19918if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19919 (eval $ac_link) 2>&5
19920 ac_status=$?
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19924 (eval $ac_try) 2>&5
19925 ac_status=$?
19926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19927 (exit $ac_status); }; }; then
19928 :
19929else
19930 echo "$as_me: program exited with status $ac_status" >&5
19931echo "$as_me: failed program was:" >&5
19932sed 's/^/| /' conftest.$ac_ext >&5
19933
19934( exit $ac_status )
19935no_gtk=yes
19936fi
19937rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19938fi
19939 CFLAGS="$ac_save_CFLAGS"
19940 LIBS="$ac_save_LIBS"
19941 fi
19942 fi
19943 if test "x$no_gtk" = x ; then
19944 echo "$as_me:$LINENO: result: yes" >&5
19945echo "${ECHO_T}yes" >&6
19946 wx_cv_lib_gtk=1.2.7
19947 else
19948 echo "$as_me:$LINENO: result: no" >&5
19949echo "${ECHO_T}no" >&6
19950 if test "$GTK_CONFIG" = "no" ; then
19951 echo "*** The gtk-config script installed by GTK could not be found"
19952 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
19953 echo "*** your path, or set the GTK_CONFIG environment variable to the"
19954 echo "*** full path to gtk-config."
19955 else
19956 if test -f conf.gtktest ; then
19957 :
19958 else
19959 echo "*** Could not run GTK test program, checking why..."
19960 CFLAGS="$CFLAGS $GTK_CFLAGS"
19961 LIBS="$LIBS $GTK_LIBS"
19962 cat >conftest.$ac_ext <<_ACEOF
19963#line $LINENO "configure"
19964/* confdefs.h. */
19965_ACEOF
19966cat confdefs.h >>conftest.$ac_ext
19967cat >>conftest.$ac_ext <<_ACEOF
19968/* end confdefs.h. */
19969
19970#include <gtk/gtk.h>
19971#include <stdio.h>
19972
19973int
19974main ()
19975{
19976 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19977 ;
19978 return 0;
19979}
19980_ACEOF
19981rm -f conftest.$ac_objext conftest$ac_exeext
19982if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19983 (eval $ac_link) 2>&5
19984 ac_status=$?
19985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19986 (exit $ac_status); } &&
19987 { ac_try='test -s conftest$ac_exeext'
19988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19989 (eval $ac_try) 2>&5
19990 ac_status=$?
19991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19992 (exit $ac_status); }; }; then
19993 echo "*** The test program compiled, but did not run. This usually means"
19994 echo "*** that the run-time linker is not finding GTK or finding the wrong"
19995 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
19996 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
19997 echo "*** to the installed location Also, make sure you have run ldconfig if that"
19998 echo "*** is required on your system"
19999 echo "***"
20000 echo "*** If you have an old version installed, it is best to remove it, although"
20001 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20002 echo "***"
20003 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20004 echo "*** came with the system with the command"
20005 echo "***"
20006 echo "*** rpm --erase --nodeps gtk gtk-devel"
20007else
20008 echo "$as_me: failed program was:" >&5
20009sed 's/^/| /' conftest.$ac_ext >&5
20010
20011 echo "*** The test program failed to compile or link. See the file config.log for the"
20012 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20013 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20014 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20015fi
20016rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20017 CFLAGS="$ac_save_CFLAGS"
20018 LIBS="$ac_save_LIBS"
20019 fi
20020 fi
20021 GTK_CFLAGS=""
20022 GTK_LIBS=""
20023 :
20024 fi
20025
20026
20027 rm -f conf.gtktest
20028
20029
20030 if test -z "$wx_cv_lib_gtk"; then
20031
20032# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20033if test "${with_gtk_prefix+set}" = set; then
20034 withval="$with_gtk_prefix"
20035 gtk_config_prefix="$withval"
20036else
20037 gtk_config_prefix=""
20038fi;
20039
20040# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20041if test "${with_gtk_exec_prefix+set}" = set; then
20042 withval="$with_gtk_exec_prefix"
20043 gtk_config_exec_prefix="$withval"
20044else
20045 gtk_config_exec_prefix=""
20046fi;
20047# Check whether --enable-gtktest or --disable-gtktest was given.
20048if test "${enable_gtktest+set}" = set; then
20049 enableval="$enable_gtktest"
20050
20051else
20052 enable_gtktest=yes
20053fi;
20054
20055 for module in . $GTK_MODULES
20056 do
20057 case "$module" in
20058 gthread)
20059 gtk_config_args="$gtk_config_args gthread"
20060 ;;
20061 esac
20062 done
20063
20064 if test x$gtk_config_exec_prefix != x ; then
20065 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20066 if test x${GTK_CONFIG+set} != xset ; then
20067 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20068 fi
20069 fi
20070 if test x$gtk_config_prefix != x ; then
20071 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20072 if test x${GTK_CONFIG+set} != xset ; then
20073 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20074 fi
20075 fi
20076
20077 # Extract the first word of "gtk-config", so it can be a program name with args.
20078set dummy gtk-config; ac_word=$2
20079echo "$as_me:$LINENO: checking for $ac_word" >&5
20080echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20081if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20082 echo $ECHO_N "(cached) $ECHO_C" >&6
20083else
20084 case $GTK_CONFIG in
20085 [\\/]* | ?:[\\/]*)
20086 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20087 ;;
20088 *)
20089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20090for as_dir in $PATH
20091do
20092 IFS=$as_save_IFS
20093 test -z "$as_dir" && as_dir=.
20094 for ac_exec_ext in '' $ac_executable_extensions; do
20095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20096 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20098 break 2
20099 fi
20100done
20101done
20102
20103 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20104 ;;
20105esac
20106fi
20107GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20108
20109if test -n "$GTK_CONFIG"; then
20110 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20111echo "${ECHO_T}$GTK_CONFIG" >&6
20112else
20113 echo "$as_me:$LINENO: result: no" >&5
20114echo "${ECHO_T}no" >&6
20115fi
20116
20117 min_gtk_version=1.2.3
20118 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20119echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20120 no_gtk=""
20121 if test "$GTK_CONFIG" = "no" ; then
20122 no_gtk=yes
20123 else
20124 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20125 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20126 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20127 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20128 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20129 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20130 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20131 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20132 if test "x$enable_gtktest" = "xyes" ; then
20133 ac_save_CFLAGS="$CFLAGS"
20134 ac_save_LIBS="$LIBS"
20135 CFLAGS="$CFLAGS $GTK_CFLAGS"
20136 LIBS="$GTK_LIBS $LIBS"
20137 rm -f conf.gtktest
20138 if test "$cross_compiling" = yes; then
20139 echo $ac_n "cross compiling; assumed OK... $ac_c"
20140else
20141 cat >conftest.$ac_ext <<_ACEOF
20142#line $LINENO "configure"
20143/* confdefs.h. */
20144_ACEOF
20145cat confdefs.h >>conftest.$ac_ext
20146cat >>conftest.$ac_ext <<_ACEOF
20147/* end confdefs.h. */
20148
20149#include <gtk/gtk.h>
20150#include <stdio.h>
20151#include <stdlib.h>
20152
20153int
20154main ()
20155{
20156 int major, minor, micro;
20157 char *tmp_version;
20158
20159 system ("touch conf.gtktest");
20160
20161 /* HP/UX 9 (%@#!) writes to sscanf strings */
20162 tmp_version = g_strdup("$min_gtk_version");
20163 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20164 printf("%s, bad version string\n", "$min_gtk_version");
20165 exit(1);
20166 }
20167
20168 if ((gtk_major_version != $gtk_config_major_version) ||
20169 (gtk_minor_version != $gtk_config_minor_version) ||
20170 (gtk_micro_version != $gtk_config_micro_version))
20171 {
20172 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20173 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20174 gtk_major_version, gtk_minor_version, gtk_micro_version);
20175 printf ("*** was found! If gtk-config was correct, then it is best\n");
20176 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20177 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20178 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20179 printf("*** required on your system.\n");
20180 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20181 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20182 printf("*** before re-running configure\n");
20183 }
20184#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20185 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20186 (gtk_minor_version != GTK_MINOR_VERSION) ||
20187 (gtk_micro_version != GTK_MICRO_VERSION))
20188 {
20189 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20190 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20191 printf("*** library (version %d.%d.%d)\n",
20192 gtk_major_version, gtk_minor_version, gtk_micro_version);
20193 }
20194#endif /* defined (GTK_MAJOR_VERSION) ... */
20195 else
20196 {
20197 if ((gtk_major_version > major) ||
20198 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20199 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20200 {
20201 return 0;
20202 }
20203 else
20204 {
20205 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20206 gtk_major_version, gtk_minor_version, gtk_micro_version);
20207 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20208 major, minor, micro);
20209 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20210 printf("***\n");
20211 printf("*** If you have already installed a sufficiently new version, this error\n");
20212 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20213 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20214 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20215 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20216 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20217 printf("*** so that the correct libraries are found at run-time))\n");
20218 }
20219 }
20220 return 1;
20221}
20222
20223_ACEOF
20224rm -f conftest$ac_exeext
20225if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20226 (eval $ac_link) 2>&5
20227 ac_status=$?
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20231 (eval $ac_try) 2>&5
20232 ac_status=$?
20233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20234 (exit $ac_status); }; }; then
20235 :
20236else
20237 echo "$as_me: program exited with status $ac_status" >&5
20238echo "$as_me: failed program was:" >&5
20239sed 's/^/| /' conftest.$ac_ext >&5
20240
20241( exit $ac_status )
20242no_gtk=yes
20243fi
20244rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20245fi
20246 CFLAGS="$ac_save_CFLAGS"
20247 LIBS="$ac_save_LIBS"
20248 fi
20249 fi
20250 if test "x$no_gtk" = x ; then
20251 echo "$as_me:$LINENO: result: yes" >&5
20252echo "${ECHO_T}yes" >&6
20253 wx_cv_lib_gtk=1.2.3
20254 else
20255 echo "$as_me:$LINENO: result: no" >&5
20256echo "${ECHO_T}no" >&6
20257 if test "$GTK_CONFIG" = "no" ; then
20258 echo "*** The gtk-config script installed by GTK could not be found"
20259 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20260 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20261 echo "*** full path to gtk-config."
20262 else
20263 if test -f conf.gtktest ; then
20264 :
20265 else
20266 echo "*** Could not run GTK test program, checking why..."
20267 CFLAGS="$CFLAGS $GTK_CFLAGS"
20268 LIBS="$LIBS $GTK_LIBS"
20269 cat >conftest.$ac_ext <<_ACEOF
20270#line $LINENO "configure"
20271/* confdefs.h. */
20272_ACEOF
20273cat confdefs.h >>conftest.$ac_ext
20274cat >>conftest.$ac_ext <<_ACEOF
20275/* end confdefs.h. */
20276
20277#include <gtk/gtk.h>
20278#include <stdio.h>
20279
20280int
20281main ()
20282{
20283 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20284 ;
20285 return 0;
20286}
20287_ACEOF
20288rm -f conftest.$ac_objext conftest$ac_exeext
20289if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20290 (eval $ac_link) 2>&5
20291 ac_status=$?
20292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293 (exit $ac_status); } &&
20294 { ac_try='test -s conftest$ac_exeext'
20295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20296 (eval $ac_try) 2>&5
20297 ac_status=$?
20298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299 (exit $ac_status); }; }; then
20300 echo "*** The test program compiled, but did not run. This usually means"
20301 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20302 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20303 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20304 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20305 echo "*** is required on your system"
20306 echo "***"
20307 echo "*** If you have an old version installed, it is best to remove it, although"
20308 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20309 echo "***"
20310 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20311 echo "*** came with the system with the command"
20312 echo "***"
20313 echo "*** rpm --erase --nodeps gtk gtk-devel"
20314else
20315 echo "$as_me: failed program was:" >&5
20316sed 's/^/| /' conftest.$ac_ext >&5
20317
20318 echo "*** The test program failed to compile or link. See the file config.log for the"
20319 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20320 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20321 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20322fi
20323rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20324 CFLAGS="$ac_save_CFLAGS"
20325 LIBS="$ac_save_LIBS"
20326 fi
20327 fi
20328 GTK_CFLAGS=""
20329 GTK_LIBS=""
20330 :
20331 fi
20332
20333
20334 rm -f conf.gtktest
20335
20336 fi
20337 fi
20338
20339 if test -z "$wx_cv_lib_gtk"; then
20340 wx_cv_lib_gtk=none
20341 else
20342 wx_cv_cflags_gtk=$GTK_CFLAGS
20343 wx_cv_libs_gtk=$GTK_LIBS
20344 fi
20345
20346
20347fi
20348
20349
20350 if test "$gtk_version_cached" = 1; then
20351 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20352echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20353 fi
20354
20355 case "$wx_cv_lib_gtk" in
20356 2.0) WXGTK20=1
20357 TOOLKIT_VERSION=2
20358 ;;
20359 1.2.7) WXGTK127=1
20360 WXGTK12=1
20361 ;;
20362 1.2.3) WXGTK12=1
20363 ;;
20364 *) { { echo "$as_me:$LINENO: error:
20365Please check that gtk-config is in path, the directory
20366where GTK+ libraries are installed (returned by
20367'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20368equivalent variable and GTK+ is version 1.2.3 or above.
20369 " >&5
20370echo "$as_me: error:
20371Please check that gtk-config is in path, the directory
20372where GTK+ libraries are installed (returned by
20373'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20374equivalent variable and GTK+ is version 1.2.3 or above.
20375 " >&2;}
20376 { (exit 1); exit 1; }; }
20377 ;;
20378 esac
20379
20380 if test "$WXGTK20" = 1; then
20381 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20382
20383 succeeded=no
20384
20385 if test -z "$PKG_CONFIG"; then
20386 # Extract the first word of "pkg-config", so it can be a program name with args.
20387set dummy pkg-config; ac_word=$2
20388echo "$as_me:$LINENO: checking for $ac_word" >&5
20389echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20390if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20391 echo $ECHO_N "(cached) $ECHO_C" >&6
20392else
20393 case $PKG_CONFIG in
20394 [\\/]* | ?:[\\/]*)
20395 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20396 ;;
20397 *)
20398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20399for as_dir in $PATH
20400do
20401 IFS=$as_save_IFS
20402 test -z "$as_dir" && as_dir=.
20403 for ac_exec_ext in '' $ac_executable_extensions; do
20404 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20405 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20407 break 2
20408 fi
20409done
20410done
20411
20412 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20413 ;;
20414esac
20415fi
20416PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20417
20418if test -n "$PKG_CONFIG"; then
20419 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20420echo "${ECHO_T}$PKG_CONFIG" >&6
20421else
20422 echo "$as_me:$LINENO: result: no" >&5
20423echo "${ECHO_T}no" >&6
20424fi
20425
20426 fi
20427
20428 if test "$PKG_CONFIG" = "no" ; then
20429 echo "*** The pkg-config script could not be found. Make sure it is"
20430 echo "*** in your path, or set the PKG_CONFIG environment variable"
20431 echo "*** to the full path to pkg-config."
20432 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20433 else
20434 PKG_CONFIG_MIN_VERSION=0.9.0
20435 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20436 echo "$as_me:$LINENO: checking for pangoft2" >&5
20437echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20438
20439 if $PKG_CONFIG --exists "pangoft2" ; then
20440 echo "$as_me:$LINENO: result: yes" >&5
20441echo "${ECHO_T}yes" >&6
20442 succeeded=yes
20443
20444 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20445echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20446 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
20447 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20448echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20449
20450 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20451echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20452 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
20453 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20454echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20455 else
20456 PANGOFT2_CFLAGS=""
20457 PANGOFT2_LIBS=""
20458 ## If we have a custom action on failure, don't print errors, but
20459 ## do set a variable so people can do so.
20460 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20461
20462 fi
20463
20464
20465
20466 else
20467 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20468 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20469 fi
20470 fi
20471
20472 if test $succeeded = yes; then
20473
20474 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
20475 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
20476
20477 else
20478
20479 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20480echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20481 wxUSE_PRINTING_ARCHITECTURE="no"
20482
20483
20484 fi
20485
20486 fi
20487 else
20488 if test "$wxUSE_UNICODE" = "yes"; then
20489 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20490echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20491 wxUSE_UNICODE=no
20492 fi
20493 fi
20494
20495 if test "$USE_DARWIN" != 1; then
20496
20497for ac_func in poll
20498do
20499as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20500echo "$as_me:$LINENO: checking for $ac_func" >&5
20501echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20502if eval "test \"\${$as_ac_var+set}\" = set"; then
20503 echo $ECHO_N "(cached) $ECHO_C" >&6
20504else
20505 cat >conftest.$ac_ext <<_ACEOF
20506#line $LINENO "configure"
20507/* confdefs.h. */
20508_ACEOF
20509cat confdefs.h >>conftest.$ac_ext
20510cat >>conftest.$ac_ext <<_ACEOF
20511/* end confdefs.h. */
20512/* System header to define __stub macros and hopefully few prototypes,
20513 which can conflict with char $ac_func (); below.
20514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20515 <limits.h> exists even on freestanding compilers. */
20516#ifdef __STDC__
20517# include <limits.h>
20518#else
20519# include <assert.h>
20520#endif
20521/* Override any gcc2 internal prototype to avoid an error. */
20522#ifdef __cplusplus
20523extern "C"
20524{
20525#endif
20526/* We use char because int might match the return type of a gcc2
20527 builtin and then its argument prototype would still apply. */
20528char $ac_func ();
20529/* The GNU C library defines this for functions which it implements
20530 to always fail with ENOSYS. Some functions are actually named
20531 something starting with __ and the normal name is an alias. */
20532#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20533choke me
20534#else
20535char (*f) () = $ac_func;
20536#endif
20537#ifdef __cplusplus
20538}
20539#endif
20540
20541int
20542main ()
20543{
20544return f != $ac_func;
20545 ;
20546 return 0;
20547}
20548_ACEOF
20549rm -f conftest.$ac_objext conftest$ac_exeext
20550if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20551 (eval $ac_link) 2>&5
20552 ac_status=$?
20553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20554 (exit $ac_status); } &&
20555 { ac_try='test -s conftest$ac_exeext'
20556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20557 (eval $ac_try) 2>&5
20558 ac_status=$?
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); }; }; then
20561 eval "$as_ac_var=yes"
20562else
20563 echo "$as_me: failed program was:" >&5
20564sed 's/^/| /' conftest.$ac_ext >&5
20565
20566eval "$as_ac_var=no"
20567fi
20568rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20569fi
20570echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20571echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20572if test `eval echo '${'$as_ac_var'}'` = yes; then
20573 cat >>confdefs.h <<_ACEOF
20574#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20575_ACEOF
20576
20577fi
20578done
20579
20580 fi
20581
20582 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
20583 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
20584
20585 AFMINSTALL=afminstall
20586 TOOLKIT=GTK
20587 GUIDIST=GTK_DIST
20588
20589 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
20590echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
20591if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
20592 echo $ECHO_N "(cached) $ECHO_C" >&6
20593else
20594 ac_check_lib_save_LIBS=$LIBS
20595LIBS="-lgdk $LIBS"
20596cat >conftest.$ac_ext <<_ACEOF
20597#line $LINENO "configure"
20598/* confdefs.h. */
20599_ACEOF
20600cat confdefs.h >>conftest.$ac_ext
20601cat >>conftest.$ac_ext <<_ACEOF
20602/* end confdefs.h. */
20603
20604/* Override any gcc2 internal prototype to avoid an error. */
20605#ifdef __cplusplus
20606extern "C"
20607#endif
20608/* We use char because int might match the return type of a gcc2
20609 builtin and then its argument prototype would still apply. */
20610char gdk_im_open ();
20611int
20612main ()
20613{
20614gdk_im_open ();
20615 ;
20616 return 0;
20617}
20618_ACEOF
20619rm -f conftest.$ac_objext conftest$ac_exeext
20620if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20621 (eval $ac_link) 2>&5
20622 ac_status=$?
20623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20624 (exit $ac_status); } &&
20625 { ac_try='test -s conftest$ac_exeext'
20626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20627 (eval $ac_try) 2>&5
20628 ac_status=$?
20629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20630 (exit $ac_status); }; }; then
20631 ac_cv_lib_gdk_gdk_im_open=yes
20632else
20633 echo "$as_me: failed program was:" >&5
20634sed 's/^/| /' conftest.$ac_ext >&5
20635
20636ac_cv_lib_gdk_gdk_im_open=no
20637fi
20638rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20639LIBS=$ac_check_lib_save_LIBS
20640fi
20641echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
20642echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
20643if test $ac_cv_lib_gdk_gdk_im_open = yes; then
20644 cat >>confdefs.h <<\_ACEOF
20645#define HAVE_XIM 1
20646_ACEOF
20647
20648fi
20649
20650 fi
20651
20652 if test "$wxUSE_MGL" = 1; then
20653 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
20654echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
20655 if test "x$MGL_ROOT" = x ; then
20656 echo "$as_me:$LINENO: result: not found" >&5
20657echo "${ECHO_T}not found" >&6
20658 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
20659echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
20660 { (exit 1); exit 1; }; }
20661 else
20662 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
20663echo "${ECHO_T}$MGL_ROOT" >&6
20664 fi
20665
20666 echo "$as_me:$LINENO: checking for libmgl location" >&5
20667echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
20668 case "${host}" in
20669 *-*-linux* )
20670 if test "x$wxUSE_SHARED" = xyes ; then
20671 mgl_os_candidates="linux/gcc/glibc.so linux/gcc/glibc"
20672 else
20673 mgl_os_candidates="linux/gcc/glibc linux/gcc/glibc.so"
20674 fi
20675 ;;
20676 *-pc-msdosdjgpp )
20677 mgl_os_candidates="dos32/dj2"
20678 ;;
20679 *)
20680 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
20681echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
20682 { (exit 1); exit 1; }; }
20683 esac
20684
20685 mgl_lib_type=""
20686 mgl_os=""
20687
20688 for mgl_os_i in $mgl_os_candidates ; do
20689 if test "x$mgl_os" = x ; then
20690 if test "$wxUSE_DEBUG_FLAG" = yes ; then
20691 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
20692 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
20693 mgl_lib_type=debug
20694 mgl_os=$mgl_os_i
20695 fi
20696 fi
20697 if test "x$mgl_lib_type" = x ; then
20698 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
20699 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
20700 mgl_lib_type=release
20701 mgl_os=$mgl_os_i
20702 fi
20703 fi
20704 fi
20705 done
20706
20707 if test "x$mgl_os" = x ; then
20708 echo "$as_me:$LINENO: result: not found" >&5
20709echo "${ECHO_T}not found" >&6
20710 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
20711echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
20712 { (exit 1); exit 1; }; }
20713 fi
20714 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
20715echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
20716
20717 wxUSE_UNIVERSAL="yes"
20718
20719 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
20720 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
20721
20722 AFMINSTALL=afminstall
20723 TOOLKIT=MGL
20724 GUIDIST=MGL_DIST
20725 fi
20726
20727 if test "$wxUSE_MICROWIN" = 1; then
20728 echo "$as_me:$LINENO: checking for MicroWindows" >&5
20729echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
20730 if test "x$MICROWINDOWS" = x ; then
20731 echo "$as_me:$LINENO: result: not found" >&5
20732echo "${ECHO_T}not found" >&6
20733 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
20734echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
20735 { (exit 1); exit 1; }; }
20736 else
20737 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
20738echo "${ECHO_T}$MICROWINDOWS" >&6
20739 fi
20740
20741 if test -f $MICROWINDOWS/lib/libmwin.a; then
20742 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
20743echo "${ECHO_T}MicroWindows' libraries found." >&6
20744 else
20745 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
20746echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
20747 { (exit 1); exit 1; }; }
20748 fi
20749
20750 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
20751 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
20752
20753 wxUSE_UNIVERSAL="yes"
20754
20755 AFMINSTALL=afminstall
20756 TOOLKIT=MICROWIN
20757 GUIDIST=MICROWIN_DIST
20758
20759 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
20760 fi
20761
20762 if test "$wxUSE_X11" = 1; then
20763 echo "$as_me:$LINENO: checking for X" >&5
20764echo $ECHO_N "checking for X... $ECHO_C" >&6
20765
20766
20767# Check whether --with-x or --without-x was given.
20768if test "${with_x+set}" = set; then
20769 withval="$with_x"
20770
20771fi;
20772# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
20773if test "x$with_x" = xno; then
20774 # The user explicitly disabled X.
20775 have_x=disabled
20776else
20777 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
20778 # Both variables are already set.
20779 have_x=yes
20780 else
20781 if test "${ac_cv_have_x+set}" = set; then
20782 echo $ECHO_N "(cached) $ECHO_C" >&6
20783else
20784 # One or both of the vars are not set, and there is no cached value.
20785ac_x_includes=no ac_x_libraries=no
20786rm -fr conftest.dir
20787if mkdir conftest.dir; then
20788 cd conftest.dir
20789 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
20790 cat >Imakefile <<'_ACEOF'
20791acfindx:
20792 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
20793_ACEOF
20794 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
20795 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20796 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
20797 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
20798 for ac_extension in a so sl; do
20799 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
20800 test -f $ac_im_libdir/libX11.$ac_extension; then
20801 ac_im_usrlibdir=$ac_im_libdir; break
20802 fi
20803 done
20804 # Screen out bogus values from the imake configuration. They are
20805 # bogus both because they are the default anyway, and because
20806 # using them would break gcc on systems where it needs fixed includes.
20807 case $ac_im_incroot in
20808 /usr/include) ;;
20809 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
20810 esac
20811 case $ac_im_usrlibdir in
20812 /usr/lib | /lib) ;;
20813 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
20814 esac
20815 fi
20816 cd ..
20817 rm -fr conftest.dir
20818fi
20819
20820# Standard set of common directories for X headers.
20821# Check X11 before X11Rn because it is often a symlink to the current release.
20822ac_x_header_dirs='
20823/usr/X11/include
20824/usr/X11R6/include
20825/usr/X11R5/include
20826/usr/X11R4/include
20827
20828/usr/include/X11
20829/usr/include/X11R6
20830/usr/include/X11R5
20831/usr/include/X11R4
20832
20833/usr/local/X11/include
20834/usr/local/X11R6/include
20835/usr/local/X11R5/include
20836/usr/local/X11R4/include
20837
20838/usr/local/include/X11
20839/usr/local/include/X11R6
20840/usr/local/include/X11R5
20841/usr/local/include/X11R4
20842
20843/usr/X386/include
20844/usr/x386/include
20845/usr/XFree86/include/X11
20846
20847/usr/include
20848/usr/local/include
20849/usr/unsupported/include
20850/usr/athena/include
20851/usr/local/x11r5/include
20852/usr/lpp/Xamples/include
20853
20854/usr/openwin/include
20855/usr/openwin/share/include'
20856
20857if test "$ac_x_includes" = no; then
20858 # Guess where to find include files, by looking for Intrinsic.h.
20859 # First, try using that file with no special directory specified.
20860 cat >conftest.$ac_ext <<_ACEOF
20861#line $LINENO "configure"
20862/* confdefs.h. */
20863_ACEOF
20864cat confdefs.h >>conftest.$ac_ext
20865cat >>conftest.$ac_ext <<_ACEOF
20866/* end confdefs.h. */
20867#include <X11/Intrinsic.h>
20868_ACEOF
20869if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20870 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20871 ac_status=$?
20872 grep -v '^ *+' conftest.er1 >conftest.err
20873 rm -f conftest.er1
20874 cat conftest.err >&5
20875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20876 (exit $ac_status); } >/dev/null; then
20877 if test -s conftest.err; then
20878 ac_cpp_err=$ac_c_preproc_warn_flag
20879 else
20880 ac_cpp_err=
20881 fi
20882else
20883 ac_cpp_err=yes
20884fi
20885if test -z "$ac_cpp_err"; then
20886 # We can compile using X headers with no special include directory.
20887ac_x_includes=
20888else
20889 echo "$as_me: failed program was:" >&5
20890sed 's/^/| /' conftest.$ac_ext >&5
20891
20892 for ac_dir in $ac_x_header_dirs; do
20893 if test -r "$ac_dir/X11/Intrinsic.h"; then
20894 ac_x_includes=$ac_dir
20895 break
20896 fi
20897done
20898fi
20899rm -f conftest.err conftest.$ac_ext
20900fi # $ac_x_includes = no
20901
20902if test "$ac_x_libraries" = no; then
20903 # Check for the libraries.
20904 # See if we find them without any special options.
20905 # Don't add to $LIBS permanently.
20906 ac_save_LIBS=$LIBS
20907 LIBS="-lXt $LIBS"
20908 cat >conftest.$ac_ext <<_ACEOF
20909#line $LINENO "configure"
20910/* confdefs.h. */
20911_ACEOF
20912cat confdefs.h >>conftest.$ac_ext
20913cat >>conftest.$ac_ext <<_ACEOF
20914/* end confdefs.h. */
20915#include <X11/Intrinsic.h>
20916int
20917main ()
20918{
20919XtMalloc (0)
20920 ;
20921 return 0;
20922}
20923_ACEOF
20924rm -f conftest.$ac_objext conftest$ac_exeext
20925if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20926 (eval $ac_link) 2>&5
20927 ac_status=$?
20928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20929 (exit $ac_status); } &&
20930 { ac_try='test -s conftest$ac_exeext'
20931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20932 (eval $ac_try) 2>&5
20933 ac_status=$?
20934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20935 (exit $ac_status); }; }; then
20936 LIBS=$ac_save_LIBS
20937# We can link X programs with no special library path.
20938ac_x_libraries=
20939else
20940 echo "$as_me: failed program was:" >&5
20941sed 's/^/| /' conftest.$ac_ext >&5
20942
20943LIBS=$ac_save_LIBS
20944for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
20945do
20946 # Don't even attempt the hair of trying to link an X program!
20947 for ac_extension in a so sl; do
20948 if test -r $ac_dir/libXt.$ac_extension; then
20949 ac_x_libraries=$ac_dir
20950 break 2
20951 fi
20952 done
20953done
20954fi
20955rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20956fi # $ac_x_libraries = no
20957
20958if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
20959 # Didn't find X anywhere. Cache the known absence of X.
20960 ac_cv_have_x="have_x=no"
20961else
20962 # Record where we found X for the cache.
20963 ac_cv_have_x="have_x=yes \
20964 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
20965fi
20966fi
20967
20968 fi
20969 eval "$ac_cv_have_x"
20970fi # $with_x != no
20971
20972if test "$have_x" != yes; then
20973 echo "$as_me:$LINENO: result: $have_x" >&5
20974echo "${ECHO_T}$have_x" >&6
20975 no_x=yes
20976else
20977 # If each of the values was on the command line, it overrides each guess.
20978 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
20979 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
20980 # Update the cache value to reflect the command line values.
20981 ac_cv_have_x="have_x=yes \
20982 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
20983 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
20984echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
20985fi
20986
20987if test "$no_x" = yes; then
20988 # Not all programs may use this symbol, but it does not hurt to define it.
20989
20990cat >>confdefs.h <<\_ACEOF
20991#define X_DISPLAY_MISSING 1
20992_ACEOF
20993
20994 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
20995else
20996 if test -n "$x_includes"; then
20997 X_CFLAGS="$X_CFLAGS -I$x_includes"
20998 fi
20999
21000 # It would also be nice to do this for all -L options, not just this one.
21001 if test -n "$x_libraries"; then
21002 X_LIBS="$X_LIBS -L$x_libraries"
21003 # For Solaris; some versions of Sun CC require a space after -R and
21004 # others require no space. Words are not sufficient . . . .
21005 case `(uname -sr) 2>/dev/null` in
21006 "SunOS 5"*)
21007 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21008echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21009 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
21010 cat >conftest.$ac_ext <<_ACEOF
21011#line $LINENO "configure"
21012/* confdefs.h. */
21013_ACEOF
21014cat confdefs.h >>conftest.$ac_ext
21015cat >>conftest.$ac_ext <<_ACEOF
21016/* end confdefs.h. */
21017
21018int
21019main ()
21020{
21021
21022 ;
21023 return 0;
21024}
21025_ACEOF
21026rm -f conftest.$ac_objext conftest$ac_exeext
21027if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21028 (eval $ac_link) 2>&5
21029 ac_status=$?
21030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21031 (exit $ac_status); } &&
21032 { ac_try='test -s conftest$ac_exeext'
21033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21034 (eval $ac_try) 2>&5
21035 ac_status=$?
21036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21037 (exit $ac_status); }; }; then
21038 ac_R_nospace=yes
21039else
21040 echo "$as_me: failed program was:" >&5
21041sed 's/^/| /' conftest.$ac_ext >&5
21042
21043ac_R_nospace=no
21044fi
21045rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21046 if test $ac_R_nospace = yes; then
21047 echo "$as_me:$LINENO: result: no" >&5
21048echo "${ECHO_T}no" >&6
21049 X_LIBS="$X_LIBS -R$x_libraries"
21050 else
21051 LIBS="$ac_xsave_LIBS -R $x_libraries"
21052 cat >conftest.$ac_ext <<_ACEOF
21053#line $LINENO "configure"
21054/* confdefs.h. */
21055_ACEOF
21056cat confdefs.h >>conftest.$ac_ext
21057cat >>conftest.$ac_ext <<_ACEOF
21058/* end confdefs.h. */
21059
21060int
21061main ()
21062{
21063
21064 ;
21065 return 0;
21066}
21067_ACEOF
21068rm -f conftest.$ac_objext conftest$ac_exeext
21069if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21070 (eval $ac_link) 2>&5
21071 ac_status=$?
21072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21073 (exit $ac_status); } &&
21074 { ac_try='test -s conftest$ac_exeext'
21075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21076 (eval $ac_try) 2>&5
21077 ac_status=$?
21078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21079 (exit $ac_status); }; }; then
21080 ac_R_space=yes
21081else
21082 echo "$as_me: failed program was:" >&5
21083sed 's/^/| /' conftest.$ac_ext >&5
21084
21085ac_R_space=no
21086fi
21087rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21088 if test $ac_R_space = yes; then
21089 echo "$as_me:$LINENO: result: yes" >&5
21090echo "${ECHO_T}yes" >&6
21091 X_LIBS="$X_LIBS -R $x_libraries"
21092 else
21093 echo "$as_me:$LINENO: result: neither works" >&5
21094echo "${ECHO_T}neither works" >&6
21095 fi
21096 fi
21097 LIBS=$ac_xsave_LIBS
21098 esac
21099 fi
21100
21101 # Check for system-dependent libraries X programs must link with.
21102 # Do this before checking for the system-independent R6 libraries
21103 # (-lICE), since we may need -lsocket or whatever for X linking.
21104
21105 if test "$ISC" = yes; then
21106 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
21107 else
21108 # Martyn Johnson says this is needed for Ultrix, if the X
21109 # libraries were built with DECnet support. And Karl Berry says
21110 # the Alpha needs dnet_stub (dnet does not exist).
21111 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
21112 cat >conftest.$ac_ext <<_ACEOF
21113#line $LINENO "configure"
21114/* confdefs.h. */
21115_ACEOF
21116cat confdefs.h >>conftest.$ac_ext
21117cat >>conftest.$ac_ext <<_ACEOF
21118/* end confdefs.h. */
21119
21120/* Override any gcc2 internal prototype to avoid an error. */
21121#ifdef __cplusplus
21122extern "C"
21123#endif
21124/* We use char because int might match the return type of a gcc2
21125 builtin and then its argument prototype would still apply. */
21126char XOpenDisplay ();
21127int
21128main ()
21129{
21130XOpenDisplay ();
21131 ;
21132 return 0;
21133}
21134_ACEOF
21135rm -f conftest.$ac_objext conftest$ac_exeext
21136if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21137 (eval $ac_link) 2>&5
21138 ac_status=$?
21139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21140 (exit $ac_status); } &&
21141 { ac_try='test -s conftest$ac_exeext'
21142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21143 (eval $ac_try) 2>&5
21144 ac_status=$?
21145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21146 (exit $ac_status); }; }; then
21147 :
21148else
21149 echo "$as_me: failed program was:" >&5
21150sed 's/^/| /' conftest.$ac_ext >&5
21151
21152echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21153echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21154if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21155 echo $ECHO_N "(cached) $ECHO_C" >&6
21156else
21157 ac_check_lib_save_LIBS=$LIBS
21158LIBS="-ldnet $LIBS"
21159cat >conftest.$ac_ext <<_ACEOF
21160#line $LINENO "configure"
21161/* confdefs.h. */
21162_ACEOF
21163cat confdefs.h >>conftest.$ac_ext
21164cat >>conftest.$ac_ext <<_ACEOF
21165/* end confdefs.h. */
21166
21167/* Override any gcc2 internal prototype to avoid an error. */
21168#ifdef __cplusplus
21169extern "C"
21170#endif
21171/* We use char because int might match the return type of a gcc2
21172 builtin and then its argument prototype would still apply. */
21173char dnet_ntoa ();
21174int
21175main ()
21176{
21177dnet_ntoa ();
21178 ;
21179 return 0;
21180}
21181_ACEOF
21182rm -f conftest.$ac_objext conftest$ac_exeext
21183if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21184 (eval $ac_link) 2>&5
21185 ac_status=$?
21186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21187 (exit $ac_status); } &&
21188 { ac_try='test -s conftest$ac_exeext'
21189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21190 (eval $ac_try) 2>&5
21191 ac_status=$?
21192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21193 (exit $ac_status); }; }; then
21194 ac_cv_lib_dnet_dnet_ntoa=yes
21195else
21196 echo "$as_me: failed program was:" >&5
21197sed 's/^/| /' conftest.$ac_ext >&5
21198
21199ac_cv_lib_dnet_dnet_ntoa=no
21200fi
21201rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21202LIBS=$ac_check_lib_save_LIBS
21203fi
21204echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21205echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21206if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21207 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
21208fi
21209
21210 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
21211 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21212echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21213if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21214 echo $ECHO_N "(cached) $ECHO_C" >&6
21215else
21216 ac_check_lib_save_LIBS=$LIBS
21217LIBS="-ldnet_stub $LIBS"
21218cat >conftest.$ac_ext <<_ACEOF
21219#line $LINENO "configure"
21220/* confdefs.h. */
21221_ACEOF
21222cat confdefs.h >>conftest.$ac_ext
21223cat >>conftest.$ac_ext <<_ACEOF
21224/* end confdefs.h. */
21225
21226/* Override any gcc2 internal prototype to avoid an error. */
21227#ifdef __cplusplus
21228extern "C"
21229#endif
21230/* We use char because int might match the return type of a gcc2
21231 builtin and then its argument prototype would still apply. */
21232char dnet_ntoa ();
21233int
21234main ()
21235{
21236dnet_ntoa ();
21237 ;
21238 return 0;
21239}
21240_ACEOF
21241rm -f conftest.$ac_objext conftest$ac_exeext
21242if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21243 (eval $ac_link) 2>&5
21244 ac_status=$?
21245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21246 (exit $ac_status); } &&
21247 { ac_try='test -s conftest$ac_exeext'
21248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21249 (eval $ac_try) 2>&5
21250 ac_status=$?
21251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21252 (exit $ac_status); }; }; then
21253 ac_cv_lib_dnet_stub_dnet_ntoa=yes
21254else
21255 echo "$as_me: failed program was:" >&5
21256sed 's/^/| /' conftest.$ac_ext >&5
21257
21258ac_cv_lib_dnet_stub_dnet_ntoa=no
21259fi
21260rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21261LIBS=$ac_check_lib_save_LIBS
21262fi
21263echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21264echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21265if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21266 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
21267fi
21268
21269 fi
21270fi
21271rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21272 LIBS="$ac_xsave_LIBS"
21273
21274 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21275 # to get the SysV transport functions.
21276 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21277 # needs -lnsl.
21278 # The nsl library prevents programs from opening the X display
21279 # on Irix 5.2, according to T.E. Dickey.
21280 # The functions gethostbyname, getservbyname, and inet_addr are
21281 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21282 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21283echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21284if test "${ac_cv_func_gethostbyname+set}" = set; then
21285 echo $ECHO_N "(cached) $ECHO_C" >&6
21286else
21287 cat >conftest.$ac_ext <<_ACEOF
21288#line $LINENO "configure"
21289/* confdefs.h. */
21290_ACEOF
21291cat confdefs.h >>conftest.$ac_ext
21292cat >>conftest.$ac_ext <<_ACEOF
21293/* end confdefs.h. */
21294/* System header to define __stub macros and hopefully few prototypes,
21295 which can conflict with char gethostbyname (); below.
21296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21297 <limits.h> exists even on freestanding compilers. */
21298#ifdef __STDC__
21299# include <limits.h>
21300#else
21301# include <assert.h>
21302#endif
21303/* Override any gcc2 internal prototype to avoid an error. */
21304#ifdef __cplusplus
21305extern "C"
21306{
21307#endif
21308/* We use char because int might match the return type of a gcc2
21309 builtin and then its argument prototype would still apply. */
21310char gethostbyname ();
21311/* The GNU C library defines this for functions which it implements
21312 to always fail with ENOSYS. Some functions are actually named
21313 something starting with __ and the normal name is an alias. */
21314#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21315choke me
21316#else
21317char (*f) () = gethostbyname;
21318#endif
21319#ifdef __cplusplus
21320}
21321#endif
21322
21323int
21324main ()
21325{
21326return f != gethostbyname;
21327 ;
21328 return 0;
21329}
21330_ACEOF
21331rm -f conftest.$ac_objext conftest$ac_exeext
21332if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21333 (eval $ac_link) 2>&5
21334 ac_status=$?
21335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21336 (exit $ac_status); } &&
21337 { ac_try='test -s conftest$ac_exeext'
21338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21339 (eval $ac_try) 2>&5
21340 ac_status=$?
21341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21342 (exit $ac_status); }; }; then
21343 ac_cv_func_gethostbyname=yes
21344else
21345 echo "$as_me: failed program was:" >&5
21346sed 's/^/| /' conftest.$ac_ext >&5
21347
21348ac_cv_func_gethostbyname=no
21349fi
21350rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21351fi
21352echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21353echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21354
21355 if test $ac_cv_func_gethostbyname = no; then
21356 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21357echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21358if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21359 echo $ECHO_N "(cached) $ECHO_C" >&6
21360else
21361 ac_check_lib_save_LIBS=$LIBS
21362LIBS="-lnsl $LIBS"
21363cat >conftest.$ac_ext <<_ACEOF
21364#line $LINENO "configure"
21365/* confdefs.h. */
21366_ACEOF
21367cat confdefs.h >>conftest.$ac_ext
21368cat >>conftest.$ac_ext <<_ACEOF
21369/* end confdefs.h. */
21370
21371/* Override any gcc2 internal prototype to avoid an error. */
21372#ifdef __cplusplus
21373extern "C"
21374#endif
21375/* We use char because int might match the return type of a gcc2
21376 builtin and then its argument prototype would still apply. */
21377char gethostbyname ();
21378int
21379main ()
21380{
21381gethostbyname ();
21382 ;
21383 return 0;
21384}
21385_ACEOF
21386rm -f conftest.$ac_objext conftest$ac_exeext
21387if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21388 (eval $ac_link) 2>&5
21389 ac_status=$?
21390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21391 (exit $ac_status); } &&
21392 { ac_try='test -s conftest$ac_exeext'
21393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21394 (eval $ac_try) 2>&5
21395 ac_status=$?
21396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21397 (exit $ac_status); }; }; then
21398 ac_cv_lib_nsl_gethostbyname=yes
21399else
21400 echo "$as_me: failed program was:" >&5
21401sed 's/^/| /' conftest.$ac_ext >&5
21402
21403ac_cv_lib_nsl_gethostbyname=no
21404fi
21405rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21406LIBS=$ac_check_lib_save_LIBS
21407fi
21408echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21409echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21410if test $ac_cv_lib_nsl_gethostbyname = yes; then
21411 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
21412fi
21413
21414 if test $ac_cv_lib_nsl_gethostbyname = no; then
21415 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21416echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21417if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21418 echo $ECHO_N "(cached) $ECHO_C" >&6
21419else
21420 ac_check_lib_save_LIBS=$LIBS
21421LIBS="-lbsd $LIBS"
21422cat >conftest.$ac_ext <<_ACEOF
21423#line $LINENO "configure"
21424/* confdefs.h. */
21425_ACEOF
21426cat confdefs.h >>conftest.$ac_ext
21427cat >>conftest.$ac_ext <<_ACEOF
21428/* end confdefs.h. */
21429
21430/* Override any gcc2 internal prototype to avoid an error. */
21431#ifdef __cplusplus
21432extern "C"
21433#endif
21434/* We use char because int might match the return type of a gcc2
21435 builtin and then its argument prototype would still apply. */
21436char gethostbyname ();
21437int
21438main ()
21439{
21440gethostbyname ();
21441 ;
21442 return 0;
21443}
21444_ACEOF
21445rm -f conftest.$ac_objext conftest$ac_exeext
21446if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21447 (eval $ac_link) 2>&5
21448 ac_status=$?
21449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21450 (exit $ac_status); } &&
21451 { ac_try='test -s conftest$ac_exeext'
21452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21453 (eval $ac_try) 2>&5
21454 ac_status=$?
21455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); }; }; then
21457 ac_cv_lib_bsd_gethostbyname=yes
21458else
21459 echo "$as_me: failed program was:" >&5
21460sed 's/^/| /' conftest.$ac_ext >&5
21461
21462ac_cv_lib_bsd_gethostbyname=no
21463fi
21464rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21465LIBS=$ac_check_lib_save_LIBS
21466fi
21467echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21468echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21469if test $ac_cv_lib_bsd_gethostbyname = yes; then
21470 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
21471fi
21472
21473 fi
21474 fi
21475
21476 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21477 # socket/setsockopt and other routines are undefined under SCO ODT
21478 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21479 # on later versions), says Simon Leinen: it contains gethostby*
21480 # variants that don't use the name server (or something). -lsocket
21481 # must be given before -lnsl if both are needed. We assume that
21482 # if connect needs -lnsl, so does gethostbyname.
21483 echo "$as_me:$LINENO: checking for connect" >&5
21484echo $ECHO_N "checking for connect... $ECHO_C" >&6
21485if test "${ac_cv_func_connect+set}" = set; then
21486 echo $ECHO_N "(cached) $ECHO_C" >&6
21487else
21488 cat >conftest.$ac_ext <<_ACEOF
21489#line $LINENO "configure"
21490/* confdefs.h. */
21491_ACEOF
21492cat confdefs.h >>conftest.$ac_ext
21493cat >>conftest.$ac_ext <<_ACEOF
21494/* end confdefs.h. */
21495/* System header to define __stub macros and hopefully few prototypes,
21496 which can conflict with char connect (); below.
21497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21498 <limits.h> exists even on freestanding compilers. */
21499#ifdef __STDC__
21500# include <limits.h>
21501#else
21502# include <assert.h>
21503#endif
21504/* Override any gcc2 internal prototype to avoid an error. */
21505#ifdef __cplusplus
21506extern "C"
21507{
21508#endif
21509/* We use char because int might match the return type of a gcc2
21510 builtin and then its argument prototype would still apply. */
21511char connect ();
21512/* The GNU C library defines this for functions which it implements
21513 to always fail with ENOSYS. Some functions are actually named
21514 something starting with __ and the normal name is an alias. */
21515#if defined (__stub_connect) || defined (__stub___connect)
21516choke me
21517#else
21518char (*f) () = connect;
21519#endif
21520#ifdef __cplusplus
21521}
21522#endif
21523
21524int
21525main ()
21526{
21527return f != connect;
21528 ;
21529 return 0;
21530}
21531_ACEOF
21532rm -f conftest.$ac_objext conftest$ac_exeext
21533if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21534 (eval $ac_link) 2>&5
21535 ac_status=$?
21536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21537 (exit $ac_status); } &&
21538 { ac_try='test -s conftest$ac_exeext'
21539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21540 (eval $ac_try) 2>&5
21541 ac_status=$?
21542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21543 (exit $ac_status); }; }; then
21544 ac_cv_func_connect=yes
21545else
21546 echo "$as_me: failed program was:" >&5
21547sed 's/^/| /' conftest.$ac_ext >&5
21548
21549ac_cv_func_connect=no
21550fi
21551rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21552fi
21553echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21554echo "${ECHO_T}$ac_cv_func_connect" >&6
21555
21556 if test $ac_cv_func_connect = no; then
21557 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21558echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21559if test "${ac_cv_lib_socket_connect+set}" = set; then
21560 echo $ECHO_N "(cached) $ECHO_C" >&6
21561else
21562 ac_check_lib_save_LIBS=$LIBS
21563LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
21564cat >conftest.$ac_ext <<_ACEOF
21565#line $LINENO "configure"
21566/* confdefs.h. */
21567_ACEOF
21568cat confdefs.h >>conftest.$ac_ext
21569cat >>conftest.$ac_ext <<_ACEOF
21570/* end confdefs.h. */
21571
21572/* Override any gcc2 internal prototype to avoid an error. */
21573#ifdef __cplusplus
21574extern "C"
21575#endif
21576/* We use char because int might match the return type of a gcc2
21577 builtin and then its argument prototype would still apply. */
21578char connect ();
21579int
21580main ()
21581{
21582connect ();
21583 ;
21584 return 0;
21585}
21586_ACEOF
21587rm -f conftest.$ac_objext conftest$ac_exeext
21588if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21589 (eval $ac_link) 2>&5
21590 ac_status=$?
21591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21592 (exit $ac_status); } &&
21593 { ac_try='test -s conftest$ac_exeext'
21594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21595 (eval $ac_try) 2>&5
21596 ac_status=$?
21597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598 (exit $ac_status); }; }; then
21599 ac_cv_lib_socket_connect=yes
21600else
21601 echo "$as_me: failed program was:" >&5
21602sed 's/^/| /' conftest.$ac_ext >&5
21603
21604ac_cv_lib_socket_connect=no
21605fi
21606rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21607LIBS=$ac_check_lib_save_LIBS
21608fi
21609echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
21610echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
21611if test $ac_cv_lib_socket_connect = yes; then
21612 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
21613fi
21614
21615 fi
21616
21617 # Guillermo Gomez says -lposix is necessary on A/UX.
21618 echo "$as_me:$LINENO: checking for remove" >&5
21619echo $ECHO_N "checking for remove... $ECHO_C" >&6
21620if test "${ac_cv_func_remove+set}" = set; then
21621 echo $ECHO_N "(cached) $ECHO_C" >&6
21622else
21623 cat >conftest.$ac_ext <<_ACEOF
21624#line $LINENO "configure"
21625/* confdefs.h. */
21626_ACEOF
21627cat confdefs.h >>conftest.$ac_ext
21628cat >>conftest.$ac_ext <<_ACEOF
21629/* end confdefs.h. */
21630/* System header to define __stub macros and hopefully few prototypes,
21631 which can conflict with char remove (); below.
21632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21633 <limits.h> exists even on freestanding compilers. */
21634#ifdef __STDC__
21635# include <limits.h>
21636#else
21637# include <assert.h>
21638#endif
21639/* Override any gcc2 internal prototype to avoid an error. */
21640#ifdef __cplusplus
21641extern "C"
21642{
21643#endif
21644/* We use char because int might match the return type of a gcc2
21645 builtin and then its argument prototype would still apply. */
21646char remove ();
21647/* The GNU C library defines this for functions which it implements
21648 to always fail with ENOSYS. Some functions are actually named
21649 something starting with __ and the normal name is an alias. */
21650#if defined (__stub_remove) || defined (__stub___remove)
21651choke me
21652#else
21653char (*f) () = remove;
21654#endif
21655#ifdef __cplusplus
21656}
21657#endif
21658
21659int
21660main ()
21661{
21662return f != remove;
21663 ;
21664 return 0;
21665}
21666_ACEOF
21667rm -f conftest.$ac_objext conftest$ac_exeext
21668if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21669 (eval $ac_link) 2>&5
21670 ac_status=$?
21671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21672 (exit $ac_status); } &&
21673 { ac_try='test -s conftest$ac_exeext'
21674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21675 (eval $ac_try) 2>&5
21676 ac_status=$?
21677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21678 (exit $ac_status); }; }; then
21679 ac_cv_func_remove=yes
21680else
21681 echo "$as_me: failed program was:" >&5
21682sed 's/^/| /' conftest.$ac_ext >&5
21683
21684ac_cv_func_remove=no
21685fi
21686rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21687fi
21688echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
21689echo "${ECHO_T}$ac_cv_func_remove" >&6
21690
21691 if test $ac_cv_func_remove = no; then
21692 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
21693echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
21694if test "${ac_cv_lib_posix_remove+set}" = set; then
21695 echo $ECHO_N "(cached) $ECHO_C" >&6
21696else
21697 ac_check_lib_save_LIBS=$LIBS
21698LIBS="-lposix $LIBS"
21699cat >conftest.$ac_ext <<_ACEOF
21700#line $LINENO "configure"
21701/* confdefs.h. */
21702_ACEOF
21703cat confdefs.h >>conftest.$ac_ext
21704cat >>conftest.$ac_ext <<_ACEOF
21705/* end confdefs.h. */
21706
21707/* Override any gcc2 internal prototype to avoid an error. */
21708#ifdef __cplusplus
21709extern "C"
21710#endif
21711/* We use char because int might match the return type of a gcc2
21712 builtin and then its argument prototype would still apply. */
21713char remove ();
21714int
21715main ()
21716{
21717remove ();
21718 ;
21719 return 0;
21720}
21721_ACEOF
21722rm -f conftest.$ac_objext conftest$ac_exeext
21723if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21724 (eval $ac_link) 2>&5
21725 ac_status=$?
21726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21727 (exit $ac_status); } &&
21728 { ac_try='test -s conftest$ac_exeext'
21729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21730 (eval $ac_try) 2>&5
21731 ac_status=$?
21732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21733 (exit $ac_status); }; }; then
21734 ac_cv_lib_posix_remove=yes
21735else
21736 echo "$as_me: failed program was:" >&5
21737sed 's/^/| /' conftest.$ac_ext >&5
21738
21739ac_cv_lib_posix_remove=no
21740fi
21741rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21742LIBS=$ac_check_lib_save_LIBS
21743fi
21744echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
21745echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
21746if test $ac_cv_lib_posix_remove = yes; then
21747 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
21748fi
21749
21750 fi
21751
21752 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
21753 echo "$as_me:$LINENO: checking for shmat" >&5
21754echo $ECHO_N "checking for shmat... $ECHO_C" >&6
21755if test "${ac_cv_func_shmat+set}" = set; then
21756 echo $ECHO_N "(cached) $ECHO_C" >&6
21757else
21758 cat >conftest.$ac_ext <<_ACEOF
21759#line $LINENO "configure"
21760/* confdefs.h. */
21761_ACEOF
21762cat confdefs.h >>conftest.$ac_ext
21763cat >>conftest.$ac_ext <<_ACEOF
21764/* end confdefs.h. */
21765/* System header to define __stub macros and hopefully few prototypes,
21766 which can conflict with char shmat (); below.
21767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21768 <limits.h> exists even on freestanding compilers. */
21769#ifdef __STDC__
21770# include <limits.h>
21771#else
21772# include <assert.h>
21773#endif
21774/* Override any gcc2 internal prototype to avoid an error. */
21775#ifdef __cplusplus
21776extern "C"
21777{
21778#endif
21779/* We use char because int might match the return type of a gcc2
21780 builtin and then its argument prototype would still apply. */
21781char shmat ();
21782/* The GNU C library defines this for functions which it implements
21783 to always fail with ENOSYS. Some functions are actually named
21784 something starting with __ and the normal name is an alias. */
21785#if defined (__stub_shmat) || defined (__stub___shmat)
21786choke me
21787#else
21788char (*f) () = shmat;
21789#endif
21790#ifdef __cplusplus
21791}
21792#endif
21793
21794int
21795main ()
21796{
21797return f != shmat;
21798 ;
21799 return 0;
21800}
21801_ACEOF
21802rm -f conftest.$ac_objext conftest$ac_exeext
21803if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21804 (eval $ac_link) 2>&5
21805 ac_status=$?
21806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21807 (exit $ac_status); } &&
21808 { ac_try='test -s conftest$ac_exeext'
21809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21810 (eval $ac_try) 2>&5
21811 ac_status=$?
21812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21813 (exit $ac_status); }; }; then
21814 ac_cv_func_shmat=yes
21815else
21816 echo "$as_me: failed program was:" >&5
21817sed 's/^/| /' conftest.$ac_ext >&5
21818
21819ac_cv_func_shmat=no
21820fi
21821rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21822fi
21823echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
21824echo "${ECHO_T}$ac_cv_func_shmat" >&6
21825
21826 if test $ac_cv_func_shmat = no; then
21827 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
21828echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
21829if test "${ac_cv_lib_ipc_shmat+set}" = set; then
21830 echo $ECHO_N "(cached) $ECHO_C" >&6
21831else
21832 ac_check_lib_save_LIBS=$LIBS
21833LIBS="-lipc $LIBS"
21834cat >conftest.$ac_ext <<_ACEOF
21835#line $LINENO "configure"
21836/* confdefs.h. */
21837_ACEOF
21838cat confdefs.h >>conftest.$ac_ext
21839cat >>conftest.$ac_ext <<_ACEOF
21840/* end confdefs.h. */
21841
21842/* Override any gcc2 internal prototype to avoid an error. */
21843#ifdef __cplusplus
21844extern "C"
21845#endif
21846/* We use char because int might match the return type of a gcc2
21847 builtin and then its argument prototype would still apply. */
21848char shmat ();
21849int
21850main ()
21851{
21852shmat ();
21853 ;
21854 return 0;
21855}
21856_ACEOF
21857rm -f conftest.$ac_objext conftest$ac_exeext
21858if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21859 (eval $ac_link) 2>&5
21860 ac_status=$?
21861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21862 (exit $ac_status); } &&
21863 { ac_try='test -s conftest$ac_exeext'
21864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21865 (eval $ac_try) 2>&5
21866 ac_status=$?
21867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21868 (exit $ac_status); }; }; then
21869 ac_cv_lib_ipc_shmat=yes
21870else
21871 echo "$as_me: failed program was:" >&5
21872sed 's/^/| /' conftest.$ac_ext >&5
21873
21874ac_cv_lib_ipc_shmat=no
21875fi
21876rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21877LIBS=$ac_check_lib_save_LIBS
21878fi
21879echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
21880echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
21881if test $ac_cv_lib_ipc_shmat = yes; then
21882 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
21883fi
21884
21885 fi
21886 fi
21887
21888 # Check for libraries that X11R6 Xt/Xaw programs need.
21889 ac_save_LDFLAGS=$LDFLAGS
21890 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
21891 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
21892 # check for ICE first), but we must link in the order -lSM -lICE or
21893 # we get undefined symbols. So assume we have SM if we have ICE.
21894 # These have to be linked with before -lX11, unlike the other
21895 # libraries we check for below, so use a different variable.
21896 # John Interrante, Karl Berry
21897 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
21898echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
21899if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
21900 echo $ECHO_N "(cached) $ECHO_C" >&6
21901else
21902 ac_check_lib_save_LIBS=$LIBS
21903LIBS="-lICE $X_EXTRA_LIBS $LIBS"
21904cat >conftest.$ac_ext <<_ACEOF
21905#line $LINENO "configure"
21906/* confdefs.h. */
21907_ACEOF
21908cat confdefs.h >>conftest.$ac_ext
21909cat >>conftest.$ac_ext <<_ACEOF
21910/* end confdefs.h. */
21911
21912/* Override any gcc2 internal prototype to avoid an error. */
21913#ifdef __cplusplus
21914extern "C"
21915#endif
21916/* We use char because int might match the return type of a gcc2
21917 builtin and then its argument prototype would still apply. */
21918char IceConnectionNumber ();
21919int
21920main ()
21921{
21922IceConnectionNumber ();
21923 ;
21924 return 0;
21925}
21926_ACEOF
21927rm -f conftest.$ac_objext conftest$ac_exeext
21928if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21929 (eval $ac_link) 2>&5
21930 ac_status=$?
21931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21932 (exit $ac_status); } &&
21933 { ac_try='test -s conftest$ac_exeext'
21934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21935 (eval $ac_try) 2>&5
21936 ac_status=$?
21937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21938 (exit $ac_status); }; }; then
21939 ac_cv_lib_ICE_IceConnectionNumber=yes
21940else
21941 echo "$as_me: failed program was:" >&5
21942sed 's/^/| /' conftest.$ac_ext >&5
21943
21944ac_cv_lib_ICE_IceConnectionNumber=no
21945fi
21946rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21947LIBS=$ac_check_lib_save_LIBS
21948fi
21949echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
21950echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
21951if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
21952 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
21953fi
21954
21955 LDFLAGS=$ac_save_LDFLAGS
21956
21957fi
21958
21959
21960 if test "$no_x" = "yes"; then
21961 { { echo "$as_me:$LINENO: error: X11 not found" >&5
21962echo "$as_me: error: X11 not found" >&2;}
21963 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
21964 fi
21965
21966 GUI_TK_LIBRARY="$X_LIBS"
21967 TOOLKIT_INCLUDE="$X_CFLAGS"
21968 AFMINSTALL=afminstall
21969 COMPILED_X_PROGRAM=0
21970
21971 if test "$wxUSE_NANOX" = "yes"; then
21972 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
21973echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
21974 if test "x$MICROWIN" = x ; then
21975 echo "$as_me:$LINENO: result: not found" >&5
21976echo "${ECHO_T}not found" >&6
21977 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
21978echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
21979 { (exit 1); exit 1; }; }
21980 else
21981 echo "$as_me:$LINENO: result: $MICROWIN" >&5
21982echo "${ECHO_T}$MICROWIN" >&6
21983 cat >>confdefs.h <<\_ACEOF
21984#define wxUSE_NANOX 1
21985_ACEOF
21986
21987 fi
21988 fi
21989
21990 xpm_link=
21991 echo "$as_me:$LINENO: checking for Xpm library" >&5
21992echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
21993
21994ac_find_libraries=
21995for ac_dir in $SEARCH_LIB /usr/lib;
21996 do
21997 for ac_extension in a so sl dylib; do
21998 if test -f "$ac_dir/libXpm.$ac_extension"; then
21999 ac_find_libraries=$ac_dir
22000 break 2
22001 fi
22002 done
22003 done
22004
22005 if test "$ac_find_libraries" != "" ; then
22006
22007 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
22008 result=$?
22009 if test $result = 0; then
22010 ac_path_to_link=""
22011 else
22012 ac_path_to_link=" -L$ac_find_libraries"
22013 fi
22014
22015 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
22016 xpm_link=" -lXpm"
22017 cat >>confdefs.h <<\_ACEOF
22018#define wxHAVE_LIB_XPM 1
22019_ACEOF
22020
22021 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22022echo "${ECHO_T}found at $ac_find_libraries" >&6
22023 else
22024 cat >conftest.$ac_ext <<_ACEOF
22025#line $LINENO "configure"
22026/* confdefs.h. */
22027_ACEOF
22028cat confdefs.h >>conftest.$ac_ext
22029cat >>conftest.$ac_ext <<_ACEOF
22030/* end confdefs.h. */
22031
22032 #include <X11/xpm.h>
22033
22034int
22035main ()
22036{
22037
22038 int version;
22039 version = XpmLibraryVersion();
22040
22041 ;
22042 return 0;
22043}
22044_ACEOF
22045rm -f conftest.$ac_objext
22046if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22047 (eval $ac_compile) 2>&5
22048 ac_status=$?
22049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22050 (exit $ac_status); } &&
22051 { ac_try='test -s conftest.$ac_objext'
22052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22053 (eval $ac_try) 2>&5
22054 ac_status=$?
22055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22056 (exit $ac_status); }; }; then
22057
22058 xpm_link=" -lXpm"
22059 cat >>confdefs.h <<\_ACEOF
22060#define wxHAVE_LIB_XPM 1
22061_ACEOF
22062
22063 echo "$as_me:$LINENO: result: found in default search path" >&5
22064echo "${ECHO_T}found in default search path" >&6
22065 COMPILED_X_PROGRAM=0
22066
22067else
22068 echo "$as_me: failed program was:" >&5
22069sed 's/^/| /' conftest.$ac_ext >&5
22070
22071
22072 echo "$as_me:$LINENO: result: no" >&5
22073echo "${ECHO_T}no" >&6
22074 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22075echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22076
22077
22078fi
22079rm -f conftest.$ac_objext conftest.$ac_ext
22080 fi
22081
22082 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22083echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22084if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22085 echo $ECHO_N "(cached) $ECHO_C" >&6
22086else
22087 ac_check_lib_save_LIBS=$LIBS
22088LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22089cat >conftest.$ac_ext <<_ACEOF
22090#line $LINENO "configure"
22091/* confdefs.h. */
22092_ACEOF
22093cat confdefs.h >>conftest.$ac_ext
22094cat >>conftest.$ac_ext <<_ACEOF
22095/* end confdefs.h. */
22096
22097/* Override any gcc2 internal prototype to avoid an error. */
22098#ifdef __cplusplus
22099extern "C"
22100#endif
22101/* We use char because int might match the return type of a gcc2
22102 builtin and then its argument prototype would still apply. */
22103char XShapeQueryExtension ();
22104int
22105main ()
22106{
22107XShapeQueryExtension ();
22108 ;
22109 return 0;
22110}
22111_ACEOF
22112rm -f conftest.$ac_objext conftest$ac_exeext
22113if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22114 (eval $ac_link) 2>&5
22115 ac_status=$?
22116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22117 (exit $ac_status); } &&
22118 { ac_try='test -s conftest$ac_exeext'
22119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22120 (eval $ac_try) 2>&5
22121 ac_status=$?
22122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22123 (exit $ac_status); }; }; then
22124 ac_cv_lib_Xext_XShapeQueryExtension=yes
22125else
22126 echo "$as_me: failed program was:" >&5
22127sed 's/^/| /' conftest.$ac_ext >&5
22128
22129ac_cv_lib_Xext_XShapeQueryExtension=no
22130fi
22131rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22132LIBS=$ac_check_lib_save_LIBS
22133fi
22134echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22135echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22136if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22137
22138 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
22139 wxHAVE_XEXT_LIB=1
22140
22141fi
22142
22143
22144 if test "$wxUSE_UNICODE" = "yes"; then
22145
22146 succeeded=no
22147
22148 if test -z "$PKG_CONFIG"; then
22149 # Extract the first word of "pkg-config", so it can be a program name with args.
22150set dummy pkg-config; ac_word=$2
22151echo "$as_me:$LINENO: checking for $ac_word" >&5
22152echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22153if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22154 echo $ECHO_N "(cached) $ECHO_C" >&6
22155else
22156 case $PKG_CONFIG in
22157 [\\/]* | ?:[\\/]*)
22158 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22159 ;;
22160 *)
22161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22162for as_dir in $PATH
22163do
22164 IFS=$as_save_IFS
22165 test -z "$as_dir" && as_dir=.
22166 for ac_exec_ext in '' $ac_executable_extensions; do
22167 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22168 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22170 break 2
22171 fi
22172done
22173done
22174
22175 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22176 ;;
22177esac
22178fi
22179PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22180
22181if test -n "$PKG_CONFIG"; then
22182 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22183echo "${ECHO_T}$PKG_CONFIG" >&6
22184else
22185 echo "$as_me:$LINENO: result: no" >&5
22186echo "${ECHO_T}no" >&6
22187fi
22188
22189 fi
22190
22191 if test "$PKG_CONFIG" = "no" ; then
22192 echo "*** The pkg-config script could not be found. Make sure it is"
22193 echo "*** in your path, or set the PKG_CONFIG environment variable"
22194 echo "*** to the full path to pkg-config."
22195 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22196 else
22197 PKG_CONFIG_MIN_VERSION=0.9.0
22198 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22199 echo "$as_me:$LINENO: checking for pangox" >&5
22200echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22201
22202 if $PKG_CONFIG --exists "pangox" ; then
22203 echo "$as_me:$LINENO: result: yes" >&5
22204echo "${ECHO_T}yes" >&6
22205 succeeded=yes
22206
22207 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22208echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22209 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
22210 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22211echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22212
22213 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22214echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22215 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
22216 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22217echo "${ECHO_T}$PANGOX_LIBS" >&6
22218 else
22219 PANGOX_CFLAGS=""
22220 PANGOX_LIBS=""
22221 ## If we have a custom action on failure, don't print errors, but
22222 ## do set a variable so people can do so.
22223 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22224
22225 fi
22226
22227
22228
22229 else
22230 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22231 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22232 fi
22233 fi
22234
22235 if test $succeeded = yes; then
22236
22237 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
22238 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
22239
22240 else
22241
22242 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22243echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22244 { (exit 1); exit 1; }; }
22245
22246
22247 fi
22248
22249
22250 succeeded=no
22251
22252 if test -z "$PKG_CONFIG"; then
22253 # Extract the first word of "pkg-config", so it can be a program name with args.
22254set dummy pkg-config; ac_word=$2
22255echo "$as_me:$LINENO: checking for $ac_word" >&5
22256echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22257if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22258 echo $ECHO_N "(cached) $ECHO_C" >&6
22259else
22260 case $PKG_CONFIG in
22261 [\\/]* | ?:[\\/]*)
22262 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22263 ;;
22264 *)
22265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22266for as_dir in $PATH
22267do
22268 IFS=$as_save_IFS
22269 test -z "$as_dir" && as_dir=.
22270 for ac_exec_ext in '' $ac_executable_extensions; do
22271 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22272 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22274 break 2
22275 fi
22276done
22277done
22278
22279 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22280 ;;
22281esac
22282fi
22283PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22284
22285if test -n "$PKG_CONFIG"; then
22286 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22287echo "${ECHO_T}$PKG_CONFIG" >&6
22288else
22289 echo "$as_me:$LINENO: result: no" >&5
22290echo "${ECHO_T}no" >&6
22291fi
22292
22293 fi
22294
22295 if test "$PKG_CONFIG" = "no" ; then
22296 echo "*** The pkg-config script could not be found. Make sure it is"
22297 echo "*** in your path, or set the PKG_CONFIG environment variable"
22298 echo "*** to the full path to pkg-config."
22299 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22300 else
22301 PKG_CONFIG_MIN_VERSION=0.9.0
22302 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22303 echo "$as_me:$LINENO: checking for pangoft2" >&5
22304echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22305
22306 if $PKG_CONFIG --exists "pangoft2" ; then
22307 echo "$as_me:$LINENO: result: yes" >&5
22308echo "${ECHO_T}yes" >&6
22309 succeeded=yes
22310
22311 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22312echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22313 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22314 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22315echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22316
22317 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22318echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22319 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22320 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22321echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22322 else
22323 PANGOFT2_CFLAGS=""
22324 PANGOFT2_LIBS=""
22325 ## If we have a custom action on failure, don't print errors, but
22326 ## do set a variable so people can do so.
22327 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22328
22329 fi
22330
22331
22332
22333 else
22334 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22335 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22336 fi
22337 fi
22338
22339 if test $succeeded = yes; then
22340
22341 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22342 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22343
22344 else
22345
22346 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22347echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22348 wxUSE_PRINTING_ARCHITECTURE="no"
22349
22350
22351 fi
22352
22353
22354 succeeded=no
22355
22356 if test -z "$PKG_CONFIG"; then
22357 # Extract the first word of "pkg-config", so it can be a program name with args.
22358set dummy pkg-config; ac_word=$2
22359echo "$as_me:$LINENO: checking for $ac_word" >&5
22360echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22361if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22362 echo $ECHO_N "(cached) $ECHO_C" >&6
22363else
22364 case $PKG_CONFIG in
22365 [\\/]* | ?:[\\/]*)
22366 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22367 ;;
22368 *)
22369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22370for as_dir in $PATH
22371do
22372 IFS=$as_save_IFS
22373 test -z "$as_dir" && as_dir=.
22374 for ac_exec_ext in '' $ac_executable_extensions; do
22375 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22376 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22378 break 2
22379 fi
22380done
22381done
22382
22383 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22384 ;;
22385esac
22386fi
22387PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22388
22389if test -n "$PKG_CONFIG"; then
22390 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22391echo "${ECHO_T}$PKG_CONFIG" >&6
22392else
22393 echo "$as_me:$LINENO: result: no" >&5
22394echo "${ECHO_T}no" >&6
22395fi
22396
22397 fi
22398
22399 if test "$PKG_CONFIG" = "no" ; then
22400 echo "*** The pkg-config script could not be found. Make sure it is"
22401 echo "*** in your path, or set the PKG_CONFIG environment variable"
22402 echo "*** to the full path to pkg-config."
22403 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22404 else
22405 PKG_CONFIG_MIN_VERSION=0.9.0
22406 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22407 echo "$as_me:$LINENO: checking for pangoxft" >&5
22408echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22409
22410 if $PKG_CONFIG --exists "pangoxft" ; then
22411 echo "$as_me:$LINENO: result: yes" >&5
22412echo "${ECHO_T}yes" >&6
22413 succeeded=yes
22414
22415 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22416echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22417 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
22418 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22419echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22420
22421 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22422echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22423 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
22424 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22425echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22426 else
22427 PANGOXFT_CFLAGS=""
22428 PANGOXFT_LIBS=""
22429 ## If we have a custom action on failure, don't print errors, but
22430 ## do set a variable so people can do so.
22431 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22432
22433 fi
22434
22435
22436
22437 else
22438 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22439 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22440 fi
22441 fi
22442
22443 if test $succeeded = yes; then
22444
22445 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
22446 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
22447
22448 else
22449
22450 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22451echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22452
22453
22454 fi
22455
22456 fi
22457
22458 wxUSE_UNIVERSAL="yes"
22459
22460 if test "$wxUSE_NANOX" = "yes"; then
22461 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22462 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"
22463 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22464 else
22465 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link"
22466 fi
22467
22468 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
22469 TOOLKIT=X11
22470 GUIDIST=X11_DIST
22471 fi
22472
22473 if test "$wxUSE_MOTIF" = 1; then
22474 if test "$no_x" = yes; then
22475 # Not all programs may use this symbol, but it does not hurt to define it.
22476
22477cat >>confdefs.h <<\_ACEOF
22478#define X_DISPLAY_MISSING 1
22479_ACEOF
22480
22481 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22482else
22483 if test -n "$x_includes"; then
22484 X_CFLAGS="$X_CFLAGS -I$x_includes"
22485 fi
22486
22487 # It would also be nice to do this for all -L options, not just this one.
22488 if test -n "$x_libraries"; then
22489 X_LIBS="$X_LIBS -L$x_libraries"
22490 # For Solaris; some versions of Sun CC require a space after -R and
22491 # others require no space. Words are not sufficient . . . .
22492 case `(uname -sr) 2>/dev/null` in
22493 "SunOS 5"*)
22494 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22495echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22496 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22497 cat >conftest.$ac_ext <<_ACEOF
22498#line $LINENO "configure"
22499/* confdefs.h. */
22500_ACEOF
22501cat confdefs.h >>conftest.$ac_ext
22502cat >>conftest.$ac_ext <<_ACEOF
22503/* end confdefs.h. */
22504
22505int
22506main ()
22507{
22508
22509 ;
22510 return 0;
22511}
22512_ACEOF
22513rm -f conftest.$ac_objext conftest$ac_exeext
22514if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22515 (eval $ac_link) 2>&5
22516 ac_status=$?
22517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22518 (exit $ac_status); } &&
22519 { ac_try='test -s conftest$ac_exeext'
22520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22521 (eval $ac_try) 2>&5
22522 ac_status=$?
22523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22524 (exit $ac_status); }; }; then
22525 ac_R_nospace=yes
22526else
22527 echo "$as_me: failed program was:" >&5
22528sed 's/^/| /' conftest.$ac_ext >&5
22529
22530ac_R_nospace=no
22531fi
22532rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22533 if test $ac_R_nospace = yes; then
22534 echo "$as_me:$LINENO: result: no" >&5
22535echo "${ECHO_T}no" >&6
22536 X_LIBS="$X_LIBS -R$x_libraries"
22537 else
22538 LIBS="$ac_xsave_LIBS -R $x_libraries"
22539 cat >conftest.$ac_ext <<_ACEOF
22540#line $LINENO "configure"
22541/* confdefs.h. */
22542_ACEOF
22543cat confdefs.h >>conftest.$ac_ext
22544cat >>conftest.$ac_ext <<_ACEOF
22545/* end confdefs.h. */
22546
22547int
22548main ()
22549{
22550
22551 ;
22552 return 0;
22553}
22554_ACEOF
22555rm -f conftest.$ac_objext conftest$ac_exeext
22556if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22557 (eval $ac_link) 2>&5
22558 ac_status=$?
22559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22560 (exit $ac_status); } &&
22561 { ac_try='test -s conftest$ac_exeext'
22562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22563 (eval $ac_try) 2>&5
22564 ac_status=$?
22565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22566 (exit $ac_status); }; }; then
22567 ac_R_space=yes
22568else
22569 echo "$as_me: failed program was:" >&5
22570sed 's/^/| /' conftest.$ac_ext >&5
22571
22572ac_R_space=no
22573fi
22574rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22575 if test $ac_R_space = yes; then
22576 echo "$as_me:$LINENO: result: yes" >&5
22577echo "${ECHO_T}yes" >&6
22578 X_LIBS="$X_LIBS -R $x_libraries"
22579 else
22580 echo "$as_me:$LINENO: result: neither works" >&5
22581echo "${ECHO_T}neither works" >&6
22582 fi
22583 fi
22584 LIBS=$ac_xsave_LIBS
22585 esac
22586 fi
22587
22588 # Check for system-dependent libraries X programs must link with.
22589 # Do this before checking for the system-independent R6 libraries
22590 # (-lICE), since we may need -lsocket or whatever for X linking.
22591
22592 if test "$ISC" = yes; then
22593 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
22594 else
22595 # Martyn Johnson says this is needed for Ultrix, if the X
22596 # libraries were built with DECnet support. And Karl Berry says
22597 # the Alpha needs dnet_stub (dnet does not exist).
22598 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
22599 cat >conftest.$ac_ext <<_ACEOF
22600#line $LINENO "configure"
22601/* confdefs.h. */
22602_ACEOF
22603cat confdefs.h >>conftest.$ac_ext
22604cat >>conftest.$ac_ext <<_ACEOF
22605/* end confdefs.h. */
22606
22607/* Override any gcc2 internal prototype to avoid an error. */
22608#ifdef __cplusplus
22609extern "C"
22610#endif
22611/* We use char because int might match the return type of a gcc2
22612 builtin and then its argument prototype would still apply. */
22613char XOpenDisplay ();
22614int
22615main ()
22616{
22617XOpenDisplay ();
22618 ;
22619 return 0;
22620}
22621_ACEOF
22622rm -f conftest.$ac_objext conftest$ac_exeext
22623if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22624 (eval $ac_link) 2>&5
22625 ac_status=$?
22626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22627 (exit $ac_status); } &&
22628 { ac_try='test -s conftest$ac_exeext'
22629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22630 (eval $ac_try) 2>&5
22631 ac_status=$?
22632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22633 (exit $ac_status); }; }; then
22634 :
22635else
22636 echo "$as_me: failed program was:" >&5
22637sed 's/^/| /' conftest.$ac_ext >&5
22638
22639echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22640echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22641if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22642 echo $ECHO_N "(cached) $ECHO_C" >&6
22643else
22644 ac_check_lib_save_LIBS=$LIBS
22645LIBS="-ldnet $LIBS"
22646cat >conftest.$ac_ext <<_ACEOF
22647#line $LINENO "configure"
22648/* confdefs.h. */
22649_ACEOF
22650cat confdefs.h >>conftest.$ac_ext
22651cat >>conftest.$ac_ext <<_ACEOF
22652/* end confdefs.h. */
22653
22654/* Override any gcc2 internal prototype to avoid an error. */
22655#ifdef __cplusplus
22656extern "C"
22657#endif
22658/* We use char because int might match the return type of a gcc2
22659 builtin and then its argument prototype would still apply. */
22660char dnet_ntoa ();
22661int
22662main ()
22663{
22664dnet_ntoa ();
22665 ;
22666 return 0;
22667}
22668_ACEOF
22669rm -f conftest.$ac_objext conftest$ac_exeext
22670if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22671 (eval $ac_link) 2>&5
22672 ac_status=$?
22673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22674 (exit $ac_status); } &&
22675 { ac_try='test -s conftest$ac_exeext'
22676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22677 (eval $ac_try) 2>&5
22678 ac_status=$?
22679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22680 (exit $ac_status); }; }; then
22681 ac_cv_lib_dnet_dnet_ntoa=yes
22682else
22683 echo "$as_me: failed program was:" >&5
22684sed 's/^/| /' conftest.$ac_ext >&5
22685
22686ac_cv_lib_dnet_dnet_ntoa=no
22687fi
22688rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22689LIBS=$ac_check_lib_save_LIBS
22690fi
22691echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22692echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22693if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22694 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
22695fi
22696
22697 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
22698 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22699echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
22700if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22701 echo $ECHO_N "(cached) $ECHO_C" >&6
22702else
22703 ac_check_lib_save_LIBS=$LIBS
22704LIBS="-ldnet_stub $LIBS"
22705cat >conftest.$ac_ext <<_ACEOF
22706#line $LINENO "configure"
22707/* confdefs.h. */
22708_ACEOF
22709cat confdefs.h >>conftest.$ac_ext
22710cat >>conftest.$ac_ext <<_ACEOF
22711/* end confdefs.h. */
22712
22713/* Override any gcc2 internal prototype to avoid an error. */
22714#ifdef __cplusplus
22715extern "C"
22716#endif
22717/* We use char because int might match the return type of a gcc2
22718 builtin and then its argument prototype would still apply. */
22719char dnet_ntoa ();
22720int
22721main ()
22722{
22723dnet_ntoa ();
22724 ;
22725 return 0;
22726}
22727_ACEOF
22728rm -f conftest.$ac_objext conftest$ac_exeext
22729if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22730 (eval $ac_link) 2>&5
22731 ac_status=$?
22732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22733 (exit $ac_status); } &&
22734 { ac_try='test -s conftest$ac_exeext'
22735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22736 (eval $ac_try) 2>&5
22737 ac_status=$?
22738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22739 (exit $ac_status); }; }; then
22740 ac_cv_lib_dnet_stub_dnet_ntoa=yes
22741else
22742 echo "$as_me: failed program was:" >&5
22743sed 's/^/| /' conftest.$ac_ext >&5
22744
22745ac_cv_lib_dnet_stub_dnet_ntoa=no
22746fi
22747rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22748LIBS=$ac_check_lib_save_LIBS
22749fi
22750echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22751echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
22752if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
22753 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
22754fi
22755
22756 fi
22757fi
22758rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22759 LIBS="$ac_xsave_LIBS"
22760
22761 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22762 # to get the SysV transport functions.
22763 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22764 # needs -lnsl.
22765 # The nsl library prevents programs from opening the X display
22766 # on Irix 5.2, according to T.E. Dickey.
22767 # The functions gethostbyname, getservbyname, and inet_addr are
22768 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22769 echo "$as_me:$LINENO: checking for gethostbyname" >&5
22770echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
22771if test "${ac_cv_func_gethostbyname+set}" = set; then
22772 echo $ECHO_N "(cached) $ECHO_C" >&6
22773else
22774 cat >conftest.$ac_ext <<_ACEOF
22775#line $LINENO "configure"
22776/* confdefs.h. */
22777_ACEOF
22778cat confdefs.h >>conftest.$ac_ext
22779cat >>conftest.$ac_ext <<_ACEOF
22780/* end confdefs.h. */
22781/* System header to define __stub macros and hopefully few prototypes,
22782 which can conflict with char gethostbyname (); below.
22783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22784 <limits.h> exists even on freestanding compilers. */
22785#ifdef __STDC__
22786# include <limits.h>
22787#else
22788# include <assert.h>
22789#endif
22790/* Override any gcc2 internal prototype to avoid an error. */
22791#ifdef __cplusplus
22792extern "C"
22793{
22794#endif
22795/* We use char because int might match the return type of a gcc2
22796 builtin and then its argument prototype would still apply. */
22797char gethostbyname ();
22798/* The GNU C library defines this for functions which it implements
22799 to always fail with ENOSYS. Some functions are actually named
22800 something starting with __ and the normal name is an alias. */
22801#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
22802choke me
22803#else
22804char (*f) () = gethostbyname;
22805#endif
22806#ifdef __cplusplus
22807}
22808#endif
22809
22810int
22811main ()
22812{
22813return f != gethostbyname;
22814 ;
22815 return 0;
22816}
22817_ACEOF
22818rm -f conftest.$ac_objext conftest$ac_exeext
22819if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22820 (eval $ac_link) 2>&5
22821 ac_status=$?
22822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22823 (exit $ac_status); } &&
22824 { ac_try='test -s conftest$ac_exeext'
22825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22826 (eval $ac_try) 2>&5
22827 ac_status=$?
22828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22829 (exit $ac_status); }; }; then
22830 ac_cv_func_gethostbyname=yes
22831else
22832 echo "$as_me: failed program was:" >&5
22833sed 's/^/| /' conftest.$ac_ext >&5
22834
22835ac_cv_func_gethostbyname=no
22836fi
22837rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22838fi
22839echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22840echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
22841
22842 if test $ac_cv_func_gethostbyname = no; then
22843 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22844echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
22845if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22846 echo $ECHO_N "(cached) $ECHO_C" >&6
22847else
22848 ac_check_lib_save_LIBS=$LIBS
22849LIBS="-lnsl $LIBS"
22850cat >conftest.$ac_ext <<_ACEOF
22851#line $LINENO "configure"
22852/* confdefs.h. */
22853_ACEOF
22854cat confdefs.h >>conftest.$ac_ext
22855cat >>conftest.$ac_ext <<_ACEOF
22856/* end confdefs.h. */
22857
22858/* Override any gcc2 internal prototype to avoid an error. */
22859#ifdef __cplusplus
22860extern "C"
22861#endif
22862/* We use char because int might match the return type of a gcc2
22863 builtin and then its argument prototype would still apply. */
22864char gethostbyname ();
22865int
22866main ()
22867{
22868gethostbyname ();
22869 ;
22870 return 0;
22871}
22872_ACEOF
22873rm -f conftest.$ac_objext conftest$ac_exeext
22874if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22875 (eval $ac_link) 2>&5
22876 ac_status=$?
22877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22878 (exit $ac_status); } &&
22879 { ac_try='test -s conftest$ac_exeext'
22880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22881 (eval $ac_try) 2>&5
22882 ac_status=$?
22883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22884 (exit $ac_status); }; }; then
22885 ac_cv_lib_nsl_gethostbyname=yes
22886else
22887 echo "$as_me: failed program was:" >&5
22888sed 's/^/| /' conftest.$ac_ext >&5
22889
22890ac_cv_lib_nsl_gethostbyname=no
22891fi
22892rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22893LIBS=$ac_check_lib_save_LIBS
22894fi
22895echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22896echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
22897if test $ac_cv_lib_nsl_gethostbyname = yes; then
22898 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
22899fi
22900
22901 if test $ac_cv_lib_nsl_gethostbyname = no; then
22902 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22903echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
22904if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22905 echo $ECHO_N "(cached) $ECHO_C" >&6
22906else
22907 ac_check_lib_save_LIBS=$LIBS
22908LIBS="-lbsd $LIBS"
22909cat >conftest.$ac_ext <<_ACEOF
22910#line $LINENO "configure"
22911/* confdefs.h. */
22912_ACEOF
22913cat confdefs.h >>conftest.$ac_ext
22914cat >>conftest.$ac_ext <<_ACEOF
22915/* end confdefs.h. */
22916
22917/* Override any gcc2 internal prototype to avoid an error. */
22918#ifdef __cplusplus
22919extern "C"
22920#endif
22921/* We use char because int might match the return type of a gcc2
22922 builtin and then its argument prototype would still apply. */
22923char gethostbyname ();
22924int
22925main ()
22926{
22927gethostbyname ();
22928 ;
22929 return 0;
22930}
22931_ACEOF
22932rm -f conftest.$ac_objext conftest$ac_exeext
22933if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22934 (eval $ac_link) 2>&5
22935 ac_status=$?
22936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22937 (exit $ac_status); } &&
22938 { ac_try='test -s conftest$ac_exeext'
22939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22940 (eval $ac_try) 2>&5
22941 ac_status=$?
22942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943 (exit $ac_status); }; }; then
22944 ac_cv_lib_bsd_gethostbyname=yes
22945else
22946 echo "$as_me: failed program was:" >&5
22947sed 's/^/| /' conftest.$ac_ext >&5
22948
22949ac_cv_lib_bsd_gethostbyname=no
22950fi
22951rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22952LIBS=$ac_check_lib_save_LIBS
22953fi
22954echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
22955echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
22956if test $ac_cv_lib_bsd_gethostbyname = yes; then
22957 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
22958fi
22959
22960 fi
22961 fi
22962
22963 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22964 # socket/setsockopt and other routines are undefined under SCO ODT
22965 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22966 # on later versions), says Simon Leinen: it contains gethostby*
22967 # variants that don't use the name server (or something). -lsocket
22968 # must be given before -lnsl if both are needed. We assume that
22969 # if connect needs -lnsl, so does gethostbyname.
22970 echo "$as_me:$LINENO: checking for connect" >&5
22971echo $ECHO_N "checking for connect... $ECHO_C" >&6
22972if test "${ac_cv_func_connect+set}" = set; then
22973 echo $ECHO_N "(cached) $ECHO_C" >&6
22974else
22975 cat >conftest.$ac_ext <<_ACEOF
22976#line $LINENO "configure"
22977/* confdefs.h. */
22978_ACEOF
22979cat confdefs.h >>conftest.$ac_ext
22980cat >>conftest.$ac_ext <<_ACEOF
22981/* end confdefs.h. */
22982/* System header to define __stub macros and hopefully few prototypes,
22983 which can conflict with char connect (); below.
22984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22985 <limits.h> exists even on freestanding compilers. */
22986#ifdef __STDC__
22987# include <limits.h>
22988#else
22989# include <assert.h>
22990#endif
22991/* Override any gcc2 internal prototype to avoid an error. */
22992#ifdef __cplusplus
22993extern "C"
22994{
22995#endif
22996/* We use char because int might match the return type of a gcc2
22997 builtin and then its argument prototype would still apply. */
22998char connect ();
22999/* The GNU C library defines this for functions which it implements
23000 to always fail with ENOSYS. Some functions are actually named
23001 something starting with __ and the normal name is an alias. */
23002#if defined (__stub_connect) || defined (__stub___connect)
23003choke me
23004#else
23005char (*f) () = connect;
23006#endif
23007#ifdef __cplusplus
23008}
23009#endif
23010
23011int
23012main ()
23013{
23014return f != connect;
23015 ;
23016 return 0;
23017}
23018_ACEOF
23019rm -f conftest.$ac_objext conftest$ac_exeext
23020if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23021 (eval $ac_link) 2>&5
23022 ac_status=$?
23023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23024 (exit $ac_status); } &&
23025 { ac_try='test -s conftest$ac_exeext'
23026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23027 (eval $ac_try) 2>&5
23028 ac_status=$?
23029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23030 (exit $ac_status); }; }; then
23031 ac_cv_func_connect=yes
23032else
23033 echo "$as_me: failed program was:" >&5
23034sed 's/^/| /' conftest.$ac_ext >&5
23035
23036ac_cv_func_connect=no
23037fi
23038rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23039fi
23040echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23041echo "${ECHO_T}$ac_cv_func_connect" >&6
23042
23043 if test $ac_cv_func_connect = no; then
23044 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23045echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23046if test "${ac_cv_lib_socket_connect+set}" = set; then
23047 echo $ECHO_N "(cached) $ECHO_C" >&6
23048else
23049 ac_check_lib_save_LIBS=$LIBS
23050LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23051cat >conftest.$ac_ext <<_ACEOF
23052#line $LINENO "configure"
23053/* confdefs.h. */
23054_ACEOF
23055cat confdefs.h >>conftest.$ac_ext
23056cat >>conftest.$ac_ext <<_ACEOF
23057/* end confdefs.h. */
23058
23059/* Override any gcc2 internal prototype to avoid an error. */
23060#ifdef __cplusplus
23061extern "C"
23062#endif
23063/* We use char because int might match the return type of a gcc2
23064 builtin and then its argument prototype would still apply. */
23065char connect ();
23066int
23067main ()
23068{
23069connect ();
23070 ;
23071 return 0;
23072}
23073_ACEOF
23074rm -f conftest.$ac_objext conftest$ac_exeext
23075if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23076 (eval $ac_link) 2>&5
23077 ac_status=$?
23078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23079 (exit $ac_status); } &&
23080 { ac_try='test -s conftest$ac_exeext'
23081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23082 (eval $ac_try) 2>&5
23083 ac_status=$?
23084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23085 (exit $ac_status); }; }; then
23086 ac_cv_lib_socket_connect=yes
23087else
23088 echo "$as_me: failed program was:" >&5
23089sed 's/^/| /' conftest.$ac_ext >&5
23090
23091ac_cv_lib_socket_connect=no
23092fi
23093rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23094LIBS=$ac_check_lib_save_LIBS
23095fi
23096echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23097echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23098if test $ac_cv_lib_socket_connect = yes; then
23099 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23100fi
23101
23102 fi
23103
23104 # Guillermo Gomez says -lposix is necessary on A/UX.
23105 echo "$as_me:$LINENO: checking for remove" >&5
23106echo $ECHO_N "checking for remove... $ECHO_C" >&6
23107if test "${ac_cv_func_remove+set}" = set; then
23108 echo $ECHO_N "(cached) $ECHO_C" >&6
23109else
23110 cat >conftest.$ac_ext <<_ACEOF
23111#line $LINENO "configure"
23112/* confdefs.h. */
23113_ACEOF
23114cat confdefs.h >>conftest.$ac_ext
23115cat >>conftest.$ac_ext <<_ACEOF
23116/* end confdefs.h. */
23117/* System header to define __stub macros and hopefully few prototypes,
23118 which can conflict with char remove (); below.
23119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23120 <limits.h> exists even on freestanding compilers. */
23121#ifdef __STDC__
23122# include <limits.h>
23123#else
23124# include <assert.h>
23125#endif
23126/* Override any gcc2 internal prototype to avoid an error. */
23127#ifdef __cplusplus
23128extern "C"
23129{
23130#endif
23131/* We use char because int might match the return type of a gcc2
23132 builtin and then its argument prototype would still apply. */
23133char remove ();
23134/* The GNU C library defines this for functions which it implements
23135 to always fail with ENOSYS. Some functions are actually named
23136 something starting with __ and the normal name is an alias. */
23137#if defined (__stub_remove) || defined (__stub___remove)
23138choke me
23139#else
23140char (*f) () = remove;
23141#endif
23142#ifdef __cplusplus
23143}
23144#endif
23145
23146int
23147main ()
23148{
23149return f != remove;
23150 ;
23151 return 0;
23152}
23153_ACEOF
23154rm -f conftest.$ac_objext conftest$ac_exeext
23155if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23156 (eval $ac_link) 2>&5
23157 ac_status=$?
23158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23159 (exit $ac_status); } &&
23160 { ac_try='test -s conftest$ac_exeext'
23161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23162 (eval $ac_try) 2>&5
23163 ac_status=$?
23164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23165 (exit $ac_status); }; }; then
23166 ac_cv_func_remove=yes
23167else
23168 echo "$as_me: failed program was:" >&5
23169sed 's/^/| /' conftest.$ac_ext >&5
23170
23171ac_cv_func_remove=no
23172fi
23173rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23174fi
23175echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23176echo "${ECHO_T}$ac_cv_func_remove" >&6
23177
23178 if test $ac_cv_func_remove = no; then
23179 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23180echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23181if test "${ac_cv_lib_posix_remove+set}" = set; then
23182 echo $ECHO_N "(cached) $ECHO_C" >&6
23183else
23184 ac_check_lib_save_LIBS=$LIBS
23185LIBS="-lposix $LIBS"
23186cat >conftest.$ac_ext <<_ACEOF
23187#line $LINENO "configure"
23188/* confdefs.h. */
23189_ACEOF
23190cat confdefs.h >>conftest.$ac_ext
23191cat >>conftest.$ac_ext <<_ACEOF
23192/* end confdefs.h. */
23193
23194/* Override any gcc2 internal prototype to avoid an error. */
23195#ifdef __cplusplus
23196extern "C"
23197#endif
23198/* We use char because int might match the return type of a gcc2
23199 builtin and then its argument prototype would still apply. */
23200char remove ();
23201int
23202main ()
23203{
23204remove ();
23205 ;
23206 return 0;
23207}
23208_ACEOF
23209rm -f conftest.$ac_objext conftest$ac_exeext
23210if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23211 (eval $ac_link) 2>&5
23212 ac_status=$?
23213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23214 (exit $ac_status); } &&
23215 { ac_try='test -s conftest$ac_exeext'
23216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23217 (eval $ac_try) 2>&5
23218 ac_status=$?
23219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23220 (exit $ac_status); }; }; then
23221 ac_cv_lib_posix_remove=yes
23222else
23223 echo "$as_me: failed program was:" >&5
23224sed 's/^/| /' conftest.$ac_ext >&5
23225
23226ac_cv_lib_posix_remove=no
23227fi
23228rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23229LIBS=$ac_check_lib_save_LIBS
23230fi
23231echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23232echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23233if test $ac_cv_lib_posix_remove = yes; then
23234 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23235fi
23236
23237 fi
23238
23239 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23240 echo "$as_me:$LINENO: checking for shmat" >&5
23241echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23242if test "${ac_cv_func_shmat+set}" = set; then
23243 echo $ECHO_N "(cached) $ECHO_C" >&6
23244else
23245 cat >conftest.$ac_ext <<_ACEOF
23246#line $LINENO "configure"
23247/* confdefs.h. */
23248_ACEOF
23249cat confdefs.h >>conftest.$ac_ext
23250cat >>conftest.$ac_ext <<_ACEOF
23251/* end confdefs.h. */
23252/* System header to define __stub macros and hopefully few prototypes,
23253 which can conflict with char shmat (); below.
23254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23255 <limits.h> exists even on freestanding compilers. */
23256#ifdef __STDC__
23257# include <limits.h>
23258#else
23259# include <assert.h>
23260#endif
23261/* Override any gcc2 internal prototype to avoid an error. */
23262#ifdef __cplusplus
23263extern "C"
23264{
23265#endif
23266/* We use char because int might match the return type of a gcc2
23267 builtin and then its argument prototype would still apply. */
23268char shmat ();
23269/* The GNU C library defines this for functions which it implements
23270 to always fail with ENOSYS. Some functions are actually named
23271 something starting with __ and the normal name is an alias. */
23272#if defined (__stub_shmat) || defined (__stub___shmat)
23273choke me
23274#else
23275char (*f) () = shmat;
23276#endif
23277#ifdef __cplusplus
23278}
23279#endif
23280
23281int
23282main ()
23283{
23284return f != shmat;
23285 ;
23286 return 0;
23287}
23288_ACEOF
23289rm -f conftest.$ac_objext conftest$ac_exeext
23290if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23291 (eval $ac_link) 2>&5
23292 ac_status=$?
23293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23294 (exit $ac_status); } &&
23295 { ac_try='test -s conftest$ac_exeext'
23296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23297 (eval $ac_try) 2>&5
23298 ac_status=$?
23299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23300 (exit $ac_status); }; }; then
23301 ac_cv_func_shmat=yes
23302else
23303 echo "$as_me: failed program was:" >&5
23304sed 's/^/| /' conftest.$ac_ext >&5
23305
23306ac_cv_func_shmat=no
23307fi
23308rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23309fi
23310echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23311echo "${ECHO_T}$ac_cv_func_shmat" >&6
23312
23313 if test $ac_cv_func_shmat = no; then
23314 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23315echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23316if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23317 echo $ECHO_N "(cached) $ECHO_C" >&6
23318else
23319 ac_check_lib_save_LIBS=$LIBS
23320LIBS="-lipc $LIBS"
23321cat >conftest.$ac_ext <<_ACEOF
23322#line $LINENO "configure"
23323/* confdefs.h. */
23324_ACEOF
23325cat confdefs.h >>conftest.$ac_ext
23326cat >>conftest.$ac_ext <<_ACEOF
23327/* end confdefs.h. */
23328
23329/* Override any gcc2 internal prototype to avoid an error. */
23330#ifdef __cplusplus
23331extern "C"
23332#endif
23333/* We use char because int might match the return type of a gcc2
23334 builtin and then its argument prototype would still apply. */
23335char shmat ();
23336int
23337main ()
23338{
23339shmat ();
23340 ;
23341 return 0;
23342}
23343_ACEOF
23344rm -f conftest.$ac_objext conftest$ac_exeext
23345if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23346 (eval $ac_link) 2>&5
23347 ac_status=$?
23348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23349 (exit $ac_status); } &&
23350 { ac_try='test -s conftest$ac_exeext'
23351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23352 (eval $ac_try) 2>&5
23353 ac_status=$?
23354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355 (exit $ac_status); }; }; then
23356 ac_cv_lib_ipc_shmat=yes
23357else
23358 echo "$as_me: failed program was:" >&5
23359sed 's/^/| /' conftest.$ac_ext >&5
23360
23361ac_cv_lib_ipc_shmat=no
23362fi
23363rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23364LIBS=$ac_check_lib_save_LIBS
23365fi
23366echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23367echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23368if test $ac_cv_lib_ipc_shmat = yes; then
23369 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23370fi
23371
23372 fi
23373 fi
23374
23375 # Check for libraries that X11R6 Xt/Xaw programs need.
23376 ac_save_LDFLAGS=$LDFLAGS
23377 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23378 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23379 # check for ICE first), but we must link in the order -lSM -lICE or
23380 # we get undefined symbols. So assume we have SM if we have ICE.
23381 # These have to be linked with before -lX11, unlike the other
23382 # libraries we check for below, so use a different variable.
23383 # John Interrante, Karl Berry
23384 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23385echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23386if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23387 echo $ECHO_N "(cached) $ECHO_C" >&6
23388else
23389 ac_check_lib_save_LIBS=$LIBS
23390LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23391cat >conftest.$ac_ext <<_ACEOF
23392#line $LINENO "configure"
23393/* confdefs.h. */
23394_ACEOF
23395cat confdefs.h >>conftest.$ac_ext
23396cat >>conftest.$ac_ext <<_ACEOF
23397/* end confdefs.h. */
23398
23399/* Override any gcc2 internal prototype to avoid an error. */
23400#ifdef __cplusplus
23401extern "C"
23402#endif
23403/* We use char because int might match the return type of a gcc2
23404 builtin and then its argument prototype would still apply. */
23405char IceConnectionNumber ();
23406int
23407main ()
23408{
23409IceConnectionNumber ();
23410 ;
23411 return 0;
23412}
23413_ACEOF
23414rm -f conftest.$ac_objext conftest$ac_exeext
23415if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23416 (eval $ac_link) 2>&5
23417 ac_status=$?
23418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23419 (exit $ac_status); } &&
23420 { ac_try='test -s conftest$ac_exeext'
23421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23422 (eval $ac_try) 2>&5
23423 ac_status=$?
23424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23425 (exit $ac_status); }; }; then
23426 ac_cv_lib_ICE_IceConnectionNumber=yes
23427else
23428 echo "$as_me: failed program was:" >&5
23429sed 's/^/| /' conftest.$ac_ext >&5
23430
23431ac_cv_lib_ICE_IceConnectionNumber=no
23432fi
23433rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23434LIBS=$ac_check_lib_save_LIBS
23435fi
23436echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23437echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23438if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23439 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23440fi
23441
23442 LDFLAGS=$ac_save_LDFLAGS
23443
23444fi
23445
23446
23447 if test "$no_x" = "yes"; then
23448 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23449echo "$as_me: error: X11 not found" >&2;}
23450 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
23451 fi
23452
23453 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
23454 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
23455 AFMINSTALL=afminstall
23456 COMPILED_X_PROGRAM=0
23457
23458 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23459echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23460
23461ac_find_includes=
23462for ac_dir in $SEARCH_INCLUDE /usr/include;
23463 do
23464 if test -f "$ac_dir/Xm/Xm.h"; then
23465 ac_find_includes=$ac_dir
23466 break
23467 fi
23468 done
23469
23470 if test "$ac_find_includes" != "" ; then
23471 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23472echo "${ECHO_T}found in $ac_find_includes" >&6
23473
23474 if test "x$ac_find_includes" = "x/usr/include"; then
23475 ac_path_to_include=""
23476 else
23477 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
23478 result=$?
23479 if test $result = 0; then
23480 ac_path_to_include=""
23481 else
23482 ac_path_to_include=" -I$ac_find_includes"
23483 fi
23484 fi
23485
23486 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
23487 else
23488 cat >conftest.$ac_ext <<_ACEOF
23489#line $LINENO "configure"
23490/* confdefs.h. */
23491_ACEOF
23492cat confdefs.h >>conftest.$ac_ext
23493cat >>conftest.$ac_ext <<_ACEOF
23494/* end confdefs.h. */
23495
23496 #include <Xm/Xm.h>
23497
23498int
23499main ()
23500{
23501
23502 int version;
23503 version = xmUseVersion;
23504
23505 ;
23506 return 0;
23507}
23508_ACEOF
23509rm -f conftest.$ac_objext
23510if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23511 (eval $ac_compile) 2>&5
23512 ac_status=$?
23513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23514 (exit $ac_status); } &&
23515 { ac_try='test -s conftest.$ac_objext'
23516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23517 (eval $ac_try) 2>&5
23518 ac_status=$?
23519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23520 (exit $ac_status); }; }; then
23521
23522 echo "$as_me:$LINENO: result: found in default search path" >&5
23523echo "${ECHO_T}found in default search path" >&6
23524 COMPILED_X_PROGRAM=1
23525
23526else
23527 echo "$as_me: failed program was:" >&5
23528sed 's/^/| /' conftest.$ac_ext >&5
23529
23530
23531 echo "$as_me:$LINENO: result: no" >&5
23532echo "${ECHO_T}no" >&6
23533 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
23534echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
23535 { (exit 1); exit 1; }; }
23536
23537
23538fi
23539rm -f conftest.$ac_objext conftest.$ac_ext
23540 fi
23541
23542 if test "$COMPILED_X_PROGRAM" = 0; then
23543 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
23544echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
23545
23546ac_find_libraries=
23547for ac_dir in $SEARCH_LIB /usr/lib;
23548 do
23549 for ac_extension in a so sl dylib; do
23550 if test -f "$ac_dir/libXm.$ac_extension"; then
23551 ac_find_libraries=$ac_dir
23552 break 2
23553 fi
23554 done
23555 done
23556
23557 if test "$ac_find_libraries" != "" ; then
23558 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23559echo "${ECHO_T}found at $ac_find_libraries" >&6
23560
23561
23562 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23563 result=$?
23564 if test $result = 0; then
23565 ac_path_to_link=""
23566 else
23567 ac_path_to_link=" -L$ac_find_libraries"
23568 fi
23569
23570 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23571 else
23572 save_CFLAGS=$CFLAGS
23573 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23574
23575 cat >conftest.$ac_ext <<_ACEOF
23576#line $LINENO "configure"
23577/* confdefs.h. */
23578_ACEOF
23579cat confdefs.h >>conftest.$ac_ext
23580cat >>conftest.$ac_ext <<_ACEOF
23581/* end confdefs.h. */
23582
23583 #include <Xm/Xm.h>
23584
23585int
23586main ()
23587{
23588
23589 int version;
23590 version = xmUseVersion;
23591
23592 ;
23593 return 0;
23594}
23595_ACEOF
23596rm -f conftest.$ac_objext
23597if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23598 (eval $ac_compile) 2>&5
23599 ac_status=$?
23600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23601 (exit $ac_status); } &&
23602 { ac_try='test -s conftest.$ac_objext'
23603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23604 (eval $ac_try) 2>&5
23605 ac_status=$?
23606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23607 (exit $ac_status); }; }; then
23608
23609 echo "$as_me:$LINENO: result: found in default search path" >&5
23610echo "${ECHO_T}found in default search path" >&6
23611 COMPILED_X_PROGRAM=1
23612
23613else
23614 echo "$as_me: failed program was:" >&5
23615sed 's/^/| /' conftest.$ac_ext >&5
23616
23617
23618 echo "$as_me:$LINENO: result: no" >&5
23619echo "${ECHO_T}no" >&6
23620 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
23621echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
23622 { (exit 1); exit 1; }; }
23623
23624
23625fi
23626rm -f conftest.$ac_objext conftest.$ac_ext
23627
23628 CFLAGS=$save_CFLAGS
23629 fi
23630 fi
23631
23632 xpm_link=
23633 echo "$as_me:$LINENO: checking for Xpm library" >&5
23634echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
23635
23636ac_find_libraries=
23637for ac_dir in $SEARCH_LIB /usr/lib;
23638 do
23639 for ac_extension in a so sl dylib; do
23640 if test -f "$ac_dir/libXpm.$ac_extension"; then
23641 ac_find_libraries=$ac_dir
23642 break 2
23643 fi
23644 done
23645 done
23646
23647 if test "$ac_find_libraries" != "" ; then
23648
23649 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23650 result=$?
23651 if test $result = 0; then
23652 ac_path_to_link=""
23653 else
23654 ac_path_to_link=" -L$ac_find_libraries"
23655 fi
23656
23657 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23658
23659 xpm_link=" -lXpm"
23660 cat >>confdefs.h <<\_ACEOF
23661#define wxHAVE_LIB_XPM 1
23662_ACEOF
23663
23664 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23665echo "${ECHO_T}found at $ac_find_libraries" >&6
23666 else
23667 save_CFLAGS=$CFLAGS
23668 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23669
23670 cat >conftest.$ac_ext <<_ACEOF
23671#line $LINENO "configure"
23672/* confdefs.h. */
23673_ACEOF
23674cat confdefs.h >>conftest.$ac_ext
23675cat >>conftest.$ac_ext <<_ACEOF
23676/* end confdefs.h. */
23677
23678 #include <X11/xpm.h>
23679
23680int
23681main ()
23682{
23683
23684 int version;
23685 version = XpmLibraryVersion();
23686
23687 ;
23688 return 0;
23689}
23690_ACEOF
23691rm -f conftest.$ac_objext
23692if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23693 (eval $ac_compile) 2>&5
23694 ac_status=$?
23695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23696 (exit $ac_status); } &&
23697 { ac_try='test -s conftest.$ac_objext'
23698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23699 (eval $ac_try) 2>&5
23700 ac_status=$?
23701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23702 (exit $ac_status); }; }; then
23703
23704 xpm_link=" -lXpm"
23705 cat >>confdefs.h <<\_ACEOF
23706#define wxHAVE_LIB_XPM 1
23707_ACEOF
23708
23709 echo "$as_me:$LINENO: result: found in default search path" >&5
23710echo "${ECHO_T}found in default search path" >&6
23711 COMPILED_X_PROGRAM=0
23712
23713else
23714 echo "$as_me: failed program was:" >&5
23715sed 's/^/| /' conftest.$ac_ext >&5
23716
23717
23718 echo "$as_me:$LINENO: result: no" >&5
23719echo "${ECHO_T}no" >&6
23720 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
23721echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
23722
23723
23724fi
23725rm -f conftest.$ac_objext conftest.$ac_ext
23726
23727 CFLAGS=$save_CFLAGS
23728 fi
23729
23730 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
23731echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
23732 libp_link=""
23733 libsm_ice_link=""
23734 libs_found=0
23735 for libp in "" " -lXp"; do
23736 if test "$libs_found" = "0"; then
23737 for libsm_ice in " -lSM -lICE"; do
23738 if test "$libs_found" = "0"; then
23739 save_LIBS="$LIBS"
23740 LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
23741 save_CFLAGS=$CFLAGS
23742 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23743
23744 cat >conftest.$ac_ext <<_ACEOF
23745#line $LINENO "configure"
23746/* confdefs.h. */
23747_ACEOF
23748cat confdefs.h >>conftest.$ac_ext
23749cat >>conftest.$ac_ext <<_ACEOF
23750/* end confdefs.h. */
23751
23752 #include <Xm/Xm.h>
23753 #include <Xm/List.h>
23754
23755int
23756main ()
23757{
23758
23759 XmString string = NULL;
23760 Widget w = NULL;
23761 int position = 0;
23762 XmListAddItem(w, string, position);
23763
23764 ;
23765 return 0;
23766}
23767_ACEOF
23768rm -f conftest.$ac_objext conftest$ac_exeext
23769if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23770 (eval $ac_link) 2>&5
23771 ac_status=$?
23772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23773 (exit $ac_status); } &&
23774 { ac_try='test -s conftest$ac_exeext'
23775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23776 (eval $ac_try) 2>&5
23777 ac_status=$?
23778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23779 (exit $ac_status); }; }; then
23780
23781 libp_link="$libp"
23782 libsm_ice_link="$libsm_ice"
23783 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
23784echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
23785 libs_found=1
23786
23787else
23788 echo "$as_me: failed program was:" >&5
23789sed 's/^/| /' conftest.$ac_ext >&5
23790
23791
23792
23793fi
23794rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23795
23796 LIBS="$save_LIBS"
23797 CFLAGS=$save_CFLAGS
23798 fi
23799 done
23800 fi
23801 done
23802
23803 if test "$libs_found" = "0"; then
23804 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
23805echo "${ECHO_T}can't find the right libraries" >&6
23806 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
23807echo "$as_me: error: can't link a simple motif program" >&2;}
23808 { (exit 1); exit 1; }; }
23809 fi
23810
23811 save_CFLAGS=$CFLAGS
23812 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23813 echo "$as_me:$LINENO: checking for Motif 2" >&5
23814echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
23815 cat >conftest.$ac_ext <<_ACEOF
23816#line $LINENO "configure"
23817/* confdefs.h. */
23818_ACEOF
23819cat confdefs.h >>conftest.$ac_ext
23820cat >>conftest.$ac_ext <<_ACEOF
23821/* end confdefs.h. */
23822
23823 #include <Xm/Xm.h>
23824
23825int
23826main ()
23827{
23828
23829 #if XmVersion < 2000
23830 #error "Not Motif 2"
23831 #endif
23832
23833 ;
23834 return 0;
23835}
23836_ACEOF
23837rm -f conftest.$ac_objext
23838if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23839 (eval $ac_compile) 2>&5
23840 ac_status=$?
23841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23842 (exit $ac_status); } &&
23843 { ac_try='test -s conftest.$ac_objext'
23844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23845 (eval $ac_try) 2>&5
23846 ac_status=$?
23847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23848 (exit $ac_status); }; }; then
23849
23850 cat >>confdefs.h <<\_ACEOF
23851#define __WXMOTIF20__ 1
23852_ACEOF
23853
23854 echo "$as_me:$LINENO: result: found" >&5
23855echo "${ECHO_T}found" >&6
23856
23857else
23858 echo "$as_me: failed program was:" >&5
23859sed 's/^/| /' conftest.$ac_ext >&5
23860
23861
23862 cat >>confdefs.h <<\_ACEOF
23863#define __WXMOTIF20__ 0
23864_ACEOF
23865
23866 echo "$as_me:$LINENO: result: not found" >&5
23867echo "${ECHO_T}not found" >&6
23868
23869fi
23870rm -f conftest.$ac_objext conftest.$ac_ext
23871 CFLAGS=$save_CFLAGS
23872
23873 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
23874 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
23875 TOOLKIT=MOTIF
23876 GUIDIST=MOTIF_DIST
23877 wxHAVE_XEXT_LIB=1
23878 fi
23879
23880 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
23881 test "$wxHAVE_XEXT_LIB" = 1; then
23882 save_CFLAGS="$CFLAGS"
23883 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23884
23885 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
23886echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
23887 cat >conftest.$ac_ext <<_ACEOF
23888#line $LINENO "configure"
23889/* confdefs.h. */
23890_ACEOF
23891cat confdefs.h >>conftest.$ac_ext
23892cat >>conftest.$ac_ext <<_ACEOF
23893/* end confdefs.h. */
23894
23895 #include <X11/Xlib.h>
23896 #include <X11/extensions/shape.h>
23897
23898int
23899main ()
23900{
23901
23902 int dummy1, dummy2;
23903 XShapeQueryExtension((Display*)NULL,
23904 (int*)NULL, (int*)NULL);
23905
23906 ;
23907 return 0;
23908}
23909_ACEOF
23910rm -f conftest.$ac_objext
23911if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23912 (eval $ac_compile) 2>&5
23913 ac_status=$?
23914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23915 (exit $ac_status); } &&
23916 { ac_try='test -s conftest.$ac_objext'
23917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23918 (eval $ac_try) 2>&5
23919 ac_status=$?
23920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23921 (exit $ac_status); }; }; then
23922
23923 cat >>confdefs.h <<\_ACEOF
23924#define HAVE_XSHAPE 1
23925_ACEOF
23926
23927 echo "$as_me:$LINENO: result: found" >&5
23928echo "${ECHO_T}found" >&6
23929
23930else
23931 echo "$as_me: failed program was:" >&5
23932sed 's/^/| /' conftest.$ac_ext >&5
23933
23934
23935 echo "$as_me:$LINENO: result: not found" >&5
23936echo "${ECHO_T}not found" >&6
23937
23938fi
23939rm -f conftest.$ac_objext conftest.$ac_ext
23940 CFLAGS="$save_CFLAGS"
23941 fi
23942
23943 if test "$wxUSE_MAC" = 1; then
23944 CPPFLAGS="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
23945
23946 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
23947 TOOLKIT=MAC
23948 GUIDIST=MACX_DIST
23949 fi
23950
23951 if test "$wxUSE_COCOA" = 1; then
23952 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
23953 TOOLKIT=COCOA
23954 GUIDIST=COCOA_DIST
23955 fi
23956
23957 if test "$wxUSE_PM" = 1; then
23958 TOOLKIT=PM
23959 GUIDIST=GTK_DIST
23960 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
23961echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
23962 wxUSE_THREADS="no"
23963 fi
23964
23965 if test "$TOOLKIT" = "PM" ; then
23966 TOOLKIT_DIR="os2"
23967 else
23968 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
23969 fi
23970
23971 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
23972
23973 if test "$wxUSE_UNIVERSAL" = "yes"; then
23974 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
23975
23976 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
23977 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
23978
23979 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
23980 if test "$wxUSE_X11" = 1; then
23981 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
23982 else
23983 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
23984 fi
23985 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
23986 WIDGET_SET=univ
23987 else
23988 ALL_OBJECTS="\$(GUIOBJS)"
23989 ALL_SOURCES="\$(ALL_SOURCES)"
23990 ALL_HEADERS="\$(ALL_HEADERS)"
23991 fi
23992
23993 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
23994
23995 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
23996 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
23997 fi
23998
23999 if test "$wxUSE_HTML" = "yes"; then
24000 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
24001 fi
24002
24003 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24004 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
24005 fi
24006 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24007 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
24008 fi
24009 if test "$wxUSE_LIBPNG" = "builtin" ; then
24010 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
24011 fi
24012
24013 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24014 DISTDIR="wx\$(TOOLKIT)"
24015else
24016 USE_GUI=0
24017
24018 TOOLKIT_DIR="base"
24019
24020 if test "$USE_WIN32" = 1 ; then
24021 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24022 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
24023
24024 TOOLKIT="MSW"
24025 else
24026 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24027 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
24028 fi
24029
24030 ALL_SOURCES="\$(ALL_SOURCES)"
24031 ALL_HEADERS="\$(ALL_HEADERS)"
24032
24033 PORT_FILES="\${top_srcdir}/src/files.lst"
24034
24035 GUIDIST="BASE_DIST"
24036 DISTDIR="wxBase"
24037fi
24038
24039
24040
24041
24042IODBC_C_SRC=""
24043
24044
24045if test "$TOOLKIT" != "MSW" ; then
24046
24047 if test "$wxUSE_ODBC" != "no" ; then
24048 cat >>confdefs.h <<\_ACEOF
24049#define wxUSE_ODBC 1
24050_ACEOF
24051
24052 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
24053
24054 WXODBCFLAG="-D_IODBC_"
24055
24056
24057 if test "$wxUSE_ODBC" = "sys" ; then
24058
24059 if test "${ac_cv_header_sql_h+set}" = set; then
24060 echo "$as_me:$LINENO: checking for sql.h" >&5
24061echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24062if test "${ac_cv_header_sql_h+set}" = set; then
24063 echo $ECHO_N "(cached) $ECHO_C" >&6
24064fi
24065echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24066echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24067else
24068 # Is the header compilable?
24069echo "$as_me:$LINENO: checking sql.h usability" >&5
24070echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24071cat >conftest.$ac_ext <<_ACEOF
24072#line $LINENO "configure"
24073/* confdefs.h. */
24074_ACEOF
24075cat confdefs.h >>conftest.$ac_ext
24076cat >>conftest.$ac_ext <<_ACEOF
24077/* end confdefs.h. */
24078$ac_includes_default
24079#include <sql.h>
24080_ACEOF
24081rm -f conftest.$ac_objext
24082if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24083 (eval $ac_compile) 2>&5
24084 ac_status=$?
24085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24086 (exit $ac_status); } &&
24087 { ac_try='test -s conftest.$ac_objext'
24088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24089 (eval $ac_try) 2>&5
24090 ac_status=$?
24091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24092 (exit $ac_status); }; }; then
24093 ac_header_compiler=yes
24094else
24095 echo "$as_me: failed program was:" >&5
24096sed 's/^/| /' conftest.$ac_ext >&5
24097
24098ac_header_compiler=no
24099fi
24100rm -f conftest.$ac_objext conftest.$ac_ext
24101echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24102echo "${ECHO_T}$ac_header_compiler" >&6
24103
24104# Is the header present?
24105echo "$as_me:$LINENO: checking sql.h presence" >&5
24106echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24107cat >conftest.$ac_ext <<_ACEOF
24108#line $LINENO "configure"
24109/* confdefs.h. */
24110_ACEOF
24111cat confdefs.h >>conftest.$ac_ext
24112cat >>conftest.$ac_ext <<_ACEOF
24113/* end confdefs.h. */
24114#include <sql.h>
24115_ACEOF
24116if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24117 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24118 ac_status=$?
24119 grep -v '^ *+' conftest.er1 >conftest.err
24120 rm -f conftest.er1
24121 cat conftest.err >&5
24122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24123 (exit $ac_status); } >/dev/null; then
24124 if test -s conftest.err; then
24125 ac_cpp_err=$ac_c_preproc_warn_flag
24126 else
24127 ac_cpp_err=
24128 fi
24129else
24130 ac_cpp_err=yes
24131fi
24132if test -z "$ac_cpp_err"; then
24133 ac_header_preproc=yes
24134else
24135 echo "$as_me: failed program was:" >&5
24136sed 's/^/| /' conftest.$ac_ext >&5
24137
24138 ac_header_preproc=no
24139fi
24140rm -f conftest.err conftest.$ac_ext
24141echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24142echo "${ECHO_T}$ac_header_preproc" >&6
24143
24144# So? What about this header?
24145case $ac_header_compiler:$ac_header_preproc in
24146 yes:no )
24147 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24148echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24149 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24150echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24151 (
24152 cat <<\_ASBOX
24153## ------------------------------------ ##
24154## Report this to bug-autoconf@gnu.org. ##
24155## ------------------------------------ ##
24156_ASBOX
24157 ) |
24158 sed "s/^/$as_me: WARNING: /" >&2
24159 ;;
24160 no:yes )
24161 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24162echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24163 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24164echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24165 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24166echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24167 (
24168 cat <<\_ASBOX
24169## ------------------------------------ ##
24170## Report this to bug-autoconf@gnu.org. ##
24171## ------------------------------------ ##
24172_ASBOX
24173 ) |
24174 sed "s/^/$as_me: WARNING: /" >&2
24175 ;;
24176esac
24177echo "$as_me:$LINENO: checking for sql.h" >&5
24178echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24179if test "${ac_cv_header_sql_h+set}" = set; then
24180 echo $ECHO_N "(cached) $ECHO_C" >&6
24181else
24182 ac_cv_header_sql_h=$ac_header_preproc
24183fi
24184echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24185echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24186
24187fi
24188
24189
24190 echo "$as_me:$LINENO: checking for library containing SQLAllocEnv" >&5
24191echo $ECHO_N "checking for library containing SQLAllocEnv... $ECHO_C" >&6
24192if test "${ac_cv_search_SQLAllocEnv+set}" = set; then
24193 echo $ECHO_N "(cached) $ECHO_C" >&6
24194else
24195 ac_func_search_save_LIBS=$LIBS
24196ac_cv_search_SQLAllocEnv=no
24197cat >conftest.$ac_ext <<_ACEOF
24198#line $LINENO "configure"
24199/* confdefs.h. */
24200_ACEOF
24201cat confdefs.h >>conftest.$ac_ext
24202cat >>conftest.$ac_ext <<_ACEOF
24203/* end confdefs.h. */
24204
24205/* Override any gcc2 internal prototype to avoid an error. */
24206#ifdef __cplusplus
24207extern "C"
24208#endif
24209/* We use char because int might match the return type of a gcc2
24210 builtin and then its argument prototype would still apply. */
24211char SQLAllocEnv ();
24212int
24213main ()
24214{
24215SQLAllocEnv ();
24216 ;
24217 return 0;
24218}
24219_ACEOF
24220rm -f conftest.$ac_objext conftest$ac_exeext
24221if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24222 (eval $ac_link) 2>&5
24223 ac_status=$?
24224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24225 (exit $ac_status); } &&
24226 { ac_try='test -s conftest$ac_exeext'
24227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24228 (eval $ac_try) 2>&5
24229 ac_status=$?
24230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24231 (exit $ac_status); }; }; then
24232 ac_cv_search_SQLAllocEnv="none required"
24233else
24234 echo "$as_me: failed program was:" >&5
24235sed 's/^/| /' conftest.$ac_ext >&5
24236
24237fi
24238rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24239if test "$ac_cv_search_SQLAllocEnv" = no; then
24240 for ac_lib in iodbc unixodbc odbc ; do
24241 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24242 cat >conftest.$ac_ext <<_ACEOF
24243#line $LINENO "configure"
24244/* confdefs.h. */
24245_ACEOF
24246cat confdefs.h >>conftest.$ac_ext
24247cat >>conftest.$ac_ext <<_ACEOF
24248/* end confdefs.h. */
24249
24250/* Override any gcc2 internal prototype to avoid an error. */
24251#ifdef __cplusplus
24252extern "C"
24253#endif
24254/* We use char because int might match the return type of a gcc2
24255 builtin and then its argument prototype would still apply. */
24256char SQLAllocEnv ();
24257int
24258main ()
24259{
24260SQLAllocEnv ();
24261 ;
24262 return 0;
24263}
24264_ACEOF
24265rm -f conftest.$ac_objext conftest$ac_exeext
24266if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24267 (eval $ac_link) 2>&5
24268 ac_status=$?
24269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24270 (exit $ac_status); } &&
24271 { ac_try='test -s conftest$ac_exeext'
24272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24273 (eval $ac_try) 2>&5
24274 ac_status=$?
24275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24276 (exit $ac_status); }; }; then
24277 ac_cv_search_SQLAllocEnv="-l$ac_lib"
24278break
24279else
24280 echo "$as_me: failed program was:" >&5
24281sed 's/^/| /' conftest.$ac_ext >&5
24282
24283fi
24284rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24285 done
24286fi
24287LIBS=$ac_func_search_save_LIBS
24288fi
24289echo "$as_me:$LINENO: result: $ac_cv_search_SQLAllocEnv" >&5
24290echo "${ECHO_T}$ac_cv_search_SQLAllocEnv" >&6
24291if test "$ac_cv_search_SQLAllocEnv" != no; then
24292 test "$ac_cv_search_SQLAllocEnv" = "none required" || LIBS="$ac_cv_search_SQLAllocEnv $LIBS"
24293
24294else
24295
24296 wxUSE_ODBC=builtin;
24297 { echo "$as_me:$LINENO: WARNING: can't find system Odbc library falling back to builtin " >&5
24298echo "$as_me: WARNING: can't find system Odbc library falling back to builtin " >&2;}
24299
24300fi
24301
24302 fi
24303 if test "$wxUSE_ODBC" != "sys" ; then
24304 ALL_OBJECTS="${ALL_OBJECTS} \$(IODBCOBJS)"
24305 fi
24306
24307 fi
24308
24309fi
24310
24311if test "$wxUSE_REGEX" = "builtin" ; then
24312 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
24313fi
24314if test "$wxUSE_ZLIB" = "builtin" ; then
24315 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
24316fi
24317
24318
24319if test "$wxUSE_OPENGL" = "yes"; then
24320 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24321 OPENGL_LIBS="-framework OpenGL -framework AGL"
24322 elif test "$wxUSE_MSW" = 1; then
24323 OPENGL_LIBS="-lopengl32 -lglu32"
24324 else
24325
24326
24327ac_find_includes=
24328for ac_dir in $SEARCH_INCLUDE /usr/include;
24329 do
24330 if test -f "$ac_dir/GL/gl.h"; then
24331 ac_find_includes=$ac_dir
24332 break
24333 fi
24334 done
24335
24336 if test "$ac_find_includes" != "" ; then
24337 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24338echo "${ECHO_T}found in $ac_find_includes" >&6
24339 set -x
24340
24341 if test "x$ac_find_includes" = "x/usr/include"; then
24342 ac_path_to_include=""
24343 else
24344 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
24345 result=$?
24346 if test $result = 0; then
24347 ac_path_to_include=""
24348 else
24349 ac_path_to_include=" -I$ac_find_includes"
24350 fi
24351 fi
24352
24353 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
24354 set +x
24355 fi
24356
24357 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24358 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24359echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24360if test "${ac_cv_header_GL_gl_h+set}" = set; then
24361 echo $ECHO_N "(cached) $ECHO_C" >&6
24362fi
24363echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24364echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24365else
24366 # Is the header compilable?
24367echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24368echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24369cat >conftest.$ac_ext <<_ACEOF
24370#line $LINENO "configure"
24371/* confdefs.h. */
24372_ACEOF
24373cat confdefs.h >>conftest.$ac_ext
24374cat >>conftest.$ac_ext <<_ACEOF
24375/* end confdefs.h. */
24376$ac_includes_default
24377#include <GL/gl.h>
24378_ACEOF
24379rm -f conftest.$ac_objext
24380if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24381 (eval $ac_compile) 2>&5
24382 ac_status=$?
24383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24384 (exit $ac_status); } &&
24385 { ac_try='test -s conftest.$ac_objext'
24386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24387 (eval $ac_try) 2>&5
24388 ac_status=$?
24389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24390 (exit $ac_status); }; }; then
24391 ac_header_compiler=yes
24392else
24393 echo "$as_me: failed program was:" >&5
24394sed 's/^/| /' conftest.$ac_ext >&5
24395
24396ac_header_compiler=no
24397fi
24398rm -f conftest.$ac_objext conftest.$ac_ext
24399echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24400echo "${ECHO_T}$ac_header_compiler" >&6
24401
24402# Is the header present?
24403echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24404echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24405cat >conftest.$ac_ext <<_ACEOF
24406#line $LINENO "configure"
24407/* confdefs.h. */
24408_ACEOF
24409cat confdefs.h >>conftest.$ac_ext
24410cat >>conftest.$ac_ext <<_ACEOF
24411/* end confdefs.h. */
24412#include <GL/gl.h>
24413_ACEOF
24414if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24415 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24416 ac_status=$?
24417 grep -v '^ *+' conftest.er1 >conftest.err
24418 rm -f conftest.er1
24419 cat conftest.err >&5
24420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24421 (exit $ac_status); } >/dev/null; then
24422 if test -s conftest.err; then
24423 ac_cpp_err=$ac_c_preproc_warn_flag
24424 else
24425 ac_cpp_err=
24426 fi
24427else
24428 ac_cpp_err=yes
24429fi
24430if test -z "$ac_cpp_err"; then
24431 ac_header_preproc=yes
24432else
24433 echo "$as_me: failed program was:" >&5
24434sed 's/^/| /' conftest.$ac_ext >&5
24435
24436 ac_header_preproc=no
24437fi
24438rm -f conftest.err conftest.$ac_ext
24439echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24440echo "${ECHO_T}$ac_header_preproc" >&6
24441
24442# So? What about this header?
24443case $ac_header_compiler:$ac_header_preproc in
24444 yes:no )
24445 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24446echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24447 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24448echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24449 (
24450 cat <<\_ASBOX
24451## ------------------------------------ ##
24452## Report this to bug-autoconf@gnu.org. ##
24453## ------------------------------------ ##
24454_ASBOX
24455 ) |
24456 sed "s/^/$as_me: WARNING: /" >&2
24457 ;;
24458 no:yes )
24459 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24460echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24461 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24462echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24463 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24464echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24465 (
24466 cat <<\_ASBOX
24467## ------------------------------------ ##
24468## Report this to bug-autoconf@gnu.org. ##
24469## ------------------------------------ ##
24470_ASBOX
24471 ) |
24472 sed "s/^/$as_me: WARNING: /" >&2
24473 ;;
24474esac
24475echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24476echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24477if test "${ac_cv_header_GL_gl_h+set}" = set; then
24478 echo $ECHO_N "(cached) $ECHO_C" >&6
24479else
24480 ac_cv_header_GL_gl_h=$ac_header_preproc
24481fi
24482echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24483echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24484
24485fi
24486if test $ac_cv_header_GL_gl_h = yes; then
24487
24488 found_gl=0
24489
24490 echo "$as_me:$LINENO: checking for -lGL" >&5
24491echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
24492
24493ac_find_libraries=
24494for ac_dir in $SEARCH_LIB /usr/lib;
24495 do
24496 for ac_extension in a so sl dylib; do
24497 if test -f "$ac_dir/libGL.$ac_extension"; then
24498 ac_find_libraries=$ac_dir
24499 break 2
24500 fi
24501 done
24502 done
24503
24504 if test "$ac_find_libraries" != "" ; then
24505
24506 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24507 result=$?
24508 if test $result = 0; then
24509 ac_path_to_link=""
24510 else
24511 ac_path_to_link=" -L$ac_find_libraries"
24512 fi
24513
24514 if test "$ac_path_to_link" != " -L/usr/lib" ; then
24515 LDFLAGS_GL="$ac_path_to_link"
24516 fi
24517
24518
24519ac_find_libraries=
24520for ac_dir in $SEARCH_LIB /usr/lib;
24521 do
24522 for ac_extension in a so sl dylib; do
24523 if test -f "$ac_dir/libGLU.$ac_extension"; then
24524 ac_find_libraries=$ac_dir
24525 break 2
24526 fi
24527 done
24528 done
24529
24530 if test "$ac_find_libraries" != "" ; then
24531
24532 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24533 result=$?
24534 if test $result = 0; then
24535 ac_path_to_link=""
24536 else
24537 ac_path_to_link=" -L$ac_find_libraries"
24538 fi
24539
24540 if test "$ac_path_to_link" != " -L/usr/lib" -a \
24541 "$ac_path_to_link" != "$LDFLAGS_GL"; then
24542 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
24543 fi
24544
24545 found_gl=1
24546 OPENGL_LIBS="-lGL -lGLU"
24547 echo "$as_me:$LINENO: result: yes" >&5
24548echo "${ECHO_T}yes" >&6
24549 fi
24550 fi
24551
24552 if "$found_gl" != 1; then
24553 echo "$as_me:$LINENO: result: no" >&5
24554echo "${ECHO_T}no" >&6
24555 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
24556echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
24557
24558ac_find_libraries=
24559for ac_dir in $SEARCH_LIB /usr/lib;
24560 do
24561 for ac_extension in a so sl dylib; do
24562 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
24563 ac_find_libraries=$ac_dir
24564 break 2
24565 fi
24566 done
24567 done
24568
24569 if test "$ac_find_libraries" != "" ; then
24570
24571 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24572 result=$?
24573 if test $result = 0; then
24574 ac_path_to_link=""
24575 else
24576 ac_path_to_link=" -L$ac_find_libraries"
24577 fi
24578
24579 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
24580 OPENGL_LIBS="-lMesaGL -lMesaGLU"
24581 echo "$as_me:$LINENO: result: yes" >&5
24582echo "${ECHO_T}yes" >&6
24583 else
24584 echo "$as_me:$LINENO: result: no" >&5
24585echo "${ECHO_T}no" >&6
24586 fi
24587 fi
24588
24589fi
24590
24591
24592
24593 if test "x$OPENGL_LIBS" = "x"; then
24594 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
24595echo "$as_me: error: OpenGL libraries not available" >&2;}
24596 { (exit 1); exit 1; }; }
24597 fi
24598 fi
24599
24600 if test "$wxUSE_OPENGL" = "yes"; then
24601 cat >>confdefs.h <<\_ACEOF
24602#define wxUSE_OPENGL 1
24603_ACEOF
24604
24605 cat >>confdefs.h <<\_ACEOF
24606#define wxUSE_GLCANVAS 1
24607_ACEOF
24608
24609 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl"
24610 fi
24611fi
24612
24613if test -z "$TOOLKIT_VPATH" ; then
24614 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
24615fi
24616
24617if test -n "$TOOLKIT" ; then
24618 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
24619fi
24620
24621UNICODE=0
24622lib_unicode_suffix=
24623if test "$wxUSE_UNICODE" = "yes"; then
24624 lib_unicode_suffix=u
24625 UNICODE=1
24626fi
24627
24628lib_debug_suffix=
24629BUILD=release
24630if test "$wxUSE_DEBUG_FLAG" = "yes"; then
24631 lib_debug_suffix=d
24632 BUILD=debug
24633fi
24634
24635WX_VERSION_TAG=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
24636
24637TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
24638TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
24639
24640if test "$cross_compiling" = "yes"; then
24641 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
24642 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
24643fi
24644
24645WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
24646WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
24647WX_LIBRARY_BASENAME="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
24648
24649WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24650WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24651
24652WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
24653WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
24654WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
24655WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24656
24657case "${host}" in
24658 *-*-cygwin* | *-*-mingw32* )
24659
24660
24661
24662 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
24663 WX_LIBRARY="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
24664 WX_LIBRARY_GL="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
24665 WX_LIBRARY_NAME_SHARED="${WX_LIBRARY}.${SO_SUFFIX}"
24666 WX_LIBRARY_NAME_SHARED_GL="${WX_LIBRARY_GL}.${SO_SUFFIX}"
24667 else
24668 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
24669 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24670 fi
24671 ;;
24672
24673 *-*-darwin* )
24674
24675 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
24676 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
24677
24678 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
24679 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
24680 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
24681 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24682
24683 if test "$wxUSE_MAC" = 1; then
24684 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
24685 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
24686 fi
24687 ;;
24688esac
24689
24690WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
24691WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
24692
24693WXCONFIG_LIBS="-l${WX_LIBRARY}"
24694WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
24695
24696if test "$wxUSE_OPENGL" = "yes"; then
24697 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
24698 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
24699fi
24700
24701
24702
24703if test "$wxUSE_SHARED" = "yes"; then
24704 case "${host}" in
24705 *-pc-os2_emx | *-pc-os2-emx | \
24706 *-pc-msdosdjgpp )
24707 wxUSE_SHARED=no
24708 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
24709echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
24710 ;;
24711 esac
24712fi
24713
24714SHARED=0
24715if test "$wxUSE_SHARED" = "yes"; then
24716 SHARED=1
24717
24718
24719 found_versioning=no
24720
24721
24722 if test $found_versioning = no ; then
24723 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
24724echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
24725if test "${wx_cv_version_script+set}" = set; then
24726 echo $ECHO_N "(cached) $ECHO_C" >&6
24727else
24728
24729 echo "VER_1 { *; };" >conftest.sym
24730 echo "int main() { return 0; }" >conftest.cpp
24731
24732 if { ac_try='
24733 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
24734 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
24735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24736 (eval $ac_try) 2>&5
24737 ac_status=$?
24738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24739 (exit $ac_status); }; } ; then
24740 if test -s conftest.stderr ; then
24741 wx_cv_version_script=no
24742 else
24743 wx_cv_version_script=yes
24744 fi
24745 else
24746 wx_cv_version_script=no
24747 fi
24748 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
24749
24750fi
24751echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
24752echo "${ECHO_T}$wx_cv_version_script" >&6
24753 if test $wx_cv_version_script = yes ; then
24754 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
24755 fi
24756 fi
24757
24758
24759 case "${host}" in
24760 *-*-linux* | *-*-gnu* )
24761 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
24762 ;;
24763
24764 *-*-solaris2* )
24765 if test "$GCC" = yes ; then
24766 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
24767
24768 saveLdflags="$LDFLAGS"
24769 LDFLAGS="$saveLdflags -Wl,-rpath,/"
24770 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
24771echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
24772 cat >conftest.$ac_ext <<_ACEOF
24773#line $LINENO "configure"
24774/* confdefs.h. */
24775_ACEOF
24776cat confdefs.h >>conftest.$ac_ext
24777cat >>conftest.$ac_ext <<_ACEOF
24778/* end confdefs.h. */
24779
24780int
24781main ()
24782{
24783
24784 ;
24785 return 0;
24786}
24787_ACEOF
24788rm -f conftest.$ac_objext conftest$ac_exeext
24789if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24790 (eval $ac_link) 2>&5
24791 ac_status=$?
24792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24793 (exit $ac_status); } &&
24794 { ac_try='test -s conftest$ac_exeext'
24795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24796 (eval $ac_try) 2>&5
24797 ac_status=$?
24798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24799 (exit $ac_status); }; }; then
24800
24801 echo "$as_me:$LINENO: result: yes" >&5
24802echo "${ECHO_T}yes" >&6
24803 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
24804
24805else
24806 echo "$as_me: failed program was:" >&5
24807sed 's/^/| /' conftest.$ac_ext >&5
24808
24809
24810 echo "$as_me:$LINENO: result: no" >&5
24811echo "${ECHO_T}no" >&6
24812 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
24813echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
24814 LDFLAGS="$saveLdflags -Wl,-R,/"
24815 cat >conftest.$ac_ext <<_ACEOF
24816#line $LINENO "configure"
24817/* confdefs.h. */
24818_ACEOF
24819cat confdefs.h >>conftest.$ac_ext
24820cat >>conftest.$ac_ext <<_ACEOF
24821/* end confdefs.h. */
24822
24823int
24824main ()
24825{
24826
24827 ;
24828 return 0;
24829}
24830_ACEOF
24831rm -f conftest.$ac_objext conftest$ac_exeext
24832if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24833 (eval $ac_link) 2>&5
24834 ac_status=$?
24835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24836 (exit $ac_status); } &&
24837 { ac_try='test -s conftest$ac_exeext'
24838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24839 (eval $ac_try) 2>&5
24840 ac_status=$?
24841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24842 (exit $ac_status); }; }; then
24843
24844 echo "$as_me:$LINENO: result: yes" >&5
24845echo "${ECHO_T}yes" >&6
24846 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
24847else
24848 echo "$as_me: failed program was:" >&5
24849sed 's/^/| /' conftest.$ac_ext >&5
24850
24851
24852 echo "$as_me:$LINENO: result: no" >&5
24853echo "${ECHO_T}no" >&6
24854
24855fi
24856rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24857
24858fi
24859rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24860 LDFLAGS="$saveLdflags"
24861 else
24862 SHARED_LD="${CXX} -G -o"
24863 PIC_FLAG="-KPIC"
24864 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
24865 fi
24866 ;;
24867
24868 *-*-cygwin* | *-*-mingw32* )
24869 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
24870 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
24871
24872 if test "$wxUSE_OPENGL" = "yes"; then
24873 LIBS="${LIBS} ${OPENGL_LIBS}"
24874 fi
24875 ;;
24876 esac
24877
24878 if test "x$WX_TARGET_LIBRARY" = "x"; then
24879 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
24880 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
24881 fi
24882
24883 WX_TARGET_LIBRARY_TYPE="so"
24884 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
24885fi
24886
24887if test "$wxUSE_SHARED" = "no"; then
24888
24889 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
24890 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
24891 fi
24892
24893 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
24894 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
24895 fi
24896
24897 if test "$wxUSE_OPENGL" = "yes"; then
24898 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
24899 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
24900 else
24901 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
24902 fi
24903
24904 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
24905 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
24906
24907 WX_TARGET_LIBRARY_TYPE="a"
24908 INSTALL_LIBRARY='$(INSTALL_DATA)'
24909
24910 STATIC_FLAG="yes"
24911else
24912 STATIC_FLAG="no"
24913fi
24914
24915MACRESCOMP="@#"
24916MACSETFILE="@#"
24917MACRESWXCONFIG="#"
24918if test "$wxUSE_MAC" = 1; then
24919 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
24920 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
24921 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
24922 # Extract the first word of "Rez", so it can be a program name with args.
24923set dummy Rez; ac_word=$2
24924echo "$as_me:$LINENO: checking for $ac_word" >&5
24925echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24926if test "${ac_cv_prog_RESCOMP+set}" = set; then
24927 echo $ECHO_N "(cached) $ECHO_C" >&6
24928else
24929 if test -n "$RESCOMP"; then
24930 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
24931else
24932as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24933for as_dir in $PATH
24934do
24935 IFS=$as_save_IFS
24936 test -z "$as_dir" && as_dir=.
24937 for ac_exec_ext in '' $ac_executable_extensions; do
24938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24939 ac_cv_prog_RESCOMP="Rez"
24940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24941 break 2
24942 fi
24943done
24944done
24945
24946 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
24947fi
24948fi
24949RESCOMP=$ac_cv_prog_RESCOMP
24950if test -n "$RESCOMP"; then
24951 echo "$as_me:$LINENO: result: $RESCOMP" >&5
24952echo "${ECHO_T}$RESCOMP" >&6
24953else
24954 echo "$as_me:$LINENO: result: no" >&5
24955echo "${ECHO_T}no" >&6
24956fi
24957
24958 # Extract the first word of "DeRez", so it can be a program name with args.
24959set dummy DeRez; ac_word=$2
24960echo "$as_me:$LINENO: checking for $ac_word" >&5
24961echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24962if test "${ac_cv_prog_DEREZ+set}" = set; then
24963 echo $ECHO_N "(cached) $ECHO_C" >&6
24964else
24965 if test -n "$DEREZ"; then
24966 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
24967else
24968as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24969for as_dir in $PATH
24970do
24971 IFS=$as_save_IFS
24972 test -z "$as_dir" && as_dir=.
24973 for ac_exec_ext in '' $ac_executable_extensions; do
24974 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24975 ac_cv_prog_DEREZ="DeRez"
24976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24977 break 2
24978 fi
24979done
24980done
24981
24982 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
24983fi
24984fi
24985DEREZ=$ac_cv_prog_DEREZ
24986if test -n "$DEREZ"; then
24987 echo "$as_me:$LINENO: result: $DEREZ" >&5
24988echo "${ECHO_T}$DEREZ" >&6
24989else
24990 echo "$as_me:$LINENO: result: no" >&5
24991echo "${ECHO_T}no" >&6
24992fi
24993
24994 # Extract the first word of "SetFile", so it can be a program name with args.
24995set dummy SetFile; ac_word=$2
24996echo "$as_me:$LINENO: checking for $ac_word" >&5
24997echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24998if test "${ac_cv_prog_SETFILE+set}" = set; then
24999 echo $ECHO_N "(cached) $ECHO_C" >&6
25000else
25001 if test -n "$SETFILE"; then
25002 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25003else
25004as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25005for as_dir in $PATH
25006do
25007 IFS=$as_save_IFS
25008 test -z "$as_dir" && as_dir=.
25009 for ac_exec_ext in '' $ac_executable_extensions; do
25010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25011 ac_cv_prog_SETFILE="SetFile"
25012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25013 break 2
25014 fi
25015done
25016done
25017
25018 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25019fi
25020fi
25021SETFILE=$ac_cv_prog_SETFILE
25022if test -n "$SETFILE"; then
25023 echo "$as_me:$LINENO: result: $SETFILE" >&5
25024echo "${ECHO_T}$SETFILE" >&6
25025else
25026 echo "$as_me:$LINENO: result: no" >&5
25027echo "${ECHO_T}no" >&6
25028fi
25029
25030 MACOSX_BUNDLE="bundle"
25031 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25032 MACSETFILE="\$(SETFILE)"
25033 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25034elif test "$wxUSE_COCOA" = 1; then
25035 # Extract the first word of "Rez", so it can be a program name with args.
25036set dummy Rez; ac_word=$2
25037echo "$as_me:$LINENO: checking for $ac_word" >&5
25038echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25039if test "${ac_cv_prog_RESCOMP+set}" = set; then
25040 echo $ECHO_N "(cached) $ECHO_C" >&6
25041else
25042 if test -n "$RESCOMP"; then
25043 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25044else
25045as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25046for as_dir in $PATH
25047do
25048 IFS=$as_save_IFS
25049 test -z "$as_dir" && as_dir=.
25050 for ac_exec_ext in '' $ac_executable_extensions; do
25051 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25052 ac_cv_prog_RESCOMP="Rez"
25053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25054 break 2
25055 fi
25056done
25057done
25058
25059 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25060fi
25061fi
25062RESCOMP=$ac_cv_prog_RESCOMP
25063if test -n "$RESCOMP"; then
25064 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25065echo "${ECHO_T}$RESCOMP" >&6
25066else
25067 echo "$as_me:$LINENO: result: no" >&5
25068echo "${ECHO_T}no" >&6
25069fi
25070
25071 # Extract the first word of "DeRez", so it can be a program name with args.
25072set dummy DeRez; ac_word=$2
25073echo "$as_me:$LINENO: checking for $ac_word" >&5
25074echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25075if test "${ac_cv_prog_DEREZ+set}" = set; then
25076 echo $ECHO_N "(cached) $ECHO_C" >&6
25077else
25078 if test -n "$DEREZ"; then
25079 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25080else
25081as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25082for as_dir in $PATH
25083do
25084 IFS=$as_save_IFS
25085 test -z "$as_dir" && as_dir=.
25086 for ac_exec_ext in '' $ac_executable_extensions; do
25087 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25088 ac_cv_prog_DEREZ="DeRez"
25089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25090 break 2
25091 fi
25092done
25093done
25094
25095 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25096fi
25097fi
25098DEREZ=$ac_cv_prog_DEREZ
25099if test -n "$DEREZ"; then
25100 echo "$as_me:$LINENO: result: $DEREZ" >&5
25101echo "${ECHO_T}$DEREZ" >&6
25102else
25103 echo "$as_me:$LINENO: result: no" >&5
25104echo "${ECHO_T}no" >&6
25105fi
25106
25107 # Extract the first word of "SetFile", so it can be a program name with args.
25108set dummy SetFile; ac_word=$2
25109echo "$as_me:$LINENO: checking for $ac_word" >&5
25110echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25111if test "${ac_cv_prog_SETFILE+set}" = set; then
25112 echo $ECHO_N "(cached) $ECHO_C" >&6
25113else
25114 if test -n "$SETFILE"; then
25115 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25116else
25117as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25118for as_dir in $PATH
25119do
25120 IFS=$as_save_IFS
25121 test -z "$as_dir" && as_dir=.
25122 for ac_exec_ext in '' $ac_executable_extensions; do
25123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25124 ac_cv_prog_SETFILE="SetFile"
25125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25126 break 2
25127 fi
25128done
25129done
25130
25131 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25132fi
25133fi
25134SETFILE=$ac_cv_prog_SETFILE
25135if test -n "$SETFILE"; then
25136 echo "$as_me:$LINENO: result: $SETFILE" >&5
25137echo "${ECHO_T}$SETFILE" >&6
25138else
25139 echo "$as_me:$LINENO: result: no" >&5
25140echo "${ECHO_T}no" >&6
25141fi
25142
25143 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25144 MACSETFILE="\$(SETFILE)"
25145 MACRESWXCONFIG="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25146else
25147 if test "$wxUSE_PM" = 1; then
25148 MACRESCOMP="emxbind -ep"
25149 fi
25150fi
25151
25152
25153echo "$as_me:$LINENO: checking for mode_t" >&5
25154echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25155if test "${ac_cv_type_mode_t+set}" = set; then
25156 echo $ECHO_N "(cached) $ECHO_C" >&6
25157else
25158 cat >conftest.$ac_ext <<_ACEOF
25159#line $LINENO "configure"
25160/* confdefs.h. */
25161_ACEOF
25162cat confdefs.h >>conftest.$ac_ext
25163cat >>conftest.$ac_ext <<_ACEOF
25164/* end confdefs.h. */
25165$ac_includes_default
25166int
25167main ()
25168{
25169if ((mode_t *) 0)
25170 return 0;
25171if (sizeof (mode_t))
25172 return 0;
25173 ;
25174 return 0;
25175}
25176_ACEOF
25177rm -f conftest.$ac_objext
25178if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25179 (eval $ac_compile) 2>&5
25180 ac_status=$?
25181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25182 (exit $ac_status); } &&
25183 { ac_try='test -s conftest.$ac_objext'
25184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25185 (eval $ac_try) 2>&5
25186 ac_status=$?
25187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25188 (exit $ac_status); }; }; then
25189 ac_cv_type_mode_t=yes
25190else
25191 echo "$as_me: failed program was:" >&5
25192sed 's/^/| /' conftest.$ac_ext >&5
25193
25194ac_cv_type_mode_t=no
25195fi
25196rm -f conftest.$ac_objext conftest.$ac_ext
25197fi
25198echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25199echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25200if test $ac_cv_type_mode_t = yes; then
25201 :
25202else
25203
25204cat >>confdefs.h <<_ACEOF
25205#define mode_t int
25206_ACEOF
25207
25208fi
25209
25210echo "$as_me:$LINENO: checking for off_t" >&5
25211echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25212if test "${ac_cv_type_off_t+set}" = set; then
25213 echo $ECHO_N "(cached) $ECHO_C" >&6
25214else
25215 cat >conftest.$ac_ext <<_ACEOF
25216#line $LINENO "configure"
25217/* confdefs.h. */
25218_ACEOF
25219cat confdefs.h >>conftest.$ac_ext
25220cat >>conftest.$ac_ext <<_ACEOF
25221/* end confdefs.h. */
25222$ac_includes_default
25223int
25224main ()
25225{
25226if ((off_t *) 0)
25227 return 0;
25228if (sizeof (off_t))
25229 return 0;
25230 ;
25231 return 0;
25232}
25233_ACEOF
25234rm -f conftest.$ac_objext
25235if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25236 (eval $ac_compile) 2>&5
25237 ac_status=$?
25238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25239 (exit $ac_status); } &&
25240 { ac_try='test -s conftest.$ac_objext'
25241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25242 (eval $ac_try) 2>&5
25243 ac_status=$?
25244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25245 (exit $ac_status); }; }; then
25246 ac_cv_type_off_t=yes
25247else
25248 echo "$as_me: failed program was:" >&5
25249sed 's/^/| /' conftest.$ac_ext >&5
25250
25251ac_cv_type_off_t=no
25252fi
25253rm -f conftest.$ac_objext conftest.$ac_ext
25254fi
25255echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25256echo "${ECHO_T}$ac_cv_type_off_t" >&6
25257if test $ac_cv_type_off_t = yes; then
25258 :
25259else
25260
25261cat >>confdefs.h <<_ACEOF
25262#define off_t long
25263_ACEOF
25264
25265fi
25266
25267echo "$as_me:$LINENO: checking for pid_t" >&5
25268echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25269if test "${ac_cv_type_pid_t+set}" = set; then
25270 echo $ECHO_N "(cached) $ECHO_C" >&6
25271else
25272 cat >conftest.$ac_ext <<_ACEOF
25273#line $LINENO "configure"
25274/* confdefs.h. */
25275_ACEOF
25276cat confdefs.h >>conftest.$ac_ext
25277cat >>conftest.$ac_ext <<_ACEOF
25278/* end confdefs.h. */
25279$ac_includes_default
25280int
25281main ()
25282{
25283if ((pid_t *) 0)
25284 return 0;
25285if (sizeof (pid_t))
25286 return 0;
25287 ;
25288 return 0;
25289}
25290_ACEOF
25291rm -f conftest.$ac_objext
25292if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25293 (eval $ac_compile) 2>&5
25294 ac_status=$?
25295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25296 (exit $ac_status); } &&
25297 { ac_try='test -s conftest.$ac_objext'
25298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25299 (eval $ac_try) 2>&5
25300 ac_status=$?
25301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25302 (exit $ac_status); }; }; then
25303 ac_cv_type_pid_t=yes
25304else
25305 echo "$as_me: failed program was:" >&5
25306sed 's/^/| /' conftest.$ac_ext >&5
25307
25308ac_cv_type_pid_t=no
25309fi
25310rm -f conftest.$ac_objext conftest.$ac_ext
25311fi
25312echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25313echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25314if test $ac_cv_type_pid_t = yes; then
25315 :
25316else
25317
25318cat >>confdefs.h <<_ACEOF
25319#define pid_t int
25320_ACEOF
25321
25322fi
25323
25324echo "$as_me:$LINENO: checking for size_t" >&5
25325echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25326if test "${ac_cv_type_size_t+set}" = set; then
25327 echo $ECHO_N "(cached) $ECHO_C" >&6
25328else
25329 cat >conftest.$ac_ext <<_ACEOF
25330#line $LINENO "configure"
25331/* confdefs.h. */
25332_ACEOF
25333cat confdefs.h >>conftest.$ac_ext
25334cat >>conftest.$ac_ext <<_ACEOF
25335/* end confdefs.h. */
25336$ac_includes_default
25337int
25338main ()
25339{
25340if ((size_t *) 0)
25341 return 0;
25342if (sizeof (size_t))
25343 return 0;
25344 ;
25345 return 0;
25346}
25347_ACEOF
25348rm -f conftest.$ac_objext
25349if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25350 (eval $ac_compile) 2>&5
25351 ac_status=$?
25352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25353 (exit $ac_status); } &&
25354 { ac_try='test -s conftest.$ac_objext'
25355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25356 (eval $ac_try) 2>&5
25357 ac_status=$?
25358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25359 (exit $ac_status); }; }; then
25360 ac_cv_type_size_t=yes
25361else
25362 echo "$as_me: failed program was:" >&5
25363sed 's/^/| /' conftest.$ac_ext >&5
25364
25365ac_cv_type_size_t=no
25366fi
25367rm -f conftest.$ac_objext conftest.$ac_ext
25368fi
25369echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25370echo "${ECHO_T}$ac_cv_type_size_t" >&6
25371if test $ac_cv_type_size_t = yes; then
25372 :
25373else
25374
25375cat >>confdefs.h <<_ACEOF
25376#define size_t unsigned
25377_ACEOF
25378
25379fi
25380
25381echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25382echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25383if test "${ac_cv_type_uid_t+set}" = set; then
25384 echo $ECHO_N "(cached) $ECHO_C" >&6
25385else
25386 cat >conftest.$ac_ext <<_ACEOF
25387#line $LINENO "configure"
25388/* confdefs.h. */
25389_ACEOF
25390cat confdefs.h >>conftest.$ac_ext
25391cat >>conftest.$ac_ext <<_ACEOF
25392/* end confdefs.h. */
25393#include <sys/types.h>
25394
25395_ACEOF
25396if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25397 $EGREP "uid_t" >/dev/null 2>&1; then
25398 ac_cv_type_uid_t=yes
25399else
25400 ac_cv_type_uid_t=no
25401fi
25402rm -f conftest*
25403
25404fi
25405echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25406echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25407if test $ac_cv_type_uid_t = no; then
25408
25409cat >>confdefs.h <<\_ACEOF
25410#define uid_t int
25411_ACEOF
25412
25413
25414cat >>confdefs.h <<\_ACEOF
25415#define gid_t int
25416_ACEOF
25417
25418fi
25419
25420
25421
25422
25423ac_ext=cc
25424ac_cpp='$CXXCPP $CPPFLAGS'
25425ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25426ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25427ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25428
25429echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25430echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25431if test "${wx_cv_size_t_is_uint+set}" = set; then
25432 echo $ECHO_N "(cached) $ECHO_C" >&6
25433else
25434
25435 cat >conftest.$ac_ext <<_ACEOF
25436#line $LINENO "configure"
25437/* confdefs.h. */
25438_ACEOF
25439cat confdefs.h >>conftest.$ac_ext
25440cat >>conftest.$ac_ext <<_ACEOF
25441/* end confdefs.h. */
25442#include <stddef.h>
25443int
25444main ()
25445{
25446
25447 return 0; }
25448
25449 struct Foo { void foo(size_t); void foo(unsigned int); };
25450
25451 int bar() {
25452
25453 ;
25454 return 0;
25455}
25456_ACEOF
25457rm -f conftest.$ac_objext
25458if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25459 (eval $ac_compile) 2>&5
25460 ac_status=$?
25461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25462 (exit $ac_status); } &&
25463 { ac_try='test -s conftest.$ac_objext'
25464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25465 (eval $ac_try) 2>&5
25466 ac_status=$?
25467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25468 (exit $ac_status); }; }; then
25469 wx_cv_size_t_is_uint=no
25470else
25471 echo "$as_me: failed program was:" >&5
25472sed 's/^/| /' conftest.$ac_ext >&5
25473
25474wx_cv_size_t_is_uint=yes
25475
25476fi
25477rm -f conftest.$ac_objext conftest.$ac_ext
25478
25479
25480fi
25481echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
25482echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
25483
25484if test "$wx_cv_size_t_is_uint" = "yes"; then
25485 cat >>confdefs.h <<\_ACEOF
25486#define wxSIZE_T_IS_UINT 1
25487_ACEOF
25488
25489else
25490 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
25491echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
25492if test "${wx_cv_size_t_is_ulong+set}" = set; then
25493 echo $ECHO_N "(cached) $ECHO_C" >&6
25494else
25495 cat >conftest.$ac_ext <<_ACEOF
25496#line $LINENO "configure"
25497/* confdefs.h. */
25498_ACEOF
25499cat confdefs.h >>conftest.$ac_ext
25500cat >>conftest.$ac_ext <<_ACEOF
25501/* end confdefs.h. */
25502#include <stddef.h>
25503int
25504main ()
25505{
25506
25507 return 0; }
25508
25509 struct Foo { void foo(size_t); void foo(unsigned long); };
25510
25511 int bar() {
25512
25513 ;
25514 return 0;
25515}
25516_ACEOF
25517rm -f conftest.$ac_objext
25518if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25519 (eval $ac_compile) 2>&5
25520 ac_status=$?
25521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25522 (exit $ac_status); } &&
25523 { ac_try='test -s conftest.$ac_objext'
25524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25525 (eval $ac_try) 2>&5
25526 ac_status=$?
25527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25528 (exit $ac_status); }; }; then
25529 wx_cv_size_t_is_ulong=no
25530else
25531 echo "$as_me: failed program was:" >&5
25532sed 's/^/| /' conftest.$ac_ext >&5
25533
25534wx_cv_size_t_is_ulong=yes
25535
25536fi
25537rm -f conftest.$ac_objext conftest.$ac_ext
25538
25539fi
25540echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
25541echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
25542
25543 if test "$wx_cv_size_t_is_ulong" = "yes"; then
25544 cat >>confdefs.h <<\_ACEOF
25545#define wxSIZE_T_IS_ULONG 1
25546_ACEOF
25547
25548 fi
25549fi
25550
25551ac_ext=c
25552ac_cpp='$CPP $CPPFLAGS'
25553ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25554ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25555ac_compiler_gnu=$ac_cv_c_compiler_gnu
25556
25557
25558
25559echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
25560echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
25561if test "${wx_cv_struct_pw_gecos+set}" = set; then
25562 echo $ECHO_N "(cached) $ECHO_C" >&6
25563else
25564
25565 cat >conftest.$ac_ext <<_ACEOF
25566#line $LINENO "configure"
25567/* confdefs.h. */
25568_ACEOF
25569cat confdefs.h >>conftest.$ac_ext
25570cat >>conftest.$ac_ext <<_ACEOF
25571/* end confdefs.h. */
25572#include <pwd.h>
25573int
25574main ()
25575{
25576
25577 char *p;
25578 struct passwd *pw;
25579 p = pw->pw_gecos;
25580
25581 ;
25582 return 0;
25583}
25584_ACEOF
25585rm -f conftest.$ac_objext
25586if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25587 (eval $ac_compile) 2>&5
25588 ac_status=$?
25589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25590 (exit $ac_status); } &&
25591 { ac_try='test -s conftest.$ac_objext'
25592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25593 (eval $ac_try) 2>&5
25594 ac_status=$?
25595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25596 (exit $ac_status); }; }; then
25597
25598 wx_cv_struct_pw_gecos=yes
25599
25600else
25601 echo "$as_me: failed program was:" >&5
25602sed 's/^/| /' conftest.$ac_ext >&5
25603
25604
25605 wx_cv_struct_pw_gecos=no
25606
25607
25608fi
25609rm -f conftest.$ac_objext conftest.$ac_ext
25610
25611
25612fi
25613echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
25614echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
25615
25616if test "$wx_cv_struct_pw_gecos" = "yes"; then
25617 cat >>confdefs.h <<\_ACEOF
25618#define HAVE_PW_GECOS 1
25619_ACEOF
25620
25621fi
25622
25623
25624if test "$wx_cv_sizeof_wchar_t" != "0"; then
25625 cat >>confdefs.h <<\_ACEOF
25626#define wxUSE_WCHAR_T 1
25627_ACEOF
25628
25629
25630 WCSLEN_FOUND=0
25631 WCHAR_LINK=
25632
25633for ac_func in wcslen
25634do
25635as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25636echo "$as_me:$LINENO: checking for $ac_func" >&5
25637echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25638if eval "test \"\${$as_ac_var+set}\" = set"; then
25639 echo $ECHO_N "(cached) $ECHO_C" >&6
25640else
25641 cat >conftest.$ac_ext <<_ACEOF
25642#line $LINENO "configure"
25643/* confdefs.h. */
25644_ACEOF
25645cat confdefs.h >>conftest.$ac_ext
25646cat >>conftest.$ac_ext <<_ACEOF
25647/* end confdefs.h. */
25648/* System header to define __stub macros and hopefully few prototypes,
25649 which can conflict with char $ac_func (); below.
25650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25651 <limits.h> exists even on freestanding compilers. */
25652#ifdef __STDC__
25653# include <limits.h>
25654#else
25655# include <assert.h>
25656#endif
25657/* Override any gcc2 internal prototype to avoid an error. */
25658#ifdef __cplusplus
25659extern "C"
25660{
25661#endif
25662/* We use char because int might match the return type of a gcc2
25663 builtin and then its argument prototype would still apply. */
25664char $ac_func ();
25665/* The GNU C library defines this for functions which it implements
25666 to always fail with ENOSYS. Some functions are actually named
25667 something starting with __ and the normal name is an alias. */
25668#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25669choke me
25670#else
25671char (*f) () = $ac_func;
25672#endif
25673#ifdef __cplusplus
25674}
25675#endif
25676
25677int
25678main ()
25679{
25680return f != $ac_func;
25681 ;
25682 return 0;
25683}
25684_ACEOF
25685rm -f conftest.$ac_objext conftest$ac_exeext
25686if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25687 (eval $ac_link) 2>&5
25688 ac_status=$?
25689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25690 (exit $ac_status); } &&
25691 { ac_try='test -s conftest$ac_exeext'
25692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25693 (eval $ac_try) 2>&5
25694 ac_status=$?
25695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25696 (exit $ac_status); }; }; then
25697 eval "$as_ac_var=yes"
25698else
25699 echo "$as_me: failed program was:" >&5
25700sed 's/^/| /' conftest.$ac_ext >&5
25701
25702eval "$as_ac_var=no"
25703fi
25704rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25705fi
25706echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25707echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25708if test `eval echo '${'$as_ac_var'}'` = yes; then
25709 cat >>confdefs.h <<_ACEOF
25710#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25711_ACEOF
25712 WCSLEN_FOUND=1
25713fi
25714done
25715
25716
25717 if test "$WCSLEN_FOUND" = 0; then
25718 if test "$TOOLKIT" = "MSW"; then
25719 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
25720echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
25721if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
25722 echo $ECHO_N "(cached) $ECHO_C" >&6
25723else
25724 ac_check_lib_save_LIBS=$LIBS
25725LIBS="-lmsvcrt $LIBS"
25726cat >conftest.$ac_ext <<_ACEOF
25727#line $LINENO "configure"
25728/* confdefs.h. */
25729_ACEOF
25730cat confdefs.h >>conftest.$ac_ext
25731cat >>conftest.$ac_ext <<_ACEOF
25732/* end confdefs.h. */
25733
25734/* Override any gcc2 internal prototype to avoid an error. */
25735#ifdef __cplusplus
25736extern "C"
25737#endif
25738/* We use char because int might match the return type of a gcc2
25739 builtin and then its argument prototype would still apply. */
25740char wcslen ();
25741int
25742main ()
25743{
25744wcslen ();
25745 ;
25746 return 0;
25747}
25748_ACEOF
25749rm -f conftest.$ac_objext conftest$ac_exeext
25750if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25751 (eval $ac_link) 2>&5
25752 ac_status=$?
25753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25754 (exit $ac_status); } &&
25755 { ac_try='test -s conftest$ac_exeext'
25756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25757 (eval $ac_try) 2>&5
25758 ac_status=$?
25759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25760 (exit $ac_status); }; }; then
25761 ac_cv_lib_msvcrt_wcslen=yes
25762else
25763 echo "$as_me: failed program was:" >&5
25764sed 's/^/| /' conftest.$ac_ext >&5
25765
25766ac_cv_lib_msvcrt_wcslen=no
25767fi
25768rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25769LIBS=$ac_check_lib_save_LIBS
25770fi
25771echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
25772echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
25773if test $ac_cv_lib_msvcrt_wcslen = yes; then
25774 WCHAR_OK=1
25775fi
25776
25777 else
25778 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
25779echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
25780if test "${ac_cv_lib_w_wcslen+set}" = set; then
25781 echo $ECHO_N "(cached) $ECHO_C" >&6
25782else
25783 ac_check_lib_save_LIBS=$LIBS
25784LIBS="-lw $LIBS"
25785cat >conftest.$ac_ext <<_ACEOF
25786#line $LINENO "configure"
25787/* confdefs.h. */
25788_ACEOF
25789cat confdefs.h >>conftest.$ac_ext
25790cat >>conftest.$ac_ext <<_ACEOF
25791/* end confdefs.h. */
25792
25793/* Override any gcc2 internal prototype to avoid an error. */
25794#ifdef __cplusplus
25795extern "C"
25796#endif
25797/* We use char because int might match the return type of a gcc2
25798 builtin and then its argument prototype would still apply. */
25799char wcslen ();
25800int
25801main ()
25802{
25803wcslen ();
25804 ;
25805 return 0;
25806}
25807_ACEOF
25808rm -f conftest.$ac_objext conftest$ac_exeext
25809if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25810 (eval $ac_link) 2>&5
25811 ac_status=$?
25812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25813 (exit $ac_status); } &&
25814 { ac_try='test -s conftest$ac_exeext'
25815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25816 (eval $ac_try) 2>&5
25817 ac_status=$?
25818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25819 (exit $ac_status); }; }; then
25820 ac_cv_lib_w_wcslen=yes
25821else
25822 echo "$as_me: failed program was:" >&5
25823sed 's/^/| /' conftest.$ac_ext >&5
25824
25825ac_cv_lib_w_wcslen=no
25826fi
25827rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25828LIBS=$ac_check_lib_save_LIBS
25829fi
25830echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
25831echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
25832if test $ac_cv_lib_w_wcslen = yes; then
25833
25834 WCHAR_LINK=" -lw"
25835 WCSLEN_FOUND=1
25836
25837fi
25838
25839 fi
25840 fi
25841
25842 if test "$WCSLEN_FOUND" = 1; then
25843 cat >>confdefs.h <<\_ACEOF
25844#define HAVE_WCSLEN 1
25845_ACEOF
25846
25847 fi
25848
25849
25850for ac_func in wcsrtombs
25851do
25852as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25853echo "$as_me:$LINENO: checking for $ac_func" >&5
25854echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25855if eval "test \"\${$as_ac_var+set}\" = set"; then
25856 echo $ECHO_N "(cached) $ECHO_C" >&6
25857else
25858 cat >conftest.$ac_ext <<_ACEOF
25859#line $LINENO "configure"
25860/* confdefs.h. */
25861_ACEOF
25862cat confdefs.h >>conftest.$ac_ext
25863cat >>conftest.$ac_ext <<_ACEOF
25864/* end confdefs.h. */
25865/* System header to define __stub macros and hopefully few prototypes,
25866 which can conflict with char $ac_func (); below.
25867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25868 <limits.h> exists even on freestanding compilers. */
25869#ifdef __STDC__
25870# include <limits.h>
25871#else
25872# include <assert.h>
25873#endif
25874/* Override any gcc2 internal prototype to avoid an error. */
25875#ifdef __cplusplus
25876extern "C"
25877{
25878#endif
25879/* We use char because int might match the return type of a gcc2
25880 builtin and then its argument prototype would still apply. */
25881char $ac_func ();
25882/* The GNU C library defines this for functions which it implements
25883 to always fail with ENOSYS. Some functions are actually named
25884 something starting with __ and the normal name is an alias. */
25885#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25886choke me
25887#else
25888char (*f) () = $ac_func;
25889#endif
25890#ifdef __cplusplus
25891}
25892#endif
25893
25894int
25895main ()
25896{
25897return f != $ac_func;
25898 ;
25899 return 0;
25900}
25901_ACEOF
25902rm -f conftest.$ac_objext conftest$ac_exeext
25903if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25904 (eval $ac_link) 2>&5
25905 ac_status=$?
25906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25907 (exit $ac_status); } &&
25908 { ac_try='test -s conftest$ac_exeext'
25909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25910 (eval $ac_try) 2>&5
25911 ac_status=$?
25912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25913 (exit $ac_status); }; }; then
25914 eval "$as_ac_var=yes"
25915else
25916 echo "$as_me: failed program was:" >&5
25917sed 's/^/| /' conftest.$ac_ext >&5
25918
25919eval "$as_ac_var=no"
25920fi
25921rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25922fi
25923echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25924echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25925if test `eval echo '${'$as_ac_var'}'` = yes; then
25926 cat >>confdefs.h <<_ACEOF
25927#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25928_ACEOF
25929
25930fi
25931done
25932
25933else
25934 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
25935echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
25936fi
25937
25938
25939
25940ac_ext=cc
25941ac_cpp='$CXXCPP $CPPFLAGS'
25942ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25943ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25944ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25945
25946
25947
25948for ac_func in vsnprintf
25949do
25950as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25951echo "$as_me:$LINENO: checking for $ac_func" >&5
25952echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25953if eval "test \"\${$as_ac_var+set}\" = set"; then
25954 echo $ECHO_N "(cached) $ECHO_C" >&6
25955else
25956 cat >conftest.$ac_ext <<_ACEOF
25957#line $LINENO "configure"
25958/* confdefs.h. */
25959_ACEOF
25960cat confdefs.h >>conftest.$ac_ext
25961cat >>conftest.$ac_ext <<_ACEOF
25962/* end confdefs.h. */
25963/* System header to define __stub macros and hopefully few prototypes,
25964 which can conflict with char $ac_func (); below.
25965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25966 <limits.h> exists even on freestanding compilers. */
25967#ifdef __STDC__
25968# include <limits.h>
25969#else
25970# include <assert.h>
25971#endif
25972/* Override any gcc2 internal prototype to avoid an error. */
25973#ifdef __cplusplus
25974extern "C"
25975{
25976#endif
25977/* We use char because int might match the return type of a gcc2
25978 builtin and then its argument prototype would still apply. */
25979char $ac_func ();
25980/* The GNU C library defines this for functions which it implements
25981 to always fail with ENOSYS. Some functions are actually named
25982 something starting with __ and the normal name is an alias. */
25983#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25984choke me
25985#else
25986char (*f) () = $ac_func;
25987#endif
25988#ifdef __cplusplus
25989}
25990#endif
25991
25992int
25993main ()
25994{
25995return f != $ac_func;
25996 ;
25997 return 0;
25998}
25999_ACEOF
26000rm -f conftest.$ac_objext conftest$ac_exeext
26001if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26002 (eval $ac_link) 2>&5
26003 ac_status=$?
26004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26005 (exit $ac_status); } &&
26006 { ac_try='test -s conftest$ac_exeext'
26007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26008 (eval $ac_try) 2>&5
26009 ac_status=$?
26010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26011 (exit $ac_status); }; }; then
26012 eval "$as_ac_var=yes"
26013else
26014 echo "$as_me: failed program was:" >&5
26015sed 's/^/| /' conftest.$ac_ext >&5
26016
26017eval "$as_ac_var=no"
26018fi
26019rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26020fi
26021echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26022echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26023if test `eval echo '${'$as_ac_var'}'` = yes; then
26024 cat >>confdefs.h <<_ACEOF
26025#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26026_ACEOF
26027
26028fi
26029done
26030
26031
26032if test "$ac_cv_func_vsnprintf" = "yes"; then
26033 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26034echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26035if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26036 echo $ECHO_N "(cached) $ECHO_C" >&6
26037else
26038
26039 cat >conftest.$ac_ext <<_ACEOF
26040#line $LINENO "configure"
26041/* confdefs.h. */
26042_ACEOF
26043cat confdefs.h >>conftest.$ac_ext
26044cat >>conftest.$ac_ext <<_ACEOF
26045/* end confdefs.h. */
26046
26047 #include <stdio.h>
26048 #include <stdarg.h>
26049
26050int
26051main ()
26052{
26053
26054 char *buf;
26055 va_list ap;
26056 vsnprintf(buf, 10u, "%s", ap);
26057
26058 ;
26059 return 0;
26060}
26061_ACEOF
26062rm -f conftest.$ac_objext
26063if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26064 (eval $ac_compile) 2>&5
26065 ac_status=$?
26066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26067 (exit $ac_status); } &&
26068 { ac_try='test -s conftest.$ac_objext'
26069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26070 (eval $ac_try) 2>&5
26071 ac_status=$?
26072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26073 (exit $ac_status); }; }; then
26074 wx_cv_func_vsnprintf_decl=yes
26075else
26076 echo "$as_me: failed program was:" >&5
26077sed 's/^/| /' conftest.$ac_ext >&5
26078
26079wx_cv_func_vsnprintf_decl=no
26080
26081fi
26082rm -f conftest.$ac_objext conftest.$ac_ext
26083
26084
26085fi
26086echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26087echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26088
26089 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26090 cat >>confdefs.h <<\_ACEOF
26091#define HAVE_VSNPRINTF_DECL 1
26092_ACEOF
26093
26094 fi
26095fi
26096
26097if test "$wxUSE_UNICODE" = yes; then
26098
26099
26100
26101for ac_func in fputwc wprintf vswprintf
26102do
26103as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26104echo "$as_me:$LINENO: checking for $ac_func" >&5
26105echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26106if eval "test \"\${$as_ac_var+set}\" = set"; then
26107 echo $ECHO_N "(cached) $ECHO_C" >&6
26108else
26109 cat >conftest.$ac_ext <<_ACEOF
26110#line $LINENO "configure"
26111/* confdefs.h. */
26112_ACEOF
26113cat confdefs.h >>conftest.$ac_ext
26114cat >>conftest.$ac_ext <<_ACEOF
26115/* end confdefs.h. */
26116/* System header to define __stub macros and hopefully few prototypes,
26117 which can conflict with char $ac_func (); below.
26118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26119 <limits.h> exists even on freestanding compilers. */
26120#ifdef __STDC__
26121# include <limits.h>
26122#else
26123# include <assert.h>
26124#endif
26125/* Override any gcc2 internal prototype to avoid an error. */
26126#ifdef __cplusplus
26127extern "C"
26128{
26129#endif
26130/* We use char because int might match the return type of a gcc2
26131 builtin and then its argument prototype would still apply. */
26132char $ac_func ();
26133/* The GNU C library defines this for functions which it implements
26134 to always fail with ENOSYS. Some functions are actually named
26135 something starting with __ and the normal name is an alias. */
26136#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26137choke me
26138#else
26139char (*f) () = $ac_func;
26140#endif
26141#ifdef __cplusplus
26142}
26143#endif
26144
26145int
26146main ()
26147{
26148return f != $ac_func;
26149 ;
26150 return 0;
26151}
26152_ACEOF
26153rm -f conftest.$ac_objext conftest$ac_exeext
26154if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26155 (eval $ac_link) 2>&5
26156 ac_status=$?
26157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26158 (exit $ac_status); } &&
26159 { ac_try='test -s conftest$ac_exeext'
26160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26161 (eval $ac_try) 2>&5
26162 ac_status=$?
26163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26164 (exit $ac_status); }; }; then
26165 eval "$as_ac_var=yes"
26166else
26167 echo "$as_me: failed program was:" >&5
26168sed 's/^/| /' conftest.$ac_ext >&5
26169
26170eval "$as_ac_var=no"
26171fi
26172rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26173fi
26174echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26175echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26176if test `eval echo '${'$as_ac_var'}'` = yes; then
26177 cat >>confdefs.h <<_ACEOF
26178#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26179_ACEOF
26180
26181fi
26182done
26183
26184
26185 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26186echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26187 cat >conftest.$ac_ext <<_ACEOF
26188#line $LINENO "configure"
26189/* confdefs.h. */
26190_ACEOF
26191cat confdefs.h >>conftest.$ac_ext
26192cat >>conftest.$ac_ext <<_ACEOF
26193/* end confdefs.h. */
26194#include <wchar.h>
26195int
26196main ()
26197{
26198&_vsnwprintf;
26199 ;
26200 return 0;
26201}
26202_ACEOF
26203rm -f conftest.$ac_objext
26204if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26205 (eval $ac_compile) 2>&5
26206 ac_status=$?
26207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26208 (exit $ac_status); } &&
26209 { ac_try='test -s conftest.$ac_objext'
26210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26211 (eval $ac_try) 2>&5
26212 ac_status=$?
26213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26214 (exit $ac_status); }; }; then
26215 echo "$as_me:$LINENO: result: yes" >&5
26216echo "${ECHO_T}yes" >&6
26217 cat >>confdefs.h <<\_ACEOF
26218#define HAVE__VSNWPRINTF 1
26219_ACEOF
26220
26221else
26222 echo "$as_me: failed program was:" >&5
26223sed 's/^/| /' conftest.$ac_ext >&5
26224
26225echo "$as_me:$LINENO: result: no" >&5
26226echo "${ECHO_T}no" >&6
26227fi
26228rm -f conftest.$ac_objext conftest.$ac_ext;
26229fi
26230
26231ac_ext=c
26232ac_cpp='$CPP $CPPFLAGS'
26233ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26234ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26235ac_compiler_gnu=$ac_cv_c_compiler_gnu
26236
26237
26238
26239
26240if test "$TOOLKIT" != "MSW"; then
26241
26242
26243
26244
26245ac_ext=cc
26246ac_cpp='$CXXCPP $CPPFLAGS'
26247ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26248ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26249ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26250
26251
26252
26253
26254# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26255if test "${with_libiconv_prefix+set}" = set; then
26256 withval="$with_libiconv_prefix"
26257
26258 for dir in `echo "$withval" | tr : ' '`; do
26259 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
26260 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
26261 done
26262
26263fi;
26264
26265 echo "$as_me:$LINENO: checking for iconv" >&5
26266echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26267if test "${am_cv_func_iconv+set}" = set; then
26268 echo $ECHO_N "(cached) $ECHO_C" >&6
26269else
26270
26271 am_cv_func_iconv="no, consider installing GNU libiconv"
26272 am_cv_lib_iconv=no
26273 cat >conftest.$ac_ext <<_ACEOF
26274#line $LINENO "configure"
26275/* confdefs.h. */
26276_ACEOF
26277cat confdefs.h >>conftest.$ac_ext
26278cat >>conftest.$ac_ext <<_ACEOF
26279/* end confdefs.h. */
26280#include <stdlib.h>
26281#include <iconv.h>
26282int
26283main ()
26284{
26285iconv_t cd = iconv_open("","");
26286 iconv(cd,NULL,NULL,NULL,NULL);
26287 iconv_close(cd);
26288 ;
26289 return 0;
26290}
26291_ACEOF
26292rm -f conftest.$ac_objext conftest$ac_exeext
26293if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26294 (eval $ac_link) 2>&5
26295 ac_status=$?
26296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26297 (exit $ac_status); } &&
26298 { ac_try='test -s conftest$ac_exeext'
26299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26300 (eval $ac_try) 2>&5
26301 ac_status=$?
26302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26303 (exit $ac_status); }; }; then
26304 am_cv_func_iconv=yes
26305else
26306 echo "$as_me: failed program was:" >&5
26307sed 's/^/| /' conftest.$ac_ext >&5
26308
26309fi
26310rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26311 if test "$am_cv_func_iconv" != yes; then
26312 am_save_LIBS="$LIBS"
26313 LIBS="$LIBS -liconv"
26314 cat >conftest.$ac_ext <<_ACEOF
26315#line $LINENO "configure"
26316/* confdefs.h. */
26317_ACEOF
26318cat confdefs.h >>conftest.$ac_ext
26319cat >>conftest.$ac_ext <<_ACEOF
26320/* end confdefs.h. */
26321#include <stdlib.h>
26322#include <iconv.h>
26323int
26324main ()
26325{
26326iconv_t cd = iconv_open("","");
26327 iconv(cd,NULL,NULL,NULL,NULL);
26328 iconv_close(cd);
26329 ;
26330 return 0;
26331}
26332_ACEOF
26333rm -f conftest.$ac_objext conftest$ac_exeext
26334if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26335 (eval $ac_link) 2>&5
26336 ac_status=$?
26337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26338 (exit $ac_status); } &&
26339 { ac_try='test -s conftest$ac_exeext'
26340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26341 (eval $ac_try) 2>&5
26342 ac_status=$?
26343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26344 (exit $ac_status); }; }; then
26345 am_cv_lib_iconv=yes
26346 am_cv_func_iconv=yes
26347else
26348 echo "$as_me: failed program was:" >&5
26349sed 's/^/| /' conftest.$ac_ext >&5
26350
26351fi
26352rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26353 LIBS="$am_save_LIBS"
26354 fi
26355
26356fi
26357echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26358echo "${ECHO_T}$am_cv_func_iconv" >&6
26359 if test "$am_cv_func_iconv" = yes; then
26360
26361cat >>confdefs.h <<\_ACEOF
26362#define HAVE_ICONV 1
26363_ACEOF
26364
26365 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26366echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26367if test "${wx_cv_func_iconv_const+set}" = set; then
26368 echo $ECHO_N "(cached) $ECHO_C" >&6
26369else
26370 cat >conftest.$ac_ext <<_ACEOF
26371#line $LINENO "configure"
26372/* confdefs.h. */
26373_ACEOF
26374cat confdefs.h >>conftest.$ac_ext
26375cat >>conftest.$ac_ext <<_ACEOF
26376/* end confdefs.h. */
26377
26378#include <stdlib.h>
26379#include <iconv.h>
26380extern
26381#ifdef __cplusplus
26382"C"
26383#endif
26384#if defined(__STDC__) || defined(__cplusplus)
26385size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26386#else
26387size_t iconv();
26388#endif
26389
26390int
26391main ()
26392{
26393
26394 ;
26395 return 0;
26396}
26397_ACEOF
26398rm -f conftest.$ac_objext
26399if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26400 (eval $ac_compile) 2>&5
26401 ac_status=$?
26402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26403 (exit $ac_status); } &&
26404 { ac_try='test -s conftest.$ac_objext'
26405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26406 (eval $ac_try) 2>&5
26407 ac_status=$?
26408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26409 (exit $ac_status); }; }; then
26410 wx_cv_func_iconv_const="no"
26411else
26412 echo "$as_me: failed program was:" >&5
26413sed 's/^/| /' conftest.$ac_ext >&5
26414
26415wx_cv_func_iconv_const="yes"
26416
26417fi
26418rm -f conftest.$ac_objext conftest.$ac_ext
26419
26420fi
26421echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26422echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26423
26424 iconv_const=
26425 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26426 iconv_const="const"
26427 fi
26428
26429
26430cat >>confdefs.h <<_ACEOF
26431#define ICONV_CONST $iconv_const
26432_ACEOF
26433
26434 fi
26435 LIBICONV=
26436 if test "$am_cv_lib_iconv" = yes; then
26437 LIBICONV="-liconv"
26438 fi
26439
26440
26441LIBS="$LIBICONV $LIBS"
26442ac_ext=c
26443ac_cpp='$CPP $CPPFLAGS'
26444ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26445ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26446ac_compiler_gnu=$ac_cv_c_compiler_gnu
26447
26448
26449if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26450
26451for ac_func in sigaction
26452do
26453as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26454echo "$as_me:$LINENO: checking for $ac_func" >&5
26455echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26456if eval "test \"\${$as_ac_var+set}\" = set"; then
26457 echo $ECHO_N "(cached) $ECHO_C" >&6
26458else
26459 cat >conftest.$ac_ext <<_ACEOF
26460#line $LINENO "configure"
26461/* confdefs.h. */
26462_ACEOF
26463cat confdefs.h >>conftest.$ac_ext
26464cat >>conftest.$ac_ext <<_ACEOF
26465/* end confdefs.h. */
26466/* System header to define __stub macros and hopefully few prototypes,
26467 which can conflict with char $ac_func (); below.
26468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26469 <limits.h> exists even on freestanding compilers. */
26470#ifdef __STDC__
26471# include <limits.h>
26472#else
26473# include <assert.h>
26474#endif
26475/* Override any gcc2 internal prototype to avoid an error. */
26476#ifdef __cplusplus
26477extern "C"
26478{
26479#endif
26480/* We use char because int might match the return type of a gcc2
26481 builtin and then its argument prototype would still apply. */
26482char $ac_func ();
26483/* The GNU C library defines this for functions which it implements
26484 to always fail with ENOSYS. Some functions are actually named
26485 something starting with __ and the normal name is an alias. */
26486#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26487choke me
26488#else
26489char (*f) () = $ac_func;
26490#endif
26491#ifdef __cplusplus
26492}
26493#endif
26494
26495int
26496main ()
26497{
26498return f != $ac_func;
26499 ;
26500 return 0;
26501}
26502_ACEOF
26503rm -f conftest.$ac_objext conftest$ac_exeext
26504if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26505 (eval $ac_link) 2>&5
26506 ac_status=$?
26507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26508 (exit $ac_status); } &&
26509 { ac_try='test -s conftest$ac_exeext'
26510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26511 (eval $ac_try) 2>&5
26512 ac_status=$?
26513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26514 (exit $ac_status); }; }; then
26515 eval "$as_ac_var=yes"
26516else
26517 echo "$as_me: failed program was:" >&5
26518sed 's/^/| /' conftest.$ac_ext >&5
26519
26520eval "$as_ac_var=no"
26521fi
26522rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26523fi
26524echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26525echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26526if test `eval echo '${'$as_ac_var'}'` = yes; then
26527 cat >>confdefs.h <<_ACEOF
26528#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26529_ACEOF
26530
26531fi
26532done
26533
26534
26535 if test "$ac_cv_func_sigaction" = "no"; then
26536 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
26537echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
26538 wxUSE_ON_FATAL_EXCEPTION=no
26539 fi
26540
26541 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
26542
26543
26544 ac_ext=cc
26545ac_cpp='$CXXCPP $CPPFLAGS'
26546ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26547ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26548ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26549
26550
26551 echo "$as_me:$LINENO: checking for sa_handler type" >&5
26552echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
26553if test "${wx_cv_type_sa_handler+set}" = set; then
26554 echo $ECHO_N "(cached) $ECHO_C" >&6
26555else
26556
26557 cat >conftest.$ac_ext <<_ACEOF
26558#line $LINENO "configure"
26559/* confdefs.h. */
26560_ACEOF
26561cat confdefs.h >>conftest.$ac_ext
26562cat >>conftest.$ac_ext <<_ACEOF
26563/* end confdefs.h. */
26564#include <signal.h>
26565int
26566main ()
26567{
26568
26569 extern void testSigHandler(int);
26570
26571 struct sigaction sa;
26572 sa.sa_handler = testSigHandler;
26573
26574 ;
26575 return 0;
26576}
26577_ACEOF
26578rm -f conftest.$ac_objext
26579if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26580 (eval $ac_compile) 2>&5
26581 ac_status=$?
26582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26583 (exit $ac_status); } &&
26584 { ac_try='test -s conftest.$ac_objext'
26585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26586 (eval $ac_try) 2>&5
26587 ac_status=$?
26588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26589 (exit $ac_status); }; }; then
26590
26591 wx_cv_type_sa_handler=int
26592
26593else
26594 echo "$as_me: failed program was:" >&5
26595sed 's/^/| /' conftest.$ac_ext >&5
26596
26597
26598 wx_cv_type_sa_handler=void
26599
26600fi
26601rm -f conftest.$ac_objext conftest.$ac_ext
26602
26603fi
26604echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
26605echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
26606
26607 ac_ext=c
26608ac_cpp='$CPP $CPPFLAGS'
26609ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26610ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26611ac_compiler_gnu=$ac_cv_c_compiler_gnu
26612
26613
26614 cat >>confdefs.h <<_ACEOF
26615#define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
26616_ACEOF
26617
26618 fi
26619fi
26620
26621
26622
26623for ac_func in mkstemp mktemp
26624do
26625as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26626echo "$as_me:$LINENO: checking for $ac_func" >&5
26627echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26628if eval "test \"\${$as_ac_var+set}\" = set"; then
26629 echo $ECHO_N "(cached) $ECHO_C" >&6
26630else
26631 cat >conftest.$ac_ext <<_ACEOF
26632#line $LINENO "configure"
26633/* confdefs.h. */
26634_ACEOF
26635cat confdefs.h >>conftest.$ac_ext
26636cat >>conftest.$ac_ext <<_ACEOF
26637/* end confdefs.h. */
26638/* System header to define __stub macros and hopefully few prototypes,
26639 which can conflict with char $ac_func (); below.
26640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26641 <limits.h> exists even on freestanding compilers. */
26642#ifdef __STDC__
26643# include <limits.h>
26644#else
26645# include <assert.h>
26646#endif
26647/* Override any gcc2 internal prototype to avoid an error. */
26648#ifdef __cplusplus
26649extern "C"
26650{
26651#endif
26652/* We use char because int might match the return type of a gcc2
26653 builtin and then its argument prototype would still apply. */
26654char $ac_func ();
26655/* The GNU C library defines this for functions which it implements
26656 to always fail with ENOSYS. Some functions are actually named
26657 something starting with __ and the normal name is an alias. */
26658#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26659choke me
26660#else
26661char (*f) () = $ac_func;
26662#endif
26663#ifdef __cplusplus
26664}
26665#endif
26666
26667int
26668main ()
26669{
26670return f != $ac_func;
26671 ;
26672 return 0;
26673}
26674_ACEOF
26675rm -f conftest.$ac_objext conftest$ac_exeext
26676if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26677 (eval $ac_link) 2>&5
26678 ac_status=$?
26679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26680 (exit $ac_status); } &&
26681 { ac_try='test -s conftest$ac_exeext'
26682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26683 (eval $ac_try) 2>&5
26684 ac_status=$?
26685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26686 (exit $ac_status); }; }; then
26687 eval "$as_ac_var=yes"
26688else
26689 echo "$as_me: failed program was:" >&5
26690sed 's/^/| /' conftest.$ac_ext >&5
26691
26692eval "$as_ac_var=no"
26693fi
26694rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26695fi
26696echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26697echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26698if test `eval echo '${'$as_ac_var'}'` = yes; then
26699 cat >>confdefs.h <<_ACEOF
26700#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26701_ACEOF
26702 break
26703fi
26704done
26705
26706
26707echo "$as_me:$LINENO: checking for statfs" >&5
26708echo $ECHO_N "checking for statfs... $ECHO_C" >&6
26709if test "${wx_cv_func_statfs+set}" = set; then
26710 echo $ECHO_N "(cached) $ECHO_C" >&6
26711else
26712 cat >conftest.$ac_ext <<_ACEOF
26713#line $LINENO "configure"
26714/* confdefs.h. */
26715_ACEOF
26716cat confdefs.h >>conftest.$ac_ext
26717cat >>conftest.$ac_ext <<_ACEOF
26718/* end confdefs.h. */
26719
26720 #if defined(__BSD__)
26721 #include <sys/param.h>
26722 #include <sys/mount.h>
26723 #else
26724 #include <sys/vfs.h>
26725 #endif
26726
26727int
26728main ()
26729{
26730
26731 long l;
26732 struct statfs fs;
26733 statfs("/", &fs);
26734 l = fs.f_bsize;
26735 l += fs.f_blocks;
26736 l += fs.f_bavail;
26737
26738 ;
26739 return 0;
26740}
26741_ACEOF
26742rm -f conftest.$ac_objext
26743if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26744 (eval $ac_compile) 2>&5
26745 ac_status=$?
26746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26747 (exit $ac_status); } &&
26748 { ac_try='test -s conftest.$ac_objext'
26749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26750 (eval $ac_try) 2>&5
26751 ac_status=$?
26752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26753 (exit $ac_status); }; }; then
26754
26755 wx_cv_func_statfs=yes
26756
26757else
26758 echo "$as_me: failed program was:" >&5
26759sed 's/^/| /' conftest.$ac_ext >&5
26760
26761
26762 wx_cv_func_statfs=no
26763
26764
26765fi
26766rm -f conftest.$ac_objext conftest.$ac_ext
26767
26768fi
26769echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
26770echo "${ECHO_T}$wx_cv_func_statfs" >&6
26771
26772if test "$wx_cv_func_statfs" = "yes"; then
26773 wx_cv_type_statvfs_t="struct statfs"
26774 cat >>confdefs.h <<\_ACEOF
26775#define HAVE_STATFS 1
26776_ACEOF
26777
26778else
26779 echo "$as_me:$LINENO: checking for statvfs" >&5
26780echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
26781if test "${wx_cv_func_statvfs+set}" = set; then
26782 echo $ECHO_N "(cached) $ECHO_C" >&6
26783else
26784 cat >conftest.$ac_ext <<_ACEOF
26785#line $LINENO "configure"
26786/* confdefs.h. */
26787_ACEOF
26788cat confdefs.h >>conftest.$ac_ext
26789cat >>conftest.$ac_ext <<_ACEOF
26790/* end confdefs.h. */
26791
26792 #include <stddef.h>
26793 #include <sys/statvfs.h>
26794
26795int
26796main ()
26797{
26798
26799 statvfs("/", NULL);
26800
26801 ;
26802 return 0;
26803}
26804_ACEOF
26805rm -f conftest.$ac_objext
26806if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26807 (eval $ac_compile) 2>&5
26808 ac_status=$?
26809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26810 (exit $ac_status); } &&
26811 { ac_try='test -s conftest.$ac_objext'
26812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26813 (eval $ac_try) 2>&5
26814 ac_status=$?
26815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26816 (exit $ac_status); }; }; then
26817 wx_cv_func_statvfs=yes
26818else
26819 echo "$as_me: failed program was:" >&5
26820sed 's/^/| /' conftest.$ac_ext >&5
26821
26822wx_cv_func_statvfs=no
26823
26824fi
26825rm -f conftest.$ac_objext conftest.$ac_ext
26826
26827fi
26828echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
26829echo "${ECHO_T}$wx_cv_func_statvfs" >&6
26830
26831 if test "$wx_cv_func_statvfs" = "yes"; then
26832
26833
26834 ac_ext=cc
26835ac_cpp='$CXXCPP $CPPFLAGS'
26836ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26837ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26838ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26839
26840
26841 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
26842echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
26843if test "${wx_cv_type_statvfs_t+set}" = set; then
26844 echo $ECHO_N "(cached) $ECHO_C" >&6
26845else
26846 cat >conftest.$ac_ext <<_ACEOF
26847#line $LINENO "configure"
26848/* confdefs.h. */
26849_ACEOF
26850cat confdefs.h >>conftest.$ac_ext
26851cat >>conftest.$ac_ext <<_ACEOF
26852/* end confdefs.h. */
26853
26854 #include <sys/statvfs.h>
26855
26856int
26857main ()
26858{
26859
26860 long l;
26861 statvfs_t fs;
26862 statvfs("/", &fs);
26863 l = fs.f_bsize;
26864 l += fs.f_blocks;
26865 l += fs.f_bavail;
26866
26867 ;
26868 return 0;
26869}
26870_ACEOF
26871rm -f conftest.$ac_objext
26872if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26873 (eval $ac_compile) 2>&5
26874 ac_status=$?
26875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26876 (exit $ac_status); } &&
26877 { ac_try='test -s conftest.$ac_objext'
26878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26879 (eval $ac_try) 2>&5
26880 ac_status=$?
26881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26882 (exit $ac_status); }; }; then
26883 wx_cv_type_statvfs_t=statvfs_t
26884else
26885 echo "$as_me: failed program was:" >&5
26886sed 's/^/| /' conftest.$ac_ext >&5
26887
26888
26889 cat >conftest.$ac_ext <<_ACEOF
26890#line $LINENO "configure"
26891/* confdefs.h. */
26892_ACEOF
26893cat confdefs.h >>conftest.$ac_ext
26894cat >>conftest.$ac_ext <<_ACEOF
26895/* end confdefs.h. */
26896
26897 #include <sys/statvfs.h>
26898
26899int
26900main ()
26901{
26902
26903 long l;
26904 struct statvfs fs;
26905 statvfs("/", &fs);
26906 l = fs.f_bsize;
26907 l += fs.f_blocks;
26908 l += fs.f_bavail;
26909
26910 ;
26911 return 0;
26912}
26913_ACEOF
26914rm -f conftest.$ac_objext
26915if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26916 (eval $ac_compile) 2>&5
26917 ac_status=$?
26918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26919 (exit $ac_status); } &&
26920 { ac_try='test -s conftest.$ac_objext'
26921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26922 (eval $ac_try) 2>&5
26923 ac_status=$?
26924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26925 (exit $ac_status); }; }; then
26926 wx_cv_type_statvfs_t="struct statvfs"
26927else
26928 echo "$as_me: failed program was:" >&5
26929sed 's/^/| /' conftest.$ac_ext >&5
26930
26931wx_cv_type_statvfs_t="unknown"
26932
26933fi
26934rm -f conftest.$ac_objext conftest.$ac_ext
26935
26936
26937fi
26938rm -f conftest.$ac_objext conftest.$ac_ext
26939
26940fi
26941echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
26942echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
26943
26944 ac_ext=c
26945ac_cpp='$CPP $CPPFLAGS'
26946ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26947ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26948ac_compiler_gnu=$ac_cv_c_compiler_gnu
26949
26950
26951 if test "$wx_cv_type_statvfs_t" != "unknown"; then
26952 cat >>confdefs.h <<\_ACEOF
26953#define HAVE_STATVFS 1
26954_ACEOF
26955
26956 fi
26957 else
26958 wx_cv_type_statvfs_t="unknown"
26959 fi
26960fi
26961
26962if test "$wx_cv_type_statvfs_t" != "unknown"; then
26963 cat >>confdefs.h <<_ACEOF
26964#define WX_STATFS_T $wx_cv_type_statvfs_t
26965_ACEOF
26966
26967else
26968 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
26969echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
26970fi
26971
26972if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
26973
26974
26975for ac_func in fcntl flock
26976do
26977as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26978echo "$as_me:$LINENO: checking for $ac_func" >&5
26979echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26980if eval "test \"\${$as_ac_var+set}\" = set"; then
26981 echo $ECHO_N "(cached) $ECHO_C" >&6
26982else
26983 cat >conftest.$ac_ext <<_ACEOF
26984#line $LINENO "configure"
26985/* confdefs.h. */
26986_ACEOF
26987cat confdefs.h >>conftest.$ac_ext
26988cat >>conftest.$ac_ext <<_ACEOF
26989/* end confdefs.h. */
26990/* System header to define __stub macros and hopefully few prototypes,
26991 which can conflict with char $ac_func (); below.
26992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26993 <limits.h> exists even on freestanding compilers. */
26994#ifdef __STDC__
26995# include <limits.h>
26996#else
26997# include <assert.h>
26998#endif
26999/* Override any gcc2 internal prototype to avoid an error. */
27000#ifdef __cplusplus
27001extern "C"
27002{
27003#endif
27004/* We use char because int might match the return type of a gcc2
27005 builtin and then its argument prototype would still apply. */
27006char $ac_func ();
27007/* The GNU C library defines this for functions which it implements
27008 to always fail with ENOSYS. Some functions are actually named
27009 something starting with __ and the normal name is an alias. */
27010#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27011choke me
27012#else
27013char (*f) () = $ac_func;
27014#endif
27015#ifdef __cplusplus
27016}
27017#endif
27018
27019int
27020main ()
27021{
27022return f != $ac_func;
27023 ;
27024 return 0;
27025}
27026_ACEOF
27027rm -f conftest.$ac_objext conftest$ac_exeext
27028if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27029 (eval $ac_link) 2>&5
27030 ac_status=$?
27031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27032 (exit $ac_status); } &&
27033 { ac_try='test -s conftest$ac_exeext'
27034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27035 (eval $ac_try) 2>&5
27036 ac_status=$?
27037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27038 (exit $ac_status); }; }; then
27039 eval "$as_ac_var=yes"
27040else
27041 echo "$as_me: failed program was:" >&5
27042sed 's/^/| /' conftest.$ac_ext >&5
27043
27044eval "$as_ac_var=no"
27045fi
27046rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27047fi
27048echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27049echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27050if test `eval echo '${'$as_ac_var'}'` = yes; then
27051 cat >>confdefs.h <<_ACEOF
27052#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27053_ACEOF
27054 break
27055fi
27056done
27057
27058
27059 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27060 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27061echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27062 wxUSE_SNGLINST_CHECKER=no
27063 fi
27064fi
27065
27066
27067for ac_func in timegm
27068do
27069as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27070echo "$as_me:$LINENO: checking for $ac_func" >&5
27071echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27072if eval "test \"\${$as_ac_var+set}\" = set"; then
27073 echo $ECHO_N "(cached) $ECHO_C" >&6
27074else
27075 cat >conftest.$ac_ext <<_ACEOF
27076#line $LINENO "configure"
27077/* confdefs.h. */
27078_ACEOF
27079cat confdefs.h >>conftest.$ac_ext
27080cat >>conftest.$ac_ext <<_ACEOF
27081/* end confdefs.h. */
27082/* System header to define __stub macros and hopefully few prototypes,
27083 which can conflict with char $ac_func (); below.
27084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27085 <limits.h> exists even on freestanding compilers. */
27086#ifdef __STDC__
27087# include <limits.h>
27088#else
27089# include <assert.h>
27090#endif
27091/* Override any gcc2 internal prototype to avoid an error. */
27092#ifdef __cplusplus
27093extern "C"
27094{
27095#endif
27096/* We use char because int might match the return type of a gcc2
27097 builtin and then its argument prototype would still apply. */
27098char $ac_func ();
27099/* The GNU C library defines this for functions which it implements
27100 to always fail with ENOSYS. Some functions are actually named
27101 something starting with __ and the normal name is an alias. */
27102#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27103choke me
27104#else
27105char (*f) () = $ac_func;
27106#endif
27107#ifdef __cplusplus
27108}
27109#endif
27110
27111int
27112main ()
27113{
27114return f != $ac_func;
27115 ;
27116 return 0;
27117}
27118_ACEOF
27119rm -f conftest.$ac_objext conftest$ac_exeext
27120if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27121 (eval $ac_link) 2>&5
27122 ac_status=$?
27123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27124 (exit $ac_status); } &&
27125 { ac_try='test -s conftest$ac_exeext'
27126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27127 (eval $ac_try) 2>&5
27128 ac_status=$?
27129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27130 (exit $ac_status); }; }; then
27131 eval "$as_ac_var=yes"
27132else
27133 echo "$as_me: failed program was:" >&5
27134sed 's/^/| /' conftest.$ac_ext >&5
27135
27136eval "$as_ac_var=no"
27137fi
27138rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27139fi
27140echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27141echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27142if test `eval echo '${'$as_ac_var'}'` = yes; then
27143 cat >>confdefs.h <<_ACEOF
27144#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27145_ACEOF
27146
27147fi
27148done
27149
27150
27151
27152
27153for ac_func in putenv setenv
27154do
27155as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27156echo "$as_me:$LINENO: checking for $ac_func" >&5
27157echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27158if eval "test \"\${$as_ac_var+set}\" = set"; then
27159 echo $ECHO_N "(cached) $ECHO_C" >&6
27160else
27161 cat >conftest.$ac_ext <<_ACEOF
27162#line $LINENO "configure"
27163/* confdefs.h. */
27164_ACEOF
27165cat confdefs.h >>conftest.$ac_ext
27166cat >>conftest.$ac_ext <<_ACEOF
27167/* end confdefs.h. */
27168/* System header to define __stub macros and hopefully few prototypes,
27169 which can conflict with char $ac_func (); below.
27170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27171 <limits.h> exists even on freestanding compilers. */
27172#ifdef __STDC__
27173# include <limits.h>
27174#else
27175# include <assert.h>
27176#endif
27177/* Override any gcc2 internal prototype to avoid an error. */
27178#ifdef __cplusplus
27179extern "C"
27180{
27181#endif
27182/* We use char because int might match the return type of a gcc2
27183 builtin and then its argument prototype would still apply. */
27184char $ac_func ();
27185/* The GNU C library defines this for functions which it implements
27186 to always fail with ENOSYS. Some functions are actually named
27187 something starting with __ and the normal name is an alias. */
27188#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27189choke me
27190#else
27191char (*f) () = $ac_func;
27192#endif
27193#ifdef __cplusplus
27194}
27195#endif
27196
27197int
27198main ()
27199{
27200return f != $ac_func;
27201 ;
27202 return 0;
27203}
27204_ACEOF
27205rm -f conftest.$ac_objext conftest$ac_exeext
27206if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27207 (eval $ac_link) 2>&5
27208 ac_status=$?
27209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27210 (exit $ac_status); } &&
27211 { ac_try='test -s conftest$ac_exeext'
27212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27213 (eval $ac_try) 2>&5
27214 ac_status=$?
27215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27216 (exit $ac_status); }; }; then
27217 eval "$as_ac_var=yes"
27218else
27219 echo "$as_me: failed program was:" >&5
27220sed 's/^/| /' conftest.$ac_ext >&5
27221
27222eval "$as_ac_var=no"
27223fi
27224rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27225fi
27226echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27227echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27228if test `eval echo '${'$as_ac_var'}'` = yes; then
27229 cat >>confdefs.h <<_ACEOF
27230#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27231_ACEOF
27232 break
27233fi
27234done
27235
27236
27237HAVE_SOME_SLEEP_FUNC=0
27238if test "$USE_BEOS" = 1; then
27239 cat >>confdefs.h <<\_ACEOF
27240#define HAVE_SLEEP 1
27241_ACEOF
27242
27243 HAVE_SOME_SLEEP_FUNC=1
27244fi
27245
27246if test "$USE_DARWIN" = 1; then
27247 cat >>confdefs.h <<\_ACEOF
27248#define HAVE_USLEEP 1
27249_ACEOF
27250
27251 HAVE_SOME_SLEEP_FUNC=1
27252fi
27253
27254if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27255 POSIX4_LINK=
27256
27257for ac_func in nanosleep
27258do
27259as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27260echo "$as_me:$LINENO: checking for $ac_func" >&5
27261echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27262if eval "test \"\${$as_ac_var+set}\" = set"; then
27263 echo $ECHO_N "(cached) $ECHO_C" >&6
27264else
27265 cat >conftest.$ac_ext <<_ACEOF
27266#line $LINENO "configure"
27267/* confdefs.h. */
27268_ACEOF
27269cat confdefs.h >>conftest.$ac_ext
27270cat >>conftest.$ac_ext <<_ACEOF
27271/* end confdefs.h. */
27272/* System header to define __stub macros and hopefully few prototypes,
27273 which can conflict with char $ac_func (); below.
27274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27275 <limits.h> exists even on freestanding compilers. */
27276#ifdef __STDC__
27277# include <limits.h>
27278#else
27279# include <assert.h>
27280#endif
27281/* Override any gcc2 internal prototype to avoid an error. */
27282#ifdef __cplusplus
27283extern "C"
27284{
27285#endif
27286/* We use char because int might match the return type of a gcc2
27287 builtin and then its argument prototype would still apply. */
27288char $ac_func ();
27289/* The GNU C library defines this for functions which it implements
27290 to always fail with ENOSYS. Some functions are actually named
27291 something starting with __ and the normal name is an alias. */
27292#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27293choke me
27294#else
27295char (*f) () = $ac_func;
27296#endif
27297#ifdef __cplusplus
27298}
27299#endif
27300
27301int
27302main ()
27303{
27304return f != $ac_func;
27305 ;
27306 return 0;
27307}
27308_ACEOF
27309rm -f conftest.$ac_objext conftest$ac_exeext
27310if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27311 (eval $ac_link) 2>&5
27312 ac_status=$?
27313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27314 (exit $ac_status); } &&
27315 { ac_try='test -s conftest$ac_exeext'
27316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27317 (eval $ac_try) 2>&5
27318 ac_status=$?
27319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27320 (exit $ac_status); }; }; then
27321 eval "$as_ac_var=yes"
27322else
27323 echo "$as_me: failed program was:" >&5
27324sed 's/^/| /' conftest.$ac_ext >&5
27325
27326eval "$as_ac_var=no"
27327fi
27328rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27329fi
27330echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27331echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27332if test `eval echo '${'$as_ac_var'}'` = yes; then
27333 cat >>confdefs.h <<_ACEOF
27334#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27335_ACEOF
27336 cat >>confdefs.h <<\_ACEOF
27337#define HAVE_NANOSLEEP 1
27338_ACEOF
27339
27340else
27341
27342 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27343echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27344if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27345 echo $ECHO_N "(cached) $ECHO_C" >&6
27346else
27347 ac_check_lib_save_LIBS=$LIBS
27348LIBS="-lposix4 $LIBS"
27349cat >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
27357/* Override any gcc2 internal prototype to avoid an error. */
27358#ifdef __cplusplus
27359extern "C"
27360#endif
27361/* We use char because int might match the return type of a gcc2
27362 builtin and then its argument prototype would still apply. */
27363char nanosleep ();
27364int
27365main ()
27366{
27367nanosleep ();
27368 ;
27369 return 0;
27370}
27371_ACEOF
27372rm -f conftest.$ac_objext conftest$ac_exeext
27373if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27374 (eval $ac_link) 2>&5
27375 ac_status=$?
27376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27377 (exit $ac_status); } &&
27378 { ac_try='test -s conftest$ac_exeext'
27379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27380 (eval $ac_try) 2>&5
27381 ac_status=$?
27382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27383 (exit $ac_status); }; }; then
27384 ac_cv_lib_posix4_nanosleep=yes
27385else
27386 echo "$as_me: failed program was:" >&5
27387sed 's/^/| /' conftest.$ac_ext >&5
27388
27389ac_cv_lib_posix4_nanosleep=no
27390fi
27391rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27392LIBS=$ac_check_lib_save_LIBS
27393fi
27394echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27395echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27396if test $ac_cv_lib_posix4_nanosleep = yes; then
27397
27398 cat >>confdefs.h <<\_ACEOF
27399#define HAVE_NANOSLEEP 1
27400_ACEOF
27401
27402 POSIX4_LINK=" -lposix4"
27403
27404else
27405
27406
27407for ac_func in usleep
27408do
27409as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27410echo "$as_me:$LINENO: checking for $ac_func" >&5
27411echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27412if eval "test \"\${$as_ac_var+set}\" = set"; then
27413 echo $ECHO_N "(cached) $ECHO_C" >&6
27414else
27415 cat >conftest.$ac_ext <<_ACEOF
27416#line $LINENO "configure"
27417/* confdefs.h. */
27418_ACEOF
27419cat confdefs.h >>conftest.$ac_ext
27420cat >>conftest.$ac_ext <<_ACEOF
27421/* end confdefs.h. */
27422/* System header to define __stub macros and hopefully few prototypes,
27423 which can conflict with char $ac_func (); below.
27424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27425 <limits.h> exists even on freestanding compilers. */
27426#ifdef __STDC__
27427# include <limits.h>
27428#else
27429# include <assert.h>
27430#endif
27431/* Override any gcc2 internal prototype to avoid an error. */
27432#ifdef __cplusplus
27433extern "C"
27434{
27435#endif
27436/* We use char because int might match the return type of a gcc2
27437 builtin and then its argument prototype would still apply. */
27438char $ac_func ();
27439/* The GNU C library defines this for functions which it implements
27440 to always fail with ENOSYS. Some functions are actually named
27441 something starting with __ and the normal name is an alias. */
27442#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27443choke me
27444#else
27445char (*f) () = $ac_func;
27446#endif
27447#ifdef __cplusplus
27448}
27449#endif
27450
27451int
27452main ()
27453{
27454return f != $ac_func;
27455 ;
27456 return 0;
27457}
27458_ACEOF
27459rm -f conftest.$ac_objext conftest$ac_exeext
27460if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27461 (eval $ac_link) 2>&5
27462 ac_status=$?
27463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27464 (exit $ac_status); } &&
27465 { ac_try='test -s conftest$ac_exeext'
27466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27467 (eval $ac_try) 2>&5
27468 ac_status=$?
27469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27470 (exit $ac_status); }; }; then
27471 eval "$as_ac_var=yes"
27472else
27473 echo "$as_me: failed program was:" >&5
27474sed 's/^/| /' conftest.$ac_ext >&5
27475
27476eval "$as_ac_var=no"
27477fi
27478rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27479fi
27480echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27481echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27482if test `eval echo '${'$as_ac_var'}'` = yes; then
27483 cat >>confdefs.h <<_ACEOF
27484#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27485_ACEOF
27486 cat >>confdefs.h <<\_ACEOF
27487#define HAVE_USLEEP 1
27488_ACEOF
27489
27490else
27491 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
27492echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
27493
27494fi
27495done
27496
27497
27498
27499fi
27500
27501
27502
27503fi
27504done
27505
27506fi
27507
27508
27509
27510for ac_func in uname gethostname
27511do
27512as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27513echo "$as_me:$LINENO: checking for $ac_func" >&5
27514echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27515if eval "test \"\${$as_ac_var+set}\" = set"; then
27516 echo $ECHO_N "(cached) $ECHO_C" >&6
27517else
27518 cat >conftest.$ac_ext <<_ACEOF
27519#line $LINENO "configure"
27520/* confdefs.h. */
27521_ACEOF
27522cat confdefs.h >>conftest.$ac_ext
27523cat >>conftest.$ac_ext <<_ACEOF
27524/* end confdefs.h. */
27525/* System header to define __stub macros and hopefully few prototypes,
27526 which can conflict with char $ac_func (); below.
27527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27528 <limits.h> exists even on freestanding compilers. */
27529#ifdef __STDC__
27530# include <limits.h>
27531#else
27532# include <assert.h>
27533#endif
27534/* Override any gcc2 internal prototype to avoid an error. */
27535#ifdef __cplusplus
27536extern "C"
27537{
27538#endif
27539/* We use char because int might match the return type of a gcc2
27540 builtin and then its argument prototype would still apply. */
27541char $ac_func ();
27542/* The GNU C library defines this for functions which it implements
27543 to always fail with ENOSYS. Some functions are actually named
27544 something starting with __ and the normal name is an alias. */
27545#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27546choke me
27547#else
27548char (*f) () = $ac_func;
27549#endif
27550#ifdef __cplusplus
27551}
27552#endif
27553
27554int
27555main ()
27556{
27557return f != $ac_func;
27558 ;
27559 return 0;
27560}
27561_ACEOF
27562rm -f conftest.$ac_objext conftest$ac_exeext
27563if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27564 (eval $ac_link) 2>&5
27565 ac_status=$?
27566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27567 (exit $ac_status); } &&
27568 { ac_try='test -s conftest$ac_exeext'
27569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27570 (eval $ac_try) 2>&5
27571 ac_status=$?
27572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27573 (exit $ac_status); }; }; then
27574 eval "$as_ac_var=yes"
27575else
27576 echo "$as_me: failed program was:" >&5
27577sed 's/^/| /' conftest.$ac_ext >&5
27578
27579eval "$as_ac_var=no"
27580fi
27581rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27582fi
27583echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27584echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27585if test `eval echo '${'$as_ac_var'}'` = yes; then
27586 cat >>confdefs.h <<_ACEOF
27587#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27588_ACEOF
27589 break
27590fi
27591done
27592
27593
27594
27595
27596ac_ext=cc
27597ac_cpp='$CXXCPP $CPPFLAGS'
27598ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27599ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27600ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27601
27602
27603
27604for ac_func in strtok_r
27605do
27606as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27607echo "$as_me:$LINENO: checking for $ac_func" >&5
27608echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27609if eval "test \"\${$as_ac_var+set}\" = set"; then
27610 echo $ECHO_N "(cached) $ECHO_C" >&6
27611else
27612 cat >conftest.$ac_ext <<_ACEOF
27613#line $LINENO "configure"
27614/* confdefs.h. */
27615_ACEOF
27616cat confdefs.h >>conftest.$ac_ext
27617cat >>conftest.$ac_ext <<_ACEOF
27618/* end confdefs.h. */
27619/* System header to define __stub macros and hopefully few prototypes,
27620 which can conflict with char $ac_func (); below.
27621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27622 <limits.h> exists even on freestanding compilers. */
27623#ifdef __STDC__
27624# include <limits.h>
27625#else
27626# include <assert.h>
27627#endif
27628/* Override any gcc2 internal prototype to avoid an error. */
27629#ifdef __cplusplus
27630extern "C"
27631{
27632#endif
27633/* We use char because int might match the return type of a gcc2
27634 builtin and then its argument prototype would still apply. */
27635char $ac_func ();
27636/* The GNU C library defines this for functions which it implements
27637 to always fail with ENOSYS. Some functions are actually named
27638 something starting with __ and the normal name is an alias. */
27639#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27640choke me
27641#else
27642char (*f) () = $ac_func;
27643#endif
27644#ifdef __cplusplus
27645}
27646#endif
27647
27648int
27649main ()
27650{
27651return f != $ac_func;
27652 ;
27653 return 0;
27654}
27655_ACEOF
27656rm -f conftest.$ac_objext conftest$ac_exeext
27657if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27658 (eval $ac_link) 2>&5
27659 ac_status=$?
27660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27661 (exit $ac_status); } &&
27662 { ac_try='test -s conftest$ac_exeext'
27663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27664 (eval $ac_try) 2>&5
27665 ac_status=$?
27666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27667 (exit $ac_status); }; }; then
27668 eval "$as_ac_var=yes"
27669else
27670 echo "$as_me: failed program was:" >&5
27671sed 's/^/| /' conftest.$ac_ext >&5
27672
27673eval "$as_ac_var=no"
27674fi
27675rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27676fi
27677echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27678echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27679if test `eval echo '${'$as_ac_var'}'` = yes; then
27680 cat >>confdefs.h <<_ACEOF
27681#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27682_ACEOF
27683
27684fi
27685done
27686
27687
27688ac_ext=c
27689ac_cpp='$CPP $CPPFLAGS'
27690ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27691ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27692ac_compiler_gnu=$ac_cv_c_compiler_gnu
27693
27694
27695INET_LINK=
27696
27697for ac_func in inet_addr
27698do
27699as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27700echo "$as_me:$LINENO: checking for $ac_func" >&5
27701echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27702if eval "test \"\${$as_ac_var+set}\" = set"; then
27703 echo $ECHO_N "(cached) $ECHO_C" >&6
27704else
27705 cat >conftest.$ac_ext <<_ACEOF
27706#line $LINENO "configure"
27707/* confdefs.h. */
27708_ACEOF
27709cat confdefs.h >>conftest.$ac_ext
27710cat >>conftest.$ac_ext <<_ACEOF
27711/* end confdefs.h. */
27712/* System header to define __stub macros and hopefully few prototypes,
27713 which can conflict with char $ac_func (); below.
27714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27715 <limits.h> exists even on freestanding compilers. */
27716#ifdef __STDC__
27717# include <limits.h>
27718#else
27719# include <assert.h>
27720#endif
27721/* Override any gcc2 internal prototype to avoid an error. */
27722#ifdef __cplusplus
27723extern "C"
27724{
27725#endif
27726/* We use char because int might match the return type of a gcc2
27727 builtin and then its argument prototype would still apply. */
27728char $ac_func ();
27729/* The GNU C library defines this for functions which it implements
27730 to always fail with ENOSYS. Some functions are actually named
27731 something starting with __ and the normal name is an alias. */
27732#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27733choke me
27734#else
27735char (*f) () = $ac_func;
27736#endif
27737#ifdef __cplusplus
27738}
27739#endif
27740
27741int
27742main ()
27743{
27744return f != $ac_func;
27745 ;
27746 return 0;
27747}
27748_ACEOF
27749rm -f conftest.$ac_objext conftest$ac_exeext
27750if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27751 (eval $ac_link) 2>&5
27752 ac_status=$?
27753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27754 (exit $ac_status); } &&
27755 { ac_try='test -s conftest$ac_exeext'
27756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27757 (eval $ac_try) 2>&5
27758 ac_status=$?
27759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27760 (exit $ac_status); }; }; then
27761 eval "$as_ac_var=yes"
27762else
27763 echo "$as_me: failed program was:" >&5
27764sed 's/^/| /' conftest.$ac_ext >&5
27765
27766eval "$as_ac_var=no"
27767fi
27768rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27769fi
27770echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27771echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27772if test `eval echo '${'$as_ac_var'}'` = yes; then
27773 cat >>confdefs.h <<_ACEOF
27774#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27775_ACEOF
27776 cat >>confdefs.h <<\_ACEOF
27777#define HAVE_INET_ADDR 1
27778_ACEOF
27779
27780else
27781
27782 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
27783echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
27784if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
27785 echo $ECHO_N "(cached) $ECHO_C" >&6
27786else
27787 ac_check_lib_save_LIBS=$LIBS
27788LIBS="-lnsl $LIBS"
27789cat >conftest.$ac_ext <<_ACEOF
27790#line $LINENO "configure"
27791/* confdefs.h. */
27792_ACEOF
27793cat confdefs.h >>conftest.$ac_ext
27794cat >>conftest.$ac_ext <<_ACEOF
27795/* end confdefs.h. */
27796
27797/* Override any gcc2 internal prototype to avoid an error. */
27798#ifdef __cplusplus
27799extern "C"
27800#endif
27801/* We use char because int might match the return type of a gcc2
27802 builtin and then its argument prototype would still apply. */
27803char inet_addr ();
27804int
27805main ()
27806{
27807inet_addr ();
27808 ;
27809 return 0;
27810}
27811_ACEOF
27812rm -f conftest.$ac_objext conftest$ac_exeext
27813if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27814 (eval $ac_link) 2>&5
27815 ac_status=$?
27816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27817 (exit $ac_status); } &&
27818 { ac_try='test -s conftest$ac_exeext'
27819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27820 (eval $ac_try) 2>&5
27821 ac_status=$?
27822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27823 (exit $ac_status); }; }; then
27824 ac_cv_lib_nsl_inet_addr=yes
27825else
27826 echo "$as_me: failed program was:" >&5
27827sed 's/^/| /' conftest.$ac_ext >&5
27828
27829ac_cv_lib_nsl_inet_addr=no
27830fi
27831rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27832LIBS=$ac_check_lib_save_LIBS
27833fi
27834echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
27835echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
27836if test $ac_cv_lib_nsl_inet_addr = yes; then
27837 INET_LINK="nsl"
27838else
27839 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
27840echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
27841if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
27842 echo $ECHO_N "(cached) $ECHO_C" >&6
27843else
27844 ac_check_lib_save_LIBS=$LIBS
27845LIBS="-lresolv $LIBS"
27846cat >conftest.$ac_ext <<_ACEOF
27847#line $LINENO "configure"
27848/* confdefs.h. */
27849_ACEOF
27850cat confdefs.h >>conftest.$ac_ext
27851cat >>conftest.$ac_ext <<_ACEOF
27852/* end confdefs.h. */
27853
27854/* Override any gcc2 internal prototype to avoid an error. */
27855#ifdef __cplusplus
27856extern "C"
27857#endif
27858/* We use char because int might match the return type of a gcc2
27859 builtin and then its argument prototype would still apply. */
27860char inet_addr ();
27861int
27862main ()
27863{
27864inet_addr ();
27865 ;
27866 return 0;
27867}
27868_ACEOF
27869rm -f conftest.$ac_objext conftest$ac_exeext
27870if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27871 (eval $ac_link) 2>&5
27872 ac_status=$?
27873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27874 (exit $ac_status); } &&
27875 { ac_try='test -s conftest$ac_exeext'
27876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27877 (eval $ac_try) 2>&5
27878 ac_status=$?
27879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27880 (exit $ac_status); }; }; then
27881 ac_cv_lib_resolv_inet_addr=yes
27882else
27883 echo "$as_me: failed program was:" >&5
27884sed 's/^/| /' conftest.$ac_ext >&5
27885
27886ac_cv_lib_resolv_inet_addr=no
27887fi
27888rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27889LIBS=$ac_check_lib_save_LIBS
27890fi
27891echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
27892echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
27893if test $ac_cv_lib_resolv_inet_addr = yes; then
27894 INET_LINK="resolv"
27895else
27896 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
27897echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
27898if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
27899 echo $ECHO_N "(cached) $ECHO_C" >&6
27900else
27901 ac_check_lib_save_LIBS=$LIBS
27902LIBS="-lsocket $LIBS"
27903cat >conftest.$ac_ext <<_ACEOF
27904#line $LINENO "configure"
27905/* confdefs.h. */
27906_ACEOF
27907cat confdefs.h >>conftest.$ac_ext
27908cat >>conftest.$ac_ext <<_ACEOF
27909/* end confdefs.h. */
27910
27911/* Override any gcc2 internal prototype to avoid an error. */
27912#ifdef __cplusplus
27913extern "C"
27914#endif
27915/* We use char because int might match the return type of a gcc2
27916 builtin and then its argument prototype would still apply. */
27917char inet_addr ();
27918int
27919main ()
27920{
27921inet_addr ();
27922 ;
27923 return 0;
27924}
27925_ACEOF
27926rm -f conftest.$ac_objext conftest$ac_exeext
27927if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27928 (eval $ac_link) 2>&5
27929 ac_status=$?
27930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27931 (exit $ac_status); } &&
27932 { ac_try='test -s conftest$ac_exeext'
27933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27934 (eval $ac_try) 2>&5
27935 ac_status=$?
27936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27937 (exit $ac_status); }; }; then
27938 ac_cv_lib_socket_inet_addr=yes
27939else
27940 echo "$as_me: failed program was:" >&5
27941sed 's/^/| /' conftest.$ac_ext >&5
27942
27943ac_cv_lib_socket_inet_addr=no
27944fi
27945rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27946LIBS=$ac_check_lib_save_LIBS
27947fi
27948echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
27949echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
27950if test $ac_cv_lib_socket_inet_addr = yes; then
27951 INET_LINK="socket"
27952
27953fi
27954
27955
27956fi
27957
27958
27959fi
27960
27961
27962
27963fi
27964done
27965
27966
27967
27968for ac_func in inet_aton
27969do
27970as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27971echo "$as_me:$LINENO: checking for $ac_func" >&5
27972echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27973if eval "test \"\${$as_ac_var+set}\" = set"; then
27974 echo $ECHO_N "(cached) $ECHO_C" >&6
27975else
27976 cat >conftest.$ac_ext <<_ACEOF
27977#line $LINENO "configure"
27978/* confdefs.h. */
27979_ACEOF
27980cat confdefs.h >>conftest.$ac_ext
27981cat >>conftest.$ac_ext <<_ACEOF
27982/* end confdefs.h. */
27983/* System header to define __stub macros and hopefully few prototypes,
27984 which can conflict with char $ac_func (); below.
27985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27986 <limits.h> exists even on freestanding compilers. */
27987#ifdef __STDC__
27988# include <limits.h>
27989#else
27990# include <assert.h>
27991#endif
27992/* Override any gcc2 internal prototype to avoid an error. */
27993#ifdef __cplusplus
27994extern "C"
27995{
27996#endif
27997/* We use char because int might match the return type of a gcc2
27998 builtin and then its argument prototype would still apply. */
27999char $ac_func ();
28000/* The GNU C library defines this for functions which it implements
28001 to always fail with ENOSYS. Some functions are actually named
28002 something starting with __ and the normal name is an alias. */
28003#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28004choke me
28005#else
28006char (*f) () = $ac_func;
28007#endif
28008#ifdef __cplusplus
28009}
28010#endif
28011
28012int
28013main ()
28014{
28015return f != $ac_func;
28016 ;
28017 return 0;
28018}
28019_ACEOF
28020rm -f conftest.$ac_objext conftest$ac_exeext
28021if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28022 (eval $ac_link) 2>&5
28023 ac_status=$?
28024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28025 (exit $ac_status); } &&
28026 { ac_try='test -s conftest$ac_exeext'
28027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28028 (eval $ac_try) 2>&5
28029 ac_status=$?
28030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28031 (exit $ac_status); }; }; then
28032 eval "$as_ac_var=yes"
28033else
28034 echo "$as_me: failed program was:" >&5
28035sed 's/^/| /' conftest.$ac_ext >&5
28036
28037eval "$as_ac_var=no"
28038fi
28039rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28040fi
28041echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28042echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28043if test `eval echo '${'$as_ac_var'}'` = yes; then
28044 cat >>confdefs.h <<_ACEOF
28045#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28046_ACEOF
28047 cat >>confdefs.h <<\_ACEOF
28048#define HAVE_INET_ATON 1
28049_ACEOF
28050
28051else
28052
28053 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28054echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28055echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28056if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28057 echo $ECHO_N "(cached) $ECHO_C" >&6
28058else
28059 ac_check_lib_save_LIBS=$LIBS
28060LIBS="-l$INET_LINK $LIBS"
28061cat >conftest.$ac_ext <<_ACEOF
28062#line $LINENO "configure"
28063/* confdefs.h. */
28064_ACEOF
28065cat confdefs.h >>conftest.$ac_ext
28066cat >>conftest.$ac_ext <<_ACEOF
28067/* end confdefs.h. */
28068
28069/* Override any gcc2 internal prototype to avoid an error. */
28070#ifdef __cplusplus
28071extern "C"
28072#endif
28073/* We use char because int might match the return type of a gcc2
28074 builtin and then its argument prototype would still apply. */
28075char inet_aton ();
28076int
28077main ()
28078{
28079inet_aton ();
28080 ;
28081 return 0;
28082}
28083_ACEOF
28084rm -f conftest.$ac_objext conftest$ac_exeext
28085if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28086 (eval $ac_link) 2>&5
28087 ac_status=$?
28088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28089 (exit $ac_status); } &&
28090 { ac_try='test -s conftest$ac_exeext'
28091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28092 (eval $ac_try) 2>&5
28093 ac_status=$?
28094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28095 (exit $ac_status); }; }; then
28096 eval "$as_ac_Lib=yes"
28097else
28098 echo "$as_me: failed program was:" >&5
28099sed 's/^/| /' conftest.$ac_ext >&5
28100
28101eval "$as_ac_Lib=no"
28102fi
28103rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28104LIBS=$ac_check_lib_save_LIBS
28105fi
28106echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28107echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28108if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28109 cat >>confdefs.h <<\_ACEOF
28110#define HAVE_INET_ATON 1
28111_ACEOF
28112
28113fi
28114
28115
28116fi
28117done
28118
28119
28120if test "x$INET_LINK" != "x"; then
28121 cat >>confdefs.h <<\_ACEOF
28122#define HAVE_INET_ADDR 1
28123_ACEOF
28124
28125 INET_LINK=" -l$INET_LINK"
28126fi
28127
28128fi
28129
28130
28131
28132ESD_LINK=
28133if test "${ac_cv_header_esd_h+set}" = set; then
28134 echo "$as_me:$LINENO: checking for esd.h" >&5
28135echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28136if test "${ac_cv_header_esd_h+set}" = set; then
28137 echo $ECHO_N "(cached) $ECHO_C" >&6
28138fi
28139echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28140echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28141else
28142 # Is the header compilable?
28143echo "$as_me:$LINENO: checking esd.h usability" >&5
28144echo $ECHO_N "checking esd.h usability... $ECHO_C" >&6
28145cat >conftest.$ac_ext <<_ACEOF
28146#line $LINENO "configure"
28147/* confdefs.h. */
28148_ACEOF
28149cat confdefs.h >>conftest.$ac_ext
28150cat >>conftest.$ac_ext <<_ACEOF
28151/* end confdefs.h. */
28152$ac_includes_default
28153#include <esd.h>
28154_ACEOF
28155rm -f conftest.$ac_objext
28156if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28157 (eval $ac_compile) 2>&5
28158 ac_status=$?
28159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28160 (exit $ac_status); } &&
28161 { ac_try='test -s conftest.$ac_objext'
28162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28163 (eval $ac_try) 2>&5
28164 ac_status=$?
28165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28166 (exit $ac_status); }; }; then
28167 ac_header_compiler=yes
28168else
28169 echo "$as_me: failed program was:" >&5
28170sed 's/^/| /' conftest.$ac_ext >&5
28171
28172ac_header_compiler=no
28173fi
28174rm -f conftest.$ac_objext conftest.$ac_ext
28175echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28176echo "${ECHO_T}$ac_header_compiler" >&6
28177
28178# Is the header present?
28179echo "$as_me:$LINENO: checking esd.h presence" >&5
28180echo $ECHO_N "checking esd.h presence... $ECHO_C" >&6
28181cat >conftest.$ac_ext <<_ACEOF
28182#line $LINENO "configure"
28183/* confdefs.h. */
28184_ACEOF
28185cat confdefs.h >>conftest.$ac_ext
28186cat >>conftest.$ac_ext <<_ACEOF
28187/* end confdefs.h. */
28188#include <esd.h>
28189_ACEOF
28190if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28191 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28192 ac_status=$?
28193 grep -v '^ *+' conftest.er1 >conftest.err
28194 rm -f conftest.er1
28195 cat conftest.err >&5
28196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28197 (exit $ac_status); } >/dev/null; then
28198 if test -s conftest.err; then
28199 ac_cpp_err=$ac_c_preproc_warn_flag
28200 else
28201 ac_cpp_err=
28202 fi
28203else
28204 ac_cpp_err=yes
28205fi
28206if test -z "$ac_cpp_err"; then
28207 ac_header_preproc=yes
28208else
28209 echo "$as_me: failed program was:" >&5
28210sed 's/^/| /' conftest.$ac_ext >&5
28211
28212 ac_header_preproc=no
28213fi
28214rm -f conftest.err conftest.$ac_ext
28215echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28216echo "${ECHO_T}$ac_header_preproc" >&6
28217
28218# So? What about this header?
28219case $ac_header_compiler:$ac_header_preproc in
28220 yes:no )
28221 { echo "$as_me:$LINENO: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&5
28222echo "$as_me: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28223 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28224echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28225 (
28226 cat <<\_ASBOX
28227## ------------------------------------ ##
28228## Report this to bug-autoconf@gnu.org. ##
28229## ------------------------------------ ##
28230_ASBOX
28231 ) |
28232 sed "s/^/$as_me: WARNING: /" >&2
28233 ;;
28234 no:yes )
28235 { echo "$as_me:$LINENO: WARNING: esd.h: present but cannot be compiled" >&5
28236echo "$as_me: WARNING: esd.h: present but cannot be compiled" >&2;}
28237 { echo "$as_me:$LINENO: WARNING: esd.h: check for missing prerequisite headers?" >&5
28238echo "$as_me: WARNING: esd.h: check for missing prerequisite headers?" >&2;}
28239 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28240echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28241 (
28242 cat <<\_ASBOX
28243## ------------------------------------ ##
28244## Report this to bug-autoconf@gnu.org. ##
28245## ------------------------------------ ##
28246_ASBOX
28247 ) |
28248 sed "s/^/$as_me: WARNING: /" >&2
28249 ;;
28250esac
28251echo "$as_me:$LINENO: checking for esd.h" >&5
28252echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28253if test "${ac_cv_header_esd_h+set}" = set; then
28254 echo $ECHO_N "(cached) $ECHO_C" >&6
28255else
28256 ac_cv_header_esd_h=$ac_header_preproc
28257fi
28258echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28259echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28260
28261fi
28262if test $ac_cv_header_esd_h = yes; then
28263
28264 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28265echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28266if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28267 echo $ECHO_N "(cached) $ECHO_C" >&6
28268else
28269 ac_check_lib_save_LIBS=$LIBS
28270LIBS="-lesd $LIBS"
28271cat >conftest.$ac_ext <<_ACEOF
28272#line $LINENO "configure"
28273/* confdefs.h. */
28274_ACEOF
28275cat confdefs.h >>conftest.$ac_ext
28276cat >>conftest.$ac_ext <<_ACEOF
28277/* end confdefs.h. */
28278
28279/* Override any gcc2 internal prototype to avoid an error. */
28280#ifdef __cplusplus
28281extern "C"
28282#endif
28283/* We use char because int might match the return type of a gcc2
28284 builtin and then its argument prototype would still apply. */
28285char esd_close ();
28286int
28287main ()
28288{
28289esd_close ();
28290 ;
28291 return 0;
28292}
28293_ACEOF
28294rm -f conftest.$ac_objext conftest$ac_exeext
28295if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28296 (eval $ac_link) 2>&5
28297 ac_status=$?
28298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28299 (exit $ac_status); } &&
28300 { ac_try='test -s conftest$ac_exeext'
28301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28302 (eval $ac_try) 2>&5
28303 ac_status=$?
28304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28305 (exit $ac_status); }; }; then
28306 ac_cv_lib_esd_esd_close=yes
28307else
28308 echo "$as_me: failed program was:" >&5
28309sed 's/^/| /' conftest.$ac_ext >&5
28310
28311ac_cv_lib_esd_esd_close=no
28312fi
28313rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28314LIBS=$ac_check_lib_save_LIBS
28315fi
28316echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28317echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28318if test $ac_cv_lib_esd_esd_close = yes; then
28319
28320 ESD_LINK="-lesd"
28321
28322fi
28323
28324
28325fi
28326
28327
28328
28329
28330
28331cat >confcache <<\_ACEOF
28332# This file is a shell script that caches the results of configure
28333# tests run on this system so they can be shared between configure
28334# scripts and configure runs, see configure's option --config-cache.
28335# It is not useful on other systems. If it contains results you don't
28336# want to keep, you may remove or edit it.
28337#
28338# config.status only pays attention to the cache file if you give it
28339# the --recheck option to rerun configure.
28340#
28341# `ac_cv_env_foo' variables (set or unset) will be overridden when
28342# loading this file, other *unset* `ac_cv_foo' will be assigned the
28343# following values.
28344
28345_ACEOF
28346
28347# The following way of writing the cache mishandles newlines in values,
28348# but we know of no workaround that is simple, portable, and efficient.
28349# So, don't put newlines in cache variables' values.
28350# Ultrix sh set writes to stderr and can't be redirected directly,
28351# and sets the high bit in the cache file unless we assign to the vars.
28352{
28353 (set) 2>&1 |
28354 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28355 *ac_space=\ *)
28356 # `set' does not quote correctly, so add quotes (double-quote
28357 # substitution turns \\\\ into \\, and sed turns \\ into \).
28358 sed -n \
28359 "s/'/'\\\\''/g;
28360 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28361 ;;
28362 *)
28363 # `set' quotes correctly as required by POSIX, so do not add quotes.
28364 sed -n \
28365 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28366 ;;
28367 esac;
28368} |
28369 sed '
28370 t clear
28371 : clear
28372 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28373 t end
28374 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28375 : end' >>confcache
28376if diff $cache_file confcache >/dev/null 2>&1; then :; else
28377 if test -w $cache_file; then
28378 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28379 cat confcache >$cache_file
28380 else
28381 echo "not updating unwritable cache $cache_file"
28382 fi
28383fi
28384rm -f confcache
28385
28386
28387CPP_MT_FLAG=
28388if test "$TOOLKIT" != "MSW"; then
28389
28390
28391 THREADS_LINK=
28392 THREADS_CFLAGS=
28393
28394 if test "$wxUSE_THREADS" = "yes" ; then
28395 if test "$USE_BEOS" = 1; then
28396 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28397echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28398 wxUSE_THREADS="no"
28399 fi
28400 fi
28401
28402 if test "$wxUSE_THREADS" = "yes" ; then
28403
28404
28405 THREAD_OPTS="-pthread"
28406 case "${host}" in
28407 *-*-solaris2* | *-*-sunos4* )
28408 if test "x$GCC" = "xyes"; then
28409 THREAD_OPTS="-pthreads $THREAD_OPTS"
28410 else
28411 THREAD_OPTS="-mt $THREAD_OPTS"
28412 fi
28413 ;;
28414 *-*-freebsd*)
28415 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
28416 ;;
28417 *-*-darwin* | *-*-cygwin* )
28418 THREAD_OPTS=""
28419 ;;
28420 *-*-aix*)
28421 THREAD_OPTS="pthreads"
28422 ;;
28423 *-hp-hpux* )
28424 if test "x$GCC" != "xyes"; then
28425 THREAD_OPTS=""
28426 fi
28427 ;;
28428
28429 *-*-irix* )
28430 if test "x$GCC" = "xyes"; then
28431 THREAD_OPTS=""
28432 fi
28433 ;;
28434
28435 *-*-*UnixWare*)
28436 if test "x$GCC" != "xyes"; then
28437 THREAD_OPTS="-Ethread"
28438 fi
28439 ;;
28440 esac
28441
28442 THREAD_OPTS="$THREAD_OPTS pthread none"
28443
28444 THREADS_OK=no
28445 for flag in $THREAD_OPTS; do
28446 case $flag in
28447 none)
28448 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
28449echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
28450 ;;
28451
28452 -*)
28453 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
28454echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
28455 THREADS_CFLAGS="$flag"
28456 ;;
28457
28458 *)
28459 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
28460echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
28461 THREADS_LINK="-l$flag"
28462 ;;
28463 esac
28464
28465 save_LIBS="$LIBS"
28466 save_CFLAGS="$CFLAGS"
28467 LIBS="$THREADS_LINK $LIBS"
28468 CFLAGS="$THREADS_CFLAGS $CFLAGS"
28469
28470 cat >conftest.$ac_ext <<_ACEOF
28471#line $LINENO "configure"
28472/* confdefs.h. */
28473_ACEOF
28474cat confdefs.h >>conftest.$ac_ext
28475cat >>conftest.$ac_ext <<_ACEOF
28476/* end confdefs.h. */
28477#include <pthread.h>
28478int
28479main ()
28480{
28481pthread_create(0,0,0,0);
28482 ;
28483 return 0;
28484}
28485_ACEOF
28486rm -f conftest.$ac_objext conftest$ac_exeext
28487if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28488 (eval $ac_link) 2>&5
28489 ac_status=$?
28490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28491 (exit $ac_status); } &&
28492 { ac_try='test -s conftest$ac_exeext'
28493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28494 (eval $ac_try) 2>&5
28495 ac_status=$?
28496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28497 (exit $ac_status); }; }; then
28498 THREADS_OK=yes
28499else
28500 echo "$as_me: failed program was:" >&5
28501sed 's/^/| /' conftest.$ac_ext >&5
28502
28503fi
28504rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28505
28506 LIBS="$save_LIBS"
28507 CFLAGS="$save_CFLAGS"
28508
28509 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
28510echo "${ECHO_T}$THREADS_OK" >&6
28511 if test "x$THREADS_OK" = "xyes"; then
28512 break;
28513 fi
28514
28515 THREADS_LINK=""
28516 THREADS_CFLAGS=""
28517 done
28518
28519 if test "x$THREADS_OK" != "xyes"; then
28520 wxUSE_THREADS=no
28521 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
28522echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
28523 else
28524 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
28525 LIBS="$THREADS_LINK $LIBS"
28526
28527 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
28528echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
28529 flag=no
28530 case "${host}" in
28531 *-aix*)
28532 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
28533 flag="-D_THREAD_SAFE"
28534 ;;
28535 *-freebsd*)
28536 flag="-D_THREAD_SAFE"
28537 ;;
28538 *-hp-hpux* )
28539 flag="-D_REENTRANT"
28540 if test "x$GCC" != "xyes"; then
28541 flag="$flag -D_RWSTD_MULTI_THREAD"
28542 fi
28543 ;;
28544 *solaris* | alpha*-osf*)
28545 flag="-D_REENTRANT"
28546 ;;
28547 esac
28548 echo "$as_me:$LINENO: result: ${flag}" >&5
28549echo "${ECHO_T}${flag}" >&6
28550 if test "x$flag" != xno; then
28551 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
28552 fi
28553
28554 if test "x$THREADS_CFLAGS" != "x"; then
28555 CFLAGS="$CFLAGS $THREADS_CFLAGS"
28556 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
28557 fi
28558 fi
28559 fi
28560
28561 if test "$wxUSE_THREADS" = "yes" ; then
28562
28563for ac_func in thr_setconcurrency
28564do
28565as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28566echo "$as_me:$LINENO: checking for $ac_func" >&5
28567echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28568if eval "test \"\${$as_ac_var+set}\" = set"; then
28569 echo $ECHO_N "(cached) $ECHO_C" >&6
28570else
28571 cat >conftest.$ac_ext <<_ACEOF
28572#line $LINENO "configure"
28573/* confdefs.h. */
28574_ACEOF
28575cat confdefs.h >>conftest.$ac_ext
28576cat >>conftest.$ac_ext <<_ACEOF
28577/* end confdefs.h. */
28578/* System header to define __stub macros and hopefully few prototypes,
28579 which can conflict with char $ac_func (); below.
28580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28581 <limits.h> exists even on freestanding compilers. */
28582#ifdef __STDC__
28583# include <limits.h>
28584#else
28585# include <assert.h>
28586#endif
28587/* Override any gcc2 internal prototype to avoid an error. */
28588#ifdef __cplusplus
28589extern "C"
28590{
28591#endif
28592/* We use char because int might match the return type of a gcc2
28593 builtin and then its argument prototype would still apply. */
28594char $ac_func ();
28595/* The GNU C library defines this for functions which it implements
28596 to always fail with ENOSYS. Some functions are actually named
28597 something starting with __ and the normal name is an alias. */
28598#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28599choke me
28600#else
28601char (*f) () = $ac_func;
28602#endif
28603#ifdef __cplusplus
28604}
28605#endif
28606
28607int
28608main ()
28609{
28610return f != $ac_func;
28611 ;
28612 return 0;
28613}
28614_ACEOF
28615rm -f conftest.$ac_objext conftest$ac_exeext
28616if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28617 (eval $ac_link) 2>&5
28618 ac_status=$?
28619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28620 (exit $ac_status); } &&
28621 { ac_try='test -s conftest$ac_exeext'
28622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28623 (eval $ac_try) 2>&5
28624 ac_status=$?
28625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28626 (exit $ac_status); }; }; then
28627 eval "$as_ac_var=yes"
28628else
28629 echo "$as_me: failed program was:" >&5
28630sed 's/^/| /' conftest.$ac_ext >&5
28631
28632eval "$as_ac_var=no"
28633fi
28634rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28635fi
28636echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28637echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28638if test `eval echo '${'$as_ac_var'}'` = yes; then
28639 cat >>confdefs.h <<_ACEOF
28640#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28641_ACEOF
28642
28643fi
28644done
28645
28646
28647
28648for ac_header in sched.h
28649do
28650as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28651if eval "test \"\${$as_ac_Header+set}\" = set"; then
28652 echo "$as_me:$LINENO: checking for $ac_header" >&5
28653echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28654if eval "test \"\${$as_ac_Header+set}\" = set"; then
28655 echo $ECHO_N "(cached) $ECHO_C" >&6
28656fi
28657echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28658echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28659else
28660 # Is the header compilable?
28661echo "$as_me:$LINENO: checking $ac_header usability" >&5
28662echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28663cat >conftest.$ac_ext <<_ACEOF
28664#line $LINENO "configure"
28665/* confdefs.h. */
28666_ACEOF
28667cat confdefs.h >>conftest.$ac_ext
28668cat >>conftest.$ac_ext <<_ACEOF
28669/* end confdefs.h. */
28670$ac_includes_default
28671#include <$ac_header>
28672_ACEOF
28673rm -f conftest.$ac_objext
28674if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28675 (eval $ac_compile) 2>&5
28676 ac_status=$?
28677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28678 (exit $ac_status); } &&
28679 { ac_try='test -s conftest.$ac_objext'
28680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28681 (eval $ac_try) 2>&5
28682 ac_status=$?
28683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28684 (exit $ac_status); }; }; then
28685 ac_header_compiler=yes
28686else
28687 echo "$as_me: failed program was:" >&5
28688sed 's/^/| /' conftest.$ac_ext >&5
28689
28690ac_header_compiler=no
28691fi
28692rm -f conftest.$ac_objext conftest.$ac_ext
28693echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28694echo "${ECHO_T}$ac_header_compiler" >&6
28695
28696# Is the header present?
28697echo "$as_me:$LINENO: checking $ac_header presence" >&5
28698echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28699cat >conftest.$ac_ext <<_ACEOF
28700#line $LINENO "configure"
28701/* confdefs.h. */
28702_ACEOF
28703cat confdefs.h >>conftest.$ac_ext
28704cat >>conftest.$ac_ext <<_ACEOF
28705/* end confdefs.h. */
28706#include <$ac_header>
28707_ACEOF
28708if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28709 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28710 ac_status=$?
28711 grep -v '^ *+' conftest.er1 >conftest.err
28712 rm -f conftest.er1
28713 cat conftest.err >&5
28714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28715 (exit $ac_status); } >/dev/null; then
28716 if test -s conftest.err; then
28717 ac_cpp_err=$ac_c_preproc_warn_flag
28718 else
28719 ac_cpp_err=
28720 fi
28721else
28722 ac_cpp_err=yes
28723fi
28724if test -z "$ac_cpp_err"; then
28725 ac_header_preproc=yes
28726else
28727 echo "$as_me: failed program was:" >&5
28728sed 's/^/| /' conftest.$ac_ext >&5
28729
28730 ac_header_preproc=no
28731fi
28732rm -f conftest.err conftest.$ac_ext
28733echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28734echo "${ECHO_T}$ac_header_preproc" >&6
28735
28736# So? What about this header?
28737case $ac_header_compiler:$ac_header_preproc in
28738 yes:no )
28739 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28740echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28741 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28742echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28743 (
28744 cat <<\_ASBOX
28745## ------------------------------------ ##
28746## Report this to bug-autoconf@gnu.org. ##
28747## ------------------------------------ ##
28748_ASBOX
28749 ) |
28750 sed "s/^/$as_me: WARNING: /" >&2
28751 ;;
28752 no:yes )
28753 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28754echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28755 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28756echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28757 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28758echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28759 (
28760 cat <<\_ASBOX
28761## ------------------------------------ ##
28762## Report this to bug-autoconf@gnu.org. ##
28763## ------------------------------------ ##
28764_ASBOX
28765 ) |
28766 sed "s/^/$as_me: WARNING: /" >&2
28767 ;;
28768esac
28769echo "$as_me:$LINENO: checking for $ac_header" >&5
28770echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28771if eval "test \"\${$as_ac_Header+set}\" = set"; then
28772 echo $ECHO_N "(cached) $ECHO_C" >&6
28773else
28774 eval "$as_ac_Header=$ac_header_preproc"
28775fi
28776echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28777echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28778
28779fi
28780if test `eval echo '${'$as_ac_Header'}'` = yes; then
28781 cat >>confdefs.h <<_ACEOF
28782#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28783_ACEOF
28784
28785fi
28786
28787done
28788
28789 if test "$ac_cv_header_sched_h" = "yes"; then
28790 echo "$as_me:$LINENO: checking for sched_yield" >&5
28791echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
28792if test "${ac_cv_func_sched_yield+set}" = set; then
28793 echo $ECHO_N "(cached) $ECHO_C" >&6
28794else
28795 cat >conftest.$ac_ext <<_ACEOF
28796#line $LINENO "configure"
28797/* confdefs.h. */
28798_ACEOF
28799cat confdefs.h >>conftest.$ac_ext
28800cat >>conftest.$ac_ext <<_ACEOF
28801/* end confdefs.h. */
28802/* System header to define __stub macros and hopefully few prototypes,
28803 which can conflict with char sched_yield (); below.
28804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28805 <limits.h> exists even on freestanding compilers. */
28806#ifdef __STDC__
28807# include <limits.h>
28808#else
28809# include <assert.h>
28810#endif
28811/* Override any gcc2 internal prototype to avoid an error. */
28812#ifdef __cplusplus
28813extern "C"
28814{
28815#endif
28816/* We use char because int might match the return type of a gcc2
28817 builtin and then its argument prototype would still apply. */
28818char sched_yield ();
28819/* The GNU C library defines this for functions which it implements
28820 to always fail with ENOSYS. Some functions are actually named
28821 something starting with __ and the normal name is an alias. */
28822#if defined (__stub_sched_yield) || defined (__stub___sched_yield)
28823choke me
28824#else
28825char (*f) () = sched_yield;
28826#endif
28827#ifdef __cplusplus
28828}
28829#endif
28830
28831int
28832main ()
28833{
28834return f != sched_yield;
28835 ;
28836 return 0;
28837}
28838_ACEOF
28839rm -f conftest.$ac_objext conftest$ac_exeext
28840if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28841 (eval $ac_link) 2>&5
28842 ac_status=$?
28843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28844 (exit $ac_status); } &&
28845 { ac_try='test -s conftest$ac_exeext'
28846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28847 (eval $ac_try) 2>&5
28848 ac_status=$?
28849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28850 (exit $ac_status); }; }; then
28851 ac_cv_func_sched_yield=yes
28852else
28853 echo "$as_me: failed program was:" >&5
28854sed 's/^/| /' conftest.$ac_ext >&5
28855
28856ac_cv_func_sched_yield=no
28857fi
28858rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28859fi
28860echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
28861echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
28862if test $ac_cv_func_sched_yield = yes; then
28863 cat >>confdefs.h <<\_ACEOF
28864#define HAVE_SCHED_YIELD 1
28865_ACEOF
28866
28867else
28868
28869 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
28870echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
28871if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
28872 echo $ECHO_N "(cached) $ECHO_C" >&6
28873else
28874 ac_check_lib_save_LIBS=$LIBS
28875LIBS="-lposix4 $LIBS"
28876cat >conftest.$ac_ext <<_ACEOF
28877#line $LINENO "configure"
28878/* confdefs.h. */
28879_ACEOF
28880cat confdefs.h >>conftest.$ac_ext
28881cat >>conftest.$ac_ext <<_ACEOF
28882/* end confdefs.h. */
28883
28884/* Override any gcc2 internal prototype to avoid an error. */
28885#ifdef __cplusplus
28886extern "C"
28887#endif
28888/* We use char because int might match the return type of a gcc2
28889 builtin and then its argument prototype would still apply. */
28890char sched_yield ();
28891int
28892main ()
28893{
28894sched_yield ();
28895 ;
28896 return 0;
28897}
28898_ACEOF
28899rm -f conftest.$ac_objext conftest$ac_exeext
28900if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28901 (eval $ac_link) 2>&5
28902 ac_status=$?
28903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28904 (exit $ac_status); } &&
28905 { ac_try='test -s conftest$ac_exeext'
28906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28907 (eval $ac_try) 2>&5
28908 ac_status=$?
28909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28910 (exit $ac_status); }; }; then
28911 ac_cv_lib_posix4_sched_yield=yes
28912else
28913 echo "$as_me: failed program was:" >&5
28914sed 's/^/| /' conftest.$ac_ext >&5
28915
28916ac_cv_lib_posix4_sched_yield=no
28917fi
28918rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28919LIBS=$ac_check_lib_save_LIBS
28920fi
28921echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
28922echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
28923if test $ac_cv_lib_posix4_sched_yield = yes; then
28924 cat >>confdefs.h <<\_ACEOF
28925#define HAVE_SCHED_YIELD 1
28926_ACEOF
28927 POSIX4_LINK=" -lposix4"
28928else
28929 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
28930echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
28931
28932fi
28933
28934
28935
28936fi
28937
28938 fi
28939
28940 HAVE_PRIOR_FUNCS=0
28941 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
28942echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
28943if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
28944 echo $ECHO_N "(cached) $ECHO_C" >&6
28945else
28946 cat >conftest.$ac_ext <<_ACEOF
28947#line $LINENO "configure"
28948/* confdefs.h. */
28949_ACEOF
28950cat confdefs.h >>conftest.$ac_ext
28951cat >>conftest.$ac_ext <<_ACEOF
28952/* end confdefs.h. */
28953/* System header to define __stub macros and hopefully few prototypes,
28954 which can conflict with char pthread_attr_getschedpolicy (); below.
28955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28956 <limits.h> exists even on freestanding compilers. */
28957#ifdef __STDC__
28958# include <limits.h>
28959#else
28960# include <assert.h>
28961#endif
28962/* Override any gcc2 internal prototype to avoid an error. */
28963#ifdef __cplusplus
28964extern "C"
28965{
28966#endif
28967/* We use char because int might match the return type of a gcc2
28968 builtin and then its argument prototype would still apply. */
28969char pthread_attr_getschedpolicy ();
28970/* The GNU C library defines this for functions which it implements
28971 to always fail with ENOSYS. Some functions are actually named
28972 something starting with __ and the normal name is an alias. */
28973#if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
28974choke me
28975#else
28976char (*f) () = pthread_attr_getschedpolicy;
28977#endif
28978#ifdef __cplusplus
28979}
28980#endif
28981
28982int
28983main ()
28984{
28985return f != pthread_attr_getschedpolicy;
28986 ;
28987 return 0;
28988}
28989_ACEOF
28990rm -f conftest.$ac_objext conftest$ac_exeext
28991if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28992 (eval $ac_link) 2>&5
28993 ac_status=$?
28994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28995 (exit $ac_status); } &&
28996 { ac_try='test -s conftest$ac_exeext'
28997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28998 (eval $ac_try) 2>&5
28999 ac_status=$?
29000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29001 (exit $ac_status); }; }; then
29002 ac_cv_func_pthread_attr_getschedpolicy=yes
29003else
29004 echo "$as_me: failed program was:" >&5
29005sed 's/^/| /' conftest.$ac_ext >&5
29006
29007ac_cv_func_pthread_attr_getschedpolicy=no
29008fi
29009rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29010fi
29011echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29012echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29013if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29014 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29015echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29016if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29017 echo $ECHO_N "(cached) $ECHO_C" >&6
29018else
29019 cat >conftest.$ac_ext <<_ACEOF
29020#line $LINENO "configure"
29021/* confdefs.h. */
29022_ACEOF
29023cat confdefs.h >>conftest.$ac_ext
29024cat >>conftest.$ac_ext <<_ACEOF
29025/* end confdefs.h. */
29026/* System header to define __stub macros and hopefully few prototypes,
29027 which can conflict with char pthread_attr_setschedparam (); below.
29028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29029 <limits.h> exists even on freestanding compilers. */
29030#ifdef __STDC__
29031# include <limits.h>
29032#else
29033# include <assert.h>
29034#endif
29035/* Override any gcc2 internal prototype to avoid an error. */
29036#ifdef __cplusplus
29037extern "C"
29038{
29039#endif
29040/* We use char because int might match the return type of a gcc2
29041 builtin and then its argument prototype would still apply. */
29042char pthread_attr_setschedparam ();
29043/* The GNU C library defines this for functions which it implements
29044 to always fail with ENOSYS. Some functions are actually named
29045 something starting with __ and the normal name is an alias. */
29046#if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29047choke me
29048#else
29049char (*f) () = pthread_attr_setschedparam;
29050#endif
29051#ifdef __cplusplus
29052}
29053#endif
29054
29055int
29056main ()
29057{
29058return f != pthread_attr_setschedparam;
29059 ;
29060 return 0;
29061}
29062_ACEOF
29063rm -f conftest.$ac_objext conftest$ac_exeext
29064if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29065 (eval $ac_link) 2>&5
29066 ac_status=$?
29067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29068 (exit $ac_status); } &&
29069 { ac_try='test -s conftest$ac_exeext'
29070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29071 (eval $ac_try) 2>&5
29072 ac_status=$?
29073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29074 (exit $ac_status); }; }; then
29075 ac_cv_func_pthread_attr_setschedparam=yes
29076else
29077 echo "$as_me: failed program was:" >&5
29078sed 's/^/| /' conftest.$ac_ext >&5
29079
29080ac_cv_func_pthread_attr_setschedparam=no
29081fi
29082rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29083fi
29084echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29085echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29086if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29087 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29088echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29089if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29090 echo $ECHO_N "(cached) $ECHO_C" >&6
29091else
29092 cat >conftest.$ac_ext <<_ACEOF
29093#line $LINENO "configure"
29094/* confdefs.h. */
29095_ACEOF
29096cat confdefs.h >>conftest.$ac_ext
29097cat >>conftest.$ac_ext <<_ACEOF
29098/* end confdefs.h. */
29099/* System header to define __stub macros and hopefully few prototypes,
29100 which can conflict with char sched_get_priority_max (); below.
29101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29102 <limits.h> exists even on freestanding compilers. */
29103#ifdef __STDC__
29104# include <limits.h>
29105#else
29106# include <assert.h>
29107#endif
29108/* Override any gcc2 internal prototype to avoid an error. */
29109#ifdef __cplusplus
29110extern "C"
29111{
29112#endif
29113/* We use char because int might match the return type of a gcc2
29114 builtin and then its argument prototype would still apply. */
29115char sched_get_priority_max ();
29116/* The GNU C library defines this for functions which it implements
29117 to always fail with ENOSYS. Some functions are actually named
29118 something starting with __ and the normal name is an alias. */
29119#if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29120choke me
29121#else
29122char (*f) () = sched_get_priority_max;
29123#endif
29124#ifdef __cplusplus
29125}
29126#endif
29127
29128int
29129main ()
29130{
29131return f != sched_get_priority_max;
29132 ;
29133 return 0;
29134}
29135_ACEOF
29136rm -f conftest.$ac_objext conftest$ac_exeext
29137if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29138 (eval $ac_link) 2>&5
29139 ac_status=$?
29140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29141 (exit $ac_status); } &&
29142 { ac_try='test -s conftest$ac_exeext'
29143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29144 (eval $ac_try) 2>&5
29145 ac_status=$?
29146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29147 (exit $ac_status); }; }; then
29148 ac_cv_func_sched_get_priority_max=yes
29149else
29150 echo "$as_me: failed program was:" >&5
29151sed 's/^/| /' conftest.$ac_ext >&5
29152
29153ac_cv_func_sched_get_priority_max=no
29154fi
29155rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29156fi
29157echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29158echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29159if test $ac_cv_func_sched_get_priority_max = yes; then
29160 HAVE_PRIOR_FUNCS=1
29161else
29162 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29163echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29164if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29165 echo $ECHO_N "(cached) $ECHO_C" >&6
29166else
29167 ac_check_lib_save_LIBS=$LIBS
29168LIBS="-lposix4 $LIBS"
29169cat >conftest.$ac_ext <<_ACEOF
29170#line $LINENO "configure"
29171/* confdefs.h. */
29172_ACEOF
29173cat confdefs.h >>conftest.$ac_ext
29174cat >>conftest.$ac_ext <<_ACEOF
29175/* end confdefs.h. */
29176
29177/* Override any gcc2 internal prototype to avoid an error. */
29178#ifdef __cplusplus
29179extern "C"
29180#endif
29181/* We use char because int might match the return type of a gcc2
29182 builtin and then its argument prototype would still apply. */
29183char sched_get_priority_max ();
29184int
29185main ()
29186{
29187sched_get_priority_max ();
29188 ;
29189 return 0;
29190}
29191_ACEOF
29192rm -f conftest.$ac_objext conftest$ac_exeext
29193if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29194 (eval $ac_link) 2>&5
29195 ac_status=$?
29196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29197 (exit $ac_status); } &&
29198 { ac_try='test -s conftest$ac_exeext'
29199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29200 (eval $ac_try) 2>&5
29201 ac_status=$?
29202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29203 (exit $ac_status); }; }; then
29204 ac_cv_lib_posix4_sched_get_priority_max=yes
29205else
29206 echo "$as_me: failed program was:" >&5
29207sed 's/^/| /' conftest.$ac_ext >&5
29208
29209ac_cv_lib_posix4_sched_get_priority_max=no
29210fi
29211rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29212LIBS=$ac_check_lib_save_LIBS
29213fi
29214echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29215echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29216if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29217
29218 HAVE_PRIOR_FUNCS=1
29219 POSIX4_LINK=" -lposix4"
29220
29221fi
29222
29223
29224fi
29225
29226
29227fi
29228
29229
29230fi
29231
29232
29233 if test "$HAVE_PRIOR_FUNCS" = 1; then
29234 cat >>confdefs.h <<\_ACEOF
29235#define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29236_ACEOF
29237
29238 else
29239 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29240echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29241 fi
29242
29243 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29244echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29245if test "${ac_cv_func_pthread_cancel+set}" = set; then
29246 echo $ECHO_N "(cached) $ECHO_C" >&6
29247else
29248 cat >conftest.$ac_ext <<_ACEOF
29249#line $LINENO "configure"
29250/* confdefs.h. */
29251_ACEOF
29252cat confdefs.h >>conftest.$ac_ext
29253cat >>conftest.$ac_ext <<_ACEOF
29254/* end confdefs.h. */
29255/* System header to define __stub macros and hopefully few prototypes,
29256 which can conflict with char pthread_cancel (); below.
29257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29258 <limits.h> exists even on freestanding compilers. */
29259#ifdef __STDC__
29260# include <limits.h>
29261#else
29262# include <assert.h>
29263#endif
29264/* Override any gcc2 internal prototype to avoid an error. */
29265#ifdef __cplusplus
29266extern "C"
29267{
29268#endif
29269/* We use char because int might match the return type of a gcc2
29270 builtin and then its argument prototype would still apply. */
29271char pthread_cancel ();
29272/* The GNU C library defines this for functions which it implements
29273 to always fail with ENOSYS. Some functions are actually named
29274 something starting with __ and the normal name is an alias. */
29275#if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29276choke me
29277#else
29278char (*f) () = pthread_cancel;
29279#endif
29280#ifdef __cplusplus
29281}
29282#endif
29283
29284int
29285main ()
29286{
29287return f != pthread_cancel;
29288 ;
29289 return 0;
29290}
29291_ACEOF
29292rm -f conftest.$ac_objext conftest$ac_exeext
29293if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29294 (eval $ac_link) 2>&5
29295 ac_status=$?
29296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29297 (exit $ac_status); } &&
29298 { ac_try='test -s conftest$ac_exeext'
29299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29300 (eval $ac_try) 2>&5
29301 ac_status=$?
29302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29303 (exit $ac_status); }; }; then
29304 ac_cv_func_pthread_cancel=yes
29305else
29306 echo "$as_me: failed program was:" >&5
29307sed 's/^/| /' conftest.$ac_ext >&5
29308
29309ac_cv_func_pthread_cancel=no
29310fi
29311rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29312fi
29313echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29314echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29315if test $ac_cv_func_pthread_cancel = yes; then
29316 cat >>confdefs.h <<\_ACEOF
29317#define HAVE_PTHREAD_CANCEL 1
29318_ACEOF
29319
29320else
29321 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29322echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29323fi
29324
29325
29326 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29327echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29328if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29329 echo $ECHO_N "(cached) $ECHO_C" >&6
29330else
29331
29332 cat >conftest.$ac_ext <<_ACEOF
29333#line $LINENO "configure"
29334/* confdefs.h. */
29335_ACEOF
29336cat confdefs.h >>conftest.$ac_ext
29337cat >>conftest.$ac_ext <<_ACEOF
29338/* end confdefs.h. */
29339#include <pthread.h>
29340int
29341main ()
29342{
29343
29344 pthread_cleanup_push(NULL, NULL);
29345 pthread_cleanup_pop(0);
29346
29347 ;
29348 return 0;
29349}
29350_ACEOF
29351rm -f conftest.$ac_objext
29352if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29353 (eval $ac_compile) 2>&5
29354 ac_status=$?
29355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29356 (exit $ac_status); } &&
29357 { ac_try='test -s conftest.$ac_objext'
29358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29359 (eval $ac_try) 2>&5
29360 ac_status=$?
29361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29362 (exit $ac_status); }; }; then
29363
29364 wx_cv_func_pthread_cleanup_push=yes
29365
29366else
29367 echo "$as_me: failed program was:" >&5
29368sed 's/^/| /' conftest.$ac_ext >&5
29369
29370
29371 wx_cv_func_pthread_cleanup_push=no
29372
29373fi
29374rm -f conftest.$ac_objext conftest.$ac_ext
29375
29376fi
29377echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29378echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29379
29380 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29381 cat >>confdefs.h <<\_ACEOF
29382#define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29383_ACEOF
29384
29385 fi
29386
29387
29388 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29389echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29390if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29391 echo $ECHO_N "(cached) $ECHO_C" >&6
29392else
29393
29394 cat >conftest.$ac_ext <<_ACEOF
29395#line $LINENO "configure"
29396/* confdefs.h. */
29397_ACEOF
29398cat confdefs.h >>conftest.$ac_ext
29399cat >>conftest.$ac_ext <<_ACEOF
29400/* end confdefs.h. */
29401#include <pthread.h>
29402int
29403main ()
29404{
29405
29406 pthread_mutexattr_t attr;
29407 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29408
29409 ;
29410 return 0;
29411}
29412_ACEOF
29413rm -f conftest.$ac_objext
29414if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29415 (eval $ac_compile) 2>&5
29416 ac_status=$?
29417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29418 (exit $ac_status); } &&
29419 { ac_try='test -s conftest.$ac_objext'
29420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29421 (eval $ac_try) 2>&5
29422 ac_status=$?
29423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29424 (exit $ac_status); }; }; then
29425
29426 wx_cv_type_pthread_mutexattr_t=yes
29427
29428else
29429 echo "$as_me: failed program was:" >&5
29430sed 's/^/| /' conftest.$ac_ext >&5
29431
29432
29433 wx_cv_type_pthread_mutexattr_t=no
29434
29435
29436fi
29437rm -f conftest.$ac_objext conftest.$ac_ext
29438
29439fi
29440echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29441echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29442
29443 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29444 cat >>confdefs.h <<\_ACEOF
29445#define HAVE_PTHREAD_MUTEXATTR_T 1
29446_ACEOF
29447
29448 else
29449 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29450echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29451if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29452 echo $ECHO_N "(cached) $ECHO_C" >&6
29453else
29454
29455 cat >conftest.$ac_ext <<_ACEOF
29456#line $LINENO "configure"
29457/* confdefs.h. */
29458_ACEOF
29459cat confdefs.h >>conftest.$ac_ext
29460cat >>conftest.$ac_ext <<_ACEOF
29461/* end confdefs.h. */
29462#include <pthread.h>
29463int
29464main ()
29465{
29466
29467 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29468
29469 ;
29470 return 0;
29471}
29472_ACEOF
29473rm -f conftest.$ac_objext
29474if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29475 (eval $ac_compile) 2>&5
29476 ac_status=$?
29477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29478 (exit $ac_status); } &&
29479 { ac_try='test -s conftest.$ac_objext'
29480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29481 (eval $ac_try) 2>&5
29482 ac_status=$?
29483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29484 (exit $ac_status); }; }; then
29485
29486 wx_cv_type_pthread_rec_mutex_init=yes
29487
29488else
29489 echo "$as_me: failed program was:" >&5
29490sed 's/^/| /' conftest.$ac_ext >&5
29491
29492
29493 wx_cv_type_pthread_rec_mutex_init=no
29494
29495
29496fi
29497rm -f conftest.$ac_objext conftest.$ac_ext
29498
29499fi
29500echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
29501echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
29502 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
29503 cat >>confdefs.h <<\_ACEOF
29504#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
29505_ACEOF
29506
29507 else
29508 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
29509echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
29510 fi
29511 fi
29512 fi
29513
29514else
29515 if test "$wxUSE_THREADS" = "yes" ; then
29516 case "${host}" in
29517 *-*-mingw32* )
29518 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
29519echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
29520if test "${wx_cv_cflags_mthread+set}" = set; then
29521 echo $ECHO_N "(cached) $ECHO_C" >&6
29522else
29523
29524 CFLAGS_OLD="$CFLAGS"
29525 CFLAGS="$CFLAGS -mthreads"
29526 cat >conftest.$ac_ext <<_ACEOF
29527#line $LINENO "configure"
29528/* confdefs.h. */
29529_ACEOF
29530cat confdefs.h >>conftest.$ac_ext
29531cat >>conftest.$ac_ext <<_ACEOF
29532/* end confdefs.h. */
29533
29534int
29535main ()
29536{
29537
29538 ;
29539 return 0;
29540}
29541_ACEOF
29542rm -f conftest.$ac_objext
29543if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29544 (eval $ac_compile) 2>&5
29545 ac_status=$?
29546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29547 (exit $ac_status); } &&
29548 { ac_try='test -s conftest.$ac_objext'
29549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29550 (eval $ac_try) 2>&5
29551 ac_status=$?
29552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29553 (exit $ac_status); }; }; then
29554 wx_cv_cflags_mthread=yes
29555else
29556 echo "$as_me: failed program was:" >&5
29557sed 's/^/| /' conftest.$ac_ext >&5
29558
29559wx_cv_cflags_mthread=no
29560
29561fi
29562rm -f conftest.$ac_objext conftest.$ac_ext
29563
29564
29565fi
29566echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
29567echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
29568
29569 if test "$wx_cv_cflags_mthread" = "yes"; then
29570 CXXFLAGS="$CXXFLAGS -mthreads"
29571 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
29572 LDFLAGS="$LDFLAGS -mthreads"
29573 else
29574 CFLAGS="$CFLAGS_OLD"
29575 fi
29576 ;;
29577 esac
29578 fi
29579fi
29580
29581if test "$wxUSE_THREADS" = "yes"; then
29582 cat >>confdefs.h <<\_ACEOF
29583#define wxUSE_THREADS 1
29584_ACEOF
29585
29586
29587 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
29588else
29589 if test "$ac_cv_func_strtok_r" = "yes"; then
29590 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
29591echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
29592 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
29593 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
29594 echo "$as_me:$LINENO: result: yes" >&5
29595echo "${ECHO_T}yes" >&6
29596 else
29597 echo "$as_me:$LINENO: result: no" >&5
29598echo "${ECHO_T}no" >&6
29599 fi
29600 fi
29601fi
29602
29603if test "$WXGTK20" = 1 ; then
29604 cat >>confdefs.h <<_ACEOF
29605#define __WXGTK20__ $WXGTK20
29606_ACEOF
29607
29608 WXGTK12=1
29609fi
29610
29611if test "$WXGTK12" = 1 ; then
29612 cat >>confdefs.h <<_ACEOF
29613#define __WXGTK12__ $WXGTK12
29614_ACEOF
29615
29616fi
29617
29618if test "$WXGTK127" = 1 ; then
29619 cat >>confdefs.h <<_ACEOF
29620#define __WXGTK127__ $WXGTK127
29621_ACEOF
29622
29623fi
29624
29625WXDEBUG=
29626
29627if test "$wxUSE_DEBUG_INFO" = "yes" ; then
29628 WXDEBUG="-g"
29629 wxUSE_OPTIMISE=no
29630fi
29631
29632if test "$wxUSE_DEBUG_GDB" = "yes" ; then
29633 wxUSE_DEBUG_INFO=yes
29634 WXDEBUG="-ggdb"
29635fi
29636
29637if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
29638 cat >>confdefs.h <<\_ACEOF
29639#define WXDEBUG 1
29640_ACEOF
29641
29642 WXDEBUG_DEFINE="-D__WXDEBUG__"
29643else
29644 if test "$wxUSE_GTK" = 1 ; then
29645 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
29646 fi
29647fi
29648
29649if test "$wxUSE_MEM_TRACING" = "yes" ; then
29650 cat >>confdefs.h <<\_ACEOF
29651#define wxUSE_MEMORY_TRACING 1
29652_ACEOF
29653
29654 cat >>confdefs.h <<\_ACEOF
29655#define wxUSE_GLOBAL_MEMORY_OPERATORS 1
29656_ACEOF
29657
29658 cat >>confdefs.h <<\_ACEOF
29659#define wxUSE_DEBUG_NEW_ALWAYS 1
29660_ACEOF
29661
29662 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
29663fi
29664
29665if test "$wxUSE_DMALLOC" = "yes" ; then
29666 DMALLOC_LIBS="-ldmalloc"
29667fi
29668
29669PROFILE=
29670if test "$wxUSE_PROFILE" = "yes" ; then
29671 PROFILE=" -pg"
29672fi
29673
29674CODE_GEN_FLAGS=
29675CODE_GEN_FLAGS_CXX=
29676if test "$GCC" = "yes" ; then
29677 if test "$wxUSE_NO_RTTI" = "yes" ; then
29678 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
29679 fi
29680 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
29681 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
29682 fi
29683 if test "$wxUSE_PERMISSIVE" = "yes" ; then
29684 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
29685 fi
29686 if test "$USE_WIN32" = 1 ; then
29687 # I'm not even really sure what this was ever added to solve,
29688 # but someone added it for mingw native builds, so I guess
29689 # they had a reason, right??
29690 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fno-pcc-struct-return"
29691 fi
29692
29693 case "${host}" in
29694 powerpc*-*-aix* )
29695 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
29696 ;;
29697 *-hppa* )
29698 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
29699 ;;
29700 esac
29701fi
29702
29703OPTIMISE=
29704if test "$wxUSE_OPTIMISE" = "no" ; then
29705 if test "$GCC" = yes ; then
29706 OPTIMISE="-O0"
29707 fi
29708else
29709 if test "$GCC" = yes ; then
29710 OPTIMISE="-O2"
29711
29712 case "${host}" in
29713 i586-*-*|i686-*-* )
29714 OPTIMISE="${OPTIMISE} "
29715 ;;
29716 esac
29717 else
29718 OPTIMISE="-O"
29719 fi
29720fi
29721
29722
29723if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
29724 cat >>confdefs.h <<\_ACEOF
29725#define WXWIN_COMPATIBILITY_2 1
29726_ACEOF
29727
29728
29729 WXWIN_COMPATIBILITY_2_2="yes"
29730fi
29731
29732if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
29733 cat >>confdefs.h <<\_ACEOF
29734#define WXWIN_COMPATIBILITY_2_2 1
29735_ACEOF
29736
29737
29738 WXWIN_COMPATIBILITY_2_4="yes"
29739fi
29740
29741if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
29742 cat >>confdefs.h <<\_ACEOF
29743#define WXWIN_COMPATIBILITY_2_4 1
29744_ACEOF
29745
29746fi
29747
29748
29749if test "$wxUSE_GUI" = "yes"; then
29750 cat >>confdefs.h <<\_ACEOF
29751#define wxUSE_GUI 1
29752_ACEOF
29753
29754
29755 else
29756 cat >>confdefs.h <<\_ACEOF
29757#define wxUSE_NOGUI 1
29758_ACEOF
29759
29760fi
29761
29762
29763if test "$wxUSE_UNIX" = "yes"; then
29764 cat >>confdefs.h <<\_ACEOF
29765#define wxUSE_UNIX 1
29766_ACEOF
29767
29768fi
29769
29770
29771if test "$wxUSE_STL" = "yes"; then
29772 cat >>confdefs.h <<\_ACEOF
29773#define wxUSE_STL 1
29774_ACEOF
29775
29776fi
29777
29778if test "$wxUSE_APPLE_IEEE" = "yes"; then
29779 cat >>confdefs.h <<\_ACEOF
29780#define wxUSE_APPLE_IEEE 1
29781_ACEOF
29782
29783fi
29784
29785if test "$wxUSE_TIMER" = "yes"; then
29786 cat >>confdefs.h <<\_ACEOF
29787#define wxUSE_TIMER 1
29788_ACEOF
29789
29790fi
29791
29792if test "$wxUSE_WAVE" = "yes"; then
29793 cat >>confdefs.h <<\_ACEOF
29794#define wxUSE_WAVE 1
29795_ACEOF
29796
29797fi
29798
29799if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
29800 cat >>confdefs.h <<\_ACEOF
29801#define wxUSE_CMDLINE_PARSER 1
29802_ACEOF
29803
29804fi
29805
29806if test "$wxUSE_STOPWATCH" = "yes"; then
29807 cat >>confdefs.h <<\_ACEOF
29808#define wxUSE_STOPWATCH 1
29809_ACEOF
29810
29811fi
29812
29813if test "$wxUSE_DATETIME" = "yes"; then
29814 cat >>confdefs.h <<\_ACEOF
29815#define wxUSE_DATETIME 1
29816_ACEOF
29817
29818fi
29819
29820if test "$wxUSE_FILE" = "yes"; then
29821 cat >>confdefs.h <<\_ACEOF
29822#define wxUSE_FILE 1
29823_ACEOF
29824
29825fi
29826
29827if test "$wxUSE_FFILE" = "yes"; then
29828 cat >>confdefs.h <<\_ACEOF
29829#define wxUSE_FFILE 1
29830_ACEOF
29831
29832fi
29833
29834if test "$wxUSE_FILESYSTEM" = "yes"; then
29835 cat >>confdefs.h <<\_ACEOF
29836#define wxUSE_FILESYSTEM 1
29837_ACEOF
29838
29839fi
29840
29841if test "$wxUSE_FS_INET" = "yes"; then
29842 cat >>confdefs.h <<\_ACEOF
29843#define wxUSE_FS_INET 1
29844_ACEOF
29845
29846fi
29847
29848if test "$wxUSE_FS_ZIP" = "yes"; then
29849 cat >>confdefs.h <<\_ACEOF
29850#define wxUSE_FS_ZIP 1
29851_ACEOF
29852
29853fi
29854
29855if test "$wxUSE_ZIPSTREAM" = "yes"; then
29856 cat >>confdefs.h <<\_ACEOF
29857#define wxUSE_ZIPSTREAM 1
29858_ACEOF
29859
29860fi
29861
29862if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29863 cat >>confdefs.h <<\_ACEOF
29864#define wxUSE_ON_FATAL_EXCEPTION 1
29865_ACEOF
29866
29867fi
29868
29869if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
29870 cat >>confdefs.h <<\_ACEOF
29871#define wxUSE_SNGLINST_CHECKER 1
29872_ACEOF
29873
29874fi
29875
29876if test "$wxUSE_BUSYINFO" = "yes"; then
29877 cat >>confdefs.h <<\_ACEOF
29878#define wxUSE_BUSYINFO 1
29879_ACEOF
29880
29881fi
29882
29883if test "$wxUSE_STD_IOSTREAM" = "yes"; then
29884 cat >>confdefs.h <<\_ACEOF
29885#define wxUSE_STD_IOSTREAM 1
29886_ACEOF
29887
29888fi
29889
29890if test "$wxUSE_TEXTBUFFER" = "yes"; then
29891 cat >>confdefs.h <<\_ACEOF
29892#define wxUSE_TEXTBUFFER 1
29893_ACEOF
29894
29895fi
29896
29897if test "$wxUSE_TEXTFILE" = "yes"; then
29898 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
29899 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
29900echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
29901 else
29902 cat >>confdefs.h <<\_ACEOF
29903#define wxUSE_TEXTFILE 1
29904_ACEOF
29905
29906 fi
29907fi
29908
29909if test "$wxUSE_CONFIG" = "yes" ; then
29910 if test "$wxUSE_TEXTFILE" != "yes"; then
29911 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
29912echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
29913 else
29914 cat >>confdefs.h <<\_ACEOF
29915#define wxUSE_CONFIG 1
29916_ACEOF
29917
29918 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
29919 fi
29920fi
29921
29922if test "$wxUSE_INTL" = "yes" ; then
29923 if test "$wxUSE_FILE" != "yes"; then
29924 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
29925echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
29926 else
29927 cat >>confdefs.h <<\_ACEOF
29928#define wxUSE_INTL 1
29929_ACEOF
29930
29931 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
29932 GUIDIST="$GUIDIST INTL_DIST"
29933 fi
29934fi
29935
29936if test "$wxUSE_LOG" = "yes"; then
29937 cat >>confdefs.h <<\_ACEOF
29938#define wxUSE_LOG 1
29939_ACEOF
29940
29941
29942 if test "$wxUSE_LOGGUI" = "yes"; then
29943 cat >>confdefs.h <<\_ACEOF
29944#define wxUSE_LOGGUI 1
29945_ACEOF
29946
29947 fi
29948
29949 if test "$wxUSE_LOGWINDOW" = "yes"; then
29950 cat >>confdefs.h <<\_ACEOF
29951#define wxUSE_LOGWINDOW 1
29952_ACEOF
29953
29954 fi
29955
29956 if test "$wxUSE_LOGDIALOG" = "yes"; then
29957 cat >>confdefs.h <<\_ACEOF
29958#define wxUSE_LOG_DIALOG 1
29959_ACEOF
29960
29961 fi
29962fi
29963
29964if test "$wxUSE_LONGLONG" = "yes"; then
29965 cat >>confdefs.h <<\_ACEOF
29966#define wxUSE_LONGLONG 1
29967_ACEOF
29968
29969fi
29970
29971if test "$wxUSE_GEOMETRY" = "yes"; then
29972 cat >>confdefs.h <<\_ACEOF
29973#define wxUSE_GEOMETRY 1
29974_ACEOF
29975
29976fi
29977
29978if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
29979 cat >>confdefs.h <<\_ACEOF
29980#define wxUSE_DIALUP_MANAGER 1
29981_ACEOF
29982
29983 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
29984fi
29985
29986if test "$wxUSE_STREAMS" = "yes" ; then
29987 cat >>confdefs.h <<\_ACEOF
29988#define wxUSE_STREAMS 1
29989_ACEOF
29990
29991fi
29992
29993
29994if test "$wxUSE_DATETIME" = "yes"; then
29995
29996for ac_func in strptime
29997do
29998as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29999echo "$as_me:$LINENO: checking for $ac_func" >&5
30000echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30001if eval "test \"\${$as_ac_var+set}\" = set"; then
30002 echo $ECHO_N "(cached) $ECHO_C" >&6
30003else
30004 cat >conftest.$ac_ext <<_ACEOF
30005#line $LINENO "configure"
30006/* confdefs.h. */
30007_ACEOF
30008cat confdefs.h >>conftest.$ac_ext
30009cat >>conftest.$ac_ext <<_ACEOF
30010/* end confdefs.h. */
30011/* System header to define __stub macros and hopefully few prototypes,
30012 which can conflict with char $ac_func (); below.
30013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30014 <limits.h> exists even on freestanding compilers. */
30015#ifdef __STDC__
30016# include <limits.h>
30017#else
30018# include <assert.h>
30019#endif
30020/* Override any gcc2 internal prototype to avoid an error. */
30021#ifdef __cplusplus
30022extern "C"
30023{
30024#endif
30025/* We use char because int might match the return type of a gcc2
30026 builtin and then its argument prototype would still apply. */
30027char $ac_func ();
30028/* The GNU C library defines this for functions which it implements
30029 to always fail with ENOSYS. Some functions are actually named
30030 something starting with __ and the normal name is an alias. */
30031#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30032choke me
30033#else
30034char (*f) () = $ac_func;
30035#endif
30036#ifdef __cplusplus
30037}
30038#endif
30039
30040int
30041main ()
30042{
30043return f != $ac_func;
30044 ;
30045 return 0;
30046}
30047_ACEOF
30048rm -f conftest.$ac_objext conftest$ac_exeext
30049if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30050 (eval $ac_link) 2>&5
30051 ac_status=$?
30052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30053 (exit $ac_status); } &&
30054 { ac_try='test -s conftest$ac_exeext'
30055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30056 (eval $ac_try) 2>&5
30057 ac_status=$?
30058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30059 (exit $ac_status); }; }; then
30060 eval "$as_ac_var=yes"
30061else
30062 echo "$as_me: failed program was:" >&5
30063sed 's/^/| /' conftest.$ac_ext >&5
30064
30065eval "$as_ac_var=no"
30066fi
30067rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30068fi
30069echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30070echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30071if test `eval echo '${'$as_ac_var'}'` = yes; then
30072 cat >>confdefs.h <<_ACEOF
30073#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30074_ACEOF
30075
30076fi
30077done
30078
30079
30080 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30081echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30082if test "${wx_cv_var_timezone+set}" = set; then
30083 echo $ECHO_N "(cached) $ECHO_C" >&6
30084else
30085
30086 cat >conftest.$ac_ext <<_ACEOF
30087#line $LINENO "configure"
30088/* confdefs.h. */
30089_ACEOF
30090cat confdefs.h >>conftest.$ac_ext
30091cat >>conftest.$ac_ext <<_ACEOF
30092/* end confdefs.h. */
30093
30094 #include <time.h>
30095
30096int
30097main ()
30098{
30099
30100 int tz;
30101 tz = timezone;
30102
30103 ;
30104 return 0;
30105}
30106_ACEOF
30107rm -f conftest.$ac_objext
30108if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30109 (eval $ac_compile) 2>&5
30110 ac_status=$?
30111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30112 (exit $ac_status); } &&
30113 { ac_try='test -s conftest.$ac_objext'
30114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30115 (eval $ac_try) 2>&5
30116 ac_status=$?
30117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30118 (exit $ac_status); }; }; then
30119
30120 wx_cv_var_timezone=timezone
30121
30122else
30123 echo "$as_me: failed program was:" >&5
30124sed 's/^/| /' conftest.$ac_ext >&5
30125
30126
30127 cat >conftest.$ac_ext <<_ACEOF
30128#line $LINENO "configure"
30129/* confdefs.h. */
30130_ACEOF
30131cat confdefs.h >>conftest.$ac_ext
30132cat >>conftest.$ac_ext <<_ACEOF
30133/* end confdefs.h. */
30134
30135 #include <time.h>
30136
30137int
30138main ()
30139{
30140
30141 int tz;
30142 tz = _timezone;
30143
30144 ;
30145 return 0;
30146}
30147_ACEOF
30148rm -f conftest.$ac_objext
30149if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30150 (eval $ac_compile) 2>&5
30151 ac_status=$?
30152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30153 (exit $ac_status); } &&
30154 { ac_try='test -s conftest.$ac_objext'
30155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30156 (eval $ac_try) 2>&5
30157 ac_status=$?
30158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30159 (exit $ac_status); }; }; then
30160
30161 wx_cv_var_timezone=_timezone
30162
30163else
30164 echo "$as_me: failed program was:" >&5
30165sed 's/^/| /' conftest.$ac_ext >&5
30166
30167
30168 cat >conftest.$ac_ext <<_ACEOF
30169#line $LINENO "configure"
30170/* confdefs.h. */
30171_ACEOF
30172cat confdefs.h >>conftest.$ac_ext
30173cat >>conftest.$ac_ext <<_ACEOF
30174/* end confdefs.h. */
30175
30176 #include <time.h>
30177
30178int
30179main ()
30180{
30181
30182 int tz;
30183 tz = __timezone;
30184
30185 ;
30186 return 0;
30187}
30188_ACEOF
30189rm -f conftest.$ac_objext
30190if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30191 (eval $ac_compile) 2>&5
30192 ac_status=$?
30193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30194 (exit $ac_status); } &&
30195 { ac_try='test -s conftest.$ac_objext'
30196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30197 (eval $ac_try) 2>&5
30198 ac_status=$?
30199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30200 (exit $ac_status); }; }; then
30201
30202 wx_cv_var_timezone=__timezone
30203
30204else
30205 echo "$as_me: failed program was:" >&5
30206sed 's/^/| /' conftest.$ac_ext >&5
30207
30208
30209 if test "$USE_DOS" = 0 ; then
30210 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30211echo "$as_me: WARNING: no timezone variable" >&2;}
30212 fi
30213
30214
30215fi
30216rm -f conftest.$ac_objext conftest.$ac_ext
30217
30218
30219fi
30220rm -f conftest.$ac_objext conftest.$ac_ext
30221
30222
30223fi
30224rm -f conftest.$ac_objext conftest.$ac_ext
30225
30226
30227fi
30228echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30229echo "${ECHO_T}$wx_cv_var_timezone" >&6
30230
30231 if test "x$wx_cv_var_timezone" != x ; then
30232 cat >>confdefs.h <<_ACEOF
30233#define WX_TIMEZONE $wx_cv_var_timezone
30234_ACEOF
30235
30236 fi
30237
30238
30239for ac_func in localtime
30240do
30241as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30242echo "$as_me:$LINENO: checking for $ac_func" >&5
30243echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30244if eval "test \"\${$as_ac_var+set}\" = set"; then
30245 echo $ECHO_N "(cached) $ECHO_C" >&6
30246else
30247 cat >conftest.$ac_ext <<_ACEOF
30248#line $LINENO "configure"
30249/* confdefs.h. */
30250_ACEOF
30251cat confdefs.h >>conftest.$ac_ext
30252cat >>conftest.$ac_ext <<_ACEOF
30253/* end confdefs.h. */
30254/* System header to define __stub macros and hopefully few prototypes,
30255 which can conflict with char $ac_func (); below.
30256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30257 <limits.h> exists even on freestanding compilers. */
30258#ifdef __STDC__
30259# include <limits.h>
30260#else
30261# include <assert.h>
30262#endif
30263/* Override any gcc2 internal prototype to avoid an error. */
30264#ifdef __cplusplus
30265extern "C"
30266{
30267#endif
30268/* We use char because int might match the return type of a gcc2
30269 builtin and then its argument prototype would still apply. */
30270char $ac_func ();
30271/* The GNU C library defines this for functions which it implements
30272 to always fail with ENOSYS. Some functions are actually named
30273 something starting with __ and the normal name is an alias. */
30274#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30275choke me
30276#else
30277char (*f) () = $ac_func;
30278#endif
30279#ifdef __cplusplus
30280}
30281#endif
30282
30283int
30284main ()
30285{
30286return f != $ac_func;
30287 ;
30288 return 0;
30289}
30290_ACEOF
30291rm -f conftest.$ac_objext conftest$ac_exeext
30292if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30293 (eval $ac_link) 2>&5
30294 ac_status=$?
30295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30296 (exit $ac_status); } &&
30297 { ac_try='test -s conftest$ac_exeext'
30298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30299 (eval $ac_try) 2>&5
30300 ac_status=$?
30301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30302 (exit $ac_status); }; }; then
30303 eval "$as_ac_var=yes"
30304else
30305 echo "$as_me: failed program was:" >&5
30306sed 's/^/| /' conftest.$ac_ext >&5
30307
30308eval "$as_ac_var=no"
30309fi
30310rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30311fi
30312echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30313echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30314if test `eval echo '${'$as_ac_var'}'` = yes; then
30315 cat >>confdefs.h <<_ACEOF
30316#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30317_ACEOF
30318
30319fi
30320done
30321
30322
30323 if test "$ac_cv_func_localtime" = "yes"; then
30324 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30325echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30326if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30327 echo $ECHO_N "(cached) $ECHO_C" >&6
30328else
30329
30330 cat >conftest.$ac_ext <<_ACEOF
30331#line $LINENO "configure"
30332/* confdefs.h. */
30333_ACEOF
30334cat confdefs.h >>conftest.$ac_ext
30335cat >>conftest.$ac_ext <<_ACEOF
30336/* end confdefs.h. */
30337
30338 #include <time.h>
30339
30340int
30341main ()
30342{
30343
30344 struct tm tm;
30345 tm.tm_gmtoff++;
30346
30347 ;
30348 return 0;
30349}
30350_ACEOF
30351rm -f conftest.$ac_objext
30352if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30353 (eval $ac_compile) 2>&5
30354 ac_status=$?
30355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30356 (exit $ac_status); } &&
30357 { ac_try='test -s conftest.$ac_objext'
30358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30359 (eval $ac_try) 2>&5
30360 ac_status=$?
30361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30362 (exit $ac_status); }; }; then
30363
30364 wx_cv_struct_tm_has_gmtoff=yes
30365
30366else
30367 echo "$as_me: failed program was:" >&5
30368sed 's/^/| /' conftest.$ac_ext >&5
30369
30370wx_cv_struct_tm_has_gmtoff=no
30371
30372fi
30373rm -f conftest.$ac_objext conftest.$ac_ext
30374
30375fi
30376echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30377echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30378 fi
30379
30380 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30381 cat >>confdefs.h <<\_ACEOF
30382#define WX_GMTOFF_IN_TM 1
30383_ACEOF
30384
30385 fi
30386
30387
30388
30389for ac_func in gettimeofday ftime
30390do
30391as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30392echo "$as_me:$LINENO: checking for $ac_func" >&5
30393echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30394if eval "test \"\${$as_ac_var+set}\" = set"; then
30395 echo $ECHO_N "(cached) $ECHO_C" >&6
30396else
30397 cat >conftest.$ac_ext <<_ACEOF
30398#line $LINENO "configure"
30399/* confdefs.h. */
30400_ACEOF
30401cat confdefs.h >>conftest.$ac_ext
30402cat >>conftest.$ac_ext <<_ACEOF
30403/* end confdefs.h. */
30404/* System header to define __stub macros and hopefully few prototypes,
30405 which can conflict with char $ac_func (); below.
30406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30407 <limits.h> exists even on freestanding compilers. */
30408#ifdef __STDC__
30409# include <limits.h>
30410#else
30411# include <assert.h>
30412#endif
30413/* Override any gcc2 internal prototype to avoid an error. */
30414#ifdef __cplusplus
30415extern "C"
30416{
30417#endif
30418/* We use char because int might match the return type of a gcc2
30419 builtin and then its argument prototype would still apply. */
30420char $ac_func ();
30421/* The GNU C library defines this for functions which it implements
30422 to always fail with ENOSYS. Some functions are actually named
30423 something starting with __ and the normal name is an alias. */
30424#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30425choke me
30426#else
30427char (*f) () = $ac_func;
30428#endif
30429#ifdef __cplusplus
30430}
30431#endif
30432
30433int
30434main ()
30435{
30436return f != $ac_func;
30437 ;
30438 return 0;
30439}
30440_ACEOF
30441rm -f conftest.$ac_objext conftest$ac_exeext
30442if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30443 (eval $ac_link) 2>&5
30444 ac_status=$?
30445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30446 (exit $ac_status); } &&
30447 { ac_try='test -s conftest$ac_exeext'
30448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30449 (eval $ac_try) 2>&5
30450 ac_status=$?
30451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30452 (exit $ac_status); }; }; then
30453 eval "$as_ac_var=yes"
30454else
30455 echo "$as_me: failed program was:" >&5
30456sed 's/^/| /' conftest.$ac_ext >&5
30457
30458eval "$as_ac_var=no"
30459fi
30460rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30461fi
30462echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30463echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30464if test `eval echo '${'$as_ac_var'}'` = yes; then
30465 cat >>confdefs.h <<_ACEOF
30466#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30467_ACEOF
30468 break
30469fi
30470done
30471
30472
30473 if test "$ac_cv_func_gettimeofday" = "yes"; then
30474 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30475echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30476if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30477 echo $ECHO_N "(cached) $ECHO_C" >&6
30478else
30479
30480
30481
30482 ac_ext=cc
30483ac_cpp='$CXXCPP $CPPFLAGS'
30484ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30485ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30486ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30487
30488
30489 cat >conftest.$ac_ext <<_ACEOF
30490#line $LINENO "configure"
30491/* confdefs.h. */
30492_ACEOF
30493cat confdefs.h >>conftest.$ac_ext
30494cat >>conftest.$ac_ext <<_ACEOF
30495/* end confdefs.h. */
30496
30497 #include <sys/time.h>
30498 #include <unistd.h>
30499
30500int
30501main ()
30502{
30503
30504 struct timeval tv;
30505 gettimeofday(&tv, NULL);
30506
30507 ;
30508 return 0;
30509}
30510_ACEOF
30511rm -f conftest.$ac_objext
30512if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30513 (eval $ac_compile) 2>&5
30514 ac_status=$?
30515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30516 (exit $ac_status); } &&
30517 { ac_try='test -s conftest.$ac_objext'
30518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30519 (eval $ac_try) 2>&5
30520 ac_status=$?
30521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30522 (exit $ac_status); }; }; then
30523 wx_cv_func_gettimeofday_has_2_args=yes
30524else
30525 echo "$as_me: failed program was:" >&5
30526sed 's/^/| /' conftest.$ac_ext >&5
30527
30528cat >conftest.$ac_ext <<_ACEOF
30529#line $LINENO "configure"
30530/* confdefs.h. */
30531_ACEOF
30532cat confdefs.h >>conftest.$ac_ext
30533cat >>conftest.$ac_ext <<_ACEOF
30534/* end confdefs.h. */
30535
30536 #include <sys/time.h>
30537 #include <unistd.h>
30538
30539int
30540main ()
30541{
30542
30543 struct timeval tv;
30544 gettimeofday(&tv);
30545
30546 ;
30547 return 0;
30548}
30549_ACEOF
30550rm -f conftest.$ac_objext
30551if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30552 (eval $ac_compile) 2>&5
30553 ac_status=$?
30554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30555 (exit $ac_status); } &&
30556 { ac_try='test -s conftest.$ac_objext'
30557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30558 (eval $ac_try) 2>&5
30559 ac_status=$?
30560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30561 (exit $ac_status); }; }; then
30562 wx_cv_func_gettimeofday_has_2_args=no
30563else
30564 echo "$as_me: failed program was:" >&5
30565sed 's/^/| /' conftest.$ac_ext >&5
30566
30567
30568 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
30569echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
30570 wx_cv_func_gettimeofday_has_2_args=unknown
30571
30572
30573fi
30574rm -f conftest.$ac_objext conftest.$ac_ext
30575
30576fi
30577rm -f conftest.$ac_objext conftest.$ac_ext
30578 ac_ext=c
30579ac_cpp='$CPP $CPPFLAGS'
30580ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30581ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30582ac_compiler_gnu=$ac_cv_c_compiler_gnu
30583
30584
30585fi
30586echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
30587echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
30588
30589 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
30590 cat >>confdefs.h <<\_ACEOF
30591#define WX_GETTIMEOFDAY_NO_TZ 1
30592_ACEOF
30593
30594 fi
30595 fi
30596
30597 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
30598fi
30599
30600
30601if test "$wxUSE_SOCKETS" = "yes"; then
30602 if test "$wxUSE_MGL" = "1"; then
30603 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
30604echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
30605 wxUSE_SOCKETS="no"
30606 fi
30607fi
30608
30609if test "$wxUSE_SOCKETS" = "yes"; then
30610 if test "$TOOLKIT" != "MSW"; then
30611 echo "$as_me:$LINENO: checking for socket" >&5
30612echo $ECHO_N "checking for socket... $ECHO_C" >&6
30613if test "${ac_cv_func_socket+set}" = set; then
30614 echo $ECHO_N "(cached) $ECHO_C" >&6
30615else
30616 cat >conftest.$ac_ext <<_ACEOF
30617#line $LINENO "configure"
30618/* confdefs.h. */
30619_ACEOF
30620cat confdefs.h >>conftest.$ac_ext
30621cat >>conftest.$ac_ext <<_ACEOF
30622/* end confdefs.h. */
30623/* System header to define __stub macros and hopefully few prototypes,
30624 which can conflict with char socket (); below.
30625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30626 <limits.h> exists even on freestanding compilers. */
30627#ifdef __STDC__
30628# include <limits.h>
30629#else
30630# include <assert.h>
30631#endif
30632/* Override any gcc2 internal prototype to avoid an error. */
30633#ifdef __cplusplus
30634extern "C"
30635{
30636#endif
30637/* We use char because int might match the return type of a gcc2
30638 builtin and then its argument prototype would still apply. */
30639char socket ();
30640/* The GNU C library defines this for functions which it implements
30641 to always fail with ENOSYS. Some functions are actually named
30642 something starting with __ and the normal name is an alias. */
30643#if defined (__stub_socket) || defined (__stub___socket)
30644choke me
30645#else
30646char (*f) () = socket;
30647#endif
30648#ifdef __cplusplus
30649}
30650#endif
30651
30652int
30653main ()
30654{
30655return f != socket;
30656 ;
30657 return 0;
30658}
30659_ACEOF
30660rm -f conftest.$ac_objext conftest$ac_exeext
30661if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30662 (eval $ac_link) 2>&5
30663 ac_status=$?
30664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30665 (exit $ac_status); } &&
30666 { ac_try='test -s conftest$ac_exeext'
30667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30668 (eval $ac_try) 2>&5
30669 ac_status=$?
30670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30671 (exit $ac_status); }; }; then
30672 ac_cv_func_socket=yes
30673else
30674 echo "$as_me: failed program was:" >&5
30675sed 's/^/| /' conftest.$ac_ext >&5
30676
30677ac_cv_func_socket=no
30678fi
30679rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30680fi
30681echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
30682echo "${ECHO_T}$ac_cv_func_socket" >&6
30683if test $ac_cv_func_socket = yes; then
30684 :
30685else
30686 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
30687echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
30688if test "${ac_cv_lib_socket_socket+set}" = set; then
30689 echo $ECHO_N "(cached) $ECHO_C" >&6
30690else
30691 ac_check_lib_save_LIBS=$LIBS
30692LIBS="-lsocket $LIBS"
30693cat >conftest.$ac_ext <<_ACEOF
30694#line $LINENO "configure"
30695/* confdefs.h. */
30696_ACEOF
30697cat confdefs.h >>conftest.$ac_ext
30698cat >>conftest.$ac_ext <<_ACEOF
30699/* end confdefs.h. */
30700
30701/* Override any gcc2 internal prototype to avoid an error. */
30702#ifdef __cplusplus
30703extern "C"
30704#endif
30705/* We use char because int might match the return type of a gcc2
30706 builtin and then its argument prototype would still apply. */
30707char socket ();
30708int
30709main ()
30710{
30711socket ();
30712 ;
30713 return 0;
30714}
30715_ACEOF
30716rm -f conftest.$ac_objext conftest$ac_exeext
30717if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30718 (eval $ac_link) 2>&5
30719 ac_status=$?
30720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30721 (exit $ac_status); } &&
30722 { ac_try='test -s conftest$ac_exeext'
30723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30724 (eval $ac_try) 2>&5
30725 ac_status=$?
30726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30727 (exit $ac_status); }; }; then
30728 ac_cv_lib_socket_socket=yes
30729else
30730 echo "$as_me: failed program was:" >&5
30731sed 's/^/| /' conftest.$ac_ext >&5
30732
30733ac_cv_lib_socket_socket=no
30734fi
30735rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30736LIBS=$ac_check_lib_save_LIBS
30737fi
30738echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
30739echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
30740if test $ac_cv_lib_socket_socket = yes; then
30741 if test "$INET_LINK" != " -lsocket"; then
30742 INET_LINK="$INET_LINK -lsocket"
30743 fi
30744else
30745
30746 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
30747echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
30748 wxUSE_SOCKETS=no
30749
30750
30751fi
30752
30753
30754fi
30755
30756 fi
30757fi
30758
30759if test "$wxUSE_SOCKETS" = "yes" ; then
30760 if test "$TOOLKIT" != "MSW"; then
30761 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
30762echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
30763if test "${wx_cv_type_getsockname3+set}" = set; then
30764 echo $ECHO_N "(cached) $ECHO_C" >&6
30765else
30766
30767 cat >conftest.$ac_ext <<_ACEOF
30768#line $LINENO "configure"
30769/* confdefs.h. */
30770_ACEOF
30771cat confdefs.h >>conftest.$ac_ext
30772cat >>conftest.$ac_ext <<_ACEOF
30773/* end confdefs.h. */
30774
30775 #include <sys/types.h>
30776 #include <sys/socket.h>
30777
30778int
30779main ()
30780{
30781
30782 socklen_t len;
30783 getsockname(0, 0, &len);
30784
30785 ;
30786 return 0;
30787}
30788_ACEOF
30789rm -f conftest.$ac_objext
30790if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30791 (eval $ac_compile) 2>&5
30792 ac_status=$?
30793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30794 (exit $ac_status); } &&
30795 { ac_try='test -s conftest.$ac_objext'
30796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30797 (eval $ac_try) 2>&5
30798 ac_status=$?
30799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30800 (exit $ac_status); }; }; then
30801 wx_cv_type_getsockname3=socklen_t
30802else
30803 echo "$as_me: failed program was:" >&5
30804sed 's/^/| /' conftest.$ac_ext >&5
30805
30806
30807 CFLAGS_OLD="$CFLAGS"
30808 if test "$GCC" = yes ; then
30809 CFLAGS="$CFLAGS -Werror"
30810 fi
30811
30812 cat >conftest.$ac_ext <<_ACEOF
30813#line $LINENO "configure"
30814/* confdefs.h. */
30815_ACEOF
30816cat confdefs.h >>conftest.$ac_ext
30817cat >>conftest.$ac_ext <<_ACEOF
30818/* end confdefs.h. */
30819
30820 #include <sys/types.h>
30821 #include <sys/socket.h>
30822
30823int
30824main ()
30825{
30826
30827 size_t len;
30828 getsockname(0, 0, &len);
30829
30830 ;
30831 return 0;
30832}
30833_ACEOF
30834rm -f conftest.$ac_objext
30835if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30836 (eval $ac_compile) 2>&5
30837 ac_status=$?
30838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30839 (exit $ac_status); } &&
30840 { ac_try='test -s conftest.$ac_objext'
30841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30842 (eval $ac_try) 2>&5
30843 ac_status=$?
30844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30845 (exit $ac_status); }; }; then
30846 wx_cv_type_getsockname3=size_t
30847else
30848 echo "$as_me: failed program was:" >&5
30849sed 's/^/| /' conftest.$ac_ext >&5
30850
30851cat >conftest.$ac_ext <<_ACEOF
30852#line $LINENO "configure"
30853/* confdefs.h. */
30854_ACEOF
30855cat confdefs.h >>conftest.$ac_ext
30856cat >>conftest.$ac_ext <<_ACEOF
30857/* end confdefs.h. */
30858
30859 #include <sys/types.h>
30860 #include <sys/socket.h>
30861
30862int
30863main ()
30864{
30865
30866 int len;
30867 getsockname(0, 0, &len);
30868
30869 ;
30870 return 0;
30871}
30872_ACEOF
30873rm -f conftest.$ac_objext
30874if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30875 (eval $ac_compile) 2>&5
30876 ac_status=$?
30877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30878 (exit $ac_status); } &&
30879 { ac_try='test -s conftest.$ac_objext'
30880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30881 (eval $ac_try) 2>&5
30882 ac_status=$?
30883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30884 (exit $ac_status); }; }; then
30885 wx_cv_type_getsockname3=int
30886else
30887 echo "$as_me: failed program was:" >&5
30888sed 's/^/| /' conftest.$ac_ext >&5
30889
30890wx_cv_type_getsockname3=unknown
30891
30892fi
30893rm -f conftest.$ac_objext conftest.$ac_ext
30894
30895fi
30896rm -f conftest.$ac_objext conftest.$ac_ext
30897
30898 CFLAGS="$CFLAGS_OLD"
30899
30900
30901fi
30902rm -f conftest.$ac_objext conftest.$ac_ext
30903
30904fi
30905echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
30906echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
30907
30908 if test "$wx_cv_type_getsockname3" = "unknown"; then
30909 wxUSE_SOCKETS=no
30910 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
30911echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
30912 else
30913 cat >>confdefs.h <<_ACEOF
30914#define SOCKLEN_T $wx_cv_type_getsockname3
30915_ACEOF
30916
30917 fi
30918 fi
30919fi
30920
30921if test "$wxUSE_SOCKETS" = "yes" ; then
30922 cat >>confdefs.h <<\_ACEOF
30923#define wxUSE_SOCKETS 1
30924_ACEOF
30925
30926 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
30927fi
30928
30929
30930if test "$wxUSE_GUI" = "yes"; then
30931
30932 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
30933 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
30934echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
30935 wxUSE_JOYSTICK=no
30936 fi
30937 if test "$TOOLKIT" = "MOTIF"; then
30938 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Motif... disabled" >&5
30939echo "$as_me: WARNING: Joystick not yet supported under Motif... disabled" >&2;}
30940 wxUSE_JOYSTICK=no
30941 fi
30942 if test "$TOOLKIT" = "X11"; then
30943 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under X11... disabled" >&5
30944echo "$as_me: WARNING: Joystick not yet supported under X11... disabled" >&2;}
30945 wxUSE_JOYSTICK=no
30946 fi
30947
30948 if test "$TOOLKIT" != "MSW"; then
30949 if test "$wxUSE_JOYSTICK" = "yes"; then
30950
30951for ac_header in linux/joystick.h
30952do
30953as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30954if eval "test \"\${$as_ac_Header+set}\" = set"; then
30955 echo "$as_me:$LINENO: checking for $ac_header" >&5
30956echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30957if eval "test \"\${$as_ac_Header+set}\" = set"; then
30958 echo $ECHO_N "(cached) $ECHO_C" >&6
30959fi
30960echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30961echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30962else
30963 # Is the header compilable?
30964echo "$as_me:$LINENO: checking $ac_header usability" >&5
30965echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30966cat >conftest.$ac_ext <<_ACEOF
30967#line $LINENO "configure"
30968/* confdefs.h. */
30969_ACEOF
30970cat confdefs.h >>conftest.$ac_ext
30971cat >>conftest.$ac_ext <<_ACEOF
30972/* end confdefs.h. */
30973$ac_includes_default
30974#include <$ac_header>
30975_ACEOF
30976rm -f conftest.$ac_objext
30977if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30978 (eval $ac_compile) 2>&5
30979 ac_status=$?
30980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30981 (exit $ac_status); } &&
30982 { ac_try='test -s conftest.$ac_objext'
30983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30984 (eval $ac_try) 2>&5
30985 ac_status=$?
30986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30987 (exit $ac_status); }; }; then
30988 ac_header_compiler=yes
30989else
30990 echo "$as_me: failed program was:" >&5
30991sed 's/^/| /' conftest.$ac_ext >&5
30992
30993ac_header_compiler=no
30994fi
30995rm -f conftest.$ac_objext conftest.$ac_ext
30996echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30997echo "${ECHO_T}$ac_header_compiler" >&6
30998
30999# Is the header present?
31000echo "$as_me:$LINENO: checking $ac_header presence" >&5
31001echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31002cat >conftest.$ac_ext <<_ACEOF
31003#line $LINENO "configure"
31004/* confdefs.h. */
31005_ACEOF
31006cat confdefs.h >>conftest.$ac_ext
31007cat >>conftest.$ac_ext <<_ACEOF
31008/* end confdefs.h. */
31009#include <$ac_header>
31010_ACEOF
31011if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31012 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31013 ac_status=$?
31014 grep -v '^ *+' conftest.er1 >conftest.err
31015 rm -f conftest.er1
31016 cat conftest.err >&5
31017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31018 (exit $ac_status); } >/dev/null; then
31019 if test -s conftest.err; then
31020 ac_cpp_err=$ac_c_preproc_warn_flag
31021 else
31022 ac_cpp_err=
31023 fi
31024else
31025 ac_cpp_err=yes
31026fi
31027if test -z "$ac_cpp_err"; then
31028 ac_header_preproc=yes
31029else
31030 echo "$as_me: failed program was:" >&5
31031sed 's/^/| /' conftest.$ac_ext >&5
31032
31033 ac_header_preproc=no
31034fi
31035rm -f conftest.err conftest.$ac_ext
31036echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31037echo "${ECHO_T}$ac_header_preproc" >&6
31038
31039# So? What about this header?
31040case $ac_header_compiler:$ac_header_preproc in
31041 yes:no )
31042 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31043echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31044 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31045echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31046 (
31047 cat <<\_ASBOX
31048## ------------------------------------ ##
31049## Report this to bug-autoconf@gnu.org. ##
31050## ------------------------------------ ##
31051_ASBOX
31052 ) |
31053 sed "s/^/$as_me: WARNING: /" >&2
31054 ;;
31055 no:yes )
31056 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31057echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31058 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31059echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31060 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31061echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31062 (
31063 cat <<\_ASBOX
31064## ------------------------------------ ##
31065## Report this to bug-autoconf@gnu.org. ##
31066## ------------------------------------ ##
31067_ASBOX
31068 ) |
31069 sed "s/^/$as_me: WARNING: /" >&2
31070 ;;
31071esac
31072echo "$as_me:$LINENO: checking for $ac_header" >&5
31073echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31074if eval "test \"\${$as_ac_Header+set}\" = set"; then
31075 echo $ECHO_N "(cached) $ECHO_C" >&6
31076else
31077 eval "$as_ac_Header=$ac_header_preproc"
31078fi
31079echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31080echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31081
31082fi
31083if test `eval echo '${'$as_ac_Header'}'` = yes; then
31084 cat >>confdefs.h <<_ACEOF
31085#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31086_ACEOF
31087
31088fi
31089
31090done
31091
31092 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31093 wxUSE_JOYSTICK=no
31094 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31095echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31096 fi
31097 fi
31098 fi
31099
31100 if test "$wxUSE_JOYSTICK" = "yes"; then
31101 cat >>confdefs.h <<\_ACEOF
31102#define wxUSE_JOYSTICK 1
31103_ACEOF
31104
31105 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
31106 fi
31107fi
31108
31109
31110if test "$TOOLKIT" != "MSW"; then
31111
31112 HAVE_DL_FUNCS=0
31113 HAVE_SHL_FUNCS=0
31114 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31115 if test "$USE_DARWIN" = 1; then
31116 HAVE_DL_FUNCS=1
31117 else
31118
31119for ac_func in dlopen
31120do
31121as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31122echo "$as_me:$LINENO: checking for $ac_func" >&5
31123echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31124if eval "test \"\${$as_ac_var+set}\" = set"; then
31125 echo $ECHO_N "(cached) $ECHO_C" >&6
31126else
31127 cat >conftest.$ac_ext <<_ACEOF
31128#line $LINENO "configure"
31129/* confdefs.h. */
31130_ACEOF
31131cat confdefs.h >>conftest.$ac_ext
31132cat >>conftest.$ac_ext <<_ACEOF
31133/* end confdefs.h. */
31134/* System header to define __stub macros and hopefully few prototypes,
31135 which can conflict with char $ac_func (); below.
31136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31137 <limits.h> exists even on freestanding compilers. */
31138#ifdef __STDC__
31139# include <limits.h>
31140#else
31141# include <assert.h>
31142#endif
31143/* Override any gcc2 internal prototype to avoid an error. */
31144#ifdef __cplusplus
31145extern "C"
31146{
31147#endif
31148/* We use char because int might match the return type of a gcc2
31149 builtin and then its argument prototype would still apply. */
31150char $ac_func ();
31151/* The GNU C library defines this for functions which it implements
31152 to always fail with ENOSYS. Some functions are actually named
31153 something starting with __ and the normal name is an alias. */
31154#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31155choke me
31156#else
31157char (*f) () = $ac_func;
31158#endif
31159#ifdef __cplusplus
31160}
31161#endif
31162
31163int
31164main ()
31165{
31166return f != $ac_func;
31167 ;
31168 return 0;
31169}
31170_ACEOF
31171rm -f conftest.$ac_objext conftest$ac_exeext
31172if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31173 (eval $ac_link) 2>&5
31174 ac_status=$?
31175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31176 (exit $ac_status); } &&
31177 { ac_try='test -s conftest$ac_exeext'
31178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31179 (eval $ac_try) 2>&5
31180 ac_status=$?
31181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31182 (exit $ac_status); }; }; then
31183 eval "$as_ac_var=yes"
31184else
31185 echo "$as_me: failed program was:" >&5
31186sed 's/^/| /' conftest.$ac_ext >&5
31187
31188eval "$as_ac_var=no"
31189fi
31190rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31191fi
31192echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31193echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31194if test `eval echo '${'$as_ac_var'}'` = yes; then
31195 cat >>confdefs.h <<_ACEOF
31196#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31197_ACEOF
31198
31199 cat >>confdefs.h <<\_ACEOF
31200#define HAVE_DLOPEN 1
31201_ACEOF
31202
31203 HAVE_DL_FUNCS=1
31204
31205else
31206
31207 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31208echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31209if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31210 echo $ECHO_N "(cached) $ECHO_C" >&6
31211else
31212 ac_check_lib_save_LIBS=$LIBS
31213LIBS="-ldl $LIBS"
31214cat >conftest.$ac_ext <<_ACEOF
31215#line $LINENO "configure"
31216/* confdefs.h. */
31217_ACEOF
31218cat confdefs.h >>conftest.$ac_ext
31219cat >>conftest.$ac_ext <<_ACEOF
31220/* end confdefs.h. */
31221
31222/* Override any gcc2 internal prototype to avoid an error. */
31223#ifdef __cplusplus
31224extern "C"
31225#endif
31226/* We use char because int might match the return type of a gcc2
31227 builtin and then its argument prototype would still apply. */
31228char dlopen ();
31229int
31230main ()
31231{
31232dlopen ();
31233 ;
31234 return 0;
31235}
31236_ACEOF
31237rm -f conftest.$ac_objext conftest$ac_exeext
31238if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31239 (eval $ac_link) 2>&5
31240 ac_status=$?
31241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31242 (exit $ac_status); } &&
31243 { ac_try='test -s conftest$ac_exeext'
31244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31245 (eval $ac_try) 2>&5
31246 ac_status=$?
31247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31248 (exit $ac_status); }; }; then
31249 ac_cv_lib_dl_dlopen=yes
31250else
31251 echo "$as_me: failed program was:" >&5
31252sed 's/^/| /' conftest.$ac_ext >&5
31253
31254ac_cv_lib_dl_dlopen=no
31255fi
31256rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31257LIBS=$ac_check_lib_save_LIBS
31258fi
31259echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31260echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31261if test $ac_cv_lib_dl_dlopen = yes; then
31262
31263 cat >>confdefs.h <<\_ACEOF
31264#define HAVE_DLOPEN 1
31265_ACEOF
31266
31267 HAVE_DL_FUNCS=1
31268 DL_LINK=" -ldl$DL_LINK"
31269
31270else
31271
31272
31273for ac_func in shl_load
31274do
31275as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31276echo "$as_me:$LINENO: checking for $ac_func" >&5
31277echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31278if eval "test \"\${$as_ac_var+set}\" = set"; then
31279 echo $ECHO_N "(cached) $ECHO_C" >&6
31280else
31281 cat >conftest.$ac_ext <<_ACEOF
31282#line $LINENO "configure"
31283/* confdefs.h. */
31284_ACEOF
31285cat confdefs.h >>conftest.$ac_ext
31286cat >>conftest.$ac_ext <<_ACEOF
31287/* end confdefs.h. */
31288/* System header to define __stub macros and hopefully few prototypes,
31289 which can conflict with char $ac_func (); below.
31290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31291 <limits.h> exists even on freestanding compilers. */
31292#ifdef __STDC__
31293# include <limits.h>
31294#else
31295# include <assert.h>
31296#endif
31297/* Override any gcc2 internal prototype to avoid an error. */
31298#ifdef __cplusplus
31299extern "C"
31300{
31301#endif
31302/* We use char because int might match the return type of a gcc2
31303 builtin and then its argument prototype would still apply. */
31304char $ac_func ();
31305/* The GNU C library defines this for functions which it implements
31306 to always fail with ENOSYS. Some functions are actually named
31307 something starting with __ and the normal name is an alias. */
31308#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31309choke me
31310#else
31311char (*f) () = $ac_func;
31312#endif
31313#ifdef __cplusplus
31314}
31315#endif
31316
31317int
31318main ()
31319{
31320return f != $ac_func;
31321 ;
31322 return 0;
31323}
31324_ACEOF
31325rm -f conftest.$ac_objext conftest$ac_exeext
31326if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31327 (eval $ac_link) 2>&5
31328 ac_status=$?
31329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31330 (exit $ac_status); } &&
31331 { ac_try='test -s conftest$ac_exeext'
31332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31333 (eval $ac_try) 2>&5
31334 ac_status=$?
31335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31336 (exit $ac_status); }; }; then
31337 eval "$as_ac_var=yes"
31338else
31339 echo "$as_me: failed program was:" >&5
31340sed 's/^/| /' conftest.$ac_ext >&5
31341
31342eval "$as_ac_var=no"
31343fi
31344rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31345fi
31346echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31347echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31348if test `eval echo '${'$as_ac_var'}'` = yes; then
31349 cat >>confdefs.h <<_ACEOF
31350#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31351_ACEOF
31352
31353 cat >>confdefs.h <<\_ACEOF
31354#define HAVE_SHL_LOAD 1
31355_ACEOF
31356
31357 HAVE_SHL_FUNCS=1
31358
31359else
31360
31361 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31362echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31363if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31364 echo $ECHO_N "(cached) $ECHO_C" >&6
31365else
31366 ac_check_lib_save_LIBS=$LIBS
31367LIBS="-lshl_load $LIBS"
31368cat >conftest.$ac_ext <<_ACEOF
31369#line $LINENO "configure"
31370/* confdefs.h. */
31371_ACEOF
31372cat confdefs.h >>conftest.$ac_ext
31373cat >>conftest.$ac_ext <<_ACEOF
31374/* end confdefs.h. */
31375
31376/* Override any gcc2 internal prototype to avoid an error. */
31377#ifdef __cplusplus
31378extern "C"
31379#endif
31380/* We use char because int might match the return type of a gcc2
31381 builtin and then its argument prototype would still apply. */
31382char dld ();
31383int
31384main ()
31385{
31386dld ();
31387 ;
31388 return 0;
31389}
31390_ACEOF
31391rm -f conftest.$ac_objext conftest$ac_exeext
31392if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31393 (eval $ac_link) 2>&5
31394 ac_status=$?
31395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31396 (exit $ac_status); } &&
31397 { ac_try='test -s conftest$ac_exeext'
31398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31399 (eval $ac_try) 2>&5
31400 ac_status=$?
31401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31402 (exit $ac_status); }; }; then
31403 ac_cv_lib_shl_load_dld=yes
31404else
31405 echo "$as_me: failed program was:" >&5
31406sed 's/^/| /' conftest.$ac_ext >&5
31407
31408ac_cv_lib_shl_load_dld=no
31409fi
31410rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31411LIBS=$ac_check_lib_save_LIBS
31412fi
31413echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31414echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31415if test $ac_cv_lib_shl_load_dld = yes; then
31416
31417 HAVE_SHL_FUNCS=1
31418 DL_LINK=" -ldld$DL_LINK"
31419
31420fi
31421
31422
31423fi
31424done
31425
31426
31427fi
31428
31429
31430fi
31431done
31432
31433
31434 if test "$HAVE_DL_FUNCS" = 1; then
31435
31436for ac_func in dlerror
31437do
31438as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31439echo "$as_me:$LINENO: checking for $ac_func" >&5
31440echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31441if eval "test \"\${$as_ac_var+set}\" = set"; then
31442 echo $ECHO_N "(cached) $ECHO_C" >&6
31443else
31444 cat >conftest.$ac_ext <<_ACEOF
31445#line $LINENO "configure"
31446/* confdefs.h. */
31447_ACEOF
31448cat confdefs.h >>conftest.$ac_ext
31449cat >>conftest.$ac_ext <<_ACEOF
31450/* end confdefs.h. */
31451/* System header to define __stub macros and hopefully few prototypes,
31452 which can conflict with char $ac_func (); below.
31453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31454 <limits.h> exists even on freestanding compilers. */
31455#ifdef __STDC__
31456# include <limits.h>
31457#else
31458# include <assert.h>
31459#endif
31460/* Override any gcc2 internal prototype to avoid an error. */
31461#ifdef __cplusplus
31462extern "C"
31463{
31464#endif
31465/* We use char because int might match the return type of a gcc2
31466 builtin and then its argument prototype would still apply. */
31467char $ac_func ();
31468/* The GNU C library defines this for functions which it implements
31469 to always fail with ENOSYS. Some functions are actually named
31470 something starting with __ and the normal name is an alias. */
31471#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31472choke me
31473#else
31474char (*f) () = $ac_func;
31475#endif
31476#ifdef __cplusplus
31477}
31478#endif
31479
31480int
31481main ()
31482{
31483return f != $ac_func;
31484 ;
31485 return 0;
31486}
31487_ACEOF
31488rm -f conftest.$ac_objext conftest$ac_exeext
31489if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31490 (eval $ac_link) 2>&5
31491 ac_status=$?
31492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31493 (exit $ac_status); } &&
31494 { ac_try='test -s conftest$ac_exeext'
31495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31496 (eval $ac_try) 2>&5
31497 ac_status=$?
31498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31499 (exit $ac_status); }; }; then
31500 eval "$as_ac_var=yes"
31501else
31502 echo "$as_me: failed program was:" >&5
31503sed 's/^/| /' conftest.$ac_ext >&5
31504
31505eval "$as_ac_var=no"
31506fi
31507rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31508fi
31509echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31510echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31511if test `eval echo '${'$as_ac_var'}'` = yes; then
31512 cat >>confdefs.h <<_ACEOF
31513#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31514_ACEOF
31515 cat >>confdefs.h <<\_ACEOF
31516#define HAVE_DLERROR 1
31517_ACEOF
31518
31519else
31520 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
31521echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
31522if test "${ac_cv_lib_dl_dlerror+set}" = set; then
31523 echo $ECHO_N "(cached) $ECHO_C" >&6
31524else
31525 ac_check_lib_save_LIBS=$LIBS
31526LIBS="-ldl $LIBS"
31527cat >conftest.$ac_ext <<_ACEOF
31528#line $LINENO "configure"
31529/* confdefs.h. */
31530_ACEOF
31531cat confdefs.h >>conftest.$ac_ext
31532cat >>conftest.$ac_ext <<_ACEOF
31533/* end confdefs.h. */
31534
31535/* Override any gcc2 internal prototype to avoid an error. */
31536#ifdef __cplusplus
31537extern "C"
31538#endif
31539/* We use char because int might match the return type of a gcc2
31540 builtin and then its argument prototype would still apply. */
31541char dlerror ();
31542int
31543main ()
31544{
31545dlerror ();
31546 ;
31547 return 0;
31548}
31549_ACEOF
31550rm -f conftest.$ac_objext conftest$ac_exeext
31551if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31552 (eval $ac_link) 2>&5
31553 ac_status=$?
31554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31555 (exit $ac_status); } &&
31556 { ac_try='test -s conftest$ac_exeext'
31557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31558 (eval $ac_try) 2>&5
31559 ac_status=$?
31560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31561 (exit $ac_status); }; }; then
31562 ac_cv_lib_dl_dlerror=yes
31563else
31564 echo "$as_me: failed program was:" >&5
31565sed 's/^/| /' conftest.$ac_ext >&5
31566
31567ac_cv_lib_dl_dlerror=no
31568fi
31569rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31570LIBS=$ac_check_lib_save_LIBS
31571fi
31572echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
31573echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
31574if test $ac_cv_lib_dl_dlerror = yes; then
31575 cat >>confdefs.h <<\_ACEOF
31576#define HAVE_DLERROR 1
31577_ACEOF
31578
31579fi
31580
31581fi
31582done
31583
31584 fi
31585 fi
31586
31587 if test "$HAVE_DL_FUNCS" = 0; then
31588 if test "$HAVE_SHL_FUNCS" = 0; then
31589 if test "$USE_UNIX" = 1; then
31590 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
31591echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
31592 wxUSE_DYNAMIC_LOADER=no
31593 wxUSE_DYNLIB_CLASS=no
31594 else
31595 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
31596echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
31597 fi
31598 fi
31599 fi
31600 fi
31601fi
31602
31603if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
31604 cat >>confdefs.h <<\_ACEOF
31605#define wxUSE_DYNAMIC_LOADER 1
31606_ACEOF
31607
31608elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31609 cat >>confdefs.h <<\_ACEOF
31610#define wxUSE_DYNLIB_CLASS 1
31611_ACEOF
31612
31613fi
31614
31615
31616if test "$wxUSE_FONTMAP" = "yes" ; then
31617 cat >>confdefs.h <<\_ACEOF
31618#define wxUSE_FONTMAP 1
31619_ACEOF
31620
31621fi
31622
31623if test "$wxUSE_UNICODE" = "yes" ; then
31624 cat >>confdefs.h <<\_ACEOF
31625#define wxUSE_UNICODE 1
31626_ACEOF
31627
31628
31629 if test "$wxUSE_MSW" != 1; then
31630 wxUSE_UNICODE_MSLU=no
31631 fi
31632
31633 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
31634 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
31635echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
31636if test "${ac_cv_lib_unicows_main+set}" = set; then
31637 echo $ECHO_N "(cached) $ECHO_C" >&6
31638else
31639 ac_check_lib_save_LIBS=$LIBS
31640LIBS="-lunicows $LIBS"
31641cat >conftest.$ac_ext <<_ACEOF
31642#line $LINENO "configure"
31643/* confdefs.h. */
31644_ACEOF
31645cat confdefs.h >>conftest.$ac_ext
31646cat >>conftest.$ac_ext <<_ACEOF
31647/* end confdefs.h. */
31648
31649
31650int
31651main ()
31652{
31653main ();
31654 ;
31655 return 0;
31656}
31657_ACEOF
31658rm -f conftest.$ac_objext conftest$ac_exeext
31659if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31660 (eval $ac_link) 2>&5
31661 ac_status=$?
31662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31663 (exit $ac_status); } &&
31664 { ac_try='test -s conftest$ac_exeext'
31665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31666 (eval $ac_try) 2>&5
31667 ac_status=$?
31668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31669 (exit $ac_status); }; }; then
31670 ac_cv_lib_unicows_main=yes
31671else
31672 echo "$as_me: failed program was:" >&5
31673sed 's/^/| /' conftest.$ac_ext >&5
31674
31675ac_cv_lib_unicows_main=no
31676fi
31677rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31678LIBS=$ac_check_lib_save_LIBS
31679fi
31680echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
31681echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
31682if test $ac_cv_lib_unicows_main = yes; then
31683
31684 cat >>confdefs.h <<\_ACEOF
31685#define wxUSE_UNICODE_MSLU 1
31686_ACEOF
31687
31688
31689else
31690
31691 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
31692 Applications will only run on Windows NT/2000/XP!" >&5
31693echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
31694 Applications will only run on Windows NT/2000/XP!" >&2;}
31695 wxUSE_UNICODE_MSLU=no
31696
31697fi
31698
31699 fi
31700fi
31701
31702if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
31703 cat >>confdefs.h <<\_ACEOF
31704#define wxUSE_EXPERIMENTAL_PRINTF 1
31705_ACEOF
31706
31707fi
31708
31709
31710if test "$wxUSE_POSTSCRIPT" = "yes" ; then
31711 cat >>confdefs.h <<\_ACEOF
31712#define wxUSE_POSTSCRIPT 1
31713_ACEOF
31714
31715fi
31716
31717cat >>confdefs.h <<\_ACEOF
31718#define wxUSE_AFM_FOR_POSTSCRIPT 1
31719_ACEOF
31720
31721
31722cat >>confdefs.h <<\_ACEOF
31723#define wxUSE_NORMALIZED_PS_FONTS 1
31724_ACEOF
31725
31726
31727
31728if test "$wxUSE_CONSTRAINTS" = "yes"; then
31729 cat >>confdefs.h <<\_ACEOF
31730#define wxUSE_CONSTRAINTS 1
31731_ACEOF
31732
31733 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
31734fi
31735
31736if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31737
31738
31739 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31740 cat >>confdefs.h <<\_ACEOF
31741#define wxUSE_MDI_ARCHITECTURE 1
31742_ACEOF
31743
31744 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
31745 fi
31746fi
31747
31748if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
31749 cat >>confdefs.h <<\_ACEOF
31750#define wxUSE_DOC_VIEW_ARCHITECTURE 1
31751_ACEOF
31752
31753 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
31754 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31755 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
31756 fi
31757fi
31758
31759if test "$wxUSE_HELP" = "yes"; then
31760 cat >>confdefs.h <<\_ACEOF
31761#define wxUSE_HELP 1
31762_ACEOF
31763
31764 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
31765
31766 if test "$wxUSE_MSW" = 1; then
31767 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
31768 cat >>confdefs.h <<\_ACEOF
31769#define wxUSE_MS_HTML_HELP 1
31770_ACEOF
31771
31772 fi
31773 fi
31774
31775 if test "$wxUSE_WXHTML_HELP" = "yes"; then
31776 if test "$wxUSE_HTML" = "yes"; then
31777 cat >>confdefs.h <<\_ACEOF
31778#define wxUSE_WXHTML_HELP 1
31779_ACEOF
31780
31781 else
31782 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
31783echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
31784 wxUSE_WXHTML_HELP=no
31785 fi
31786 fi
31787fi
31788
31789if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
31790 if test "$wxUSE_CONSTRAINTS" != "yes"; then
31791 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
31792echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
31793 else
31794 cat >>confdefs.h <<\_ACEOF
31795#define wxUSE_PRINTING_ARCHITECTURE 1
31796_ACEOF
31797
31798 fi
31799 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
31800fi
31801
31802if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
31803 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
31804echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
31805 { (exit 1); exit 1; }; }
31806fi
31807
31808
31809if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
31810 -o "$wxUSE_CLIPBOARD" = "yes" \
31811 -o "$wxUSE_OLE" = "yes" \
31812 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
31813
31814for ac_header in ole2.h
31815do
31816as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31817if eval "test \"\${$as_ac_Header+set}\" = set"; then
31818 echo "$as_me:$LINENO: checking for $ac_header" >&5
31819echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31820if eval "test \"\${$as_ac_Header+set}\" = set"; then
31821 echo $ECHO_N "(cached) $ECHO_C" >&6
31822fi
31823echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31824echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31825else
31826 # Is the header compilable?
31827echo "$as_me:$LINENO: checking $ac_header usability" >&5
31828echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31829cat >conftest.$ac_ext <<_ACEOF
31830#line $LINENO "configure"
31831/* confdefs.h. */
31832_ACEOF
31833cat confdefs.h >>conftest.$ac_ext
31834cat >>conftest.$ac_ext <<_ACEOF
31835/* end confdefs.h. */
31836$ac_includes_default
31837#include <$ac_header>
31838_ACEOF
31839rm -f conftest.$ac_objext
31840if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31841 (eval $ac_compile) 2>&5
31842 ac_status=$?
31843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31844 (exit $ac_status); } &&
31845 { ac_try='test -s conftest.$ac_objext'
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_header_compiler=yes
31852else
31853 echo "$as_me: failed program was:" >&5
31854sed 's/^/| /' conftest.$ac_ext >&5
31855
31856ac_header_compiler=no
31857fi
31858rm -f conftest.$ac_objext conftest.$ac_ext
31859echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31860echo "${ECHO_T}$ac_header_compiler" >&6
31861
31862# Is the header present?
31863echo "$as_me:$LINENO: checking $ac_header presence" >&5
31864echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31865cat >conftest.$ac_ext <<_ACEOF
31866#line $LINENO "configure"
31867/* confdefs.h. */
31868_ACEOF
31869cat confdefs.h >>conftest.$ac_ext
31870cat >>conftest.$ac_ext <<_ACEOF
31871/* end confdefs.h. */
31872#include <$ac_header>
31873_ACEOF
31874if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31875 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31876 ac_status=$?
31877 grep -v '^ *+' conftest.er1 >conftest.err
31878 rm -f conftest.er1
31879 cat conftest.err >&5
31880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31881 (exit $ac_status); } >/dev/null; then
31882 if test -s conftest.err; then
31883 ac_cpp_err=$ac_c_preproc_warn_flag
31884 else
31885 ac_cpp_err=
31886 fi
31887else
31888 ac_cpp_err=yes
31889fi
31890if test -z "$ac_cpp_err"; then
31891 ac_header_preproc=yes
31892else
31893 echo "$as_me: failed program was:" >&5
31894sed 's/^/| /' conftest.$ac_ext >&5
31895
31896 ac_header_preproc=no
31897fi
31898rm -f conftest.err conftest.$ac_ext
31899echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31900echo "${ECHO_T}$ac_header_preproc" >&6
31901
31902# So? What about this header?
31903case $ac_header_compiler:$ac_header_preproc in
31904 yes:no )
31905 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31906echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31907 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31908echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31909 (
31910 cat <<\_ASBOX
31911## ------------------------------------ ##
31912## Report this to bug-autoconf@gnu.org. ##
31913## ------------------------------------ ##
31914_ASBOX
31915 ) |
31916 sed "s/^/$as_me: WARNING: /" >&2
31917 ;;
31918 no:yes )
31919 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31920echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31921 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31922echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31924echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31925 (
31926 cat <<\_ASBOX
31927## ------------------------------------ ##
31928## Report this to bug-autoconf@gnu.org. ##
31929## ------------------------------------ ##
31930_ASBOX
31931 ) |
31932 sed "s/^/$as_me: WARNING: /" >&2
31933 ;;
31934esac
31935echo "$as_me:$LINENO: checking for $ac_header" >&5
31936echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31937if eval "test \"\${$as_ac_Header+set}\" = set"; then
31938 echo $ECHO_N "(cached) $ECHO_C" >&6
31939else
31940 eval "$as_ac_Header=$ac_header_preproc"
31941fi
31942echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31943echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31944
31945fi
31946if test `eval echo '${'$as_ac_Header'}'` = yes; then
31947 cat >>confdefs.h <<_ACEOF
31948#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31949_ACEOF
31950
31951fi
31952
31953done
31954
31955
31956 if test "$ac_cv_header_ole2_h" = "yes" ; then
31957 if test "$GCC" = yes ; then
31958
31959
31960 ac_ext=cc
31961ac_cpp='$CXXCPP $CPPFLAGS'
31962ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31963ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31964ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31965
31966
31967 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
31968echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
31969 cat >conftest.$ac_ext <<_ACEOF
31970#line $LINENO "configure"
31971/* confdefs.h. */
31972_ACEOF
31973cat confdefs.h >>conftest.$ac_ext
31974cat >>conftest.$ac_ext <<_ACEOF
31975/* end confdefs.h. */
31976#include <windows.h>
31977 #include <ole2.h>
31978int
31979main ()
31980{
31981
31982 ;
31983 return 0;
31984}
31985_ACEOF
31986rm -f conftest.$ac_objext
31987if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31988 (eval $ac_compile) 2>&5
31989 ac_status=$?
31990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31991 (exit $ac_status); } &&
31992 { ac_try='test -s conftest.$ac_objext'
31993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31994 (eval $ac_try) 2>&5
31995 ac_status=$?
31996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31997 (exit $ac_status); }; }; then
31998 echo "$as_me:$LINENO: result: no" >&5
31999echo "${ECHO_T}no" >&6
32000else
32001 echo "$as_me: failed program was:" >&5
32002sed 's/^/| /' conftest.$ac_ext >&5
32003
32004echo "$as_me:$LINENO: result: yes" >&5
32005echo "${ECHO_T}yes" >&6
32006 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32007fi
32008rm -f conftest.$ac_objext conftest.$ac_ext
32009 ac_ext=c
32010ac_cpp='$CPP $CPPFLAGS'
32011ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32012ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32013ac_compiler_gnu=$ac_cv_c_compiler_gnu
32014
32015 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
32016 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32017 cat >>confdefs.h <<\_ACEOF
32018#define wxUSE_OLE 1
32019_ACEOF
32020
32021
32022 fi
32023
32024 cat >>confdefs.h <<\_ACEOF
32025#define wxUSE_DATAOBJ 1
32026_ACEOF
32027
32028 else
32029 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32030echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32031
32032 wxUSE_CLIPBOARD=no
32033 wxUSE_DRAG_AND_DROP=no
32034 wxUSE_DATAOBJ=no
32035 wxUSE_OLE=no
32036 fi
32037
32038 if test "$wxUSE_METAFILE" = "yes"; then
32039 cat >>confdefs.h <<\_ACEOF
32040#define wxUSE_METAFILE 1
32041_ACEOF
32042
32043
32044 cat >>confdefs.h <<\_ACEOF
32045#define wxUSE_ENH_METAFILE 1
32046_ACEOF
32047
32048 fi
32049fi
32050
32051if test "$wxUSE_IPC" = "yes"; then
32052 if test "$wxUSE_SOCKETS" != "yes"; then
32053 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32054echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32055 fi
32056
32057 cat >>confdefs.h <<\_ACEOF
32058#define wxUSE_IPC 1
32059_ACEOF
32060
32061fi
32062
32063if test "$wxUSE_CLIPBOARD" = "yes"; then
32064 if test "$wxUSE_MGL" = 1; then
32065 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32066echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32067 wxUSE_CLIPBOARD=no
32068 fi
32069
32070 if test "$wxUSE_CLIPBOARD" = "yes"; then
32071 cat >>confdefs.h <<\_ACEOF
32072#define wxUSE_CLIPBOARD 1
32073_ACEOF
32074
32075
32076 cat >>confdefs.h <<\_ACEOF
32077#define wxUSE_DATAOBJ 1
32078_ACEOF
32079
32080 fi
32081fi
32082
32083if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32084 if test "$wxUSE_GTK" = 1; then
32085 if test "$WXGTK12" != 1; then
32086 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32087echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32088 wxUSE_DRAG_AND_DROP=no
32089 fi
32090 fi
32091
32092 if test "$wxUSE_MOTIF" = 1; then
32093 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32094echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32095 wxUSE_DRAG_AND_DROP=no
32096 fi
32097
32098 if test "$wxUSE_X11" = 1; then
32099 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32100echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32101 wxUSE_DRAG_AND_DROP=no
32102 fi
32103
32104 if test "$wxUSE_MGL" = 1; then
32105 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32106echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32107 wxUSE_DRAG_AND_DROP=no
32108 fi
32109
32110 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32111 cat >>confdefs.h <<\_ACEOF
32112#define wxUSE_DRAG_AND_DROP 1
32113_ACEOF
32114
32115 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
32116 fi
32117
32118fi
32119
32120if test "$wxUSE_SPLINES" = "yes" ; then
32121 cat >>confdefs.h <<\_ACEOF
32122#define wxUSE_SPLINES 1
32123_ACEOF
32124
32125fi
32126
32127
32128USES_CONTROLS=0
32129if test "$wxUSE_CONTROLS" = "yes"; then
32130 USES_CONTROLS=1
32131fi
32132
32133if test "$wxUSE_ACCEL" = "yes"; then
32134 cat >>confdefs.h <<\_ACEOF
32135#define wxUSE_ACCEL 1
32136_ACEOF
32137
32138 USES_CONTROLS=1
32139fi
32140
32141if test "$wxUSE_BUTTON" = "yes"; then
32142 cat >>confdefs.h <<\_ACEOF
32143#define wxUSE_BUTTON 1
32144_ACEOF
32145
32146 USES_CONTROLS=1
32147fi
32148
32149if test "$wxUSE_BMPBUTTON" = "yes"; then
32150 cat >>confdefs.h <<\_ACEOF
32151#define wxUSE_BMPBUTTON 1
32152_ACEOF
32153
32154 USES_CONTROLS=1
32155fi
32156
32157if test "$wxUSE_CALCTRL" = "yes"; then
32158 cat >>confdefs.h <<\_ACEOF
32159#define wxUSE_CALENDARCTRL 1
32160_ACEOF
32161
32162 USES_CONTROLS=1
32163 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
32164fi
32165
32166if test "$wxUSE_CARET" = "yes"; then
32167 cat >>confdefs.h <<\_ACEOF
32168#define wxUSE_CARET 1
32169_ACEOF
32170
32171 USES_CONTROLS=1
32172 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
32173fi
32174
32175if test "$wxUSE_COMBOBOX" = "yes"; then
32176 cat >>confdefs.h <<\_ACEOF
32177#define wxUSE_COMBOBOX 1
32178_ACEOF
32179
32180 USES_CONTROLS=1
32181fi
32182
32183if test "$wxUSE_CHOICE" = "yes"; then
32184 cat >>confdefs.h <<\_ACEOF
32185#define wxUSE_CHOICE 1
32186_ACEOF
32187
32188 USES_CONTROLS=1
32189fi
32190
32191if test "$wxUSE_CHECKBOX" = "yes"; then
32192 cat >>confdefs.h <<\_ACEOF
32193#define wxUSE_CHECKBOX 1
32194_ACEOF
32195
32196 USES_CONTROLS=1
32197fi
32198
32199if test "$wxUSE_CHECKLST" = "yes"; then
32200 cat >>confdefs.h <<\_ACEOF
32201#define wxUSE_CHECKLISTBOX 1
32202_ACEOF
32203
32204 USES_CONTROLS=1
32205 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
32206fi
32207
32208if test "$wxUSE_DISPLAY" = "yes"; then
32209 cat >>confdefs.h <<\_ACEOF
32210#define wxUSE_DISPLAY 1
32211_ACEOF
32212
32213 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
32214fi
32215
32216if test "$wxUSE_GAUGE" = "yes"; then
32217 cat >>confdefs.h <<\_ACEOF
32218#define wxUSE_GAUGE 1
32219_ACEOF
32220
32221 USES_CONTROLS=1
32222fi
32223
32224if test "$wxUSE_GRID" = "yes"; then
32225 cat >>confdefs.h <<\_ACEOF
32226#define wxUSE_GRID 1
32227_ACEOF
32228
32229 USES_CONTROLS=1
32230 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
32231fi
32232
32233if test "$wxUSE_IMAGLIST" = "yes"; then
32234 cat >>confdefs.h <<\_ACEOF
32235#define wxUSE_IMAGLIST 1
32236_ACEOF
32237
32238fi
32239
32240if test "$wxUSE_LISTBOX" = "yes"; then
32241 cat >>confdefs.h <<\_ACEOF
32242#define wxUSE_LISTBOX 1
32243_ACEOF
32244
32245 USES_CONTROLS=1
32246fi
32247
32248if test "$wxUSE_LISTCTRL" = "yes"; then
32249 if test "$wxUSE_IMAGLIST" = "yes"; then
32250 cat >>confdefs.h <<\_ACEOF
32251#define wxUSE_LISTCTRL 1
32252_ACEOF
32253
32254 USES_CONTROLS=1
32255 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
32256 else
32257 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32258echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32259 fi
32260fi
32261
32262if test "$wxUSE_NOTEBOOK" = "yes"; then
32263 cat >>confdefs.h <<\_ACEOF
32264#define wxUSE_NOTEBOOK 1
32265_ACEOF
32266
32267 USES_CONTROLS=1
32268 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
32269fi
32270
32271
32272if test "$wxUSE_RADIOBOX" = "yes"; then
32273 cat >>confdefs.h <<\_ACEOF
32274#define wxUSE_RADIOBOX 1
32275_ACEOF
32276
32277 USES_CONTROLS=1
32278fi
32279
32280if test "$wxUSE_RADIOBTN" = "yes"; then
32281 cat >>confdefs.h <<\_ACEOF
32282#define wxUSE_RADIOBTN 1
32283_ACEOF
32284
32285 USES_CONTROLS=1
32286fi
32287
32288if test "$wxUSE_SASH" = "yes"; then
32289 cat >>confdefs.h <<\_ACEOF
32290#define wxUSE_SASH 1
32291_ACEOF
32292
32293 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
32294fi
32295
32296if test "$wxUSE_SCROLLBAR" = "yes"; then
32297 cat >>confdefs.h <<\_ACEOF
32298#define wxUSE_SCROLLBAR 1
32299_ACEOF
32300
32301 USES_CONTROLS=1
32302 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
32303fi
32304
32305if test "$wxUSE_SLIDER" = "yes"; then
32306 cat >>confdefs.h <<\_ACEOF
32307#define wxUSE_SLIDER 1
32308_ACEOF
32309
32310 USES_CONTROLS=1
32311fi
32312
32313if test "$wxUSE_SPINBTN" = "yes"; then
32314 cat >>confdefs.h <<\_ACEOF
32315#define wxUSE_SPINBTN 1
32316_ACEOF
32317
32318 USES_CONTROLS=1
32319fi
32320
32321if test "$wxUSE_SPINCTRL" = "yes"; then
32322 cat >>confdefs.h <<\_ACEOF
32323#define wxUSE_SPINCTRL 1
32324_ACEOF
32325
32326 USES_CONTROLS=1
32327fi
32328
32329if test "$wxUSE_SPLITTER" = "yes"; then
32330 cat >>confdefs.h <<\_ACEOF
32331#define wxUSE_SPLITTER 1
32332_ACEOF
32333
32334 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
32335fi
32336
32337if test "$wxUSE_STATBMP" = "yes"; then
32338 cat >>confdefs.h <<\_ACEOF
32339#define wxUSE_STATBMP 1
32340_ACEOF
32341
32342 USES_CONTROLS=1
32343fi
32344
32345if test "$wxUSE_STATBOX" = "yes"; then
32346 cat >>confdefs.h <<\_ACEOF
32347#define wxUSE_STATBOX 1
32348_ACEOF
32349
32350 USES_CONTROLS=1
32351fi
32352
32353if test "$wxUSE_STATTEXT" = "yes"; then
32354 cat >>confdefs.h <<\_ACEOF
32355#define wxUSE_STATTEXT 1
32356_ACEOF
32357
32358 USES_CONTROLS=1
32359fi
32360
32361if test "$wxUSE_STATLINE" = "yes"; then
32362 cat >>confdefs.h <<\_ACEOF
32363#define wxUSE_STATLINE 1
32364_ACEOF
32365
32366 USES_CONTROLS=1
32367fi
32368
32369if test "$wxUSE_STATUSBAR" = "yes"; then
32370 cat >>confdefs.h <<\_ACEOF
32371#define wxUSE_STATUSBAR 1
32372_ACEOF
32373
32374 USES_CONTROLS=1
32375
32376 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
32377fi
32378
32379if test "$wxUSE_TABDIALOG" = "yes"; then
32380 cat >>confdefs.h <<\_ACEOF
32381#define wxUSE_TAB_DIALOG 1
32382_ACEOF
32383
32384 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
32385fi
32386
32387if test "$wxUSE_TEXTCTRL" = "yes"; then
32388 cat >>confdefs.h <<\_ACEOF
32389#define wxUSE_TEXTCTRL 1
32390_ACEOF
32391
32392 USES_CONTROLS=1
32393 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
32394fi
32395
32396if test "$wxUSE_TOGGLEBTN" = "yes"; then
32397 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32398 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32399echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32400 wxUSE_TOGGLEBTN=no
32401 fi
32402 if test "$wxUSE_UNIVERSAL" = "yes"; then
32403 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32404echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32405 wxUSE_TOGGLEBTN=no
32406 fi
32407
32408 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32409 cat >>confdefs.h <<\_ACEOF
32410#define wxUSE_TOGGLEBTN 1
32411_ACEOF
32412
32413 USES_CONTROLS=1
32414 fi
32415fi
32416
32417if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32418 cat >>confdefs.h <<\_ACEOF
32419#define wxUSE_TOOLBAR_SIMPLE 1
32420_ACEOF
32421
32422 wxUSE_TOOLBAR="yes"
32423 USES_CONTROLS=1
32424fi
32425
32426if test "$wxUSE_TOOLBAR" = "yes"; then
32427 cat >>confdefs.h <<\_ACEOF
32428#define wxUSE_TOOLBAR 1
32429_ACEOF
32430
32431 USES_CONTROLS=1
32432
32433 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
32434 wxUSE_TOOLBAR_NATIVE="yes"
32435 fi
32436
32437 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
32438 cat >>confdefs.h <<\_ACEOF
32439#define wxUSE_TOOLBAR_NATIVE 1
32440_ACEOF
32441
32442 USES_CONTROLS=1
32443 fi
32444
32445 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
32446fi
32447
32448if test "$wxUSE_TOOLTIPS" = "yes"; then
32449 if test "$wxUSE_MOTIF" = 1; then
32450 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
32451echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
32452 else
32453 if test "$wxUSE_UNIVERSAL" = "yes"; then
32454 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
32455echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
32456 else
32457 cat >>confdefs.h <<\_ACEOF
32458#define wxUSE_TOOLTIPS 1
32459_ACEOF
32460
32461 fi
32462 fi
32463fi
32464
32465if test "$wxUSE_TREECTRL" = "yes"; then
32466 if test "$wxUSE_IMAGLIST" = "yes"; then
32467 cat >>confdefs.h <<\_ACEOF
32468#define wxUSE_TREECTRL 1
32469_ACEOF
32470
32471 USES_CONTROLS=1
32472 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
32473 else
32474 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
32475echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
32476 fi
32477fi
32478
32479if test "$wxUSE_POPUPWIN" = "yes"; then
32480 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32481 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
32482echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
32483 else
32484 if test "$wxUSE_MOTIF" = 1; then
32485 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
32486echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
32487 else
32488 if test "$wxUSE_PM" = 1; then
32489 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
32490echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
32491 else
32492 cat >>confdefs.h <<\_ACEOF
32493#define wxUSE_POPUPWIN 1
32494_ACEOF
32495
32496
32497 USES_CONTROLS=1
32498 fi
32499 fi
32500 fi
32501fi
32502
32503if test "$wxUSE_TIPWINDOW" = "yes"; then
32504 if test "$wxUSE_PM" = 1; then
32505 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
32506echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
32507 else
32508 cat >>confdefs.h <<\_ACEOF
32509#define wxUSE_TIPWINDOW 1
32510_ACEOF
32511
32512 fi
32513fi
32514
32515if test "$USES_CONTROLS" = 1; then
32516 cat >>confdefs.h <<\_ACEOF
32517#define wxUSE_CONTROLS 1
32518_ACEOF
32519
32520fi
32521
32522
32523
32524if test "$wxUSE_DRAGIMAGE" = "yes"; then
32525 cat >>confdefs.h <<\_ACEOF
32526#define wxUSE_DRAGIMAGE 1
32527_ACEOF
32528
32529 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
32530fi
32531
32532if test "$wxUSE_ACCESSIBILITY" = "yes"; then
32533 cat >>confdefs.h <<\_ACEOF
32534#define wxUSE_ACCESSIBILITY 1
32535_ACEOF
32536
32537 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
32538fi
32539
32540if test "$wxUSE_MENUS" = "yes"; then
32541 cat >>confdefs.h <<\_ACEOF
32542#define wxUSE_MENUS 1
32543_ACEOF
32544
32545 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
32546fi
32547
32548if test "$wxUSE_METAFILE" = "yes"; then
32549 cat >>confdefs.h <<\_ACEOF
32550#define wxUSE_METAFILE 1
32551_ACEOF
32552
32553fi
32554
32555if test "$wxUSE_MIMETYPE" = "yes"; then
32556 cat >>confdefs.h <<\_ACEOF
32557#define wxUSE_MIMETYPE 1
32558_ACEOF
32559
32560fi
32561
32562if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
32563 cat >>confdefs.h <<\_ACEOF
32564#define wxUSE_SYSTEM_OPTIONS 1
32565_ACEOF
32566
32567if test "$TOOLKIT" = "MSW"; then
32568 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
32569fi
32570
32571fi
32572
32573if test "$wxUSE_PROTOCOL" = "yes"; then
32574 if test "$wxUSE_SOCKETS" != "yes"; then
32575 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
32576echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
32577 wxUSE_PROTOCOL=no
32578 fi
32579
32580 if test "$wxUSE_PROTOCOL" = "yes"; then
32581 cat >>confdefs.h <<\_ACEOF
32582#define wxUSE_PROTOCOL 1
32583_ACEOF
32584
32585
32586 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
32587 cat >>confdefs.h <<\_ACEOF
32588#define wxUSE_PROTOCOL_HTTP 1
32589_ACEOF
32590
32591 fi
32592 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
32593 cat >>confdefs.h <<\_ACEOF
32594#define wxUSE_PROTOCOL_FTP 1
32595_ACEOF
32596
32597 fi
32598 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
32599 cat >>confdefs.h <<\_ACEOF
32600#define wxUSE_PROTOCOL_FILE 1
32601_ACEOF
32602
32603 fi
32604 fi
32605fi
32606
32607if test "$wxUSE_URL" = "yes"; then
32608 if test "$wxUSE_PROTOCOL" != "yes"; then
32609 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
32610echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
32611 wxUSE_URL=no
32612 fi
32613 if test "$wxUSE_URL" = "yes"; then
32614 cat >>confdefs.h <<\_ACEOF
32615#define wxUSE_URL 1
32616_ACEOF
32617
32618 fi
32619fi
32620
32621if test "$wxUSE_MINIFRAME" = "yes"; then
32622 cat >>confdefs.h <<\_ACEOF
32623#define wxUSE_MINIFRAME 1
32624_ACEOF
32625
32626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
32627fi
32628
32629if test "$wxUSE_HTML" = "yes"; then
32630 cat >>confdefs.h <<\_ACEOF
32631#define wxUSE_HTML 1
32632_ACEOF
32633
32634 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
32635fi
32636
32637if test "$wxUSE_VALIDATORS" = "yes"; then
32638 cat >>confdefs.h <<\_ACEOF
32639#define wxUSE_VALIDATORS 1
32640_ACEOF
32641
32642 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
32643fi
32644
32645if test "$wxUSE_PALETTE" = "yes" ; then
32646 cat >>confdefs.h <<\_ACEOF
32647#define wxUSE_PALETTE 1
32648_ACEOF
32649
32650fi
32651
32652if test "$wxUSE_IMAGE" = "yes" ; then
32653 cat >>confdefs.h <<\_ACEOF
32654#define wxUSE_IMAGE 1
32655_ACEOF
32656
32657fi
32658
32659if test "$wxUSE_GIF" = "yes" ; then
32660 cat >>confdefs.h <<\_ACEOF
32661#define wxUSE_GIF 1
32662_ACEOF
32663
32664fi
32665
32666if test "$wxUSE_PCX" = "yes" ; then
32667 cat >>confdefs.h <<\_ACEOF
32668#define wxUSE_PCX 1
32669_ACEOF
32670
32671fi
32672
32673if test "$wxUSE_IFF" = "yes" ; then
32674 cat >>confdefs.h <<\_ACEOF
32675#define wxUSE_IFF 1
32676_ACEOF
32677
32678fi
32679
32680if test "$wxUSE_PNM" = "yes" ; then
32681 cat >>confdefs.h <<\_ACEOF
32682#define wxUSE_PNM 1
32683_ACEOF
32684
32685fi
32686
32687if test "$wxUSE_XPM" = "yes" ; then
32688 cat >>confdefs.h <<\_ACEOF
32689#define wxUSE_XPM 1
32690_ACEOF
32691
32692fi
32693
32694if test "$wxUSE_ICO_CUR" = "yes" ; then
32695 cat >>confdefs.h <<\_ACEOF
32696#define wxUSE_ICO_CUR 1
32697_ACEOF
32698
32699fi
32700
32701if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
32702 LIBS=" -lunicows $LIBS"
32703fi
32704
32705
32706if test "$wxUSE_CHOICEDLG" = "yes"; then
32707 cat >>confdefs.h <<\_ACEOF
32708#define wxUSE_CHOICEDLG 1
32709_ACEOF
32710
32711fi
32712
32713if test "$wxUSE_COLOURDLG" = "yes"; then
32714 cat >>confdefs.h <<\_ACEOF
32715#define wxUSE_COLOURDLG 1
32716_ACEOF
32717
32718fi
32719
32720if test "$wxUSE_FILEDLG" = "yes"; then
32721 cat >>confdefs.h <<\_ACEOF
32722#define wxUSE_FILEDLG 1
32723_ACEOF
32724
32725fi
32726
32727if test "$wxUSE_FINDREPLDLG" = "yes"; then
32728 cat >>confdefs.h <<\_ACEOF
32729#define wxUSE_FINDREPLDLG 1
32730_ACEOF
32731
32732fi
32733
32734if test "$wxUSE_FONTDLG" = "yes"; then
32735 cat >>confdefs.h <<\_ACEOF
32736#define wxUSE_FONTDLG 1
32737_ACEOF
32738
32739fi
32740
32741if test "$wxUSE_DIRDLG" = "yes"; then
32742 if test "$wxUSE_TREECTRL" != "yes"; then
32743 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
32744echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
32745 else
32746 cat >>confdefs.h <<\_ACEOF
32747#define wxUSE_DIRDLG 1
32748_ACEOF
32749
32750 fi
32751fi
32752
32753if test "$wxUSE_MSGDLG" = "yes"; then
32754 cat >>confdefs.h <<\_ACEOF
32755#define wxUSE_MSGDLG 1
32756_ACEOF
32757
32758fi
32759
32760if test "$wxUSE_NUMBERDLG" = "yes"; then
32761 cat >>confdefs.h <<\_ACEOF
32762#define wxUSE_NUMBERDLG 1
32763_ACEOF
32764
32765fi
32766
32767if test "$wxUSE_PROGRESSDLG" = "yes"; then
32768 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32769 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
32770echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
32771 else
32772 cat >>confdefs.h <<\_ACEOF
32773#define wxUSE_PROGRESSDLG 1
32774_ACEOF
32775
32776 fi
32777fi
32778
32779if test "$wxUSE_SPLASH" = "yes"; then
32780 cat >>confdefs.h <<\_ACEOF
32781#define wxUSE_SPLASH 1
32782_ACEOF
32783
32784fi
32785
32786if test "$wxUSE_STARTUP_TIPS" = "yes"; then
32787 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32788 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
32789echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
32790 else
32791 cat >>confdefs.h <<\_ACEOF
32792#define wxUSE_STARTUP_TIPS 1
32793_ACEOF
32794
32795 fi
32796fi
32797
32798if test "$wxUSE_TEXTDLG" = "yes"; then
32799 cat >>confdefs.h <<\_ACEOF
32800#define wxUSE_TEXTDLG 1
32801_ACEOF
32802
32803fi
32804
32805if test "$wxUSE_WIZARDDLG" = "yes"; then
32806 cat >>confdefs.h <<\_ACEOF
32807#define wxUSE_WIZARDDLG 1
32808_ACEOF
32809
32810 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
32811fi
32812
32813
32814if test "$cross_compiling" = "yes"; then
32815 OSINFO="\"$host\""
32816else
32817 OSINFO=`uname -s -r -m`
32818 OSINFO="\"$OSINFO\""
32819fi
32820
32821cat >>confdefs.h <<_ACEOF
32822#define WXWIN_OS_DESCRIPTION $OSINFO
32823_ACEOF
32824
32825
32826
32827if test "x$prefix" != "xNONE"; then
32828 wxPREFIX=$prefix
32829else
32830 wxPREFIX=$ac_default_prefix
32831fi
32832
32833cat >>confdefs.h <<_ACEOF
32834#define wxINSTALL_PREFIX "$wxPREFIX"
32835_ACEOF
32836
32837
32838top_builddir_wxconfig=`pwd`
32839
32840
32841
32842
32843if test "$wxUSE_MAC" = 1 ; then
32844 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
32845fi
32846if test "$wxUSE_COCOA" = 1 ; then
32847 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
32848fi
32849
32850
32851LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
32852
32853have_cos=0
32854have_floor=0
32855
32856for ac_func in cos
32857do
32858as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32859echo "$as_me:$LINENO: checking for $ac_func" >&5
32860echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32861if eval "test \"\${$as_ac_var+set}\" = set"; then
32862 echo $ECHO_N "(cached) $ECHO_C" >&6
32863else
32864 cat >conftest.$ac_ext <<_ACEOF
32865#line $LINENO "configure"
32866/* confdefs.h. */
32867_ACEOF
32868cat confdefs.h >>conftest.$ac_ext
32869cat >>conftest.$ac_ext <<_ACEOF
32870/* end confdefs.h. */
32871/* System header to define __stub macros and hopefully few prototypes,
32872 which can conflict with char $ac_func (); below.
32873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32874 <limits.h> exists even on freestanding compilers. */
32875#ifdef __STDC__
32876# include <limits.h>
32877#else
32878# include <assert.h>
32879#endif
32880/* Override any gcc2 internal prototype to avoid an error. */
32881#ifdef __cplusplus
32882extern "C"
32883{
32884#endif
32885/* We use char because int might match the return type of a gcc2
32886 builtin and then its argument prototype would still apply. */
32887char $ac_func ();
32888/* The GNU C library defines this for functions which it implements
32889 to always fail with ENOSYS. Some functions are actually named
32890 something starting with __ and the normal name is an alias. */
32891#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32892choke me
32893#else
32894char (*f) () = $ac_func;
32895#endif
32896#ifdef __cplusplus
32897}
32898#endif
32899
32900int
32901main ()
32902{
32903return f != $ac_func;
32904 ;
32905 return 0;
32906}
32907_ACEOF
32908rm -f conftest.$ac_objext conftest$ac_exeext
32909if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32910 (eval $ac_link) 2>&5
32911 ac_status=$?
32912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32913 (exit $ac_status); } &&
32914 { ac_try='test -s conftest$ac_exeext'
32915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32916 (eval $ac_try) 2>&5
32917 ac_status=$?
32918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32919 (exit $ac_status); }; }; then
32920 eval "$as_ac_var=yes"
32921else
32922 echo "$as_me: failed program was:" >&5
32923sed 's/^/| /' conftest.$ac_ext >&5
32924
32925eval "$as_ac_var=no"
32926fi
32927rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32928fi
32929echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32930echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32931if test `eval echo '${'$as_ac_var'}'` = yes; then
32932 cat >>confdefs.h <<_ACEOF
32933#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32934_ACEOF
32935 have_cos=1
32936fi
32937done
32938
32939
32940for ac_func in floor
32941do
32942as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32943echo "$as_me:$LINENO: checking for $ac_func" >&5
32944echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32945if eval "test \"\${$as_ac_var+set}\" = set"; then
32946 echo $ECHO_N "(cached) $ECHO_C" >&6
32947else
32948 cat >conftest.$ac_ext <<_ACEOF
32949#line $LINENO "configure"
32950/* confdefs.h. */
32951_ACEOF
32952cat confdefs.h >>conftest.$ac_ext
32953cat >>conftest.$ac_ext <<_ACEOF
32954/* end confdefs.h. */
32955/* System header to define __stub macros and hopefully few prototypes,
32956 which can conflict with char $ac_func (); below.
32957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32958 <limits.h> exists even on freestanding compilers. */
32959#ifdef __STDC__
32960# include <limits.h>
32961#else
32962# include <assert.h>
32963#endif
32964/* Override any gcc2 internal prototype to avoid an error. */
32965#ifdef __cplusplus
32966extern "C"
32967{
32968#endif
32969/* We use char because int might match the return type of a gcc2
32970 builtin and then its argument prototype would still apply. */
32971char $ac_func ();
32972/* The GNU C library defines this for functions which it implements
32973 to always fail with ENOSYS. Some functions are actually named
32974 something starting with __ and the normal name is an alias. */
32975#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32976choke me
32977#else
32978char (*f) () = $ac_func;
32979#endif
32980#ifdef __cplusplus
32981}
32982#endif
32983
32984int
32985main ()
32986{
32987return f != $ac_func;
32988 ;
32989 return 0;
32990}
32991_ACEOF
32992rm -f conftest.$ac_objext conftest$ac_exeext
32993if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32994 (eval $ac_link) 2>&5
32995 ac_status=$?
32996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32997 (exit $ac_status); } &&
32998 { ac_try='test -s conftest$ac_exeext'
32999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33000 (eval $ac_try) 2>&5
33001 ac_status=$?
33002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33003 (exit $ac_status); }; }; then
33004 eval "$as_ac_var=yes"
33005else
33006 echo "$as_me: failed program was:" >&5
33007sed 's/^/| /' conftest.$ac_ext >&5
33008
33009eval "$as_ac_var=no"
33010fi
33011rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33012fi
33013echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33014echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33015if test `eval echo '${'$as_ac_var'}'` = yes; then
33016 cat >>confdefs.h <<_ACEOF
33017#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33018_ACEOF
33019 have_floor=1
33020fi
33021done
33022
33023echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33024echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33025if test "$have_cos" = 1 -a "$have_floor" = 1; then
33026 echo "$as_me:$LINENO: result: yes" >&5
33027echo "${ECHO_T}yes" >&6
33028else
33029 echo "$as_me:$LINENO: result: no" >&5
33030echo "${ECHO_T}no" >&6
33031 LIBS="$LIBS -lm"
33032 # use different functions to avoid configure caching
33033 have_sin=0
33034 have_ceil=0
33035
33036for ac_func in sin
33037do
33038as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33039echo "$as_me:$LINENO: checking for $ac_func" >&5
33040echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33041if eval "test \"\${$as_ac_var+set}\" = set"; then
33042 echo $ECHO_N "(cached) $ECHO_C" >&6
33043else
33044 cat >conftest.$ac_ext <<_ACEOF
33045#line $LINENO "configure"
33046/* confdefs.h. */
33047_ACEOF
33048cat confdefs.h >>conftest.$ac_ext
33049cat >>conftest.$ac_ext <<_ACEOF
33050/* end confdefs.h. */
33051/* System header to define __stub macros and hopefully few prototypes,
33052 which can conflict with char $ac_func (); below.
33053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33054 <limits.h> exists even on freestanding compilers. */
33055#ifdef __STDC__
33056# include <limits.h>
33057#else
33058# include <assert.h>
33059#endif
33060/* Override any gcc2 internal prototype to avoid an error. */
33061#ifdef __cplusplus
33062extern "C"
33063{
33064#endif
33065/* We use char because int might match the return type of a gcc2
33066 builtin and then its argument prototype would still apply. */
33067char $ac_func ();
33068/* The GNU C library defines this for functions which it implements
33069 to always fail with ENOSYS. Some functions are actually named
33070 something starting with __ and the normal name is an alias. */
33071#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33072choke me
33073#else
33074char (*f) () = $ac_func;
33075#endif
33076#ifdef __cplusplus
33077}
33078#endif
33079
33080int
33081main ()
33082{
33083return f != $ac_func;
33084 ;
33085 return 0;
33086}
33087_ACEOF
33088rm -f conftest.$ac_objext conftest$ac_exeext
33089if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33090 (eval $ac_link) 2>&5
33091 ac_status=$?
33092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33093 (exit $ac_status); } &&
33094 { ac_try='test -s conftest$ac_exeext'
33095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33096 (eval $ac_try) 2>&5
33097 ac_status=$?
33098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33099 (exit $ac_status); }; }; then
33100 eval "$as_ac_var=yes"
33101else
33102 echo "$as_me: failed program was:" >&5
33103sed 's/^/| /' conftest.$ac_ext >&5
33104
33105eval "$as_ac_var=no"
33106fi
33107rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33108fi
33109echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33110echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33111if test `eval echo '${'$as_ac_var'}'` = yes; then
33112 cat >>confdefs.h <<_ACEOF
33113#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33114_ACEOF
33115 have_sin=1
33116fi
33117done
33118
33119
33120for ac_func in ceil
33121do
33122as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33123echo "$as_me:$LINENO: checking for $ac_func" >&5
33124echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33125if eval "test \"\${$as_ac_var+set}\" = set"; then
33126 echo $ECHO_N "(cached) $ECHO_C" >&6
33127else
33128 cat >conftest.$ac_ext <<_ACEOF
33129#line $LINENO "configure"
33130/* confdefs.h. */
33131_ACEOF
33132cat confdefs.h >>conftest.$ac_ext
33133cat >>conftest.$ac_ext <<_ACEOF
33134/* end confdefs.h. */
33135/* System header to define __stub macros and hopefully few prototypes,
33136 which can conflict with char $ac_func (); below.
33137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33138 <limits.h> exists even on freestanding compilers. */
33139#ifdef __STDC__
33140# include <limits.h>
33141#else
33142# include <assert.h>
33143#endif
33144/* Override any gcc2 internal prototype to avoid an error. */
33145#ifdef __cplusplus
33146extern "C"
33147{
33148#endif
33149/* We use char because int might match the return type of a gcc2
33150 builtin and then its argument prototype would still apply. */
33151char $ac_func ();
33152/* The GNU C library defines this for functions which it implements
33153 to always fail with ENOSYS. Some functions are actually named
33154 something starting with __ and the normal name is an alias. */
33155#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33156choke me
33157#else
33158char (*f) () = $ac_func;
33159#endif
33160#ifdef __cplusplus
33161}
33162#endif
33163
33164int
33165main ()
33166{
33167return f != $ac_func;
33168 ;
33169 return 0;
33170}
33171_ACEOF
33172rm -f conftest.$ac_objext conftest$ac_exeext
33173if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33174 (eval $ac_link) 2>&5
33175 ac_status=$?
33176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33177 (exit $ac_status); } &&
33178 { ac_try='test -s conftest$ac_exeext'
33179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33180 (eval $ac_try) 2>&5
33181 ac_status=$?
33182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33183 (exit $ac_status); }; }; then
33184 eval "$as_ac_var=yes"
33185else
33186 echo "$as_me: failed program was:" >&5
33187sed 's/^/| /' conftest.$ac_ext >&5
33188
33189eval "$as_ac_var=no"
33190fi
33191rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33192fi
33193echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33194echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33195if test `eval echo '${'$as_ac_var'}'` = yes; then
33196 cat >>confdefs.h <<_ACEOF
33197#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33198_ACEOF
33199 have_ceil=1
33200fi
33201done
33202
33203 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33204echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33205 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33206 echo "$as_me:$LINENO: result: yes" >&5
33207echo "${ECHO_T}yes" >&6
33208 else
33209 echo "$as_me:$LINENO: result: no" >&5
33210echo "${ECHO_T}no" >&6
33211 # not sure we should warn the user, crash, etc.
33212 fi
33213fi
33214
33215if test "$wxUSE_GUI" = "yes"; then
33216
33217
33218 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
33219 drawing dynamic erase event exec font image \
33220 minimal propsize rotate shaped widgets"
33221
33222 if test "$wxUSE_MONOLITHIC" != "yes"; then
33223 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
33224 fi
33225else
33226 SAMPLES_SUBDIRS="console"
33227fi
33228
33229
33230INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33231-I\${top_srcdir}/include \
33232$REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33233$TOOLKIT_INCLUDE"
33234
33235if test "$GXX" = yes ; then
33236 CXXWARNINGS="-Wall"
33237 fi
33238
33239EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33240
33241CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33242CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33243CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33244
33245
33246LIBS=`echo $LIBS | sed 's/ \+/ /g'`
33247EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33248if test "$wxUSE_GUI" = "yes"; then
33249 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33250fi
33251
33252LDFLAGS="$LDFLAGS $PROFILE"
33253
33254if test "$wxUSE_GTK" = 1; then
33255 WXCONFIG_INCLUDE=
33256else
33257 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
33258fi
33259
33260if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33261 WXUNIV=1
33262else
33263 WXUNIV=0
33264fi
33265
33266
33267
33268
33269
33270
33271
33272
33273if test $wxUSE_MONOLITHIC = "yes" ; then
33274 MONOLITHIC=1
33275else
33276 MONOLITHIC=0
33277fi
33278
33279VENDOR="custom"
33280OFFICIAL_BUILD=0
33281
33282
33283
33284
33285
33286
33287
33288
33289
33290
33291TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr [A-Z] [a-z]`
33292
33293
33294
33295
33296
33297 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33298
33299 if test -n "$ac_tool_prefix"; then
33300 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33301set dummy ${ac_tool_prefix}ranlib; ac_word=$2
33302echo "$as_me:$LINENO: checking for $ac_word" >&5
33303echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33304if test "${ac_cv_prog_RANLIB+set}" = set; then
33305 echo $ECHO_N "(cached) $ECHO_C" >&6
33306else
33307 if test -n "$RANLIB"; then
33308 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
33309else
33310as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33311for as_dir in $PATH
33312do
33313 IFS=$as_save_IFS
33314 test -z "$as_dir" && as_dir=.
33315 for ac_exec_ext in '' $ac_executable_extensions; do
33316 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33317 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
33318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33319 break 2
33320 fi
33321done
33322done
33323
33324fi
33325fi
33326RANLIB=$ac_cv_prog_RANLIB
33327if test -n "$RANLIB"; then
33328 echo "$as_me:$LINENO: result: $RANLIB" >&5
33329echo "${ECHO_T}$RANLIB" >&6
33330else
33331 echo "$as_me:$LINENO: result: no" >&5
33332echo "${ECHO_T}no" >&6
33333fi
33334
33335fi
33336if test -z "$ac_cv_prog_RANLIB"; then
33337 ac_ct_RANLIB=$RANLIB
33338 # Extract the first word of "ranlib", so it can be a program name with args.
33339set dummy ranlib; ac_word=$2
33340echo "$as_me:$LINENO: checking for $ac_word" >&5
33341echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33342if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33343 echo $ECHO_N "(cached) $ECHO_C" >&6
33344else
33345 if test -n "$ac_ct_RANLIB"; then
33346 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
33347else
33348as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33349for as_dir in $PATH
33350do
33351 IFS=$as_save_IFS
33352 test -z "$as_dir" && as_dir=.
33353 for ac_exec_ext in '' $ac_executable_extensions; do
33354 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33355 ac_cv_prog_ac_ct_RANLIB="ranlib"
33356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33357 break 2
33358 fi
33359done
33360done
33361
33362 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
33363fi
33364fi
33365ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
33366if test -n "$ac_ct_RANLIB"; then
33367 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33368echo "${ECHO_T}$ac_ct_RANLIB" >&6
33369else
33370 echo "$as_me:$LINENO: result: no" >&5
33371echo "${ECHO_T}no" >&6
33372fi
33373
33374 RANLIB=$ac_ct_RANLIB
33375else
33376 RANLIB="$ac_cv_prog_RANLIB"
33377fi
33378
33379 # Find a good install program. We prefer a C program (faster),
33380# so one script is as good as another. But avoid the broken or
33381# incompatible versions:
33382# SysV /etc/install, /usr/sbin/install
33383# SunOS /usr/etc/install
33384# IRIX /sbin/install
33385# AIX /bin/install
33386# AmigaOS /C/install, which installs bootblocks on floppy discs
33387# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33388# AFS /usr/afsws/bin/install, which mishandles nonexistent args
33389# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33390# ./install, which can be erroneously created by make from ./install.sh.
33391echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33392echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
33393if test -z "$INSTALL"; then
33394if test "${ac_cv_path_install+set}" = set; then
33395 echo $ECHO_N "(cached) $ECHO_C" >&6
33396else
33397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33398for as_dir in $PATH
33399do
33400 IFS=$as_save_IFS
33401 test -z "$as_dir" && as_dir=.
33402 # Account for people who put trailing slashes in PATH elements.
33403case $as_dir/ in
33404 ./ | .// | /cC/* | \
33405 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
33406 /usr/ucb/* ) ;;
33407 *)
33408 # OSF1 and SCO ODT 3.0 have their own names for install.
33409 # Don't use installbsd from OSF since it installs stuff as root
33410 # by default.
33411 for ac_prog in ginstall scoinst install; do
33412 for ac_exec_ext in '' $ac_executable_extensions; do
33413 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
33414 if test $ac_prog = install &&
33415 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33416 # AIX install. It has an incompatible calling convention.
33417 :
33418 elif test $ac_prog = install &&
33419 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33420 # program-specific install script used by HP pwplus--don't use.
33421 :
33422 else
33423 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
33424 break 3
33425 fi
33426 fi
33427 done
33428 done
33429 ;;
33430esac
33431done
33432
33433
33434fi
33435 if test "${ac_cv_path_install+set}" = set; then
33436 INSTALL=$ac_cv_path_install
33437 else
33438 # As a last resort, use the slow shell script. We don't cache a
33439 # path for INSTALL within a source directory, because that will
33440 # break other packages using the cache if that directory is
33441 # removed, or if the path is relative.
33442 INSTALL=$ac_install_sh
33443 fi
33444fi
33445echo "$as_me:$LINENO: result: $INSTALL" >&5
33446echo "${ECHO_T}$INSTALL" >&6
33447
33448# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
33449# It thinks the first close brace ends the variable substitution.
33450test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
33451
33452test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
33453
33454test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
33455
33456 echo "$as_me:$LINENO: checking whether ln -s works" >&5
33457echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
33458LN_S=$as_ln_s
33459if test "$LN_S" = "ln -s"; then
33460 echo "$as_me:$LINENO: result: yes" >&5
33461echo "${ECHO_T}yes" >&6
33462else
33463 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
33464echo "${ECHO_T}no, using $LN_S" >&6
33465fi
33466
33467
33468 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
33469echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
33470set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
33471if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
33472 echo $ECHO_N "(cached) $ECHO_C" >&6
33473else
33474 cat >conftest.make <<\_ACEOF
33475all:
33476 @echo 'ac_maketemp="$(MAKE)"'
33477_ACEOF
33478# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
33479eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
33480if test -n "$ac_maketemp"; then
33481 eval ac_cv_prog_make_${ac_make}_set=yes
33482else
33483 eval ac_cv_prog_make_${ac_make}_set=no
33484fi
33485rm -f conftest.make
33486fi
33487if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
33488 echo "$as_me:$LINENO: result: yes" >&5
33489echo "${ECHO_T}yes" >&6
33490 SET_MAKE=
33491else
33492 echo "$as_me:$LINENO: result: no" >&5
33493echo "${ECHO_T}no" >&6
33494 SET_MAKE="MAKE=${MAKE-make}"
33495fi
33496
33497
33498
33499 if test "$build" != "$host" ; then
33500 AR=$host_alias-ar
33501 STRIP=$host_alias-strip
33502 else
33503 # Extract the first word of "ar", so it can be a program name with args.
33504set dummy ar; 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_AR+set}" = set; then
33508 echo $ECHO_N "(cached) $ECHO_C" >&6
33509else
33510 if test -n "$AR"; then
33511 ac_cv_prog_AR="$AR" # 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_AR="ar"
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_AR" && ac_cv_prog_AR="ar"
33528fi
33529fi
33530AR=$ac_cv_prog_AR
33531if test -n "$AR"; then
33532 echo "$as_me:$LINENO: result: $AR" >&5
33533echo "${ECHO_T}$AR" >&6
33534else
33535 echo "$as_me:$LINENO: result: no" >&5
33536echo "${ECHO_T}no" >&6
33537fi
33538
33539 # Extract the first word of "strip", so it can be a program name with args.
33540set dummy strip; ac_word=$2
33541echo "$as_me:$LINENO: checking for $ac_word" >&5
33542echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33543if test "${ac_cv_prog_STRIP+set}" = set; then
33544 echo $ECHO_N "(cached) $ECHO_C" >&6
33545else
33546 if test -n "$STRIP"; then
33547 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
33548else
33549as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33550for as_dir in $PATH
33551do
33552 IFS=$as_save_IFS
33553 test -z "$as_dir" && as_dir=.
33554 for ac_exec_ext in '' $ac_executable_extensions; do
33555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33556 ac_cv_prog_STRIP="strip"
33557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33558 break 2
33559 fi
33560done
33561done
33562
33563 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
33564fi
33565fi
33566STRIP=$ac_cv_prog_STRIP
33567if test -n "$STRIP"; then
33568 echo "$as_me:$LINENO: result: $STRIP" >&5
33569echo "${ECHO_T}$STRIP" >&6
33570else
33571 echo "$as_me:$LINENO: result: no" >&5
33572echo "${ECHO_T}no" >&6
33573fi
33574
33575 fi
33576
33577 case ${host} in
33578 *-hp-hpux* )
33579 INSTALL_DIR="mkdir"
33580 ;;
33581 *) INSTALL_DIR="$INSTALL -d"
33582 ;;
33583 esac
33584
33585
33586 LDFLAGS_GUI=
33587 case ${host} in
33588 *-*-cygwin* | *-*-mingw32* )
33589 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
33590 esac
33591
33592
33593 fi
33594
33595 echo "$as_me:$LINENO: checking if make is GNU make" >&5
33596echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
33597if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
33598 echo $ECHO_N "(cached) $ECHO_C" >&6
33599else
33600
33601 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
33602 egrep -s GNU > /dev/null); then
33603 bakefile_cv_prog_makeisgnu="yes"
33604 else
33605 bakefile_cv_prog_makeisgnu="no"
33606 fi
33607
33608fi
33609echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
33610echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
33611
33612 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
33613 IF_GNU_MAKE=""
33614 else
33615 IF_GNU_MAKE="#"
33616 fi
33617
33618
33619
33620 PLATFORM_UNIX=0
33621 PLATFORM_WIN32=0
33622 PLATFORM_MSDOS=0
33623 PLATFORM_MAC=0
33624 PLATFORM_MACOSX=0
33625
33626 case "${host}" in
33627 *-*-cygwin* | *-*-mingw32* )
33628 PLATFORM_WIN32=1
33629 ;;
33630 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
33631 PLATFORM_MSDOS=1
33632 ;;
33633 powerpc-*-darwin* )
33634 PLATFORM_MAC=1
33635 PLATFORM_MACOSX=1
33636 ;;
33637 * )
33638 PLATFORM_UNIX=1
33639 ;;
33640 esac
33641
33642
33643
33644
33645
33646
33647
33648
33649 SO_SUFFIX="so"
33650 EXEEXT=""
33651 DLLPREFIX=lib
33652
33653 case "${host}" in
33654 *-hp-hpux* )
33655 SO_SUFFIX="sl"
33656 ;;
33657 *-*-aix* )
33658 SO_SUFFIX="a"
33659 ;;
33660 *-*-cygwin* | *-*-mingw32* )
33661 SO_SUFFIX="dll"
33662 EXEEXT=".exe"
33663 DLLPREFIX=""
33664 ;;
33665 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
33666 EXEEXT=".exe"
33667 DLLPREFIX=""
33668 ;;
33669 powerpc-*-darwin* )
33670 SO_SUFFIX="dylib"
33671 ;;
33672 esac
33673
33674
33675
33676
33677
33678
33679 SHARED_LD_CC="\$(CC) -shared -o"
33680 SHARED_LD_CXX="\$(CXX) -shared -o"
33681
33682 if test "x$GCC" = "xyes"; then
33683 PIC_FLAG="-fPIC"
33684 fi
33685
33686 case "${host}" in
33687 *-hp-hpux* )
33688 if test "x$GCC" = "xyes"; then
33689 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
33690 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
33691 else
33692 LDFLAGS="$LDFLAGS -L/usr/lib"
33693
33694 SHARED_LD_CC="${CC} -b -o"
33695 SHARED_LD_CXX="${CXX} -b -o"
33696 PIC_FLAG="+Z"
33697 fi
33698 ;;
33699
33700 *-*-linux* )
33701 if test "x$GCC" != "xyes"; then
33702 echo "$as_me:$LINENO: checking for Intel compiler" >&5
33703echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
33704if test "${bakefile_cv_prog_icc+set}" = set; then
33705 echo $ECHO_N "(cached) $ECHO_C" >&6
33706else
33707
33708 cat >conftest.$ac_ext <<_ACEOF
33709#line $LINENO "configure"
33710/* confdefs.h. */
33711_ACEOF
33712cat confdefs.h >>conftest.$ac_ext
33713cat >>conftest.$ac_ext <<_ACEOF
33714/* end confdefs.h. */
33715
33716int
33717main ()
33718{
33719
33720 #ifndef __INTEL_COMPILER
33721 #error Not icc
33722 #endif
33723
33724 ;
33725 return 0;
33726}
33727_ACEOF
33728rm -f conftest.$ac_objext
33729if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33730 (eval $ac_compile) 2>&5
33731 ac_status=$?
33732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33733 (exit $ac_status); } &&
33734 { ac_try='test -s conftest.$ac_objext'
33735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33736 (eval $ac_try) 2>&5
33737 ac_status=$?
33738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33739 (exit $ac_status); }; }; then
33740 bakefile_cv_prog_icc=yes
33741else
33742 echo "$as_me: failed program was:" >&5
33743sed 's/^/| /' conftest.$ac_ext >&5
33744
33745bakefile_cv_prog_icc=no
33746
33747fi
33748rm -f conftest.$ac_objext conftest.$ac_ext
33749
33750fi
33751echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
33752echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
33753 if test "$bakefile_cv_prog_icc" = "yes"; then
33754 PIC_FLAG="-KPIC"
33755 fi
33756 fi
33757 ;;
33758
33759 *-*-solaris2* )
33760 if test "x$GCC" != xyes ; then
33761 SHARED_LD_CC="${CC} -G -o"
33762 SHARED_LD_CXX="${CXX} -G -o"
33763 PIC_FLAG="-KPIC"
33764 fi
33765 ;;
33766
33767 *-*-darwin* )
33768 CFLAGS="$CFLAGS -fno-common"
33769 CXXFLAGS="$CXXFLAGS -fno-common"
33770
33771
33772 cat <<EOF >shared-ld-sh
33773#!/bin/sh
33774#-----------------------------------------------------------------------------
33775#-- Name: distrib/mac/shared-ld-sh
33776#-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
33777#-- Author: Gilles Depeyrot
33778#-- Copyright: (c) 2002 Gilles Depeyrot
33779#-- Licence: any use permitted
33780#-----------------------------------------------------------------------------
33781
33782verbose=0
33783args=""
33784objects=""
33785
33786while test \${#} -gt 0; do
33787 case \${1} in
33788
33789 -v)
33790 verbose=1
33791 ;;
33792
33793 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
33794 # collect these options and values
33795 args="\${args} \${1} \${2}"
33796 shift
33797 ;;
33798
33799 -l*|-L*|-flat_namespace)
33800 # collect these options
33801 args="\${args} \${1}"
33802 ;;
33803
33804 -dynamiclib)
33805 # skip these options
33806 ;;
33807
33808 -*)
33809 echo "shared-ld: unhandled option '\${1}'"
33810 exit 1
33811 ;;
33812
33813 *.o | *.a)
33814 # collect object files
33815 objects="\${objects} \${1}"
33816 ;;
33817
33818 *)
33819 echo "shared-ld: unhandled argument '\${1}'"
33820 exit 1
33821 ;;
33822
33823 esac
33824 shift
33825done
33826
33827#
33828# Link one module containing all the others
33829#
33830if test \${verbose} = 1; then
33831 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
33832fi
33833c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
33834status=\$?
33835if test \${status} != 0; then
33836 exit \${status}
33837fi
33838
33839#
33840# Link the shared library from the single module created
33841#
33842if test \${verbose} = 1; then
33843 echo "cc -dynamiclib master.\$\$.o \${args}"
33844fi
33845c++ -dynamiclib master.\$\$.o \${args}
33846status=\$?
33847if test \${status} != 0; then
33848 exit \${status}
33849fi
33850
33851#
33852# Remove intermediate module
33853#
33854rm -f master.\$\$.o
33855
33856exit 0
33857EOF
33858 chmod +x shared-ld-sh
33859
33860 SHARED_LD_CC="`pwd`/shared-ld-sh -undefined suppress -flat_namespace -o"
33861 SHARED_LD_CXX="$SHARED_LD_CC"
33862 PIC_FLAG="-dynamic -fPIC"
33863 ;;
33864
33865 *-*-aix* )
33866 if test "x$GCC" != "xyes"; then
33867 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
33868set dummy makeC++SharedLib; ac_word=$2
33869echo "$as_me:$LINENO: checking for $ac_word" >&5
33870echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33871if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
33872 echo $ECHO_N "(cached) $ECHO_C" >&6
33873else
33874 if test -n "$AIX_CXX_LD"; then
33875 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
33876else
33877as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33878for as_dir in $PATH
33879do
33880 IFS=$as_save_IFS
33881 test -z "$as_dir" && as_dir=.
33882 for ac_exec_ext in '' $ac_executable_extensions; do
33883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33884 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
33885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33886 break 2
33887 fi
33888done
33889done
33890
33891 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
33892fi
33893fi
33894AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
33895if test -n "$AIX_CXX_LD"; then
33896 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
33897echo "${ECHO_T}$AIX_CXX_LD" >&6
33898else
33899 echo "$as_me:$LINENO: result: no" >&5
33900echo "${ECHO_T}no" >&6
33901fi
33902
33903 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
33904 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
33905 fi
33906 ;;
33907
33908 *-*-beos* )
33909 SHARED_LD_CC="${LD} -shared -o"
33910 SHARED_LD_CXX="${LD} -shared -o"
33911 ;;
33912
33913 *-*-irix* )
33914 if test "x$GCC" != "xyes"; then
33915 PIC_FLAG="-KPIC"
33916 fi
33917 ;;
33918
33919 *-*-cygwin* | *-*-mingw32* )
33920 PIC_FLAG=""
33921 ;;
33922
33923 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
33924 *-*-sunos4* | \
33925 *-*-osf* | \
33926 *-*-dgux5* | \
33927 *-*-sysv5* )
33928 ;;
33929
33930 *)
33931 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
33932echo "$as_me: error: unknown system type $host." >&2;}
33933 { (exit 1); exit 1; }; }
33934 esac
33935
33936
33937
33938
33939
33940
33941 USE_SOVERSION=0
33942 USE_SOVERLINUX=0
33943 USE_SOVERSOLARIS=0
33944 USE_SOSYMLINKS=0
33945 USE_MACVERSION=0
33946 SONAME_FLAG=
33947
33948 case "${host}" in
33949 *-*-linux* )
33950 SONAME_FLAG="-Wl,-soname,"
33951 USE_SOVERSION=1
33952 USE_SOVERLINUX=1
33953 USE_SOSYMLINKS=1
33954 ;;
33955
33956 *-*-solaris2* )
33957 SONAME_FLAG="-h "
33958 USE_SOVERSION=1
33959 USE_SOVERSOLARIS=1
33960 USE_SOSYMLINKS=1
33961 ;;
33962
33963 *-*-darwin* )
33964 USE_MACVERSION=1
33965 USE_SOVERSION=1
33966 USE_SOSYMLINKS=1
33967 ;;
33968 esac
33969
33970
33971
33972
33973
33974
33975
33976
33977
33978 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
33979echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
33980 DEPS_TRACKING=0
33981
33982 if test "x$GCC" = "xyes"; then
33983 DEPSMODE=gcc
33984 DEPS_TRACKING=1
33985 echo "$as_me:$LINENO: result: gcc" >&5
33986echo "${ECHO_T}gcc" >&6
33987 else
33988 echo "$as_me:$LINENO: result: none" >&5
33989echo "${ECHO_T}none" >&6
33990 fi
33991
33992 if test $DEPS_TRACKING = 1 ; then
33993 cat <<EOF >bk-deps
33994#!/bin/sh
33995
33996# This script is part of Bakefile (http://bakefile.sf.net) autoconf script.
33997# It is used to track C/C++ files dependencies in portable way.
33998#
33999# Permission is given to use this file in any way.
34000
34001DEPSMODE=$DEPSMODE
34002DEPSDIR=.deps
34003
34004mkdir -p \$DEPSDIR
34005
34006if test \$DEPSMODE = gcc ; then
34007 \${*} -MMD
34008 status=\${?}
34009 if test \${status} != 0 ; then
34010 exit \${status}
34011 fi
34012 # move created file to the location we want it in:
34013 while test \${#} -gt 0; do
34014 case "\${1}" in
34015 -o )
34016 shift
34017 objfile=\${1}
34018 ;;
34019 -* )
34020 ;;
34021 * )
34022 srcfile=\${1}
34023 ;;
34024 esac
34025 shift
34026 done
34027 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34028 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34029 if test -f \$depfile ; then
34030 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34031 rm -f \$depfile
34032 else
34033 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34034 if test -f \$depfile ; then
34035 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34036 rm -f \$depfile
34037 fi
34038 fi
34039 exit 0
34040else
34041 \${*}
34042 exit \${?}
34043fi
34044EOF
34045 chmod +x bk-deps
34046 fi
34047
34048
34049
34050
34051 RESCOMP=
34052 SETFILE=
34053
34054 case ${host} in
34055 *-*-cygwin* | *-*-mingw32* )
34056 if test "$build" != "$host" ; then
34057 RESCOMP=$host_alias-windres
34058 else
34059 # Extract the first word of "windres", so it can be a program name with args.
34060set dummy windres; ac_word=$2
34061echo "$as_me:$LINENO: checking for $ac_word" >&5
34062echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34063if test "${ac_cv_prog_RESCOMP+set}" = set; then
34064 echo $ECHO_N "(cached) $ECHO_C" >&6
34065else
34066 if test -n "$RESCOMP"; then
34067 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34068else
34069as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34070for as_dir in $PATH
34071do
34072 IFS=$as_save_IFS
34073 test -z "$as_dir" && as_dir=.
34074 for ac_exec_ext in '' $ac_executable_extensions; do
34075 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34076 ac_cv_prog_RESCOMP="windres"
34077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34078 break 2
34079 fi
34080done
34081done
34082
34083 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
34084fi
34085fi
34086RESCOMP=$ac_cv_prog_RESCOMP
34087if test -n "$RESCOMP"; then
34088 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34089echo "${ECHO_T}$RESCOMP" >&6
34090else
34091 echo "$as_me:$LINENO: result: no" >&5
34092echo "${ECHO_T}no" >&6
34093fi
34094
34095 fi
34096 ;;
34097
34098 *-*-darwin* )
34099 # Extract the first word of "Rez", so it can be a program name with args.
34100set dummy Rez; ac_word=$2
34101echo "$as_me:$LINENO: checking for $ac_word" >&5
34102echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34103if test "${ac_cv_prog_RESCOMP+set}" = set; then
34104 echo $ECHO_N "(cached) $ECHO_C" >&6
34105else
34106 if test -n "$RESCOMP"; then
34107 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34108else
34109as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34110for as_dir in $PATH
34111do
34112 IFS=$as_save_IFS
34113 test -z "$as_dir" && as_dir=.
34114 for ac_exec_ext in '' $ac_executable_extensions; do
34115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34116 ac_cv_prog_RESCOMP="Rez"
34117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34118 break 2
34119 fi
34120done
34121done
34122
34123 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
34124fi
34125fi
34126RESCOMP=$ac_cv_prog_RESCOMP
34127if test -n "$RESCOMP"; then
34128 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34129echo "${ECHO_T}$RESCOMP" >&6
34130else
34131 echo "$as_me:$LINENO: result: no" >&5
34132echo "${ECHO_T}no" >&6
34133fi
34134
34135 # Extract the first word of "SetFile", so it can be a program name with args.
34136set dummy SetFile; ac_word=$2
34137echo "$as_me:$LINENO: checking for $ac_word" >&5
34138echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34139if test "${ac_cv_prog_SETFILE+set}" = set; then
34140 echo $ECHO_N "(cached) $ECHO_C" >&6
34141else
34142 if test -n "$SETFILE"; then
34143 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34144else
34145as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34146for as_dir in $PATH
34147do
34148 IFS=$as_save_IFS
34149 test -z "$as_dir" && as_dir=.
34150 for ac_exec_ext in '' $ac_executable_extensions; do
34151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34152 ac_cv_prog_SETFILE="SetFile"
34153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34154 break 2
34155 fi
34156done
34157done
34158
34159 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34160fi
34161fi
34162SETFILE=$ac_cv_prog_SETFILE
34163if test -n "$SETFILE"; then
34164 echo "$as_me:$LINENO: result: $SETFILE" >&5
34165echo "${ECHO_T}$SETFILE" >&6
34166else
34167 echo "$as_me:$LINENO: result: no" >&5
34168echo "${ECHO_T}no" >&6
34169fi
34170
34171 ;;
34172 esac
34173
34174
34175
34176
34177
34178
34179
34180 COND_BUILD_DEBUG="#"
34181 if test "x$BUILD" = "xdebug" ; then
34182 COND_BUILD_DEBUG=""
34183 fi
34184
34185 COND_BUILD_RELEASE="#"
34186 if test "x$BUILD" = "xrelease" ; then
34187 COND_BUILD_RELEASE=""
34188 fi
34189
34190 COND_DEPS_TRACKING_0="#"
34191 if test "x$DEPS_TRACKING" = "x0" ; then
34192 COND_DEPS_TRACKING_0=""
34193 fi
34194
34195 COND_DEPS_TRACKING_1="#"
34196 if test "x$DEPS_TRACKING" = "x1" ; then
34197 COND_DEPS_TRACKING_1=""
34198 fi
34199
34200 COND_MONOLITHIC_0="#"
34201 if test "x$MONOLITHIC" = "x0" ; then
34202 COND_MONOLITHIC_0=""
34203 fi
34204
34205 COND_MONOLITHIC_0_SHARED_0="#"
34206 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
34207 COND_MONOLITHIC_0_SHARED_0=""
34208 fi
34209
34210 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
34211 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
34212 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
34213 fi
34214
34215 COND_MONOLITHIC_0_SHARED_1="#"
34216 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
34217 COND_MONOLITHIC_0_SHARED_1=""
34218 fi
34219
34220 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
34221 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
34222 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
34223 fi
34224
34225 COND_MONOLITHIC_1="#"
34226 if test "x$MONOLITHIC" = "x1" ; then
34227 COND_MONOLITHIC_1=""
34228 fi
34229
34230 COND_MONOLITHIC_1_SHARED_0="#"
34231 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
34232 COND_MONOLITHIC_1_SHARED_0=""
34233 fi
34234
34235 COND_MONOLITHIC_1_SHARED_1="#"
34236 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
34237 COND_MONOLITHIC_1_SHARED_1=""
34238 fi
34239
34240 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
34241 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
34242 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
34243 fi
34244
34245 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
34246 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
34247 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
34248 fi
34249
34250 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
34251 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
34252 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
34253 fi
34254
34255 COND_PLATFORM_MACOSX_1="#"
34256 if test "x$PLATFORM_MACOSX" = "x1" ; then
34257 COND_PLATFORM_MACOSX_1=""
34258 fi
34259
34260 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
34261 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
34262 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
34263 fi
34264
34265 COND_PLATFORM_UNIX_1="#"
34266 if test "x$PLATFORM_UNIX" = "x1" ; then
34267 COND_PLATFORM_UNIX_1=""
34268 fi
34269
34270 COND_PLATFORM_WIN32_0="#"
34271 if test "x$PLATFORM_WIN32" = "x0" ; then
34272 COND_PLATFORM_WIN32_0=""
34273 fi
34274
34275 COND_PLATFORM_WIN32_1="#"
34276 if test "x$PLATFORM_WIN32" = "x1" ; then
34277 COND_PLATFORM_WIN32_1=""
34278 fi
34279
34280 COND_TOOLKIT_COCOA="#"
34281 if test "x$TOOLKIT" = "xCOCOA" ; then
34282 COND_TOOLKIT_COCOA=""
34283 fi
34284
34285 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
34286 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34287 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
34288 fi
34289
34290 COND_TOOLKIT_GTK="#"
34291 if test "x$TOOLKIT" = "xGTK" ; then
34292 COND_TOOLKIT_GTK=""
34293 fi
34294
34295 COND_TOOLKIT_GTK_USE_GUI_1="#"
34296 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
34297 COND_TOOLKIT_GTK_USE_GUI_1=""
34298 fi
34299
34300 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
34301 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34302 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
34303 fi
34304
34305 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1="#"
34306 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34307 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1=""
34308 fi
34309
34310 COND_TOOLKIT_MAC="#"
34311 if test "x$TOOLKIT" = "xMAC" ; then
34312 COND_TOOLKIT_MAC=""
34313 fi
34314
34315 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
34316 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34317 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
34318 fi
34319
34320 COND_TOOLKIT_MGL="#"
34321 if test "x$TOOLKIT" = "xMGL" ; then
34322 COND_TOOLKIT_MGL=""
34323 fi
34324
34325 COND_TOOLKIT_MGL_USE_GUI_1="#"
34326 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
34327 COND_TOOLKIT_MGL_USE_GUI_1=""
34328 fi
34329
34330 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1="#"
34331 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34332 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1=""
34333 fi
34334
34335 COND_TOOLKIT_MOTIF="#"
34336 if test "x$TOOLKIT" = "xMOTIF" ; then
34337 COND_TOOLKIT_MOTIF=""
34338 fi
34339
34340 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
34341 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
34342 COND_TOOLKIT_MOTIF_USE_GUI_1=""
34343 fi
34344
34345 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
34346 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34347 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
34348 fi
34349
34350 COND_TOOLKIT_MSW="#"
34351 if test "x$TOOLKIT" = "xMSW" ; then
34352 COND_TOOLKIT_MSW=""
34353 fi
34354
34355 COND_TOOLKIT_MSW_USE_GUI_1="#"
34356 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
34357 COND_TOOLKIT_MSW_USE_GUI_1=""
34358 fi
34359
34360 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
34361 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34362 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
34363 fi
34364
34365 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1="#"
34366 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34367 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1=""
34368 fi
34369
34370 COND_TOOLKIT_OS2="#"
34371 if test "x$TOOLKIT" = "xOS2" ; then
34372 COND_TOOLKIT_OS2=""
34373 fi
34374
34375 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0="#"
34376 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34377 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0=""
34378 fi
34379
34380 COND_TOOLKIT_X11="#"
34381 if test "x$TOOLKIT" = "xX11" ; then
34382 COND_TOOLKIT_X11=""
34383 fi
34384
34385 COND_TOOLKIT_X11_USE_GUI_1="#"
34386 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
34387 COND_TOOLKIT_X11_USE_GUI_1=""
34388 fi
34389
34390 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1="#"
34391 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34392 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1=""
34393 fi
34394
34395 COND_UNICODE_1="#"
34396 if test "x$UNICODE" = "x1" ; then
34397 COND_UNICODE_1=""
34398 fi
34399
34400 COND_USE_GUI_0="#"
34401 if test "x$USE_GUI" = "x0" ; then
34402 COND_USE_GUI_0=""
34403 fi
34404
34405 COND_USE_GUI_1="#"
34406 if test "x$USE_GUI" = "x1" ; then
34407 COND_USE_GUI_1=""
34408 fi
34409
34410 COND_USE_GUI_1_WXUNIV_0="#"
34411 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34412 COND_USE_GUI_1_WXUNIV_0=""
34413 fi
34414
34415 COND_USE_GUI_1_WXUNIV_1="#"
34416 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34417 COND_USE_GUI_1_WXUNIV_1=""
34418 fi
34419
34420 COND_USE_SOSYMLINKS_1="#"
34421 if test "x$USE_SOSYMLINKS" = "x1" ; then
34422 COND_USE_SOSYMLINKS_1=""
34423 fi
34424
34425 COND_USE_SOVERLINUX_1="#"
34426 if test "x$USE_SOVERLINUX" = "x1" ; then
34427 COND_USE_SOVERLINUX_1=""
34428 fi
34429
34430 COND_USE_SOVERSION_0="#"
34431 if test "x$USE_SOVERSION" = "x0" ; then
34432 COND_USE_SOVERSION_0=""
34433 fi
34434
34435 COND_USE_SOVERSOLARIS_1="#"
34436 if test "x$USE_SOVERSOLARIS" = "x1" ; then
34437 COND_USE_SOVERSOLARIS_1=""
34438 fi
34439
34440 COND_WXUNIV_1="#"
34441 if test "x$WXUNIV" = "x1" ; then
34442 COND_WXUNIV_1=""
34443 fi
34444
34445 COND_WXUSE_LIBJPEG_BUILTIN="#"
34446 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
34447 COND_WXUSE_LIBJPEG_BUILTIN=""
34448 fi
34449
34450 COND_WXUSE_LIBPNG_BUILTIN="#"
34451 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
34452 COND_WXUSE_LIBPNG_BUILTIN=""
34453 fi
34454
34455 COND_WXUSE_LIBTIFF_BUILTIN="#"
34456 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
34457 COND_WXUSE_LIBTIFF_BUILTIN=""
34458 fi
34459
34460 COND_WXUSE_ODBC_BUILTIN="#"
34461 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
34462 COND_WXUSE_ODBC_BUILTIN=""
34463 fi
34464
34465 COND_WXUSE_REGEX_BUILTIN="#"
34466 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
34467 COND_WXUSE_REGEX_BUILTIN=""
34468 fi
34469
34470 COND_WXUSE_ZLIB_BUILTIN="#"
34471 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
34472 COND_WXUSE_ZLIB_BUILTIN=""
34473 fi
34474
34475 COND_PLATFORM_MAC_1="#"
34476 if test "x$PLATFORM_MAC" = "x1" ; then
34477 COND_PLATFORM_MAC_1=""
34478 fi
34479
34480 COND_SHARED_1="#"
34481 if test "x$SHARED" = "x1" ; then
34482 COND_SHARED_1=""
34483 fi
34484
34485 COND_SHARED_0="#"
34486 if test "x$SHARED" = "x0" ; then
34487 COND_SHARED_0=""
34488 fi
34489
34490 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
34491 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
34492 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
34493 fi
34494
34495 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
34496 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
34497 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
34498 fi
34499
34500 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
34501 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
34502 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
34503 fi
34504
34505
34506
34507
34508
34509
34510SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
34511
34512
34513
34514
34515
34516
34517
34518
34519
34520
34521
34522
34523
34524
34525
34526
34527
34528
34529
34530
34531
34532
34533
34534
34535
34536
34537
34538
34539
34540
34541
34542
34543
34544
34545
34546
34547
34548
34549
34550
34551
34552
34553
34554
34555
34556
34557
34558
34559
34560
34561
34562
34563
34564
34565
34566
34567
34568
34569
34570
34571
34572
34573
34574
34575
34576
34577
34578
34579
34580
34581
34582
34583
34584
34585
34586
34587
34588
34589
34590
34591
34592
34593
34594
34595
34596
34597
34598
34599
34600
34601
34602
34603
34604
34605
34606
34607
34608
34609
34610
34611echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34612echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34613set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
34614if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34615 echo $ECHO_N "(cached) $ECHO_C" >&6
34616else
34617 cat >conftest.make <<\_ACEOF
34618all:
34619 @echo 'ac_maketemp="$(MAKE)"'
34620_ACEOF
34621# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34622eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34623if test -n "$ac_maketemp"; then
34624 eval ac_cv_prog_make_${ac_make}_set=yes
34625else
34626 eval ac_cv_prog_make_${ac_make}_set=no
34627fi
34628rm -f conftest.make
34629fi
34630if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34631 echo "$as_me:$LINENO: result: yes" >&5
34632echo "${ECHO_T}yes" >&6
34633 SET_MAKE=
34634else
34635 echo "$as_me:$LINENO: result: no" >&5
34636echo "${ECHO_T}no" >&6
34637 SET_MAKE="MAKE=${MAKE-make}"
34638fi
34639
34640
34641if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
34642 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
34643fi
34644
34645 ac_config_headers="$ac_config_headers setup.h"
34646
34647
34648 ac_config_files="$ac_config_files wx-config version-script Makefile"
34649
34650
34651 ac_config_commands="$ac_config_commands default"
34652
34653
34654
34655if test "$wxUSE_GUI" = "yes"; then
34656 SUBDIRS="samples demos utils contrib"
34657else SUBDIRS="samples utils"
34658fi
34659
34660for subdir in `echo $SUBDIRS`; do
34661 if test -d ${srcdir}/${subdir} ; then
34662 if test "$wxUSE_GUI" = "yes"; then
34663 if test ${subdir} = "samples"; then
34664 for sample in `echo $SAMPLES_SUBDIRS`; do
34665 if test -d $srcdir/samples/$sample; then
34666 makefiles="samples/$sample/Makefile.in $makefiles"
34667 fi
34668 done
34669 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
34670 fi
34671 else if test ${subdir} = "samples"; then
34672 makefiles="samples/console/Makefile.in"
34673 else makefiles="utils/HelpGen/Makefile.in \
34674 utils/HelpGen/src/Makefile.in \
34675 utils/makegen/Makefile.in"
34676 fi
34677 fi
34678
34679 for mkin in $makefiles ; do
34680 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
34681 ac_config_files="$ac_config_files $mk"
34682
34683 done
34684 fi
34685done
34686
34687
34688cat >confcache <<\_ACEOF
34689# This file is a shell script that caches the results of configure
34690# tests run on this system so they can be shared between configure
34691# scripts and configure runs, see configure's option --config-cache.
34692# It is not useful on other systems. If it contains results you don't
34693# want to keep, you may remove or edit it.
34694#
34695# config.status only pays attention to the cache file if you give it
34696# the --recheck option to rerun configure.
34697#
34698# `ac_cv_env_foo' variables (set or unset) will be overridden when
34699# loading this file, other *unset* `ac_cv_foo' will be assigned the
34700# following values.
34701
34702_ACEOF
34703
34704# The following way of writing the cache mishandles newlines in values,
34705# but we know of no workaround that is simple, portable, and efficient.
34706# So, don't put newlines in cache variables' values.
34707# Ultrix sh set writes to stderr and can't be redirected directly,
34708# and sets the high bit in the cache file unless we assign to the vars.
34709{
34710 (set) 2>&1 |
34711 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34712 *ac_space=\ *)
34713 # `set' does not quote correctly, so add quotes (double-quote
34714 # substitution turns \\\\ into \\, and sed turns \\ into \).
34715 sed -n \
34716 "s/'/'\\\\''/g;
34717 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34718 ;;
34719 *)
34720 # `set' quotes correctly as required by POSIX, so do not add quotes.
34721 sed -n \
34722 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34723 ;;
34724 esac;
34725} |
34726 sed '
34727 t clear
34728 : clear
34729 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34730 t end
34731 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34732 : end' >>confcache
34733if diff $cache_file confcache >/dev/null 2>&1; then :; else
34734 if test -w $cache_file; then
34735 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34736 cat confcache >$cache_file
34737 else
34738 echo "not updating unwritable cache $cache_file"
34739 fi
34740fi
34741rm -f confcache
34742
34743test "x$prefix" = xNONE && prefix=$ac_default_prefix
34744# Let make expand exec_prefix.
34745test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
34746
34747# VPATH may cause trouble with some makes, so we remove $(srcdir),
34748# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34749# trailing colons and then remove the whole line if VPATH becomes empty
34750# (actually we leave an empty line to preserve line numbers).
34751if test "x$srcdir" = x.; then
34752 ac_vpsub='/^[ ]*VPATH[ ]*=/{
34753s/:*\$(srcdir):*/:/;
34754s/:*\${srcdir}:*/:/;
34755s/:*@srcdir@:*/:/;
34756s/^\([^=]*=[ ]*\):*/\1/;
34757s/:*$//;
34758s/^[^=]*=[ ]*$//;
34759}'
34760fi
34761
34762DEFS=-DHAVE_CONFIG_H
34763
34764ac_libobjs=
34765ac_ltlibobjs=
34766for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
34767 # 1. Remove the extension, and $U if already installed.
34768 ac_i=`echo "$ac_i" |
34769 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
34770 # 2. Add them.
34771 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
34772 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
34773done
34774LIBOBJS=$ac_libobjs
34775
34776LTLIBOBJS=$ac_ltlibobjs
34777
34778
34779
34780: ${CONFIG_STATUS=./config.status}
34781ac_clean_files_save=$ac_clean_files
34782ac_clean_files="$ac_clean_files $CONFIG_STATUS"
34783{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
34784echo "$as_me: creating $CONFIG_STATUS" >&6;}
34785cat >$CONFIG_STATUS <<_ACEOF
34786#! $SHELL
34787# Generated by $as_me.
34788# Run this file to recreate the current configuration.
34789# Compiler output produced by configure, useful for debugging
34790# configure, is in config.log if it exists.
34791
34792debug=false
34793ac_cs_recheck=false
34794ac_cs_silent=false
34795SHELL=\${CONFIG_SHELL-$SHELL}
34796_ACEOF
34797
34798cat >>$CONFIG_STATUS <<\_ACEOF
34799## --------------------- ##
34800## M4sh Initialization. ##
34801## --------------------- ##
34802
34803# Be Bourne compatible
34804if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
34805 emulate sh
34806 NULLCMD=:
34807 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
34808 # is contrary to our usage. Disable this feature.
34809 alias -g '${1+"$@"}'='"$@"'
34810elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
34811 set -o posix
34812fi
34813
34814# Support unset when possible.
34815if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
34816 as_unset=unset
34817else
34818 as_unset=false
34819fi
34820
34821
34822# Work around bugs in pre-3.0 UWIN ksh.
34823$as_unset ENV MAIL MAILPATH
34824PS1='$ '
34825PS2='> '
34826PS4='+ '
34827
34828# NLS nuisances.
34829for as_var in \
34830 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
34831 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
34832 LC_TELEPHONE LC_TIME
34833do
34834 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
34835 eval $as_var=C; export $as_var
34836 else
34837 $as_unset $as_var
34838 fi
34839done
34840
34841# Required to use basename.
34842if expr a : '\(a\)' >/dev/null 2>&1; then
34843 as_expr=expr
34844else
34845 as_expr=false
34846fi
34847
34848if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
34849 as_basename=basename
34850else
34851 as_basename=false
34852fi
34853
34854
34855# Name of the executable.
34856as_me=`$as_basename "$0" ||
34857$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34858 X"$0" : 'X\(//\)$' \| \
34859 X"$0" : 'X\(/\)$' \| \
34860 . : '\(.\)' 2>/dev/null ||
34861echo X/"$0" |
34862 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
34863 /^X\/\(\/\/\)$/{ s//\1/; q; }
34864 /^X\/\(\/\).*/{ s//\1/; q; }
34865 s/.*/./; q'`
34866
34867
34868# PATH needs CR, and LINENO needs CR and PATH.
34869# Avoid depending upon Character Ranges.
34870as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34871as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34872as_cr_Letters=$as_cr_letters$as_cr_LETTERS
34873as_cr_digits='0123456789'
34874as_cr_alnum=$as_cr_Letters$as_cr_digits
34875
34876# The user is always right.
34877if test "${PATH_SEPARATOR+set}" != set; then
34878 echo "#! /bin/sh" >conf$$.sh
34879 echo "exit 0" >>conf$$.sh
34880 chmod +x conf$$.sh
34881 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
34882 PATH_SEPARATOR=';'
34883 else
34884 PATH_SEPARATOR=:
34885 fi
34886 rm -f conf$$.sh
34887fi
34888
34889
34890 as_lineno_1=$LINENO
34891 as_lineno_2=$LINENO
34892 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34893 test "x$as_lineno_1" != "x$as_lineno_2" &&
34894 test "x$as_lineno_3" = "x$as_lineno_2" || {
34895 # Find who we are. Look in the path if we contain no path at all
34896 # relative or not.
34897 case $0 in
34898 *[\\/]* ) as_myself=$0 ;;
34899 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34900for as_dir in $PATH
34901do
34902 IFS=$as_save_IFS
34903 test -z "$as_dir" && as_dir=.
34904 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
34905done
34906
34907 ;;
34908 esac
34909 # We did not find ourselves, most probably we were run as `sh COMMAND'
34910 # in which case we are not to be found in the path.
34911 if test "x$as_myself" = x; then
34912 as_myself=$0
34913 fi
34914 if test ! -f "$as_myself"; then
34915 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
34916echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
34917 { (exit 1); exit 1; }; }
34918 fi
34919 case $CONFIG_SHELL in
34920 '')
34921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34922for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
34923do
34924 IFS=$as_save_IFS
34925 test -z "$as_dir" && as_dir=.
34926 for as_base in sh bash ksh sh5; do
34927 case $as_dir in
34928 /*)
34929 if ("$as_dir/$as_base" -c '
34930 as_lineno_1=$LINENO
34931 as_lineno_2=$LINENO
34932 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34933 test "x$as_lineno_1" != "x$as_lineno_2" &&
34934 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
34935 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
34936 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
34937 CONFIG_SHELL=$as_dir/$as_base
34938 export CONFIG_SHELL
34939 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
34940 fi;;
34941 esac
34942 done
34943done
34944;;
34945 esac
34946
34947 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
34948 # uniformly replaced by the line number. The first 'sed' inserts a
34949 # line-number line before each line; the second 'sed' does the real
34950 # work. The second script uses 'N' to pair each line-number line
34951 # with the numbered line, and appends trailing '-' during
34952 # substitution so that $LINENO is not a special case at line end.
34953 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
34954 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
34955 sed '=' <$as_myself |
34956 sed '
34957 N
34958 s,$,-,
34959 : loop
34960 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
34961 t loop
34962 s,-$,,
34963 s,^['$as_cr_digits']*\n,,
34964 ' >$as_me.lineno &&
34965 chmod +x $as_me.lineno ||
34966 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
34967echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
34968 { (exit 1); exit 1; }; }
34969
34970 # Don't try to exec as it changes $[0], causing all sort of problems
34971 # (the dirname of $[0] is not the place where we might find the
34972 # original and so on. Autoconf is especially sensible to this).
34973 . ./$as_me.lineno
34974 # Exit status is that of the last command.
34975 exit
34976}
34977
34978
34979case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
34980 *c*,-n*) ECHO_N= ECHO_C='
34981' ECHO_T=' ' ;;
34982 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
34983 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
34984esac
34985
34986if expr a : '\(a\)' >/dev/null 2>&1; then
34987 as_expr=expr
34988else
34989 as_expr=false
34990fi
34991
34992rm -f conf$$ conf$$.exe conf$$.file
34993echo >conf$$.file
34994if ln -s conf$$.file conf$$ 2>/dev/null; then
34995 # We could just check for DJGPP; but this test a) works b) is more generic
34996 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
34997 if test -f conf$$.exe; then
34998 # Don't use ln at all; we don't have any links
34999 as_ln_s='cp -p'
35000 else
35001 as_ln_s='ln -s'
35002 fi
35003elif ln conf$$.file conf$$ 2>/dev/null; then
35004 as_ln_s=ln
35005else
35006 as_ln_s='cp -p'
35007fi
35008rm -f conf$$ conf$$.exe conf$$.file
35009
35010if mkdir -p . 2>/dev/null; then
35011 as_mkdir_p=:
35012else
35013 as_mkdir_p=false
35014fi
35015
35016as_executable_p="test -f"
35017
35018# Sed expression to map a string onto a valid CPP name.
35019as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
35020
35021# Sed expression to map a string onto a valid variable name.
35022as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
35023
35024
35025# IFS
35026# We need space, tab and new line, in precisely that order.
35027as_nl='
35028'
35029IFS=" $as_nl"
35030
35031# CDPATH.
35032$as_unset CDPATH
35033
35034exec 6>&1
35035
35036# Open the log real soon, to keep \$[0] and so on meaningful, and to
35037# report actual input values of CONFIG_FILES etc. instead of their
35038# values after options handling. Logging --version etc. is OK.
35039exec 5>>config.log
35040{
35041 echo
35042 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35043## Running $as_me. ##
35044_ASBOX
35045} >&5
35046cat >&5 <<_CSEOF
35047
35048This file was extended by wxWindows $as_me 2.5.0, which was
35049generated by GNU Autoconf 2.57. Invocation command line was
35050
35051 CONFIG_FILES = $CONFIG_FILES
35052 CONFIG_HEADERS = $CONFIG_HEADERS
35053 CONFIG_LINKS = $CONFIG_LINKS
35054 CONFIG_COMMANDS = $CONFIG_COMMANDS
35055 $ $0 $@
35056
35057_CSEOF
35058echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
35059echo >&5
35060_ACEOF
35061
35062# Files that config.status was made for.
35063if test -n "$ac_config_files"; then
35064 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
35065fi
35066
35067if test -n "$ac_config_headers"; then
35068 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
35069fi
35070
35071if test -n "$ac_config_links"; then
35072 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
35073fi
35074
35075if test -n "$ac_config_commands"; then
35076 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
35077fi
35078
35079cat >>$CONFIG_STATUS <<\_ACEOF
35080
35081ac_cs_usage="\
35082\`$as_me' instantiates files from templates according to the
35083current configuration.
35084
35085Usage: $0 [OPTIONS] [FILE]...
35086
35087 -h, --help print this help, then exit
35088 -V, --version print version number, then exit
35089 -q, --quiet do not print progress messages
35090 -d, --debug don't remove temporary files
35091 --recheck update $as_me by reconfiguring in the same conditions
35092 --file=FILE[:TEMPLATE]
35093 instantiate the configuration file FILE
35094 --header=FILE[:TEMPLATE]
35095 instantiate the configuration header FILE
35096
35097Configuration files:
35098$config_files
35099
35100Configuration headers:
35101$config_headers
35102
35103Configuration commands:
35104$config_commands
35105
35106Report bugs to <bug-autoconf@gnu.org>."
35107_ACEOF
35108
35109cat >>$CONFIG_STATUS <<_ACEOF
35110ac_cs_version="\\
35111wxWindows config.status 2.5.0
35112configured by $0, generated by GNU Autoconf 2.57,
35113 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
35114
35115Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
35116Free Software Foundation, Inc.
35117This config.status script is free software; the Free Software Foundation
35118gives unlimited permission to copy, distribute and modify it."
35119srcdir=$srcdir
35120INSTALL="$INSTALL"
35121_ACEOF
35122
35123cat >>$CONFIG_STATUS <<\_ACEOF
35124# If no file are specified by the user, then we need to provide default
35125# value. By we need to know if files were specified by the user.
35126ac_need_defaults=:
35127while test $# != 0
35128do
35129 case $1 in
35130 --*=*)
35131 ac_option=`expr "x$1" : 'x\([^=]*\)='`
35132 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
35133 ac_shift=:
35134 ;;
35135 -*)
35136 ac_option=$1
35137 ac_optarg=$2
35138 ac_shift=shift
35139 ;;
35140 *) # This is not an option, so the user has probably given explicit
35141 # arguments.
35142 ac_option=$1
35143 ac_need_defaults=false;;
35144 esac
35145
35146 case $ac_option in
35147 # Handling of the options.
35148_ACEOF
35149cat >>$CONFIG_STATUS <<\_ACEOF
35150 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35151 ac_cs_recheck=: ;;
35152 --version | --vers* | -V )
35153 echo "$ac_cs_version"; exit 0 ;;
35154 --he | --h)
35155 # Conflict between --help and --header
35156 { { echo "$as_me:$LINENO: error: ambiguous option: $1
35157Try \`$0 --help' for more information." >&5
35158echo "$as_me: error: ambiguous option: $1
35159Try \`$0 --help' for more information." >&2;}
35160 { (exit 1); exit 1; }; };;
35161 --help | --hel | -h )
35162 echo "$ac_cs_usage"; exit 0 ;;
35163 --debug | --d* | -d )
35164 debug=: ;;
35165 --file | --fil | --fi | --f )
35166 $ac_shift
35167 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
35168 ac_need_defaults=false;;
35169 --header | --heade | --head | --hea )
35170 $ac_shift
35171 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
35172 ac_need_defaults=false;;
35173 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35174 | -silent | --silent | --silen | --sile | --sil | --si | --s)
35175 ac_cs_silent=: ;;
35176
35177 # This is an error.
35178 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
35179Try \`$0 --help' for more information." >&5
35180echo "$as_me: error: unrecognized option: $1
35181Try \`$0 --help' for more information." >&2;}
35182 { (exit 1); exit 1; }; } ;;
35183
35184 *) ac_config_targets="$ac_config_targets $1" ;;
35185
35186 esac
35187 shift
35188done
35189
35190ac_configure_extra_args=
35191
35192if $ac_cs_silent; then
35193 exec 6>/dev/null
35194 ac_configure_extra_args="$ac_configure_extra_args --silent"
35195fi
35196
35197_ACEOF
35198cat >>$CONFIG_STATUS <<_ACEOF
35199if \$ac_cs_recheck; then
35200 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
35201 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
35202fi
35203
35204_ACEOF
35205
35206cat >>$CONFIG_STATUS <<_ACEOF
35207#
35208# INIT-COMMANDS section.
35209#
35210
35211
35212 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
35213 LN_S="${LN_S}"
35214
35215
35216
35217_ACEOF
35218
35219
35220
35221cat >>$CONFIG_STATUS <<\_ACEOF
35222for ac_config_target in $ac_config_targets
35223do
35224 case "$ac_config_target" in
35225 # Handling of arguments.
35226 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
35227 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
35228 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
35229 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
35230 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
35231 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
35232 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35233echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35234 { (exit 1); exit 1; }; };;
35235 esac
35236done
35237
35238# If the user did not use the arguments to specify the items to instantiate,
35239# then the envvar interface is used. Set only those that are not.
35240# We use the long form for the default assignment because of an extremely
35241# bizarre bug on SunOS 4.1.3.
35242if $ac_need_defaults; then
35243 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
35244 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
35245 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
35246fi
35247
35248# Have a temporary directory for convenience. Make it in the build tree
35249# simply because there is no reason to put it here, and in addition,
35250# creating and moving files from /tmp can sometimes cause problems.
35251# Create a temporary directory, and hook for its removal unless debugging.
35252$debug ||
35253{
35254 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
35255 trap '{ (exit 1); exit 1; }' 1 2 13 15
35256}
35257
35258# Create a (secure) tmp directory for tmp files.
35259
35260{
35261 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
35262 test -n "$tmp" && test -d "$tmp"
35263} ||
35264{
35265 tmp=./confstat$$-$RANDOM
35266 (umask 077 && mkdir $tmp)
35267} ||
35268{
35269 echo "$me: cannot create a temporary directory in ." >&2
35270 { (exit 1); exit 1; }
35271}
35272
35273_ACEOF
35274
35275cat >>$CONFIG_STATUS <<_ACEOF
35276
35277#
35278# CONFIG_FILES section.
35279#
35280
35281# No need to generate the scripts if there are no CONFIG_FILES.
35282# This happens for instance when ./config.status config.h
35283if test -n "\$CONFIG_FILES"; then
35284 # Protect against being on the right side of a sed subst in config.status.
35285 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
35286 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
35287s,@SHELL@,$SHELL,;t t
35288s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
35289s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
35290s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
35291s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
35292s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
35293s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
35294s,@exec_prefix@,$exec_prefix,;t t
35295s,@prefix@,$prefix,;t t
35296s,@program_transform_name@,$program_transform_name,;t t
35297s,@bindir@,$bindir,;t t
35298s,@sbindir@,$sbindir,;t t
35299s,@libexecdir@,$libexecdir,;t t
35300s,@datadir@,$datadir,;t t
35301s,@sysconfdir@,$sysconfdir,;t t
35302s,@sharedstatedir@,$sharedstatedir,;t t
35303s,@localstatedir@,$localstatedir,;t t
35304s,@libdir@,$libdir,;t t
35305s,@includedir@,$includedir,;t t
35306s,@oldincludedir@,$oldincludedir,;t t
35307s,@infodir@,$infodir,;t t
35308s,@mandir@,$mandir,;t t
35309s,@build_alias@,$build_alias,;t t
35310s,@host_alias@,$host_alias,;t t
35311s,@target_alias@,$target_alias,;t t
35312s,@DEFS@,$DEFS,;t t
35313s,@ECHO_C@,$ECHO_C,;t t
35314s,@ECHO_N@,$ECHO_N,;t t
35315s,@ECHO_T@,$ECHO_T,;t t
35316s,@LIBS@,$LIBS,;t t
35317s,@build@,$build,;t t
35318s,@build_cpu@,$build_cpu,;t t
35319s,@build_vendor@,$build_vendor,;t t
35320s,@build_os@,$build_os,;t t
35321s,@host@,$host,;t t
35322s,@host_cpu@,$host_cpu,;t t
35323s,@host_vendor@,$host_vendor,;t t
35324s,@host_os@,$host_os,;t t
35325s,@target@,$target,;t t
35326s,@target_cpu@,$target_cpu,;t t
35327s,@target_vendor@,$target_vendor,;t t
35328s,@target_os@,$target_os,;t t
35329s,@CC@,$CC,;t t
35330s,@CFLAGS@,$CFLAGS,;t t
35331s,@LDFLAGS@,$LDFLAGS,;t t
35332s,@CPPFLAGS@,$CPPFLAGS,;t t
35333s,@ac_ct_CC@,$ac_ct_CC,;t t
35334s,@EXEEXT@,$EXEEXT,;t t
35335s,@OBJEXT@,$OBJEXT,;t t
35336s,@CPP@,$CPP,;t t
35337s,@EGREP@,$EGREP,;t t
35338s,@CXX@,$CXX,;t t
35339s,@CXXFLAGS@,$CXXFLAGS,;t t
35340s,@ac_ct_CXX@,$ac_ct_CXX,;t t
35341s,@RANLIB@,$RANLIB,;t t
35342s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
35343s,@AR@,$AR,;t t
35344s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
35345s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
35346s,@INSTALL_DATA@,$INSTALL_DATA,;t t
35347s,@STRIP@,$STRIP,;t t
35348s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
35349s,@YACC@,$YACC,;t t
35350s,@LEX@,$LEX,;t t
35351s,@LEXLIB@,$LEXLIB,;t t
35352s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
35353s,@LN_S@,$LN_S,;t t
35354s,@CXXCPP@,$CXXCPP,;t t
35355s,@PKG_CONFIG@,$PKG_CONFIG,;t t
35356s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
35357s,@GTK_LIBS@,$GTK_LIBS,;t t
35358s,@GTK_CONFIG@,$GTK_CONFIG,;t t
35359s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
35360s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
35361s,@X_CFLAGS@,$X_CFLAGS,;t t
35362s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
35363s,@X_LIBS@,$X_LIBS,;t t
35364s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
35365s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
35366s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
35367s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
35368s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
35369s,@RESCOMP@,$RESCOMP,;t t
35370s,@DEREZ@,$DEREZ,;t t
35371s,@SETFILE@,$SETFILE,;t t
35372s,@LIBICONV@,$LIBICONV,;t t
35373s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
35374s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
35375s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
35376s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
35377s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
35378s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
35379s,@VENDOR@,$VENDOR,;t t
35380s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
35381s,@WXUNIV@,$WXUNIV,;t t
35382s,@MONOLITHIC@,$MONOLITHIC,;t t
35383s,@EXTRALIBS@,$EXTRALIBS,;t t
35384s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
35385s,@UNICODE@,$UNICODE,;t t
35386s,@BUILD@,$BUILD,;t t
35387s,@SHARED@,$SHARED,;t t
35388s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
35389s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
35390s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
35391s,@SET_MAKE@,$SET_MAKE,;t t
35392s,@MAKE_SET@,$MAKE_SET,;t t
35393s,@INSTALL_DIR@,$INSTALL_DIR,;t t
35394s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
35395s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
35396s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
35397s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
35398s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
35399s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
35400s,@SO_SUFFIX@,$SO_SUFFIX,;t t
35401s,@DLLPREFIX@,$DLLPREFIX,;t t
35402s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
35403s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
35404s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
35405s,@PIC_FLAG@,$PIC_FLAG,;t t
35406s,@USE_SOVERSION@,$USE_SOVERSION,;t t
35407s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
35408s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
35409s,@USE_MACVERSION@,$USE_MACVERSION,;t t
35410s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
35411s,@SONAME_FLAG@,$SONAME_FLAG,;t t
35412s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
35413s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
35414s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
35415s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
35416s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
35417s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
35418s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
35419s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
35420s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
35421s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
35422s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
35423s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
35424s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
35425s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
35426s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
35427s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
35428s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
35429s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
35430s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
35431s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
35432s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
35433s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
35434s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
35435s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
35436s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
35437s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
35438s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1,;t t
35439s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
35440s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
35441s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
35442s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
35443s,@COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1,;t t
35444s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
35445s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
35446s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
35447s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
35448s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
35449s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
35450s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1,;t t
35451s,@COND_TOOLKIT_OS2@,$COND_TOOLKIT_OS2,;t t
35452s,@COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0,;t t
35453s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
35454s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
35455s,@COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1,;t t
35456s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
35457s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
35458s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
35459s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
35460s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
35461s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
35462s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
35463s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
35464s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
35465s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
35466s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
35467s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
35468s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
35469s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
35470s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
35471s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
35472s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
35473s,@COND_SHARED_1@,$COND_SHARED_1,;t t
35474s,@COND_SHARED_0@,$COND_SHARED_0,;t t
35475s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
35476s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
35477s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
35478s,@LEX_STEM@,$LEX_STEM,;t t
35479s,@PATH_IFS@,$PATH_IFS,;t t
35480s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
35481s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
35482s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
35483s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
35484s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
35485s,@WX_LIBRARY_BASENAME@,$WX_LIBRARY_BASENAME,;t t
35486s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
35487s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
35488s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
35489s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
35490s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
35491s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
35492s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
35493s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
35494s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
35495s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
35496s,@WX_ALL@,$WX_ALL,;t t
35497s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
35498s,@SHARED_LD@,$SHARED_LD,;t t
35499s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
35500s,@STATIC_FLAG@,$STATIC_FLAG,;t t
35501s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
35502s,@USE_GUI@,$USE_GUI,;t t
35503s,@AFMINSTALL@,$AFMINSTALL,;t t
35504s,@WIN32INSTALL@,$WIN32INSTALL,;t t
35505s,@TOOLKIT@,$TOOLKIT,;t t
35506s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
35507s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
35508s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
35509s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
35510s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
35511s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
35512s,@cross_compiling@,$cross_compiling,;t t
35513s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
35514s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
35515s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
35516s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
35517s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
35518s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
35519s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
35520s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
35521s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
35522s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
35523s,@ALL_HEADERS@,$ALL_HEADERS,;t t
35524s,@ALL_SOURCES@,$ALL_SOURCES,;t t
35525s,@GUIDIST@,$GUIDIST,;t t
35526s,@PORT_FILES@,$PORT_FILES,;t t
35527s,@DISTDIR@,$DISTDIR,;t t
35528s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
35529s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
35530s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
35531s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
35532s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
35533s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
35534s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
35535s,@RESFLAGS@,$RESFLAGS,;t t
35536s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
35537s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
35538s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
35539s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
35540s,@LIBWXMACRES@,$LIBWXMACRES,;t t
35541s,@MACRESCOMP@,$MACRESCOMP,;t t
35542s,@MACSETFILE@,$MACSETFILE,;t t
35543s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
35544s,@GCC@,$GCC,;t t
35545s,@DLLTOOL@,$DLLTOOL,;t t
35546s,@AS@,$AS,;t t
35547s,@NM@,$NM,;t t
35548s,@LD@,$LD,;t t
35549s,@MAKEINFO@,$MAKEINFO,;t t
35550s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
35551s,@ESD_LINK@,$ESD_LINK,;t t
35552s,@LIBOBJS@,$LIBOBJS,;t t
35553s,@LTLIBOBJS@,$LTLIBOBJS,;t t
35554CEOF
35555
35556_ACEOF
35557
35558 cat >>$CONFIG_STATUS <<\_ACEOF
35559 # Split the substitutions into bite-sized pieces for seds with
35560 # small command number limits, like on Digital OSF/1 and HP-UX.
35561 ac_max_sed_lines=48
35562 ac_sed_frag=1 # Number of current file.
35563 ac_beg=1 # First line for current file.
35564 ac_end=$ac_max_sed_lines # Line after last line for current file.
35565 ac_more_lines=:
35566 ac_sed_cmds=
35567 while $ac_more_lines; do
35568 if test $ac_beg -gt 1; then
35569 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35570 else
35571 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35572 fi
35573 if test ! -s $tmp/subs.frag; then
35574 ac_more_lines=false
35575 else
35576 # The purpose of the label and of the branching condition is to
35577 # speed up the sed processing (if there are no `@' at all, there
35578 # is no need to browse any of the substitutions).
35579 # These are the two extra sed commands mentioned above.
35580 (echo ':t
35581 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
35582 if test -z "$ac_sed_cmds"; then
35583 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
35584 else
35585 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
35586 fi
35587 ac_sed_frag=`expr $ac_sed_frag + 1`
35588 ac_beg=$ac_end
35589 ac_end=`expr $ac_end + $ac_max_sed_lines`
35590 fi
35591 done
35592 if test -z "$ac_sed_cmds"; then
35593 ac_sed_cmds=cat
35594 fi
35595fi # test -n "$CONFIG_FILES"
35596
35597_ACEOF
35598cat >>$CONFIG_STATUS <<\_ACEOF
35599for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
35600 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35601 case $ac_file in
35602 - | *:- | *:-:* ) # input from stdin
35603 cat >$tmp/stdin
35604 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35605 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35606 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35607 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35608 * ) ac_file_in=$ac_file.in ;;
35609 esac
35610
35611 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
35612 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35613$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35614 X"$ac_file" : 'X\(//\)[^/]' \| \
35615 X"$ac_file" : 'X\(//\)$' \| \
35616 X"$ac_file" : 'X\(/\)' \| \
35617 . : '\(.\)' 2>/dev/null ||
35618echo X"$ac_file" |
35619 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35620 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35621 /^X\(\/\/\)$/{ s//\1/; q; }
35622 /^X\(\/\).*/{ s//\1/; q; }
35623 s/.*/./; q'`
35624 { if $as_mkdir_p; then
35625 mkdir -p "$ac_dir"
35626 else
35627 as_dir="$ac_dir"
35628 as_dirs=
35629 while test ! -d "$as_dir"; do
35630 as_dirs="$as_dir $as_dirs"
35631 as_dir=`(dirname "$as_dir") 2>/dev/null ||
35632$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35633 X"$as_dir" : 'X\(//\)[^/]' \| \
35634 X"$as_dir" : 'X\(//\)$' \| \
35635 X"$as_dir" : 'X\(/\)' \| \
35636 . : '\(.\)' 2>/dev/null ||
35637echo X"$as_dir" |
35638 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35639 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35640 /^X\(\/\/\)$/{ s//\1/; q; }
35641 /^X\(\/\).*/{ s//\1/; q; }
35642 s/.*/./; q'`
35643 done
35644 test ! -n "$as_dirs" || mkdir $as_dirs
35645 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35646echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35647 { (exit 1); exit 1; }; }; }
35648
35649 ac_builddir=.
35650
35651if test "$ac_dir" != .; then
35652 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35653 # A "../" for each directory in $ac_dir_suffix.
35654 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35655else
35656 ac_dir_suffix= ac_top_builddir=
35657fi
35658
35659case $srcdir in
35660 .) # No --srcdir option. We are building in place.
35661 ac_srcdir=.
35662 if test -z "$ac_top_builddir"; then
35663 ac_top_srcdir=.
35664 else
35665 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
35666 fi ;;
35667 [\\/]* | ?:[\\/]* ) # Absolute path.
35668 ac_srcdir=$srcdir$ac_dir_suffix;
35669 ac_top_srcdir=$srcdir ;;
35670 *) # Relative path.
35671 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
35672 ac_top_srcdir=$ac_top_builddir$srcdir ;;
35673esac
35674# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
35675# absolute.
35676ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
35677ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
35678ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
35679ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
35680
35681
35682 case $INSTALL in
35683 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
35684 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
35685 esac
35686
35687 if test x"$ac_file" != x-; then
35688 { echo "$as_me:$LINENO: creating $ac_file" >&5
35689echo "$as_me: creating $ac_file" >&6;}
35690 rm -f "$ac_file"
35691 fi
35692 # Let's still pretend it is `configure' which instantiates (i.e., don't
35693 # use $as_me), people would be surprised to read:
35694 # /* config.h. Generated by config.status. */
35695 if test x"$ac_file" = x-; then
35696 configure_input=
35697 else
35698 configure_input="$ac_file. "
35699 fi
35700 configure_input=$configure_input"Generated from `echo $ac_file_in |
35701 sed 's,.*/,,'` by configure."
35702
35703 # First look for the input files in the build tree, otherwise in the
35704 # src tree.
35705 ac_file_inputs=`IFS=:
35706 for f in $ac_file_in; do
35707 case $f in
35708 -) echo $tmp/stdin ;;
35709 [\\/$]*)
35710 # Absolute (can't be DOS-style, as IFS=:)
35711 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35712echo "$as_me: error: cannot find input file: $f" >&2;}
35713 { (exit 1); exit 1; }; }
35714 echo $f;;
35715 *) # Relative
35716 if test -f "$f"; then
35717 # Build tree
35718 echo $f
35719 elif test -f "$srcdir/$f"; then
35720 # Source tree
35721 echo $srcdir/$f
35722 else
35723 # /dev/null tree
35724 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35725echo "$as_me: error: cannot find input file: $f" >&2;}
35726 { (exit 1); exit 1; }; }
35727 fi;;
35728 esac
35729 done` || { (exit 1); exit 1; }
35730_ACEOF
35731cat >>$CONFIG_STATUS <<_ACEOF
35732 sed "$ac_vpsub
35733$extrasub
35734_ACEOF
35735cat >>$CONFIG_STATUS <<\_ACEOF
35736:t
35737/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
35738s,@configure_input@,$configure_input,;t t
35739s,@srcdir@,$ac_srcdir,;t t
35740s,@abs_srcdir@,$ac_abs_srcdir,;t t
35741s,@top_srcdir@,$ac_top_srcdir,;t t
35742s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
35743s,@builddir@,$ac_builddir,;t t
35744s,@abs_builddir@,$ac_abs_builddir,;t t
35745s,@top_builddir@,$ac_top_builddir,;t t
35746s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
35747s,@INSTALL@,$ac_INSTALL,;t t
35748" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
35749 rm -f $tmp/stdin
35750 if test x"$ac_file" != x-; then
35751 mv $tmp/out $ac_file
35752 else
35753 cat $tmp/out
35754 rm -f $tmp/out
35755 fi
35756
35757done
35758_ACEOF
35759cat >>$CONFIG_STATUS <<\_ACEOF
35760
35761#
35762# CONFIG_HEADER section.
35763#
35764
35765# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
35766# NAME is the cpp macro being defined and VALUE is the value it is being given.
35767#
35768# ac_d sets the value in "#define NAME VALUE" lines.
35769ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
35770ac_dB='[ ].*$,\1#\2'
35771ac_dC=' '
35772ac_dD=',;t'
35773# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
35774ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
35775ac_uB='$,\1#\2define\3'
35776ac_uC=' '
35777ac_uD=',;t'
35778
35779for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
35780 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35781 case $ac_file in
35782 - | *:- | *:-:* ) # input from stdin
35783 cat >$tmp/stdin
35784 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35785 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35786 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35787 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35788 * ) ac_file_in=$ac_file.in ;;
35789 esac
35790
35791 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
35792echo "$as_me: creating $ac_file" >&6;}
35793
35794 # First look for the input files in the build tree, otherwise in the
35795 # src tree.
35796 ac_file_inputs=`IFS=:
35797 for f in $ac_file_in; do
35798 case $f in
35799 -) echo $tmp/stdin ;;
35800 [\\/$]*)
35801 # Absolute (can't be DOS-style, as IFS=:)
35802 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35803echo "$as_me: error: cannot find input file: $f" >&2;}
35804 { (exit 1); exit 1; }; }
35805 echo $f;;
35806 *) # Relative
35807 if test -f "$f"; then
35808 # Build tree
35809 echo $f
35810 elif test -f "$srcdir/$f"; then
35811 # Source tree
35812 echo $srcdir/$f
35813 else
35814 # /dev/null tree
35815 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35816echo "$as_me: error: cannot find input file: $f" >&2;}
35817 { (exit 1); exit 1; }; }
35818 fi;;
35819 esac
35820 done` || { (exit 1); exit 1; }
35821 # Remove the trailing spaces.
35822 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
35823
35824_ACEOF
35825
35826# Transform confdefs.h into two sed scripts, `conftest.defines' and
35827# `conftest.undefs', that substitutes the proper values into
35828# config.h.in to produce config.h. The first handles `#define'
35829# templates, and the second `#undef' templates.
35830# And first: Protect against being on the right side of a sed subst in
35831# config.status. Protect against being in an unquoted here document
35832# in config.status.
35833rm -f conftest.defines conftest.undefs
35834# Using a here document instead of a string reduces the quoting nightmare.
35835# Putting comments in sed scripts is not portable.
35836#
35837# `end' is used to avoid that the second main sed command (meant for
35838# 0-ary CPP macros) applies to n-ary macro definitions.
35839# See the Autoconf documentation for `clear'.
35840cat >confdef2sed.sed <<\_ACEOF
35841s/[\\&,]/\\&/g
35842s,[\\$`],\\&,g
35843t clear
35844: clear
35845s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
35846t end
35847s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
35848: end
35849_ACEOF
35850# If some macros were called several times there might be several times
35851# the same #defines, which is useless. Nevertheless, we may not want to
35852# sort them, since we want the *last* AC-DEFINE to be honored.
35853uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
35854sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
35855rm -f confdef2sed.sed
35856
35857# This sed command replaces #undef with comments. This is necessary, for
35858# example, in the case of _POSIX_SOURCE, which is predefined and required
35859# on some systems where configure will not decide to define it.
35860cat >>conftest.undefs <<\_ACEOF
35861s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
35862_ACEOF
35863
35864# Break up conftest.defines because some shells have a limit on the size
35865# of here documents, and old seds have small limits too (100 cmds).
35866echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
35867echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
35868echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
35869echo ' :' >>$CONFIG_STATUS
35870rm -f conftest.tail
35871while grep . conftest.defines >/dev/null
35872do
35873 # Write a limited-size here document to $tmp/defines.sed.
35874 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
35875 # Speed up: don't consider the non `#define' lines.
35876 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
35877 # Work around the forget-to-reset-the-flag bug.
35878 echo 't clr' >>$CONFIG_STATUS
35879 echo ': clr' >>$CONFIG_STATUS
35880 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
35881 echo 'CEOF
35882 sed -f $tmp/defines.sed $tmp/in >$tmp/out
35883 rm -f $tmp/in
35884 mv $tmp/out $tmp/in
35885' >>$CONFIG_STATUS
35886 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
35887 rm -f conftest.defines
35888 mv conftest.tail conftest.defines
35889done
35890rm -f conftest.defines
35891echo ' fi # grep' >>$CONFIG_STATUS
35892echo >>$CONFIG_STATUS
35893
35894# Break up conftest.undefs because some shells have a limit on the size
35895# of here documents, and old seds have small limits too (100 cmds).
35896echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
35897rm -f conftest.tail
35898while grep . conftest.undefs >/dev/null
35899do
35900 # Write a limited-size here document to $tmp/undefs.sed.
35901 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
35902 # Speed up: don't consider the non `#undef'
35903 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
35904 # Work around the forget-to-reset-the-flag bug.
35905 echo 't clr' >>$CONFIG_STATUS
35906 echo ': clr' >>$CONFIG_STATUS
35907 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
35908 echo 'CEOF
35909 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
35910 rm -f $tmp/in
35911 mv $tmp/out $tmp/in
35912' >>$CONFIG_STATUS
35913 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
35914 rm -f conftest.undefs
35915 mv conftest.tail conftest.undefs
35916done
35917rm -f conftest.undefs
35918
35919cat >>$CONFIG_STATUS <<\_ACEOF
35920 # Let's still pretend it is `configure' which instantiates (i.e., don't
35921 # use $as_me), people would be surprised to read:
35922 # /* config.h. Generated by config.status. */
35923 if test x"$ac_file" = x-; then
35924 echo "/* Generated by configure. */" >$tmp/config.h
35925 else
35926 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
35927 fi
35928 cat $tmp/in >>$tmp/config.h
35929 rm -f $tmp/in
35930 if test x"$ac_file" != x-; then
35931 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
35932 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
35933echo "$as_me: $ac_file is unchanged" >&6;}
35934 else
35935 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35936$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35937 X"$ac_file" : 'X\(//\)[^/]' \| \
35938 X"$ac_file" : 'X\(//\)$' \| \
35939 X"$ac_file" : 'X\(/\)' \| \
35940 . : '\(.\)' 2>/dev/null ||
35941echo X"$ac_file" |
35942 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35943 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35944 /^X\(\/\/\)$/{ s//\1/; q; }
35945 /^X\(\/\).*/{ s//\1/; q; }
35946 s/.*/./; q'`
35947 { if $as_mkdir_p; then
35948 mkdir -p "$ac_dir"
35949 else
35950 as_dir="$ac_dir"
35951 as_dirs=
35952 while test ! -d "$as_dir"; do
35953 as_dirs="$as_dir $as_dirs"
35954 as_dir=`(dirname "$as_dir") 2>/dev/null ||
35955$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35956 X"$as_dir" : 'X\(//\)[^/]' \| \
35957 X"$as_dir" : 'X\(//\)$' \| \
35958 X"$as_dir" : 'X\(/\)' \| \
35959 . : '\(.\)' 2>/dev/null ||
35960echo X"$as_dir" |
35961 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35962 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35963 /^X\(\/\/\)$/{ s//\1/; q; }
35964 /^X\(\/\).*/{ s//\1/; q; }
35965 s/.*/./; q'`
35966 done
35967 test ! -n "$as_dirs" || mkdir $as_dirs
35968 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35969echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35970 { (exit 1); exit 1; }; }; }
35971
35972 rm -f $ac_file
35973 mv $tmp/config.h $ac_file
35974 fi
35975 else
35976 cat $tmp/config.h
35977 rm -f $tmp/config.h
35978 fi
35979done
35980_ACEOF
35981cat >>$CONFIG_STATUS <<\_ACEOF
35982
35983#
35984# CONFIG_COMMANDS section.
35985#
35986for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
35987 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
35988 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
35989 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
35990$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35991 X"$ac_dest" : 'X\(//\)[^/]' \| \
35992 X"$ac_dest" : 'X\(//\)$' \| \
35993 X"$ac_dest" : 'X\(/\)' \| \
35994 . : '\(.\)' 2>/dev/null ||
35995echo X"$ac_dest" |
35996 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35997 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35998 /^X\(\/\/\)$/{ s//\1/; q; }
35999 /^X\(\/\).*/{ s//\1/; q; }
36000 s/.*/./; q'`
36001 ac_builddir=.
36002
36003if test "$ac_dir" != .; then
36004 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36005 # A "../" for each directory in $ac_dir_suffix.
36006 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36007else
36008 ac_dir_suffix= ac_top_builddir=
36009fi
36010
36011case $srcdir in
36012 .) # No --srcdir option. We are building in place.
36013 ac_srcdir=.
36014 if test -z "$ac_top_builddir"; then
36015 ac_top_srcdir=.
36016 else
36017 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36018 fi ;;
36019 [\\/]* | ?:[\\/]* ) # Absolute path.
36020 ac_srcdir=$srcdir$ac_dir_suffix;
36021 ac_top_srcdir=$srcdir ;;
36022 *) # Relative path.
36023 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36024 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36025esac
36026# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36027# absolute.
36028ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36029ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36030ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36031ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36032
36033
36034 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
36035echo "$as_me: executing $ac_dest commands" >&6;}
36036 case $ac_dest in
36037 default )
36038 if test ! -h wx-config; then
36039 chmod +x wx-config
36040 mv wx-config wx${TOOLCHAIN_NAME}-config
36041 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
36042 fi
36043
36044 if test ! -d lib; then
36045 mkdir lib
36046 fi
36047 if test ! -d lib/wx; then
36048 mkdir lib/wx
36049 fi
36050 if test ! -d lib/wx/include; then
36051 mkdir lib/wx/include
36052 fi
36053 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
36054 mkdir lib/wx/include/${TOOLCHAIN_NAME}
36055 fi
36056 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
36057 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
36058 fi
36059 if test -f setup.h; then
36060 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
36061 fi
36062 ;;
36063 esac
36064done
36065_ACEOF
36066
36067cat >>$CONFIG_STATUS <<\_ACEOF
36068
36069{ (exit 0); exit 0; }
36070_ACEOF
36071chmod +x $CONFIG_STATUS
36072ac_clean_files=$ac_clean_files_save
36073
36074
36075# configure is writing to config.log, and then calls config.status.
36076# config.status does its own redirection, appending to config.log.
36077# Unfortunately, on DOS this fails, as config.log is still kept open
36078# by configure, so config.status won't be able to write to it; its
36079# output is simply discarded. So we exec the FD to /dev/null,
36080# effectively closing config.log, so it can be properly (re)opened and
36081# appended to by config.status. When coming back to configure, we
36082# need to make the FD available again.
36083if test "$no_create" != yes; then
36084 ac_cs_success=:
36085 ac_config_status_args=
36086 test "$silent" = yes &&
36087 ac_config_status_args="$ac_config_status_args --quiet"
36088 exec 5>/dev/null
36089 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
36090 exec 5>>config.log
36091 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36092 # would make configure fail if this is the last instruction.
36093 $ac_cs_success || { (exit 1); exit 1; }
36094fi
36095
36096
36097echo
36098echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
36099echo ""
36100echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
36101echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
36102
36103echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
36104echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
36105echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
36106
36107echo " What level of wxWindows compatibility should be enabled?"
36108echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
36109echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
36110echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
36111
36112echo " Which libraries should wxWindows use?"
36113echo " jpeg ${wxUSE_LIBJPEG-none}"
36114echo " png ${wxUSE_LIBPNG-none}"
36115echo " regex ${wxUSE_REGEX}"
36116echo " tiff ${wxUSE_LIBTIFF-none}"
36117echo " zlib ${wxUSE_ZLIB}"
36118echo " odbc ${wxUSE_ODBC}"
36119
36120echo ""
36121