]> git.saurik.com Git - wxWidgets.git/blame_incremental - configure
updated the RPMs
[wxWidgets.git] / configure
... / ...
CommitLineData
1#! /bin/sh
2# From configure.in Id: configure.in.
3# Guess values for system-dependent variables and create Makefiles.
4# Generated by GNU Autoconf 2.57 for wxWindows 2.5.0.
5#
6# Report bugs to <wx-dev@lists.wxwindows.org>.
7#
8# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
9# Free Software Foundation, Inc.
10# This configure script is free software; the Free Software Foundation
11# gives unlimited permission to copy, distribute and modify it.
12## --------------------- ##
13## M4sh Initialization. ##
14## --------------------- ##
15
16# Be Bourne compatible
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 set -o posix
25fi
26
27# Support unset when possible.
28if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
29 as_unset=unset
30else
31 as_unset=false
32fi
33
34
35# Work around bugs in pre-3.0 UWIN ksh.
36$as_unset ENV MAIL MAILPATH
37PS1='$ '
38PS2='> '
39PS4='+ '
40
41# NLS nuisances.
42for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46do
47 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52done
53
54# Required to use basename.
55if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57else
58 as_expr=false
59fi
60
61if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63else
64 as_basename=false
65fi
66
67
68# Name of the executable.
69as_me=`$as_basename "$0" ||
70$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81# PATH needs CR, and LINENO needs CR and PATH.
82# Avoid depending upon Character Ranges.
83as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86as_cr_digits='0123456789'
87as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89# The user is always right.
90if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113for as_dir in $PATH
114do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155done
156;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187}
188
189
190case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195esac
196
197if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199else
200 as_expr=false
201fi
202
203rm -f conf$$ conf$$.exe conf$$.file
204echo >conf$$.file
205if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216else
217 as_ln_s='cp -p'
218fi
219rm -f conf$$ conf$$.exe conf$$.file
220
221if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223else
224 as_mkdir_p=false
225fi
226
227as_executable_p="test -f"
228
229# Sed expression to map a string onto a valid CPP name.
230as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231
232# Sed expression to map a string onto a valid variable name.
233as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234
235
236# IFS
237# We need space, tab and new line, in precisely that order.
238as_nl='
239'
240IFS=" $as_nl"
241
242# CDPATH.
243$as_unset CDPATH
244
245
246# Name of the host.
247# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248# so uname gets run too.
249ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
251exec 6>&1
252
253#
254# Initializations.
255#
256ac_default_prefix=/usr/local
257ac_config_libobj_dir=.
258cross_compiling=no
259subdirs=
260MFLAGS=
261MAKEFLAGS=
262SHELL=${CONFIG_SHELL-/bin/sh}
263
264# Maximum number of lines to put in a shell here document.
265# This variable seems obsolete. It should probably be removed, and
266# only ac_max_sed_lines should be used.
267: ${ac_max_here_lines=38}
268
269# Identity of this package.
270PACKAGE_NAME='wxWindows'
271PACKAGE_TARNAME='wxwindows'
272PACKAGE_VERSION='2.5.0'
273PACKAGE_STRING='wxWindows 2.5.0'
274PACKAGE_BUGREPORT='wx-dev@lists.wxwindows.org'
275
276ac_unique_file="wx-config.in"
277# Factoring default headers for most tests.
278ac_includes_default="\
279#include <stdio.h>
280#if HAVE_SYS_TYPES_H
281# include <sys/types.h>
282#endif
283#if HAVE_SYS_STAT_H
284# include <sys/stat.h>
285#endif
286#if STDC_HEADERS
287# include <stdlib.h>
288# include <stddef.h>
289#else
290# if HAVE_STDLIB_H
291# include <stdlib.h>
292# endif
293#endif
294#if HAVE_STRING_H
295# if !STDC_HEADERS && HAVE_MEMORY_H
296# include <memory.h>
297# endif
298# include <string.h>
299#endif
300#if HAVE_STRINGS_H
301# include <strings.h>
302#endif
303#if HAVE_INTTYPES_H
304# include <inttypes.h>
305#else
306# if HAVE_STDINT_H
307# include <stdint.h>
308# endif
309#endif
310#if HAVE_UNISTD_H
311# include <unistd.h>
312#endif"
313
314ac_subdirs_all="$ac_subdirs_all src/expat"
315ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC EXTRALIBS EXTRALIBS_XML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX SET_MAKE MAKE_SET INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX PLATFORM_OS2 SO_SUFFIX SO_SUFFIX_MODULE LIBPREFIX DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_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_OS2 COND_TOOLKIT_OS2_USE_GUI_1 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_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_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI 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_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI 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 LIBOBJS LTLIBOBJS'
316ac_subst_files=''
317
318# Initialize some variables set by options.
319ac_init_help=
320ac_init_version=false
321# The variables have the same names as the options, with
322# dashes changed to underlines.
323cache_file=/dev/null
324exec_prefix=NONE
325no_create=
326no_recursion=
327prefix=NONE
328program_prefix=NONE
329program_suffix=NONE
330program_transform_name=s,x,x,
331silent=
332site=
333srcdir=
334verbose=
335x_includes=NONE
336x_libraries=NONE
337
338# Installation directory options.
339# These are left unexpanded so users can "make install exec_prefix=/foo"
340# and all the variables that are supposed to be based on exec_prefix
341# by default will actually change.
342# Use braces instead of parens because sh, perl, etc. also accept them.
343bindir='${exec_prefix}/bin'
344sbindir='${exec_prefix}/sbin'
345libexecdir='${exec_prefix}/libexec'
346datadir='${prefix}/share'
347sysconfdir='${prefix}/etc'
348sharedstatedir='${prefix}/com'
349localstatedir='${prefix}/var'
350libdir='${exec_prefix}/lib'
351includedir='${prefix}/include'
352oldincludedir='/usr/include'
353infodir='${prefix}/info'
354mandir='${prefix}/man'
355
356ac_prev=
357for ac_option
358do
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
362 ac_prev=
363 continue
364 fi
365
366 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367
368 # Accept the important Cygnus configure options, so we can diagnose typos.
369
370 case $ac_option in
371
372 -bindir | --bindir | --bindi | --bind | --bin | --bi)
373 ac_prev=bindir ;;
374 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
375 bindir=$ac_optarg ;;
376
377 -build | --build | --buil | --bui | --bu)
378 ac_prev=build_alias ;;
379 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
380 build_alias=$ac_optarg ;;
381
382 -cache-file | --cache-file | --cache-fil | --cache-fi \
383 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
384 ac_prev=cache_file ;;
385 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
386 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
387 cache_file=$ac_optarg ;;
388
389 --config-cache | -C)
390 cache_file=config.cache ;;
391
392 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
393 ac_prev=datadir ;;
394 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
395 | --da=*)
396 datadir=$ac_optarg ;;
397
398 -disable-* | --disable-*)
399 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
406
407 -enable-* | --enable-*)
408 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
414 case $ac_option in
415 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 *) ac_optarg=yes ;;
417 esac
418 eval "enable_$ac_feature='$ac_optarg'" ;;
419
420 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
421 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
422 | --exec | --exe | --ex)
423 ac_prev=exec_prefix ;;
424 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
425 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
426 | --exec=* | --exe=* | --ex=*)
427 exec_prefix=$ac_optarg ;;
428
429 -gas | --gas | --ga | --g)
430 # Obsolete; use --with-gas.
431 with_gas=yes ;;
432
433 -help | --help | --hel | --he | -h)
434 ac_init_help=long ;;
435 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
436 ac_init_help=recursive ;;
437 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
438 ac_init_help=short ;;
439
440 -host | --host | --hos | --ho)
441 ac_prev=host_alias ;;
442 -host=* | --host=* | --hos=* | --ho=*)
443 host_alias=$ac_optarg ;;
444
445 -includedir | --includedir | --includedi | --included | --include \
446 | --includ | --inclu | --incl | --inc)
447 ac_prev=includedir ;;
448 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
449 | --includ=* | --inclu=* | --incl=* | --inc=*)
450 includedir=$ac_optarg ;;
451
452 -infodir | --infodir | --infodi | --infod | --info | --inf)
453 ac_prev=infodir ;;
454 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
455 infodir=$ac_optarg ;;
456
457 -libdir | --libdir | --libdi | --libd)
458 ac_prev=libdir ;;
459 -libdir=* | --libdir=* | --libdi=* | --libd=*)
460 libdir=$ac_optarg ;;
461
462 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
463 | --libexe | --libex | --libe)
464 ac_prev=libexecdir ;;
465 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
466 | --libexe=* | --libex=* | --libe=*)
467 libexecdir=$ac_optarg ;;
468
469 -localstatedir | --localstatedir | --localstatedi | --localstated \
470 | --localstate | --localstat | --localsta | --localst \
471 | --locals | --local | --loca | --loc | --lo)
472 ac_prev=localstatedir ;;
473 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
474 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
475 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
476 localstatedir=$ac_optarg ;;
477
478 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
479 ac_prev=mandir ;;
480 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 mandir=$ac_optarg ;;
482
483 -nfp | --nfp | --nf)
484 # Obsolete; use --without-fp.
485 with_fp=no ;;
486
487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 | --no-cr | --no-c | -n)
489 no_create=yes ;;
490
491 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
492 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
493 no_recursion=yes ;;
494
495 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
496 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
497 | --oldin | --oldi | --old | --ol | --o)
498 ac_prev=oldincludedir ;;
499 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
500 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
501 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
502 oldincludedir=$ac_optarg ;;
503
504 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
505 ac_prev=prefix ;;
506 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
507 prefix=$ac_optarg ;;
508
509 -program-prefix | --program-prefix | --program-prefi | --program-pref \
510 | --program-pre | --program-pr | --program-p)
511 ac_prev=program_prefix ;;
512 -program-prefix=* | --program-prefix=* | --program-prefi=* \
513 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
514 program_prefix=$ac_optarg ;;
515
516 -program-suffix | --program-suffix | --program-suffi | --program-suff \
517 | --program-suf | --program-su | --program-s)
518 ac_prev=program_suffix ;;
519 -program-suffix=* | --program-suffix=* | --program-suffi=* \
520 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
521 program_suffix=$ac_optarg ;;
522
523 -program-transform-name | --program-transform-name \
524 | --program-transform-nam | --program-transform-na \
525 | --program-transform-n | --program-transform- \
526 | --program-transform | --program-transfor \
527 | --program-transfo | --program-transf \
528 | --program-trans | --program-tran \
529 | --progr-tra | --program-tr | --program-t)
530 ac_prev=program_transform_name ;;
531 -program-transform-name=* | --program-transform-name=* \
532 | --program-transform-nam=* | --program-transform-na=* \
533 | --program-transform-n=* | --program-transform-=* \
534 | --program-transform=* | --program-transfor=* \
535 | --program-transfo=* | --program-transf=* \
536 | --program-trans=* | --program-tran=* \
537 | --progr-tra=* | --program-tr=* | --program-t=*)
538 program_transform_name=$ac_optarg ;;
539
540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
541 | -silent | --silent | --silen | --sile | --sil)
542 silent=yes ;;
543
544 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
545 ac_prev=sbindir ;;
546 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
547 | --sbi=* | --sb=*)
548 sbindir=$ac_optarg ;;
549
550 -sharedstatedir | --sharedstatedir | --sharedstatedi \
551 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
552 | --sharedst | --shareds | --shared | --share | --shar \
553 | --sha | --sh)
554 ac_prev=sharedstatedir ;;
555 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
556 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
557 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
558 | --sha=* | --sh=*)
559 sharedstatedir=$ac_optarg ;;
560
561 -site | --site | --sit)
562 ac_prev=site ;;
563 -site=* | --site=* | --sit=*)
564 site=$ac_optarg ;;
565
566 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
567 ac_prev=srcdir ;;
568 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
569 srcdir=$ac_optarg ;;
570
571 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
572 | --syscon | --sysco | --sysc | --sys | --sy)
573 ac_prev=sysconfdir ;;
574 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
575 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
576 sysconfdir=$ac_optarg ;;
577
578 -target | --target | --targe | --targ | --tar | --ta | --t)
579 ac_prev=target_alias ;;
580 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
581 target_alias=$ac_optarg ;;
582
583 -v | -verbose | --verbose | --verbos | --verbo | --verb)
584 verbose=yes ;;
585
586 -version | --version | --versio | --versi | --vers | -V)
587 ac_init_version=: ;;
588
589 -with-* | --with-*)
590 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package=`echo $ac_package| sed 's/-/_/g'`
596 case $ac_option in
597 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 *) ac_optarg=yes ;;
599 esac
600 eval "with_$ac_package='$ac_optarg'" ;;
601
602 -without-* | --without-*)
603 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
610
611 --x)
612 # Obsolete; use --with-x.
613 with_x=yes ;;
614
615 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
616 | --x-incl | --x-inc | --x-in | --x-i)
617 ac_prev=x_includes ;;
618 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
619 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
620 x_includes=$ac_optarg ;;
621
622 -x-libraries | --x-libraries | --x-librarie | --x-librari \
623 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
624 ac_prev=x_libraries ;;
625 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
626 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
627 x_libraries=$ac_optarg ;;
628
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
632 ;;
633
634 *=*)
635 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
642 export $ac_envvar ;;
643
644 *)
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
650 ;;
651
652 esac
653done
654
655if test -n "$ac_prev"; then
656 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
659fi
660
661# Be sure to have absolute paths.
662for ac_var in exec_prefix prefix
663do
664 eval ac_val=$`echo $ac_var`
665 case $ac_val in
666 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
669 esac
670done
671
672# Be sure to have absolute paths.
673for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
675do
676 eval ac_val=$`echo $ac_var`
677 case $ac_val in
678 [\\/$]* | ?:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
681 esac
682done
683
684# There might be people who depend on the old broken behavior: `$host'
685# used to hold the argument of --host etc.
686# FIXME: To remove some day.
687build=$build_alias
688host=$host_alias
689target=$target_alias
690
691# FIXME: To remove some day.
692if test "x$host_alias" != x; then
693 if test "x$build_alias" = x; then
694 cross_compiling=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
698 cross_compiling=yes
699 fi
700fi
701
702ac_tool_prefix=
703test -n "$host_alias" && ac_tool_prefix=$host_alias-
704
705test "$silent" = yes && exec 6>/dev/null
706
707
708# Find the source files, if location was not specified.
709if test -z "$srcdir"; then
710 ac_srcdir_defaulted=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir=`(dirname "$0") 2>/dev/null ||
713$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
718echo X"$0" |
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
723 s/.*/./; q'`
724 srcdir=$ac_confdir
725 if test ! -r $srcdir/$ac_unique_file; then
726 srcdir=..
727 fi
728else
729 ac_srcdir_defaulted=no
730fi
731if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
735 else
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
738 fi
739fi
740(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744ac_env_build_alias_set=${build_alias+set}
745ac_env_build_alias_value=$build_alias
746ac_cv_env_build_alias_set=${build_alias+set}
747ac_cv_env_build_alias_value=$build_alias
748ac_env_host_alias_set=${host_alias+set}
749ac_env_host_alias_value=$host_alias
750ac_cv_env_host_alias_set=${host_alias+set}
751ac_cv_env_host_alias_value=$host_alias
752ac_env_target_alias_set=${target_alias+set}
753ac_env_target_alias_value=$target_alias
754ac_cv_env_target_alias_set=${target_alias+set}
755ac_cv_env_target_alias_value=$target_alias
756ac_env_CC_set=${CC+set}
757ac_env_CC_value=$CC
758ac_cv_env_CC_set=${CC+set}
759ac_cv_env_CC_value=$CC
760ac_env_CFLAGS_set=${CFLAGS+set}
761ac_env_CFLAGS_value=$CFLAGS
762ac_cv_env_CFLAGS_set=${CFLAGS+set}
763ac_cv_env_CFLAGS_value=$CFLAGS
764ac_env_LDFLAGS_set=${LDFLAGS+set}
765ac_env_LDFLAGS_value=$LDFLAGS
766ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
767ac_cv_env_LDFLAGS_value=$LDFLAGS
768ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769ac_env_CPPFLAGS_value=$CPPFLAGS
770ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771ac_cv_env_CPPFLAGS_value=$CPPFLAGS
772ac_env_CPP_set=${CPP+set}
773ac_env_CPP_value=$CPP
774ac_cv_env_CPP_set=${CPP+set}
775ac_cv_env_CPP_value=$CPP
776ac_env_CXX_set=${CXX+set}
777ac_env_CXX_value=$CXX
778ac_cv_env_CXX_set=${CXX+set}
779ac_cv_env_CXX_value=$CXX
780ac_env_CXXFLAGS_set=${CXXFLAGS+set}
781ac_env_CXXFLAGS_value=$CXXFLAGS
782ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
783ac_cv_env_CXXFLAGS_value=$CXXFLAGS
784ac_env_CXXCPP_set=${CXXCPP+set}
785ac_env_CXXCPP_value=$CXXCPP
786ac_cv_env_CXXCPP_set=${CXXCPP+set}
787ac_cv_env_CXXCPP_value=$CXXCPP
788
789#
790# Report the --help message.
791#
792if test "$ac_init_help" = "long"; then
793 # Omit some internal or obsolete options to make the list less imposing.
794 # This message is too long to be a string in the A/UX 3.1 sh.
795 cat <<_ACEOF
796\`configure' configures wxWindows 2.5.0 to adapt to many kinds of systems.
797
798Usage: $0 [OPTION]... [VAR=VALUE]...
799
800To assign environment variables (e.g., CC, CFLAGS...), specify them as
801VAR=VALUE. See below for descriptions of some of the useful variables.
802
803Defaults for the options are specified in brackets.
804
805Configuration:
806 -h, --help display this help and exit
807 --help=short display options specific to this package
808 --help=recursive display the short help of all the included packages
809 -V, --version display version information and exit
810 -q, --quiet, --silent do not print \`checking...' messages
811 --cache-file=FILE cache test results in FILE [disabled]
812 -C, --config-cache alias for \`--cache-file=config.cache'
813 -n, --no-create do not create output files
814 --srcdir=DIR find the sources in DIR [configure dir or \`..']
815
816_ACEOF
817
818 cat <<_ACEOF
819Installation directories:
820 --prefix=PREFIX install architecture-independent files in PREFIX
821 [$ac_default_prefix]
822 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
823 [PREFIX]
824
825By default, \`make install' will install all the files in
826\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
827an installation prefix other than \`$ac_default_prefix' using \`--prefix',
828for instance \`--prefix=\$HOME'.
829
830For better control, use the options below.
831
832Fine tuning of the installation directories:
833 --bindir=DIR user executables [EPREFIX/bin]
834 --sbindir=DIR system admin executables [EPREFIX/sbin]
835 --libexecdir=DIR program executables [EPREFIX/libexec]
836 --datadir=DIR read-only architecture-independent data [PREFIX/share]
837 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
838 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
839 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
840 --libdir=DIR object code libraries [EPREFIX/lib]
841 --includedir=DIR C header files [PREFIX/include]
842 --oldincludedir=DIR C header files for non-gcc [/usr/include]
843 --infodir=DIR info documentation [PREFIX/info]
844 --mandir=DIR man documentation [PREFIX/man]
845_ACEOF
846
847 cat <<\_ACEOF
848
849X features:
850 --x-includes=DIR X include files are in DIR
851 --x-libraries=DIR X library files are in DIR
852
853System types:
854 --build=BUILD configure for building on BUILD [guessed]
855 --host=HOST cross-compile to build programs to run on HOST [BUILD]
856 --target=TARGET configure for building compilers for TARGET [HOST]
857_ACEOF
858fi
859
860if test -n "$ac_init_help"; then
861 case $ac_init_help in
862 short | recursive ) echo "Configuration of wxWindows 2.5.0:";;
863 esac
864 cat <<\_ACEOF
865
866Optional Features:
867 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
868 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
869 --enable-gui use GUI classes
870 --disable-monolithic don't build wxWindows as single library
871 --enable-universal use wxWindows GUI controls instead of native ones
872 --enable-nanox use NanoX
873 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
874 --enable-shared create shared library code
875 --enable-optimise create optimised code
876 --enable-debug same as debug_flag and debug_info
877 --enable-stl use STL for containers
878 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
879 --enable-debug_info create code with debugging information
880 --enable-debug_gdb create code with extra GDB debugging information
881 --enable-debug_cntxt use wxDebugContext
882 --enable-mem_tracing create code with memory tracing
883 --enable-profile create code with profiling information
884 --enable-no_rtti create code without RTTI information
885 --enable-no_exceptions create code without C++ exceptions handling
886 --enable-permissive compile code disregarding strict ANSI
887 --enable-no_deps create code without dependency information
888 --enable-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 --enable-official_build official build of wxWindows (win32 DLL only)
1027 --enable-vendor=VENDOR vendor name (win32 DLL only)
1028 --disable-largefile omit support for large files
1029 --disable-gtktest do not try to compile and run a test GTK+ program
1030 --disable-gtktest Do not try to compile and run a test GTK program
1031 --disable-precomp-headers don't use precompiled headers even if compiler can
1032
1033Optional Packages:
1034 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1035 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1036 --with-gtk use GTK+
1037 --with-motif use Motif/Lesstif
1038 --with-mac use Mac OS X
1039 --with-cocoa use Cocoa
1040 --with-wine use Wine
1041 --with-msw use MS-Windows
1042 --with-pm use OS/2 Presentation Manager
1043 --with-mgl use SciTech MGL
1044 --with-microwin use MicroWindows
1045 --with-x11 use X11
1046 --with-libpng use libpng (PNG image format)
1047 --with-libjpeg use libjpeg (JPEG file format)
1048 --with-libtiff use libtiff (TIFF file format)
1049 --with-opengl use OpenGL (or Mesa)
1050 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1051 --with-regex enable support for wxRegEx class
1052 --with-zlib use zlib for LZW compression
1053 --with-odbc use the IODBC and wxODBC classes
1054 --with-expat enable XML support using expat parser
1055 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1056 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1057 --with-x use the X Window System
1058 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1059
1060Some influential environment variables:
1061 CC C compiler command
1062 CFLAGS C compiler flags
1063 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1064 nonstandard directory <lib dir>
1065 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1066 headers in a nonstandard directory <include dir>
1067 CPP C preprocessor
1068 CXX C++ compiler command
1069 CXXFLAGS C++ compiler flags
1070 CXXCPP C++ preprocessor
1071
1072Use these variables to override the choices made by `configure' or to help
1073it to find libraries and programs with nonstandard names/locations.
1074
1075Report bugs to <wx-dev@lists.wxwindows.org>.
1076_ACEOF
1077fi
1078
1079if test "$ac_init_help" = "recursive"; then
1080 # If there are subdirs, report their specific --help.
1081 ac_popdir=`pwd`
1082 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1083 test -d $ac_dir || continue
1084 ac_builddir=.
1085
1086if test "$ac_dir" != .; then
1087 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1088 # A "../" for each directory in $ac_dir_suffix.
1089 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1090else
1091 ac_dir_suffix= ac_top_builddir=
1092fi
1093
1094case $srcdir in
1095 .) # No --srcdir option. We are building in place.
1096 ac_srcdir=.
1097 if test -z "$ac_top_builddir"; then
1098 ac_top_srcdir=.
1099 else
1100 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1101 fi ;;
1102 [\\/]* | ?:[\\/]* ) # Absolute path.
1103 ac_srcdir=$srcdir$ac_dir_suffix;
1104 ac_top_srcdir=$srcdir ;;
1105 *) # Relative path.
1106 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1107 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1108esac
1109# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1110# absolute.
1111ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1112ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1113ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1114ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1115
1116 cd $ac_dir
1117 # Check for guested configure; otherwise get Cygnus style configure.
1118 if test -f $ac_srcdir/configure.gnu; then
1119 echo
1120 $SHELL $ac_srcdir/configure.gnu --help=recursive
1121 elif test -f $ac_srcdir/configure; then
1122 echo
1123 $SHELL $ac_srcdir/configure --help=recursive
1124 elif test -f $ac_srcdir/configure.ac ||
1125 test -f $ac_srcdir/configure.in; then
1126 echo
1127 $ac_configure --help
1128 else
1129 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1130 fi
1131 cd $ac_popdir
1132 done
1133fi
1134
1135test -n "$ac_init_help" && exit 0
1136if $ac_init_version; then
1137 cat <<\_ACEOF
1138wxWindows configure 2.5.0
1139generated by GNU Autoconf 2.57
1140
1141Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1142Free Software Foundation, Inc.
1143This configure script is free software; the Free Software Foundation
1144gives unlimited permission to copy, distribute and modify it.
1145_ACEOF
1146 exit 0
1147fi
1148exec 5>config.log
1149cat >&5 <<_ACEOF
1150This file contains any messages produced by compilers while
1151running configure, to aid debugging if configure makes a mistake.
1152
1153It was created by wxWindows $as_me 2.5.0, which was
1154generated by GNU Autoconf 2.57. Invocation command line was
1155
1156 $ $0 $@
1157
1158_ACEOF
1159{
1160cat <<_ASUNAME
1161## --------- ##
1162## Platform. ##
1163## --------- ##
1164
1165hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1166uname -m = `(uname -m) 2>/dev/null || echo unknown`
1167uname -r = `(uname -r) 2>/dev/null || echo unknown`
1168uname -s = `(uname -s) 2>/dev/null || echo unknown`
1169uname -v = `(uname -v) 2>/dev/null || echo unknown`
1170
1171/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1172/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1173
1174/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1175/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1176/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1177hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1178/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1179/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1180/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1181
1182_ASUNAME
1183
1184as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1185for as_dir in $PATH
1186do
1187 IFS=$as_save_IFS
1188 test -z "$as_dir" && as_dir=.
1189 echo "PATH: $as_dir"
1190done
1191
1192} >&5
1193
1194cat >&5 <<_ACEOF
1195
1196
1197## ----------- ##
1198## Core tests. ##
1199## ----------- ##
1200
1201_ACEOF
1202
1203
1204# Keep a trace of the command line.
1205# Strip out --no-create and --no-recursion so they do not pile up.
1206# Strip out --silent because we don't want to record it for future runs.
1207# Also quote any args containing shell meta-characters.
1208# Make two passes to allow for proper duplicate-argument suppression.
1209ac_configure_args=
1210ac_configure_args0=
1211ac_configure_args1=
1212ac_sep=
1213ac_must_keep_next=false
1214for ac_pass in 1 2
1215do
1216 for ac_arg
1217 do
1218 case $ac_arg in
1219 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1220 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1221 | -silent | --silent | --silen | --sile | --sil)
1222 continue ;;
1223 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1224 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1225 esac
1226 case $ac_pass in
1227 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1228 2)
1229 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1230 if test $ac_must_keep_next = true; then
1231 ac_must_keep_next=false # Got value, back to normal.
1232 else
1233 case $ac_arg in
1234 *=* | --config-cache | -C | -disable-* | --disable-* \
1235 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1236 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1237 | -with-* | --with-* | -without-* | --without-* | --x)
1238 case "$ac_configure_args0 " in
1239 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1240 esac
1241 ;;
1242 -* ) ac_must_keep_next=true ;;
1243 esac
1244 fi
1245 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1246 # Get rid of the leading space.
1247 ac_sep=" "
1248 ;;
1249 esac
1250 done
1251done
1252$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1253$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1254
1255# When interrupted or exit'd, cleanup temporary files, and complete
1256# config.log. We remove comments because anyway the quotes in there
1257# would cause problems or look ugly.
1258# WARNING: Be sure not to use single quotes in there, as some shells,
1259# such as our DU 5.0 friend, will then `close' the trap.
1260trap 'exit_status=$?
1261 # Save into config.log some information that might help in debugging.
1262 {
1263 echo
1264
1265 cat <<\_ASBOX
1266## ---------------- ##
1267## Cache variables. ##
1268## ---------------- ##
1269_ASBOX
1270 echo
1271 # The following way of writing the cache mishandles newlines in values,
1272{
1273 (set) 2>&1 |
1274 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1275 *ac_space=\ *)
1276 sed -n \
1277 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1278 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1279 ;;
1280 *)
1281 sed -n \
1282 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1283 ;;
1284 esac;
1285}
1286 echo
1287
1288 cat <<\_ASBOX
1289## ----------------- ##
1290## Output variables. ##
1291## ----------------- ##
1292_ASBOX
1293 echo
1294 for ac_var in $ac_subst_vars
1295 do
1296 eval ac_val=$`echo $ac_var`
1297 echo "$ac_var='"'"'$ac_val'"'"'"
1298 done | sort
1299 echo
1300
1301 if test -n "$ac_subst_files"; then
1302 cat <<\_ASBOX
1303## ------------- ##
1304## Output files. ##
1305## ------------- ##
1306_ASBOX
1307 echo
1308 for ac_var in $ac_subst_files
1309 do
1310 eval ac_val=$`echo $ac_var`
1311 echo "$ac_var='"'"'$ac_val'"'"'"
1312 done | sort
1313 echo
1314 fi
1315
1316 if test -s confdefs.h; then
1317 cat <<\_ASBOX
1318## ----------- ##
1319## confdefs.h. ##
1320## ----------- ##
1321_ASBOX
1322 echo
1323 sed "/^$/d" confdefs.h | sort
1324 echo
1325 fi
1326 test "$ac_signal" != 0 &&
1327 echo "$as_me: caught signal $ac_signal"
1328 echo "$as_me: exit $exit_status"
1329 } >&5
1330 rm -f core core.* *.core &&
1331 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1332 exit $exit_status
1333 ' 0
1334for ac_signal in 1 2 13 15; do
1335 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1336done
1337ac_signal=0
1338
1339# confdefs.h avoids OS command line length limits that DEFS can exceed.
1340rm -rf conftest* confdefs.h
1341# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1342echo >confdefs.h
1343
1344# Predefined preprocessor variables.
1345
1346cat >>confdefs.h <<_ACEOF
1347#define PACKAGE_NAME "$PACKAGE_NAME"
1348_ACEOF
1349
1350
1351cat >>confdefs.h <<_ACEOF
1352#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1353_ACEOF
1354
1355
1356cat >>confdefs.h <<_ACEOF
1357#define PACKAGE_VERSION "$PACKAGE_VERSION"
1358_ACEOF
1359
1360
1361cat >>confdefs.h <<_ACEOF
1362#define PACKAGE_STRING "$PACKAGE_STRING"
1363_ACEOF
1364
1365
1366cat >>confdefs.h <<_ACEOF
1367#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1368_ACEOF
1369
1370
1371# Let the site file select an alternate cache file if it wants to.
1372# Prefer explicitly selected file to automatically selected ones.
1373if test -z "$CONFIG_SITE"; then
1374 if test "x$prefix" != xNONE; then
1375 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1376 else
1377 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1378 fi
1379fi
1380for ac_site_file in $CONFIG_SITE; do
1381 if test -r "$ac_site_file"; then
1382 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1383echo "$as_me: loading site script $ac_site_file" >&6;}
1384 sed 's/^/| /' "$ac_site_file" >&5
1385 . "$ac_site_file"
1386 fi
1387done
1388
1389if test -r "$cache_file"; then
1390 # Some versions of bash will fail to source /dev/null (special
1391 # files actually), so we avoid doing that.
1392 if test -f "$cache_file"; then
1393 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1394echo "$as_me: loading cache $cache_file" >&6;}
1395 case $cache_file in
1396 [\\/]* | ?:[\\/]* ) . $cache_file;;
1397 *) . ./$cache_file;;
1398 esac
1399 fi
1400else
1401 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1402echo "$as_me: creating cache $cache_file" >&6;}
1403 >$cache_file
1404fi
1405
1406# Check that the precious variables saved in the cache have kept the same
1407# value.
1408ac_cache_corrupted=false
1409for ac_var in `(set) 2>&1 |
1410 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1411 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1412 eval ac_new_set=\$ac_env_${ac_var}_set
1413 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1414 eval ac_new_val="\$ac_env_${ac_var}_value"
1415 case $ac_old_set,$ac_new_set in
1416 set,)
1417 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1418echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1419 ac_cache_corrupted=: ;;
1420 ,set)
1421 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1422echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1423 ac_cache_corrupted=: ;;
1424 ,);;
1425 *)
1426 if test "x$ac_old_val" != "x$ac_new_val"; then
1427 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1428echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1429 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1430echo "$as_me: former value: $ac_old_val" >&2;}
1431 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1432echo "$as_me: current value: $ac_new_val" >&2;}
1433 ac_cache_corrupted=:
1434 fi;;
1435 esac
1436 # Pass precious variables to config.status.
1437 if test "$ac_new_set" = set; then
1438 case $ac_new_val in
1439 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1440 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1441 *) ac_arg=$ac_var=$ac_new_val ;;
1442 esac
1443 case " $ac_configure_args " in
1444 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1445 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1446 esac
1447 fi
1448done
1449if $ac_cache_corrupted; then
1450 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1451echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1452 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1453echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1454 { (exit 1); exit 1; }; }
1455fi
1456
1457ac_ext=c
1458ac_cpp='$CPP $CPPFLAGS'
1459ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1460ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1461ac_compiler_gnu=$ac_cv_c_compiler_gnu
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492ac_aux_dir=
1493for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1494 if 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/install.sh; then
1499 ac_aux_dir=$ac_dir
1500 ac_install_sh="$ac_aux_dir/install.sh -c"
1501 break
1502 elif test -f $ac_dir/shtool; then
1503 ac_aux_dir=$ac_dir
1504 ac_install_sh="$ac_aux_dir/shtool install -c"
1505 break
1506 fi
1507done
1508if test -z "$ac_aux_dir"; then
1509 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1510echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1511 { (exit 1); exit 1; }; }
1512fi
1513ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1514ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1515ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1516
1517# Make sure we can run config.sub.
1518$ac_config_sub sun4 >/dev/null 2>&1 ||
1519 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1520echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1521 { (exit 1); exit 1; }; }
1522
1523echo "$as_me:$LINENO: checking build system type" >&5
1524echo $ECHO_N "checking build system type... $ECHO_C" >&6
1525if test "${ac_cv_build+set}" = set; then
1526 echo $ECHO_N "(cached) $ECHO_C" >&6
1527else
1528 ac_cv_build_alias=$build_alias
1529test -z "$ac_cv_build_alias" &&
1530 ac_cv_build_alias=`$ac_config_guess`
1531test -z "$ac_cv_build_alias" &&
1532 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1533echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1534 { (exit 1); exit 1; }; }
1535ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1536 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1537echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1538 { (exit 1); exit 1; }; }
1539
1540fi
1541echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1542echo "${ECHO_T}$ac_cv_build" >&6
1543build=$ac_cv_build
1544build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1545build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1546build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1547
1548
1549echo "$as_me:$LINENO: checking host system type" >&5
1550echo $ECHO_N "checking host system type... $ECHO_C" >&6
1551if test "${ac_cv_host+set}" = set; then
1552 echo $ECHO_N "(cached) $ECHO_C" >&6
1553else
1554 ac_cv_host_alias=$host_alias
1555test -z "$ac_cv_host_alias" &&
1556 ac_cv_host_alias=$ac_cv_build_alias
1557ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1558 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1559echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1560 { (exit 1); exit 1; }; }
1561
1562fi
1563echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1564echo "${ECHO_T}$ac_cv_host" >&6
1565host=$ac_cv_host
1566host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1567host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1568host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1569
1570
1571echo "$as_me:$LINENO: checking target system type" >&5
1572echo $ECHO_N "checking target system type... $ECHO_C" >&6
1573if test "${ac_cv_target+set}" = set; then
1574 echo $ECHO_N "(cached) $ECHO_C" >&6
1575else
1576 ac_cv_target_alias=$target_alias
1577test "x$ac_cv_target_alias" = "x" &&
1578 ac_cv_target_alias=$ac_cv_host_alias
1579ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1580 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1581echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1582 { (exit 1); exit 1; }; }
1583
1584fi
1585echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1586echo "${ECHO_T}$ac_cv_target" >&6
1587target=$ac_cv_target
1588target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1589target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1590target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1591
1592
1593# The aliases save the names the user supplied, while $host etc.
1594# will get canonicalized.
1595test -n "$target_alias" &&
1596 test "$program_prefix$program_suffix$program_transform_name" = \
1597 NONENONEs,x,x, &&
1598 program_prefix=${target_alias}-
1599
1600
1601
1602WX_MAJOR_VERSION_NUMBER=2
1603WX_MINOR_VERSION_NUMBER=5
1604WX_RELEASE_NUMBER=0
1605
1606WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1607WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1608
1609WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1610
1611WX_CURRENT=0
1612WX_REVISION=0
1613WX_AGE=0
1614
1615
1616
1617USE_UNIX=1
1618USE_WIN32=0
1619USE_DOS=0
1620USE_BEOS=0
1621USE_MAC=0
1622
1623USE_AIX=
1624USE_BSD= USE_DARWIN= USE_FREEBSD=
1625USE_GNU= USE_HPUX=
1626USE_LINUX=
1627USE_NETBSD=
1628USE_OPENBSD=
1629USE_OSF= USE_SGI=
1630USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1631USE_ULTRIX=
1632USE_UNIXWARE=
1633
1634USE_ALPHA=
1635
1636NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1637
1638ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1639
1640DEFAULT_wxUSE_COCOA=0
1641DEFAULT_wxUSE_GTK=0
1642DEFAULT_wxUSE_MAC=0
1643DEFAULT_wxUSE_MGL=0
1644DEFAULT_wxUSE_MICROWIN=0
1645DEFAULT_wxUSE_MOTIF=0
1646DEFAULT_wxUSE_MSW=0
1647DEFAULT_wxUSE_PM=0
1648DEFAULT_wxUSE_X11=0
1649
1650DEFAULT_DEFAULT_wxUSE_COCOA=0
1651DEFAULT_DEFAULT_wxUSE_GTK=0
1652DEFAULT_DEFAULT_wxUSE_MAC=0
1653DEFAULT_DEFAULT_wxUSE_MGL=0
1654DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1655DEFAULT_DEFAULT_wxUSE_MOTIF=0
1656DEFAULT_DEFAULT_wxUSE_MSW=0
1657DEFAULT_DEFAULT_wxUSE_PM=0
1658DEFAULT_DEFAULT_wxUSE_X11=0
1659
1660PROGRAM_EXT=
1661SO_SUFFIX=so
1662SAMPLES_RPATH_FLAG=
1663SAMPLES_RPATH_POSTLINK=
1664
1665case "${host}" in
1666 *-hp-hpux* )
1667 USE_HPUX=1
1668 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1669 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1670 SO_SUFFIX=sl
1671 cat >>confdefs.h <<\_ACEOF
1672#define __HPUX__ 1
1673_ACEOF
1674
1675 ;;
1676 *-*-linux* )
1677 USE_LINUX=1
1678 cat >>confdefs.h <<\_ACEOF
1679#define __LINUX__ 1
1680_ACEOF
1681
1682 TMP=`uname -m`
1683 if test "x$TMP" = "xalpha"; then
1684 USE_ALPHA=1
1685 cat >>confdefs.h <<\_ACEOF
1686#define __ALPHA__ 1
1687_ACEOF
1688
1689 fi
1690 DEFAULT_DEFAULT_wxUSE_GTK=1
1691 ;;
1692 *-*-gnu* )
1693 USE_GNU=1
1694 cat >>confdefs.h <<\_ACEOF
1695#define __GNU__ 1
1696_ACEOF
1697
1698 TMP=`uname -m`
1699 if test "x$TMP" = "xalpha"; then
1700 USE_ALPHA=1
1701 cat >>confdefs.h <<\_ACEOF
1702#define __ALPHA__ 1
1703_ACEOF
1704
1705 fi
1706 DEFAULT_DEFAULT_wxUSE_GTK=1
1707 ;;
1708 *-*-irix5* | *-*-irix6* )
1709 USE_SGI=1
1710 USE_SVR4=1
1711 cat >>confdefs.h <<\_ACEOF
1712#define __SGI__ 1
1713_ACEOF
1714
1715 cat >>confdefs.h <<\_ACEOF
1716#define __SVR4__ 1
1717_ACEOF
1718
1719 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1720 ;;
1721 *-*-solaris2* )
1722 USE_SUN=1
1723 USE_SOLARIS=1
1724 USE_SVR4=1
1725 cat >>confdefs.h <<\_ACEOF
1726#define __SUN__ 1
1727_ACEOF
1728
1729 cat >>confdefs.h <<\_ACEOF
1730#define __SOLARIS__ 1
1731_ACEOF
1732
1733 cat >>confdefs.h <<\_ACEOF
1734#define __SVR4__ 1
1735_ACEOF
1736
1737 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1738 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1739 ;;
1740 *-*-sunos4* )
1741 USE_SUN=1
1742 USE_SUNOS=1
1743 USE_BSD=1
1744 cat >>confdefs.h <<\_ACEOF
1745#define __SUN__ 1
1746_ACEOF
1747
1748 cat >>confdefs.h <<\_ACEOF
1749#define __SUNOS__ 1
1750_ACEOF
1751
1752 cat >>confdefs.h <<\_ACEOF
1753#define __BSD__ 1
1754_ACEOF
1755
1756 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1757 ;;
1758 *-*-freebsd*)
1759 USE_BSD=1
1760 USE_FREEBSD=1
1761 cat >>confdefs.h <<\_ACEOF
1762#define __FREEBSD__ 1
1763_ACEOF
1764
1765 cat >>confdefs.h <<\_ACEOF
1766#define __BSD__ 1
1767_ACEOF
1768
1769 DEFAULT_DEFAULT_wxUSE_GTK=1
1770 ;;
1771 *-*-openbsd*)
1772 USE_BSD=1
1773 USE_OPENBSD=1
1774 cat >>confdefs.h <<\_ACEOF
1775#define __OPENBSD__ 1
1776_ACEOF
1777
1778 cat >>confdefs.h <<\_ACEOF
1779#define __BSD__ 1
1780_ACEOF
1781
1782 DEFAULT_DEFAULT_wxUSE_GTK=1
1783 ;;
1784 *-*-netbsd*)
1785 USE_BSD=1
1786 USE_NETBSD=1
1787 cat >>confdefs.h <<\_ACEOF
1788#define __NETBSD__ 1
1789_ACEOF
1790
1791 cat >>confdefs.h <<\_ACEOF
1792#define __BSD__ 1
1793_ACEOF
1794
1795 DEFAULT_DEFAULT_wxUSE_GTK=1
1796 ;;
1797 *-*-osf* )
1798 USE_ALPHA=1
1799 USE_OSF=1
1800 cat >>confdefs.h <<\_ACEOF
1801#define __ALPHA__ 1
1802_ACEOF
1803
1804 cat >>confdefs.h <<\_ACEOF
1805#define __OSF__ 1
1806_ACEOF
1807
1808 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1809 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1810 ;;
1811 *-*-dgux5* )
1812 USE_ALPHA=1
1813 USE_SVR4=1
1814 cat >>confdefs.h <<\_ACEOF
1815#define __ALPHA__ 1
1816_ACEOF
1817
1818 cat >>confdefs.h <<\_ACEOF
1819#define __SVR4__ 1
1820_ACEOF
1821
1822 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1823 ;;
1824 *-*-sysv5* )
1825 USE_SYSV=1
1826 USE_SVR4=1
1827 cat >>confdefs.h <<\_ACEOF
1828#define __SYSV__ 1
1829_ACEOF
1830
1831 cat >>confdefs.h <<\_ACEOF
1832#define __SVR4__ 1
1833_ACEOF
1834
1835 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1836 ;;
1837 *-*-aix* )
1838 USE_AIX=1
1839 USE_SYSV=1
1840 USE_SVR4=1
1841 SO_SUFFIX=a
1842 cat >>confdefs.h <<\_ACEOF
1843#define __AIX__ 1
1844_ACEOF
1845
1846 cat >>confdefs.h <<\_ACEOF
1847#define __SYSV__ 1
1848_ACEOF
1849
1850 cat >>confdefs.h <<\_ACEOF
1851#define __SVR4__ 1
1852_ACEOF
1853
1854 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1855 ;;
1856
1857 *-*-*UnixWare*)
1858 USE_SYSV=1
1859 USE_SVR4=1
1860 USE_UNIXWARE=1
1861 cat >>confdefs.h <<\_ACEOF
1862#define __UNIXWARE__ 1
1863_ACEOF
1864
1865 ;;
1866
1867 *-*-cygwin* | *-*-mingw32* )
1868 SO_SUFFIX=dll
1869 PROGRAM_EXT=".exe"
1870 RESCOMP=windres
1871 DEFAULT_DEFAULT_wxUSE_MSW=1
1872 ;;
1873
1874 *-pc-msdosdjgpp )
1875 USE_UNIX=0
1876 USE_DOS=1
1877 cat >>confdefs.h <<\_ACEOF
1878#define __DOS__ 1
1879_ACEOF
1880
1881 PROGRAM_EXT=".exe"
1882 DEFAULT_DEFAULT_wxUSE_MGL=1
1883 LIBS="$LIBS -lstdc++"
1884 ;;
1885
1886 *-pc-os2_emx | *-pc-os2-emx )
1887 cat >>confdefs.h <<\_ACEOF
1888#define __EMX__ 1
1889_ACEOF
1890
1891 PROGRAM_EXT=".exe"
1892 DEFAULT_DEFAULT_wxUSE_PM=1
1893 CXX=gcc
1894 LIBS="$LIBS -lstdcpp"
1895 ac_executable_extensions=".exe"
1896 export ac_executable_extensions
1897 ac_save_IFS="$IFS"
1898 IFS="\\"
1899 ac_TEMP_PATH=
1900 for ac_dir in $PATH; do
1901 IFS=$ac_save_IFS
1902 if test -z "$ac_TEMP_PATH"; then
1903 ac_TEMP_PATH="$ac_dir"
1904 else
1905 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1906 fi
1907 done
1908 export PATH="$ac_TEMP_PATH"
1909 unset ac_TEMP_PATH
1910 ;;
1911
1912 powerpc-*-darwin* )
1913 USE_BSD=1
1914 USE_DARWIN=1
1915 SO_SUFFIX=dylib
1916 cat >>confdefs.h <<\_ACEOF
1917#define __BSD__ 1
1918_ACEOF
1919
1920 cat >>confdefs.h <<\_ACEOF
1921#define __DARWIN__ 1
1922_ACEOF
1923
1924 cat >>confdefs.h <<\_ACEOF
1925#define __POWERPC__ 1
1926_ACEOF
1927
1928 cat >>confdefs.h <<\_ACEOF
1929#define TARGET_CARBON 1
1930_ACEOF
1931
1932 DEFAULT_DEFAULT_wxUSE_MAC=1
1933 ;;
1934
1935 *-*-beos* )
1936 USE_BEOS=1
1937 cat >>confdefs.h <<\_ACEOF
1938#define __BEOS__ 1
1939_ACEOF
1940
1941 ;;
1942
1943 *)
1944 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1945echo "$as_me: error: unknown system type ${host}." >&2;}
1946 { (exit 1); exit 1; }; }
1947esac
1948
1949
1950
1951
1952 wx_arg_cache_file="configarg.cache"
1953 echo "loading argument cache $wx_arg_cache_file"
1954 rm -f ${wx_arg_cache_file}.tmp
1955 touch ${wx_arg_cache_file}.tmp
1956 touch ${wx_arg_cache_file}
1957
1958
1959DEBUG_CONFIGURE=0
1960if test $DEBUG_CONFIGURE = 1; then
1961 DEFAULT_wxUSE_UNIVERSAL=no
1962 DEFAULT_wxUSE_STL=no
1963
1964 DEFAULT_wxUSE_NANOX=no
1965
1966 DEFAULT_wxUSE_THREADS=yes
1967
1968 DEFAULT_wxUSE_SHARED=yes
1969 DEFAULT_wxUSE_OPTIMISE=no
1970 DEFAULT_wxUSE_PROFILE=no
1971 DEFAULT_wxUSE_NO_DEPS=no
1972 DEFAULT_wxUSE_NO_RTTI=no
1973 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1974 DEFAULT_wxUSE_PERMISSIVE=no
1975 DEFAULT_wxUSE_DEBUG_FLAG=yes
1976 DEFAULT_wxUSE_DEBUG_INFO=yes
1977 DEFAULT_wxUSE_DEBUG_GDB=yes
1978 DEFAULT_wxUSE_MEM_TRACING=no
1979 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1980 DEFAULT_wxUSE_DMALLOC=no
1981 DEFAULT_wxUSE_APPLE_IEEE=no
1982
1983 DEFAULT_wxUSE_LOG=yes
1984 DEFAULT_wxUSE_LOGWINDOW=no
1985 DEFAULT_wxUSE_LOGGUI=no
1986 DEFAULT_wxUSE_LOGDIALOG=no
1987
1988 DEFAULT_wxUSE_GUI=yes
1989 DEFAULT_wxUSE_CONTROLS=no
1990
1991 DEFAULT_wxUSE_REGEX=no
1992 DEFAULT_wxUSE_XML=no
1993 DEFAULT_wxUSE_EXPAT=no
1994 DEFAULT_wxUSE_ZLIB=no
1995 DEFAULT_wxUSE_LIBPNG=no
1996 DEFAULT_wxUSE_LIBJPEG=no
1997 DEFAULT_wxUSE_LIBTIFF=no
1998 DEFAULT_wxUSE_ODBC=no
1999 DEFAULT_wxUSE_OPENGL=no
2000
2001 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2002 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2003 DEFAULT_wxUSE_STD_IOSTREAM=no
2004 DEFAULT_wxUSE_CMDLINE_PARSER=no
2005 DEFAULT_wxUSE_DATETIME=no
2006 DEFAULT_wxUSE_TIMER=no
2007 DEFAULT_wxUSE_STOPWATCH=no
2008 DEFAULT_wxUSE_FILE=no
2009 DEFAULT_wxUSE_FFILE=no
2010 DEFAULT_wxUSE_TEXTBUFFER=no
2011 DEFAULT_wxUSE_TEXTFILE=no
2012 DEFAULT_wxUSE_WAVE=no
2013 DEFAULT_wxUSE_INTL=no
2014 DEFAULT_wxUSE_CONFIG=no
2015 DEFAULT_wxUSE_FONTMAP=no
2016 DEFAULT_wxUSE_STREAMS=no
2017 DEFAULT_wxUSE_SOCKETS=no
2018 DEFAULT_wxUSE_OLE=no
2019 DEFAULT_wxUSE_DATAOBJ=no
2020 DEFAULT_wxUSE_DIALUP_MANAGER=no
2021 DEFAULT_wxUSE_JOYSTICK=no
2022 DEFAULT_wxUSE_DYNLIB_CLASS=no
2023 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2024 DEFAULT_wxUSE_LONGLONG=no
2025 DEFAULT_wxUSE_GEOMETRY=no
2026
2027 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2028 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2029 DEFAULT_wxUSE_POSTSCRIPT=no
2030
2031 DEFAULT_wxUSE_CLIPBOARD=no
2032 DEFAULT_wxUSE_TOOLTIPS=no
2033 DEFAULT_wxUSE_DRAG_AND_DROP=no
2034 DEFAULT_wxUSE_DRAGIMAGE=no
2035 DEFAULT_wxUSE_SPLINES=no
2036
2037 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2038 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2039 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2040
2041 DEFAULT_wxUSE_RESOURCES=no
2042 DEFAULT_wxUSE_CONSTRAINTS=no
2043 DEFAULT_wxUSE_IPC=no
2044 DEFAULT_wxUSE_HELP=no
2045 DEFAULT_wxUSE_MS_HTML_HELP=no
2046 DEFAULT_wxUSE_WXHTML_HELP=no
2047 DEFAULT_wxUSE_TREELAYOUT=no
2048 DEFAULT_wxUSE_METAFILE=no
2049 DEFAULT_wxUSE_MIMETYPE=no
2050 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2051 DEFAULT_wxUSE_PROTOCOL=no
2052 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2053 DEFAULT_wxUSE_PROTOCOL_FTP=no
2054 DEFAULT_wxUSE_PROTOCOL_FILE=no
2055 DEFAULT_wxUSE_URL=no
2056
2057 DEFAULT_wxUSE_COMMONDLGS=no
2058 DEFAULT_wxUSE_CHOICEDLG=no
2059 DEFAULT_wxUSE_COLOURDLG=no
2060 DEFAULT_wxUSE_DIRDLG=no
2061 DEFAULT_wxUSE_FILEDLG=no
2062 DEFAULT_wxUSE_FINDREPLDLG=no
2063 DEFAULT_wxUSE_FONTDLG=no
2064 DEFAULT_wxUSE_MSGDLG=no
2065 DEFAULT_wxUSE_NUMBERDLG=no
2066 DEFAULT_wxUSE_TEXTDLG=no
2067 DEFAULT_wxUSE_SPLASH=no
2068 DEFAULT_wxUSE_STARTUP_TIPS=no
2069 DEFAULT_wxUSE_PROGRESSDLG=no
2070 DEFAULT_wxUSE_WIZARDDLG=no
2071
2072 DEFAULT_wxUSE_MENUS=no
2073 DEFAULT_wxUSE_MINIFRAME=no
2074 DEFAULT_wxUSE_HTML=no
2075 DEFAULT_wxUSE_FILESYSTEM=no
2076 DEFAULT_wxUSE_FS_INET=no
2077 DEFAULT_wxUSE_FS_ZIP=no
2078 DEFAULT_wxUSE_BUSYINFO=no
2079 DEFAULT_wxUSE_ZIPSTREAM=no
2080 DEFAULT_wxUSE_VALIDATORS=no
2081
2082 DEFAULT_wxUSE_ACCEL=no
2083 DEFAULT_wxUSE_BUTTON=no
2084 DEFAULT_wxUSE_BMPBUTTON=no
2085 DEFAULT_wxUSE_CALCTRL=no
2086 DEFAULT_wxUSE_CARET=no
2087 DEFAULT_wxUSE_CHECKBOX=no
2088 DEFAULT_wxUSE_CHECKLST=no
2089 DEFAULT_wxUSE_CHOICE=no
2090 DEFAULT_wxUSE_COMBOBOX=no
2091 DEFAULT_wxUSE_DISPLAY=no
2092 DEFAULT_wxUSE_GAUGE=no
2093 DEFAULT_wxUSE_GRID=no
2094 DEFAULT_wxUSE_IMAGLIST=no
2095 DEFAULT_wxUSE_LISTBOX=no
2096 DEFAULT_wxUSE_LISTCTRL=no
2097 DEFAULT_wxUSE_NOTEBOOK=no
2098 DEFAULT_wxUSE_RADIOBOX=no
2099 DEFAULT_wxUSE_RADIOBTN=no
2100 DEFAULT_wxUSE_SASH=no
2101 DEFAULT_wxUSE_SCROLLBAR=no
2102 DEFAULT_wxUSE_SLIDER=no
2103 DEFAULT_wxUSE_SPINBTN=no
2104 DEFAULT_wxUSE_SPINCTRL=no
2105 DEFAULT_wxUSE_SPLITTER=no
2106 DEFAULT_wxUSE_STATBMP=no
2107 DEFAULT_wxUSE_STATBOX=no
2108 DEFAULT_wxUSE_STATLINE=no
2109 DEFAULT_wxUSE_STATTEXT=no
2110 DEFAULT_wxUSE_STATUSBAR=yes
2111 DEFAULT_wxUSE_TABDIALOG=no
2112 DEFAULT_wxUSE_TEXTCTRL=no
2113 DEFAULT_wxUSE_TOGGLEBTN=no
2114 DEFAULT_wxUSE_TOOLBAR=no
2115 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2116 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2117 DEFAULT_wxUSE_TREECTRL=no
2118 DEFAULT_wxUSE_POPUPWIN=no
2119 DEFAULT_wxUSE_TIPWINDOW=no
2120
2121 DEFAULT_wxUSE_UNICODE=no
2122 DEFAULT_wxUSE_UNICODE_MSLU=no
2123 DEFAULT_wxUSE_WCSRTOMBS=no
2124
2125 DEFAULT_wxUSE_PALETTE=no
2126 DEFAULT_wxUSE_IMAGE=no
2127 DEFAULT_wxUSE_GIF=no
2128 DEFAULT_wxUSE_PCX=no
2129 DEFAULT_wxUSE_PNM=no
2130 DEFAULT_wxUSE_IFF=no
2131 DEFAULT_wxUSE_XPM=no
2132 DEFAULT_wxUSE_ICO_CUR=no
2133 DEFAULT_wxUSE_ACCESSIBILITY=no
2134
2135 DEFAULT_wxUSE_MONOLITHIC=no
2136 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2137else
2138 DEFAULT_wxUSE_UNIVERSAL=no
2139 DEFAULT_wxUSE_STL=no
2140
2141 DEFAULT_wxUSE_NANOX=no
2142
2143 DEFAULT_wxUSE_THREADS=yes
2144
2145 DEFAULT_wxUSE_SHARED=yes
2146 DEFAULT_wxUSE_OPTIMISE=yes
2147 DEFAULT_wxUSE_PROFILE=no
2148 DEFAULT_wxUSE_NO_DEPS=no
2149 DEFAULT_wxUSE_NO_RTTI=no
2150 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2151 DEFAULT_wxUSE_PERMISSIVE=no
2152 DEFAULT_wxUSE_DEBUG_FLAG=no
2153 DEFAULT_wxUSE_DEBUG_INFO=no
2154 DEFAULT_wxUSE_DEBUG_GDB=no
2155 DEFAULT_wxUSE_MEM_TRACING=no
2156 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2157 DEFAULT_wxUSE_DMALLOC=no
2158 DEFAULT_wxUSE_APPLE_IEEE=yes
2159
2160 DEFAULT_wxUSE_LOG=yes
2161 DEFAULT_wxUSE_LOGWINDOW=yes
2162 DEFAULT_wxUSE_LOGGUI=yes
2163 DEFAULT_wxUSE_LOGDIALOG=yes
2164
2165 DEFAULT_wxUSE_GUI=yes
2166
2167 DEFAULT_wxUSE_REGEX=yes
2168 DEFAULT_wxUSE_XML=yes
2169 DEFAULT_wxUSE_EXPAT=yes
2170 DEFAULT_wxUSE_ZLIB=yes
2171 DEFAULT_wxUSE_LIBPNG=yes
2172 DEFAULT_wxUSE_LIBJPEG=yes
2173 DEFAULT_wxUSE_LIBTIFF=yes
2174 DEFAULT_wxUSE_ODBC=no
2175 DEFAULT_wxUSE_OPENGL=no
2176
2177 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2178 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2179 DEFAULT_wxUSE_STD_IOSTREAM=no
2180 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2181 DEFAULT_wxUSE_DATETIME=yes
2182 DEFAULT_wxUSE_TIMER=yes
2183 DEFAULT_wxUSE_STOPWATCH=yes
2184 DEFAULT_wxUSE_FILE=yes
2185 DEFAULT_wxUSE_FFILE=yes
2186 DEFAULT_wxUSE_TEXTBUFFER=yes
2187 DEFAULT_wxUSE_TEXTFILE=yes
2188 DEFAULT_wxUSE_WAVE=no
2189 DEFAULT_wxUSE_INTL=yes
2190 DEFAULT_wxUSE_CONFIG=yes
2191 DEFAULT_wxUSE_FONTMAP=yes
2192 DEFAULT_wxUSE_STREAMS=yes
2193 DEFAULT_wxUSE_SOCKETS=yes
2194 DEFAULT_wxUSE_OLE=yes
2195 DEFAULT_wxUSE_DATAOBJ=yes
2196 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2197 DEFAULT_wxUSE_JOYSTICK=yes
2198 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2199 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2200 DEFAULT_wxUSE_LONGLONG=yes
2201 DEFAULT_wxUSE_GEOMETRY=yes
2202
2203 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2204 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2205 DEFAULT_wxUSE_POSTSCRIPT=yes
2206
2207 DEFAULT_wxUSE_CLIPBOARD=yes
2208 DEFAULT_wxUSE_TOOLTIPS=yes
2209 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2210 DEFAULT_wxUSE_DRAGIMAGE=yes
2211 DEFAULT_wxUSE_SPLINES=yes
2212
2213 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2214 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2215 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2216
2217 DEFAULT_wxUSE_RESOURCES=no
2218 DEFAULT_wxUSE_CONSTRAINTS=yes
2219 DEFAULT_wxUSE_IPC=yes
2220 DEFAULT_wxUSE_HELP=yes
2221 DEFAULT_wxUSE_MS_HTML_HELP=yes
2222 DEFAULT_wxUSE_WXHTML_HELP=yes
2223 DEFAULT_wxUSE_TREELAYOUT=yes
2224 DEFAULT_wxUSE_METAFILE=yes
2225 DEFAULT_wxUSE_MIMETYPE=yes
2226 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2227 DEFAULT_wxUSE_PROTOCOL=yes
2228 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2229 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2230 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2231 DEFAULT_wxUSE_URL=yes
2232
2233 DEFAULT_wxUSE_COMMONDLGS=yes
2234 DEFAULT_wxUSE_CHOICEDLG=yes
2235 DEFAULT_wxUSE_COLOURDLG=yes
2236 DEFAULT_wxUSE_DIRDLG=yes
2237 DEFAULT_wxUSE_FILEDLG=yes
2238 DEFAULT_wxUSE_FINDREPLDLG=yes
2239 DEFAULT_wxUSE_FONTDLG=yes
2240 DEFAULT_wxUSE_MSGDLG=yes
2241 DEFAULT_wxUSE_NUMBERDLG=yes
2242 DEFAULT_wxUSE_TEXTDLG=yes
2243 DEFAULT_wxUSE_SPLASH=yes
2244 DEFAULT_wxUSE_STARTUP_TIPS=yes
2245 DEFAULT_wxUSE_PROGRESSDLG=yes
2246 DEFAULT_wxUSE_WIZARDDLG=yes
2247
2248 DEFAULT_wxUSE_MENUS=yes
2249 DEFAULT_wxUSE_MINIFRAME=yes
2250 DEFAULT_wxUSE_HTML=yes
2251 DEFAULT_wxUSE_FILESYSTEM=yes
2252 DEFAULT_wxUSE_FS_INET=yes
2253 DEFAULT_wxUSE_FS_ZIP=yes
2254 DEFAULT_wxUSE_BUSYINFO=yes
2255 DEFAULT_wxUSE_ZIPSTREAM=yes
2256 DEFAULT_wxUSE_VALIDATORS=yes
2257
2258 DEFAULT_wxUSE_ACCEL=yes
2259 DEFAULT_wxUSE_BUTTON=yes
2260 DEFAULT_wxUSE_BMPBUTTON=yes
2261 DEFAULT_wxUSE_CALCTRL=yes
2262 DEFAULT_wxUSE_CARET=yes
2263 DEFAULT_wxUSE_CHECKBOX=yes
2264 DEFAULT_wxUSE_CHECKLST=yes
2265 DEFAULT_wxUSE_CHOICE=yes
2266 DEFAULT_wxUSE_COMBOBOX=yes
2267 DEFAULT_wxUSE_DISPLAY=no
2268 DEFAULT_wxUSE_GAUGE=yes
2269 DEFAULT_wxUSE_GRID=yes
2270 DEFAULT_wxUSE_IMAGLIST=yes
2271 DEFAULT_wxUSE_LISTBOX=yes
2272 DEFAULT_wxUSE_LISTCTRL=yes
2273 DEFAULT_wxUSE_NOTEBOOK=yes
2274 DEFAULT_wxUSE_RADIOBOX=yes
2275 DEFAULT_wxUSE_RADIOBTN=yes
2276 DEFAULT_wxUSE_SASH=yes
2277 DEFAULT_wxUSE_SCROLLBAR=yes
2278 DEFAULT_wxUSE_SLIDER=yes
2279 DEFAULT_wxUSE_SPINBTN=yes
2280 DEFAULT_wxUSE_SPINCTRL=yes
2281 DEFAULT_wxUSE_SPLITTER=yes
2282 DEFAULT_wxUSE_STATBMP=yes
2283 DEFAULT_wxUSE_STATBOX=yes
2284 DEFAULT_wxUSE_STATLINE=yes
2285 DEFAULT_wxUSE_STATTEXT=yes
2286 DEFAULT_wxUSE_STATUSBAR=yes
2287 DEFAULT_wxUSE_TABDIALOG=no
2288 DEFAULT_wxUSE_TEXTCTRL=yes
2289 DEFAULT_wxUSE_TOGGLEBTN=yes
2290 DEFAULT_wxUSE_TOOLBAR=yes
2291 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2292 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2293 DEFAULT_wxUSE_TREECTRL=yes
2294 DEFAULT_wxUSE_POPUPWIN=yes
2295 DEFAULT_wxUSE_TIPWINDOW=yes
2296
2297 DEFAULT_wxUSE_UNICODE=no
2298 DEFAULT_wxUSE_UNICODE_MSLU=yes
2299 DEFAULT_wxUSE_WCSRTOMBS=no
2300
2301 DEFAULT_wxUSE_PALETTE=yes
2302 DEFAULT_wxUSE_IMAGE=yes
2303 DEFAULT_wxUSE_GIF=yes
2304 DEFAULT_wxUSE_PCX=yes
2305 DEFAULT_wxUSE_IFF=no
2306 DEFAULT_wxUSE_PNM=yes
2307 DEFAULT_wxUSE_XPM=yes
2308 DEFAULT_wxUSE_ICO_CUR=yes
2309 DEFAULT_wxUSE_ACCESSIBILITY=no
2310
2311 DEFAULT_wxUSE_MONOLITHIC=no
2312 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2313fi
2314
2315
2316
2317for toolkit in `echo $ALL_TOOLKITS`; do
2318 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2319 if test "x$LINE" != "x" ; then
2320 has_toolkit_in_cache=1
2321 eval "DEFAULT_$LINE"
2322 eval "CACHE_$toolkit=1"
2323 fi
2324done
2325
2326
2327
2328 enablestring=
2329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2330echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2331 no_cache=0
2332 # Check whether --enable-gui or --disable-gui was given.
2333if test "${enable_gui+set}" = set; then
2334 enableval="$enable_gui"
2335
2336 if test "$enableval" = yes; then
2337 ac_cv_use_gui='wxUSE_GUI=yes'
2338 else
2339 ac_cv_use_gui='wxUSE_GUI=no'
2340 fi
2341
2342else
2343
2344 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2345 if test "x$LINE" != x ; then
2346 eval "DEFAULT_$LINE"
2347 else
2348 no_cache=1
2349 fi
2350
2351 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2352
2353fi;
2354
2355 eval "$ac_cv_use_gui"
2356 if test "$no_cache" != 1; then
2357 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2358 fi
2359
2360 if test "$wxUSE_GUI" = yes; then
2361 echo "$as_me:$LINENO: result: yes" >&5
2362echo "${ECHO_T}yes" >&6
2363 else
2364 echo "$as_me:$LINENO: result: no" >&5
2365echo "${ECHO_T}no" >&6
2366 fi
2367
2368
2369 enablestring=
2370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2371echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2372 no_cache=0
2373 # Check whether --enable-monolithic or --disable-monolithic was given.
2374if test "${enable_monolithic+set}" = set; then
2375 enableval="$enable_monolithic"
2376
2377 if test "$enableval" = yes; then
2378 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2379 else
2380 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2381 fi
2382
2383else
2384
2385 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2386 if test "x$LINE" != x ; then
2387 eval "DEFAULT_$LINE"
2388 else
2389 no_cache=1
2390 fi
2391
2392 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2393
2394fi;
2395
2396 eval "$ac_cv_use_monolithic"
2397 if test "$no_cache" != 1; then
2398 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2399 fi
2400
2401 if test "$wxUSE_MONOLITHIC" = yes; then
2402 echo "$as_me:$LINENO: result: yes" >&5
2403echo "${ECHO_T}yes" >&6
2404 else
2405 echo "$as_me:$LINENO: result: no" >&5
2406echo "${ECHO_T}no" >&6
2407 fi
2408
2409
2410if test "$wxUSE_GUI" = "yes"; then
2411
2412
2413 enablestring=
2414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2415echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2416 no_cache=0
2417 # Check whether --enable-universal or --disable-universal was given.
2418if test "${enable_universal+set}" = set; then
2419 enableval="$enable_universal"
2420
2421 if test "$enableval" = yes; then
2422 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2423 else
2424 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2425 fi
2426
2427else
2428
2429 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2430 if test "x$LINE" != x ; then
2431 eval "DEFAULT_$LINE"
2432 else
2433 no_cache=1
2434 fi
2435
2436 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2437
2438fi;
2439
2440 eval "$ac_cv_use_universal"
2441 if test "$no_cache" != 1; then
2442 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2443 fi
2444
2445 if test "$wxUSE_UNIVERSAL" = yes; then
2446 echo "$as_me:$LINENO: result: yes" >&5
2447echo "${ECHO_T}yes" >&6
2448 else
2449 echo "$as_me:$LINENO: result: no" >&5
2450echo "${ECHO_T}no" >&6
2451 fi
2452
2453
2454# Check whether --with-gtk or --without-gtk was given.
2455if test "${with_gtk+set}" = set; then
2456 withval="$with_gtk"
2457 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2458fi;
2459
2460# Check whether --with-motif or --without-motif was given.
2461if test "${with_motif+set}" = set; then
2462 withval="$with_motif"
2463 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2464fi;
2465
2466# Check whether --with-mac or --without-mac was given.
2467if test "${with_mac+set}" = set; then
2468 withval="$with_mac"
2469 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2470fi;
2471
2472# Check whether --with-cocoa or --without-cocoa was given.
2473if test "${with_cocoa+set}" = set; then
2474 withval="$with_cocoa"
2475 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2476fi;
2477
2478# Check whether --with-wine or --without-wine was given.
2479if test "${with_wine+set}" = set; then
2480 withval="$with_wine"
2481 wxUSE_WINE="$withval" CACHE_WINE=1
2482fi;
2483
2484# Check whether --with-msw or --without-msw was given.
2485if test "${with_msw+set}" = set; then
2486 withval="$with_msw"
2487 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2488fi;
2489
2490# Check whether --with-pm or --without-pm was given.
2491if test "${with_pm+set}" = set; then
2492 withval="$with_pm"
2493 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2494fi;
2495
2496# Check whether --with-mgl or --without-mgl was given.
2497if test "${with_mgl+set}" = set; then
2498 withval="$with_mgl"
2499 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2500fi;
2501
2502# Check whether --with-microwin or --without-microwin was given.
2503if test "${with_microwin+set}" = set; then
2504 withval="$with_microwin"
2505 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2506fi;
2507
2508# Check whether --with-x11 or --without-x11 was given.
2509if test "${with_x11+set}" = set; then
2510 withval="$with_x11"
2511 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2512fi;
2513
2514 enablestring=
2515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2516echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2517 no_cache=0
2518 # Check whether --enable-nanox or --disable-nanox was given.
2519if test "${enable_nanox+set}" = set; then
2520 enableval="$enable_nanox"
2521
2522 if test "$enableval" = yes; then
2523 ac_cv_use_nanox='wxUSE_NANOX=yes'
2524 else
2525 ac_cv_use_nanox='wxUSE_NANOX=no'
2526 fi
2527
2528else
2529
2530 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2531 if test "x$LINE" != x ; then
2532 eval "DEFAULT_$LINE"
2533 else
2534 no_cache=1
2535 fi
2536
2537 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2538
2539fi;
2540
2541 eval "$ac_cv_use_nanox"
2542 if test "$no_cache" != 1; then
2543 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2544 fi
2545
2546 if test "$wxUSE_NANOX" = yes; then
2547 echo "$as_me:$LINENO: result: yes" >&5
2548echo "${ECHO_T}yes" >&6
2549 else
2550 echo "$as_me:$LINENO: result: no" >&5
2551echo "${ECHO_T}no" >&6
2552 fi
2553
2554
2555
2556 enablestring=
2557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2558echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2559 no_cache=0
2560 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2561if test "${enable_gtk2+set}" = set; then
2562 enableval="$enable_gtk2"
2563
2564 if test "$enableval" = yes; then
2565 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2566 else
2567 ac_cv_use_gtk2='wxUSE_GTK2=no'
2568 fi
2569
2570else
2571
2572 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2573 if test "x$LINE" != x ; then
2574 eval "DEFAULT_$LINE"
2575 else
2576 no_cache=1
2577 fi
2578
2579 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2580
2581fi;
2582
2583 eval "$ac_cv_use_gtk2"
2584 if test "$no_cache" != 1; then
2585 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2586 fi
2587
2588 if test "$wxUSE_GTK2" = yes; then
2589 echo "$as_me:$LINENO: result: yes" >&5
2590echo "${ECHO_T}yes" >&6
2591 else
2592 echo "$as_me:$LINENO: result: no" >&5
2593echo "${ECHO_T}no" >&6
2594 fi
2595
2596
2597
2598 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2599echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2600 no_cache=0
2601
2602# Check whether --with-libpng or --without-libpng was given.
2603if test "${with_libpng+set}" = set; then
2604 withval="$with_libpng"
2605
2606 if test "$withval" = yes; then
2607 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2608 elif test "$withval" = no; then
2609 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2610 elif test "$withval" = sys; then
2611 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2612 elif test "$withval" = builtin; then
2613 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2614 else
2615 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2616echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2617 { (exit 1); exit 1; }; }
2618 fi
2619
2620else
2621
2622 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2623 if test "x$LINE" != x ; then
2624 eval "DEFAULT_$LINE"
2625 else
2626 no_cache=1
2627 fi
2628
2629 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2630
2631fi;
2632
2633 eval "$ac_cv_use_libpng"
2634 if test "$no_cache" != 1; then
2635 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2636 fi
2637
2638 if test "$wxUSE_LIBPNG" = yes; then
2639 echo "$as_me:$LINENO: result: yes" >&5
2640echo "${ECHO_T}yes" >&6
2641 elif test "$wxUSE_LIBPNG" = no; then
2642 echo "$as_me:$LINENO: result: no" >&5
2643echo "${ECHO_T}no" >&6
2644 elif test "$wxUSE_LIBPNG" = sys; then
2645 echo "$as_me:$LINENO: result: system version" >&5
2646echo "${ECHO_T}system version" >&6
2647 elif test "$wxUSE_LIBPNG" = builtin; then
2648 echo "$as_me:$LINENO: result: builtin version" >&5
2649echo "${ECHO_T}builtin version" >&6
2650 else
2651 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2652echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2653 { (exit 1); exit 1; }; }
2654 fi
2655
2656
2657 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2658echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2659 no_cache=0
2660
2661# Check whether --with-libjpeg or --without-libjpeg was given.
2662if test "${with_libjpeg+set}" = set; then
2663 withval="$with_libjpeg"
2664
2665 if test "$withval" = yes; then
2666 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2667 elif test "$withval" = no; then
2668 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2669 elif test "$withval" = sys; then
2670 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2671 elif test "$withval" = builtin; then
2672 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2673 else
2674 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2675echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2676 { (exit 1); exit 1; }; }
2677 fi
2678
2679else
2680
2681 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2682 if test "x$LINE" != x ; then
2683 eval "DEFAULT_$LINE"
2684 else
2685 no_cache=1
2686 fi
2687
2688 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2689
2690fi;
2691
2692 eval "$ac_cv_use_libjpeg"
2693 if test "$no_cache" != 1; then
2694 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2695 fi
2696
2697 if test "$wxUSE_LIBJPEG" = yes; then
2698 echo "$as_me:$LINENO: result: yes" >&5
2699echo "${ECHO_T}yes" >&6
2700 elif test "$wxUSE_LIBJPEG" = no; then
2701 echo "$as_me:$LINENO: result: no" >&5
2702echo "${ECHO_T}no" >&6
2703 elif test "$wxUSE_LIBJPEG" = sys; then
2704 echo "$as_me:$LINENO: result: system version" >&5
2705echo "${ECHO_T}system version" >&6
2706 elif test "$wxUSE_LIBJPEG" = builtin; then
2707 echo "$as_me:$LINENO: result: builtin version" >&5
2708echo "${ECHO_T}builtin version" >&6
2709 else
2710 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2711echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2712 { (exit 1); exit 1; }; }
2713 fi
2714
2715
2716 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2717echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2718 no_cache=0
2719
2720# Check whether --with-libtiff or --without-libtiff was given.
2721if test "${with_libtiff+set}" = set; then
2722 withval="$with_libtiff"
2723
2724 if test "$withval" = yes; then
2725 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2726 elif test "$withval" = no; then
2727 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2728 elif test "$withval" = sys; then
2729 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2730 elif test "$withval" = builtin; then
2731 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2732 else
2733 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2734echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2735 { (exit 1); exit 1; }; }
2736 fi
2737
2738else
2739
2740 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2741 if test "x$LINE" != x ; then
2742 eval "DEFAULT_$LINE"
2743 else
2744 no_cache=1
2745 fi
2746
2747 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2748
2749fi;
2750
2751 eval "$ac_cv_use_libtiff"
2752 if test "$no_cache" != 1; then
2753 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2754 fi
2755
2756 if test "$wxUSE_LIBTIFF" = yes; then
2757 echo "$as_me:$LINENO: result: yes" >&5
2758echo "${ECHO_T}yes" >&6
2759 elif test "$wxUSE_LIBTIFF" = no; then
2760 echo "$as_me:$LINENO: result: no" >&5
2761echo "${ECHO_T}no" >&6
2762 elif test "$wxUSE_LIBTIFF" = sys; then
2763 echo "$as_me:$LINENO: result: system version" >&5
2764echo "${ECHO_T}system version" >&6
2765 elif test "$wxUSE_LIBTIFF" = builtin; then
2766 echo "$as_me:$LINENO: result: builtin version" >&5
2767echo "${ECHO_T}builtin version" >&6
2768 else
2769 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2770echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2771 { (exit 1); exit 1; }; }
2772 fi
2773
2774
2775 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2776echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2777 no_cache=0
2778
2779# Check whether --with-opengl or --without-opengl was given.
2780if test "${with_opengl+set}" = set; then
2781 withval="$with_opengl"
2782
2783 if test "$withval" = yes; then
2784 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2785 else
2786 ac_cv_use_opengl='wxUSE_OPENGL=no'
2787 fi
2788
2789else
2790
2791 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2792 if test "x$LINE" != x ; then
2793 eval "DEFAULT_$LINE"
2794 else
2795 no_cache=1
2796 fi
2797
2798 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2799
2800fi;
2801
2802 eval "$ac_cv_use_opengl"
2803 if test "$no_cache" != 1; then
2804 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2805 fi
2806
2807 if test "$wxUSE_OPENGL" = yes; then
2808 echo "$as_me:$LINENO: result: yes" >&5
2809echo "${ECHO_T}yes" >&6
2810 else
2811 echo "$as_me:$LINENO: result: no" >&5
2812echo "${ECHO_T}no" >&6
2813 fi
2814
2815
2816fi
2817
2818
2819 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2820echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2821 no_cache=0
2822
2823# Check whether --with-dmalloc or --without-dmalloc was given.
2824if test "${with_dmalloc+set}" = set; then
2825 withval="$with_dmalloc"
2826
2827 if test "$withval" = yes; then
2828 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2829 else
2830 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2831 fi
2832
2833else
2834
2835 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2836 if test "x$LINE" != x ; then
2837 eval "DEFAULT_$LINE"
2838 else
2839 no_cache=1
2840 fi
2841
2842 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2843
2844fi;
2845
2846 eval "$ac_cv_use_dmalloc"
2847 if test "$no_cache" != 1; then
2848 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2849 fi
2850
2851 if test "$wxUSE_DMALLOC" = yes; then
2852 echo "$as_me:$LINENO: result: yes" >&5
2853echo "${ECHO_T}yes" >&6
2854 else
2855 echo "$as_me:$LINENO: result: no" >&5
2856echo "${ECHO_T}no" >&6
2857 fi
2858
2859
2860 echo "$as_me:$LINENO: checking for --with-regex" >&5
2861echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2862 no_cache=0
2863
2864# Check whether --with-regex or --without-regex was given.
2865if test "${with_regex+set}" = set; then
2866 withval="$with_regex"
2867
2868 if test "$withval" = yes; then
2869 ac_cv_use_regex='wxUSE_REGEX=yes'
2870 elif test "$withval" = no; then
2871 ac_cv_use_regex='wxUSE_REGEX=no'
2872 elif test "$withval" = sys; then
2873 ac_cv_use_regex='wxUSE_REGEX=sys'
2874 elif test "$withval" = builtin; then
2875 ac_cv_use_regex='wxUSE_REGEX=builtin'
2876 else
2877 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2878echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2879 { (exit 1); exit 1; }; }
2880 fi
2881
2882else
2883
2884 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2885 if test "x$LINE" != x ; then
2886 eval "DEFAULT_$LINE"
2887 else
2888 no_cache=1
2889 fi
2890
2891 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2892
2893fi;
2894
2895 eval "$ac_cv_use_regex"
2896 if test "$no_cache" != 1; then
2897 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2898 fi
2899
2900 if test "$wxUSE_REGEX" = yes; then
2901 echo "$as_me:$LINENO: result: yes" >&5
2902echo "${ECHO_T}yes" >&6
2903 elif test "$wxUSE_REGEX" = no; then
2904 echo "$as_me:$LINENO: result: no" >&5
2905echo "${ECHO_T}no" >&6
2906 elif test "$wxUSE_REGEX" = sys; then
2907 echo "$as_me:$LINENO: result: system version" >&5
2908echo "${ECHO_T}system version" >&6
2909 elif test "$wxUSE_REGEX" = builtin; then
2910 echo "$as_me:$LINENO: result: builtin version" >&5
2911echo "${ECHO_T}builtin version" >&6
2912 else
2913 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2914echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2915 { (exit 1); exit 1; }; }
2916 fi
2917
2918
2919 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2920echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2921 no_cache=0
2922
2923# Check whether --with-zlib or --without-zlib was given.
2924if test "${with_zlib+set}" = set; then
2925 withval="$with_zlib"
2926
2927 if test "$withval" = yes; then
2928 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2929 elif test "$withval" = no; then
2930 ac_cv_use_zlib='wxUSE_ZLIB=no'
2931 elif test "$withval" = sys; then
2932 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2933 elif test "$withval" = builtin; then
2934 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2935 else
2936 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2937echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2938 { (exit 1); exit 1; }; }
2939 fi
2940
2941else
2942
2943 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2944 if test "x$LINE" != x ; then
2945 eval "DEFAULT_$LINE"
2946 else
2947 no_cache=1
2948 fi
2949
2950 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2951
2952fi;
2953
2954 eval "$ac_cv_use_zlib"
2955 if test "$no_cache" != 1; then
2956 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2957 fi
2958
2959 if test "$wxUSE_ZLIB" = yes; then
2960 echo "$as_me:$LINENO: result: yes" >&5
2961echo "${ECHO_T}yes" >&6
2962 elif test "$wxUSE_ZLIB" = no; then
2963 echo "$as_me:$LINENO: result: no" >&5
2964echo "${ECHO_T}no" >&6
2965 elif test "$wxUSE_ZLIB" = sys; then
2966 echo "$as_me:$LINENO: result: system version" >&5
2967echo "${ECHO_T}system version" >&6
2968 elif test "$wxUSE_ZLIB" = builtin; then
2969 echo "$as_me:$LINENO: result: builtin version" >&5
2970echo "${ECHO_T}builtin version" >&6
2971 else
2972 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2973echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2974 { (exit 1); exit 1; }; }
2975 fi
2976
2977
2978 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2979echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2980 no_cache=0
2981
2982# Check whether --with-odbc or --without-odbc was given.
2983if test "${with_odbc+set}" = set; then
2984 withval="$with_odbc"
2985
2986 if test "$withval" = yes; then
2987 ac_cv_use_odbc='wxUSE_ODBC=yes'
2988 elif test "$withval" = no; then
2989 ac_cv_use_odbc='wxUSE_ODBC=no'
2990 elif test "$withval" = sys; then
2991 ac_cv_use_odbc='wxUSE_ODBC=sys'
2992 elif test "$withval" = builtin; then
2993 ac_cv_use_odbc='wxUSE_ODBC=builtin'
2994 else
2995 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2996echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
2997 { (exit 1); exit 1; }; }
2998 fi
2999
3000else
3001
3002 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3003 if test "x$LINE" != x ; then
3004 eval "DEFAULT_$LINE"
3005 else
3006 no_cache=1
3007 fi
3008
3009 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3010
3011fi;
3012
3013 eval "$ac_cv_use_odbc"
3014 if test "$no_cache" != 1; then
3015 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3016 fi
3017
3018 if test "$wxUSE_ODBC" = yes; then
3019 echo "$as_me:$LINENO: result: yes" >&5
3020echo "${ECHO_T}yes" >&6
3021 elif test "$wxUSE_ODBC" = no; then
3022 echo "$as_me:$LINENO: result: no" >&5
3023echo "${ECHO_T}no" >&6
3024 elif test "$wxUSE_ODBC" = sys; then
3025 echo "$as_me:$LINENO: result: system version" >&5
3026echo "${ECHO_T}system version" >&6
3027 elif test "$wxUSE_ODBC" = builtin; then
3028 echo "$as_me:$LINENO: result: builtin version" >&5
3029echo "${ECHO_T}builtin version" >&6
3030 else
3031 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3032echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3033 { (exit 1); exit 1; }; }
3034 fi
3035
3036
3037 echo "$as_me:$LINENO: checking for --with-expat" >&5
3038echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3039 no_cache=0
3040
3041# Check whether --with-expat or --without-expat was given.
3042if test "${with_expat+set}" = set; then
3043 withval="$with_expat"
3044
3045 if test "$withval" = yes; then
3046 ac_cv_use_expat='wxUSE_EXPAT=yes'
3047 elif test "$withval" = no; then
3048 ac_cv_use_expat='wxUSE_EXPAT=no'
3049 elif test "$withval" = sys; then
3050 ac_cv_use_expat='wxUSE_EXPAT=sys'
3051 elif test "$withval" = builtin; then
3052 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3053 else
3054 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3055echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3056 { (exit 1); exit 1; }; }
3057 fi
3058
3059else
3060
3061 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3062 if test "x$LINE" != x ; then
3063 eval "DEFAULT_$LINE"
3064 else
3065 no_cache=1
3066 fi
3067
3068 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3069
3070fi;
3071
3072 eval "$ac_cv_use_expat"
3073 if test "$no_cache" != 1; then
3074 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3075 fi
3076
3077 if test "$wxUSE_EXPAT" = yes; then
3078 echo "$as_me:$LINENO: result: yes" >&5
3079echo "${ECHO_T}yes" >&6
3080 elif test "$wxUSE_EXPAT" = no; then
3081 echo "$as_me:$LINENO: result: no" >&5
3082echo "${ECHO_T}no" >&6
3083 elif test "$wxUSE_EXPAT" = sys; then
3084 echo "$as_me:$LINENO: result: system version" >&5
3085echo "${ECHO_T}system version" >&6
3086 elif test "$wxUSE_EXPAT" = builtin; then
3087 echo "$as_me:$LINENO: result: builtin version" >&5
3088echo "${ECHO_T}builtin version" >&6
3089 else
3090 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3091echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3092 { (exit 1); exit 1; }; }
3093 fi
3094
3095
3096
3097
3098 enablestring=
3099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3100echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3101 no_cache=0
3102 # Check whether --enable-shared or --disable-shared was given.
3103if test "${enable_shared+set}" = set; then
3104 enableval="$enable_shared"
3105
3106 if test "$enableval" = yes; then
3107 ac_cv_use_shared='wxUSE_SHARED=yes'
3108 else
3109 ac_cv_use_shared='wxUSE_SHARED=no'
3110 fi
3111
3112else
3113
3114 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3115 if test "x$LINE" != x ; then
3116 eval "DEFAULT_$LINE"
3117 else
3118 no_cache=1
3119 fi
3120
3121 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3122
3123fi;
3124
3125 eval "$ac_cv_use_shared"
3126 if test "$no_cache" != 1; then
3127 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3128 fi
3129
3130 if test "$wxUSE_SHARED" = yes; then
3131 echo "$as_me:$LINENO: result: yes" >&5
3132echo "${ECHO_T}yes" >&6
3133 else
3134 echo "$as_me:$LINENO: result: no" >&5
3135echo "${ECHO_T}no" >&6
3136 fi
3137
3138
3139 enablestring=
3140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3141echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3142 no_cache=0
3143 # Check whether --enable-optimise or --disable-optimise was given.
3144if test "${enable_optimise+set}" = set; then
3145 enableval="$enable_optimise"
3146
3147 if test "$enableval" = yes; then
3148 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3149 else
3150 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3151 fi
3152
3153else
3154
3155 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3156 if test "x$LINE" != x ; then
3157 eval "DEFAULT_$LINE"
3158 else
3159 no_cache=1
3160 fi
3161
3162 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3163
3164fi;
3165
3166 eval "$ac_cv_use_optimise"
3167 if test "$no_cache" != 1; then
3168 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3169 fi
3170
3171 if test "$wxUSE_OPTIMISE" = yes; then
3172 echo "$as_me:$LINENO: result: yes" >&5
3173echo "${ECHO_T}yes" >&6
3174 else
3175 echo "$as_me:$LINENO: result: no" >&5
3176echo "${ECHO_T}no" >&6
3177 fi
3178
3179
3180 enablestring=
3181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3182echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3183 no_cache=0
3184 # Check whether --enable-debug or --disable-debug was given.
3185if test "${enable_debug+set}" = set; then
3186 enableval="$enable_debug"
3187
3188 if test "$enableval" = yes; then
3189 ac_cv_use_debug='wxUSE_DEBUG=yes'
3190 else
3191 ac_cv_use_debug='wxUSE_DEBUG=no'
3192 fi
3193
3194else
3195
3196 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3197 if test "x$LINE" != x ; then
3198 eval "DEFAULT_$LINE"
3199 else
3200 no_cache=1
3201 fi
3202
3203 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3204
3205fi;
3206
3207 eval "$ac_cv_use_debug"
3208 if test "$no_cache" != 1; then
3209 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3210 fi
3211
3212 if test "$wxUSE_DEBUG" = yes; then
3213 echo "$as_me:$LINENO: result: yes" >&5
3214echo "${ECHO_T}yes" >&6
3215 else
3216 echo "$as_me:$LINENO: result: no" >&5
3217echo "${ECHO_T}no" >&6
3218 fi
3219
3220
3221 enablestring=
3222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3223echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3224 no_cache=0
3225 # Check whether --enable-stl or --disable-stl was given.
3226if test "${enable_stl+set}" = set; then
3227 enableval="$enable_stl"
3228
3229 if test "$enableval" = yes; then
3230 ac_cv_use_stl='wxUSE_STL=yes'
3231 else
3232 ac_cv_use_stl='wxUSE_STL=no'
3233 fi
3234
3235else
3236
3237 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3238 if test "x$LINE" != x ; then
3239 eval "DEFAULT_$LINE"
3240 else
3241 no_cache=1
3242 fi
3243
3244 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3245
3246fi;
3247
3248 eval "$ac_cv_use_stl"
3249 if test "$no_cache" != 1; then
3250 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3251 fi
3252
3253 if test "$wxUSE_STL" = yes; then
3254 echo "$as_me:$LINENO: result: yes" >&5
3255echo "${ECHO_T}yes" >&6
3256 else
3257 echo "$as_me:$LINENO: result: no" >&5
3258echo "${ECHO_T}no" >&6
3259 fi
3260
3261
3262if test "$wxUSE_DEBUG" = "yes"; then
3263 DEFAULT_wxUSE_DEBUG_FLAG=yes
3264 DEFAULT_wxUSE_DEBUG_INFO=yes
3265 BUILD=debug
3266elif test "$wxUSE_DEBUG" = "no"; then
3267 DEFAULT_wxUSE_DEBUG_FLAG=no
3268 DEFAULT_wxUSE_DEBUG_INFO=no
3269 BUILD=release
3270fi
3271
3272
3273 enablestring=
3274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3275echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3276 no_cache=0
3277 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3278if test "${enable_debug_flag+set}" = set; then
3279 enableval="$enable_debug_flag"
3280
3281 if test "$enableval" = yes; then
3282 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3283 else
3284 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3285 fi
3286
3287else
3288
3289 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3290 if test "x$LINE" != x ; then
3291 eval "DEFAULT_$LINE"
3292 else
3293 no_cache=1
3294 fi
3295
3296 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3297
3298fi;
3299
3300 eval "$ac_cv_use_debug_flag"
3301 if test "$no_cache" != 1; then
3302 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3303 fi
3304
3305 if test "$wxUSE_DEBUG_FLAG" = yes; then
3306 echo "$as_me:$LINENO: result: yes" >&5
3307echo "${ECHO_T}yes" >&6
3308 else
3309 echo "$as_me:$LINENO: result: no" >&5
3310echo "${ECHO_T}no" >&6
3311 fi
3312
3313
3314 enablestring=
3315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3316echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3317 no_cache=0
3318 # Check whether --enable-debug_info or --disable-debug_info was given.
3319if test "${enable_debug_info+set}" = set; then
3320 enableval="$enable_debug_info"
3321
3322 if test "$enableval" = yes; then
3323 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3324 else
3325 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3326 fi
3327
3328else
3329
3330 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3331 if test "x$LINE" != x ; then
3332 eval "DEFAULT_$LINE"
3333 else
3334 no_cache=1
3335 fi
3336
3337 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3338
3339fi;
3340
3341 eval "$ac_cv_use_debug_info"
3342 if test "$no_cache" != 1; then
3343 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3344 fi
3345
3346 if test "$wxUSE_DEBUG_INFO" = yes; then
3347 echo "$as_me:$LINENO: result: yes" >&5
3348echo "${ECHO_T}yes" >&6
3349 else
3350 echo "$as_me:$LINENO: result: no" >&5
3351echo "${ECHO_T}no" >&6
3352 fi
3353
3354
3355 enablestring=
3356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3357echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3358 no_cache=0
3359 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3360if test "${enable_debug_gdb+set}" = set; then
3361 enableval="$enable_debug_gdb"
3362
3363 if test "$enableval" = yes; then
3364 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3365 else
3366 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3367 fi
3368
3369else
3370
3371 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3372 if test "x$LINE" != x ; then
3373 eval "DEFAULT_$LINE"
3374 else
3375 no_cache=1
3376 fi
3377
3378 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3379
3380fi;
3381
3382 eval "$ac_cv_use_debug_gdb"
3383 if test "$no_cache" != 1; then
3384 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3385 fi
3386
3387 if test "$wxUSE_DEBUG_GDB" = yes; then
3388 echo "$as_me:$LINENO: result: yes" >&5
3389echo "${ECHO_T}yes" >&6
3390 else
3391 echo "$as_me:$LINENO: result: no" >&5
3392echo "${ECHO_T}no" >&6
3393 fi
3394
3395
3396 enablestring=
3397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3398echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3399 no_cache=0
3400 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3401if test "${enable_debug_cntxt+set}" = set; then
3402 enableval="$enable_debug_cntxt"
3403
3404 if test "$enableval" = yes; then
3405 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3406 else
3407 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3408 fi
3409
3410else
3411
3412 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3413 if test "x$LINE" != x ; then
3414 eval "DEFAULT_$LINE"
3415 else
3416 no_cache=1
3417 fi
3418
3419 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3420
3421fi;
3422
3423 eval "$ac_cv_use_debug_cntxt"
3424 if test "$no_cache" != 1; then
3425 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3426 fi
3427
3428 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3429 echo "$as_me:$LINENO: result: yes" >&5
3430echo "${ECHO_T}yes" >&6
3431 else
3432 echo "$as_me:$LINENO: result: no" >&5
3433echo "${ECHO_T}no" >&6
3434 fi
3435
3436
3437 enablestring=
3438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3439echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3440 no_cache=0
3441 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3442if test "${enable_mem_tracing+set}" = set; then
3443 enableval="$enable_mem_tracing"
3444
3445 if test "$enableval" = yes; then
3446 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3447 else
3448 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3449 fi
3450
3451else
3452
3453 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3454 if test "x$LINE" != x ; then
3455 eval "DEFAULT_$LINE"
3456 else
3457 no_cache=1
3458 fi
3459
3460 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3461
3462fi;
3463
3464 eval "$ac_cv_use_mem_tracing"
3465 if test "$no_cache" != 1; then
3466 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3467 fi
3468
3469 if test "$wxUSE_MEM_TRACING" = yes; then
3470 echo "$as_me:$LINENO: result: yes" >&5
3471echo "${ECHO_T}yes" >&6
3472 else
3473 echo "$as_me:$LINENO: result: no" >&5
3474echo "${ECHO_T}no" >&6
3475 fi
3476
3477
3478 enablestring=
3479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3480echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3481 no_cache=0
3482 # Check whether --enable-profile or --disable-profile was given.
3483if test "${enable_profile+set}" = set; then
3484 enableval="$enable_profile"
3485
3486 if test "$enableval" = yes; then
3487 ac_cv_use_profile='wxUSE_PROFILE=yes'
3488 else
3489 ac_cv_use_profile='wxUSE_PROFILE=no'
3490 fi
3491
3492else
3493
3494 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3495 if test "x$LINE" != x ; then
3496 eval "DEFAULT_$LINE"
3497 else
3498 no_cache=1
3499 fi
3500
3501 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3502
3503fi;
3504
3505 eval "$ac_cv_use_profile"
3506 if test "$no_cache" != 1; then
3507 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3508 fi
3509
3510 if test "$wxUSE_PROFILE" = yes; then
3511 echo "$as_me:$LINENO: result: yes" >&5
3512echo "${ECHO_T}yes" >&6
3513 else
3514 echo "$as_me:$LINENO: result: no" >&5
3515echo "${ECHO_T}no" >&6
3516 fi
3517
3518
3519 enablestring=
3520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3521echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3522 no_cache=0
3523 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3524if test "${enable_no_rtti+set}" = set; then
3525 enableval="$enable_no_rtti"
3526
3527 if test "$enableval" = yes; then
3528 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3529 else
3530 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3531 fi
3532
3533else
3534
3535 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3536 if test "x$LINE" != x ; then
3537 eval "DEFAULT_$LINE"
3538 else
3539 no_cache=1
3540 fi
3541
3542 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3543
3544fi;
3545
3546 eval "$ac_cv_use_no_rtti"
3547 if test "$no_cache" != 1; then
3548 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3549 fi
3550
3551 if test "$wxUSE_NO_RTTI" = yes; then
3552 echo "$as_me:$LINENO: result: yes" >&5
3553echo "${ECHO_T}yes" >&6
3554 else
3555 echo "$as_me:$LINENO: result: no" >&5
3556echo "${ECHO_T}no" >&6
3557 fi
3558
3559
3560 enablestring=
3561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3562echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3563 no_cache=0
3564 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3565if test "${enable_no_exceptions+set}" = set; then
3566 enableval="$enable_no_exceptions"
3567
3568 if test "$enableval" = yes; then
3569 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3570 else
3571 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3572 fi
3573
3574else
3575
3576 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3577 if test "x$LINE" != x ; then
3578 eval "DEFAULT_$LINE"
3579 else
3580 no_cache=1
3581 fi
3582
3583 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3584
3585fi;
3586
3587 eval "$ac_cv_use_no_exceptions"
3588 if test "$no_cache" != 1; then
3589 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3590 fi
3591
3592 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3593 echo "$as_me:$LINENO: result: yes" >&5
3594echo "${ECHO_T}yes" >&6
3595 else
3596 echo "$as_me:$LINENO: result: no" >&5
3597echo "${ECHO_T}no" >&6
3598 fi
3599
3600
3601 enablestring=
3602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3603echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3604 no_cache=0
3605 # Check whether --enable-permissive or --disable-permissive was given.
3606if test "${enable_permissive+set}" = set; then
3607 enableval="$enable_permissive"
3608
3609 if test "$enableval" = yes; then
3610 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3611 else
3612 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3613 fi
3614
3615else
3616
3617 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3618 if test "x$LINE" != x ; then
3619 eval "DEFAULT_$LINE"
3620 else
3621 no_cache=1
3622 fi
3623
3624 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3625
3626fi;
3627
3628 eval "$ac_cv_use_permissive"
3629 if test "$no_cache" != 1; then
3630 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3631 fi
3632
3633 if test "$wxUSE_PERMISSIVE" = yes; then
3634 echo "$as_me:$LINENO: result: yes" >&5
3635echo "${ECHO_T}yes" >&6
3636 else
3637 echo "$as_me:$LINENO: result: no" >&5
3638echo "${ECHO_T}no" >&6
3639 fi
3640
3641
3642 enablestring=
3643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3644echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3645 no_cache=0
3646 # Check whether --enable-no_deps or --disable-no_deps was given.
3647if test "${enable_no_deps+set}" = set; then
3648 enableval="$enable_no_deps"
3649
3650 if test "$enableval" = yes; then
3651 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3652 else
3653 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3654 fi
3655
3656else
3657
3658 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3659 if test "x$LINE" != x ; then
3660 eval "DEFAULT_$LINE"
3661 else
3662 no_cache=1
3663 fi
3664
3665 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3666
3667fi;
3668
3669 eval "$ac_cv_use_no_deps"
3670 if test "$no_cache" != 1; then
3671 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3672 fi
3673
3674 if test "$wxUSE_NO_DEPS" = yes; then
3675 echo "$as_me:$LINENO: result: yes" >&5
3676echo "${ECHO_T}yes" >&6
3677 else
3678 echo "$as_me:$LINENO: result: no" >&5
3679echo "${ECHO_T}no" >&6
3680 fi
3681
3682
3683
3684 enablestring=
3685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3686echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3687 no_cache=0
3688 # Check whether --enable-compat22 or --disable-compat22 was given.
3689if test "${enable_compat22+set}" = set; then
3690 enableval="$enable_compat22"
3691
3692 if test "$enableval" = yes; then
3693 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3694 else
3695 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3696 fi
3697
3698else
3699
3700 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3701 if test "x$LINE" != x ; then
3702 eval "DEFAULT_$LINE"
3703 else
3704 no_cache=1
3705 fi
3706
3707 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3708
3709fi;
3710
3711 eval "$ac_cv_use_compat22"
3712 if test "$no_cache" != 1; then
3713 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3714 fi
3715
3716 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3717 echo "$as_me:$LINENO: result: yes" >&5
3718echo "${ECHO_T}yes" >&6
3719 else
3720 echo "$as_me:$LINENO: result: no" >&5
3721echo "${ECHO_T}no" >&6
3722 fi
3723
3724
3725 enablestring=disable
3726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3727echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3728 no_cache=0
3729 # Check whether --enable-compat24 or --disable-compat24 was given.
3730if test "${enable_compat24+set}" = set; then
3731 enableval="$enable_compat24"
3732
3733 if test "$enableval" = yes; then
3734 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3735 else
3736 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3737 fi
3738
3739else
3740
3741 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3742 if test "x$LINE" != x ; then
3743 eval "DEFAULT_$LINE"
3744 else
3745 no_cache=1
3746 fi
3747
3748 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3749
3750fi;
3751
3752 eval "$ac_cv_use_compat24"
3753 if test "$no_cache" != 1; then
3754 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3755 fi
3756
3757 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3758 echo "$as_me:$LINENO: result: yes" >&5
3759echo "${ECHO_T}yes" >&6
3760 else
3761 echo "$as_me:$LINENO: result: no" >&5
3762echo "${ECHO_T}no" >&6
3763 fi
3764
3765
3766# Check whether --enable-rpath or --disable-rpath was given.
3767if test "${enable_rpath+set}" = set; then
3768 enableval="$enable_rpath"
3769 wxRPATH_DIR="$enableval"
3770fi;
3771
3772if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3773 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3774fi
3775
3776
3777
3778
3779 enablestring=
3780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3781echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3782 no_cache=0
3783 # Check whether --enable-intl or --disable-intl was given.
3784if test "${enable_intl+set}" = set; then
3785 enableval="$enable_intl"
3786
3787 if test "$enableval" = yes; then
3788 ac_cv_use_intl='wxUSE_INTL=yes'
3789 else
3790 ac_cv_use_intl='wxUSE_INTL=no'
3791 fi
3792
3793else
3794
3795 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3796 if test "x$LINE" != x ; then
3797 eval "DEFAULT_$LINE"
3798 else
3799 no_cache=1
3800 fi
3801
3802 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3803
3804fi;
3805
3806 eval "$ac_cv_use_intl"
3807 if test "$no_cache" != 1; then
3808 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3809 fi
3810
3811 if test "$wxUSE_INTL" = yes; then
3812 echo "$as_me:$LINENO: result: yes" >&5
3813echo "${ECHO_T}yes" >&6
3814 else
3815 echo "$as_me:$LINENO: result: no" >&5
3816echo "${ECHO_T}no" >&6
3817 fi
3818
3819
3820 enablestring=
3821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3822echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3823 no_cache=0
3824 # Check whether --enable-config or --disable-config was given.
3825if test "${enable_config+set}" = set; then
3826 enableval="$enable_config"
3827
3828 if test "$enableval" = yes; then
3829 ac_cv_use_config='wxUSE_CONFIG=yes'
3830 else
3831 ac_cv_use_config='wxUSE_CONFIG=no'
3832 fi
3833
3834else
3835
3836 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3837 if test "x$LINE" != x ; then
3838 eval "DEFAULT_$LINE"
3839 else
3840 no_cache=1
3841 fi
3842
3843 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3844
3845fi;
3846
3847 eval "$ac_cv_use_config"
3848 if test "$no_cache" != 1; then
3849 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3850 fi
3851
3852 if test "$wxUSE_CONFIG" = yes; then
3853 echo "$as_me:$LINENO: result: yes" >&5
3854echo "${ECHO_T}yes" >&6
3855 else
3856 echo "$as_me:$LINENO: result: no" >&5
3857echo "${ECHO_T}no" >&6
3858 fi
3859
3860
3861
3862 enablestring=
3863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3864echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3865 no_cache=0
3866 # Check whether --enable-protocols or --disable-protocols was given.
3867if test "${enable_protocols+set}" = set; then
3868 enableval="$enable_protocols"
3869
3870 if test "$enableval" = yes; then
3871 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3872 else
3873 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3874 fi
3875
3876else
3877
3878 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3879 if test "x$LINE" != x ; then
3880 eval "DEFAULT_$LINE"
3881 else
3882 no_cache=1
3883 fi
3884
3885 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3886
3887fi;
3888
3889 eval "$ac_cv_use_protocols"
3890 if test "$no_cache" != 1; then
3891 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3892 fi
3893
3894 if test "$wxUSE_PROTOCOL" = yes; then
3895 echo "$as_me:$LINENO: result: yes" >&5
3896echo "${ECHO_T}yes" >&6
3897 else
3898 echo "$as_me:$LINENO: result: no" >&5
3899echo "${ECHO_T}no" >&6
3900 fi
3901
3902
3903 enablestring=
3904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3905echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3906 no_cache=0
3907 # Check whether --enable-ftp or --disable-ftp was given.
3908if test "${enable_ftp+set}" = set; then
3909 enableval="$enable_ftp"
3910
3911 if test "$enableval" = yes; then
3912 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3913 else
3914 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3915 fi
3916
3917else
3918
3919 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3920 if test "x$LINE" != x ; then
3921 eval "DEFAULT_$LINE"
3922 else
3923 no_cache=1
3924 fi
3925
3926 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3927
3928fi;
3929
3930 eval "$ac_cv_use_ftp"
3931 if test "$no_cache" != 1; then
3932 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3933 fi
3934
3935 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3936 echo "$as_me:$LINENO: result: yes" >&5
3937echo "${ECHO_T}yes" >&6
3938 else
3939 echo "$as_me:$LINENO: result: no" >&5
3940echo "${ECHO_T}no" >&6
3941 fi
3942
3943
3944 enablestring=
3945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3946echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3947 no_cache=0
3948 # Check whether --enable-http or --disable-http was given.
3949if test "${enable_http+set}" = set; then
3950 enableval="$enable_http"
3951
3952 if test "$enableval" = yes; then
3953 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
3954 else
3955 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
3956 fi
3957
3958else
3959
3960 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3961 if test "x$LINE" != x ; then
3962 eval "DEFAULT_$LINE"
3963 else
3964 no_cache=1
3965 fi
3966
3967 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3968
3969fi;
3970
3971 eval "$ac_cv_use_http"
3972 if test "$no_cache" != 1; then
3973 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3974 fi
3975
3976 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3977 echo "$as_me:$LINENO: result: yes" >&5
3978echo "${ECHO_T}yes" >&6
3979 else
3980 echo "$as_me:$LINENO: result: no" >&5
3981echo "${ECHO_T}no" >&6
3982 fi
3983
3984
3985 enablestring=
3986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
3987echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
3988 no_cache=0
3989 # Check whether --enable-fileproto or --disable-fileproto was given.
3990if test "${enable_fileproto+set}" = set; then
3991 enableval="$enable_fileproto"
3992
3993 if test "$enableval" = yes; then
3994 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
3995 else
3996 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
3997 fi
3998
3999else
4000
4001 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4002 if test "x$LINE" != x ; then
4003 eval "DEFAULT_$LINE"
4004 else
4005 no_cache=1
4006 fi
4007
4008 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4009
4010fi;
4011
4012 eval "$ac_cv_use_fileproto"
4013 if test "$no_cache" != 1; then
4014 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4015 fi
4016
4017 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4018 echo "$as_me:$LINENO: result: yes" >&5
4019echo "${ECHO_T}yes" >&6
4020 else
4021 echo "$as_me:$LINENO: result: no" >&5
4022echo "${ECHO_T}no" >&6
4023 fi
4024
4025
4026 enablestring=
4027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4028echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4029 no_cache=0
4030 # Check whether --enable-sockets or --disable-sockets was given.
4031if test "${enable_sockets+set}" = set; then
4032 enableval="$enable_sockets"
4033
4034 if test "$enableval" = yes; then
4035 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4036 else
4037 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4038 fi
4039
4040else
4041
4042 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4043 if test "x$LINE" != x ; then
4044 eval "DEFAULT_$LINE"
4045 else
4046 no_cache=1
4047 fi
4048
4049 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4050
4051fi;
4052
4053 eval "$ac_cv_use_sockets"
4054 if test "$no_cache" != 1; then
4055 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4056 fi
4057
4058 if test "$wxUSE_SOCKETS" = yes; then
4059 echo "$as_me:$LINENO: result: yes" >&5
4060echo "${ECHO_T}yes" >&6
4061 else
4062 echo "$as_me:$LINENO: result: no" >&5
4063echo "${ECHO_T}no" >&6
4064 fi
4065
4066
4067 enablestring=
4068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4069echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4070 no_cache=0
4071 # Check whether --enable-ole or --disable-ole was given.
4072if test "${enable_ole+set}" = set; then
4073 enableval="$enable_ole"
4074
4075 if test "$enableval" = yes; then
4076 ac_cv_use_ole='wxUSE_OLE=yes'
4077 else
4078 ac_cv_use_ole='wxUSE_OLE=no'
4079 fi
4080
4081else
4082
4083 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4084 if test "x$LINE" != x ; then
4085 eval "DEFAULT_$LINE"
4086 else
4087 no_cache=1
4088 fi
4089
4090 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4091
4092fi;
4093
4094 eval "$ac_cv_use_ole"
4095 if test "$no_cache" != 1; then
4096 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4097 fi
4098
4099 if test "$wxUSE_OLE" = yes; then
4100 echo "$as_me:$LINENO: result: yes" >&5
4101echo "${ECHO_T}yes" >&6
4102 else
4103 echo "$as_me:$LINENO: result: no" >&5
4104echo "${ECHO_T}no" >&6
4105 fi
4106
4107
4108 enablestring=
4109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4110echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4111 no_cache=0
4112 # Check whether --enable-dataobj or --disable-dataobj was given.
4113if test "${enable_dataobj+set}" = set; then
4114 enableval="$enable_dataobj"
4115
4116 if test "$enableval" = yes; then
4117 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4118 else
4119 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4120 fi
4121
4122else
4123
4124 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4125 if test "x$LINE" != x ; then
4126 eval "DEFAULT_$LINE"
4127 else
4128 no_cache=1
4129 fi
4130
4131 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4132
4133fi;
4134
4135 eval "$ac_cv_use_dataobj"
4136 if test "$no_cache" != 1; then
4137 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4138 fi
4139
4140 if test "$wxUSE_DATAOBJ" = yes; then
4141 echo "$as_me:$LINENO: result: yes" >&5
4142echo "${ECHO_T}yes" >&6
4143 else
4144 echo "$as_me:$LINENO: result: no" >&5
4145echo "${ECHO_T}no" >&6
4146 fi
4147
4148
4149
4150 enablestring=
4151 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4152echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4153 no_cache=0
4154 # Check whether --enable-ipc or --disable-ipc was given.
4155if test "${enable_ipc+set}" = set; then
4156 enableval="$enable_ipc"
4157
4158 if test "$enableval" = yes; then
4159 ac_cv_use_ipc='wxUSE_IPC=yes'
4160 else
4161 ac_cv_use_ipc='wxUSE_IPC=no'
4162 fi
4163
4164else
4165
4166 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4167 if test "x$LINE" != x ; then
4168 eval "DEFAULT_$LINE"
4169 else
4170 no_cache=1
4171 fi
4172
4173 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4174
4175fi;
4176
4177 eval "$ac_cv_use_ipc"
4178 if test "$no_cache" != 1; then
4179 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4180 fi
4181
4182 if test "$wxUSE_IPC" = yes; then
4183 echo "$as_me:$LINENO: result: yes" >&5
4184echo "${ECHO_T}yes" >&6
4185 else
4186 echo "$as_me:$LINENO: result: no" >&5
4187echo "${ECHO_T}no" >&6
4188 fi
4189
4190
4191
4192 enablestring=
4193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4194echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4195 no_cache=0
4196 # Check whether --enable-cmdline or --disable-cmdline was given.
4197if test "${enable_cmdline+set}" = set; then
4198 enableval="$enable_cmdline"
4199
4200 if test "$enableval" = yes; then
4201 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4202 else
4203 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4204 fi
4205
4206else
4207
4208 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4209 if test "x$LINE" != x ; then
4210 eval "DEFAULT_$LINE"
4211 else
4212 no_cache=1
4213 fi
4214
4215 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4216
4217fi;
4218
4219 eval "$ac_cv_use_cmdline"
4220 if test "$no_cache" != 1; then
4221 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4222 fi
4223
4224 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4225 echo "$as_me:$LINENO: result: yes" >&5
4226echo "${ECHO_T}yes" >&6
4227 else
4228 echo "$as_me:$LINENO: result: no" >&5
4229echo "${ECHO_T}no" >&6
4230 fi
4231
4232
4233 enablestring=
4234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4235echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4236 no_cache=0
4237 # Check whether --enable-datetime or --disable-datetime was given.
4238if test "${enable_datetime+set}" = set; then
4239 enableval="$enable_datetime"
4240
4241 if test "$enableval" = yes; then
4242 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4243 else
4244 ac_cv_use_datetime='wxUSE_DATETIME=no'
4245 fi
4246
4247else
4248
4249 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4250 if test "x$LINE" != x ; then
4251 eval "DEFAULT_$LINE"
4252 else
4253 no_cache=1
4254 fi
4255
4256 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4257
4258fi;
4259
4260 eval "$ac_cv_use_datetime"
4261 if test "$no_cache" != 1; then
4262 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4263 fi
4264
4265 if test "$wxUSE_DATETIME" = yes; then
4266 echo "$as_me:$LINENO: result: yes" >&5
4267echo "${ECHO_T}yes" >&6
4268 else
4269 echo "$as_me:$LINENO: result: no" >&5
4270echo "${ECHO_T}no" >&6
4271 fi
4272
4273
4274 enablestring=
4275 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4276echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4277 no_cache=0
4278 # Check whether --enable-stopwatch or --disable-stopwatch was given.
4279if test "${enable_stopwatch+set}" = set; then
4280 enableval="$enable_stopwatch"
4281
4282 if test "$enableval" = yes; then
4283 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
4284 else
4285 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
4286 fi
4287
4288else
4289
4290 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4291 if test "x$LINE" != x ; then
4292 eval "DEFAULT_$LINE"
4293 else
4294 no_cache=1
4295 fi
4296
4297 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
4298
4299fi;
4300
4301 eval "$ac_cv_use_stopwatch"
4302 if test "$no_cache" != 1; then
4303 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4304 fi
4305
4306 if test "$wxUSE_STOPWATCH" = yes; then
4307 echo "$as_me:$LINENO: result: yes" >&5
4308echo "${ECHO_T}yes" >&6
4309 else
4310 echo "$as_me:$LINENO: result: no" >&5
4311echo "${ECHO_T}no" >&6
4312 fi
4313
4314
4315 enablestring=
4316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4317echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4318 no_cache=0
4319 # Check whether --enable-dialupman or --disable-dialupman was given.
4320if test "${enable_dialupman+set}" = set; then
4321 enableval="$enable_dialupman"
4322
4323 if test "$enableval" = yes; then
4324 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4325 else
4326 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4327 fi
4328
4329else
4330
4331 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4332 if test "x$LINE" != x ; then
4333 eval "DEFAULT_$LINE"
4334 else
4335 no_cache=1
4336 fi
4337
4338 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4339
4340fi;
4341
4342 eval "$ac_cv_use_dialupman"
4343 if test "$no_cache" != 1; then
4344 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4345 fi
4346
4347 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4348 echo "$as_me:$LINENO: result: yes" >&5
4349echo "${ECHO_T}yes" >&6
4350 else
4351 echo "$as_me:$LINENO: result: no" >&5
4352echo "${ECHO_T}no" >&6
4353 fi
4354
4355
4356 enablestring=
4357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4358echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4359 no_cache=0
4360 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4361if test "${enable_apple_ieee+set}" = set; then
4362 enableval="$enable_apple_ieee"
4363
4364 if test "$enableval" = yes; then
4365 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4366 else
4367 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4368 fi
4369
4370else
4371
4372 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4373 if test "x$LINE" != x ; then
4374 eval "DEFAULT_$LINE"
4375 else
4376 no_cache=1
4377 fi
4378
4379 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4380
4381fi;
4382
4383 eval "$ac_cv_use_apple_ieee"
4384 if test "$no_cache" != 1; then
4385 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4386 fi
4387
4388 if test "$wxUSE_APPLE_IEEE" = yes; then
4389 echo "$as_me:$LINENO: result: yes" >&5
4390echo "${ECHO_T}yes" >&6
4391 else
4392 echo "$as_me:$LINENO: result: no" >&5
4393echo "${ECHO_T}no" >&6
4394 fi
4395
4396
4397 enablestring=
4398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
4399echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4400 no_cache=0
4401 # Check whether --enable-timer or --disable-timer was given.
4402if test "${enable_timer+set}" = set; then
4403 enableval="$enable_timer"
4404
4405 if test "$enableval" = yes; then
4406 ac_cv_use_timer='wxUSE_TIMER=yes'
4407 else
4408 ac_cv_use_timer='wxUSE_TIMER=no'
4409 fi
4410
4411else
4412
4413 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4414 if test "x$LINE" != x ; then
4415 eval "DEFAULT_$LINE"
4416 else
4417 no_cache=1
4418 fi
4419
4420 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
4421
4422fi;
4423
4424 eval "$ac_cv_use_timer"
4425 if test "$no_cache" != 1; then
4426 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4427 fi
4428
4429 if test "$wxUSE_TIMER" = yes; then
4430 echo "$as_me:$LINENO: result: yes" >&5
4431echo "${ECHO_T}yes" >&6
4432 else
4433 echo "$as_me:$LINENO: result: no" >&5
4434echo "${ECHO_T}no" >&6
4435 fi
4436
4437
4438 enablestring=
4439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
4440echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4441 no_cache=0
4442 # Check whether --enable-wave or --disable-wave was given.
4443if test "${enable_wave+set}" = set; then
4444 enableval="$enable_wave"
4445
4446 if test "$enableval" = yes; then
4447 ac_cv_use_wave='wxUSE_WAVE=yes'
4448 else
4449 ac_cv_use_wave='wxUSE_WAVE=no'
4450 fi
4451
4452else
4453
4454 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4455 if test "x$LINE" != x ; then
4456 eval "DEFAULT_$LINE"
4457 else
4458 no_cache=1
4459 fi
4460
4461 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
4462
4463fi;
4464
4465 eval "$ac_cv_use_wave"
4466 if test "$no_cache" != 1; then
4467 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4468 fi
4469
4470 if test "$wxUSE_WAVE" = yes; then
4471 echo "$as_me:$LINENO: result: yes" >&5
4472echo "${ECHO_T}yes" >&6
4473 else
4474 echo "$as_me:$LINENO: result: no" >&5
4475echo "${ECHO_T}no" >&6
4476 fi
4477
4478
4479 enablestring=
4480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fraction" >&5
4481echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4482 no_cache=0
4483 # Check whether --enable-fraction or --disable-fraction was given.
4484if test "${enable_fraction+set}" = set; then
4485 enableval="$enable_fraction"
4486
4487 if test "$enableval" = yes; then
4488 ac_cv_use_fraction='wxUSE_FRACTION=yes'
4489 else
4490 ac_cv_use_fraction='wxUSE_FRACTION=no'
4491 fi
4492
4493else
4494
4495 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4496 if test "x$LINE" != x ; then
4497 eval "DEFAULT_$LINE"
4498 else
4499 no_cache=1
4500 fi
4501
4502 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
4503
4504fi;
4505
4506 eval "$ac_cv_use_fraction"
4507 if test "$no_cache" != 1; then
4508 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4509 fi
4510
4511 if test "$wxUSE_FRACTION" = yes; then
4512 echo "$as_me:$LINENO: result: yes" >&5
4513echo "${ECHO_T}yes" >&6
4514 else
4515 echo "$as_me:$LINENO: result: no" >&5
4516echo "${ECHO_T}no" >&6
4517 fi
4518
4519
4520 enablestring=
4521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4522echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4523 no_cache=0
4524 # Check whether --enable-dynlib or --disable-dynlib was given.
4525if test "${enable_dynlib+set}" = set; then
4526 enableval="$enable_dynlib"
4527
4528 if test "$enableval" = yes; then
4529 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4530 else
4531 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4532 fi
4533
4534else
4535
4536 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4537 if test "x$LINE" != x ; then
4538 eval "DEFAULT_$LINE"
4539 else
4540 no_cache=1
4541 fi
4542
4543 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4544
4545fi;
4546
4547 eval "$ac_cv_use_dynlib"
4548 if test "$no_cache" != 1; then
4549 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4550 fi
4551
4552 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4553 echo "$as_me:$LINENO: result: yes" >&5
4554echo "${ECHO_T}yes" >&6
4555 else
4556 echo "$as_me:$LINENO: result: no" >&5
4557echo "${ECHO_T}no" >&6
4558 fi
4559
4560
4561 enablestring=
4562 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4563echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4564 no_cache=0
4565 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4566if test "${enable_dynamicloader+set}" = set; then
4567 enableval="$enable_dynamicloader"
4568
4569 if test "$enableval" = yes; then
4570 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4571 else
4572 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4573 fi
4574
4575else
4576
4577 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4578 if test "x$LINE" != x ; then
4579 eval "DEFAULT_$LINE"
4580 else
4581 no_cache=1
4582 fi
4583
4584 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4585
4586fi;
4587
4588 eval "$ac_cv_use_dynamicloader"
4589 if test "$no_cache" != 1; then
4590 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4591 fi
4592
4593 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4594 echo "$as_me:$LINENO: result: yes" >&5
4595echo "${ECHO_T}yes" >&6
4596 else
4597 echo "$as_me:$LINENO: result: no" >&5
4598echo "${ECHO_T}no" >&6
4599 fi
4600
4601
4602 enablestring=
4603 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4604echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4605 no_cache=0
4606 # Check whether --enable-longlong or --disable-longlong was given.
4607if test "${enable_longlong+set}" = set; then
4608 enableval="$enable_longlong"
4609
4610 if test "$enableval" = yes; then
4611 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
4612 else
4613 ac_cv_use_longlong='wxUSE_LONGLONG=no'
4614 fi
4615
4616else
4617
4618 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4619 if test "x$LINE" != x ; then
4620 eval "DEFAULT_$LINE"
4621 else
4622 no_cache=1
4623 fi
4624
4625 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4626
4627fi;
4628
4629 eval "$ac_cv_use_longlong"
4630 if test "$no_cache" != 1; then
4631 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4632 fi
4633
4634 if test "$wxUSE_LONGLONG" = yes; then
4635 echo "$as_me:$LINENO: result: yes" >&5
4636echo "${ECHO_T}yes" >&6
4637 else
4638 echo "$as_me:$LINENO: result: no" >&5
4639echo "${ECHO_T}no" >&6
4640 fi
4641
4642
4643 enablestring=
4644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4645echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4646 no_cache=0
4647 # Check whether --enable-geometry or --disable-geometry was given.
4648if test "${enable_geometry+set}" = set; then
4649 enableval="$enable_geometry"
4650
4651 if test "$enableval" = yes; then
4652 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4653 else
4654 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4655 fi
4656
4657else
4658
4659 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4660 if test "x$LINE" != x ; then
4661 eval "DEFAULT_$LINE"
4662 else
4663 no_cache=1
4664 fi
4665
4666 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4667
4668fi;
4669
4670 eval "$ac_cv_use_geometry"
4671 if test "$no_cache" != 1; then
4672 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4673 fi
4674
4675 if test "$wxUSE_GEOMETRY" = yes; then
4676 echo "$as_me:$LINENO: result: yes" >&5
4677echo "${ECHO_T}yes" >&6
4678 else
4679 echo "$as_me:$LINENO: result: no" >&5
4680echo "${ECHO_T}no" >&6
4681 fi
4682
4683
4684 enablestring=
4685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4686echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4687 no_cache=0
4688 # Check whether --enable-log or --disable-log was given.
4689if test "${enable_log+set}" = set; then
4690 enableval="$enable_log"
4691
4692 if test "$enableval" = yes; then
4693 ac_cv_use_log='wxUSE_LOG=yes'
4694 else
4695 ac_cv_use_log='wxUSE_LOG=no'
4696 fi
4697
4698else
4699
4700 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4701 if test "x$LINE" != x ; then
4702 eval "DEFAULT_$LINE"
4703 else
4704 no_cache=1
4705 fi
4706
4707 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4708
4709fi;
4710
4711 eval "$ac_cv_use_log"
4712 if test "$no_cache" != 1; then
4713 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4714 fi
4715
4716 if test "$wxUSE_LOG" = yes; then
4717 echo "$as_me:$LINENO: result: yes" >&5
4718echo "${ECHO_T}yes" >&6
4719 else
4720 echo "$as_me:$LINENO: result: no" >&5
4721echo "${ECHO_T}no" >&6
4722 fi
4723
4724
4725 enablestring=
4726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
4727echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4728 no_cache=0
4729 # Check whether --enable-streams or --disable-streams was given.
4730if test "${enable_streams+set}" = set; then
4731 enableval="$enable_streams"
4732
4733 if test "$enableval" = yes; then
4734 ac_cv_use_streams='wxUSE_STREAMS=yes'
4735 else
4736 ac_cv_use_streams='wxUSE_STREAMS=no'
4737 fi
4738
4739else
4740
4741 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4742 if test "x$LINE" != x ; then
4743 eval "DEFAULT_$LINE"
4744 else
4745 no_cache=1
4746 fi
4747
4748 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4749
4750fi;
4751
4752 eval "$ac_cv_use_streams"
4753 if test "$no_cache" != 1; then
4754 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4755 fi
4756
4757 if test "$wxUSE_STREAMS" = yes; then
4758 echo "$as_me:$LINENO: result: yes" >&5
4759echo "${ECHO_T}yes" >&6
4760 else
4761 echo "$as_me:$LINENO: result: no" >&5
4762echo "${ECHO_T}no" >&6
4763 fi
4764
4765
4766 enablestring=
4767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4768echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4769 no_cache=0
4770 # Check whether --enable-file or --disable-file was given.
4771if test "${enable_file+set}" = set; then
4772 enableval="$enable_file"
4773
4774 if test "$enableval" = yes; then
4775 ac_cv_use_file='wxUSE_FILE=yes'
4776 else
4777 ac_cv_use_file='wxUSE_FILE=no'
4778 fi
4779
4780else
4781
4782 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4783 if test "x$LINE" != x ; then
4784 eval "DEFAULT_$LINE"
4785 else
4786 no_cache=1
4787 fi
4788
4789 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4790
4791fi;
4792
4793 eval "$ac_cv_use_file"
4794 if test "$no_cache" != 1; then
4795 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4796 fi
4797
4798 if test "$wxUSE_FILE" = yes; then
4799 echo "$as_me:$LINENO: result: yes" >&5
4800echo "${ECHO_T}yes" >&6
4801 else
4802 echo "$as_me:$LINENO: result: no" >&5
4803echo "${ECHO_T}no" >&6
4804 fi
4805
4806
4807 enablestring=
4808 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4809echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4810 no_cache=0
4811 # Check whether --enable-ffile or --disable-ffile was given.
4812if test "${enable_ffile+set}" = set; then
4813 enableval="$enable_ffile"
4814
4815 if test "$enableval" = yes; then
4816 ac_cv_use_ffile='wxUSE_FFILE=yes'
4817 else
4818 ac_cv_use_ffile='wxUSE_FFILE=no'
4819 fi
4820
4821else
4822
4823 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4824 if test "x$LINE" != x ; then
4825 eval "DEFAULT_$LINE"
4826 else
4827 no_cache=1
4828 fi
4829
4830 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4831
4832fi;
4833
4834 eval "$ac_cv_use_ffile"
4835 if test "$no_cache" != 1; then
4836 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4837 fi
4838
4839 if test "$wxUSE_FFILE" = yes; then
4840 echo "$as_me:$LINENO: result: yes" >&5
4841echo "${ECHO_T}yes" >&6
4842 else
4843 echo "$as_me:$LINENO: result: no" >&5
4844echo "${ECHO_T}no" >&6
4845 fi
4846
4847
4848 enablestring=
4849 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
4850echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4851 no_cache=0
4852 # Check whether --enable-textbuf or --disable-textbuf was given.
4853if test "${enable_textbuf+set}" = set; then
4854 enableval="$enable_textbuf"
4855
4856 if test "$enableval" = yes; then
4857 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
4858 else
4859 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
4860 fi
4861
4862else
4863
4864 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4865 if test "x$LINE" != x ; then
4866 eval "DEFAULT_$LINE"
4867 else
4868 no_cache=1
4869 fi
4870
4871 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4872
4873fi;
4874
4875 eval "$ac_cv_use_textbuf"
4876 if test "$no_cache" != 1; then
4877 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4878 fi
4879
4880 if test "$wxUSE_TEXTBUFFER" = yes; then
4881 echo "$as_me:$LINENO: result: yes" >&5
4882echo "${ECHO_T}yes" >&6
4883 else
4884 echo "$as_me:$LINENO: result: no" >&5
4885echo "${ECHO_T}no" >&6
4886 fi
4887
4888
4889 enablestring=
4890 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
4891echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4892 no_cache=0
4893 # Check whether --enable-textfile or --disable-textfile was given.
4894if test "${enable_textfile+set}" = set; then
4895 enableval="$enable_textfile"
4896
4897 if test "$enableval" = yes; then
4898 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
4899 else
4900 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
4901 fi
4902
4903else
4904
4905 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4906 if test "x$LINE" != x ; then
4907 eval "DEFAULT_$LINE"
4908 else
4909 no_cache=1
4910 fi
4911
4912 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4913
4914fi;
4915
4916 eval "$ac_cv_use_textfile"
4917 if test "$no_cache" != 1; then
4918 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4919 fi
4920
4921 if test "$wxUSE_TEXTFILE" = yes; then
4922 echo "$as_me:$LINENO: result: yes" >&5
4923echo "${ECHO_T}yes" >&6
4924 else
4925 echo "$as_me:$LINENO: result: no" >&5
4926echo "${ECHO_T}no" >&6
4927 fi
4928
4929
4930 enablestring=
4931 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4932echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4933 no_cache=0
4934 # Check whether --enable-fontmap or --disable-fontmap was given.
4935if test "${enable_fontmap+set}" = set; then
4936 enableval="$enable_fontmap"
4937
4938 if test "$enableval" = yes; then
4939 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4940 else
4941 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4942 fi
4943
4944else
4945
4946 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4947 if test "x$LINE" != x ; then
4948 eval "DEFAULT_$LINE"
4949 else
4950 no_cache=1
4951 fi
4952
4953 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4954
4955fi;
4956
4957 eval "$ac_cv_use_fontmap"
4958 if test "$no_cache" != 1; then
4959 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4960 fi
4961
4962 if test "$wxUSE_FONTMAP" = yes; then
4963 echo "$as_me:$LINENO: result: yes" >&5
4964echo "${ECHO_T}yes" >&6
4965 else
4966 echo "$as_me:$LINENO: result: no" >&5
4967echo "${ECHO_T}no" >&6
4968 fi
4969
4970
4971 enablestring=
4972 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4973echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
4974 no_cache=0
4975 # Check whether --enable-unicode or --disable-unicode was given.
4976if test "${enable_unicode+set}" = set; then
4977 enableval="$enable_unicode"
4978
4979 if test "$enableval" = yes; then
4980 ac_cv_use_unicode='wxUSE_UNICODE=yes'
4981 else
4982 ac_cv_use_unicode='wxUSE_UNICODE=no'
4983 fi
4984
4985else
4986
4987 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4988 if test "x$LINE" != x ; then
4989 eval "DEFAULT_$LINE"
4990 else
4991 no_cache=1
4992 fi
4993
4994 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4995
4996fi;
4997
4998 eval "$ac_cv_use_unicode"
4999 if test "$no_cache" != 1; then
5000 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5001 fi
5002
5003 if test "$wxUSE_UNICODE" = yes; then
5004 echo "$as_me:$LINENO: result: yes" >&5
5005echo "${ECHO_T}yes" >&6
5006 else
5007 echo "$as_me:$LINENO: result: no" >&5
5008echo "${ECHO_T}no" >&6
5009 fi
5010
5011
5012 enablestring=
5013 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5014echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5015 no_cache=0
5016 # Check whether --enable-mslu or --disable-mslu was given.
5017if test "${enable_mslu+set}" = set; then
5018 enableval="$enable_mslu"
5019
5020 if test "$enableval" = yes; then
5021 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5022 else
5023 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5024 fi
5025
5026else
5027
5028 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5029 if test "x$LINE" != x ; then
5030 eval "DEFAULT_$LINE"
5031 else
5032 no_cache=1
5033 fi
5034
5035 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5036
5037fi;
5038
5039 eval "$ac_cv_use_mslu"
5040 if test "$no_cache" != 1; then
5041 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5042 fi
5043
5044 if test "$wxUSE_UNICODE_MSLU" = yes; then
5045 echo "$as_me:$LINENO: result: yes" >&5
5046echo "${ECHO_T}yes" >&6
5047 else
5048 echo "$as_me:$LINENO: result: no" >&5
5049echo "${ECHO_T}no" >&6
5050 fi
5051
5052
5053 enablestring=
5054 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5055echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5056 no_cache=0
5057 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5058if test "${enable_wxprintfv+set}" = set; then
5059 enableval="$enable_wxprintfv"
5060
5061 if test "$enableval" = yes; then
5062 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5063 else
5064 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5065 fi
5066
5067else
5068
5069 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5070 if test "x$LINE" != x ; then
5071 eval "DEFAULT_$LINE"
5072 else
5073 no_cache=1
5074 fi
5075
5076 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5077
5078fi;
5079
5080 eval "$ac_cv_use_wxprintfv"
5081 if test "$no_cache" != 1; then
5082 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5083 fi
5084
5085 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5086 echo "$as_me:$LINENO: result: yes" >&5
5087echo "${ECHO_T}yes" >&6
5088 else
5089 echo "$as_me:$LINENO: result: no" >&5
5090echo "${ECHO_T}no" >&6
5091 fi
5092
5093
5094 enablestring=
5095 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5096echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5097 no_cache=0
5098 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5099if test "${enable_std_iostreams+set}" = set; then
5100 enableval="$enable_std_iostreams"
5101
5102 if test "$enableval" = yes; then
5103 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5104 else
5105 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5106 fi
5107
5108else
5109
5110 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5111 if test "x$LINE" != x ; then
5112 eval "DEFAULT_$LINE"
5113 else
5114 no_cache=1
5115 fi
5116
5117 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5118
5119fi;
5120
5121 eval "$ac_cv_use_std_iostreams"
5122 if test "$no_cache" != 1; then
5123 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5124 fi
5125
5126 if test "$wxUSE_STD_IOSTREAM" = yes; then
5127 echo "$as_me:$LINENO: result: yes" >&5
5128echo "${ECHO_T}yes" >&6
5129 else
5130 echo "$as_me:$LINENO: result: no" >&5
5131echo "${ECHO_T}no" >&6
5132 fi
5133
5134
5135 enablestring=
5136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5137echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5138 no_cache=0
5139 # Check whether --enable-filesystem or --disable-filesystem was given.
5140if test "${enable_filesystem+set}" = set; then
5141 enableval="$enable_filesystem"
5142
5143 if test "$enableval" = yes; then
5144 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5145 else
5146 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5147 fi
5148
5149else
5150
5151 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5152 if test "x$LINE" != x ; then
5153 eval "DEFAULT_$LINE"
5154 else
5155 no_cache=1
5156 fi
5157
5158 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5159
5160fi;
5161
5162 eval "$ac_cv_use_filesystem"
5163 if test "$no_cache" != 1; then
5164 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5165 fi
5166
5167 if test "$wxUSE_FILESYSTEM" = yes; then
5168 echo "$as_me:$LINENO: result: yes" >&5
5169echo "${ECHO_T}yes" >&6
5170 else
5171 echo "$as_me:$LINENO: result: no" >&5
5172echo "${ECHO_T}no" >&6
5173 fi
5174
5175
5176 enablestring=
5177 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5178echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5179 no_cache=0
5180 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5181if test "${enable_fs_inet+set}" = set; then
5182 enableval="$enable_fs_inet"
5183
5184 if test "$enableval" = yes; then
5185 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5186 else
5187 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5188 fi
5189
5190else
5191
5192 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5193 if test "x$LINE" != x ; then
5194 eval "DEFAULT_$LINE"
5195 else
5196 no_cache=1
5197 fi
5198
5199 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5200
5201fi;
5202
5203 eval "$ac_cv_use_fs_inet"
5204 if test "$no_cache" != 1; then
5205 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5206 fi
5207
5208 if test "$wxUSE_FS_INET" = yes; then
5209 echo "$as_me:$LINENO: result: yes" >&5
5210echo "${ECHO_T}yes" >&6
5211 else
5212 echo "$as_me:$LINENO: result: no" >&5
5213echo "${ECHO_T}no" >&6
5214 fi
5215
5216
5217 enablestring=
5218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5219echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5220 no_cache=0
5221 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5222if test "${enable_fs_zip+set}" = set; then
5223 enableval="$enable_fs_zip"
5224
5225 if test "$enableval" = yes; then
5226 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5227 else
5228 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5229 fi
5230
5231else
5232
5233 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5234 if test "x$LINE" != x ; then
5235 eval "DEFAULT_$LINE"
5236 else
5237 no_cache=1
5238 fi
5239
5240 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5241
5242fi;
5243
5244 eval "$ac_cv_use_fs_zip"
5245 if test "$no_cache" != 1; then
5246 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5247 fi
5248
5249 if test "$wxUSE_FS_ZIP" = yes; then
5250 echo "$as_me:$LINENO: result: yes" >&5
5251echo "${ECHO_T}yes" >&6
5252 else
5253 echo "$as_me:$LINENO: result: no" >&5
5254echo "${ECHO_T}no" >&6
5255 fi
5256
5257
5258 enablestring=
5259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5260echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5261 no_cache=0
5262 # Check whether --enable-zipstream or --disable-zipstream was given.
5263if test "${enable_zipstream+set}" = set; then
5264 enableval="$enable_zipstream"
5265
5266 if test "$enableval" = yes; then
5267 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5268 else
5269 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5270 fi
5271
5272else
5273
5274 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5275 if test "x$LINE" != x ; then
5276 eval "DEFAULT_$LINE"
5277 else
5278 no_cache=1
5279 fi
5280
5281 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5282
5283fi;
5284
5285 eval "$ac_cv_use_zipstream"
5286 if test "$no_cache" != 1; then
5287 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5288 fi
5289
5290 if test "$wxUSE_ZIPSTREAM" = yes; then
5291 echo "$as_me:$LINENO: result: yes" >&5
5292echo "${ECHO_T}yes" >&6
5293 else
5294 echo "$as_me:$LINENO: result: no" >&5
5295echo "${ECHO_T}no" >&6
5296 fi
5297
5298
5299
5300 enablestring=
5301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5302echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5303 no_cache=0
5304 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5305if test "${enable_catch_segvs+set}" = set; then
5306 enableval="$enable_catch_segvs"
5307
5308 if test "$enableval" = yes; then
5309 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5310 else
5311 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5312 fi
5313
5314else
5315
5316 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5317 if test "x$LINE" != x ; then
5318 eval "DEFAULT_$LINE"
5319 else
5320 no_cache=1
5321 fi
5322
5323 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5324
5325fi;
5326
5327 eval "$ac_cv_use_catch_segvs"
5328 if test "$no_cache" != 1; then
5329 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5330 fi
5331
5332 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5333 echo "$as_me:$LINENO: result: yes" >&5
5334echo "${ECHO_T}yes" >&6
5335 else
5336 echo "$as_me:$LINENO: result: no" >&5
5337echo "${ECHO_T}no" >&6
5338 fi
5339
5340
5341 enablestring=
5342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5343echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5344 no_cache=0
5345 # Check whether --enable-snglinst or --disable-snglinst was given.
5346if test "${enable_snglinst+set}" = set; then
5347 enableval="$enable_snglinst"
5348
5349 if test "$enableval" = yes; then
5350 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5351 else
5352 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5353 fi
5354
5355else
5356
5357 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5358 if test "x$LINE" != x ; then
5359 eval "DEFAULT_$LINE"
5360 else
5361 no_cache=1
5362 fi
5363
5364 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5365
5366fi;
5367
5368 eval "$ac_cv_use_snglinst"
5369 if test "$no_cache" != 1; then
5370 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5371 fi
5372
5373 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5374 echo "$as_me:$LINENO: result: yes" >&5
5375echo "${ECHO_T}yes" >&6
5376 else
5377 echo "$as_me:$LINENO: result: no" >&5
5378echo "${ECHO_T}no" >&6
5379 fi
5380
5381
5382
5383 enablestring=
5384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5385echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5386 no_cache=0
5387 # Check whether --enable-mimetype or --disable-mimetype was given.
5388if test "${enable_mimetype+set}" = set; then
5389 enableval="$enable_mimetype"
5390
5391 if test "$enableval" = yes; then
5392 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5393 else
5394 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5395 fi
5396
5397else
5398
5399 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5400 if test "x$LINE" != x ; then
5401 eval "DEFAULT_$LINE"
5402 else
5403 no_cache=1
5404 fi
5405
5406 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5407
5408fi;
5409
5410 eval "$ac_cv_use_mimetype"
5411 if test "$no_cache" != 1; then
5412 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5413 fi
5414
5415 if test "$wxUSE_MIMETYPE" = yes; then
5416 echo "$as_me:$LINENO: result: yes" >&5
5417echo "${ECHO_T}yes" >&6
5418 else
5419 echo "$as_me:$LINENO: result: no" >&5
5420echo "${ECHO_T}no" >&6
5421 fi
5422
5423
5424 enablestring=
5425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5426echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5427 no_cache=0
5428 # Check whether --enable-system_options or --disable-system_options was given.
5429if test "${enable_system_options+set}" = set; then
5430 enableval="$enable_system_options"
5431
5432 if test "$enableval" = yes; then
5433 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5434 else
5435 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5436 fi
5437
5438else
5439
5440 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5441 if test "x$LINE" != x ; then
5442 eval "DEFAULT_$LINE"
5443 else
5444 no_cache=1
5445 fi
5446
5447 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5448
5449fi;
5450
5451 eval "$ac_cv_use_system_options"
5452 if test "$no_cache" != 1; then
5453 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5454 fi
5455
5456 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5457 echo "$as_me:$LINENO: result: yes" >&5
5458echo "${ECHO_T}yes" >&6
5459 else
5460 echo "$as_me:$LINENO: result: no" >&5
5461echo "${ECHO_T}no" >&6
5462 fi
5463
5464
5465
5466 enablestring=
5467 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5468echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5469 no_cache=0
5470 # Check whether --enable-url or --disable-url was given.
5471if test "${enable_url+set}" = set; then
5472 enableval="$enable_url"
5473
5474 if test "$enableval" = yes; then
5475 ac_cv_use_url='wxUSE_URL=yes'
5476 else
5477 ac_cv_use_url='wxUSE_URL=no'
5478 fi
5479
5480else
5481
5482 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5483 if test "x$LINE" != x ; then
5484 eval "DEFAULT_$LINE"
5485 else
5486 no_cache=1
5487 fi
5488
5489 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5490
5491fi;
5492
5493 eval "$ac_cv_use_url"
5494 if test "$no_cache" != 1; then
5495 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5496 fi
5497
5498 if test "$wxUSE_URL" = yes; then
5499 echo "$as_me:$LINENO: result: yes" >&5
5500echo "${ECHO_T}yes" >&6
5501 else
5502 echo "$as_me:$LINENO: result: no" >&5
5503echo "${ECHO_T}no" >&6
5504 fi
5505
5506
5507 enablestring=
5508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5509echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5510 no_cache=0
5511 # Check whether --enable-protocol or --disable-protocol was given.
5512if test "${enable_protocol+set}" = set; then
5513 enableval="$enable_protocol"
5514
5515 if test "$enableval" = yes; then
5516 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5517 else
5518 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5519 fi
5520
5521else
5522
5523 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5524 if test "x$LINE" != x ; then
5525 eval "DEFAULT_$LINE"
5526 else
5527 no_cache=1
5528 fi
5529
5530 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5531
5532fi;
5533
5534 eval "$ac_cv_use_protocol"
5535 if test "$no_cache" != 1; then
5536 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5537 fi
5538
5539 if test "$wxUSE_PROTOCOL" = yes; then
5540 echo "$as_me:$LINENO: result: yes" >&5
5541echo "${ECHO_T}yes" >&6
5542 else
5543 echo "$as_me:$LINENO: result: no" >&5
5544echo "${ECHO_T}no" >&6
5545 fi
5546
5547
5548 enablestring=
5549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5550echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5551 no_cache=0
5552 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5553if test "${enable_protocol_http+set}" = set; then
5554 enableval="$enable_protocol_http"
5555
5556 if test "$enableval" = yes; then
5557 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5558 else
5559 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5560 fi
5561
5562else
5563
5564 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5565 if test "x$LINE" != x ; then
5566 eval "DEFAULT_$LINE"
5567 else
5568 no_cache=1
5569 fi
5570
5571 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5572
5573fi;
5574
5575 eval "$ac_cv_use_protocol_http"
5576 if test "$no_cache" != 1; then
5577 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5578 fi
5579
5580 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5581 echo "$as_me:$LINENO: result: yes" >&5
5582echo "${ECHO_T}yes" >&6
5583 else
5584 echo "$as_me:$LINENO: result: no" >&5
5585echo "${ECHO_T}no" >&6
5586 fi
5587
5588
5589 enablestring=
5590 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5591echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5592 no_cache=0
5593 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5594if test "${enable_protocol_ftp+set}" = set; then
5595 enableval="$enable_protocol_ftp"
5596
5597 if test "$enableval" = yes; then
5598 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5599 else
5600 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5601 fi
5602
5603else
5604
5605 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5606 if test "x$LINE" != x ; then
5607 eval "DEFAULT_$LINE"
5608 else
5609 no_cache=1
5610 fi
5611
5612 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5613
5614fi;
5615
5616 eval "$ac_cv_use_protocol_ftp"
5617 if test "$no_cache" != 1; then
5618 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5619 fi
5620
5621 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5622 echo "$as_me:$LINENO: result: yes" >&5
5623echo "${ECHO_T}yes" >&6
5624 else
5625 echo "$as_me:$LINENO: result: no" >&5
5626echo "${ECHO_T}no" >&6
5627 fi
5628
5629
5630 enablestring=
5631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5632echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5633 no_cache=0
5634 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5635if test "${enable_protocol_file+set}" = set; then
5636 enableval="$enable_protocol_file"
5637
5638 if test "$enableval" = yes; then
5639 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5640 else
5641 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5642 fi
5643
5644else
5645
5646 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5647 if test "x$LINE" != x ; then
5648 eval "DEFAULT_$LINE"
5649 else
5650 no_cache=1
5651 fi
5652
5653 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5654
5655fi;
5656
5657 eval "$ac_cv_use_protocol_file"
5658 if test "$no_cache" != 1; then
5659 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5660 fi
5661
5662 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5663 echo "$as_me:$LINENO: result: yes" >&5
5664echo "${ECHO_T}yes" >&6
5665 else
5666 echo "$as_me:$LINENO: result: no" >&5
5667echo "${ECHO_T}no" >&6
5668 fi
5669
5670
5671
5672
5673
5674 enablestring=
5675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5676echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5677 no_cache=0
5678 # Check whether --enable-threads or --disable-threads was given.
5679if test "${enable_threads+set}" = set; then
5680 enableval="$enable_threads"
5681
5682 if test "$enableval" = yes; then
5683 ac_cv_use_threads='wxUSE_THREADS=yes'
5684 else
5685 ac_cv_use_threads='wxUSE_THREADS=no'
5686 fi
5687
5688else
5689
5690 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5691 if test "x$LINE" != x ; then
5692 eval "DEFAULT_$LINE"
5693 else
5694 no_cache=1
5695 fi
5696
5697 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5698
5699fi;
5700
5701 eval "$ac_cv_use_threads"
5702 if test "$no_cache" != 1; then
5703 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5704 fi
5705
5706 if test "$wxUSE_THREADS" = yes; then
5707 echo "$as_me:$LINENO: result: yes" >&5
5708echo "${ECHO_T}yes" >&6
5709 else
5710 echo "$as_me:$LINENO: result: no" >&5
5711echo "${ECHO_T}no" >&6
5712 fi
5713
5714
5715if test "$wxUSE_GUI" = "yes"; then
5716
5717
5718
5719 enablestring=
5720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5721echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5722 no_cache=0
5723 # Check whether --enable-docview or --disable-docview was given.
5724if test "${enable_docview+set}" = set; then
5725 enableval="$enable_docview"
5726
5727 if test "$enableval" = yes; then
5728 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5729 else
5730 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5731 fi
5732
5733else
5734
5735 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5736 if test "x$LINE" != x ; then
5737 eval "DEFAULT_$LINE"
5738 else
5739 no_cache=1
5740 fi
5741
5742 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5743
5744fi;
5745
5746 eval "$ac_cv_use_docview"
5747 if test "$no_cache" != 1; then
5748 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5749 fi
5750
5751 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5752 echo "$as_me:$LINENO: result: yes" >&5
5753echo "${ECHO_T}yes" >&6
5754 else
5755 echo "$as_me:$LINENO: result: no" >&5
5756echo "${ECHO_T}no" >&6
5757 fi
5758
5759
5760 enablestring=
5761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5762echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5763 no_cache=0
5764 # Check whether --enable-help or --disable-help was given.
5765if test "${enable_help+set}" = set; then
5766 enableval="$enable_help"
5767
5768 if test "$enableval" = yes; then
5769 ac_cv_use_help='wxUSE_HELP=yes'
5770 else
5771 ac_cv_use_help='wxUSE_HELP=no'
5772 fi
5773
5774else
5775
5776 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5777 if test "x$LINE" != x ; then
5778 eval "DEFAULT_$LINE"
5779 else
5780 no_cache=1
5781 fi
5782
5783 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5784
5785fi;
5786
5787 eval "$ac_cv_use_help"
5788 if test "$no_cache" != 1; then
5789 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5790 fi
5791
5792 if test "$wxUSE_HELP" = yes; then
5793 echo "$as_me:$LINENO: result: yes" >&5
5794echo "${ECHO_T}yes" >&6
5795 else
5796 echo "$as_me:$LINENO: result: no" >&5
5797echo "${ECHO_T}no" >&6
5798 fi
5799
5800
5801 enablestring=
5802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5803echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5804 no_cache=0
5805 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5806if test "${enable_mshtmlhelp+set}" = set; then
5807 enableval="$enable_mshtmlhelp"
5808
5809 if test "$enableval" = yes; then
5810 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5811 else
5812 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
5813 fi
5814
5815else
5816
5817 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5818 if test "x$LINE" != x ; then
5819 eval "DEFAULT_$LINE"
5820 else
5821 no_cache=1
5822 fi
5823
5824 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5825
5826fi;
5827
5828 eval "$ac_cv_use_mshtmlhelp"
5829 if test "$no_cache" != 1; then
5830 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5831 fi
5832
5833 if test "$wxUSE_MS_HTML_HELP" = yes; then
5834 echo "$as_me:$LINENO: result: yes" >&5
5835echo "${ECHO_T}yes" >&6
5836 else
5837 echo "$as_me:$LINENO: result: no" >&5
5838echo "${ECHO_T}no" >&6
5839 fi
5840
5841
5842 enablestring=
5843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5844echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5845 no_cache=0
5846 # Check whether --enable-html or --disable-html was given.
5847if test "${enable_html+set}" = set; then
5848 enableval="$enable_html"
5849
5850 if test "$enableval" = yes; then
5851 ac_cv_use_html='wxUSE_HTML=yes'
5852 else
5853 ac_cv_use_html='wxUSE_HTML=no'
5854 fi
5855
5856else
5857
5858 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5859 if test "x$LINE" != x ; then
5860 eval "DEFAULT_$LINE"
5861 else
5862 no_cache=1
5863 fi
5864
5865 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5866
5867fi;
5868
5869 eval "$ac_cv_use_html"
5870 if test "$no_cache" != 1; then
5871 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5872 fi
5873
5874 if test "$wxUSE_HTML" = yes; then
5875 echo "$as_me:$LINENO: result: yes" >&5
5876echo "${ECHO_T}yes" >&6
5877 else
5878 echo "$as_me:$LINENO: result: no" >&5
5879echo "${ECHO_T}no" >&6
5880 fi
5881
5882
5883 enablestring=
5884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5885echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5886 no_cache=0
5887 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5888if test "${enable_htmlhelp+set}" = set; then
5889 enableval="$enable_htmlhelp"
5890
5891 if test "$enableval" = yes; then
5892 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5893 else
5894 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5895 fi
5896
5897else
5898
5899 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5900 if test "x$LINE" != x ; then
5901 eval "DEFAULT_$LINE"
5902 else
5903 no_cache=1
5904 fi
5905
5906 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5907
5908fi;
5909
5910 eval "$ac_cv_use_htmlhelp"
5911 if test "$no_cache" != 1; then
5912 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5913 fi
5914
5915 if test "$wxUSE_WXHTML_HELP" = yes; then
5916 echo "$as_me:$LINENO: result: yes" >&5
5917echo "${ECHO_T}yes" >&6
5918 else
5919 echo "$as_me:$LINENO: result: no" >&5
5920echo "${ECHO_T}no" >&6
5921 fi
5922
5923
5924 enablestring=
5925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5926echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5927 no_cache=0
5928 # Check whether --enable-constraints or --disable-constraints was given.
5929if test "${enable_constraints+set}" = set; then
5930 enableval="$enable_constraints"
5931
5932 if test "$enableval" = yes; then
5933 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
5934 else
5935 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
5936 fi
5937
5938else
5939
5940 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5941 if test "x$LINE" != x ; then
5942 eval "DEFAULT_$LINE"
5943 else
5944 no_cache=1
5945 fi
5946
5947 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5948
5949fi;
5950
5951 eval "$ac_cv_use_constraints"
5952 if test "$no_cache" != 1; then
5953 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5954 fi
5955
5956 if test "$wxUSE_CONSTRAINTS" = yes; then
5957 echo "$as_me:$LINENO: result: yes" >&5
5958echo "${ECHO_T}yes" >&6
5959 else
5960 echo "$as_me:$LINENO: result: no" >&5
5961echo "${ECHO_T}no" >&6
5962 fi
5963
5964
5965 enablestring=
5966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5967echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5968 no_cache=0
5969 # Check whether --enable-printarch or --disable-printarch was given.
5970if test "${enable_printarch+set}" = set; then
5971 enableval="$enable_printarch"
5972
5973 if test "$enableval" = yes; then
5974 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
5975 else
5976 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
5977 fi
5978
5979else
5980
5981 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5982 if test "x$LINE" != x ; then
5983 eval "DEFAULT_$LINE"
5984 else
5985 no_cache=1
5986 fi
5987
5988 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5989
5990fi;
5991
5992 eval "$ac_cv_use_printarch"
5993 if test "$no_cache" != 1; then
5994 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5995 fi
5996
5997 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5998 echo "$as_me:$LINENO: result: yes" >&5
5999echo "${ECHO_T}yes" >&6
6000 else
6001 echo "$as_me:$LINENO: result: no" >&5
6002echo "${ECHO_T}no" >&6
6003 fi
6004
6005
6006 enablestring=
6007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6008echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6009 no_cache=0
6010 # Check whether --enable-mdi or --disable-mdi was given.
6011if test "${enable_mdi+set}" = set; then
6012 enableval="$enable_mdi"
6013
6014 if test "$enableval" = yes; then
6015 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
6016 else
6017 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
6018 fi
6019
6020else
6021
6022 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6023 if test "x$LINE" != x ; then
6024 eval "DEFAULT_$LINE"
6025 else
6026 no_cache=1
6027 fi
6028
6029 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6030
6031fi;
6032
6033 eval "$ac_cv_use_mdi"
6034 if test "$no_cache" != 1; then
6035 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6036 fi
6037
6038 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6039 echo "$as_me:$LINENO: result: yes" >&5
6040echo "${ECHO_T}yes" >&6
6041 else
6042 echo "$as_me:$LINENO: result: no" >&5
6043echo "${ECHO_T}no" >&6
6044 fi
6045
6046
6047 enablestring=
6048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6049echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6050 no_cache=0
6051 # Check whether --enable-loggui or --disable-loggui was given.
6052if test "${enable_loggui+set}" = set; then
6053 enableval="$enable_loggui"
6054
6055 if test "$enableval" = yes; then
6056 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6057 else
6058 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6059 fi
6060
6061else
6062
6063 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6064 if test "x$LINE" != x ; then
6065 eval "DEFAULT_$LINE"
6066 else
6067 no_cache=1
6068 fi
6069
6070 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6071
6072fi;
6073
6074 eval "$ac_cv_use_loggui"
6075 if test "$no_cache" != 1; then
6076 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6077 fi
6078
6079 if test "$wxUSE_LOGGUI" = yes; then
6080 echo "$as_me:$LINENO: result: yes" >&5
6081echo "${ECHO_T}yes" >&6
6082 else
6083 echo "$as_me:$LINENO: result: no" >&5
6084echo "${ECHO_T}no" >&6
6085 fi
6086
6087
6088 enablestring=
6089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6090echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6091 no_cache=0
6092 # Check whether --enable-logwin or --disable-logwin was given.
6093if test "${enable_logwin+set}" = set; then
6094 enableval="$enable_logwin"
6095
6096 if test "$enableval" = yes; then
6097 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6098 else
6099 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6100 fi
6101
6102else
6103
6104 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6105 if test "x$LINE" != x ; then
6106 eval "DEFAULT_$LINE"
6107 else
6108 no_cache=1
6109 fi
6110
6111 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6112
6113fi;
6114
6115 eval "$ac_cv_use_logwin"
6116 if test "$no_cache" != 1; then
6117 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6118 fi
6119
6120 if test "$wxUSE_LOGWINDOW" = yes; then
6121 echo "$as_me:$LINENO: result: yes" >&5
6122echo "${ECHO_T}yes" >&6
6123 else
6124 echo "$as_me:$LINENO: result: no" >&5
6125echo "${ECHO_T}no" >&6
6126 fi
6127
6128
6129 enablestring=
6130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6131echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6132 no_cache=0
6133 # Check whether --enable-logdialog or --disable-logdialog was given.
6134if test "${enable_logdialog+set}" = set; then
6135 enableval="$enable_logdialog"
6136
6137 if test "$enableval" = yes; then
6138 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6139 else
6140 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6141 fi
6142
6143else
6144
6145 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6146 if test "x$LINE" != x ; then
6147 eval "DEFAULT_$LINE"
6148 else
6149 no_cache=1
6150 fi
6151
6152 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6153
6154fi;
6155
6156 eval "$ac_cv_use_logdialog"
6157 if test "$no_cache" != 1; then
6158 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6159 fi
6160
6161 if test "$wxUSE_LOGDIALOG" = yes; then
6162 echo "$as_me:$LINENO: result: yes" >&5
6163echo "${ECHO_T}yes" >&6
6164 else
6165 echo "$as_me:$LINENO: result: no" >&5
6166echo "${ECHO_T}no" >&6
6167 fi
6168
6169
6170
6171 enablestring=
6172 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6173echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6174 no_cache=0
6175 # Check whether --enable-postscript or --disable-postscript was given.
6176if test "${enable_postscript+set}" = set; then
6177 enableval="$enable_postscript"
6178
6179 if test "$enableval" = yes; then
6180 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6181 else
6182 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6183 fi
6184
6185else
6186
6187 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6188 if test "x$LINE" != x ; then
6189 eval "DEFAULT_$LINE"
6190 else
6191 no_cache=1
6192 fi
6193
6194 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6195
6196fi;
6197
6198 eval "$ac_cv_use_postscript"
6199 if test "$no_cache" != 1; then
6200 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6201 fi
6202
6203 if test "$wxUSE_POSTSCRIPT" = yes; then
6204 echo "$as_me:$LINENO: result: yes" >&5
6205echo "${ECHO_T}yes" >&6
6206 else
6207 echo "$as_me:$LINENO: result: no" >&5
6208echo "${ECHO_T}no" >&6
6209 fi
6210
6211
6212
6213
6214
6215 enablestring=
6216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6217echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6218 no_cache=0
6219 # Check whether --enable-prologio or --disable-prologio was given.
6220if test "${enable_prologio+set}" = set; then
6221 enableval="$enable_prologio"
6222
6223 if test "$enableval" = yes; then
6224 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6225 else
6226 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6227 fi
6228
6229else
6230
6231 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6232 if test "x$LINE" != x ; then
6233 eval "DEFAULT_$LINE"
6234 else
6235 no_cache=1
6236 fi
6237
6238 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6239
6240fi;
6241
6242 eval "$ac_cv_use_prologio"
6243 if test "$no_cache" != 1; then
6244 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6245 fi
6246
6247 if test "$wxUSE_PROLOGIO" = yes; then
6248 echo "$as_me:$LINENO: result: yes" >&5
6249echo "${ECHO_T}yes" >&6
6250 else
6251 echo "$as_me:$LINENO: result: no" >&5
6252echo "${ECHO_T}no" >&6
6253 fi
6254
6255
6256 enablestring=
6257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6258echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6259 no_cache=0
6260 # Check whether --enable-resources or --disable-resources was given.
6261if test "${enable_resources+set}" = set; then
6262 enableval="$enable_resources"
6263
6264 if test "$enableval" = yes; then
6265 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6266 else
6267 ac_cv_use_resources='wxUSE_RESOURCES=no'
6268 fi
6269
6270else
6271
6272 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6273 if test "x$LINE" != x ; then
6274 eval "DEFAULT_$LINE"
6275 else
6276 no_cache=1
6277 fi
6278
6279 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6280
6281fi;
6282
6283 eval "$ac_cv_use_resources"
6284 if test "$no_cache" != 1; then
6285 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6286 fi
6287
6288 if test "$wxUSE_RESOURCES" = yes; then
6289 echo "$as_me:$LINENO: result: yes" >&5
6290echo "${ECHO_T}yes" >&6
6291 else
6292 echo "$as_me:$LINENO: result: no" >&5
6293echo "${ECHO_T}no" >&6
6294 fi
6295
6296
6297
6298
6299 enablestring=
6300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6301echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6302 no_cache=0
6303 # Check whether --enable-clipboard or --disable-clipboard was given.
6304if test "${enable_clipboard+set}" = set; then
6305 enableval="$enable_clipboard"
6306
6307 if test "$enableval" = yes; then
6308 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6309 else
6310 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6311 fi
6312
6313else
6314
6315 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6316 if test "x$LINE" != x ; then
6317 eval "DEFAULT_$LINE"
6318 else
6319 no_cache=1
6320 fi
6321
6322 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6323
6324fi;
6325
6326 eval "$ac_cv_use_clipboard"
6327 if test "$no_cache" != 1; then
6328 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6329 fi
6330
6331 if test "$wxUSE_CLIPBOARD" = yes; then
6332 echo "$as_me:$LINENO: result: yes" >&5
6333echo "${ECHO_T}yes" >&6
6334 else
6335 echo "$as_me:$LINENO: result: no" >&5
6336echo "${ECHO_T}no" >&6
6337 fi
6338
6339
6340 enablestring=
6341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6342echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6343 no_cache=0
6344 # Check whether --enable-dnd or --disable-dnd was given.
6345if test "${enable_dnd+set}" = set; then
6346 enableval="$enable_dnd"
6347
6348 if test "$enableval" = yes; then
6349 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6350 else
6351 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6352 fi
6353
6354else
6355
6356 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6357 if test "x$LINE" != x ; then
6358 eval "DEFAULT_$LINE"
6359 else
6360 no_cache=1
6361 fi
6362
6363 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6364
6365fi;
6366
6367 eval "$ac_cv_use_dnd"
6368 if test "$no_cache" != 1; then
6369 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6370 fi
6371
6372 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6373 echo "$as_me:$LINENO: result: yes" >&5
6374echo "${ECHO_T}yes" >&6
6375 else
6376 echo "$as_me:$LINENO: result: no" >&5
6377echo "${ECHO_T}no" >&6
6378 fi
6379
6380
6381 enablestring=
6382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6383echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6384 no_cache=0
6385 # Check whether --enable-metafile or --disable-metafile was given.
6386if test "${enable_metafile+set}" = set; then
6387 enableval="$enable_metafile"
6388
6389 if test "$enableval" = yes; then
6390 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6391 else
6392 ac_cv_use_metafile='wxUSE_METAFILE=no'
6393 fi
6394
6395else
6396
6397 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6398 if test "x$LINE" != x ; then
6399 eval "DEFAULT_$LINE"
6400 else
6401 no_cache=1
6402 fi
6403
6404 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6405
6406fi;
6407
6408 eval "$ac_cv_use_metafile"
6409 if test "$no_cache" != 1; then
6410 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6411 fi
6412
6413 if test "$wxUSE_METAFILE" = yes; then
6414 echo "$as_me:$LINENO: result: yes" >&5
6415echo "${ECHO_T}yes" >&6
6416 else
6417 echo "$as_me:$LINENO: result: no" >&5
6418echo "${ECHO_T}no" >&6
6419 fi
6420
6421
6422
6423
6424
6425 enablestring=
6426 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6427echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6428 no_cache=0
6429 # Check whether --enable-controls or --disable-controls was given.
6430if test "${enable_controls+set}" = set; then
6431 enableval="$enable_controls"
6432
6433 if test "$enableval" = yes; then
6434 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6435 else
6436 ac_cv_use_controls='wxUSE_CONTROLS=no'
6437 fi
6438
6439else
6440
6441 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6442 if test "x$LINE" != x ; then
6443 eval "DEFAULT_$LINE"
6444 else
6445 no_cache=1
6446 fi
6447
6448 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6449
6450fi;
6451
6452 eval "$ac_cv_use_controls"
6453 if test "$no_cache" != 1; then
6454 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6455 fi
6456
6457 if test "$wxUSE_CONTROLS" = yes; then
6458 echo "$as_me:$LINENO: result: yes" >&5
6459echo "${ECHO_T}yes" >&6
6460 else
6461 echo "$as_me:$LINENO: result: no" >&5
6462echo "${ECHO_T}no" >&6
6463 fi
6464
6465
6466if test "$wxUSE_CONTROLS" = "yes"; then
6467 DEFAULT_wxUSE_ACCEL=yes
6468 DEFAULT_wxUSE_BMPBUTTON=yes
6469 DEFAULT_wxUSE_BUTTON=yes
6470 DEFAULT_wxUSE_CALCTRL=no
6471 DEFAULT_wxUSE_CARET=yes
6472 DEFAULT_wxUSE_COMBOBOX=yes
6473 DEFAULT_wxUSE_CHECKBOX=yes
6474 DEFAULT_wxUSE_CHECKLISTBOX=yes
6475 DEFAULT_wxUSE_CHOICE=yes
6476 DEFAULT_wxUSE_GAUGE=yes
6477 DEFAULT_wxUSE_GRID=yes
6478 DEFAULT_wxUSE_IMAGLIST=yes
6479 DEFAULT_wxUSE_LISTBOX=yes
6480 DEFAULT_wxUSE_LISTCTRL=yes
6481 DEFAULT_wxUSE_NOTEBOOK=yes
6482 DEFAULT_wxUSE_RADIOBOX=yes
6483 DEFAULT_wxUSE_RADIOBTN=yes
6484 DEFAULT_wxUSE_SASH=yes
6485 DEFAULT_wxUSE_SCROLLBAR=yes
6486 DEFAULT_wxUSE_SLIDER=yes
6487 DEFAULT_wxUSE_SPINBTN=yes
6488 DEFAULT_wxUSE_SPINCTRL=yes
6489 DEFAULT_wxUSE_SPLITTER=yes
6490 DEFAULT_wxUSE_STATBMP=yes
6491 DEFAULT_wxUSE_STATBOX=yes
6492 DEFAULT_wxUSE_STATLINE=yes
6493 DEFAULT_wxUSE_STATUSBAR=yes
6494 DEFAULT_wxUSE_TAB_DIALOG=yes
6495 DEFAULT_wxUSE_TOGGLEBTN=yes
6496 DEFAULT_wxUSE_TOOLBAR=yes
6497 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6498 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6499 DEFAULT_wxUSE_TOOLTIPS=yes
6500 DEFAULT_wxUSE_TREECTRL=yes
6501 DEFAULT_wxUSE_POPUPWIN=yes
6502 DEFAULT_wxUSE_TIPWINDOW=yes
6503elif test "$wxUSE_CONTROLS" = "no"; then
6504 DEFAULT_wxUSE_ACCEL=no
6505 DEFAULT_wxUSE_BMPBUTTON=no
6506 DEFAULT_wxUSE_BUTTON=no
6507 DEFAULT_wxUSE_CALCTRL=no
6508 DEFAULT_wxUSE_CARET=no
6509 DEFAULT_wxUSE_COMBOBOX=no
6510 DEFAULT_wxUSE_CHECKBOX=no
6511 DEFAULT_wxUSE_CHECKLISTBOX=no
6512 DEFAULT_wxUSE_CHOICE=no
6513 DEFAULT_wxUSE_GAUGE=no
6514 DEFAULT_wxUSE_GRID=no
6515 DEFAULT_wxUSE_IMAGLIST=no
6516 DEFAULT_wxUSE_LISTBOX=no
6517 DEFAULT_wxUSE_LISTCTRL=no
6518 DEFAULT_wxUSE_NOTEBOOK=no
6519 DEFAULT_wxUSE_RADIOBOX=no
6520 DEFAULT_wxUSE_RADIOBTN=no
6521 DEFAULT_wxUSE_SASH=no
6522 DEFAULT_wxUSE_SCROLLBAR=no
6523 DEFAULT_wxUSE_SLIDER=no
6524 DEFAULT_wxUSE_SPINBTN=no
6525 DEFAULT_wxUSE_SPINCTRL=no
6526 DEFAULT_wxUSE_SPLITTER=no
6527 DEFAULT_wxUSE_STATBMP=no
6528 DEFAULT_wxUSE_STATBOX=no
6529 DEFAULT_wxUSE_STATLINE=no
6530 DEFAULT_wxUSE_STATUSBAR=no
6531 DEFAULT_wxUSE_TAB_DIALOG=no
6532 DEFAULT_wxUSE_TOGGLEBTN=no
6533 DEFAULT_wxUSE_TOOLBAR=no
6534 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6535 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6536 DEFAULT_wxUSE_TOOLTIPS=no
6537 DEFAULT_wxUSE_TREECTRL=no
6538 DEFAULT_wxUSE_POPUPWIN=no
6539 DEFAULT_wxUSE_TIPWINDOW=no
6540fi
6541
6542## FIXME: This is a blatant hack
6543if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6544 wxUSE_PRINTING_ARCHITECTURE=no
6545 wxUSE_DRAG_AND_DROP=no
6546 # Generic notebook requires tab dialog
6547 DEFAULT_wxUSE_TABDIALOG=yes
6548 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6549 DEFAULT_wxUSE_SCROLLBAR=no
6550 DEFAULT_wxUSE_TOOLTIPS=no
6551 DEFAULT_wxUSE_DRAGIMAGE=no
6552fi
6553
6554
6555 enablestring=
6556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6557echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6558 no_cache=0
6559 # Check whether --enable-accel or --disable-accel was given.
6560if test "${enable_accel+set}" = set; then
6561 enableval="$enable_accel"
6562
6563 if test "$enableval" = yes; then
6564 ac_cv_use_accel='wxUSE_ACCEL=yes'
6565 else
6566 ac_cv_use_accel='wxUSE_ACCEL=no'
6567 fi
6568
6569else
6570
6571 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6572 if test "x$LINE" != x ; then
6573 eval "DEFAULT_$LINE"
6574 else
6575 no_cache=1
6576 fi
6577
6578 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6579
6580fi;
6581
6582 eval "$ac_cv_use_accel"
6583 if test "$no_cache" != 1; then
6584 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6585 fi
6586
6587 if test "$wxUSE_ACCEL" = yes; then
6588 echo "$as_me:$LINENO: result: yes" >&5
6589echo "${ECHO_T}yes" >&6
6590 else
6591 echo "$as_me:$LINENO: result: no" >&5
6592echo "${ECHO_T}no" >&6
6593 fi
6594
6595
6596 enablestring=
6597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6598echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6599 no_cache=0
6600 # Check whether --enable-button or --disable-button was given.
6601if test "${enable_button+set}" = set; then
6602 enableval="$enable_button"
6603
6604 if test "$enableval" = yes; then
6605 ac_cv_use_button='wxUSE_BUTTON=yes'
6606 else
6607 ac_cv_use_button='wxUSE_BUTTON=no'
6608 fi
6609
6610else
6611
6612 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6613 if test "x$LINE" != x ; then
6614 eval "DEFAULT_$LINE"
6615 else
6616 no_cache=1
6617 fi
6618
6619 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6620
6621fi;
6622
6623 eval "$ac_cv_use_button"
6624 if test "$no_cache" != 1; then
6625 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6626 fi
6627
6628 if test "$wxUSE_BUTTON" = yes; then
6629 echo "$as_me:$LINENO: result: yes" >&5
6630echo "${ECHO_T}yes" >&6
6631 else
6632 echo "$as_me:$LINENO: result: no" >&5
6633echo "${ECHO_T}no" >&6
6634 fi
6635
6636
6637 enablestring=
6638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6639echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6640 no_cache=0
6641 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6642if test "${enable_bmpbutton+set}" = set; then
6643 enableval="$enable_bmpbutton"
6644
6645 if test "$enableval" = yes; then
6646 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6647 else
6648 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6649 fi
6650
6651else
6652
6653 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6654 if test "x$LINE" != x ; then
6655 eval "DEFAULT_$LINE"
6656 else
6657 no_cache=1
6658 fi
6659
6660 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6661
6662fi;
6663
6664 eval "$ac_cv_use_bmpbutton"
6665 if test "$no_cache" != 1; then
6666 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6667 fi
6668
6669 if test "$wxUSE_BMPBUTTON" = yes; then
6670 echo "$as_me:$LINENO: result: yes" >&5
6671echo "${ECHO_T}yes" >&6
6672 else
6673 echo "$as_me:$LINENO: result: no" >&5
6674echo "${ECHO_T}no" >&6
6675 fi
6676
6677
6678 enablestring=
6679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6680echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6681 no_cache=0
6682 # Check whether --enable-calendar or --disable-calendar was given.
6683if test "${enable_calendar+set}" = set; then
6684 enableval="$enable_calendar"
6685
6686 if test "$enableval" = yes; then
6687 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6688 else
6689 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6690 fi
6691
6692else
6693
6694 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6695 if test "x$LINE" != x ; then
6696 eval "DEFAULT_$LINE"
6697 else
6698 no_cache=1
6699 fi
6700
6701 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6702
6703fi;
6704
6705 eval "$ac_cv_use_calendar"
6706 if test "$no_cache" != 1; then
6707 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6708 fi
6709
6710 if test "$wxUSE_CALCTRL" = yes; then
6711 echo "$as_me:$LINENO: result: yes" >&5
6712echo "${ECHO_T}yes" >&6
6713 else
6714 echo "$as_me:$LINENO: result: no" >&5
6715echo "${ECHO_T}no" >&6
6716 fi
6717
6718
6719 enablestring=
6720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6721echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6722 no_cache=0
6723 # Check whether --enable-caret or --disable-caret was given.
6724if test "${enable_caret+set}" = set; then
6725 enableval="$enable_caret"
6726
6727 if test "$enableval" = yes; then
6728 ac_cv_use_caret='wxUSE_CARET=yes'
6729 else
6730 ac_cv_use_caret='wxUSE_CARET=no'
6731 fi
6732
6733else
6734
6735 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6736 if test "x$LINE" != x ; then
6737 eval "DEFAULT_$LINE"
6738 else
6739 no_cache=1
6740 fi
6741
6742 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6743
6744fi;
6745
6746 eval "$ac_cv_use_caret"
6747 if test "$no_cache" != 1; then
6748 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6749 fi
6750
6751 if test "$wxUSE_CARET" = yes; then
6752 echo "$as_me:$LINENO: result: yes" >&5
6753echo "${ECHO_T}yes" >&6
6754 else
6755 echo "$as_me:$LINENO: result: no" >&5
6756echo "${ECHO_T}no" >&6
6757 fi
6758
6759
6760 enablestring=
6761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6762echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6763 no_cache=0
6764 # Check whether --enable-checkbox or --disable-checkbox was given.
6765if test "${enable_checkbox+set}" = set; then
6766 enableval="$enable_checkbox"
6767
6768 if test "$enableval" = yes; then
6769 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6770 else
6771 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6772 fi
6773
6774else
6775
6776 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6777 if test "x$LINE" != x ; then
6778 eval "DEFAULT_$LINE"
6779 else
6780 no_cache=1
6781 fi
6782
6783 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6784
6785fi;
6786
6787 eval "$ac_cv_use_checkbox"
6788 if test "$no_cache" != 1; then
6789 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6790 fi
6791
6792 if test "$wxUSE_CHECKBOX" = yes; then
6793 echo "$as_me:$LINENO: result: yes" >&5
6794echo "${ECHO_T}yes" >&6
6795 else
6796 echo "$as_me:$LINENO: result: no" >&5
6797echo "${ECHO_T}no" >&6
6798 fi
6799
6800
6801 enablestring=
6802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6803echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6804 no_cache=0
6805 # Check whether --enable-checklst or --disable-checklst was given.
6806if test "${enable_checklst+set}" = set; then
6807 enableval="$enable_checklst"
6808
6809 if test "$enableval" = yes; then
6810 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6811 else
6812 ac_cv_use_checklst='wxUSE_CHECKLST=no'
6813 fi
6814
6815else
6816
6817 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6818 if test "x$LINE" != x ; then
6819 eval "DEFAULT_$LINE"
6820 else
6821 no_cache=1
6822 fi
6823
6824 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6825
6826fi;
6827
6828 eval "$ac_cv_use_checklst"
6829 if test "$no_cache" != 1; then
6830 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6831 fi
6832
6833 if test "$wxUSE_CHECKLST" = yes; then
6834 echo "$as_me:$LINENO: result: yes" >&5
6835echo "${ECHO_T}yes" >&6
6836 else
6837 echo "$as_me:$LINENO: result: no" >&5
6838echo "${ECHO_T}no" >&6
6839 fi
6840
6841
6842 enablestring=
6843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6844echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6845 no_cache=0
6846 # Check whether --enable-choice or --disable-choice was given.
6847if test "${enable_choice+set}" = set; then
6848 enableval="$enable_choice"
6849
6850 if test "$enableval" = yes; then
6851 ac_cv_use_choice='wxUSE_CHOICE=yes'
6852 else
6853 ac_cv_use_choice='wxUSE_CHOICE=no'
6854 fi
6855
6856else
6857
6858 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6859 if test "x$LINE" != x ; then
6860 eval "DEFAULT_$LINE"
6861 else
6862 no_cache=1
6863 fi
6864
6865 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6866
6867fi;
6868
6869 eval "$ac_cv_use_choice"
6870 if test "$no_cache" != 1; then
6871 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6872 fi
6873
6874 if test "$wxUSE_CHOICE" = yes; then
6875 echo "$as_me:$LINENO: result: yes" >&5
6876echo "${ECHO_T}yes" >&6
6877 else
6878 echo "$as_me:$LINENO: result: no" >&5
6879echo "${ECHO_T}no" >&6
6880 fi
6881
6882
6883 enablestring=
6884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6885echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6886 no_cache=0
6887 # Check whether --enable-combobox or --disable-combobox was given.
6888if test "${enable_combobox+set}" = set; then
6889 enableval="$enable_combobox"
6890
6891 if test "$enableval" = yes; then
6892 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6893 else
6894 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6895 fi
6896
6897else
6898
6899 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6900 if test "x$LINE" != x ; then
6901 eval "DEFAULT_$LINE"
6902 else
6903 no_cache=1
6904 fi
6905
6906 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6907
6908fi;
6909
6910 eval "$ac_cv_use_combobox"
6911 if test "$no_cache" != 1; then
6912 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6913 fi
6914
6915 if test "$wxUSE_COMBOBOX" = yes; then
6916 echo "$as_me:$LINENO: result: yes" >&5
6917echo "${ECHO_T}yes" >&6
6918 else
6919 echo "$as_me:$LINENO: result: no" >&5
6920echo "${ECHO_T}no" >&6
6921 fi
6922
6923
6924 enablestring=
6925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6926echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6927 no_cache=0
6928 # Check whether --enable-display or --disable-display was given.
6929if test "${enable_display+set}" = set; then
6930 enableval="$enable_display"
6931
6932 if test "$enableval" = yes; then
6933 ac_cv_use_display='wxUSE_DISPLAY=yes'
6934 else
6935 ac_cv_use_display='wxUSE_DISPLAY=no'
6936 fi
6937
6938else
6939
6940 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6941 if test "x$LINE" != x ; then
6942 eval "DEFAULT_$LINE"
6943 else
6944 no_cache=1
6945 fi
6946
6947 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6948
6949fi;
6950
6951 eval "$ac_cv_use_display"
6952 if test "$no_cache" != 1; then
6953 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6954 fi
6955
6956 if test "$wxUSE_DISPLAY" = yes; then
6957 echo "$as_me:$LINENO: result: yes" >&5
6958echo "${ECHO_T}yes" >&6
6959 else
6960 echo "$as_me:$LINENO: result: no" >&5
6961echo "${ECHO_T}no" >&6
6962 fi
6963
6964
6965 enablestring=
6966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6967echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6968 no_cache=0
6969 # Check whether --enable-gauge or --disable-gauge was given.
6970if test "${enable_gauge+set}" = set; then
6971 enableval="$enable_gauge"
6972
6973 if test "$enableval" = yes; then
6974 ac_cv_use_gauge='wxUSE_GAUGE=yes'
6975 else
6976 ac_cv_use_gauge='wxUSE_GAUGE=no'
6977 fi
6978
6979else
6980
6981 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6982 if test "x$LINE" != x ; then
6983 eval "DEFAULT_$LINE"
6984 else
6985 no_cache=1
6986 fi
6987
6988 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6989
6990fi;
6991
6992 eval "$ac_cv_use_gauge"
6993 if test "$no_cache" != 1; then
6994 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6995 fi
6996
6997 if test "$wxUSE_GAUGE" = yes; then
6998 echo "$as_me:$LINENO: result: yes" >&5
6999echo "${ECHO_T}yes" >&6
7000 else
7001 echo "$as_me:$LINENO: result: no" >&5
7002echo "${ECHO_T}no" >&6
7003 fi
7004
7005
7006 enablestring=
7007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7008echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7009 no_cache=0
7010 # Check whether --enable-grid or --disable-grid was given.
7011if test "${enable_grid+set}" = set; then
7012 enableval="$enable_grid"
7013
7014 if test "$enableval" = yes; then
7015 ac_cv_use_grid='wxUSE_GRID=yes'
7016 else
7017 ac_cv_use_grid='wxUSE_GRID=no'
7018 fi
7019
7020else
7021
7022 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7023 if test "x$LINE" != x ; then
7024 eval "DEFAULT_$LINE"
7025 else
7026 no_cache=1
7027 fi
7028
7029 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7030
7031fi;
7032
7033 eval "$ac_cv_use_grid"
7034 if test "$no_cache" != 1; then
7035 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7036 fi
7037
7038 if test "$wxUSE_GRID" = yes; then
7039 echo "$as_me:$LINENO: result: yes" >&5
7040echo "${ECHO_T}yes" >&6
7041 else
7042 echo "$as_me:$LINENO: result: no" >&5
7043echo "${ECHO_T}no" >&6
7044 fi
7045
7046
7047 enablestring=
7048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7049echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7050 no_cache=0
7051 # Check whether --enable-imaglist or --disable-imaglist was given.
7052if test "${enable_imaglist+set}" = set; then
7053 enableval="$enable_imaglist"
7054
7055 if test "$enableval" = yes; then
7056 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7057 else
7058 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7059 fi
7060
7061else
7062
7063 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7064 if test "x$LINE" != x ; then
7065 eval "DEFAULT_$LINE"
7066 else
7067 no_cache=1
7068 fi
7069
7070 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7071
7072fi;
7073
7074 eval "$ac_cv_use_imaglist"
7075 if test "$no_cache" != 1; then
7076 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7077 fi
7078
7079 if test "$wxUSE_IMAGLIST" = yes; then
7080 echo "$as_me:$LINENO: result: yes" >&5
7081echo "${ECHO_T}yes" >&6
7082 else
7083 echo "$as_me:$LINENO: result: no" >&5
7084echo "${ECHO_T}no" >&6
7085 fi
7086
7087
7088 enablestring=
7089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7090echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7091 no_cache=0
7092 # Check whether --enable-listbox or --disable-listbox was given.
7093if test "${enable_listbox+set}" = set; then
7094 enableval="$enable_listbox"
7095
7096 if test "$enableval" = yes; then
7097 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7098 else
7099 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7100 fi
7101
7102else
7103
7104 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7105 if test "x$LINE" != x ; then
7106 eval "DEFAULT_$LINE"
7107 else
7108 no_cache=1
7109 fi
7110
7111 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7112
7113fi;
7114
7115 eval "$ac_cv_use_listbox"
7116 if test "$no_cache" != 1; then
7117 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7118 fi
7119
7120 if test "$wxUSE_LISTBOX" = yes; then
7121 echo "$as_me:$LINENO: result: yes" >&5
7122echo "${ECHO_T}yes" >&6
7123 else
7124 echo "$as_me:$LINENO: result: no" >&5
7125echo "${ECHO_T}no" >&6
7126 fi
7127
7128
7129 enablestring=
7130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7131echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7132 no_cache=0
7133 # Check whether --enable-listctrl or --disable-listctrl was given.
7134if test "${enable_listctrl+set}" = set; then
7135 enableval="$enable_listctrl"
7136
7137 if test "$enableval" = yes; then
7138 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7139 else
7140 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7141 fi
7142
7143else
7144
7145 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7146 if test "x$LINE" != x ; then
7147 eval "DEFAULT_$LINE"
7148 else
7149 no_cache=1
7150 fi
7151
7152 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7153
7154fi;
7155
7156 eval "$ac_cv_use_listctrl"
7157 if test "$no_cache" != 1; then
7158 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7159 fi
7160
7161 if test "$wxUSE_LISTCTRL" = yes; then
7162 echo "$as_me:$LINENO: result: yes" >&5
7163echo "${ECHO_T}yes" >&6
7164 else
7165 echo "$as_me:$LINENO: result: no" >&5
7166echo "${ECHO_T}no" >&6
7167 fi
7168
7169
7170 enablestring=
7171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7172echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7173 no_cache=0
7174 # Check whether --enable-notebook or --disable-notebook was given.
7175if test "${enable_notebook+set}" = set; then
7176 enableval="$enable_notebook"
7177
7178 if test "$enableval" = yes; then
7179 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7180 else
7181 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7182 fi
7183
7184else
7185
7186 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7187 if test "x$LINE" != x ; then
7188 eval "DEFAULT_$LINE"
7189 else
7190 no_cache=1
7191 fi
7192
7193 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7194
7195fi;
7196
7197 eval "$ac_cv_use_notebook"
7198 if test "$no_cache" != 1; then
7199 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7200 fi
7201
7202 if test "$wxUSE_NOTEBOOK" = yes; then
7203 echo "$as_me:$LINENO: result: yes" >&5
7204echo "${ECHO_T}yes" >&6
7205 else
7206 echo "$as_me:$LINENO: result: no" >&5
7207echo "${ECHO_T}no" >&6
7208 fi
7209
7210
7211 enablestring=
7212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7213echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7214 no_cache=0
7215 # Check whether --enable-radiobox or --disable-radiobox was given.
7216if test "${enable_radiobox+set}" = set; then
7217 enableval="$enable_radiobox"
7218
7219 if test "$enableval" = yes; then
7220 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7221 else
7222 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7223 fi
7224
7225else
7226
7227 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7228 if test "x$LINE" != x ; then
7229 eval "DEFAULT_$LINE"
7230 else
7231 no_cache=1
7232 fi
7233
7234 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7235
7236fi;
7237
7238 eval "$ac_cv_use_radiobox"
7239 if test "$no_cache" != 1; then
7240 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7241 fi
7242
7243 if test "$wxUSE_RADIOBOX" = yes; then
7244 echo "$as_me:$LINENO: result: yes" >&5
7245echo "${ECHO_T}yes" >&6
7246 else
7247 echo "$as_me:$LINENO: result: no" >&5
7248echo "${ECHO_T}no" >&6
7249 fi
7250
7251
7252 enablestring=
7253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7254echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7255 no_cache=0
7256 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7257if test "${enable_radiobtn+set}" = set; then
7258 enableval="$enable_radiobtn"
7259
7260 if test "$enableval" = yes; then
7261 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7262 else
7263 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7264 fi
7265
7266else
7267
7268 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7269 if test "x$LINE" != x ; then
7270 eval "DEFAULT_$LINE"
7271 else
7272 no_cache=1
7273 fi
7274
7275 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7276
7277fi;
7278
7279 eval "$ac_cv_use_radiobtn"
7280 if test "$no_cache" != 1; then
7281 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7282 fi
7283
7284 if test "$wxUSE_RADIOBTN" = yes; then
7285 echo "$as_me:$LINENO: result: yes" >&5
7286echo "${ECHO_T}yes" >&6
7287 else
7288 echo "$as_me:$LINENO: result: no" >&5
7289echo "${ECHO_T}no" >&6
7290 fi
7291
7292
7293 enablestring=
7294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7295echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7296 no_cache=0
7297 # Check whether --enable-sash or --disable-sash was given.
7298if test "${enable_sash+set}" = set; then
7299 enableval="$enable_sash"
7300
7301 if test "$enableval" = yes; then
7302 ac_cv_use_sash='wxUSE_SASH=yes'
7303 else
7304 ac_cv_use_sash='wxUSE_SASH=no'
7305 fi
7306
7307else
7308
7309 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7310 if test "x$LINE" != x ; then
7311 eval "DEFAULT_$LINE"
7312 else
7313 no_cache=1
7314 fi
7315
7316 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7317
7318fi;
7319
7320 eval "$ac_cv_use_sash"
7321 if test "$no_cache" != 1; then
7322 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7323 fi
7324
7325 if test "$wxUSE_SASH" = yes; then
7326 echo "$as_me:$LINENO: result: yes" >&5
7327echo "${ECHO_T}yes" >&6
7328 else
7329 echo "$as_me:$LINENO: result: no" >&5
7330echo "${ECHO_T}no" >&6
7331 fi
7332
7333
7334 enablestring=
7335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7336echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7337 no_cache=0
7338 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7339if test "${enable_scrollbar+set}" = set; then
7340 enableval="$enable_scrollbar"
7341
7342 if test "$enableval" = yes; then
7343 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7344 else
7345 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7346 fi
7347
7348else
7349
7350 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7351 if test "x$LINE" != x ; then
7352 eval "DEFAULT_$LINE"
7353 else
7354 no_cache=1
7355 fi
7356
7357 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7358
7359fi;
7360
7361 eval "$ac_cv_use_scrollbar"
7362 if test "$no_cache" != 1; then
7363 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7364 fi
7365
7366 if test "$wxUSE_SCROLLBAR" = yes; then
7367 echo "$as_me:$LINENO: result: yes" >&5
7368echo "${ECHO_T}yes" >&6
7369 else
7370 echo "$as_me:$LINENO: result: no" >&5
7371echo "${ECHO_T}no" >&6
7372 fi
7373
7374
7375 enablestring=
7376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7377echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7378 no_cache=0
7379 # Check whether --enable-slider or --disable-slider was given.
7380if test "${enable_slider+set}" = set; then
7381 enableval="$enable_slider"
7382
7383 if test "$enableval" = yes; then
7384 ac_cv_use_slider='wxUSE_SLIDER=yes'
7385 else
7386 ac_cv_use_slider='wxUSE_SLIDER=no'
7387 fi
7388
7389else
7390
7391 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7392 if test "x$LINE" != x ; then
7393 eval "DEFAULT_$LINE"
7394 else
7395 no_cache=1
7396 fi
7397
7398 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7399
7400fi;
7401
7402 eval "$ac_cv_use_slider"
7403 if test "$no_cache" != 1; then
7404 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7405 fi
7406
7407 if test "$wxUSE_SLIDER" = yes; then
7408 echo "$as_me:$LINENO: result: yes" >&5
7409echo "${ECHO_T}yes" >&6
7410 else
7411 echo "$as_me:$LINENO: result: no" >&5
7412echo "${ECHO_T}no" >&6
7413 fi
7414
7415
7416 enablestring=
7417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7418echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7419 no_cache=0
7420 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7421if test "${enable_spinbtn+set}" = set; then
7422 enableval="$enable_spinbtn"
7423
7424 if test "$enableval" = yes; then
7425 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7426 else
7427 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7428 fi
7429
7430else
7431
7432 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7433 if test "x$LINE" != x ; then
7434 eval "DEFAULT_$LINE"
7435 else
7436 no_cache=1
7437 fi
7438
7439 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7440
7441fi;
7442
7443 eval "$ac_cv_use_spinbtn"
7444 if test "$no_cache" != 1; then
7445 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7446 fi
7447
7448 if test "$wxUSE_SPINBTN" = yes; then
7449 echo "$as_me:$LINENO: result: yes" >&5
7450echo "${ECHO_T}yes" >&6
7451 else
7452 echo "$as_me:$LINENO: result: no" >&5
7453echo "${ECHO_T}no" >&6
7454 fi
7455
7456
7457 enablestring=
7458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7459echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7460 no_cache=0
7461 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7462if test "${enable_spinctrl+set}" = set; then
7463 enableval="$enable_spinctrl"
7464
7465 if test "$enableval" = yes; then
7466 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7467 else
7468 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7469 fi
7470
7471else
7472
7473 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7474 if test "x$LINE" != x ; then
7475 eval "DEFAULT_$LINE"
7476 else
7477 no_cache=1
7478 fi
7479
7480 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7481
7482fi;
7483
7484 eval "$ac_cv_use_spinctrl"
7485 if test "$no_cache" != 1; then
7486 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7487 fi
7488
7489 if test "$wxUSE_SPINCTRL" = yes; then
7490 echo "$as_me:$LINENO: result: yes" >&5
7491echo "${ECHO_T}yes" >&6
7492 else
7493 echo "$as_me:$LINENO: result: no" >&5
7494echo "${ECHO_T}no" >&6
7495 fi
7496
7497
7498 enablestring=
7499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7500echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7501 no_cache=0
7502 # Check whether --enable-splitter or --disable-splitter was given.
7503if test "${enable_splitter+set}" = set; then
7504 enableval="$enable_splitter"
7505
7506 if test "$enableval" = yes; then
7507 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7508 else
7509 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7510 fi
7511
7512else
7513
7514 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7515 if test "x$LINE" != x ; then
7516 eval "DEFAULT_$LINE"
7517 else
7518 no_cache=1
7519 fi
7520
7521 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7522
7523fi;
7524
7525 eval "$ac_cv_use_splitter"
7526 if test "$no_cache" != 1; then
7527 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7528 fi
7529
7530 if test "$wxUSE_SPLITTER" = yes; then
7531 echo "$as_me:$LINENO: result: yes" >&5
7532echo "${ECHO_T}yes" >&6
7533 else
7534 echo "$as_me:$LINENO: result: no" >&5
7535echo "${ECHO_T}no" >&6
7536 fi
7537
7538
7539 enablestring=
7540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7541echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7542 no_cache=0
7543 # Check whether --enable-statbmp or --disable-statbmp was given.
7544if test "${enable_statbmp+set}" = set; then
7545 enableval="$enable_statbmp"
7546
7547 if test "$enableval" = yes; then
7548 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7549 else
7550 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7551 fi
7552
7553else
7554
7555 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7556 if test "x$LINE" != x ; then
7557 eval "DEFAULT_$LINE"
7558 else
7559 no_cache=1
7560 fi
7561
7562 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7563
7564fi;
7565
7566 eval "$ac_cv_use_statbmp"
7567 if test "$no_cache" != 1; then
7568 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7569 fi
7570
7571 if test "$wxUSE_STATBMP" = yes; then
7572 echo "$as_me:$LINENO: result: yes" >&5
7573echo "${ECHO_T}yes" >&6
7574 else
7575 echo "$as_me:$LINENO: result: no" >&5
7576echo "${ECHO_T}no" >&6
7577 fi
7578
7579
7580 enablestring=
7581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7582echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7583 no_cache=0
7584 # Check whether --enable-statbox or --disable-statbox was given.
7585if test "${enable_statbox+set}" = set; then
7586 enableval="$enable_statbox"
7587
7588 if test "$enableval" = yes; then
7589 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7590 else
7591 ac_cv_use_statbox='wxUSE_STATBOX=no'
7592 fi
7593
7594else
7595
7596 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7597 if test "x$LINE" != x ; then
7598 eval "DEFAULT_$LINE"
7599 else
7600 no_cache=1
7601 fi
7602
7603 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7604
7605fi;
7606
7607 eval "$ac_cv_use_statbox"
7608 if test "$no_cache" != 1; then
7609 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7610 fi
7611
7612 if test "$wxUSE_STATBOX" = yes; then
7613 echo "$as_me:$LINENO: result: yes" >&5
7614echo "${ECHO_T}yes" >&6
7615 else
7616 echo "$as_me:$LINENO: result: no" >&5
7617echo "${ECHO_T}no" >&6
7618 fi
7619
7620
7621 enablestring=
7622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7623echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7624 no_cache=0
7625 # Check whether --enable-statline or --disable-statline was given.
7626if test "${enable_statline+set}" = set; then
7627 enableval="$enable_statline"
7628
7629 if test "$enableval" = yes; then
7630 ac_cv_use_statline='wxUSE_STATLINE=yes'
7631 else
7632 ac_cv_use_statline='wxUSE_STATLINE=no'
7633 fi
7634
7635else
7636
7637 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7638 if test "x$LINE" != x ; then
7639 eval "DEFAULT_$LINE"
7640 else
7641 no_cache=1
7642 fi
7643
7644 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7645
7646fi;
7647
7648 eval "$ac_cv_use_statline"
7649 if test "$no_cache" != 1; then
7650 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7651 fi
7652
7653 if test "$wxUSE_STATLINE" = yes; then
7654 echo "$as_me:$LINENO: result: yes" >&5
7655echo "${ECHO_T}yes" >&6
7656 else
7657 echo "$as_me:$LINENO: result: no" >&5
7658echo "${ECHO_T}no" >&6
7659 fi
7660
7661
7662 enablestring=
7663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7664echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7665 no_cache=0
7666 # Check whether --enable-stattext or --disable-stattext was given.
7667if test "${enable_stattext+set}" = set; then
7668 enableval="$enable_stattext"
7669
7670 if test "$enableval" = yes; then
7671 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7672 else
7673 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7674 fi
7675
7676else
7677
7678 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7679 if test "x$LINE" != x ; then
7680 eval "DEFAULT_$LINE"
7681 else
7682 no_cache=1
7683 fi
7684
7685 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7686
7687fi;
7688
7689 eval "$ac_cv_use_stattext"
7690 if test "$no_cache" != 1; then
7691 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7692 fi
7693
7694 if test "$wxUSE_STATTEXT" = yes; then
7695 echo "$as_me:$LINENO: result: yes" >&5
7696echo "${ECHO_T}yes" >&6
7697 else
7698 echo "$as_me:$LINENO: result: no" >&5
7699echo "${ECHO_T}no" >&6
7700 fi
7701
7702
7703 enablestring=
7704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7705echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7706 no_cache=0
7707 # Check whether --enable-statusbar or --disable-statusbar was given.
7708if test "${enable_statusbar+set}" = set; then
7709 enableval="$enable_statusbar"
7710
7711 if test "$enableval" = yes; then
7712 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7713 else
7714 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7715 fi
7716
7717else
7718
7719 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7720 if test "x$LINE" != x ; then
7721 eval "DEFAULT_$LINE"
7722 else
7723 no_cache=1
7724 fi
7725
7726 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7727
7728fi;
7729
7730 eval "$ac_cv_use_statusbar"
7731 if test "$no_cache" != 1; then
7732 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7733 fi
7734
7735 if test "$wxUSE_STATUSBAR" = yes; then
7736 echo "$as_me:$LINENO: result: yes" >&5
7737echo "${ECHO_T}yes" >&6
7738 else
7739 echo "$as_me:$LINENO: result: no" >&5
7740echo "${ECHO_T}no" >&6
7741 fi
7742
7743
7744 enablestring=
7745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7746echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7747 no_cache=0
7748 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7749if test "${enable_tabdialog+set}" = set; then
7750 enableval="$enable_tabdialog"
7751
7752 if test "$enableval" = yes; then
7753 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7754 else
7755 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7756 fi
7757
7758else
7759
7760 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7761 if test "x$LINE" != x ; then
7762 eval "DEFAULT_$LINE"
7763 else
7764 no_cache=1
7765 fi
7766
7767 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7768
7769fi;
7770
7771 eval "$ac_cv_use_tabdialog"
7772 if test "$no_cache" != 1; then
7773 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7774 fi
7775
7776 if test "$wxUSE_TABDIALOG" = yes; then
7777 echo "$as_me:$LINENO: result: yes" >&5
7778echo "${ECHO_T}yes" >&6
7779 else
7780 echo "$as_me:$LINENO: result: no" >&5
7781echo "${ECHO_T}no" >&6
7782 fi
7783
7784
7785 enablestring=
7786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7787echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7788 no_cache=0
7789 # Check whether --enable-textctrl or --disable-textctrl was given.
7790if test "${enable_textctrl+set}" = set; then
7791 enableval="$enable_textctrl"
7792
7793 if test "$enableval" = yes; then
7794 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7795 else
7796 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7797 fi
7798
7799else
7800
7801 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7802 if test "x$LINE" != x ; then
7803 eval "DEFAULT_$LINE"
7804 else
7805 no_cache=1
7806 fi
7807
7808 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7809
7810fi;
7811
7812 eval "$ac_cv_use_textctrl"
7813 if test "$no_cache" != 1; then
7814 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7815 fi
7816
7817 if test "$wxUSE_TEXTCTRL" = yes; then
7818 echo "$as_me:$LINENO: result: yes" >&5
7819echo "${ECHO_T}yes" >&6
7820 else
7821 echo "$as_me:$LINENO: result: no" >&5
7822echo "${ECHO_T}no" >&6
7823 fi
7824
7825
7826 enablestring=
7827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7828echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7829 no_cache=0
7830 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7831if test "${enable_togglebtn+set}" = set; then
7832 enableval="$enable_togglebtn"
7833
7834 if test "$enableval" = yes; then
7835 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
7836 else
7837 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
7838 fi
7839
7840else
7841
7842 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7843 if test "x$LINE" != x ; then
7844 eval "DEFAULT_$LINE"
7845 else
7846 no_cache=1
7847 fi
7848
7849 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7850
7851fi;
7852
7853 eval "$ac_cv_use_togglebtn"
7854 if test "$no_cache" != 1; then
7855 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7856 fi
7857
7858 if test "$wxUSE_TOGGLEBTN" = yes; then
7859 echo "$as_me:$LINENO: result: yes" >&5
7860echo "${ECHO_T}yes" >&6
7861 else
7862 echo "$as_me:$LINENO: result: no" >&5
7863echo "${ECHO_T}no" >&6
7864 fi
7865
7866
7867 enablestring=
7868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7869echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7870 no_cache=0
7871 # Check whether --enable-toolbar or --disable-toolbar was given.
7872if test "${enable_toolbar+set}" = set; then
7873 enableval="$enable_toolbar"
7874
7875 if test "$enableval" = yes; then
7876 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
7877 else
7878 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
7879 fi
7880
7881else
7882
7883 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7884 if test "x$LINE" != x ; then
7885 eval "DEFAULT_$LINE"
7886 else
7887 no_cache=1
7888 fi
7889
7890 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7891
7892fi;
7893
7894 eval "$ac_cv_use_toolbar"
7895 if test "$no_cache" != 1; then
7896 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7897 fi
7898
7899 if test "$wxUSE_TOOLBAR" = yes; then
7900 echo "$as_me:$LINENO: result: yes" >&5
7901echo "${ECHO_T}yes" >&6
7902 else
7903 echo "$as_me:$LINENO: result: no" >&5
7904echo "${ECHO_T}no" >&6
7905 fi
7906
7907
7908 enablestring=
7909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7910echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7911 no_cache=0
7912 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7913if test "${enable_tbarnative+set}" = set; then
7914 enableval="$enable_tbarnative"
7915
7916 if test "$enableval" = yes; then
7917 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
7918 else
7919 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
7920 fi
7921
7922else
7923
7924 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7925 if test "x$LINE" != x ; then
7926 eval "DEFAULT_$LINE"
7927 else
7928 no_cache=1
7929 fi
7930
7931 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7932
7933fi;
7934
7935 eval "$ac_cv_use_tbarnative"
7936 if test "$no_cache" != 1; then
7937 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7938 fi
7939
7940 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7941 echo "$as_me:$LINENO: result: yes" >&5
7942echo "${ECHO_T}yes" >&6
7943 else
7944 echo "$as_me:$LINENO: result: no" >&5
7945echo "${ECHO_T}no" >&6
7946 fi
7947
7948
7949 enablestring=
7950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7951echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7952 no_cache=0
7953 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7954if test "${enable_tbarsmpl+set}" = set; then
7955 enableval="$enable_tbarsmpl"
7956
7957 if test "$enableval" = yes; then
7958 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
7959 else
7960 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
7961 fi
7962
7963else
7964
7965 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7966 if test "x$LINE" != x ; then
7967 eval "DEFAULT_$LINE"
7968 else
7969 no_cache=1
7970 fi
7971
7972 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7973
7974fi;
7975
7976 eval "$ac_cv_use_tbarsmpl"
7977 if test "$no_cache" != 1; then
7978 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7979 fi
7980
7981 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7982 echo "$as_me:$LINENO: result: yes" >&5
7983echo "${ECHO_T}yes" >&6
7984 else
7985 echo "$as_me:$LINENO: result: no" >&5
7986echo "${ECHO_T}no" >&6
7987 fi
7988
7989
7990 enablestring=
7991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
7992echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
7993 no_cache=0
7994 # Check whether --enable-treectrl or --disable-treectrl was given.
7995if test "${enable_treectrl+set}" = set; then
7996 enableval="$enable_treectrl"
7997
7998 if test "$enableval" = yes; then
7999 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8000 else
8001 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8002 fi
8003
8004else
8005
8006 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8007 if test "x$LINE" != x ; then
8008 eval "DEFAULT_$LINE"
8009 else
8010 no_cache=1
8011 fi
8012
8013 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8014
8015fi;
8016
8017 eval "$ac_cv_use_treectrl"
8018 if test "$no_cache" != 1; then
8019 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8020 fi
8021
8022 if test "$wxUSE_TREECTRL" = yes; then
8023 echo "$as_me:$LINENO: result: yes" >&5
8024echo "${ECHO_T}yes" >&6
8025 else
8026 echo "$as_me:$LINENO: result: no" >&5
8027echo "${ECHO_T}no" >&6
8028 fi
8029
8030
8031 enablestring=
8032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8033echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8034 no_cache=0
8035 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8036if test "${enable_tipwindow+set}" = set; then
8037 enableval="$enable_tipwindow"
8038
8039 if test "$enableval" = yes; then
8040 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8041 else
8042 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8043 fi
8044
8045else
8046
8047 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8048 if test "x$LINE" != x ; then
8049 eval "DEFAULT_$LINE"
8050 else
8051 no_cache=1
8052 fi
8053
8054 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8055
8056fi;
8057
8058 eval "$ac_cv_use_tipwindow"
8059 if test "$no_cache" != 1; then
8060 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8061 fi
8062
8063 if test "$wxUSE_TIPWINDOW" = yes; then
8064 echo "$as_me:$LINENO: result: yes" >&5
8065echo "${ECHO_T}yes" >&6
8066 else
8067 echo "$as_me:$LINENO: result: no" >&5
8068echo "${ECHO_T}no" >&6
8069 fi
8070
8071
8072 enablestring=
8073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8074echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8075 no_cache=0
8076 # Check whether --enable-popupwin or --disable-popupwin was given.
8077if test "${enable_popupwin+set}" = set; then
8078 enableval="$enable_popupwin"
8079
8080 if test "$enableval" = yes; then
8081 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8082 else
8083 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8084 fi
8085
8086else
8087
8088 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8089 if test "x$LINE" != x ; then
8090 eval "DEFAULT_$LINE"
8091 else
8092 no_cache=1
8093 fi
8094
8095 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8096
8097fi;
8098
8099 eval "$ac_cv_use_popupwin"
8100 if test "$no_cache" != 1; then
8101 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8102 fi
8103
8104 if test "$wxUSE_POPUPWIN" = yes; then
8105 echo "$as_me:$LINENO: result: yes" >&5
8106echo "${ECHO_T}yes" >&6
8107 else
8108 echo "$as_me:$LINENO: result: no" >&5
8109echo "${ECHO_T}no" >&6
8110 fi
8111
8112
8113
8114
8115 enablestring=
8116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8117echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8118 no_cache=0
8119 # Check whether --enable-commondlg or --disable-commondlg was given.
8120if test "${enable_commondlg+set}" = set; then
8121 enableval="$enable_commondlg"
8122
8123 if test "$enableval" = yes; then
8124 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8125 else
8126 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8127 fi
8128
8129else
8130
8131 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8132 if test "x$LINE" != x ; then
8133 eval "DEFAULT_$LINE"
8134 else
8135 no_cache=1
8136 fi
8137
8138 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8139
8140fi;
8141
8142 eval "$ac_cv_use_commondlg"
8143 if test "$no_cache" != 1; then
8144 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8145 fi
8146
8147 if test "$wxUSE_COMMONDLGS" = yes; then
8148 echo "$as_me:$LINENO: result: yes" >&5
8149echo "${ECHO_T}yes" >&6
8150 else
8151 echo "$as_me:$LINENO: result: no" >&5
8152echo "${ECHO_T}no" >&6
8153 fi
8154
8155
8156 enablestring=
8157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8158echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8159 no_cache=0
8160 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8161if test "${enable_choicedlg+set}" = set; then
8162 enableval="$enable_choicedlg"
8163
8164 if test "$enableval" = yes; then
8165 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8166 else
8167 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8168 fi
8169
8170else
8171
8172 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8173 if test "x$LINE" != x ; then
8174 eval "DEFAULT_$LINE"
8175 else
8176 no_cache=1
8177 fi
8178
8179 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8180
8181fi;
8182
8183 eval "$ac_cv_use_choicedlg"
8184 if test "$no_cache" != 1; then
8185 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8186 fi
8187
8188 if test "$wxUSE_CHOICEDLG" = yes; then
8189 echo "$as_me:$LINENO: result: yes" >&5
8190echo "${ECHO_T}yes" >&6
8191 else
8192 echo "$as_me:$LINENO: result: no" >&5
8193echo "${ECHO_T}no" >&6
8194 fi
8195
8196
8197 enablestring=
8198 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8199echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8200 no_cache=0
8201 # Check whether --enable-coldlg or --disable-coldlg was given.
8202if test "${enable_coldlg+set}" = set; then
8203 enableval="$enable_coldlg"
8204
8205 if test "$enableval" = yes; then
8206 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8207 else
8208 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8209 fi
8210
8211else
8212
8213 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8214 if test "x$LINE" != x ; then
8215 eval "DEFAULT_$LINE"
8216 else
8217 no_cache=1
8218 fi
8219
8220 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8221
8222fi;
8223
8224 eval "$ac_cv_use_coldlg"
8225 if test "$no_cache" != 1; then
8226 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8227 fi
8228
8229 if test "$wxUSE_COLOURDLG" = yes; then
8230 echo "$as_me:$LINENO: result: yes" >&5
8231echo "${ECHO_T}yes" >&6
8232 else
8233 echo "$as_me:$LINENO: result: no" >&5
8234echo "${ECHO_T}no" >&6
8235 fi
8236
8237
8238 enablestring=
8239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8240echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8241 no_cache=0
8242 # Check whether --enable-filedlg or --disable-filedlg was given.
8243if test "${enable_filedlg+set}" = set; then
8244 enableval="$enable_filedlg"
8245
8246 if test "$enableval" = yes; then
8247 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8248 else
8249 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8250 fi
8251
8252else
8253
8254 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8255 if test "x$LINE" != x ; then
8256 eval "DEFAULT_$LINE"
8257 else
8258 no_cache=1
8259 fi
8260
8261 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8262
8263fi;
8264
8265 eval "$ac_cv_use_filedlg"
8266 if test "$no_cache" != 1; then
8267 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8268 fi
8269
8270 if test "$wxUSE_FILEDLG" = yes; then
8271 echo "$as_me:$LINENO: result: yes" >&5
8272echo "${ECHO_T}yes" >&6
8273 else
8274 echo "$as_me:$LINENO: result: no" >&5
8275echo "${ECHO_T}no" >&6
8276 fi
8277
8278
8279 enablestring=
8280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8281echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8282 no_cache=0
8283 # Check whether --enable-finddlg or --disable-finddlg was given.
8284if test "${enable_finddlg+set}" = set; then
8285 enableval="$enable_finddlg"
8286
8287 if test "$enableval" = yes; then
8288 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8289 else
8290 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8291 fi
8292
8293else
8294
8295 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8296 if test "x$LINE" != x ; then
8297 eval "DEFAULT_$LINE"
8298 else
8299 no_cache=1
8300 fi
8301
8302 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8303
8304fi;
8305
8306 eval "$ac_cv_use_finddlg"
8307 if test "$no_cache" != 1; then
8308 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8309 fi
8310
8311 if test "$wxUSE_FINDREPLDLG" = yes; then
8312 echo "$as_me:$LINENO: result: yes" >&5
8313echo "${ECHO_T}yes" >&6
8314 else
8315 echo "$as_me:$LINENO: result: no" >&5
8316echo "${ECHO_T}no" >&6
8317 fi
8318
8319
8320 enablestring=
8321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8322echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8323 no_cache=0
8324 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8325if test "${enable_fontdlg+set}" = set; then
8326 enableval="$enable_fontdlg"
8327
8328 if test "$enableval" = yes; then
8329 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8330 else
8331 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8332 fi
8333
8334else
8335
8336 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8337 if test "x$LINE" != x ; then
8338 eval "DEFAULT_$LINE"
8339 else
8340 no_cache=1
8341 fi
8342
8343 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8344
8345fi;
8346
8347 eval "$ac_cv_use_fontdlg"
8348 if test "$no_cache" != 1; then
8349 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8350 fi
8351
8352 if test "$wxUSE_FONTDLG" = yes; then
8353 echo "$as_me:$LINENO: result: yes" >&5
8354echo "${ECHO_T}yes" >&6
8355 else
8356 echo "$as_me:$LINENO: result: no" >&5
8357echo "${ECHO_T}no" >&6
8358 fi
8359
8360
8361 enablestring=
8362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8363echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8364 no_cache=0
8365 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8366if test "${enable_dirdlg+set}" = set; then
8367 enableval="$enable_dirdlg"
8368
8369 if test "$enableval" = yes; then
8370 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8371 else
8372 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8373 fi
8374
8375else
8376
8377 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8378 if test "x$LINE" != x ; then
8379 eval "DEFAULT_$LINE"
8380 else
8381 no_cache=1
8382 fi
8383
8384 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8385
8386fi;
8387
8388 eval "$ac_cv_use_dirdlg"
8389 if test "$no_cache" != 1; then
8390 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8391 fi
8392
8393 if test "$wxUSE_DIRDLG" = yes; then
8394 echo "$as_me:$LINENO: result: yes" >&5
8395echo "${ECHO_T}yes" >&6
8396 else
8397 echo "$as_me:$LINENO: result: no" >&5
8398echo "${ECHO_T}no" >&6
8399 fi
8400
8401
8402 enablestring=
8403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8404echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8405 no_cache=0
8406 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8407if test "${enable_msgdlg+set}" = set; then
8408 enableval="$enable_msgdlg"
8409
8410 if test "$enableval" = yes; then
8411 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8412 else
8413 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8414 fi
8415
8416else
8417
8418 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8419 if test "x$LINE" != x ; then
8420 eval "DEFAULT_$LINE"
8421 else
8422 no_cache=1
8423 fi
8424
8425 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8426
8427fi;
8428
8429 eval "$ac_cv_use_msgdlg"
8430 if test "$no_cache" != 1; then
8431 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8432 fi
8433
8434 if test "$wxUSE_MSGDLG" = yes; then
8435 echo "$as_me:$LINENO: result: yes" >&5
8436echo "${ECHO_T}yes" >&6
8437 else
8438 echo "$as_me:$LINENO: result: no" >&5
8439echo "${ECHO_T}no" >&6
8440 fi
8441
8442
8443 enablestring=
8444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8445echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8446 no_cache=0
8447 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8448if test "${enable_numberdlg+set}" = set; then
8449 enableval="$enable_numberdlg"
8450
8451 if test "$enableval" = yes; then
8452 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8453 else
8454 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8455 fi
8456
8457else
8458
8459 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8460 if test "x$LINE" != x ; then
8461 eval "DEFAULT_$LINE"
8462 else
8463 no_cache=1
8464 fi
8465
8466 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8467
8468fi;
8469
8470 eval "$ac_cv_use_numberdlg"
8471 if test "$no_cache" != 1; then
8472 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8473 fi
8474
8475 if test "$wxUSE_NUMBERDLG" = yes; then
8476 echo "$as_me:$LINENO: result: yes" >&5
8477echo "${ECHO_T}yes" >&6
8478 else
8479 echo "$as_me:$LINENO: result: no" >&5
8480echo "${ECHO_T}no" >&6
8481 fi
8482
8483
8484 enablestring=
8485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8486echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8487 no_cache=0
8488 # Check whether --enable-splash or --disable-splash was given.
8489if test "${enable_splash+set}" = set; then
8490 enableval="$enable_splash"
8491
8492 if test "$enableval" = yes; then
8493 ac_cv_use_splash='wxUSE_SPLASH=yes'
8494 else
8495 ac_cv_use_splash='wxUSE_SPLASH=no'
8496 fi
8497
8498else
8499
8500 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8501 if test "x$LINE" != x ; then
8502 eval "DEFAULT_$LINE"
8503 else
8504 no_cache=1
8505 fi
8506
8507 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8508
8509fi;
8510
8511 eval "$ac_cv_use_splash"
8512 if test "$no_cache" != 1; then
8513 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8514 fi
8515
8516 if test "$wxUSE_SPLASH" = yes; then
8517 echo "$as_me:$LINENO: result: yes" >&5
8518echo "${ECHO_T}yes" >&6
8519 else
8520 echo "$as_me:$LINENO: result: no" >&5
8521echo "${ECHO_T}no" >&6
8522 fi
8523
8524
8525 enablestring=
8526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8527echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8528 no_cache=0
8529 # Check whether --enable-textdlg or --disable-textdlg was given.
8530if test "${enable_textdlg+set}" = set; then
8531 enableval="$enable_textdlg"
8532
8533 if test "$enableval" = yes; then
8534 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8535 else
8536 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8537 fi
8538
8539else
8540
8541 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8542 if test "x$LINE" != x ; then
8543 eval "DEFAULT_$LINE"
8544 else
8545 no_cache=1
8546 fi
8547
8548 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8549
8550fi;
8551
8552 eval "$ac_cv_use_textdlg"
8553 if test "$no_cache" != 1; then
8554 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8555 fi
8556
8557 if test "$wxUSE_TEXTDLG" = yes; then
8558 echo "$as_me:$LINENO: result: yes" >&5
8559echo "${ECHO_T}yes" >&6
8560 else
8561 echo "$as_me:$LINENO: result: no" >&5
8562echo "${ECHO_T}no" >&6
8563 fi
8564
8565
8566 enablestring=
8567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8568echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8569 no_cache=0
8570 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8571if test "${enable_tipdlg+set}" = set; then
8572 enableval="$enable_tipdlg"
8573
8574 if test "$enableval" = yes; then
8575 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8576 else
8577 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8578 fi
8579
8580else
8581
8582 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8583 if test "x$LINE" != x ; then
8584 eval "DEFAULT_$LINE"
8585 else
8586 no_cache=1
8587 fi
8588
8589 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8590
8591fi;
8592
8593 eval "$ac_cv_use_tipdlg"
8594 if test "$no_cache" != 1; then
8595 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8596 fi
8597
8598 if test "$wxUSE_STARTUP_TIPS" = yes; then
8599 echo "$as_me:$LINENO: result: yes" >&5
8600echo "${ECHO_T}yes" >&6
8601 else
8602 echo "$as_me:$LINENO: result: no" >&5
8603echo "${ECHO_T}no" >&6
8604 fi
8605
8606
8607 enablestring=
8608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8609echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8610 no_cache=0
8611 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8612if test "${enable_progressdlg+set}" = set; then
8613 enableval="$enable_progressdlg"
8614
8615 if test "$enableval" = yes; then
8616 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8617 else
8618 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8619 fi
8620
8621else
8622
8623 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8624 if test "x$LINE" != x ; then
8625 eval "DEFAULT_$LINE"
8626 else
8627 no_cache=1
8628 fi
8629
8630 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8631
8632fi;
8633
8634 eval "$ac_cv_use_progressdlg"
8635 if test "$no_cache" != 1; then
8636 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8637 fi
8638
8639 if test "$wxUSE_PROGRESSDLG" = yes; then
8640 echo "$as_me:$LINENO: result: yes" >&5
8641echo "${ECHO_T}yes" >&6
8642 else
8643 echo "$as_me:$LINENO: result: no" >&5
8644echo "${ECHO_T}no" >&6
8645 fi
8646
8647
8648 enablestring=
8649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8650echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8651 no_cache=0
8652 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8653if test "${enable_wizarddlg+set}" = set; then
8654 enableval="$enable_wizarddlg"
8655
8656 if test "$enableval" = yes; then
8657 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8658 else
8659 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8660 fi
8661
8662else
8663
8664 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8665 if test "x$LINE" != x ; then
8666 eval "DEFAULT_$LINE"
8667 else
8668 no_cache=1
8669 fi
8670
8671 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8672
8673fi;
8674
8675 eval "$ac_cv_use_wizarddlg"
8676 if test "$no_cache" != 1; then
8677 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8678 fi
8679
8680 if test "$wxUSE_WIZARDDLG" = yes; then
8681 echo "$as_me:$LINENO: result: yes" >&5
8682echo "${ECHO_T}yes" >&6
8683 else
8684 echo "$as_me:$LINENO: result: no" >&5
8685echo "${ECHO_T}no" >&6
8686 fi
8687
8688
8689
8690
8691 enablestring=
8692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8693echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8694 no_cache=0
8695 # Check whether --enable-menus or --disable-menus was given.
8696if test "${enable_menus+set}" = set; then
8697 enableval="$enable_menus"
8698
8699 if test "$enableval" = yes; then
8700 ac_cv_use_menus='wxUSE_MENUS=yes'
8701 else
8702 ac_cv_use_menus='wxUSE_MENUS=no'
8703 fi
8704
8705else
8706
8707 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8708 if test "x$LINE" != x ; then
8709 eval "DEFAULT_$LINE"
8710 else
8711 no_cache=1
8712 fi
8713
8714 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8715
8716fi;
8717
8718 eval "$ac_cv_use_menus"
8719 if test "$no_cache" != 1; then
8720 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8721 fi
8722
8723 if test "$wxUSE_MENUS" = yes; then
8724 echo "$as_me:$LINENO: result: yes" >&5
8725echo "${ECHO_T}yes" >&6
8726 else
8727 echo "$as_me:$LINENO: result: no" >&5
8728echo "${ECHO_T}no" >&6
8729 fi
8730
8731
8732 enablestring=
8733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8734echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8735 no_cache=0
8736 # Check whether --enable-miniframe or --disable-miniframe was given.
8737if test "${enable_miniframe+set}" = set; then
8738 enableval="$enable_miniframe"
8739
8740 if test "$enableval" = yes; then
8741 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8742 else
8743 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8744 fi
8745
8746else
8747
8748 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8749 if test "x$LINE" != x ; then
8750 eval "DEFAULT_$LINE"
8751 else
8752 no_cache=1
8753 fi
8754
8755 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8756
8757fi;
8758
8759 eval "$ac_cv_use_miniframe"
8760 if test "$no_cache" != 1; then
8761 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8762 fi
8763
8764 if test "$wxUSE_MINIFRAME" = yes; then
8765 echo "$as_me:$LINENO: result: yes" >&5
8766echo "${ECHO_T}yes" >&6
8767 else
8768 echo "$as_me:$LINENO: result: no" >&5
8769echo "${ECHO_T}no" >&6
8770 fi
8771
8772
8773 enablestring=
8774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8775echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8776 no_cache=0
8777 # Check whether --enable-tooltips or --disable-tooltips was given.
8778if test "${enable_tooltips+set}" = set; then
8779 enableval="$enable_tooltips"
8780
8781 if test "$enableval" = yes; then
8782 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
8783 else
8784 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
8785 fi
8786
8787else
8788
8789 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8790 if test "x$LINE" != x ; then
8791 eval "DEFAULT_$LINE"
8792 else
8793 no_cache=1
8794 fi
8795
8796 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8797
8798fi;
8799
8800 eval "$ac_cv_use_tooltips"
8801 if test "$no_cache" != 1; then
8802 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8803 fi
8804
8805 if test "$wxUSE_TOOLTIPS" = yes; then
8806 echo "$as_me:$LINENO: result: yes" >&5
8807echo "${ECHO_T}yes" >&6
8808 else
8809 echo "$as_me:$LINENO: result: no" >&5
8810echo "${ECHO_T}no" >&6
8811 fi
8812
8813
8814 enablestring=
8815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8816echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8817 no_cache=0
8818 # Check whether --enable-splines or --disable-splines was given.
8819if test "${enable_splines+set}" = set; then
8820 enableval="$enable_splines"
8821
8822 if test "$enableval" = yes; then
8823 ac_cv_use_splines='wxUSE_SPLINES=yes'
8824 else
8825 ac_cv_use_splines='wxUSE_SPLINES=no'
8826 fi
8827
8828else
8829
8830 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8831 if test "x$LINE" != x ; then
8832 eval "DEFAULT_$LINE"
8833 else
8834 no_cache=1
8835 fi
8836
8837 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8838
8839fi;
8840
8841 eval "$ac_cv_use_splines"
8842 if test "$no_cache" != 1; then
8843 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8844 fi
8845
8846 if test "$wxUSE_SPLINES" = yes; then
8847 echo "$as_me:$LINENO: result: yes" >&5
8848echo "${ECHO_T}yes" >&6
8849 else
8850 echo "$as_me:$LINENO: result: no" >&5
8851echo "${ECHO_T}no" >&6
8852 fi
8853
8854
8855 enablestring=
8856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8857echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8858 no_cache=0
8859 # Check whether --enable-validators or --disable-validators was given.
8860if test "${enable_validators+set}" = set; then
8861 enableval="$enable_validators"
8862
8863 if test "$enableval" = yes; then
8864 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
8865 else
8866 ac_cv_use_validators='wxUSE_VALIDATORS=no'
8867 fi
8868
8869else
8870
8871 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8872 if test "x$LINE" != x ; then
8873 eval "DEFAULT_$LINE"
8874 else
8875 no_cache=1
8876 fi
8877
8878 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8879
8880fi;
8881
8882 eval "$ac_cv_use_validators"
8883 if test "$no_cache" != 1; then
8884 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8885 fi
8886
8887 if test "$wxUSE_VALIDATORS" = yes; then
8888 echo "$as_me:$LINENO: result: yes" >&5
8889echo "${ECHO_T}yes" >&6
8890 else
8891 echo "$as_me:$LINENO: result: no" >&5
8892echo "${ECHO_T}no" >&6
8893 fi
8894
8895
8896 enablestring=
8897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8898echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8899 no_cache=0
8900 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8901if test "${enable_busyinfo+set}" = set; then
8902 enableval="$enable_busyinfo"
8903
8904 if test "$enableval" = yes; then
8905 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
8906 else
8907 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
8908 fi
8909
8910else
8911
8912 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8913 if test "x$LINE" != x ; then
8914 eval "DEFAULT_$LINE"
8915 else
8916 no_cache=1
8917 fi
8918
8919 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8920
8921fi;
8922
8923 eval "$ac_cv_use_busyinfo"
8924 if test "$no_cache" != 1; then
8925 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8926 fi
8927
8928 if test "$wxUSE_BUSYINFO" = yes; then
8929 echo "$as_me:$LINENO: result: yes" >&5
8930echo "${ECHO_T}yes" >&6
8931 else
8932 echo "$as_me:$LINENO: result: no" >&5
8933echo "${ECHO_T}no" >&6
8934 fi
8935
8936
8937 enablestring=
8938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8939echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8940 no_cache=0
8941 # Check whether --enable-joystick or --disable-joystick was given.
8942if test "${enable_joystick+set}" = set; then
8943 enableval="$enable_joystick"
8944
8945 if test "$enableval" = yes; then
8946 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
8947 else
8948 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
8949 fi
8950
8951else
8952
8953 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8954 if test "x$LINE" != x ; then
8955 eval "DEFAULT_$LINE"
8956 else
8957 no_cache=1
8958 fi
8959
8960 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8961
8962fi;
8963
8964 eval "$ac_cv_use_joystick"
8965 if test "$no_cache" != 1; then
8966 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8967 fi
8968
8969 if test "$wxUSE_JOYSTICK" = yes; then
8970 echo "$as_me:$LINENO: result: yes" >&5
8971echo "${ECHO_T}yes" >&6
8972 else
8973 echo "$as_me:$LINENO: result: no" >&5
8974echo "${ECHO_T}no" >&6
8975 fi
8976
8977
8978 enablestring=
8979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8980echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
8981 no_cache=0
8982 # Check whether --enable-metafile or --disable-metafile was given.
8983if test "${enable_metafile+set}" = set; then
8984 enableval="$enable_metafile"
8985
8986 if test "$enableval" = yes; then
8987 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8988 else
8989 ac_cv_use_metafile='wxUSE_METAFILE=no'
8990 fi
8991
8992else
8993
8994 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8995 if test "x$LINE" != x ; then
8996 eval "DEFAULT_$LINE"
8997 else
8998 no_cache=1
8999 fi
9000
9001 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9002
9003fi;
9004
9005 eval "$ac_cv_use_metafile"
9006 if test "$no_cache" != 1; then
9007 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9008 fi
9009
9010 if test "$wxUSE_METAFILE" = yes; then
9011 echo "$as_me:$LINENO: result: yes" >&5
9012echo "${ECHO_T}yes" >&6
9013 else
9014 echo "$as_me:$LINENO: result: no" >&5
9015echo "${ECHO_T}no" >&6
9016 fi
9017
9018
9019 enablestring=
9020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9021echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9022 no_cache=0
9023 # Check whether --enable-dragimage or --disable-dragimage was given.
9024if test "${enable_dragimage+set}" = set; then
9025 enableval="$enable_dragimage"
9026
9027 if test "$enableval" = yes; then
9028 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9029 else
9030 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9031 fi
9032
9033else
9034
9035 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9036 if test "x$LINE" != x ; then
9037 eval "DEFAULT_$LINE"
9038 else
9039 no_cache=1
9040 fi
9041
9042 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9043
9044fi;
9045
9046 eval "$ac_cv_use_dragimage"
9047 if test "$no_cache" != 1; then
9048 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9049 fi
9050
9051 if test "$wxUSE_DRAGIMAGE" = yes; then
9052 echo "$as_me:$LINENO: result: yes" >&5
9053echo "${ECHO_T}yes" >&6
9054 else
9055 echo "$as_me:$LINENO: result: no" >&5
9056echo "${ECHO_T}no" >&6
9057 fi
9058
9059
9060 enablestring=
9061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9062echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9063 no_cache=0
9064 # Check whether --enable-accessibility or --disable-accessibility was given.
9065if test "${enable_accessibility+set}" = set; then
9066 enableval="$enable_accessibility"
9067
9068 if test "$enableval" = yes; then
9069 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9070 else
9071 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9072 fi
9073
9074else
9075
9076 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9077 if test "x$LINE" != x ; then
9078 eval "DEFAULT_$LINE"
9079 else
9080 no_cache=1
9081 fi
9082
9083 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9084
9085fi;
9086
9087 eval "$ac_cv_use_accessibility"
9088 if test "$no_cache" != 1; then
9089 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9090 fi
9091
9092 if test "$wxUSE_ACCESSIBILITY" = yes; then
9093 echo "$as_me:$LINENO: result: yes" >&5
9094echo "${ECHO_T}yes" >&6
9095 else
9096 echo "$as_me:$LINENO: result: no" >&5
9097echo "${ECHO_T}no" >&6
9098 fi
9099
9100
9101
9102
9103 enablestring=
9104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9105echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9106 no_cache=0
9107 # Check whether --enable-palette or --disable-palette was given.
9108if test "${enable_palette+set}" = set; then
9109 enableval="$enable_palette"
9110
9111 if test "$enableval" = yes; then
9112 ac_cv_use_palette='wxUSE_PALETTE=yes'
9113 else
9114 ac_cv_use_palette='wxUSE_PALETTE=no'
9115 fi
9116
9117else
9118
9119 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9120 if test "x$LINE" != x ; then
9121 eval "DEFAULT_$LINE"
9122 else
9123 no_cache=1
9124 fi
9125
9126 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9127
9128fi;
9129
9130 eval "$ac_cv_use_palette"
9131 if test "$no_cache" != 1; then
9132 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9133 fi
9134
9135 if test "$wxUSE_PALETTE" = yes; then
9136 echo "$as_me:$LINENO: result: yes" >&5
9137echo "${ECHO_T}yes" >&6
9138 else
9139 echo "$as_me:$LINENO: result: no" >&5
9140echo "${ECHO_T}no" >&6
9141 fi
9142
9143
9144 enablestring=
9145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9146echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9147 no_cache=0
9148 # Check whether --enable-image or --disable-image was given.
9149if test "${enable_image+set}" = set; then
9150 enableval="$enable_image"
9151
9152 if test "$enableval" = yes; then
9153 ac_cv_use_image='wxUSE_IMAGE=yes'
9154 else
9155 ac_cv_use_image='wxUSE_IMAGE=no'
9156 fi
9157
9158else
9159
9160 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9161 if test "x$LINE" != x ; then
9162 eval "DEFAULT_$LINE"
9163 else
9164 no_cache=1
9165 fi
9166
9167 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9168
9169fi;
9170
9171 eval "$ac_cv_use_image"
9172 if test "$no_cache" != 1; then
9173 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9174 fi
9175
9176 if test "$wxUSE_IMAGE" = yes; then
9177 echo "$as_me:$LINENO: result: yes" >&5
9178echo "${ECHO_T}yes" >&6
9179 else
9180 echo "$as_me:$LINENO: result: no" >&5
9181echo "${ECHO_T}no" >&6
9182 fi
9183
9184
9185 enablestring=
9186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9187echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9188 no_cache=0
9189 # Check whether --enable-gif or --disable-gif was given.
9190if test "${enable_gif+set}" = set; then
9191 enableval="$enable_gif"
9192
9193 if test "$enableval" = yes; then
9194 ac_cv_use_gif='wxUSE_GIF=yes'
9195 else
9196 ac_cv_use_gif='wxUSE_GIF=no'
9197 fi
9198
9199else
9200
9201 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9202 if test "x$LINE" != x ; then
9203 eval "DEFAULT_$LINE"
9204 else
9205 no_cache=1
9206 fi
9207
9208 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9209
9210fi;
9211
9212 eval "$ac_cv_use_gif"
9213 if test "$no_cache" != 1; then
9214 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9215 fi
9216
9217 if test "$wxUSE_GIF" = yes; then
9218 echo "$as_me:$LINENO: result: yes" >&5
9219echo "${ECHO_T}yes" >&6
9220 else
9221 echo "$as_me:$LINENO: result: no" >&5
9222echo "${ECHO_T}no" >&6
9223 fi
9224
9225
9226 enablestring=
9227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9228echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9229 no_cache=0
9230 # Check whether --enable-pcx or --disable-pcx was given.
9231if test "${enable_pcx+set}" = set; then
9232 enableval="$enable_pcx"
9233
9234 if test "$enableval" = yes; then
9235 ac_cv_use_pcx='wxUSE_PCX=yes'
9236 else
9237 ac_cv_use_pcx='wxUSE_PCX=no'
9238 fi
9239
9240else
9241
9242 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9243 if test "x$LINE" != x ; then
9244 eval "DEFAULT_$LINE"
9245 else
9246 no_cache=1
9247 fi
9248
9249 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9250
9251fi;
9252
9253 eval "$ac_cv_use_pcx"
9254 if test "$no_cache" != 1; then
9255 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9256 fi
9257
9258 if test "$wxUSE_PCX" = yes; then
9259 echo "$as_me:$LINENO: result: yes" >&5
9260echo "${ECHO_T}yes" >&6
9261 else
9262 echo "$as_me:$LINENO: result: no" >&5
9263echo "${ECHO_T}no" >&6
9264 fi
9265
9266
9267 enablestring=
9268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9269echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9270 no_cache=0
9271 # Check whether --enable-iff or --disable-iff was given.
9272if test "${enable_iff+set}" = set; then
9273 enableval="$enable_iff"
9274
9275 if test "$enableval" = yes; then
9276 ac_cv_use_iff='wxUSE_IFF=yes'
9277 else
9278 ac_cv_use_iff='wxUSE_IFF=no'
9279 fi
9280
9281else
9282
9283 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9284 if test "x$LINE" != x ; then
9285 eval "DEFAULT_$LINE"
9286 else
9287 no_cache=1
9288 fi
9289
9290 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9291
9292fi;
9293
9294 eval "$ac_cv_use_iff"
9295 if test "$no_cache" != 1; then
9296 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9297 fi
9298
9299 if test "$wxUSE_IFF" = yes; then
9300 echo "$as_me:$LINENO: result: yes" >&5
9301echo "${ECHO_T}yes" >&6
9302 else
9303 echo "$as_me:$LINENO: result: no" >&5
9304echo "${ECHO_T}no" >&6
9305 fi
9306
9307
9308 enablestring=
9309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9310echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9311 no_cache=0
9312 # Check whether --enable-pnm or --disable-pnm was given.
9313if test "${enable_pnm+set}" = set; then
9314 enableval="$enable_pnm"
9315
9316 if test "$enableval" = yes; then
9317 ac_cv_use_pnm='wxUSE_PNM=yes'
9318 else
9319 ac_cv_use_pnm='wxUSE_PNM=no'
9320 fi
9321
9322else
9323
9324 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9325 if test "x$LINE" != x ; then
9326 eval "DEFAULT_$LINE"
9327 else
9328 no_cache=1
9329 fi
9330
9331 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9332
9333fi;
9334
9335 eval "$ac_cv_use_pnm"
9336 if test "$no_cache" != 1; then
9337 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9338 fi
9339
9340 if test "$wxUSE_PNM" = yes; then
9341 echo "$as_me:$LINENO: result: yes" >&5
9342echo "${ECHO_T}yes" >&6
9343 else
9344 echo "$as_me:$LINENO: result: no" >&5
9345echo "${ECHO_T}no" >&6
9346 fi
9347
9348
9349 enablestring=
9350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9351echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9352 no_cache=0
9353 # Check whether --enable-xpm or --disable-xpm was given.
9354if test "${enable_xpm+set}" = set; then
9355 enableval="$enable_xpm"
9356
9357 if test "$enableval" = yes; then
9358 ac_cv_use_xpm='wxUSE_XPM=yes'
9359 else
9360 ac_cv_use_xpm='wxUSE_XPM=no'
9361 fi
9362
9363else
9364
9365 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9366 if test "x$LINE" != x ; then
9367 eval "DEFAULT_$LINE"
9368 else
9369 no_cache=1
9370 fi
9371
9372 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9373
9374fi;
9375
9376 eval "$ac_cv_use_xpm"
9377 if test "$no_cache" != 1; then
9378 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9379 fi
9380
9381 if test "$wxUSE_XPM" = yes; then
9382 echo "$as_me:$LINENO: result: yes" >&5
9383echo "${ECHO_T}yes" >&6
9384 else
9385 echo "$as_me:$LINENO: result: no" >&5
9386echo "${ECHO_T}no" >&6
9387 fi
9388
9389
9390 enablestring=
9391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9392echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9393 no_cache=0
9394 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9395if test "${enable_ico_cur+set}" = set; then
9396 enableval="$enable_ico_cur"
9397
9398 if test "$enableval" = yes; then
9399 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9400 else
9401 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9402 fi
9403
9404else
9405
9406 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9407 if test "x$LINE" != x ; then
9408 eval "DEFAULT_$LINE"
9409 else
9410 no_cache=1
9411 fi
9412
9413 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9414
9415fi;
9416
9417 eval "$ac_cv_use_ico_cur"
9418 if test "$no_cache" != 1; then
9419 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9420 fi
9421
9422 if test "$wxUSE_ICO_CUR" = yes; then
9423 echo "$as_me:$LINENO: result: yes" >&5
9424echo "${ECHO_T}yes" >&6
9425 else
9426 echo "$as_me:$LINENO: result: no" >&5
9427echo "${ECHO_T}no" >&6
9428 fi
9429
9430
9431fi
9432
9433
9434
9435 enablestring=
9436 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9437echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9438 no_cache=0
9439 # Check whether --enable-official_build or --disable-official_build was given.
9440if test "${enable_official_build+set}" = set; then
9441 enableval="$enable_official_build"
9442
9443 if test "$enableval" = yes; then
9444 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9445 else
9446 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9447 fi
9448
9449else
9450
9451 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9452 if test "x$LINE" != x ; then
9453 eval "DEFAULT_$LINE"
9454 else
9455 no_cache=1
9456 fi
9457
9458 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9459
9460fi;
9461
9462 eval "$ac_cv_use_official_build"
9463 if test "$no_cache" != 1; then
9464 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9465 fi
9466
9467 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9468 echo "$as_me:$LINENO: result: yes" >&5
9469echo "${ECHO_T}yes" >&6
9470 else
9471 echo "$as_me:$LINENO: result: no" >&5
9472echo "${ECHO_T}no" >&6
9473 fi
9474
9475# Check whether --enable-vendor or --disable-vendor was given.
9476if test "${enable_vendor+set}" = set; then
9477 enableval="$enable_vendor"
9478 VENDOR="$enableval"
9479fi;
9480if test "x$VENDOR" = "x"; then
9481 VENDOR="custom"
9482fi
9483
9484case "${host}" in
9485 *-pc-os2_emx | *-pc-os2-emx )
9486 PATH_IFS=';'
9487 ;;
9488 *)
9489 PATH_IFS=':'
9490 ;;
9491esac
9492
9493
9494
9495 echo "saving argument cache $wx_arg_cache_file"
9496 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9497
9498
9499
9500echo "$as_me:$LINENO: checking for toolkit" >&5
9501echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9502
9503# In Wine, we need to default to MSW, not GTK or MOTIF
9504if test "$wxUSE_WINE" = "yes"; then
9505 DEFAULT_DEFAULT_wxUSE_GTK=0
9506 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9507 DEFAULT_DEFAULT_wxUSE_MSW=1
9508fi
9509
9510if test "$wxUSE_GUI" = "yes"; then
9511
9512 if test "$USE_BEOS" = 1; then
9513 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9514echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9515 { (exit 1); exit 1; }; }
9516 fi
9517
9518 if test "$TOOLKIT_GIVEN" = 1; then
9519 for toolkit in `echo $ALL_TOOLKITS`; do
9520 var=wxUSE_$toolkit
9521 eval "value=\$${var}"
9522 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9523 done
9524 else
9525 for toolkit in `echo $ALL_TOOLKITS`; do
9526 if test "$has_toolkit_in_cache" != 1; then
9527 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9528 else
9529 var=DEFAULT_wxUSE_$toolkit
9530 fi
9531 eval "wxUSE_$toolkit=\$${var}"
9532 done
9533 fi
9534
9535 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9536 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9537 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9538
9539 case "${host}" in
9540 *-pc-os2_emx | *-pc-os2-emx )
9541 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9542 esac
9543
9544 case "$NUM_TOOLKITS" in
9545 1)
9546 ;;
9547 0)
9548 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9549echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9550 { (exit 1); exit 1; }; }
9551 ;;
9552 *)
9553 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9554echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9555 { (exit 1); exit 1; }; }
9556 esac
9557
9558 for toolkit in `echo $ALL_TOOLKITS`; do
9559 var=wxUSE_$toolkit
9560 eval "value=\$${var}"
9561 if test "x$value" != x; then
9562 cache_var=CACHE_$toolkit
9563 eval "cache=\$${cache_var}"
9564 if test "$cache" = 1; then
9565 echo "$var=$value" >> ${wx_arg_cache_file}
9566 fi
9567 if test "$value" = 1; then
9568 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9569 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9570echo "${ECHO_T}$toolkit_echo" >&6
9571 fi
9572 fi
9573 done
9574else
9575 if test "x$host_alias" != "x"; then
9576 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9577echo "${ECHO_T}base ($host_alias hosted) only" >&6
9578 else
9579 echo "$as_me:$LINENO: result: base only" >&5
9580echo "${ECHO_T}base only" >&6
9581 fi
9582fi
9583
9584wants_win32=0
9585doesnt_want_win32=0
9586case "${host}" in
9587 *-*-cygwin*)
9588 if test "$wxUSE_MSW" = 1 ; then
9589 wants_win32=1
9590 else
9591 doesnt_want_win32=1
9592 fi
9593 ;;
9594 *-*-mingw*)
9595 wants_win32=1
9596 ;;
9597esac
9598
9599if test "$wxUSE_WINE" = "yes"; then
9600 wants_win32=1
9601 CC=winegcc
9602 CXX=wineg++
9603 RESCOMP=wrc
9604fi
9605
9606if test "$wants_win32" = 1 ; then
9607 USE_UNIX=0
9608 USE_WIN32=1
9609 cat >>confdefs.h <<\_ACEOF
9610#define __WIN32__ 1
9611_ACEOF
9612
9613 cat >>confdefs.h <<\_ACEOF
9614#define __WIN95__ 1
9615_ACEOF
9616
9617 cat >>confdefs.h <<\_ACEOF
9618#define __WINDOWS__ 1
9619_ACEOF
9620
9621 cat >>confdefs.h <<\_ACEOF
9622#define __GNUWIN32__ 1
9623_ACEOF
9624
9625 cat >>confdefs.h <<\_ACEOF
9626#define STRICT 1
9627_ACEOF
9628
9629 cat >>confdefs.h <<\_ACEOF
9630#define WINVER 0x0400
9631_ACEOF
9632
9633fi
9634if test "$doesnt_want_win32" = 1 ; then
9635 USE_UNIX=1
9636 USE_WIN32=0
9637fi
9638
9639if test "$USE_UNIX" = 1 ; then
9640 wxUSE_UNIX=yes
9641 cat >>confdefs.h <<\_ACEOF
9642#define __UNIX__ 1
9643_ACEOF
9644
9645fi
9646
9647
9648cat >confcache <<\_ACEOF
9649# This file is a shell script that caches the results of configure
9650# tests run on this system so they can be shared between configure
9651# scripts and configure runs, see configure's option --config-cache.
9652# It is not useful on other systems. If it contains results you don't
9653# want to keep, you may remove or edit it.
9654#
9655# config.status only pays attention to the cache file if you give it
9656# the --recheck option to rerun configure.
9657#
9658# `ac_cv_env_foo' variables (set or unset) will be overridden when
9659# loading this file, other *unset* `ac_cv_foo' will be assigned the
9660# following values.
9661
9662_ACEOF
9663
9664# The following way of writing the cache mishandles newlines in values,
9665# but we know of no workaround that is simple, portable, and efficient.
9666# So, don't put newlines in cache variables' values.
9667# Ultrix sh set writes to stderr and can't be redirected directly,
9668# and sets the high bit in the cache file unless we assign to the vars.
9669{
9670 (set) 2>&1 |
9671 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9672 *ac_space=\ *)
9673 # `set' does not quote correctly, so add quotes (double-quote
9674 # substitution turns \\\\ into \\, and sed turns \\ into \).
9675 sed -n \
9676 "s/'/'\\\\''/g;
9677 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9678 ;;
9679 *)
9680 # `set' quotes correctly as required by POSIX, so do not add quotes.
9681 sed -n \
9682 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9683 ;;
9684 esac;
9685} |
9686 sed '
9687 t clear
9688 : clear
9689 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9690 t end
9691 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9692 : end' >>confcache
9693if diff $cache_file confcache >/dev/null 2>&1; then :; else
9694 if test -w $cache_file; then
9695 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9696 cat confcache >$cache_file
9697 else
9698 echo "not updating unwritable cache $cache_file"
9699 fi
9700fi
9701rm -f confcache
9702
9703if test "$build" != "$host" ; then
9704 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9705 CC=$host_alias-gcc
9706 CXX=$host_alias-c++
9707 AR=$host_alias-ar
9708 RANLIB=$host_alias-ranlib
9709 DLLTOOL=$host_alias-dlltool
9710 RESCOMP=$host_alias-windres
9711 LD=$host_alias-ld
9712 NM=$host_alias-nm
9713 STRIP=$host_alias-strip
9714 else
9715 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9716echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9717 { (exit 1); exit 1; }; }
9718 fi
9719fi
9720
9721CFLAGS=${CFLAGS:=}
9722ac_ext=c
9723ac_cpp='$CPP $CPPFLAGS'
9724ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9725ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9726ac_compiler_gnu=$ac_cv_c_compiler_gnu
9727if test -n "$ac_tool_prefix"; then
9728 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9729set dummy ${ac_tool_prefix}gcc; ac_word=$2
9730echo "$as_me:$LINENO: checking for $ac_word" >&5
9731echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9732if test "${ac_cv_prog_CC+set}" = set; then
9733 echo $ECHO_N "(cached) $ECHO_C" >&6
9734else
9735 if test -n "$CC"; then
9736 ac_cv_prog_CC="$CC" # Let the user override the test.
9737else
9738as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9739for as_dir in $PATH
9740do
9741 IFS=$as_save_IFS
9742 test -z "$as_dir" && as_dir=.
9743 for ac_exec_ext in '' $ac_executable_extensions; do
9744 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9745 ac_cv_prog_CC="${ac_tool_prefix}gcc"
9746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9747 break 2
9748 fi
9749done
9750done
9751
9752fi
9753fi
9754CC=$ac_cv_prog_CC
9755if test -n "$CC"; then
9756 echo "$as_me:$LINENO: result: $CC" >&5
9757echo "${ECHO_T}$CC" >&6
9758else
9759 echo "$as_me:$LINENO: result: no" >&5
9760echo "${ECHO_T}no" >&6
9761fi
9762
9763fi
9764if test -z "$ac_cv_prog_CC"; then
9765 ac_ct_CC=$CC
9766 # Extract the first word of "gcc", so it can be a program name with args.
9767set dummy gcc; ac_word=$2
9768echo "$as_me:$LINENO: checking for $ac_word" >&5
9769echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9770if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9771 echo $ECHO_N "(cached) $ECHO_C" >&6
9772else
9773 if test -n "$ac_ct_CC"; then
9774 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9775else
9776as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9777for as_dir in $PATH
9778do
9779 IFS=$as_save_IFS
9780 test -z "$as_dir" && as_dir=.
9781 for ac_exec_ext in '' $ac_executable_extensions; do
9782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9783 ac_cv_prog_ac_ct_CC="gcc"
9784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9785 break 2
9786 fi
9787done
9788done
9789
9790fi
9791fi
9792ac_ct_CC=$ac_cv_prog_ac_ct_CC
9793if test -n "$ac_ct_CC"; then
9794 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9795echo "${ECHO_T}$ac_ct_CC" >&6
9796else
9797 echo "$as_me:$LINENO: result: no" >&5
9798echo "${ECHO_T}no" >&6
9799fi
9800
9801 CC=$ac_ct_CC
9802else
9803 CC="$ac_cv_prog_CC"
9804fi
9805
9806if test -z "$CC"; then
9807 if test -n "$ac_tool_prefix"; then
9808 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9809set dummy ${ac_tool_prefix}cc; ac_word=$2
9810echo "$as_me:$LINENO: checking for $ac_word" >&5
9811echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9812if test "${ac_cv_prog_CC+set}" = set; then
9813 echo $ECHO_N "(cached) $ECHO_C" >&6
9814else
9815 if test -n "$CC"; then
9816 ac_cv_prog_CC="$CC" # Let the user override the test.
9817else
9818as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9819for as_dir in $PATH
9820do
9821 IFS=$as_save_IFS
9822 test -z "$as_dir" && as_dir=.
9823 for ac_exec_ext in '' $ac_executable_extensions; do
9824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9825 ac_cv_prog_CC="${ac_tool_prefix}cc"
9826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9827 break 2
9828 fi
9829done
9830done
9831
9832fi
9833fi
9834CC=$ac_cv_prog_CC
9835if test -n "$CC"; then
9836 echo "$as_me:$LINENO: result: $CC" >&5
9837echo "${ECHO_T}$CC" >&6
9838else
9839 echo "$as_me:$LINENO: result: no" >&5
9840echo "${ECHO_T}no" >&6
9841fi
9842
9843fi
9844if test -z "$ac_cv_prog_CC"; then
9845 ac_ct_CC=$CC
9846 # Extract the first word of "cc", so it can be a program name with args.
9847set dummy cc; ac_word=$2
9848echo "$as_me:$LINENO: checking for $ac_word" >&5
9849echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9850if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9851 echo $ECHO_N "(cached) $ECHO_C" >&6
9852else
9853 if test -n "$ac_ct_CC"; then
9854 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9855else
9856as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9857for as_dir in $PATH
9858do
9859 IFS=$as_save_IFS
9860 test -z "$as_dir" && as_dir=.
9861 for ac_exec_ext in '' $ac_executable_extensions; do
9862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9863 ac_cv_prog_ac_ct_CC="cc"
9864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9865 break 2
9866 fi
9867done
9868done
9869
9870fi
9871fi
9872ac_ct_CC=$ac_cv_prog_ac_ct_CC
9873if test -n "$ac_ct_CC"; then
9874 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9875echo "${ECHO_T}$ac_ct_CC" >&6
9876else
9877 echo "$as_me:$LINENO: result: no" >&5
9878echo "${ECHO_T}no" >&6
9879fi
9880
9881 CC=$ac_ct_CC
9882else
9883 CC="$ac_cv_prog_CC"
9884fi
9885
9886fi
9887if test -z "$CC"; then
9888 # Extract the first word of "cc", so it can be a program name with args.
9889set dummy cc; ac_word=$2
9890echo "$as_me:$LINENO: checking for $ac_word" >&5
9891echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9892if test "${ac_cv_prog_CC+set}" = set; then
9893 echo $ECHO_N "(cached) $ECHO_C" >&6
9894else
9895 if test -n "$CC"; then
9896 ac_cv_prog_CC="$CC" # Let the user override the test.
9897else
9898 ac_prog_rejected=no
9899as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9900for as_dir in $PATH
9901do
9902 IFS=$as_save_IFS
9903 test -z "$as_dir" && as_dir=.
9904 for ac_exec_ext in '' $ac_executable_extensions; do
9905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9906 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9907 ac_prog_rejected=yes
9908 continue
9909 fi
9910 ac_cv_prog_CC="cc"
9911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9912 break 2
9913 fi
9914done
9915done
9916
9917if test $ac_prog_rejected = yes; then
9918 # We found a bogon in the path, so make sure we never use it.
9919 set dummy $ac_cv_prog_CC
9920 shift
9921 if test $# != 0; then
9922 # We chose a different compiler from the bogus one.
9923 # However, it has the same basename, so the bogon will be chosen
9924 # first if we set CC to just the basename; use the full file name.
9925 shift
9926 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
9927 fi
9928fi
9929fi
9930fi
9931CC=$ac_cv_prog_CC
9932if test -n "$CC"; then
9933 echo "$as_me:$LINENO: result: $CC" >&5
9934echo "${ECHO_T}$CC" >&6
9935else
9936 echo "$as_me:$LINENO: result: no" >&5
9937echo "${ECHO_T}no" >&6
9938fi
9939
9940fi
9941if test -z "$CC"; then
9942 if test -n "$ac_tool_prefix"; then
9943 for ac_prog in cl
9944 do
9945 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9946set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9947echo "$as_me:$LINENO: checking for $ac_word" >&5
9948echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9949if test "${ac_cv_prog_CC+set}" = set; then
9950 echo $ECHO_N "(cached) $ECHO_C" >&6
9951else
9952 if test -n "$CC"; then
9953 ac_cv_prog_CC="$CC" # Let the user override the test.
9954else
9955as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9956for as_dir in $PATH
9957do
9958 IFS=$as_save_IFS
9959 test -z "$as_dir" && as_dir=.
9960 for ac_exec_ext in '' $ac_executable_extensions; do
9961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9962 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
9963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9964 break 2
9965 fi
9966done
9967done
9968
9969fi
9970fi
9971CC=$ac_cv_prog_CC
9972if test -n "$CC"; then
9973 echo "$as_me:$LINENO: result: $CC" >&5
9974echo "${ECHO_T}$CC" >&6
9975else
9976 echo "$as_me:$LINENO: result: no" >&5
9977echo "${ECHO_T}no" >&6
9978fi
9979
9980 test -n "$CC" && break
9981 done
9982fi
9983if test -z "$CC"; then
9984 ac_ct_CC=$CC
9985 for ac_prog in cl
9986do
9987 # Extract the first word of "$ac_prog", so it can be a program name with args.
9988set dummy $ac_prog; ac_word=$2
9989echo "$as_me:$LINENO: checking for $ac_word" >&5
9990echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9991if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9992 echo $ECHO_N "(cached) $ECHO_C" >&6
9993else
9994 if test -n "$ac_ct_CC"; then
9995 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9996else
9997as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9998for as_dir in $PATH
9999do
10000 IFS=$as_save_IFS
10001 test -z "$as_dir" && as_dir=.
10002 for ac_exec_ext in '' $ac_executable_extensions; do
10003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10004 ac_cv_prog_ac_ct_CC="$ac_prog"
10005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10006 break 2
10007 fi
10008done
10009done
10010
10011fi
10012fi
10013ac_ct_CC=$ac_cv_prog_ac_ct_CC
10014if test -n "$ac_ct_CC"; then
10015 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10016echo "${ECHO_T}$ac_ct_CC" >&6
10017else
10018 echo "$as_me:$LINENO: result: no" >&5
10019echo "${ECHO_T}no" >&6
10020fi
10021
10022 test -n "$ac_ct_CC" && break
10023done
10024
10025 CC=$ac_ct_CC
10026fi
10027
10028fi
10029
10030
10031test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10032See \`config.log' for more details." >&5
10033echo "$as_me: error: no acceptable C compiler found in \$PATH
10034See \`config.log' for more details." >&2;}
10035 { (exit 1); exit 1; }; }
10036
10037# Provide some information about the compiler.
10038echo "$as_me:$LINENO:" \
10039 "checking for C compiler version" >&5
10040ac_compiler=`set X $ac_compile; echo $2`
10041{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10042 (eval $ac_compiler --version </dev/null >&5) 2>&5
10043 ac_status=$?
10044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10045 (exit $ac_status); }
10046{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10047 (eval $ac_compiler -v </dev/null >&5) 2>&5
10048 ac_status=$?
10049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10050 (exit $ac_status); }
10051{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10052 (eval $ac_compiler -V </dev/null >&5) 2>&5
10053 ac_status=$?
10054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10055 (exit $ac_status); }
10056
10057cat >conftest.$ac_ext <<_ACEOF
10058#line $LINENO "configure"
10059/* confdefs.h. */
10060_ACEOF
10061cat confdefs.h >>conftest.$ac_ext
10062cat >>conftest.$ac_ext <<_ACEOF
10063/* end confdefs.h. */
10064
10065int
10066main ()
10067{
10068
10069 ;
10070 return 0;
10071}
10072_ACEOF
10073ac_clean_files_save=$ac_clean_files
10074ac_clean_files="$ac_clean_files a.out a.exe b.out"
10075# Try to create an executable without -o first, disregard a.out.
10076# It will help us diagnose broken compilers, and finding out an intuition
10077# of exeext.
10078echo "$as_me:$LINENO: checking for C compiler default output" >&5
10079echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10080ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10081if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10082 (eval $ac_link_default) 2>&5
10083 ac_status=$?
10084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10085 (exit $ac_status); }; then
10086 # Find the output, starting from the most likely. This scheme is
10087# not robust to junk in `.', hence go to wildcards (a.*) only as a last
10088# resort.
10089
10090# Be careful to initialize this variable, since it used to be cached.
10091# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10092ac_cv_exeext=
10093# b.out is created by i960 compilers.
10094for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10095do
10096 test -f "$ac_file" || continue
10097 case $ac_file in
10098 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10099 ;;
10100 conftest.$ac_ext )
10101 # This is the source file.
10102 ;;
10103 [ab].out )
10104 # We found the default executable, but exeext='' is most
10105 # certainly right.
10106 break;;
10107 *.* )
10108 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10109 # FIXME: I believe we export ac_cv_exeext for Libtool,
10110 # but it would be cool to find out if it's true. Does anybody
10111 # maintain Libtool? --akim.
10112 export ac_cv_exeext
10113 break;;
10114 * )
10115 break;;
10116 esac
10117done
10118else
10119 echo "$as_me: failed program was:" >&5
10120sed 's/^/| /' conftest.$ac_ext >&5
10121
10122{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
10123See \`config.log' for more details." >&5
10124echo "$as_me: error: C compiler cannot create executables
10125See \`config.log' for more details." >&2;}
10126 { (exit 77); exit 77; }; }
10127fi
10128
10129ac_exeext=$ac_cv_exeext
10130echo "$as_me:$LINENO: result: $ac_file" >&5
10131echo "${ECHO_T}$ac_file" >&6
10132
10133# Check the compiler produces executables we can run. If not, either
10134# the compiler is broken, or we cross compile.
10135echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10136echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10137# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10138# If not cross compiling, check that we can run a simple program.
10139if test "$cross_compiling" != yes; then
10140 if { ac_try='./$ac_file'
10141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10142 (eval $ac_try) 2>&5
10143 ac_status=$?
10144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10145 (exit $ac_status); }; }; then
10146 cross_compiling=no
10147 else
10148 if test "$cross_compiling" = maybe; then
10149 cross_compiling=yes
10150 else
10151 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10152If you meant to cross compile, use \`--host'.
10153See \`config.log' for more details." >&5
10154echo "$as_me: error: cannot run C compiled programs.
10155If you meant to cross compile, use \`--host'.
10156See \`config.log' for more details." >&2;}
10157 { (exit 1); exit 1; }; }
10158 fi
10159 fi
10160fi
10161echo "$as_me:$LINENO: result: yes" >&5
10162echo "${ECHO_T}yes" >&6
10163
10164rm -f a.out a.exe conftest$ac_cv_exeext b.out
10165ac_clean_files=$ac_clean_files_save
10166# Check the compiler produces executables we can run. If not, either
10167# the compiler is broken, or we cross compile.
10168echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10169echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10170echo "$as_me:$LINENO: result: $cross_compiling" >&5
10171echo "${ECHO_T}$cross_compiling" >&6
10172
10173echo "$as_me:$LINENO: checking for suffix of executables" >&5
10174echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10175if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10176 (eval $ac_link) 2>&5
10177 ac_status=$?
10178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10179 (exit $ac_status); }; then
10180 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10181# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10182# work properly (i.e., refer to `conftest.exe'), while it won't with
10183# `rm'.
10184for ac_file in conftest.exe conftest conftest.*; do
10185 test -f "$ac_file" || continue
10186 case $ac_file in
10187 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10188 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10189 export ac_cv_exeext
10190 break;;
10191 * ) break;;
10192 esac
10193done
10194else
10195 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10196See \`config.log' for more details." >&5
10197echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10198See \`config.log' for more details." >&2;}
10199 { (exit 1); exit 1; }; }
10200fi
10201
10202rm -f conftest$ac_cv_exeext
10203echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10204echo "${ECHO_T}$ac_cv_exeext" >&6
10205
10206rm -f conftest.$ac_ext
10207EXEEXT=$ac_cv_exeext
10208ac_exeext=$EXEEXT
10209echo "$as_me:$LINENO: checking for suffix of object files" >&5
10210echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10211if test "${ac_cv_objext+set}" = set; then
10212 echo $ECHO_N "(cached) $ECHO_C" >&6
10213else
10214 cat >conftest.$ac_ext <<_ACEOF
10215#line $LINENO "configure"
10216/* confdefs.h. */
10217_ACEOF
10218cat confdefs.h >>conftest.$ac_ext
10219cat >>conftest.$ac_ext <<_ACEOF
10220/* end confdefs.h. */
10221
10222int
10223main ()
10224{
10225
10226 ;
10227 return 0;
10228}
10229_ACEOF
10230rm -f conftest.o conftest.obj
10231if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10232 (eval $ac_compile) 2>&5
10233 ac_status=$?
10234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10235 (exit $ac_status); }; then
10236 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10237 case $ac_file in
10238 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10239 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10240 break;;
10241 esac
10242done
10243else
10244 echo "$as_me: failed program was:" >&5
10245sed 's/^/| /' conftest.$ac_ext >&5
10246
10247{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10248See \`config.log' for more details." >&5
10249echo "$as_me: error: cannot compute suffix of object files: cannot compile
10250See \`config.log' for more details." >&2;}
10251 { (exit 1); exit 1; }; }
10252fi
10253
10254rm -f conftest.$ac_cv_objext conftest.$ac_ext
10255fi
10256echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10257echo "${ECHO_T}$ac_cv_objext" >&6
10258OBJEXT=$ac_cv_objext
10259ac_objext=$OBJEXT
10260echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10261echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10262if test "${ac_cv_c_compiler_gnu+set}" = set; then
10263 echo $ECHO_N "(cached) $ECHO_C" >&6
10264else
10265 cat >conftest.$ac_ext <<_ACEOF
10266#line $LINENO "configure"
10267/* confdefs.h. */
10268_ACEOF
10269cat confdefs.h >>conftest.$ac_ext
10270cat >>conftest.$ac_ext <<_ACEOF
10271/* end confdefs.h. */
10272
10273int
10274main ()
10275{
10276#ifndef __GNUC__
10277 choke me
10278#endif
10279
10280 ;
10281 return 0;
10282}
10283_ACEOF
10284rm -f conftest.$ac_objext
10285if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10286 (eval $ac_compile) 2>&5
10287 ac_status=$?
10288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10289 (exit $ac_status); } &&
10290 { ac_try='test -s conftest.$ac_objext'
10291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10292 (eval $ac_try) 2>&5
10293 ac_status=$?
10294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10295 (exit $ac_status); }; }; then
10296 ac_compiler_gnu=yes
10297else
10298 echo "$as_me: failed program was:" >&5
10299sed 's/^/| /' conftest.$ac_ext >&5
10300
10301ac_compiler_gnu=no
10302fi
10303rm -f conftest.$ac_objext conftest.$ac_ext
10304ac_cv_c_compiler_gnu=$ac_compiler_gnu
10305
10306fi
10307echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10308echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10309GCC=`test $ac_compiler_gnu = yes && echo yes`
10310ac_test_CFLAGS=${CFLAGS+set}
10311ac_save_CFLAGS=$CFLAGS
10312CFLAGS="-g"
10313echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10314echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10315if test "${ac_cv_prog_cc_g+set}" = set; then
10316 echo $ECHO_N "(cached) $ECHO_C" >&6
10317else
10318 cat >conftest.$ac_ext <<_ACEOF
10319#line $LINENO "configure"
10320/* confdefs.h. */
10321_ACEOF
10322cat confdefs.h >>conftest.$ac_ext
10323cat >>conftest.$ac_ext <<_ACEOF
10324/* end confdefs.h. */
10325
10326int
10327main ()
10328{
10329
10330 ;
10331 return 0;
10332}
10333_ACEOF
10334rm -f conftest.$ac_objext
10335if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10336 (eval $ac_compile) 2>&5
10337 ac_status=$?
10338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10339 (exit $ac_status); } &&
10340 { ac_try='test -s conftest.$ac_objext'
10341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10342 (eval $ac_try) 2>&5
10343 ac_status=$?
10344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10345 (exit $ac_status); }; }; then
10346 ac_cv_prog_cc_g=yes
10347else
10348 echo "$as_me: failed program was:" >&5
10349sed 's/^/| /' conftest.$ac_ext >&5
10350
10351ac_cv_prog_cc_g=no
10352fi
10353rm -f conftest.$ac_objext conftest.$ac_ext
10354fi
10355echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10356echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10357if test "$ac_test_CFLAGS" = set; then
10358 CFLAGS=$ac_save_CFLAGS
10359elif test $ac_cv_prog_cc_g = yes; then
10360 if test "$GCC" = yes; then
10361 CFLAGS="-g -O2"
10362 else
10363 CFLAGS="-g"
10364 fi
10365else
10366 if test "$GCC" = yes; then
10367 CFLAGS="-O2"
10368 else
10369 CFLAGS=
10370 fi
10371fi
10372echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10373echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10374if test "${ac_cv_prog_cc_stdc+set}" = set; then
10375 echo $ECHO_N "(cached) $ECHO_C" >&6
10376else
10377 ac_cv_prog_cc_stdc=no
10378ac_save_CC=$CC
10379cat >conftest.$ac_ext <<_ACEOF
10380#line $LINENO "configure"
10381/* confdefs.h. */
10382_ACEOF
10383cat confdefs.h >>conftest.$ac_ext
10384cat >>conftest.$ac_ext <<_ACEOF
10385/* end confdefs.h. */
10386#include <stdarg.h>
10387#include <stdio.h>
10388#include <sys/types.h>
10389#include <sys/stat.h>
10390/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10391struct buf { int x; };
10392FILE * (*rcsopen) (struct buf *, struct stat *, int);
10393static char *e (p, i)
10394 char **p;
10395 int i;
10396{
10397 return p[i];
10398}
10399static char *f (char * (*g) (char **, int), char **p, ...)
10400{
10401 char *s;
10402 va_list v;
10403 va_start (v,p);
10404 s = g (p, va_arg (v,int));
10405 va_end (v);
10406 return s;
10407}
10408int test (int i, double x);
10409struct s1 {int (*f) (int a);};
10410struct s2 {int (*f) (double a);};
10411int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10412int argc;
10413char **argv;
10414int
10415main ()
10416{
10417return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10418 ;
10419 return 0;
10420}
10421_ACEOF
10422# Don't try gcc -ansi; that turns off useful extensions and
10423# breaks some systems' header files.
10424# AIX -qlanglvl=ansi
10425# Ultrix and OSF/1 -std1
10426# HP-UX 10.20 and later -Ae
10427# HP-UX older versions -Aa -D_HPUX_SOURCE
10428# SVR4 -Xc -D__EXTENSIONS__
10429for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10430do
10431 CC="$ac_save_CC $ac_arg"
10432 rm -f conftest.$ac_objext
10433if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10434 (eval $ac_compile) 2>&5
10435 ac_status=$?
10436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10437 (exit $ac_status); } &&
10438 { ac_try='test -s conftest.$ac_objext'
10439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10440 (eval $ac_try) 2>&5
10441 ac_status=$?
10442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10443 (exit $ac_status); }; }; then
10444 ac_cv_prog_cc_stdc=$ac_arg
10445break
10446else
10447 echo "$as_me: failed program was:" >&5
10448sed 's/^/| /' conftest.$ac_ext >&5
10449
10450fi
10451rm -f conftest.$ac_objext
10452done
10453rm -f conftest.$ac_ext conftest.$ac_objext
10454CC=$ac_save_CC
10455
10456fi
10457
10458case "x$ac_cv_prog_cc_stdc" in
10459 x|xno)
10460 echo "$as_me:$LINENO: result: none needed" >&5
10461echo "${ECHO_T}none needed" >&6 ;;
10462 *)
10463 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10464echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10465 CC="$CC $ac_cv_prog_cc_stdc" ;;
10466esac
10467
10468# Some people use a C++ compiler to compile C. Since we use `exit',
10469# in C++ we need to declare it. In case someone uses the same compiler
10470# for both compiling C and C++ we need to have the C++ compiler decide
10471# the declaration of exit, since it's the most demanding environment.
10472cat >conftest.$ac_ext <<_ACEOF
10473#ifndef __cplusplus
10474 choke me
10475#endif
10476_ACEOF
10477rm -f conftest.$ac_objext
10478if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10479 (eval $ac_compile) 2>&5
10480 ac_status=$?
10481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10482 (exit $ac_status); } &&
10483 { ac_try='test -s conftest.$ac_objext'
10484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10485 (eval $ac_try) 2>&5
10486 ac_status=$?
10487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10488 (exit $ac_status); }; }; then
10489 for ac_declaration in \
10490 ''\
10491 '#include <stdlib.h>' \
10492 'extern "C" void std::exit (int) throw (); using std::exit;' \
10493 'extern "C" void std::exit (int); using std::exit;' \
10494 'extern "C" void exit (int) throw ();' \
10495 'extern "C" void exit (int);' \
10496 'void exit (int);'
10497do
10498 cat >conftest.$ac_ext <<_ACEOF
10499#line $LINENO "configure"
10500/* confdefs.h. */
10501_ACEOF
10502cat confdefs.h >>conftest.$ac_ext
10503cat >>conftest.$ac_ext <<_ACEOF
10504/* end confdefs.h. */
10505#include <stdlib.h>
10506$ac_declaration
10507int
10508main ()
10509{
10510exit (42);
10511 ;
10512 return 0;
10513}
10514_ACEOF
10515rm -f conftest.$ac_objext
10516if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10517 (eval $ac_compile) 2>&5
10518 ac_status=$?
10519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10520 (exit $ac_status); } &&
10521 { ac_try='test -s conftest.$ac_objext'
10522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10523 (eval $ac_try) 2>&5
10524 ac_status=$?
10525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10526 (exit $ac_status); }; }; then
10527 :
10528else
10529 echo "$as_me: failed program was:" >&5
10530sed 's/^/| /' conftest.$ac_ext >&5
10531
10532continue
10533fi
10534rm -f conftest.$ac_objext conftest.$ac_ext
10535 cat >conftest.$ac_ext <<_ACEOF
10536#line $LINENO "configure"
10537/* confdefs.h. */
10538_ACEOF
10539cat confdefs.h >>conftest.$ac_ext
10540cat >>conftest.$ac_ext <<_ACEOF
10541/* end confdefs.h. */
10542$ac_declaration
10543int
10544main ()
10545{
10546exit (42);
10547 ;
10548 return 0;
10549}
10550_ACEOF
10551rm -f conftest.$ac_objext
10552if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10553 (eval $ac_compile) 2>&5
10554 ac_status=$?
10555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10556 (exit $ac_status); } &&
10557 { ac_try='test -s conftest.$ac_objext'
10558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10559 (eval $ac_try) 2>&5
10560 ac_status=$?
10561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10562 (exit $ac_status); }; }; then
10563 break
10564else
10565 echo "$as_me: failed program was:" >&5
10566sed 's/^/| /' conftest.$ac_ext >&5
10567
10568fi
10569rm -f conftest.$ac_objext conftest.$ac_ext
10570done
10571rm -f conftest*
10572if test -n "$ac_declaration"; then
10573 echo '#ifdef __cplusplus' >>confdefs.h
10574 echo $ac_declaration >>confdefs.h
10575 echo '#endif' >>confdefs.h
10576fi
10577
10578else
10579 echo "$as_me: failed program was:" >&5
10580sed 's/^/| /' conftest.$ac_ext >&5
10581
10582fi
10583rm -f conftest.$ac_objext conftest.$ac_ext
10584ac_ext=c
10585ac_cpp='$CPP $CPPFLAGS'
10586ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10587ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10588ac_compiler_gnu=$ac_cv_c_compiler_gnu
10589
10590
10591
10592ac_ext=c
10593ac_cpp='$CPP $CPPFLAGS'
10594ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10595ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10596ac_compiler_gnu=$ac_cv_c_compiler_gnu
10597echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10598echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10599# On Suns, sometimes $CPP names a directory.
10600if test -n "$CPP" && test -d "$CPP"; then
10601 CPP=
10602fi
10603if test -z "$CPP"; then
10604 if test "${ac_cv_prog_CPP+set}" = set; then
10605 echo $ECHO_N "(cached) $ECHO_C" >&6
10606else
10607 # Double quotes because CPP needs to be expanded
10608 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10609 do
10610 ac_preproc_ok=false
10611for ac_c_preproc_warn_flag in '' yes
10612do
10613 # Use a header file that comes with gcc, so configuring glibc
10614 # with a fresh cross-compiler works.
10615 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10616 # <limits.h> exists even on freestanding compilers.
10617 # On the NeXT, cc -E runs the code through the compiler's parser,
10618 # not just through cpp. "Syntax error" is here to catch this case.
10619 cat >conftest.$ac_ext <<_ACEOF
10620#line $LINENO "configure"
10621/* confdefs.h. */
10622_ACEOF
10623cat confdefs.h >>conftest.$ac_ext
10624cat >>conftest.$ac_ext <<_ACEOF
10625/* end confdefs.h. */
10626#ifdef __STDC__
10627# include <limits.h>
10628#else
10629# include <assert.h>
10630#endif
10631 Syntax error
10632_ACEOF
10633if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10634 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10635 ac_status=$?
10636 grep -v '^ *+' conftest.er1 >conftest.err
10637 rm -f conftest.er1
10638 cat conftest.err >&5
10639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10640 (exit $ac_status); } >/dev/null; then
10641 if test -s conftest.err; then
10642 ac_cpp_err=$ac_c_preproc_warn_flag
10643 else
10644 ac_cpp_err=
10645 fi
10646else
10647 ac_cpp_err=yes
10648fi
10649if test -z "$ac_cpp_err"; then
10650 :
10651else
10652 echo "$as_me: failed program was:" >&5
10653sed 's/^/| /' conftest.$ac_ext >&5
10654
10655 # Broken: fails on valid input.
10656continue
10657fi
10658rm -f conftest.err conftest.$ac_ext
10659
10660 # OK, works on sane cases. Now check whether non-existent headers
10661 # can be detected and how.
10662 cat >conftest.$ac_ext <<_ACEOF
10663#line $LINENO "configure"
10664/* confdefs.h. */
10665_ACEOF
10666cat confdefs.h >>conftest.$ac_ext
10667cat >>conftest.$ac_ext <<_ACEOF
10668/* end confdefs.h. */
10669#include <ac_nonexistent.h>
10670_ACEOF
10671if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10672 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10673 ac_status=$?
10674 grep -v '^ *+' conftest.er1 >conftest.err
10675 rm -f conftest.er1
10676 cat conftest.err >&5
10677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10678 (exit $ac_status); } >/dev/null; then
10679 if test -s conftest.err; then
10680 ac_cpp_err=$ac_c_preproc_warn_flag
10681 else
10682 ac_cpp_err=
10683 fi
10684else
10685 ac_cpp_err=yes
10686fi
10687if test -z "$ac_cpp_err"; then
10688 # Broken: success on invalid input.
10689continue
10690else
10691 echo "$as_me: failed program was:" >&5
10692sed 's/^/| /' conftest.$ac_ext >&5
10693
10694 # Passes both tests.
10695ac_preproc_ok=:
10696break
10697fi
10698rm -f conftest.err conftest.$ac_ext
10699
10700done
10701# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10702rm -f conftest.err conftest.$ac_ext
10703if $ac_preproc_ok; then
10704 break
10705fi
10706
10707 done
10708 ac_cv_prog_CPP=$CPP
10709
10710fi
10711 CPP=$ac_cv_prog_CPP
10712else
10713 ac_cv_prog_CPP=$CPP
10714fi
10715echo "$as_me:$LINENO: result: $CPP" >&5
10716echo "${ECHO_T}$CPP" >&6
10717ac_preproc_ok=false
10718for ac_c_preproc_warn_flag in '' yes
10719do
10720 # Use a header file that comes with gcc, so configuring glibc
10721 # with a fresh cross-compiler works.
10722 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10723 # <limits.h> exists even on freestanding compilers.
10724 # On the NeXT, cc -E runs the code through the compiler's parser,
10725 # not just through cpp. "Syntax error" is here to catch this case.
10726 cat >conftest.$ac_ext <<_ACEOF
10727#line $LINENO "configure"
10728/* confdefs.h. */
10729_ACEOF
10730cat confdefs.h >>conftest.$ac_ext
10731cat >>conftest.$ac_ext <<_ACEOF
10732/* end confdefs.h. */
10733#ifdef __STDC__
10734# include <limits.h>
10735#else
10736# include <assert.h>
10737#endif
10738 Syntax error
10739_ACEOF
10740if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10741 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10742 ac_status=$?
10743 grep -v '^ *+' conftest.er1 >conftest.err
10744 rm -f conftest.er1
10745 cat conftest.err >&5
10746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10747 (exit $ac_status); } >/dev/null; then
10748 if test -s conftest.err; then
10749 ac_cpp_err=$ac_c_preproc_warn_flag
10750 else
10751 ac_cpp_err=
10752 fi
10753else
10754 ac_cpp_err=yes
10755fi
10756if test -z "$ac_cpp_err"; then
10757 :
10758else
10759 echo "$as_me: failed program was:" >&5
10760sed 's/^/| /' conftest.$ac_ext >&5
10761
10762 # Broken: fails on valid input.
10763continue
10764fi
10765rm -f conftest.err conftest.$ac_ext
10766
10767 # OK, works on sane cases. Now check whether non-existent headers
10768 # can be detected and how.
10769 cat >conftest.$ac_ext <<_ACEOF
10770#line $LINENO "configure"
10771/* confdefs.h. */
10772_ACEOF
10773cat confdefs.h >>conftest.$ac_ext
10774cat >>conftest.$ac_ext <<_ACEOF
10775/* end confdefs.h. */
10776#include <ac_nonexistent.h>
10777_ACEOF
10778if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10779 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10780 ac_status=$?
10781 grep -v '^ *+' conftest.er1 >conftest.err
10782 rm -f conftest.er1
10783 cat conftest.err >&5
10784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10785 (exit $ac_status); } >/dev/null; then
10786 if test -s conftest.err; then
10787 ac_cpp_err=$ac_c_preproc_warn_flag
10788 else
10789 ac_cpp_err=
10790 fi
10791else
10792 ac_cpp_err=yes
10793fi
10794if test -z "$ac_cpp_err"; then
10795 # Broken: success on invalid input.
10796continue
10797else
10798 echo "$as_me: failed program was:" >&5
10799sed 's/^/| /' conftest.$ac_ext >&5
10800
10801 # Passes both tests.
10802ac_preproc_ok=:
10803break
10804fi
10805rm -f conftest.err conftest.$ac_ext
10806
10807done
10808# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10809rm -f conftest.err conftest.$ac_ext
10810if $ac_preproc_ok; then
10811 :
10812else
10813 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10814See \`config.log' for more details." >&5
10815echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10816See \`config.log' for more details." >&2;}
10817 { (exit 1); exit 1; }; }
10818fi
10819
10820ac_ext=c
10821ac_cpp='$CPP $CPPFLAGS'
10822ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10823ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10824ac_compiler_gnu=$ac_cv_c_compiler_gnu
10825
10826
10827echo "$as_me:$LINENO: checking for egrep" >&5
10828echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10829if test "${ac_cv_prog_egrep+set}" = set; then
10830 echo $ECHO_N "(cached) $ECHO_C" >&6
10831else
10832 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10833 then ac_cv_prog_egrep='grep -E'
10834 else ac_cv_prog_egrep='egrep'
10835 fi
10836fi
10837echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10838echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10839 EGREP=$ac_cv_prog_egrep
10840
10841
10842if test $ac_cv_c_compiler_gnu = yes; then
10843 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10844echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10845if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10846 echo $ECHO_N "(cached) $ECHO_C" >&6
10847else
10848 ac_pattern="Autoconf.*'x'"
10849 cat >conftest.$ac_ext <<_ACEOF
10850#line $LINENO "configure"
10851/* confdefs.h. */
10852_ACEOF
10853cat confdefs.h >>conftest.$ac_ext
10854cat >>conftest.$ac_ext <<_ACEOF
10855/* end confdefs.h. */
10856#include <sgtty.h>
10857Autoconf TIOCGETP
10858_ACEOF
10859if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10860 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10861 ac_cv_prog_gcc_traditional=yes
10862else
10863 ac_cv_prog_gcc_traditional=no
10864fi
10865rm -f conftest*
10866
10867
10868 if test $ac_cv_prog_gcc_traditional = no; then
10869 cat >conftest.$ac_ext <<_ACEOF
10870#line $LINENO "configure"
10871/* confdefs.h. */
10872_ACEOF
10873cat confdefs.h >>conftest.$ac_ext
10874cat >>conftest.$ac_ext <<_ACEOF
10875/* end confdefs.h. */
10876#include <termio.h>
10877Autoconf TCGETA
10878_ACEOF
10879if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10880 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10881 ac_cv_prog_gcc_traditional=yes
10882fi
10883rm -f conftest*
10884
10885 fi
10886fi
10887echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10888echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10889 if test $ac_cv_prog_gcc_traditional = yes; then
10890 CC="$CC -traditional"
10891 fi
10892fi
10893
10894
10895
10896
10897ac_ext=cc
10898ac_cpp='$CXXCPP $CPPFLAGS'
10899ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10900ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10901ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10902
10903
10904CXXFLAGS=${CXXFLAGS:=}
10905ac_ext=cc
10906ac_cpp='$CXXCPP $CPPFLAGS'
10907ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10908ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10909ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10910if test -n "$ac_tool_prefix"; then
10911 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10912 do
10913 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10914set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10915echo "$as_me:$LINENO: checking for $ac_word" >&5
10916echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10917if test "${ac_cv_prog_CXX+set}" = set; then
10918 echo $ECHO_N "(cached) $ECHO_C" >&6
10919else
10920 if test -n "$CXX"; then
10921 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10922else
10923as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10924for as_dir in $PATH
10925do
10926 IFS=$as_save_IFS
10927 test -z "$as_dir" && as_dir=.
10928 for ac_exec_ext in '' $ac_executable_extensions; do
10929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10930 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10932 break 2
10933 fi
10934done
10935done
10936
10937fi
10938fi
10939CXX=$ac_cv_prog_CXX
10940if test -n "$CXX"; then
10941 echo "$as_me:$LINENO: result: $CXX" >&5
10942echo "${ECHO_T}$CXX" >&6
10943else
10944 echo "$as_me:$LINENO: result: no" >&5
10945echo "${ECHO_T}no" >&6
10946fi
10947
10948 test -n "$CXX" && break
10949 done
10950fi
10951if test -z "$CXX"; then
10952 ac_ct_CXX=$CXX
10953 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10954do
10955 # Extract the first word of "$ac_prog", so it can be a program name with args.
10956set dummy $ac_prog; ac_word=$2
10957echo "$as_me:$LINENO: checking for $ac_word" >&5
10958echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10959if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10960 echo $ECHO_N "(cached) $ECHO_C" >&6
10961else
10962 if test -n "$ac_ct_CXX"; then
10963 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
10964else
10965as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10966for as_dir in $PATH
10967do
10968 IFS=$as_save_IFS
10969 test -z "$as_dir" && as_dir=.
10970 for ac_exec_ext in '' $ac_executable_extensions; do
10971 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10972 ac_cv_prog_ac_ct_CXX="$ac_prog"
10973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10974 break 2
10975 fi
10976done
10977done
10978
10979fi
10980fi
10981ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
10982if test -n "$ac_ct_CXX"; then
10983 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
10984echo "${ECHO_T}$ac_ct_CXX" >&6
10985else
10986 echo "$as_me:$LINENO: result: no" >&5
10987echo "${ECHO_T}no" >&6
10988fi
10989
10990 test -n "$ac_ct_CXX" && break
10991done
10992test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
10993
10994 CXX=$ac_ct_CXX
10995fi
10996
10997
10998# Provide some information about the compiler.
10999echo "$as_me:$LINENO:" \
11000 "checking for C++ compiler version" >&5
11001ac_compiler=`set X $ac_compile; echo $2`
11002{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11003 (eval $ac_compiler --version </dev/null >&5) 2>&5
11004 ac_status=$?
11005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11006 (exit $ac_status); }
11007{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11008 (eval $ac_compiler -v </dev/null >&5) 2>&5
11009 ac_status=$?
11010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11011 (exit $ac_status); }
11012{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11013 (eval $ac_compiler -V </dev/null >&5) 2>&5
11014 ac_status=$?
11015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11016 (exit $ac_status); }
11017
11018echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11019echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11020if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11021 echo $ECHO_N "(cached) $ECHO_C" >&6
11022else
11023 cat >conftest.$ac_ext <<_ACEOF
11024#line $LINENO "configure"
11025/* confdefs.h. */
11026_ACEOF
11027cat confdefs.h >>conftest.$ac_ext
11028cat >>conftest.$ac_ext <<_ACEOF
11029/* end confdefs.h. */
11030
11031int
11032main ()
11033{
11034#ifndef __GNUC__
11035 choke me
11036#endif
11037
11038 ;
11039 return 0;
11040}
11041_ACEOF
11042rm -f conftest.$ac_objext
11043if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11044 (eval $ac_compile) 2>&5
11045 ac_status=$?
11046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11047 (exit $ac_status); } &&
11048 { ac_try='test -s conftest.$ac_objext'
11049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11050 (eval $ac_try) 2>&5
11051 ac_status=$?
11052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11053 (exit $ac_status); }; }; then
11054 ac_compiler_gnu=yes
11055else
11056 echo "$as_me: failed program was:" >&5
11057sed 's/^/| /' conftest.$ac_ext >&5
11058
11059ac_compiler_gnu=no
11060fi
11061rm -f conftest.$ac_objext conftest.$ac_ext
11062ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11063
11064fi
11065echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11066echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11067GXX=`test $ac_compiler_gnu = yes && echo yes`
11068ac_test_CXXFLAGS=${CXXFLAGS+set}
11069ac_save_CXXFLAGS=$CXXFLAGS
11070CXXFLAGS="-g"
11071echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11072echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11073if test "${ac_cv_prog_cxx_g+set}" = set; then
11074 echo $ECHO_N "(cached) $ECHO_C" >&6
11075else
11076 cat >conftest.$ac_ext <<_ACEOF
11077#line $LINENO "configure"
11078/* confdefs.h. */
11079_ACEOF
11080cat confdefs.h >>conftest.$ac_ext
11081cat >>conftest.$ac_ext <<_ACEOF
11082/* end confdefs.h. */
11083
11084int
11085main ()
11086{
11087
11088 ;
11089 return 0;
11090}
11091_ACEOF
11092rm -f conftest.$ac_objext
11093if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11094 (eval $ac_compile) 2>&5
11095 ac_status=$?
11096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11097 (exit $ac_status); } &&
11098 { ac_try='test -s conftest.$ac_objext'
11099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11100 (eval $ac_try) 2>&5
11101 ac_status=$?
11102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11103 (exit $ac_status); }; }; then
11104 ac_cv_prog_cxx_g=yes
11105else
11106 echo "$as_me: failed program was:" >&5
11107sed 's/^/| /' conftest.$ac_ext >&5
11108
11109ac_cv_prog_cxx_g=no
11110fi
11111rm -f conftest.$ac_objext conftest.$ac_ext
11112fi
11113echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11114echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11115if test "$ac_test_CXXFLAGS" = set; then
11116 CXXFLAGS=$ac_save_CXXFLAGS
11117elif test $ac_cv_prog_cxx_g = yes; then
11118 if test "$GXX" = yes; then
11119 CXXFLAGS="-g -O2"
11120 else
11121 CXXFLAGS="-g"
11122 fi
11123else
11124 if test "$GXX" = yes; then
11125 CXXFLAGS="-O2"
11126 else
11127 CXXFLAGS=
11128 fi
11129fi
11130for ac_declaration in \
11131 ''\
11132 '#include <stdlib.h>' \
11133 'extern "C" void std::exit (int) throw (); using std::exit;' \
11134 'extern "C" void std::exit (int); using std::exit;' \
11135 'extern "C" void exit (int) throw ();' \
11136 'extern "C" void exit (int);' \
11137 'void exit (int);'
11138do
11139 cat >conftest.$ac_ext <<_ACEOF
11140#line $LINENO "configure"
11141/* confdefs.h. */
11142_ACEOF
11143cat confdefs.h >>conftest.$ac_ext
11144cat >>conftest.$ac_ext <<_ACEOF
11145/* end confdefs.h. */
11146#include <stdlib.h>
11147$ac_declaration
11148int
11149main ()
11150{
11151exit (42);
11152 ;
11153 return 0;
11154}
11155_ACEOF
11156rm -f conftest.$ac_objext
11157if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11158 (eval $ac_compile) 2>&5
11159 ac_status=$?
11160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11161 (exit $ac_status); } &&
11162 { ac_try='test -s conftest.$ac_objext'
11163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11164 (eval $ac_try) 2>&5
11165 ac_status=$?
11166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11167 (exit $ac_status); }; }; then
11168 :
11169else
11170 echo "$as_me: failed program was:" >&5
11171sed 's/^/| /' conftest.$ac_ext >&5
11172
11173continue
11174fi
11175rm -f conftest.$ac_objext conftest.$ac_ext
11176 cat >conftest.$ac_ext <<_ACEOF
11177#line $LINENO "configure"
11178/* confdefs.h. */
11179_ACEOF
11180cat confdefs.h >>conftest.$ac_ext
11181cat >>conftest.$ac_ext <<_ACEOF
11182/* end confdefs.h. */
11183$ac_declaration
11184int
11185main ()
11186{
11187exit (42);
11188 ;
11189 return 0;
11190}
11191_ACEOF
11192rm -f conftest.$ac_objext
11193if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11194 (eval $ac_compile) 2>&5
11195 ac_status=$?
11196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11197 (exit $ac_status); } &&
11198 { ac_try='test -s conftest.$ac_objext'
11199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11200 (eval $ac_try) 2>&5
11201 ac_status=$?
11202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11203 (exit $ac_status); }; }; then
11204 break
11205else
11206 echo "$as_me: failed program was:" >&5
11207sed 's/^/| /' conftest.$ac_ext >&5
11208
11209fi
11210rm -f conftest.$ac_objext conftest.$ac_ext
11211done
11212rm -f conftest*
11213if test -n "$ac_declaration"; then
11214 echo '#ifdef __cplusplus' >>confdefs.h
11215 echo $ac_declaration >>confdefs.h
11216 echo '#endif' >>confdefs.h
11217fi
11218
11219ac_ext=cc
11220ac_cpp='$CXXCPP $CPPFLAGS'
11221ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11222ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11223ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11224
11225
11226ac_ext=c
11227ac_cpp='$CPP $CPPFLAGS'
11228ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11229ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11230ac_compiler_gnu=$ac_cv_c_compiler_gnu
11231
11232
11233if test -n "$ac_tool_prefix"; then
11234 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11235set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11236echo "$as_me:$LINENO: checking for $ac_word" >&5
11237echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11238if test "${ac_cv_prog_RANLIB+set}" = set; then
11239 echo $ECHO_N "(cached) $ECHO_C" >&6
11240else
11241 if test -n "$RANLIB"; then
11242 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11243else
11244as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11245for as_dir in $PATH
11246do
11247 IFS=$as_save_IFS
11248 test -z "$as_dir" && as_dir=.
11249 for ac_exec_ext in '' $ac_executable_extensions; do
11250 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11251 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11253 break 2
11254 fi
11255done
11256done
11257
11258fi
11259fi
11260RANLIB=$ac_cv_prog_RANLIB
11261if test -n "$RANLIB"; then
11262 echo "$as_me:$LINENO: result: $RANLIB" >&5
11263echo "${ECHO_T}$RANLIB" >&6
11264else
11265 echo "$as_me:$LINENO: result: no" >&5
11266echo "${ECHO_T}no" >&6
11267fi
11268
11269fi
11270if test -z "$ac_cv_prog_RANLIB"; then
11271 ac_ct_RANLIB=$RANLIB
11272 # Extract the first word of "ranlib", so it can be a program name with args.
11273set dummy ranlib; ac_word=$2
11274echo "$as_me:$LINENO: checking for $ac_word" >&5
11275echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11276if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11277 echo $ECHO_N "(cached) $ECHO_C" >&6
11278else
11279 if test -n "$ac_ct_RANLIB"; then
11280 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11281else
11282as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11283for as_dir in $PATH
11284do
11285 IFS=$as_save_IFS
11286 test -z "$as_dir" && as_dir=.
11287 for ac_exec_ext in '' $ac_executable_extensions; do
11288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11289 ac_cv_prog_ac_ct_RANLIB="ranlib"
11290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11291 break 2
11292 fi
11293done
11294done
11295
11296 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11297fi
11298fi
11299ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11300if test -n "$ac_ct_RANLIB"; then
11301 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11302echo "${ECHO_T}$ac_ct_RANLIB" >&6
11303else
11304 echo "$as_me:$LINENO: result: no" >&5
11305echo "${ECHO_T}no" >&6
11306fi
11307
11308 RANLIB=$ac_ct_RANLIB
11309else
11310 RANLIB="$ac_cv_prog_RANLIB"
11311fi
11312
11313
11314# Extract the first word of "ar", so it can be a program name with args.
11315set dummy ar; ac_word=$2
11316echo "$as_me:$LINENO: checking for $ac_word" >&5
11317echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11318if test "${ac_cv_prog_AR+set}" = set; then
11319 echo $ECHO_N "(cached) $ECHO_C" >&6
11320else
11321 if test -n "$AR"; then
11322 ac_cv_prog_AR="$AR" # Let the user override the test.
11323else
11324as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11325for as_dir in $PATH
11326do
11327 IFS=$as_save_IFS
11328 test -z "$as_dir" && as_dir=.
11329 for ac_exec_ext in '' $ac_executable_extensions; do
11330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11331 ac_cv_prog_AR="ar"
11332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11333 break 2
11334 fi
11335done
11336done
11337
11338fi
11339fi
11340AR=$ac_cv_prog_AR
11341if test -n "$AR"; then
11342 echo "$as_me:$LINENO: result: $AR" >&5
11343echo "${ECHO_T}$AR" >&6
11344else
11345 echo "$as_me:$LINENO: result: no" >&5
11346echo "${ECHO_T}no" >&6
11347fi
11348
11349if test "x$AR" = "x" ; then
11350 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11351echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11352 { (exit 1); exit 1; }; }
11353fi
11354
11355# Find a good install program. We prefer a C program (faster),
11356# so one script is as good as another. But avoid the broken or
11357# incompatible versions:
11358# SysV /etc/install, /usr/sbin/install
11359# SunOS /usr/etc/install
11360# IRIX /sbin/install
11361# AIX /bin/install
11362# AmigaOS /C/install, which installs bootblocks on floppy discs
11363# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11364# AFS /usr/afsws/bin/install, which mishandles nonexistent args
11365# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11366# ./install, which can be erroneously created by make from ./install.sh.
11367echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11368echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11369if test -z "$INSTALL"; then
11370if test "${ac_cv_path_install+set}" = set; then
11371 echo $ECHO_N "(cached) $ECHO_C" >&6
11372else
11373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11374for as_dir in $PATH
11375do
11376 IFS=$as_save_IFS
11377 test -z "$as_dir" && as_dir=.
11378 # Account for people who put trailing slashes in PATH elements.
11379case $as_dir/ in
11380 ./ | .// | /cC/* | \
11381 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11382 /usr/ucb/* ) ;;
11383 *)
11384 # OSF1 and SCO ODT 3.0 have their own names for install.
11385 # Don't use installbsd from OSF since it installs stuff as root
11386 # by default.
11387 for ac_prog in ginstall scoinst install; do
11388 for ac_exec_ext in '' $ac_executable_extensions; do
11389 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11390 if test $ac_prog = install &&
11391 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11392 # AIX install. It has an incompatible calling convention.
11393 :
11394 elif test $ac_prog = install &&
11395 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11396 # program-specific install script used by HP pwplus--don't use.
11397 :
11398 else
11399 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11400 break 3
11401 fi
11402 fi
11403 done
11404 done
11405 ;;
11406esac
11407done
11408
11409
11410fi
11411 if test "${ac_cv_path_install+set}" = set; then
11412 INSTALL=$ac_cv_path_install
11413 else
11414 # As a last resort, use the slow shell script. We don't cache a
11415 # path for INSTALL within a source directory, because that will
11416 # break other packages using the cache if that directory is
11417 # removed, or if the path is relative.
11418 INSTALL=$ac_install_sh
11419 fi
11420fi
11421echo "$as_me:$LINENO: result: $INSTALL" >&5
11422echo "${ECHO_T}$INSTALL" >&6
11423
11424# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11425# It thinks the first close brace ends the variable substitution.
11426test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11427
11428test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11429
11430test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11431
11432
11433case ${INSTALL} in
11434 /* ) # Absolute
11435 ;;
11436 ?:* ) # Drive letter, considered as absolute.
11437 ;;
11438 *)
11439 INSTALL=`pwd`/${INSTALL} ;;
11440esac
11441
11442case ${host} in
11443 *-hp-hpux* )
11444 INSTALL_DIR="mkdir"
11445 ;;
11446
11447 *) INSTALL_DIR="$INSTALL -d"
11448 ;;
11449esac
11450
11451
11452case "${host}" in
11453
11454 powerpc-*-darwin* )
11455 INSTALL_PROGRAM="cp -fp"
11456 INSTALL_DATA="cp -fp"
11457 ;;
11458 *)
11459 ;;
11460esac
11461
11462# Extract the first word of "strip", so it can be a program name with args.
11463set dummy strip; ac_word=$2
11464echo "$as_me:$LINENO: checking for $ac_word" >&5
11465echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11466if test "${ac_cv_prog_STRIP+set}" = set; then
11467 echo $ECHO_N "(cached) $ECHO_C" >&6
11468else
11469 if test -n "$STRIP"; then
11470 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11471else
11472as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11473for as_dir in $PATH
11474do
11475 IFS=$as_save_IFS
11476 test -z "$as_dir" && as_dir=.
11477 for ac_exec_ext in '' $ac_executable_extensions; do
11478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11479 ac_cv_prog_STRIP="strip"
11480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11481 break 2
11482 fi
11483done
11484done
11485
11486 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11487fi
11488fi
11489STRIP=$ac_cv_prog_STRIP
11490if test -n "$STRIP"; then
11491 echo "$as_me:$LINENO: result: $STRIP" >&5
11492echo "${ECHO_T}$STRIP" >&6
11493else
11494 echo "$as_me:$LINENO: result: no" >&5
11495echo "${ECHO_T}no" >&6
11496fi
11497
11498
11499echo "$as_me:$LINENO: checking if make is GNU make" >&5
11500echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11501if test "${wx_cv_prog_makeisgnu+set}" = set; then
11502 echo $ECHO_N "(cached) $ECHO_C" >&6
11503else
11504
11505 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11506 egrep -s GNU > /dev/null); then
11507 wx_cv_prog_makeisgnu="yes"
11508 else
11509 wx_cv_prog_makeisgnu="no"
11510 fi
11511
11512fi
11513echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11514echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11515
11516if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11517 IF_GNU_MAKE=""
11518else
11519 IF_GNU_MAKE="#"
11520fi
11521
11522
11523
11524if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11525echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11526echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11527if test "${wx_cv_prog_makevpath+set}" = set; then
11528 echo $ECHO_N "(cached) $ECHO_C" >&6
11529else
11530
11531cat - << EOF > confMake
11532check : file
11533 cp \$? \$@
11534 cp \$? final_file
11535EOF
11536
11537if test ! -d sub ; then
11538 mkdir sub
11539fi
11540echo dummy > sub/file
11541${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11542RESULT=$?
11543rm -f sub/file check final_file confMake
11544rmdir sub
11545if test "$RESULT" = 0; then
11546 wx_cv_prog_makevpath="yes"
11547else
11548 wx_cv_prog_makevpath="no"
11549fi
11550
11551fi
11552echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11553echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11554
11555if test "x$wx_cv_prog_makevpath" != "xyes"; then
11556{ { echo "$as_me:$LINENO: error:
11557You need a make-utility that is able to use the variable
11558VPATH correctly.
11559If your version of make does not support VPATH correctly,
11560please install GNU-make (possibly as gmake), and start
11561configure with the following command:
11562export MAKE=gmake; ./configure for sh-type shells
11563setenv MAKE gmake; ./configure for csh-type shells
11564Also please do remember to use gmake in this case every time
11565you are trying to compile.
11566" >&5
11567echo "$as_me: error:
11568You need a make-utility that is able to use the variable
11569VPATH correctly.
11570If your version of make does not support VPATH correctly,
11571please install GNU-make (possibly as gmake), and start
11572configure with the following command:
11573export MAKE=gmake; ./configure for sh-type shells
11574setenv MAKE gmake; ./configure for csh-type shells
11575Also please do remember to use gmake in this case every time
11576you are trying to compile.
11577" >&2;}
11578 { (exit 1); exit 1; }; }
11579fi fi
11580echo "$as_me:$LINENO: checking whether ln -s works" >&5
11581echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11582LN_S=$as_ln_s
11583if test "$LN_S" = "ln -s"; then
11584 echo "$as_me:$LINENO: result: yes" >&5
11585echo "${ECHO_T}yes" >&6
11586else
11587 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11588echo "${ECHO_T}no, using $LN_S" >&6
11589fi
11590
11591
11592case "${host}" in
11593 *-pc-os2_emx | *-pc-os2-emx )
11594 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11595 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11596echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11597if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11598 echo $ECHO_N "(cached) $ECHO_C" >&6
11599else
11600 ac_check_lib_save_LIBS=$LIBS
11601LIBS="-lcExt $LIBS"
11602cat >conftest.$ac_ext <<_ACEOF
11603#line $LINENO "configure"
11604/* confdefs.h. */
11605_ACEOF
11606cat confdefs.h >>conftest.$ac_ext
11607cat >>conftest.$ac_ext <<_ACEOF
11608/* end confdefs.h. */
11609
11610/* Override any gcc2 internal prototype to avoid an error. */
11611#ifdef __cplusplus
11612extern "C"
11613#endif
11614/* We use char because int might match the return type of a gcc2
11615 builtin and then its argument prototype would still apply. */
11616char drand48 ();
11617int
11618main ()
11619{
11620drand48 ();
11621 ;
11622 return 0;
11623}
11624_ACEOF
11625rm -f conftest.$ac_objext conftest$ac_exeext
11626if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11627 (eval $ac_link) 2>&5
11628 ac_status=$?
11629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11630 (exit $ac_status); } &&
11631 { ac_try='test -s conftest$ac_exeext'
11632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11633 (eval $ac_try) 2>&5
11634 ac_status=$?
11635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11636 (exit $ac_status); }; }; then
11637 ac_cv_lib_cExt_drand48=yes
11638else
11639 echo "$as_me: failed program was:" >&5
11640sed 's/^/| /' conftest.$ac_ext >&5
11641
11642ac_cv_lib_cExt_drand48=no
11643fi
11644rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11645LIBS=$ac_check_lib_save_LIBS
11646fi
11647echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11648echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11649if test $ac_cv_lib_cExt_drand48 = yes; then
11650 LIBS="$LIBS -lcExt"
11651fi
11652
11653 else
11654 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11655 fi
11656 ;;
11657esac
11658
11659
11660if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11661 echo "$as_me:$LINENO: checking for strings.h" >&5
11662echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11663if test "${ac_cv_header_strings_h+set}" = set; then
11664 echo $ECHO_N "(cached) $ECHO_C" >&6
11665else
11666 ac_cv_header_strings_h=no
11667fi
11668echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11669echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11670 if test "$ac_cv_header_strings_h" = "no"; then
11671 echo "$as_me:$LINENO: result: forced no into cache" >&5
11672echo "${ECHO_T}forced no into cache" >&6
11673 else
11674 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11675echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11676 fi
11677fi
11678echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11679echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11680if test "${ac_cv_header_stdc+set}" = set; then
11681 echo $ECHO_N "(cached) $ECHO_C" >&6
11682else
11683 cat >conftest.$ac_ext <<_ACEOF
11684#line $LINENO "configure"
11685/* confdefs.h. */
11686_ACEOF
11687cat confdefs.h >>conftest.$ac_ext
11688cat >>conftest.$ac_ext <<_ACEOF
11689/* end confdefs.h. */
11690#include <stdlib.h>
11691#include <stdarg.h>
11692#include <string.h>
11693#include <float.h>
11694
11695int
11696main ()
11697{
11698
11699 ;
11700 return 0;
11701}
11702_ACEOF
11703rm -f conftest.$ac_objext
11704if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11705 (eval $ac_compile) 2>&5
11706 ac_status=$?
11707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11708 (exit $ac_status); } &&
11709 { ac_try='test -s conftest.$ac_objext'
11710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11711 (eval $ac_try) 2>&5
11712 ac_status=$?
11713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11714 (exit $ac_status); }; }; then
11715 ac_cv_header_stdc=yes
11716else
11717 echo "$as_me: failed program was:" >&5
11718sed 's/^/| /' conftest.$ac_ext >&5
11719
11720ac_cv_header_stdc=no
11721fi
11722rm -f conftest.$ac_objext conftest.$ac_ext
11723
11724if test $ac_cv_header_stdc = yes; then
11725 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11726 cat >conftest.$ac_ext <<_ACEOF
11727#line $LINENO "configure"
11728/* confdefs.h. */
11729_ACEOF
11730cat confdefs.h >>conftest.$ac_ext
11731cat >>conftest.$ac_ext <<_ACEOF
11732/* end confdefs.h. */
11733#include <string.h>
11734
11735_ACEOF
11736if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11737 $EGREP "memchr" >/dev/null 2>&1; then
11738 :
11739else
11740 ac_cv_header_stdc=no
11741fi
11742rm -f conftest*
11743
11744fi
11745
11746if test $ac_cv_header_stdc = yes; then
11747 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11748 cat >conftest.$ac_ext <<_ACEOF
11749#line $LINENO "configure"
11750/* confdefs.h. */
11751_ACEOF
11752cat confdefs.h >>conftest.$ac_ext
11753cat >>conftest.$ac_ext <<_ACEOF
11754/* end confdefs.h. */
11755#include <stdlib.h>
11756
11757_ACEOF
11758if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11759 $EGREP "free" >/dev/null 2>&1; then
11760 :
11761else
11762 ac_cv_header_stdc=no
11763fi
11764rm -f conftest*
11765
11766fi
11767
11768if test $ac_cv_header_stdc = yes; then
11769 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11770 if test "$cross_compiling" = yes; then
11771 :
11772else
11773 cat >conftest.$ac_ext <<_ACEOF
11774#line $LINENO "configure"
11775/* confdefs.h. */
11776_ACEOF
11777cat confdefs.h >>conftest.$ac_ext
11778cat >>conftest.$ac_ext <<_ACEOF
11779/* end confdefs.h. */
11780#include <ctype.h>
11781#if ((' ' & 0x0FF) == 0x020)
11782# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11783# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11784#else
11785# define ISLOWER(c) \
11786 (('a' <= (c) && (c) <= 'i') \
11787 || ('j' <= (c) && (c) <= 'r') \
11788 || ('s' <= (c) && (c) <= 'z'))
11789# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11790#endif
11791
11792#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11793int
11794main ()
11795{
11796 int i;
11797 for (i = 0; i < 256; i++)
11798 if (XOR (islower (i), ISLOWER (i))
11799 || toupper (i) != TOUPPER (i))
11800 exit(2);
11801 exit (0);
11802}
11803_ACEOF
11804rm -f conftest$ac_exeext
11805if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11806 (eval $ac_link) 2>&5
11807 ac_status=$?
11808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11809 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11811 (eval $ac_try) 2>&5
11812 ac_status=$?
11813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11814 (exit $ac_status); }; }; then
11815 :
11816else
11817 echo "$as_me: program exited with status $ac_status" >&5
11818echo "$as_me: failed program was:" >&5
11819sed 's/^/| /' conftest.$ac_ext >&5
11820
11821( exit $ac_status )
11822ac_cv_header_stdc=no
11823fi
11824rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11825fi
11826fi
11827fi
11828echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11829echo "${ECHO_T}$ac_cv_header_stdc" >&6
11830if test $ac_cv_header_stdc = yes; then
11831
11832cat >>confdefs.h <<\_ACEOF
11833#define STDC_HEADERS 1
11834_ACEOF
11835
11836fi
11837
11838# On IRIX 5.3, sys/types and inttypes.h are conflicting.
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
11849 inttypes.h stdint.h unistd.h
11850do
11851as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11852echo "$as_me:$LINENO: checking for $ac_header" >&5
11853echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11854if eval "test \"\${$as_ac_Header+set}\" = set"; then
11855 echo $ECHO_N "(cached) $ECHO_C" >&6
11856else
11857 cat >conftest.$ac_ext <<_ACEOF
11858#line $LINENO "configure"
11859/* confdefs.h. */
11860_ACEOF
11861cat confdefs.h >>conftest.$ac_ext
11862cat >>conftest.$ac_ext <<_ACEOF
11863/* end confdefs.h. */
11864$ac_includes_default
11865
11866#include <$ac_header>
11867_ACEOF
11868rm -f conftest.$ac_objext
11869if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11870 (eval $ac_compile) 2>&5
11871 ac_status=$?
11872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11873 (exit $ac_status); } &&
11874 { ac_try='test -s conftest.$ac_objext'
11875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11876 (eval $ac_try) 2>&5
11877 ac_status=$?
11878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11879 (exit $ac_status); }; }; then
11880 eval "$as_ac_Header=yes"
11881else
11882 echo "$as_me: failed program was:" >&5
11883sed 's/^/| /' conftest.$ac_ext >&5
11884
11885eval "$as_ac_Header=no"
11886fi
11887rm -f conftest.$ac_objext conftest.$ac_ext
11888fi
11889echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11890echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11891if test `eval echo '${'$as_ac_Header'}'` = yes; then
11892 cat >>confdefs.h <<_ACEOF
11893#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11894_ACEOF
11895
11896fi
11897
11898done
11899
11900
11901
11902for ac_header in strings.h
11903do
11904as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11905if eval "test \"\${$as_ac_Header+set}\" = set"; then
11906 echo "$as_me:$LINENO: checking for $ac_header" >&5
11907echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11908if eval "test \"\${$as_ac_Header+set}\" = set"; then
11909 echo $ECHO_N "(cached) $ECHO_C" >&6
11910fi
11911echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11912echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11913else
11914 # Is the header compilable?
11915echo "$as_me:$LINENO: checking $ac_header usability" >&5
11916echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11917cat >conftest.$ac_ext <<_ACEOF
11918#line $LINENO "configure"
11919/* confdefs.h. */
11920_ACEOF
11921cat confdefs.h >>conftest.$ac_ext
11922cat >>conftest.$ac_ext <<_ACEOF
11923/* end confdefs.h. */
11924$ac_includes_default
11925#include <$ac_header>
11926_ACEOF
11927rm -f conftest.$ac_objext
11928if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11929 (eval $ac_compile) 2>&5
11930 ac_status=$?
11931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11932 (exit $ac_status); } &&
11933 { ac_try='test -s conftest.$ac_objext'
11934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11935 (eval $ac_try) 2>&5
11936 ac_status=$?
11937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11938 (exit $ac_status); }; }; then
11939 ac_header_compiler=yes
11940else
11941 echo "$as_me: failed program was:" >&5
11942sed 's/^/| /' conftest.$ac_ext >&5
11943
11944ac_header_compiler=no
11945fi
11946rm -f conftest.$ac_objext conftest.$ac_ext
11947echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11948echo "${ECHO_T}$ac_header_compiler" >&6
11949
11950# Is the header present?
11951echo "$as_me:$LINENO: checking $ac_header presence" >&5
11952echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11953cat >conftest.$ac_ext <<_ACEOF
11954#line $LINENO "configure"
11955/* confdefs.h. */
11956_ACEOF
11957cat confdefs.h >>conftest.$ac_ext
11958cat >>conftest.$ac_ext <<_ACEOF
11959/* end confdefs.h. */
11960#include <$ac_header>
11961_ACEOF
11962if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11963 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11964 ac_status=$?
11965 grep -v '^ *+' conftest.er1 >conftest.err
11966 rm -f conftest.er1
11967 cat conftest.err >&5
11968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11969 (exit $ac_status); } >/dev/null; then
11970 if test -s conftest.err; then
11971 ac_cpp_err=$ac_c_preproc_warn_flag
11972 else
11973 ac_cpp_err=
11974 fi
11975else
11976 ac_cpp_err=yes
11977fi
11978if test -z "$ac_cpp_err"; then
11979 ac_header_preproc=yes
11980else
11981 echo "$as_me: failed program was:" >&5
11982sed 's/^/| /' conftest.$ac_ext >&5
11983
11984 ac_header_preproc=no
11985fi
11986rm -f conftest.err conftest.$ac_ext
11987echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11988echo "${ECHO_T}$ac_header_preproc" >&6
11989
11990# So? What about this header?
11991case $ac_header_compiler:$ac_header_preproc in
11992 yes:no )
11993 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11994echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11996echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11997 (
11998 cat <<\_ASBOX
11999## ------------------------------------ ##
12000## Report this to bug-autoconf@gnu.org. ##
12001## ------------------------------------ ##
12002_ASBOX
12003 ) |
12004 sed "s/^/$as_me: WARNING: /" >&2
12005 ;;
12006 no:yes )
12007 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12008echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12009 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12010echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12011 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12012echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12013 (
12014 cat <<\_ASBOX
12015## ------------------------------------ ##
12016## Report this to bug-autoconf@gnu.org. ##
12017## ------------------------------------ ##
12018_ASBOX
12019 ) |
12020 sed "s/^/$as_me: WARNING: /" >&2
12021 ;;
12022esac
12023echo "$as_me:$LINENO: checking for $ac_header" >&5
12024echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12025if eval "test \"\${$as_ac_Header+set}\" = set"; then
12026 echo $ECHO_N "(cached) $ECHO_C" >&6
12027else
12028 eval "$as_ac_Header=$ac_header_preproc"
12029fi
12030echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12031echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12032
12033fi
12034if test `eval echo '${'$as_ac_Header'}'` = yes; then
12035 cat >>confdefs.h <<_ACEOF
12036#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12037_ACEOF
12038
12039fi
12040
12041done
12042
12043
12044
12045for ac_header in stdlib.h
12046do
12047as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12048if eval "test \"\${$as_ac_Header+set}\" = set"; then
12049 echo "$as_me:$LINENO: checking for $ac_header" >&5
12050echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12051if eval "test \"\${$as_ac_Header+set}\" = set"; then
12052 echo $ECHO_N "(cached) $ECHO_C" >&6
12053fi
12054echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12055echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12056else
12057 # Is the header compilable?
12058echo "$as_me:$LINENO: checking $ac_header usability" >&5
12059echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12060cat >conftest.$ac_ext <<_ACEOF
12061#line $LINENO "configure"
12062/* confdefs.h. */
12063_ACEOF
12064cat confdefs.h >>conftest.$ac_ext
12065cat >>conftest.$ac_ext <<_ACEOF
12066/* end confdefs.h. */
12067$ac_includes_default
12068#include <$ac_header>
12069_ACEOF
12070rm -f conftest.$ac_objext
12071if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12072 (eval $ac_compile) 2>&5
12073 ac_status=$?
12074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12075 (exit $ac_status); } &&
12076 { ac_try='test -s conftest.$ac_objext'
12077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12078 (eval $ac_try) 2>&5
12079 ac_status=$?
12080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12081 (exit $ac_status); }; }; then
12082 ac_header_compiler=yes
12083else
12084 echo "$as_me: failed program was:" >&5
12085sed 's/^/| /' conftest.$ac_ext >&5
12086
12087ac_header_compiler=no
12088fi
12089rm -f conftest.$ac_objext conftest.$ac_ext
12090echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12091echo "${ECHO_T}$ac_header_compiler" >&6
12092
12093# Is the header present?
12094echo "$as_me:$LINENO: checking $ac_header presence" >&5
12095echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12096cat >conftest.$ac_ext <<_ACEOF
12097#line $LINENO "configure"
12098/* confdefs.h. */
12099_ACEOF
12100cat confdefs.h >>conftest.$ac_ext
12101cat >>conftest.$ac_ext <<_ACEOF
12102/* end confdefs.h. */
12103#include <$ac_header>
12104_ACEOF
12105if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12106 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12107 ac_status=$?
12108 grep -v '^ *+' conftest.er1 >conftest.err
12109 rm -f conftest.er1
12110 cat conftest.err >&5
12111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12112 (exit $ac_status); } >/dev/null; then
12113 if test -s conftest.err; then
12114 ac_cpp_err=$ac_c_preproc_warn_flag
12115 else
12116 ac_cpp_err=
12117 fi
12118else
12119 ac_cpp_err=yes
12120fi
12121if test -z "$ac_cpp_err"; then
12122 ac_header_preproc=yes
12123else
12124 echo "$as_me: failed program was:" >&5
12125sed 's/^/| /' conftest.$ac_ext >&5
12126
12127 ac_header_preproc=no
12128fi
12129rm -f conftest.err conftest.$ac_ext
12130echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12131echo "${ECHO_T}$ac_header_preproc" >&6
12132
12133# So? What about this header?
12134case $ac_header_compiler:$ac_header_preproc in
12135 yes:no )
12136 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12137echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12138 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12139echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12140 (
12141 cat <<\_ASBOX
12142## ------------------------------------ ##
12143## Report this to bug-autoconf@gnu.org. ##
12144## ------------------------------------ ##
12145_ASBOX
12146 ) |
12147 sed "s/^/$as_me: WARNING: /" >&2
12148 ;;
12149 no:yes )
12150 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12151echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12152 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12153echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12154 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12155echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12156 (
12157 cat <<\_ASBOX
12158## ------------------------------------ ##
12159## Report this to bug-autoconf@gnu.org. ##
12160## ------------------------------------ ##
12161_ASBOX
12162 ) |
12163 sed "s/^/$as_me: WARNING: /" >&2
12164 ;;
12165esac
12166echo "$as_me:$LINENO: checking for $ac_header" >&5
12167echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12168if eval "test \"\${$as_ac_Header+set}\" = set"; then
12169 echo $ECHO_N "(cached) $ECHO_C" >&6
12170else
12171 eval "$as_ac_Header=$ac_header_preproc"
12172fi
12173echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12174echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12175
12176fi
12177if test `eval echo '${'$as_ac_Header'}'` = yes; then
12178 cat >>confdefs.h <<_ACEOF
12179#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12180_ACEOF
12181
12182fi
12183
12184done
12185
12186
12187for ac_header in malloc.h
12188do
12189as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12190if eval "test \"\${$as_ac_Header+set}\" = set"; then
12191 echo "$as_me:$LINENO: checking for $ac_header" >&5
12192echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12193if eval "test \"\${$as_ac_Header+set}\" = set"; then
12194 echo $ECHO_N "(cached) $ECHO_C" >&6
12195fi
12196echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12197echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12198else
12199 # Is the header compilable?
12200echo "$as_me:$LINENO: checking $ac_header usability" >&5
12201echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12202cat >conftest.$ac_ext <<_ACEOF
12203#line $LINENO "configure"
12204/* confdefs.h. */
12205_ACEOF
12206cat confdefs.h >>conftest.$ac_ext
12207cat >>conftest.$ac_ext <<_ACEOF
12208/* end confdefs.h. */
12209$ac_includes_default
12210#include <$ac_header>
12211_ACEOF
12212rm -f conftest.$ac_objext
12213if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12214 (eval $ac_compile) 2>&5
12215 ac_status=$?
12216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12217 (exit $ac_status); } &&
12218 { ac_try='test -s conftest.$ac_objext'
12219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12220 (eval $ac_try) 2>&5
12221 ac_status=$?
12222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12223 (exit $ac_status); }; }; then
12224 ac_header_compiler=yes
12225else
12226 echo "$as_me: failed program was:" >&5
12227sed 's/^/| /' conftest.$ac_ext >&5
12228
12229ac_header_compiler=no
12230fi
12231rm -f conftest.$ac_objext conftest.$ac_ext
12232echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12233echo "${ECHO_T}$ac_header_compiler" >&6
12234
12235# Is the header present?
12236echo "$as_me:$LINENO: checking $ac_header presence" >&5
12237echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12238cat >conftest.$ac_ext <<_ACEOF
12239#line $LINENO "configure"
12240/* confdefs.h. */
12241_ACEOF
12242cat confdefs.h >>conftest.$ac_ext
12243cat >>conftest.$ac_ext <<_ACEOF
12244/* end confdefs.h. */
12245#include <$ac_header>
12246_ACEOF
12247if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12248 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12249 ac_status=$?
12250 grep -v '^ *+' conftest.er1 >conftest.err
12251 rm -f conftest.er1
12252 cat conftest.err >&5
12253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12254 (exit $ac_status); } >/dev/null; then
12255 if test -s conftest.err; then
12256 ac_cpp_err=$ac_c_preproc_warn_flag
12257 else
12258 ac_cpp_err=
12259 fi
12260else
12261 ac_cpp_err=yes
12262fi
12263if test -z "$ac_cpp_err"; then
12264 ac_header_preproc=yes
12265else
12266 echo "$as_me: failed program was:" >&5
12267sed 's/^/| /' conftest.$ac_ext >&5
12268
12269 ac_header_preproc=no
12270fi
12271rm -f conftest.err conftest.$ac_ext
12272echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12273echo "${ECHO_T}$ac_header_preproc" >&6
12274
12275# So? What about this header?
12276case $ac_header_compiler:$ac_header_preproc in
12277 yes:no )
12278 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12279echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12280 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12281echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12282 (
12283 cat <<\_ASBOX
12284## ------------------------------------ ##
12285## Report this to bug-autoconf@gnu.org. ##
12286## ------------------------------------ ##
12287_ASBOX
12288 ) |
12289 sed "s/^/$as_me: WARNING: /" >&2
12290 ;;
12291 no:yes )
12292 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12293echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12294 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12295echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12296 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12297echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12298 (
12299 cat <<\_ASBOX
12300## ------------------------------------ ##
12301## Report this to bug-autoconf@gnu.org. ##
12302## ------------------------------------ ##
12303_ASBOX
12304 ) |
12305 sed "s/^/$as_me: WARNING: /" >&2
12306 ;;
12307esac
12308echo "$as_me:$LINENO: checking for $ac_header" >&5
12309echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12310if eval "test \"\${$as_ac_Header+set}\" = set"; then
12311 echo $ECHO_N "(cached) $ECHO_C" >&6
12312else
12313 eval "$as_ac_Header=$ac_header_preproc"
12314fi
12315echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12316echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12317
12318fi
12319if test `eval echo '${'$as_ac_Header'}'` = yes; then
12320 cat >>confdefs.h <<_ACEOF
12321#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12322_ACEOF
12323
12324fi
12325
12326done
12327
12328
12329for ac_header in unistd.h
12330do
12331as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12332if eval "test \"\${$as_ac_Header+set}\" = set"; then
12333 echo "$as_me:$LINENO: checking for $ac_header" >&5
12334echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12335if eval "test \"\${$as_ac_Header+set}\" = set"; then
12336 echo $ECHO_N "(cached) $ECHO_C" >&6
12337fi
12338echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12339echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12340else
12341 # Is the header compilable?
12342echo "$as_me:$LINENO: checking $ac_header usability" >&5
12343echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12344cat >conftest.$ac_ext <<_ACEOF
12345#line $LINENO "configure"
12346/* confdefs.h. */
12347_ACEOF
12348cat confdefs.h >>conftest.$ac_ext
12349cat >>conftest.$ac_ext <<_ACEOF
12350/* end confdefs.h. */
12351$ac_includes_default
12352#include <$ac_header>
12353_ACEOF
12354rm -f conftest.$ac_objext
12355if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12356 (eval $ac_compile) 2>&5
12357 ac_status=$?
12358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12359 (exit $ac_status); } &&
12360 { ac_try='test -s conftest.$ac_objext'
12361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12362 (eval $ac_try) 2>&5
12363 ac_status=$?
12364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12365 (exit $ac_status); }; }; then
12366 ac_header_compiler=yes
12367else
12368 echo "$as_me: failed program was:" >&5
12369sed 's/^/| /' conftest.$ac_ext >&5
12370
12371ac_header_compiler=no
12372fi
12373rm -f conftest.$ac_objext conftest.$ac_ext
12374echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12375echo "${ECHO_T}$ac_header_compiler" >&6
12376
12377# Is the header present?
12378echo "$as_me:$LINENO: checking $ac_header presence" >&5
12379echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12380cat >conftest.$ac_ext <<_ACEOF
12381#line $LINENO "configure"
12382/* confdefs.h. */
12383_ACEOF
12384cat confdefs.h >>conftest.$ac_ext
12385cat >>conftest.$ac_ext <<_ACEOF
12386/* end confdefs.h. */
12387#include <$ac_header>
12388_ACEOF
12389if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12390 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12391 ac_status=$?
12392 grep -v '^ *+' conftest.er1 >conftest.err
12393 rm -f conftest.er1
12394 cat conftest.err >&5
12395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12396 (exit $ac_status); } >/dev/null; then
12397 if test -s conftest.err; then
12398 ac_cpp_err=$ac_c_preproc_warn_flag
12399 else
12400 ac_cpp_err=
12401 fi
12402else
12403 ac_cpp_err=yes
12404fi
12405if test -z "$ac_cpp_err"; then
12406 ac_header_preproc=yes
12407else
12408 echo "$as_me: failed program was:" >&5
12409sed 's/^/| /' conftest.$ac_ext >&5
12410
12411 ac_header_preproc=no
12412fi
12413rm -f conftest.err conftest.$ac_ext
12414echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12415echo "${ECHO_T}$ac_header_preproc" >&6
12416
12417# So? What about this header?
12418case $ac_header_compiler:$ac_header_preproc in
12419 yes:no )
12420 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12421echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12422 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12423echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12424 (
12425 cat <<\_ASBOX
12426## ------------------------------------ ##
12427## Report this to bug-autoconf@gnu.org. ##
12428## ------------------------------------ ##
12429_ASBOX
12430 ) |
12431 sed "s/^/$as_me: WARNING: /" >&2
12432 ;;
12433 no:yes )
12434 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12435echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12436 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12437echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12438 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12439echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12440 (
12441 cat <<\_ASBOX
12442## ------------------------------------ ##
12443## Report this to bug-autoconf@gnu.org. ##
12444## ------------------------------------ ##
12445_ASBOX
12446 ) |
12447 sed "s/^/$as_me: WARNING: /" >&2
12448 ;;
12449esac
12450echo "$as_me:$LINENO: checking for $ac_header" >&5
12451echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12452if eval "test \"\${$as_ac_Header+set}\" = set"; then
12453 echo $ECHO_N "(cached) $ECHO_C" >&6
12454else
12455 eval "$as_ac_Header=$ac_header_preproc"
12456fi
12457echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12458echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12459
12460fi
12461if test `eval echo '${'$as_ac_Header'}'` = yes; then
12462 cat >>confdefs.h <<_ACEOF
12463#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12464_ACEOF
12465
12466fi
12467
12468done
12469
12470
12471for ac_header in wchar.h
12472do
12473as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12474if eval "test \"\${$as_ac_Header+set}\" = set"; then
12475 echo "$as_me:$LINENO: checking for $ac_header" >&5
12476echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12477if eval "test \"\${$as_ac_Header+set}\" = set"; then
12478 echo $ECHO_N "(cached) $ECHO_C" >&6
12479fi
12480echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12481echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12482else
12483 # Is the header compilable?
12484echo "$as_me:$LINENO: checking $ac_header usability" >&5
12485echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12486cat >conftest.$ac_ext <<_ACEOF
12487#line $LINENO "configure"
12488/* confdefs.h. */
12489_ACEOF
12490cat confdefs.h >>conftest.$ac_ext
12491cat >>conftest.$ac_ext <<_ACEOF
12492/* end confdefs.h. */
12493$ac_includes_default
12494#include <$ac_header>
12495_ACEOF
12496rm -f conftest.$ac_objext
12497if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12498 (eval $ac_compile) 2>&5
12499 ac_status=$?
12500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12501 (exit $ac_status); } &&
12502 { ac_try='test -s conftest.$ac_objext'
12503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12504 (eval $ac_try) 2>&5
12505 ac_status=$?
12506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12507 (exit $ac_status); }; }; then
12508 ac_header_compiler=yes
12509else
12510 echo "$as_me: failed program was:" >&5
12511sed 's/^/| /' conftest.$ac_ext >&5
12512
12513ac_header_compiler=no
12514fi
12515rm -f conftest.$ac_objext conftest.$ac_ext
12516echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12517echo "${ECHO_T}$ac_header_compiler" >&6
12518
12519# Is the header present?
12520echo "$as_me:$LINENO: checking $ac_header presence" >&5
12521echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12522cat >conftest.$ac_ext <<_ACEOF
12523#line $LINENO "configure"
12524/* confdefs.h. */
12525_ACEOF
12526cat confdefs.h >>conftest.$ac_ext
12527cat >>conftest.$ac_ext <<_ACEOF
12528/* end confdefs.h. */
12529#include <$ac_header>
12530_ACEOF
12531if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12532 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12533 ac_status=$?
12534 grep -v '^ *+' conftest.er1 >conftest.err
12535 rm -f conftest.er1
12536 cat conftest.err >&5
12537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12538 (exit $ac_status); } >/dev/null; then
12539 if test -s conftest.err; then
12540 ac_cpp_err=$ac_c_preproc_warn_flag
12541 else
12542 ac_cpp_err=
12543 fi
12544else
12545 ac_cpp_err=yes
12546fi
12547if test -z "$ac_cpp_err"; then
12548 ac_header_preproc=yes
12549else
12550 echo "$as_me: failed program was:" >&5
12551sed 's/^/| /' conftest.$ac_ext >&5
12552
12553 ac_header_preproc=no
12554fi
12555rm -f conftest.err conftest.$ac_ext
12556echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12557echo "${ECHO_T}$ac_header_preproc" >&6
12558
12559# So? What about this header?
12560case $ac_header_compiler:$ac_header_preproc in
12561 yes:no )
12562 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12563echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12564 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12565echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12566 (
12567 cat <<\_ASBOX
12568## ------------------------------------ ##
12569## Report this to bug-autoconf@gnu.org. ##
12570## ------------------------------------ ##
12571_ASBOX
12572 ) |
12573 sed "s/^/$as_me: WARNING: /" >&2
12574 ;;
12575 no:yes )
12576 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12577echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12578 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12579echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12580 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12581echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12582 (
12583 cat <<\_ASBOX
12584## ------------------------------------ ##
12585## Report this to bug-autoconf@gnu.org. ##
12586## ------------------------------------ ##
12587_ASBOX
12588 ) |
12589 sed "s/^/$as_me: WARNING: /" >&2
12590 ;;
12591esac
12592echo "$as_me:$LINENO: checking for $ac_header" >&5
12593echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12594if eval "test \"\${$as_ac_Header+set}\" = set"; then
12595 echo $ECHO_N "(cached) $ECHO_C" >&6
12596else
12597 eval "$as_ac_Header=$ac_header_preproc"
12598fi
12599echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12600echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12601
12602fi
12603if test `eval echo '${'$as_ac_Header'}'` = yes; then
12604 cat >>confdefs.h <<_ACEOF
12605#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12606_ACEOF
12607
12608fi
12609
12610done
12611
12612
12613if test "$ac_cv_header_wchar_h" != "yes"; then
12614
12615for ac_header in wcstr.h
12616do
12617as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12618if eval "test \"\${$as_ac_Header+set}\" = set"; then
12619 echo "$as_me:$LINENO: checking for $ac_header" >&5
12620echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12621if eval "test \"\${$as_ac_Header+set}\" = set"; then
12622 echo $ECHO_N "(cached) $ECHO_C" >&6
12623fi
12624echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12625echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12626else
12627 # Is the header compilable?
12628echo "$as_me:$LINENO: checking $ac_header usability" >&5
12629echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12630cat >conftest.$ac_ext <<_ACEOF
12631#line $LINENO "configure"
12632/* confdefs.h. */
12633_ACEOF
12634cat confdefs.h >>conftest.$ac_ext
12635cat >>conftest.$ac_ext <<_ACEOF
12636/* end confdefs.h. */
12637$ac_includes_default
12638#include <$ac_header>
12639_ACEOF
12640rm -f conftest.$ac_objext
12641if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12642 (eval $ac_compile) 2>&5
12643 ac_status=$?
12644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12645 (exit $ac_status); } &&
12646 { ac_try='test -s conftest.$ac_objext'
12647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12648 (eval $ac_try) 2>&5
12649 ac_status=$?
12650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12651 (exit $ac_status); }; }; then
12652 ac_header_compiler=yes
12653else
12654 echo "$as_me: failed program was:" >&5
12655sed 's/^/| /' conftest.$ac_ext >&5
12656
12657ac_header_compiler=no
12658fi
12659rm -f conftest.$ac_objext conftest.$ac_ext
12660echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12661echo "${ECHO_T}$ac_header_compiler" >&6
12662
12663# Is the header present?
12664echo "$as_me:$LINENO: checking $ac_header presence" >&5
12665echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12666cat >conftest.$ac_ext <<_ACEOF
12667#line $LINENO "configure"
12668/* confdefs.h. */
12669_ACEOF
12670cat confdefs.h >>conftest.$ac_ext
12671cat >>conftest.$ac_ext <<_ACEOF
12672/* end confdefs.h. */
12673#include <$ac_header>
12674_ACEOF
12675if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12676 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12677 ac_status=$?
12678 grep -v '^ *+' conftest.er1 >conftest.err
12679 rm -f conftest.er1
12680 cat conftest.err >&5
12681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12682 (exit $ac_status); } >/dev/null; then
12683 if test -s conftest.err; then
12684 ac_cpp_err=$ac_c_preproc_warn_flag
12685 else
12686 ac_cpp_err=
12687 fi
12688else
12689 ac_cpp_err=yes
12690fi
12691if test -z "$ac_cpp_err"; then
12692 ac_header_preproc=yes
12693else
12694 echo "$as_me: failed program was:" >&5
12695sed 's/^/| /' conftest.$ac_ext >&5
12696
12697 ac_header_preproc=no
12698fi
12699rm -f conftest.err conftest.$ac_ext
12700echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12701echo "${ECHO_T}$ac_header_preproc" >&6
12702
12703# So? What about this header?
12704case $ac_header_compiler:$ac_header_preproc in
12705 yes:no )
12706 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12707echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12708 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12709echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12710 (
12711 cat <<\_ASBOX
12712## ------------------------------------ ##
12713## Report this to bug-autoconf@gnu.org. ##
12714## ------------------------------------ ##
12715_ASBOX
12716 ) |
12717 sed "s/^/$as_me: WARNING: /" >&2
12718 ;;
12719 no:yes )
12720 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12721echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12722 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12723echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12724 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12725echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12726 (
12727 cat <<\_ASBOX
12728## ------------------------------------ ##
12729## Report this to bug-autoconf@gnu.org. ##
12730## ------------------------------------ ##
12731_ASBOX
12732 ) |
12733 sed "s/^/$as_me: WARNING: /" >&2
12734 ;;
12735esac
12736echo "$as_me:$LINENO: checking for $ac_header" >&5
12737echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12738if eval "test \"\${$as_ac_Header+set}\" = set"; then
12739 echo $ECHO_N "(cached) $ECHO_C" >&6
12740else
12741 eval "$as_ac_Header=$ac_header_preproc"
12742fi
12743echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12744echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12745
12746fi
12747if test `eval echo '${'$as_ac_Header'}'` = yes; then
12748 cat >>confdefs.h <<_ACEOF
12749#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12750_ACEOF
12751
12752fi
12753
12754done
12755
12756fi
12757
12758
12759for ac_header in fnmatch.h
12760do
12761as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12762if eval "test \"\${$as_ac_Header+set}\" = set"; then
12763 echo "$as_me:$LINENO: checking for $ac_header" >&5
12764echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12765if eval "test \"\${$as_ac_Header+set}\" = set"; then
12766 echo $ECHO_N "(cached) $ECHO_C" >&6
12767fi
12768echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12769echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12770else
12771 # Is the header compilable?
12772echo "$as_me:$LINENO: checking $ac_header usability" >&5
12773echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12774cat >conftest.$ac_ext <<_ACEOF
12775#line $LINENO "configure"
12776/* confdefs.h. */
12777_ACEOF
12778cat confdefs.h >>conftest.$ac_ext
12779cat >>conftest.$ac_ext <<_ACEOF
12780/* end confdefs.h. */
12781$ac_includes_default
12782#include <$ac_header>
12783_ACEOF
12784rm -f conftest.$ac_objext
12785if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12786 (eval $ac_compile) 2>&5
12787 ac_status=$?
12788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12789 (exit $ac_status); } &&
12790 { ac_try='test -s conftest.$ac_objext'
12791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12792 (eval $ac_try) 2>&5
12793 ac_status=$?
12794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12795 (exit $ac_status); }; }; then
12796 ac_header_compiler=yes
12797else
12798 echo "$as_me: failed program was:" >&5
12799sed 's/^/| /' conftest.$ac_ext >&5
12800
12801ac_header_compiler=no
12802fi
12803rm -f conftest.$ac_objext conftest.$ac_ext
12804echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12805echo "${ECHO_T}$ac_header_compiler" >&6
12806
12807# Is the header present?
12808echo "$as_me:$LINENO: checking $ac_header presence" >&5
12809echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12810cat >conftest.$ac_ext <<_ACEOF
12811#line $LINENO "configure"
12812/* confdefs.h. */
12813_ACEOF
12814cat confdefs.h >>conftest.$ac_ext
12815cat >>conftest.$ac_ext <<_ACEOF
12816/* end confdefs.h. */
12817#include <$ac_header>
12818_ACEOF
12819if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12820 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12821 ac_status=$?
12822 grep -v '^ *+' conftest.er1 >conftest.err
12823 rm -f conftest.er1
12824 cat conftest.err >&5
12825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12826 (exit $ac_status); } >/dev/null; then
12827 if test -s conftest.err; then
12828 ac_cpp_err=$ac_c_preproc_warn_flag
12829 else
12830 ac_cpp_err=
12831 fi
12832else
12833 ac_cpp_err=yes
12834fi
12835if test -z "$ac_cpp_err"; then
12836 ac_header_preproc=yes
12837else
12838 echo "$as_me: failed program was:" >&5
12839sed 's/^/| /' conftest.$ac_ext >&5
12840
12841 ac_header_preproc=no
12842fi
12843rm -f conftest.err conftest.$ac_ext
12844echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12845echo "${ECHO_T}$ac_header_preproc" >&6
12846
12847# So? What about this header?
12848case $ac_header_compiler:$ac_header_preproc in
12849 yes:no )
12850 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12851echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12852 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12853echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12854 (
12855 cat <<\_ASBOX
12856## ------------------------------------ ##
12857## Report this to bug-autoconf@gnu.org. ##
12858## ------------------------------------ ##
12859_ASBOX
12860 ) |
12861 sed "s/^/$as_me: WARNING: /" >&2
12862 ;;
12863 no:yes )
12864 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12865echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12866 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12867echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12868 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12869echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12870 (
12871 cat <<\_ASBOX
12872## ------------------------------------ ##
12873## Report this to bug-autoconf@gnu.org. ##
12874## ------------------------------------ ##
12875_ASBOX
12876 ) |
12877 sed "s/^/$as_me: WARNING: /" >&2
12878 ;;
12879esac
12880echo "$as_me:$LINENO: checking for $ac_header" >&5
12881echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12882if eval "test \"\${$as_ac_Header+set}\" = set"; then
12883 echo $ECHO_N "(cached) $ECHO_C" >&6
12884else
12885 eval "$as_ac_Header=$ac_header_preproc"
12886fi
12887echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12888echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12889
12890fi
12891if test `eval echo '${'$as_ac_Header'}'` = yes; then
12892 cat >>confdefs.h <<_ACEOF
12893#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12894_ACEOF
12895
12896fi
12897
12898done
12899
12900
12901if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
12902
12903for ac_func in fnmatch
12904do
12905as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12906echo "$as_me:$LINENO: checking for $ac_func" >&5
12907echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12908if eval "test \"\${$as_ac_var+set}\" = set"; then
12909 echo $ECHO_N "(cached) $ECHO_C" >&6
12910else
12911 cat >conftest.$ac_ext <<_ACEOF
12912#line $LINENO "configure"
12913/* confdefs.h. */
12914_ACEOF
12915cat confdefs.h >>conftest.$ac_ext
12916cat >>conftest.$ac_ext <<_ACEOF
12917/* end confdefs.h. */
12918/* System header to define __stub macros and hopefully few prototypes,
12919 which can conflict with char $ac_func (); below.
12920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12921 <limits.h> exists even on freestanding compilers. */
12922#ifdef __STDC__
12923# include <limits.h>
12924#else
12925# include <assert.h>
12926#endif
12927/* Override any gcc2 internal prototype to avoid an error. */
12928#ifdef __cplusplus
12929extern "C"
12930{
12931#endif
12932/* We use char because int might match the return type of a gcc2
12933 builtin and then its argument prototype would still apply. */
12934char $ac_func ();
12935/* The GNU C library defines this for functions which it implements
12936 to always fail with ENOSYS. Some functions are actually named
12937 something starting with __ and the normal name is an alias. */
12938#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12939choke me
12940#else
12941char (*f) () = $ac_func;
12942#endif
12943#ifdef __cplusplus
12944}
12945#endif
12946
12947int
12948main ()
12949{
12950return f != $ac_func;
12951 ;
12952 return 0;
12953}
12954_ACEOF
12955rm -f conftest.$ac_objext conftest$ac_exeext
12956if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12957 (eval $ac_link) 2>&5
12958 ac_status=$?
12959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12960 (exit $ac_status); } &&
12961 { ac_try='test -s conftest$ac_exeext'
12962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12963 (eval $ac_try) 2>&5
12964 ac_status=$?
12965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12966 (exit $ac_status); }; }; then
12967 eval "$as_ac_var=yes"
12968else
12969 echo "$as_me: failed program was:" >&5
12970sed 's/^/| /' conftest.$ac_ext >&5
12971
12972eval "$as_ac_var=no"
12973fi
12974rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12975fi
12976echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12977echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12978if test `eval echo '${'$as_ac_var'}'` = yes; then
12979 cat >>confdefs.h <<_ACEOF
12980#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12981_ACEOF
12982
12983fi
12984done
12985
12986fi
12987
12988
12989for ac_header in langinfo.h
12990do
12991as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12992if eval "test \"\${$as_ac_Header+set}\" = set"; then
12993 echo "$as_me:$LINENO: checking for $ac_header" >&5
12994echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12995if eval "test \"\${$as_ac_Header+set}\" = set"; then
12996 echo $ECHO_N "(cached) $ECHO_C" >&6
12997fi
12998echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12999echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13000else
13001 # Is the header compilable?
13002echo "$as_me:$LINENO: checking $ac_header usability" >&5
13003echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13004cat >conftest.$ac_ext <<_ACEOF
13005#line $LINENO "configure"
13006/* confdefs.h. */
13007_ACEOF
13008cat confdefs.h >>conftest.$ac_ext
13009cat >>conftest.$ac_ext <<_ACEOF
13010/* end confdefs.h. */
13011$ac_includes_default
13012#include <$ac_header>
13013_ACEOF
13014rm -f conftest.$ac_objext
13015if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13016 (eval $ac_compile) 2>&5
13017 ac_status=$?
13018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13019 (exit $ac_status); } &&
13020 { ac_try='test -s conftest.$ac_objext'
13021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13022 (eval $ac_try) 2>&5
13023 ac_status=$?
13024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13025 (exit $ac_status); }; }; then
13026 ac_header_compiler=yes
13027else
13028 echo "$as_me: failed program was:" >&5
13029sed 's/^/| /' conftest.$ac_ext >&5
13030
13031ac_header_compiler=no
13032fi
13033rm -f conftest.$ac_objext conftest.$ac_ext
13034echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13035echo "${ECHO_T}$ac_header_compiler" >&6
13036
13037# Is the header present?
13038echo "$as_me:$LINENO: checking $ac_header presence" >&5
13039echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13040cat >conftest.$ac_ext <<_ACEOF
13041#line $LINENO "configure"
13042/* confdefs.h. */
13043_ACEOF
13044cat confdefs.h >>conftest.$ac_ext
13045cat >>conftest.$ac_ext <<_ACEOF
13046/* end confdefs.h. */
13047#include <$ac_header>
13048_ACEOF
13049if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13050 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13051 ac_status=$?
13052 grep -v '^ *+' conftest.er1 >conftest.err
13053 rm -f conftest.er1
13054 cat conftest.err >&5
13055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13056 (exit $ac_status); } >/dev/null; then
13057 if test -s conftest.err; then
13058 ac_cpp_err=$ac_c_preproc_warn_flag
13059 else
13060 ac_cpp_err=
13061 fi
13062else
13063 ac_cpp_err=yes
13064fi
13065if test -z "$ac_cpp_err"; then
13066 ac_header_preproc=yes
13067else
13068 echo "$as_me: failed program was:" >&5
13069sed 's/^/| /' conftest.$ac_ext >&5
13070
13071 ac_header_preproc=no
13072fi
13073rm -f conftest.err conftest.$ac_ext
13074echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13075echo "${ECHO_T}$ac_header_preproc" >&6
13076
13077# So? What about this header?
13078case $ac_header_compiler:$ac_header_preproc in
13079 yes:no )
13080 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13081echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13082 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13083echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13084 (
13085 cat <<\_ASBOX
13086## ------------------------------------ ##
13087## Report this to bug-autoconf@gnu.org. ##
13088## ------------------------------------ ##
13089_ASBOX
13090 ) |
13091 sed "s/^/$as_me: WARNING: /" >&2
13092 ;;
13093 no:yes )
13094 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13095echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13096 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13097echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13098 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13099echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13100 (
13101 cat <<\_ASBOX
13102## ------------------------------------ ##
13103## Report this to bug-autoconf@gnu.org. ##
13104## ------------------------------------ ##
13105_ASBOX
13106 ) |
13107 sed "s/^/$as_me: WARNING: /" >&2
13108 ;;
13109esac
13110echo "$as_me:$LINENO: checking for $ac_header" >&5
13111echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13112if eval "test \"\${$as_ac_Header+set}\" = set"; then
13113 echo $ECHO_N "(cached) $ECHO_C" >&6
13114else
13115 eval "$as_ac_Header=$ac_header_preproc"
13116fi
13117echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13118echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13119
13120fi
13121if test `eval echo '${'$as_ac_Header'}'` = yes; then
13122 cat >>confdefs.h <<_ACEOF
13123#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13124_ACEOF
13125
13126fi
13127
13128done
13129
13130
13131case "${host}" in
13132 *-pc-os2_emx | *-pc-os2-emx )
13133 if test $ac_cv_header_langinfo_h = "yes"; then
13134 LIBS="$LIBS -lintl"
13135 fi
13136 ;;
13137esac
13138
13139if test "$wxUSE_GUI" = "yes"; then
13140 if test "$wxUSE_UNIX" = "yes"; then
13141
13142for ac_header in X11/Xlib.h
13143do
13144as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13145if eval "test \"\${$as_ac_Header+set}\" = set"; then
13146 echo "$as_me:$LINENO: checking for $ac_header" >&5
13147echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13148if eval "test \"\${$as_ac_Header+set}\" = set"; then
13149 echo $ECHO_N "(cached) $ECHO_C" >&6
13150fi
13151echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13152echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13153else
13154 # Is the header compilable?
13155echo "$as_me:$LINENO: checking $ac_header usability" >&5
13156echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13157cat >conftest.$ac_ext <<_ACEOF
13158#line $LINENO "configure"
13159/* confdefs.h. */
13160_ACEOF
13161cat confdefs.h >>conftest.$ac_ext
13162cat >>conftest.$ac_ext <<_ACEOF
13163/* end confdefs.h. */
13164$ac_includes_default
13165#include <$ac_header>
13166_ACEOF
13167rm -f conftest.$ac_objext
13168if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13169 (eval $ac_compile) 2>&5
13170 ac_status=$?
13171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13172 (exit $ac_status); } &&
13173 { ac_try='test -s conftest.$ac_objext'
13174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13175 (eval $ac_try) 2>&5
13176 ac_status=$?
13177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13178 (exit $ac_status); }; }; then
13179 ac_header_compiler=yes
13180else
13181 echo "$as_me: failed program was:" >&5
13182sed 's/^/| /' conftest.$ac_ext >&5
13183
13184ac_header_compiler=no
13185fi
13186rm -f conftest.$ac_objext conftest.$ac_ext
13187echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13188echo "${ECHO_T}$ac_header_compiler" >&6
13189
13190# Is the header present?
13191echo "$as_me:$LINENO: checking $ac_header presence" >&5
13192echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13193cat >conftest.$ac_ext <<_ACEOF
13194#line $LINENO "configure"
13195/* confdefs.h. */
13196_ACEOF
13197cat confdefs.h >>conftest.$ac_ext
13198cat >>conftest.$ac_ext <<_ACEOF
13199/* end confdefs.h. */
13200#include <$ac_header>
13201_ACEOF
13202if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13203 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13204 ac_status=$?
13205 grep -v '^ *+' conftest.er1 >conftest.err
13206 rm -f conftest.er1
13207 cat conftest.err >&5
13208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13209 (exit $ac_status); } >/dev/null; then
13210 if test -s conftest.err; then
13211 ac_cpp_err=$ac_c_preproc_warn_flag
13212 else
13213 ac_cpp_err=
13214 fi
13215else
13216 ac_cpp_err=yes
13217fi
13218if test -z "$ac_cpp_err"; then
13219 ac_header_preproc=yes
13220else
13221 echo "$as_me: failed program was:" >&5
13222sed 's/^/| /' conftest.$ac_ext >&5
13223
13224 ac_header_preproc=no
13225fi
13226rm -f conftest.err conftest.$ac_ext
13227echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13228echo "${ECHO_T}$ac_header_preproc" >&6
13229
13230# So? What about this header?
13231case $ac_header_compiler:$ac_header_preproc in
13232 yes:no )
13233 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13234echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13235 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13236echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13237 (
13238 cat <<\_ASBOX
13239## ------------------------------------ ##
13240## Report this to bug-autoconf@gnu.org. ##
13241## ------------------------------------ ##
13242_ASBOX
13243 ) |
13244 sed "s/^/$as_me: WARNING: /" >&2
13245 ;;
13246 no:yes )
13247 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13248echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13249 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13250echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13252echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13253 (
13254 cat <<\_ASBOX
13255## ------------------------------------ ##
13256## Report this to bug-autoconf@gnu.org. ##
13257## ------------------------------------ ##
13258_ASBOX
13259 ) |
13260 sed "s/^/$as_me: WARNING: /" >&2
13261 ;;
13262esac
13263echo "$as_me:$LINENO: checking for $ac_header" >&5
13264echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13265if eval "test \"\${$as_ac_Header+set}\" = set"; then
13266 echo $ECHO_N "(cached) $ECHO_C" >&6
13267else
13268 eval "$as_ac_Header=$ac_header_preproc"
13269fi
13270echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13271echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13272
13273fi
13274if test `eval echo '${'$as_ac_Header'}'` = yes; then
13275 cat >>confdefs.h <<_ACEOF
13276#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13277_ACEOF
13278
13279fi
13280
13281done
13282
13283
13284for ac_header in X11/XKBlib.h
13285do
13286as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13287echo "$as_me:$LINENO: checking for $ac_header" >&5
13288echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13289if eval "test \"\${$as_ac_Header+set}\" = set"; then
13290 echo $ECHO_N "(cached) $ECHO_C" >&6
13291else
13292 cat >conftest.$ac_ext <<_ACEOF
13293#line $LINENO "configure"
13294/* confdefs.h. */
13295_ACEOF
13296cat confdefs.h >>conftest.$ac_ext
13297cat >>conftest.$ac_ext <<_ACEOF
13298/* end confdefs.h. */
13299
13300 #if HAVE_X11_XLIB_H
13301 #include <X11/Xlib.h>
13302 #endif
13303
13304
13305#include <$ac_header>
13306_ACEOF
13307rm -f conftest.$ac_objext
13308if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13309 (eval $ac_compile) 2>&5
13310 ac_status=$?
13311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13312 (exit $ac_status); } &&
13313 { ac_try='test -s conftest.$ac_objext'
13314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13315 (eval $ac_try) 2>&5
13316 ac_status=$?
13317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318 (exit $ac_status); }; }; then
13319 eval "$as_ac_Header=yes"
13320else
13321 echo "$as_me: failed program was:" >&5
13322sed 's/^/| /' conftest.$ac_ext >&5
13323
13324eval "$as_ac_Header=no"
13325fi
13326rm -f conftest.$ac_objext conftest.$ac_ext
13327fi
13328echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13329echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13330if test `eval echo '${'$as_ac_Header'}'` = yes; then
13331 cat >>confdefs.h <<_ACEOF
13332#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13333_ACEOF
13334
13335fi
13336
13337done
13338
13339 fi
13340fi
13341
13342
13343echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13344echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13345if test "${ac_cv_c_const+set}" = set; then
13346 echo $ECHO_N "(cached) $ECHO_C" >&6
13347else
13348 cat >conftest.$ac_ext <<_ACEOF
13349#line $LINENO "configure"
13350/* confdefs.h. */
13351_ACEOF
13352cat confdefs.h >>conftest.$ac_ext
13353cat >>conftest.$ac_ext <<_ACEOF
13354/* end confdefs.h. */
13355
13356int
13357main ()
13358{
13359/* FIXME: Include the comments suggested by Paul. */
13360#ifndef __cplusplus
13361 /* Ultrix mips cc rejects this. */
13362 typedef int charset[2];
13363 const charset x;
13364 /* SunOS 4.1.1 cc rejects this. */
13365 char const *const *ccp;
13366 char **p;
13367 /* NEC SVR4.0.2 mips cc rejects this. */
13368 struct point {int x, y;};
13369 static struct point const zero = {0,0};
13370 /* AIX XL C 1.02.0.0 rejects this.
13371 It does not let you subtract one const X* pointer from another in
13372 an arm of an if-expression whose if-part is not a constant
13373 expression */
13374 const char *g = "string";
13375 ccp = &g + (g ? g-g : 0);
13376 /* HPUX 7.0 cc rejects these. */
13377 ++ccp;
13378 p = (char**) ccp;
13379 ccp = (char const *const *) p;
13380 { /* SCO 3.2v4 cc rejects this. */
13381 char *t;
13382 char const *s = 0 ? (char *) 0 : (char const *) 0;
13383
13384 *t++ = 0;
13385 }
13386 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13387 int x[] = {25, 17};
13388 const int *foo = &x[0];
13389 ++foo;
13390 }
13391 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13392 typedef const int *iptr;
13393 iptr p = 0;
13394 ++p;
13395 }
13396 { /* AIX XL C 1.02.0.0 rejects this saying
13397 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13398 struct s { int j; const int *ap[3]; };
13399 struct s *b; b->j = 5;
13400 }
13401 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13402 const int foo = 10;
13403 }
13404#endif
13405
13406 ;
13407 return 0;
13408}
13409_ACEOF
13410rm -f conftest.$ac_objext
13411if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13412 (eval $ac_compile) 2>&5
13413 ac_status=$?
13414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13415 (exit $ac_status); } &&
13416 { ac_try='test -s conftest.$ac_objext'
13417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13418 (eval $ac_try) 2>&5
13419 ac_status=$?
13420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13421 (exit $ac_status); }; }; then
13422 ac_cv_c_const=yes
13423else
13424 echo "$as_me: failed program was:" >&5
13425sed 's/^/| /' conftest.$ac_ext >&5
13426
13427ac_cv_c_const=no
13428fi
13429rm -f conftest.$ac_objext conftest.$ac_ext
13430fi
13431echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13432echo "${ECHO_T}$ac_cv_c_const" >&6
13433if test $ac_cv_c_const = no; then
13434
13435cat >>confdefs.h <<\_ACEOF
13436#define const
13437_ACEOF
13438
13439fi
13440
13441echo "$as_me:$LINENO: checking for inline" >&5
13442echo $ECHO_N "checking for inline... $ECHO_C" >&6
13443if test "${ac_cv_c_inline+set}" = set; then
13444 echo $ECHO_N "(cached) $ECHO_C" >&6
13445else
13446 ac_cv_c_inline=no
13447for ac_kw in inline __inline__ __inline; do
13448 cat >conftest.$ac_ext <<_ACEOF
13449#line $LINENO "configure"
13450/* confdefs.h. */
13451_ACEOF
13452cat confdefs.h >>conftest.$ac_ext
13453cat >>conftest.$ac_ext <<_ACEOF
13454/* end confdefs.h. */
13455#ifndef __cplusplus
13456typedef int foo_t;
13457static $ac_kw foo_t static_foo () {return 0; }
13458$ac_kw foo_t foo () {return 0; }
13459#endif
13460
13461_ACEOF
13462rm -f conftest.$ac_objext
13463if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13464 (eval $ac_compile) 2>&5
13465 ac_status=$?
13466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13467 (exit $ac_status); } &&
13468 { ac_try='test -s conftest.$ac_objext'
13469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13470 (eval $ac_try) 2>&5
13471 ac_status=$?
13472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13473 (exit $ac_status); }; }; then
13474 ac_cv_c_inline=$ac_kw; break
13475else
13476 echo "$as_me: failed program was:" >&5
13477sed 's/^/| /' conftest.$ac_ext >&5
13478
13479fi
13480rm -f conftest.$ac_objext conftest.$ac_ext
13481done
13482
13483fi
13484echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13485echo "${ECHO_T}$ac_cv_c_inline" >&6
13486case $ac_cv_c_inline in
13487 inline | yes) ;;
13488 no)
13489cat >>confdefs.h <<\_ACEOF
13490#define inline
13491_ACEOF
13492 ;;
13493 *) cat >>confdefs.h <<_ACEOF
13494#define inline $ac_cv_c_inline
13495_ACEOF
13496 ;;
13497esac
13498
13499
13500echo "$as_me:$LINENO: checking for char" >&5
13501echo $ECHO_N "checking for char... $ECHO_C" >&6
13502if test "${ac_cv_type_char+set}" = set; then
13503 echo $ECHO_N "(cached) $ECHO_C" >&6
13504else
13505 cat >conftest.$ac_ext <<_ACEOF
13506#line $LINENO "configure"
13507/* confdefs.h. */
13508_ACEOF
13509cat confdefs.h >>conftest.$ac_ext
13510cat >>conftest.$ac_ext <<_ACEOF
13511/* end confdefs.h. */
13512$ac_includes_default
13513int
13514main ()
13515{
13516if ((char *) 0)
13517 return 0;
13518if (sizeof (char))
13519 return 0;
13520 ;
13521 return 0;
13522}
13523_ACEOF
13524rm -f conftest.$ac_objext
13525if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13526 (eval $ac_compile) 2>&5
13527 ac_status=$?
13528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13529 (exit $ac_status); } &&
13530 { ac_try='test -s conftest.$ac_objext'
13531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13532 (eval $ac_try) 2>&5
13533 ac_status=$?
13534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13535 (exit $ac_status); }; }; then
13536 ac_cv_type_char=yes
13537else
13538 echo "$as_me: failed program was:" >&5
13539sed 's/^/| /' conftest.$ac_ext >&5
13540
13541ac_cv_type_char=no
13542fi
13543rm -f conftest.$ac_objext conftest.$ac_ext
13544fi
13545echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13546echo "${ECHO_T}$ac_cv_type_char" >&6
13547
13548echo "$as_me:$LINENO: checking size of char" >&5
13549echo $ECHO_N "checking size of char... $ECHO_C" >&6
13550if test "${ac_cv_sizeof_char+set}" = set; then
13551 echo $ECHO_N "(cached) $ECHO_C" >&6
13552else
13553 if test "$ac_cv_type_char" = yes; then
13554 # The cast to unsigned long works around a bug in the HP C Compiler
13555 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13556 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13557 # This bug is HP SR number 8606223364.
13558 if test "$cross_compiling" = yes; then
13559 # Depending upon the size, compute the lo and hi bounds.
13560cat >conftest.$ac_ext <<_ACEOF
13561#line $LINENO "configure"
13562/* confdefs.h. */
13563_ACEOF
13564cat confdefs.h >>conftest.$ac_ext
13565cat >>conftest.$ac_ext <<_ACEOF
13566/* end confdefs.h. */
13567$ac_includes_default
13568int
13569main ()
13570{
13571static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13572test_array [0] = 0
13573
13574 ;
13575 return 0;
13576}
13577_ACEOF
13578rm -f conftest.$ac_objext
13579if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13580 (eval $ac_compile) 2>&5
13581 ac_status=$?
13582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13583 (exit $ac_status); } &&
13584 { ac_try='test -s conftest.$ac_objext'
13585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13586 (eval $ac_try) 2>&5
13587 ac_status=$?
13588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13589 (exit $ac_status); }; }; then
13590 ac_lo=0 ac_mid=0
13591 while :; do
13592 cat >conftest.$ac_ext <<_ACEOF
13593#line $LINENO "configure"
13594/* confdefs.h. */
13595_ACEOF
13596cat confdefs.h >>conftest.$ac_ext
13597cat >>conftest.$ac_ext <<_ACEOF
13598/* end confdefs.h. */
13599$ac_includes_default
13600int
13601main ()
13602{
13603static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13604test_array [0] = 0
13605
13606 ;
13607 return 0;
13608}
13609_ACEOF
13610rm -f conftest.$ac_objext
13611if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13612 (eval $ac_compile) 2>&5
13613 ac_status=$?
13614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13615 (exit $ac_status); } &&
13616 { ac_try='test -s conftest.$ac_objext'
13617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13618 (eval $ac_try) 2>&5
13619 ac_status=$?
13620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13621 (exit $ac_status); }; }; then
13622 ac_hi=$ac_mid; break
13623else
13624 echo "$as_me: failed program was:" >&5
13625sed 's/^/| /' conftest.$ac_ext >&5
13626
13627ac_lo=`expr $ac_mid + 1`
13628 if test $ac_lo -le $ac_mid; then
13629 ac_lo= ac_hi=
13630 break
13631 fi
13632 ac_mid=`expr 2 '*' $ac_mid + 1`
13633fi
13634rm -f conftest.$ac_objext conftest.$ac_ext
13635 done
13636else
13637 echo "$as_me: failed program was:" >&5
13638sed 's/^/| /' conftest.$ac_ext >&5
13639
13640cat >conftest.$ac_ext <<_ACEOF
13641#line $LINENO "configure"
13642/* confdefs.h. */
13643_ACEOF
13644cat confdefs.h >>conftest.$ac_ext
13645cat >>conftest.$ac_ext <<_ACEOF
13646/* end confdefs.h. */
13647$ac_includes_default
13648int
13649main ()
13650{
13651static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13652test_array [0] = 0
13653
13654 ;
13655 return 0;
13656}
13657_ACEOF
13658rm -f conftest.$ac_objext
13659if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13660 (eval $ac_compile) 2>&5
13661 ac_status=$?
13662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13663 (exit $ac_status); } &&
13664 { ac_try='test -s conftest.$ac_objext'
13665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13666 (eval $ac_try) 2>&5
13667 ac_status=$?
13668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13669 (exit $ac_status); }; }; then
13670 ac_hi=-1 ac_mid=-1
13671 while :; do
13672 cat >conftest.$ac_ext <<_ACEOF
13673#line $LINENO "configure"
13674/* confdefs.h. */
13675_ACEOF
13676cat confdefs.h >>conftest.$ac_ext
13677cat >>conftest.$ac_ext <<_ACEOF
13678/* end confdefs.h. */
13679$ac_includes_default
13680int
13681main ()
13682{
13683static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13684test_array [0] = 0
13685
13686 ;
13687 return 0;
13688}
13689_ACEOF
13690rm -f conftest.$ac_objext
13691if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13692 (eval $ac_compile) 2>&5
13693 ac_status=$?
13694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13695 (exit $ac_status); } &&
13696 { ac_try='test -s conftest.$ac_objext'
13697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13698 (eval $ac_try) 2>&5
13699 ac_status=$?
13700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13701 (exit $ac_status); }; }; then
13702 ac_lo=$ac_mid; break
13703else
13704 echo "$as_me: failed program was:" >&5
13705sed 's/^/| /' conftest.$ac_ext >&5
13706
13707ac_hi=`expr '(' $ac_mid ')' - 1`
13708 if test $ac_mid -le $ac_hi; then
13709 ac_lo= ac_hi=
13710 break
13711 fi
13712 ac_mid=`expr 2 '*' $ac_mid`
13713fi
13714rm -f conftest.$ac_objext conftest.$ac_ext
13715 done
13716else
13717 echo "$as_me: failed program was:" >&5
13718sed 's/^/| /' conftest.$ac_ext >&5
13719
13720ac_lo= ac_hi=
13721fi
13722rm -f conftest.$ac_objext conftest.$ac_ext
13723fi
13724rm -f conftest.$ac_objext conftest.$ac_ext
13725# Binary search between lo and hi bounds.
13726while test "x$ac_lo" != "x$ac_hi"; do
13727 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13728 cat >conftest.$ac_ext <<_ACEOF
13729#line $LINENO "configure"
13730/* confdefs.h. */
13731_ACEOF
13732cat confdefs.h >>conftest.$ac_ext
13733cat >>conftest.$ac_ext <<_ACEOF
13734/* end confdefs.h. */
13735$ac_includes_default
13736int
13737main ()
13738{
13739static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13740test_array [0] = 0
13741
13742 ;
13743 return 0;
13744}
13745_ACEOF
13746rm -f conftest.$ac_objext
13747if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13748 (eval $ac_compile) 2>&5
13749 ac_status=$?
13750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13751 (exit $ac_status); } &&
13752 { ac_try='test -s conftest.$ac_objext'
13753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13754 (eval $ac_try) 2>&5
13755 ac_status=$?
13756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13757 (exit $ac_status); }; }; then
13758 ac_hi=$ac_mid
13759else
13760 echo "$as_me: failed program was:" >&5
13761sed 's/^/| /' conftest.$ac_ext >&5
13762
13763ac_lo=`expr '(' $ac_mid ')' + 1`
13764fi
13765rm -f conftest.$ac_objext conftest.$ac_ext
13766done
13767case $ac_lo in
13768?*) ac_cv_sizeof_char=$ac_lo;;
13769'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13770See \`config.log' for more details." >&5
13771echo "$as_me: error: cannot compute sizeof (char), 77
13772See \`config.log' for more details." >&2;}
13773 { (exit 1); exit 1; }; } ;;
13774esac
13775else
13776 if test "$cross_compiling" = yes; then
13777 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13778See \`config.log' for more details." >&5
13779echo "$as_me: error: cannot run test program while cross compiling
13780See \`config.log' for more details." >&2;}
13781 { (exit 1); exit 1; }; }
13782else
13783 cat >conftest.$ac_ext <<_ACEOF
13784#line $LINENO "configure"
13785/* confdefs.h. */
13786_ACEOF
13787cat confdefs.h >>conftest.$ac_ext
13788cat >>conftest.$ac_ext <<_ACEOF
13789/* end confdefs.h. */
13790$ac_includes_default
13791long longval () { return (long) (sizeof (char)); }
13792unsigned long ulongval () { return (long) (sizeof (char)); }
13793#include <stdio.h>
13794#include <stdlib.h>
13795int
13796main ()
13797{
13798
13799 FILE *f = fopen ("conftest.val", "w");
13800 if (! f)
13801 exit (1);
13802 if (((long) (sizeof (char))) < 0)
13803 {
13804 long i = longval ();
13805 if (i != ((long) (sizeof (char))))
13806 exit (1);
13807 fprintf (f, "%ld\n", i);
13808 }
13809 else
13810 {
13811 unsigned long i = ulongval ();
13812 if (i != ((long) (sizeof (char))))
13813 exit (1);
13814 fprintf (f, "%lu\n", i);
13815 }
13816 exit (ferror (f) || fclose (f) != 0);
13817
13818 ;
13819 return 0;
13820}
13821_ACEOF
13822rm -f conftest$ac_exeext
13823if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13824 (eval $ac_link) 2>&5
13825 ac_status=$?
13826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13829 (eval $ac_try) 2>&5
13830 ac_status=$?
13831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13832 (exit $ac_status); }; }; then
13833 ac_cv_sizeof_char=`cat conftest.val`
13834else
13835 echo "$as_me: program exited with status $ac_status" >&5
13836echo "$as_me: failed program was:" >&5
13837sed 's/^/| /' conftest.$ac_ext >&5
13838
13839( exit $ac_status )
13840{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13841See \`config.log' for more details." >&5
13842echo "$as_me: error: cannot compute sizeof (char), 77
13843See \`config.log' for more details." >&2;}
13844 { (exit 1); exit 1; }; }
13845fi
13846rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13847fi
13848fi
13849rm -f conftest.val
13850else
13851 ac_cv_sizeof_char=0
13852fi
13853fi
13854echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
13855echo "${ECHO_T}$ac_cv_sizeof_char" >&6
13856cat >>confdefs.h <<_ACEOF
13857#define SIZEOF_CHAR $ac_cv_sizeof_char
13858_ACEOF
13859
13860
13861echo "$as_me:$LINENO: checking for short" >&5
13862echo $ECHO_N "checking for short... $ECHO_C" >&6
13863if test "${ac_cv_type_short+set}" = set; then
13864 echo $ECHO_N "(cached) $ECHO_C" >&6
13865else
13866 cat >conftest.$ac_ext <<_ACEOF
13867#line $LINENO "configure"
13868/* confdefs.h. */
13869_ACEOF
13870cat confdefs.h >>conftest.$ac_ext
13871cat >>conftest.$ac_ext <<_ACEOF
13872/* end confdefs.h. */
13873$ac_includes_default
13874int
13875main ()
13876{
13877if ((short *) 0)
13878 return 0;
13879if (sizeof (short))
13880 return 0;
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_cv_type_short=yes
13898else
13899 echo "$as_me: failed program was:" >&5
13900sed 's/^/| /' conftest.$ac_ext >&5
13901
13902ac_cv_type_short=no
13903fi
13904rm -f conftest.$ac_objext conftest.$ac_ext
13905fi
13906echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
13907echo "${ECHO_T}$ac_cv_type_short" >&6
13908
13909echo "$as_me:$LINENO: checking size of short" >&5
13910echo $ECHO_N "checking size of short... $ECHO_C" >&6
13911if test "${ac_cv_sizeof_short+set}" = set; then
13912 echo $ECHO_N "(cached) $ECHO_C" >&6
13913else
13914 if test "$ac_cv_type_short" = yes; then
13915 # The cast to unsigned long works around a bug in the HP C Compiler
13916 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13917 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13918 # This bug is HP SR number 8606223364.
13919 if test "$cross_compiling" = yes; then
13920 # Depending upon the size, compute the lo and hi bounds.
13921cat >conftest.$ac_ext <<_ACEOF
13922#line $LINENO "configure"
13923/* confdefs.h. */
13924_ACEOF
13925cat confdefs.h >>conftest.$ac_ext
13926cat >>conftest.$ac_ext <<_ACEOF
13927/* end confdefs.h. */
13928$ac_includes_default
13929int
13930main ()
13931{
13932static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
13933test_array [0] = 0
13934
13935 ;
13936 return 0;
13937}
13938_ACEOF
13939rm -f conftest.$ac_objext
13940if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13941 (eval $ac_compile) 2>&5
13942 ac_status=$?
13943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13944 (exit $ac_status); } &&
13945 { ac_try='test -s conftest.$ac_objext'
13946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13947 (eval $ac_try) 2>&5
13948 ac_status=$?
13949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13950 (exit $ac_status); }; }; then
13951 ac_lo=0 ac_mid=0
13952 while :; do
13953 cat >conftest.$ac_ext <<_ACEOF
13954#line $LINENO "configure"
13955/* confdefs.h. */
13956_ACEOF
13957cat confdefs.h >>conftest.$ac_ext
13958cat >>conftest.$ac_ext <<_ACEOF
13959/* end confdefs.h. */
13960$ac_includes_default
13961int
13962main ()
13963{
13964static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
13965test_array [0] = 0
13966
13967 ;
13968 return 0;
13969}
13970_ACEOF
13971rm -f conftest.$ac_objext
13972if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13973 (eval $ac_compile) 2>&5
13974 ac_status=$?
13975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976 (exit $ac_status); } &&
13977 { ac_try='test -s conftest.$ac_objext'
13978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13979 (eval $ac_try) 2>&5
13980 ac_status=$?
13981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13982 (exit $ac_status); }; }; then
13983 ac_hi=$ac_mid; break
13984else
13985 echo "$as_me: failed program was:" >&5
13986sed 's/^/| /' conftest.$ac_ext >&5
13987
13988ac_lo=`expr $ac_mid + 1`
13989 if test $ac_lo -le $ac_mid; then
13990 ac_lo= ac_hi=
13991 break
13992 fi
13993 ac_mid=`expr 2 '*' $ac_mid + 1`
13994fi
13995rm -f conftest.$ac_objext conftest.$ac_ext
13996 done
13997else
13998 echo "$as_me: failed program was:" >&5
13999sed 's/^/| /' conftest.$ac_ext >&5
14000
14001cat >conftest.$ac_ext <<_ACEOF
14002#line $LINENO "configure"
14003/* confdefs.h. */
14004_ACEOF
14005cat confdefs.h >>conftest.$ac_ext
14006cat >>conftest.$ac_ext <<_ACEOF
14007/* end confdefs.h. */
14008$ac_includes_default
14009int
14010main ()
14011{
14012static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14013test_array [0] = 0
14014
14015 ;
14016 return 0;
14017}
14018_ACEOF
14019rm -f conftest.$ac_objext
14020if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14021 (eval $ac_compile) 2>&5
14022 ac_status=$?
14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); } &&
14025 { ac_try='test -s conftest.$ac_objext'
14026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14027 (eval $ac_try) 2>&5
14028 ac_status=$?
14029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14030 (exit $ac_status); }; }; then
14031 ac_hi=-1 ac_mid=-1
14032 while :; do
14033 cat >conftest.$ac_ext <<_ACEOF
14034#line $LINENO "configure"
14035/* confdefs.h. */
14036_ACEOF
14037cat confdefs.h >>conftest.$ac_ext
14038cat >>conftest.$ac_ext <<_ACEOF
14039/* end confdefs.h. */
14040$ac_includes_default
14041int
14042main ()
14043{
14044static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14045test_array [0] = 0
14046
14047 ;
14048 return 0;
14049}
14050_ACEOF
14051rm -f conftest.$ac_objext
14052if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14053 (eval $ac_compile) 2>&5
14054 ac_status=$?
14055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14056 (exit $ac_status); } &&
14057 { ac_try='test -s conftest.$ac_objext'
14058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14059 (eval $ac_try) 2>&5
14060 ac_status=$?
14061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14062 (exit $ac_status); }; }; then
14063 ac_lo=$ac_mid; break
14064else
14065 echo "$as_me: failed program was:" >&5
14066sed 's/^/| /' conftest.$ac_ext >&5
14067
14068ac_hi=`expr '(' $ac_mid ')' - 1`
14069 if test $ac_mid -le $ac_hi; then
14070 ac_lo= ac_hi=
14071 break
14072 fi
14073 ac_mid=`expr 2 '*' $ac_mid`
14074fi
14075rm -f conftest.$ac_objext conftest.$ac_ext
14076 done
14077else
14078 echo "$as_me: failed program was:" >&5
14079sed 's/^/| /' conftest.$ac_ext >&5
14080
14081ac_lo= ac_hi=
14082fi
14083rm -f conftest.$ac_objext conftest.$ac_ext
14084fi
14085rm -f conftest.$ac_objext conftest.$ac_ext
14086# Binary search between lo and hi bounds.
14087while test "x$ac_lo" != "x$ac_hi"; do
14088 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14089 cat >conftest.$ac_ext <<_ACEOF
14090#line $LINENO "configure"
14091/* confdefs.h. */
14092_ACEOF
14093cat confdefs.h >>conftest.$ac_ext
14094cat >>conftest.$ac_ext <<_ACEOF
14095/* end confdefs.h. */
14096$ac_includes_default
14097int
14098main ()
14099{
14100static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14101test_array [0] = 0
14102
14103 ;
14104 return 0;
14105}
14106_ACEOF
14107rm -f conftest.$ac_objext
14108if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14109 (eval $ac_compile) 2>&5
14110 ac_status=$?
14111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14112 (exit $ac_status); } &&
14113 { ac_try='test -s conftest.$ac_objext'
14114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14115 (eval $ac_try) 2>&5
14116 ac_status=$?
14117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14118 (exit $ac_status); }; }; then
14119 ac_hi=$ac_mid
14120else
14121 echo "$as_me: failed program was:" >&5
14122sed 's/^/| /' conftest.$ac_ext >&5
14123
14124ac_lo=`expr '(' $ac_mid ')' + 1`
14125fi
14126rm -f conftest.$ac_objext conftest.$ac_ext
14127done
14128case $ac_lo in
14129?*) ac_cv_sizeof_short=$ac_lo;;
14130'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14131See \`config.log' for more details." >&5
14132echo "$as_me: error: cannot compute sizeof (short), 77
14133See \`config.log' for more details." >&2;}
14134 { (exit 1); exit 1; }; } ;;
14135esac
14136else
14137 if test "$cross_compiling" = yes; then
14138 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14139See \`config.log' for more details." >&5
14140echo "$as_me: error: cannot run test program while cross compiling
14141See \`config.log' for more details." >&2;}
14142 { (exit 1); exit 1; }; }
14143else
14144 cat >conftest.$ac_ext <<_ACEOF
14145#line $LINENO "configure"
14146/* confdefs.h. */
14147_ACEOF
14148cat confdefs.h >>conftest.$ac_ext
14149cat >>conftest.$ac_ext <<_ACEOF
14150/* end confdefs.h. */
14151$ac_includes_default
14152long longval () { return (long) (sizeof (short)); }
14153unsigned long ulongval () { return (long) (sizeof (short)); }
14154#include <stdio.h>
14155#include <stdlib.h>
14156int
14157main ()
14158{
14159
14160 FILE *f = fopen ("conftest.val", "w");
14161 if (! f)
14162 exit (1);
14163 if (((long) (sizeof (short))) < 0)
14164 {
14165 long i = longval ();
14166 if (i != ((long) (sizeof (short))))
14167 exit (1);
14168 fprintf (f, "%ld\n", i);
14169 }
14170 else
14171 {
14172 unsigned long i = ulongval ();
14173 if (i != ((long) (sizeof (short))))
14174 exit (1);
14175 fprintf (f, "%lu\n", i);
14176 }
14177 exit (ferror (f) || fclose (f) != 0);
14178
14179 ;
14180 return 0;
14181}
14182_ACEOF
14183rm -f conftest$ac_exeext
14184if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14185 (eval $ac_link) 2>&5
14186 ac_status=$?
14187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14188 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14190 (eval $ac_try) 2>&5
14191 ac_status=$?
14192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14193 (exit $ac_status); }; }; then
14194 ac_cv_sizeof_short=`cat conftest.val`
14195else
14196 echo "$as_me: program exited with status $ac_status" >&5
14197echo "$as_me: failed program was:" >&5
14198sed 's/^/| /' conftest.$ac_ext >&5
14199
14200( exit $ac_status )
14201{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14202See \`config.log' for more details." >&5
14203echo "$as_me: error: cannot compute sizeof (short), 77
14204See \`config.log' for more details." >&2;}
14205 { (exit 1); exit 1; }; }
14206fi
14207rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14208fi
14209fi
14210rm -f conftest.val
14211else
14212 ac_cv_sizeof_short=0
14213fi
14214fi
14215echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14216echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14217cat >>confdefs.h <<_ACEOF
14218#define SIZEOF_SHORT $ac_cv_sizeof_short
14219_ACEOF
14220
14221
14222echo "$as_me:$LINENO: checking for void *" >&5
14223echo $ECHO_N "checking for void *... $ECHO_C" >&6
14224if test "${ac_cv_type_void_p+set}" = set; then
14225 echo $ECHO_N "(cached) $ECHO_C" >&6
14226else
14227 cat >conftest.$ac_ext <<_ACEOF
14228#line $LINENO "configure"
14229/* confdefs.h. */
14230_ACEOF
14231cat confdefs.h >>conftest.$ac_ext
14232cat >>conftest.$ac_ext <<_ACEOF
14233/* end confdefs.h. */
14234$ac_includes_default
14235int
14236main ()
14237{
14238if ((void * *) 0)
14239 return 0;
14240if (sizeof (void *))
14241 return 0;
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_cv_type_void_p=yes
14259else
14260 echo "$as_me: failed program was:" >&5
14261sed 's/^/| /' conftest.$ac_ext >&5
14262
14263ac_cv_type_void_p=no
14264fi
14265rm -f conftest.$ac_objext conftest.$ac_ext
14266fi
14267echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14268echo "${ECHO_T}$ac_cv_type_void_p" >&6
14269
14270echo "$as_me:$LINENO: checking size of void *" >&5
14271echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14272if test "${ac_cv_sizeof_void_p+set}" = set; then
14273 echo $ECHO_N "(cached) $ECHO_C" >&6
14274else
14275 if test "$ac_cv_type_void_p" = yes; then
14276 # The cast to unsigned long works around a bug in the HP C Compiler
14277 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14278 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14279 # This bug is HP SR number 8606223364.
14280 if test "$cross_compiling" = yes; then
14281 # Depending upon the size, compute the lo and hi bounds.
14282cat >conftest.$ac_ext <<_ACEOF
14283#line $LINENO "configure"
14284/* confdefs.h. */
14285_ACEOF
14286cat confdefs.h >>conftest.$ac_ext
14287cat >>conftest.$ac_ext <<_ACEOF
14288/* end confdefs.h. */
14289$ac_includes_default
14290int
14291main ()
14292{
14293static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14294test_array [0] = 0
14295
14296 ;
14297 return 0;
14298}
14299_ACEOF
14300rm -f conftest.$ac_objext
14301if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14302 (eval $ac_compile) 2>&5
14303 ac_status=$?
14304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14305 (exit $ac_status); } &&
14306 { ac_try='test -s conftest.$ac_objext'
14307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14308 (eval $ac_try) 2>&5
14309 ac_status=$?
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 (exit $ac_status); }; }; then
14312 ac_lo=0 ac_mid=0
14313 while :; do
14314 cat >conftest.$ac_ext <<_ACEOF
14315#line $LINENO "configure"
14316/* confdefs.h. */
14317_ACEOF
14318cat confdefs.h >>conftest.$ac_ext
14319cat >>conftest.$ac_ext <<_ACEOF
14320/* end confdefs.h. */
14321$ac_includes_default
14322int
14323main ()
14324{
14325static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14326test_array [0] = 0
14327
14328 ;
14329 return 0;
14330}
14331_ACEOF
14332rm -f conftest.$ac_objext
14333if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14334 (eval $ac_compile) 2>&5
14335 ac_status=$?
14336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14337 (exit $ac_status); } &&
14338 { ac_try='test -s conftest.$ac_objext'
14339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14340 (eval $ac_try) 2>&5
14341 ac_status=$?
14342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14343 (exit $ac_status); }; }; then
14344 ac_hi=$ac_mid; break
14345else
14346 echo "$as_me: failed program was:" >&5
14347sed 's/^/| /' conftest.$ac_ext >&5
14348
14349ac_lo=`expr $ac_mid + 1`
14350 if test $ac_lo -le $ac_mid; then
14351 ac_lo= ac_hi=
14352 break
14353 fi
14354 ac_mid=`expr 2 '*' $ac_mid + 1`
14355fi
14356rm -f conftest.$ac_objext conftest.$ac_ext
14357 done
14358else
14359 echo "$as_me: failed program was:" >&5
14360sed 's/^/| /' conftest.$ac_ext >&5
14361
14362cat >conftest.$ac_ext <<_ACEOF
14363#line $LINENO "configure"
14364/* confdefs.h. */
14365_ACEOF
14366cat confdefs.h >>conftest.$ac_ext
14367cat >>conftest.$ac_ext <<_ACEOF
14368/* end confdefs.h. */
14369$ac_includes_default
14370int
14371main ()
14372{
14373static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14374test_array [0] = 0
14375
14376 ;
14377 return 0;
14378}
14379_ACEOF
14380rm -f conftest.$ac_objext
14381if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14382 (eval $ac_compile) 2>&5
14383 ac_status=$?
14384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14385 (exit $ac_status); } &&
14386 { ac_try='test -s conftest.$ac_objext'
14387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14388 (eval $ac_try) 2>&5
14389 ac_status=$?
14390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14391 (exit $ac_status); }; }; then
14392 ac_hi=-1 ac_mid=-1
14393 while :; do
14394 cat >conftest.$ac_ext <<_ACEOF
14395#line $LINENO "configure"
14396/* confdefs.h. */
14397_ACEOF
14398cat confdefs.h >>conftest.$ac_ext
14399cat >>conftest.$ac_ext <<_ACEOF
14400/* end confdefs.h. */
14401$ac_includes_default
14402int
14403main ()
14404{
14405static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14406test_array [0] = 0
14407
14408 ;
14409 return 0;
14410}
14411_ACEOF
14412rm -f conftest.$ac_objext
14413if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14414 (eval $ac_compile) 2>&5
14415 ac_status=$?
14416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14417 (exit $ac_status); } &&
14418 { ac_try='test -s conftest.$ac_objext'
14419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14420 (eval $ac_try) 2>&5
14421 ac_status=$?
14422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14423 (exit $ac_status); }; }; then
14424 ac_lo=$ac_mid; break
14425else
14426 echo "$as_me: failed program was:" >&5
14427sed 's/^/| /' conftest.$ac_ext >&5
14428
14429ac_hi=`expr '(' $ac_mid ')' - 1`
14430 if test $ac_mid -le $ac_hi; then
14431 ac_lo= ac_hi=
14432 break
14433 fi
14434 ac_mid=`expr 2 '*' $ac_mid`
14435fi
14436rm -f conftest.$ac_objext conftest.$ac_ext
14437 done
14438else
14439 echo "$as_me: failed program was:" >&5
14440sed 's/^/| /' conftest.$ac_ext >&5
14441
14442ac_lo= ac_hi=
14443fi
14444rm -f conftest.$ac_objext conftest.$ac_ext
14445fi
14446rm -f conftest.$ac_objext conftest.$ac_ext
14447# Binary search between lo and hi bounds.
14448while test "x$ac_lo" != "x$ac_hi"; do
14449 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14450 cat >conftest.$ac_ext <<_ACEOF
14451#line $LINENO "configure"
14452/* confdefs.h. */
14453_ACEOF
14454cat confdefs.h >>conftest.$ac_ext
14455cat >>conftest.$ac_ext <<_ACEOF
14456/* end confdefs.h. */
14457$ac_includes_default
14458int
14459main ()
14460{
14461static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14462test_array [0] = 0
14463
14464 ;
14465 return 0;
14466}
14467_ACEOF
14468rm -f conftest.$ac_objext
14469if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14470 (eval $ac_compile) 2>&5
14471 ac_status=$?
14472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14473 (exit $ac_status); } &&
14474 { ac_try='test -s conftest.$ac_objext'
14475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14476 (eval $ac_try) 2>&5
14477 ac_status=$?
14478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14479 (exit $ac_status); }; }; then
14480 ac_hi=$ac_mid
14481else
14482 echo "$as_me: failed program was:" >&5
14483sed 's/^/| /' conftest.$ac_ext >&5
14484
14485ac_lo=`expr '(' $ac_mid ')' + 1`
14486fi
14487rm -f conftest.$ac_objext conftest.$ac_ext
14488done
14489case $ac_lo in
14490?*) ac_cv_sizeof_void_p=$ac_lo;;
14491'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14492See \`config.log' for more details." >&5
14493echo "$as_me: error: cannot compute sizeof (void *), 77
14494See \`config.log' for more details." >&2;}
14495 { (exit 1); exit 1; }; } ;;
14496esac
14497else
14498 if test "$cross_compiling" = yes; then
14499 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14500See \`config.log' for more details." >&5
14501echo "$as_me: error: cannot run test program while cross compiling
14502See \`config.log' for more details." >&2;}
14503 { (exit 1); exit 1; }; }
14504else
14505 cat >conftest.$ac_ext <<_ACEOF
14506#line $LINENO "configure"
14507/* confdefs.h. */
14508_ACEOF
14509cat confdefs.h >>conftest.$ac_ext
14510cat >>conftest.$ac_ext <<_ACEOF
14511/* end confdefs.h. */
14512$ac_includes_default
14513long longval () { return (long) (sizeof (void *)); }
14514unsigned long ulongval () { return (long) (sizeof (void *)); }
14515#include <stdio.h>
14516#include <stdlib.h>
14517int
14518main ()
14519{
14520
14521 FILE *f = fopen ("conftest.val", "w");
14522 if (! f)
14523 exit (1);
14524 if (((long) (sizeof (void *))) < 0)
14525 {
14526 long i = longval ();
14527 if (i != ((long) (sizeof (void *))))
14528 exit (1);
14529 fprintf (f, "%ld\n", i);
14530 }
14531 else
14532 {
14533 unsigned long i = ulongval ();
14534 if (i != ((long) (sizeof (void *))))
14535 exit (1);
14536 fprintf (f, "%lu\n", i);
14537 }
14538 exit (ferror (f) || fclose (f) != 0);
14539
14540 ;
14541 return 0;
14542}
14543_ACEOF
14544rm -f conftest$ac_exeext
14545if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14546 (eval $ac_link) 2>&5
14547 ac_status=$?
14548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14549 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14551 (eval $ac_try) 2>&5
14552 ac_status=$?
14553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554 (exit $ac_status); }; }; then
14555 ac_cv_sizeof_void_p=`cat conftest.val`
14556else
14557 echo "$as_me: program exited with status $ac_status" >&5
14558echo "$as_me: failed program was:" >&5
14559sed 's/^/| /' conftest.$ac_ext >&5
14560
14561( exit $ac_status )
14562{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14563See \`config.log' for more details." >&5
14564echo "$as_me: error: cannot compute sizeof (void *), 77
14565See \`config.log' for more details." >&2;}
14566 { (exit 1); exit 1; }; }
14567fi
14568rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14569fi
14570fi
14571rm -f conftest.val
14572else
14573 ac_cv_sizeof_void_p=0
14574fi
14575fi
14576echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14577echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14578cat >>confdefs.h <<_ACEOF
14579#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14580_ACEOF
14581
14582
14583echo "$as_me:$LINENO: checking for int" >&5
14584echo $ECHO_N "checking for int... $ECHO_C" >&6
14585if test "${ac_cv_type_int+set}" = set; then
14586 echo $ECHO_N "(cached) $ECHO_C" >&6
14587else
14588 cat >conftest.$ac_ext <<_ACEOF
14589#line $LINENO "configure"
14590/* confdefs.h. */
14591_ACEOF
14592cat confdefs.h >>conftest.$ac_ext
14593cat >>conftest.$ac_ext <<_ACEOF
14594/* end confdefs.h. */
14595$ac_includes_default
14596int
14597main ()
14598{
14599if ((int *) 0)
14600 return 0;
14601if (sizeof (int))
14602 return 0;
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_cv_type_int=yes
14620else
14621 echo "$as_me: failed program was:" >&5
14622sed 's/^/| /' conftest.$ac_ext >&5
14623
14624ac_cv_type_int=no
14625fi
14626rm -f conftest.$ac_objext conftest.$ac_ext
14627fi
14628echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14629echo "${ECHO_T}$ac_cv_type_int" >&6
14630
14631echo "$as_me:$LINENO: checking size of int" >&5
14632echo $ECHO_N "checking size of int... $ECHO_C" >&6
14633if test "${ac_cv_sizeof_int+set}" = set; then
14634 echo $ECHO_N "(cached) $ECHO_C" >&6
14635else
14636 if test "$ac_cv_type_int" = yes; then
14637 # The cast to unsigned long works around a bug in the HP C Compiler
14638 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14639 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14640 # This bug is HP SR number 8606223364.
14641 if test "$cross_compiling" = yes; then
14642 # Depending upon the size, compute the lo and hi bounds.
14643cat >conftest.$ac_ext <<_ACEOF
14644#line $LINENO "configure"
14645/* confdefs.h. */
14646_ACEOF
14647cat confdefs.h >>conftest.$ac_ext
14648cat >>conftest.$ac_ext <<_ACEOF
14649/* end confdefs.h. */
14650$ac_includes_default
14651int
14652main ()
14653{
14654static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14655test_array [0] = 0
14656
14657 ;
14658 return 0;
14659}
14660_ACEOF
14661rm -f conftest.$ac_objext
14662if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14663 (eval $ac_compile) 2>&5
14664 ac_status=$?
14665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14666 (exit $ac_status); } &&
14667 { ac_try='test -s conftest.$ac_objext'
14668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14669 (eval $ac_try) 2>&5
14670 ac_status=$?
14671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14672 (exit $ac_status); }; }; then
14673 ac_lo=0 ac_mid=0
14674 while :; do
14675 cat >conftest.$ac_ext <<_ACEOF
14676#line $LINENO "configure"
14677/* confdefs.h. */
14678_ACEOF
14679cat confdefs.h >>conftest.$ac_ext
14680cat >>conftest.$ac_ext <<_ACEOF
14681/* end confdefs.h. */
14682$ac_includes_default
14683int
14684main ()
14685{
14686static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14687test_array [0] = 0
14688
14689 ;
14690 return 0;
14691}
14692_ACEOF
14693rm -f conftest.$ac_objext
14694if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14695 (eval $ac_compile) 2>&5
14696 ac_status=$?
14697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14698 (exit $ac_status); } &&
14699 { ac_try='test -s conftest.$ac_objext'
14700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14701 (eval $ac_try) 2>&5
14702 ac_status=$?
14703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14704 (exit $ac_status); }; }; then
14705 ac_hi=$ac_mid; break
14706else
14707 echo "$as_me: failed program was:" >&5
14708sed 's/^/| /' conftest.$ac_ext >&5
14709
14710ac_lo=`expr $ac_mid + 1`
14711 if test $ac_lo -le $ac_mid; then
14712 ac_lo= ac_hi=
14713 break
14714 fi
14715 ac_mid=`expr 2 '*' $ac_mid + 1`
14716fi
14717rm -f conftest.$ac_objext conftest.$ac_ext
14718 done
14719else
14720 echo "$as_me: failed program was:" >&5
14721sed 's/^/| /' conftest.$ac_ext >&5
14722
14723cat >conftest.$ac_ext <<_ACEOF
14724#line $LINENO "configure"
14725/* confdefs.h. */
14726_ACEOF
14727cat confdefs.h >>conftest.$ac_ext
14728cat >>conftest.$ac_ext <<_ACEOF
14729/* end confdefs.h. */
14730$ac_includes_default
14731int
14732main ()
14733{
14734static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14735test_array [0] = 0
14736
14737 ;
14738 return 0;
14739}
14740_ACEOF
14741rm -f conftest.$ac_objext
14742if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14743 (eval $ac_compile) 2>&5
14744 ac_status=$?
14745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14746 (exit $ac_status); } &&
14747 { ac_try='test -s conftest.$ac_objext'
14748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14749 (eval $ac_try) 2>&5
14750 ac_status=$?
14751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14752 (exit $ac_status); }; }; then
14753 ac_hi=-1 ac_mid=-1
14754 while :; do
14755 cat >conftest.$ac_ext <<_ACEOF
14756#line $LINENO "configure"
14757/* confdefs.h. */
14758_ACEOF
14759cat confdefs.h >>conftest.$ac_ext
14760cat >>conftest.$ac_ext <<_ACEOF
14761/* end confdefs.h. */
14762$ac_includes_default
14763int
14764main ()
14765{
14766static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14767test_array [0] = 0
14768
14769 ;
14770 return 0;
14771}
14772_ACEOF
14773rm -f conftest.$ac_objext
14774if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14775 (eval $ac_compile) 2>&5
14776 ac_status=$?
14777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14778 (exit $ac_status); } &&
14779 { ac_try='test -s conftest.$ac_objext'
14780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14781 (eval $ac_try) 2>&5
14782 ac_status=$?
14783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14784 (exit $ac_status); }; }; then
14785 ac_lo=$ac_mid; break
14786else
14787 echo "$as_me: failed program was:" >&5
14788sed 's/^/| /' conftest.$ac_ext >&5
14789
14790ac_hi=`expr '(' $ac_mid ')' - 1`
14791 if test $ac_mid -le $ac_hi; then
14792 ac_lo= ac_hi=
14793 break
14794 fi
14795 ac_mid=`expr 2 '*' $ac_mid`
14796fi
14797rm -f conftest.$ac_objext conftest.$ac_ext
14798 done
14799else
14800 echo "$as_me: failed program was:" >&5
14801sed 's/^/| /' conftest.$ac_ext >&5
14802
14803ac_lo= ac_hi=
14804fi
14805rm -f conftest.$ac_objext conftest.$ac_ext
14806fi
14807rm -f conftest.$ac_objext conftest.$ac_ext
14808# Binary search between lo and hi bounds.
14809while test "x$ac_lo" != "x$ac_hi"; do
14810 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14811 cat >conftest.$ac_ext <<_ACEOF
14812#line $LINENO "configure"
14813/* confdefs.h. */
14814_ACEOF
14815cat confdefs.h >>conftest.$ac_ext
14816cat >>conftest.$ac_ext <<_ACEOF
14817/* end confdefs.h. */
14818$ac_includes_default
14819int
14820main ()
14821{
14822static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14823test_array [0] = 0
14824
14825 ;
14826 return 0;
14827}
14828_ACEOF
14829rm -f conftest.$ac_objext
14830if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14831 (eval $ac_compile) 2>&5
14832 ac_status=$?
14833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14834 (exit $ac_status); } &&
14835 { ac_try='test -s conftest.$ac_objext'
14836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14837 (eval $ac_try) 2>&5
14838 ac_status=$?
14839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14840 (exit $ac_status); }; }; then
14841 ac_hi=$ac_mid
14842else
14843 echo "$as_me: failed program was:" >&5
14844sed 's/^/| /' conftest.$ac_ext >&5
14845
14846ac_lo=`expr '(' $ac_mid ')' + 1`
14847fi
14848rm -f conftest.$ac_objext conftest.$ac_ext
14849done
14850case $ac_lo in
14851?*) ac_cv_sizeof_int=$ac_lo;;
14852'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14853See \`config.log' for more details." >&5
14854echo "$as_me: error: cannot compute sizeof (int), 77
14855See \`config.log' for more details." >&2;}
14856 { (exit 1); exit 1; }; } ;;
14857esac
14858else
14859 if test "$cross_compiling" = yes; then
14860 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14861See \`config.log' for more details." >&5
14862echo "$as_me: error: cannot run test program while cross compiling
14863See \`config.log' for more details." >&2;}
14864 { (exit 1); exit 1; }; }
14865else
14866 cat >conftest.$ac_ext <<_ACEOF
14867#line $LINENO "configure"
14868/* confdefs.h. */
14869_ACEOF
14870cat confdefs.h >>conftest.$ac_ext
14871cat >>conftest.$ac_ext <<_ACEOF
14872/* end confdefs.h. */
14873$ac_includes_default
14874long longval () { return (long) (sizeof (int)); }
14875unsigned long ulongval () { return (long) (sizeof (int)); }
14876#include <stdio.h>
14877#include <stdlib.h>
14878int
14879main ()
14880{
14881
14882 FILE *f = fopen ("conftest.val", "w");
14883 if (! f)
14884 exit (1);
14885 if (((long) (sizeof (int))) < 0)
14886 {
14887 long i = longval ();
14888 if (i != ((long) (sizeof (int))))
14889 exit (1);
14890 fprintf (f, "%ld\n", i);
14891 }
14892 else
14893 {
14894 unsigned long i = ulongval ();
14895 if (i != ((long) (sizeof (int))))
14896 exit (1);
14897 fprintf (f, "%lu\n", i);
14898 }
14899 exit (ferror (f) || fclose (f) != 0);
14900
14901 ;
14902 return 0;
14903}
14904_ACEOF
14905rm -f conftest$ac_exeext
14906if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14907 (eval $ac_link) 2>&5
14908 ac_status=$?
14909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14910 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14912 (eval $ac_try) 2>&5
14913 ac_status=$?
14914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14915 (exit $ac_status); }; }; then
14916 ac_cv_sizeof_int=`cat conftest.val`
14917else
14918 echo "$as_me: program exited with status $ac_status" >&5
14919echo "$as_me: failed program was:" >&5
14920sed 's/^/| /' conftest.$ac_ext >&5
14921
14922( exit $ac_status )
14923{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14924See \`config.log' for more details." >&5
14925echo "$as_me: error: cannot compute sizeof (int), 77
14926See \`config.log' for more details." >&2;}
14927 { (exit 1); exit 1; }; }
14928fi
14929rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14930fi
14931fi
14932rm -f conftest.val
14933else
14934 ac_cv_sizeof_int=0
14935fi
14936fi
14937echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
14938echo "${ECHO_T}$ac_cv_sizeof_int" >&6
14939cat >>confdefs.h <<_ACEOF
14940#define SIZEOF_INT $ac_cv_sizeof_int
14941_ACEOF
14942
14943
14944echo "$as_me:$LINENO: checking for long" >&5
14945echo $ECHO_N "checking for long... $ECHO_C" >&6
14946if test "${ac_cv_type_long+set}" = set; then
14947 echo $ECHO_N "(cached) $ECHO_C" >&6
14948else
14949 cat >conftest.$ac_ext <<_ACEOF
14950#line $LINENO "configure"
14951/* confdefs.h. */
14952_ACEOF
14953cat confdefs.h >>conftest.$ac_ext
14954cat >>conftest.$ac_ext <<_ACEOF
14955/* end confdefs.h. */
14956$ac_includes_default
14957int
14958main ()
14959{
14960if ((long *) 0)
14961 return 0;
14962if (sizeof (long))
14963 return 0;
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_cv_type_long=yes
14981else
14982 echo "$as_me: failed program was:" >&5
14983sed 's/^/| /' conftest.$ac_ext >&5
14984
14985ac_cv_type_long=no
14986fi
14987rm -f conftest.$ac_objext conftest.$ac_ext
14988fi
14989echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
14990echo "${ECHO_T}$ac_cv_type_long" >&6
14991
14992echo "$as_me:$LINENO: checking size of long" >&5
14993echo $ECHO_N "checking size of long... $ECHO_C" >&6
14994if test "${ac_cv_sizeof_long+set}" = set; then
14995 echo $ECHO_N "(cached) $ECHO_C" >&6
14996else
14997 if test "$ac_cv_type_long" = yes; then
14998 # The cast to unsigned long works around a bug in the HP C Compiler
14999 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15000 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15001 # This bug is HP SR number 8606223364.
15002 if test "$cross_compiling" = yes; then
15003 # Depending upon the size, compute the lo and hi bounds.
15004cat >conftest.$ac_ext <<_ACEOF
15005#line $LINENO "configure"
15006/* confdefs.h. */
15007_ACEOF
15008cat confdefs.h >>conftest.$ac_ext
15009cat >>conftest.$ac_ext <<_ACEOF
15010/* end confdefs.h. */
15011$ac_includes_default
15012int
15013main ()
15014{
15015static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15016test_array [0] = 0
15017
15018 ;
15019 return 0;
15020}
15021_ACEOF
15022rm -f conftest.$ac_objext
15023if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15024 (eval $ac_compile) 2>&5
15025 ac_status=$?
15026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15027 (exit $ac_status); } &&
15028 { ac_try='test -s conftest.$ac_objext'
15029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15030 (eval $ac_try) 2>&5
15031 ac_status=$?
15032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15033 (exit $ac_status); }; }; then
15034 ac_lo=0 ac_mid=0
15035 while :; do
15036 cat >conftest.$ac_ext <<_ACEOF
15037#line $LINENO "configure"
15038/* confdefs.h. */
15039_ACEOF
15040cat confdefs.h >>conftest.$ac_ext
15041cat >>conftest.$ac_ext <<_ACEOF
15042/* end confdefs.h. */
15043$ac_includes_default
15044int
15045main ()
15046{
15047static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15048test_array [0] = 0
15049
15050 ;
15051 return 0;
15052}
15053_ACEOF
15054rm -f conftest.$ac_objext
15055if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15056 (eval $ac_compile) 2>&5
15057 ac_status=$?
15058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15059 (exit $ac_status); } &&
15060 { ac_try='test -s conftest.$ac_objext'
15061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15062 (eval $ac_try) 2>&5
15063 ac_status=$?
15064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15065 (exit $ac_status); }; }; then
15066 ac_hi=$ac_mid; break
15067else
15068 echo "$as_me: failed program was:" >&5
15069sed 's/^/| /' conftest.$ac_ext >&5
15070
15071ac_lo=`expr $ac_mid + 1`
15072 if test $ac_lo -le $ac_mid; then
15073 ac_lo= ac_hi=
15074 break
15075 fi
15076 ac_mid=`expr 2 '*' $ac_mid + 1`
15077fi
15078rm -f conftest.$ac_objext conftest.$ac_ext
15079 done
15080else
15081 echo "$as_me: failed program was:" >&5
15082sed 's/^/| /' conftest.$ac_ext >&5
15083
15084cat >conftest.$ac_ext <<_ACEOF
15085#line $LINENO "configure"
15086/* confdefs.h. */
15087_ACEOF
15088cat confdefs.h >>conftest.$ac_ext
15089cat >>conftest.$ac_ext <<_ACEOF
15090/* end confdefs.h. */
15091$ac_includes_default
15092int
15093main ()
15094{
15095static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15096test_array [0] = 0
15097
15098 ;
15099 return 0;
15100}
15101_ACEOF
15102rm -f conftest.$ac_objext
15103if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15104 (eval $ac_compile) 2>&5
15105 ac_status=$?
15106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15107 (exit $ac_status); } &&
15108 { ac_try='test -s conftest.$ac_objext'
15109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15110 (eval $ac_try) 2>&5
15111 ac_status=$?
15112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15113 (exit $ac_status); }; }; then
15114 ac_hi=-1 ac_mid=-1
15115 while :; do
15116 cat >conftest.$ac_ext <<_ACEOF
15117#line $LINENO "configure"
15118/* confdefs.h. */
15119_ACEOF
15120cat confdefs.h >>conftest.$ac_ext
15121cat >>conftest.$ac_ext <<_ACEOF
15122/* end confdefs.h. */
15123$ac_includes_default
15124int
15125main ()
15126{
15127static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15128test_array [0] = 0
15129
15130 ;
15131 return 0;
15132}
15133_ACEOF
15134rm -f conftest.$ac_objext
15135if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15136 (eval $ac_compile) 2>&5
15137 ac_status=$?
15138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15139 (exit $ac_status); } &&
15140 { ac_try='test -s conftest.$ac_objext'
15141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15142 (eval $ac_try) 2>&5
15143 ac_status=$?
15144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15145 (exit $ac_status); }; }; then
15146 ac_lo=$ac_mid; break
15147else
15148 echo "$as_me: failed program was:" >&5
15149sed 's/^/| /' conftest.$ac_ext >&5
15150
15151ac_hi=`expr '(' $ac_mid ')' - 1`
15152 if test $ac_mid -le $ac_hi; then
15153 ac_lo= ac_hi=
15154 break
15155 fi
15156 ac_mid=`expr 2 '*' $ac_mid`
15157fi
15158rm -f conftest.$ac_objext conftest.$ac_ext
15159 done
15160else
15161 echo "$as_me: failed program was:" >&5
15162sed 's/^/| /' conftest.$ac_ext >&5
15163
15164ac_lo= ac_hi=
15165fi
15166rm -f conftest.$ac_objext conftest.$ac_ext
15167fi
15168rm -f conftest.$ac_objext conftest.$ac_ext
15169# Binary search between lo and hi bounds.
15170while test "x$ac_lo" != "x$ac_hi"; do
15171 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15172 cat >conftest.$ac_ext <<_ACEOF
15173#line $LINENO "configure"
15174/* confdefs.h. */
15175_ACEOF
15176cat confdefs.h >>conftest.$ac_ext
15177cat >>conftest.$ac_ext <<_ACEOF
15178/* end confdefs.h. */
15179$ac_includes_default
15180int
15181main ()
15182{
15183static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15184test_array [0] = 0
15185
15186 ;
15187 return 0;
15188}
15189_ACEOF
15190rm -f conftest.$ac_objext
15191if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15192 (eval $ac_compile) 2>&5
15193 ac_status=$?
15194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15195 (exit $ac_status); } &&
15196 { ac_try='test -s conftest.$ac_objext'
15197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15198 (eval $ac_try) 2>&5
15199 ac_status=$?
15200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15201 (exit $ac_status); }; }; then
15202 ac_hi=$ac_mid
15203else
15204 echo "$as_me: failed program was:" >&5
15205sed 's/^/| /' conftest.$ac_ext >&5
15206
15207ac_lo=`expr '(' $ac_mid ')' + 1`
15208fi
15209rm -f conftest.$ac_objext conftest.$ac_ext
15210done
15211case $ac_lo in
15212?*) ac_cv_sizeof_long=$ac_lo;;
15213'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15214See \`config.log' for more details." >&5
15215echo "$as_me: error: cannot compute sizeof (long), 77
15216See \`config.log' for more details." >&2;}
15217 { (exit 1); exit 1; }; } ;;
15218esac
15219else
15220 if test "$cross_compiling" = yes; then
15221 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15222See \`config.log' for more details." >&5
15223echo "$as_me: error: cannot run test program while cross compiling
15224See \`config.log' for more details." >&2;}
15225 { (exit 1); exit 1; }; }
15226else
15227 cat >conftest.$ac_ext <<_ACEOF
15228#line $LINENO "configure"
15229/* confdefs.h. */
15230_ACEOF
15231cat confdefs.h >>conftest.$ac_ext
15232cat >>conftest.$ac_ext <<_ACEOF
15233/* end confdefs.h. */
15234$ac_includes_default
15235long longval () { return (long) (sizeof (long)); }
15236unsigned long ulongval () { return (long) (sizeof (long)); }
15237#include <stdio.h>
15238#include <stdlib.h>
15239int
15240main ()
15241{
15242
15243 FILE *f = fopen ("conftest.val", "w");
15244 if (! f)
15245 exit (1);
15246 if (((long) (sizeof (long))) < 0)
15247 {
15248 long i = longval ();
15249 if (i != ((long) (sizeof (long))))
15250 exit (1);
15251 fprintf (f, "%ld\n", i);
15252 }
15253 else
15254 {
15255 unsigned long i = ulongval ();
15256 if (i != ((long) (sizeof (long))))
15257 exit (1);
15258 fprintf (f, "%lu\n", i);
15259 }
15260 exit (ferror (f) || fclose (f) != 0);
15261
15262 ;
15263 return 0;
15264}
15265_ACEOF
15266rm -f conftest$ac_exeext
15267if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15268 (eval $ac_link) 2>&5
15269 ac_status=$?
15270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15271 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15273 (eval $ac_try) 2>&5
15274 ac_status=$?
15275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15276 (exit $ac_status); }; }; then
15277 ac_cv_sizeof_long=`cat conftest.val`
15278else
15279 echo "$as_me: program exited with status $ac_status" >&5
15280echo "$as_me: failed program was:" >&5
15281sed 's/^/| /' conftest.$ac_ext >&5
15282
15283( exit $ac_status )
15284{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15285See \`config.log' for more details." >&5
15286echo "$as_me: error: cannot compute sizeof (long), 77
15287See \`config.log' for more details." >&2;}
15288 { (exit 1); exit 1; }; }
15289fi
15290rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15291fi
15292fi
15293rm -f conftest.val
15294else
15295 ac_cv_sizeof_long=0
15296fi
15297fi
15298echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15299echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15300cat >>confdefs.h <<_ACEOF
15301#define SIZEOF_LONG $ac_cv_sizeof_long
15302_ACEOF
15303
15304
15305
15306case "${host}" in
15307 arm-*-linux* )
15308 echo "$as_me:$LINENO: checking for long long" >&5
15309echo $ECHO_N "checking for long long... $ECHO_C" >&6
15310if test "${ac_cv_type_long_long+set}" = set; then
15311 echo $ECHO_N "(cached) $ECHO_C" >&6
15312else
15313 cat >conftest.$ac_ext <<_ACEOF
15314#line $LINENO "configure"
15315/* confdefs.h. */
15316_ACEOF
15317cat confdefs.h >>conftest.$ac_ext
15318cat >>conftest.$ac_ext <<_ACEOF
15319/* end confdefs.h. */
15320$ac_includes_default
15321int
15322main ()
15323{
15324if ((long long *) 0)
15325 return 0;
15326if (sizeof (long long))
15327 return 0;
15328 ;
15329 return 0;
15330}
15331_ACEOF
15332rm -f conftest.$ac_objext
15333if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15334 (eval $ac_compile) 2>&5
15335 ac_status=$?
15336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15337 (exit $ac_status); } &&
15338 { ac_try='test -s conftest.$ac_objext'
15339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15340 (eval $ac_try) 2>&5
15341 ac_status=$?
15342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15343 (exit $ac_status); }; }; then
15344 ac_cv_type_long_long=yes
15345else
15346 echo "$as_me: failed program was:" >&5
15347sed 's/^/| /' conftest.$ac_ext >&5
15348
15349ac_cv_type_long_long=no
15350fi
15351rm -f conftest.$ac_objext conftest.$ac_ext
15352fi
15353echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15354echo "${ECHO_T}$ac_cv_type_long_long" >&6
15355
15356echo "$as_me:$LINENO: checking size of long long" >&5
15357echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15358if test "${ac_cv_sizeof_long_long+set}" = set; then
15359 echo $ECHO_N "(cached) $ECHO_C" >&6
15360else
15361 if test "$ac_cv_type_long_long" = yes; then
15362 # The cast to unsigned long works around a bug in the HP C Compiler
15363 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15364 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15365 # This bug is HP SR number 8606223364.
15366 if test "$cross_compiling" = yes; then
15367 # Depending upon the size, compute the lo and hi bounds.
15368cat >conftest.$ac_ext <<_ACEOF
15369#line $LINENO "configure"
15370/* confdefs.h. */
15371_ACEOF
15372cat confdefs.h >>conftest.$ac_ext
15373cat >>conftest.$ac_ext <<_ACEOF
15374/* end confdefs.h. */
15375$ac_includes_default
15376int
15377main ()
15378{
15379static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15380test_array [0] = 0
15381
15382 ;
15383 return 0;
15384}
15385_ACEOF
15386rm -f conftest.$ac_objext
15387if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15388 (eval $ac_compile) 2>&5
15389 ac_status=$?
15390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15391 (exit $ac_status); } &&
15392 { ac_try='test -s conftest.$ac_objext'
15393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15394 (eval $ac_try) 2>&5
15395 ac_status=$?
15396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15397 (exit $ac_status); }; }; then
15398 ac_lo=0 ac_mid=0
15399 while :; do
15400 cat >conftest.$ac_ext <<_ACEOF
15401#line $LINENO "configure"
15402/* confdefs.h. */
15403_ACEOF
15404cat confdefs.h >>conftest.$ac_ext
15405cat >>conftest.$ac_ext <<_ACEOF
15406/* end confdefs.h. */
15407$ac_includes_default
15408int
15409main ()
15410{
15411static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15412test_array [0] = 0
15413
15414 ;
15415 return 0;
15416}
15417_ACEOF
15418rm -f conftest.$ac_objext
15419if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15420 (eval $ac_compile) 2>&5
15421 ac_status=$?
15422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15423 (exit $ac_status); } &&
15424 { ac_try='test -s conftest.$ac_objext'
15425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15426 (eval $ac_try) 2>&5
15427 ac_status=$?
15428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15429 (exit $ac_status); }; }; then
15430 ac_hi=$ac_mid; break
15431else
15432 echo "$as_me: failed program was:" >&5
15433sed 's/^/| /' conftest.$ac_ext >&5
15434
15435ac_lo=`expr $ac_mid + 1`
15436 if test $ac_lo -le $ac_mid; then
15437 ac_lo= ac_hi=
15438 break
15439 fi
15440 ac_mid=`expr 2 '*' $ac_mid + 1`
15441fi
15442rm -f conftest.$ac_objext conftest.$ac_ext
15443 done
15444else
15445 echo "$as_me: failed program was:" >&5
15446sed 's/^/| /' conftest.$ac_ext >&5
15447
15448cat >conftest.$ac_ext <<_ACEOF
15449#line $LINENO "configure"
15450/* confdefs.h. */
15451_ACEOF
15452cat confdefs.h >>conftest.$ac_ext
15453cat >>conftest.$ac_ext <<_ACEOF
15454/* end confdefs.h. */
15455$ac_includes_default
15456int
15457main ()
15458{
15459static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15460test_array [0] = 0
15461
15462 ;
15463 return 0;
15464}
15465_ACEOF
15466rm -f conftest.$ac_objext
15467if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15468 (eval $ac_compile) 2>&5
15469 ac_status=$?
15470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15471 (exit $ac_status); } &&
15472 { ac_try='test -s conftest.$ac_objext'
15473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15474 (eval $ac_try) 2>&5
15475 ac_status=$?
15476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15477 (exit $ac_status); }; }; then
15478 ac_hi=-1 ac_mid=-1
15479 while :; do
15480 cat >conftest.$ac_ext <<_ACEOF
15481#line $LINENO "configure"
15482/* confdefs.h. */
15483_ACEOF
15484cat confdefs.h >>conftest.$ac_ext
15485cat >>conftest.$ac_ext <<_ACEOF
15486/* end confdefs.h. */
15487$ac_includes_default
15488int
15489main ()
15490{
15491static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15492test_array [0] = 0
15493
15494 ;
15495 return 0;
15496}
15497_ACEOF
15498rm -f conftest.$ac_objext
15499if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15500 (eval $ac_compile) 2>&5
15501 ac_status=$?
15502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15503 (exit $ac_status); } &&
15504 { ac_try='test -s conftest.$ac_objext'
15505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15506 (eval $ac_try) 2>&5
15507 ac_status=$?
15508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15509 (exit $ac_status); }; }; then
15510 ac_lo=$ac_mid; break
15511else
15512 echo "$as_me: failed program was:" >&5
15513sed 's/^/| /' conftest.$ac_ext >&5
15514
15515ac_hi=`expr '(' $ac_mid ')' - 1`
15516 if test $ac_mid -le $ac_hi; then
15517 ac_lo= ac_hi=
15518 break
15519 fi
15520 ac_mid=`expr 2 '*' $ac_mid`
15521fi
15522rm -f conftest.$ac_objext conftest.$ac_ext
15523 done
15524else
15525 echo "$as_me: failed program was:" >&5
15526sed 's/^/| /' conftest.$ac_ext >&5
15527
15528ac_lo= ac_hi=
15529fi
15530rm -f conftest.$ac_objext conftest.$ac_ext
15531fi
15532rm -f conftest.$ac_objext conftest.$ac_ext
15533# Binary search between lo and hi bounds.
15534while test "x$ac_lo" != "x$ac_hi"; do
15535 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15536 cat >conftest.$ac_ext <<_ACEOF
15537#line $LINENO "configure"
15538/* confdefs.h. */
15539_ACEOF
15540cat confdefs.h >>conftest.$ac_ext
15541cat >>conftest.$ac_ext <<_ACEOF
15542/* end confdefs.h. */
15543$ac_includes_default
15544int
15545main ()
15546{
15547static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15548test_array [0] = 0
15549
15550 ;
15551 return 0;
15552}
15553_ACEOF
15554rm -f conftest.$ac_objext
15555if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15556 (eval $ac_compile) 2>&5
15557 ac_status=$?
15558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15559 (exit $ac_status); } &&
15560 { ac_try='test -s conftest.$ac_objext'
15561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15562 (eval $ac_try) 2>&5
15563 ac_status=$?
15564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15565 (exit $ac_status); }; }; then
15566 ac_hi=$ac_mid
15567else
15568 echo "$as_me: failed program was:" >&5
15569sed 's/^/| /' conftest.$ac_ext >&5
15570
15571ac_lo=`expr '(' $ac_mid ')' + 1`
15572fi
15573rm -f conftest.$ac_objext conftest.$ac_ext
15574done
15575case $ac_lo in
15576?*) ac_cv_sizeof_long_long=$ac_lo;;
15577'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15578See \`config.log' for more details." >&5
15579echo "$as_me: error: cannot compute sizeof (long long), 77
15580See \`config.log' for more details." >&2;}
15581 { (exit 1); exit 1; }; } ;;
15582esac
15583else
15584 if test "$cross_compiling" = yes; then
15585 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15586See \`config.log' for more details." >&5
15587echo "$as_me: error: cannot run test program while cross compiling
15588See \`config.log' for more details." >&2;}
15589 { (exit 1); exit 1; }; }
15590else
15591 cat >conftest.$ac_ext <<_ACEOF
15592#line $LINENO "configure"
15593/* confdefs.h. */
15594_ACEOF
15595cat confdefs.h >>conftest.$ac_ext
15596cat >>conftest.$ac_ext <<_ACEOF
15597/* end confdefs.h. */
15598$ac_includes_default
15599long longval () { return (long) (sizeof (long long)); }
15600unsigned long ulongval () { return (long) (sizeof (long long)); }
15601#include <stdio.h>
15602#include <stdlib.h>
15603int
15604main ()
15605{
15606
15607 FILE *f = fopen ("conftest.val", "w");
15608 if (! f)
15609 exit (1);
15610 if (((long) (sizeof (long long))) < 0)
15611 {
15612 long i = longval ();
15613 if (i != ((long) (sizeof (long long))))
15614 exit (1);
15615 fprintf (f, "%ld\n", i);
15616 }
15617 else
15618 {
15619 unsigned long i = ulongval ();
15620 if (i != ((long) (sizeof (long long))))
15621 exit (1);
15622 fprintf (f, "%lu\n", i);
15623 }
15624 exit (ferror (f) || fclose (f) != 0);
15625
15626 ;
15627 return 0;
15628}
15629_ACEOF
15630rm -f conftest$ac_exeext
15631if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15632 (eval $ac_link) 2>&5
15633 ac_status=$?
15634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15635 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15637 (eval $ac_try) 2>&5
15638 ac_status=$?
15639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15640 (exit $ac_status); }; }; then
15641 ac_cv_sizeof_long_long=`cat conftest.val`
15642else
15643 echo "$as_me: program exited with status $ac_status" >&5
15644echo "$as_me: failed program was:" >&5
15645sed 's/^/| /' conftest.$ac_ext >&5
15646
15647( exit $ac_status )
15648{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15649See \`config.log' for more details." >&5
15650echo "$as_me: error: cannot compute sizeof (long long), 77
15651See \`config.log' for more details." >&2;}
15652 { (exit 1); exit 1; }; }
15653fi
15654rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15655fi
15656fi
15657rm -f conftest.val
15658else
15659 ac_cv_sizeof_long_long=0
15660fi
15661fi
15662echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15663echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15664cat >>confdefs.h <<_ACEOF
15665#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15666_ACEOF
15667
15668
15669 ;;
15670 *-hp-hpux* )
15671 echo "$as_me:$LINENO: checking for long long" >&5
15672echo $ECHO_N "checking for long long... $ECHO_C" >&6
15673if test "${ac_cv_type_long_long+set}" = set; then
15674 echo $ECHO_N "(cached) $ECHO_C" >&6
15675else
15676 cat >conftest.$ac_ext <<_ACEOF
15677#line $LINENO "configure"
15678/* confdefs.h. */
15679_ACEOF
15680cat confdefs.h >>conftest.$ac_ext
15681cat >>conftest.$ac_ext <<_ACEOF
15682/* end confdefs.h. */
15683$ac_includes_default
15684int
15685main ()
15686{
15687if ((long long *) 0)
15688 return 0;
15689if (sizeof (long long))
15690 return 0;
15691 ;
15692 return 0;
15693}
15694_ACEOF
15695rm -f conftest.$ac_objext
15696if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15697 (eval $ac_compile) 2>&5
15698 ac_status=$?
15699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15700 (exit $ac_status); } &&
15701 { ac_try='test -s conftest.$ac_objext'
15702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15703 (eval $ac_try) 2>&5
15704 ac_status=$?
15705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15706 (exit $ac_status); }; }; then
15707 ac_cv_type_long_long=yes
15708else
15709 echo "$as_me: failed program was:" >&5
15710sed 's/^/| /' conftest.$ac_ext >&5
15711
15712ac_cv_type_long_long=no
15713fi
15714rm -f conftest.$ac_objext conftest.$ac_ext
15715fi
15716echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15717echo "${ECHO_T}$ac_cv_type_long_long" >&6
15718
15719echo "$as_me:$LINENO: checking size of long long" >&5
15720echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15721if test "${ac_cv_sizeof_long_long+set}" = set; then
15722 echo $ECHO_N "(cached) $ECHO_C" >&6
15723else
15724 if test "$ac_cv_type_long_long" = yes; then
15725 # The cast to unsigned long works around a bug in the HP C Compiler
15726 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15727 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15728 # This bug is HP SR number 8606223364.
15729 if test "$cross_compiling" = yes; then
15730 # Depending upon the size, compute the lo and hi bounds.
15731cat >conftest.$ac_ext <<_ACEOF
15732#line $LINENO "configure"
15733/* confdefs.h. */
15734_ACEOF
15735cat confdefs.h >>conftest.$ac_ext
15736cat >>conftest.$ac_ext <<_ACEOF
15737/* end confdefs.h. */
15738$ac_includes_default
15739int
15740main ()
15741{
15742static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15743test_array [0] = 0
15744
15745 ;
15746 return 0;
15747}
15748_ACEOF
15749rm -f conftest.$ac_objext
15750if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15751 (eval $ac_compile) 2>&5
15752 ac_status=$?
15753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15754 (exit $ac_status); } &&
15755 { ac_try='test -s conftest.$ac_objext'
15756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15757 (eval $ac_try) 2>&5
15758 ac_status=$?
15759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15760 (exit $ac_status); }; }; then
15761 ac_lo=0 ac_mid=0
15762 while :; do
15763 cat >conftest.$ac_ext <<_ACEOF
15764#line $LINENO "configure"
15765/* confdefs.h. */
15766_ACEOF
15767cat confdefs.h >>conftest.$ac_ext
15768cat >>conftest.$ac_ext <<_ACEOF
15769/* end confdefs.h. */
15770$ac_includes_default
15771int
15772main ()
15773{
15774static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15775test_array [0] = 0
15776
15777 ;
15778 return 0;
15779}
15780_ACEOF
15781rm -f conftest.$ac_objext
15782if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15783 (eval $ac_compile) 2>&5
15784 ac_status=$?
15785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15786 (exit $ac_status); } &&
15787 { ac_try='test -s conftest.$ac_objext'
15788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15789 (eval $ac_try) 2>&5
15790 ac_status=$?
15791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15792 (exit $ac_status); }; }; then
15793 ac_hi=$ac_mid; break
15794else
15795 echo "$as_me: failed program was:" >&5
15796sed 's/^/| /' conftest.$ac_ext >&5
15797
15798ac_lo=`expr $ac_mid + 1`
15799 if test $ac_lo -le $ac_mid; then
15800 ac_lo= ac_hi=
15801 break
15802 fi
15803 ac_mid=`expr 2 '*' $ac_mid + 1`
15804fi
15805rm -f conftest.$ac_objext conftest.$ac_ext
15806 done
15807else
15808 echo "$as_me: failed program was:" >&5
15809sed 's/^/| /' conftest.$ac_ext >&5
15810
15811cat >conftest.$ac_ext <<_ACEOF
15812#line $LINENO "configure"
15813/* confdefs.h. */
15814_ACEOF
15815cat confdefs.h >>conftest.$ac_ext
15816cat >>conftest.$ac_ext <<_ACEOF
15817/* end confdefs.h. */
15818$ac_includes_default
15819int
15820main ()
15821{
15822static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15823test_array [0] = 0
15824
15825 ;
15826 return 0;
15827}
15828_ACEOF
15829rm -f conftest.$ac_objext
15830if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15831 (eval $ac_compile) 2>&5
15832 ac_status=$?
15833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15834 (exit $ac_status); } &&
15835 { ac_try='test -s conftest.$ac_objext'
15836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15837 (eval $ac_try) 2>&5
15838 ac_status=$?
15839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15840 (exit $ac_status); }; }; then
15841 ac_hi=-1 ac_mid=-1
15842 while :; do
15843 cat >conftest.$ac_ext <<_ACEOF
15844#line $LINENO "configure"
15845/* confdefs.h. */
15846_ACEOF
15847cat confdefs.h >>conftest.$ac_ext
15848cat >>conftest.$ac_ext <<_ACEOF
15849/* end confdefs.h. */
15850$ac_includes_default
15851int
15852main ()
15853{
15854static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15855test_array [0] = 0
15856
15857 ;
15858 return 0;
15859}
15860_ACEOF
15861rm -f conftest.$ac_objext
15862if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15863 (eval $ac_compile) 2>&5
15864 ac_status=$?
15865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15866 (exit $ac_status); } &&
15867 { ac_try='test -s conftest.$ac_objext'
15868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15869 (eval $ac_try) 2>&5
15870 ac_status=$?
15871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15872 (exit $ac_status); }; }; then
15873 ac_lo=$ac_mid; break
15874else
15875 echo "$as_me: failed program was:" >&5
15876sed 's/^/| /' conftest.$ac_ext >&5
15877
15878ac_hi=`expr '(' $ac_mid ')' - 1`
15879 if test $ac_mid -le $ac_hi; then
15880 ac_lo= ac_hi=
15881 break
15882 fi
15883 ac_mid=`expr 2 '*' $ac_mid`
15884fi
15885rm -f conftest.$ac_objext conftest.$ac_ext
15886 done
15887else
15888 echo "$as_me: failed program was:" >&5
15889sed 's/^/| /' conftest.$ac_ext >&5
15890
15891ac_lo= ac_hi=
15892fi
15893rm -f conftest.$ac_objext conftest.$ac_ext
15894fi
15895rm -f conftest.$ac_objext conftest.$ac_ext
15896# Binary search between lo and hi bounds.
15897while test "x$ac_lo" != "x$ac_hi"; do
15898 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15899 cat >conftest.$ac_ext <<_ACEOF
15900#line $LINENO "configure"
15901/* confdefs.h. */
15902_ACEOF
15903cat confdefs.h >>conftest.$ac_ext
15904cat >>conftest.$ac_ext <<_ACEOF
15905/* end confdefs.h. */
15906$ac_includes_default
15907int
15908main ()
15909{
15910static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15911test_array [0] = 0
15912
15913 ;
15914 return 0;
15915}
15916_ACEOF
15917rm -f conftest.$ac_objext
15918if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15919 (eval $ac_compile) 2>&5
15920 ac_status=$?
15921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15922 (exit $ac_status); } &&
15923 { ac_try='test -s conftest.$ac_objext'
15924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15925 (eval $ac_try) 2>&5
15926 ac_status=$?
15927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15928 (exit $ac_status); }; }; then
15929 ac_hi=$ac_mid
15930else
15931 echo "$as_me: failed program was:" >&5
15932sed 's/^/| /' conftest.$ac_ext >&5
15933
15934ac_lo=`expr '(' $ac_mid ')' + 1`
15935fi
15936rm -f conftest.$ac_objext conftest.$ac_ext
15937done
15938case $ac_lo in
15939?*) ac_cv_sizeof_long_long=$ac_lo;;
15940'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15941See \`config.log' for more details." >&5
15942echo "$as_me: error: cannot compute sizeof (long long), 77
15943See \`config.log' for more details." >&2;}
15944 { (exit 1); exit 1; }; } ;;
15945esac
15946else
15947 if test "$cross_compiling" = yes; then
15948 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15949See \`config.log' for more details." >&5
15950echo "$as_me: error: cannot run test program while cross compiling
15951See \`config.log' for more details." >&2;}
15952 { (exit 1); exit 1; }; }
15953else
15954 cat >conftest.$ac_ext <<_ACEOF
15955#line $LINENO "configure"
15956/* confdefs.h. */
15957_ACEOF
15958cat confdefs.h >>conftest.$ac_ext
15959cat >>conftest.$ac_ext <<_ACEOF
15960/* end confdefs.h. */
15961$ac_includes_default
15962long longval () { return (long) (sizeof (long long)); }
15963unsigned long ulongval () { return (long) (sizeof (long long)); }
15964#include <stdio.h>
15965#include <stdlib.h>
15966int
15967main ()
15968{
15969
15970 FILE *f = fopen ("conftest.val", "w");
15971 if (! f)
15972 exit (1);
15973 if (((long) (sizeof (long long))) < 0)
15974 {
15975 long i = longval ();
15976 if (i != ((long) (sizeof (long long))))
15977 exit (1);
15978 fprintf (f, "%ld\n", i);
15979 }
15980 else
15981 {
15982 unsigned long i = ulongval ();
15983 if (i != ((long) (sizeof (long long))))
15984 exit (1);
15985 fprintf (f, "%lu\n", i);
15986 }
15987 exit (ferror (f) || fclose (f) != 0);
15988
15989 ;
15990 return 0;
15991}
15992_ACEOF
15993rm -f conftest$ac_exeext
15994if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15995 (eval $ac_link) 2>&5
15996 ac_status=$?
15997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15998 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16000 (eval $ac_try) 2>&5
16001 ac_status=$?
16002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16003 (exit $ac_status); }; }; then
16004 ac_cv_sizeof_long_long=`cat conftest.val`
16005else
16006 echo "$as_me: program exited with status $ac_status" >&5
16007echo "$as_me: failed program was:" >&5
16008sed 's/^/| /' conftest.$ac_ext >&5
16009
16010( exit $ac_status )
16011{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16012See \`config.log' for more details." >&5
16013echo "$as_me: error: cannot compute sizeof (long long), 77
16014See \`config.log' for more details." >&2;}
16015 { (exit 1); exit 1; }; }
16016fi
16017rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16018fi
16019fi
16020rm -f conftest.val
16021else
16022 ac_cv_sizeof_long_long=0
16023fi
16024fi
16025echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16026echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16027cat >>confdefs.h <<_ACEOF
16028#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16029_ACEOF
16030
16031
16032 if test "$ac_cv_sizeof_long_long" != "0"; then
16033 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16034 fi
16035 ;;
16036 * )
16037 echo "$as_me:$LINENO: checking for long long" >&5
16038echo $ECHO_N "checking for long long... $ECHO_C" >&6
16039if test "${ac_cv_type_long_long+set}" = set; then
16040 echo $ECHO_N "(cached) $ECHO_C" >&6
16041else
16042 cat >conftest.$ac_ext <<_ACEOF
16043#line $LINENO "configure"
16044/* confdefs.h. */
16045_ACEOF
16046cat confdefs.h >>conftest.$ac_ext
16047cat >>conftest.$ac_ext <<_ACEOF
16048/* end confdefs.h. */
16049$ac_includes_default
16050int
16051main ()
16052{
16053if ((long long *) 0)
16054 return 0;
16055if (sizeof (long long))
16056 return 0;
16057 ;
16058 return 0;
16059}
16060_ACEOF
16061rm -f conftest.$ac_objext
16062if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16063 (eval $ac_compile) 2>&5
16064 ac_status=$?
16065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16066 (exit $ac_status); } &&
16067 { ac_try='test -s conftest.$ac_objext'
16068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16069 (eval $ac_try) 2>&5
16070 ac_status=$?
16071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16072 (exit $ac_status); }; }; then
16073 ac_cv_type_long_long=yes
16074else
16075 echo "$as_me: failed program was:" >&5
16076sed 's/^/| /' conftest.$ac_ext >&5
16077
16078ac_cv_type_long_long=no
16079fi
16080rm -f conftest.$ac_objext conftest.$ac_ext
16081fi
16082echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16083echo "${ECHO_T}$ac_cv_type_long_long" >&6
16084
16085echo "$as_me:$LINENO: checking size of long long" >&5
16086echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16087if test "${ac_cv_sizeof_long_long+set}" = set; then
16088 echo $ECHO_N "(cached) $ECHO_C" >&6
16089else
16090 if test "$ac_cv_type_long_long" = yes; then
16091 # The cast to unsigned long works around a bug in the HP C Compiler
16092 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16093 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16094 # This bug is HP SR number 8606223364.
16095 if test "$cross_compiling" = yes; then
16096 # Depending upon the size, compute the lo and hi bounds.
16097cat >conftest.$ac_ext <<_ACEOF
16098#line $LINENO "configure"
16099/* confdefs.h. */
16100_ACEOF
16101cat confdefs.h >>conftest.$ac_ext
16102cat >>conftest.$ac_ext <<_ACEOF
16103/* end confdefs.h. */
16104$ac_includes_default
16105int
16106main ()
16107{
16108static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16109test_array [0] = 0
16110
16111 ;
16112 return 0;
16113}
16114_ACEOF
16115rm -f conftest.$ac_objext
16116if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16117 (eval $ac_compile) 2>&5
16118 ac_status=$?
16119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16120 (exit $ac_status); } &&
16121 { ac_try='test -s conftest.$ac_objext'
16122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16123 (eval $ac_try) 2>&5
16124 ac_status=$?
16125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16126 (exit $ac_status); }; }; then
16127 ac_lo=0 ac_mid=0
16128 while :; do
16129 cat >conftest.$ac_ext <<_ACEOF
16130#line $LINENO "configure"
16131/* confdefs.h. */
16132_ACEOF
16133cat confdefs.h >>conftest.$ac_ext
16134cat >>conftest.$ac_ext <<_ACEOF
16135/* end confdefs.h. */
16136$ac_includes_default
16137int
16138main ()
16139{
16140static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16141test_array [0] = 0
16142
16143 ;
16144 return 0;
16145}
16146_ACEOF
16147rm -f conftest.$ac_objext
16148if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16149 (eval $ac_compile) 2>&5
16150 ac_status=$?
16151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152 (exit $ac_status); } &&
16153 { ac_try='test -s conftest.$ac_objext'
16154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16155 (eval $ac_try) 2>&5
16156 ac_status=$?
16157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16158 (exit $ac_status); }; }; then
16159 ac_hi=$ac_mid; break
16160else
16161 echo "$as_me: failed program was:" >&5
16162sed 's/^/| /' conftest.$ac_ext >&5
16163
16164ac_lo=`expr $ac_mid + 1`
16165 if test $ac_lo -le $ac_mid; then
16166 ac_lo= ac_hi=
16167 break
16168 fi
16169 ac_mid=`expr 2 '*' $ac_mid + 1`
16170fi
16171rm -f conftest.$ac_objext conftest.$ac_ext
16172 done
16173else
16174 echo "$as_me: failed program was:" >&5
16175sed 's/^/| /' conftest.$ac_ext >&5
16176
16177cat >conftest.$ac_ext <<_ACEOF
16178#line $LINENO "configure"
16179/* confdefs.h. */
16180_ACEOF
16181cat confdefs.h >>conftest.$ac_ext
16182cat >>conftest.$ac_ext <<_ACEOF
16183/* end confdefs.h. */
16184$ac_includes_default
16185int
16186main ()
16187{
16188static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16189test_array [0] = 0
16190
16191 ;
16192 return 0;
16193}
16194_ACEOF
16195rm -f conftest.$ac_objext
16196if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16197 (eval $ac_compile) 2>&5
16198 ac_status=$?
16199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); } &&
16201 { ac_try='test -s conftest.$ac_objext'
16202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16203 (eval $ac_try) 2>&5
16204 ac_status=$?
16205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16206 (exit $ac_status); }; }; then
16207 ac_hi=-1 ac_mid=-1
16208 while :; do
16209 cat >conftest.$ac_ext <<_ACEOF
16210#line $LINENO "configure"
16211/* confdefs.h. */
16212_ACEOF
16213cat confdefs.h >>conftest.$ac_ext
16214cat >>conftest.$ac_ext <<_ACEOF
16215/* end confdefs.h. */
16216$ac_includes_default
16217int
16218main ()
16219{
16220static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16221test_array [0] = 0
16222
16223 ;
16224 return 0;
16225}
16226_ACEOF
16227rm -f conftest.$ac_objext
16228if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16229 (eval $ac_compile) 2>&5
16230 ac_status=$?
16231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16232 (exit $ac_status); } &&
16233 { ac_try='test -s conftest.$ac_objext'
16234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16235 (eval $ac_try) 2>&5
16236 ac_status=$?
16237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16238 (exit $ac_status); }; }; then
16239 ac_lo=$ac_mid; break
16240else
16241 echo "$as_me: failed program was:" >&5
16242sed 's/^/| /' conftest.$ac_ext >&5
16243
16244ac_hi=`expr '(' $ac_mid ')' - 1`
16245 if test $ac_mid -le $ac_hi; then
16246 ac_lo= ac_hi=
16247 break
16248 fi
16249 ac_mid=`expr 2 '*' $ac_mid`
16250fi
16251rm -f conftest.$ac_objext conftest.$ac_ext
16252 done
16253else
16254 echo "$as_me: failed program was:" >&5
16255sed 's/^/| /' conftest.$ac_ext >&5
16256
16257ac_lo= ac_hi=
16258fi
16259rm -f conftest.$ac_objext conftest.$ac_ext
16260fi
16261rm -f conftest.$ac_objext conftest.$ac_ext
16262# Binary search between lo and hi bounds.
16263while test "x$ac_lo" != "x$ac_hi"; do
16264 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16265 cat >conftest.$ac_ext <<_ACEOF
16266#line $LINENO "configure"
16267/* confdefs.h. */
16268_ACEOF
16269cat confdefs.h >>conftest.$ac_ext
16270cat >>conftest.$ac_ext <<_ACEOF
16271/* end confdefs.h. */
16272$ac_includes_default
16273int
16274main ()
16275{
16276static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16277test_array [0] = 0
16278
16279 ;
16280 return 0;
16281}
16282_ACEOF
16283rm -f conftest.$ac_objext
16284if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16285 (eval $ac_compile) 2>&5
16286 ac_status=$?
16287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16288 (exit $ac_status); } &&
16289 { ac_try='test -s conftest.$ac_objext'
16290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16291 (eval $ac_try) 2>&5
16292 ac_status=$?
16293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16294 (exit $ac_status); }; }; then
16295 ac_hi=$ac_mid
16296else
16297 echo "$as_me: failed program was:" >&5
16298sed 's/^/| /' conftest.$ac_ext >&5
16299
16300ac_lo=`expr '(' $ac_mid ')' + 1`
16301fi
16302rm -f conftest.$ac_objext conftest.$ac_ext
16303done
16304case $ac_lo in
16305?*) ac_cv_sizeof_long_long=$ac_lo;;
16306'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16307See \`config.log' for more details." >&5
16308echo "$as_me: error: cannot compute sizeof (long long), 77
16309See \`config.log' for more details." >&2;}
16310 { (exit 1); exit 1; }; } ;;
16311esac
16312else
16313 if test "$cross_compiling" = yes; then
16314 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16315See \`config.log' for more details." >&5
16316echo "$as_me: error: cannot run test program while cross compiling
16317See \`config.log' for more details." >&2;}
16318 { (exit 1); exit 1; }; }
16319else
16320 cat >conftest.$ac_ext <<_ACEOF
16321#line $LINENO "configure"
16322/* confdefs.h. */
16323_ACEOF
16324cat confdefs.h >>conftest.$ac_ext
16325cat >>conftest.$ac_ext <<_ACEOF
16326/* end confdefs.h. */
16327$ac_includes_default
16328long longval () { return (long) (sizeof (long long)); }
16329unsigned long ulongval () { return (long) (sizeof (long long)); }
16330#include <stdio.h>
16331#include <stdlib.h>
16332int
16333main ()
16334{
16335
16336 FILE *f = fopen ("conftest.val", "w");
16337 if (! f)
16338 exit (1);
16339 if (((long) (sizeof (long long))) < 0)
16340 {
16341 long i = longval ();
16342 if (i != ((long) (sizeof (long long))))
16343 exit (1);
16344 fprintf (f, "%ld\n", i);
16345 }
16346 else
16347 {
16348 unsigned long i = ulongval ();
16349 if (i != ((long) (sizeof (long long))))
16350 exit (1);
16351 fprintf (f, "%lu\n", i);
16352 }
16353 exit (ferror (f) || fclose (f) != 0);
16354
16355 ;
16356 return 0;
16357}
16358_ACEOF
16359rm -f conftest$ac_exeext
16360if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16361 (eval $ac_link) 2>&5
16362 ac_status=$?
16363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16364 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16366 (eval $ac_try) 2>&5
16367 ac_status=$?
16368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16369 (exit $ac_status); }; }; then
16370 ac_cv_sizeof_long_long=`cat conftest.val`
16371else
16372 echo "$as_me: program exited with status $ac_status" >&5
16373echo "$as_me: failed program was:" >&5
16374sed 's/^/| /' conftest.$ac_ext >&5
16375
16376( exit $ac_status )
16377{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16378See \`config.log' for more details." >&5
16379echo "$as_me: error: cannot compute sizeof (long long), 77
16380See \`config.log' for more details." >&2;}
16381 { (exit 1); exit 1; }; }
16382fi
16383rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16384fi
16385fi
16386rm -f conftest.val
16387else
16388 ac_cv_sizeof_long_long=0
16389fi
16390fi
16391echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16392echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16393cat >>confdefs.h <<_ACEOF
16394#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16395_ACEOF
16396
16397
16398esac
16399
16400echo "$as_me:$LINENO: checking size of wchar_t" >&5
16401echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16402if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16403 echo $ECHO_N "(cached) $ECHO_C" >&6
16404else
16405
16406 if test "$cross_compiling" = yes; then
16407
16408 case "${host}" in
16409 *-pc-msdosdjgpp )
16410 wx_cv_sizeof_wchar_t=0
16411 ;;
16412 * )
16413 wx_cv_sizeof_wchar_t=4
16414 ;;
16415 esac
16416
16417
16418else
16419 cat >conftest.$ac_ext <<_ACEOF
16420#line $LINENO "configure"
16421/* confdefs.h. */
16422_ACEOF
16423cat confdefs.h >>conftest.$ac_ext
16424cat >>conftest.$ac_ext <<_ACEOF
16425/* end confdefs.h. */
16426
16427 /* DJGPP only has fake wchar_t: */
16428 #ifdef __DJGPP__
16429 # error "fake wchar_t"
16430 #endif
16431 #ifdef HAVE_WCHAR_H
16432 # ifdef __CYGWIN__
16433 # include <stddef.h>
16434 # endif
16435 # include <wchar.h>
16436 #endif
16437 #ifdef HAVE_STDLIB_H
16438 # include <stdlib.h>
16439 #endif
16440 #include <stdio.h>
16441 int main()
16442 {
16443 FILE *f=fopen("conftestval", "w");
16444 if (!f) exit(1);
16445 fprintf(f, "%i", sizeof(wchar_t));
16446 exit(0);
16447 }
16448
16449_ACEOF
16450rm -f conftest$ac_exeext
16451if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16452 (eval $ac_link) 2>&5
16453 ac_status=$?
16454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16455 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16457 (eval $ac_try) 2>&5
16458 ac_status=$?
16459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16460 (exit $ac_status); }; }; then
16461 wx_cv_sizeof_wchar_t=`cat conftestval`
16462else
16463 echo "$as_me: program exited with status $ac_status" >&5
16464echo "$as_me: failed program was:" >&5
16465sed 's/^/| /' conftest.$ac_ext >&5
16466
16467( exit $ac_status )
16468wx_cv_sizeof_wchar_t=0
16469fi
16470rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16471fi
16472
16473fi
16474echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16475echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16476
16477cat >>confdefs.h <<_ACEOF
16478#define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16479_ACEOF
16480
16481
16482# Check whether --enable-largefile or --disable-largefile was given.
16483if test "${enable_largefile+set}" = set; then
16484 enableval="$enable_largefile"
16485
16486fi;
16487if test "$enable_largefile" != no; then
16488 wx_largefile=no
16489
16490 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16491echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16492if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16493 echo $ECHO_N "(cached) $ECHO_C" >&6
16494else
16495
16496 cat >conftest.$ac_ext <<_ACEOF
16497#line $LINENO "configure"
16498/* confdefs.h. */
16499_ACEOF
16500cat confdefs.h >>conftest.$ac_ext
16501cat >>conftest.$ac_ext <<_ACEOF
16502/* end confdefs.h. */
16503#define _FILE_OFFSET_BITS 64
16504 #include <sys/types.h>
16505int
16506main ()
16507{
16508typedef struct {
16509 unsigned int field: sizeof(off_t) == 8;
16510} wxlf;
16511
16512 ;
16513 return 0;
16514}
16515_ACEOF
16516rm -f conftest.$ac_objext
16517if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16518 (eval $ac_compile) 2>&5
16519 ac_status=$?
16520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16521 (exit $ac_status); } &&
16522 { ac_try='test -s conftest.$ac_objext'
16523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16524 (eval $ac_try) 2>&5
16525 ac_status=$?
16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); }; }; then
16528 ac_cv_sys_file_offset_bits=64
16529else
16530 echo "$as_me: failed program was:" >&5
16531sed 's/^/| /' conftest.$ac_ext >&5
16532
16533ac_cv_sys_file_offset_bits=no
16534fi
16535rm -f conftest.$ac_objext conftest.$ac_ext
16536
16537
16538fi
16539echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16540echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16541
16542 if test "$ac_cv_sys_file_offset_bits" != no; then
16543 wx_largefile=yes
16544 cat >>confdefs.h <<_ACEOF
16545#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16546_ACEOF
16547
16548 fi
16549
16550 if test "x$wx_largefile" != "xyes"; then
16551
16552 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16553echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16554if test "${ac_cv_sys_large_files+set}" = set; then
16555 echo $ECHO_N "(cached) $ECHO_C" >&6
16556else
16557
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#define _LARGE_FILES 1
16566 #include <sys/types.h>
16567int
16568main ()
16569{
16570typedef struct {
16571 unsigned int field: sizeof(off_t) == 8;
16572} wxlf;
16573
16574 ;
16575 return 0;
16576}
16577_ACEOF
16578rm -f conftest.$ac_objext
16579if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16580 (eval $ac_compile) 2>&5
16581 ac_status=$?
16582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16583 (exit $ac_status); } &&
16584 { ac_try='test -s conftest.$ac_objext'
16585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16586 (eval $ac_try) 2>&5
16587 ac_status=$?
16588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16589 (exit $ac_status); }; }; then
16590 ac_cv_sys_large_files=1
16591else
16592 echo "$as_me: failed program was:" >&5
16593sed 's/^/| /' conftest.$ac_ext >&5
16594
16595ac_cv_sys_large_files=no
16596fi
16597rm -f conftest.$ac_objext conftest.$ac_ext
16598
16599
16600fi
16601echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16602echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16603
16604 if test "$ac_cv_sys_large_files" != no; then
16605 wx_largefile=yes
16606 cat >>confdefs.h <<_ACEOF
16607#define _LARGE_FILES $ac_cv_sys_large_files
16608_ACEOF
16609
16610 fi
16611
16612 fi
16613
16614 echo "$as_me:$LINENO: checking if large file support is available" >&5
16615echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16616 if test "x$wx_largefile" = "xyes"; then
16617 cat >>confdefs.h <<\_ACEOF
16618#define HAVE_LARGEFILE_SUPPORT 1
16619_ACEOF
16620
16621 fi
16622 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16623echo "${ECHO_T}$wx_largefile" >&6
16624fi
16625
16626
16627if test "x$wx_largefile" = "xyes"; then
16628 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16629 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16630 else
16631 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
16632 fi
16633 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16634fi
16635
16636echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16637echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16638if test "${ac_cv_c_bigendian+set}" = set; then
16639 echo $ECHO_N "(cached) $ECHO_C" >&6
16640else
16641 ac_cv_c_bigendian=unknown
16642# See if sys/param.h defines the BYTE_ORDER macro.
16643cat >conftest.$ac_ext <<_ACEOF
16644#line $LINENO "configure"
16645/* confdefs.h. */
16646_ACEOF
16647cat confdefs.h >>conftest.$ac_ext
16648cat >>conftest.$ac_ext <<_ACEOF
16649/* end confdefs.h. */
16650#include <sys/types.h>
16651#include <sys/param.h>
16652int
16653main ()
16654{
16655
16656#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16657 bogus endian macros
16658#endif
16659 ;
16660 return 0;
16661}
16662_ACEOF
16663rm -f conftest.$ac_objext
16664if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16665 (eval $ac_compile) 2>&5
16666 ac_status=$?
16667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16668 (exit $ac_status); } &&
16669 { ac_try='test -s conftest.$ac_objext'
16670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16671 (eval $ac_try) 2>&5
16672 ac_status=$?
16673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674 (exit $ac_status); }; }; then
16675 # It does; now see whether it defined to BIG_ENDIAN or not.
16676cat >conftest.$ac_ext <<_ACEOF
16677#line $LINENO "configure"
16678/* confdefs.h. */
16679_ACEOF
16680cat confdefs.h >>conftest.$ac_ext
16681cat >>conftest.$ac_ext <<_ACEOF
16682/* end confdefs.h. */
16683#include <sys/types.h>
16684#include <sys/param.h>
16685int
16686main ()
16687{
16688
16689#if BYTE_ORDER != BIG_ENDIAN
16690 not big endian
16691#endif
16692 ;
16693 return 0;
16694}
16695_ACEOF
16696rm -f conftest.$ac_objext
16697if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16698 (eval $ac_compile) 2>&5
16699 ac_status=$?
16700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16701 (exit $ac_status); } &&
16702 { ac_try='test -s conftest.$ac_objext'
16703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16704 (eval $ac_try) 2>&5
16705 ac_status=$?
16706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16707 (exit $ac_status); }; }; then
16708 ac_cv_c_bigendian=yes
16709else
16710 echo "$as_me: failed program was:" >&5
16711sed 's/^/| /' conftest.$ac_ext >&5
16712
16713ac_cv_c_bigendian=no
16714fi
16715rm -f conftest.$ac_objext conftest.$ac_ext
16716else
16717 echo "$as_me: failed program was:" >&5
16718sed 's/^/| /' conftest.$ac_ext >&5
16719
16720fi
16721rm -f conftest.$ac_objext conftest.$ac_ext
16722if test $ac_cv_c_bigendian = unknown; then
16723if test "$cross_compiling" = yes; then
16724 ac_cv_c_bigendian=unknown
16725else
16726 cat >conftest.$ac_ext <<_ACEOF
16727#line $LINENO "configure"
16728/* confdefs.h. */
16729_ACEOF
16730cat confdefs.h >>conftest.$ac_ext
16731cat >>conftest.$ac_ext <<_ACEOF
16732/* end confdefs.h. */
16733main () {
16734 /* Are we little or big endian? From Harbison&Steele. */
16735 union
16736 {
16737 long l;
16738 char c[sizeof (long)];
16739 } u;
16740 u.l = 1;
16741 exit (u.c[sizeof (long) - 1] == 1);
16742}
16743_ACEOF
16744rm -f conftest$ac_exeext
16745if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16746 (eval $ac_link) 2>&5
16747 ac_status=$?
16748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16749 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16751 (eval $ac_try) 2>&5
16752 ac_status=$?
16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754 (exit $ac_status); }; }; then
16755 ac_cv_c_bigendian=no
16756else
16757 echo "$as_me: program exited with status $ac_status" >&5
16758echo "$as_me: failed program was:" >&5
16759sed 's/^/| /' conftest.$ac_ext >&5
16760
16761( exit $ac_status )
16762ac_cv_c_bigendian=yes
16763fi
16764rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16765fi
16766fi
16767fi
16768echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16769echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16770if test $ac_cv_c_bigendian = unknown; then
16771 { 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
16772echo "$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;}
16773fi
16774if test $ac_cv_c_bigendian = yes; then
16775 cat >>confdefs.h <<\_ACEOF
16776#define WORDS_BIGENDIAN 1
16777_ACEOF
16778
16779fi
16780
16781
16782
16783ac_ext=cc
16784ac_cpp='$CXXCPP $CPPFLAGS'
16785ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16786ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16787ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16788echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16789echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16790if test -z "$CXXCPP"; then
16791 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16792 echo $ECHO_N "(cached) $ECHO_C" >&6
16793else
16794 # Double quotes because CXXCPP needs to be expanded
16795 for CXXCPP in "$CXX -E" "/lib/cpp"
16796 do
16797 ac_preproc_ok=false
16798for ac_cxx_preproc_warn_flag in '' yes
16799do
16800 # Use a header file that comes with gcc, so configuring glibc
16801 # with a fresh cross-compiler works.
16802 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16803 # <limits.h> exists even on freestanding compilers.
16804 # On the NeXT, cc -E runs the code through the compiler's parser,
16805 # not just through cpp. "Syntax error" is here to catch this case.
16806 cat >conftest.$ac_ext <<_ACEOF
16807#line $LINENO "configure"
16808/* confdefs.h. */
16809_ACEOF
16810cat confdefs.h >>conftest.$ac_ext
16811cat >>conftest.$ac_ext <<_ACEOF
16812/* end confdefs.h. */
16813#ifdef __STDC__
16814# include <limits.h>
16815#else
16816# include <assert.h>
16817#endif
16818 Syntax error
16819_ACEOF
16820if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16821 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16822 ac_status=$?
16823 grep -v '^ *+' conftest.er1 >conftest.err
16824 rm -f conftest.er1
16825 cat conftest.err >&5
16826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16827 (exit $ac_status); } >/dev/null; then
16828 if test -s conftest.err; then
16829 ac_cpp_err=$ac_cxx_preproc_warn_flag
16830 else
16831 ac_cpp_err=
16832 fi
16833else
16834 ac_cpp_err=yes
16835fi
16836if test -z "$ac_cpp_err"; then
16837 :
16838else
16839 echo "$as_me: failed program was:" >&5
16840sed 's/^/| /' conftest.$ac_ext >&5
16841
16842 # Broken: fails on valid input.
16843continue
16844fi
16845rm -f conftest.err conftest.$ac_ext
16846
16847 # OK, works on sane cases. Now check whether non-existent headers
16848 # can be detected and how.
16849 cat >conftest.$ac_ext <<_ACEOF
16850#line $LINENO "configure"
16851/* confdefs.h. */
16852_ACEOF
16853cat confdefs.h >>conftest.$ac_ext
16854cat >>conftest.$ac_ext <<_ACEOF
16855/* end confdefs.h. */
16856#include <ac_nonexistent.h>
16857_ACEOF
16858if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16859 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16860 ac_status=$?
16861 grep -v '^ *+' conftest.er1 >conftest.err
16862 rm -f conftest.er1
16863 cat conftest.err >&5
16864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16865 (exit $ac_status); } >/dev/null; then
16866 if test -s conftest.err; then
16867 ac_cpp_err=$ac_cxx_preproc_warn_flag
16868 else
16869 ac_cpp_err=
16870 fi
16871else
16872 ac_cpp_err=yes
16873fi
16874if test -z "$ac_cpp_err"; then
16875 # Broken: success on invalid input.
16876continue
16877else
16878 echo "$as_me: failed program was:" >&5
16879sed 's/^/| /' conftest.$ac_ext >&5
16880
16881 # Passes both tests.
16882ac_preproc_ok=:
16883break
16884fi
16885rm -f conftest.err conftest.$ac_ext
16886
16887done
16888# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16889rm -f conftest.err conftest.$ac_ext
16890if $ac_preproc_ok; then
16891 break
16892fi
16893
16894 done
16895 ac_cv_prog_CXXCPP=$CXXCPP
16896
16897fi
16898 CXXCPP=$ac_cv_prog_CXXCPP
16899else
16900 ac_cv_prog_CXXCPP=$CXXCPP
16901fi
16902echo "$as_me:$LINENO: result: $CXXCPP" >&5
16903echo "${ECHO_T}$CXXCPP" >&6
16904ac_preproc_ok=false
16905for ac_cxx_preproc_warn_flag in '' yes
16906do
16907 # Use a header file that comes with gcc, so configuring glibc
16908 # with a fresh cross-compiler works.
16909 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16910 # <limits.h> exists even on freestanding compilers.
16911 # On the NeXT, cc -E runs the code through the compiler's parser,
16912 # not just through cpp. "Syntax error" is here to catch this case.
16913 cat >conftest.$ac_ext <<_ACEOF
16914#line $LINENO "configure"
16915/* confdefs.h. */
16916_ACEOF
16917cat confdefs.h >>conftest.$ac_ext
16918cat >>conftest.$ac_ext <<_ACEOF
16919/* end confdefs.h. */
16920#ifdef __STDC__
16921# include <limits.h>
16922#else
16923# include <assert.h>
16924#endif
16925 Syntax error
16926_ACEOF
16927if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16928 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16929 ac_status=$?
16930 grep -v '^ *+' conftest.er1 >conftest.err
16931 rm -f conftest.er1
16932 cat conftest.err >&5
16933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16934 (exit $ac_status); } >/dev/null; then
16935 if test -s conftest.err; then
16936 ac_cpp_err=$ac_cxx_preproc_warn_flag
16937 else
16938 ac_cpp_err=
16939 fi
16940else
16941 ac_cpp_err=yes
16942fi
16943if test -z "$ac_cpp_err"; then
16944 :
16945else
16946 echo "$as_me: failed program was:" >&5
16947sed 's/^/| /' conftest.$ac_ext >&5
16948
16949 # Broken: fails on valid input.
16950continue
16951fi
16952rm -f conftest.err conftest.$ac_ext
16953
16954 # OK, works on sane cases. Now check whether non-existent headers
16955 # can be detected and how.
16956 cat >conftest.$ac_ext <<_ACEOF
16957#line $LINENO "configure"
16958/* confdefs.h. */
16959_ACEOF
16960cat confdefs.h >>conftest.$ac_ext
16961cat >>conftest.$ac_ext <<_ACEOF
16962/* end confdefs.h. */
16963#include <ac_nonexistent.h>
16964_ACEOF
16965if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16966 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16967 ac_status=$?
16968 grep -v '^ *+' conftest.er1 >conftest.err
16969 rm -f conftest.er1
16970 cat conftest.err >&5
16971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16972 (exit $ac_status); } >/dev/null; then
16973 if test -s conftest.err; then
16974 ac_cpp_err=$ac_cxx_preproc_warn_flag
16975 else
16976 ac_cpp_err=
16977 fi
16978else
16979 ac_cpp_err=yes
16980fi
16981if test -z "$ac_cpp_err"; then
16982 # Broken: success on invalid input.
16983continue
16984else
16985 echo "$as_me: failed program was:" >&5
16986sed 's/^/| /' conftest.$ac_ext >&5
16987
16988 # Passes both tests.
16989ac_preproc_ok=:
16990break
16991fi
16992rm -f conftest.err conftest.$ac_ext
16993
16994done
16995# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16996rm -f conftest.err conftest.$ac_ext
16997if $ac_preproc_ok; then
16998 :
16999else
17000 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17001See \`config.log' for more details." >&5
17002echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17003See \`config.log' for more details." >&2;}
17004 { (exit 1); exit 1; }; }
17005fi
17006
17007ac_ext=cc
17008ac_cpp='$CXXCPP $CPPFLAGS'
17009ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17010ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17011ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17012
17013
17014
17015 if test "$cross_compiling" = "yes"; then
17016 cat >>confdefs.h <<\_ACEOF
17017#define wxUSE_IOSTREAMH 1
17018_ACEOF
17019
17020 else
17021
17022
17023 ac_ext=cc
17024ac_cpp='$CXXCPP $CPPFLAGS'
17025ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17026ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17027ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17028
17029
17030
17031for ac_header in iostream
17032do
17033as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17034if eval "test \"\${$as_ac_Header+set}\" = set"; then
17035 echo "$as_me:$LINENO: checking for $ac_header" >&5
17036echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17037if eval "test \"\${$as_ac_Header+set}\" = set"; then
17038 echo $ECHO_N "(cached) $ECHO_C" >&6
17039fi
17040echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17041echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17042else
17043 # Is the header compilable?
17044echo "$as_me:$LINENO: checking $ac_header usability" >&5
17045echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17046cat >conftest.$ac_ext <<_ACEOF
17047#line $LINENO "configure"
17048/* confdefs.h. */
17049_ACEOF
17050cat confdefs.h >>conftest.$ac_ext
17051cat >>conftest.$ac_ext <<_ACEOF
17052/* end confdefs.h. */
17053$ac_includes_default
17054#include <$ac_header>
17055_ACEOF
17056rm -f conftest.$ac_objext
17057if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17058 (eval $ac_compile) 2>&5
17059 ac_status=$?
17060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061 (exit $ac_status); } &&
17062 { ac_try='test -s conftest.$ac_objext'
17063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17064 (eval $ac_try) 2>&5
17065 ac_status=$?
17066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17067 (exit $ac_status); }; }; then
17068 ac_header_compiler=yes
17069else
17070 echo "$as_me: failed program was:" >&5
17071sed 's/^/| /' conftest.$ac_ext >&5
17072
17073ac_header_compiler=no
17074fi
17075rm -f conftest.$ac_objext conftest.$ac_ext
17076echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17077echo "${ECHO_T}$ac_header_compiler" >&6
17078
17079# Is the header present?
17080echo "$as_me:$LINENO: checking $ac_header presence" >&5
17081echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17082cat >conftest.$ac_ext <<_ACEOF
17083#line $LINENO "configure"
17084/* confdefs.h. */
17085_ACEOF
17086cat confdefs.h >>conftest.$ac_ext
17087cat >>conftest.$ac_ext <<_ACEOF
17088/* end confdefs.h. */
17089#include <$ac_header>
17090_ACEOF
17091if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17092 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17093 ac_status=$?
17094 grep -v '^ *+' conftest.er1 >conftest.err
17095 rm -f conftest.er1
17096 cat conftest.err >&5
17097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17098 (exit $ac_status); } >/dev/null; then
17099 if test -s conftest.err; then
17100 ac_cpp_err=$ac_cxx_preproc_warn_flag
17101 else
17102 ac_cpp_err=
17103 fi
17104else
17105 ac_cpp_err=yes
17106fi
17107if test -z "$ac_cpp_err"; then
17108 ac_header_preproc=yes
17109else
17110 echo "$as_me: failed program was:" >&5
17111sed 's/^/| /' conftest.$ac_ext >&5
17112
17113 ac_header_preproc=no
17114fi
17115rm -f conftest.err conftest.$ac_ext
17116echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17117echo "${ECHO_T}$ac_header_preproc" >&6
17118
17119# So? What about this header?
17120case $ac_header_compiler:$ac_header_preproc in
17121 yes:no )
17122 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17123echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17124 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17125echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17126 (
17127 cat <<\_ASBOX
17128## ------------------------------------ ##
17129## Report this to bug-autoconf@gnu.org. ##
17130## ------------------------------------ ##
17131_ASBOX
17132 ) |
17133 sed "s/^/$as_me: WARNING: /" >&2
17134 ;;
17135 no:yes )
17136 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17137echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17138 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17139echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17140 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17141echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17142 (
17143 cat <<\_ASBOX
17144## ------------------------------------ ##
17145## Report this to bug-autoconf@gnu.org. ##
17146## ------------------------------------ ##
17147_ASBOX
17148 ) |
17149 sed "s/^/$as_me: WARNING: /" >&2
17150 ;;
17151esac
17152echo "$as_me:$LINENO: checking for $ac_header" >&5
17153echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17154if eval "test \"\${$as_ac_Header+set}\" = set"; then
17155 echo $ECHO_N "(cached) $ECHO_C" >&6
17156else
17157 eval "$as_ac_Header=$ac_header_preproc"
17158fi
17159echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17160echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17161
17162fi
17163if test `eval echo '${'$as_ac_Header'}'` = yes; then
17164 cat >>confdefs.h <<_ACEOF
17165#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17166_ACEOF
17167
17168fi
17169
17170done
17171
17172
17173 if test "$ac_cv_header_iostream" = "yes" ; then
17174 :
17175 else
17176 cat >>confdefs.h <<\_ACEOF
17177#define wxUSE_IOSTREAMH 1
17178_ACEOF
17179
17180 fi
17181
17182 ac_ext=c
17183ac_cpp='$CPP $CPPFLAGS'
17184ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17185ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17186ac_compiler_gnu=$ac_cv_c_compiler_gnu
17187
17188 fi
17189
17190
17191
17192 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17193echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17194if test "${wx_cv_cpp_bool+set}" = set; then
17195 echo $ECHO_N "(cached) $ECHO_C" >&6
17196else
17197
17198
17199
17200 ac_ext=cc
17201ac_cpp='$CXXCPP $CPPFLAGS'
17202ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17203ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17204ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17205
17206
17207 cat >conftest.$ac_ext <<_ACEOF
17208#line $LINENO "configure"
17209/* confdefs.h. */
17210_ACEOF
17211cat confdefs.h >>conftest.$ac_ext
17212cat >>conftest.$ac_ext <<_ACEOF
17213/* end confdefs.h. */
17214
17215
17216int
17217main ()
17218{
17219
17220 bool b = true;
17221
17222 return 0;
17223
17224 ;
17225 return 0;
17226}
17227_ACEOF
17228rm -f conftest.$ac_objext
17229if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17230 (eval $ac_compile) 2>&5
17231 ac_status=$?
17232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17233 (exit $ac_status); } &&
17234 { ac_try='test -s conftest.$ac_objext'
17235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17236 (eval $ac_try) 2>&5
17237 ac_status=$?
17238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239 (exit $ac_status); }; }; then
17240
17241 wx_cv_cpp_bool=yes
17242
17243else
17244 echo "$as_me: failed program was:" >&5
17245sed 's/^/| /' conftest.$ac_ext >&5
17246
17247
17248 wx_cv_cpp_bool=no
17249
17250
17251fi
17252rm -f conftest.$ac_objext conftest.$ac_ext
17253
17254 ac_ext=c
17255ac_cpp='$CPP $CPPFLAGS'
17256ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17257ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17258ac_compiler_gnu=$ac_cv_c_compiler_gnu
17259
17260
17261fi
17262echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17263echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17264
17265 if test "$wx_cv_cpp_bool" = "yes"; then
17266 cat >>confdefs.h <<\_ACEOF
17267#define HAVE_BOOL 1
17268_ACEOF
17269
17270 fi
17271
17272
17273
17274 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17275echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17276if test "${wx_cv_explicit+set}" = set; then
17277 echo $ECHO_N "(cached) $ECHO_C" >&6
17278else
17279
17280
17281
17282 ac_ext=cc
17283ac_cpp='$CXXCPP $CPPFLAGS'
17284ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17285ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17286ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17287
17288
17289 cat >conftest.$ac_ext <<_ACEOF
17290#line $LINENO "configure"
17291/* confdefs.h. */
17292_ACEOF
17293cat confdefs.h >>conftest.$ac_ext
17294cat >>conftest.$ac_ext <<_ACEOF
17295/* end confdefs.h. */
17296
17297 class Foo { public: explicit Foo(int) {} };
17298
17299int
17300main ()
17301{
17302
17303 return 0;
17304
17305 ;
17306 return 0;
17307}
17308_ACEOF
17309rm -f conftest.$ac_objext
17310if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17311 (eval $ac_compile) 2>&5
17312 ac_status=$?
17313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17314 (exit $ac_status); } &&
17315 { ac_try='test -s conftest.$ac_objext'
17316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17317 (eval $ac_try) 2>&5
17318 ac_status=$?
17319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17320 (exit $ac_status); }; }; then
17321
17322 cat >conftest.$ac_ext <<_ACEOF
17323#line $LINENO "configure"
17324/* confdefs.h. */
17325_ACEOF
17326cat confdefs.h >>conftest.$ac_ext
17327cat >>conftest.$ac_ext <<_ACEOF
17328/* end confdefs.h. */
17329
17330 class Foo { public: explicit Foo(int) {} };
17331 static void TakeFoo(const Foo& foo) { }
17332
17333int
17334main ()
17335{
17336
17337 TakeFoo(17);
17338 return 0;
17339
17340 ;
17341 return 0;
17342}
17343_ACEOF
17344rm -f conftest.$ac_objext
17345if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17346 (eval $ac_compile) 2>&5
17347 ac_status=$?
17348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17349 (exit $ac_status); } &&
17350 { ac_try='test -s conftest.$ac_objext'
17351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17352 (eval $ac_try) 2>&5
17353 ac_status=$?
17354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17355 (exit $ac_status); }; }; then
17356 wx_cv_explicit=no
17357else
17358 echo "$as_me: failed program was:" >&5
17359sed 's/^/| /' conftest.$ac_ext >&5
17360
17361wx_cv_explicit=yes
17362
17363fi
17364rm -f conftest.$ac_objext conftest.$ac_ext
17365
17366else
17367 echo "$as_me: failed program was:" >&5
17368sed 's/^/| /' conftest.$ac_ext >&5
17369
17370wx_cv_explicit=no
17371
17372fi
17373rm -f conftest.$ac_objext conftest.$ac_ext
17374
17375 ac_ext=c
17376ac_cpp='$CPP $CPPFLAGS'
17377ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17378ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17379ac_compiler_gnu=$ac_cv_c_compiler_gnu
17380
17381
17382fi
17383echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17384echo "${ECHO_T}$wx_cv_explicit" >&6
17385
17386 if test "$wx_cv_explicit" = "yes"; then
17387 cat >>confdefs.h <<\_ACEOF
17388#define HAVE_EXPLICIT 1
17389_ACEOF
17390
17391 fi
17392
17393
17394echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17395echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17396if test "${ac_cv_cxx_const_cast+set}" = set; then
17397 echo $ECHO_N "(cached) $ECHO_C" >&6
17398else
17399
17400
17401 ac_ext=cc
17402ac_cpp='$CXXCPP $CPPFLAGS'
17403ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17404ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17405ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17406
17407 cat >conftest.$ac_ext <<_ACEOF
17408#line $LINENO "configure"
17409/* confdefs.h. */
17410_ACEOF
17411cat confdefs.h >>conftest.$ac_ext
17412cat >>conftest.$ac_ext <<_ACEOF
17413/* end confdefs.h. */
17414
17415int
17416main ()
17417{
17418int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17419 ;
17420 return 0;
17421}
17422_ACEOF
17423rm -f conftest.$ac_objext
17424if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17425 (eval $ac_compile) 2>&5
17426 ac_status=$?
17427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17428 (exit $ac_status); } &&
17429 { ac_try='test -s conftest.$ac_objext'
17430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17431 (eval $ac_try) 2>&5
17432 ac_status=$?
17433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17434 (exit $ac_status); }; }; then
17435 ac_cv_cxx_const_cast=yes
17436else
17437 echo "$as_me: failed program was:" >&5
17438sed 's/^/| /' conftest.$ac_ext >&5
17439
17440ac_cv_cxx_const_cast=no
17441fi
17442rm -f conftest.$ac_objext conftest.$ac_ext
17443 ac_ext=c
17444ac_cpp='$CPP $CPPFLAGS'
17445ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17446ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17447ac_compiler_gnu=$ac_cv_c_compiler_gnu
17448
17449
17450fi
17451echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17452echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17453if test "$ac_cv_cxx_const_cast" = yes; then
17454
17455cat >>confdefs.h <<\_ACEOF
17456#define HAVE_CONST_CAST
17457_ACEOF
17458
17459fi
17460
17461
17462if test "$wxUSE_STL" = "yes"; then
17463 ac_ext=cc
17464ac_cpp='$CXXCPP $CPPFLAGS'
17465ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17466ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17467ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17468
17469
17470 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17471echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17472 cat >conftest.$ac_ext <<_ACEOF
17473#line $LINENO "configure"
17474/* confdefs.h. */
17475_ACEOF
17476cat confdefs.h >>conftest.$ac_ext
17477cat >>conftest.$ac_ext <<_ACEOF
17478/* end confdefs.h. */
17479#include <string>
17480 #include <functional>
17481 #include <algorithm>
17482 #include <vector>
17483 #include <list>
17484int
17485main ()
17486{
17487std::vector<int> moo;
17488 std::list<int> foo;
17489 std::vector<int>::iterator it =
17490 std::find_if(moo.begin(), moo.end(),
17491 std::bind2nd(std::less<int>(), 3));
17492 ;
17493 return 0;
17494}
17495_ACEOF
17496rm -f conftest.$ac_objext
17497if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17498 (eval $ac_compile) 2>&5
17499 ac_status=$?
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); } &&
17502 { ac_try='test -s conftest.$ac_objext'
17503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17504 (eval $ac_try) 2>&5
17505 ac_status=$?
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); }; }; then
17508 echo "$as_me:$LINENO: result: yes" >&5
17509echo "${ECHO_T}yes" >&6
17510else
17511 echo "$as_me: failed program was:" >&5
17512sed 's/^/| /' conftest.$ac_ext >&5
17513
17514echo "$as_me:$LINENO: result: no" >&5
17515echo "${ECHO_T}no" >&6
17516 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17517echo "$as_me: error: Basic STL functionality missing" >&2;}
17518 { (exit 1); exit 1; }; }
17519fi
17520rm -f conftest.$ac_objext conftest.$ac_ext
17521
17522 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17523echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17524 cat >conftest.$ac_ext <<_ACEOF
17525#line $LINENO "configure"
17526/* confdefs.h. */
17527_ACEOF
17528cat confdefs.h >>conftest.$ac_ext
17529cat >>conftest.$ac_ext <<_ACEOF
17530/* end confdefs.h. */
17531#include <string>
17532int
17533main ()
17534{
17535std::wstring foo;
17536 ;
17537 return 0;
17538}
17539_ACEOF
17540rm -f conftest.$ac_objext
17541if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17542 (eval $ac_compile) 2>&5
17543 ac_status=$?
17544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17545 (exit $ac_status); } &&
17546 { ac_try='test -s conftest.$ac_objext'
17547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17548 (eval $ac_try) 2>&5
17549 ac_status=$?
17550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17551 (exit $ac_status); }; }; then
17552 echo "$as_me:$LINENO: result: yes" >&5
17553echo "${ECHO_T}yes" >&6
17554 cat >>confdefs.h <<\_ACEOF
17555#define HAVE_STD_WSTRING 1
17556_ACEOF
17557
17558else
17559 echo "$as_me: failed program was:" >&5
17560sed 's/^/| /' conftest.$ac_ext >&5
17561
17562echo "$as_me:$LINENO: result: no" >&5
17563echo "${ECHO_T}no" >&6
17564fi
17565rm -f conftest.$ac_objext conftest.$ac_ext
17566
17567 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17568echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17569 cat >conftest.$ac_ext <<_ACEOF
17570#line $LINENO "configure"
17571/* confdefs.h. */
17572_ACEOF
17573cat confdefs.h >>conftest.$ac_ext
17574cat >>conftest.$ac_ext <<_ACEOF
17575/* end confdefs.h. */
17576#include <string>
17577int
17578main ()
17579{
17580std::string foo, bar;
17581 foo.compare(bar);
17582 foo.compare(1, 1, bar);
17583 foo.compare(1, 1, bar, 1, 1);
17584 foo.compare("");
17585 foo.compare(1, 1, "");
17586 foo.compare(1, 1, "", 2);
17587 ;
17588 return 0;
17589}
17590_ACEOF
17591rm -f conftest.$ac_objext
17592if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17593 (eval $ac_compile) 2>&5
17594 ac_status=$?
17595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17596 (exit $ac_status); } &&
17597 { ac_try='test -s conftest.$ac_objext'
17598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17599 (eval $ac_try) 2>&5
17600 ac_status=$?
17601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17602 (exit $ac_status); }; }; then
17603 echo "$as_me:$LINENO: result: yes" >&5
17604echo "${ECHO_T}yes" >&6
17605 cat >>confdefs.h <<\_ACEOF
17606#define HAVE_STD_STRING_COMPARE 1
17607_ACEOF
17608
17609else
17610 echo "$as_me: failed program was:" >&5
17611sed 's/^/| /' conftest.$ac_ext >&5
17612
17613echo "$as_me:$LINENO: result: no" >&5
17614echo "${ECHO_T}no" >&6
17615fi
17616rm -f conftest.$ac_objext conftest.$ac_ext
17617
17618 ac_ext=c
17619ac_cpp='$CPP $CPPFLAGS'
17620ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17621ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17622ac_compiler_gnu=$ac_cv_c_compiler_gnu
17623
17624fi
17625
17626
17627SEARCH_INCLUDE="\
17628 /usr/local/include \
17629 \
17630 /usr/Motif-1.2/include \
17631 /usr/Motif-2.1/include \
17632 \
17633 /usr/include/Motif1.2 \
17634 /opt/xpm/include/X11 \
17635 /opt/GBxpm/include/ \
17636 /opt/GBxpm/X11/include/ \
17637 \
17638 /usr/Motif1.2/include \
17639 /usr/dt/include \
17640 /usr/openwin/include \
17641 \
17642 /usr/include/Xm \
17643 \
17644 /usr/X11R6/include \
17645 /usr/X11R6.4/include \
17646 /usr/X11R5/include \
17647 /usr/X11R4/include \
17648 \
17649 /usr/include/X11R6 \
17650 /usr/include/X11R5 \
17651 /usr/include/X11R4 \
17652 \
17653 /usr/local/X11R6/include \
17654 /usr/local/X11R5/include \
17655 /usr/local/X11R4/include \
17656 \
17657 /usr/local/include/X11R6 \
17658 /usr/local/include/X11R5 \
17659 /usr/local/include/X11R4 \
17660 \
17661 /usr/X11/include \
17662 /usr/include/X11 \
17663 /usr/local/X11/include \
17664 /usr/local/include/X11 \
17665 \
17666 /usr/X386/include \
17667 /usr/x386/include \
17668 /usr/XFree86/include/X11 \
17669 \
17670 X:/XFree86/include \
17671 X:/XFree86/include/X11 \
17672 \
17673 /usr/include/gtk \
17674 /usr/local/include/gtk \
17675 /usr/include/glib \
17676 /usr/local/include/glib \
17677 \
17678 /usr/include/qt \
17679 /usr/local/include/qt \
17680 \
17681 /usr/include/windows \
17682 /usr/include/wine \
17683 /usr/local/include/wine \
17684 \
17685 /usr/unsupported/include \
17686 /usr/athena/include \
17687 /usr/local/x11r5/include \
17688 /usr/lpp/Xamples/include \
17689 \
17690 /usr/openwin/share/include"
17691
17692SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17693
17694
17695cat >confcache <<\_ACEOF
17696# This file is a shell script that caches the results of configure
17697# tests run on this system so they can be shared between configure
17698# scripts and configure runs, see configure's option --config-cache.
17699# It is not useful on other systems. If it contains results you don't
17700# want to keep, you may remove or edit it.
17701#
17702# config.status only pays attention to the cache file if you give it
17703# the --recheck option to rerun configure.
17704#
17705# `ac_cv_env_foo' variables (set or unset) will be overridden when
17706# loading this file, other *unset* `ac_cv_foo' will be assigned the
17707# following values.
17708
17709_ACEOF
17710
17711# The following way of writing the cache mishandles newlines in values,
17712# but we know of no workaround that is simple, portable, and efficient.
17713# So, don't put newlines in cache variables' values.
17714# Ultrix sh set writes to stderr and can't be redirected directly,
17715# and sets the high bit in the cache file unless we assign to the vars.
17716{
17717 (set) 2>&1 |
17718 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17719 *ac_space=\ *)
17720 # `set' does not quote correctly, so add quotes (double-quote
17721 # substitution turns \\\\ into \\, and sed turns \\ into \).
17722 sed -n \
17723 "s/'/'\\\\''/g;
17724 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17725 ;;
17726 *)
17727 # `set' quotes correctly as required by POSIX, so do not add quotes.
17728 sed -n \
17729 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17730 ;;
17731 esac;
17732} |
17733 sed '
17734 t clear
17735 : clear
17736 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17737 t end
17738 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17739 : end' >>confcache
17740if diff $cache_file confcache >/dev/null 2>&1; then :; else
17741 if test -w $cache_file; then
17742 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17743 cat confcache >$cache_file
17744 else
17745 echo "not updating unwritable cache $cache_file"
17746 fi
17747fi
17748rm -f confcache
17749
17750if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17751 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17752echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17753if test "${wx_cv_lib_glibc21+set}" = set; then
17754 echo $ECHO_N "(cached) $ECHO_C" >&6
17755else
17756
17757 cat >conftest.$ac_ext <<_ACEOF
17758#line $LINENO "configure"
17759/* confdefs.h. */
17760_ACEOF
17761cat confdefs.h >>conftest.$ac_ext
17762cat >>conftest.$ac_ext <<_ACEOF
17763/* end confdefs.h. */
17764#include <features.h>
17765int
17766main ()
17767{
17768
17769 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17770 #error not glibc2.1
17771 #endif
17772
17773 ;
17774 return 0;
17775}
17776_ACEOF
17777rm -f conftest.$ac_objext
17778if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17779 (eval $ac_compile) 2>&5
17780 ac_status=$?
17781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17782 (exit $ac_status); } &&
17783 { ac_try='test -s conftest.$ac_objext'
17784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17785 (eval $ac_try) 2>&5
17786 ac_status=$?
17787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17788 (exit $ac_status); }; }; then
17789
17790 wx_cv_lib_glibc21=yes
17791
17792else
17793 echo "$as_me: failed program was:" >&5
17794sed 's/^/| /' conftest.$ac_ext >&5
17795
17796
17797 wx_cv_lib_glibc21=no
17798
17799
17800fi
17801rm -f conftest.$ac_objext conftest.$ac_ext
17802
17803fi
17804echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
17805echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
17806 if test "$wx_cv_lib_glibc21" = "yes"; then
17807 cat >>confdefs.h <<\_ACEOF
17808#define wxHAVE_GLIBC2 1
17809_ACEOF
17810
17811 fi
17812fi
17813
17814if test "x$wx_cv_lib_glibc21" = "xyes"; then
17815 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
17816 cat >>confdefs.h <<\_ACEOF
17817#define _GNU_SOURCE 1
17818_ACEOF
17819
17820 fi
17821fi
17822
17823
17824
17825REGEX_INCLUDE=
17826if test "$wxUSE_REGEX" != "no"; then
17827 cat >>confdefs.h <<\_ACEOF
17828#define wxUSE_REGEX 1
17829_ACEOF
17830
17831
17832 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
17833 if test "${ac_cv_header_regex_h+set}" = set; then
17834 echo "$as_me:$LINENO: checking for regex.h" >&5
17835echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17836if test "${ac_cv_header_regex_h+set}" = set; then
17837 echo $ECHO_N "(cached) $ECHO_C" >&6
17838fi
17839echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17840echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17841else
17842 # Is the header compilable?
17843echo "$as_me:$LINENO: checking regex.h usability" >&5
17844echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
17845cat >conftest.$ac_ext <<_ACEOF
17846#line $LINENO "configure"
17847/* confdefs.h. */
17848_ACEOF
17849cat confdefs.h >>conftest.$ac_ext
17850cat >>conftest.$ac_ext <<_ACEOF
17851/* end confdefs.h. */
17852$ac_includes_default
17853#include <regex.h>
17854_ACEOF
17855rm -f conftest.$ac_objext
17856if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17857 (eval $ac_compile) 2>&5
17858 ac_status=$?
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); } &&
17861 { ac_try='test -s conftest.$ac_objext'
17862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17863 (eval $ac_try) 2>&5
17864 ac_status=$?
17865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17866 (exit $ac_status); }; }; then
17867 ac_header_compiler=yes
17868else
17869 echo "$as_me: failed program was:" >&5
17870sed 's/^/| /' conftest.$ac_ext >&5
17871
17872ac_header_compiler=no
17873fi
17874rm -f conftest.$ac_objext conftest.$ac_ext
17875echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17876echo "${ECHO_T}$ac_header_compiler" >&6
17877
17878# Is the header present?
17879echo "$as_me:$LINENO: checking regex.h presence" >&5
17880echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
17881cat >conftest.$ac_ext <<_ACEOF
17882#line $LINENO "configure"
17883/* confdefs.h. */
17884_ACEOF
17885cat confdefs.h >>conftest.$ac_ext
17886cat >>conftest.$ac_ext <<_ACEOF
17887/* end confdefs.h. */
17888#include <regex.h>
17889_ACEOF
17890if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17891 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17892 ac_status=$?
17893 grep -v '^ *+' conftest.er1 >conftest.err
17894 rm -f conftest.er1
17895 cat conftest.err >&5
17896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17897 (exit $ac_status); } >/dev/null; then
17898 if test -s conftest.err; then
17899 ac_cpp_err=$ac_c_preproc_warn_flag
17900 else
17901 ac_cpp_err=
17902 fi
17903else
17904 ac_cpp_err=yes
17905fi
17906if test -z "$ac_cpp_err"; then
17907 ac_header_preproc=yes
17908else
17909 echo "$as_me: failed program was:" >&5
17910sed 's/^/| /' conftest.$ac_ext >&5
17911
17912 ac_header_preproc=no
17913fi
17914rm -f conftest.err conftest.$ac_ext
17915echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17916echo "${ECHO_T}$ac_header_preproc" >&6
17917
17918# So? What about this header?
17919case $ac_header_compiler:$ac_header_preproc in
17920 yes:no )
17921 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
17922echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17923 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17924echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17925 (
17926 cat <<\_ASBOX
17927## ------------------------------------ ##
17928## Report this to bug-autoconf@gnu.org. ##
17929## ------------------------------------ ##
17930_ASBOX
17931 ) |
17932 sed "s/^/$as_me: WARNING: /" >&2
17933 ;;
17934 no:yes )
17935 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
17936echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
17937 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
17938echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
17939 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17940echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17941 (
17942 cat <<\_ASBOX
17943## ------------------------------------ ##
17944## Report this to bug-autoconf@gnu.org. ##
17945## ------------------------------------ ##
17946_ASBOX
17947 ) |
17948 sed "s/^/$as_me: WARNING: /" >&2
17949 ;;
17950esac
17951echo "$as_me:$LINENO: checking for regex.h" >&5
17952echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17953if test "${ac_cv_header_regex_h+set}" = set; then
17954 echo $ECHO_N "(cached) $ECHO_C" >&6
17955else
17956 ac_cv_header_regex_h=$ac_header_preproc
17957fi
17958echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17959echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17960
17961fi
17962if test $ac_cv_header_regex_h = yes; then
17963
17964for ac_func in regcomp
17965do
17966as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17967echo "$as_me:$LINENO: checking for $ac_func" >&5
17968echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17969if eval "test \"\${$as_ac_var+set}\" = set"; then
17970 echo $ECHO_N "(cached) $ECHO_C" >&6
17971else
17972 cat >conftest.$ac_ext <<_ACEOF
17973#line $LINENO "configure"
17974/* confdefs.h. */
17975_ACEOF
17976cat confdefs.h >>conftest.$ac_ext
17977cat >>conftest.$ac_ext <<_ACEOF
17978/* end confdefs.h. */
17979/* System header to define __stub macros and hopefully few prototypes,
17980 which can conflict with char $ac_func (); below.
17981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17982 <limits.h> exists even on freestanding compilers. */
17983#ifdef __STDC__
17984# include <limits.h>
17985#else
17986# include <assert.h>
17987#endif
17988/* Override any gcc2 internal prototype to avoid an error. */
17989#ifdef __cplusplus
17990extern "C"
17991{
17992#endif
17993/* We use char because int might match the return type of a gcc2
17994 builtin and then its argument prototype would still apply. */
17995char $ac_func ();
17996/* The GNU C library defines this for functions which it implements
17997 to always fail with ENOSYS. Some functions are actually named
17998 something starting with __ and the normal name is an alias. */
17999#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18000choke me
18001#else
18002char (*f) () = $ac_func;
18003#endif
18004#ifdef __cplusplus
18005}
18006#endif
18007
18008int
18009main ()
18010{
18011return f != $ac_func;
18012 ;
18013 return 0;
18014}
18015_ACEOF
18016rm -f conftest.$ac_objext conftest$ac_exeext
18017if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18018 (eval $ac_link) 2>&5
18019 ac_status=$?
18020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021 (exit $ac_status); } &&
18022 { ac_try='test -s conftest$ac_exeext'
18023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18024 (eval $ac_try) 2>&5
18025 ac_status=$?
18026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18027 (exit $ac_status); }; }; then
18028 eval "$as_ac_var=yes"
18029else
18030 echo "$as_me: failed program was:" >&5
18031sed 's/^/| /' conftest.$ac_ext >&5
18032
18033eval "$as_ac_var=no"
18034fi
18035rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18036fi
18037echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18038echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18039if test `eval echo '${'$as_ac_var'}'` = yes; then
18040 cat >>confdefs.h <<_ACEOF
18041#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18042_ACEOF
18043
18044fi
18045done
18046
18047fi
18048
18049
18050
18051 if test "x$ac_cv_func_regcomp" != "xyes"; then
18052 if test "$wxUSE_REGEX" = "sys" ; then
18053 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18054echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18055 { (exit 1); exit 1; }; }
18056 else
18057 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18058echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18059 wxUSE_REGEX=builtin
18060 fi
18061 else
18062 wxUSE_REGEX=sys
18063 fi
18064 fi
18065
18066 if test "$wxUSE_REGEX" = "builtin" ; then
18067 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
18068 fi
18069fi
18070
18071
18072ZLIB_INCLUDE=
18073ZLIB_LINK=
18074if test "$wxUSE_ZLIB" != "no" ; then
18075 cat >>confdefs.h <<\_ACEOF
18076#define wxUSE_ZLIB 1
18077_ACEOF
18078
18079
18080 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18081 if test "$USE_DARWIN" = 1; then
18082 system_zlib_h_ok="yes"
18083 else
18084 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18085echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18086if test "${ac_cv_header_zlib_h+set}" = set; then
18087 echo $ECHO_N "(cached) $ECHO_C" >&6
18088else
18089 if test "$cross_compiling" = yes; then
18090 unset ac_cv_header_zlib_h
18091
18092else
18093 cat >conftest.$ac_ext <<_ACEOF
18094#line $LINENO "configure"
18095/* confdefs.h. */
18096_ACEOF
18097cat confdefs.h >>conftest.$ac_ext
18098cat >>conftest.$ac_ext <<_ACEOF
18099/* end confdefs.h. */
18100
18101 #include <zlib.h>
18102 #include <stdio.h>
18103
18104 int main()
18105 {
18106 FILE *f=fopen("conftestval", "w");
18107 if (!f) exit(1);
18108 fprintf(f, "%s",
18109 ZLIB_VERSION[0] == '1' &&
18110 (ZLIB_VERSION[2] > '1' ||
18111 (ZLIB_VERSION[2] == '1' &&
18112 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18113 exit(0);
18114 }
18115
18116_ACEOF
18117rm -f conftest$ac_exeext
18118if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18119 (eval $ac_link) 2>&5
18120 ac_status=$?
18121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18122 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18124 (eval $ac_try) 2>&5
18125 ac_status=$?
18126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18127 (exit $ac_status); }; }; then
18128 ac_cv_header_zlib_h=`cat conftestval`
18129else
18130 echo "$as_me: program exited with status $ac_status" >&5
18131echo "$as_me: failed program was:" >&5
18132sed 's/^/| /' conftest.$ac_ext >&5
18133
18134( exit $ac_status )
18135ac_cv_header_zlib_h=no
18136fi
18137rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18138fi
18139
18140fi
18141echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18142echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18143 if test "${ac_cv_header_zlib_h+set}" = set; then
18144 echo "$as_me:$LINENO: checking for zlib.h" >&5
18145echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18146if test "${ac_cv_header_zlib_h+set}" = set; then
18147 echo $ECHO_N "(cached) $ECHO_C" >&6
18148fi
18149echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18150echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18151else
18152 # Is the header compilable?
18153echo "$as_me:$LINENO: checking zlib.h usability" >&5
18154echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18155cat >conftest.$ac_ext <<_ACEOF
18156#line $LINENO "configure"
18157/* confdefs.h. */
18158_ACEOF
18159cat confdefs.h >>conftest.$ac_ext
18160cat >>conftest.$ac_ext <<_ACEOF
18161/* end confdefs.h. */
18162$ac_includes_default
18163#include <zlib.h>
18164_ACEOF
18165rm -f conftest.$ac_objext
18166if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18167 (eval $ac_compile) 2>&5
18168 ac_status=$?
18169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18170 (exit $ac_status); } &&
18171 { ac_try='test -s conftest.$ac_objext'
18172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18173 (eval $ac_try) 2>&5
18174 ac_status=$?
18175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18176 (exit $ac_status); }; }; then
18177 ac_header_compiler=yes
18178else
18179 echo "$as_me: failed program was:" >&5
18180sed 's/^/| /' conftest.$ac_ext >&5
18181
18182ac_header_compiler=no
18183fi
18184rm -f conftest.$ac_objext conftest.$ac_ext
18185echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18186echo "${ECHO_T}$ac_header_compiler" >&6
18187
18188# Is the header present?
18189echo "$as_me:$LINENO: checking zlib.h presence" >&5
18190echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18191cat >conftest.$ac_ext <<_ACEOF
18192#line $LINENO "configure"
18193/* confdefs.h. */
18194_ACEOF
18195cat confdefs.h >>conftest.$ac_ext
18196cat >>conftest.$ac_ext <<_ACEOF
18197/* end confdefs.h. */
18198#include <zlib.h>
18199_ACEOF
18200if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18201 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18202 ac_status=$?
18203 grep -v '^ *+' conftest.er1 >conftest.err
18204 rm -f conftest.er1
18205 cat conftest.err >&5
18206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18207 (exit $ac_status); } >/dev/null; then
18208 if test -s conftest.err; then
18209 ac_cpp_err=$ac_c_preproc_warn_flag
18210 else
18211 ac_cpp_err=
18212 fi
18213else
18214 ac_cpp_err=yes
18215fi
18216if test -z "$ac_cpp_err"; then
18217 ac_header_preproc=yes
18218else
18219 echo "$as_me: failed program was:" >&5
18220sed 's/^/| /' conftest.$ac_ext >&5
18221
18222 ac_header_preproc=no
18223fi
18224rm -f conftest.err conftest.$ac_ext
18225echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18226echo "${ECHO_T}$ac_header_preproc" >&6
18227
18228# So? What about this header?
18229case $ac_header_compiler:$ac_header_preproc in
18230 yes:no )
18231 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18232echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18233 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18234echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18235 (
18236 cat <<\_ASBOX
18237## ------------------------------------ ##
18238## Report this to bug-autoconf@gnu.org. ##
18239## ------------------------------------ ##
18240_ASBOX
18241 ) |
18242 sed "s/^/$as_me: WARNING: /" >&2
18243 ;;
18244 no:yes )
18245 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18246echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18247 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18248echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18249 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18250echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18251 (
18252 cat <<\_ASBOX
18253## ------------------------------------ ##
18254## Report this to bug-autoconf@gnu.org. ##
18255## ------------------------------------ ##
18256_ASBOX
18257 ) |
18258 sed "s/^/$as_me: WARNING: /" >&2
18259 ;;
18260esac
18261echo "$as_me:$LINENO: checking for zlib.h" >&5
18262echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18263if test "${ac_cv_header_zlib_h+set}" = set; then
18264 echo $ECHO_N "(cached) $ECHO_C" >&6
18265else
18266 ac_cv_header_zlib_h=$ac_header_preproc
18267fi
18268echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18269echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18270
18271fi
18272
18273
18274
18275 system_zlib_h_ok=$ac_cv_header_zlib_h
18276 fi
18277
18278 if test "$system_zlib_h_ok" = "yes"; then
18279 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18280echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18281if test "${ac_cv_lib_z_deflate+set}" = set; then
18282 echo $ECHO_N "(cached) $ECHO_C" >&6
18283else
18284 ac_check_lib_save_LIBS=$LIBS
18285LIBS="-lz $LIBS"
18286cat >conftest.$ac_ext <<_ACEOF
18287#line $LINENO "configure"
18288/* confdefs.h. */
18289_ACEOF
18290cat confdefs.h >>conftest.$ac_ext
18291cat >>conftest.$ac_ext <<_ACEOF
18292/* end confdefs.h. */
18293
18294/* Override any gcc2 internal prototype to avoid an error. */
18295#ifdef __cplusplus
18296extern "C"
18297#endif
18298/* We use char because int might match the return type of a gcc2
18299 builtin and then its argument prototype would still apply. */
18300char deflate ();
18301int
18302main ()
18303{
18304deflate ();
18305 ;
18306 return 0;
18307}
18308_ACEOF
18309rm -f conftest.$ac_objext conftest$ac_exeext
18310if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18311 (eval $ac_link) 2>&5
18312 ac_status=$?
18313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18314 (exit $ac_status); } &&
18315 { ac_try='test -s conftest$ac_exeext'
18316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18317 (eval $ac_try) 2>&5
18318 ac_status=$?
18319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18320 (exit $ac_status); }; }; then
18321 ac_cv_lib_z_deflate=yes
18322else
18323 echo "$as_me: failed program was:" >&5
18324sed 's/^/| /' conftest.$ac_ext >&5
18325
18326ac_cv_lib_z_deflate=no
18327fi
18328rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18329LIBS=$ac_check_lib_save_LIBS
18330fi
18331echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18332echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18333if test $ac_cv_lib_z_deflate = yes; then
18334 ZLIB_LINK=" -lz"
18335fi
18336
18337 fi
18338
18339 if test "x$ZLIB_LINK" = "x" ; then
18340 if test "$wxUSE_ZLIB" = "sys" ; then
18341 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18342echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18343 { (exit 1); exit 1; }; }
18344 else
18345 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18346echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18347 wxUSE_ZLIB=builtin
18348 fi
18349 else
18350 wxUSE_ZLIB=sys
18351 fi
18352 fi
18353
18354 if test "$wxUSE_ZLIB" = "builtin" ; then
18355 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
18356 fi
18357fi
18358
18359
18360PNG_INCLUDE=
18361PNG_LINK=
18362if test "$wxUSE_LIBPNG" != "no" ; then
18363 cat >>confdefs.h <<\_ACEOF
18364#define wxUSE_LIBPNG 1
18365_ACEOF
18366
18367
18368 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18369 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18370echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18371 wxUSE_LIBPNG=sys
18372 fi
18373
18374 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18375 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18376echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18377 wxUSE_LIBPNG=builtin
18378 fi
18379
18380 if test "$wxUSE_MGL" != 1 ; then
18381 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18382 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18383echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18384if test "${ac_cv_header_png_h+set}" = set; then
18385 echo $ECHO_N "(cached) $ECHO_C" >&6
18386else
18387 if test "$cross_compiling" = yes; then
18388 unset ac_cv_header_png_h
18389
18390else
18391 cat >conftest.$ac_ext <<_ACEOF
18392#line $LINENO "configure"
18393/* confdefs.h. */
18394_ACEOF
18395cat confdefs.h >>conftest.$ac_ext
18396cat >>conftest.$ac_ext <<_ACEOF
18397/* end confdefs.h. */
18398
18399 #include <png.h>
18400 #include <stdio.h>
18401
18402 int main()
18403 {
18404 FILE *f=fopen("conftestval", "w");
18405 if (!f) exit(1);
18406 fprintf(f, "%s",
18407 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18408 exit(0);
18409 }
18410
18411_ACEOF
18412rm -f conftest$ac_exeext
18413if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18414 (eval $ac_link) 2>&5
18415 ac_status=$?
18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18419 (eval $ac_try) 2>&5
18420 ac_status=$?
18421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18422 (exit $ac_status); }; }; then
18423 ac_cv_header_png_h=`cat conftestval`
18424else
18425 echo "$as_me: program exited with status $ac_status" >&5
18426echo "$as_me: failed program was:" >&5
18427sed 's/^/| /' conftest.$ac_ext >&5
18428
18429( exit $ac_status )
18430ac_cv_header_png_h=no
18431fi
18432rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18433fi
18434
18435fi
18436echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18437echo "${ECHO_T}$ac_cv_header_png_h" >&6
18438 if test "${ac_cv_header_png_h+set}" = set; then
18439 echo "$as_me:$LINENO: checking for png.h" >&5
18440echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18441if test "${ac_cv_header_png_h+set}" = set; then
18442 echo $ECHO_N "(cached) $ECHO_C" >&6
18443fi
18444echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18445echo "${ECHO_T}$ac_cv_header_png_h" >&6
18446else
18447 # Is the header compilable?
18448echo "$as_me:$LINENO: checking png.h usability" >&5
18449echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18450cat >conftest.$ac_ext <<_ACEOF
18451#line $LINENO "configure"
18452/* confdefs.h. */
18453_ACEOF
18454cat confdefs.h >>conftest.$ac_ext
18455cat >>conftest.$ac_ext <<_ACEOF
18456/* end confdefs.h. */
18457$ac_includes_default
18458#include <png.h>
18459_ACEOF
18460rm -f conftest.$ac_objext
18461if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18462 (eval $ac_compile) 2>&5
18463 ac_status=$?
18464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18465 (exit $ac_status); } &&
18466 { ac_try='test -s conftest.$ac_objext'
18467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18468 (eval $ac_try) 2>&5
18469 ac_status=$?
18470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18471 (exit $ac_status); }; }; then
18472 ac_header_compiler=yes
18473else
18474 echo "$as_me: failed program was:" >&5
18475sed 's/^/| /' conftest.$ac_ext >&5
18476
18477ac_header_compiler=no
18478fi
18479rm -f conftest.$ac_objext conftest.$ac_ext
18480echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18481echo "${ECHO_T}$ac_header_compiler" >&6
18482
18483# Is the header present?
18484echo "$as_me:$LINENO: checking png.h presence" >&5
18485echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18486cat >conftest.$ac_ext <<_ACEOF
18487#line $LINENO "configure"
18488/* confdefs.h. */
18489_ACEOF
18490cat confdefs.h >>conftest.$ac_ext
18491cat >>conftest.$ac_ext <<_ACEOF
18492/* end confdefs.h. */
18493#include <png.h>
18494_ACEOF
18495if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18496 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18497 ac_status=$?
18498 grep -v '^ *+' conftest.er1 >conftest.err
18499 rm -f conftest.er1
18500 cat conftest.err >&5
18501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18502 (exit $ac_status); } >/dev/null; then
18503 if test -s conftest.err; then
18504 ac_cpp_err=$ac_c_preproc_warn_flag
18505 else
18506 ac_cpp_err=
18507 fi
18508else
18509 ac_cpp_err=yes
18510fi
18511if test -z "$ac_cpp_err"; then
18512 ac_header_preproc=yes
18513else
18514 echo "$as_me: failed program was:" >&5
18515sed 's/^/| /' conftest.$ac_ext >&5
18516
18517 ac_header_preproc=no
18518fi
18519rm -f conftest.err conftest.$ac_ext
18520echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18521echo "${ECHO_T}$ac_header_preproc" >&6
18522
18523# So? What about this header?
18524case $ac_header_compiler:$ac_header_preproc in
18525 yes:no )
18526 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18527echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18528 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18529echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18530 (
18531 cat <<\_ASBOX
18532## ------------------------------------ ##
18533## Report this to bug-autoconf@gnu.org. ##
18534## ------------------------------------ ##
18535_ASBOX
18536 ) |
18537 sed "s/^/$as_me: WARNING: /" >&2
18538 ;;
18539 no:yes )
18540 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18541echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18542 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18543echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18544 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18545echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18546 (
18547 cat <<\_ASBOX
18548## ------------------------------------ ##
18549## Report this to bug-autoconf@gnu.org. ##
18550## ------------------------------------ ##
18551_ASBOX
18552 ) |
18553 sed "s/^/$as_me: WARNING: /" >&2
18554 ;;
18555esac
18556echo "$as_me:$LINENO: checking for png.h" >&5
18557echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18558if test "${ac_cv_header_png_h+set}" = set; then
18559 echo $ECHO_N "(cached) $ECHO_C" >&6
18560else
18561 ac_cv_header_png_h=$ac_header_preproc
18562fi
18563echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18564echo "${ECHO_T}$ac_cv_header_png_h" >&6
18565
18566fi
18567
18568
18569
18570 if test "$ac_cv_header_png_h" = "yes"; then
18571 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18572echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18573if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18574 echo $ECHO_N "(cached) $ECHO_C" >&6
18575else
18576 ac_check_lib_save_LIBS=$LIBS
18577LIBS="-lpng -lz -lm $LIBS"
18578cat >conftest.$ac_ext <<_ACEOF
18579#line $LINENO "configure"
18580/* confdefs.h. */
18581_ACEOF
18582cat confdefs.h >>conftest.$ac_ext
18583cat >>conftest.$ac_ext <<_ACEOF
18584/* end confdefs.h. */
18585
18586/* Override any gcc2 internal prototype to avoid an error. */
18587#ifdef __cplusplus
18588extern "C"
18589#endif
18590/* We use char because int might match the return type of a gcc2
18591 builtin and then its argument prototype would still apply. */
18592char png_check_sig ();
18593int
18594main ()
18595{
18596png_check_sig ();
18597 ;
18598 return 0;
18599}
18600_ACEOF
18601rm -f conftest.$ac_objext conftest$ac_exeext
18602if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18603 (eval $ac_link) 2>&5
18604 ac_status=$?
18605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18606 (exit $ac_status); } &&
18607 { ac_try='test -s conftest$ac_exeext'
18608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18609 (eval $ac_try) 2>&5
18610 ac_status=$?
18611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18612 (exit $ac_status); }; }; then
18613 ac_cv_lib_png_png_check_sig=yes
18614else
18615 echo "$as_me: failed program was:" >&5
18616sed 's/^/| /' conftest.$ac_ext >&5
18617
18618ac_cv_lib_png_png_check_sig=no
18619fi
18620rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18621LIBS=$ac_check_lib_save_LIBS
18622fi
18623echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18624echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18625if test $ac_cv_lib_png_png_check_sig = yes; then
18626 PNG_LINK=" -lpng"
18627fi
18628
18629 fi
18630
18631 if test "x$PNG_LINK" = "x" ; then
18632 if test "$wxUSE_LIBPNG" = "sys" ; then
18633 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18634echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18635 { (exit 1); exit 1; }; }
18636 else
18637 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18638echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18639 wxUSE_LIBPNG=builtin
18640 fi
18641 else
18642 wxUSE_LIBPNG=sys
18643 fi
18644 fi
18645 fi
18646
18647 if test "$wxUSE_LIBPNG" = "builtin" ; then
18648 PNG_INCLUDE="-I\${top_srcdir}/src/png"
18649 fi
18650
18651 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
18652fi
18653
18654
18655JPEG_INCLUDE=
18656JPEG_LINK=
18657if test "$wxUSE_LIBJPEG" != "no" ; then
18658 cat >>confdefs.h <<\_ACEOF
18659#define wxUSE_LIBJPEG 1
18660_ACEOF
18661
18662
18663 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18664 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18665echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18666 wxUSE_LIBJPEG=sys
18667 fi
18668
18669 if test "$wxUSE_MGL" != 1 ; then
18670 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18671 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18672echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18673 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18674 echo $ECHO_N "(cached) $ECHO_C" >&6
18675else
18676 cat >conftest.$ac_ext <<_ACEOF
18677#line $LINENO "configure"
18678/* confdefs.h. */
18679_ACEOF
18680cat confdefs.h >>conftest.$ac_ext
18681cat >>conftest.$ac_ext <<_ACEOF
18682/* end confdefs.h. */
18683
18684 #undef HAVE_STDLIB_H
18685 #include <stdio.h>
18686 #include <jpeglib.h>
18687
18688int
18689main ()
18690{
18691
18692
18693 ;
18694 return 0;
18695}
18696_ACEOF
18697rm -f conftest.$ac_objext
18698if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18699 (eval $ac_compile) 2>&5
18700 ac_status=$?
18701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18702 (exit $ac_status); } &&
18703 { ac_try='test -s conftest.$ac_objext'
18704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18705 (eval $ac_try) 2>&5
18706 ac_status=$?
18707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18708 (exit $ac_status); }; }; then
18709 ac_cv_header_jpeglib_h=yes
18710else
18711 echo "$as_me: failed program was:" >&5
18712sed 's/^/| /' conftest.$ac_ext >&5
18713
18714ac_cv_header_jpeglib_h=no
18715
18716fi
18717rm -f conftest.$ac_objext conftest.$ac_ext
18718
18719fi
18720
18721 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18722echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18723
18724 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18725 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18726echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18727if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18728 echo $ECHO_N "(cached) $ECHO_C" >&6
18729else
18730 ac_check_lib_save_LIBS=$LIBS
18731LIBS="-ljpeg $LIBS"
18732cat >conftest.$ac_ext <<_ACEOF
18733#line $LINENO "configure"
18734/* confdefs.h. */
18735_ACEOF
18736cat confdefs.h >>conftest.$ac_ext
18737cat >>conftest.$ac_ext <<_ACEOF
18738/* end confdefs.h. */
18739
18740/* Override any gcc2 internal prototype to avoid an error. */
18741#ifdef __cplusplus
18742extern "C"
18743#endif
18744/* We use char because int might match the return type of a gcc2
18745 builtin and then its argument prototype would still apply. */
18746char jpeg_read_header ();
18747int
18748main ()
18749{
18750jpeg_read_header ();
18751 ;
18752 return 0;
18753}
18754_ACEOF
18755rm -f conftest.$ac_objext conftest$ac_exeext
18756if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18757 (eval $ac_link) 2>&5
18758 ac_status=$?
18759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18760 (exit $ac_status); } &&
18761 { ac_try='test -s conftest$ac_exeext'
18762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18763 (eval $ac_try) 2>&5
18764 ac_status=$?
18765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18766 (exit $ac_status); }; }; then
18767 ac_cv_lib_jpeg_jpeg_read_header=yes
18768else
18769 echo "$as_me: failed program was:" >&5
18770sed 's/^/| /' conftest.$ac_ext >&5
18771
18772ac_cv_lib_jpeg_jpeg_read_header=no
18773fi
18774rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18775LIBS=$ac_check_lib_save_LIBS
18776fi
18777echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18778echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18779if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18780 JPEG_LINK=" -ljpeg"
18781fi
18782
18783 fi
18784
18785 if test "x$JPEG_LINK" = "x" ; then
18786 if test "$wxUSE_LIBJPEG" = "sys" ; then
18787 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18788echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18789 { (exit 1); exit 1; }; }
18790 else
18791 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18792echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18793 wxUSE_LIBJPEG=builtin
18794 fi
18795 else
18796 wxUSE_LIBJPEG=sys
18797 fi
18798 fi
18799 fi
18800
18801 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18802 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
18803 fi
18804fi
18805
18806
18807TIFF_INCLUDE=
18808TIFF_LINK=
18809TIFF_PREREQ_LINKS=-lm
18810if test "$wxUSE_LIBTIFF" != "no" ; then
18811 cat >>confdefs.h <<\_ACEOF
18812#define wxUSE_LIBTIFF 1
18813_ACEOF
18814
18815
18816 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
18817 if test "$wxUSE_LIBJPEG" = "sys"; then
18818 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
18819 fi
18820 if test "$wxUSE_ZLIB" = "sys"; then
18821 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
18822 fi
18823 if test "${ac_cv_header_tiffio_h+set}" = set; then
18824 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18825echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18826if test "${ac_cv_header_tiffio_h+set}" = set; then
18827 echo $ECHO_N "(cached) $ECHO_C" >&6
18828fi
18829echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18830echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18831else
18832 # Is the header compilable?
18833echo "$as_me:$LINENO: checking tiffio.h usability" >&5
18834echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
18835cat >conftest.$ac_ext <<_ACEOF
18836#line $LINENO "configure"
18837/* confdefs.h. */
18838_ACEOF
18839cat confdefs.h >>conftest.$ac_ext
18840cat >>conftest.$ac_ext <<_ACEOF
18841/* end confdefs.h. */
18842$ac_includes_default
18843#include <tiffio.h>
18844_ACEOF
18845rm -f conftest.$ac_objext
18846if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18847 (eval $ac_compile) 2>&5
18848 ac_status=$?
18849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18850 (exit $ac_status); } &&
18851 { ac_try='test -s conftest.$ac_objext'
18852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18853 (eval $ac_try) 2>&5
18854 ac_status=$?
18855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18856 (exit $ac_status); }; }; then
18857 ac_header_compiler=yes
18858else
18859 echo "$as_me: failed program was:" >&5
18860sed 's/^/| /' conftest.$ac_ext >&5
18861
18862ac_header_compiler=no
18863fi
18864rm -f conftest.$ac_objext conftest.$ac_ext
18865echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18866echo "${ECHO_T}$ac_header_compiler" >&6
18867
18868# Is the header present?
18869echo "$as_me:$LINENO: checking tiffio.h presence" >&5
18870echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
18871cat >conftest.$ac_ext <<_ACEOF
18872#line $LINENO "configure"
18873/* confdefs.h. */
18874_ACEOF
18875cat confdefs.h >>conftest.$ac_ext
18876cat >>conftest.$ac_ext <<_ACEOF
18877/* end confdefs.h. */
18878#include <tiffio.h>
18879_ACEOF
18880if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18881 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18882 ac_status=$?
18883 grep -v '^ *+' conftest.er1 >conftest.err
18884 rm -f conftest.er1
18885 cat conftest.err >&5
18886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887 (exit $ac_status); } >/dev/null; then
18888 if test -s conftest.err; then
18889 ac_cpp_err=$ac_c_preproc_warn_flag
18890 else
18891 ac_cpp_err=
18892 fi
18893else
18894 ac_cpp_err=yes
18895fi
18896if test -z "$ac_cpp_err"; then
18897 ac_header_preproc=yes
18898else
18899 echo "$as_me: failed program was:" >&5
18900sed 's/^/| /' conftest.$ac_ext >&5
18901
18902 ac_header_preproc=no
18903fi
18904rm -f conftest.err conftest.$ac_ext
18905echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18906echo "${ECHO_T}$ac_header_preproc" >&6
18907
18908# So? What about this header?
18909case $ac_header_compiler:$ac_header_preproc in
18910 yes:no )
18911 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
18912echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18913 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18914echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18915 (
18916 cat <<\_ASBOX
18917## ------------------------------------ ##
18918## Report this to bug-autoconf@gnu.org. ##
18919## ------------------------------------ ##
18920_ASBOX
18921 ) |
18922 sed "s/^/$as_me: WARNING: /" >&2
18923 ;;
18924 no:yes )
18925 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
18926echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
18927 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
18928echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
18929 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18930echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18931 (
18932 cat <<\_ASBOX
18933## ------------------------------------ ##
18934## Report this to bug-autoconf@gnu.org. ##
18935## ------------------------------------ ##
18936_ASBOX
18937 ) |
18938 sed "s/^/$as_me: WARNING: /" >&2
18939 ;;
18940esac
18941echo "$as_me:$LINENO: checking for tiffio.h" >&5
18942echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18943if test "${ac_cv_header_tiffio_h+set}" = set; then
18944 echo $ECHO_N "(cached) $ECHO_C" >&6
18945else
18946 ac_cv_header_tiffio_h=$ac_header_preproc
18947fi
18948echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18949echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18950
18951fi
18952if test $ac_cv_header_tiffio_h = yes; then
18953 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
18954echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
18955if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
18956 echo $ECHO_N "(cached) $ECHO_C" >&6
18957else
18958 ac_check_lib_save_LIBS=$LIBS
18959LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
18960cat >conftest.$ac_ext <<_ACEOF
18961#line $LINENO "configure"
18962/* confdefs.h. */
18963_ACEOF
18964cat confdefs.h >>conftest.$ac_ext
18965cat >>conftest.$ac_ext <<_ACEOF
18966/* end confdefs.h. */
18967
18968/* Override any gcc2 internal prototype to avoid an error. */
18969#ifdef __cplusplus
18970extern "C"
18971#endif
18972/* We use char because int might match the return type of a gcc2
18973 builtin and then its argument prototype would still apply. */
18974char TIFFError ();
18975int
18976main ()
18977{
18978TIFFError ();
18979 ;
18980 return 0;
18981}
18982_ACEOF
18983rm -f conftest.$ac_objext conftest$ac_exeext
18984if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18985 (eval $ac_link) 2>&5
18986 ac_status=$?
18987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18988 (exit $ac_status); } &&
18989 { ac_try='test -s conftest$ac_exeext'
18990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18991 (eval $ac_try) 2>&5
18992 ac_status=$?
18993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18994 (exit $ac_status); }; }; then
18995 ac_cv_lib_tiff_TIFFError=yes
18996else
18997 echo "$as_me: failed program was:" >&5
18998sed 's/^/| /' conftest.$ac_ext >&5
18999
19000ac_cv_lib_tiff_TIFFError=no
19001fi
19002rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19003LIBS=$ac_check_lib_save_LIBS
19004fi
19005echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19006echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19007if test $ac_cv_lib_tiff_TIFFError = yes; then
19008 TIFF_LINK=" -ltiff"
19009fi
19010
19011
19012fi
19013
19014
19015
19016 if test "x$TIFF_LINK" = "x" ; then
19017 if test "$wxUSE_LIBTIFF" = "sys" ; then
19018 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19019echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19020 { (exit 1); exit 1; }; }
19021 else
19022 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19023echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19024 wxUSE_LIBTIFF=builtin
19025 fi
19026 else
19027 wxUSE_LIBTIFF=sys
19028 fi
19029 fi
19030
19031 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19032 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
19033 fi
19034fi
19035
19036
19037if test "$wxUSE_EXPAT" != "no"; then
19038 wxUSE_XML=yes
19039 cat >>confdefs.h <<\_ACEOF
19040#define wxUSE_EXPAT 1
19041_ACEOF
19042
19043 cat >>confdefs.h <<\_ACEOF
19044#define wxUSE_XML 1
19045_ACEOF
19046
19047
19048 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19049 if test "${ac_cv_header_expat_h+set}" = set; then
19050 echo "$as_me:$LINENO: checking for expat.h" >&5
19051echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19052if test "${ac_cv_header_expat_h+set}" = set; then
19053 echo $ECHO_N "(cached) $ECHO_C" >&6
19054fi
19055echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19056echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19057else
19058 # Is the header compilable?
19059echo "$as_me:$LINENO: checking expat.h usability" >&5
19060echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19061cat >conftest.$ac_ext <<_ACEOF
19062#line $LINENO "configure"
19063/* confdefs.h. */
19064_ACEOF
19065cat confdefs.h >>conftest.$ac_ext
19066cat >>conftest.$ac_ext <<_ACEOF
19067/* end confdefs.h. */
19068$ac_includes_default
19069#include <expat.h>
19070_ACEOF
19071rm -f conftest.$ac_objext
19072if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19073 (eval $ac_compile) 2>&5
19074 ac_status=$?
19075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076 (exit $ac_status); } &&
19077 { ac_try='test -s conftest.$ac_objext'
19078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19079 (eval $ac_try) 2>&5
19080 ac_status=$?
19081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19082 (exit $ac_status); }; }; then
19083 ac_header_compiler=yes
19084else
19085 echo "$as_me: failed program was:" >&5
19086sed 's/^/| /' conftest.$ac_ext >&5
19087
19088ac_header_compiler=no
19089fi
19090rm -f conftest.$ac_objext conftest.$ac_ext
19091echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19092echo "${ECHO_T}$ac_header_compiler" >&6
19093
19094# Is the header present?
19095echo "$as_me:$LINENO: checking expat.h presence" >&5
19096echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19097cat >conftest.$ac_ext <<_ACEOF
19098#line $LINENO "configure"
19099/* confdefs.h. */
19100_ACEOF
19101cat confdefs.h >>conftest.$ac_ext
19102cat >>conftest.$ac_ext <<_ACEOF
19103/* end confdefs.h. */
19104#include <expat.h>
19105_ACEOF
19106if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19107 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19108 ac_status=$?
19109 grep -v '^ *+' conftest.er1 >conftest.err
19110 rm -f conftest.er1
19111 cat conftest.err >&5
19112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19113 (exit $ac_status); } >/dev/null; then
19114 if test -s conftest.err; then
19115 ac_cpp_err=$ac_c_preproc_warn_flag
19116 else
19117 ac_cpp_err=
19118 fi
19119else
19120 ac_cpp_err=yes
19121fi
19122if test -z "$ac_cpp_err"; then
19123 ac_header_preproc=yes
19124else
19125 echo "$as_me: failed program was:" >&5
19126sed 's/^/| /' conftest.$ac_ext >&5
19127
19128 ac_header_preproc=no
19129fi
19130rm -f conftest.err conftest.$ac_ext
19131echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19132echo "${ECHO_T}$ac_header_preproc" >&6
19133
19134# So? What about this header?
19135case $ac_header_compiler:$ac_header_preproc in
19136 yes:no )
19137 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19138echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19139 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19140echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19141 (
19142 cat <<\_ASBOX
19143## ------------------------------------ ##
19144## Report this to bug-autoconf@gnu.org. ##
19145## ------------------------------------ ##
19146_ASBOX
19147 ) |
19148 sed "s/^/$as_me: WARNING: /" >&2
19149 ;;
19150 no:yes )
19151 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19152echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19153 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19154echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19155 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19156echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19157 (
19158 cat <<\_ASBOX
19159## ------------------------------------ ##
19160## Report this to bug-autoconf@gnu.org. ##
19161## ------------------------------------ ##
19162_ASBOX
19163 ) |
19164 sed "s/^/$as_me: WARNING: /" >&2
19165 ;;
19166esac
19167echo "$as_me:$LINENO: checking for expat.h" >&5
19168echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19169if test "${ac_cv_header_expat_h+set}" = set; then
19170 echo $ECHO_N "(cached) $ECHO_C" >&6
19171else
19172 ac_cv_header_expat_h=$ac_header_preproc
19173fi
19174echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19175echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19176
19177fi
19178if test $ac_cv_header_expat_h = yes; then
19179 found_expat_h=1
19180fi
19181
19182
19183 if test "x$found_expat_h" = "x1"; then
19184 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19185echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19186if test "${wx_cv_expat_is_not_broken+set}" = set; then
19187 echo $ECHO_N "(cached) $ECHO_C" >&6
19188else
19189
19190
19191
19192 ac_ext=cc
19193ac_cpp='$CXXCPP $CPPFLAGS'
19194ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19195ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19196ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19197
19198 cat >conftest.$ac_ext <<_ACEOF
19199#line $LINENO "configure"
19200/* confdefs.h. */
19201_ACEOF
19202cat confdefs.h >>conftest.$ac_ext
19203cat >>conftest.$ac_ext <<_ACEOF
19204/* end confdefs.h. */
19205#include <expat.h>
19206int
19207main ()
19208{
19209
19210 ;
19211 return 0;
19212}
19213_ACEOF
19214rm -f conftest.$ac_objext
19215if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19216 (eval $ac_compile) 2>&5
19217 ac_status=$?
19218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19219 (exit $ac_status); } &&
19220 { ac_try='test -s conftest.$ac_objext'
19221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19222 (eval $ac_try) 2>&5
19223 ac_status=$?
19224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225 (exit $ac_status); }; }; then
19226 wx_cv_expat_is_not_broken=yes
19227else
19228 echo "$as_me: failed program was:" >&5
19229sed 's/^/| /' conftest.$ac_ext >&5
19230
19231wx_cv_expat_is_not_broken=no
19232
19233fi
19234rm -f conftest.$ac_objext conftest.$ac_ext
19235 ac_ext=c
19236ac_cpp='$CPP $CPPFLAGS'
19237ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19238ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19239ac_compiler_gnu=$ac_cv_c_compiler_gnu
19240
19241
19242
19243fi
19244echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19245echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19246 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19247 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19248echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19249if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19250 echo $ECHO_N "(cached) $ECHO_C" >&6
19251else
19252 ac_check_lib_save_LIBS=$LIBS
19253LIBS="-lexpat $LIBS"
19254cat >conftest.$ac_ext <<_ACEOF
19255#line $LINENO "configure"
19256/* confdefs.h. */
19257_ACEOF
19258cat confdefs.h >>conftest.$ac_ext
19259cat >>conftest.$ac_ext <<_ACEOF
19260/* end confdefs.h. */
19261
19262/* Override any gcc2 internal prototype to avoid an error. */
19263#ifdef __cplusplus
19264extern "C"
19265#endif
19266/* We use char because int might match the return type of a gcc2
19267 builtin and then its argument prototype would still apply. */
19268char XML_ParserCreate ();
19269int
19270main ()
19271{
19272XML_ParserCreate ();
19273 ;
19274 return 0;
19275}
19276_ACEOF
19277rm -f conftest.$ac_objext conftest$ac_exeext
19278if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19279 (eval $ac_link) 2>&5
19280 ac_status=$?
19281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19282 (exit $ac_status); } &&
19283 { ac_try='test -s conftest$ac_exeext'
19284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19285 (eval $ac_try) 2>&5
19286 ac_status=$?
19287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19288 (exit $ac_status); }; }; then
19289 ac_cv_lib_expat_XML_ParserCreate=yes
19290else
19291 echo "$as_me: failed program was:" >&5
19292sed 's/^/| /' conftest.$ac_ext >&5
19293
19294ac_cv_lib_expat_XML_ParserCreate=no
19295fi
19296rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19297LIBS=$ac_check_lib_save_LIBS
19298fi
19299echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19300echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19301if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19302 EXPAT_LINK=" -lexpat"
19303fi
19304
19305 fi
19306 fi
19307 if test "x$EXPAT_LINK" = "x" ; then
19308 if test "$wxUSE_EXPAT" = "sys" ; then
19309 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19310echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19311 { (exit 1); exit 1; }; }
19312 else
19313 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19314echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19315 wxUSE_EXPAT=builtin
19316 fi
19317 else
19318 wxUSE_EXPAT=sys
19319 fi
19320 fi
19321 if test "$wxUSE_EXPAT" = "builtin" ; then
19322
19323
19324subdirs="$subdirs src/expat"
19325
19326 fi
19327fi
19328
19329
19330
19331AFMINSTALL=
19332WIN32INSTALL=
19333
19334TOOLKIT=
19335TOOLKIT_INCLUDE=
19336WIDGET_SET=
19337
19338if test "$USE_WIN32" = 1 ; then
19339
19340for ac_header in w32api.h
19341do
19342as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19343if eval "test \"\${$as_ac_Header+set}\" = set"; then
19344 echo "$as_me:$LINENO: checking for $ac_header" >&5
19345echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19346if eval "test \"\${$as_ac_Header+set}\" = set"; then
19347 echo $ECHO_N "(cached) $ECHO_C" >&6
19348fi
19349echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19350echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19351else
19352 # Is the header compilable?
19353echo "$as_me:$LINENO: checking $ac_header usability" >&5
19354echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19355cat >conftest.$ac_ext <<_ACEOF
19356#line $LINENO "configure"
19357/* confdefs.h. */
19358_ACEOF
19359cat confdefs.h >>conftest.$ac_ext
19360cat >>conftest.$ac_ext <<_ACEOF
19361/* end confdefs.h. */
19362$ac_includes_default
19363#include <$ac_header>
19364_ACEOF
19365rm -f conftest.$ac_objext
19366if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19367 (eval $ac_compile) 2>&5
19368 ac_status=$?
19369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19370 (exit $ac_status); } &&
19371 { ac_try='test -s conftest.$ac_objext'
19372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19373 (eval $ac_try) 2>&5
19374 ac_status=$?
19375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19376 (exit $ac_status); }; }; then
19377 ac_header_compiler=yes
19378else
19379 echo "$as_me: failed program was:" >&5
19380sed 's/^/| /' conftest.$ac_ext >&5
19381
19382ac_header_compiler=no
19383fi
19384rm -f conftest.$ac_objext conftest.$ac_ext
19385echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19386echo "${ECHO_T}$ac_header_compiler" >&6
19387
19388# Is the header present?
19389echo "$as_me:$LINENO: checking $ac_header presence" >&5
19390echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19391cat >conftest.$ac_ext <<_ACEOF
19392#line $LINENO "configure"
19393/* confdefs.h. */
19394_ACEOF
19395cat confdefs.h >>conftest.$ac_ext
19396cat >>conftest.$ac_ext <<_ACEOF
19397/* end confdefs.h. */
19398#include <$ac_header>
19399_ACEOF
19400if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19401 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19402 ac_status=$?
19403 grep -v '^ *+' conftest.er1 >conftest.err
19404 rm -f conftest.er1
19405 cat conftest.err >&5
19406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19407 (exit $ac_status); } >/dev/null; then
19408 if test -s conftest.err; then
19409 ac_cpp_err=$ac_c_preproc_warn_flag
19410 else
19411 ac_cpp_err=
19412 fi
19413else
19414 ac_cpp_err=yes
19415fi
19416if test -z "$ac_cpp_err"; then
19417 ac_header_preproc=yes
19418else
19419 echo "$as_me: failed program was:" >&5
19420sed 's/^/| /' conftest.$ac_ext >&5
19421
19422 ac_header_preproc=no
19423fi
19424rm -f conftest.err conftest.$ac_ext
19425echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19426echo "${ECHO_T}$ac_header_preproc" >&6
19427
19428# So? What about this header?
19429case $ac_header_compiler:$ac_header_preproc in
19430 yes:no )
19431 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19432echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19433 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19434echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19435 (
19436 cat <<\_ASBOX
19437## ------------------------------------ ##
19438## Report this to bug-autoconf@gnu.org. ##
19439## ------------------------------------ ##
19440_ASBOX
19441 ) |
19442 sed "s/^/$as_me: WARNING: /" >&2
19443 ;;
19444 no:yes )
19445 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19446echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19447 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19448echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19449 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19450echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19451 (
19452 cat <<\_ASBOX
19453## ------------------------------------ ##
19454## Report this to bug-autoconf@gnu.org. ##
19455## ------------------------------------ ##
19456_ASBOX
19457 ) |
19458 sed "s/^/$as_me: WARNING: /" >&2
19459 ;;
19460esac
19461echo "$as_me:$LINENO: checking for $ac_header" >&5
19462echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19463if eval "test \"\${$as_ac_Header+set}\" = set"; then
19464 echo $ECHO_N "(cached) $ECHO_C" >&6
19465else
19466 eval "$as_ac_Header=$ac_header_preproc"
19467fi
19468echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19469echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19470
19471fi
19472if test `eval echo '${'$as_ac_Header'}'` = yes; then
19473 cat >>confdefs.h <<_ACEOF
19474#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19475_ACEOF
19476
19477fi
19478
19479done
19480
19481 if test "${ac_cv_header_windows_h+set}" = set; then
19482 echo "$as_me:$LINENO: checking for windows.h" >&5
19483echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19484if test "${ac_cv_header_windows_h+set}" = set; then
19485 echo $ECHO_N "(cached) $ECHO_C" >&6
19486fi
19487echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19488echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19489else
19490 # Is the header compilable?
19491echo "$as_me:$LINENO: checking windows.h usability" >&5
19492echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19493cat >conftest.$ac_ext <<_ACEOF
19494#line $LINENO "configure"
19495/* confdefs.h. */
19496_ACEOF
19497cat confdefs.h >>conftest.$ac_ext
19498cat >>conftest.$ac_ext <<_ACEOF
19499/* end confdefs.h. */
19500$ac_includes_default
19501#include <windows.h>
19502_ACEOF
19503rm -f conftest.$ac_objext
19504if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19505 (eval $ac_compile) 2>&5
19506 ac_status=$?
19507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508 (exit $ac_status); } &&
19509 { ac_try='test -s conftest.$ac_objext'
19510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19511 (eval $ac_try) 2>&5
19512 ac_status=$?
19513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 (exit $ac_status); }; }; then
19515 ac_header_compiler=yes
19516else
19517 echo "$as_me: failed program was:" >&5
19518sed 's/^/| /' conftest.$ac_ext >&5
19519
19520ac_header_compiler=no
19521fi
19522rm -f conftest.$ac_objext conftest.$ac_ext
19523echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19524echo "${ECHO_T}$ac_header_compiler" >&6
19525
19526# Is the header present?
19527echo "$as_me:$LINENO: checking windows.h presence" >&5
19528echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19529cat >conftest.$ac_ext <<_ACEOF
19530#line $LINENO "configure"
19531/* confdefs.h. */
19532_ACEOF
19533cat confdefs.h >>conftest.$ac_ext
19534cat >>conftest.$ac_ext <<_ACEOF
19535/* end confdefs.h. */
19536#include <windows.h>
19537_ACEOF
19538if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19539 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19540 ac_status=$?
19541 grep -v '^ *+' conftest.er1 >conftest.err
19542 rm -f conftest.er1
19543 cat conftest.err >&5
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); } >/dev/null; then
19546 if test -s conftest.err; then
19547 ac_cpp_err=$ac_c_preproc_warn_flag
19548 else
19549 ac_cpp_err=
19550 fi
19551else
19552 ac_cpp_err=yes
19553fi
19554if test -z "$ac_cpp_err"; then
19555 ac_header_preproc=yes
19556else
19557 echo "$as_me: failed program was:" >&5
19558sed 's/^/| /' conftest.$ac_ext >&5
19559
19560 ac_header_preproc=no
19561fi
19562rm -f conftest.err conftest.$ac_ext
19563echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19564echo "${ECHO_T}$ac_header_preproc" >&6
19565
19566# So? What about this header?
19567case $ac_header_compiler:$ac_header_preproc in
19568 yes:no )
19569 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19570echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19571 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19572echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19573 (
19574 cat <<\_ASBOX
19575## ------------------------------------ ##
19576## Report this to bug-autoconf@gnu.org. ##
19577## ------------------------------------ ##
19578_ASBOX
19579 ) |
19580 sed "s/^/$as_me: WARNING: /" >&2
19581 ;;
19582 no:yes )
19583 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19584echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19585 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19586echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19587 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19588echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19589 (
19590 cat <<\_ASBOX
19591## ------------------------------------ ##
19592## Report this to bug-autoconf@gnu.org. ##
19593## ------------------------------------ ##
19594_ASBOX
19595 ) |
19596 sed "s/^/$as_me: WARNING: /" >&2
19597 ;;
19598esac
19599echo "$as_me:$LINENO: checking for windows.h" >&5
19600echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19601if test "${ac_cv_header_windows_h+set}" = set; then
19602 echo $ECHO_N "(cached) $ECHO_C" >&6
19603else
19604 ac_cv_header_windows_h=$ac_header_preproc
19605fi
19606echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19607echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19608
19609fi
19610if test $ac_cv_header_windows_h = yes; then
19611 :
19612else
19613
19614 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19615echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19616 { (exit 1); exit 1; }; }
19617
19618fi
19619
19620
19621
19622 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19623
19624 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19625 LIBS="$LIBS -loleacc"
19626 fi
19627
19628 case "${host}" in
19629 *-*-cygwin* )
19630 LIBS="$LIBS -lkernel32 -luser32"
19631 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
19632 esac
19633
19634 if test "$wxUSE_ODBC" = "sys" ; then
19635 wxUSE_ODBC = "yes"
19636 fi
19637 if test "$wxUSE_ODBC" = "yes" ; then
19638 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
19639 cat >>confdefs.h <<\_ACEOF
19640#define wxUSE_ODBC 1
19641_ACEOF
19642
19643 fi
19644
19645 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19646 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
19647
19648 WIN32INSTALL=win32install
19649fi
19650
19651if test "$wxUSE_GUI" = "yes"; then
19652 USE_GUI=1
19653
19654 GUI_TK_LIBRARY=
19655
19656 WXGTK12=
19657 WXGTK127=
19658 WXGTK20=
19659
19660 if test "$wxUSE_MSW" = 1 ; then
19661 TOOLKIT=MSW
19662 GUIDIST=MSW_DIST
19663
19664 case "${host}" in
19665 *-*-mingw32* )
19666 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
19667 esac
19668 fi
19669
19670 if test "$wxUSE_GTK" = 1; then
19671 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19672echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19673
19674 gtk_version_cached=1
19675 if test "${wx_cv_lib_gtk+set}" = set; then
19676 echo $ECHO_N "(cached) $ECHO_C" >&6
19677else
19678
19679 gtk_version_cached=0
19680 echo "$as_me:$LINENO: result: " >&5
19681echo "${ECHO_T}" >&6
19682
19683 GTK_MODULES=
19684 if test "$wxUSE_THREADS" = "yes"; then
19685 GTK_MODULES=gthread
19686 fi
19687
19688 wx_cv_lib_gtk=
19689 if test "x$wxUSE_GTK2" = "xyes"; then
19690 # Check whether --enable-gtktest or --disable-gtktest was given.
19691if test "${enable_gtktest+set}" = set; then
19692 enableval="$enable_gtktest"
19693
19694else
19695 enable_gtktest=yes
19696fi;
19697
19698 pkg_config_args=gtk+-2.0
19699 for module in . $GTK_MODULES
19700 do
19701 case "$module" in
19702 gthread)
19703 pkg_config_args="$pkg_config_args gthread-2.0"
19704 ;;
19705 esac
19706 done
19707
19708 no_gtk=""
19709
19710 # Extract the first word of "pkg-config", so it can be a program name with args.
19711set dummy pkg-config; ac_word=$2
19712echo "$as_me:$LINENO: checking for $ac_word" >&5
19713echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19714if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19715 echo $ECHO_N "(cached) $ECHO_C" >&6
19716else
19717 case $PKG_CONFIG in
19718 [\\/]* | ?:[\\/]*)
19719 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19720 ;;
19721 *)
19722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19723for as_dir in $PATH
19724do
19725 IFS=$as_save_IFS
19726 test -z "$as_dir" && as_dir=.
19727 for ac_exec_ext in '' $ac_executable_extensions; do
19728 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19729 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19731 break 2
19732 fi
19733done
19734done
19735
19736 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19737 ;;
19738esac
19739fi
19740PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19741
19742if test -n "$PKG_CONFIG"; then
19743 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19744echo "${ECHO_T}$PKG_CONFIG" >&6
19745else
19746 echo "$as_me:$LINENO: result: no" >&5
19747echo "${ECHO_T}no" >&6
19748fi
19749
19750
19751 if test x$PKG_CONFIG != xno ; then
19752 if pkg-config --atleast-pkgconfig-version 0.7 ; then
19753 :
19754 else
19755 echo *** pkg-config too old; version 0.7 or better required.
19756 no_gtk=yes
19757 PKG_CONFIG=no
19758 fi
19759 else
19760 no_gtk=yes
19761 fi
19762
19763 min_gtk_version=2.0.0
19764 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19765echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
19766
19767 if test x$PKG_CONFIG != xno ; then
19768 ## don't try to run the test against uninstalled libtool libs
19769 if $PKG_CONFIG --uninstalled $pkg_config_args; then
19770 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
19771 enable_gtktest=no
19772 fi
19773
19774 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
19775 :
19776 else
19777 no_gtk=yes
19778 fi
19779 fi
19780
19781 if test x"$no_gtk" = x ; then
19782 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
19783 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
19784 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19785 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19786 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19787 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19788 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19789 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19790 if test "x$enable_gtktest" = "xyes" ; then
19791 ac_save_CFLAGS="$CFLAGS"
19792 ac_save_LIBS="$LIBS"
19793 CFLAGS="$CFLAGS $GTK_CFLAGS"
19794 LIBS="$GTK_LIBS $LIBS"
19795 rm -f conf.gtktest
19796 if test "$cross_compiling" = yes; then
19797 echo $ac_n "cross compiling; assumed OK... $ac_c"
19798else
19799 cat >conftest.$ac_ext <<_ACEOF
19800#line $LINENO "configure"
19801/* confdefs.h. */
19802_ACEOF
19803cat confdefs.h >>conftest.$ac_ext
19804cat >>conftest.$ac_ext <<_ACEOF
19805/* end confdefs.h. */
19806
19807#include <gtk/gtk.h>
19808#include <stdio.h>
19809#include <stdlib.h>
19810
19811int
19812main ()
19813{
19814 int major, minor, micro;
19815 char *tmp_version;
19816
19817 system ("touch conf.gtktest");
19818
19819 /* HP/UX 9 (%@#!) writes to sscanf strings */
19820 tmp_version = g_strdup("$min_gtk_version");
19821 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
19822 printf("%s, bad version string\n", "$min_gtk_version");
19823 exit(1);
19824 }
19825
19826 if ((gtk_major_version != $gtk_config_major_version) ||
19827 (gtk_minor_version != $gtk_config_minor_version) ||
19828 (gtk_micro_version != $gtk_config_micro_version))
19829 {
19830 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19831 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19832 gtk_major_version, gtk_minor_version, gtk_micro_version);
19833 printf ("*** was found! If pkg-config was correct, then it is best\n");
19834 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19835 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19836 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19837 printf("*** required on your system.\n");
19838 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
19839 printf("*** to point to the correct configuration files\n");
19840 }
19841 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19842 (gtk_minor_version != GTK_MINOR_VERSION) ||
19843 (gtk_micro_version != GTK_MICRO_VERSION))
19844 {
19845 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19846 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19847 printf("*** library (version %d.%d.%d)\n",
19848 gtk_major_version, gtk_minor_version, gtk_micro_version);
19849 }
19850 else
19851 {
19852 if ((gtk_major_version > major) ||
19853 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19854 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19855 {
19856 return 0;
19857 }
19858 else
19859 {
19860 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19861 gtk_major_version, gtk_minor_version, gtk_micro_version);
19862 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19863 major, minor, micro);
19864 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19865 printf("***\n");
19866 printf("*** If you have already installed a sufficiently new version, this error\n");
19867 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
19868 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19869 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
19870 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
19871 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19872 printf("*** so that the correct libraries are found at run-time))\n");
19873 }
19874 }
19875 return 1;
19876}
19877
19878_ACEOF
19879rm -f conftest$ac_exeext
19880if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19881 (eval $ac_link) 2>&5
19882 ac_status=$?
19883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19884 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19886 (eval $ac_try) 2>&5
19887 ac_status=$?
19888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19889 (exit $ac_status); }; }; then
19890 :
19891else
19892 echo "$as_me: program exited with status $ac_status" >&5
19893echo "$as_me: failed program was:" >&5
19894sed 's/^/| /' conftest.$ac_ext >&5
19895
19896( exit $ac_status )
19897no_gtk=yes
19898fi
19899rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19900fi
19901 CFLAGS="$ac_save_CFLAGS"
19902 LIBS="$ac_save_LIBS"
19903 fi
19904 fi
19905 if test "x$no_gtk" = x ; then
19906 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
19907echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
19908 wx_cv_lib_gtk=2.0
19909 else
19910 echo "$as_me:$LINENO: result: no" >&5
19911echo "${ECHO_T}no" >&6
19912 if test "$PKG_CONFIG" = "no" ; then
19913 echo "*** A new enough version of pkg-config was not found."
19914 echo "*** See http://pkgconfig.sourceforge.net"
19915 else
19916 if test -f conf.gtktest ; then
19917 :
19918 else
19919 echo "*** Could not run GTK+ test program, checking why..."
19920 ac_save_CFLAGS="$CFLAGS"
19921 ac_save_LIBS="$LIBS"
19922 CFLAGS="$CFLAGS $GTK_CFLAGS"
19923 LIBS="$LIBS $GTK_LIBS"
19924 cat >conftest.$ac_ext <<_ACEOF
19925#line $LINENO "configure"
19926/* confdefs.h. */
19927_ACEOF
19928cat confdefs.h >>conftest.$ac_ext
19929cat >>conftest.$ac_ext <<_ACEOF
19930/* end confdefs.h. */
19931
19932#include <gtk/gtk.h>
19933#include <stdio.h>
19934
19935int
19936main ()
19937{
19938 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19939 ;
19940 return 0;
19941}
19942_ACEOF
19943rm -f conftest.$ac_objext conftest$ac_exeext
19944if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19945 (eval $ac_link) 2>&5
19946 ac_status=$?
19947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19948 (exit $ac_status); } &&
19949 { ac_try='test -s conftest$ac_exeext'
19950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19951 (eval $ac_try) 2>&5
19952 ac_status=$?
19953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954 (exit $ac_status); }; }; then
19955 echo "*** The test program compiled, but did not run. This usually means"
19956 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
19957 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
19958 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
19959 echo "*** to the installed location Also, make sure you have run ldconfig if that"
19960 echo "*** is required on your system"
19961 echo "***"
19962 echo "*** If you have an old version installed, it is best to remove it, although"
19963 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
19964else
19965 echo "$as_me: failed program was:" >&5
19966sed 's/^/| /' conftest.$ac_ext >&5
19967
19968 echo "*** The test program failed to compile or link. See the file config.log for the"
19969 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
19970fi
19971rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19972 CFLAGS="$ac_save_CFLAGS"
19973 LIBS="$ac_save_LIBS"
19974 fi
19975 fi
19976 GTK_CFLAGS=""
19977 GTK_LIBS=""
19978 :
19979 fi
19980
19981
19982 rm -f conf.gtktest
19983
19984 else
19985
19986# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
19987if test "${with_gtk_prefix+set}" = set; then
19988 withval="$with_gtk_prefix"
19989 gtk_config_prefix="$withval"
19990else
19991 gtk_config_prefix=""
19992fi;
19993
19994# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
19995if test "${with_gtk_exec_prefix+set}" = set; then
19996 withval="$with_gtk_exec_prefix"
19997 gtk_config_exec_prefix="$withval"
19998else
19999 gtk_config_exec_prefix=""
20000fi;
20001# Check whether --enable-gtktest or --disable-gtktest was given.
20002if test "${enable_gtktest+set}" = set; then
20003 enableval="$enable_gtktest"
20004
20005else
20006 enable_gtktest=yes
20007fi;
20008
20009 for module in . $GTK_MODULES
20010 do
20011 case "$module" in
20012 gthread)
20013 gtk_config_args="$gtk_config_args gthread"
20014 ;;
20015 esac
20016 done
20017
20018 if test x$gtk_config_exec_prefix != x ; then
20019 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20020 if test x${GTK_CONFIG+set} != xset ; then
20021 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20022 fi
20023 fi
20024 if test x$gtk_config_prefix != x ; then
20025 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20026 if test x${GTK_CONFIG+set} != xset ; then
20027 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20028 fi
20029 fi
20030
20031 # Extract the first word of "gtk-config", so it can be a program name with args.
20032set dummy gtk-config; ac_word=$2
20033echo "$as_me:$LINENO: checking for $ac_word" >&5
20034echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20035if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20036 echo $ECHO_N "(cached) $ECHO_C" >&6
20037else
20038 case $GTK_CONFIG in
20039 [\\/]* | ?:[\\/]*)
20040 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20041 ;;
20042 *)
20043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20044for as_dir in $PATH
20045do
20046 IFS=$as_save_IFS
20047 test -z "$as_dir" && as_dir=.
20048 for ac_exec_ext in '' $ac_executable_extensions; do
20049 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20050 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20052 break 2
20053 fi
20054done
20055done
20056
20057 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20058 ;;
20059esac
20060fi
20061GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20062
20063if test -n "$GTK_CONFIG"; then
20064 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20065echo "${ECHO_T}$GTK_CONFIG" >&6
20066else
20067 echo "$as_me:$LINENO: result: no" >&5
20068echo "${ECHO_T}no" >&6
20069fi
20070
20071 min_gtk_version=1.2.7
20072 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20073echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20074 no_gtk=""
20075 if test "$GTK_CONFIG" = "no" ; then
20076 no_gtk=yes
20077 else
20078 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20079 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20080 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20081 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20082 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20083 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20084 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20085 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20086 if test "x$enable_gtktest" = "xyes" ; then
20087 ac_save_CFLAGS="$CFLAGS"
20088 ac_save_LIBS="$LIBS"
20089 CFLAGS="$CFLAGS $GTK_CFLAGS"
20090 LIBS="$GTK_LIBS $LIBS"
20091 rm -f conf.gtktest
20092 if test "$cross_compiling" = yes; then
20093 echo $ac_n "cross compiling; assumed OK... $ac_c"
20094else
20095 cat >conftest.$ac_ext <<_ACEOF
20096#line $LINENO "configure"
20097/* confdefs.h. */
20098_ACEOF
20099cat confdefs.h >>conftest.$ac_ext
20100cat >>conftest.$ac_ext <<_ACEOF
20101/* end confdefs.h. */
20102
20103#include <gtk/gtk.h>
20104#include <stdio.h>
20105#include <stdlib.h>
20106
20107int
20108main ()
20109{
20110 int major, minor, micro;
20111 char *tmp_version;
20112
20113 system ("touch conf.gtktest");
20114
20115 /* HP/UX 9 (%@#!) writes to sscanf strings */
20116 tmp_version = g_strdup("$min_gtk_version");
20117 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20118 printf("%s, bad version string\n", "$min_gtk_version");
20119 exit(1);
20120 }
20121
20122 if ((gtk_major_version != $gtk_config_major_version) ||
20123 (gtk_minor_version != $gtk_config_minor_version) ||
20124 (gtk_micro_version != $gtk_config_micro_version))
20125 {
20126 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20127 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20128 gtk_major_version, gtk_minor_version, gtk_micro_version);
20129 printf ("*** was found! If gtk-config was correct, then it is best\n");
20130 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20131 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20132 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20133 printf("*** required on your system.\n");
20134 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20135 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20136 printf("*** before re-running configure\n");
20137 }
20138#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20139 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20140 (gtk_minor_version != GTK_MINOR_VERSION) ||
20141 (gtk_micro_version != GTK_MICRO_VERSION))
20142 {
20143 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20144 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20145 printf("*** library (version %d.%d.%d)\n",
20146 gtk_major_version, gtk_minor_version, gtk_micro_version);
20147 }
20148#endif /* defined (GTK_MAJOR_VERSION) ... */
20149 else
20150 {
20151 if ((gtk_major_version > major) ||
20152 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20153 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20154 {
20155 return 0;
20156 }
20157 else
20158 {
20159 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20160 gtk_major_version, gtk_minor_version, gtk_micro_version);
20161 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20162 major, minor, micro);
20163 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20164 printf("***\n");
20165 printf("*** If you have already installed a sufficiently new version, this error\n");
20166 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20167 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20168 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20169 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20170 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20171 printf("*** so that the correct libraries are found at run-time))\n");
20172 }
20173 }
20174 return 1;
20175}
20176
20177_ACEOF
20178rm -f conftest$ac_exeext
20179if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20180 (eval $ac_link) 2>&5
20181 ac_status=$?
20182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20183 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20185 (eval $ac_try) 2>&5
20186 ac_status=$?
20187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20188 (exit $ac_status); }; }; then
20189 :
20190else
20191 echo "$as_me: program exited with status $ac_status" >&5
20192echo "$as_me: failed program was:" >&5
20193sed 's/^/| /' conftest.$ac_ext >&5
20194
20195( exit $ac_status )
20196no_gtk=yes
20197fi
20198rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20199fi
20200 CFLAGS="$ac_save_CFLAGS"
20201 LIBS="$ac_save_LIBS"
20202 fi
20203 fi
20204 if test "x$no_gtk" = x ; then
20205 echo "$as_me:$LINENO: result: yes" >&5
20206echo "${ECHO_T}yes" >&6
20207 wx_cv_lib_gtk=1.2.7
20208 else
20209 echo "$as_me:$LINENO: result: no" >&5
20210echo "${ECHO_T}no" >&6
20211 if test "$GTK_CONFIG" = "no" ; then
20212 echo "*** The gtk-config script installed by GTK could not be found"
20213 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20214 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20215 echo "*** full path to gtk-config."
20216 else
20217 if test -f conf.gtktest ; then
20218 :
20219 else
20220 echo "*** Could not run GTK test program, checking why..."
20221 CFLAGS="$CFLAGS $GTK_CFLAGS"
20222 LIBS="$LIBS $GTK_LIBS"
20223 cat >conftest.$ac_ext <<_ACEOF
20224#line $LINENO "configure"
20225/* confdefs.h. */
20226_ACEOF
20227cat confdefs.h >>conftest.$ac_ext
20228cat >>conftest.$ac_ext <<_ACEOF
20229/* end confdefs.h. */
20230
20231#include <gtk/gtk.h>
20232#include <stdio.h>
20233
20234int
20235main ()
20236{
20237 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20238 ;
20239 return 0;
20240}
20241_ACEOF
20242rm -f conftest.$ac_objext conftest$ac_exeext
20243if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20244 (eval $ac_link) 2>&5
20245 ac_status=$?
20246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20247 (exit $ac_status); } &&
20248 { ac_try='test -s conftest$ac_exeext'
20249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20250 (eval $ac_try) 2>&5
20251 ac_status=$?
20252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20253 (exit $ac_status); }; }; then
20254 echo "*** The test program compiled, but did not run. This usually means"
20255 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20256 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20257 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20258 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20259 echo "*** is required on your system"
20260 echo "***"
20261 echo "*** If you have an old version installed, it is best to remove it, although"
20262 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20263 echo "***"
20264 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20265 echo "*** came with the system with the command"
20266 echo "***"
20267 echo "*** rpm --erase --nodeps gtk gtk-devel"
20268else
20269 echo "$as_me: failed program was:" >&5
20270sed 's/^/| /' conftest.$ac_ext >&5
20271
20272 echo "*** The test program failed to compile or link. See the file config.log for the"
20273 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20274 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20275 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20276fi
20277rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20278 CFLAGS="$ac_save_CFLAGS"
20279 LIBS="$ac_save_LIBS"
20280 fi
20281 fi
20282 GTK_CFLAGS=""
20283 GTK_LIBS=""
20284 :
20285 fi
20286
20287
20288 rm -f conf.gtktest
20289
20290
20291 if test -z "$wx_cv_lib_gtk"; then
20292
20293# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20294if test "${with_gtk_prefix+set}" = set; then
20295 withval="$with_gtk_prefix"
20296 gtk_config_prefix="$withval"
20297else
20298 gtk_config_prefix=""
20299fi;
20300
20301# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20302if test "${with_gtk_exec_prefix+set}" = set; then
20303 withval="$with_gtk_exec_prefix"
20304 gtk_config_exec_prefix="$withval"
20305else
20306 gtk_config_exec_prefix=""
20307fi;
20308# Check whether --enable-gtktest or --disable-gtktest was given.
20309if test "${enable_gtktest+set}" = set; then
20310 enableval="$enable_gtktest"
20311
20312else
20313 enable_gtktest=yes
20314fi;
20315
20316 for module in . $GTK_MODULES
20317 do
20318 case "$module" in
20319 gthread)
20320 gtk_config_args="$gtk_config_args gthread"
20321 ;;
20322 esac
20323 done
20324
20325 if test x$gtk_config_exec_prefix != x ; then
20326 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20327 if test x${GTK_CONFIG+set} != xset ; then
20328 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20329 fi
20330 fi
20331 if test x$gtk_config_prefix != x ; then
20332 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20333 if test x${GTK_CONFIG+set} != xset ; then
20334 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20335 fi
20336 fi
20337
20338 # Extract the first word of "gtk-config", so it can be a program name with args.
20339set dummy gtk-config; ac_word=$2
20340echo "$as_me:$LINENO: checking for $ac_word" >&5
20341echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20342if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20343 echo $ECHO_N "(cached) $ECHO_C" >&6
20344else
20345 case $GTK_CONFIG in
20346 [\\/]* | ?:[\\/]*)
20347 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20348 ;;
20349 *)
20350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20351for as_dir in $PATH
20352do
20353 IFS=$as_save_IFS
20354 test -z "$as_dir" && as_dir=.
20355 for ac_exec_ext in '' $ac_executable_extensions; do
20356 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20357 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20359 break 2
20360 fi
20361done
20362done
20363
20364 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20365 ;;
20366esac
20367fi
20368GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20369
20370if test -n "$GTK_CONFIG"; then
20371 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20372echo "${ECHO_T}$GTK_CONFIG" >&6
20373else
20374 echo "$as_me:$LINENO: result: no" >&5
20375echo "${ECHO_T}no" >&6
20376fi
20377
20378 min_gtk_version=1.2.3
20379 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20380echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20381 no_gtk=""
20382 if test "$GTK_CONFIG" = "no" ; then
20383 no_gtk=yes
20384 else
20385 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20386 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20387 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20388 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20389 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20390 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20391 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20392 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20393 if test "x$enable_gtktest" = "xyes" ; then
20394 ac_save_CFLAGS="$CFLAGS"
20395 ac_save_LIBS="$LIBS"
20396 CFLAGS="$CFLAGS $GTK_CFLAGS"
20397 LIBS="$GTK_LIBS $LIBS"
20398 rm -f conf.gtktest
20399 if test "$cross_compiling" = yes; then
20400 echo $ac_n "cross compiling; assumed OK... $ac_c"
20401else
20402 cat >conftest.$ac_ext <<_ACEOF
20403#line $LINENO "configure"
20404/* confdefs.h. */
20405_ACEOF
20406cat confdefs.h >>conftest.$ac_ext
20407cat >>conftest.$ac_ext <<_ACEOF
20408/* end confdefs.h. */
20409
20410#include <gtk/gtk.h>
20411#include <stdio.h>
20412#include <stdlib.h>
20413
20414int
20415main ()
20416{
20417 int major, minor, micro;
20418 char *tmp_version;
20419
20420 system ("touch conf.gtktest");
20421
20422 /* HP/UX 9 (%@#!) writes to sscanf strings */
20423 tmp_version = g_strdup("$min_gtk_version");
20424 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20425 printf("%s, bad version string\n", "$min_gtk_version");
20426 exit(1);
20427 }
20428
20429 if ((gtk_major_version != $gtk_config_major_version) ||
20430 (gtk_minor_version != $gtk_config_minor_version) ||
20431 (gtk_micro_version != $gtk_config_micro_version))
20432 {
20433 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20434 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20435 gtk_major_version, gtk_minor_version, gtk_micro_version);
20436 printf ("*** was found! If gtk-config was correct, then it is best\n");
20437 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20438 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20439 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20440 printf("*** required on your system.\n");
20441 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20442 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20443 printf("*** before re-running configure\n");
20444 }
20445#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20446 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20447 (gtk_minor_version != GTK_MINOR_VERSION) ||
20448 (gtk_micro_version != GTK_MICRO_VERSION))
20449 {
20450 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20451 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20452 printf("*** library (version %d.%d.%d)\n",
20453 gtk_major_version, gtk_minor_version, gtk_micro_version);
20454 }
20455#endif /* defined (GTK_MAJOR_VERSION) ... */
20456 else
20457 {
20458 if ((gtk_major_version > major) ||
20459 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20460 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20461 {
20462 return 0;
20463 }
20464 else
20465 {
20466 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20467 gtk_major_version, gtk_minor_version, gtk_micro_version);
20468 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20469 major, minor, micro);
20470 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20471 printf("***\n");
20472 printf("*** If you have already installed a sufficiently new version, this error\n");
20473 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20474 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20475 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20476 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20477 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20478 printf("*** so that the correct libraries are found at run-time))\n");
20479 }
20480 }
20481 return 1;
20482}
20483
20484_ACEOF
20485rm -f conftest$ac_exeext
20486if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20487 (eval $ac_link) 2>&5
20488 ac_status=$?
20489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20490 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20492 (eval $ac_try) 2>&5
20493 ac_status=$?
20494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20495 (exit $ac_status); }; }; then
20496 :
20497else
20498 echo "$as_me: program exited with status $ac_status" >&5
20499echo "$as_me: failed program was:" >&5
20500sed 's/^/| /' conftest.$ac_ext >&5
20501
20502( exit $ac_status )
20503no_gtk=yes
20504fi
20505rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20506fi
20507 CFLAGS="$ac_save_CFLAGS"
20508 LIBS="$ac_save_LIBS"
20509 fi
20510 fi
20511 if test "x$no_gtk" = x ; then
20512 echo "$as_me:$LINENO: result: yes" >&5
20513echo "${ECHO_T}yes" >&6
20514 wx_cv_lib_gtk=1.2.3
20515 else
20516 echo "$as_me:$LINENO: result: no" >&5
20517echo "${ECHO_T}no" >&6
20518 if test "$GTK_CONFIG" = "no" ; then
20519 echo "*** The gtk-config script installed by GTK could not be found"
20520 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20521 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20522 echo "*** full path to gtk-config."
20523 else
20524 if test -f conf.gtktest ; then
20525 :
20526 else
20527 echo "*** Could not run GTK test program, checking why..."
20528 CFLAGS="$CFLAGS $GTK_CFLAGS"
20529 LIBS="$LIBS $GTK_LIBS"
20530 cat >conftest.$ac_ext <<_ACEOF
20531#line $LINENO "configure"
20532/* confdefs.h. */
20533_ACEOF
20534cat confdefs.h >>conftest.$ac_ext
20535cat >>conftest.$ac_ext <<_ACEOF
20536/* end confdefs.h. */
20537
20538#include <gtk/gtk.h>
20539#include <stdio.h>
20540
20541int
20542main ()
20543{
20544 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
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 echo "*** The test program compiled, but did not run. This usually means"
20562 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20563 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20564 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20565 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20566 echo "*** is required on your system"
20567 echo "***"
20568 echo "*** If you have an old version installed, it is best to remove it, although"
20569 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20570 echo "***"
20571 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20572 echo "*** came with the system with the command"
20573 echo "***"
20574 echo "*** rpm --erase --nodeps gtk gtk-devel"
20575else
20576 echo "$as_me: failed program was:" >&5
20577sed 's/^/| /' conftest.$ac_ext >&5
20578
20579 echo "*** The test program failed to compile or link. See the file config.log for the"
20580 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20581 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20582 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20583fi
20584rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20585 CFLAGS="$ac_save_CFLAGS"
20586 LIBS="$ac_save_LIBS"
20587 fi
20588 fi
20589 GTK_CFLAGS=""
20590 GTK_LIBS=""
20591 :
20592 fi
20593
20594
20595 rm -f conf.gtktest
20596
20597 fi
20598 fi
20599
20600 if test -z "$wx_cv_lib_gtk"; then
20601 wx_cv_lib_gtk=none
20602 else
20603 wx_cv_cflags_gtk=$GTK_CFLAGS
20604 wx_cv_libs_gtk=$GTK_LIBS
20605 fi
20606
20607
20608fi
20609
20610
20611 if test "$gtk_version_cached" = 1; then
20612 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20613echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20614 fi
20615
20616 case "$wx_cv_lib_gtk" in
20617 2.0) WXGTK20=1
20618 TOOLKIT_VERSION=2
20619 ;;
20620 1.2.7) WXGTK127=1
20621 WXGTK12=1
20622 ;;
20623 1.2.3) WXGTK12=1
20624 ;;
20625 *) { { echo "$as_me:$LINENO: error:
20626Please check that gtk-config is in path, the directory
20627where GTK+ libraries are installed (returned by
20628'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20629equivalent variable and GTK+ is version 1.2.3 or above.
20630 " >&5
20631echo "$as_me: error:
20632Please check that gtk-config is in path, the directory
20633where GTK+ libraries are installed (returned by
20634'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20635equivalent variable and GTK+ is version 1.2.3 or above.
20636 " >&2;}
20637 { (exit 1); exit 1; }; }
20638 ;;
20639 esac
20640
20641 if test "$WXGTK20" = 1; then
20642 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20643
20644 succeeded=no
20645
20646 if test -z "$PKG_CONFIG"; then
20647 # Extract the first word of "pkg-config", so it can be a program name with args.
20648set dummy pkg-config; ac_word=$2
20649echo "$as_me:$LINENO: checking for $ac_word" >&5
20650echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20651if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20652 echo $ECHO_N "(cached) $ECHO_C" >&6
20653else
20654 case $PKG_CONFIG in
20655 [\\/]* | ?:[\\/]*)
20656 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20657 ;;
20658 *)
20659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20660for as_dir in $PATH
20661do
20662 IFS=$as_save_IFS
20663 test -z "$as_dir" && as_dir=.
20664 for ac_exec_ext in '' $ac_executable_extensions; do
20665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20666 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20668 break 2
20669 fi
20670done
20671done
20672
20673 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20674 ;;
20675esac
20676fi
20677PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20678
20679if test -n "$PKG_CONFIG"; then
20680 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20681echo "${ECHO_T}$PKG_CONFIG" >&6
20682else
20683 echo "$as_me:$LINENO: result: no" >&5
20684echo "${ECHO_T}no" >&6
20685fi
20686
20687 fi
20688
20689 if test "$PKG_CONFIG" = "no" ; then
20690 echo "*** The pkg-config script could not be found. Make sure it is"
20691 echo "*** in your path, or set the PKG_CONFIG environment variable"
20692 echo "*** to the full path to pkg-config."
20693 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20694 else
20695 PKG_CONFIG_MIN_VERSION=0.9.0
20696 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20697 echo "$as_me:$LINENO: checking for pangoft2" >&5
20698echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20699
20700 if $PKG_CONFIG --exists "pangoft2" ; then
20701 echo "$as_me:$LINENO: result: yes" >&5
20702echo "${ECHO_T}yes" >&6
20703 succeeded=yes
20704
20705 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20706echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20707 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
20708 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20709echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20710
20711 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20712echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20713 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
20714 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20715echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20716 else
20717 PANGOFT2_CFLAGS=""
20718 PANGOFT2_LIBS=""
20719 ## If we have a custom action on failure, don't print errors, but
20720 ## do set a variable so people can do so.
20721 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20722
20723 fi
20724
20725
20726
20727 else
20728 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20729 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20730 fi
20731 fi
20732
20733 if test $succeeded = yes; then
20734
20735 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
20736 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
20737
20738 else
20739
20740 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20741echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20742 wxUSE_PRINTING_ARCHITECTURE="no"
20743
20744
20745 fi
20746
20747 fi
20748 else
20749 if test "$wxUSE_UNICODE" = "yes"; then
20750 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20751echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20752 wxUSE_UNICODE=no
20753 fi
20754 fi
20755
20756 if test "$USE_DARWIN" != 1; then
20757
20758for ac_func in poll
20759do
20760as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20761echo "$as_me:$LINENO: checking for $ac_func" >&5
20762echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20763if eval "test \"\${$as_ac_var+set}\" = set"; then
20764 echo $ECHO_N "(cached) $ECHO_C" >&6
20765else
20766 cat >conftest.$ac_ext <<_ACEOF
20767#line $LINENO "configure"
20768/* confdefs.h. */
20769_ACEOF
20770cat confdefs.h >>conftest.$ac_ext
20771cat >>conftest.$ac_ext <<_ACEOF
20772/* end confdefs.h. */
20773/* System header to define __stub macros and hopefully few prototypes,
20774 which can conflict with char $ac_func (); below.
20775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20776 <limits.h> exists even on freestanding compilers. */
20777#ifdef __STDC__
20778# include <limits.h>
20779#else
20780# include <assert.h>
20781#endif
20782/* Override any gcc2 internal prototype to avoid an error. */
20783#ifdef __cplusplus
20784extern "C"
20785{
20786#endif
20787/* We use char because int might match the return type of a gcc2
20788 builtin and then its argument prototype would still apply. */
20789char $ac_func ();
20790/* The GNU C library defines this for functions which it implements
20791 to always fail with ENOSYS. Some functions are actually named
20792 something starting with __ and the normal name is an alias. */
20793#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20794choke me
20795#else
20796char (*f) () = $ac_func;
20797#endif
20798#ifdef __cplusplus
20799}
20800#endif
20801
20802int
20803main ()
20804{
20805return f != $ac_func;
20806 ;
20807 return 0;
20808}
20809_ACEOF
20810rm -f conftest.$ac_objext conftest$ac_exeext
20811if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20812 (eval $ac_link) 2>&5
20813 ac_status=$?
20814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20815 (exit $ac_status); } &&
20816 { ac_try='test -s conftest$ac_exeext'
20817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20818 (eval $ac_try) 2>&5
20819 ac_status=$?
20820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20821 (exit $ac_status); }; }; then
20822 eval "$as_ac_var=yes"
20823else
20824 echo "$as_me: failed program was:" >&5
20825sed 's/^/| /' conftest.$ac_ext >&5
20826
20827eval "$as_ac_var=no"
20828fi
20829rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20830fi
20831echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20832echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20833if test `eval echo '${'$as_ac_var'}'` = yes; then
20834 cat >>confdefs.h <<_ACEOF
20835#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20836_ACEOF
20837
20838fi
20839done
20840
20841 fi
20842
20843 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
20844 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
20845
20846 AFMINSTALL=afminstall
20847 TOOLKIT=GTK
20848 GUIDIST=GTK_DIST
20849
20850 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
20851echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
20852if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
20853 echo $ECHO_N "(cached) $ECHO_C" >&6
20854else
20855 ac_check_lib_save_LIBS=$LIBS
20856LIBS="-lgdk $LIBS"
20857cat >conftest.$ac_ext <<_ACEOF
20858#line $LINENO "configure"
20859/* confdefs.h. */
20860_ACEOF
20861cat confdefs.h >>conftest.$ac_ext
20862cat >>conftest.$ac_ext <<_ACEOF
20863/* end confdefs.h. */
20864
20865/* Override any gcc2 internal prototype to avoid an error. */
20866#ifdef __cplusplus
20867extern "C"
20868#endif
20869/* We use char because int might match the return type of a gcc2
20870 builtin and then its argument prototype would still apply. */
20871char gdk_im_open ();
20872int
20873main ()
20874{
20875gdk_im_open ();
20876 ;
20877 return 0;
20878}
20879_ACEOF
20880rm -f conftest.$ac_objext conftest$ac_exeext
20881if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20882 (eval $ac_link) 2>&5
20883 ac_status=$?
20884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20885 (exit $ac_status); } &&
20886 { ac_try='test -s conftest$ac_exeext'
20887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20888 (eval $ac_try) 2>&5
20889 ac_status=$?
20890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20891 (exit $ac_status); }; }; then
20892 ac_cv_lib_gdk_gdk_im_open=yes
20893else
20894 echo "$as_me: failed program was:" >&5
20895sed 's/^/| /' conftest.$ac_ext >&5
20896
20897ac_cv_lib_gdk_gdk_im_open=no
20898fi
20899rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20900LIBS=$ac_check_lib_save_LIBS
20901fi
20902echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
20903echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
20904if test $ac_cv_lib_gdk_gdk_im_open = yes; then
20905 cat >>confdefs.h <<\_ACEOF
20906#define HAVE_XIM 1
20907_ACEOF
20908
20909fi
20910
20911 fi
20912
20913 if test "$wxUSE_MGL" = 1; then
20914 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
20915echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
20916 if test "x$MGL_ROOT" = x ; then
20917 echo "$as_me:$LINENO: result: not found" >&5
20918echo "${ECHO_T}not found" >&6
20919 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
20920echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
20921 { (exit 1); exit 1; }; }
20922 else
20923 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
20924echo "${ECHO_T}$MGL_ROOT" >&6
20925 fi
20926
20927 echo "$as_me:$LINENO: checking for libmgl location" >&5
20928echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
20929 case "${host}" in
20930 *-*-linux* )
20931 if test "x$wxUSE_SHARED" = xyes ; then
20932 mgl_os_candidates="linux/gcc/glibc.so linux/gcc/glibc"
20933 else
20934 mgl_os_candidates="linux/gcc/glibc linux/gcc/glibc.so"
20935 fi
20936 ;;
20937 *-pc-msdosdjgpp )
20938 mgl_os_candidates="dos32/dj2"
20939 ;;
20940 *)
20941 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
20942echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
20943 { (exit 1); exit 1; }; }
20944 esac
20945
20946 mgl_lib_type=""
20947 mgl_os=""
20948
20949 for mgl_os_i in $mgl_os_candidates ; do
20950 if test "x$mgl_os" = x ; then
20951 if test "$wxUSE_DEBUG_FLAG" = yes ; then
20952 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
20953 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
20954 mgl_lib_type=debug
20955 mgl_os=$mgl_os_i
20956 fi
20957 fi
20958 if test "x$mgl_lib_type" = x ; then
20959 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
20960 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
20961 mgl_lib_type=release
20962 mgl_os=$mgl_os_i
20963 fi
20964 fi
20965 fi
20966 done
20967
20968 if test "x$mgl_os" = x ; then
20969 echo "$as_me:$LINENO: result: not found" >&5
20970echo "${ECHO_T}not found" >&6
20971 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
20972echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
20973 { (exit 1); exit 1; }; }
20974 fi
20975 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
20976echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
20977
20978 wxUSE_UNIVERSAL="yes"
20979
20980 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
20981 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
20982
20983 AFMINSTALL=afminstall
20984 TOOLKIT=MGL
20985 GUIDIST=MGL_DIST
20986 fi
20987
20988 if test "$wxUSE_MICROWIN" = 1; then
20989 echo "$as_me:$LINENO: checking for MicroWindows" >&5
20990echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
20991 if test "x$MICROWINDOWS" = x ; then
20992 echo "$as_me:$LINENO: result: not found" >&5
20993echo "${ECHO_T}not found" >&6
20994 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
20995echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
20996 { (exit 1); exit 1; }; }
20997 else
20998 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
20999echo "${ECHO_T}$MICROWINDOWS" >&6
21000 fi
21001
21002 if test -f $MICROWINDOWS/lib/libmwin.a; then
21003 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21004echo "${ECHO_T}MicroWindows' libraries found." >&6
21005 else
21006 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21007echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21008 { (exit 1); exit 1; }; }
21009 fi
21010
21011 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
21012 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21013
21014 wxUSE_UNIVERSAL="yes"
21015
21016 AFMINSTALL=afminstall
21017 TOOLKIT=MICROWIN
21018 GUIDIST=MICROWIN_DIST
21019
21020 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21021 fi
21022
21023 if test "$wxUSE_X11" = 1; then
21024 echo "$as_me:$LINENO: checking for X" >&5
21025echo $ECHO_N "checking for X... $ECHO_C" >&6
21026
21027
21028# Check whether --with-x or --without-x was given.
21029if test "${with_x+set}" = set; then
21030 withval="$with_x"
21031
21032fi;
21033# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21034if test "x$with_x" = xno; then
21035 # The user explicitly disabled X.
21036 have_x=disabled
21037else
21038 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
21039 # Both variables are already set.
21040 have_x=yes
21041 else
21042 if test "${ac_cv_have_x+set}" = set; then
21043 echo $ECHO_N "(cached) $ECHO_C" >&6
21044else
21045 # One or both of the vars are not set, and there is no cached value.
21046ac_x_includes=no ac_x_libraries=no
21047rm -fr conftest.dir
21048if mkdir conftest.dir; then
21049 cd conftest.dir
21050 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21051 cat >Imakefile <<'_ACEOF'
21052acfindx:
21053 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21054_ACEOF
21055 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
21056 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21057 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21058 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21059 for ac_extension in a so sl; do
21060 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
21061 test -f $ac_im_libdir/libX11.$ac_extension; then
21062 ac_im_usrlibdir=$ac_im_libdir; break
21063 fi
21064 done
21065 # Screen out bogus values from the imake configuration. They are
21066 # bogus both because they are the default anyway, and because
21067 # using them would break gcc on systems where it needs fixed includes.
21068 case $ac_im_incroot in
21069 /usr/include) ;;
21070 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
21071 esac
21072 case $ac_im_usrlibdir in
21073 /usr/lib | /lib) ;;
21074 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
21075 esac
21076 fi
21077 cd ..
21078 rm -fr conftest.dir
21079fi
21080
21081# Standard set of common directories for X headers.
21082# Check X11 before X11Rn because it is often a symlink to the current release.
21083ac_x_header_dirs='
21084/usr/X11/include
21085/usr/X11R6/include
21086/usr/X11R5/include
21087/usr/X11R4/include
21088
21089/usr/include/X11
21090/usr/include/X11R6
21091/usr/include/X11R5
21092/usr/include/X11R4
21093
21094/usr/local/X11/include
21095/usr/local/X11R6/include
21096/usr/local/X11R5/include
21097/usr/local/X11R4/include
21098
21099/usr/local/include/X11
21100/usr/local/include/X11R6
21101/usr/local/include/X11R5
21102/usr/local/include/X11R4
21103
21104/usr/X386/include
21105/usr/x386/include
21106/usr/XFree86/include/X11
21107
21108/usr/include
21109/usr/local/include
21110/usr/unsupported/include
21111/usr/athena/include
21112/usr/local/x11r5/include
21113/usr/lpp/Xamples/include
21114
21115/usr/openwin/include
21116/usr/openwin/share/include'
21117
21118if test "$ac_x_includes" = no; then
21119 # Guess where to find include files, by looking for Intrinsic.h.
21120 # First, try using that file with no special directory specified.
21121 cat >conftest.$ac_ext <<_ACEOF
21122#line $LINENO "configure"
21123/* confdefs.h. */
21124_ACEOF
21125cat confdefs.h >>conftest.$ac_ext
21126cat >>conftest.$ac_ext <<_ACEOF
21127/* end confdefs.h. */
21128#include <X11/Intrinsic.h>
21129_ACEOF
21130if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21131 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21132 ac_status=$?
21133 grep -v '^ *+' conftest.er1 >conftest.err
21134 rm -f conftest.er1
21135 cat conftest.err >&5
21136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21137 (exit $ac_status); } >/dev/null; then
21138 if test -s conftest.err; then
21139 ac_cpp_err=$ac_c_preproc_warn_flag
21140 else
21141 ac_cpp_err=
21142 fi
21143else
21144 ac_cpp_err=yes
21145fi
21146if test -z "$ac_cpp_err"; then
21147 # We can compile using X headers with no special include directory.
21148ac_x_includes=
21149else
21150 echo "$as_me: failed program was:" >&5
21151sed 's/^/| /' conftest.$ac_ext >&5
21152
21153 for ac_dir in $ac_x_header_dirs; do
21154 if test -r "$ac_dir/X11/Intrinsic.h"; then
21155 ac_x_includes=$ac_dir
21156 break
21157 fi
21158done
21159fi
21160rm -f conftest.err conftest.$ac_ext
21161fi # $ac_x_includes = no
21162
21163if test "$ac_x_libraries" = no; then
21164 # Check for the libraries.
21165 # See if we find them without any special options.
21166 # Don't add to $LIBS permanently.
21167 ac_save_LIBS=$LIBS
21168 LIBS="-lXt $LIBS"
21169 cat >conftest.$ac_ext <<_ACEOF
21170#line $LINENO "configure"
21171/* confdefs.h. */
21172_ACEOF
21173cat confdefs.h >>conftest.$ac_ext
21174cat >>conftest.$ac_ext <<_ACEOF
21175/* end confdefs.h. */
21176#include <X11/Intrinsic.h>
21177int
21178main ()
21179{
21180XtMalloc (0)
21181 ;
21182 return 0;
21183}
21184_ACEOF
21185rm -f conftest.$ac_objext conftest$ac_exeext
21186if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21187 (eval $ac_link) 2>&5
21188 ac_status=$?
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); } &&
21191 { ac_try='test -s conftest$ac_exeext'
21192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21193 (eval $ac_try) 2>&5
21194 ac_status=$?
21195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196 (exit $ac_status); }; }; then
21197 LIBS=$ac_save_LIBS
21198# We can link X programs with no special library path.
21199ac_x_libraries=
21200else
21201 echo "$as_me: failed program was:" >&5
21202sed 's/^/| /' conftest.$ac_ext >&5
21203
21204LIBS=$ac_save_LIBS
21205for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21206do
21207 # Don't even attempt the hair of trying to link an X program!
21208 for ac_extension in a so sl; do
21209 if test -r $ac_dir/libXt.$ac_extension; then
21210 ac_x_libraries=$ac_dir
21211 break 2
21212 fi
21213 done
21214done
21215fi
21216rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21217fi # $ac_x_libraries = no
21218
21219if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
21220 # Didn't find X anywhere. Cache the known absence of X.
21221 ac_cv_have_x="have_x=no"
21222else
21223 # Record where we found X for the cache.
21224 ac_cv_have_x="have_x=yes \
21225 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21226fi
21227fi
21228
21229 fi
21230 eval "$ac_cv_have_x"
21231fi # $with_x != no
21232
21233if test "$have_x" != yes; then
21234 echo "$as_me:$LINENO: result: $have_x" >&5
21235echo "${ECHO_T}$have_x" >&6
21236 no_x=yes
21237else
21238 # If each of the values was on the command line, it overrides each guess.
21239 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
21240 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
21241 # Update the cache value to reflect the command line values.
21242 ac_cv_have_x="have_x=yes \
21243 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21244 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21245echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21246fi
21247
21248if test "$no_x" = yes; then
21249 # Not all programs may use this symbol, but it does not hurt to define it.
21250
21251cat >>confdefs.h <<\_ACEOF
21252#define X_DISPLAY_MISSING 1
21253_ACEOF
21254
21255 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
21256else
21257 if test -n "$x_includes"; then
21258 X_CFLAGS="$X_CFLAGS -I$x_includes"
21259 fi
21260
21261 # It would also be nice to do this for all -L options, not just this one.
21262 if test -n "$x_libraries"; then
21263 X_LIBS="$X_LIBS -L$x_libraries"
21264 # For Solaris; some versions of Sun CC require a space after -R and
21265 # others require no space. Words are not sufficient . . . .
21266 case `(uname -sr) 2>/dev/null` in
21267 "SunOS 5"*)
21268 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21269echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21270 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
21271 cat >conftest.$ac_ext <<_ACEOF
21272#line $LINENO "configure"
21273/* confdefs.h. */
21274_ACEOF
21275cat confdefs.h >>conftest.$ac_ext
21276cat >>conftest.$ac_ext <<_ACEOF
21277/* end confdefs.h. */
21278
21279int
21280main ()
21281{
21282
21283 ;
21284 return 0;
21285}
21286_ACEOF
21287rm -f conftest.$ac_objext conftest$ac_exeext
21288if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21289 (eval $ac_link) 2>&5
21290 ac_status=$?
21291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21292 (exit $ac_status); } &&
21293 { ac_try='test -s conftest$ac_exeext'
21294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21295 (eval $ac_try) 2>&5
21296 ac_status=$?
21297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21298 (exit $ac_status); }; }; then
21299 ac_R_nospace=yes
21300else
21301 echo "$as_me: failed program was:" >&5
21302sed 's/^/| /' conftest.$ac_ext >&5
21303
21304ac_R_nospace=no
21305fi
21306rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21307 if test $ac_R_nospace = yes; then
21308 echo "$as_me:$LINENO: result: no" >&5
21309echo "${ECHO_T}no" >&6
21310 X_LIBS="$X_LIBS -R$x_libraries"
21311 else
21312 LIBS="$ac_xsave_LIBS -R $x_libraries"
21313 cat >conftest.$ac_ext <<_ACEOF
21314#line $LINENO "configure"
21315/* confdefs.h. */
21316_ACEOF
21317cat confdefs.h >>conftest.$ac_ext
21318cat >>conftest.$ac_ext <<_ACEOF
21319/* end confdefs.h. */
21320
21321int
21322main ()
21323{
21324
21325 ;
21326 return 0;
21327}
21328_ACEOF
21329rm -f conftest.$ac_objext conftest$ac_exeext
21330if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21331 (eval $ac_link) 2>&5
21332 ac_status=$?
21333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21334 (exit $ac_status); } &&
21335 { ac_try='test -s conftest$ac_exeext'
21336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21337 (eval $ac_try) 2>&5
21338 ac_status=$?
21339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21340 (exit $ac_status); }; }; then
21341 ac_R_space=yes
21342else
21343 echo "$as_me: failed program was:" >&5
21344sed 's/^/| /' conftest.$ac_ext >&5
21345
21346ac_R_space=no
21347fi
21348rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21349 if test $ac_R_space = yes; then
21350 echo "$as_me:$LINENO: result: yes" >&5
21351echo "${ECHO_T}yes" >&6
21352 X_LIBS="$X_LIBS -R $x_libraries"
21353 else
21354 echo "$as_me:$LINENO: result: neither works" >&5
21355echo "${ECHO_T}neither works" >&6
21356 fi
21357 fi
21358 LIBS=$ac_xsave_LIBS
21359 esac
21360 fi
21361
21362 # Check for system-dependent libraries X programs must link with.
21363 # Do this before checking for the system-independent R6 libraries
21364 # (-lICE), since we may need -lsocket or whatever for X linking.
21365
21366 if test "$ISC" = yes; then
21367 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
21368 else
21369 # Martyn Johnson says this is needed for Ultrix, if the X
21370 # libraries were built with DECnet support. And Karl Berry says
21371 # the Alpha needs dnet_stub (dnet does not exist).
21372 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
21373 cat >conftest.$ac_ext <<_ACEOF
21374#line $LINENO "configure"
21375/* confdefs.h. */
21376_ACEOF
21377cat confdefs.h >>conftest.$ac_ext
21378cat >>conftest.$ac_ext <<_ACEOF
21379/* end confdefs.h. */
21380
21381/* Override any gcc2 internal prototype to avoid an error. */
21382#ifdef __cplusplus
21383extern "C"
21384#endif
21385/* We use char because int might match the return type of a gcc2
21386 builtin and then its argument prototype would still apply. */
21387char XOpenDisplay ();
21388int
21389main ()
21390{
21391XOpenDisplay ();
21392 ;
21393 return 0;
21394}
21395_ACEOF
21396rm -f conftest.$ac_objext conftest$ac_exeext
21397if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21398 (eval $ac_link) 2>&5
21399 ac_status=$?
21400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21401 (exit $ac_status); } &&
21402 { ac_try='test -s conftest$ac_exeext'
21403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21404 (eval $ac_try) 2>&5
21405 ac_status=$?
21406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21407 (exit $ac_status); }; }; then
21408 :
21409else
21410 echo "$as_me: failed program was:" >&5
21411sed 's/^/| /' conftest.$ac_ext >&5
21412
21413echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21414echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21415if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21416 echo $ECHO_N "(cached) $ECHO_C" >&6
21417else
21418 ac_check_lib_save_LIBS=$LIBS
21419LIBS="-ldnet $LIBS"
21420cat >conftest.$ac_ext <<_ACEOF
21421#line $LINENO "configure"
21422/* confdefs.h. */
21423_ACEOF
21424cat confdefs.h >>conftest.$ac_ext
21425cat >>conftest.$ac_ext <<_ACEOF
21426/* end confdefs.h. */
21427
21428/* Override any gcc2 internal prototype to avoid an error. */
21429#ifdef __cplusplus
21430extern "C"
21431#endif
21432/* We use char because int might match the return type of a gcc2
21433 builtin and then its argument prototype would still apply. */
21434char dnet_ntoa ();
21435int
21436main ()
21437{
21438dnet_ntoa ();
21439 ;
21440 return 0;
21441}
21442_ACEOF
21443rm -f conftest.$ac_objext conftest$ac_exeext
21444if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21445 (eval $ac_link) 2>&5
21446 ac_status=$?
21447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21448 (exit $ac_status); } &&
21449 { ac_try='test -s conftest$ac_exeext'
21450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21451 (eval $ac_try) 2>&5
21452 ac_status=$?
21453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21454 (exit $ac_status); }; }; then
21455 ac_cv_lib_dnet_dnet_ntoa=yes
21456else
21457 echo "$as_me: failed program was:" >&5
21458sed 's/^/| /' conftest.$ac_ext >&5
21459
21460ac_cv_lib_dnet_dnet_ntoa=no
21461fi
21462rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21463LIBS=$ac_check_lib_save_LIBS
21464fi
21465echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21466echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21467if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21468 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
21469fi
21470
21471 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
21472 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21473echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21474if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21475 echo $ECHO_N "(cached) $ECHO_C" >&6
21476else
21477 ac_check_lib_save_LIBS=$LIBS
21478LIBS="-ldnet_stub $LIBS"
21479cat >conftest.$ac_ext <<_ACEOF
21480#line $LINENO "configure"
21481/* confdefs.h. */
21482_ACEOF
21483cat confdefs.h >>conftest.$ac_ext
21484cat >>conftest.$ac_ext <<_ACEOF
21485/* end confdefs.h. */
21486
21487/* Override any gcc2 internal prototype to avoid an error. */
21488#ifdef __cplusplus
21489extern "C"
21490#endif
21491/* We use char because int might match the return type of a gcc2
21492 builtin and then its argument prototype would still apply. */
21493char dnet_ntoa ();
21494int
21495main ()
21496{
21497dnet_ntoa ();
21498 ;
21499 return 0;
21500}
21501_ACEOF
21502rm -f conftest.$ac_objext conftest$ac_exeext
21503if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21504 (eval $ac_link) 2>&5
21505 ac_status=$?
21506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21507 (exit $ac_status); } &&
21508 { ac_try='test -s conftest$ac_exeext'
21509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21510 (eval $ac_try) 2>&5
21511 ac_status=$?
21512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21513 (exit $ac_status); }; }; then
21514 ac_cv_lib_dnet_stub_dnet_ntoa=yes
21515else
21516 echo "$as_me: failed program was:" >&5
21517sed 's/^/| /' conftest.$ac_ext >&5
21518
21519ac_cv_lib_dnet_stub_dnet_ntoa=no
21520fi
21521rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21522LIBS=$ac_check_lib_save_LIBS
21523fi
21524echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21525echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21526if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21527 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
21528fi
21529
21530 fi
21531fi
21532rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21533 LIBS="$ac_xsave_LIBS"
21534
21535 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21536 # to get the SysV transport functions.
21537 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21538 # needs -lnsl.
21539 # The nsl library prevents programs from opening the X display
21540 # on Irix 5.2, according to T.E. Dickey.
21541 # The functions gethostbyname, getservbyname, and inet_addr are
21542 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21543 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21544echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21545if test "${ac_cv_func_gethostbyname+set}" = set; then
21546 echo $ECHO_N "(cached) $ECHO_C" >&6
21547else
21548 cat >conftest.$ac_ext <<_ACEOF
21549#line $LINENO "configure"
21550/* confdefs.h. */
21551_ACEOF
21552cat confdefs.h >>conftest.$ac_ext
21553cat >>conftest.$ac_ext <<_ACEOF
21554/* end confdefs.h. */
21555/* System header to define __stub macros and hopefully few prototypes,
21556 which can conflict with char gethostbyname (); below.
21557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21558 <limits.h> exists even on freestanding compilers. */
21559#ifdef __STDC__
21560# include <limits.h>
21561#else
21562# include <assert.h>
21563#endif
21564/* Override any gcc2 internal prototype to avoid an error. */
21565#ifdef __cplusplus
21566extern "C"
21567{
21568#endif
21569/* We use char because int might match the return type of a gcc2
21570 builtin and then its argument prototype would still apply. */
21571char gethostbyname ();
21572/* The GNU C library defines this for functions which it implements
21573 to always fail with ENOSYS. Some functions are actually named
21574 something starting with __ and the normal name is an alias. */
21575#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21576choke me
21577#else
21578char (*f) () = gethostbyname;
21579#endif
21580#ifdef __cplusplus
21581}
21582#endif
21583
21584int
21585main ()
21586{
21587return f != gethostbyname;
21588 ;
21589 return 0;
21590}
21591_ACEOF
21592rm -f conftest.$ac_objext conftest$ac_exeext
21593if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21594 (eval $ac_link) 2>&5
21595 ac_status=$?
21596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21597 (exit $ac_status); } &&
21598 { ac_try='test -s conftest$ac_exeext'
21599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21600 (eval $ac_try) 2>&5
21601 ac_status=$?
21602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21603 (exit $ac_status); }; }; then
21604 ac_cv_func_gethostbyname=yes
21605else
21606 echo "$as_me: failed program was:" >&5
21607sed 's/^/| /' conftest.$ac_ext >&5
21608
21609ac_cv_func_gethostbyname=no
21610fi
21611rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21612fi
21613echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21614echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21615
21616 if test $ac_cv_func_gethostbyname = no; then
21617 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21618echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21619if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21620 echo $ECHO_N "(cached) $ECHO_C" >&6
21621else
21622 ac_check_lib_save_LIBS=$LIBS
21623LIBS="-lnsl $LIBS"
21624cat >conftest.$ac_ext <<_ACEOF
21625#line $LINENO "configure"
21626/* confdefs.h. */
21627_ACEOF
21628cat confdefs.h >>conftest.$ac_ext
21629cat >>conftest.$ac_ext <<_ACEOF
21630/* end confdefs.h. */
21631
21632/* Override any gcc2 internal prototype to avoid an error. */
21633#ifdef __cplusplus
21634extern "C"
21635#endif
21636/* We use char because int might match the return type of a gcc2
21637 builtin and then its argument prototype would still apply. */
21638char gethostbyname ();
21639int
21640main ()
21641{
21642gethostbyname ();
21643 ;
21644 return 0;
21645}
21646_ACEOF
21647rm -f conftest.$ac_objext conftest$ac_exeext
21648if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21649 (eval $ac_link) 2>&5
21650 ac_status=$?
21651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652 (exit $ac_status); } &&
21653 { ac_try='test -s conftest$ac_exeext'
21654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21655 (eval $ac_try) 2>&5
21656 ac_status=$?
21657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21658 (exit $ac_status); }; }; then
21659 ac_cv_lib_nsl_gethostbyname=yes
21660else
21661 echo "$as_me: failed program was:" >&5
21662sed 's/^/| /' conftest.$ac_ext >&5
21663
21664ac_cv_lib_nsl_gethostbyname=no
21665fi
21666rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21667LIBS=$ac_check_lib_save_LIBS
21668fi
21669echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21670echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21671if test $ac_cv_lib_nsl_gethostbyname = yes; then
21672 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
21673fi
21674
21675 if test $ac_cv_lib_nsl_gethostbyname = no; then
21676 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21677echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21678if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21679 echo $ECHO_N "(cached) $ECHO_C" >&6
21680else
21681 ac_check_lib_save_LIBS=$LIBS
21682LIBS="-lbsd $LIBS"
21683cat >conftest.$ac_ext <<_ACEOF
21684#line $LINENO "configure"
21685/* confdefs.h. */
21686_ACEOF
21687cat confdefs.h >>conftest.$ac_ext
21688cat >>conftest.$ac_ext <<_ACEOF
21689/* end confdefs.h. */
21690
21691/* Override any gcc2 internal prototype to avoid an error. */
21692#ifdef __cplusplus
21693extern "C"
21694#endif
21695/* We use char because int might match the return type of a gcc2
21696 builtin and then its argument prototype would still apply. */
21697char gethostbyname ();
21698int
21699main ()
21700{
21701gethostbyname ();
21702 ;
21703 return 0;
21704}
21705_ACEOF
21706rm -f conftest.$ac_objext conftest$ac_exeext
21707if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21708 (eval $ac_link) 2>&5
21709 ac_status=$?
21710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21711 (exit $ac_status); } &&
21712 { ac_try='test -s conftest$ac_exeext'
21713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21714 (eval $ac_try) 2>&5
21715 ac_status=$?
21716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21717 (exit $ac_status); }; }; then
21718 ac_cv_lib_bsd_gethostbyname=yes
21719else
21720 echo "$as_me: failed program was:" >&5
21721sed 's/^/| /' conftest.$ac_ext >&5
21722
21723ac_cv_lib_bsd_gethostbyname=no
21724fi
21725rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21726LIBS=$ac_check_lib_save_LIBS
21727fi
21728echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21729echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21730if test $ac_cv_lib_bsd_gethostbyname = yes; then
21731 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
21732fi
21733
21734 fi
21735 fi
21736
21737 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21738 # socket/setsockopt and other routines are undefined under SCO ODT
21739 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21740 # on later versions), says Simon Leinen: it contains gethostby*
21741 # variants that don't use the name server (or something). -lsocket
21742 # must be given before -lnsl if both are needed. We assume that
21743 # if connect needs -lnsl, so does gethostbyname.
21744 echo "$as_me:$LINENO: checking for connect" >&5
21745echo $ECHO_N "checking for connect... $ECHO_C" >&6
21746if test "${ac_cv_func_connect+set}" = set; then
21747 echo $ECHO_N "(cached) $ECHO_C" >&6
21748else
21749 cat >conftest.$ac_ext <<_ACEOF
21750#line $LINENO "configure"
21751/* confdefs.h. */
21752_ACEOF
21753cat confdefs.h >>conftest.$ac_ext
21754cat >>conftest.$ac_ext <<_ACEOF
21755/* end confdefs.h. */
21756/* System header to define __stub macros and hopefully few prototypes,
21757 which can conflict with char connect (); below.
21758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21759 <limits.h> exists even on freestanding compilers. */
21760#ifdef __STDC__
21761# include <limits.h>
21762#else
21763# include <assert.h>
21764#endif
21765/* Override any gcc2 internal prototype to avoid an error. */
21766#ifdef __cplusplus
21767extern "C"
21768{
21769#endif
21770/* We use char because int might match the return type of a gcc2
21771 builtin and then its argument prototype would still apply. */
21772char connect ();
21773/* The GNU C library defines this for functions which it implements
21774 to always fail with ENOSYS. Some functions are actually named
21775 something starting with __ and the normal name is an alias. */
21776#if defined (__stub_connect) || defined (__stub___connect)
21777choke me
21778#else
21779char (*f) () = connect;
21780#endif
21781#ifdef __cplusplus
21782}
21783#endif
21784
21785int
21786main ()
21787{
21788return f != connect;
21789 ;
21790 return 0;
21791}
21792_ACEOF
21793rm -f conftest.$ac_objext conftest$ac_exeext
21794if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21795 (eval $ac_link) 2>&5
21796 ac_status=$?
21797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21798 (exit $ac_status); } &&
21799 { ac_try='test -s conftest$ac_exeext'
21800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21801 (eval $ac_try) 2>&5
21802 ac_status=$?
21803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21804 (exit $ac_status); }; }; then
21805 ac_cv_func_connect=yes
21806else
21807 echo "$as_me: failed program was:" >&5
21808sed 's/^/| /' conftest.$ac_ext >&5
21809
21810ac_cv_func_connect=no
21811fi
21812rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21813fi
21814echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21815echo "${ECHO_T}$ac_cv_func_connect" >&6
21816
21817 if test $ac_cv_func_connect = no; then
21818 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21819echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21820if test "${ac_cv_lib_socket_connect+set}" = set; then
21821 echo $ECHO_N "(cached) $ECHO_C" >&6
21822else
21823 ac_check_lib_save_LIBS=$LIBS
21824LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
21825cat >conftest.$ac_ext <<_ACEOF
21826#line $LINENO "configure"
21827/* confdefs.h. */
21828_ACEOF
21829cat confdefs.h >>conftest.$ac_ext
21830cat >>conftest.$ac_ext <<_ACEOF
21831/* end confdefs.h. */
21832
21833/* Override any gcc2 internal prototype to avoid an error. */
21834#ifdef __cplusplus
21835extern "C"
21836#endif
21837/* We use char because int might match the return type of a gcc2
21838 builtin and then its argument prototype would still apply. */
21839char connect ();
21840int
21841main ()
21842{
21843connect ();
21844 ;
21845 return 0;
21846}
21847_ACEOF
21848rm -f conftest.$ac_objext conftest$ac_exeext
21849if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21850 (eval $ac_link) 2>&5
21851 ac_status=$?
21852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21853 (exit $ac_status); } &&
21854 { ac_try='test -s conftest$ac_exeext'
21855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21856 (eval $ac_try) 2>&5
21857 ac_status=$?
21858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21859 (exit $ac_status); }; }; then
21860 ac_cv_lib_socket_connect=yes
21861else
21862 echo "$as_me: failed program was:" >&5
21863sed 's/^/| /' conftest.$ac_ext >&5
21864
21865ac_cv_lib_socket_connect=no
21866fi
21867rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21868LIBS=$ac_check_lib_save_LIBS
21869fi
21870echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
21871echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
21872if test $ac_cv_lib_socket_connect = yes; then
21873 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
21874fi
21875
21876 fi
21877
21878 # Guillermo Gomez says -lposix is necessary on A/UX.
21879 echo "$as_me:$LINENO: checking for remove" >&5
21880echo $ECHO_N "checking for remove... $ECHO_C" >&6
21881if test "${ac_cv_func_remove+set}" = set; then
21882 echo $ECHO_N "(cached) $ECHO_C" >&6
21883else
21884 cat >conftest.$ac_ext <<_ACEOF
21885#line $LINENO "configure"
21886/* confdefs.h. */
21887_ACEOF
21888cat confdefs.h >>conftest.$ac_ext
21889cat >>conftest.$ac_ext <<_ACEOF
21890/* end confdefs.h. */
21891/* System header to define __stub macros and hopefully few prototypes,
21892 which can conflict with char remove (); below.
21893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21894 <limits.h> exists even on freestanding compilers. */
21895#ifdef __STDC__
21896# include <limits.h>
21897#else
21898# include <assert.h>
21899#endif
21900/* Override any gcc2 internal prototype to avoid an error. */
21901#ifdef __cplusplus
21902extern "C"
21903{
21904#endif
21905/* We use char because int might match the return type of a gcc2
21906 builtin and then its argument prototype would still apply. */
21907char remove ();
21908/* The GNU C library defines this for functions which it implements
21909 to always fail with ENOSYS. Some functions are actually named
21910 something starting with __ and the normal name is an alias. */
21911#if defined (__stub_remove) || defined (__stub___remove)
21912choke me
21913#else
21914char (*f) () = remove;
21915#endif
21916#ifdef __cplusplus
21917}
21918#endif
21919
21920int
21921main ()
21922{
21923return f != remove;
21924 ;
21925 return 0;
21926}
21927_ACEOF
21928rm -f conftest.$ac_objext conftest$ac_exeext
21929if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21930 (eval $ac_link) 2>&5
21931 ac_status=$?
21932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21933 (exit $ac_status); } &&
21934 { ac_try='test -s conftest$ac_exeext'
21935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21936 (eval $ac_try) 2>&5
21937 ac_status=$?
21938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21939 (exit $ac_status); }; }; then
21940 ac_cv_func_remove=yes
21941else
21942 echo "$as_me: failed program was:" >&5
21943sed 's/^/| /' conftest.$ac_ext >&5
21944
21945ac_cv_func_remove=no
21946fi
21947rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21948fi
21949echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
21950echo "${ECHO_T}$ac_cv_func_remove" >&6
21951
21952 if test $ac_cv_func_remove = no; then
21953 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
21954echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
21955if test "${ac_cv_lib_posix_remove+set}" = set; then
21956 echo $ECHO_N "(cached) $ECHO_C" >&6
21957else
21958 ac_check_lib_save_LIBS=$LIBS
21959LIBS="-lposix $LIBS"
21960cat >conftest.$ac_ext <<_ACEOF
21961#line $LINENO "configure"
21962/* confdefs.h. */
21963_ACEOF
21964cat confdefs.h >>conftest.$ac_ext
21965cat >>conftest.$ac_ext <<_ACEOF
21966/* end confdefs.h. */
21967
21968/* Override any gcc2 internal prototype to avoid an error. */
21969#ifdef __cplusplus
21970extern "C"
21971#endif
21972/* We use char because int might match the return type of a gcc2
21973 builtin and then its argument prototype would still apply. */
21974char remove ();
21975int
21976main ()
21977{
21978remove ();
21979 ;
21980 return 0;
21981}
21982_ACEOF
21983rm -f conftest.$ac_objext conftest$ac_exeext
21984if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21985 (eval $ac_link) 2>&5
21986 ac_status=$?
21987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21988 (exit $ac_status); } &&
21989 { ac_try='test -s conftest$ac_exeext'
21990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21991 (eval $ac_try) 2>&5
21992 ac_status=$?
21993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21994 (exit $ac_status); }; }; then
21995 ac_cv_lib_posix_remove=yes
21996else
21997 echo "$as_me: failed program was:" >&5
21998sed 's/^/| /' conftest.$ac_ext >&5
21999
22000ac_cv_lib_posix_remove=no
22001fi
22002rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22003LIBS=$ac_check_lib_save_LIBS
22004fi
22005echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22006echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22007if test $ac_cv_lib_posix_remove = yes; then
22008 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
22009fi
22010
22011 fi
22012
22013 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22014 echo "$as_me:$LINENO: checking for shmat" >&5
22015echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22016if test "${ac_cv_func_shmat+set}" = set; then
22017 echo $ECHO_N "(cached) $ECHO_C" >&6
22018else
22019 cat >conftest.$ac_ext <<_ACEOF
22020#line $LINENO "configure"
22021/* confdefs.h. */
22022_ACEOF
22023cat confdefs.h >>conftest.$ac_ext
22024cat >>conftest.$ac_ext <<_ACEOF
22025/* end confdefs.h. */
22026/* System header to define __stub macros and hopefully few prototypes,
22027 which can conflict with char shmat (); below.
22028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22029 <limits.h> exists even on freestanding compilers. */
22030#ifdef __STDC__
22031# include <limits.h>
22032#else
22033# include <assert.h>
22034#endif
22035/* Override any gcc2 internal prototype to avoid an error. */
22036#ifdef __cplusplus
22037extern "C"
22038{
22039#endif
22040/* We use char because int might match the return type of a gcc2
22041 builtin and then its argument prototype would still apply. */
22042char shmat ();
22043/* The GNU C library defines this for functions which it implements
22044 to always fail with ENOSYS. Some functions are actually named
22045 something starting with __ and the normal name is an alias. */
22046#if defined (__stub_shmat) || defined (__stub___shmat)
22047choke me
22048#else
22049char (*f) () = shmat;
22050#endif
22051#ifdef __cplusplus
22052}
22053#endif
22054
22055int
22056main ()
22057{
22058return f != shmat;
22059 ;
22060 return 0;
22061}
22062_ACEOF
22063rm -f conftest.$ac_objext conftest$ac_exeext
22064if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22065 (eval $ac_link) 2>&5
22066 ac_status=$?
22067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22068 (exit $ac_status); } &&
22069 { ac_try='test -s conftest$ac_exeext'
22070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22071 (eval $ac_try) 2>&5
22072 ac_status=$?
22073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22074 (exit $ac_status); }; }; then
22075 ac_cv_func_shmat=yes
22076else
22077 echo "$as_me: failed program was:" >&5
22078sed 's/^/| /' conftest.$ac_ext >&5
22079
22080ac_cv_func_shmat=no
22081fi
22082rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22083fi
22084echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22085echo "${ECHO_T}$ac_cv_func_shmat" >&6
22086
22087 if test $ac_cv_func_shmat = no; then
22088 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22089echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22090if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22091 echo $ECHO_N "(cached) $ECHO_C" >&6
22092else
22093 ac_check_lib_save_LIBS=$LIBS
22094LIBS="-lipc $LIBS"
22095cat >conftest.$ac_ext <<_ACEOF
22096#line $LINENO "configure"
22097/* confdefs.h. */
22098_ACEOF
22099cat confdefs.h >>conftest.$ac_ext
22100cat >>conftest.$ac_ext <<_ACEOF
22101/* end confdefs.h. */
22102
22103/* Override any gcc2 internal prototype to avoid an error. */
22104#ifdef __cplusplus
22105extern "C"
22106#endif
22107/* We use char because int might match the return type of a gcc2
22108 builtin and then its argument prototype would still apply. */
22109char shmat ();
22110int
22111main ()
22112{
22113shmat ();
22114 ;
22115 return 0;
22116}
22117_ACEOF
22118rm -f conftest.$ac_objext conftest$ac_exeext
22119if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22120 (eval $ac_link) 2>&5
22121 ac_status=$?
22122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22123 (exit $ac_status); } &&
22124 { ac_try='test -s conftest$ac_exeext'
22125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22126 (eval $ac_try) 2>&5
22127 ac_status=$?
22128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22129 (exit $ac_status); }; }; then
22130 ac_cv_lib_ipc_shmat=yes
22131else
22132 echo "$as_me: failed program was:" >&5
22133sed 's/^/| /' conftest.$ac_ext >&5
22134
22135ac_cv_lib_ipc_shmat=no
22136fi
22137rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22138LIBS=$ac_check_lib_save_LIBS
22139fi
22140echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22141echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22142if test $ac_cv_lib_ipc_shmat = yes; then
22143 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
22144fi
22145
22146 fi
22147 fi
22148
22149 # Check for libraries that X11R6 Xt/Xaw programs need.
22150 ac_save_LDFLAGS=$LDFLAGS
22151 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
22152 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22153 # check for ICE first), but we must link in the order -lSM -lICE or
22154 # we get undefined symbols. So assume we have SM if we have ICE.
22155 # These have to be linked with before -lX11, unlike the other
22156 # libraries we check for below, so use a different variable.
22157 # John Interrante, Karl Berry
22158 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22159echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22160if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22161 echo $ECHO_N "(cached) $ECHO_C" >&6
22162else
22163 ac_check_lib_save_LIBS=$LIBS
22164LIBS="-lICE $X_EXTRA_LIBS $LIBS"
22165cat >conftest.$ac_ext <<_ACEOF
22166#line $LINENO "configure"
22167/* confdefs.h. */
22168_ACEOF
22169cat confdefs.h >>conftest.$ac_ext
22170cat >>conftest.$ac_ext <<_ACEOF
22171/* end confdefs.h. */
22172
22173/* Override any gcc2 internal prototype to avoid an error. */
22174#ifdef __cplusplus
22175extern "C"
22176#endif
22177/* We use char because int might match the return type of a gcc2
22178 builtin and then its argument prototype would still apply. */
22179char IceConnectionNumber ();
22180int
22181main ()
22182{
22183IceConnectionNumber ();
22184 ;
22185 return 0;
22186}
22187_ACEOF
22188rm -f conftest.$ac_objext conftest$ac_exeext
22189if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22190 (eval $ac_link) 2>&5
22191 ac_status=$?
22192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22193 (exit $ac_status); } &&
22194 { ac_try='test -s conftest$ac_exeext'
22195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22196 (eval $ac_try) 2>&5
22197 ac_status=$?
22198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22199 (exit $ac_status); }; }; then
22200 ac_cv_lib_ICE_IceConnectionNumber=yes
22201else
22202 echo "$as_me: failed program was:" >&5
22203sed 's/^/| /' conftest.$ac_ext >&5
22204
22205ac_cv_lib_ICE_IceConnectionNumber=no
22206fi
22207rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22208LIBS=$ac_check_lib_save_LIBS
22209fi
22210echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22211echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22212if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22213 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
22214fi
22215
22216 LDFLAGS=$ac_save_LDFLAGS
22217
22218fi
22219
22220
22221 if test "$no_x" = "yes"; then
22222 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22223echo "$as_me: error: X11 not found" >&2;}
22224 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
22225 fi
22226
22227 GUI_TK_LIBRARY="$X_LIBS"
22228 TOOLKIT_INCLUDE="$X_CFLAGS"
22229 AFMINSTALL=afminstall
22230 COMPILED_X_PROGRAM=0
22231
22232 if test "$wxUSE_NANOX" = "yes"; then
22233 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22234echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22235 if test "x$MICROWIN" = x ; then
22236 echo "$as_me:$LINENO: result: not found" >&5
22237echo "${ECHO_T}not found" >&6
22238 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22239echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22240 { (exit 1); exit 1; }; }
22241 else
22242 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22243echo "${ECHO_T}$MICROWIN" >&6
22244 cat >>confdefs.h <<\_ACEOF
22245#define wxUSE_NANOX 1
22246_ACEOF
22247
22248 fi
22249 fi
22250
22251 xpm_link=
22252 echo "$as_me:$LINENO: checking for Xpm library" >&5
22253echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22254
22255ac_find_libraries=
22256for ac_dir in $SEARCH_LIB /usr/lib;
22257 do
22258 for ac_extension in a so sl dylib; do
22259 if test -f "$ac_dir/libXpm.$ac_extension"; then
22260 ac_find_libraries=$ac_dir
22261 break 2
22262 fi
22263 done
22264 done
22265
22266 if test "$ac_find_libraries" != "" ; then
22267
22268 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
22269 result=$?
22270 if test $result = 0; then
22271 ac_path_to_link=""
22272 else
22273 ac_path_to_link=" -L$ac_find_libraries"
22274 fi
22275
22276 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
22277 xpm_link=" -lXpm"
22278 cat >>confdefs.h <<\_ACEOF
22279#define wxHAVE_LIB_XPM 1
22280_ACEOF
22281
22282 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22283echo "${ECHO_T}found at $ac_find_libraries" >&6
22284 else
22285 cat >conftest.$ac_ext <<_ACEOF
22286#line $LINENO "configure"
22287/* confdefs.h. */
22288_ACEOF
22289cat confdefs.h >>conftest.$ac_ext
22290cat >>conftest.$ac_ext <<_ACEOF
22291/* end confdefs.h. */
22292
22293 #include <X11/xpm.h>
22294
22295int
22296main ()
22297{
22298
22299 int version;
22300 version = XpmLibraryVersion();
22301
22302 ;
22303 return 0;
22304}
22305_ACEOF
22306rm -f conftest.$ac_objext
22307if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22308 (eval $ac_compile) 2>&5
22309 ac_status=$?
22310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22311 (exit $ac_status); } &&
22312 { ac_try='test -s conftest.$ac_objext'
22313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22314 (eval $ac_try) 2>&5
22315 ac_status=$?
22316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22317 (exit $ac_status); }; }; then
22318
22319 xpm_link=" -lXpm"
22320 cat >>confdefs.h <<\_ACEOF
22321#define wxHAVE_LIB_XPM 1
22322_ACEOF
22323
22324 echo "$as_me:$LINENO: result: found in default search path" >&5
22325echo "${ECHO_T}found in default search path" >&6
22326 COMPILED_X_PROGRAM=0
22327
22328else
22329 echo "$as_me: failed program was:" >&5
22330sed 's/^/| /' conftest.$ac_ext >&5
22331
22332
22333 echo "$as_me:$LINENO: result: no" >&5
22334echo "${ECHO_T}no" >&6
22335 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22336echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22337
22338
22339fi
22340rm -f conftest.$ac_objext conftest.$ac_ext
22341 fi
22342
22343 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22344echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22345if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22346 echo $ECHO_N "(cached) $ECHO_C" >&6
22347else
22348 ac_check_lib_save_LIBS=$LIBS
22349LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22350cat >conftest.$ac_ext <<_ACEOF
22351#line $LINENO "configure"
22352/* confdefs.h. */
22353_ACEOF
22354cat confdefs.h >>conftest.$ac_ext
22355cat >>conftest.$ac_ext <<_ACEOF
22356/* end confdefs.h. */
22357
22358/* Override any gcc2 internal prototype to avoid an error. */
22359#ifdef __cplusplus
22360extern "C"
22361#endif
22362/* We use char because int might match the return type of a gcc2
22363 builtin and then its argument prototype would still apply. */
22364char XShapeQueryExtension ();
22365int
22366main ()
22367{
22368XShapeQueryExtension ();
22369 ;
22370 return 0;
22371}
22372_ACEOF
22373rm -f conftest.$ac_objext conftest$ac_exeext
22374if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22375 (eval $ac_link) 2>&5
22376 ac_status=$?
22377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22378 (exit $ac_status); } &&
22379 { ac_try='test -s conftest$ac_exeext'
22380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22381 (eval $ac_try) 2>&5
22382 ac_status=$?
22383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22384 (exit $ac_status); }; }; then
22385 ac_cv_lib_Xext_XShapeQueryExtension=yes
22386else
22387 echo "$as_me: failed program was:" >&5
22388sed 's/^/| /' conftest.$ac_ext >&5
22389
22390ac_cv_lib_Xext_XShapeQueryExtension=no
22391fi
22392rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22393LIBS=$ac_check_lib_save_LIBS
22394fi
22395echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22396echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22397if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22398
22399 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
22400 wxHAVE_XEXT_LIB=1
22401
22402fi
22403
22404
22405 if test "$wxUSE_UNICODE" = "yes"; then
22406
22407 succeeded=no
22408
22409 if test -z "$PKG_CONFIG"; then
22410 # Extract the first word of "pkg-config", so it can be a program name with args.
22411set dummy pkg-config; ac_word=$2
22412echo "$as_me:$LINENO: checking for $ac_word" >&5
22413echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22414if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22415 echo $ECHO_N "(cached) $ECHO_C" >&6
22416else
22417 case $PKG_CONFIG in
22418 [\\/]* | ?:[\\/]*)
22419 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22420 ;;
22421 *)
22422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22423for as_dir in $PATH
22424do
22425 IFS=$as_save_IFS
22426 test -z "$as_dir" && as_dir=.
22427 for ac_exec_ext in '' $ac_executable_extensions; do
22428 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22429 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22431 break 2
22432 fi
22433done
22434done
22435
22436 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22437 ;;
22438esac
22439fi
22440PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22441
22442if test -n "$PKG_CONFIG"; then
22443 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22444echo "${ECHO_T}$PKG_CONFIG" >&6
22445else
22446 echo "$as_me:$LINENO: result: no" >&5
22447echo "${ECHO_T}no" >&6
22448fi
22449
22450 fi
22451
22452 if test "$PKG_CONFIG" = "no" ; then
22453 echo "*** The pkg-config script could not be found. Make sure it is"
22454 echo "*** in your path, or set the PKG_CONFIG environment variable"
22455 echo "*** to the full path to pkg-config."
22456 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22457 else
22458 PKG_CONFIG_MIN_VERSION=0.9.0
22459 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22460 echo "$as_me:$LINENO: checking for pangox" >&5
22461echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22462
22463 if $PKG_CONFIG --exists "pangox" ; then
22464 echo "$as_me:$LINENO: result: yes" >&5
22465echo "${ECHO_T}yes" >&6
22466 succeeded=yes
22467
22468 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22469echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22470 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
22471 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22472echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22473
22474 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22475echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22476 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
22477 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22478echo "${ECHO_T}$PANGOX_LIBS" >&6
22479 else
22480 PANGOX_CFLAGS=""
22481 PANGOX_LIBS=""
22482 ## If we have a custom action on failure, don't print errors, but
22483 ## do set a variable so people can do so.
22484 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22485
22486 fi
22487
22488
22489
22490 else
22491 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22492 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22493 fi
22494 fi
22495
22496 if test $succeeded = yes; then
22497
22498 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
22499 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
22500
22501 else
22502
22503 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22504echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22505 { (exit 1); exit 1; }; }
22506
22507
22508 fi
22509
22510
22511 succeeded=no
22512
22513 if test -z "$PKG_CONFIG"; then
22514 # Extract the first word of "pkg-config", so it can be a program name with args.
22515set dummy pkg-config; ac_word=$2
22516echo "$as_me:$LINENO: checking for $ac_word" >&5
22517echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22518if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22519 echo $ECHO_N "(cached) $ECHO_C" >&6
22520else
22521 case $PKG_CONFIG in
22522 [\\/]* | ?:[\\/]*)
22523 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22524 ;;
22525 *)
22526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22527for as_dir in $PATH
22528do
22529 IFS=$as_save_IFS
22530 test -z "$as_dir" && as_dir=.
22531 for ac_exec_ext in '' $ac_executable_extensions; do
22532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22533 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22535 break 2
22536 fi
22537done
22538done
22539
22540 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22541 ;;
22542esac
22543fi
22544PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22545
22546if test -n "$PKG_CONFIG"; then
22547 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22548echo "${ECHO_T}$PKG_CONFIG" >&6
22549else
22550 echo "$as_me:$LINENO: result: no" >&5
22551echo "${ECHO_T}no" >&6
22552fi
22553
22554 fi
22555
22556 if test "$PKG_CONFIG" = "no" ; then
22557 echo "*** The pkg-config script could not be found. Make sure it is"
22558 echo "*** in your path, or set the PKG_CONFIG environment variable"
22559 echo "*** to the full path to pkg-config."
22560 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22561 else
22562 PKG_CONFIG_MIN_VERSION=0.9.0
22563 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22564 echo "$as_me:$LINENO: checking for pangoft2" >&5
22565echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22566
22567 if $PKG_CONFIG --exists "pangoft2" ; then
22568 echo "$as_me:$LINENO: result: yes" >&5
22569echo "${ECHO_T}yes" >&6
22570 succeeded=yes
22571
22572 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22573echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22574 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22575 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22576echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22577
22578 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22579echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22580 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22581 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22582echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22583 else
22584 PANGOFT2_CFLAGS=""
22585 PANGOFT2_LIBS=""
22586 ## If we have a custom action on failure, don't print errors, but
22587 ## do set a variable so people can do so.
22588 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22589
22590 fi
22591
22592
22593
22594 else
22595 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22596 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22597 fi
22598 fi
22599
22600 if test $succeeded = yes; then
22601
22602 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22603 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22604
22605 else
22606
22607 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22608echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22609 wxUSE_PRINTING_ARCHITECTURE="no"
22610
22611
22612 fi
22613
22614
22615 succeeded=no
22616
22617 if test -z "$PKG_CONFIG"; then
22618 # Extract the first word of "pkg-config", so it can be a program name with args.
22619set dummy pkg-config; ac_word=$2
22620echo "$as_me:$LINENO: checking for $ac_word" >&5
22621echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22622if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22623 echo $ECHO_N "(cached) $ECHO_C" >&6
22624else
22625 case $PKG_CONFIG in
22626 [\\/]* | ?:[\\/]*)
22627 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22628 ;;
22629 *)
22630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22631for as_dir in $PATH
22632do
22633 IFS=$as_save_IFS
22634 test -z "$as_dir" && as_dir=.
22635 for ac_exec_ext in '' $ac_executable_extensions; do
22636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22637 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22639 break 2
22640 fi
22641done
22642done
22643
22644 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22645 ;;
22646esac
22647fi
22648PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22649
22650if test -n "$PKG_CONFIG"; then
22651 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22652echo "${ECHO_T}$PKG_CONFIG" >&6
22653else
22654 echo "$as_me:$LINENO: result: no" >&5
22655echo "${ECHO_T}no" >&6
22656fi
22657
22658 fi
22659
22660 if test "$PKG_CONFIG" = "no" ; then
22661 echo "*** The pkg-config script could not be found. Make sure it is"
22662 echo "*** in your path, or set the PKG_CONFIG environment variable"
22663 echo "*** to the full path to pkg-config."
22664 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22665 else
22666 PKG_CONFIG_MIN_VERSION=0.9.0
22667 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22668 echo "$as_me:$LINENO: checking for pangoxft" >&5
22669echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22670
22671 if $PKG_CONFIG --exists "pangoxft" ; then
22672 echo "$as_me:$LINENO: result: yes" >&5
22673echo "${ECHO_T}yes" >&6
22674 succeeded=yes
22675
22676 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22677echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22678 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
22679 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22680echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22681
22682 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22683echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22684 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
22685 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22686echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22687 else
22688 PANGOXFT_CFLAGS=""
22689 PANGOXFT_LIBS=""
22690 ## If we have a custom action on failure, don't print errors, but
22691 ## do set a variable so people can do so.
22692 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22693
22694 fi
22695
22696
22697
22698 else
22699 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22700 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22701 fi
22702 fi
22703
22704 if test $succeeded = yes; then
22705
22706 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
22707 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
22708
22709 else
22710
22711 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22712echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22713
22714
22715 fi
22716
22717 fi
22718
22719 wxUSE_UNIVERSAL="yes"
22720
22721 if test "$wxUSE_NANOX" = "yes"; then
22722 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22723 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"
22724 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22725 else
22726 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link"
22727 fi
22728
22729 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
22730 TOOLKIT=X11
22731 GUIDIST=X11_DIST
22732 fi
22733
22734 if test "$wxUSE_MOTIF" = 1; then
22735 if test "$no_x" = yes; then
22736 # Not all programs may use this symbol, but it does not hurt to define it.
22737
22738cat >>confdefs.h <<\_ACEOF
22739#define X_DISPLAY_MISSING 1
22740_ACEOF
22741
22742 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22743else
22744 if test -n "$x_includes"; then
22745 X_CFLAGS="$X_CFLAGS -I$x_includes"
22746 fi
22747
22748 # It would also be nice to do this for all -L options, not just this one.
22749 if test -n "$x_libraries"; then
22750 X_LIBS="$X_LIBS -L$x_libraries"
22751 # For Solaris; some versions of Sun CC require a space after -R and
22752 # others require no space. Words are not sufficient . . . .
22753 case `(uname -sr) 2>/dev/null` in
22754 "SunOS 5"*)
22755 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22756echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22757 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22758 cat >conftest.$ac_ext <<_ACEOF
22759#line $LINENO "configure"
22760/* confdefs.h. */
22761_ACEOF
22762cat confdefs.h >>conftest.$ac_ext
22763cat >>conftest.$ac_ext <<_ACEOF
22764/* end confdefs.h. */
22765
22766int
22767main ()
22768{
22769
22770 ;
22771 return 0;
22772}
22773_ACEOF
22774rm -f conftest.$ac_objext conftest$ac_exeext
22775if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22776 (eval $ac_link) 2>&5
22777 ac_status=$?
22778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22779 (exit $ac_status); } &&
22780 { ac_try='test -s conftest$ac_exeext'
22781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22782 (eval $ac_try) 2>&5
22783 ac_status=$?
22784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22785 (exit $ac_status); }; }; then
22786 ac_R_nospace=yes
22787else
22788 echo "$as_me: failed program was:" >&5
22789sed 's/^/| /' conftest.$ac_ext >&5
22790
22791ac_R_nospace=no
22792fi
22793rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22794 if test $ac_R_nospace = yes; then
22795 echo "$as_me:$LINENO: result: no" >&5
22796echo "${ECHO_T}no" >&6
22797 X_LIBS="$X_LIBS -R$x_libraries"
22798 else
22799 LIBS="$ac_xsave_LIBS -R $x_libraries"
22800 cat >conftest.$ac_ext <<_ACEOF
22801#line $LINENO "configure"
22802/* confdefs.h. */
22803_ACEOF
22804cat confdefs.h >>conftest.$ac_ext
22805cat >>conftest.$ac_ext <<_ACEOF
22806/* end confdefs.h. */
22807
22808int
22809main ()
22810{
22811
22812 ;
22813 return 0;
22814}
22815_ACEOF
22816rm -f conftest.$ac_objext conftest$ac_exeext
22817if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22818 (eval $ac_link) 2>&5
22819 ac_status=$?
22820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22821 (exit $ac_status); } &&
22822 { ac_try='test -s conftest$ac_exeext'
22823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22824 (eval $ac_try) 2>&5
22825 ac_status=$?
22826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22827 (exit $ac_status); }; }; then
22828 ac_R_space=yes
22829else
22830 echo "$as_me: failed program was:" >&5
22831sed 's/^/| /' conftest.$ac_ext >&5
22832
22833ac_R_space=no
22834fi
22835rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22836 if test $ac_R_space = yes; then
22837 echo "$as_me:$LINENO: result: yes" >&5
22838echo "${ECHO_T}yes" >&6
22839 X_LIBS="$X_LIBS -R $x_libraries"
22840 else
22841 echo "$as_me:$LINENO: result: neither works" >&5
22842echo "${ECHO_T}neither works" >&6
22843 fi
22844 fi
22845 LIBS=$ac_xsave_LIBS
22846 esac
22847 fi
22848
22849 # Check for system-dependent libraries X programs must link with.
22850 # Do this before checking for the system-independent R6 libraries
22851 # (-lICE), since we may need -lsocket or whatever for X linking.
22852
22853 if test "$ISC" = yes; then
22854 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
22855 else
22856 # Martyn Johnson says this is needed for Ultrix, if the X
22857 # libraries were built with DECnet support. And Karl Berry says
22858 # the Alpha needs dnet_stub (dnet does not exist).
22859 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
22860 cat >conftest.$ac_ext <<_ACEOF
22861#line $LINENO "configure"
22862/* confdefs.h. */
22863_ACEOF
22864cat confdefs.h >>conftest.$ac_ext
22865cat >>conftest.$ac_ext <<_ACEOF
22866/* end confdefs.h. */
22867
22868/* Override any gcc2 internal prototype to avoid an error. */
22869#ifdef __cplusplus
22870extern "C"
22871#endif
22872/* We use char because int might match the return type of a gcc2
22873 builtin and then its argument prototype would still apply. */
22874char XOpenDisplay ();
22875int
22876main ()
22877{
22878XOpenDisplay ();
22879 ;
22880 return 0;
22881}
22882_ACEOF
22883rm -f conftest.$ac_objext conftest$ac_exeext
22884if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22885 (eval $ac_link) 2>&5
22886 ac_status=$?
22887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22888 (exit $ac_status); } &&
22889 { ac_try='test -s conftest$ac_exeext'
22890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22891 (eval $ac_try) 2>&5
22892 ac_status=$?
22893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22894 (exit $ac_status); }; }; then
22895 :
22896else
22897 echo "$as_me: failed program was:" >&5
22898sed 's/^/| /' conftest.$ac_ext >&5
22899
22900echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22901echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22902if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22903 echo $ECHO_N "(cached) $ECHO_C" >&6
22904else
22905 ac_check_lib_save_LIBS=$LIBS
22906LIBS="-ldnet $LIBS"
22907cat >conftest.$ac_ext <<_ACEOF
22908#line $LINENO "configure"
22909/* confdefs.h. */
22910_ACEOF
22911cat confdefs.h >>conftest.$ac_ext
22912cat >>conftest.$ac_ext <<_ACEOF
22913/* end confdefs.h. */
22914
22915/* Override any gcc2 internal prototype to avoid an error. */
22916#ifdef __cplusplus
22917extern "C"
22918#endif
22919/* We use char because int might match the return type of a gcc2
22920 builtin and then its argument prototype would still apply. */
22921char dnet_ntoa ();
22922int
22923main ()
22924{
22925dnet_ntoa ();
22926 ;
22927 return 0;
22928}
22929_ACEOF
22930rm -f conftest.$ac_objext conftest$ac_exeext
22931if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22932 (eval $ac_link) 2>&5
22933 ac_status=$?
22934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22935 (exit $ac_status); } &&
22936 { ac_try='test -s conftest$ac_exeext'
22937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22938 (eval $ac_try) 2>&5
22939 ac_status=$?
22940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22941 (exit $ac_status); }; }; then
22942 ac_cv_lib_dnet_dnet_ntoa=yes
22943else
22944 echo "$as_me: failed program was:" >&5
22945sed 's/^/| /' conftest.$ac_ext >&5
22946
22947ac_cv_lib_dnet_dnet_ntoa=no
22948fi
22949rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22950LIBS=$ac_check_lib_save_LIBS
22951fi
22952echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22953echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22954if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22955 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
22956fi
22957
22958 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
22959 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22960echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
22961if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22962 echo $ECHO_N "(cached) $ECHO_C" >&6
22963else
22964 ac_check_lib_save_LIBS=$LIBS
22965LIBS="-ldnet_stub $LIBS"
22966cat >conftest.$ac_ext <<_ACEOF
22967#line $LINENO "configure"
22968/* confdefs.h. */
22969_ACEOF
22970cat confdefs.h >>conftest.$ac_ext
22971cat >>conftest.$ac_ext <<_ACEOF
22972/* end confdefs.h. */
22973
22974/* Override any gcc2 internal prototype to avoid an error. */
22975#ifdef __cplusplus
22976extern "C"
22977#endif
22978/* We use char because int might match the return type of a gcc2
22979 builtin and then its argument prototype would still apply. */
22980char dnet_ntoa ();
22981int
22982main ()
22983{
22984dnet_ntoa ();
22985 ;
22986 return 0;
22987}
22988_ACEOF
22989rm -f conftest.$ac_objext conftest$ac_exeext
22990if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22991 (eval $ac_link) 2>&5
22992 ac_status=$?
22993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22994 (exit $ac_status); } &&
22995 { ac_try='test -s conftest$ac_exeext'
22996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22997 (eval $ac_try) 2>&5
22998 ac_status=$?
22999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23000 (exit $ac_status); }; }; then
23001 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23002else
23003 echo "$as_me: failed program was:" >&5
23004sed 's/^/| /' conftest.$ac_ext >&5
23005
23006ac_cv_lib_dnet_stub_dnet_ntoa=no
23007fi
23008rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23009LIBS=$ac_check_lib_save_LIBS
23010fi
23011echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23012echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23013if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23014 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23015fi
23016
23017 fi
23018fi
23019rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23020 LIBS="$ac_xsave_LIBS"
23021
23022 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23023 # to get the SysV transport functions.
23024 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23025 # needs -lnsl.
23026 # The nsl library prevents programs from opening the X display
23027 # on Irix 5.2, according to T.E. Dickey.
23028 # The functions gethostbyname, getservbyname, and inet_addr are
23029 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23030 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23031echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23032if test "${ac_cv_func_gethostbyname+set}" = set; then
23033 echo $ECHO_N "(cached) $ECHO_C" >&6
23034else
23035 cat >conftest.$ac_ext <<_ACEOF
23036#line $LINENO "configure"
23037/* confdefs.h. */
23038_ACEOF
23039cat confdefs.h >>conftest.$ac_ext
23040cat >>conftest.$ac_ext <<_ACEOF
23041/* end confdefs.h. */
23042/* System header to define __stub macros and hopefully few prototypes,
23043 which can conflict with char gethostbyname (); below.
23044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23045 <limits.h> exists even on freestanding compilers. */
23046#ifdef __STDC__
23047# include <limits.h>
23048#else
23049# include <assert.h>
23050#endif
23051/* Override any gcc2 internal prototype to avoid an error. */
23052#ifdef __cplusplus
23053extern "C"
23054{
23055#endif
23056/* We use char because int might match the return type of a gcc2
23057 builtin and then its argument prototype would still apply. */
23058char gethostbyname ();
23059/* The GNU C library defines this for functions which it implements
23060 to always fail with ENOSYS. Some functions are actually named
23061 something starting with __ and the normal name is an alias. */
23062#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23063choke me
23064#else
23065char (*f) () = gethostbyname;
23066#endif
23067#ifdef __cplusplus
23068}
23069#endif
23070
23071int
23072main ()
23073{
23074return f != gethostbyname;
23075 ;
23076 return 0;
23077}
23078_ACEOF
23079rm -f conftest.$ac_objext conftest$ac_exeext
23080if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23081 (eval $ac_link) 2>&5
23082 ac_status=$?
23083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23084 (exit $ac_status); } &&
23085 { ac_try='test -s conftest$ac_exeext'
23086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23087 (eval $ac_try) 2>&5
23088 ac_status=$?
23089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23090 (exit $ac_status); }; }; then
23091 ac_cv_func_gethostbyname=yes
23092else
23093 echo "$as_me: failed program was:" >&5
23094sed 's/^/| /' conftest.$ac_ext >&5
23095
23096ac_cv_func_gethostbyname=no
23097fi
23098rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23099fi
23100echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23101echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23102
23103 if test $ac_cv_func_gethostbyname = no; then
23104 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23105echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23106if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23107 echo $ECHO_N "(cached) $ECHO_C" >&6
23108else
23109 ac_check_lib_save_LIBS=$LIBS
23110LIBS="-lnsl $LIBS"
23111cat >conftest.$ac_ext <<_ACEOF
23112#line $LINENO "configure"
23113/* confdefs.h. */
23114_ACEOF
23115cat confdefs.h >>conftest.$ac_ext
23116cat >>conftest.$ac_ext <<_ACEOF
23117/* end confdefs.h. */
23118
23119/* Override any gcc2 internal prototype to avoid an error. */
23120#ifdef __cplusplus
23121extern "C"
23122#endif
23123/* We use char because int might match the return type of a gcc2
23124 builtin and then its argument prototype would still apply. */
23125char gethostbyname ();
23126int
23127main ()
23128{
23129gethostbyname ();
23130 ;
23131 return 0;
23132}
23133_ACEOF
23134rm -f conftest.$ac_objext conftest$ac_exeext
23135if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23136 (eval $ac_link) 2>&5
23137 ac_status=$?
23138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23139 (exit $ac_status); } &&
23140 { ac_try='test -s conftest$ac_exeext'
23141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23142 (eval $ac_try) 2>&5
23143 ac_status=$?
23144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23145 (exit $ac_status); }; }; then
23146 ac_cv_lib_nsl_gethostbyname=yes
23147else
23148 echo "$as_me: failed program was:" >&5
23149sed 's/^/| /' conftest.$ac_ext >&5
23150
23151ac_cv_lib_nsl_gethostbyname=no
23152fi
23153rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23154LIBS=$ac_check_lib_save_LIBS
23155fi
23156echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23157echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23158if test $ac_cv_lib_nsl_gethostbyname = yes; then
23159 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23160fi
23161
23162 if test $ac_cv_lib_nsl_gethostbyname = no; then
23163 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23164echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23165if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23166 echo $ECHO_N "(cached) $ECHO_C" >&6
23167else
23168 ac_check_lib_save_LIBS=$LIBS
23169LIBS="-lbsd $LIBS"
23170cat >conftest.$ac_ext <<_ACEOF
23171#line $LINENO "configure"
23172/* confdefs.h. */
23173_ACEOF
23174cat confdefs.h >>conftest.$ac_ext
23175cat >>conftest.$ac_ext <<_ACEOF
23176/* end confdefs.h. */
23177
23178/* Override any gcc2 internal prototype to avoid an error. */
23179#ifdef __cplusplus
23180extern "C"
23181#endif
23182/* We use char because int might match the return type of a gcc2
23183 builtin and then its argument prototype would still apply. */
23184char gethostbyname ();
23185int
23186main ()
23187{
23188gethostbyname ();
23189 ;
23190 return 0;
23191}
23192_ACEOF
23193rm -f conftest.$ac_objext conftest$ac_exeext
23194if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23195 (eval $ac_link) 2>&5
23196 ac_status=$?
23197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23198 (exit $ac_status); } &&
23199 { ac_try='test -s conftest$ac_exeext'
23200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23201 (eval $ac_try) 2>&5
23202 ac_status=$?
23203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23204 (exit $ac_status); }; }; then
23205 ac_cv_lib_bsd_gethostbyname=yes
23206else
23207 echo "$as_me: failed program was:" >&5
23208sed 's/^/| /' conftest.$ac_ext >&5
23209
23210ac_cv_lib_bsd_gethostbyname=no
23211fi
23212rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23213LIBS=$ac_check_lib_save_LIBS
23214fi
23215echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23216echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23217if test $ac_cv_lib_bsd_gethostbyname = yes; then
23218 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23219fi
23220
23221 fi
23222 fi
23223
23224 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23225 # socket/setsockopt and other routines are undefined under SCO ODT
23226 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23227 # on later versions), says Simon Leinen: it contains gethostby*
23228 # variants that don't use the name server (or something). -lsocket
23229 # must be given before -lnsl if both are needed. We assume that
23230 # if connect needs -lnsl, so does gethostbyname.
23231 echo "$as_me:$LINENO: checking for connect" >&5
23232echo $ECHO_N "checking for connect... $ECHO_C" >&6
23233if test "${ac_cv_func_connect+set}" = set; then
23234 echo $ECHO_N "(cached) $ECHO_C" >&6
23235else
23236 cat >conftest.$ac_ext <<_ACEOF
23237#line $LINENO "configure"
23238/* confdefs.h. */
23239_ACEOF
23240cat confdefs.h >>conftest.$ac_ext
23241cat >>conftest.$ac_ext <<_ACEOF
23242/* end confdefs.h. */
23243/* System header to define __stub macros and hopefully few prototypes,
23244 which can conflict with char connect (); below.
23245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23246 <limits.h> exists even on freestanding compilers. */
23247#ifdef __STDC__
23248# include <limits.h>
23249#else
23250# include <assert.h>
23251#endif
23252/* Override any gcc2 internal prototype to avoid an error. */
23253#ifdef __cplusplus
23254extern "C"
23255{
23256#endif
23257/* We use char because int might match the return type of a gcc2
23258 builtin and then its argument prototype would still apply. */
23259char connect ();
23260/* The GNU C library defines this for functions which it implements
23261 to always fail with ENOSYS. Some functions are actually named
23262 something starting with __ and the normal name is an alias. */
23263#if defined (__stub_connect) || defined (__stub___connect)
23264choke me
23265#else
23266char (*f) () = connect;
23267#endif
23268#ifdef __cplusplus
23269}
23270#endif
23271
23272int
23273main ()
23274{
23275return f != connect;
23276 ;
23277 return 0;
23278}
23279_ACEOF
23280rm -f conftest.$ac_objext conftest$ac_exeext
23281if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23282 (eval $ac_link) 2>&5
23283 ac_status=$?
23284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23285 (exit $ac_status); } &&
23286 { ac_try='test -s conftest$ac_exeext'
23287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23288 (eval $ac_try) 2>&5
23289 ac_status=$?
23290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23291 (exit $ac_status); }; }; then
23292 ac_cv_func_connect=yes
23293else
23294 echo "$as_me: failed program was:" >&5
23295sed 's/^/| /' conftest.$ac_ext >&5
23296
23297ac_cv_func_connect=no
23298fi
23299rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23300fi
23301echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23302echo "${ECHO_T}$ac_cv_func_connect" >&6
23303
23304 if test $ac_cv_func_connect = no; then
23305 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23306echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23307if test "${ac_cv_lib_socket_connect+set}" = set; then
23308 echo $ECHO_N "(cached) $ECHO_C" >&6
23309else
23310 ac_check_lib_save_LIBS=$LIBS
23311LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23312cat >conftest.$ac_ext <<_ACEOF
23313#line $LINENO "configure"
23314/* confdefs.h. */
23315_ACEOF
23316cat confdefs.h >>conftest.$ac_ext
23317cat >>conftest.$ac_ext <<_ACEOF
23318/* end confdefs.h. */
23319
23320/* Override any gcc2 internal prototype to avoid an error. */
23321#ifdef __cplusplus
23322extern "C"
23323#endif
23324/* We use char because int might match the return type of a gcc2
23325 builtin and then its argument prototype would still apply. */
23326char connect ();
23327int
23328main ()
23329{
23330connect ();
23331 ;
23332 return 0;
23333}
23334_ACEOF
23335rm -f conftest.$ac_objext conftest$ac_exeext
23336if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23337 (eval $ac_link) 2>&5
23338 ac_status=$?
23339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23340 (exit $ac_status); } &&
23341 { ac_try='test -s conftest$ac_exeext'
23342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23343 (eval $ac_try) 2>&5
23344 ac_status=$?
23345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23346 (exit $ac_status); }; }; then
23347 ac_cv_lib_socket_connect=yes
23348else
23349 echo "$as_me: failed program was:" >&5
23350sed 's/^/| /' conftest.$ac_ext >&5
23351
23352ac_cv_lib_socket_connect=no
23353fi
23354rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23355LIBS=$ac_check_lib_save_LIBS
23356fi
23357echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23358echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23359if test $ac_cv_lib_socket_connect = yes; then
23360 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23361fi
23362
23363 fi
23364
23365 # Guillermo Gomez says -lposix is necessary on A/UX.
23366 echo "$as_me:$LINENO: checking for remove" >&5
23367echo $ECHO_N "checking for remove... $ECHO_C" >&6
23368if test "${ac_cv_func_remove+set}" = set; then
23369 echo $ECHO_N "(cached) $ECHO_C" >&6
23370else
23371 cat >conftest.$ac_ext <<_ACEOF
23372#line $LINENO "configure"
23373/* confdefs.h. */
23374_ACEOF
23375cat confdefs.h >>conftest.$ac_ext
23376cat >>conftest.$ac_ext <<_ACEOF
23377/* end confdefs.h. */
23378/* System header to define __stub macros and hopefully few prototypes,
23379 which can conflict with char remove (); below.
23380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23381 <limits.h> exists even on freestanding compilers. */
23382#ifdef __STDC__
23383# include <limits.h>
23384#else
23385# include <assert.h>
23386#endif
23387/* Override any gcc2 internal prototype to avoid an error. */
23388#ifdef __cplusplus
23389extern "C"
23390{
23391#endif
23392/* We use char because int might match the return type of a gcc2
23393 builtin and then its argument prototype would still apply. */
23394char remove ();
23395/* The GNU C library defines this for functions which it implements
23396 to always fail with ENOSYS. Some functions are actually named
23397 something starting with __ and the normal name is an alias. */
23398#if defined (__stub_remove) || defined (__stub___remove)
23399choke me
23400#else
23401char (*f) () = remove;
23402#endif
23403#ifdef __cplusplus
23404}
23405#endif
23406
23407int
23408main ()
23409{
23410return f != remove;
23411 ;
23412 return 0;
23413}
23414_ACEOF
23415rm -f conftest.$ac_objext conftest$ac_exeext
23416if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23417 (eval $ac_link) 2>&5
23418 ac_status=$?
23419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23420 (exit $ac_status); } &&
23421 { ac_try='test -s conftest$ac_exeext'
23422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23423 (eval $ac_try) 2>&5
23424 ac_status=$?
23425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23426 (exit $ac_status); }; }; then
23427 ac_cv_func_remove=yes
23428else
23429 echo "$as_me: failed program was:" >&5
23430sed 's/^/| /' conftest.$ac_ext >&5
23431
23432ac_cv_func_remove=no
23433fi
23434rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23435fi
23436echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23437echo "${ECHO_T}$ac_cv_func_remove" >&6
23438
23439 if test $ac_cv_func_remove = no; then
23440 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23441echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23442if test "${ac_cv_lib_posix_remove+set}" = set; then
23443 echo $ECHO_N "(cached) $ECHO_C" >&6
23444else
23445 ac_check_lib_save_LIBS=$LIBS
23446LIBS="-lposix $LIBS"
23447cat >conftest.$ac_ext <<_ACEOF
23448#line $LINENO "configure"
23449/* confdefs.h. */
23450_ACEOF
23451cat confdefs.h >>conftest.$ac_ext
23452cat >>conftest.$ac_ext <<_ACEOF
23453/* end confdefs.h. */
23454
23455/* Override any gcc2 internal prototype to avoid an error. */
23456#ifdef __cplusplus
23457extern "C"
23458#endif
23459/* We use char because int might match the return type of a gcc2
23460 builtin and then its argument prototype would still apply. */
23461char remove ();
23462int
23463main ()
23464{
23465remove ();
23466 ;
23467 return 0;
23468}
23469_ACEOF
23470rm -f conftest.$ac_objext conftest$ac_exeext
23471if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23472 (eval $ac_link) 2>&5
23473 ac_status=$?
23474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23475 (exit $ac_status); } &&
23476 { ac_try='test -s conftest$ac_exeext'
23477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23478 (eval $ac_try) 2>&5
23479 ac_status=$?
23480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23481 (exit $ac_status); }; }; then
23482 ac_cv_lib_posix_remove=yes
23483else
23484 echo "$as_me: failed program was:" >&5
23485sed 's/^/| /' conftest.$ac_ext >&5
23486
23487ac_cv_lib_posix_remove=no
23488fi
23489rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23490LIBS=$ac_check_lib_save_LIBS
23491fi
23492echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23493echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23494if test $ac_cv_lib_posix_remove = yes; then
23495 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23496fi
23497
23498 fi
23499
23500 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23501 echo "$as_me:$LINENO: checking for shmat" >&5
23502echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23503if test "${ac_cv_func_shmat+set}" = set; then
23504 echo $ECHO_N "(cached) $ECHO_C" >&6
23505else
23506 cat >conftest.$ac_ext <<_ACEOF
23507#line $LINENO "configure"
23508/* confdefs.h. */
23509_ACEOF
23510cat confdefs.h >>conftest.$ac_ext
23511cat >>conftest.$ac_ext <<_ACEOF
23512/* end confdefs.h. */
23513/* System header to define __stub macros and hopefully few prototypes,
23514 which can conflict with char shmat (); below.
23515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23516 <limits.h> exists even on freestanding compilers. */
23517#ifdef __STDC__
23518# include <limits.h>
23519#else
23520# include <assert.h>
23521#endif
23522/* Override any gcc2 internal prototype to avoid an error. */
23523#ifdef __cplusplus
23524extern "C"
23525{
23526#endif
23527/* We use char because int might match the return type of a gcc2
23528 builtin and then its argument prototype would still apply. */
23529char shmat ();
23530/* The GNU C library defines this for functions which it implements
23531 to always fail with ENOSYS. Some functions are actually named
23532 something starting with __ and the normal name is an alias. */
23533#if defined (__stub_shmat) || defined (__stub___shmat)
23534choke me
23535#else
23536char (*f) () = shmat;
23537#endif
23538#ifdef __cplusplus
23539}
23540#endif
23541
23542int
23543main ()
23544{
23545return f != shmat;
23546 ;
23547 return 0;
23548}
23549_ACEOF
23550rm -f conftest.$ac_objext conftest$ac_exeext
23551if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23552 (eval $ac_link) 2>&5
23553 ac_status=$?
23554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23555 (exit $ac_status); } &&
23556 { ac_try='test -s conftest$ac_exeext'
23557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23558 (eval $ac_try) 2>&5
23559 ac_status=$?
23560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23561 (exit $ac_status); }; }; then
23562 ac_cv_func_shmat=yes
23563else
23564 echo "$as_me: failed program was:" >&5
23565sed 's/^/| /' conftest.$ac_ext >&5
23566
23567ac_cv_func_shmat=no
23568fi
23569rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23570fi
23571echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23572echo "${ECHO_T}$ac_cv_func_shmat" >&6
23573
23574 if test $ac_cv_func_shmat = no; then
23575 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23576echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23577if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23578 echo $ECHO_N "(cached) $ECHO_C" >&6
23579else
23580 ac_check_lib_save_LIBS=$LIBS
23581LIBS="-lipc $LIBS"
23582cat >conftest.$ac_ext <<_ACEOF
23583#line $LINENO "configure"
23584/* confdefs.h. */
23585_ACEOF
23586cat confdefs.h >>conftest.$ac_ext
23587cat >>conftest.$ac_ext <<_ACEOF
23588/* end confdefs.h. */
23589
23590/* Override any gcc2 internal prototype to avoid an error. */
23591#ifdef __cplusplus
23592extern "C"
23593#endif
23594/* We use char because int might match the return type of a gcc2
23595 builtin and then its argument prototype would still apply. */
23596char shmat ();
23597int
23598main ()
23599{
23600shmat ();
23601 ;
23602 return 0;
23603}
23604_ACEOF
23605rm -f conftest.$ac_objext conftest$ac_exeext
23606if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23607 (eval $ac_link) 2>&5
23608 ac_status=$?
23609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23610 (exit $ac_status); } &&
23611 { ac_try='test -s conftest$ac_exeext'
23612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23613 (eval $ac_try) 2>&5
23614 ac_status=$?
23615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23616 (exit $ac_status); }; }; then
23617 ac_cv_lib_ipc_shmat=yes
23618else
23619 echo "$as_me: failed program was:" >&5
23620sed 's/^/| /' conftest.$ac_ext >&5
23621
23622ac_cv_lib_ipc_shmat=no
23623fi
23624rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23625LIBS=$ac_check_lib_save_LIBS
23626fi
23627echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23628echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23629if test $ac_cv_lib_ipc_shmat = yes; then
23630 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23631fi
23632
23633 fi
23634 fi
23635
23636 # Check for libraries that X11R6 Xt/Xaw programs need.
23637 ac_save_LDFLAGS=$LDFLAGS
23638 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23639 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23640 # check for ICE first), but we must link in the order -lSM -lICE or
23641 # we get undefined symbols. So assume we have SM if we have ICE.
23642 # These have to be linked with before -lX11, unlike the other
23643 # libraries we check for below, so use a different variable.
23644 # John Interrante, Karl Berry
23645 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23646echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23647if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23648 echo $ECHO_N "(cached) $ECHO_C" >&6
23649else
23650 ac_check_lib_save_LIBS=$LIBS
23651LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23652cat >conftest.$ac_ext <<_ACEOF
23653#line $LINENO "configure"
23654/* confdefs.h. */
23655_ACEOF
23656cat confdefs.h >>conftest.$ac_ext
23657cat >>conftest.$ac_ext <<_ACEOF
23658/* end confdefs.h. */
23659
23660/* Override any gcc2 internal prototype to avoid an error. */
23661#ifdef __cplusplus
23662extern "C"
23663#endif
23664/* We use char because int might match the return type of a gcc2
23665 builtin and then its argument prototype would still apply. */
23666char IceConnectionNumber ();
23667int
23668main ()
23669{
23670IceConnectionNumber ();
23671 ;
23672 return 0;
23673}
23674_ACEOF
23675rm -f conftest.$ac_objext conftest$ac_exeext
23676if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23677 (eval $ac_link) 2>&5
23678 ac_status=$?
23679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23680 (exit $ac_status); } &&
23681 { ac_try='test -s conftest$ac_exeext'
23682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23683 (eval $ac_try) 2>&5
23684 ac_status=$?
23685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23686 (exit $ac_status); }; }; then
23687 ac_cv_lib_ICE_IceConnectionNumber=yes
23688else
23689 echo "$as_me: failed program was:" >&5
23690sed 's/^/| /' conftest.$ac_ext >&5
23691
23692ac_cv_lib_ICE_IceConnectionNumber=no
23693fi
23694rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23695LIBS=$ac_check_lib_save_LIBS
23696fi
23697echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23698echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23699if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23700 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23701fi
23702
23703 LDFLAGS=$ac_save_LDFLAGS
23704
23705fi
23706
23707
23708 if test "$no_x" = "yes"; then
23709 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23710echo "$as_me: error: X11 not found" >&2;}
23711 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
23712 fi
23713
23714 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
23715 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
23716 AFMINSTALL=afminstall
23717 COMPILED_X_PROGRAM=0
23718
23719 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23720echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23721
23722ac_find_includes=
23723for ac_dir in $SEARCH_INCLUDE /usr/include;
23724 do
23725 if test -f "$ac_dir/Xm/Xm.h"; then
23726 ac_find_includes=$ac_dir
23727 break
23728 fi
23729 done
23730
23731 if test "$ac_find_includes" != "" ; then
23732 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23733echo "${ECHO_T}found in $ac_find_includes" >&6
23734
23735 if test "x$ac_find_includes" = "x/usr/include"; then
23736 ac_path_to_include=""
23737 else
23738 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
23739 result=$?
23740 if test $result = 0; then
23741 ac_path_to_include=""
23742 else
23743 ac_path_to_include=" -I$ac_find_includes"
23744 fi
23745 fi
23746
23747 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
23748 else
23749 cat >conftest.$ac_ext <<_ACEOF
23750#line $LINENO "configure"
23751/* confdefs.h. */
23752_ACEOF
23753cat confdefs.h >>conftest.$ac_ext
23754cat >>conftest.$ac_ext <<_ACEOF
23755/* end confdefs.h. */
23756
23757 #include <Xm/Xm.h>
23758
23759int
23760main ()
23761{
23762
23763 int version;
23764 version = xmUseVersion;
23765
23766 ;
23767 return 0;
23768}
23769_ACEOF
23770rm -f conftest.$ac_objext
23771if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23772 (eval $ac_compile) 2>&5
23773 ac_status=$?
23774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23775 (exit $ac_status); } &&
23776 { ac_try='test -s conftest.$ac_objext'
23777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23778 (eval $ac_try) 2>&5
23779 ac_status=$?
23780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23781 (exit $ac_status); }; }; then
23782
23783 echo "$as_me:$LINENO: result: found in default search path" >&5
23784echo "${ECHO_T}found in default search path" >&6
23785 COMPILED_X_PROGRAM=1
23786
23787else
23788 echo "$as_me: failed program was:" >&5
23789sed 's/^/| /' conftest.$ac_ext >&5
23790
23791
23792 echo "$as_me:$LINENO: result: no" >&5
23793echo "${ECHO_T}no" >&6
23794 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
23795echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
23796 { (exit 1); exit 1; }; }
23797
23798
23799fi
23800rm -f conftest.$ac_objext conftest.$ac_ext
23801 fi
23802
23803 if test "$COMPILED_X_PROGRAM" = 0; then
23804 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
23805echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
23806
23807ac_find_libraries=
23808for ac_dir in $SEARCH_LIB /usr/lib;
23809 do
23810 for ac_extension in a so sl dylib; do
23811 if test -f "$ac_dir/libXm.$ac_extension"; then
23812 ac_find_libraries=$ac_dir
23813 break 2
23814 fi
23815 done
23816 done
23817
23818 if test "$ac_find_libraries" != "" ; then
23819 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23820echo "${ECHO_T}found at $ac_find_libraries" >&6
23821
23822
23823 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23824 result=$?
23825 if test $result = 0; then
23826 ac_path_to_link=""
23827 else
23828 ac_path_to_link=" -L$ac_find_libraries"
23829 fi
23830
23831 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23832 else
23833 save_CFLAGS=$CFLAGS
23834 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23835
23836 cat >conftest.$ac_ext <<_ACEOF
23837#line $LINENO "configure"
23838/* confdefs.h. */
23839_ACEOF
23840cat confdefs.h >>conftest.$ac_ext
23841cat >>conftest.$ac_ext <<_ACEOF
23842/* end confdefs.h. */
23843
23844 #include <Xm/Xm.h>
23845
23846int
23847main ()
23848{
23849
23850 int version;
23851 version = xmUseVersion;
23852
23853 ;
23854 return 0;
23855}
23856_ACEOF
23857rm -f conftest.$ac_objext
23858if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23859 (eval $ac_compile) 2>&5
23860 ac_status=$?
23861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23862 (exit $ac_status); } &&
23863 { ac_try='test -s conftest.$ac_objext'
23864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23865 (eval $ac_try) 2>&5
23866 ac_status=$?
23867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23868 (exit $ac_status); }; }; then
23869
23870 echo "$as_me:$LINENO: result: found in default search path" >&5
23871echo "${ECHO_T}found in default search path" >&6
23872 COMPILED_X_PROGRAM=1
23873
23874else
23875 echo "$as_me: failed program was:" >&5
23876sed 's/^/| /' conftest.$ac_ext >&5
23877
23878
23879 echo "$as_me:$LINENO: result: no" >&5
23880echo "${ECHO_T}no" >&6
23881 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
23882echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
23883 { (exit 1); exit 1; }; }
23884
23885
23886fi
23887rm -f conftest.$ac_objext conftest.$ac_ext
23888
23889 CFLAGS=$save_CFLAGS
23890 fi
23891 fi
23892
23893 xpm_link=
23894 echo "$as_me:$LINENO: checking for Xpm library" >&5
23895echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
23896
23897ac_find_libraries=
23898for ac_dir in $SEARCH_LIB /usr/lib;
23899 do
23900 for ac_extension in a so sl dylib; do
23901 if test -f "$ac_dir/libXpm.$ac_extension"; then
23902 ac_find_libraries=$ac_dir
23903 break 2
23904 fi
23905 done
23906 done
23907
23908 if test "$ac_find_libraries" != "" ; then
23909
23910 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23911 result=$?
23912 if test $result = 0; then
23913 ac_path_to_link=""
23914 else
23915 ac_path_to_link=" -L$ac_find_libraries"
23916 fi
23917
23918 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23919
23920 xpm_link=" -lXpm"
23921 cat >>confdefs.h <<\_ACEOF
23922#define wxHAVE_LIB_XPM 1
23923_ACEOF
23924
23925 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23926echo "${ECHO_T}found at $ac_find_libraries" >&6
23927 else
23928 save_CFLAGS=$CFLAGS
23929 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23930
23931 cat >conftest.$ac_ext <<_ACEOF
23932#line $LINENO "configure"
23933/* confdefs.h. */
23934_ACEOF
23935cat confdefs.h >>conftest.$ac_ext
23936cat >>conftest.$ac_ext <<_ACEOF
23937/* end confdefs.h. */
23938
23939 #include <X11/xpm.h>
23940
23941int
23942main ()
23943{
23944
23945 int version;
23946 version = XpmLibraryVersion();
23947
23948 ;
23949 return 0;
23950}
23951_ACEOF
23952rm -f conftest.$ac_objext
23953if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23954 (eval $ac_compile) 2>&5
23955 ac_status=$?
23956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23957 (exit $ac_status); } &&
23958 { ac_try='test -s conftest.$ac_objext'
23959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23960 (eval $ac_try) 2>&5
23961 ac_status=$?
23962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23963 (exit $ac_status); }; }; then
23964
23965 xpm_link=" -lXpm"
23966 cat >>confdefs.h <<\_ACEOF
23967#define wxHAVE_LIB_XPM 1
23968_ACEOF
23969
23970 echo "$as_me:$LINENO: result: found in default search path" >&5
23971echo "${ECHO_T}found in default search path" >&6
23972 COMPILED_X_PROGRAM=0
23973
23974else
23975 echo "$as_me: failed program was:" >&5
23976sed 's/^/| /' conftest.$ac_ext >&5
23977
23978
23979 echo "$as_me:$LINENO: result: no" >&5
23980echo "${ECHO_T}no" >&6
23981 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
23982echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
23983
23984
23985fi
23986rm -f conftest.$ac_objext conftest.$ac_ext
23987
23988 CFLAGS=$save_CFLAGS
23989 fi
23990
23991 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
23992echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
23993 libp_link=""
23994 libsm_ice_link=""
23995 libs_found=0
23996 for libp in "" " -lXp"; do
23997 if test "$libs_found" = "0"; then
23998 for libsm_ice in " -lSM -lICE"; do
23999 if test "$libs_found" = "0"; then
24000 save_LIBS="$LIBS"
24001 LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24002 save_CFLAGS=$CFLAGS
24003 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24004
24005 cat >conftest.$ac_ext <<_ACEOF
24006#line $LINENO "configure"
24007/* confdefs.h. */
24008_ACEOF
24009cat confdefs.h >>conftest.$ac_ext
24010cat >>conftest.$ac_ext <<_ACEOF
24011/* end confdefs.h. */
24012
24013 #include <Xm/Xm.h>
24014 #include <Xm/List.h>
24015
24016int
24017main ()
24018{
24019
24020 XmString string = NULL;
24021 Widget w = NULL;
24022 int position = 0;
24023 XmListAddItem(w, string, position);
24024
24025 ;
24026 return 0;
24027}
24028_ACEOF
24029rm -f conftest.$ac_objext conftest$ac_exeext
24030if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24031 (eval $ac_link) 2>&5
24032 ac_status=$?
24033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24034 (exit $ac_status); } &&
24035 { ac_try='test -s conftest$ac_exeext'
24036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24037 (eval $ac_try) 2>&5
24038 ac_status=$?
24039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24040 (exit $ac_status); }; }; then
24041
24042 libp_link="$libp"
24043 libsm_ice_link="$libsm_ice"
24044 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24045echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24046 libs_found=1
24047
24048else
24049 echo "$as_me: failed program was:" >&5
24050sed 's/^/| /' conftest.$ac_ext >&5
24051
24052
24053
24054fi
24055rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24056
24057 LIBS="$save_LIBS"
24058 CFLAGS=$save_CFLAGS
24059 fi
24060 done
24061 fi
24062 done
24063
24064 if test "$libs_found" = "0"; then
24065 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24066echo "${ECHO_T}can't find the right libraries" >&6
24067 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24068echo "$as_me: error: can't link a simple motif program" >&2;}
24069 { (exit 1); exit 1; }; }
24070 fi
24071
24072 save_CFLAGS=$CFLAGS
24073 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24074 echo "$as_me:$LINENO: checking for Motif 2" >&5
24075echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24076 cat >conftest.$ac_ext <<_ACEOF
24077#line $LINENO "configure"
24078/* confdefs.h. */
24079_ACEOF
24080cat confdefs.h >>conftest.$ac_ext
24081cat >>conftest.$ac_ext <<_ACEOF
24082/* end confdefs.h. */
24083
24084 #include <Xm/Xm.h>
24085
24086int
24087main ()
24088{
24089
24090 #if XmVersion < 2000
24091 #error "Not Motif 2"
24092 #endif
24093
24094 ;
24095 return 0;
24096}
24097_ACEOF
24098rm -f conftest.$ac_objext
24099if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24100 (eval $ac_compile) 2>&5
24101 ac_status=$?
24102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24103 (exit $ac_status); } &&
24104 { ac_try='test -s conftest.$ac_objext'
24105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24106 (eval $ac_try) 2>&5
24107 ac_status=$?
24108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24109 (exit $ac_status); }; }; then
24110
24111 cat >>confdefs.h <<\_ACEOF
24112#define __WXMOTIF20__ 1
24113_ACEOF
24114
24115 echo "$as_me:$LINENO: result: found" >&5
24116echo "${ECHO_T}found" >&6
24117
24118else
24119 echo "$as_me: failed program was:" >&5
24120sed 's/^/| /' conftest.$ac_ext >&5
24121
24122
24123 cat >>confdefs.h <<\_ACEOF
24124#define __WXMOTIF20__ 0
24125_ACEOF
24126
24127 echo "$as_me:$LINENO: result: not found" >&5
24128echo "${ECHO_T}not found" >&6
24129
24130fi
24131rm -f conftest.$ac_objext conftest.$ac_ext
24132 CFLAGS=$save_CFLAGS
24133
24134 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24135 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24136 TOOLKIT=MOTIF
24137 GUIDIST=MOTIF_DIST
24138 wxHAVE_XEXT_LIB=1
24139 fi
24140
24141 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
24142 test "$wxHAVE_XEXT_LIB" = 1; then
24143 save_CFLAGS="$CFLAGS"
24144 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24145
24146 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24147echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24148 cat >conftest.$ac_ext <<_ACEOF
24149#line $LINENO "configure"
24150/* confdefs.h. */
24151_ACEOF
24152cat confdefs.h >>conftest.$ac_ext
24153cat >>conftest.$ac_ext <<_ACEOF
24154/* end confdefs.h. */
24155
24156 #include <X11/Xlib.h>
24157 #include <X11/extensions/shape.h>
24158
24159int
24160main ()
24161{
24162
24163 int dummy1, dummy2;
24164 XShapeQueryExtension((Display*)NULL,
24165 (int*)NULL, (int*)NULL);
24166
24167 ;
24168 return 0;
24169}
24170_ACEOF
24171rm -f conftest.$ac_objext
24172if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24173 (eval $ac_compile) 2>&5
24174 ac_status=$?
24175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24176 (exit $ac_status); } &&
24177 { ac_try='test -s conftest.$ac_objext'
24178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24179 (eval $ac_try) 2>&5
24180 ac_status=$?
24181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24182 (exit $ac_status); }; }; then
24183
24184 cat >>confdefs.h <<\_ACEOF
24185#define HAVE_XSHAPE 1
24186_ACEOF
24187
24188 echo "$as_me:$LINENO: result: found" >&5
24189echo "${ECHO_T}found" >&6
24190
24191else
24192 echo "$as_me: failed program was:" >&5
24193sed 's/^/| /' conftest.$ac_ext >&5
24194
24195
24196 echo "$as_me:$LINENO: result: not found" >&5
24197echo "${ECHO_T}not found" >&6
24198
24199fi
24200rm -f conftest.$ac_objext conftest.$ac_ext
24201 CFLAGS="$save_CFLAGS"
24202 fi
24203
24204 if test "$wxUSE_MAC" = 1; then
24205 CPPFLAGS="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24206
24207 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24208 TOOLKIT=MAC
24209 GUIDIST=MACX_DIST
24210 WXBASEPORT="_carbon"
24211 fi
24212
24213 if test "$wxUSE_COCOA" = 1; then
24214 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
24215 TOOLKIT=COCOA
24216 GUIDIST=COCOA_DIST
24217 fi
24218
24219 if test "$wxUSE_PM" = 1; then
24220 TOOLKIT=PM
24221 GUIDIST=GTK_DIST
24222 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
24223echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
24224 wxUSE_THREADS="no"
24225 fi
24226
24227 if test "$TOOLKIT" = "PM" ; then
24228 TOOLKIT_DIR="os2"
24229 else
24230 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24231 fi
24232
24233 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24234
24235 if test "$wxUSE_UNIVERSAL" = "yes"; then
24236 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24237
24238 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24239 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24240
24241 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24242 if test "$wxUSE_X11" = 1; then
24243 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24244 else
24245 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24246 fi
24247 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24248 WIDGET_SET=univ
24249 else
24250 ALL_OBJECTS="\$(GUIOBJS)"
24251 ALL_SOURCES="\$(ALL_SOURCES)"
24252 ALL_HEADERS="\$(ALL_HEADERS)"
24253 fi
24254
24255 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24256
24257 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24258 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
24259 fi
24260
24261 if test "$wxUSE_HTML" = "yes"; then
24262 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
24263 fi
24264
24265 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24266 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
24267 fi
24268 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24269 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
24270 fi
24271 if test "$wxUSE_LIBPNG" = "builtin" ; then
24272 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
24273 fi
24274
24275 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24276 DISTDIR="wx\$(TOOLKIT)"
24277else
24278 USE_GUI=0
24279
24280 TOOLKIT_DIR="base"
24281
24282 if test "$USE_WIN32" = 1 ; then
24283 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24284 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
24285
24286 TOOLKIT="MSW"
24287 else
24288 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24289 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
24290 fi
24291
24292 ALL_SOURCES="\$(ALL_SOURCES)"
24293 ALL_HEADERS="\$(ALL_HEADERS)"
24294
24295 PORT_FILES="\${top_srcdir}/src/files.lst"
24296
24297 GUIDIST="BASE_DIST"
24298 DISTDIR="wxBase"
24299fi
24300
24301
24302
24303
24304IODBC_C_SRC=""
24305
24306
24307if test "$TOOLKIT" != "MSW" ; then
24308
24309 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24310
24311 if test "${ac_cv_header_sql_h+set}" = set; then
24312 echo "$as_me:$LINENO: checking for sql.h" >&5
24313echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24314if test "${ac_cv_header_sql_h+set}" = set; then
24315 echo $ECHO_N "(cached) $ECHO_C" >&6
24316fi
24317echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24318echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24319else
24320 # Is the header compilable?
24321echo "$as_me:$LINENO: checking sql.h usability" >&5
24322echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24323cat >conftest.$ac_ext <<_ACEOF
24324#line $LINENO "configure"
24325/* confdefs.h. */
24326_ACEOF
24327cat confdefs.h >>conftest.$ac_ext
24328cat >>conftest.$ac_ext <<_ACEOF
24329/* end confdefs.h. */
24330$ac_includes_default
24331#include <sql.h>
24332_ACEOF
24333rm -f conftest.$ac_objext
24334if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24335 (eval $ac_compile) 2>&5
24336 ac_status=$?
24337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24338 (exit $ac_status); } &&
24339 { ac_try='test -s conftest.$ac_objext'
24340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24341 (eval $ac_try) 2>&5
24342 ac_status=$?
24343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24344 (exit $ac_status); }; }; then
24345 ac_header_compiler=yes
24346else
24347 echo "$as_me: failed program was:" >&5
24348sed 's/^/| /' conftest.$ac_ext >&5
24349
24350ac_header_compiler=no
24351fi
24352rm -f conftest.$ac_objext conftest.$ac_ext
24353echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24354echo "${ECHO_T}$ac_header_compiler" >&6
24355
24356# Is the header present?
24357echo "$as_me:$LINENO: checking sql.h presence" >&5
24358echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24359cat >conftest.$ac_ext <<_ACEOF
24360#line $LINENO "configure"
24361/* confdefs.h. */
24362_ACEOF
24363cat confdefs.h >>conftest.$ac_ext
24364cat >>conftest.$ac_ext <<_ACEOF
24365/* end confdefs.h. */
24366#include <sql.h>
24367_ACEOF
24368if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24369 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24370 ac_status=$?
24371 grep -v '^ *+' conftest.er1 >conftest.err
24372 rm -f conftest.er1
24373 cat conftest.err >&5
24374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24375 (exit $ac_status); } >/dev/null; then
24376 if test -s conftest.err; then
24377 ac_cpp_err=$ac_c_preproc_warn_flag
24378 else
24379 ac_cpp_err=
24380 fi
24381else
24382 ac_cpp_err=yes
24383fi
24384if test -z "$ac_cpp_err"; then
24385 ac_header_preproc=yes
24386else
24387 echo "$as_me: failed program was:" >&5
24388sed 's/^/| /' conftest.$ac_ext >&5
24389
24390 ac_header_preproc=no
24391fi
24392rm -f conftest.err conftest.$ac_ext
24393echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24394echo "${ECHO_T}$ac_header_preproc" >&6
24395
24396# So? What about this header?
24397case $ac_header_compiler:$ac_header_preproc in
24398 yes:no )
24399 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24400echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24401 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24402echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24403 (
24404 cat <<\_ASBOX
24405## ------------------------------------ ##
24406## Report this to bug-autoconf@gnu.org. ##
24407## ------------------------------------ ##
24408_ASBOX
24409 ) |
24410 sed "s/^/$as_me: WARNING: /" >&2
24411 ;;
24412 no:yes )
24413 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24414echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24415 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24416echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24417 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24418echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24419 (
24420 cat <<\_ASBOX
24421## ------------------------------------ ##
24422## Report this to bug-autoconf@gnu.org. ##
24423## ------------------------------------ ##
24424_ASBOX
24425 ) |
24426 sed "s/^/$as_me: WARNING: /" >&2
24427 ;;
24428esac
24429echo "$as_me:$LINENO: checking for sql.h" >&5
24430echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24431if test "${ac_cv_header_sql_h+set}" = set; then
24432 echo $ECHO_N "(cached) $ECHO_C" >&6
24433else
24434 ac_cv_header_sql_h=$ac_header_preproc
24435fi
24436echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24437echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24438
24439fi
24440if test $ac_cv_header_sql_h = yes; then
24441 found_sql_h=1
24442fi
24443
24444
24445 if test "x$found_sql_h" = "x1" ; then
24446 echo "$as_me:$LINENO: checking for iodbc in -lSQLAllocEnv" >&5
24447echo $ECHO_N "checking for iodbc in -lSQLAllocEnv... $ECHO_C" >&6
24448if test "${ac_cv_lib_SQLAllocEnv_iodbc+set}" = set; then
24449 echo $ECHO_N "(cached) $ECHO_C" >&6
24450else
24451 ac_check_lib_save_LIBS=$LIBS
24452LIBS="-lSQLAllocEnv $LIBS"
24453cat >conftest.$ac_ext <<_ACEOF
24454#line $LINENO "configure"
24455/* confdefs.h. */
24456_ACEOF
24457cat confdefs.h >>conftest.$ac_ext
24458cat >>conftest.$ac_ext <<_ACEOF
24459/* end confdefs.h. */
24460
24461/* Override any gcc2 internal prototype to avoid an error. */
24462#ifdef __cplusplus
24463extern "C"
24464#endif
24465/* We use char because int might match the return type of a gcc2
24466 builtin and then its argument prototype would still apply. */
24467char iodbc ();
24468int
24469main ()
24470{
24471iodbc ();
24472 ;
24473 return 0;
24474}
24475_ACEOF
24476rm -f conftest.$ac_objext conftest$ac_exeext
24477if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24478 (eval $ac_link) 2>&5
24479 ac_status=$?
24480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24481 (exit $ac_status); } &&
24482 { ac_try='test -s conftest$ac_exeext'
24483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24484 (eval $ac_try) 2>&5
24485 ac_status=$?
24486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24487 (exit $ac_status); }; }; then
24488 ac_cv_lib_SQLAllocEnv_iodbc=yes
24489else
24490 echo "$as_me: failed program was:" >&5
24491sed 's/^/| /' conftest.$ac_ext >&5
24492
24493ac_cv_lib_SQLAllocEnv_iodbc=no
24494fi
24495rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24496LIBS=$ac_check_lib_save_LIBS
24497fi
24498echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_iodbc" >&5
24499echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_iodbc" >&6
24500if test $ac_cv_lib_SQLAllocEnv_iodbc = yes; then
24501 ODBC_LINK=" -liodbc"
24502else
24503
24504 echo "$as_me:$LINENO: checking for unixodbc in -lSQLAllocEnv" >&5
24505echo $ECHO_N "checking for unixodbc in -lSQLAllocEnv... $ECHO_C" >&6
24506if test "${ac_cv_lib_SQLAllocEnv_unixodbc+set}" = set; then
24507 echo $ECHO_N "(cached) $ECHO_C" >&6
24508else
24509 ac_check_lib_save_LIBS=$LIBS
24510LIBS="-lSQLAllocEnv $LIBS"
24511cat >conftest.$ac_ext <<_ACEOF
24512#line $LINENO "configure"
24513/* confdefs.h. */
24514_ACEOF
24515cat confdefs.h >>conftest.$ac_ext
24516cat >>conftest.$ac_ext <<_ACEOF
24517/* end confdefs.h. */
24518
24519/* Override any gcc2 internal prototype to avoid an error. */
24520#ifdef __cplusplus
24521extern "C"
24522#endif
24523/* We use char because int might match the return type of a gcc2
24524 builtin and then its argument prototype would still apply. */
24525char unixodbc ();
24526int
24527main ()
24528{
24529unixodbc ();
24530 ;
24531 return 0;
24532}
24533_ACEOF
24534rm -f conftest.$ac_objext conftest$ac_exeext
24535if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24536 (eval $ac_link) 2>&5
24537 ac_status=$?
24538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24539 (exit $ac_status); } &&
24540 { ac_try='test -s conftest$ac_exeext'
24541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24542 (eval $ac_try) 2>&5
24543 ac_status=$?
24544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24545 (exit $ac_status); }; }; then
24546 ac_cv_lib_SQLAllocEnv_unixodbc=yes
24547else
24548 echo "$as_me: failed program was:" >&5
24549sed 's/^/| /' conftest.$ac_ext >&5
24550
24551ac_cv_lib_SQLAllocEnv_unixodbc=no
24552fi
24553rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24554LIBS=$ac_check_lib_save_LIBS
24555fi
24556echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_unixodbc" >&5
24557echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_unixodbc" >&6
24558if test $ac_cv_lib_SQLAllocEnv_unixodbc = yes; then
24559 ODBC_LINK=" -lunixodbc"
24560else
24561
24562 echo "$as_me:$LINENO: checking for odbc in -lSQLAllocEnv" >&5
24563echo $ECHO_N "checking for odbc in -lSQLAllocEnv... $ECHO_C" >&6
24564if test "${ac_cv_lib_SQLAllocEnv_odbc+set}" = set; then
24565 echo $ECHO_N "(cached) $ECHO_C" >&6
24566else
24567 ac_check_lib_save_LIBS=$LIBS
24568LIBS="-lSQLAllocEnv $LIBS"
24569cat >conftest.$ac_ext <<_ACEOF
24570#line $LINENO "configure"
24571/* confdefs.h. */
24572_ACEOF
24573cat confdefs.h >>conftest.$ac_ext
24574cat >>conftest.$ac_ext <<_ACEOF
24575/* end confdefs.h. */
24576
24577/* Override any gcc2 internal prototype to avoid an error. */
24578#ifdef __cplusplus
24579extern "C"
24580#endif
24581/* We use char because int might match the return type of a gcc2
24582 builtin and then its argument prototype would still apply. */
24583char odbc ();
24584int
24585main ()
24586{
24587odbc ();
24588 ;
24589 return 0;
24590}
24591_ACEOF
24592rm -f conftest.$ac_objext conftest$ac_exeext
24593if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24594 (eval $ac_link) 2>&5
24595 ac_status=$?
24596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24597 (exit $ac_status); } &&
24598 { ac_try='test -s conftest$ac_exeext'
24599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24600 (eval $ac_try) 2>&5
24601 ac_status=$?
24602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24603 (exit $ac_status); }; }; then
24604 ac_cv_lib_SQLAllocEnv_odbc=yes
24605else
24606 echo "$as_me: failed program was:" >&5
24607sed 's/^/| /' conftest.$ac_ext >&5
24608
24609ac_cv_lib_SQLAllocEnv_odbc=no
24610fi
24611rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24612LIBS=$ac_check_lib_save_LIBS
24613fi
24614echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_odbc" >&5
24615echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_odbc" >&6
24616if test $ac_cv_lib_SQLAllocEnv_odbc = yes; then
24617 ODBC_LINK=" -lodbc"
24618fi
24619
24620
24621fi
24622
24623
24624fi
24625
24626 fi
24627 if test "x$ODBC_LINK" = "x" ; then
24628 if test "$wxUSE_ODBC" = "sys" ; then
24629 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
24630echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
24631 { (exit 1); exit 1; }; }
24632 else
24633 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
24634echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
24635 wxUSE_ODBC=builtin
24636 fi
24637 else
24638 wxUSE_ODBC=sys
24639 fi
24640 fi
24641 if test "$wxUSE_ODBC" != "no" ; then
24642 cat >>confdefs.h <<\_ACEOF
24643#define wxUSE_ODBC 1
24644_ACEOF
24645
24646 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
24647
24648 WXODBCFLAG="-D_IODBC_"
24649 fi
24650fi
24651
24652if test "$wxUSE_REGEX" = "builtin" ; then
24653 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
24654fi
24655if test "$wxUSE_ZLIB" = "builtin" ; then
24656 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
24657fi
24658
24659
24660USE_OPENGL=0
24661if test "$wxUSE_OPENGL" = "yes"; then
24662 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24663 OPENGL_LIBS="-framework OpenGL -framework AGL"
24664 elif test "$wxUSE_MSW" = 1; then
24665 OPENGL_LIBS="-lopengl32 -lglu32"
24666 else
24667
24668
24669ac_find_includes=
24670for ac_dir in $SEARCH_INCLUDE /usr/include;
24671 do
24672 if test -f "$ac_dir/GL/gl.h"; then
24673 ac_find_includes=$ac_dir
24674 break
24675 fi
24676 done
24677
24678 if test "$ac_find_includes" != "" ; then
24679 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24680echo "${ECHO_T}found in $ac_find_includes" >&6
24681
24682 if test "x$ac_find_includes" = "x/usr/include"; then
24683 ac_path_to_include=""
24684 else
24685 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
24686 result=$?
24687 if test $result = 0; then
24688 ac_path_to_include=""
24689 else
24690 ac_path_to_include=" -I$ac_find_includes"
24691 fi
24692 fi
24693
24694 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
24695 fi
24696
24697 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24698 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24699echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24700if test "${ac_cv_header_GL_gl_h+set}" = set; then
24701 echo $ECHO_N "(cached) $ECHO_C" >&6
24702fi
24703echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24704echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24705else
24706 # Is the header compilable?
24707echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24708echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24709cat >conftest.$ac_ext <<_ACEOF
24710#line $LINENO "configure"
24711/* confdefs.h. */
24712_ACEOF
24713cat confdefs.h >>conftest.$ac_ext
24714cat >>conftest.$ac_ext <<_ACEOF
24715/* end confdefs.h. */
24716$ac_includes_default
24717#include <GL/gl.h>
24718_ACEOF
24719rm -f conftest.$ac_objext
24720if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24721 (eval $ac_compile) 2>&5
24722 ac_status=$?
24723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24724 (exit $ac_status); } &&
24725 { ac_try='test -s conftest.$ac_objext'
24726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24727 (eval $ac_try) 2>&5
24728 ac_status=$?
24729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24730 (exit $ac_status); }; }; then
24731 ac_header_compiler=yes
24732else
24733 echo "$as_me: failed program was:" >&5
24734sed 's/^/| /' conftest.$ac_ext >&5
24735
24736ac_header_compiler=no
24737fi
24738rm -f conftest.$ac_objext conftest.$ac_ext
24739echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24740echo "${ECHO_T}$ac_header_compiler" >&6
24741
24742# Is the header present?
24743echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24744echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24745cat >conftest.$ac_ext <<_ACEOF
24746#line $LINENO "configure"
24747/* confdefs.h. */
24748_ACEOF
24749cat confdefs.h >>conftest.$ac_ext
24750cat >>conftest.$ac_ext <<_ACEOF
24751/* end confdefs.h. */
24752#include <GL/gl.h>
24753_ACEOF
24754if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24755 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24756 ac_status=$?
24757 grep -v '^ *+' conftest.er1 >conftest.err
24758 rm -f conftest.er1
24759 cat conftest.err >&5
24760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24761 (exit $ac_status); } >/dev/null; then
24762 if test -s conftest.err; then
24763 ac_cpp_err=$ac_c_preproc_warn_flag
24764 else
24765 ac_cpp_err=
24766 fi
24767else
24768 ac_cpp_err=yes
24769fi
24770if test -z "$ac_cpp_err"; then
24771 ac_header_preproc=yes
24772else
24773 echo "$as_me: failed program was:" >&5
24774sed 's/^/| /' conftest.$ac_ext >&5
24775
24776 ac_header_preproc=no
24777fi
24778rm -f conftest.err conftest.$ac_ext
24779echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24780echo "${ECHO_T}$ac_header_preproc" >&6
24781
24782# So? What about this header?
24783case $ac_header_compiler:$ac_header_preproc in
24784 yes:no )
24785 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24786echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24787 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24788echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24789 (
24790 cat <<\_ASBOX
24791## ------------------------------------ ##
24792## Report this to bug-autoconf@gnu.org. ##
24793## ------------------------------------ ##
24794_ASBOX
24795 ) |
24796 sed "s/^/$as_me: WARNING: /" >&2
24797 ;;
24798 no:yes )
24799 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24800echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24801 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24802echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24803 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24804echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24805 (
24806 cat <<\_ASBOX
24807## ------------------------------------ ##
24808## Report this to bug-autoconf@gnu.org. ##
24809## ------------------------------------ ##
24810_ASBOX
24811 ) |
24812 sed "s/^/$as_me: WARNING: /" >&2
24813 ;;
24814esac
24815echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24816echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24817if test "${ac_cv_header_GL_gl_h+set}" = set; then
24818 echo $ECHO_N "(cached) $ECHO_C" >&6
24819else
24820 ac_cv_header_GL_gl_h=$ac_header_preproc
24821fi
24822echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24823echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24824
24825fi
24826if test $ac_cv_header_GL_gl_h = yes; then
24827
24828 found_gl=0
24829
24830 echo "$as_me:$LINENO: checking for -lGL" >&5
24831echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
24832
24833ac_find_libraries=
24834for ac_dir in $SEARCH_LIB /usr/lib;
24835 do
24836 for ac_extension in a so sl dylib; do
24837 if test -f "$ac_dir/libGL.$ac_extension"; then
24838 ac_find_libraries=$ac_dir
24839 break 2
24840 fi
24841 done
24842 done
24843
24844 if test "$ac_find_libraries" != "" ; then
24845
24846 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24847 result=$?
24848 if test $result = 0; then
24849 ac_path_to_link=""
24850 else
24851 ac_path_to_link=" -L$ac_find_libraries"
24852 fi
24853
24854 if test "$ac_path_to_link" != " -L/usr/lib" ; then
24855 LDFLAGS_GL="$ac_path_to_link"
24856 fi
24857
24858
24859ac_find_libraries=
24860for ac_dir in $SEARCH_LIB /usr/lib;
24861 do
24862 for ac_extension in a so sl dylib; do
24863 if test -f "$ac_dir/libGLU.$ac_extension"; then
24864 ac_find_libraries=$ac_dir
24865 break 2
24866 fi
24867 done
24868 done
24869
24870 if test "$ac_find_libraries" != "" ; then
24871
24872 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24873 result=$?
24874 if test $result = 0; then
24875 ac_path_to_link=""
24876 else
24877 ac_path_to_link=" -L$ac_find_libraries"
24878 fi
24879
24880 if test "$ac_path_to_link" != " -L/usr/lib" -a \
24881 "$ac_path_to_link" != "$LDFLAGS_GL"; then
24882 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
24883 fi
24884
24885 found_gl=1
24886 OPENGL_LIBS="-lGL -lGLU"
24887 echo "$as_me:$LINENO: result: yes" >&5
24888echo "${ECHO_T}yes" >&6
24889 fi
24890 fi
24891
24892 if test "$found_gl" != 1; then
24893 echo "$as_me:$LINENO: result: no" >&5
24894echo "${ECHO_T}no" >&6
24895 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
24896echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
24897
24898ac_find_libraries=
24899for ac_dir in $SEARCH_LIB /usr/lib;
24900 do
24901 for ac_extension in a so sl dylib; do
24902 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
24903 ac_find_libraries=$ac_dir
24904 break 2
24905 fi
24906 done
24907 done
24908
24909 if test "$ac_find_libraries" != "" ; then
24910
24911 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24912 result=$?
24913 if test $result = 0; then
24914 ac_path_to_link=""
24915 else
24916 ac_path_to_link=" -L$ac_find_libraries"
24917 fi
24918
24919 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
24920 OPENGL_LIBS="-lMesaGL -lMesaGLU"
24921 echo "$as_me:$LINENO: result: yes" >&5
24922echo "${ECHO_T}yes" >&6
24923 else
24924 echo "$as_me:$LINENO: result: no" >&5
24925echo "${ECHO_T}no" >&6
24926 fi
24927 fi
24928
24929fi
24930
24931
24932
24933 if test "x$OPENGL_LIBS" = "x"; then
24934 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
24935echo "$as_me: error: OpenGL libraries not available" >&2;}
24936 { (exit 1); exit 1; }; }
24937 fi
24938 fi
24939
24940 if test "$wxUSE_OPENGL" = "yes"; then
24941 USE_OPENGL=1
24942 cat >>confdefs.h <<\_ACEOF
24943#define wxUSE_OPENGL 1
24944_ACEOF
24945
24946 cat >>confdefs.h <<\_ACEOF
24947#define wxUSE_GLCANVAS 1
24948_ACEOF
24949
24950 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
24951 fi
24952fi
24953
24954if test -z "$TOOLKIT_VPATH" ; then
24955 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
24956fi
24957
24958if test -n "$TOOLKIT" ; then
24959 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
24960fi
24961
24962UNICODE=0
24963lib_unicode_suffix=
24964if test "$wxUSE_UNICODE" = "yes"; then
24965 lib_unicode_suffix=u
24966 UNICODE=1
24967fi
24968
24969lib_debug_suffix=
24970DEBUG_FLAG=0
24971if test "$wxUSE_DEBUG_FLAG" = "yes"; then
24972 lib_debug_suffix=d
24973 DEBUG_FLAG=1
24974fi
24975
24976DEBUG_INFO=0
24977if test "$wxUSE_DEBUG_INFO" = "yes"; then
24978 DEBUG_INFO=1
24979fi
24980
24981WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
24982
24983TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
24984TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
24985
24986if test "$cross_compiling" = "yes"; then
24987 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
24988 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
24989 HOST_SUFFIX="-${host_alias}"
24990fi
24991
24992WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
24993WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
24994WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
24995WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
24996
24997WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24998WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24999
25000WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25001WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25002WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25003WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25004
25005case "${host}" in
25006 *-*-cygwin* | *-*-mingw32* )
25007 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
25008 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25009 ;;
25010
25011 *-*-darwin* )
25012
25013 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25014 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25015
25016 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25017 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25018 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25019 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25020
25021 if test "$wxUSE_MAC" = 1; then
25022 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25023 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25024 fi
25025 ;;
25026esac
25027
25028WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
25029WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
25030
25031WXCONFIG_LIBS="-l${WX_LIBRARY}"
25032WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
25033
25034if test "$wxUSE_OPENGL" = "yes"; then
25035 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25036 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25037fi
25038
25039
25040
25041if test "$wxUSE_SHARED" = "yes"; then
25042 case "${host}" in
25043 *-pc-os2_emx | *-pc-os2-emx | \
25044 *-pc-msdosdjgpp )
25045 wxUSE_SHARED=no
25046 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25047echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25048 ;;
25049 esac
25050fi
25051
25052SHARED=0
25053if test "$wxUSE_SHARED" = "yes"; then
25054 SHARED=1
25055
25056
25057 found_versioning=no
25058
25059
25060 if test $found_versioning = no ; then
25061 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25062echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25063if test "${wx_cv_version_script+set}" = set; then
25064 echo $ECHO_N "(cached) $ECHO_C" >&6
25065else
25066
25067 echo "VER_1 { *; };" >conftest.sym
25068 echo "int main() { return 0; }" >conftest.cpp
25069
25070 if { ac_try='
25071 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25072 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25074 (eval $ac_try) 2>&5
25075 ac_status=$?
25076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25077 (exit $ac_status); }; } ; then
25078 if test -s conftest.stderr ; then
25079 wx_cv_version_script=no
25080 else
25081 wx_cv_version_script=yes
25082 fi
25083 else
25084 wx_cv_version_script=no
25085 fi
25086 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25087
25088fi
25089echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25090echo "${ECHO_T}$wx_cv_version_script" >&6
25091 if test $wx_cv_version_script = yes ; then
25092 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
25093 fi
25094 fi
25095
25096
25097 case "${host}" in
25098 *-*-linux* | *-*-gnu* )
25099 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25100 ;;
25101
25102 *-*-solaris2* )
25103 if test "$GCC" = yes ; then
25104 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
25105
25106 saveLdflags="$LDFLAGS"
25107 LDFLAGS="$saveLdflags -Wl,-rpath,/"
25108 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25109echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25110 cat >conftest.$ac_ext <<_ACEOF
25111#line $LINENO "configure"
25112/* confdefs.h. */
25113_ACEOF
25114cat confdefs.h >>conftest.$ac_ext
25115cat >>conftest.$ac_ext <<_ACEOF
25116/* end confdefs.h. */
25117
25118int
25119main ()
25120{
25121
25122 ;
25123 return 0;
25124}
25125_ACEOF
25126rm -f conftest.$ac_objext conftest$ac_exeext
25127if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25128 (eval $ac_link) 2>&5
25129 ac_status=$?
25130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25131 (exit $ac_status); } &&
25132 { ac_try='test -s conftest$ac_exeext'
25133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25134 (eval $ac_try) 2>&5
25135 ac_status=$?
25136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25137 (exit $ac_status); }; }; then
25138
25139 echo "$as_me:$LINENO: result: yes" >&5
25140echo "${ECHO_T}yes" >&6
25141 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25142
25143else
25144 echo "$as_me: failed program was:" >&5
25145sed 's/^/| /' conftest.$ac_ext >&5
25146
25147
25148 echo "$as_me:$LINENO: result: no" >&5
25149echo "${ECHO_T}no" >&6
25150 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25151echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25152 LDFLAGS="$saveLdflags -Wl,-R,/"
25153 cat >conftest.$ac_ext <<_ACEOF
25154#line $LINENO "configure"
25155/* confdefs.h. */
25156_ACEOF
25157cat confdefs.h >>conftest.$ac_ext
25158cat >>conftest.$ac_ext <<_ACEOF
25159/* end confdefs.h. */
25160
25161int
25162main ()
25163{
25164
25165 ;
25166 return 0;
25167}
25168_ACEOF
25169rm -f conftest.$ac_objext conftest$ac_exeext
25170if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25171 (eval $ac_link) 2>&5
25172 ac_status=$?
25173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25174 (exit $ac_status); } &&
25175 { ac_try='test -s conftest$ac_exeext'
25176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25177 (eval $ac_try) 2>&5
25178 ac_status=$?
25179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25180 (exit $ac_status); }; }; then
25181
25182 echo "$as_me:$LINENO: result: yes" >&5
25183echo "${ECHO_T}yes" >&6
25184 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
25185else
25186 echo "$as_me: failed program was:" >&5
25187sed 's/^/| /' conftest.$ac_ext >&5
25188
25189
25190 echo "$as_me:$LINENO: result: no" >&5
25191echo "${ECHO_T}no" >&6
25192
25193fi
25194rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25195
25196fi
25197rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25198 LDFLAGS="$saveLdflags"
25199 else
25200 SHARED_LD="${CXX} -G -o"
25201 PIC_FLAG="-KPIC"
25202 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
25203 fi
25204 ;;
25205
25206 powerpc-*-darwin* )
25207 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
25208 cat <<EOF >change-install-names
25209#!/bin/sh
25210libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
25211inst_cmd="install_name_tool "
25212for i in \${libnames} ; do
25213 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
25214done
25215\${inst_cmd} \${3}
25216EOF
25217 chmod +x change-install-names
25218 ;;
25219
25220 esac
25221
25222 if test "x$WX_TARGET_LIBRARY" = "x"; then
25223 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
25224 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
25225 fi
25226
25227 WX_TARGET_LIBRARY_TYPE="so"
25228 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
25229fi
25230
25231if test "$wxUSE_SHARED" = "no"; then
25232
25233 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25234 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25235 fi
25236
25237 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25238 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25239 fi
25240
25241 if test "$wxUSE_OPENGL" = "yes"; then
25242 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
25243 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25244 else
25245 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25246 fi
25247
25248 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
25249 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
25250
25251 WX_TARGET_LIBRARY_TYPE="a"
25252 INSTALL_LIBRARY='$(INSTALL_DATA)'
25253
25254 STATIC_FLAG="yes"
25255else
25256 STATIC_FLAG="no"
25257fi
25258
25259MACRESCOMP="@#"
25260MACSETFILE="@#"
25261MACRESWXCONFIG="#"
25262if test "$wxUSE_MAC" = 1; then
25263 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25264 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
25265 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
25266 # Extract the first word of "Rez", so it can be a program name with args.
25267set dummy Rez; ac_word=$2
25268echo "$as_me:$LINENO: checking for $ac_word" >&5
25269echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25270if test "${ac_cv_prog_RESCOMP+set}" = set; then
25271 echo $ECHO_N "(cached) $ECHO_C" >&6
25272else
25273 if test -n "$RESCOMP"; then
25274 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25275else
25276as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25277for as_dir in $PATH
25278do
25279 IFS=$as_save_IFS
25280 test -z "$as_dir" && as_dir=.
25281 for ac_exec_ext in '' $ac_executable_extensions; do
25282 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25283 ac_cv_prog_RESCOMP="Rez"
25284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25285 break 2
25286 fi
25287done
25288done
25289
25290 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25291fi
25292fi
25293RESCOMP=$ac_cv_prog_RESCOMP
25294if test -n "$RESCOMP"; then
25295 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25296echo "${ECHO_T}$RESCOMP" >&6
25297else
25298 echo "$as_me:$LINENO: result: no" >&5
25299echo "${ECHO_T}no" >&6
25300fi
25301
25302 # Extract the first word of "DeRez", so it can be a program name with args.
25303set dummy DeRez; ac_word=$2
25304echo "$as_me:$LINENO: checking for $ac_word" >&5
25305echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25306if test "${ac_cv_prog_DEREZ+set}" = set; then
25307 echo $ECHO_N "(cached) $ECHO_C" >&6
25308else
25309 if test -n "$DEREZ"; then
25310 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25311else
25312as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25313for as_dir in $PATH
25314do
25315 IFS=$as_save_IFS
25316 test -z "$as_dir" && as_dir=.
25317 for ac_exec_ext in '' $ac_executable_extensions; do
25318 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25319 ac_cv_prog_DEREZ="DeRez"
25320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25321 break 2
25322 fi
25323done
25324done
25325
25326 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25327fi
25328fi
25329DEREZ=$ac_cv_prog_DEREZ
25330if test -n "$DEREZ"; then
25331 echo "$as_me:$LINENO: result: $DEREZ" >&5
25332echo "${ECHO_T}$DEREZ" >&6
25333else
25334 echo "$as_me:$LINENO: result: no" >&5
25335echo "${ECHO_T}no" >&6
25336fi
25337
25338 # Extract the first word of "SetFile", so it can be a program name with args.
25339set dummy SetFile; ac_word=$2
25340echo "$as_me:$LINENO: checking for $ac_word" >&5
25341echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25342if test "${ac_cv_prog_SETFILE+set}" = set; then
25343 echo $ECHO_N "(cached) $ECHO_C" >&6
25344else
25345 if test -n "$SETFILE"; then
25346 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25347else
25348as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25349for as_dir in $PATH
25350do
25351 IFS=$as_save_IFS
25352 test -z "$as_dir" && as_dir=.
25353 for ac_exec_ext in '' $ac_executable_extensions; do
25354 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25355 ac_cv_prog_SETFILE="SetFile"
25356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25357 break 2
25358 fi
25359done
25360done
25361
25362 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25363fi
25364fi
25365SETFILE=$ac_cv_prog_SETFILE
25366if test -n "$SETFILE"; then
25367 echo "$as_me:$LINENO: result: $SETFILE" >&5
25368echo "${ECHO_T}$SETFILE" >&6
25369else
25370 echo "$as_me:$LINENO: result: no" >&5
25371echo "${ECHO_T}no" >&6
25372fi
25373
25374 MACOSX_BUNDLE="bundle"
25375 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25376 MACSETFILE="\$(SETFILE)"
25377 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25378elif test "$wxUSE_COCOA" = 1; then
25379 # Extract the first word of "Rez", so it can be a program name with args.
25380set dummy Rez; ac_word=$2
25381echo "$as_me:$LINENO: checking for $ac_word" >&5
25382echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25383if test "${ac_cv_prog_RESCOMP+set}" = set; then
25384 echo $ECHO_N "(cached) $ECHO_C" >&6
25385else
25386 if test -n "$RESCOMP"; then
25387 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25388else
25389as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25390for as_dir in $PATH
25391do
25392 IFS=$as_save_IFS
25393 test -z "$as_dir" && as_dir=.
25394 for ac_exec_ext in '' $ac_executable_extensions; do
25395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25396 ac_cv_prog_RESCOMP="Rez"
25397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25398 break 2
25399 fi
25400done
25401done
25402
25403 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25404fi
25405fi
25406RESCOMP=$ac_cv_prog_RESCOMP
25407if test -n "$RESCOMP"; then
25408 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25409echo "${ECHO_T}$RESCOMP" >&6
25410else
25411 echo "$as_me:$LINENO: result: no" >&5
25412echo "${ECHO_T}no" >&6
25413fi
25414
25415 # Extract the first word of "DeRez", so it can be a program name with args.
25416set dummy DeRez; ac_word=$2
25417echo "$as_me:$LINENO: checking for $ac_word" >&5
25418echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25419if test "${ac_cv_prog_DEREZ+set}" = set; then
25420 echo $ECHO_N "(cached) $ECHO_C" >&6
25421else
25422 if test -n "$DEREZ"; then
25423 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25424else
25425as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25426for as_dir in $PATH
25427do
25428 IFS=$as_save_IFS
25429 test -z "$as_dir" && as_dir=.
25430 for ac_exec_ext in '' $ac_executable_extensions; do
25431 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25432 ac_cv_prog_DEREZ="DeRez"
25433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25434 break 2
25435 fi
25436done
25437done
25438
25439 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25440fi
25441fi
25442DEREZ=$ac_cv_prog_DEREZ
25443if test -n "$DEREZ"; then
25444 echo "$as_me:$LINENO: result: $DEREZ" >&5
25445echo "${ECHO_T}$DEREZ" >&6
25446else
25447 echo "$as_me:$LINENO: result: no" >&5
25448echo "${ECHO_T}no" >&6
25449fi
25450
25451 # Extract the first word of "SetFile", so it can be a program name with args.
25452set dummy SetFile; ac_word=$2
25453echo "$as_me:$LINENO: checking for $ac_word" >&5
25454echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25455if test "${ac_cv_prog_SETFILE+set}" = set; then
25456 echo $ECHO_N "(cached) $ECHO_C" >&6
25457else
25458 if test -n "$SETFILE"; then
25459 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25460else
25461as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25462for as_dir in $PATH
25463do
25464 IFS=$as_save_IFS
25465 test -z "$as_dir" && as_dir=.
25466 for ac_exec_ext in '' $ac_executable_extensions; do
25467 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25468 ac_cv_prog_SETFILE="SetFile"
25469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25470 break 2
25471 fi
25472done
25473done
25474
25475 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25476fi
25477fi
25478SETFILE=$ac_cv_prog_SETFILE
25479if test -n "$SETFILE"; then
25480 echo "$as_me:$LINENO: result: $SETFILE" >&5
25481echo "${ECHO_T}$SETFILE" >&6
25482else
25483 echo "$as_me:$LINENO: result: no" >&5
25484echo "${ECHO_T}no" >&6
25485fi
25486
25487 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25488 MACSETFILE="\$(SETFILE)"
25489 MACRESWXCONFIG="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25490else
25491 if test "$wxUSE_PM" = 1; then
25492 MACRESCOMP="emxbind -ep"
25493 fi
25494fi
25495
25496
25497echo "$as_me:$LINENO: checking for mode_t" >&5
25498echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25499if test "${ac_cv_type_mode_t+set}" = set; then
25500 echo $ECHO_N "(cached) $ECHO_C" >&6
25501else
25502 cat >conftest.$ac_ext <<_ACEOF
25503#line $LINENO "configure"
25504/* confdefs.h. */
25505_ACEOF
25506cat confdefs.h >>conftest.$ac_ext
25507cat >>conftest.$ac_ext <<_ACEOF
25508/* end confdefs.h. */
25509$ac_includes_default
25510int
25511main ()
25512{
25513if ((mode_t *) 0)
25514 return 0;
25515if (sizeof (mode_t))
25516 return 0;
25517 ;
25518 return 0;
25519}
25520_ACEOF
25521rm -f conftest.$ac_objext
25522if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25523 (eval $ac_compile) 2>&5
25524 ac_status=$?
25525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25526 (exit $ac_status); } &&
25527 { ac_try='test -s conftest.$ac_objext'
25528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25529 (eval $ac_try) 2>&5
25530 ac_status=$?
25531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25532 (exit $ac_status); }; }; then
25533 ac_cv_type_mode_t=yes
25534else
25535 echo "$as_me: failed program was:" >&5
25536sed 's/^/| /' conftest.$ac_ext >&5
25537
25538ac_cv_type_mode_t=no
25539fi
25540rm -f conftest.$ac_objext conftest.$ac_ext
25541fi
25542echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25543echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25544if test $ac_cv_type_mode_t = yes; then
25545 :
25546else
25547
25548cat >>confdefs.h <<_ACEOF
25549#define mode_t int
25550_ACEOF
25551
25552fi
25553
25554echo "$as_me:$LINENO: checking for off_t" >&5
25555echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25556if test "${ac_cv_type_off_t+set}" = set; then
25557 echo $ECHO_N "(cached) $ECHO_C" >&6
25558else
25559 cat >conftest.$ac_ext <<_ACEOF
25560#line $LINENO "configure"
25561/* confdefs.h. */
25562_ACEOF
25563cat confdefs.h >>conftest.$ac_ext
25564cat >>conftest.$ac_ext <<_ACEOF
25565/* end confdefs.h. */
25566$ac_includes_default
25567int
25568main ()
25569{
25570if ((off_t *) 0)
25571 return 0;
25572if (sizeof (off_t))
25573 return 0;
25574 ;
25575 return 0;
25576}
25577_ACEOF
25578rm -f conftest.$ac_objext
25579if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25580 (eval $ac_compile) 2>&5
25581 ac_status=$?
25582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25583 (exit $ac_status); } &&
25584 { ac_try='test -s conftest.$ac_objext'
25585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25586 (eval $ac_try) 2>&5
25587 ac_status=$?
25588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25589 (exit $ac_status); }; }; then
25590 ac_cv_type_off_t=yes
25591else
25592 echo "$as_me: failed program was:" >&5
25593sed 's/^/| /' conftest.$ac_ext >&5
25594
25595ac_cv_type_off_t=no
25596fi
25597rm -f conftest.$ac_objext conftest.$ac_ext
25598fi
25599echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25600echo "${ECHO_T}$ac_cv_type_off_t" >&6
25601if test $ac_cv_type_off_t = yes; then
25602 :
25603else
25604
25605cat >>confdefs.h <<_ACEOF
25606#define off_t long
25607_ACEOF
25608
25609fi
25610
25611echo "$as_me:$LINENO: checking for pid_t" >&5
25612echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25613if test "${ac_cv_type_pid_t+set}" = set; then
25614 echo $ECHO_N "(cached) $ECHO_C" >&6
25615else
25616 cat >conftest.$ac_ext <<_ACEOF
25617#line $LINENO "configure"
25618/* confdefs.h. */
25619_ACEOF
25620cat confdefs.h >>conftest.$ac_ext
25621cat >>conftest.$ac_ext <<_ACEOF
25622/* end confdefs.h. */
25623$ac_includes_default
25624int
25625main ()
25626{
25627if ((pid_t *) 0)
25628 return 0;
25629if (sizeof (pid_t))
25630 return 0;
25631 ;
25632 return 0;
25633}
25634_ACEOF
25635rm -f conftest.$ac_objext
25636if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25637 (eval $ac_compile) 2>&5
25638 ac_status=$?
25639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25640 (exit $ac_status); } &&
25641 { ac_try='test -s conftest.$ac_objext'
25642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25643 (eval $ac_try) 2>&5
25644 ac_status=$?
25645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25646 (exit $ac_status); }; }; then
25647 ac_cv_type_pid_t=yes
25648else
25649 echo "$as_me: failed program was:" >&5
25650sed 's/^/| /' conftest.$ac_ext >&5
25651
25652ac_cv_type_pid_t=no
25653fi
25654rm -f conftest.$ac_objext conftest.$ac_ext
25655fi
25656echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25657echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25658if test $ac_cv_type_pid_t = yes; then
25659 :
25660else
25661
25662cat >>confdefs.h <<_ACEOF
25663#define pid_t int
25664_ACEOF
25665
25666fi
25667
25668echo "$as_me:$LINENO: checking for size_t" >&5
25669echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25670if test "${ac_cv_type_size_t+set}" = set; then
25671 echo $ECHO_N "(cached) $ECHO_C" >&6
25672else
25673 cat >conftest.$ac_ext <<_ACEOF
25674#line $LINENO "configure"
25675/* confdefs.h. */
25676_ACEOF
25677cat confdefs.h >>conftest.$ac_ext
25678cat >>conftest.$ac_ext <<_ACEOF
25679/* end confdefs.h. */
25680$ac_includes_default
25681int
25682main ()
25683{
25684if ((size_t *) 0)
25685 return 0;
25686if (sizeof (size_t))
25687 return 0;
25688 ;
25689 return 0;
25690}
25691_ACEOF
25692rm -f conftest.$ac_objext
25693if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25694 (eval $ac_compile) 2>&5
25695 ac_status=$?
25696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25697 (exit $ac_status); } &&
25698 { ac_try='test -s conftest.$ac_objext'
25699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25700 (eval $ac_try) 2>&5
25701 ac_status=$?
25702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25703 (exit $ac_status); }; }; then
25704 ac_cv_type_size_t=yes
25705else
25706 echo "$as_me: failed program was:" >&5
25707sed 's/^/| /' conftest.$ac_ext >&5
25708
25709ac_cv_type_size_t=no
25710fi
25711rm -f conftest.$ac_objext conftest.$ac_ext
25712fi
25713echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25714echo "${ECHO_T}$ac_cv_type_size_t" >&6
25715if test $ac_cv_type_size_t = yes; then
25716 :
25717else
25718
25719cat >>confdefs.h <<_ACEOF
25720#define size_t unsigned
25721_ACEOF
25722
25723fi
25724
25725echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25726echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25727if test "${ac_cv_type_uid_t+set}" = set; then
25728 echo $ECHO_N "(cached) $ECHO_C" >&6
25729else
25730 cat >conftest.$ac_ext <<_ACEOF
25731#line $LINENO "configure"
25732/* confdefs.h. */
25733_ACEOF
25734cat confdefs.h >>conftest.$ac_ext
25735cat >>conftest.$ac_ext <<_ACEOF
25736/* end confdefs.h. */
25737#include <sys/types.h>
25738
25739_ACEOF
25740if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25741 $EGREP "uid_t" >/dev/null 2>&1; then
25742 ac_cv_type_uid_t=yes
25743else
25744 ac_cv_type_uid_t=no
25745fi
25746rm -f conftest*
25747
25748fi
25749echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25750echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25751if test $ac_cv_type_uid_t = no; then
25752
25753cat >>confdefs.h <<\_ACEOF
25754#define uid_t int
25755_ACEOF
25756
25757
25758cat >>confdefs.h <<\_ACEOF
25759#define gid_t int
25760_ACEOF
25761
25762fi
25763
25764
25765
25766
25767ac_ext=cc
25768ac_cpp='$CXXCPP $CPPFLAGS'
25769ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25770ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25771ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25772
25773echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25774echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25775if test "${wx_cv_size_t_is_uint+set}" = set; then
25776 echo $ECHO_N "(cached) $ECHO_C" >&6
25777else
25778
25779 cat >conftest.$ac_ext <<_ACEOF
25780#line $LINENO "configure"
25781/* confdefs.h. */
25782_ACEOF
25783cat confdefs.h >>conftest.$ac_ext
25784cat >>conftest.$ac_ext <<_ACEOF
25785/* end confdefs.h. */
25786#include <stddef.h>
25787int
25788main ()
25789{
25790
25791 return 0; }
25792
25793 struct Foo { void foo(size_t); void foo(unsigned int); };
25794
25795 int bar() {
25796
25797 ;
25798 return 0;
25799}
25800_ACEOF
25801rm -f conftest.$ac_objext
25802if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25803 (eval $ac_compile) 2>&5
25804 ac_status=$?
25805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25806 (exit $ac_status); } &&
25807 { ac_try='test -s conftest.$ac_objext'
25808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25809 (eval $ac_try) 2>&5
25810 ac_status=$?
25811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25812 (exit $ac_status); }; }; then
25813 wx_cv_size_t_is_uint=no
25814else
25815 echo "$as_me: failed program was:" >&5
25816sed 's/^/| /' conftest.$ac_ext >&5
25817
25818wx_cv_size_t_is_uint=yes
25819
25820fi
25821rm -f conftest.$ac_objext conftest.$ac_ext
25822
25823
25824fi
25825echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
25826echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
25827
25828if test "$wx_cv_size_t_is_uint" = "yes"; then
25829 cat >>confdefs.h <<\_ACEOF
25830#define wxSIZE_T_IS_UINT 1
25831_ACEOF
25832
25833else
25834 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
25835echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
25836if test "${wx_cv_size_t_is_ulong+set}" = set; then
25837 echo $ECHO_N "(cached) $ECHO_C" >&6
25838else
25839 cat >conftest.$ac_ext <<_ACEOF
25840#line $LINENO "configure"
25841/* confdefs.h. */
25842_ACEOF
25843cat confdefs.h >>conftest.$ac_ext
25844cat >>conftest.$ac_ext <<_ACEOF
25845/* end confdefs.h. */
25846#include <stddef.h>
25847int
25848main ()
25849{
25850
25851 return 0; }
25852
25853 struct Foo { void foo(size_t); void foo(unsigned long); };
25854
25855 int bar() {
25856
25857 ;
25858 return 0;
25859}
25860_ACEOF
25861rm -f conftest.$ac_objext
25862if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25863 (eval $ac_compile) 2>&5
25864 ac_status=$?
25865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25866 (exit $ac_status); } &&
25867 { ac_try='test -s conftest.$ac_objext'
25868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25869 (eval $ac_try) 2>&5
25870 ac_status=$?
25871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25872 (exit $ac_status); }; }; then
25873 wx_cv_size_t_is_ulong=no
25874else
25875 echo "$as_me: failed program was:" >&5
25876sed 's/^/| /' conftest.$ac_ext >&5
25877
25878wx_cv_size_t_is_ulong=yes
25879
25880fi
25881rm -f conftest.$ac_objext conftest.$ac_ext
25882
25883fi
25884echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
25885echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
25886
25887 if test "$wx_cv_size_t_is_ulong" = "yes"; then
25888 cat >>confdefs.h <<\_ACEOF
25889#define wxSIZE_T_IS_ULONG 1
25890_ACEOF
25891
25892 fi
25893fi
25894
25895ac_ext=c
25896ac_cpp='$CPP $CPPFLAGS'
25897ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25898ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25899ac_compiler_gnu=$ac_cv_c_compiler_gnu
25900
25901
25902
25903echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
25904echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
25905if test "${wx_cv_struct_pw_gecos+set}" = set; then
25906 echo $ECHO_N "(cached) $ECHO_C" >&6
25907else
25908
25909 cat >conftest.$ac_ext <<_ACEOF
25910#line $LINENO "configure"
25911/* confdefs.h. */
25912_ACEOF
25913cat confdefs.h >>conftest.$ac_ext
25914cat >>conftest.$ac_ext <<_ACEOF
25915/* end confdefs.h. */
25916#include <pwd.h>
25917int
25918main ()
25919{
25920
25921 char *p;
25922 struct passwd *pw;
25923 p = pw->pw_gecos;
25924
25925 ;
25926 return 0;
25927}
25928_ACEOF
25929rm -f conftest.$ac_objext
25930if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25931 (eval $ac_compile) 2>&5
25932 ac_status=$?
25933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25934 (exit $ac_status); } &&
25935 { ac_try='test -s conftest.$ac_objext'
25936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25937 (eval $ac_try) 2>&5
25938 ac_status=$?
25939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25940 (exit $ac_status); }; }; then
25941
25942 wx_cv_struct_pw_gecos=yes
25943
25944else
25945 echo "$as_me: failed program was:" >&5
25946sed 's/^/| /' conftest.$ac_ext >&5
25947
25948
25949 wx_cv_struct_pw_gecos=no
25950
25951
25952fi
25953rm -f conftest.$ac_objext conftest.$ac_ext
25954
25955
25956fi
25957echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
25958echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
25959
25960if test "$wx_cv_struct_pw_gecos" = "yes"; then
25961 cat >>confdefs.h <<\_ACEOF
25962#define HAVE_PW_GECOS 1
25963_ACEOF
25964
25965fi
25966
25967
25968if test "$wx_cv_sizeof_wchar_t" != "0"; then
25969 cat >>confdefs.h <<\_ACEOF
25970#define wxUSE_WCHAR_T 1
25971_ACEOF
25972
25973
25974 WCSLEN_FOUND=0
25975 WCHAR_LINK=
25976
25977for ac_func in wcslen
25978do
25979as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25980echo "$as_me:$LINENO: checking for $ac_func" >&5
25981echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25982if eval "test \"\${$as_ac_var+set}\" = set"; then
25983 echo $ECHO_N "(cached) $ECHO_C" >&6
25984else
25985 cat >conftest.$ac_ext <<_ACEOF
25986#line $LINENO "configure"
25987/* confdefs.h. */
25988_ACEOF
25989cat confdefs.h >>conftest.$ac_ext
25990cat >>conftest.$ac_ext <<_ACEOF
25991/* end confdefs.h. */
25992/* System header to define __stub macros and hopefully few prototypes,
25993 which can conflict with char $ac_func (); below.
25994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25995 <limits.h> exists even on freestanding compilers. */
25996#ifdef __STDC__
25997# include <limits.h>
25998#else
25999# include <assert.h>
26000#endif
26001/* Override any gcc2 internal prototype to avoid an error. */
26002#ifdef __cplusplus
26003extern "C"
26004{
26005#endif
26006/* We use char because int might match the return type of a gcc2
26007 builtin and then its argument prototype would still apply. */
26008char $ac_func ();
26009/* The GNU C library defines this for functions which it implements
26010 to always fail with ENOSYS. Some functions are actually named
26011 something starting with __ and the normal name is an alias. */
26012#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26013choke me
26014#else
26015char (*f) () = $ac_func;
26016#endif
26017#ifdef __cplusplus
26018}
26019#endif
26020
26021int
26022main ()
26023{
26024return f != $ac_func;
26025 ;
26026 return 0;
26027}
26028_ACEOF
26029rm -f conftest.$ac_objext conftest$ac_exeext
26030if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26031 (eval $ac_link) 2>&5
26032 ac_status=$?
26033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26034 (exit $ac_status); } &&
26035 { ac_try='test -s conftest$ac_exeext'
26036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26037 (eval $ac_try) 2>&5
26038 ac_status=$?
26039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26040 (exit $ac_status); }; }; then
26041 eval "$as_ac_var=yes"
26042else
26043 echo "$as_me: failed program was:" >&5
26044sed 's/^/| /' conftest.$ac_ext >&5
26045
26046eval "$as_ac_var=no"
26047fi
26048rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26049fi
26050echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26051echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26052if test `eval echo '${'$as_ac_var'}'` = yes; then
26053 cat >>confdefs.h <<_ACEOF
26054#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26055_ACEOF
26056 WCSLEN_FOUND=1
26057fi
26058done
26059
26060
26061 if test "$WCSLEN_FOUND" = 0; then
26062 if test "$TOOLKIT" = "MSW"; then
26063 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26064echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26065if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26066 echo $ECHO_N "(cached) $ECHO_C" >&6
26067else
26068 ac_check_lib_save_LIBS=$LIBS
26069LIBS="-lmsvcrt $LIBS"
26070cat >conftest.$ac_ext <<_ACEOF
26071#line $LINENO "configure"
26072/* confdefs.h. */
26073_ACEOF
26074cat confdefs.h >>conftest.$ac_ext
26075cat >>conftest.$ac_ext <<_ACEOF
26076/* end confdefs.h. */
26077
26078/* Override any gcc2 internal prototype to avoid an error. */
26079#ifdef __cplusplus
26080extern "C"
26081#endif
26082/* We use char because int might match the return type of a gcc2
26083 builtin and then its argument prototype would still apply. */
26084char wcslen ();
26085int
26086main ()
26087{
26088wcslen ();
26089 ;
26090 return 0;
26091}
26092_ACEOF
26093rm -f conftest.$ac_objext conftest$ac_exeext
26094if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26095 (eval $ac_link) 2>&5
26096 ac_status=$?
26097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26098 (exit $ac_status); } &&
26099 { ac_try='test -s conftest$ac_exeext'
26100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26101 (eval $ac_try) 2>&5
26102 ac_status=$?
26103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26104 (exit $ac_status); }; }; then
26105 ac_cv_lib_msvcrt_wcslen=yes
26106else
26107 echo "$as_me: failed program was:" >&5
26108sed 's/^/| /' conftest.$ac_ext >&5
26109
26110ac_cv_lib_msvcrt_wcslen=no
26111fi
26112rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26113LIBS=$ac_check_lib_save_LIBS
26114fi
26115echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26116echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26117if test $ac_cv_lib_msvcrt_wcslen = yes; then
26118 WCHAR_OK=1
26119fi
26120
26121 else
26122 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26123echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26124if test "${ac_cv_lib_w_wcslen+set}" = set; then
26125 echo $ECHO_N "(cached) $ECHO_C" >&6
26126else
26127 ac_check_lib_save_LIBS=$LIBS
26128LIBS="-lw $LIBS"
26129cat >conftest.$ac_ext <<_ACEOF
26130#line $LINENO "configure"
26131/* confdefs.h. */
26132_ACEOF
26133cat confdefs.h >>conftest.$ac_ext
26134cat >>conftest.$ac_ext <<_ACEOF
26135/* end confdefs.h. */
26136
26137/* Override any gcc2 internal prototype to avoid an error. */
26138#ifdef __cplusplus
26139extern "C"
26140#endif
26141/* We use char because int might match the return type of a gcc2
26142 builtin and then its argument prototype would still apply. */
26143char wcslen ();
26144int
26145main ()
26146{
26147wcslen ();
26148 ;
26149 return 0;
26150}
26151_ACEOF
26152rm -f conftest.$ac_objext conftest$ac_exeext
26153if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26154 (eval $ac_link) 2>&5
26155 ac_status=$?
26156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26157 (exit $ac_status); } &&
26158 { ac_try='test -s conftest$ac_exeext'
26159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26160 (eval $ac_try) 2>&5
26161 ac_status=$?
26162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26163 (exit $ac_status); }; }; then
26164 ac_cv_lib_w_wcslen=yes
26165else
26166 echo "$as_me: failed program was:" >&5
26167sed 's/^/| /' conftest.$ac_ext >&5
26168
26169ac_cv_lib_w_wcslen=no
26170fi
26171rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26172LIBS=$ac_check_lib_save_LIBS
26173fi
26174echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26175echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26176if test $ac_cv_lib_w_wcslen = yes; then
26177
26178 WCHAR_LINK=" -lw"
26179 WCSLEN_FOUND=1
26180
26181fi
26182
26183 fi
26184 fi
26185
26186 if test "$WCSLEN_FOUND" = 1; then
26187 cat >>confdefs.h <<\_ACEOF
26188#define HAVE_WCSLEN 1
26189_ACEOF
26190
26191 fi
26192
26193
26194for ac_func in wcsrtombs
26195do
26196as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26197echo "$as_me:$LINENO: checking for $ac_func" >&5
26198echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26199if eval "test \"\${$as_ac_var+set}\" = set"; then
26200 echo $ECHO_N "(cached) $ECHO_C" >&6
26201else
26202 cat >conftest.$ac_ext <<_ACEOF
26203#line $LINENO "configure"
26204/* confdefs.h. */
26205_ACEOF
26206cat confdefs.h >>conftest.$ac_ext
26207cat >>conftest.$ac_ext <<_ACEOF
26208/* end confdefs.h. */
26209/* System header to define __stub macros and hopefully few prototypes,
26210 which can conflict with char $ac_func (); below.
26211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26212 <limits.h> exists even on freestanding compilers. */
26213#ifdef __STDC__
26214# include <limits.h>
26215#else
26216# include <assert.h>
26217#endif
26218/* Override any gcc2 internal prototype to avoid an error. */
26219#ifdef __cplusplus
26220extern "C"
26221{
26222#endif
26223/* We use char because int might match the return type of a gcc2
26224 builtin and then its argument prototype would still apply. */
26225char $ac_func ();
26226/* The GNU C library defines this for functions which it implements
26227 to always fail with ENOSYS. Some functions are actually named
26228 something starting with __ and the normal name is an alias. */
26229#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26230choke me
26231#else
26232char (*f) () = $ac_func;
26233#endif
26234#ifdef __cplusplus
26235}
26236#endif
26237
26238int
26239main ()
26240{
26241return f != $ac_func;
26242 ;
26243 return 0;
26244}
26245_ACEOF
26246rm -f conftest.$ac_objext conftest$ac_exeext
26247if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26248 (eval $ac_link) 2>&5
26249 ac_status=$?
26250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26251 (exit $ac_status); } &&
26252 { ac_try='test -s conftest$ac_exeext'
26253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26254 (eval $ac_try) 2>&5
26255 ac_status=$?
26256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26257 (exit $ac_status); }; }; then
26258 eval "$as_ac_var=yes"
26259else
26260 echo "$as_me: failed program was:" >&5
26261sed 's/^/| /' conftest.$ac_ext >&5
26262
26263eval "$as_ac_var=no"
26264fi
26265rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26266fi
26267echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26268echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26269if test `eval echo '${'$as_ac_var'}'` = yes; then
26270 cat >>confdefs.h <<_ACEOF
26271#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26272_ACEOF
26273
26274fi
26275done
26276
26277else
26278 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26279echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26280fi
26281
26282
26283
26284ac_ext=cc
26285ac_cpp='$CXXCPP $CPPFLAGS'
26286ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26287ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26288ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26289
26290
26291
26292for ac_func in vsnprintf
26293do
26294as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26295echo "$as_me:$LINENO: checking for $ac_func" >&5
26296echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26297if eval "test \"\${$as_ac_var+set}\" = set"; then
26298 echo $ECHO_N "(cached) $ECHO_C" >&6
26299else
26300 cat >conftest.$ac_ext <<_ACEOF
26301#line $LINENO "configure"
26302/* confdefs.h. */
26303_ACEOF
26304cat confdefs.h >>conftest.$ac_ext
26305cat >>conftest.$ac_ext <<_ACEOF
26306/* end confdefs.h. */
26307/* System header to define __stub macros and hopefully few prototypes,
26308 which can conflict with char $ac_func (); below.
26309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26310 <limits.h> exists even on freestanding compilers. */
26311#ifdef __STDC__
26312# include <limits.h>
26313#else
26314# include <assert.h>
26315#endif
26316/* Override any gcc2 internal prototype to avoid an error. */
26317#ifdef __cplusplus
26318extern "C"
26319{
26320#endif
26321/* We use char because int might match the return type of a gcc2
26322 builtin and then its argument prototype would still apply. */
26323char $ac_func ();
26324/* The GNU C library defines this for functions which it implements
26325 to always fail with ENOSYS. Some functions are actually named
26326 something starting with __ and the normal name is an alias. */
26327#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26328choke me
26329#else
26330char (*f) () = $ac_func;
26331#endif
26332#ifdef __cplusplus
26333}
26334#endif
26335
26336int
26337main ()
26338{
26339return f != $ac_func;
26340 ;
26341 return 0;
26342}
26343_ACEOF
26344rm -f conftest.$ac_objext conftest$ac_exeext
26345if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26346 (eval $ac_link) 2>&5
26347 ac_status=$?
26348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26349 (exit $ac_status); } &&
26350 { ac_try='test -s conftest$ac_exeext'
26351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26352 (eval $ac_try) 2>&5
26353 ac_status=$?
26354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26355 (exit $ac_status); }; }; then
26356 eval "$as_ac_var=yes"
26357else
26358 echo "$as_me: failed program was:" >&5
26359sed 's/^/| /' conftest.$ac_ext >&5
26360
26361eval "$as_ac_var=no"
26362fi
26363rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26364fi
26365echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26366echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26367if test `eval echo '${'$as_ac_var'}'` = yes; then
26368 cat >>confdefs.h <<_ACEOF
26369#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26370_ACEOF
26371
26372fi
26373done
26374
26375
26376if test "$ac_cv_func_vsnprintf" = "yes"; then
26377 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26378echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26379if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26380 echo $ECHO_N "(cached) $ECHO_C" >&6
26381else
26382
26383 cat >conftest.$ac_ext <<_ACEOF
26384#line $LINENO "configure"
26385/* confdefs.h. */
26386_ACEOF
26387cat confdefs.h >>conftest.$ac_ext
26388cat >>conftest.$ac_ext <<_ACEOF
26389/* end confdefs.h. */
26390
26391 #include <stdio.h>
26392 #include <stdarg.h>
26393
26394int
26395main ()
26396{
26397
26398 char *buf;
26399 va_list ap;
26400 vsnprintf(buf, 10u, "%s", ap);
26401
26402 ;
26403 return 0;
26404}
26405_ACEOF
26406rm -f conftest.$ac_objext
26407if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26408 (eval $ac_compile) 2>&5
26409 ac_status=$?
26410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26411 (exit $ac_status); } &&
26412 { ac_try='test -s conftest.$ac_objext'
26413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26414 (eval $ac_try) 2>&5
26415 ac_status=$?
26416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26417 (exit $ac_status); }; }; then
26418 wx_cv_func_vsnprintf_decl=yes
26419else
26420 echo "$as_me: failed program was:" >&5
26421sed 's/^/| /' conftest.$ac_ext >&5
26422
26423wx_cv_func_vsnprintf_decl=no
26424
26425fi
26426rm -f conftest.$ac_objext conftest.$ac_ext
26427
26428
26429fi
26430echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26431echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26432
26433 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26434 cat >>confdefs.h <<\_ACEOF
26435#define HAVE_VSNPRINTF_DECL 1
26436_ACEOF
26437
26438 fi
26439fi
26440
26441if test "$wxUSE_UNICODE" = yes; then
26442
26443
26444
26445for ac_func in fputwc wprintf vswprintf
26446do
26447as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26448echo "$as_me:$LINENO: checking for $ac_func" >&5
26449echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26450if eval "test \"\${$as_ac_var+set}\" = set"; then
26451 echo $ECHO_N "(cached) $ECHO_C" >&6
26452else
26453 cat >conftest.$ac_ext <<_ACEOF
26454#line $LINENO "configure"
26455/* confdefs.h. */
26456_ACEOF
26457cat confdefs.h >>conftest.$ac_ext
26458cat >>conftest.$ac_ext <<_ACEOF
26459/* end confdefs.h. */
26460/* System header to define __stub macros and hopefully few prototypes,
26461 which can conflict with char $ac_func (); below.
26462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26463 <limits.h> exists even on freestanding compilers. */
26464#ifdef __STDC__
26465# include <limits.h>
26466#else
26467# include <assert.h>
26468#endif
26469/* Override any gcc2 internal prototype to avoid an error. */
26470#ifdef __cplusplus
26471extern "C"
26472{
26473#endif
26474/* We use char because int might match the return type of a gcc2
26475 builtin and then its argument prototype would still apply. */
26476char $ac_func ();
26477/* The GNU C library defines this for functions which it implements
26478 to always fail with ENOSYS. Some functions are actually named
26479 something starting with __ and the normal name is an alias. */
26480#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26481choke me
26482#else
26483char (*f) () = $ac_func;
26484#endif
26485#ifdef __cplusplus
26486}
26487#endif
26488
26489int
26490main ()
26491{
26492return f != $ac_func;
26493 ;
26494 return 0;
26495}
26496_ACEOF
26497rm -f conftest.$ac_objext conftest$ac_exeext
26498if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26499 (eval $ac_link) 2>&5
26500 ac_status=$?
26501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26502 (exit $ac_status); } &&
26503 { ac_try='test -s conftest$ac_exeext'
26504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26505 (eval $ac_try) 2>&5
26506 ac_status=$?
26507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26508 (exit $ac_status); }; }; then
26509 eval "$as_ac_var=yes"
26510else
26511 echo "$as_me: failed program was:" >&5
26512sed 's/^/| /' conftest.$ac_ext >&5
26513
26514eval "$as_ac_var=no"
26515fi
26516rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26517fi
26518echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26519echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26520if test `eval echo '${'$as_ac_var'}'` = yes; then
26521 cat >>confdefs.h <<_ACEOF
26522#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26523_ACEOF
26524
26525fi
26526done
26527
26528
26529 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26530echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26531 cat >conftest.$ac_ext <<_ACEOF
26532#line $LINENO "configure"
26533/* confdefs.h. */
26534_ACEOF
26535cat confdefs.h >>conftest.$ac_ext
26536cat >>conftest.$ac_ext <<_ACEOF
26537/* end confdefs.h. */
26538#include <wchar.h>
26539int
26540main ()
26541{
26542&_vsnwprintf;
26543 ;
26544 return 0;
26545}
26546_ACEOF
26547rm -f conftest.$ac_objext
26548if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26549 (eval $ac_compile) 2>&5
26550 ac_status=$?
26551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26552 (exit $ac_status); } &&
26553 { ac_try='test -s conftest.$ac_objext'
26554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26555 (eval $ac_try) 2>&5
26556 ac_status=$?
26557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26558 (exit $ac_status); }; }; then
26559 echo "$as_me:$LINENO: result: yes" >&5
26560echo "${ECHO_T}yes" >&6
26561 cat >>confdefs.h <<\_ACEOF
26562#define HAVE__VSNWPRINTF 1
26563_ACEOF
26564
26565else
26566 echo "$as_me: failed program was:" >&5
26567sed 's/^/| /' conftest.$ac_ext >&5
26568
26569echo "$as_me:$LINENO: result: no" >&5
26570echo "${ECHO_T}no" >&6
26571fi
26572rm -f conftest.$ac_objext conftest.$ac_ext;
26573fi
26574
26575ac_ext=c
26576ac_cpp='$CPP $CPPFLAGS'
26577ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26578ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26579ac_compiler_gnu=$ac_cv_c_compiler_gnu
26580
26581
26582
26583
26584if test "$TOOLKIT" != "MSW"; then
26585
26586
26587
26588
26589ac_ext=cc
26590ac_cpp='$CXXCPP $CPPFLAGS'
26591ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26592ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26593ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26594
26595
26596
26597
26598# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26599if test "${with_libiconv_prefix+set}" = set; then
26600 withval="$with_libiconv_prefix"
26601
26602 for dir in `echo "$withval" | tr : ' '`; do
26603 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
26604 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
26605 done
26606
26607fi;
26608
26609 echo "$as_me:$LINENO: checking for iconv" >&5
26610echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26611if test "${am_cv_func_iconv+set}" = set; then
26612 echo $ECHO_N "(cached) $ECHO_C" >&6
26613else
26614
26615 am_cv_func_iconv="no, consider installing GNU libiconv"
26616 am_cv_lib_iconv=no
26617 cat >conftest.$ac_ext <<_ACEOF
26618#line $LINENO "configure"
26619/* confdefs.h. */
26620_ACEOF
26621cat confdefs.h >>conftest.$ac_ext
26622cat >>conftest.$ac_ext <<_ACEOF
26623/* end confdefs.h. */
26624#include <stdlib.h>
26625#include <iconv.h>
26626int
26627main ()
26628{
26629iconv_t cd = iconv_open("","");
26630 iconv(cd,NULL,NULL,NULL,NULL);
26631 iconv_close(cd);
26632 ;
26633 return 0;
26634}
26635_ACEOF
26636rm -f conftest.$ac_objext conftest$ac_exeext
26637if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26638 (eval $ac_link) 2>&5
26639 ac_status=$?
26640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26641 (exit $ac_status); } &&
26642 { ac_try='test -s conftest$ac_exeext'
26643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26644 (eval $ac_try) 2>&5
26645 ac_status=$?
26646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26647 (exit $ac_status); }; }; then
26648 am_cv_func_iconv=yes
26649else
26650 echo "$as_me: failed program was:" >&5
26651sed 's/^/| /' conftest.$ac_ext >&5
26652
26653fi
26654rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26655 if test "$am_cv_func_iconv" != yes; then
26656 am_save_LIBS="$LIBS"
26657 LIBS="$LIBS -liconv"
26658 cat >conftest.$ac_ext <<_ACEOF
26659#line $LINENO "configure"
26660/* confdefs.h. */
26661_ACEOF
26662cat confdefs.h >>conftest.$ac_ext
26663cat >>conftest.$ac_ext <<_ACEOF
26664/* end confdefs.h. */
26665#include <stdlib.h>
26666#include <iconv.h>
26667int
26668main ()
26669{
26670iconv_t cd = iconv_open("","");
26671 iconv(cd,NULL,NULL,NULL,NULL);
26672 iconv_close(cd);
26673 ;
26674 return 0;
26675}
26676_ACEOF
26677rm -f conftest.$ac_objext conftest$ac_exeext
26678if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26679 (eval $ac_link) 2>&5
26680 ac_status=$?
26681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26682 (exit $ac_status); } &&
26683 { ac_try='test -s conftest$ac_exeext'
26684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26685 (eval $ac_try) 2>&5
26686 ac_status=$?
26687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26688 (exit $ac_status); }; }; then
26689 am_cv_lib_iconv=yes
26690 am_cv_func_iconv=yes
26691else
26692 echo "$as_me: failed program was:" >&5
26693sed 's/^/| /' conftest.$ac_ext >&5
26694
26695fi
26696rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26697 LIBS="$am_save_LIBS"
26698 fi
26699
26700fi
26701echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26702echo "${ECHO_T}$am_cv_func_iconv" >&6
26703 if test "$am_cv_func_iconv" = yes; then
26704
26705cat >>confdefs.h <<\_ACEOF
26706#define HAVE_ICONV 1
26707_ACEOF
26708
26709 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26710echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26711if test "${wx_cv_func_iconv_const+set}" = set; then
26712 echo $ECHO_N "(cached) $ECHO_C" >&6
26713else
26714 cat >conftest.$ac_ext <<_ACEOF
26715#line $LINENO "configure"
26716/* confdefs.h. */
26717_ACEOF
26718cat confdefs.h >>conftest.$ac_ext
26719cat >>conftest.$ac_ext <<_ACEOF
26720/* end confdefs.h. */
26721
26722#include <stdlib.h>
26723#include <iconv.h>
26724extern
26725#ifdef __cplusplus
26726"C"
26727#endif
26728#if defined(__STDC__) || defined(__cplusplus)
26729size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26730#else
26731size_t iconv();
26732#endif
26733
26734int
26735main ()
26736{
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 wx_cv_func_iconv_const="no"
26755else
26756 echo "$as_me: failed program was:" >&5
26757sed 's/^/| /' conftest.$ac_ext >&5
26758
26759wx_cv_func_iconv_const="yes"
26760
26761fi
26762rm -f conftest.$ac_objext conftest.$ac_ext
26763
26764fi
26765echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26766echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26767
26768 iconv_const=
26769 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26770 iconv_const="const"
26771 fi
26772
26773
26774cat >>confdefs.h <<_ACEOF
26775#define ICONV_CONST $iconv_const
26776_ACEOF
26777
26778 fi
26779 LIBICONV=
26780 if test "$am_cv_lib_iconv" = yes; then
26781 LIBICONV="-liconv"
26782 fi
26783
26784
26785LIBS="$LIBICONV $LIBS"
26786ac_ext=c
26787ac_cpp='$CPP $CPPFLAGS'
26788ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26789ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26790ac_compiler_gnu=$ac_cv_c_compiler_gnu
26791
26792
26793if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26794
26795for ac_func in sigaction
26796do
26797as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26798echo "$as_me:$LINENO: checking for $ac_func" >&5
26799echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26800if eval "test \"\${$as_ac_var+set}\" = set"; then
26801 echo $ECHO_N "(cached) $ECHO_C" >&6
26802else
26803 cat >conftest.$ac_ext <<_ACEOF
26804#line $LINENO "configure"
26805/* confdefs.h. */
26806_ACEOF
26807cat confdefs.h >>conftest.$ac_ext
26808cat >>conftest.$ac_ext <<_ACEOF
26809/* end confdefs.h. */
26810/* System header to define __stub macros and hopefully few prototypes,
26811 which can conflict with char $ac_func (); below.
26812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26813 <limits.h> exists even on freestanding compilers. */
26814#ifdef __STDC__
26815# include <limits.h>
26816#else
26817# include <assert.h>
26818#endif
26819/* Override any gcc2 internal prototype to avoid an error. */
26820#ifdef __cplusplus
26821extern "C"
26822{
26823#endif
26824/* We use char because int might match the return type of a gcc2
26825 builtin and then its argument prototype would still apply. */
26826char $ac_func ();
26827/* The GNU C library defines this for functions which it implements
26828 to always fail with ENOSYS. Some functions are actually named
26829 something starting with __ and the normal name is an alias. */
26830#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26831choke me
26832#else
26833char (*f) () = $ac_func;
26834#endif
26835#ifdef __cplusplus
26836}
26837#endif
26838
26839int
26840main ()
26841{
26842return f != $ac_func;
26843 ;
26844 return 0;
26845}
26846_ACEOF
26847rm -f conftest.$ac_objext conftest$ac_exeext
26848if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26849 (eval $ac_link) 2>&5
26850 ac_status=$?
26851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26852 (exit $ac_status); } &&
26853 { ac_try='test -s conftest$ac_exeext'
26854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26855 (eval $ac_try) 2>&5
26856 ac_status=$?
26857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26858 (exit $ac_status); }; }; then
26859 eval "$as_ac_var=yes"
26860else
26861 echo "$as_me: failed program was:" >&5
26862sed 's/^/| /' conftest.$ac_ext >&5
26863
26864eval "$as_ac_var=no"
26865fi
26866rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26867fi
26868echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26869echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26870if test `eval echo '${'$as_ac_var'}'` = yes; then
26871 cat >>confdefs.h <<_ACEOF
26872#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26873_ACEOF
26874
26875fi
26876done
26877
26878
26879 if test "$ac_cv_func_sigaction" = "no"; then
26880 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
26881echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
26882 wxUSE_ON_FATAL_EXCEPTION=no
26883 fi
26884
26885 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
26886
26887
26888 ac_ext=cc
26889ac_cpp='$CXXCPP $CPPFLAGS'
26890ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26891ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26892ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26893
26894
26895 echo "$as_me:$LINENO: checking for sa_handler type" >&5
26896echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
26897if test "${wx_cv_type_sa_handler+set}" = set; then
26898 echo $ECHO_N "(cached) $ECHO_C" >&6
26899else
26900
26901 cat >conftest.$ac_ext <<_ACEOF
26902#line $LINENO "configure"
26903/* confdefs.h. */
26904_ACEOF
26905cat confdefs.h >>conftest.$ac_ext
26906cat >>conftest.$ac_ext <<_ACEOF
26907/* end confdefs.h. */
26908#include <signal.h>
26909int
26910main ()
26911{
26912
26913 extern void testSigHandler(int);
26914
26915 struct sigaction sa;
26916 sa.sa_handler = testSigHandler;
26917
26918 ;
26919 return 0;
26920}
26921_ACEOF
26922rm -f conftest.$ac_objext
26923if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26924 (eval $ac_compile) 2>&5
26925 ac_status=$?
26926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26927 (exit $ac_status); } &&
26928 { ac_try='test -s conftest.$ac_objext'
26929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26930 (eval $ac_try) 2>&5
26931 ac_status=$?
26932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26933 (exit $ac_status); }; }; then
26934
26935 wx_cv_type_sa_handler=int
26936
26937else
26938 echo "$as_me: failed program was:" >&5
26939sed 's/^/| /' conftest.$ac_ext >&5
26940
26941
26942 wx_cv_type_sa_handler=void
26943
26944fi
26945rm -f conftest.$ac_objext conftest.$ac_ext
26946
26947fi
26948echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
26949echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
26950
26951 ac_ext=c
26952ac_cpp='$CPP $CPPFLAGS'
26953ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26954ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26955ac_compiler_gnu=$ac_cv_c_compiler_gnu
26956
26957
26958 cat >>confdefs.h <<_ACEOF
26959#define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
26960_ACEOF
26961
26962 fi
26963fi
26964
26965
26966
26967for ac_func in mkstemp mktemp
26968do
26969as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26970echo "$as_me:$LINENO: checking for $ac_func" >&5
26971echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26972if eval "test \"\${$as_ac_var+set}\" = set"; then
26973 echo $ECHO_N "(cached) $ECHO_C" >&6
26974else
26975 cat >conftest.$ac_ext <<_ACEOF
26976#line $LINENO "configure"
26977/* confdefs.h. */
26978_ACEOF
26979cat confdefs.h >>conftest.$ac_ext
26980cat >>conftest.$ac_ext <<_ACEOF
26981/* end confdefs.h. */
26982/* System header to define __stub macros and hopefully few prototypes,
26983 which can conflict with char $ac_func (); below.
26984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26985 <limits.h> exists even on freestanding compilers. */
26986#ifdef __STDC__
26987# include <limits.h>
26988#else
26989# include <assert.h>
26990#endif
26991/* Override any gcc2 internal prototype to avoid an error. */
26992#ifdef __cplusplus
26993extern "C"
26994{
26995#endif
26996/* We use char because int might match the return type of a gcc2
26997 builtin and then its argument prototype would still apply. */
26998char $ac_func ();
26999/* The GNU C library defines this for functions which it implements
27000 to always fail with ENOSYS. Some functions are actually named
27001 something starting with __ and the normal name is an alias. */
27002#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27003choke me
27004#else
27005char (*f) () = $ac_func;
27006#endif
27007#ifdef __cplusplus
27008}
27009#endif
27010
27011int
27012main ()
27013{
27014return f != $ac_func;
27015 ;
27016 return 0;
27017}
27018_ACEOF
27019rm -f conftest.$ac_objext conftest$ac_exeext
27020if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27021 (eval $ac_link) 2>&5
27022 ac_status=$?
27023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27024 (exit $ac_status); } &&
27025 { ac_try='test -s conftest$ac_exeext'
27026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27027 (eval $ac_try) 2>&5
27028 ac_status=$?
27029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27030 (exit $ac_status); }; }; then
27031 eval "$as_ac_var=yes"
27032else
27033 echo "$as_me: failed program was:" >&5
27034sed 's/^/| /' conftest.$ac_ext >&5
27035
27036eval "$as_ac_var=no"
27037fi
27038rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27039fi
27040echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27041echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27042if test `eval echo '${'$as_ac_var'}'` = yes; then
27043 cat >>confdefs.h <<_ACEOF
27044#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27045_ACEOF
27046 break
27047fi
27048done
27049
27050
27051echo "$as_me:$LINENO: checking for statfs" >&5
27052echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27053if test "${wx_cv_func_statfs+set}" = set; then
27054 echo $ECHO_N "(cached) $ECHO_C" >&6
27055else
27056 cat >conftest.$ac_ext <<_ACEOF
27057#line $LINENO "configure"
27058/* confdefs.h. */
27059_ACEOF
27060cat confdefs.h >>conftest.$ac_ext
27061cat >>conftest.$ac_ext <<_ACEOF
27062/* end confdefs.h. */
27063
27064 #if defined(__BSD__)
27065 #include <sys/param.h>
27066 #include <sys/mount.h>
27067 #else
27068 #include <sys/vfs.h>
27069 #endif
27070
27071int
27072main ()
27073{
27074
27075 long l;
27076 struct statfs fs;
27077 statfs("/", &fs);
27078 l = fs.f_bsize;
27079 l += fs.f_blocks;
27080 l += fs.f_bavail;
27081
27082 ;
27083 return 0;
27084}
27085_ACEOF
27086rm -f conftest.$ac_objext
27087if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27088 (eval $ac_compile) 2>&5
27089 ac_status=$?
27090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27091 (exit $ac_status); } &&
27092 { ac_try='test -s conftest.$ac_objext'
27093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27094 (eval $ac_try) 2>&5
27095 ac_status=$?
27096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27097 (exit $ac_status); }; }; then
27098
27099 wx_cv_func_statfs=yes
27100
27101else
27102 echo "$as_me: failed program was:" >&5
27103sed 's/^/| /' conftest.$ac_ext >&5
27104
27105
27106 wx_cv_func_statfs=no
27107
27108
27109fi
27110rm -f conftest.$ac_objext conftest.$ac_ext
27111
27112fi
27113echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27114echo "${ECHO_T}$wx_cv_func_statfs" >&6
27115
27116if test "$wx_cv_func_statfs" = "yes"; then
27117 wx_cv_type_statvfs_t="struct statfs"
27118 cat >>confdefs.h <<\_ACEOF
27119#define HAVE_STATFS 1
27120_ACEOF
27121
27122else
27123 echo "$as_me:$LINENO: checking for statvfs" >&5
27124echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27125if test "${wx_cv_func_statvfs+set}" = set; then
27126 echo $ECHO_N "(cached) $ECHO_C" >&6
27127else
27128 cat >conftest.$ac_ext <<_ACEOF
27129#line $LINENO "configure"
27130/* confdefs.h. */
27131_ACEOF
27132cat confdefs.h >>conftest.$ac_ext
27133cat >>conftest.$ac_ext <<_ACEOF
27134/* end confdefs.h. */
27135
27136 #include <stddef.h>
27137 #include <sys/statvfs.h>
27138
27139int
27140main ()
27141{
27142
27143 statvfs("/", NULL);
27144
27145 ;
27146 return 0;
27147}
27148_ACEOF
27149rm -f conftest.$ac_objext
27150if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27151 (eval $ac_compile) 2>&5
27152 ac_status=$?
27153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27154 (exit $ac_status); } &&
27155 { ac_try='test -s conftest.$ac_objext'
27156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27157 (eval $ac_try) 2>&5
27158 ac_status=$?
27159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27160 (exit $ac_status); }; }; then
27161 wx_cv_func_statvfs=yes
27162else
27163 echo "$as_me: failed program was:" >&5
27164sed 's/^/| /' conftest.$ac_ext >&5
27165
27166wx_cv_func_statvfs=no
27167
27168fi
27169rm -f conftest.$ac_objext conftest.$ac_ext
27170
27171fi
27172echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27173echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27174
27175 if test "$wx_cv_func_statvfs" = "yes"; then
27176
27177
27178 ac_ext=cc
27179ac_cpp='$CXXCPP $CPPFLAGS'
27180ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27181ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27182ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27183
27184
27185 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27186echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27187if test "${wx_cv_type_statvfs_t+set}" = set; then
27188 echo $ECHO_N "(cached) $ECHO_C" >&6
27189else
27190 cat >conftest.$ac_ext <<_ACEOF
27191#line $LINENO "configure"
27192/* confdefs.h. */
27193_ACEOF
27194cat confdefs.h >>conftest.$ac_ext
27195cat >>conftest.$ac_ext <<_ACEOF
27196/* end confdefs.h. */
27197
27198 #include <sys/statvfs.h>
27199
27200int
27201main ()
27202{
27203
27204 long l;
27205 statvfs_t fs;
27206 statvfs("/", &fs);
27207 l = fs.f_bsize;
27208 l += fs.f_blocks;
27209 l += fs.f_bavail;
27210
27211 ;
27212 return 0;
27213}
27214_ACEOF
27215rm -f conftest.$ac_objext
27216if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27217 (eval $ac_compile) 2>&5
27218 ac_status=$?
27219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27220 (exit $ac_status); } &&
27221 { ac_try='test -s conftest.$ac_objext'
27222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27223 (eval $ac_try) 2>&5
27224 ac_status=$?
27225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27226 (exit $ac_status); }; }; then
27227 wx_cv_type_statvfs_t=statvfs_t
27228else
27229 echo "$as_me: failed program was:" >&5
27230sed 's/^/| /' conftest.$ac_ext >&5
27231
27232
27233 cat >conftest.$ac_ext <<_ACEOF
27234#line $LINENO "configure"
27235/* confdefs.h. */
27236_ACEOF
27237cat confdefs.h >>conftest.$ac_ext
27238cat >>conftest.$ac_ext <<_ACEOF
27239/* end confdefs.h. */
27240
27241 #include <sys/statvfs.h>
27242
27243int
27244main ()
27245{
27246
27247 long l;
27248 struct statvfs fs;
27249 statvfs("/", &fs);
27250 l = fs.f_bsize;
27251 l += fs.f_blocks;
27252 l += fs.f_bavail;
27253
27254 ;
27255 return 0;
27256}
27257_ACEOF
27258rm -f conftest.$ac_objext
27259if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27260 (eval $ac_compile) 2>&5
27261 ac_status=$?
27262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27263 (exit $ac_status); } &&
27264 { ac_try='test -s conftest.$ac_objext'
27265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27266 (eval $ac_try) 2>&5
27267 ac_status=$?
27268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27269 (exit $ac_status); }; }; then
27270 wx_cv_type_statvfs_t="struct statvfs"
27271else
27272 echo "$as_me: failed program was:" >&5
27273sed 's/^/| /' conftest.$ac_ext >&5
27274
27275wx_cv_type_statvfs_t="unknown"
27276
27277fi
27278rm -f conftest.$ac_objext conftest.$ac_ext
27279
27280
27281fi
27282rm -f conftest.$ac_objext conftest.$ac_ext
27283
27284fi
27285echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27286echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27287
27288 ac_ext=c
27289ac_cpp='$CPP $CPPFLAGS'
27290ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27291ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27292ac_compiler_gnu=$ac_cv_c_compiler_gnu
27293
27294
27295 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27296 cat >>confdefs.h <<\_ACEOF
27297#define HAVE_STATVFS 1
27298_ACEOF
27299
27300 fi
27301 else
27302 wx_cv_type_statvfs_t="unknown"
27303 fi
27304fi
27305
27306if test "$wx_cv_type_statvfs_t" != "unknown"; then
27307 cat >>confdefs.h <<_ACEOF
27308#define WX_STATFS_T $wx_cv_type_statvfs_t
27309_ACEOF
27310
27311else
27312 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27313echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27314fi
27315
27316if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27317
27318
27319for ac_func in fcntl flock
27320do
27321as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27322echo "$as_me:$LINENO: checking for $ac_func" >&5
27323echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27324if eval "test \"\${$as_ac_var+set}\" = set"; then
27325 echo $ECHO_N "(cached) $ECHO_C" >&6
27326else
27327 cat >conftest.$ac_ext <<_ACEOF
27328#line $LINENO "configure"
27329/* confdefs.h. */
27330_ACEOF
27331cat confdefs.h >>conftest.$ac_ext
27332cat >>conftest.$ac_ext <<_ACEOF
27333/* end confdefs.h. */
27334/* System header to define __stub macros and hopefully few prototypes,
27335 which can conflict with char $ac_func (); below.
27336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27337 <limits.h> exists even on freestanding compilers. */
27338#ifdef __STDC__
27339# include <limits.h>
27340#else
27341# include <assert.h>
27342#endif
27343/* Override any gcc2 internal prototype to avoid an error. */
27344#ifdef __cplusplus
27345extern "C"
27346{
27347#endif
27348/* We use char because int might match the return type of a gcc2
27349 builtin and then its argument prototype would still apply. */
27350char $ac_func ();
27351/* The GNU C library defines this for functions which it implements
27352 to always fail with ENOSYS. Some functions are actually named
27353 something starting with __ and the normal name is an alias. */
27354#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27355choke me
27356#else
27357char (*f) () = $ac_func;
27358#endif
27359#ifdef __cplusplus
27360}
27361#endif
27362
27363int
27364main ()
27365{
27366return f != $ac_func;
27367 ;
27368 return 0;
27369}
27370_ACEOF
27371rm -f conftest.$ac_objext conftest$ac_exeext
27372if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27373 (eval $ac_link) 2>&5
27374 ac_status=$?
27375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27376 (exit $ac_status); } &&
27377 { ac_try='test -s conftest$ac_exeext'
27378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27379 (eval $ac_try) 2>&5
27380 ac_status=$?
27381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27382 (exit $ac_status); }; }; then
27383 eval "$as_ac_var=yes"
27384else
27385 echo "$as_me: failed program was:" >&5
27386sed 's/^/| /' conftest.$ac_ext >&5
27387
27388eval "$as_ac_var=no"
27389fi
27390rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27391fi
27392echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27393echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27394if test `eval echo '${'$as_ac_var'}'` = yes; then
27395 cat >>confdefs.h <<_ACEOF
27396#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27397_ACEOF
27398 break
27399fi
27400done
27401
27402
27403 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27404 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27405echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27406 wxUSE_SNGLINST_CHECKER=no
27407 fi
27408fi
27409
27410
27411for ac_func in timegm
27412do
27413as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27414echo "$as_me:$LINENO: checking for $ac_func" >&5
27415echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27416if eval "test \"\${$as_ac_var+set}\" = set"; then
27417 echo $ECHO_N "(cached) $ECHO_C" >&6
27418else
27419 cat >conftest.$ac_ext <<_ACEOF
27420#line $LINENO "configure"
27421/* confdefs.h. */
27422_ACEOF
27423cat confdefs.h >>conftest.$ac_ext
27424cat >>conftest.$ac_ext <<_ACEOF
27425/* end confdefs.h. */
27426/* System header to define __stub macros and hopefully few prototypes,
27427 which can conflict with char $ac_func (); below.
27428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27429 <limits.h> exists even on freestanding compilers. */
27430#ifdef __STDC__
27431# include <limits.h>
27432#else
27433# include <assert.h>
27434#endif
27435/* Override any gcc2 internal prototype to avoid an error. */
27436#ifdef __cplusplus
27437extern "C"
27438{
27439#endif
27440/* We use char because int might match the return type of a gcc2
27441 builtin and then its argument prototype would still apply. */
27442char $ac_func ();
27443/* The GNU C library defines this for functions which it implements
27444 to always fail with ENOSYS. Some functions are actually named
27445 something starting with __ and the normal name is an alias. */
27446#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27447choke me
27448#else
27449char (*f) () = $ac_func;
27450#endif
27451#ifdef __cplusplus
27452}
27453#endif
27454
27455int
27456main ()
27457{
27458return f != $ac_func;
27459 ;
27460 return 0;
27461}
27462_ACEOF
27463rm -f conftest.$ac_objext conftest$ac_exeext
27464if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27465 (eval $ac_link) 2>&5
27466 ac_status=$?
27467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27468 (exit $ac_status); } &&
27469 { ac_try='test -s conftest$ac_exeext'
27470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27471 (eval $ac_try) 2>&5
27472 ac_status=$?
27473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27474 (exit $ac_status); }; }; then
27475 eval "$as_ac_var=yes"
27476else
27477 echo "$as_me: failed program was:" >&5
27478sed 's/^/| /' conftest.$ac_ext >&5
27479
27480eval "$as_ac_var=no"
27481fi
27482rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27483fi
27484echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27485echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27486if test `eval echo '${'$as_ac_var'}'` = yes; then
27487 cat >>confdefs.h <<_ACEOF
27488#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27489_ACEOF
27490
27491fi
27492done
27493
27494
27495
27496
27497for ac_func in putenv setenv
27498do
27499as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27500echo "$as_me:$LINENO: checking for $ac_func" >&5
27501echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27502if eval "test \"\${$as_ac_var+set}\" = set"; then
27503 echo $ECHO_N "(cached) $ECHO_C" >&6
27504else
27505 cat >conftest.$ac_ext <<_ACEOF
27506#line $LINENO "configure"
27507/* confdefs.h. */
27508_ACEOF
27509cat confdefs.h >>conftest.$ac_ext
27510cat >>conftest.$ac_ext <<_ACEOF
27511/* end confdefs.h. */
27512/* System header to define __stub macros and hopefully few prototypes,
27513 which can conflict with char $ac_func (); below.
27514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27515 <limits.h> exists even on freestanding compilers. */
27516#ifdef __STDC__
27517# include <limits.h>
27518#else
27519# include <assert.h>
27520#endif
27521/* Override any gcc2 internal prototype to avoid an error. */
27522#ifdef __cplusplus
27523extern "C"
27524{
27525#endif
27526/* We use char because int might match the return type of a gcc2
27527 builtin and then its argument prototype would still apply. */
27528char $ac_func ();
27529/* The GNU C library defines this for functions which it implements
27530 to always fail with ENOSYS. Some functions are actually named
27531 something starting with __ and the normal name is an alias. */
27532#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27533choke me
27534#else
27535char (*f) () = $ac_func;
27536#endif
27537#ifdef __cplusplus
27538}
27539#endif
27540
27541int
27542main ()
27543{
27544return f != $ac_func;
27545 ;
27546 return 0;
27547}
27548_ACEOF
27549rm -f conftest.$ac_objext conftest$ac_exeext
27550if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27551 (eval $ac_link) 2>&5
27552 ac_status=$?
27553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27554 (exit $ac_status); } &&
27555 { ac_try='test -s conftest$ac_exeext'
27556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27557 (eval $ac_try) 2>&5
27558 ac_status=$?
27559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27560 (exit $ac_status); }; }; then
27561 eval "$as_ac_var=yes"
27562else
27563 echo "$as_me: failed program was:" >&5
27564sed 's/^/| /' conftest.$ac_ext >&5
27565
27566eval "$as_ac_var=no"
27567fi
27568rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27569fi
27570echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27571echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27572if test `eval echo '${'$as_ac_var'}'` = yes; then
27573 cat >>confdefs.h <<_ACEOF
27574#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27575_ACEOF
27576 break
27577fi
27578done
27579
27580
27581HAVE_SOME_SLEEP_FUNC=0
27582if test "$USE_BEOS" = 1; then
27583 cat >>confdefs.h <<\_ACEOF
27584#define HAVE_SLEEP 1
27585_ACEOF
27586
27587 HAVE_SOME_SLEEP_FUNC=1
27588fi
27589
27590if test "$USE_DARWIN" = 1; then
27591 cat >>confdefs.h <<\_ACEOF
27592#define HAVE_USLEEP 1
27593_ACEOF
27594
27595 HAVE_SOME_SLEEP_FUNC=1
27596fi
27597
27598if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27599 POSIX4_LINK=
27600
27601for ac_func in nanosleep
27602do
27603as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27604echo "$as_me:$LINENO: checking for $ac_func" >&5
27605echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27606if eval "test \"\${$as_ac_var+set}\" = set"; then
27607 echo $ECHO_N "(cached) $ECHO_C" >&6
27608else
27609 cat >conftest.$ac_ext <<_ACEOF
27610#line $LINENO "configure"
27611/* confdefs.h. */
27612_ACEOF
27613cat confdefs.h >>conftest.$ac_ext
27614cat >>conftest.$ac_ext <<_ACEOF
27615/* end confdefs.h. */
27616/* System header to define __stub macros and hopefully few prototypes,
27617 which can conflict with char $ac_func (); below.
27618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27619 <limits.h> exists even on freestanding compilers. */
27620#ifdef __STDC__
27621# include <limits.h>
27622#else
27623# include <assert.h>
27624#endif
27625/* Override any gcc2 internal prototype to avoid an error. */
27626#ifdef __cplusplus
27627extern "C"
27628{
27629#endif
27630/* We use char because int might match the return type of a gcc2
27631 builtin and then its argument prototype would still apply. */
27632char $ac_func ();
27633/* The GNU C library defines this for functions which it implements
27634 to always fail with ENOSYS. Some functions are actually named
27635 something starting with __ and the normal name is an alias. */
27636#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27637choke me
27638#else
27639char (*f) () = $ac_func;
27640#endif
27641#ifdef __cplusplus
27642}
27643#endif
27644
27645int
27646main ()
27647{
27648return f != $ac_func;
27649 ;
27650 return 0;
27651}
27652_ACEOF
27653rm -f conftest.$ac_objext conftest$ac_exeext
27654if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27655 (eval $ac_link) 2>&5
27656 ac_status=$?
27657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27658 (exit $ac_status); } &&
27659 { ac_try='test -s conftest$ac_exeext'
27660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27661 (eval $ac_try) 2>&5
27662 ac_status=$?
27663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27664 (exit $ac_status); }; }; then
27665 eval "$as_ac_var=yes"
27666else
27667 echo "$as_me: failed program was:" >&5
27668sed 's/^/| /' conftest.$ac_ext >&5
27669
27670eval "$as_ac_var=no"
27671fi
27672rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27673fi
27674echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27675echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27676if test `eval echo '${'$as_ac_var'}'` = yes; then
27677 cat >>confdefs.h <<_ACEOF
27678#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27679_ACEOF
27680 cat >>confdefs.h <<\_ACEOF
27681#define HAVE_NANOSLEEP 1
27682_ACEOF
27683
27684else
27685
27686 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27687echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27688if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27689 echo $ECHO_N "(cached) $ECHO_C" >&6
27690else
27691 ac_check_lib_save_LIBS=$LIBS
27692LIBS="-lposix4 $LIBS"
27693cat >conftest.$ac_ext <<_ACEOF
27694#line $LINENO "configure"
27695/* confdefs.h. */
27696_ACEOF
27697cat confdefs.h >>conftest.$ac_ext
27698cat >>conftest.$ac_ext <<_ACEOF
27699/* end confdefs.h. */
27700
27701/* Override any gcc2 internal prototype to avoid an error. */
27702#ifdef __cplusplus
27703extern "C"
27704#endif
27705/* We use char because int might match the return type of a gcc2
27706 builtin and then its argument prototype would still apply. */
27707char nanosleep ();
27708int
27709main ()
27710{
27711nanosleep ();
27712 ;
27713 return 0;
27714}
27715_ACEOF
27716rm -f conftest.$ac_objext conftest$ac_exeext
27717if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27718 (eval $ac_link) 2>&5
27719 ac_status=$?
27720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27721 (exit $ac_status); } &&
27722 { ac_try='test -s conftest$ac_exeext'
27723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27724 (eval $ac_try) 2>&5
27725 ac_status=$?
27726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27727 (exit $ac_status); }; }; then
27728 ac_cv_lib_posix4_nanosleep=yes
27729else
27730 echo "$as_me: failed program was:" >&5
27731sed 's/^/| /' conftest.$ac_ext >&5
27732
27733ac_cv_lib_posix4_nanosleep=no
27734fi
27735rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27736LIBS=$ac_check_lib_save_LIBS
27737fi
27738echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27739echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27740if test $ac_cv_lib_posix4_nanosleep = yes; then
27741
27742 cat >>confdefs.h <<\_ACEOF
27743#define HAVE_NANOSLEEP 1
27744_ACEOF
27745
27746 POSIX4_LINK=" -lposix4"
27747
27748else
27749
27750
27751for ac_func in usleep
27752do
27753as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27754echo "$as_me:$LINENO: checking for $ac_func" >&5
27755echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27756if eval "test \"\${$as_ac_var+set}\" = set"; then
27757 echo $ECHO_N "(cached) $ECHO_C" >&6
27758else
27759 cat >conftest.$ac_ext <<_ACEOF
27760#line $LINENO "configure"
27761/* confdefs.h. */
27762_ACEOF
27763cat confdefs.h >>conftest.$ac_ext
27764cat >>conftest.$ac_ext <<_ACEOF
27765/* end confdefs.h. */
27766/* System header to define __stub macros and hopefully few prototypes,
27767 which can conflict with char $ac_func (); below.
27768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27769 <limits.h> exists even on freestanding compilers. */
27770#ifdef __STDC__
27771# include <limits.h>
27772#else
27773# include <assert.h>
27774#endif
27775/* Override any gcc2 internal prototype to avoid an error. */
27776#ifdef __cplusplus
27777extern "C"
27778{
27779#endif
27780/* We use char because int might match the return type of a gcc2
27781 builtin and then its argument prototype would still apply. */
27782char $ac_func ();
27783/* The GNU C library defines this for functions which it implements
27784 to always fail with ENOSYS. Some functions are actually named
27785 something starting with __ and the normal name is an alias. */
27786#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27787choke me
27788#else
27789char (*f) () = $ac_func;
27790#endif
27791#ifdef __cplusplus
27792}
27793#endif
27794
27795int
27796main ()
27797{
27798return f != $ac_func;
27799 ;
27800 return 0;
27801}
27802_ACEOF
27803rm -f conftest.$ac_objext conftest$ac_exeext
27804if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27805 (eval $ac_link) 2>&5
27806 ac_status=$?
27807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27808 (exit $ac_status); } &&
27809 { ac_try='test -s conftest$ac_exeext'
27810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27811 (eval $ac_try) 2>&5
27812 ac_status=$?
27813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27814 (exit $ac_status); }; }; then
27815 eval "$as_ac_var=yes"
27816else
27817 echo "$as_me: failed program was:" >&5
27818sed 's/^/| /' conftest.$ac_ext >&5
27819
27820eval "$as_ac_var=no"
27821fi
27822rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27823fi
27824echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27825echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27826if test `eval echo '${'$as_ac_var'}'` = yes; then
27827 cat >>confdefs.h <<_ACEOF
27828#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27829_ACEOF
27830 cat >>confdefs.h <<\_ACEOF
27831#define HAVE_USLEEP 1
27832_ACEOF
27833
27834else
27835 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
27836echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
27837
27838fi
27839done
27840
27841
27842
27843fi
27844
27845
27846
27847fi
27848done
27849
27850fi
27851
27852
27853
27854for ac_func in uname gethostname
27855do
27856as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27857echo "$as_me:$LINENO: checking for $ac_func" >&5
27858echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27859if eval "test \"\${$as_ac_var+set}\" = set"; then
27860 echo $ECHO_N "(cached) $ECHO_C" >&6
27861else
27862 cat >conftest.$ac_ext <<_ACEOF
27863#line $LINENO "configure"
27864/* confdefs.h. */
27865_ACEOF
27866cat confdefs.h >>conftest.$ac_ext
27867cat >>conftest.$ac_ext <<_ACEOF
27868/* end confdefs.h. */
27869/* System header to define __stub macros and hopefully few prototypes,
27870 which can conflict with char $ac_func (); below.
27871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27872 <limits.h> exists even on freestanding compilers. */
27873#ifdef __STDC__
27874# include <limits.h>
27875#else
27876# include <assert.h>
27877#endif
27878/* Override any gcc2 internal prototype to avoid an error. */
27879#ifdef __cplusplus
27880extern "C"
27881{
27882#endif
27883/* We use char because int might match the return type of a gcc2
27884 builtin and then its argument prototype would still apply. */
27885char $ac_func ();
27886/* The GNU C library defines this for functions which it implements
27887 to always fail with ENOSYS. Some functions are actually named
27888 something starting with __ and the normal name is an alias. */
27889#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27890choke me
27891#else
27892char (*f) () = $ac_func;
27893#endif
27894#ifdef __cplusplus
27895}
27896#endif
27897
27898int
27899main ()
27900{
27901return f != $ac_func;
27902 ;
27903 return 0;
27904}
27905_ACEOF
27906rm -f conftest.$ac_objext conftest$ac_exeext
27907if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27908 (eval $ac_link) 2>&5
27909 ac_status=$?
27910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27911 (exit $ac_status); } &&
27912 { ac_try='test -s conftest$ac_exeext'
27913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27914 (eval $ac_try) 2>&5
27915 ac_status=$?
27916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27917 (exit $ac_status); }; }; then
27918 eval "$as_ac_var=yes"
27919else
27920 echo "$as_me: failed program was:" >&5
27921sed 's/^/| /' conftest.$ac_ext >&5
27922
27923eval "$as_ac_var=no"
27924fi
27925rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27926fi
27927echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27928echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27929if test `eval echo '${'$as_ac_var'}'` = yes; then
27930 cat >>confdefs.h <<_ACEOF
27931#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27932_ACEOF
27933 break
27934fi
27935done
27936
27937
27938
27939
27940ac_ext=cc
27941ac_cpp='$CXXCPP $CPPFLAGS'
27942ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27943ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27944ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27945
27946
27947
27948for ac_func in strtok_r
27949do
27950as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27951echo "$as_me:$LINENO: checking for $ac_func" >&5
27952echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27953if eval "test \"\${$as_ac_var+set}\" = set"; then
27954 echo $ECHO_N "(cached) $ECHO_C" >&6
27955else
27956 cat >conftest.$ac_ext <<_ACEOF
27957#line $LINENO "configure"
27958/* confdefs.h. */
27959_ACEOF
27960cat confdefs.h >>conftest.$ac_ext
27961cat >>conftest.$ac_ext <<_ACEOF
27962/* end confdefs.h. */
27963/* System header to define __stub macros and hopefully few prototypes,
27964 which can conflict with char $ac_func (); below.
27965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27966 <limits.h> exists even on freestanding compilers. */
27967#ifdef __STDC__
27968# include <limits.h>
27969#else
27970# include <assert.h>
27971#endif
27972/* Override any gcc2 internal prototype to avoid an error. */
27973#ifdef __cplusplus
27974extern "C"
27975{
27976#endif
27977/* We use char because int might match the return type of a gcc2
27978 builtin and then its argument prototype would still apply. */
27979char $ac_func ();
27980/* The GNU C library defines this for functions which it implements
27981 to always fail with ENOSYS. Some functions are actually named
27982 something starting with __ and the normal name is an alias. */
27983#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27984choke me
27985#else
27986char (*f) () = $ac_func;
27987#endif
27988#ifdef __cplusplus
27989}
27990#endif
27991
27992int
27993main ()
27994{
27995return f != $ac_func;
27996 ;
27997 return 0;
27998}
27999_ACEOF
28000rm -f conftest.$ac_objext conftest$ac_exeext
28001if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28002 (eval $ac_link) 2>&5
28003 ac_status=$?
28004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28005 (exit $ac_status); } &&
28006 { ac_try='test -s conftest$ac_exeext'
28007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28008 (eval $ac_try) 2>&5
28009 ac_status=$?
28010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28011 (exit $ac_status); }; }; then
28012 eval "$as_ac_var=yes"
28013else
28014 echo "$as_me: failed program was:" >&5
28015sed 's/^/| /' conftest.$ac_ext >&5
28016
28017eval "$as_ac_var=no"
28018fi
28019rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28020fi
28021echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28022echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28023if test `eval echo '${'$as_ac_var'}'` = yes; then
28024 cat >>confdefs.h <<_ACEOF
28025#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28026_ACEOF
28027
28028fi
28029done
28030
28031
28032ac_ext=c
28033ac_cpp='$CPP $CPPFLAGS'
28034ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28035ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28036ac_compiler_gnu=$ac_cv_c_compiler_gnu
28037
28038
28039INET_LINK=
28040
28041for ac_func in inet_addr
28042do
28043as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28044echo "$as_me:$LINENO: checking for $ac_func" >&5
28045echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28046if eval "test \"\${$as_ac_var+set}\" = set"; then
28047 echo $ECHO_N "(cached) $ECHO_C" >&6
28048else
28049 cat >conftest.$ac_ext <<_ACEOF
28050#line $LINENO "configure"
28051/* confdefs.h. */
28052_ACEOF
28053cat confdefs.h >>conftest.$ac_ext
28054cat >>conftest.$ac_ext <<_ACEOF
28055/* end confdefs.h. */
28056/* System header to define __stub macros and hopefully few prototypes,
28057 which can conflict with char $ac_func (); below.
28058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28059 <limits.h> exists even on freestanding compilers. */
28060#ifdef __STDC__
28061# include <limits.h>
28062#else
28063# include <assert.h>
28064#endif
28065/* Override any gcc2 internal prototype to avoid an error. */
28066#ifdef __cplusplus
28067extern "C"
28068{
28069#endif
28070/* We use char because int might match the return type of a gcc2
28071 builtin and then its argument prototype would still apply. */
28072char $ac_func ();
28073/* The GNU C library defines this for functions which it implements
28074 to always fail with ENOSYS. Some functions are actually named
28075 something starting with __ and the normal name is an alias. */
28076#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28077choke me
28078#else
28079char (*f) () = $ac_func;
28080#endif
28081#ifdef __cplusplus
28082}
28083#endif
28084
28085int
28086main ()
28087{
28088return f != $ac_func;
28089 ;
28090 return 0;
28091}
28092_ACEOF
28093rm -f conftest.$ac_objext conftest$ac_exeext
28094if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28095 (eval $ac_link) 2>&5
28096 ac_status=$?
28097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28098 (exit $ac_status); } &&
28099 { ac_try='test -s conftest$ac_exeext'
28100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28101 (eval $ac_try) 2>&5
28102 ac_status=$?
28103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28104 (exit $ac_status); }; }; then
28105 eval "$as_ac_var=yes"
28106else
28107 echo "$as_me: failed program was:" >&5
28108sed 's/^/| /' conftest.$ac_ext >&5
28109
28110eval "$as_ac_var=no"
28111fi
28112rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28113fi
28114echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28115echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28116if test `eval echo '${'$as_ac_var'}'` = yes; then
28117 cat >>confdefs.h <<_ACEOF
28118#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28119_ACEOF
28120 cat >>confdefs.h <<\_ACEOF
28121#define HAVE_INET_ADDR 1
28122_ACEOF
28123
28124else
28125
28126 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28127echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28128if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28129 echo $ECHO_N "(cached) $ECHO_C" >&6
28130else
28131 ac_check_lib_save_LIBS=$LIBS
28132LIBS="-lnsl $LIBS"
28133cat >conftest.$ac_ext <<_ACEOF
28134#line $LINENO "configure"
28135/* confdefs.h. */
28136_ACEOF
28137cat confdefs.h >>conftest.$ac_ext
28138cat >>conftest.$ac_ext <<_ACEOF
28139/* end confdefs.h. */
28140
28141/* Override any gcc2 internal prototype to avoid an error. */
28142#ifdef __cplusplus
28143extern "C"
28144#endif
28145/* We use char because int might match the return type of a gcc2
28146 builtin and then its argument prototype would still apply. */
28147char inet_addr ();
28148int
28149main ()
28150{
28151inet_addr ();
28152 ;
28153 return 0;
28154}
28155_ACEOF
28156rm -f conftest.$ac_objext conftest$ac_exeext
28157if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28158 (eval $ac_link) 2>&5
28159 ac_status=$?
28160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28161 (exit $ac_status); } &&
28162 { ac_try='test -s conftest$ac_exeext'
28163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28164 (eval $ac_try) 2>&5
28165 ac_status=$?
28166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28167 (exit $ac_status); }; }; then
28168 ac_cv_lib_nsl_inet_addr=yes
28169else
28170 echo "$as_me: failed program was:" >&5
28171sed 's/^/| /' conftest.$ac_ext >&5
28172
28173ac_cv_lib_nsl_inet_addr=no
28174fi
28175rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28176LIBS=$ac_check_lib_save_LIBS
28177fi
28178echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28179echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28180if test $ac_cv_lib_nsl_inet_addr = yes; then
28181 INET_LINK="nsl"
28182else
28183 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28184echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28185if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28186 echo $ECHO_N "(cached) $ECHO_C" >&6
28187else
28188 ac_check_lib_save_LIBS=$LIBS
28189LIBS="-lresolv $LIBS"
28190cat >conftest.$ac_ext <<_ACEOF
28191#line $LINENO "configure"
28192/* confdefs.h. */
28193_ACEOF
28194cat confdefs.h >>conftest.$ac_ext
28195cat >>conftest.$ac_ext <<_ACEOF
28196/* end confdefs.h. */
28197
28198/* Override any gcc2 internal prototype to avoid an error. */
28199#ifdef __cplusplus
28200extern "C"
28201#endif
28202/* We use char because int might match the return type of a gcc2
28203 builtin and then its argument prototype would still apply. */
28204char inet_addr ();
28205int
28206main ()
28207{
28208inet_addr ();
28209 ;
28210 return 0;
28211}
28212_ACEOF
28213rm -f conftest.$ac_objext conftest$ac_exeext
28214if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28215 (eval $ac_link) 2>&5
28216 ac_status=$?
28217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28218 (exit $ac_status); } &&
28219 { ac_try='test -s conftest$ac_exeext'
28220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28221 (eval $ac_try) 2>&5
28222 ac_status=$?
28223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28224 (exit $ac_status); }; }; then
28225 ac_cv_lib_resolv_inet_addr=yes
28226else
28227 echo "$as_me: failed program was:" >&5
28228sed 's/^/| /' conftest.$ac_ext >&5
28229
28230ac_cv_lib_resolv_inet_addr=no
28231fi
28232rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28233LIBS=$ac_check_lib_save_LIBS
28234fi
28235echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28236echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28237if test $ac_cv_lib_resolv_inet_addr = yes; then
28238 INET_LINK="resolv"
28239else
28240 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28241echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28242if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28243 echo $ECHO_N "(cached) $ECHO_C" >&6
28244else
28245 ac_check_lib_save_LIBS=$LIBS
28246LIBS="-lsocket $LIBS"
28247cat >conftest.$ac_ext <<_ACEOF
28248#line $LINENO "configure"
28249/* confdefs.h. */
28250_ACEOF
28251cat confdefs.h >>conftest.$ac_ext
28252cat >>conftest.$ac_ext <<_ACEOF
28253/* end confdefs.h. */
28254
28255/* Override any gcc2 internal prototype to avoid an error. */
28256#ifdef __cplusplus
28257extern "C"
28258#endif
28259/* We use char because int might match the return type of a gcc2
28260 builtin and then its argument prototype would still apply. */
28261char inet_addr ();
28262int
28263main ()
28264{
28265inet_addr ();
28266 ;
28267 return 0;
28268}
28269_ACEOF
28270rm -f conftest.$ac_objext conftest$ac_exeext
28271if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28272 (eval $ac_link) 2>&5
28273 ac_status=$?
28274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28275 (exit $ac_status); } &&
28276 { ac_try='test -s conftest$ac_exeext'
28277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28278 (eval $ac_try) 2>&5
28279 ac_status=$?
28280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28281 (exit $ac_status); }; }; then
28282 ac_cv_lib_socket_inet_addr=yes
28283else
28284 echo "$as_me: failed program was:" >&5
28285sed 's/^/| /' conftest.$ac_ext >&5
28286
28287ac_cv_lib_socket_inet_addr=no
28288fi
28289rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28290LIBS=$ac_check_lib_save_LIBS
28291fi
28292echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28293echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28294if test $ac_cv_lib_socket_inet_addr = yes; then
28295 INET_LINK="socket"
28296
28297fi
28298
28299
28300fi
28301
28302
28303fi
28304
28305
28306
28307fi
28308done
28309
28310
28311
28312for ac_func in inet_aton
28313do
28314as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28315echo "$as_me:$LINENO: checking for $ac_func" >&5
28316echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28317if eval "test \"\${$as_ac_var+set}\" = set"; then
28318 echo $ECHO_N "(cached) $ECHO_C" >&6
28319else
28320 cat >conftest.$ac_ext <<_ACEOF
28321#line $LINENO "configure"
28322/* confdefs.h. */
28323_ACEOF
28324cat confdefs.h >>conftest.$ac_ext
28325cat >>conftest.$ac_ext <<_ACEOF
28326/* end confdefs.h. */
28327/* System header to define __stub macros and hopefully few prototypes,
28328 which can conflict with char $ac_func (); below.
28329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28330 <limits.h> exists even on freestanding compilers. */
28331#ifdef __STDC__
28332# include <limits.h>
28333#else
28334# include <assert.h>
28335#endif
28336/* Override any gcc2 internal prototype to avoid an error. */
28337#ifdef __cplusplus
28338extern "C"
28339{
28340#endif
28341/* We use char because int might match the return type of a gcc2
28342 builtin and then its argument prototype would still apply. */
28343char $ac_func ();
28344/* The GNU C library defines this for functions which it implements
28345 to always fail with ENOSYS. Some functions are actually named
28346 something starting with __ and the normal name is an alias. */
28347#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28348choke me
28349#else
28350char (*f) () = $ac_func;
28351#endif
28352#ifdef __cplusplus
28353}
28354#endif
28355
28356int
28357main ()
28358{
28359return f != $ac_func;
28360 ;
28361 return 0;
28362}
28363_ACEOF
28364rm -f conftest.$ac_objext conftest$ac_exeext
28365if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28366 (eval $ac_link) 2>&5
28367 ac_status=$?
28368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28369 (exit $ac_status); } &&
28370 { ac_try='test -s conftest$ac_exeext'
28371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28372 (eval $ac_try) 2>&5
28373 ac_status=$?
28374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28375 (exit $ac_status); }; }; then
28376 eval "$as_ac_var=yes"
28377else
28378 echo "$as_me: failed program was:" >&5
28379sed 's/^/| /' conftest.$ac_ext >&5
28380
28381eval "$as_ac_var=no"
28382fi
28383rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28384fi
28385echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28386echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28387if test `eval echo '${'$as_ac_var'}'` = yes; then
28388 cat >>confdefs.h <<_ACEOF
28389#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28390_ACEOF
28391 cat >>confdefs.h <<\_ACEOF
28392#define HAVE_INET_ATON 1
28393_ACEOF
28394
28395else
28396
28397 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28398echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28399echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28400if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28401 echo $ECHO_N "(cached) $ECHO_C" >&6
28402else
28403 ac_check_lib_save_LIBS=$LIBS
28404LIBS="-l$INET_LINK $LIBS"
28405cat >conftest.$ac_ext <<_ACEOF
28406#line $LINENO "configure"
28407/* confdefs.h. */
28408_ACEOF
28409cat confdefs.h >>conftest.$ac_ext
28410cat >>conftest.$ac_ext <<_ACEOF
28411/* end confdefs.h. */
28412
28413/* Override any gcc2 internal prototype to avoid an error. */
28414#ifdef __cplusplus
28415extern "C"
28416#endif
28417/* We use char because int might match the return type of a gcc2
28418 builtin and then its argument prototype would still apply. */
28419char inet_aton ();
28420int
28421main ()
28422{
28423inet_aton ();
28424 ;
28425 return 0;
28426}
28427_ACEOF
28428rm -f conftest.$ac_objext conftest$ac_exeext
28429if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28430 (eval $ac_link) 2>&5
28431 ac_status=$?
28432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28433 (exit $ac_status); } &&
28434 { ac_try='test -s conftest$ac_exeext'
28435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28436 (eval $ac_try) 2>&5
28437 ac_status=$?
28438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28439 (exit $ac_status); }; }; then
28440 eval "$as_ac_Lib=yes"
28441else
28442 echo "$as_me: failed program was:" >&5
28443sed 's/^/| /' conftest.$ac_ext >&5
28444
28445eval "$as_ac_Lib=no"
28446fi
28447rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28448LIBS=$ac_check_lib_save_LIBS
28449fi
28450echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28451echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28452if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28453 cat >>confdefs.h <<\_ACEOF
28454#define HAVE_INET_ATON 1
28455_ACEOF
28456
28457fi
28458
28459
28460fi
28461done
28462
28463
28464if test "x$INET_LINK" != "x"; then
28465 cat >>confdefs.h <<\_ACEOF
28466#define HAVE_INET_ADDR 1
28467_ACEOF
28468
28469 INET_LINK=" -l$INET_LINK"
28470fi
28471
28472fi
28473
28474
28475
28476EXTRALIBS_ESD=
28477echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28478echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28479if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28480 echo $ECHO_N "(cached) $ECHO_C" >&6
28481else
28482 ac_check_lib_save_LIBS=$LIBS
28483LIBS="-lesd $LIBS"
28484cat >conftest.$ac_ext <<_ACEOF
28485#line $LINENO "configure"
28486/* confdefs.h. */
28487_ACEOF
28488cat confdefs.h >>conftest.$ac_ext
28489cat >>conftest.$ac_ext <<_ACEOF
28490/* end confdefs.h. */
28491
28492/* Override any gcc2 internal prototype to avoid an error. */
28493#ifdef __cplusplus
28494extern "C"
28495#endif
28496/* We use char because int might match the return type of a gcc2
28497 builtin and then its argument prototype would still apply. */
28498char esd_close ();
28499int
28500main ()
28501{
28502esd_close ();
28503 ;
28504 return 0;
28505}
28506_ACEOF
28507rm -f conftest.$ac_objext conftest$ac_exeext
28508if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28509 (eval $ac_link) 2>&5
28510 ac_status=$?
28511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28512 (exit $ac_status); } &&
28513 { ac_try='test -s conftest$ac_exeext'
28514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28515 (eval $ac_try) 2>&5
28516 ac_status=$?
28517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28518 (exit $ac_status); }; }; then
28519 ac_cv_lib_esd_esd_close=yes
28520else
28521 echo "$as_me: failed program was:" >&5
28522sed 's/^/| /' conftest.$ac_ext >&5
28523
28524ac_cv_lib_esd_esd_close=no
28525fi
28526rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28527LIBS=$ac_check_lib_save_LIBS
28528fi
28529echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28530echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28531if test $ac_cv_lib_esd_esd_close = yes; then
28532
28533
28534for ac_header in esd.h
28535do
28536as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28537if eval "test \"\${$as_ac_Header+set}\" = set"; then
28538 echo "$as_me:$LINENO: checking for $ac_header" >&5
28539echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28540if eval "test \"\${$as_ac_Header+set}\" = set"; then
28541 echo $ECHO_N "(cached) $ECHO_C" >&6
28542fi
28543echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28544echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28545else
28546 # Is the header compilable?
28547echo "$as_me:$LINENO: checking $ac_header usability" >&5
28548echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28549cat >conftest.$ac_ext <<_ACEOF
28550#line $LINENO "configure"
28551/* confdefs.h. */
28552_ACEOF
28553cat confdefs.h >>conftest.$ac_ext
28554cat >>conftest.$ac_ext <<_ACEOF
28555/* end confdefs.h. */
28556$ac_includes_default
28557#include <$ac_header>
28558_ACEOF
28559rm -f conftest.$ac_objext
28560if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28561 (eval $ac_compile) 2>&5
28562 ac_status=$?
28563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28564 (exit $ac_status); } &&
28565 { ac_try='test -s conftest.$ac_objext'
28566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28567 (eval $ac_try) 2>&5
28568 ac_status=$?
28569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28570 (exit $ac_status); }; }; then
28571 ac_header_compiler=yes
28572else
28573 echo "$as_me: failed program was:" >&5
28574sed 's/^/| /' conftest.$ac_ext >&5
28575
28576ac_header_compiler=no
28577fi
28578rm -f conftest.$ac_objext conftest.$ac_ext
28579echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28580echo "${ECHO_T}$ac_header_compiler" >&6
28581
28582# Is the header present?
28583echo "$as_me:$LINENO: checking $ac_header presence" >&5
28584echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28585cat >conftest.$ac_ext <<_ACEOF
28586#line $LINENO "configure"
28587/* confdefs.h. */
28588_ACEOF
28589cat confdefs.h >>conftest.$ac_ext
28590cat >>conftest.$ac_ext <<_ACEOF
28591/* end confdefs.h. */
28592#include <$ac_header>
28593_ACEOF
28594if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28595 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28596 ac_status=$?
28597 grep -v '^ *+' conftest.er1 >conftest.err
28598 rm -f conftest.er1
28599 cat conftest.err >&5
28600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28601 (exit $ac_status); } >/dev/null; then
28602 if test -s conftest.err; then
28603 ac_cpp_err=$ac_c_preproc_warn_flag
28604 else
28605 ac_cpp_err=
28606 fi
28607else
28608 ac_cpp_err=yes
28609fi
28610if test -z "$ac_cpp_err"; then
28611 ac_header_preproc=yes
28612else
28613 echo "$as_me: failed program was:" >&5
28614sed 's/^/| /' conftest.$ac_ext >&5
28615
28616 ac_header_preproc=no
28617fi
28618rm -f conftest.err conftest.$ac_ext
28619echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28620echo "${ECHO_T}$ac_header_preproc" >&6
28621
28622# So? What about this header?
28623case $ac_header_compiler:$ac_header_preproc in
28624 yes:no )
28625 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28626echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28627 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28628echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28629 (
28630 cat <<\_ASBOX
28631## ------------------------------------ ##
28632## Report this to bug-autoconf@gnu.org. ##
28633## ------------------------------------ ##
28634_ASBOX
28635 ) |
28636 sed "s/^/$as_me: WARNING: /" >&2
28637 ;;
28638 no:yes )
28639 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28640echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28641 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28642echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28643 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28644echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28645 (
28646 cat <<\_ASBOX
28647## ------------------------------------ ##
28648## Report this to bug-autoconf@gnu.org. ##
28649## ------------------------------------ ##
28650_ASBOX
28651 ) |
28652 sed "s/^/$as_me: WARNING: /" >&2
28653 ;;
28654esac
28655echo "$as_me:$LINENO: checking for $ac_header" >&5
28656echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28657if eval "test \"\${$as_ac_Header+set}\" = set"; then
28658 echo $ECHO_N "(cached) $ECHO_C" >&6
28659else
28660 eval "$as_ac_Header=$ac_header_preproc"
28661fi
28662echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28663echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28664
28665fi
28666if test `eval echo '${'$as_ac_Header'}'` = yes; then
28667 cat >>confdefs.h <<_ACEOF
28668#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28669_ACEOF
28670
28671 EXTRALIBS_ESD="-lesd"
28672
28673fi
28674
28675done
28676
28677
28678fi
28679
28680
28681
28682
28683
28684cat >confcache <<\_ACEOF
28685# This file is a shell script that caches the results of configure
28686# tests run on this system so they can be shared between configure
28687# scripts and configure runs, see configure's option --config-cache.
28688# It is not useful on other systems. If it contains results you don't
28689# want to keep, you may remove or edit it.
28690#
28691# config.status only pays attention to the cache file if you give it
28692# the --recheck option to rerun configure.
28693#
28694# `ac_cv_env_foo' variables (set or unset) will be overridden when
28695# loading this file, other *unset* `ac_cv_foo' will be assigned the
28696# following values.
28697
28698_ACEOF
28699
28700# The following way of writing the cache mishandles newlines in values,
28701# but we know of no workaround that is simple, portable, and efficient.
28702# So, don't put newlines in cache variables' values.
28703# Ultrix sh set writes to stderr and can't be redirected directly,
28704# and sets the high bit in the cache file unless we assign to the vars.
28705{
28706 (set) 2>&1 |
28707 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28708 *ac_space=\ *)
28709 # `set' does not quote correctly, so add quotes (double-quote
28710 # substitution turns \\\\ into \\, and sed turns \\ into \).
28711 sed -n \
28712 "s/'/'\\\\''/g;
28713 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28714 ;;
28715 *)
28716 # `set' quotes correctly as required by POSIX, so do not add quotes.
28717 sed -n \
28718 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28719 ;;
28720 esac;
28721} |
28722 sed '
28723 t clear
28724 : clear
28725 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28726 t end
28727 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28728 : end' >>confcache
28729if diff $cache_file confcache >/dev/null 2>&1; then :; else
28730 if test -w $cache_file; then
28731 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28732 cat confcache >$cache_file
28733 else
28734 echo "not updating unwritable cache $cache_file"
28735 fi
28736fi
28737rm -f confcache
28738
28739
28740CPP_MT_FLAG=
28741if test "$TOOLKIT" != "MSW"; then
28742
28743
28744 THREADS_LINK=
28745 THREADS_CFLAGS=
28746
28747 if test "$wxUSE_THREADS" = "yes" ; then
28748 if test "$USE_BEOS" = 1; then
28749 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28750echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28751 wxUSE_THREADS="no"
28752 fi
28753 fi
28754
28755 if test "$wxUSE_THREADS" = "yes" ; then
28756
28757
28758 THREAD_OPTS="-pthread"
28759 case "${host}" in
28760 *-*-solaris2* | *-*-sunos4* )
28761 if test "x$GCC" = "xyes"; then
28762 THREAD_OPTS="-pthreads $THREAD_OPTS"
28763 else
28764 THREAD_OPTS="-mt $THREAD_OPTS"
28765 fi
28766 ;;
28767 *-*-freebsd*)
28768 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
28769 ;;
28770 *-*-darwin* | *-*-cygwin* )
28771 THREAD_OPTS=""
28772 ;;
28773 *-*-aix*)
28774 THREAD_OPTS="pthreads"
28775 ;;
28776 *-hp-hpux* )
28777 if test "x$GCC" != "xyes"; then
28778 THREAD_OPTS=""
28779 fi
28780 ;;
28781
28782 *-*-irix* )
28783 if test "x$GCC" = "xyes"; then
28784 THREAD_OPTS=""
28785 fi
28786 ;;
28787
28788 *-*-*UnixWare*)
28789 if test "x$GCC" != "xyes"; then
28790 THREAD_OPTS="-Ethread"
28791 fi
28792 ;;
28793 esac
28794
28795 THREAD_OPTS="$THREAD_OPTS pthread none"
28796
28797 THREADS_OK=no
28798 for flag in $THREAD_OPTS; do
28799 case $flag in
28800 none)
28801 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
28802echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
28803 ;;
28804
28805 -*)
28806 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
28807echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
28808 THREADS_CFLAGS="$flag"
28809 ;;
28810
28811 *)
28812 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
28813echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
28814 THREADS_LINK="-l$flag"
28815 ;;
28816 esac
28817
28818 save_LIBS="$LIBS"
28819 save_CFLAGS="$CFLAGS"
28820 LIBS="$THREADS_LINK $LIBS"
28821 CFLAGS="$THREADS_CFLAGS $CFLAGS"
28822
28823 cat >conftest.$ac_ext <<_ACEOF
28824#line $LINENO "configure"
28825/* confdefs.h. */
28826_ACEOF
28827cat confdefs.h >>conftest.$ac_ext
28828cat >>conftest.$ac_ext <<_ACEOF
28829/* end confdefs.h. */
28830#include <pthread.h>
28831int
28832main ()
28833{
28834pthread_create(0,0,0,0);
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 THREADS_OK=yes
28852else
28853 echo "$as_me: failed program was:" >&5
28854sed 's/^/| /' conftest.$ac_ext >&5
28855
28856fi
28857rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28858
28859 LIBS="$save_LIBS"
28860 CFLAGS="$save_CFLAGS"
28861
28862 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
28863echo "${ECHO_T}$THREADS_OK" >&6
28864 if test "x$THREADS_OK" = "xyes"; then
28865 break;
28866 fi
28867
28868 THREADS_LINK=""
28869 THREADS_CFLAGS=""
28870 done
28871
28872 if test "x$THREADS_OK" != "xyes"; then
28873 wxUSE_THREADS=no
28874 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
28875echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
28876 else
28877 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
28878 LIBS="$THREADS_LINK $LIBS"
28879
28880 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
28881echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
28882 flag=no
28883 case "${host}" in
28884 *-aix*)
28885 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
28886 flag="-D_THREAD_SAFE"
28887 ;;
28888 *-freebsd*)
28889 flag="-D_THREAD_SAFE"
28890 ;;
28891 *-hp-hpux* )
28892 flag="-D_REENTRANT"
28893 if test "x$GCC" != "xyes"; then
28894 flag="$flag -D_RWSTD_MULTI_THREAD"
28895 fi
28896 ;;
28897 *solaris* | alpha*-osf*)
28898 flag="-D_REENTRANT"
28899 ;;
28900 esac
28901 echo "$as_me:$LINENO: result: ${flag}" >&5
28902echo "${ECHO_T}${flag}" >&6
28903 if test "x$flag" != xno; then
28904 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
28905 fi
28906
28907 if test "x$THREADS_CFLAGS" != "x"; then
28908 CFLAGS="$CFLAGS $THREADS_CFLAGS"
28909 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
28910 fi
28911 fi
28912 fi
28913
28914 if test "$wxUSE_THREADS" = "yes" ; then
28915
28916for ac_func in thr_setconcurrency
28917do
28918as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28919echo "$as_me:$LINENO: checking for $ac_func" >&5
28920echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28921if eval "test \"\${$as_ac_var+set}\" = set"; then
28922 echo $ECHO_N "(cached) $ECHO_C" >&6
28923else
28924 cat >conftest.$ac_ext <<_ACEOF
28925#line $LINENO "configure"
28926/* confdefs.h. */
28927_ACEOF
28928cat confdefs.h >>conftest.$ac_ext
28929cat >>conftest.$ac_ext <<_ACEOF
28930/* end confdefs.h. */
28931/* System header to define __stub macros and hopefully few prototypes,
28932 which can conflict with char $ac_func (); below.
28933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28934 <limits.h> exists even on freestanding compilers. */
28935#ifdef __STDC__
28936# include <limits.h>
28937#else
28938# include <assert.h>
28939#endif
28940/* Override any gcc2 internal prototype to avoid an error. */
28941#ifdef __cplusplus
28942extern "C"
28943{
28944#endif
28945/* We use char because int might match the return type of a gcc2
28946 builtin and then its argument prototype would still apply. */
28947char $ac_func ();
28948/* The GNU C library defines this for functions which it implements
28949 to always fail with ENOSYS. Some functions are actually named
28950 something starting with __ and the normal name is an alias. */
28951#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28952choke me
28953#else
28954char (*f) () = $ac_func;
28955#endif
28956#ifdef __cplusplus
28957}
28958#endif
28959
28960int
28961main ()
28962{
28963return f != $ac_func;
28964 ;
28965 return 0;
28966}
28967_ACEOF
28968rm -f conftest.$ac_objext conftest$ac_exeext
28969if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28970 (eval $ac_link) 2>&5
28971 ac_status=$?
28972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28973 (exit $ac_status); } &&
28974 { ac_try='test -s conftest$ac_exeext'
28975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28976 (eval $ac_try) 2>&5
28977 ac_status=$?
28978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28979 (exit $ac_status); }; }; then
28980 eval "$as_ac_var=yes"
28981else
28982 echo "$as_me: failed program was:" >&5
28983sed 's/^/| /' conftest.$ac_ext >&5
28984
28985eval "$as_ac_var=no"
28986fi
28987rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28988fi
28989echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28990echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28991if test `eval echo '${'$as_ac_var'}'` = yes; then
28992 cat >>confdefs.h <<_ACEOF
28993#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28994_ACEOF
28995
28996fi
28997done
28998
28999
29000
29001for ac_header in sched.h
29002do
29003as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29004if eval "test \"\${$as_ac_Header+set}\" = set"; then
29005 echo "$as_me:$LINENO: checking for $ac_header" >&5
29006echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29007if eval "test \"\${$as_ac_Header+set}\" = set"; then
29008 echo $ECHO_N "(cached) $ECHO_C" >&6
29009fi
29010echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29011echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29012else
29013 # Is the header compilable?
29014echo "$as_me:$LINENO: checking $ac_header usability" >&5
29015echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29016cat >conftest.$ac_ext <<_ACEOF
29017#line $LINENO "configure"
29018/* confdefs.h. */
29019_ACEOF
29020cat confdefs.h >>conftest.$ac_ext
29021cat >>conftest.$ac_ext <<_ACEOF
29022/* end confdefs.h. */
29023$ac_includes_default
29024#include <$ac_header>
29025_ACEOF
29026rm -f conftest.$ac_objext
29027if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29028 (eval $ac_compile) 2>&5
29029 ac_status=$?
29030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29031 (exit $ac_status); } &&
29032 { ac_try='test -s conftest.$ac_objext'
29033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29034 (eval $ac_try) 2>&5
29035 ac_status=$?
29036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29037 (exit $ac_status); }; }; then
29038 ac_header_compiler=yes
29039else
29040 echo "$as_me: failed program was:" >&5
29041sed 's/^/| /' conftest.$ac_ext >&5
29042
29043ac_header_compiler=no
29044fi
29045rm -f conftest.$ac_objext conftest.$ac_ext
29046echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29047echo "${ECHO_T}$ac_header_compiler" >&6
29048
29049# Is the header present?
29050echo "$as_me:$LINENO: checking $ac_header presence" >&5
29051echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29052cat >conftest.$ac_ext <<_ACEOF
29053#line $LINENO "configure"
29054/* confdefs.h. */
29055_ACEOF
29056cat confdefs.h >>conftest.$ac_ext
29057cat >>conftest.$ac_ext <<_ACEOF
29058/* end confdefs.h. */
29059#include <$ac_header>
29060_ACEOF
29061if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29062 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29063 ac_status=$?
29064 grep -v '^ *+' conftest.er1 >conftest.err
29065 rm -f conftest.er1
29066 cat conftest.err >&5
29067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29068 (exit $ac_status); } >/dev/null; then
29069 if test -s conftest.err; then
29070 ac_cpp_err=$ac_c_preproc_warn_flag
29071 else
29072 ac_cpp_err=
29073 fi
29074else
29075 ac_cpp_err=yes
29076fi
29077if test -z "$ac_cpp_err"; then
29078 ac_header_preproc=yes
29079else
29080 echo "$as_me: failed program was:" >&5
29081sed 's/^/| /' conftest.$ac_ext >&5
29082
29083 ac_header_preproc=no
29084fi
29085rm -f conftest.err conftest.$ac_ext
29086echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29087echo "${ECHO_T}$ac_header_preproc" >&6
29088
29089# So? What about this header?
29090case $ac_header_compiler:$ac_header_preproc in
29091 yes:no )
29092 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29093echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29094 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29095echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29096 (
29097 cat <<\_ASBOX
29098## ------------------------------------ ##
29099## Report this to bug-autoconf@gnu.org. ##
29100## ------------------------------------ ##
29101_ASBOX
29102 ) |
29103 sed "s/^/$as_me: WARNING: /" >&2
29104 ;;
29105 no:yes )
29106 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29107echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29108 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29109echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29110 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29111echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29112 (
29113 cat <<\_ASBOX
29114## ------------------------------------ ##
29115## Report this to bug-autoconf@gnu.org. ##
29116## ------------------------------------ ##
29117_ASBOX
29118 ) |
29119 sed "s/^/$as_me: WARNING: /" >&2
29120 ;;
29121esac
29122echo "$as_me:$LINENO: checking for $ac_header" >&5
29123echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29124if eval "test \"\${$as_ac_Header+set}\" = set"; then
29125 echo $ECHO_N "(cached) $ECHO_C" >&6
29126else
29127 eval "$as_ac_Header=$ac_header_preproc"
29128fi
29129echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29130echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29131
29132fi
29133if test `eval echo '${'$as_ac_Header'}'` = yes; then
29134 cat >>confdefs.h <<_ACEOF
29135#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29136_ACEOF
29137
29138fi
29139
29140done
29141
29142 if test "$ac_cv_header_sched_h" = "yes"; then
29143 echo "$as_me:$LINENO: checking for sched_yield" >&5
29144echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29145if test "${ac_cv_func_sched_yield+set}" = set; then
29146 echo $ECHO_N "(cached) $ECHO_C" >&6
29147else
29148 cat >conftest.$ac_ext <<_ACEOF
29149#line $LINENO "configure"
29150/* confdefs.h. */
29151_ACEOF
29152cat confdefs.h >>conftest.$ac_ext
29153cat >>conftest.$ac_ext <<_ACEOF
29154/* end confdefs.h. */
29155/* System header to define __stub macros and hopefully few prototypes,
29156 which can conflict with char sched_yield (); below.
29157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29158 <limits.h> exists even on freestanding compilers. */
29159#ifdef __STDC__
29160# include <limits.h>
29161#else
29162# include <assert.h>
29163#endif
29164/* Override any gcc2 internal prototype to avoid an error. */
29165#ifdef __cplusplus
29166extern "C"
29167{
29168#endif
29169/* We use char because int might match the return type of a gcc2
29170 builtin and then its argument prototype would still apply. */
29171char sched_yield ();
29172/* The GNU C library defines this for functions which it implements
29173 to always fail with ENOSYS. Some functions are actually named
29174 something starting with __ and the normal name is an alias. */
29175#if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29176choke me
29177#else
29178char (*f) () = sched_yield;
29179#endif
29180#ifdef __cplusplus
29181}
29182#endif
29183
29184int
29185main ()
29186{
29187return f != sched_yield;
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_func_sched_yield=yes
29205else
29206 echo "$as_me: failed program was:" >&5
29207sed 's/^/| /' conftest.$ac_ext >&5
29208
29209ac_cv_func_sched_yield=no
29210fi
29211rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29212fi
29213echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29214echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29215if test $ac_cv_func_sched_yield = yes; then
29216 cat >>confdefs.h <<\_ACEOF
29217#define HAVE_SCHED_YIELD 1
29218_ACEOF
29219
29220else
29221
29222 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29223echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29224if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29225 echo $ECHO_N "(cached) $ECHO_C" >&6
29226else
29227 ac_check_lib_save_LIBS=$LIBS
29228LIBS="-lposix4 $LIBS"
29229cat >conftest.$ac_ext <<_ACEOF
29230#line $LINENO "configure"
29231/* confdefs.h. */
29232_ACEOF
29233cat confdefs.h >>conftest.$ac_ext
29234cat >>conftest.$ac_ext <<_ACEOF
29235/* end confdefs.h. */
29236
29237/* Override any gcc2 internal prototype to avoid an error. */
29238#ifdef __cplusplus
29239extern "C"
29240#endif
29241/* We use char because int might match the return type of a gcc2
29242 builtin and then its argument prototype would still apply. */
29243char sched_yield ();
29244int
29245main ()
29246{
29247sched_yield ();
29248 ;
29249 return 0;
29250}
29251_ACEOF
29252rm -f conftest.$ac_objext conftest$ac_exeext
29253if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29254 (eval $ac_link) 2>&5
29255 ac_status=$?
29256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29257 (exit $ac_status); } &&
29258 { ac_try='test -s conftest$ac_exeext'
29259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29260 (eval $ac_try) 2>&5
29261 ac_status=$?
29262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29263 (exit $ac_status); }; }; then
29264 ac_cv_lib_posix4_sched_yield=yes
29265else
29266 echo "$as_me: failed program was:" >&5
29267sed 's/^/| /' conftest.$ac_ext >&5
29268
29269ac_cv_lib_posix4_sched_yield=no
29270fi
29271rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29272LIBS=$ac_check_lib_save_LIBS
29273fi
29274echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29275echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29276if test $ac_cv_lib_posix4_sched_yield = yes; then
29277 cat >>confdefs.h <<\_ACEOF
29278#define HAVE_SCHED_YIELD 1
29279_ACEOF
29280 POSIX4_LINK=" -lposix4"
29281else
29282 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29283echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29284
29285fi
29286
29287
29288
29289fi
29290
29291 fi
29292
29293 HAVE_PRIOR_FUNCS=0
29294 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29295echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29296if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29297 echo $ECHO_N "(cached) $ECHO_C" >&6
29298else
29299 cat >conftest.$ac_ext <<_ACEOF
29300#line $LINENO "configure"
29301/* confdefs.h. */
29302_ACEOF
29303cat confdefs.h >>conftest.$ac_ext
29304cat >>conftest.$ac_ext <<_ACEOF
29305/* end confdefs.h. */
29306/* System header to define __stub macros and hopefully few prototypes,
29307 which can conflict with char pthread_attr_getschedpolicy (); below.
29308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29309 <limits.h> exists even on freestanding compilers. */
29310#ifdef __STDC__
29311# include <limits.h>
29312#else
29313# include <assert.h>
29314#endif
29315/* Override any gcc2 internal prototype to avoid an error. */
29316#ifdef __cplusplus
29317extern "C"
29318{
29319#endif
29320/* We use char because int might match the return type of a gcc2
29321 builtin and then its argument prototype would still apply. */
29322char pthread_attr_getschedpolicy ();
29323/* The GNU C library defines this for functions which it implements
29324 to always fail with ENOSYS. Some functions are actually named
29325 something starting with __ and the normal name is an alias. */
29326#if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29327choke me
29328#else
29329char (*f) () = pthread_attr_getschedpolicy;
29330#endif
29331#ifdef __cplusplus
29332}
29333#endif
29334
29335int
29336main ()
29337{
29338return f != pthread_attr_getschedpolicy;
29339 ;
29340 return 0;
29341}
29342_ACEOF
29343rm -f conftest.$ac_objext conftest$ac_exeext
29344if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29345 (eval $ac_link) 2>&5
29346 ac_status=$?
29347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29348 (exit $ac_status); } &&
29349 { ac_try='test -s conftest$ac_exeext'
29350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29351 (eval $ac_try) 2>&5
29352 ac_status=$?
29353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29354 (exit $ac_status); }; }; then
29355 ac_cv_func_pthread_attr_getschedpolicy=yes
29356else
29357 echo "$as_me: failed program was:" >&5
29358sed 's/^/| /' conftest.$ac_ext >&5
29359
29360ac_cv_func_pthread_attr_getschedpolicy=no
29361fi
29362rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29363fi
29364echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29365echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29366if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29367 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29368echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29369if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29370 echo $ECHO_N "(cached) $ECHO_C" >&6
29371else
29372 cat >conftest.$ac_ext <<_ACEOF
29373#line $LINENO "configure"
29374/* confdefs.h. */
29375_ACEOF
29376cat confdefs.h >>conftest.$ac_ext
29377cat >>conftest.$ac_ext <<_ACEOF
29378/* end confdefs.h. */
29379/* System header to define __stub macros and hopefully few prototypes,
29380 which can conflict with char pthread_attr_setschedparam (); below.
29381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29382 <limits.h> exists even on freestanding compilers. */
29383#ifdef __STDC__
29384# include <limits.h>
29385#else
29386# include <assert.h>
29387#endif
29388/* Override any gcc2 internal prototype to avoid an error. */
29389#ifdef __cplusplus
29390extern "C"
29391{
29392#endif
29393/* We use char because int might match the return type of a gcc2
29394 builtin and then its argument prototype would still apply. */
29395char pthread_attr_setschedparam ();
29396/* The GNU C library defines this for functions which it implements
29397 to always fail with ENOSYS. Some functions are actually named
29398 something starting with __ and the normal name is an alias. */
29399#if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29400choke me
29401#else
29402char (*f) () = pthread_attr_setschedparam;
29403#endif
29404#ifdef __cplusplus
29405}
29406#endif
29407
29408int
29409main ()
29410{
29411return f != pthread_attr_setschedparam;
29412 ;
29413 return 0;
29414}
29415_ACEOF
29416rm -f conftest.$ac_objext conftest$ac_exeext
29417if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29418 (eval $ac_link) 2>&5
29419 ac_status=$?
29420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29421 (exit $ac_status); } &&
29422 { ac_try='test -s conftest$ac_exeext'
29423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29424 (eval $ac_try) 2>&5
29425 ac_status=$?
29426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29427 (exit $ac_status); }; }; then
29428 ac_cv_func_pthread_attr_setschedparam=yes
29429else
29430 echo "$as_me: failed program was:" >&5
29431sed 's/^/| /' conftest.$ac_ext >&5
29432
29433ac_cv_func_pthread_attr_setschedparam=no
29434fi
29435rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29436fi
29437echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29438echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29439if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29440 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29441echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29442if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29443 echo $ECHO_N "(cached) $ECHO_C" >&6
29444else
29445 cat >conftest.$ac_ext <<_ACEOF
29446#line $LINENO "configure"
29447/* confdefs.h. */
29448_ACEOF
29449cat confdefs.h >>conftest.$ac_ext
29450cat >>conftest.$ac_ext <<_ACEOF
29451/* end confdefs.h. */
29452/* System header to define __stub macros and hopefully few prototypes,
29453 which can conflict with char sched_get_priority_max (); below.
29454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29455 <limits.h> exists even on freestanding compilers. */
29456#ifdef __STDC__
29457# include <limits.h>
29458#else
29459# include <assert.h>
29460#endif
29461/* Override any gcc2 internal prototype to avoid an error. */
29462#ifdef __cplusplus
29463extern "C"
29464{
29465#endif
29466/* We use char because int might match the return type of a gcc2
29467 builtin and then its argument prototype would still apply. */
29468char sched_get_priority_max ();
29469/* The GNU C library defines this for functions which it implements
29470 to always fail with ENOSYS. Some functions are actually named
29471 something starting with __ and the normal name is an alias. */
29472#if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29473choke me
29474#else
29475char (*f) () = sched_get_priority_max;
29476#endif
29477#ifdef __cplusplus
29478}
29479#endif
29480
29481int
29482main ()
29483{
29484return f != sched_get_priority_max;
29485 ;
29486 return 0;
29487}
29488_ACEOF
29489rm -f conftest.$ac_objext conftest$ac_exeext
29490if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29491 (eval $ac_link) 2>&5
29492 ac_status=$?
29493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29494 (exit $ac_status); } &&
29495 { ac_try='test -s conftest$ac_exeext'
29496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29497 (eval $ac_try) 2>&5
29498 ac_status=$?
29499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29500 (exit $ac_status); }; }; then
29501 ac_cv_func_sched_get_priority_max=yes
29502else
29503 echo "$as_me: failed program was:" >&5
29504sed 's/^/| /' conftest.$ac_ext >&5
29505
29506ac_cv_func_sched_get_priority_max=no
29507fi
29508rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29509fi
29510echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29511echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29512if test $ac_cv_func_sched_get_priority_max = yes; then
29513 HAVE_PRIOR_FUNCS=1
29514else
29515 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29516echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29517if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29518 echo $ECHO_N "(cached) $ECHO_C" >&6
29519else
29520 ac_check_lib_save_LIBS=$LIBS
29521LIBS="-lposix4 $LIBS"
29522cat >conftest.$ac_ext <<_ACEOF
29523#line $LINENO "configure"
29524/* confdefs.h. */
29525_ACEOF
29526cat confdefs.h >>conftest.$ac_ext
29527cat >>conftest.$ac_ext <<_ACEOF
29528/* end confdefs.h. */
29529
29530/* Override any gcc2 internal prototype to avoid an error. */
29531#ifdef __cplusplus
29532extern "C"
29533#endif
29534/* We use char because int might match the return type of a gcc2
29535 builtin and then its argument prototype would still apply. */
29536char sched_get_priority_max ();
29537int
29538main ()
29539{
29540sched_get_priority_max ();
29541 ;
29542 return 0;
29543}
29544_ACEOF
29545rm -f conftest.$ac_objext conftest$ac_exeext
29546if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29547 (eval $ac_link) 2>&5
29548 ac_status=$?
29549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29550 (exit $ac_status); } &&
29551 { ac_try='test -s conftest$ac_exeext'
29552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29553 (eval $ac_try) 2>&5
29554 ac_status=$?
29555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29556 (exit $ac_status); }; }; then
29557 ac_cv_lib_posix4_sched_get_priority_max=yes
29558else
29559 echo "$as_me: failed program was:" >&5
29560sed 's/^/| /' conftest.$ac_ext >&5
29561
29562ac_cv_lib_posix4_sched_get_priority_max=no
29563fi
29564rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29565LIBS=$ac_check_lib_save_LIBS
29566fi
29567echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29568echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29569if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29570
29571 HAVE_PRIOR_FUNCS=1
29572 POSIX4_LINK=" -lposix4"
29573
29574fi
29575
29576
29577fi
29578
29579
29580fi
29581
29582
29583fi
29584
29585
29586 if test "$HAVE_PRIOR_FUNCS" = 1; then
29587 cat >>confdefs.h <<\_ACEOF
29588#define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29589_ACEOF
29590
29591 else
29592 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29593echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29594 fi
29595
29596 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29597echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29598if test "${ac_cv_func_pthread_cancel+set}" = set; then
29599 echo $ECHO_N "(cached) $ECHO_C" >&6
29600else
29601 cat >conftest.$ac_ext <<_ACEOF
29602#line $LINENO "configure"
29603/* confdefs.h. */
29604_ACEOF
29605cat confdefs.h >>conftest.$ac_ext
29606cat >>conftest.$ac_ext <<_ACEOF
29607/* end confdefs.h. */
29608/* System header to define __stub macros and hopefully few prototypes,
29609 which can conflict with char pthread_cancel (); below.
29610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29611 <limits.h> exists even on freestanding compilers. */
29612#ifdef __STDC__
29613# include <limits.h>
29614#else
29615# include <assert.h>
29616#endif
29617/* Override any gcc2 internal prototype to avoid an error. */
29618#ifdef __cplusplus
29619extern "C"
29620{
29621#endif
29622/* We use char because int might match the return type of a gcc2
29623 builtin and then its argument prototype would still apply. */
29624char pthread_cancel ();
29625/* The GNU C library defines this for functions which it implements
29626 to always fail with ENOSYS. Some functions are actually named
29627 something starting with __ and the normal name is an alias. */
29628#if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29629choke me
29630#else
29631char (*f) () = pthread_cancel;
29632#endif
29633#ifdef __cplusplus
29634}
29635#endif
29636
29637int
29638main ()
29639{
29640return f != pthread_cancel;
29641 ;
29642 return 0;
29643}
29644_ACEOF
29645rm -f conftest.$ac_objext conftest$ac_exeext
29646if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29647 (eval $ac_link) 2>&5
29648 ac_status=$?
29649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29650 (exit $ac_status); } &&
29651 { ac_try='test -s conftest$ac_exeext'
29652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29653 (eval $ac_try) 2>&5
29654 ac_status=$?
29655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29656 (exit $ac_status); }; }; then
29657 ac_cv_func_pthread_cancel=yes
29658else
29659 echo "$as_me: failed program was:" >&5
29660sed 's/^/| /' conftest.$ac_ext >&5
29661
29662ac_cv_func_pthread_cancel=no
29663fi
29664rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29665fi
29666echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29667echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29668if test $ac_cv_func_pthread_cancel = yes; then
29669 cat >>confdefs.h <<\_ACEOF
29670#define HAVE_PTHREAD_CANCEL 1
29671_ACEOF
29672
29673else
29674 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29675echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29676fi
29677
29678
29679 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29680echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29681if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29682 echo $ECHO_N "(cached) $ECHO_C" >&6
29683else
29684
29685 cat >conftest.$ac_ext <<_ACEOF
29686#line $LINENO "configure"
29687/* confdefs.h. */
29688_ACEOF
29689cat confdefs.h >>conftest.$ac_ext
29690cat >>conftest.$ac_ext <<_ACEOF
29691/* end confdefs.h. */
29692#include <pthread.h>
29693int
29694main ()
29695{
29696
29697 pthread_cleanup_push(NULL, NULL);
29698 pthread_cleanup_pop(0);
29699
29700 ;
29701 return 0;
29702}
29703_ACEOF
29704rm -f conftest.$ac_objext
29705if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29706 (eval $ac_compile) 2>&5
29707 ac_status=$?
29708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29709 (exit $ac_status); } &&
29710 { ac_try='test -s conftest.$ac_objext'
29711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29712 (eval $ac_try) 2>&5
29713 ac_status=$?
29714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29715 (exit $ac_status); }; }; then
29716
29717 wx_cv_func_pthread_cleanup_push=yes
29718
29719else
29720 echo "$as_me: failed program was:" >&5
29721sed 's/^/| /' conftest.$ac_ext >&5
29722
29723
29724 wx_cv_func_pthread_cleanup_push=no
29725
29726fi
29727rm -f conftest.$ac_objext conftest.$ac_ext
29728
29729fi
29730echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29731echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29732
29733 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29734 cat >>confdefs.h <<\_ACEOF
29735#define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29736_ACEOF
29737
29738 fi
29739
29740
29741 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29742echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29743if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29744 echo $ECHO_N "(cached) $ECHO_C" >&6
29745else
29746
29747 cat >conftest.$ac_ext <<_ACEOF
29748#line $LINENO "configure"
29749/* confdefs.h. */
29750_ACEOF
29751cat confdefs.h >>conftest.$ac_ext
29752cat >>conftest.$ac_ext <<_ACEOF
29753/* end confdefs.h. */
29754#include <pthread.h>
29755int
29756main ()
29757{
29758
29759 pthread_mutexattr_t attr;
29760 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29761
29762 ;
29763 return 0;
29764}
29765_ACEOF
29766rm -f conftest.$ac_objext
29767if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29768 (eval $ac_compile) 2>&5
29769 ac_status=$?
29770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29771 (exit $ac_status); } &&
29772 { ac_try='test -s conftest.$ac_objext'
29773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29774 (eval $ac_try) 2>&5
29775 ac_status=$?
29776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29777 (exit $ac_status); }; }; then
29778
29779 wx_cv_type_pthread_mutexattr_t=yes
29780
29781else
29782 echo "$as_me: failed program was:" >&5
29783sed 's/^/| /' conftest.$ac_ext >&5
29784
29785
29786 wx_cv_type_pthread_mutexattr_t=no
29787
29788
29789fi
29790rm -f conftest.$ac_objext conftest.$ac_ext
29791
29792fi
29793echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29794echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29795
29796 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29797 cat >>confdefs.h <<\_ACEOF
29798#define HAVE_PTHREAD_MUTEXATTR_T 1
29799_ACEOF
29800
29801 else
29802 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29803echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29804if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29805 echo $ECHO_N "(cached) $ECHO_C" >&6
29806else
29807
29808 cat >conftest.$ac_ext <<_ACEOF
29809#line $LINENO "configure"
29810/* confdefs.h. */
29811_ACEOF
29812cat confdefs.h >>conftest.$ac_ext
29813cat >>conftest.$ac_ext <<_ACEOF
29814/* end confdefs.h. */
29815#include <pthread.h>
29816int
29817main ()
29818{
29819
29820 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29821
29822 ;
29823 return 0;
29824}
29825_ACEOF
29826rm -f conftest.$ac_objext
29827if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29828 (eval $ac_compile) 2>&5
29829 ac_status=$?
29830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29831 (exit $ac_status); } &&
29832 { ac_try='test -s conftest.$ac_objext'
29833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29834 (eval $ac_try) 2>&5
29835 ac_status=$?
29836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29837 (exit $ac_status); }; }; then
29838
29839 wx_cv_type_pthread_rec_mutex_init=yes
29840
29841else
29842 echo "$as_me: failed program was:" >&5
29843sed 's/^/| /' conftest.$ac_ext >&5
29844
29845
29846 wx_cv_type_pthread_rec_mutex_init=no
29847
29848
29849fi
29850rm -f conftest.$ac_objext conftest.$ac_ext
29851
29852fi
29853echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
29854echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
29855 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
29856 cat >>confdefs.h <<\_ACEOF
29857#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
29858_ACEOF
29859
29860 else
29861 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
29862echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
29863 fi
29864 fi
29865 fi
29866
29867else
29868 if test "$wxUSE_THREADS" = "yes" ; then
29869 case "${host}" in
29870 *-*-mingw32* )
29871 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
29872echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
29873if test "${wx_cv_cflags_mthread+set}" = set; then
29874 echo $ECHO_N "(cached) $ECHO_C" >&6
29875else
29876
29877 CFLAGS_OLD="$CFLAGS"
29878 CFLAGS="$CFLAGS -mthreads"
29879 cat >conftest.$ac_ext <<_ACEOF
29880#line $LINENO "configure"
29881/* confdefs.h. */
29882_ACEOF
29883cat confdefs.h >>conftest.$ac_ext
29884cat >>conftest.$ac_ext <<_ACEOF
29885/* end confdefs.h. */
29886
29887int
29888main ()
29889{
29890
29891 ;
29892 return 0;
29893}
29894_ACEOF
29895rm -f conftest.$ac_objext
29896if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29897 (eval $ac_compile) 2>&5
29898 ac_status=$?
29899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29900 (exit $ac_status); } &&
29901 { ac_try='test -s conftest.$ac_objext'
29902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29903 (eval $ac_try) 2>&5
29904 ac_status=$?
29905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29906 (exit $ac_status); }; }; then
29907 wx_cv_cflags_mthread=yes
29908else
29909 echo "$as_me: failed program was:" >&5
29910sed 's/^/| /' conftest.$ac_ext >&5
29911
29912wx_cv_cflags_mthread=no
29913
29914fi
29915rm -f conftest.$ac_objext conftest.$ac_ext
29916
29917
29918fi
29919echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
29920echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
29921
29922 if test "$wx_cv_cflags_mthread" = "yes"; then
29923 CXXFLAGS="$CXXFLAGS -mthreads"
29924 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
29925 LDFLAGS="$LDFLAGS -mthreads"
29926 else
29927 CFLAGS="$CFLAGS_OLD"
29928 fi
29929 ;;
29930 esac
29931 fi
29932fi
29933
29934if test "$wxUSE_THREADS" = "yes"; then
29935 cat >>confdefs.h <<\_ACEOF
29936#define wxUSE_THREADS 1
29937_ACEOF
29938
29939
29940 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
29941else
29942 if test "$ac_cv_func_strtok_r" = "yes"; then
29943 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
29944echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
29945 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
29946 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
29947 echo "$as_me:$LINENO: result: yes" >&5
29948echo "${ECHO_T}yes" >&6
29949 else
29950 echo "$as_me:$LINENO: result: no" >&5
29951echo "${ECHO_T}no" >&6
29952 fi
29953 fi
29954fi
29955
29956if test "$WXGTK20" = 1 ; then
29957 cat >>confdefs.h <<_ACEOF
29958#define __WXGTK20__ $WXGTK20
29959_ACEOF
29960
29961 WXGTK12=1
29962fi
29963
29964if test "$WXGTK12" = 1 ; then
29965 cat >>confdefs.h <<_ACEOF
29966#define __WXGTK12__ $WXGTK12
29967_ACEOF
29968
29969fi
29970
29971if test "$WXGTK127" = 1 ; then
29972 cat >>confdefs.h <<_ACEOF
29973#define __WXGTK127__ $WXGTK127
29974_ACEOF
29975
29976fi
29977
29978WXDEBUG=
29979
29980if test "$wxUSE_DEBUG_INFO" = "yes" ; then
29981 WXDEBUG="-g"
29982 wxUSE_OPTIMISE=no
29983fi
29984
29985if test "$wxUSE_DEBUG_GDB" = "yes" ; then
29986 wxUSE_DEBUG_INFO=yes
29987 WXDEBUG="-ggdb"
29988fi
29989
29990if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
29991 cat >>confdefs.h <<\_ACEOF
29992#define WXDEBUG 1
29993_ACEOF
29994
29995 WXDEBUG_DEFINE="-D__WXDEBUG__"
29996else
29997 if test "$wxUSE_GTK" = 1 ; then
29998 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
29999 fi
30000fi
30001
30002if test "$wxUSE_MEM_TRACING" = "yes" ; then
30003 cat >>confdefs.h <<\_ACEOF
30004#define wxUSE_MEMORY_TRACING 1
30005_ACEOF
30006
30007 cat >>confdefs.h <<\_ACEOF
30008#define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30009_ACEOF
30010
30011 cat >>confdefs.h <<\_ACEOF
30012#define wxUSE_DEBUG_NEW_ALWAYS 1
30013_ACEOF
30014
30015 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
30016fi
30017
30018if test "$wxUSE_DMALLOC" = "yes" ; then
30019 DMALLOC_LIBS="-ldmalloc"
30020fi
30021
30022PROFILE=
30023if test "$wxUSE_PROFILE" = "yes" ; then
30024 PROFILE=" -pg"
30025fi
30026
30027CODE_GEN_FLAGS=
30028CODE_GEN_FLAGS_CXX=
30029if test "$GCC" = "yes" ; then
30030 if test "$wxUSE_NO_RTTI" = "yes" ; then
30031 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
30032 fi
30033 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30034 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30035 fi
30036 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30037 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
30038 fi
30039
30040 case "${host}" in
30041 powerpc*-*-aix* )
30042 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
30043 ;;
30044 *-hppa* )
30045 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
30046 ;;
30047 esac
30048fi
30049
30050OPTIMISE=
30051if test "$wxUSE_OPTIMISE" = "no" ; then
30052 if test "$GCC" = yes ; then
30053 OPTIMISE="-O0"
30054 fi
30055else
30056 if test "$GCC" = yes ; then
30057 OPTIMISE="-O2"
30058
30059 case "${host}" in
30060 i586-*-*|i686-*-* )
30061 OPTIMISE="${OPTIMISE} "
30062 ;;
30063 esac
30064 else
30065 OPTIMISE="-O"
30066 fi
30067fi
30068
30069
30070if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30071 cat >>confdefs.h <<\_ACEOF
30072#define WXWIN_COMPATIBILITY_2_2 1
30073_ACEOF
30074
30075
30076 WXWIN_COMPATIBILITY_2_4="yes"
30077fi
30078
30079if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30080 cat >>confdefs.h <<\_ACEOF
30081#define WXWIN_COMPATIBILITY_2_4 1
30082_ACEOF
30083
30084fi
30085
30086
30087if test "$wxUSE_GUI" = "yes"; then
30088 cat >>confdefs.h <<\_ACEOF
30089#define wxUSE_GUI 1
30090_ACEOF
30091
30092
30093 else
30094 cat >>confdefs.h <<\_ACEOF
30095#define wxUSE_NOGUI 1
30096_ACEOF
30097
30098fi
30099
30100
30101if test "$wxUSE_UNIX" = "yes"; then
30102 cat >>confdefs.h <<\_ACEOF
30103#define wxUSE_UNIX 1
30104_ACEOF
30105
30106fi
30107
30108
30109if test "$wxUSE_STL" = "yes"; then
30110 cat >>confdefs.h <<\_ACEOF
30111#define wxUSE_STL 1
30112_ACEOF
30113
30114fi
30115
30116if test "$wxUSE_APPLE_IEEE" = "yes"; then
30117 cat >>confdefs.h <<\_ACEOF
30118#define wxUSE_APPLE_IEEE 1
30119_ACEOF
30120
30121fi
30122
30123if test "$wxUSE_TIMER" = "yes"; then
30124 cat >>confdefs.h <<\_ACEOF
30125#define wxUSE_TIMER 1
30126_ACEOF
30127
30128fi
30129
30130if test "$wxUSE_WAVE" = "yes"; then
30131 cat >>confdefs.h <<\_ACEOF
30132#define wxUSE_WAVE 1
30133_ACEOF
30134
30135fi
30136
30137if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30138 cat >>confdefs.h <<\_ACEOF
30139#define wxUSE_CMDLINE_PARSER 1
30140_ACEOF
30141
30142fi
30143
30144if test "$wxUSE_STOPWATCH" = "yes"; then
30145 cat >>confdefs.h <<\_ACEOF
30146#define wxUSE_STOPWATCH 1
30147_ACEOF
30148
30149fi
30150
30151if test "$wxUSE_DATETIME" = "yes"; then
30152 cat >>confdefs.h <<\_ACEOF
30153#define wxUSE_DATETIME 1
30154_ACEOF
30155
30156fi
30157
30158if test "$wxUSE_FILE" = "yes"; then
30159 cat >>confdefs.h <<\_ACEOF
30160#define wxUSE_FILE 1
30161_ACEOF
30162
30163fi
30164
30165if test "$wxUSE_FFILE" = "yes"; then
30166 cat >>confdefs.h <<\_ACEOF
30167#define wxUSE_FFILE 1
30168_ACEOF
30169
30170fi
30171
30172if test "$wxUSE_FILESYSTEM" = "yes"; then
30173 cat >>confdefs.h <<\_ACEOF
30174#define wxUSE_FILESYSTEM 1
30175_ACEOF
30176
30177fi
30178
30179if test "$wxUSE_FS_ZIP" = "yes"; then
30180 cat >>confdefs.h <<\_ACEOF
30181#define wxUSE_FS_ZIP 1
30182_ACEOF
30183
30184fi
30185
30186if test "$wxUSE_ZIPSTREAM" = "yes"; then
30187 cat >>confdefs.h <<\_ACEOF
30188#define wxUSE_ZIPSTREAM 1
30189_ACEOF
30190
30191fi
30192
30193if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30194 cat >>confdefs.h <<\_ACEOF
30195#define wxUSE_ON_FATAL_EXCEPTION 1
30196_ACEOF
30197
30198fi
30199
30200if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30201 cat >>confdefs.h <<\_ACEOF
30202#define wxUSE_SNGLINST_CHECKER 1
30203_ACEOF
30204
30205fi
30206
30207if test "$wxUSE_BUSYINFO" = "yes"; then
30208 cat >>confdefs.h <<\_ACEOF
30209#define wxUSE_BUSYINFO 1
30210_ACEOF
30211
30212fi
30213
30214if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30215 cat >>confdefs.h <<\_ACEOF
30216#define wxUSE_STD_IOSTREAM 1
30217_ACEOF
30218
30219fi
30220
30221if test "$wxUSE_TEXTBUFFER" = "yes"; then
30222 cat >>confdefs.h <<\_ACEOF
30223#define wxUSE_TEXTBUFFER 1
30224_ACEOF
30225
30226fi
30227
30228if test "$wxUSE_TEXTFILE" = "yes"; then
30229 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30230 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30231echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30232 else
30233 cat >>confdefs.h <<\_ACEOF
30234#define wxUSE_TEXTFILE 1
30235_ACEOF
30236
30237 fi
30238fi
30239
30240if test "$wxUSE_CONFIG" = "yes" ; then
30241 if test "$wxUSE_TEXTFILE" != "yes"; then
30242 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30243echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30244 else
30245 cat >>confdefs.h <<\_ACEOF
30246#define wxUSE_CONFIG 1
30247_ACEOF
30248
30249 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
30250 fi
30251fi
30252
30253if test "$wxUSE_INTL" = "yes" ; then
30254 if test "$wxUSE_FILE" != "yes"; then
30255 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30256echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30257 else
30258 cat >>confdefs.h <<\_ACEOF
30259#define wxUSE_INTL 1
30260_ACEOF
30261
30262 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
30263 GUIDIST="$GUIDIST INTL_DIST"
30264 fi
30265fi
30266
30267if test "$wxUSE_LOG" = "yes"; then
30268 cat >>confdefs.h <<\_ACEOF
30269#define wxUSE_LOG 1
30270_ACEOF
30271
30272
30273 if test "$wxUSE_LOGGUI" = "yes"; then
30274 cat >>confdefs.h <<\_ACEOF
30275#define wxUSE_LOGGUI 1
30276_ACEOF
30277
30278 fi
30279
30280 if test "$wxUSE_LOGWINDOW" = "yes"; then
30281 cat >>confdefs.h <<\_ACEOF
30282#define wxUSE_LOGWINDOW 1
30283_ACEOF
30284
30285 fi
30286
30287 if test "$wxUSE_LOGDIALOG" = "yes"; then
30288 cat >>confdefs.h <<\_ACEOF
30289#define wxUSE_LOG_DIALOG 1
30290_ACEOF
30291
30292 fi
30293fi
30294
30295if test "$wxUSE_LONGLONG" = "yes"; then
30296 cat >>confdefs.h <<\_ACEOF
30297#define wxUSE_LONGLONG 1
30298_ACEOF
30299
30300fi
30301
30302if test "$wxUSE_GEOMETRY" = "yes"; then
30303 cat >>confdefs.h <<\_ACEOF
30304#define wxUSE_GEOMETRY 1
30305_ACEOF
30306
30307fi
30308
30309if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30310 cat >>confdefs.h <<\_ACEOF
30311#define wxUSE_DIALUP_MANAGER 1
30312_ACEOF
30313
30314 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
30315fi
30316
30317if test "$wxUSE_STREAMS" = "yes" ; then
30318 cat >>confdefs.h <<\_ACEOF
30319#define wxUSE_STREAMS 1
30320_ACEOF
30321
30322fi
30323
30324
30325if test "$wxUSE_DATETIME" = "yes"; then
30326
30327for ac_func in strptime
30328do
30329as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30330echo "$as_me:$LINENO: checking for $ac_func" >&5
30331echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30332if eval "test \"\${$as_ac_var+set}\" = set"; then
30333 echo $ECHO_N "(cached) $ECHO_C" >&6
30334else
30335 cat >conftest.$ac_ext <<_ACEOF
30336#line $LINENO "configure"
30337/* confdefs.h. */
30338_ACEOF
30339cat confdefs.h >>conftest.$ac_ext
30340cat >>conftest.$ac_ext <<_ACEOF
30341/* end confdefs.h. */
30342/* System header to define __stub macros and hopefully few prototypes,
30343 which can conflict with char $ac_func (); below.
30344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30345 <limits.h> exists even on freestanding compilers. */
30346#ifdef __STDC__
30347# include <limits.h>
30348#else
30349# include <assert.h>
30350#endif
30351/* Override any gcc2 internal prototype to avoid an error. */
30352#ifdef __cplusplus
30353extern "C"
30354{
30355#endif
30356/* We use char because int might match the return type of a gcc2
30357 builtin and then its argument prototype would still apply. */
30358char $ac_func ();
30359/* The GNU C library defines this for functions which it implements
30360 to always fail with ENOSYS. Some functions are actually named
30361 something starting with __ and the normal name is an alias. */
30362#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30363choke me
30364#else
30365char (*f) () = $ac_func;
30366#endif
30367#ifdef __cplusplus
30368}
30369#endif
30370
30371int
30372main ()
30373{
30374return f != $ac_func;
30375 ;
30376 return 0;
30377}
30378_ACEOF
30379rm -f conftest.$ac_objext conftest$ac_exeext
30380if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30381 (eval $ac_link) 2>&5
30382 ac_status=$?
30383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30384 (exit $ac_status); } &&
30385 { ac_try='test -s conftest$ac_exeext'
30386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30387 (eval $ac_try) 2>&5
30388 ac_status=$?
30389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30390 (exit $ac_status); }; }; then
30391 eval "$as_ac_var=yes"
30392else
30393 echo "$as_me: failed program was:" >&5
30394sed 's/^/| /' conftest.$ac_ext >&5
30395
30396eval "$as_ac_var=no"
30397fi
30398rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30399fi
30400echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30401echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30402if test `eval echo '${'$as_ac_var'}'` = yes; then
30403 cat >>confdefs.h <<_ACEOF
30404#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30405_ACEOF
30406
30407fi
30408done
30409
30410
30411 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30412echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30413if test "${wx_cv_var_timezone+set}" = set; then
30414 echo $ECHO_N "(cached) $ECHO_C" >&6
30415else
30416
30417 cat >conftest.$ac_ext <<_ACEOF
30418#line $LINENO "configure"
30419/* confdefs.h. */
30420_ACEOF
30421cat confdefs.h >>conftest.$ac_ext
30422cat >>conftest.$ac_ext <<_ACEOF
30423/* end confdefs.h. */
30424
30425 #include <time.h>
30426
30427int
30428main ()
30429{
30430
30431 int tz;
30432 tz = timezone;
30433
30434 ;
30435 return 0;
30436}
30437_ACEOF
30438rm -f conftest.$ac_objext
30439if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30440 (eval $ac_compile) 2>&5
30441 ac_status=$?
30442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30443 (exit $ac_status); } &&
30444 { ac_try='test -s conftest.$ac_objext'
30445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30446 (eval $ac_try) 2>&5
30447 ac_status=$?
30448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30449 (exit $ac_status); }; }; then
30450
30451 wx_cv_var_timezone=timezone
30452
30453else
30454 echo "$as_me: failed program was:" >&5
30455sed 's/^/| /' conftest.$ac_ext >&5
30456
30457
30458 cat >conftest.$ac_ext <<_ACEOF
30459#line $LINENO "configure"
30460/* confdefs.h. */
30461_ACEOF
30462cat confdefs.h >>conftest.$ac_ext
30463cat >>conftest.$ac_ext <<_ACEOF
30464/* end confdefs.h. */
30465
30466 #include <time.h>
30467
30468int
30469main ()
30470{
30471
30472 int tz;
30473 tz = _timezone;
30474
30475 ;
30476 return 0;
30477}
30478_ACEOF
30479rm -f conftest.$ac_objext
30480if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30481 (eval $ac_compile) 2>&5
30482 ac_status=$?
30483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30484 (exit $ac_status); } &&
30485 { ac_try='test -s conftest.$ac_objext'
30486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30487 (eval $ac_try) 2>&5
30488 ac_status=$?
30489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30490 (exit $ac_status); }; }; then
30491
30492 wx_cv_var_timezone=_timezone
30493
30494else
30495 echo "$as_me: failed program was:" >&5
30496sed 's/^/| /' conftest.$ac_ext >&5
30497
30498
30499 cat >conftest.$ac_ext <<_ACEOF
30500#line $LINENO "configure"
30501/* confdefs.h. */
30502_ACEOF
30503cat confdefs.h >>conftest.$ac_ext
30504cat >>conftest.$ac_ext <<_ACEOF
30505/* end confdefs.h. */
30506
30507 #include <time.h>
30508
30509int
30510main ()
30511{
30512
30513 int tz;
30514 tz = __timezone;
30515
30516 ;
30517 return 0;
30518}
30519_ACEOF
30520rm -f conftest.$ac_objext
30521if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30522 (eval $ac_compile) 2>&5
30523 ac_status=$?
30524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30525 (exit $ac_status); } &&
30526 { ac_try='test -s conftest.$ac_objext'
30527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30528 (eval $ac_try) 2>&5
30529 ac_status=$?
30530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30531 (exit $ac_status); }; }; then
30532
30533 wx_cv_var_timezone=__timezone
30534
30535else
30536 echo "$as_me: failed program was:" >&5
30537sed 's/^/| /' conftest.$ac_ext >&5
30538
30539
30540 if test "$USE_DOS" = 0 ; then
30541 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30542echo "$as_me: WARNING: no timezone variable" >&2;}
30543 fi
30544
30545
30546fi
30547rm -f conftest.$ac_objext conftest.$ac_ext
30548
30549
30550fi
30551rm -f conftest.$ac_objext conftest.$ac_ext
30552
30553
30554fi
30555rm -f conftest.$ac_objext conftest.$ac_ext
30556
30557
30558fi
30559echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30560echo "${ECHO_T}$wx_cv_var_timezone" >&6
30561
30562 if test "x$wx_cv_var_timezone" != x ; then
30563 cat >>confdefs.h <<_ACEOF
30564#define WX_TIMEZONE $wx_cv_var_timezone
30565_ACEOF
30566
30567 fi
30568
30569
30570for ac_func in localtime
30571do
30572as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30573echo "$as_me:$LINENO: checking for $ac_func" >&5
30574echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30575if eval "test \"\${$as_ac_var+set}\" = set"; then
30576 echo $ECHO_N "(cached) $ECHO_C" >&6
30577else
30578 cat >conftest.$ac_ext <<_ACEOF
30579#line $LINENO "configure"
30580/* confdefs.h. */
30581_ACEOF
30582cat confdefs.h >>conftest.$ac_ext
30583cat >>conftest.$ac_ext <<_ACEOF
30584/* end confdefs.h. */
30585/* System header to define __stub macros and hopefully few prototypes,
30586 which can conflict with char $ac_func (); below.
30587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30588 <limits.h> exists even on freestanding compilers. */
30589#ifdef __STDC__
30590# include <limits.h>
30591#else
30592# include <assert.h>
30593#endif
30594/* Override any gcc2 internal prototype to avoid an error. */
30595#ifdef __cplusplus
30596extern "C"
30597{
30598#endif
30599/* We use char because int might match the return type of a gcc2
30600 builtin and then its argument prototype would still apply. */
30601char $ac_func ();
30602/* The GNU C library defines this for functions which it implements
30603 to always fail with ENOSYS. Some functions are actually named
30604 something starting with __ and the normal name is an alias. */
30605#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30606choke me
30607#else
30608char (*f) () = $ac_func;
30609#endif
30610#ifdef __cplusplus
30611}
30612#endif
30613
30614int
30615main ()
30616{
30617return f != $ac_func;
30618 ;
30619 return 0;
30620}
30621_ACEOF
30622rm -f conftest.$ac_objext conftest$ac_exeext
30623if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30624 (eval $ac_link) 2>&5
30625 ac_status=$?
30626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30627 (exit $ac_status); } &&
30628 { ac_try='test -s conftest$ac_exeext'
30629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30630 (eval $ac_try) 2>&5
30631 ac_status=$?
30632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30633 (exit $ac_status); }; }; then
30634 eval "$as_ac_var=yes"
30635else
30636 echo "$as_me: failed program was:" >&5
30637sed 's/^/| /' conftest.$ac_ext >&5
30638
30639eval "$as_ac_var=no"
30640fi
30641rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30642fi
30643echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30644echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30645if test `eval echo '${'$as_ac_var'}'` = yes; then
30646 cat >>confdefs.h <<_ACEOF
30647#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30648_ACEOF
30649
30650fi
30651done
30652
30653
30654 if test "$ac_cv_func_localtime" = "yes"; then
30655 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30656echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30657if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30658 echo $ECHO_N "(cached) $ECHO_C" >&6
30659else
30660
30661 cat >conftest.$ac_ext <<_ACEOF
30662#line $LINENO "configure"
30663/* confdefs.h. */
30664_ACEOF
30665cat confdefs.h >>conftest.$ac_ext
30666cat >>conftest.$ac_ext <<_ACEOF
30667/* end confdefs.h. */
30668
30669 #include <time.h>
30670
30671int
30672main ()
30673{
30674
30675 struct tm tm;
30676 tm.tm_gmtoff++;
30677
30678 ;
30679 return 0;
30680}
30681_ACEOF
30682rm -f conftest.$ac_objext
30683if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30684 (eval $ac_compile) 2>&5
30685 ac_status=$?
30686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30687 (exit $ac_status); } &&
30688 { ac_try='test -s conftest.$ac_objext'
30689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30690 (eval $ac_try) 2>&5
30691 ac_status=$?
30692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30693 (exit $ac_status); }; }; then
30694
30695 wx_cv_struct_tm_has_gmtoff=yes
30696
30697else
30698 echo "$as_me: failed program was:" >&5
30699sed 's/^/| /' conftest.$ac_ext >&5
30700
30701wx_cv_struct_tm_has_gmtoff=no
30702
30703fi
30704rm -f conftest.$ac_objext conftest.$ac_ext
30705
30706fi
30707echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30708echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30709 fi
30710
30711 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30712 cat >>confdefs.h <<\_ACEOF
30713#define WX_GMTOFF_IN_TM 1
30714_ACEOF
30715
30716 fi
30717
30718
30719
30720for ac_func in gettimeofday ftime
30721do
30722as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30723echo "$as_me:$LINENO: checking for $ac_func" >&5
30724echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30725if eval "test \"\${$as_ac_var+set}\" = set"; then
30726 echo $ECHO_N "(cached) $ECHO_C" >&6
30727else
30728 cat >conftest.$ac_ext <<_ACEOF
30729#line $LINENO "configure"
30730/* confdefs.h. */
30731_ACEOF
30732cat confdefs.h >>conftest.$ac_ext
30733cat >>conftest.$ac_ext <<_ACEOF
30734/* end confdefs.h. */
30735/* System header to define __stub macros and hopefully few prototypes,
30736 which can conflict with char $ac_func (); below.
30737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30738 <limits.h> exists even on freestanding compilers. */
30739#ifdef __STDC__
30740# include <limits.h>
30741#else
30742# include <assert.h>
30743#endif
30744/* Override any gcc2 internal prototype to avoid an error. */
30745#ifdef __cplusplus
30746extern "C"
30747{
30748#endif
30749/* We use char because int might match the return type of a gcc2
30750 builtin and then its argument prototype would still apply. */
30751char $ac_func ();
30752/* The GNU C library defines this for functions which it implements
30753 to always fail with ENOSYS. Some functions are actually named
30754 something starting with __ and the normal name is an alias. */
30755#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30756choke me
30757#else
30758char (*f) () = $ac_func;
30759#endif
30760#ifdef __cplusplus
30761}
30762#endif
30763
30764int
30765main ()
30766{
30767return f != $ac_func;
30768 ;
30769 return 0;
30770}
30771_ACEOF
30772rm -f conftest.$ac_objext conftest$ac_exeext
30773if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30774 (eval $ac_link) 2>&5
30775 ac_status=$?
30776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30777 (exit $ac_status); } &&
30778 { ac_try='test -s conftest$ac_exeext'
30779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30780 (eval $ac_try) 2>&5
30781 ac_status=$?
30782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30783 (exit $ac_status); }; }; then
30784 eval "$as_ac_var=yes"
30785else
30786 echo "$as_me: failed program was:" >&5
30787sed 's/^/| /' conftest.$ac_ext >&5
30788
30789eval "$as_ac_var=no"
30790fi
30791rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30792fi
30793echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30794echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30795if test `eval echo '${'$as_ac_var'}'` = yes; then
30796 cat >>confdefs.h <<_ACEOF
30797#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30798_ACEOF
30799 break
30800fi
30801done
30802
30803
30804 if test "$ac_cv_func_gettimeofday" = "yes"; then
30805 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30806echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30807if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30808 echo $ECHO_N "(cached) $ECHO_C" >&6
30809else
30810
30811
30812
30813 ac_ext=cc
30814ac_cpp='$CXXCPP $CPPFLAGS'
30815ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30816ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30817ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30818
30819
30820 cat >conftest.$ac_ext <<_ACEOF
30821#line $LINENO "configure"
30822/* confdefs.h. */
30823_ACEOF
30824cat confdefs.h >>conftest.$ac_ext
30825cat >>conftest.$ac_ext <<_ACEOF
30826/* end confdefs.h. */
30827
30828 #include <sys/time.h>
30829 #include <unistd.h>
30830
30831int
30832main ()
30833{
30834
30835 struct timeval tv;
30836 gettimeofday(&tv, NULL);
30837
30838 ;
30839 return 0;
30840}
30841_ACEOF
30842rm -f conftest.$ac_objext
30843if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30844 (eval $ac_compile) 2>&5
30845 ac_status=$?
30846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30847 (exit $ac_status); } &&
30848 { ac_try='test -s conftest.$ac_objext'
30849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30850 (eval $ac_try) 2>&5
30851 ac_status=$?
30852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30853 (exit $ac_status); }; }; then
30854 wx_cv_func_gettimeofday_has_2_args=yes
30855else
30856 echo "$as_me: failed program was:" >&5
30857sed 's/^/| /' conftest.$ac_ext >&5
30858
30859cat >conftest.$ac_ext <<_ACEOF
30860#line $LINENO "configure"
30861/* confdefs.h. */
30862_ACEOF
30863cat confdefs.h >>conftest.$ac_ext
30864cat >>conftest.$ac_ext <<_ACEOF
30865/* end confdefs.h. */
30866
30867 #include <sys/time.h>
30868 #include <unistd.h>
30869
30870int
30871main ()
30872{
30873
30874 struct timeval tv;
30875 gettimeofday(&tv);
30876
30877 ;
30878 return 0;
30879}
30880_ACEOF
30881rm -f conftest.$ac_objext
30882if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30883 (eval $ac_compile) 2>&5
30884 ac_status=$?
30885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30886 (exit $ac_status); } &&
30887 { ac_try='test -s conftest.$ac_objext'
30888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30889 (eval $ac_try) 2>&5
30890 ac_status=$?
30891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30892 (exit $ac_status); }; }; then
30893 wx_cv_func_gettimeofday_has_2_args=no
30894else
30895 echo "$as_me: failed program was:" >&5
30896sed 's/^/| /' conftest.$ac_ext >&5
30897
30898
30899 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
30900echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
30901 wx_cv_func_gettimeofday_has_2_args=unknown
30902
30903
30904fi
30905rm -f conftest.$ac_objext conftest.$ac_ext
30906
30907fi
30908rm -f conftest.$ac_objext conftest.$ac_ext
30909 ac_ext=c
30910ac_cpp='$CPP $CPPFLAGS'
30911ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30912ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30913ac_compiler_gnu=$ac_cv_c_compiler_gnu
30914
30915
30916fi
30917echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
30918echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
30919
30920 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
30921 cat >>confdefs.h <<\_ACEOF
30922#define WX_GETTIMEOFDAY_NO_TZ 1
30923_ACEOF
30924
30925 fi
30926 fi
30927
30928 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
30929fi
30930
30931
30932if test "$wxUSE_SOCKETS" = "yes"; then
30933 if test "$wxUSE_MGL" = "1"; then
30934 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
30935echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
30936 wxUSE_SOCKETS="no"
30937 fi
30938 if test "$wxUSE_COCOA" = "1"; then
30939 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
30940echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
30941 wxUSE_SOCKETS="no"
30942 fi
30943fi
30944
30945if test "$wxUSE_SOCKETS" = "yes"; then
30946 if test "$TOOLKIT" != "MSW"; then
30947 echo "$as_me:$LINENO: checking for socket" >&5
30948echo $ECHO_N "checking for socket... $ECHO_C" >&6
30949if test "${ac_cv_func_socket+set}" = set; then
30950 echo $ECHO_N "(cached) $ECHO_C" >&6
30951else
30952 cat >conftest.$ac_ext <<_ACEOF
30953#line $LINENO "configure"
30954/* confdefs.h. */
30955_ACEOF
30956cat confdefs.h >>conftest.$ac_ext
30957cat >>conftest.$ac_ext <<_ACEOF
30958/* end confdefs.h. */
30959/* System header to define __stub macros and hopefully few prototypes,
30960 which can conflict with char socket (); below.
30961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30962 <limits.h> exists even on freestanding compilers. */
30963#ifdef __STDC__
30964# include <limits.h>
30965#else
30966# include <assert.h>
30967#endif
30968/* Override any gcc2 internal prototype to avoid an error. */
30969#ifdef __cplusplus
30970extern "C"
30971{
30972#endif
30973/* We use char because int might match the return type of a gcc2
30974 builtin and then its argument prototype would still apply. */
30975char socket ();
30976/* The GNU C library defines this for functions which it implements
30977 to always fail with ENOSYS. Some functions are actually named
30978 something starting with __ and the normal name is an alias. */
30979#if defined (__stub_socket) || defined (__stub___socket)
30980choke me
30981#else
30982char (*f) () = socket;
30983#endif
30984#ifdef __cplusplus
30985}
30986#endif
30987
30988int
30989main ()
30990{
30991return f != socket;
30992 ;
30993 return 0;
30994}
30995_ACEOF
30996rm -f conftest.$ac_objext conftest$ac_exeext
30997if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30998 (eval $ac_link) 2>&5
30999 ac_status=$?
31000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31001 (exit $ac_status); } &&
31002 { ac_try='test -s conftest$ac_exeext'
31003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31004 (eval $ac_try) 2>&5
31005 ac_status=$?
31006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31007 (exit $ac_status); }; }; then
31008 ac_cv_func_socket=yes
31009else
31010 echo "$as_me: failed program was:" >&5
31011sed 's/^/| /' conftest.$ac_ext >&5
31012
31013ac_cv_func_socket=no
31014fi
31015rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31016fi
31017echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31018echo "${ECHO_T}$ac_cv_func_socket" >&6
31019if test $ac_cv_func_socket = yes; then
31020 :
31021else
31022 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31023echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31024if test "${ac_cv_lib_socket_socket+set}" = set; then
31025 echo $ECHO_N "(cached) $ECHO_C" >&6
31026else
31027 ac_check_lib_save_LIBS=$LIBS
31028LIBS="-lsocket $LIBS"
31029cat >conftest.$ac_ext <<_ACEOF
31030#line $LINENO "configure"
31031/* confdefs.h. */
31032_ACEOF
31033cat confdefs.h >>conftest.$ac_ext
31034cat >>conftest.$ac_ext <<_ACEOF
31035/* end confdefs.h. */
31036
31037/* Override any gcc2 internal prototype to avoid an error. */
31038#ifdef __cplusplus
31039extern "C"
31040#endif
31041/* We use char because int might match the return type of a gcc2
31042 builtin and then its argument prototype would still apply. */
31043char socket ();
31044int
31045main ()
31046{
31047socket ();
31048 ;
31049 return 0;
31050}
31051_ACEOF
31052rm -f conftest.$ac_objext conftest$ac_exeext
31053if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31054 (eval $ac_link) 2>&5
31055 ac_status=$?
31056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31057 (exit $ac_status); } &&
31058 { ac_try='test -s conftest$ac_exeext'
31059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31060 (eval $ac_try) 2>&5
31061 ac_status=$?
31062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31063 (exit $ac_status); }; }; then
31064 ac_cv_lib_socket_socket=yes
31065else
31066 echo "$as_me: failed program was:" >&5
31067sed 's/^/| /' conftest.$ac_ext >&5
31068
31069ac_cv_lib_socket_socket=no
31070fi
31071rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31072LIBS=$ac_check_lib_save_LIBS
31073fi
31074echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31075echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31076if test $ac_cv_lib_socket_socket = yes; then
31077 if test "$INET_LINK" != " -lsocket"; then
31078 INET_LINK="$INET_LINK -lsocket"
31079 fi
31080else
31081
31082 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31083echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31084 wxUSE_SOCKETS=no
31085
31086
31087fi
31088
31089
31090fi
31091
31092 fi
31093fi
31094
31095if test "$wxUSE_SOCKETS" = "yes" ; then
31096 if test "$TOOLKIT" != "MSW"; then
31097 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31098echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31099if test "${wx_cv_type_getsockname3+set}" = set; then
31100 echo $ECHO_N "(cached) $ECHO_C" >&6
31101else
31102
31103 cat >conftest.$ac_ext <<_ACEOF
31104#line $LINENO "configure"
31105/* confdefs.h. */
31106_ACEOF
31107cat confdefs.h >>conftest.$ac_ext
31108cat >>conftest.$ac_ext <<_ACEOF
31109/* end confdefs.h. */
31110
31111 #include <sys/types.h>
31112 #include <sys/socket.h>
31113
31114int
31115main ()
31116{
31117
31118 socklen_t len;
31119 getsockname(0, 0, &len);
31120
31121 ;
31122 return 0;
31123}
31124_ACEOF
31125rm -f conftest.$ac_objext
31126if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31127 (eval $ac_compile) 2>&5
31128 ac_status=$?
31129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31130 (exit $ac_status); } &&
31131 { ac_try='test -s conftest.$ac_objext'
31132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31133 (eval $ac_try) 2>&5
31134 ac_status=$?
31135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31136 (exit $ac_status); }; }; then
31137 wx_cv_type_getsockname3=socklen_t
31138else
31139 echo "$as_me: failed program was:" >&5
31140sed 's/^/| /' conftest.$ac_ext >&5
31141
31142
31143 CFLAGS_OLD="$CFLAGS"
31144 if test "$GCC" = yes ; then
31145 CFLAGS="$CFLAGS -Werror"
31146 fi
31147
31148 cat >conftest.$ac_ext <<_ACEOF
31149#line $LINENO "configure"
31150/* confdefs.h. */
31151_ACEOF
31152cat confdefs.h >>conftest.$ac_ext
31153cat >>conftest.$ac_ext <<_ACEOF
31154/* end confdefs.h. */
31155
31156 #include <sys/types.h>
31157 #include <sys/socket.h>
31158
31159int
31160main ()
31161{
31162
31163 size_t len;
31164 getsockname(0, 0, &len);
31165
31166 ;
31167 return 0;
31168}
31169_ACEOF
31170rm -f conftest.$ac_objext
31171if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31172 (eval $ac_compile) 2>&5
31173 ac_status=$?
31174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31175 (exit $ac_status); } &&
31176 { ac_try='test -s conftest.$ac_objext'
31177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31178 (eval $ac_try) 2>&5
31179 ac_status=$?
31180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31181 (exit $ac_status); }; }; then
31182 wx_cv_type_getsockname3=size_t
31183else
31184 echo "$as_me: failed program was:" >&5
31185sed 's/^/| /' conftest.$ac_ext >&5
31186
31187cat >conftest.$ac_ext <<_ACEOF
31188#line $LINENO "configure"
31189/* confdefs.h. */
31190_ACEOF
31191cat confdefs.h >>conftest.$ac_ext
31192cat >>conftest.$ac_ext <<_ACEOF
31193/* end confdefs.h. */
31194
31195 #include <sys/types.h>
31196 #include <sys/socket.h>
31197
31198int
31199main ()
31200{
31201
31202 int len;
31203 getsockname(0, 0, &len);
31204
31205 ;
31206 return 0;
31207}
31208_ACEOF
31209rm -f conftest.$ac_objext
31210if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31211 (eval $ac_compile) 2>&5
31212 ac_status=$?
31213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31214 (exit $ac_status); } &&
31215 { ac_try='test -s conftest.$ac_objext'
31216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31217 (eval $ac_try) 2>&5
31218 ac_status=$?
31219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31220 (exit $ac_status); }; }; then
31221 wx_cv_type_getsockname3=int
31222else
31223 echo "$as_me: failed program was:" >&5
31224sed 's/^/| /' conftest.$ac_ext >&5
31225
31226wx_cv_type_getsockname3=unknown
31227
31228fi
31229rm -f conftest.$ac_objext conftest.$ac_ext
31230
31231fi
31232rm -f conftest.$ac_objext conftest.$ac_ext
31233
31234 CFLAGS="$CFLAGS_OLD"
31235
31236
31237fi
31238rm -f conftest.$ac_objext conftest.$ac_ext
31239
31240fi
31241echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31242echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31243
31244 if test "$wx_cv_type_getsockname3" = "unknown"; then
31245 wxUSE_SOCKETS=no
31246 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31247echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31248 else
31249 cat >>confdefs.h <<_ACEOF
31250#define SOCKLEN_T $wx_cv_type_getsockname3
31251_ACEOF
31252
31253 fi
31254 fi
31255fi
31256
31257if test "$wxUSE_SOCKETS" = "yes" ; then
31258 cat >>confdefs.h <<\_ACEOF
31259#define wxUSE_SOCKETS 1
31260_ACEOF
31261
31262 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
31263fi
31264
31265if test "$wxUSE_PROTOCOL" = "yes"; then
31266 if test "$wxUSE_SOCKETS" != "yes"; then
31267 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31268echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31269 wxUSE_PROTOCOL=no
31270 fi
31271fi
31272
31273if test "$wxUSE_PROTOCOL" = "yes"; then
31274 cat >>confdefs.h <<\_ACEOF
31275#define wxUSE_PROTOCOL 1
31276_ACEOF
31277
31278
31279 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31280 cat >>confdefs.h <<\_ACEOF
31281#define wxUSE_PROTOCOL_HTTP 1
31282_ACEOF
31283
31284 fi
31285 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31286 cat >>confdefs.h <<\_ACEOF
31287#define wxUSE_PROTOCOL_FTP 1
31288_ACEOF
31289
31290 fi
31291 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31292 cat >>confdefs.h <<\_ACEOF
31293#define wxUSE_PROTOCOL_FILE 1
31294_ACEOF
31295
31296 fi
31297else
31298 if test "$wxUSE_FS_INET" = "yes"; then
31299 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31300echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31301 wxUSE_FS_INET="no"
31302 fi
31303fi
31304
31305if test "$wxUSE_URL" = "yes"; then
31306 if test "$wxUSE_PROTOCOL" != "yes"; then
31307 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31308echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31309 wxUSE_URL=no
31310 fi
31311 if test "$wxUSE_URL" = "yes"; then
31312 cat >>confdefs.h <<\_ACEOF
31313#define wxUSE_URL 1
31314_ACEOF
31315
31316 fi
31317fi
31318
31319if test "$wxUSE_FS_INET" = "yes"; then
31320 cat >>confdefs.h <<\_ACEOF
31321#define wxUSE_FS_INET 1
31322_ACEOF
31323
31324fi
31325
31326
31327if test "$wxUSE_GUI" = "yes"; then
31328
31329 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31330 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31331echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31332 wxUSE_JOYSTICK=no
31333 fi
31334
31335 if test "$TOOLKIT" != "MSW"; then
31336 if test "$wxUSE_JOYSTICK" = "yes"; then
31337
31338for ac_header in linux/joystick.h
31339do
31340as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31341if eval "test \"\${$as_ac_Header+set}\" = set"; then
31342 echo "$as_me:$LINENO: checking for $ac_header" >&5
31343echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31344if eval "test \"\${$as_ac_Header+set}\" = set"; then
31345 echo $ECHO_N "(cached) $ECHO_C" >&6
31346fi
31347echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31348echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31349else
31350 # Is the header compilable?
31351echo "$as_me:$LINENO: checking $ac_header usability" >&5
31352echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31353cat >conftest.$ac_ext <<_ACEOF
31354#line $LINENO "configure"
31355/* confdefs.h. */
31356_ACEOF
31357cat confdefs.h >>conftest.$ac_ext
31358cat >>conftest.$ac_ext <<_ACEOF
31359/* end confdefs.h. */
31360$ac_includes_default
31361#include <$ac_header>
31362_ACEOF
31363rm -f conftest.$ac_objext
31364if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31365 (eval $ac_compile) 2>&5
31366 ac_status=$?
31367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31368 (exit $ac_status); } &&
31369 { ac_try='test -s conftest.$ac_objext'
31370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31371 (eval $ac_try) 2>&5
31372 ac_status=$?
31373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31374 (exit $ac_status); }; }; then
31375 ac_header_compiler=yes
31376else
31377 echo "$as_me: failed program was:" >&5
31378sed 's/^/| /' conftest.$ac_ext >&5
31379
31380ac_header_compiler=no
31381fi
31382rm -f conftest.$ac_objext conftest.$ac_ext
31383echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31384echo "${ECHO_T}$ac_header_compiler" >&6
31385
31386# Is the header present?
31387echo "$as_me:$LINENO: checking $ac_header presence" >&5
31388echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31389cat >conftest.$ac_ext <<_ACEOF
31390#line $LINENO "configure"
31391/* confdefs.h. */
31392_ACEOF
31393cat confdefs.h >>conftest.$ac_ext
31394cat >>conftest.$ac_ext <<_ACEOF
31395/* end confdefs.h. */
31396#include <$ac_header>
31397_ACEOF
31398if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31399 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31400 ac_status=$?
31401 grep -v '^ *+' conftest.er1 >conftest.err
31402 rm -f conftest.er1
31403 cat conftest.err >&5
31404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31405 (exit $ac_status); } >/dev/null; then
31406 if test -s conftest.err; then
31407 ac_cpp_err=$ac_c_preproc_warn_flag
31408 else
31409 ac_cpp_err=
31410 fi
31411else
31412 ac_cpp_err=yes
31413fi
31414if test -z "$ac_cpp_err"; then
31415 ac_header_preproc=yes
31416else
31417 echo "$as_me: failed program was:" >&5
31418sed 's/^/| /' conftest.$ac_ext >&5
31419
31420 ac_header_preproc=no
31421fi
31422rm -f conftest.err conftest.$ac_ext
31423echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31424echo "${ECHO_T}$ac_header_preproc" >&6
31425
31426# So? What about this header?
31427case $ac_header_compiler:$ac_header_preproc in
31428 yes:no )
31429 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31430echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31431 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31432echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31433 (
31434 cat <<\_ASBOX
31435## ------------------------------------ ##
31436## Report this to bug-autoconf@gnu.org. ##
31437## ------------------------------------ ##
31438_ASBOX
31439 ) |
31440 sed "s/^/$as_me: WARNING: /" >&2
31441 ;;
31442 no:yes )
31443 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31444echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31445 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31446echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31447 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31448echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31449 (
31450 cat <<\_ASBOX
31451## ------------------------------------ ##
31452## Report this to bug-autoconf@gnu.org. ##
31453## ------------------------------------ ##
31454_ASBOX
31455 ) |
31456 sed "s/^/$as_me: WARNING: /" >&2
31457 ;;
31458esac
31459echo "$as_me:$LINENO: checking for $ac_header" >&5
31460echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31461if eval "test \"\${$as_ac_Header+set}\" = set"; then
31462 echo $ECHO_N "(cached) $ECHO_C" >&6
31463else
31464 eval "$as_ac_Header=$ac_header_preproc"
31465fi
31466echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31467echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31468
31469fi
31470if test `eval echo '${'$as_ac_Header'}'` = yes; then
31471 cat >>confdefs.h <<_ACEOF
31472#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31473_ACEOF
31474
31475fi
31476
31477done
31478
31479 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31480 wxUSE_JOYSTICK=no
31481 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31482echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31483 fi
31484 fi
31485 fi
31486
31487 if test "$wxUSE_JOYSTICK" = "yes"; then
31488 cat >>confdefs.h <<\_ACEOF
31489#define wxUSE_JOYSTICK 1
31490_ACEOF
31491
31492 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
31493 fi
31494fi
31495
31496
31497if test "$TOOLKIT" != "MSW"; then
31498
31499 HAVE_DL_FUNCS=0
31500 HAVE_SHL_FUNCS=0
31501 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31502 if test "$USE_DARWIN" = 1; then
31503 HAVE_DL_FUNCS=1
31504 else
31505
31506for ac_func in dlopen
31507do
31508as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31509echo "$as_me:$LINENO: checking for $ac_func" >&5
31510echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31511if eval "test \"\${$as_ac_var+set}\" = set"; then
31512 echo $ECHO_N "(cached) $ECHO_C" >&6
31513else
31514 cat >conftest.$ac_ext <<_ACEOF
31515#line $LINENO "configure"
31516/* confdefs.h. */
31517_ACEOF
31518cat confdefs.h >>conftest.$ac_ext
31519cat >>conftest.$ac_ext <<_ACEOF
31520/* end confdefs.h. */
31521/* System header to define __stub macros and hopefully few prototypes,
31522 which can conflict with char $ac_func (); below.
31523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31524 <limits.h> exists even on freestanding compilers. */
31525#ifdef __STDC__
31526# include <limits.h>
31527#else
31528# include <assert.h>
31529#endif
31530/* Override any gcc2 internal prototype to avoid an error. */
31531#ifdef __cplusplus
31532extern "C"
31533{
31534#endif
31535/* We use char because int might match the return type of a gcc2
31536 builtin and then its argument prototype would still apply. */
31537char $ac_func ();
31538/* The GNU C library defines this for functions which it implements
31539 to always fail with ENOSYS. Some functions are actually named
31540 something starting with __ and the normal name is an alias. */
31541#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31542choke me
31543#else
31544char (*f) () = $ac_func;
31545#endif
31546#ifdef __cplusplus
31547}
31548#endif
31549
31550int
31551main ()
31552{
31553return f != $ac_func;
31554 ;
31555 return 0;
31556}
31557_ACEOF
31558rm -f conftest.$ac_objext conftest$ac_exeext
31559if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31560 (eval $ac_link) 2>&5
31561 ac_status=$?
31562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31563 (exit $ac_status); } &&
31564 { ac_try='test -s conftest$ac_exeext'
31565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31566 (eval $ac_try) 2>&5
31567 ac_status=$?
31568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31569 (exit $ac_status); }; }; then
31570 eval "$as_ac_var=yes"
31571else
31572 echo "$as_me: failed program was:" >&5
31573sed 's/^/| /' conftest.$ac_ext >&5
31574
31575eval "$as_ac_var=no"
31576fi
31577rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31578fi
31579echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31580echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31581if test `eval echo '${'$as_ac_var'}'` = yes; then
31582 cat >>confdefs.h <<_ACEOF
31583#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31584_ACEOF
31585
31586 cat >>confdefs.h <<\_ACEOF
31587#define HAVE_DLOPEN 1
31588_ACEOF
31589
31590 HAVE_DL_FUNCS=1
31591
31592else
31593
31594 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31595echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31596if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31597 echo $ECHO_N "(cached) $ECHO_C" >&6
31598else
31599 ac_check_lib_save_LIBS=$LIBS
31600LIBS="-ldl $LIBS"
31601cat >conftest.$ac_ext <<_ACEOF
31602#line $LINENO "configure"
31603/* confdefs.h. */
31604_ACEOF
31605cat confdefs.h >>conftest.$ac_ext
31606cat >>conftest.$ac_ext <<_ACEOF
31607/* end confdefs.h. */
31608
31609/* Override any gcc2 internal prototype to avoid an error. */
31610#ifdef __cplusplus
31611extern "C"
31612#endif
31613/* We use char because int might match the return type of a gcc2
31614 builtin and then its argument prototype would still apply. */
31615char dlopen ();
31616int
31617main ()
31618{
31619dlopen ();
31620 ;
31621 return 0;
31622}
31623_ACEOF
31624rm -f conftest.$ac_objext conftest$ac_exeext
31625if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31626 (eval $ac_link) 2>&5
31627 ac_status=$?
31628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31629 (exit $ac_status); } &&
31630 { ac_try='test -s conftest$ac_exeext'
31631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31632 (eval $ac_try) 2>&5
31633 ac_status=$?
31634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31635 (exit $ac_status); }; }; then
31636 ac_cv_lib_dl_dlopen=yes
31637else
31638 echo "$as_me: failed program was:" >&5
31639sed 's/^/| /' conftest.$ac_ext >&5
31640
31641ac_cv_lib_dl_dlopen=no
31642fi
31643rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31644LIBS=$ac_check_lib_save_LIBS
31645fi
31646echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31647echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31648if test $ac_cv_lib_dl_dlopen = yes; then
31649
31650 cat >>confdefs.h <<\_ACEOF
31651#define HAVE_DLOPEN 1
31652_ACEOF
31653
31654 HAVE_DL_FUNCS=1
31655 DL_LINK=" -ldl$DL_LINK"
31656
31657else
31658
31659
31660for ac_func in shl_load
31661do
31662as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31663echo "$as_me:$LINENO: checking for $ac_func" >&5
31664echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31665if eval "test \"\${$as_ac_var+set}\" = set"; then
31666 echo $ECHO_N "(cached) $ECHO_C" >&6
31667else
31668 cat >conftest.$ac_ext <<_ACEOF
31669#line $LINENO "configure"
31670/* confdefs.h. */
31671_ACEOF
31672cat confdefs.h >>conftest.$ac_ext
31673cat >>conftest.$ac_ext <<_ACEOF
31674/* end confdefs.h. */
31675/* System header to define __stub macros and hopefully few prototypes,
31676 which can conflict with char $ac_func (); below.
31677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31678 <limits.h> exists even on freestanding compilers. */
31679#ifdef __STDC__
31680# include <limits.h>
31681#else
31682# include <assert.h>
31683#endif
31684/* Override any gcc2 internal prototype to avoid an error. */
31685#ifdef __cplusplus
31686extern "C"
31687{
31688#endif
31689/* We use char because int might match the return type of a gcc2
31690 builtin and then its argument prototype would still apply. */
31691char $ac_func ();
31692/* The GNU C library defines this for functions which it implements
31693 to always fail with ENOSYS. Some functions are actually named
31694 something starting with __ and the normal name is an alias. */
31695#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31696choke me
31697#else
31698char (*f) () = $ac_func;
31699#endif
31700#ifdef __cplusplus
31701}
31702#endif
31703
31704int
31705main ()
31706{
31707return f != $ac_func;
31708 ;
31709 return 0;
31710}
31711_ACEOF
31712rm -f conftest.$ac_objext conftest$ac_exeext
31713if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31714 (eval $ac_link) 2>&5
31715 ac_status=$?
31716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31717 (exit $ac_status); } &&
31718 { ac_try='test -s conftest$ac_exeext'
31719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31720 (eval $ac_try) 2>&5
31721 ac_status=$?
31722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31723 (exit $ac_status); }; }; then
31724 eval "$as_ac_var=yes"
31725else
31726 echo "$as_me: failed program was:" >&5
31727sed 's/^/| /' conftest.$ac_ext >&5
31728
31729eval "$as_ac_var=no"
31730fi
31731rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31732fi
31733echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31734echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31735if test `eval echo '${'$as_ac_var'}'` = yes; then
31736 cat >>confdefs.h <<_ACEOF
31737#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31738_ACEOF
31739
31740 cat >>confdefs.h <<\_ACEOF
31741#define HAVE_SHL_LOAD 1
31742_ACEOF
31743
31744 HAVE_SHL_FUNCS=1
31745
31746else
31747
31748 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31749echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31750if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31751 echo $ECHO_N "(cached) $ECHO_C" >&6
31752else
31753 ac_check_lib_save_LIBS=$LIBS
31754LIBS="-lshl_load $LIBS"
31755cat >conftest.$ac_ext <<_ACEOF
31756#line $LINENO "configure"
31757/* confdefs.h. */
31758_ACEOF
31759cat confdefs.h >>conftest.$ac_ext
31760cat >>conftest.$ac_ext <<_ACEOF
31761/* end confdefs.h. */
31762
31763/* Override any gcc2 internal prototype to avoid an error. */
31764#ifdef __cplusplus
31765extern "C"
31766#endif
31767/* We use char because int might match the return type of a gcc2
31768 builtin and then its argument prototype would still apply. */
31769char dld ();
31770int
31771main ()
31772{
31773dld ();
31774 ;
31775 return 0;
31776}
31777_ACEOF
31778rm -f conftest.$ac_objext conftest$ac_exeext
31779if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31780 (eval $ac_link) 2>&5
31781 ac_status=$?
31782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31783 (exit $ac_status); } &&
31784 { ac_try='test -s conftest$ac_exeext'
31785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31786 (eval $ac_try) 2>&5
31787 ac_status=$?
31788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31789 (exit $ac_status); }; }; then
31790 ac_cv_lib_shl_load_dld=yes
31791else
31792 echo "$as_me: failed program was:" >&5
31793sed 's/^/| /' conftest.$ac_ext >&5
31794
31795ac_cv_lib_shl_load_dld=no
31796fi
31797rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31798LIBS=$ac_check_lib_save_LIBS
31799fi
31800echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31801echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31802if test $ac_cv_lib_shl_load_dld = yes; then
31803
31804 HAVE_SHL_FUNCS=1
31805 DL_LINK=" -ldld$DL_LINK"
31806
31807fi
31808
31809
31810fi
31811done
31812
31813
31814fi
31815
31816
31817fi
31818done
31819
31820
31821 if test "$HAVE_DL_FUNCS" = 1; then
31822
31823for ac_func in dlerror
31824do
31825as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31826echo "$as_me:$LINENO: checking for $ac_func" >&5
31827echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31828if eval "test \"\${$as_ac_var+set}\" = set"; then
31829 echo $ECHO_N "(cached) $ECHO_C" >&6
31830else
31831 cat >conftest.$ac_ext <<_ACEOF
31832#line $LINENO "configure"
31833/* confdefs.h. */
31834_ACEOF
31835cat confdefs.h >>conftest.$ac_ext
31836cat >>conftest.$ac_ext <<_ACEOF
31837/* end confdefs.h. */
31838/* System header to define __stub macros and hopefully few prototypes,
31839 which can conflict with char $ac_func (); below.
31840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31841 <limits.h> exists even on freestanding compilers. */
31842#ifdef __STDC__
31843# include <limits.h>
31844#else
31845# include <assert.h>
31846#endif
31847/* Override any gcc2 internal prototype to avoid an error. */
31848#ifdef __cplusplus
31849extern "C"
31850{
31851#endif
31852/* We use char because int might match the return type of a gcc2
31853 builtin and then its argument prototype would still apply. */
31854char $ac_func ();
31855/* The GNU C library defines this for functions which it implements
31856 to always fail with ENOSYS. Some functions are actually named
31857 something starting with __ and the normal name is an alias. */
31858#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31859choke me
31860#else
31861char (*f) () = $ac_func;
31862#endif
31863#ifdef __cplusplus
31864}
31865#endif
31866
31867int
31868main ()
31869{
31870return f != $ac_func;
31871 ;
31872 return 0;
31873}
31874_ACEOF
31875rm -f conftest.$ac_objext conftest$ac_exeext
31876if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31877 (eval $ac_link) 2>&5
31878 ac_status=$?
31879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31880 (exit $ac_status); } &&
31881 { ac_try='test -s conftest$ac_exeext'
31882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31883 (eval $ac_try) 2>&5
31884 ac_status=$?
31885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31886 (exit $ac_status); }; }; then
31887 eval "$as_ac_var=yes"
31888else
31889 echo "$as_me: failed program was:" >&5
31890sed 's/^/| /' conftest.$ac_ext >&5
31891
31892eval "$as_ac_var=no"
31893fi
31894rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31895fi
31896echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31897echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31898if test `eval echo '${'$as_ac_var'}'` = yes; then
31899 cat >>confdefs.h <<_ACEOF
31900#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31901_ACEOF
31902 cat >>confdefs.h <<\_ACEOF
31903#define HAVE_DLERROR 1
31904_ACEOF
31905
31906else
31907 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
31908echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
31909if test "${ac_cv_lib_dl_dlerror+set}" = set; then
31910 echo $ECHO_N "(cached) $ECHO_C" >&6
31911else
31912 ac_check_lib_save_LIBS=$LIBS
31913LIBS="-ldl $LIBS"
31914cat >conftest.$ac_ext <<_ACEOF
31915#line $LINENO "configure"
31916/* confdefs.h. */
31917_ACEOF
31918cat confdefs.h >>conftest.$ac_ext
31919cat >>conftest.$ac_ext <<_ACEOF
31920/* end confdefs.h. */
31921
31922/* Override any gcc2 internal prototype to avoid an error. */
31923#ifdef __cplusplus
31924extern "C"
31925#endif
31926/* We use char because int might match the return type of a gcc2
31927 builtin and then its argument prototype would still apply. */
31928char dlerror ();
31929int
31930main ()
31931{
31932dlerror ();
31933 ;
31934 return 0;
31935}
31936_ACEOF
31937rm -f conftest.$ac_objext conftest$ac_exeext
31938if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31939 (eval $ac_link) 2>&5
31940 ac_status=$?
31941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31942 (exit $ac_status); } &&
31943 { ac_try='test -s conftest$ac_exeext'
31944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31945 (eval $ac_try) 2>&5
31946 ac_status=$?
31947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31948 (exit $ac_status); }; }; then
31949 ac_cv_lib_dl_dlerror=yes
31950else
31951 echo "$as_me: failed program was:" >&5
31952sed 's/^/| /' conftest.$ac_ext >&5
31953
31954ac_cv_lib_dl_dlerror=no
31955fi
31956rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31957LIBS=$ac_check_lib_save_LIBS
31958fi
31959echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
31960echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
31961if test $ac_cv_lib_dl_dlerror = yes; then
31962 cat >>confdefs.h <<\_ACEOF
31963#define HAVE_DLERROR 1
31964_ACEOF
31965
31966fi
31967
31968fi
31969done
31970
31971 fi
31972 fi
31973
31974 if test "$HAVE_DL_FUNCS" = 0; then
31975 if test "$HAVE_SHL_FUNCS" = 0; then
31976 if test "$USE_UNIX" = 1; then
31977 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
31978echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
31979 wxUSE_DYNAMIC_LOADER=no
31980 wxUSE_DYNLIB_CLASS=no
31981 else
31982 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
31983echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
31984 fi
31985 fi
31986 fi
31987 fi
31988fi
31989
31990if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
31991 cat >>confdefs.h <<\_ACEOF
31992#define wxUSE_DYNAMIC_LOADER 1
31993_ACEOF
31994
31995fi
31996if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31997 cat >>confdefs.h <<\_ACEOF
31998#define wxUSE_DYNLIB_CLASS 1
31999_ACEOF
32000
32001fi
32002
32003
32004if test "$wxUSE_FONTMAP" = "yes" ; then
32005 cat >>confdefs.h <<\_ACEOF
32006#define wxUSE_FONTMAP 1
32007_ACEOF
32008
32009fi
32010
32011if test "$wxUSE_UNICODE" = "yes" ; then
32012 cat >>confdefs.h <<\_ACEOF
32013#define wxUSE_UNICODE 1
32014_ACEOF
32015
32016
32017 if test "$USE_WIN32" != 1; then
32018 wxUSE_UNICODE_MSLU=no
32019 fi
32020
32021 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32022 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32023echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32024if test "${ac_cv_lib_unicows_main+set}" = set; then
32025 echo $ECHO_N "(cached) $ECHO_C" >&6
32026else
32027 ac_check_lib_save_LIBS=$LIBS
32028LIBS="-lunicows $LIBS"
32029cat >conftest.$ac_ext <<_ACEOF
32030#line $LINENO "configure"
32031/* confdefs.h. */
32032_ACEOF
32033cat confdefs.h >>conftest.$ac_ext
32034cat >>conftest.$ac_ext <<_ACEOF
32035/* end confdefs.h. */
32036
32037
32038int
32039main ()
32040{
32041main ();
32042 ;
32043 return 0;
32044}
32045_ACEOF
32046rm -f conftest.$ac_objext conftest$ac_exeext
32047if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32048 (eval $ac_link) 2>&5
32049 ac_status=$?
32050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32051 (exit $ac_status); } &&
32052 { ac_try='test -s conftest$ac_exeext'
32053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32054 (eval $ac_try) 2>&5
32055 ac_status=$?
32056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32057 (exit $ac_status); }; }; then
32058 ac_cv_lib_unicows_main=yes
32059else
32060 echo "$as_me: failed program was:" >&5
32061sed 's/^/| /' conftest.$ac_ext >&5
32062
32063ac_cv_lib_unicows_main=no
32064fi
32065rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32066LIBS=$ac_check_lib_save_LIBS
32067fi
32068echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32069echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32070if test $ac_cv_lib_unicows_main = yes; then
32071
32072 cat >>confdefs.h <<\_ACEOF
32073#define wxUSE_UNICODE_MSLU 1
32074_ACEOF
32075
32076
32077else
32078
32079 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32080 Applications will only run on Windows NT/2000/XP!" >&5
32081echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32082 Applications will only run on Windows NT/2000/XP!" >&2;}
32083 wxUSE_UNICODE_MSLU=no
32084
32085fi
32086
32087 fi
32088fi
32089
32090if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32091 cat >>confdefs.h <<\_ACEOF
32092#define wxUSE_EXPERIMENTAL_PRINTF 1
32093_ACEOF
32094
32095fi
32096
32097
32098if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32099 cat >>confdefs.h <<\_ACEOF
32100#define wxUSE_POSTSCRIPT 1
32101_ACEOF
32102
32103fi
32104
32105cat >>confdefs.h <<\_ACEOF
32106#define wxUSE_AFM_FOR_POSTSCRIPT 1
32107_ACEOF
32108
32109
32110cat >>confdefs.h <<\_ACEOF
32111#define wxUSE_NORMALIZED_PS_FONTS 1
32112_ACEOF
32113
32114
32115
32116if test "$wxUSE_CONSTRAINTS" = "yes"; then
32117 cat >>confdefs.h <<\_ACEOF
32118#define wxUSE_CONSTRAINTS 1
32119_ACEOF
32120
32121 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
32122fi
32123
32124if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32125 cat >>confdefs.h <<\_ACEOF
32126#define wxUSE_MDI_ARCHITECTURE 1
32127_ACEOF
32128
32129 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
32130fi
32131
32132if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32133 cat >>confdefs.h <<\_ACEOF
32134#define wxUSE_DOC_VIEW_ARCHITECTURE 1
32135_ACEOF
32136
32137 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
32138 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32139 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
32140 fi
32141fi
32142
32143if test "$wxUSE_HELP" = "yes"; then
32144 cat >>confdefs.h <<\_ACEOF
32145#define wxUSE_HELP 1
32146_ACEOF
32147
32148 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
32149
32150 if test "$wxUSE_MSW" = 1; then
32151 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32152 cat >>confdefs.h <<\_ACEOF
32153#define wxUSE_MS_HTML_HELP 1
32154_ACEOF
32155
32156 fi
32157 fi
32158
32159 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32160 if test "$wxUSE_HTML" = "yes"; then
32161 cat >>confdefs.h <<\_ACEOF
32162#define wxUSE_WXHTML_HELP 1
32163_ACEOF
32164
32165 else
32166 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32167echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32168 wxUSE_WXHTML_HELP=no
32169 fi
32170 fi
32171fi
32172
32173if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32174 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32175 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32176echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32177 else
32178 cat >>confdefs.h <<\_ACEOF
32179#define wxUSE_PRINTING_ARCHITECTURE 1
32180_ACEOF
32181
32182 fi
32183 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
32184fi
32185
32186if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32187 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32188echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32189 { (exit 1); exit 1; }; }
32190fi
32191
32192
32193if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
32194 -o "$wxUSE_CLIPBOARD" = "yes" \
32195 -o "$wxUSE_OLE" = "yes" \
32196 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
32197
32198for ac_header in ole2.h
32199do
32200as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32201if eval "test \"\${$as_ac_Header+set}\" = set"; then
32202 echo "$as_me:$LINENO: checking for $ac_header" >&5
32203echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32204if eval "test \"\${$as_ac_Header+set}\" = set"; then
32205 echo $ECHO_N "(cached) $ECHO_C" >&6
32206fi
32207echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32208echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32209else
32210 # Is the header compilable?
32211echo "$as_me:$LINENO: checking $ac_header usability" >&5
32212echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32213cat >conftest.$ac_ext <<_ACEOF
32214#line $LINENO "configure"
32215/* confdefs.h. */
32216_ACEOF
32217cat confdefs.h >>conftest.$ac_ext
32218cat >>conftest.$ac_ext <<_ACEOF
32219/* end confdefs.h. */
32220$ac_includes_default
32221#include <$ac_header>
32222_ACEOF
32223rm -f conftest.$ac_objext
32224if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32225 (eval $ac_compile) 2>&5
32226 ac_status=$?
32227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32228 (exit $ac_status); } &&
32229 { ac_try='test -s conftest.$ac_objext'
32230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32231 (eval $ac_try) 2>&5
32232 ac_status=$?
32233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32234 (exit $ac_status); }; }; then
32235 ac_header_compiler=yes
32236else
32237 echo "$as_me: failed program was:" >&5
32238sed 's/^/| /' conftest.$ac_ext >&5
32239
32240ac_header_compiler=no
32241fi
32242rm -f conftest.$ac_objext conftest.$ac_ext
32243echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32244echo "${ECHO_T}$ac_header_compiler" >&6
32245
32246# Is the header present?
32247echo "$as_me:$LINENO: checking $ac_header presence" >&5
32248echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32249cat >conftest.$ac_ext <<_ACEOF
32250#line $LINENO "configure"
32251/* confdefs.h. */
32252_ACEOF
32253cat confdefs.h >>conftest.$ac_ext
32254cat >>conftest.$ac_ext <<_ACEOF
32255/* end confdefs.h. */
32256#include <$ac_header>
32257_ACEOF
32258if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32259 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32260 ac_status=$?
32261 grep -v '^ *+' conftest.er1 >conftest.err
32262 rm -f conftest.er1
32263 cat conftest.err >&5
32264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32265 (exit $ac_status); } >/dev/null; then
32266 if test -s conftest.err; then
32267 ac_cpp_err=$ac_c_preproc_warn_flag
32268 else
32269 ac_cpp_err=
32270 fi
32271else
32272 ac_cpp_err=yes
32273fi
32274if test -z "$ac_cpp_err"; then
32275 ac_header_preproc=yes
32276else
32277 echo "$as_me: failed program was:" >&5
32278sed 's/^/| /' conftest.$ac_ext >&5
32279
32280 ac_header_preproc=no
32281fi
32282rm -f conftest.err conftest.$ac_ext
32283echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32284echo "${ECHO_T}$ac_header_preproc" >&6
32285
32286# So? What about this header?
32287case $ac_header_compiler:$ac_header_preproc in
32288 yes:no )
32289 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32290echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32291 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32292echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32293 (
32294 cat <<\_ASBOX
32295## ------------------------------------ ##
32296## Report this to bug-autoconf@gnu.org. ##
32297## ------------------------------------ ##
32298_ASBOX
32299 ) |
32300 sed "s/^/$as_me: WARNING: /" >&2
32301 ;;
32302 no:yes )
32303 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32304echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32305 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32306echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32307 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32308echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32309 (
32310 cat <<\_ASBOX
32311## ------------------------------------ ##
32312## Report this to bug-autoconf@gnu.org. ##
32313## ------------------------------------ ##
32314_ASBOX
32315 ) |
32316 sed "s/^/$as_me: WARNING: /" >&2
32317 ;;
32318esac
32319echo "$as_me:$LINENO: checking for $ac_header" >&5
32320echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32321if eval "test \"\${$as_ac_Header+set}\" = set"; then
32322 echo $ECHO_N "(cached) $ECHO_C" >&6
32323else
32324 eval "$as_ac_Header=$ac_header_preproc"
32325fi
32326echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32327echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32328
32329fi
32330if test `eval echo '${'$as_ac_Header'}'` = yes; then
32331 cat >>confdefs.h <<_ACEOF
32332#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32333_ACEOF
32334
32335fi
32336
32337done
32338
32339
32340 if test "$ac_cv_header_ole2_h" = "yes" ; then
32341 if test "$GCC" = yes ; then
32342
32343
32344 ac_ext=cc
32345ac_cpp='$CXXCPP $CPPFLAGS'
32346ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32347ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32348ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32349
32350
32351 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32352echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32353 cat >conftest.$ac_ext <<_ACEOF
32354#line $LINENO "configure"
32355/* confdefs.h. */
32356_ACEOF
32357cat confdefs.h >>conftest.$ac_ext
32358cat >>conftest.$ac_ext <<_ACEOF
32359/* end confdefs.h. */
32360#include <windows.h>
32361 #include <ole2.h>
32362int
32363main ()
32364{
32365
32366 ;
32367 return 0;
32368}
32369_ACEOF
32370rm -f conftest.$ac_objext
32371if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32372 (eval $ac_compile) 2>&5
32373 ac_status=$?
32374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32375 (exit $ac_status); } &&
32376 { ac_try='test -s conftest.$ac_objext'
32377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32378 (eval $ac_try) 2>&5
32379 ac_status=$?
32380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32381 (exit $ac_status); }; }; then
32382 echo "$as_me:$LINENO: result: no" >&5
32383echo "${ECHO_T}no" >&6
32384else
32385 echo "$as_me: failed program was:" >&5
32386sed 's/^/| /' conftest.$ac_ext >&5
32387
32388echo "$as_me:$LINENO: result: yes" >&5
32389echo "${ECHO_T}yes" >&6
32390 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32391fi
32392rm -f conftest.$ac_objext conftest.$ac_ext
32393 ac_ext=c
32394ac_cpp='$CPP $CPPFLAGS'
32395ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32396ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32397ac_compiler_gnu=$ac_cv_c_compiler_gnu
32398
32399 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
32400 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32401 cat >>confdefs.h <<\_ACEOF
32402#define wxUSE_OLE 1
32403_ACEOF
32404
32405
32406 fi
32407
32408 cat >>confdefs.h <<\_ACEOF
32409#define wxUSE_DATAOBJ 1
32410_ACEOF
32411
32412 else
32413 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32414echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32415
32416 wxUSE_CLIPBOARD=no
32417 wxUSE_DRAG_AND_DROP=no
32418 wxUSE_DATAOBJ=no
32419 wxUSE_OLE=no
32420 fi
32421
32422 if test "$wxUSE_METAFILE" = "yes"; then
32423 cat >>confdefs.h <<\_ACEOF
32424#define wxUSE_METAFILE 1
32425_ACEOF
32426
32427
32428 cat >>confdefs.h <<\_ACEOF
32429#define wxUSE_ENH_METAFILE 1
32430_ACEOF
32431
32432 fi
32433fi
32434
32435if test "$wxUSE_IPC" = "yes"; then
32436 if test "$wxUSE_SOCKETS" != "yes"; then
32437 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32438echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32439 fi
32440
32441 cat >>confdefs.h <<\_ACEOF
32442#define wxUSE_IPC 1
32443_ACEOF
32444
32445fi
32446
32447if test "$wxUSE_CLIPBOARD" = "yes"; then
32448 if test "$wxUSE_MGL" = 1; then
32449 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32450echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32451 wxUSE_CLIPBOARD=no
32452 fi
32453
32454 if test "$wxUSE_CLIPBOARD" = "yes"; then
32455 cat >>confdefs.h <<\_ACEOF
32456#define wxUSE_CLIPBOARD 1
32457_ACEOF
32458
32459
32460 cat >>confdefs.h <<\_ACEOF
32461#define wxUSE_DATAOBJ 1
32462_ACEOF
32463
32464 fi
32465fi
32466
32467if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32468 if test "$wxUSE_GTK" = 1; then
32469 if test "$WXGTK12" != 1; then
32470 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32471echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32472 wxUSE_DRAG_AND_DROP=no
32473 fi
32474 fi
32475
32476 if test "$wxUSE_MOTIF" = 1; then
32477 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32478echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32479 wxUSE_DRAG_AND_DROP=no
32480 fi
32481
32482 if test "$wxUSE_X11" = 1; then
32483 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32484echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32485 wxUSE_DRAG_AND_DROP=no
32486 fi
32487
32488 if test "$wxUSE_MGL" = 1; then
32489 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32490echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32491 wxUSE_DRAG_AND_DROP=no
32492 fi
32493
32494 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32495 cat >>confdefs.h <<\_ACEOF
32496#define wxUSE_DRAG_AND_DROP 1
32497_ACEOF
32498
32499 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
32500 fi
32501
32502fi
32503
32504if test "$wxUSE_SPLINES" = "yes" ; then
32505 cat >>confdefs.h <<\_ACEOF
32506#define wxUSE_SPLINES 1
32507_ACEOF
32508
32509fi
32510
32511
32512USES_CONTROLS=0
32513if test "$wxUSE_CONTROLS" = "yes"; then
32514 USES_CONTROLS=1
32515fi
32516
32517if test "$wxUSE_ACCEL" = "yes"; then
32518 cat >>confdefs.h <<\_ACEOF
32519#define wxUSE_ACCEL 1
32520_ACEOF
32521
32522 USES_CONTROLS=1
32523fi
32524
32525if test "$wxUSE_BUTTON" = "yes"; then
32526 cat >>confdefs.h <<\_ACEOF
32527#define wxUSE_BUTTON 1
32528_ACEOF
32529
32530 USES_CONTROLS=1
32531fi
32532
32533if test "$wxUSE_BMPBUTTON" = "yes"; then
32534 cat >>confdefs.h <<\_ACEOF
32535#define wxUSE_BMPBUTTON 1
32536_ACEOF
32537
32538 USES_CONTROLS=1
32539fi
32540
32541if test "$wxUSE_CALCTRL" = "yes"; then
32542 cat >>confdefs.h <<\_ACEOF
32543#define wxUSE_CALENDARCTRL 1
32544_ACEOF
32545
32546 USES_CONTROLS=1
32547 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
32548fi
32549
32550if test "$wxUSE_CARET" = "yes"; then
32551 cat >>confdefs.h <<\_ACEOF
32552#define wxUSE_CARET 1
32553_ACEOF
32554
32555 USES_CONTROLS=1
32556 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
32557fi
32558
32559if test "$wxUSE_COMBOBOX" = "yes"; then
32560 cat >>confdefs.h <<\_ACEOF
32561#define wxUSE_COMBOBOX 1
32562_ACEOF
32563
32564 USES_CONTROLS=1
32565fi
32566
32567if test "$wxUSE_CHOICE" = "yes"; then
32568 cat >>confdefs.h <<\_ACEOF
32569#define wxUSE_CHOICE 1
32570_ACEOF
32571
32572 USES_CONTROLS=1
32573fi
32574
32575if test "$wxUSE_CHECKBOX" = "yes"; then
32576 cat >>confdefs.h <<\_ACEOF
32577#define wxUSE_CHECKBOX 1
32578_ACEOF
32579
32580 USES_CONTROLS=1
32581fi
32582
32583if test "$wxUSE_CHECKLST" = "yes"; then
32584 cat >>confdefs.h <<\_ACEOF
32585#define wxUSE_CHECKLISTBOX 1
32586_ACEOF
32587
32588 USES_CONTROLS=1
32589 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
32590fi
32591
32592if test "$wxUSE_DISPLAY" = "yes"; then
32593 cat >>confdefs.h <<\_ACEOF
32594#define wxUSE_DISPLAY 1
32595_ACEOF
32596
32597 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
32598fi
32599
32600if test "$wxUSE_GAUGE" = "yes"; then
32601 cat >>confdefs.h <<\_ACEOF
32602#define wxUSE_GAUGE 1
32603_ACEOF
32604
32605 USES_CONTROLS=1
32606fi
32607
32608if test "$wxUSE_GRID" = "yes"; then
32609 cat >>confdefs.h <<\_ACEOF
32610#define wxUSE_GRID 1
32611_ACEOF
32612
32613 USES_CONTROLS=1
32614 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
32615fi
32616
32617if test "$wxUSE_IMAGLIST" = "yes"; then
32618 cat >>confdefs.h <<\_ACEOF
32619#define wxUSE_IMAGLIST 1
32620_ACEOF
32621
32622fi
32623
32624if test "$wxUSE_LISTBOX" = "yes"; then
32625 cat >>confdefs.h <<\_ACEOF
32626#define wxUSE_LISTBOX 1
32627_ACEOF
32628
32629 USES_CONTROLS=1
32630fi
32631
32632if test "$wxUSE_LISTCTRL" = "yes"; then
32633 if test "$wxUSE_IMAGLIST" = "yes"; then
32634 cat >>confdefs.h <<\_ACEOF
32635#define wxUSE_LISTCTRL 1
32636_ACEOF
32637
32638 USES_CONTROLS=1
32639 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
32640 else
32641 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32642echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32643 fi
32644fi
32645
32646if test "$wxUSE_NOTEBOOK" = "yes"; then
32647 cat >>confdefs.h <<\_ACEOF
32648#define wxUSE_NOTEBOOK 1
32649_ACEOF
32650
32651 USES_CONTROLS=1
32652 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
32653fi
32654
32655
32656if test "$wxUSE_RADIOBOX" = "yes"; then
32657 cat >>confdefs.h <<\_ACEOF
32658#define wxUSE_RADIOBOX 1
32659_ACEOF
32660
32661 USES_CONTROLS=1
32662fi
32663
32664if test "$wxUSE_RADIOBTN" = "yes"; then
32665 cat >>confdefs.h <<\_ACEOF
32666#define wxUSE_RADIOBTN 1
32667_ACEOF
32668
32669 USES_CONTROLS=1
32670fi
32671
32672if test "$wxUSE_SASH" = "yes"; then
32673 cat >>confdefs.h <<\_ACEOF
32674#define wxUSE_SASH 1
32675_ACEOF
32676
32677 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
32678fi
32679
32680if test "$wxUSE_SCROLLBAR" = "yes"; then
32681 cat >>confdefs.h <<\_ACEOF
32682#define wxUSE_SCROLLBAR 1
32683_ACEOF
32684
32685 USES_CONTROLS=1
32686 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
32687fi
32688
32689if test "$wxUSE_SLIDER" = "yes"; then
32690 cat >>confdefs.h <<\_ACEOF
32691#define wxUSE_SLIDER 1
32692_ACEOF
32693
32694 USES_CONTROLS=1
32695fi
32696
32697if test "$wxUSE_SPINBTN" = "yes"; then
32698 cat >>confdefs.h <<\_ACEOF
32699#define wxUSE_SPINBTN 1
32700_ACEOF
32701
32702 USES_CONTROLS=1
32703fi
32704
32705if test "$wxUSE_SPINCTRL" = "yes"; then
32706 cat >>confdefs.h <<\_ACEOF
32707#define wxUSE_SPINCTRL 1
32708_ACEOF
32709
32710 USES_CONTROLS=1
32711fi
32712
32713if test "$wxUSE_SPLITTER" = "yes"; then
32714 cat >>confdefs.h <<\_ACEOF
32715#define wxUSE_SPLITTER 1
32716_ACEOF
32717
32718 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
32719fi
32720
32721if test "$wxUSE_STATBMP" = "yes"; then
32722 cat >>confdefs.h <<\_ACEOF
32723#define wxUSE_STATBMP 1
32724_ACEOF
32725
32726 USES_CONTROLS=1
32727fi
32728
32729if test "$wxUSE_STATBOX" = "yes"; then
32730 cat >>confdefs.h <<\_ACEOF
32731#define wxUSE_STATBOX 1
32732_ACEOF
32733
32734 USES_CONTROLS=1
32735fi
32736
32737if test "$wxUSE_STATTEXT" = "yes"; then
32738 cat >>confdefs.h <<\_ACEOF
32739#define wxUSE_STATTEXT 1
32740_ACEOF
32741
32742 USES_CONTROLS=1
32743fi
32744
32745if test "$wxUSE_STATLINE" = "yes"; then
32746 cat >>confdefs.h <<\_ACEOF
32747#define wxUSE_STATLINE 1
32748_ACEOF
32749
32750 USES_CONTROLS=1
32751fi
32752
32753if test "$wxUSE_STATUSBAR" = "yes"; then
32754 cat >>confdefs.h <<\_ACEOF
32755#define wxUSE_STATUSBAR 1
32756_ACEOF
32757
32758 USES_CONTROLS=1
32759
32760 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
32761fi
32762
32763if test "$wxUSE_TABDIALOG" = "yes"; then
32764 cat >>confdefs.h <<\_ACEOF
32765#define wxUSE_TAB_DIALOG 1
32766_ACEOF
32767
32768 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
32769fi
32770
32771if test "$wxUSE_TEXTCTRL" = "yes"; then
32772 cat >>confdefs.h <<\_ACEOF
32773#define wxUSE_TEXTCTRL 1
32774_ACEOF
32775
32776 USES_CONTROLS=1
32777 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
32778fi
32779
32780if test "$wxUSE_TOGGLEBTN" = "yes"; then
32781 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32782 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32783echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32784 wxUSE_TOGGLEBTN=no
32785 fi
32786 if test "$wxUSE_UNIVERSAL" = "yes"; then
32787 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32788echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32789 wxUSE_TOGGLEBTN=no
32790 fi
32791
32792 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32793 cat >>confdefs.h <<\_ACEOF
32794#define wxUSE_TOGGLEBTN 1
32795_ACEOF
32796
32797 USES_CONTROLS=1
32798 fi
32799fi
32800
32801if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32802 cat >>confdefs.h <<\_ACEOF
32803#define wxUSE_TOOLBAR_SIMPLE 1
32804_ACEOF
32805
32806 wxUSE_TOOLBAR="yes"
32807 USES_CONTROLS=1
32808fi
32809
32810if test "$wxUSE_TOOLBAR" = "yes"; then
32811 cat >>confdefs.h <<\_ACEOF
32812#define wxUSE_TOOLBAR 1
32813_ACEOF
32814
32815 USES_CONTROLS=1
32816
32817 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
32818 wxUSE_TOOLBAR_NATIVE="yes"
32819 fi
32820
32821 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
32822 cat >>confdefs.h <<\_ACEOF
32823#define wxUSE_TOOLBAR_NATIVE 1
32824_ACEOF
32825
32826 USES_CONTROLS=1
32827 fi
32828
32829 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
32830fi
32831
32832if test "$wxUSE_TOOLTIPS" = "yes"; then
32833 if test "$wxUSE_MOTIF" = 1; then
32834 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
32835echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
32836 else
32837 if test "$wxUSE_UNIVERSAL" = "yes"; then
32838 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
32839echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
32840 else
32841 cat >>confdefs.h <<\_ACEOF
32842#define wxUSE_TOOLTIPS 1
32843_ACEOF
32844
32845 fi
32846 fi
32847fi
32848
32849if test "$wxUSE_TREECTRL" = "yes"; then
32850 if test "$wxUSE_IMAGLIST" = "yes"; then
32851 cat >>confdefs.h <<\_ACEOF
32852#define wxUSE_TREECTRL 1
32853_ACEOF
32854
32855 USES_CONTROLS=1
32856 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
32857 else
32858 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
32859echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
32860 fi
32861fi
32862
32863if test "$wxUSE_POPUPWIN" = "yes"; then
32864 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32865 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
32866echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
32867 else
32868 if test "$wxUSE_MOTIF" = 1; then
32869 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
32870echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
32871 else
32872 if test "$wxUSE_PM" = 1; then
32873 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
32874echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
32875 else
32876 cat >>confdefs.h <<\_ACEOF
32877#define wxUSE_POPUPWIN 1
32878_ACEOF
32879
32880
32881 USES_CONTROLS=1
32882 fi
32883 fi
32884 fi
32885fi
32886
32887if test "$wxUSE_TIPWINDOW" = "yes"; then
32888 if test "$wxUSE_PM" = 1; then
32889 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
32890echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
32891 else
32892 cat >>confdefs.h <<\_ACEOF
32893#define wxUSE_TIPWINDOW 1
32894_ACEOF
32895
32896 fi
32897fi
32898
32899if test "$USES_CONTROLS" = 1; then
32900 cat >>confdefs.h <<\_ACEOF
32901#define wxUSE_CONTROLS 1
32902_ACEOF
32903
32904fi
32905
32906
32907
32908if test "$wxUSE_DRAGIMAGE" = "yes"; then
32909 cat >>confdefs.h <<\_ACEOF
32910#define wxUSE_DRAGIMAGE 1
32911_ACEOF
32912
32913 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
32914fi
32915
32916if test "$wxUSE_ACCESSIBILITY" = "yes"; then
32917 cat >>confdefs.h <<\_ACEOF
32918#define wxUSE_ACCESSIBILITY 1
32919_ACEOF
32920
32921 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
32922fi
32923
32924if test "$wxUSE_MENUS" = "yes"; then
32925 cat >>confdefs.h <<\_ACEOF
32926#define wxUSE_MENUS 1
32927_ACEOF
32928
32929 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
32930fi
32931
32932if test "$wxUSE_METAFILE" = "yes"; then
32933 cat >>confdefs.h <<\_ACEOF
32934#define wxUSE_METAFILE 1
32935_ACEOF
32936
32937fi
32938
32939if test "$wxUSE_MIMETYPE" = "yes"; then
32940 cat >>confdefs.h <<\_ACEOF
32941#define wxUSE_MIMETYPE 1
32942_ACEOF
32943
32944fi
32945
32946if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
32947 cat >>confdefs.h <<\_ACEOF
32948#define wxUSE_SYSTEM_OPTIONS 1
32949_ACEOF
32950
32951if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
32952 "$TOOLKIT" = "MOTIF"; then
32953 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
32954fi
32955
32956fi
32957
32958if test "$wxUSE_MINIFRAME" = "yes"; then
32959 cat >>confdefs.h <<\_ACEOF
32960#define wxUSE_MINIFRAME 1
32961_ACEOF
32962
32963 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
32964fi
32965
32966USE_HTML=0
32967if test "$wxUSE_HTML" = "yes"; then
32968 cat >>confdefs.h <<\_ACEOF
32969#define wxUSE_HTML 1
32970_ACEOF
32971
32972 USE_HTML=1
32973 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
32974fi
32975
32976if test "$wxUSE_VALIDATORS" = "yes"; then
32977 cat >>confdefs.h <<\_ACEOF
32978#define wxUSE_VALIDATORS 1
32979_ACEOF
32980
32981 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
32982fi
32983
32984if test "$wxUSE_PALETTE" = "yes" ; then
32985 cat >>confdefs.h <<\_ACEOF
32986#define wxUSE_PALETTE 1
32987_ACEOF
32988
32989fi
32990
32991if test "$wxUSE_IMAGE" = "yes" ; then
32992 cat >>confdefs.h <<\_ACEOF
32993#define wxUSE_IMAGE 1
32994_ACEOF
32995
32996fi
32997
32998if test "$wxUSE_GIF" = "yes" ; then
32999 cat >>confdefs.h <<\_ACEOF
33000#define wxUSE_GIF 1
33001_ACEOF
33002
33003fi
33004
33005if test "$wxUSE_PCX" = "yes" ; then
33006 cat >>confdefs.h <<\_ACEOF
33007#define wxUSE_PCX 1
33008_ACEOF
33009
33010fi
33011
33012if test "$wxUSE_IFF" = "yes" ; then
33013 cat >>confdefs.h <<\_ACEOF
33014#define wxUSE_IFF 1
33015_ACEOF
33016
33017fi
33018
33019if test "$wxUSE_PNM" = "yes" ; then
33020 cat >>confdefs.h <<\_ACEOF
33021#define wxUSE_PNM 1
33022_ACEOF
33023
33024fi
33025
33026if test "$wxUSE_XPM" = "yes" ; then
33027 cat >>confdefs.h <<\_ACEOF
33028#define wxUSE_XPM 1
33029_ACEOF
33030
33031fi
33032
33033if test "$wxUSE_ICO_CUR" = "yes" ; then
33034 cat >>confdefs.h <<\_ACEOF
33035#define wxUSE_ICO_CUR 1
33036_ACEOF
33037
33038fi
33039
33040if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33041 LIBS=" -lunicows $LIBS"
33042fi
33043
33044
33045if test "$wxUSE_CHOICEDLG" = "yes"; then
33046 cat >>confdefs.h <<\_ACEOF
33047#define wxUSE_CHOICEDLG 1
33048_ACEOF
33049
33050fi
33051
33052if test "$wxUSE_COLOURDLG" = "yes"; then
33053 cat >>confdefs.h <<\_ACEOF
33054#define wxUSE_COLOURDLG 1
33055_ACEOF
33056
33057fi
33058
33059if test "$wxUSE_FILEDLG" = "yes"; then
33060 cat >>confdefs.h <<\_ACEOF
33061#define wxUSE_FILEDLG 1
33062_ACEOF
33063
33064fi
33065
33066if test "$wxUSE_FINDREPLDLG" = "yes"; then
33067 cat >>confdefs.h <<\_ACEOF
33068#define wxUSE_FINDREPLDLG 1
33069_ACEOF
33070
33071fi
33072
33073if test "$wxUSE_FONTDLG" = "yes"; then
33074 cat >>confdefs.h <<\_ACEOF
33075#define wxUSE_FONTDLG 1
33076_ACEOF
33077
33078fi
33079
33080if test "$wxUSE_DIRDLG" = "yes"; then
33081 if test "$wxUSE_TREECTRL" != "yes"; then
33082 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33083echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33084 else
33085 cat >>confdefs.h <<\_ACEOF
33086#define wxUSE_DIRDLG 1
33087_ACEOF
33088
33089 fi
33090fi
33091
33092if test "$wxUSE_MSGDLG" = "yes"; then
33093 cat >>confdefs.h <<\_ACEOF
33094#define wxUSE_MSGDLG 1
33095_ACEOF
33096
33097fi
33098
33099if test "$wxUSE_NUMBERDLG" = "yes"; then
33100 cat >>confdefs.h <<\_ACEOF
33101#define wxUSE_NUMBERDLG 1
33102_ACEOF
33103
33104fi
33105
33106if test "$wxUSE_PROGRESSDLG" = "yes"; then
33107 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33108 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33109echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33110 else
33111 cat >>confdefs.h <<\_ACEOF
33112#define wxUSE_PROGRESSDLG 1
33113_ACEOF
33114
33115 fi
33116fi
33117
33118if test "$wxUSE_SPLASH" = "yes"; then
33119 cat >>confdefs.h <<\_ACEOF
33120#define wxUSE_SPLASH 1
33121_ACEOF
33122
33123fi
33124
33125if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33126 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33127 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33128echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33129 else
33130 cat >>confdefs.h <<\_ACEOF
33131#define wxUSE_STARTUP_TIPS 1
33132_ACEOF
33133
33134 fi
33135fi
33136
33137if test "$wxUSE_TEXTDLG" = "yes"; then
33138 cat >>confdefs.h <<\_ACEOF
33139#define wxUSE_TEXTDLG 1
33140_ACEOF
33141
33142fi
33143
33144if test "$wxUSE_WIZARDDLG" = "yes"; then
33145 cat >>confdefs.h <<\_ACEOF
33146#define wxUSE_WIZARDDLG 1
33147_ACEOF
33148
33149 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
33150fi
33151
33152
33153if test "$cross_compiling" = "yes"; then
33154 OSINFO="\"$host\""
33155else
33156 OSINFO=`uname -s -r -m`
33157 OSINFO="\"$OSINFO\""
33158fi
33159
33160cat >>confdefs.h <<_ACEOF
33161#define WXWIN_OS_DESCRIPTION $OSINFO
33162_ACEOF
33163
33164
33165
33166if test "x$prefix" != "xNONE"; then
33167 wxPREFIX=$prefix
33168else
33169 wxPREFIX=$ac_default_prefix
33170fi
33171
33172cat >>confdefs.h <<_ACEOF
33173#define wxINSTALL_PREFIX "$wxPREFIX"
33174_ACEOF
33175
33176
33177top_builddir_wxconfig=`pwd`
33178
33179
33180
33181CORE_BASE_LIBS="net base"
33182CORE_GUI_LIBS="adv core"
33183
33184if test "$wxUSE_XML" = "yes" ; then
33185 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
33186fi
33187if test "$wxUSE_ODBC" != "no" ; then
33188 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
33189 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
33190fi
33191if test "$wxUSE_HTML" = "yes" ; then
33192 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
33193fi
33194
33195
33196
33197
33198
33199
33200
33201
33202if test "$wxUSE_MAC" = 1 ; then
33203 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
33204fi
33205if test "$wxUSE_COCOA" = 1 ; then
33206 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
33207fi
33208
33209
33210LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33211
33212have_cos=0
33213have_floor=0
33214
33215for ac_func in cos
33216do
33217as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33218echo "$as_me:$LINENO: checking for $ac_func" >&5
33219echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33220if eval "test \"\${$as_ac_var+set}\" = set"; then
33221 echo $ECHO_N "(cached) $ECHO_C" >&6
33222else
33223 cat >conftest.$ac_ext <<_ACEOF
33224#line $LINENO "configure"
33225/* confdefs.h. */
33226_ACEOF
33227cat confdefs.h >>conftest.$ac_ext
33228cat >>conftest.$ac_ext <<_ACEOF
33229/* end confdefs.h. */
33230/* System header to define __stub macros and hopefully few prototypes,
33231 which can conflict with char $ac_func (); below.
33232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33233 <limits.h> exists even on freestanding compilers. */
33234#ifdef __STDC__
33235# include <limits.h>
33236#else
33237# include <assert.h>
33238#endif
33239/* Override any gcc2 internal prototype to avoid an error. */
33240#ifdef __cplusplus
33241extern "C"
33242{
33243#endif
33244/* We use char because int might match the return type of a gcc2
33245 builtin and then its argument prototype would still apply. */
33246char $ac_func ();
33247/* The GNU C library defines this for functions which it implements
33248 to always fail with ENOSYS. Some functions are actually named
33249 something starting with __ and the normal name is an alias. */
33250#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33251choke me
33252#else
33253char (*f) () = $ac_func;
33254#endif
33255#ifdef __cplusplus
33256}
33257#endif
33258
33259int
33260main ()
33261{
33262return f != $ac_func;
33263 ;
33264 return 0;
33265}
33266_ACEOF
33267rm -f conftest.$ac_objext conftest$ac_exeext
33268if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33269 (eval $ac_link) 2>&5
33270 ac_status=$?
33271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33272 (exit $ac_status); } &&
33273 { ac_try='test -s conftest$ac_exeext'
33274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33275 (eval $ac_try) 2>&5
33276 ac_status=$?
33277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33278 (exit $ac_status); }; }; then
33279 eval "$as_ac_var=yes"
33280else
33281 echo "$as_me: failed program was:" >&5
33282sed 's/^/| /' conftest.$ac_ext >&5
33283
33284eval "$as_ac_var=no"
33285fi
33286rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33287fi
33288echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33289echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33290if test `eval echo '${'$as_ac_var'}'` = yes; then
33291 cat >>confdefs.h <<_ACEOF
33292#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33293_ACEOF
33294 have_cos=1
33295fi
33296done
33297
33298
33299for ac_func in floor
33300do
33301as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33302echo "$as_me:$LINENO: checking for $ac_func" >&5
33303echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33304if eval "test \"\${$as_ac_var+set}\" = set"; then
33305 echo $ECHO_N "(cached) $ECHO_C" >&6
33306else
33307 cat >conftest.$ac_ext <<_ACEOF
33308#line $LINENO "configure"
33309/* confdefs.h. */
33310_ACEOF
33311cat confdefs.h >>conftest.$ac_ext
33312cat >>conftest.$ac_ext <<_ACEOF
33313/* end confdefs.h. */
33314/* System header to define __stub macros and hopefully few prototypes,
33315 which can conflict with char $ac_func (); below.
33316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33317 <limits.h> exists even on freestanding compilers. */
33318#ifdef __STDC__
33319# include <limits.h>
33320#else
33321# include <assert.h>
33322#endif
33323/* Override any gcc2 internal prototype to avoid an error. */
33324#ifdef __cplusplus
33325extern "C"
33326{
33327#endif
33328/* We use char because int might match the return type of a gcc2
33329 builtin and then its argument prototype would still apply. */
33330char $ac_func ();
33331/* The GNU C library defines this for functions which it implements
33332 to always fail with ENOSYS. Some functions are actually named
33333 something starting with __ and the normal name is an alias. */
33334#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33335choke me
33336#else
33337char (*f) () = $ac_func;
33338#endif
33339#ifdef __cplusplus
33340}
33341#endif
33342
33343int
33344main ()
33345{
33346return f != $ac_func;
33347 ;
33348 return 0;
33349}
33350_ACEOF
33351rm -f conftest.$ac_objext conftest$ac_exeext
33352if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33353 (eval $ac_link) 2>&5
33354 ac_status=$?
33355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33356 (exit $ac_status); } &&
33357 { ac_try='test -s conftest$ac_exeext'
33358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33359 (eval $ac_try) 2>&5
33360 ac_status=$?
33361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33362 (exit $ac_status); }; }; then
33363 eval "$as_ac_var=yes"
33364else
33365 echo "$as_me: failed program was:" >&5
33366sed 's/^/| /' conftest.$ac_ext >&5
33367
33368eval "$as_ac_var=no"
33369fi
33370rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33371fi
33372echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33373echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33374if test `eval echo '${'$as_ac_var'}'` = yes; then
33375 cat >>confdefs.h <<_ACEOF
33376#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33377_ACEOF
33378 have_floor=1
33379fi
33380done
33381
33382echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33383echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33384if test "$have_cos" = 1 -a "$have_floor" = 1; then
33385 echo "$as_me:$LINENO: result: yes" >&5
33386echo "${ECHO_T}yes" >&6
33387else
33388 echo "$as_me:$LINENO: result: no" >&5
33389echo "${ECHO_T}no" >&6
33390 LIBS="$LIBS -lm"
33391 # use different functions to avoid configure caching
33392 have_sin=0
33393 have_ceil=0
33394
33395for ac_func in sin
33396do
33397as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33398echo "$as_me:$LINENO: checking for $ac_func" >&5
33399echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33400if eval "test \"\${$as_ac_var+set}\" = set"; then
33401 echo $ECHO_N "(cached) $ECHO_C" >&6
33402else
33403 cat >conftest.$ac_ext <<_ACEOF
33404#line $LINENO "configure"
33405/* confdefs.h. */
33406_ACEOF
33407cat confdefs.h >>conftest.$ac_ext
33408cat >>conftest.$ac_ext <<_ACEOF
33409/* end confdefs.h. */
33410/* System header to define __stub macros and hopefully few prototypes,
33411 which can conflict with char $ac_func (); below.
33412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33413 <limits.h> exists even on freestanding compilers. */
33414#ifdef __STDC__
33415# include <limits.h>
33416#else
33417# include <assert.h>
33418#endif
33419/* Override any gcc2 internal prototype to avoid an error. */
33420#ifdef __cplusplus
33421extern "C"
33422{
33423#endif
33424/* We use char because int might match the return type of a gcc2
33425 builtin and then its argument prototype would still apply. */
33426char $ac_func ();
33427/* The GNU C library defines this for functions which it implements
33428 to always fail with ENOSYS. Some functions are actually named
33429 something starting with __ and the normal name is an alias. */
33430#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33431choke me
33432#else
33433char (*f) () = $ac_func;
33434#endif
33435#ifdef __cplusplus
33436}
33437#endif
33438
33439int
33440main ()
33441{
33442return f != $ac_func;
33443 ;
33444 return 0;
33445}
33446_ACEOF
33447rm -f conftest.$ac_objext conftest$ac_exeext
33448if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33449 (eval $ac_link) 2>&5
33450 ac_status=$?
33451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33452 (exit $ac_status); } &&
33453 { ac_try='test -s conftest$ac_exeext'
33454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33455 (eval $ac_try) 2>&5
33456 ac_status=$?
33457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33458 (exit $ac_status); }; }; then
33459 eval "$as_ac_var=yes"
33460else
33461 echo "$as_me: failed program was:" >&5
33462sed 's/^/| /' conftest.$ac_ext >&5
33463
33464eval "$as_ac_var=no"
33465fi
33466rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33467fi
33468echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33469echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33470if test `eval echo '${'$as_ac_var'}'` = yes; then
33471 cat >>confdefs.h <<_ACEOF
33472#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33473_ACEOF
33474 have_sin=1
33475fi
33476done
33477
33478
33479for ac_func in ceil
33480do
33481as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33482echo "$as_me:$LINENO: checking for $ac_func" >&5
33483echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33484if eval "test \"\${$as_ac_var+set}\" = set"; then
33485 echo $ECHO_N "(cached) $ECHO_C" >&6
33486else
33487 cat >conftest.$ac_ext <<_ACEOF
33488#line $LINENO "configure"
33489/* confdefs.h. */
33490_ACEOF
33491cat confdefs.h >>conftest.$ac_ext
33492cat >>conftest.$ac_ext <<_ACEOF
33493/* end confdefs.h. */
33494/* System header to define __stub macros and hopefully few prototypes,
33495 which can conflict with char $ac_func (); below.
33496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33497 <limits.h> exists even on freestanding compilers. */
33498#ifdef __STDC__
33499# include <limits.h>
33500#else
33501# include <assert.h>
33502#endif
33503/* Override any gcc2 internal prototype to avoid an error. */
33504#ifdef __cplusplus
33505extern "C"
33506{
33507#endif
33508/* We use char because int might match the return type of a gcc2
33509 builtin and then its argument prototype would still apply. */
33510char $ac_func ();
33511/* The GNU C library defines this for functions which it implements
33512 to always fail with ENOSYS. Some functions are actually named
33513 something starting with __ and the normal name is an alias. */
33514#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33515choke me
33516#else
33517char (*f) () = $ac_func;
33518#endif
33519#ifdef __cplusplus
33520}
33521#endif
33522
33523int
33524main ()
33525{
33526return f != $ac_func;
33527 ;
33528 return 0;
33529}
33530_ACEOF
33531rm -f conftest.$ac_objext conftest$ac_exeext
33532if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33533 (eval $ac_link) 2>&5
33534 ac_status=$?
33535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33536 (exit $ac_status); } &&
33537 { ac_try='test -s conftest$ac_exeext'
33538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33539 (eval $ac_try) 2>&5
33540 ac_status=$?
33541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33542 (exit $ac_status); }; }; then
33543 eval "$as_ac_var=yes"
33544else
33545 echo "$as_me: failed program was:" >&5
33546sed 's/^/| /' conftest.$ac_ext >&5
33547
33548eval "$as_ac_var=no"
33549fi
33550rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33551fi
33552echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33553echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33554if test `eval echo '${'$as_ac_var'}'` = yes; then
33555 cat >>confdefs.h <<_ACEOF
33556#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33557_ACEOF
33558 have_ceil=1
33559fi
33560done
33561
33562 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33563echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33564 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33565 echo "$as_me:$LINENO: result: yes" >&5
33566echo "${ECHO_T}yes" >&6
33567 else
33568 echo "$as_me:$LINENO: result: no" >&5
33569echo "${ECHO_T}no" >&6
33570 # not sure we should warn the user, crash, etc.
33571 fi
33572fi
33573
33574if test "$wxUSE_GUI" = "yes"; then
33575
33576
33577 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
33578 drawing dynamic erase event exec font image \
33579 minimal propsize rotate shaped widgets render"
33580
33581 if test "$wxUSE_MONOLITHIC" != "yes"; then
33582 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
33583 fi
33584else
33585 SAMPLES_SUBDIRS="console"
33586fi
33587
33588
33589INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33590-I\${top_srcdir}/include \
33591$REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33592$TOOLKIT_INCLUDE"
33593
33594if test "$GXX" = yes ; then
33595 CXXWARNINGS="-Wall"
33596 fi
33597
33598EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33599
33600CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33601CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33602CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33603
33604
33605LIBS=`echo $LIBS | sed 's/ \+/ /g'`
33606EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33607EXTRALIBS_XML="$EXPAT_LINK"
33608EXTRALIBS_ODBC="$ODBC_LINK"
33609if test "$wxUSE_GUI" = "yes"; then
33610 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33611fi
33612if test "$wxUSE_OPENGL" = "yes"; then
33613 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
33614fi
33615
33616LDFLAGS="$LDFLAGS $PROFILE"
33617
33618if test "$wxUSE_GTK" = 1; then
33619 WXCONFIG_INCLUDE=
33620else
33621 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
33622fi
33623
33624WXCONFIG_EXTRALIBS="$LIBS"
33625
33626if test "$wxUSE_REGEX" = "builtin" ; then
33627 wxconfig_3rdparty="$wxconfig_3rdparty regex"
33628fi
33629if test "$wxUSE_EXPAT" = "builtin" ; then
33630 wxconfig_3rdparty="$wxconfig_3rdparty expat"
33631fi
33632if test "$wxUSE_ODBC" = "builtin" ; then
33633 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
33634fi
33635if test "$wxUSE_LIBTIFF" = "builtin" ; then
33636 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
33637fi
33638if test "$wxUSE_LIBJPEG" = "builtin" ; then
33639 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
33640fi
33641if test "$wxUSE_LIBPNG" = "builtin" ; then
33642 wxconfig_3rdparty="$wxconfig_3rdparty png"
33643fi
33644if test "$wxUSE_ZLIB" = "builtin" ; then
33645 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
33646fi
33647if test "$wxUSE_ODBC" = "builtin" ; then
33648 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
33649fi
33650
33651for i in $wxconfig_3rdparty ; do
33652 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
33653done
33654
33655
33656if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33657 WXUNIV=1
33658else
33659 WXUNIV=0
33660fi
33661
33662
33663
33664
33665
33666
33667
33668
33669
33670if test $wxUSE_MONOLITHIC = "yes" ; then
33671 MONOLITHIC=1
33672else
33673 MONOLITHIC=0
33674fi
33675
33676if test $wxUSE_ODBC != "no" ; then
33677 USE_ODBC=1
33678else
33679 USE_ODBC=0
33680fi
33681
33682if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
33683 OFFICIAL_BUILD=1
33684else
33685 OFFICIAL_BUILD=0
33686fi
33687
33688
33689
33690
33691
33692
33693
33694
33695
33696
33697
33698
33699
33700
33701
33702
33703
33704TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr [A-Z] [a-z]`
33705
33706
33707
33708
33709
33710
33711
33712 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33713
33714 if test -n "$ac_tool_prefix"; then
33715 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33716set dummy ${ac_tool_prefix}ranlib; ac_word=$2
33717echo "$as_me:$LINENO: checking for $ac_word" >&5
33718echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33719if test "${ac_cv_prog_RANLIB+set}" = set; then
33720 echo $ECHO_N "(cached) $ECHO_C" >&6
33721else
33722 if test -n "$RANLIB"; then
33723 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
33724else
33725as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33726for as_dir in $PATH
33727do
33728 IFS=$as_save_IFS
33729 test -z "$as_dir" && as_dir=.
33730 for ac_exec_ext in '' $ac_executable_extensions; do
33731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33732 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
33733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33734 break 2
33735 fi
33736done
33737done
33738
33739fi
33740fi
33741RANLIB=$ac_cv_prog_RANLIB
33742if test -n "$RANLIB"; then
33743 echo "$as_me:$LINENO: result: $RANLIB" >&5
33744echo "${ECHO_T}$RANLIB" >&6
33745else
33746 echo "$as_me:$LINENO: result: no" >&5
33747echo "${ECHO_T}no" >&6
33748fi
33749
33750fi
33751if test -z "$ac_cv_prog_RANLIB"; then
33752 ac_ct_RANLIB=$RANLIB
33753 # Extract the first word of "ranlib", so it can be a program name with args.
33754set dummy ranlib; ac_word=$2
33755echo "$as_me:$LINENO: checking for $ac_word" >&5
33756echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33757if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33758 echo $ECHO_N "(cached) $ECHO_C" >&6
33759else
33760 if test -n "$ac_ct_RANLIB"; then
33761 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
33762else
33763as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33764for as_dir in $PATH
33765do
33766 IFS=$as_save_IFS
33767 test -z "$as_dir" && as_dir=.
33768 for ac_exec_ext in '' $ac_executable_extensions; do
33769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33770 ac_cv_prog_ac_ct_RANLIB="ranlib"
33771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33772 break 2
33773 fi
33774done
33775done
33776
33777 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
33778fi
33779fi
33780ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
33781if test -n "$ac_ct_RANLIB"; then
33782 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33783echo "${ECHO_T}$ac_ct_RANLIB" >&6
33784else
33785 echo "$as_me:$LINENO: result: no" >&5
33786echo "${ECHO_T}no" >&6
33787fi
33788
33789 RANLIB=$ac_ct_RANLIB
33790else
33791 RANLIB="$ac_cv_prog_RANLIB"
33792fi
33793
33794 # Find a good install program. We prefer a C program (faster),
33795# so one script is as good as another. But avoid the broken or
33796# incompatible versions:
33797# SysV /etc/install, /usr/sbin/install
33798# SunOS /usr/etc/install
33799# IRIX /sbin/install
33800# AIX /bin/install
33801# AmigaOS /C/install, which installs bootblocks on floppy discs
33802# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33803# AFS /usr/afsws/bin/install, which mishandles nonexistent args
33804# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33805# ./install, which can be erroneously created by make from ./install.sh.
33806echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33807echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
33808if test -z "$INSTALL"; then
33809if test "${ac_cv_path_install+set}" = set; then
33810 echo $ECHO_N "(cached) $ECHO_C" >&6
33811else
33812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33813for as_dir in $PATH
33814do
33815 IFS=$as_save_IFS
33816 test -z "$as_dir" && as_dir=.
33817 # Account for people who put trailing slashes in PATH elements.
33818case $as_dir/ in
33819 ./ | .// | /cC/* | \
33820 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
33821 /usr/ucb/* ) ;;
33822 *)
33823 # OSF1 and SCO ODT 3.0 have their own names for install.
33824 # Don't use installbsd from OSF since it installs stuff as root
33825 # by default.
33826 for ac_prog in ginstall scoinst install; do
33827 for ac_exec_ext in '' $ac_executable_extensions; do
33828 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
33829 if test $ac_prog = install &&
33830 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33831 # AIX install. It has an incompatible calling convention.
33832 :
33833 elif test $ac_prog = install &&
33834 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33835 # program-specific install script used by HP pwplus--don't use.
33836 :
33837 else
33838 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
33839 break 3
33840 fi
33841 fi
33842 done
33843 done
33844 ;;
33845esac
33846done
33847
33848
33849fi
33850 if test "${ac_cv_path_install+set}" = set; then
33851 INSTALL=$ac_cv_path_install
33852 else
33853 # As a last resort, use the slow shell script. We don't cache a
33854 # path for INSTALL within a source directory, because that will
33855 # break other packages using the cache if that directory is
33856 # removed, or if the path is relative.
33857 INSTALL=$ac_install_sh
33858 fi
33859fi
33860echo "$as_me:$LINENO: result: $INSTALL" >&5
33861echo "${ECHO_T}$INSTALL" >&6
33862
33863# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
33864# It thinks the first close brace ends the variable substitution.
33865test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
33866
33867test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
33868
33869test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
33870
33871 echo "$as_me:$LINENO: checking whether ln -s works" >&5
33872echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
33873LN_S=$as_ln_s
33874if test "$LN_S" = "ln -s"; then
33875 echo "$as_me:$LINENO: result: yes" >&5
33876echo "${ECHO_T}yes" >&6
33877else
33878 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
33879echo "${ECHO_T}no, using $LN_S" >&6
33880fi
33881
33882
33883 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
33884echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
33885set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
33886if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
33887 echo $ECHO_N "(cached) $ECHO_C" >&6
33888else
33889 cat >conftest.make <<\_ACEOF
33890all:
33891 @echo 'ac_maketemp="$(MAKE)"'
33892_ACEOF
33893# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
33894eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
33895if test -n "$ac_maketemp"; then
33896 eval ac_cv_prog_make_${ac_make}_set=yes
33897else
33898 eval ac_cv_prog_make_${ac_make}_set=no
33899fi
33900rm -f conftest.make
33901fi
33902if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
33903 echo "$as_me:$LINENO: result: yes" >&5
33904echo "${ECHO_T}yes" >&6
33905 SET_MAKE=
33906else
33907 echo "$as_me:$LINENO: result: no" >&5
33908echo "${ECHO_T}no" >&6
33909 SET_MAKE="MAKE=${MAKE-make}"
33910fi
33911
33912
33913
33914 if test "$build" != "$host" ; then
33915 AR=$host_alias-ar
33916 STRIP=$host_alias-strip
33917 else
33918 # Extract the first word of "ar", so it can be a program name with args.
33919set dummy ar; ac_word=$2
33920echo "$as_me:$LINENO: checking for $ac_word" >&5
33921echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33922if test "${ac_cv_prog_AR+set}" = set; then
33923 echo $ECHO_N "(cached) $ECHO_C" >&6
33924else
33925 if test -n "$AR"; then
33926 ac_cv_prog_AR="$AR" # Let the user override the test.
33927else
33928as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33929for as_dir in $PATH
33930do
33931 IFS=$as_save_IFS
33932 test -z "$as_dir" && as_dir=.
33933 for ac_exec_ext in '' $ac_executable_extensions; do
33934 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33935 ac_cv_prog_AR="ar"
33936 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33937 break 2
33938 fi
33939done
33940done
33941
33942 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
33943fi
33944fi
33945AR=$ac_cv_prog_AR
33946if test -n "$AR"; then
33947 echo "$as_me:$LINENO: result: $AR" >&5
33948echo "${ECHO_T}$AR" >&6
33949else
33950 echo "$as_me:$LINENO: result: no" >&5
33951echo "${ECHO_T}no" >&6
33952fi
33953
33954 # Extract the first word of "strip", so it can be a program name with args.
33955set dummy strip; ac_word=$2
33956echo "$as_me:$LINENO: checking for $ac_word" >&5
33957echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33958if test "${ac_cv_prog_STRIP+set}" = set; then
33959 echo $ECHO_N "(cached) $ECHO_C" >&6
33960else
33961 if test -n "$STRIP"; then
33962 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
33963else
33964as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33965for as_dir in $PATH
33966do
33967 IFS=$as_save_IFS
33968 test -z "$as_dir" && as_dir=.
33969 for ac_exec_ext in '' $ac_executable_extensions; do
33970 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33971 ac_cv_prog_STRIP="strip"
33972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33973 break 2
33974 fi
33975done
33976done
33977
33978 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
33979fi
33980fi
33981STRIP=$ac_cv_prog_STRIP
33982if test -n "$STRIP"; then
33983 echo "$as_me:$LINENO: result: $STRIP" >&5
33984echo "${ECHO_T}$STRIP" >&6
33985else
33986 echo "$as_me:$LINENO: result: no" >&5
33987echo "${ECHO_T}no" >&6
33988fi
33989
33990 fi
33991
33992 case ${host} in
33993 *-hp-hpux* )
33994 INSTALL_DIR="mkdir"
33995 ;;
33996 *) INSTALL_DIR="$INSTALL -d"
33997 ;;
33998 esac
33999
34000
34001 LDFLAGS_GUI=
34002 case ${host} in
34003 *-*-cygwin* | *-*-mingw32* )
34004 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
34005 esac
34006
34007
34008 fi
34009
34010 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34011echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34012if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34013 echo $ECHO_N "(cached) $ECHO_C" >&6
34014else
34015
34016 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
34017 egrep -s GNU > /dev/null); then
34018 bakefile_cv_prog_makeisgnu="yes"
34019 else
34020 bakefile_cv_prog_makeisgnu="no"
34021 fi
34022
34023fi
34024echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34025echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34026
34027 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34028 IF_GNU_MAKE=""
34029 else
34030 IF_GNU_MAKE="#"
34031 fi
34032
34033
34034
34035 PLATFORM_UNIX=0
34036 PLATFORM_WIN32=0
34037 PLATFORM_MSDOS=0
34038 PLATFORM_MAC=0
34039 PLATFORM_MACOSX=0
34040 PLATFORM_OS2=0
34041
34042 case "${host}" in
34043 *-*-cygwin* | *-*-mingw32* )
34044 PLATFORM_WIN32=1
34045 ;;
34046 *-pc-msdosdjgpp )
34047 PLATFORM_MSDOS=1
34048 ;;
34049 *-pc-os2_emx | *-pc-os2-emx )
34050 PLATFORM_OS2=1
34051 ;;
34052 powerpc-*-darwin* )
34053 PLATFORM_MAC=1
34054 PLATFORM_MACOSX=1
34055 ;;
34056 * )
34057 PLATFORM_UNIX=1
34058 ;;
34059 esac
34060
34061
34062
34063
34064
34065
34066
34067
34068
34069 SO_SUFFIX="so"
34070 SO_SUFFIX_MODULE="so"
34071 EXEEXT=""
34072 LIBPREFIX=lib
34073 DLLPREFIX=lib
34074 DLLPREFIX_MODULE=
34075
34076 case "${host}" in
34077 *-hp-hpux* )
34078 SO_SUFFIX="sl"
34079 SO_SUFFIX_MODULE="sl"
34080 ;;
34081 *-*-aix* )
34082 SO_SUFFIX="a"
34083 SO_SUFFIX_MODULE="a"
34084 ;;
34085 *-*-cygwin* | *-*-mingw32* )
34086 SO_SUFFIX="dll"
34087 SO_SUFFIX_MODULE="dll"
34088 EXEEXT=".exe"
34089 DLLPREFIX=""
34090 ;;
34091 *-pc-msdosdjgpp )
34092 EXEEXT=".exe"
34093 DLLPREFIX=""
34094 ;;
34095 *-pc-os2_emx | *-pc-os2-emx )
34096 EXEEXT=".exe"
34097 DLLPREFIX=""
34098 LIBPREFIX=""
34099 ;;
34100 powerpc-*-darwin* )
34101 SO_SUFFIX="dylib"
34102 SO_SUFFIX_MODULE="bundle"
34103 ;;
34104 esac
34105
34106
34107
34108
34109
34110
34111
34112
34113
34114 SHARED_LD_CC="\$(CC) -shared -o"
34115 SHARED_LD_CXX="\$(CXX) -shared -o"
34116
34117 if test "x$GCC" = "xyes"; then
34118 PIC_FLAG="-fPIC"
34119 fi
34120
34121 case "${host}" in
34122 *-hp-hpux* )
34123 if test "x$GCC" = "xyes"; then
34124 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
34125 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
34126 else
34127 LDFLAGS="$LDFLAGS -L/usr/lib"
34128
34129 SHARED_LD_CC="${CC} -b -o"
34130 SHARED_LD_CXX="${CXX} -b -o"
34131 PIC_FLAG="+Z"
34132 fi
34133 ;;
34134
34135 *-*-linux* )
34136 if test "x$GCC" != "xyes"; then
34137 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34138echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34139if test "${bakefile_cv_prog_icc+set}" = set; then
34140 echo $ECHO_N "(cached) $ECHO_C" >&6
34141else
34142
34143 cat >conftest.$ac_ext <<_ACEOF
34144#line $LINENO "configure"
34145/* confdefs.h. */
34146_ACEOF
34147cat confdefs.h >>conftest.$ac_ext
34148cat >>conftest.$ac_ext <<_ACEOF
34149/* end confdefs.h. */
34150
34151int
34152main ()
34153{
34154
34155 #ifndef __INTEL_COMPILER
34156 #error Not icc
34157 #endif
34158
34159 ;
34160 return 0;
34161}
34162_ACEOF
34163rm -f conftest.$ac_objext
34164if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34165 (eval $ac_compile) 2>&5
34166 ac_status=$?
34167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34168 (exit $ac_status); } &&
34169 { ac_try='test -s conftest.$ac_objext'
34170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34171 (eval $ac_try) 2>&5
34172 ac_status=$?
34173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34174 (exit $ac_status); }; }; then
34175 bakefile_cv_prog_icc=yes
34176else
34177 echo "$as_me: failed program was:" >&5
34178sed 's/^/| /' conftest.$ac_ext >&5
34179
34180bakefile_cv_prog_icc=no
34181
34182fi
34183rm -f conftest.$ac_objext conftest.$ac_ext
34184
34185fi
34186echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34187echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34188 if test "$bakefile_cv_prog_icc" = "yes"; then
34189 PIC_FLAG="-KPIC"
34190 fi
34191 fi
34192 ;;
34193
34194 *-*-solaris2* )
34195 if test "x$GCC" != xyes ; then
34196 SHARED_LD_CC="${CC} -G -o"
34197 SHARED_LD_CXX="${CXX} -G -o"
34198 PIC_FLAG="-KPIC"
34199 fi
34200 ;;
34201
34202 *-*-darwin* )
34203 CFLAGS="$CFLAGS -fno-common"
34204 CXXFLAGS="$CXXFLAGS -fno-common"
34205
34206
34207 cat <<EOF >shared-ld-sh
34208#!/bin/sh
34209#-----------------------------------------------------------------------------
34210#-- Name: distrib/mac/shared-ld-sh
34211#-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34212#-- Author: Gilles Depeyrot
34213#-- Copyright: (c) 2002 Gilles Depeyrot
34214#-- Licence: any use permitted
34215#-----------------------------------------------------------------------------
34216
34217verbose=0
34218args=""
34219objects=""
34220linking_flag="-dynamiclib"
34221
34222while test \${#} -gt 0; do
34223 case \${1} in
34224
34225 -v)
34226 verbose=1
34227 ;;
34228
34229 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34230 # collect these options and values
34231 args="\${args} \${1} \${2}"
34232 shift
34233 ;;
34234
34235 -l*|-L*|-flat_namespace)
34236 # collect these options
34237 args="\${args} \${1}"
34238 ;;
34239
34240 -dynamiclib|-bundle)
34241 linking_flag="\${1}"
34242 ;;
34243
34244 -*)
34245 echo "shared-ld: unhandled option '\${1}'"
34246 exit 1
34247 ;;
34248
34249 *.o | *.a | *.dylib)
34250 # collect object files
34251 objects="\${objects} \${1}"
34252 ;;
34253
34254 *)
34255 echo "shared-ld: unhandled argument '\${1}'"
34256 exit 1
34257 ;;
34258
34259 esac
34260 shift
34261done
34262
34263#
34264# Link one module containing all the others
34265#
34266if test \${verbose} = 1; then
34267 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34268fi
34269c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34270status=\$?
34271if test \${status} != 0; then
34272 exit \${status}
34273fi
34274
34275#
34276# Link the shared library from the single module created
34277#
34278if test \${verbose} = 1; then
34279 echo "cc \${linking_flag} master.\$\$.o \${args}"
34280fi
34281c++ \${linking_flag} master.\$\$.o \${args}
34282status=\$?
34283if test \${status} != 0; then
34284 exit \${status}
34285fi
34286
34287#
34288# Remove intermediate module
34289#
34290rm -f master.\$\$.o
34291
34292exit 0
34293EOF
34294 chmod +x shared-ld-sh
34295
34296 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -undefined suppress -flat_namespace -o"
34297 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -undefined suppress -flat_namespace -o"
34298 SHARED_LD_CXX="$SHARED_LD_CC"
34299 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
34300 PIC_FLAG="-dynamic -fPIC"
34301 ;;
34302
34303 *-*-aix* )
34304 if test "x$GCC" != "xyes"; then
34305 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34306set dummy makeC++SharedLib; ac_word=$2
34307echo "$as_me:$LINENO: checking for $ac_word" >&5
34308echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34309if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34310 echo $ECHO_N "(cached) $ECHO_C" >&6
34311else
34312 if test -n "$AIX_CXX_LD"; then
34313 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
34314else
34315as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34316for as_dir in $PATH
34317do
34318 IFS=$as_save_IFS
34319 test -z "$as_dir" && as_dir=.
34320 for ac_exec_ext in '' $ac_executable_extensions; do
34321 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34322 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
34323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34324 break 2
34325 fi
34326done
34327done
34328
34329 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
34330fi
34331fi
34332AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
34333if test -n "$AIX_CXX_LD"; then
34334 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34335echo "${ECHO_T}$AIX_CXX_LD" >&6
34336else
34337 echo "$as_me:$LINENO: result: no" >&5
34338echo "${ECHO_T}no" >&6
34339fi
34340
34341 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
34342 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
34343 fi
34344 ;;
34345
34346 *-*-beos* )
34347 SHARED_LD_CC="${LD} -shared -o"
34348 SHARED_LD_CXX="${LD} -shared -o"
34349 ;;
34350
34351 *-*-irix* )
34352 if test "x$GCC" != "xyes"; then
34353 PIC_FLAG="-KPIC"
34354 fi
34355 ;;
34356
34357 *-*-cygwin* | *-*-mingw32* )
34358 PIC_FLAG=""
34359 ;;
34360
34361 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34362 *-*-sunos4* | \
34363 *-*-osf* | \
34364 *-*-dgux5* | \
34365 *-pc-os2_emx | *-pc-os2-emx | \
34366 *-*-sysv5* )
34367 ;;
34368
34369 *)
34370 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34371echo "$as_me: error: unknown system type $host." >&2;}
34372 { (exit 1); exit 1; }; }
34373 esac
34374
34375 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
34376 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
34377 fi
34378 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
34379 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
34380 fi
34381
34382
34383
34384
34385
34386
34387
34388
34389 USE_SOVERSION=0
34390 USE_SOVERLINUX=0
34391 USE_SOVERSOLARIS=0
34392 USE_SOSYMLINKS=0
34393 USE_MACVERSION=0
34394 SONAME_FLAG=
34395
34396 case "${host}" in
34397 *-*-linux* )
34398 SONAME_FLAG="-Wl,-soname,"
34399 USE_SOVERSION=1
34400 USE_SOVERLINUX=1
34401 USE_SOSYMLINKS=1
34402 ;;
34403
34404 *-*-solaris2* )
34405 SONAME_FLAG="-h "
34406 USE_SOVERSION=1
34407 USE_SOVERSOLARIS=1
34408 USE_SOSYMLINKS=1
34409 ;;
34410
34411 *-*-darwin* )
34412 USE_MACVERSION=1
34413 USE_SOVERSION=1
34414 USE_SOSYMLINKS=1
34415 ;;
34416 esac
34417
34418
34419
34420
34421
34422
34423
34424
34425
34426 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34427echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34428 DEPS_TRACKING=0
34429
34430 if test "x$GCC" = "xyes"; then
34431 DEPSMODE=gcc
34432 DEPS_TRACKING=1
34433 case "${host}" in
34434 powerpc-*-darwin* )
34435 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
34436 ;;
34437 * )
34438 DEPSFLAG_GCC="-MMD"
34439 ;;
34440 esac
34441 echo "$as_me:$LINENO: result: gcc" >&5
34442echo "${ECHO_T}gcc" >&6
34443 else
34444 echo "$as_me:$LINENO: result: none" >&5
34445echo "${ECHO_T}none" >&6
34446 fi
34447
34448 if test $DEPS_TRACKING = 1 ; then
34449 cat <<EOF >bk-deps
34450#!/bin/sh
34451
34452# This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34453# script. It is used to track C/C++ files dependencies in portable way.
34454#
34455# Permission is given to use this file in any way.
34456
34457DEPSMODE=$DEPSMODE
34458DEPSDIR=.deps
34459DEPSFLAG_GCC="$DEPSFLAG_GCC"
34460
34461mkdir -p \$DEPSDIR
34462
34463if test \$DEPSMODE = gcc ; then
34464 \${*} \${DEPSFLAG_GCC}
34465 status=\${?}
34466 if test \${status} != 0 ; then
34467 exit \${status}
34468 fi
34469 # move created file to the location we want it in:
34470 while test \${#} -gt 0; do
34471 case "\${1}" in
34472 -o )
34473 shift
34474 objfile=\${1}
34475 ;;
34476 -* )
34477 ;;
34478 * )
34479 srcfile=\${1}
34480 ;;
34481 esac
34482 shift
34483 done
34484 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34485 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34486 if test -f \$depfile ; then
34487 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34488 rm -f \$depfile
34489 else
34490 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34491 if test -f \$depfile ; then
34492 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34493 rm -f \$depfile
34494 fi
34495 fi
34496 exit 0
34497else
34498 \${*}
34499 exit \${?}
34500fi
34501EOF
34502 chmod +x bk-deps
34503 fi
34504
34505
34506
34507
34508 RESCOMP=
34509 SETFILE=
34510
34511 case ${host} in
34512 *-*-cygwin* | *-*-mingw32* )
34513 if test "$build" != "$host" ; then
34514 RESCOMP=$host_alias-windres
34515 else
34516 # Extract the first word of "windres", so it can be a program name with args.
34517set dummy windres; ac_word=$2
34518echo "$as_me:$LINENO: checking for $ac_word" >&5
34519echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34520if test "${ac_cv_prog_RESCOMP+set}" = set; then
34521 echo $ECHO_N "(cached) $ECHO_C" >&6
34522else
34523 if test -n "$RESCOMP"; then
34524 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34525else
34526as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34527for as_dir in $PATH
34528do
34529 IFS=$as_save_IFS
34530 test -z "$as_dir" && as_dir=.
34531 for ac_exec_ext in '' $ac_executable_extensions; do
34532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34533 ac_cv_prog_RESCOMP="windres"
34534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34535 break 2
34536 fi
34537done
34538done
34539
34540 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
34541fi
34542fi
34543RESCOMP=$ac_cv_prog_RESCOMP
34544if test -n "$RESCOMP"; then
34545 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34546echo "${ECHO_T}$RESCOMP" >&6
34547else
34548 echo "$as_me:$LINENO: result: no" >&5
34549echo "${ECHO_T}no" >&6
34550fi
34551
34552 fi
34553 ;;
34554
34555 *-*-darwin* )
34556 # Extract the first word of "Rez", so it can be a program name with args.
34557set dummy Rez; ac_word=$2
34558echo "$as_me:$LINENO: checking for $ac_word" >&5
34559echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34560if test "${ac_cv_prog_RESCOMP+set}" = set; then
34561 echo $ECHO_N "(cached) $ECHO_C" >&6
34562else
34563 if test -n "$RESCOMP"; then
34564 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34565else
34566as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34567for as_dir in $PATH
34568do
34569 IFS=$as_save_IFS
34570 test -z "$as_dir" && as_dir=.
34571 for ac_exec_ext in '' $ac_executable_extensions; do
34572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34573 ac_cv_prog_RESCOMP="Rez"
34574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34575 break 2
34576 fi
34577done
34578done
34579
34580 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
34581fi
34582fi
34583RESCOMP=$ac_cv_prog_RESCOMP
34584if test -n "$RESCOMP"; then
34585 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34586echo "${ECHO_T}$RESCOMP" >&6
34587else
34588 echo "$as_me:$LINENO: result: no" >&5
34589echo "${ECHO_T}no" >&6
34590fi
34591
34592 # Extract the first word of "SetFile", so it can be a program name with args.
34593set dummy SetFile; ac_word=$2
34594echo "$as_me:$LINENO: checking for $ac_word" >&5
34595echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34596if test "${ac_cv_prog_SETFILE+set}" = set; then
34597 echo $ECHO_N "(cached) $ECHO_C" >&6
34598else
34599 if test -n "$SETFILE"; then
34600 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34601else
34602as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34603for as_dir in $PATH
34604do
34605 IFS=$as_save_IFS
34606 test -z "$as_dir" && as_dir=.
34607 for ac_exec_ext in '' $ac_executable_extensions; do
34608 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34609 ac_cv_prog_SETFILE="SetFile"
34610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34611 break 2
34612 fi
34613done
34614done
34615
34616 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34617fi
34618fi
34619SETFILE=$ac_cv_prog_SETFILE
34620if test -n "$SETFILE"; then
34621 echo "$as_me:$LINENO: result: $SETFILE" >&5
34622echo "${ECHO_T}$SETFILE" >&6
34623else
34624 echo "$as_me:$LINENO: result: no" >&5
34625echo "${ECHO_T}no" >&6
34626fi
34627
34628 ;;
34629 esac
34630
34631
34632
34633
34634
34635
34636
34637
34638 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
34639if test "${enable_precomp_headers+set}" = set; then
34640 enableval="$enable_precomp_headers"
34641 bk_use_pch="$enableval"
34642fi;
34643
34644 GCC_PCH=0
34645
34646 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
34647 if test "x$GCC" = "xyes"; then
34648 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
34649echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
34650 cat >conftest.$ac_ext <<_ACEOF
34651#line $LINENO "configure"
34652/* confdefs.h. */
34653_ACEOF
34654cat confdefs.h >>conftest.$ac_ext
34655cat >>conftest.$ac_ext <<_ACEOF
34656/* end confdefs.h. */
34657
34658int
34659main ()
34660{
34661
34662 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
34663 #error "no pch support"
34664 #endif
34665 #if (__GNUC__ < 3)
34666 #error "no pch support"
34667 #endif
34668 #if (__GNUC__ == 3) && \
34669 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
34670 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
34671 #error "no pch support"
34672 #endif
34673
34674 ;
34675 return 0;
34676}
34677_ACEOF
34678rm -f conftest.$ac_objext
34679if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34680 (eval $ac_compile) 2>&5
34681 ac_status=$?
34682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34683 (exit $ac_status); } &&
34684 { ac_try='test -s conftest.$ac_objext'
34685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34686 (eval $ac_try) 2>&5
34687 ac_status=$?
34688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34689 (exit $ac_status); }; }; then
34690
34691 echo "$as_me:$LINENO: result: yes" >&5
34692echo "${ECHO_T}yes" >&6
34693 CPPFLAGS="-fpch-deps $CPPFLAGS"
34694 GCC_PCH=1
34695
34696else
34697 echo "$as_me: failed program was:" >&5
34698sed 's/^/| /' conftest.$ac_ext >&5
34699
34700
34701 echo "$as_me:$LINENO: result: no" >&5
34702echo "${ECHO_T}no" >&6
34703
34704fi
34705rm -f conftest.$ac_objext conftest.$ac_ext
34706 if test $GCC_PCH = 1 ; then
34707 cat <<EOF >bk-make-pch
34708#!/bin/sh
34709
34710# This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34711# script. It is used to generated precompiled headers.
34712#
34713# Permission is given to use this file in any way.
34714
34715outfile="\${1}"
34716header="\${2}"
34717shift
34718shift
34719
34720compiler=
34721headerfile=
34722while test \${#} -gt 0; do
34723 case "\${1}" in
34724 -I* )
34725 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
34726 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
34727 headerfile="\${incdir}/\${header}"
34728 fi
34729 ;;
34730 esac
34731 compiler="\${compiler} \${1}"
34732 shift
34733done
34734
34735if test "x\${headerfile}" = "x" ; then
34736 echo "error: can't find header \${header} in include paths" >2
34737else
34738 if test -f \${outfile} ; then
34739 rm -f \${outfile}
34740 else
34741 mkdir -p \`dirname \${outfile}\`
34742 fi
34743 depsfile=".deps/\`basename \${outfile}\`.d"
34744 mkdir -p .deps
34745 # can do this because gcc is >= 3.4:
34746 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
34747 exit \${?}
34748fi
34749EOF
34750 chmod +x bk-make-pch
34751 fi
34752 fi
34753 fi
34754
34755
34756
34757
34758
34759 COND_BUILD_DEBUG="#"
34760 if test "x$BUILD" = "xdebug" ; then
34761 COND_BUILD_DEBUG=""
34762 fi
34763
34764 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
34765 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
34766 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
34767 fi
34768
34769 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
34770 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
34771 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
34772 fi
34773
34774 COND_BUILD_RELEASE="#"
34775 if test "x$BUILD" = "xrelease" ; then
34776 COND_BUILD_RELEASE=""
34777 fi
34778
34779 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
34780 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
34781 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
34782 fi
34783
34784 COND_DEBUG_FLAG_1="#"
34785 if test "x$DEBUG_FLAG" = "x1" ; then
34786 COND_DEBUG_FLAG_1=""
34787 fi
34788
34789 COND_DEBUG_INFO_0="#"
34790 if test "x$DEBUG_INFO" = "x0" ; then
34791 COND_DEBUG_INFO_0=""
34792 fi
34793
34794 COND_DEBUG_INFO_1="#"
34795 if test "x$DEBUG_INFO" = "x1" ; then
34796 COND_DEBUG_INFO_1=""
34797 fi
34798
34799 COND_DEPS_TRACKING_0="#"
34800 if test "x$DEPS_TRACKING" = "x0" ; then
34801 COND_DEPS_TRACKING_0=""
34802 fi
34803
34804 COND_DEPS_TRACKING_1="#"
34805 if test "x$DEPS_TRACKING" = "x1" ; then
34806 COND_DEPS_TRACKING_1=""
34807 fi
34808
34809 COND_GCC_PCH_1="#"
34810 if test "x$GCC_PCH" = "x1" ; then
34811 COND_GCC_PCH_1=""
34812 fi
34813
34814 COND_MONOLITHIC_0="#"
34815 if test "x$MONOLITHIC" = "x0" ; then
34816 COND_MONOLITHIC_0=""
34817 fi
34818
34819 COND_MONOLITHIC_0_SHARED_0="#"
34820 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
34821 COND_MONOLITHIC_0_SHARED_0=""
34822 fi
34823
34824 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
34825 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
34826 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
34827 fi
34828
34829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
34830 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
34831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
34832 fi
34833
34834 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
34835 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
34836 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
34837 fi
34838
34839 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
34840 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
34841 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
34842 fi
34843
34844 COND_MONOLITHIC_0_SHARED_1="#"
34845 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
34846 COND_MONOLITHIC_0_SHARED_1=""
34847 fi
34848
34849 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
34850 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
34851 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
34852 fi
34853
34854 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
34855 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
34856 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
34857 fi
34858
34859 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
34860 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
34861 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
34862 fi
34863
34864 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
34865 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
34866 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
34867 fi
34868
34869 COND_MONOLITHIC_1="#"
34870 if test "x$MONOLITHIC" = "x1" ; then
34871 COND_MONOLITHIC_1=""
34872 fi
34873
34874 COND_MONOLITHIC_1_SHARED_0="#"
34875 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
34876 COND_MONOLITHIC_1_SHARED_0=""
34877 fi
34878
34879 COND_MONOLITHIC_1_SHARED_1="#"
34880 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
34881 COND_MONOLITHIC_1_SHARED_1=""
34882 fi
34883
34884 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
34885 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
34886 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
34887 fi
34888
34889 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
34890 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
34891 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
34892 fi
34893
34894 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
34895 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
34896 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
34897 fi
34898
34899 COND_PLATFORM_MACOSX_1="#"
34900 if test "x$PLATFORM_MACOSX" = "x1" ; then
34901 COND_PLATFORM_MACOSX_1=""
34902 fi
34903
34904 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
34905 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
34906 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
34907 fi
34908
34909 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
34910 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
34911 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
34912 fi
34913
34914 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
34915 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
34916 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
34917 fi
34918
34919 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
34920 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
34921 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
34922 fi
34923
34924 COND_PLATFORM_MAC_1="#"
34925 if test "x$PLATFORM_MAC" = "x1" ; then
34926 COND_PLATFORM_MAC_1=""
34927 fi
34928
34929 COND_PLATFORM_UNIX_0="#"
34930 if test "x$PLATFORM_UNIX" = "x0" ; then
34931 COND_PLATFORM_UNIX_0=""
34932 fi
34933
34934 COND_PLATFORM_UNIX_1="#"
34935 if test "x$PLATFORM_UNIX" = "x1" ; then
34936 COND_PLATFORM_UNIX_1=""
34937 fi
34938
34939 COND_PLATFORM_WIN32_0="#"
34940 if test "x$PLATFORM_WIN32" = "x0" ; then
34941 COND_PLATFORM_WIN32_0=""
34942 fi
34943
34944 COND_PLATFORM_WIN32_1="#"
34945 if test "x$PLATFORM_WIN32" = "x1" ; then
34946 COND_PLATFORM_WIN32_1=""
34947 fi
34948
34949 COND_SHARED_0="#"
34950 if test "x$SHARED" = "x0" ; then
34951 COND_SHARED_0=""
34952 fi
34953
34954 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
34955 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
34956 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
34957 fi
34958
34959 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
34960 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
34961 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
34962 fi
34963
34964 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
34965 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
34966 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
34967 fi
34968
34969 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
34970 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
34971 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
34972 fi
34973
34974 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
34975 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
34976 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
34977 fi
34978
34979 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
34980 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
34981 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
34982 fi
34983
34984 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
34985 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
34986 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
34987 fi
34988
34989 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
34990 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
34991 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
34992 fi
34993
34994 COND_SHARED_1="#"
34995 if test "x$SHARED" = "x1" ; then
34996 COND_SHARED_1=""
34997 fi
34998
34999 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
35000 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35001 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
35002 fi
35003
35004 COND_TOOLKIT_COCOA="#"
35005 if test "x$TOOLKIT" = "xCOCOA" ; then
35006 COND_TOOLKIT_COCOA=""
35007 fi
35008
35009 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
35010 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35011 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
35012 fi
35013
35014 COND_TOOLKIT_GTK="#"
35015 if test "x$TOOLKIT" = "xGTK" ; then
35016 COND_TOOLKIT_GTK=""
35017 fi
35018
35019 COND_TOOLKIT_GTK_USE_GUI_1="#"
35020 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
35021 COND_TOOLKIT_GTK_USE_GUI_1=""
35022 fi
35023
35024 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
35025 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35026 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
35027 fi
35028
35029 COND_TOOLKIT_MAC="#"
35030 if test "x$TOOLKIT" = "xMAC" ; then
35031 COND_TOOLKIT_MAC=""
35032 fi
35033
35034 COND_TOOLKIT_MAC_USE_GUI_1="#"
35035 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35036 COND_TOOLKIT_MAC_USE_GUI_1=""
35037 fi
35038
35039 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
35040 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35041 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
35042 fi
35043
35044 COND_TOOLKIT_MGL="#"
35045 if test "x$TOOLKIT" = "xMGL" ; then
35046 COND_TOOLKIT_MGL=""
35047 fi
35048
35049 COND_TOOLKIT_MGL_USE_GUI_1="#"
35050 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
35051 COND_TOOLKIT_MGL_USE_GUI_1=""
35052 fi
35053
35054 COND_TOOLKIT_MOTIF="#"
35055 if test "x$TOOLKIT" = "xMOTIF" ; then
35056 COND_TOOLKIT_MOTIF=""
35057 fi
35058
35059 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
35060 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
35061 COND_TOOLKIT_MOTIF_USE_GUI_1=""
35062 fi
35063
35064 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
35065 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35066 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
35067 fi
35068
35069 COND_TOOLKIT_MSW="#"
35070 if test "x$TOOLKIT" = "xMSW" ; then
35071 COND_TOOLKIT_MSW=""
35072 fi
35073
35074 COND_TOOLKIT_MSW_USE_GUI_1="#"
35075 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
35076 COND_TOOLKIT_MSW_USE_GUI_1=""
35077 fi
35078
35079 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
35080 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35081 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
35082 fi
35083
35084 COND_TOOLKIT_OS2="#"
35085 if test "x$TOOLKIT" = "xOS2" ; then
35086 COND_TOOLKIT_OS2=""
35087 fi
35088
35089 COND_TOOLKIT_OS2_USE_GUI_1="#"
35090 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" ; then
35091 COND_TOOLKIT_OS2_USE_GUI_1=""
35092 fi
35093
35094 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0="#"
35095 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35096 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0=""
35097 fi
35098
35099 COND_TOOLKIT_PM="#"
35100 if test "x$TOOLKIT" = "xPM" ; then
35101 COND_TOOLKIT_PM=""
35102 fi
35103
35104 COND_TOOLKIT_PM_USE_GUI_1="#"
35105 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
35106 COND_TOOLKIT_PM_USE_GUI_1=""
35107 fi
35108
35109 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
35110 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35111 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
35112 fi
35113
35114 COND_TOOLKIT_X11="#"
35115 if test "x$TOOLKIT" = "xX11" ; then
35116 COND_TOOLKIT_X11=""
35117 fi
35118
35119 COND_TOOLKIT_X11_USE_GUI_1="#"
35120 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35121 COND_TOOLKIT_X11_USE_GUI_1=""
35122 fi
35123
35124 COND_UNICODE_1="#"
35125 if test "x$UNICODE" = "x1" ; then
35126 COND_UNICODE_1=""
35127 fi
35128
35129 COND_USE_GUI_0="#"
35130 if test "x$USE_GUI" = "x0" ; then
35131 COND_USE_GUI_0=""
35132 fi
35133
35134 COND_USE_GUI_1="#"
35135 if test "x$USE_GUI" = "x1" ; then
35136 COND_USE_GUI_1=""
35137 fi
35138
35139 COND_USE_GUI_1_WXUNIV_0="#"
35140 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35141 COND_USE_GUI_1_WXUNIV_0=""
35142 fi
35143
35144 COND_USE_GUI_1_WXUNIV_1="#"
35145 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35146 COND_USE_GUI_1_WXUNIV_1=""
35147 fi
35148
35149 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35150 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35151 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35152 fi
35153
35154 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35155 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35156 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35157 fi
35158
35159 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35160 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35161 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35162 fi
35163
35164 COND_USE_SOSYMLINKS_1="#"
35165 if test "x$USE_SOSYMLINKS" = "x1" ; then
35166 COND_USE_SOSYMLINKS_1=""
35167 fi
35168
35169 COND_USE_SOVERLINUX_1="#"
35170 if test "x$USE_SOVERLINUX" = "x1" ; then
35171 COND_USE_SOVERLINUX_1=""
35172 fi
35173
35174 COND_USE_SOVERSION_0="#"
35175 if test "x$USE_SOVERSION" = "x0" ; then
35176 COND_USE_SOVERSION_0=""
35177 fi
35178
35179 COND_USE_SOVERSOLARIS_1="#"
35180 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35181 COND_USE_SOVERSOLARIS_1=""
35182 fi
35183
35184 COND_WXUNIV_1="#"
35185 if test "x$WXUNIV" = "x1" ; then
35186 COND_WXUNIV_1=""
35187 fi
35188
35189 COND_WXUSE_EXPAT_BUILTIN="#"
35190 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35191 COND_WXUSE_EXPAT_BUILTIN=""
35192 fi
35193
35194 COND_WXUSE_LIBJPEG_BUILTIN="#"
35195 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35196 COND_WXUSE_LIBJPEG_BUILTIN=""
35197 fi
35198
35199 COND_WXUSE_LIBPNG_BUILTIN="#"
35200 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35201 COND_WXUSE_LIBPNG_BUILTIN=""
35202 fi
35203
35204 COND_WXUSE_LIBTIFF_BUILTIN="#"
35205 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35206 COND_WXUSE_LIBTIFF_BUILTIN=""
35207 fi
35208
35209 COND_WXUSE_ODBC_BUILTIN="#"
35210 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35211 COND_WXUSE_ODBC_BUILTIN=""
35212 fi
35213
35214 COND_WXUSE_REGEX_BUILTIN="#"
35215 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35216 COND_WXUSE_REGEX_BUILTIN=""
35217 fi
35218
35219 COND_WXUSE_ZLIB_BUILTIN="#"
35220 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35221 COND_WXUSE_ZLIB_BUILTIN=""
35222 fi
35223
35224
35225
35226
35227
35228if test $GCC_PCH = 1 ; then
35229 CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
35230else
35231 case "${host}" in
35232 powerpc-*-darwin* )
35233 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
35234 ;;
35235 esac
35236fi
35237case "${host}" in
35238 powerpc-*-darwin* )
35239 CODE_GEN_FLAGS_CXX="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS_CXX"
35240 ;;
35241esac
35242
35243
35244SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
35245
35246
35247
35248
35249
35250
35251
35252
35253
35254
35255
35256
35257
35258
35259
35260
35261
35262
35263
35264
35265
35266
35267
35268
35269
35270
35271
35272
35273
35274
35275
35276
35277
35278
35279
35280
35281
35282
35283
35284
35285
35286
35287
35288
35289
35290
35291
35292
35293
35294
35295
35296
35297
35298
35299
35300
35301
35302
35303
35304
35305
35306
35307
35308
35309
35310
35311
35312
35313
35314
35315
35316
35317
35318
35319
35320
35321
35322
35323
35324
35325
35326
35327
35328
35329
35330
35331
35332
35333
35334
35335
35336
35337
35338
35339
35340
35341
35342
35343
35344
35345echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
35346echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
35347set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
35348if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
35349 echo $ECHO_N "(cached) $ECHO_C" >&6
35350else
35351 cat >conftest.make <<\_ACEOF
35352all:
35353 @echo 'ac_maketemp="$(MAKE)"'
35354_ACEOF
35355# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
35356eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
35357if test -n "$ac_maketemp"; then
35358 eval ac_cv_prog_make_${ac_make}_set=yes
35359else
35360 eval ac_cv_prog_make_${ac_make}_set=no
35361fi
35362rm -f conftest.make
35363fi
35364if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
35365 echo "$as_me:$LINENO: result: yes" >&5
35366echo "${ECHO_T}yes" >&6
35367 SET_MAKE=
35368else
35369 echo "$as_me:$LINENO: result: no" >&5
35370echo "${ECHO_T}no" >&6
35371 SET_MAKE="MAKE=${MAKE-make}"
35372fi
35373
35374
35375if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
35376 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
35377fi
35378
35379 ac_config_headers="$ac_config_headers setup.h"
35380
35381
35382 ac_config_files="$ac_config_files wx-config version-script Makefile"
35383
35384
35385 ac_config_commands="$ac_config_commands default"
35386
35387
35388
35389if test "$wxUSE_GUI" = "yes"; then
35390 SUBDIRS="samples demos utils contrib"
35391else SUBDIRS="samples utils"
35392fi
35393
35394for subdir in `echo $SUBDIRS`; do
35395 if test -d ${srcdir}/${subdir} ; then
35396 if test "$wxUSE_GUI" = "yes"; then
35397 if test ${subdir} = "samples"; then
35398 makefiles="samples/Makefile.in $makefiles"
35399 for sample in `echo $SAMPLES_SUBDIRS`; do
35400 if test -d $srcdir/samples/$sample; then
35401 makefiles="samples/$sample/Makefile.in $makefiles"
35402 fi
35403 done
35404 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
35405 fi
35406 else if test ${subdir} = "samples"; then
35407 makefiles="samples/Makefile.in samples/console/Makefile.in"
35408 else makefiles="utils/HelpGen/Makefile.in \
35409 utils/HelpGen/src/Makefile.in \
35410 utils/makegen/Makefile.in"
35411 fi
35412 fi
35413
35414 for mkin in $makefiles ; do
35415 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
35416 ac_config_files="$ac_config_files $mk"
35417
35418 done
35419 fi
35420done
35421
35422
35423cat >confcache <<\_ACEOF
35424# This file is a shell script that caches the results of configure
35425# tests run on this system so they can be shared between configure
35426# scripts and configure runs, see configure's option --config-cache.
35427# It is not useful on other systems. If it contains results you don't
35428# want to keep, you may remove or edit it.
35429#
35430# config.status only pays attention to the cache file if you give it
35431# the --recheck option to rerun configure.
35432#
35433# `ac_cv_env_foo' variables (set or unset) will be overridden when
35434# loading this file, other *unset* `ac_cv_foo' will be assigned the
35435# following values.
35436
35437_ACEOF
35438
35439# The following way of writing the cache mishandles newlines in values,
35440# but we know of no workaround that is simple, portable, and efficient.
35441# So, don't put newlines in cache variables' values.
35442# Ultrix sh set writes to stderr and can't be redirected directly,
35443# and sets the high bit in the cache file unless we assign to the vars.
35444{
35445 (set) 2>&1 |
35446 case `(ac_space=' '; set | grep ac_space) 2>&1` in
35447 *ac_space=\ *)
35448 # `set' does not quote correctly, so add quotes (double-quote
35449 # substitution turns \\\\ into \\, and sed turns \\ into \).
35450 sed -n \
35451 "s/'/'\\\\''/g;
35452 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35453 ;;
35454 *)
35455 # `set' quotes correctly as required by POSIX, so do not add quotes.
35456 sed -n \
35457 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
35458 ;;
35459 esac;
35460} |
35461 sed '
35462 t clear
35463 : clear
35464 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35465 t end
35466 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35467 : end' >>confcache
35468if diff $cache_file confcache >/dev/null 2>&1; then :; else
35469 if test -w $cache_file; then
35470 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
35471 cat confcache >$cache_file
35472 else
35473 echo "not updating unwritable cache $cache_file"
35474 fi
35475fi
35476rm -f confcache
35477
35478test "x$prefix" = xNONE && prefix=$ac_default_prefix
35479# Let make expand exec_prefix.
35480test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
35481
35482# VPATH may cause trouble with some makes, so we remove $(srcdir),
35483# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
35484# trailing colons and then remove the whole line if VPATH becomes empty
35485# (actually we leave an empty line to preserve line numbers).
35486if test "x$srcdir" = x.; then
35487 ac_vpsub='/^[ ]*VPATH[ ]*=/{
35488s/:*\$(srcdir):*/:/;
35489s/:*\${srcdir}:*/:/;
35490s/:*@srcdir@:*/:/;
35491s/^\([^=]*=[ ]*\):*/\1/;
35492s/:*$//;
35493s/^[^=]*=[ ]*$//;
35494}'
35495fi
35496
35497DEFS=-DHAVE_CONFIG_H
35498
35499ac_libobjs=
35500ac_ltlibobjs=
35501for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
35502 # 1. Remove the extension, and $U if already installed.
35503 ac_i=`echo "$ac_i" |
35504 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
35505 # 2. Add them.
35506 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
35507 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
35508done
35509LIBOBJS=$ac_libobjs
35510
35511LTLIBOBJS=$ac_ltlibobjs
35512
35513
35514
35515: ${CONFIG_STATUS=./config.status}
35516ac_clean_files_save=$ac_clean_files
35517ac_clean_files="$ac_clean_files $CONFIG_STATUS"
35518{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
35519echo "$as_me: creating $CONFIG_STATUS" >&6;}
35520cat >$CONFIG_STATUS <<_ACEOF
35521#! $SHELL
35522# Generated by $as_me.
35523# Run this file to recreate the current configuration.
35524# Compiler output produced by configure, useful for debugging
35525# configure, is in config.log if it exists.
35526
35527debug=false
35528ac_cs_recheck=false
35529ac_cs_silent=false
35530SHELL=\${CONFIG_SHELL-$SHELL}
35531_ACEOF
35532
35533cat >>$CONFIG_STATUS <<\_ACEOF
35534## --------------------- ##
35535## M4sh Initialization. ##
35536## --------------------- ##
35537
35538# Be Bourne compatible
35539if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
35540 emulate sh
35541 NULLCMD=:
35542 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
35543 # is contrary to our usage. Disable this feature.
35544 alias -g '${1+"$@"}'='"$@"'
35545elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
35546 set -o posix
35547fi
35548
35549# Support unset when possible.
35550if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
35551 as_unset=unset
35552else
35553 as_unset=false
35554fi
35555
35556
35557# Work around bugs in pre-3.0 UWIN ksh.
35558$as_unset ENV MAIL MAILPATH
35559PS1='$ '
35560PS2='> '
35561PS4='+ '
35562
35563# NLS nuisances.
35564for as_var in \
35565 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
35566 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
35567 LC_TELEPHONE LC_TIME
35568do
35569 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
35570 eval $as_var=C; export $as_var
35571 else
35572 $as_unset $as_var
35573 fi
35574done
35575
35576# Required to use basename.
35577if expr a : '\(a\)' >/dev/null 2>&1; then
35578 as_expr=expr
35579else
35580 as_expr=false
35581fi
35582
35583if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
35584 as_basename=basename
35585else
35586 as_basename=false
35587fi
35588
35589
35590# Name of the executable.
35591as_me=`$as_basename "$0" ||
35592$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
35593 X"$0" : 'X\(//\)$' \| \
35594 X"$0" : 'X\(/\)$' \| \
35595 . : '\(.\)' 2>/dev/null ||
35596echo X/"$0" |
35597 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
35598 /^X\/\(\/\/\)$/{ s//\1/; q; }
35599 /^X\/\(\/\).*/{ s//\1/; q; }
35600 s/.*/./; q'`
35601
35602
35603# PATH needs CR, and LINENO needs CR and PATH.
35604# Avoid depending upon Character Ranges.
35605as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35606as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35607as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35608as_cr_digits='0123456789'
35609as_cr_alnum=$as_cr_Letters$as_cr_digits
35610
35611# The user is always right.
35612if test "${PATH_SEPARATOR+set}" != set; then
35613 echo "#! /bin/sh" >conf$$.sh
35614 echo "exit 0" >>conf$$.sh
35615 chmod +x conf$$.sh
35616 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
35617 PATH_SEPARATOR=';'
35618 else
35619 PATH_SEPARATOR=:
35620 fi
35621 rm -f conf$$.sh
35622fi
35623
35624
35625 as_lineno_1=$LINENO
35626 as_lineno_2=$LINENO
35627 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35628 test "x$as_lineno_1" != "x$as_lineno_2" &&
35629 test "x$as_lineno_3" = "x$as_lineno_2" || {
35630 # Find who we are. Look in the path if we contain no path at all
35631 # relative or not.
35632 case $0 in
35633 *[\\/]* ) as_myself=$0 ;;
35634 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35635for as_dir in $PATH
35636do
35637 IFS=$as_save_IFS
35638 test -z "$as_dir" && as_dir=.
35639 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
35640done
35641
35642 ;;
35643 esac
35644 # We did not find ourselves, most probably we were run as `sh COMMAND'
35645 # in which case we are not to be found in the path.
35646 if test "x$as_myself" = x; then
35647 as_myself=$0
35648 fi
35649 if test ! -f "$as_myself"; then
35650 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
35651echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
35652 { (exit 1); exit 1; }; }
35653 fi
35654 case $CONFIG_SHELL in
35655 '')
35656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35657for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
35658do
35659 IFS=$as_save_IFS
35660 test -z "$as_dir" && as_dir=.
35661 for as_base in sh bash ksh sh5; do
35662 case $as_dir in
35663 /*)
35664 if ("$as_dir/$as_base" -c '
35665 as_lineno_1=$LINENO
35666 as_lineno_2=$LINENO
35667 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35668 test "x$as_lineno_1" != "x$as_lineno_2" &&
35669 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
35670 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
35671 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
35672 CONFIG_SHELL=$as_dir/$as_base
35673 export CONFIG_SHELL
35674 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
35675 fi;;
35676 esac
35677 done
35678done
35679;;
35680 esac
35681
35682 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
35683 # uniformly replaced by the line number. The first 'sed' inserts a
35684 # line-number line before each line; the second 'sed' does the real
35685 # work. The second script uses 'N' to pair each line-number line
35686 # with the numbered line, and appends trailing '-' during
35687 # substitution so that $LINENO is not a special case at line end.
35688 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
35689 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
35690 sed '=' <$as_myself |
35691 sed '
35692 N
35693 s,$,-,
35694 : loop
35695 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
35696 t loop
35697 s,-$,,
35698 s,^['$as_cr_digits']*\n,,
35699 ' >$as_me.lineno &&
35700 chmod +x $as_me.lineno ||
35701 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
35702echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
35703 { (exit 1); exit 1; }; }
35704
35705 # Don't try to exec as it changes $[0], causing all sort of problems
35706 # (the dirname of $[0] is not the place where we might find the
35707 # original and so on. Autoconf is especially sensible to this).
35708 . ./$as_me.lineno
35709 # Exit status is that of the last command.
35710 exit
35711}
35712
35713
35714case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
35715 *c*,-n*) ECHO_N= ECHO_C='
35716' ECHO_T=' ' ;;
35717 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
35718 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
35719esac
35720
35721if expr a : '\(a\)' >/dev/null 2>&1; then
35722 as_expr=expr
35723else
35724 as_expr=false
35725fi
35726
35727rm -f conf$$ conf$$.exe conf$$.file
35728echo >conf$$.file
35729if ln -s conf$$.file conf$$ 2>/dev/null; then
35730 # We could just check for DJGPP; but this test a) works b) is more generic
35731 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
35732 if test -f conf$$.exe; then
35733 # Don't use ln at all; we don't have any links
35734 as_ln_s='cp -p'
35735 else
35736 as_ln_s='ln -s'
35737 fi
35738elif ln conf$$.file conf$$ 2>/dev/null; then
35739 as_ln_s=ln
35740else
35741 as_ln_s='cp -p'
35742fi
35743rm -f conf$$ conf$$.exe conf$$.file
35744
35745if mkdir -p . 2>/dev/null; then
35746 as_mkdir_p=:
35747else
35748 as_mkdir_p=false
35749fi
35750
35751as_executable_p="test -f"
35752
35753# Sed expression to map a string onto a valid CPP name.
35754as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
35755
35756# Sed expression to map a string onto a valid variable name.
35757as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
35758
35759
35760# IFS
35761# We need space, tab and new line, in precisely that order.
35762as_nl='
35763'
35764IFS=" $as_nl"
35765
35766# CDPATH.
35767$as_unset CDPATH
35768
35769exec 6>&1
35770
35771# Open the log real soon, to keep \$[0] and so on meaningful, and to
35772# report actual input values of CONFIG_FILES etc. instead of their
35773# values after options handling. Logging --version etc. is OK.
35774exec 5>>config.log
35775{
35776 echo
35777 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35778## Running $as_me. ##
35779_ASBOX
35780} >&5
35781cat >&5 <<_CSEOF
35782
35783This file was extended by wxWindows $as_me 2.5.0, which was
35784generated by GNU Autoconf 2.57. Invocation command line was
35785
35786 CONFIG_FILES = $CONFIG_FILES
35787 CONFIG_HEADERS = $CONFIG_HEADERS
35788 CONFIG_LINKS = $CONFIG_LINKS
35789 CONFIG_COMMANDS = $CONFIG_COMMANDS
35790 $ $0 $@
35791
35792_CSEOF
35793echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
35794echo >&5
35795_ACEOF
35796
35797# Files that config.status was made for.
35798if test -n "$ac_config_files"; then
35799 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
35800fi
35801
35802if test -n "$ac_config_headers"; then
35803 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
35804fi
35805
35806if test -n "$ac_config_links"; then
35807 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
35808fi
35809
35810if test -n "$ac_config_commands"; then
35811 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
35812fi
35813
35814cat >>$CONFIG_STATUS <<\_ACEOF
35815
35816ac_cs_usage="\
35817\`$as_me' instantiates files from templates according to the
35818current configuration.
35819
35820Usage: $0 [OPTIONS] [FILE]...
35821
35822 -h, --help print this help, then exit
35823 -V, --version print version number, then exit
35824 -q, --quiet do not print progress messages
35825 -d, --debug don't remove temporary files
35826 --recheck update $as_me by reconfiguring in the same conditions
35827 --file=FILE[:TEMPLATE]
35828 instantiate the configuration file FILE
35829 --header=FILE[:TEMPLATE]
35830 instantiate the configuration header FILE
35831
35832Configuration files:
35833$config_files
35834
35835Configuration headers:
35836$config_headers
35837
35838Configuration commands:
35839$config_commands
35840
35841Report bugs to <bug-autoconf@gnu.org>."
35842_ACEOF
35843
35844cat >>$CONFIG_STATUS <<_ACEOF
35845ac_cs_version="\\
35846wxWindows config.status 2.5.0
35847configured by $0, generated by GNU Autoconf 2.57,
35848 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
35849
35850Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
35851Free Software Foundation, Inc.
35852This config.status script is free software; the Free Software Foundation
35853gives unlimited permission to copy, distribute and modify it."
35854srcdir=$srcdir
35855INSTALL="$INSTALL"
35856_ACEOF
35857
35858cat >>$CONFIG_STATUS <<\_ACEOF
35859# If no file are specified by the user, then we need to provide default
35860# value. By we need to know if files were specified by the user.
35861ac_need_defaults=:
35862while test $# != 0
35863do
35864 case $1 in
35865 --*=*)
35866 ac_option=`expr "x$1" : 'x\([^=]*\)='`
35867 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
35868 ac_shift=:
35869 ;;
35870 -*)
35871 ac_option=$1
35872 ac_optarg=$2
35873 ac_shift=shift
35874 ;;
35875 *) # This is not an option, so the user has probably given explicit
35876 # arguments.
35877 ac_option=$1
35878 ac_need_defaults=false;;
35879 esac
35880
35881 case $ac_option in
35882 # Handling of the options.
35883_ACEOF
35884cat >>$CONFIG_STATUS <<\_ACEOF
35885 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35886 ac_cs_recheck=: ;;
35887 --version | --vers* | -V )
35888 echo "$ac_cs_version"; exit 0 ;;
35889 --he | --h)
35890 # Conflict between --help and --header
35891 { { echo "$as_me:$LINENO: error: ambiguous option: $1
35892Try \`$0 --help' for more information." >&5
35893echo "$as_me: error: ambiguous option: $1
35894Try \`$0 --help' for more information." >&2;}
35895 { (exit 1); exit 1; }; };;
35896 --help | --hel | -h )
35897 echo "$ac_cs_usage"; exit 0 ;;
35898 --debug | --d* | -d )
35899 debug=: ;;
35900 --file | --fil | --fi | --f )
35901 $ac_shift
35902 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
35903 ac_need_defaults=false;;
35904 --header | --heade | --head | --hea )
35905 $ac_shift
35906 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
35907 ac_need_defaults=false;;
35908 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35909 | -silent | --silent | --silen | --sile | --sil | --si | --s)
35910 ac_cs_silent=: ;;
35911
35912 # This is an error.
35913 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
35914Try \`$0 --help' for more information." >&5
35915echo "$as_me: error: unrecognized option: $1
35916Try \`$0 --help' for more information." >&2;}
35917 { (exit 1); exit 1; }; } ;;
35918
35919 *) ac_config_targets="$ac_config_targets $1" ;;
35920
35921 esac
35922 shift
35923done
35924
35925ac_configure_extra_args=
35926
35927if $ac_cs_silent; then
35928 exec 6>/dev/null
35929 ac_configure_extra_args="$ac_configure_extra_args --silent"
35930fi
35931
35932_ACEOF
35933cat >>$CONFIG_STATUS <<_ACEOF
35934if \$ac_cs_recheck; then
35935 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
35936 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
35937fi
35938
35939_ACEOF
35940
35941cat >>$CONFIG_STATUS <<_ACEOF
35942#
35943# INIT-COMMANDS section.
35944#
35945
35946
35947 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
35948 LN_S="${LN_S}"
35949
35950
35951
35952_ACEOF
35953
35954
35955
35956cat >>$CONFIG_STATUS <<\_ACEOF
35957for ac_config_target in $ac_config_targets
35958do
35959 case "$ac_config_target" in
35960 # Handling of arguments.
35961 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
35962 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
35963 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
35964 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
35965 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
35966 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
35967 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35968echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35969 { (exit 1); exit 1; }; };;
35970 esac
35971done
35972
35973# If the user did not use the arguments to specify the items to instantiate,
35974# then the envvar interface is used. Set only those that are not.
35975# We use the long form for the default assignment because of an extremely
35976# bizarre bug on SunOS 4.1.3.
35977if $ac_need_defaults; then
35978 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
35979 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
35980 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
35981fi
35982
35983# Have a temporary directory for convenience. Make it in the build tree
35984# simply because there is no reason to put it here, and in addition,
35985# creating and moving files from /tmp can sometimes cause problems.
35986# Create a temporary directory, and hook for its removal unless debugging.
35987$debug ||
35988{
35989 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
35990 trap '{ (exit 1); exit 1; }' 1 2 13 15
35991}
35992
35993# Create a (secure) tmp directory for tmp files.
35994
35995{
35996 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
35997 test -n "$tmp" && test -d "$tmp"
35998} ||
35999{
36000 tmp=./confstat$$-$RANDOM
36001 (umask 077 && mkdir $tmp)
36002} ||
36003{
36004 echo "$me: cannot create a temporary directory in ." >&2
36005 { (exit 1); exit 1; }
36006}
36007
36008_ACEOF
36009
36010cat >>$CONFIG_STATUS <<_ACEOF
36011
36012#
36013# CONFIG_FILES section.
36014#
36015
36016# No need to generate the scripts if there are no CONFIG_FILES.
36017# This happens for instance when ./config.status config.h
36018if test -n "\$CONFIG_FILES"; then
36019 # Protect against being on the right side of a sed subst in config.status.
36020 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
36021 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
36022s,@SHELL@,$SHELL,;t t
36023s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
36024s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
36025s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
36026s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
36027s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
36028s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
36029s,@exec_prefix@,$exec_prefix,;t t
36030s,@prefix@,$prefix,;t t
36031s,@program_transform_name@,$program_transform_name,;t t
36032s,@bindir@,$bindir,;t t
36033s,@sbindir@,$sbindir,;t t
36034s,@libexecdir@,$libexecdir,;t t
36035s,@datadir@,$datadir,;t t
36036s,@sysconfdir@,$sysconfdir,;t t
36037s,@sharedstatedir@,$sharedstatedir,;t t
36038s,@localstatedir@,$localstatedir,;t t
36039s,@libdir@,$libdir,;t t
36040s,@includedir@,$includedir,;t t
36041s,@oldincludedir@,$oldincludedir,;t t
36042s,@infodir@,$infodir,;t t
36043s,@mandir@,$mandir,;t t
36044s,@build_alias@,$build_alias,;t t
36045s,@host_alias@,$host_alias,;t t
36046s,@target_alias@,$target_alias,;t t
36047s,@DEFS@,$DEFS,;t t
36048s,@ECHO_C@,$ECHO_C,;t t
36049s,@ECHO_N@,$ECHO_N,;t t
36050s,@ECHO_T@,$ECHO_T,;t t
36051s,@LIBS@,$LIBS,;t t
36052s,@build@,$build,;t t
36053s,@build_cpu@,$build_cpu,;t t
36054s,@build_vendor@,$build_vendor,;t t
36055s,@build_os@,$build_os,;t t
36056s,@host@,$host,;t t
36057s,@host_cpu@,$host_cpu,;t t
36058s,@host_vendor@,$host_vendor,;t t
36059s,@host_os@,$host_os,;t t
36060s,@target@,$target,;t t
36061s,@target_cpu@,$target_cpu,;t t
36062s,@target_vendor@,$target_vendor,;t t
36063s,@target_os@,$target_os,;t t
36064s,@CC@,$CC,;t t
36065s,@CFLAGS@,$CFLAGS,;t t
36066s,@LDFLAGS@,$LDFLAGS,;t t
36067s,@CPPFLAGS@,$CPPFLAGS,;t t
36068s,@ac_ct_CC@,$ac_ct_CC,;t t
36069s,@EXEEXT@,$EXEEXT,;t t
36070s,@OBJEXT@,$OBJEXT,;t t
36071s,@CPP@,$CPP,;t t
36072s,@EGREP@,$EGREP,;t t
36073s,@CXX@,$CXX,;t t
36074s,@CXXFLAGS@,$CXXFLAGS,;t t
36075s,@ac_ct_CXX@,$ac_ct_CXX,;t t
36076s,@RANLIB@,$RANLIB,;t t
36077s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
36078s,@AR@,$AR,;t t
36079s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
36080s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
36081s,@INSTALL_DATA@,$INSTALL_DATA,;t t
36082s,@STRIP@,$STRIP,;t t
36083s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
36084s,@LN_S@,$LN_S,;t t
36085s,@CXXCPP@,$CXXCPP,;t t
36086s,@subdirs@,$subdirs,;t t
36087s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36088s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36089s,@GTK_LIBS@,$GTK_LIBS,;t t
36090s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36091s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36092s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36093s,@X_CFLAGS@,$X_CFLAGS,;t t
36094s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36095s,@X_LIBS@,$X_LIBS,;t t
36096s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36097s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36098s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36099s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36100s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36101s,@RESCOMP@,$RESCOMP,;t t
36102s,@DEREZ@,$DEREZ,;t t
36103s,@SETFILE@,$SETFILE,;t t
36104s,@LIBICONV@,$LIBICONV,;t t
36105s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
36106s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
36107s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
36108s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36109s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36110s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36111s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36112s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36113s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36114s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36115s,@VENDOR@,$VENDOR,;t t
36116s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36117s,@WXUNIV@,$WXUNIV,;t t
36118s,@MONOLITHIC@,$MONOLITHIC,;t t
36119s,@EXTRALIBS@,$EXTRALIBS,;t t
36120s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36121s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
36122s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36123s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36124s,@UNICODE@,$UNICODE,;t t
36125s,@BUILD@,$BUILD,;t t
36126s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36127s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36128s,@SHARED@,$SHARED,;t t
36129s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36130s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36131s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36132s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
36133s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36134s,@SET_MAKE@,$SET_MAKE,;t t
36135s,@MAKE_SET@,$MAKE_SET,;t t
36136s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36137s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36138s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36139s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36140s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36141s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36142s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36143s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
36144s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36145s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36146s,@LIBPREFIX@,$LIBPREFIX,;t t
36147s,@DLLPREFIX@,$DLLPREFIX,;t t
36148s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36149s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36150s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36151s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36152s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36153s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36154s,@PIC_FLAG@,$PIC_FLAG,;t t
36155s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36156s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36157s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36158s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36159s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36160s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36161s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36162s,@GCC_PCH@,$GCC_PCH,;t t
36163s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36164s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36165s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36166s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36167s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36168s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36169s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36170s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36171s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36172s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36173s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
36174s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36175s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36176s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36177s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1,;t t
36178s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36179s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
36180s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36181s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36182s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1,;t t
36183s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36184s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
36185s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36186s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36187s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36188s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36189s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36190s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36191s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36192s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36193s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36194s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36195s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36196s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36197s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
36198s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36199s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36200s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36201s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36202s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36203s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36204s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36205s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36206s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
36207s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
36208s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
36209s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
36210s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36211s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36212s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36213s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36214s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36215s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36216s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36217s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36218s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36219s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36220s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36221s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36222s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36223s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36224s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36225s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36226s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36227s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36228s,@COND_TOOLKIT_OS2@,$COND_TOOLKIT_OS2,;t t
36229s,@COND_TOOLKIT_OS2_USE_GUI_1@,$COND_TOOLKIT_OS2_USE_GUI_1,;t t
36230s,@COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0,;t t
36231s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
36232s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
36233s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
36234s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36235s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36236s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36237s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36238s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36239s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36240s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36241s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36242s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36243s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36244s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36245s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36246s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36247s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36248s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36249s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36250s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36251s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36252s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36253s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36254s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36255s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36256s,@PATH_IFS@,$PATH_IFS,;t t
36257s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36258s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36259s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36260s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36261s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36262s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36263s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36264s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36265s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36266s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36267s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36268s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36269s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36270s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36271s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36272s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36273s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36274s,@WX_ALL@,$WX_ALL,;t t
36275s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36276s,@SHARED_LD@,$SHARED_LD,;t t
36277s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36278s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36279s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36280s,@USE_GUI@,$USE_GUI,;t t
36281s,@AFMINSTALL@,$AFMINSTALL,;t t
36282s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36283s,@TOOLKIT@,$TOOLKIT,;t t
36284s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36285s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36286s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36287s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36288s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36289s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36290s,@cross_compiling@,$cross_compiling,;t t
36291s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36292s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36293s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36294s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36295s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36296s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36297s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36298s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
36299s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36300s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36301s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36302s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36303s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36304s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36305s,@GUIDIST@,$GUIDIST,;t t
36306s,@PORT_FILES@,$PORT_FILES,;t t
36307s,@DISTDIR@,$DISTDIR,;t t
36308s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36309s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36310s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36311s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36312s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36313s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36314s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36315s,@RESFLAGS@,$RESFLAGS,;t t
36316s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36317s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36318s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36319s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
36320s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36321s,@MACRESCOMP@,$MACRESCOMP,;t t
36322s,@MACSETFILE@,$MACSETFILE,;t t
36323s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
36324s,@GCC@,$GCC,;t t
36325s,@DLLTOOL@,$DLLTOOL,;t t
36326s,@AS@,$AS,;t t
36327s,@NM@,$NM,;t t
36328s,@LD@,$LD,;t t
36329s,@MAKEINFO@,$MAKEINFO,;t t
36330s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
36331s,@LIBOBJS@,$LIBOBJS,;t t
36332s,@LTLIBOBJS@,$LTLIBOBJS,;t t
36333CEOF
36334
36335_ACEOF
36336
36337 cat >>$CONFIG_STATUS <<\_ACEOF
36338 # Split the substitutions into bite-sized pieces for seds with
36339 # small command number limits, like on Digital OSF/1 and HP-UX.
36340 ac_max_sed_lines=48
36341 ac_sed_frag=1 # Number of current file.
36342 ac_beg=1 # First line for current file.
36343 ac_end=$ac_max_sed_lines # Line after last line for current file.
36344 ac_more_lines=:
36345 ac_sed_cmds=
36346 while $ac_more_lines; do
36347 if test $ac_beg -gt 1; then
36348 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
36349 else
36350 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
36351 fi
36352 if test ! -s $tmp/subs.frag; then
36353 ac_more_lines=false
36354 else
36355 # The purpose of the label and of the branching condition is to
36356 # speed up the sed processing (if there are no `@' at all, there
36357 # is no need to browse any of the substitutions).
36358 # These are the two extra sed commands mentioned above.
36359 (echo ':t
36360 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
36361 if test -z "$ac_sed_cmds"; then
36362 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
36363 else
36364 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
36365 fi
36366 ac_sed_frag=`expr $ac_sed_frag + 1`
36367 ac_beg=$ac_end
36368 ac_end=`expr $ac_end + $ac_max_sed_lines`
36369 fi
36370 done
36371 if test -z "$ac_sed_cmds"; then
36372 ac_sed_cmds=cat
36373 fi
36374fi # test -n "$CONFIG_FILES"
36375
36376_ACEOF
36377cat >>$CONFIG_STATUS <<\_ACEOF
36378for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
36379 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36380 case $ac_file in
36381 - | *:- | *:-:* ) # input from stdin
36382 cat >$tmp/stdin
36383 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36384 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36385 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36386 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36387 * ) ac_file_in=$ac_file.in ;;
36388 esac
36389
36390 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
36391 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
36392$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36393 X"$ac_file" : 'X\(//\)[^/]' \| \
36394 X"$ac_file" : 'X\(//\)$' \| \
36395 X"$ac_file" : 'X\(/\)' \| \
36396 . : '\(.\)' 2>/dev/null ||
36397echo X"$ac_file" |
36398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36399 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36400 /^X\(\/\/\)$/{ s//\1/; q; }
36401 /^X\(\/\).*/{ s//\1/; q; }
36402 s/.*/./; q'`
36403 { if $as_mkdir_p; then
36404 mkdir -p "$ac_dir"
36405 else
36406 as_dir="$ac_dir"
36407 as_dirs=
36408 while test ! -d "$as_dir"; do
36409 as_dirs="$as_dir $as_dirs"
36410 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36411$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36412 X"$as_dir" : 'X\(//\)[^/]' \| \
36413 X"$as_dir" : 'X\(//\)$' \| \
36414 X"$as_dir" : 'X\(/\)' \| \
36415 . : '\(.\)' 2>/dev/null ||
36416echo X"$as_dir" |
36417 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36418 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36419 /^X\(\/\/\)$/{ s//\1/; q; }
36420 /^X\(\/\).*/{ s//\1/; q; }
36421 s/.*/./; q'`
36422 done
36423 test ! -n "$as_dirs" || mkdir $as_dirs
36424 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36425echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36426 { (exit 1); exit 1; }; }; }
36427
36428 ac_builddir=.
36429
36430if test "$ac_dir" != .; then
36431 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36432 # A "../" for each directory in $ac_dir_suffix.
36433 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36434else
36435 ac_dir_suffix= ac_top_builddir=
36436fi
36437
36438case $srcdir in
36439 .) # No --srcdir option. We are building in place.
36440 ac_srcdir=.
36441 if test -z "$ac_top_builddir"; then
36442 ac_top_srcdir=.
36443 else
36444 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36445 fi ;;
36446 [\\/]* | ?:[\\/]* ) # Absolute path.
36447 ac_srcdir=$srcdir$ac_dir_suffix;
36448 ac_top_srcdir=$srcdir ;;
36449 *) # Relative path.
36450 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36451 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36452esac
36453# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36454# absolute.
36455ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36456ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36457ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36458ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36459
36460
36461 case $INSTALL in
36462 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
36463 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
36464 esac
36465
36466 if test x"$ac_file" != x-; then
36467 { echo "$as_me:$LINENO: creating $ac_file" >&5
36468echo "$as_me: creating $ac_file" >&6;}
36469 rm -f "$ac_file"
36470 fi
36471 # Let's still pretend it is `configure' which instantiates (i.e., don't
36472 # use $as_me), people would be surprised to read:
36473 # /* config.h. Generated by config.status. */
36474 if test x"$ac_file" = x-; then
36475 configure_input=
36476 else
36477 configure_input="$ac_file. "
36478 fi
36479 configure_input=$configure_input"Generated from `echo $ac_file_in |
36480 sed 's,.*/,,'` by configure."
36481
36482 # First look for the input files in the build tree, otherwise in the
36483 # src tree.
36484 ac_file_inputs=`IFS=:
36485 for f in $ac_file_in; do
36486 case $f in
36487 -) echo $tmp/stdin ;;
36488 [\\/$]*)
36489 # Absolute (can't be DOS-style, as IFS=:)
36490 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36491echo "$as_me: error: cannot find input file: $f" >&2;}
36492 { (exit 1); exit 1; }; }
36493 echo $f;;
36494 *) # Relative
36495 if test -f "$f"; then
36496 # Build tree
36497 echo $f
36498 elif test -f "$srcdir/$f"; then
36499 # Source tree
36500 echo $srcdir/$f
36501 else
36502 # /dev/null tree
36503 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36504echo "$as_me: error: cannot find input file: $f" >&2;}
36505 { (exit 1); exit 1; }; }
36506 fi;;
36507 esac
36508 done` || { (exit 1); exit 1; }
36509_ACEOF
36510cat >>$CONFIG_STATUS <<_ACEOF
36511 sed "$ac_vpsub
36512$extrasub
36513_ACEOF
36514cat >>$CONFIG_STATUS <<\_ACEOF
36515:t
36516/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
36517s,@configure_input@,$configure_input,;t t
36518s,@srcdir@,$ac_srcdir,;t t
36519s,@abs_srcdir@,$ac_abs_srcdir,;t t
36520s,@top_srcdir@,$ac_top_srcdir,;t t
36521s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
36522s,@builddir@,$ac_builddir,;t t
36523s,@abs_builddir@,$ac_abs_builddir,;t t
36524s,@top_builddir@,$ac_top_builddir,;t t
36525s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
36526s,@INSTALL@,$ac_INSTALL,;t t
36527" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
36528 rm -f $tmp/stdin
36529 if test x"$ac_file" != x-; then
36530 mv $tmp/out $ac_file
36531 else
36532 cat $tmp/out
36533 rm -f $tmp/out
36534 fi
36535
36536done
36537_ACEOF
36538cat >>$CONFIG_STATUS <<\_ACEOF
36539
36540#
36541# CONFIG_HEADER section.
36542#
36543
36544# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
36545# NAME is the cpp macro being defined and VALUE is the value it is being given.
36546#
36547# ac_d sets the value in "#define NAME VALUE" lines.
36548ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
36549ac_dB='[ ].*$,\1#\2'
36550ac_dC=' '
36551ac_dD=',;t'
36552# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
36553ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
36554ac_uB='$,\1#\2define\3'
36555ac_uC=' '
36556ac_uD=',;t'
36557
36558for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
36559 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36560 case $ac_file in
36561 - | *:- | *:-:* ) # input from stdin
36562 cat >$tmp/stdin
36563 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36564 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36565 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36566 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36567 * ) ac_file_in=$ac_file.in ;;
36568 esac
36569
36570 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
36571echo "$as_me: creating $ac_file" >&6;}
36572
36573 # First look for the input files in the build tree, otherwise in the
36574 # src tree.
36575 ac_file_inputs=`IFS=:
36576 for f in $ac_file_in; do
36577 case $f in
36578 -) echo $tmp/stdin ;;
36579 [\\/$]*)
36580 # Absolute (can't be DOS-style, as IFS=:)
36581 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36582echo "$as_me: error: cannot find input file: $f" >&2;}
36583 { (exit 1); exit 1; }; }
36584 echo $f;;
36585 *) # Relative
36586 if test -f "$f"; then
36587 # Build tree
36588 echo $f
36589 elif test -f "$srcdir/$f"; then
36590 # Source tree
36591 echo $srcdir/$f
36592 else
36593 # /dev/null tree
36594 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36595echo "$as_me: error: cannot find input file: $f" >&2;}
36596 { (exit 1); exit 1; }; }
36597 fi;;
36598 esac
36599 done` || { (exit 1); exit 1; }
36600 # Remove the trailing spaces.
36601 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
36602
36603_ACEOF
36604
36605# Transform confdefs.h into two sed scripts, `conftest.defines' and
36606# `conftest.undefs', that substitutes the proper values into
36607# config.h.in to produce config.h. The first handles `#define'
36608# templates, and the second `#undef' templates.
36609# And first: Protect against being on the right side of a sed subst in
36610# config.status. Protect against being in an unquoted here document
36611# in config.status.
36612rm -f conftest.defines conftest.undefs
36613# Using a here document instead of a string reduces the quoting nightmare.
36614# Putting comments in sed scripts is not portable.
36615#
36616# `end' is used to avoid that the second main sed command (meant for
36617# 0-ary CPP macros) applies to n-ary macro definitions.
36618# See the Autoconf documentation for `clear'.
36619cat >confdef2sed.sed <<\_ACEOF
36620s/[\\&,]/\\&/g
36621s,[\\$`],\\&,g
36622t clear
36623: clear
36624s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
36625t end
36626s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
36627: end
36628_ACEOF
36629# If some macros were called several times there might be several times
36630# the same #defines, which is useless. Nevertheless, we may not want to
36631# sort them, since we want the *last* AC-DEFINE to be honored.
36632uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
36633sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
36634rm -f confdef2sed.sed
36635
36636# This sed command replaces #undef with comments. This is necessary, for
36637# example, in the case of _POSIX_SOURCE, which is predefined and required
36638# on some systems where configure will not decide to define it.
36639cat >>conftest.undefs <<\_ACEOF
36640s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
36641_ACEOF
36642
36643# Break up conftest.defines because some shells have a limit on the size
36644# of here documents, and old seds have small limits too (100 cmds).
36645echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
36646echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
36647echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
36648echo ' :' >>$CONFIG_STATUS
36649rm -f conftest.tail
36650while grep . conftest.defines >/dev/null
36651do
36652 # Write a limited-size here document to $tmp/defines.sed.
36653 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
36654 # Speed up: don't consider the non `#define' lines.
36655 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
36656 # Work around the forget-to-reset-the-flag bug.
36657 echo 't clr' >>$CONFIG_STATUS
36658 echo ': clr' >>$CONFIG_STATUS
36659 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
36660 echo 'CEOF
36661 sed -f $tmp/defines.sed $tmp/in >$tmp/out
36662 rm -f $tmp/in
36663 mv $tmp/out $tmp/in
36664' >>$CONFIG_STATUS
36665 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
36666 rm -f conftest.defines
36667 mv conftest.tail conftest.defines
36668done
36669rm -f conftest.defines
36670echo ' fi # grep' >>$CONFIG_STATUS
36671echo >>$CONFIG_STATUS
36672
36673# Break up conftest.undefs because some shells have a limit on the size
36674# of here documents, and old seds have small limits too (100 cmds).
36675echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
36676rm -f conftest.tail
36677while grep . conftest.undefs >/dev/null
36678do
36679 # Write a limited-size here document to $tmp/undefs.sed.
36680 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
36681 # Speed up: don't consider the non `#undef'
36682 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
36683 # Work around the forget-to-reset-the-flag bug.
36684 echo 't clr' >>$CONFIG_STATUS
36685 echo ': clr' >>$CONFIG_STATUS
36686 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
36687 echo 'CEOF
36688 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
36689 rm -f $tmp/in
36690 mv $tmp/out $tmp/in
36691' >>$CONFIG_STATUS
36692 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
36693 rm -f conftest.undefs
36694 mv conftest.tail conftest.undefs
36695done
36696rm -f conftest.undefs
36697
36698cat >>$CONFIG_STATUS <<\_ACEOF
36699 # Let's still pretend it is `configure' which instantiates (i.e., don't
36700 # use $as_me), people would be surprised to read:
36701 # /* config.h. Generated by config.status. */
36702 if test x"$ac_file" = x-; then
36703 echo "/* Generated by configure. */" >$tmp/config.h
36704 else
36705 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
36706 fi
36707 cat $tmp/in >>$tmp/config.h
36708 rm -f $tmp/in
36709 if test x"$ac_file" != x-; then
36710 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
36711 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
36712echo "$as_me: $ac_file is unchanged" >&6;}
36713 else
36714 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
36715$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36716 X"$ac_file" : 'X\(//\)[^/]' \| \
36717 X"$ac_file" : 'X\(//\)$' \| \
36718 X"$ac_file" : 'X\(/\)' \| \
36719 . : '\(.\)' 2>/dev/null ||
36720echo X"$ac_file" |
36721 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36722 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36723 /^X\(\/\/\)$/{ s//\1/; q; }
36724 /^X\(\/\).*/{ s//\1/; q; }
36725 s/.*/./; q'`
36726 { if $as_mkdir_p; then
36727 mkdir -p "$ac_dir"
36728 else
36729 as_dir="$ac_dir"
36730 as_dirs=
36731 while test ! -d "$as_dir"; do
36732 as_dirs="$as_dir $as_dirs"
36733 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36734$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36735 X"$as_dir" : 'X\(//\)[^/]' \| \
36736 X"$as_dir" : 'X\(//\)$' \| \
36737 X"$as_dir" : 'X\(/\)' \| \
36738 . : '\(.\)' 2>/dev/null ||
36739echo X"$as_dir" |
36740 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36741 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36742 /^X\(\/\/\)$/{ s//\1/; q; }
36743 /^X\(\/\).*/{ s//\1/; q; }
36744 s/.*/./; q'`
36745 done
36746 test ! -n "$as_dirs" || mkdir $as_dirs
36747 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36748echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36749 { (exit 1); exit 1; }; }; }
36750
36751 rm -f $ac_file
36752 mv $tmp/config.h $ac_file
36753 fi
36754 else
36755 cat $tmp/config.h
36756 rm -f $tmp/config.h
36757 fi
36758done
36759_ACEOF
36760cat >>$CONFIG_STATUS <<\_ACEOF
36761
36762#
36763# CONFIG_COMMANDS section.
36764#
36765for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
36766 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
36767 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
36768 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
36769$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36770 X"$ac_dest" : 'X\(//\)[^/]' \| \
36771 X"$ac_dest" : 'X\(//\)$' \| \
36772 X"$ac_dest" : 'X\(/\)' \| \
36773 . : '\(.\)' 2>/dev/null ||
36774echo X"$ac_dest" |
36775 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36776 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36777 /^X\(\/\/\)$/{ s//\1/; q; }
36778 /^X\(\/\).*/{ s//\1/; q; }
36779 s/.*/./; q'`
36780 ac_builddir=.
36781
36782if test "$ac_dir" != .; then
36783 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36784 # A "../" for each directory in $ac_dir_suffix.
36785 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36786else
36787 ac_dir_suffix= ac_top_builddir=
36788fi
36789
36790case $srcdir in
36791 .) # No --srcdir option. We are building in place.
36792 ac_srcdir=.
36793 if test -z "$ac_top_builddir"; then
36794 ac_top_srcdir=.
36795 else
36796 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36797 fi ;;
36798 [\\/]* | ?:[\\/]* ) # Absolute path.
36799 ac_srcdir=$srcdir$ac_dir_suffix;
36800 ac_top_srcdir=$srcdir ;;
36801 *) # Relative path.
36802 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36803 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36804esac
36805# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36806# absolute.
36807ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36808ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36809ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36810ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36811
36812
36813 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
36814echo "$as_me: executing $ac_dest commands" >&6;}
36815 case $ac_dest in
36816 default )
36817 if test ! -h wx-config; then
36818 chmod +x wx-config
36819 mv wx-config wx${TOOLCHAIN_NAME}-config
36820 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
36821 fi
36822
36823 if test ! -d lib; then
36824 mkdir lib
36825 fi
36826 if test ! -d lib/wx; then
36827 mkdir lib/wx
36828 fi
36829 if test ! -d lib/wx/include; then
36830 mkdir lib/wx/include
36831 fi
36832 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
36833 mkdir lib/wx/include/${TOOLCHAIN_NAME}
36834 fi
36835 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
36836 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
36837 fi
36838 if test -f setup.h; then
36839 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
36840 fi
36841 ;;
36842 esac
36843done
36844_ACEOF
36845
36846cat >>$CONFIG_STATUS <<\_ACEOF
36847
36848{ (exit 0); exit 0; }
36849_ACEOF
36850chmod +x $CONFIG_STATUS
36851ac_clean_files=$ac_clean_files_save
36852
36853
36854# configure is writing to config.log, and then calls config.status.
36855# config.status does its own redirection, appending to config.log.
36856# Unfortunately, on DOS this fails, as config.log is still kept open
36857# by configure, so config.status won't be able to write to it; its
36858# output is simply discarded. So we exec the FD to /dev/null,
36859# effectively closing config.log, so it can be properly (re)opened and
36860# appended to by config.status. When coming back to configure, we
36861# need to make the FD available again.
36862if test "$no_create" != yes; then
36863 ac_cs_success=:
36864 ac_config_status_args=
36865 test "$silent" = yes &&
36866 ac_config_status_args="$ac_config_status_args --quiet"
36867 exec 5>/dev/null
36868 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
36869 exec 5>>config.log
36870 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36871 # would make configure fail if this is the last instruction.
36872 $ac_cs_success || { (exit 1); exit 1; }
36873fi
36874
36875#
36876# CONFIG_SUBDIRS section.
36877#
36878if test "$no_recursion" != yes; then
36879
36880 # Remove --cache-file and --srcdir arguments so they do not pile up.
36881 ac_sub_configure_args=
36882 ac_prev=
36883 for ac_arg in $ac_configure_args; do
36884 if test -n "$ac_prev"; then
36885 ac_prev=
36886 continue
36887 fi
36888 case $ac_arg in
36889 -cache-file | --cache-file | --cache-fil | --cache-fi \
36890 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
36891 ac_prev=cache_file ;;
36892 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
36893 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
36894 | --c=*)
36895 ;;
36896 --config-cache | -C)
36897 ;;
36898 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
36899 ac_prev=srcdir ;;
36900 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
36901 ;;
36902 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
36903 ac_prev=prefix ;;
36904 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
36905 ;;
36906 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
36907 esac
36908 done
36909
36910 # Always prepend --prefix to ensure using the same prefix
36911 # in subdir configurations.
36912 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
36913
36914 ac_popdir=`pwd`
36915 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
36916
36917 # Do not complain, so a configure script can configure whichever
36918 # parts of a large source tree are present.
36919 test -d $srcdir/$ac_dir || continue
36920
36921 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
36922echo "$as_me: configuring in $ac_dir" >&6;}
36923 { if $as_mkdir_p; then
36924 mkdir -p "$ac_dir"
36925 else
36926 as_dir="$ac_dir"
36927 as_dirs=
36928 while test ! -d "$as_dir"; do
36929 as_dirs="$as_dir $as_dirs"
36930 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36931$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36932 X"$as_dir" : 'X\(//\)[^/]' \| \
36933 X"$as_dir" : 'X\(//\)$' \| \
36934 X"$as_dir" : 'X\(/\)' \| \
36935 . : '\(.\)' 2>/dev/null ||
36936echo X"$as_dir" |
36937 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36938 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36939 /^X\(\/\/\)$/{ s//\1/; q; }
36940 /^X\(\/\).*/{ s//\1/; q; }
36941 s/.*/./; q'`
36942 done
36943 test ! -n "$as_dirs" || mkdir $as_dirs
36944 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36945echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36946 { (exit 1); exit 1; }; }; }
36947
36948 ac_builddir=.
36949
36950if test "$ac_dir" != .; then
36951 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36952 # A "../" for each directory in $ac_dir_suffix.
36953 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36954else
36955 ac_dir_suffix= ac_top_builddir=
36956fi
36957
36958case $srcdir in
36959 .) # No --srcdir option. We are building in place.
36960 ac_srcdir=.
36961 if test -z "$ac_top_builddir"; then
36962 ac_top_srcdir=.
36963 else
36964 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36965 fi ;;
36966 [\\/]* | ?:[\\/]* ) # Absolute path.
36967 ac_srcdir=$srcdir$ac_dir_suffix;
36968 ac_top_srcdir=$srcdir ;;
36969 *) # Relative path.
36970 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36971 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36972esac
36973# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36974# absolute.
36975ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36976ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36977ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36978ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36979
36980
36981 cd $ac_dir
36982
36983 # Check for guested configure; otherwise get Cygnus style configure.
36984 if test -f $ac_srcdir/configure.gnu; then
36985 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
36986 elif test -f $ac_srcdir/configure; then
36987 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
36988 elif test -f $ac_srcdir/configure.in; then
36989 ac_sub_configure=$ac_configure
36990 else
36991 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
36992echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
36993 ac_sub_configure=
36994 fi
36995
36996 # The recursion is here.
36997 if test -n "$ac_sub_configure"; then
36998 # Make the cache file name correct relative to the subdirectory.
36999 case $cache_file in
37000 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
37001 *) # Relative path.
37002 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
37003 esac
37004
37005 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
37006echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
37007 # The eval makes quoting arguments work.
37008 eval $ac_sub_configure $ac_sub_configure_args \
37009 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
37010 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
37011echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
37012 { (exit 1); exit 1; }; }
37013 fi
37014
37015 cd $ac_popdir
37016 done
37017fi
37018
37019
37020echo
37021echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
37022echo ""
37023echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
37024echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
37025
37026echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
37027echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
37028echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
37029
37030echo " What level of wxWindows compatibility should be enabled?"
37031echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
37032echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
37033
37034echo " Which libraries should wxWindows use?"
37035echo " jpeg ${wxUSE_LIBJPEG-none}"
37036echo " png ${wxUSE_LIBPNG-none}"
37037echo " regex ${wxUSE_REGEX}"
37038echo " tiff ${wxUSE_LIBTIFF-none}"
37039echo " zlib ${wxUSE_ZLIB}"
37040echo " odbc ${wxUSE_ODBC}"
37041echo " expat ${wxUSE_EXPAT}"
37042
37043echo ""
37044