]> git.saurik.com Git - wxWidgets.git/blob - configure
wxCocoa no longer uses the generic notebook.
[wxWidgets.git] / configure
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.59 for wxWidgets 2.5.2.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for 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
46 do
47 if (set +x; test -z "`(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
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo 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.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if 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
100 fi
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
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
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
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
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
155 done
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
190 case `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= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if 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
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $as_nl"
242
243 # CDPATH.
244 $as_unset CDPATH
245
246
247 # Name of the host.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${CONFIG_SHELL-/bin/sh}
264
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
269
270 # Identity of this package.
271 PACKAGE_NAME='wxWidgets'
272 PACKAGE_TARNAME='wxwidgets'
273 PACKAGE_VERSION='2.5.2'
274 PACKAGE_STRING='wxWidgets 2.5.2'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_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 SDL_CONFIG SDL_CFLAGS SDL_LIBS 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 USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX PLATFORM_OS2 SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT 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_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 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_0_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_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 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_MAC_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_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_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_ODBC_1 COND_USE_PLUGINS_0 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WITH_PLUGIN_SDL_1 COND_WITH_SDL_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 LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC GCC_SEARCHES_USR_LOCAL_INCLUDE DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
317 ac_subst_files=''
318
319 # Initialize some variables set by options.
320 ac_init_help=
321 ac_init_version=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
324 cache_file=/dev/null
325 exec_prefix=NONE
326 no_create=
327 no_recursion=
328 prefix=NONE
329 program_prefix=NONE
330 program_suffix=NONE
331 program_transform_name=s,x,x,
332 silent=
333 site=
334 srcdir=
335 verbose=
336 x_includes=NONE
337 x_libraries=NONE
338
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir='${exec_prefix}/bin'
345 sbindir='${exec_prefix}/sbin'
346 libexecdir='${exec_prefix}/libexec'
347 datadir='${prefix}/share'
348 sysconfdir='${prefix}/etc'
349 sharedstatedir='${prefix}/com'
350 localstatedir='${prefix}/var'
351 libdir='${exec_prefix}/lib'
352 includedir='${prefix}/include'
353 oldincludedir='/usr/include'
354 infodir='${prefix}/info'
355 mandir='${prefix}/man'
356
357 ac_prev=
358 for ac_option
359 do
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
363 ac_prev=
364 continue
365 fi
366
367 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368
369 # Accept the important Cygnus configure options, so we can diagnose typos.
370
371 case $ac_option in
372
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 ac_prev=bindir ;;
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 bindir=$ac_optarg ;;
377
378 -build | --build | --buil | --bui | --bu)
379 ac_prev=build_alias ;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias=$ac_optarg ;;
382
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev=cache_file ;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file=$ac_optarg ;;
389
390 --config-cache | -C)
391 cache_file=config.cache ;;
392
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 ac_prev=datadir ;;
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 | --da=*)
397 datadir=$ac_optarg ;;
398
399 -disable-* | --disable-*)
400 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
407
408 -enable-* | --enable-*)
409 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415 case $ac_option in
416 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 *) ac_optarg=yes ;;
418 esac
419 eval "enable_$ac_feature='$ac_optarg'" ;;
420
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev=exec_prefix ;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix=$ac_optarg ;;
429
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
432 with_gas=yes ;;
433
434 -help | --help | --hel | --he | -h)
435 ac_init_help=long ;;
436 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
437 ac_init_help=recursive ;;
438 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
439 ac_init_help=short ;;
440
441 -host | --host | --hos | --ho)
442 ac_prev=host_alias ;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias=$ac_optarg ;;
445
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev=includedir ;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir=$ac_optarg ;;
452
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 ac_prev=infodir ;;
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir=$ac_optarg ;;
457
458 -libdir | --libdir | --libdi | --libd)
459 ac_prev=libdir ;;
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 libdir=$ac_optarg ;;
462
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev=libexecdir ;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir=$ac_optarg ;;
469
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev=localstatedir ;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir=$ac_optarg ;;
478
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 ac_prev=mandir ;;
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 mandir=$ac_optarg ;;
483
484 -nfp | --nfp | --nf)
485 # Obsolete; use --without-fp.
486 with_fp=no ;;
487
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
490 no_create=yes ;;
491
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 no_recursion=yes ;;
495
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev=oldincludedir ;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir=$ac_optarg ;;
504
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 ac_prev=prefix ;;
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 prefix=$ac_optarg ;;
509
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev=program_prefix ;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix=$ac_optarg ;;
516
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev=program_suffix ;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix=$ac_optarg ;;
523
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev=program_transform_name ;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name=$ac_optarg ;;
540
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
543 silent=yes ;;
544
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 ac_prev=sbindir ;;
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 | --sbi=* | --sb=*)
549 sbindir=$ac_optarg ;;
550
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
554 | --sha | --sh)
555 ac_prev=sharedstatedir ;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 | --sha=* | --sh=*)
560 sharedstatedir=$ac_optarg ;;
561
562 -site | --site | --sit)
563 ac_prev=site ;;
564 -site=* | --site=* | --sit=*)
565 site=$ac_optarg ;;
566
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 ac_prev=srcdir ;;
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 srcdir=$ac_optarg ;;
571
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev=sysconfdir ;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir=$ac_optarg ;;
578
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev=target_alias ;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias=$ac_optarg ;;
583
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 verbose=yes ;;
586
587 -version | --version | --versio | --versi | --vers | -V)
588 ac_init_version=: ;;
589
590 -with-* | --with-*)
591 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package=`echo $ac_package| sed 's/-/_/g'`
597 case $ac_option in
598 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 *) ac_optarg=yes ;;
600 esac
601 eval "with_$ac_package='$ac_optarg'" ;;
602
603 -without-* | --without-*)
604 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
611
612 --x)
613 # Obsolete; use --with-x.
614 with_x=yes ;;
615
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev=x_includes ;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes=$ac_optarg ;;
622
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev=x_libraries ;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries=$ac_optarg ;;
629
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
633 ;;
634
635 *=*)
636 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
643 export $ac_envvar ;;
644
645 *)
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 ;;
652
653 esac
654 done
655
656 if test -n "$ac_prev"; then
657 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
660 fi
661
662 # Be sure to have absolute paths.
663 for ac_var in exec_prefix prefix
664 do
665 eval ac_val=$`echo $ac_var`
666 case $ac_val in
667 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
670 esac
671 done
672
673 # Be sure to have absolute paths.
674 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
676 do
677 eval ac_val=$`echo $ac_var`
678 case $ac_val in
679 [\\/$]* | ?:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
682 esac
683 done
684
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
688 build=$build_alias
689 host=$host_alias
690 target=$target_alias
691
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x; then
694 if test "x$build_alias" = x; then
695 cross_compiling=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
699 cross_compiling=yes
700 fi
701 fi
702
703 ac_tool_prefix=
704 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705
706 test "$silent" = yes && exec 6>/dev/null
707
708
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
719 echo X"$0" |
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
724 s/.*/./; q'`
725 srcdir=$ac_confdir
726 if test ! -r $srcdir/$ac_unique_file; then
727 srcdir=..
728 fi
729 else
730 ac_srcdir_defaulted=no
731 fi
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
736 else
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
739 fi
740 fi
741 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set=${build_alias+set}
746 ac_env_build_alias_value=$build_alias
747 ac_cv_env_build_alias_set=${build_alias+set}
748 ac_cv_env_build_alias_value=$build_alias
749 ac_env_host_alias_set=${host_alias+set}
750 ac_env_host_alias_value=$host_alias
751 ac_cv_env_host_alias_set=${host_alias+set}
752 ac_cv_env_host_alias_value=$host_alias
753 ac_env_target_alias_set=${target_alias+set}
754 ac_env_target_alias_value=$target_alias
755 ac_cv_env_target_alias_set=${target_alias+set}
756 ac_cv_env_target_alias_value=$target_alias
757 ac_env_CC_set=${CC+set}
758 ac_env_CC_value=$CC
759 ac_cv_env_CC_set=${CC+set}
760 ac_cv_env_CC_value=$CC
761 ac_env_CFLAGS_set=${CFLAGS+set}
762 ac_env_CFLAGS_value=$CFLAGS
763 ac_cv_env_CFLAGS_set=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value=$CFLAGS
765 ac_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_env_LDFLAGS_value=$LDFLAGS
767 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value=$LDFLAGS
769 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
773 ac_env_CPP_set=${CPP+set}
774 ac_env_CPP_value=$CPP
775 ac_cv_env_CPP_set=${CPP+set}
776 ac_cv_env_CPP_value=$CPP
777 ac_env_CXX_set=${CXX+set}
778 ac_env_CXX_value=$CXX
779 ac_cv_env_CXX_set=${CXX+set}
780 ac_cv_env_CXX_value=$CXX
781 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
785 ac_env_CXXCPP_set=${CXXCPP+set}
786 ac_env_CXXCPP_value=$CXXCPP
787 ac_cv_env_CXXCPP_set=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value=$CXXCPP
789
790 #
791 # Report the --help message.
792 #
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
796 cat <<_ACEOF
797 \`configure' configures wxWidgets 2.5.2 to adapt to many kinds of systems.
798
799 Usage: $0 [OPTION]... [VAR=VALUE]...
800
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
803
804 Defaults for the options are specified in brackets.
805
806 Configuration:
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
816
817 _ACEOF
818
819 cat <<_ACEOF
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
822 [$ac_default_prefix]
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
824 [PREFIX]
825
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
830
831 For better control, use the options below.
832
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
846 _ACEOF
847
848 cat <<\_ACEOF
849
850 X features:
851 --x-includes=DIR X include files are in DIR
852 --x-libraries=DIR X library files are in DIR
853
854 System types:
855 --build=BUILD configure for building on BUILD [guessed]
856 --host=HOST cross-compile to build programs to run on HOST [BUILD]
857 --target=TARGET configure for building compilers for TARGET [HOST]
858 _ACEOF
859 fi
860
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short | recursive ) echo "Configuration of wxWidgets 2.5.2:";;
864 esac
865 cat <<\_ACEOF
866
867 Optional Features:
868 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
869 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --enable-gtk2 use GTK+ 2.0 if available
876 --enable-gpe use GNOME PDA Environment features if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets 2.2 compatibility
893 --disable-compat24 disable wxWidgets 2.4 compatibility
894 --enable-rpath=DIR output the rpath flag from wx-config
895 --enable-intl use internationalization system
896 --enable-config use wxConfig (and derived) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP (requires wxProtocol
899 --enable-http use wxHTTP (requires wxProtocol
900 --enable-fileproto use wxFileProto class (requires wxProtocol
901 --enable-sockets use socket/network classes
902 --enable-ole use OLE classes (Win32 only)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication (wxSocket etc.)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
907 --enable-cmdline use wxCmdLineParser class
908 --enable-datetime use wxDateTime class
909 --enable-dialupman use dialup network classes
910 --enable-dynlib use wxLibrary class for DLL loading
911 --enable-dynamicloader use (new) wxDynamicLibrary class
912 --enable-exceptions build exception-safe library
913 --enable-ffile use wxFFile class
914 --enable-file use wxFile class
915 --enable-filesystem use virtual file systems classes
916 --enable-fontmap use font encodings conversion classes
917 --enable-fs_inet use virtual HTTP/FTP filesystems
918 --enable-fs_zip use virtual ZIP filesystems
919 --enable-geometry use geometry class
920 --enable-log use logging system
921 --enable-longlong use wxLongLong class
922 --enable-mimetype use wxMimeTypesManager
923 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
924 --enable-snglinst use wxSingleInstanceChecker class
925 --enable-streams use wxStream etc classes
926 --enable-std_iostreams use standard C++ stream classes
927 --enable-stopwatch use wxStopWatch class
928 --enable-sysoptions use wxSystemOptions
929 --enable-textbuf use wxTextBuffer class
930 --enable-textfile use wxTextFile class
931 --enable-timer use wxTimer class
932 --enable-unicode compile wxString with Unicode support
933 --enable-sound use wxSound class
934 --enable-wxprintfv use wxWidgets implementation of vprintf()
935 --enable-zipstream use wxZipInputStream
936 --enable-url use wxURL class
937 --enable-protocol use wxProtocol class
938 --enable-protocol-http HTTP support in wxProtocol
939 --enable-protocol-ftp FTP support in wxProtocol
940 --enable-protocol-file FILE support in wxProtocol
941 --enable-threads use threads
942 --enable-docview use document view architecture
943 --enable-help use help subsystem
944 --enable-mshtmlhelp use MS HTML Help (win32)
945 --enable-html use wxHTML sub-library
946 --enable-htmlhelp use wxHTML-based help
947 --enable-constraints use layout-constraints system
948 --enable-printarch use printing architecture
949 --enable-mdi use multiple document interface architecture
950 --enable-mdidoc use docview architecture with MDI
951 --enable-loggui use standard GUI logger
952 --enable-logwin use wxLogWindow
953 --enable-logdialog use wxLogDialog
954 --enable-webkit use wxWebKitCtrl (Mac)
955 --enable-postscript use wxPostscriptDC device context (default for gtk+)
956 --enable-prologio not available; see contrib
957 --enable-resources not available; see contrib
958 --enable-clipboard use wxClipboard class
959 --enable-dnd use Drag'n'Drop classes
960 --enable-metafile use win32 metafiles
961 --enable-controls use all usual controls
962 --enable-accel use accelerators
963 --enable-button use wxButton class
964 --enable-bmpbutton use wxBitmapButton class
965 --enable-calendar use wxCalendarCtrl class
966 --enable-caret use wxCaret class
967 --enable-checkbox use wxCheckBox class
968 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
969 --enable-choice use wxChoice class
970 --enable-combobox use wxComboBox class
971 --enable-display use wxDisplay class
972 --enable-gauge use wxGauge class
973 --enable-grid use wxGrid class
974 --enable-imaglist use wxImageList class
975 --enable-listbook use wxListbook class
976 --enable-listbox use wxListBox class
977 --enable-listctrl use wxListCtrl class
978 --enable-notebook use wxNotebook class
979 --enable-radiobox use wxRadioBox class
980 --enable-radiobtn use wxRadioButton class
981 --enable-sash use wxSashWindow class
982 --enable-scrollbar use wxScrollBar class and scrollable windows
983 --enable-slider use wxSlider class
984 --enable-spinbtn use wxSpinButton class
985 --enable-spinctrl use wxSpinCtrl class
986 --enable-splitter use wxSplitterWindow class
987 --enable-statbmp use wxStaticBitmap class
988 --enable-statbox use wxStaticBox class
989 --enable-statline use wxStaticLine class
990 --enable-stattext use wxStaticText class
991 --enable-statusbar use wxStatusBar class
992 --enable-tabdialog use wxTabControl class
993 --enable-textctrl use wxTextCtrl class
994 --enable-togglebtn use wxToggleButton class
995 --enable-toolbar use wxToolBar class
996 --enable-tbarnative use native wxToolBar class
997 --enable-tbarsmpl use wxToolBarSimple class
998 --enable-treectrl use wxTreeCtrl class
999 --enable-tipwindow use wxTipWindow class
1000 --enable-popupwin use wxPopUpWindow class
1001 --enable-commondlg use all common dialogs
1002 --enable-choicedlg use wxChoiceDialog
1003 --enable-coldlg use wxColourDialog
1004 --enable-filedlg use wxFileDialog
1005 --enable-finddlg use wxFindReplaceDialog
1006 --enable-fontdlg use wxFontDialog
1007 --enable-dirdlg use wxDirDialog
1008 --enable-msgdlg use wxMessageDialog
1009 --enable-numberdlg use wxNumberEntryDialog
1010 --enable-splash use wxSplashScreen
1011 --enable-textdlg use wxTextDialog
1012 --enable-tipdlg use startup tips
1013 --enable-progressdlg use wxProgressDialog
1014 --enable-wizarddlg use wxWizard
1015 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1016 --enable-miniframe use wxMiniFrame class
1017 --enable-tooltips use wxToolTip class
1018 --enable-splines use spline drawing code
1019 --enable-validators use wxValidator and derived classes
1020 --enable-busyinfo use wxBusyInfo
1021 --enable-joystick use wxJoystick (Linux only)
1022 --enable-metafiles use wxMetaFile (Windows only)
1023 --enable-dragimage use wxDragImage
1024 --enable-accessibility enable accessibility support
1025 --enable-palette use wxPalette class
1026 --enable-image use wxImage class
1027 --enable-gif use gif images (GIF file format)
1028 --enable-pcx use pcx images (PCX file format)
1029 --enable-iff use iff images (IFF file format)
1030 --enable-pnm use pnm images (PNM file format)
1031 --enable-xpm use xpm images (XPM file format)
1032 --enable-icocur use Windows ICO and CUR formats
1033 --enable-official_build official build of wxWidgets (win32 DLL only)
1034 --enable-vendor=VENDOR vendor name (win32 DLL only)
1035 --disable-largefile omit support for large files
1036 --disable-gtktest do not try to compile and run a test GTK+ program
1037 --disable-gtktest Do not try to compile and run a test GTK program
1038 --disable-sdltest Do not try to compile and run a test SDL program
1039 --enable-omf use OMF object format (OS/2)
1040 --disable-precomp-headers don't use precompiled headers even if compiler can
1041
1042 Optional Packages:
1043 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1044 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1045 --with-gtk use GTK+
1046 --with-motif use Motif/Lesstif
1047 --with-mac use Mac OS X
1048 --with-cocoa use Cocoa
1049 --with-wine use Wine
1050 --with-msw use MS-Windows
1051 --with-pm use OS/2 Presentation Manager
1052 --with-mgl use SciTech MGL
1053 --with-microwin use MicroWindows
1054 --with-x11 use X11
1055 --with-libpng use libpng (PNG image format)
1056 --with-libjpeg use libjpeg (JPEG file format)
1057 --with-libtiff use libtiff (TIFF file format)
1058 --with-libxpm use libxpm (XPM file format)
1059 --with-libmspack use libmspack (CHM help files loading)
1060 --with-sdl use SDL for audio on Unix
1061 --with-opengl use OpenGL (or Mesa)
1062 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1063 --with-regex enable support for wxRegEx class
1064 --with-zlib use zlib for LZW compression
1065 --with-odbc use the IODBC and wxODBC classes
1066 --with-expat enable XML support using expat parser
1067 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1068 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1069 --with-x use the X Window System
1070 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1071 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1072 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1073 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1074 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1075
1076 Some influential environment variables:
1077 CC C compiler command
1078 CFLAGS C compiler flags
1079 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1080 nonstandard directory <lib dir>
1081 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1082 headers in a nonstandard directory <include dir>
1083 CPP C preprocessor
1084 CXX C++ compiler command
1085 CXXFLAGS C++ compiler flags
1086 CXXCPP C++ preprocessor
1087
1088 Use these variables to override the choices made by `configure' or to help
1089 it to find libraries and programs with nonstandard names/locations.
1090
1091 Report bugs to <wx-dev@lists.wxwidgets.org>.
1092 _ACEOF
1093 fi
1094
1095 if test "$ac_init_help" = "recursive"; then
1096 # If there are subdirs, report their specific --help.
1097 ac_popdir=`pwd`
1098 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1099 test -d $ac_dir || continue
1100 ac_builddir=.
1101
1102 if test "$ac_dir" != .; then
1103 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1104 # A "../" for each directory in $ac_dir_suffix.
1105 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1106 else
1107 ac_dir_suffix= ac_top_builddir=
1108 fi
1109
1110 case $srcdir in
1111 .) # No --srcdir option. We are building in place.
1112 ac_srcdir=.
1113 if test -z "$ac_top_builddir"; then
1114 ac_top_srcdir=.
1115 else
1116 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1117 fi ;;
1118 [\\/]* | ?:[\\/]* ) # Absolute path.
1119 ac_srcdir=$srcdir$ac_dir_suffix;
1120 ac_top_srcdir=$srcdir ;;
1121 *) # Relative path.
1122 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1123 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1124 esac
1125
1126 # Do not use `cd foo && pwd` to compute absolute paths, because
1127 # the directories may not exist.
1128 case `pwd` in
1129 .) ac_abs_builddir="$ac_dir";;
1130 *)
1131 case "$ac_dir" in
1132 .) ac_abs_builddir=`pwd`;;
1133 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1134 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1135 esac;;
1136 esac
1137 case $ac_abs_builddir in
1138 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1139 *)
1140 case ${ac_top_builddir}. in
1141 .) ac_abs_top_builddir=$ac_abs_builddir;;
1142 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1143 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1144 esac;;
1145 esac
1146 case $ac_abs_builddir in
1147 .) ac_abs_srcdir=$ac_srcdir;;
1148 *)
1149 case $ac_srcdir in
1150 .) ac_abs_srcdir=$ac_abs_builddir;;
1151 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1152 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1153 esac;;
1154 esac
1155 case $ac_abs_builddir in
1156 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1157 *)
1158 case $ac_top_srcdir in
1159 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1160 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1161 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1162 esac;;
1163 esac
1164
1165 cd $ac_dir
1166 # Check for guested configure; otherwise get Cygnus style configure.
1167 if test -f $ac_srcdir/configure.gnu; then
1168 echo
1169 $SHELL $ac_srcdir/configure.gnu --help=recursive
1170 elif test -f $ac_srcdir/configure; then
1171 echo
1172 $SHELL $ac_srcdir/configure --help=recursive
1173 elif test -f $ac_srcdir/configure.ac ||
1174 test -f $ac_srcdir/configure.in; then
1175 echo
1176 $ac_configure --help
1177 else
1178 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1179 fi
1180 cd $ac_popdir
1181 done
1182 fi
1183
1184 test -n "$ac_init_help" && exit 0
1185 if $ac_init_version; then
1186 cat <<\_ACEOF
1187 wxWidgets configure 2.5.2
1188 generated by GNU Autoconf 2.59
1189
1190 Copyright (C) 2003 Free Software Foundation, Inc.
1191 This configure script is free software; the Free Software Foundation
1192 gives unlimited permission to copy, distribute and modify it.
1193 _ACEOF
1194 exit 0
1195 fi
1196 exec 5>config.log
1197 cat >&5 <<_ACEOF
1198 This file contains any messages produced by compilers while
1199 running configure, to aid debugging if configure makes a mistake.
1200
1201 It was created by wxWidgets $as_me 2.5.2, which was
1202 generated by GNU Autoconf 2.59. Invocation command line was
1203
1204 $ $0 $@
1205
1206 _ACEOF
1207 {
1208 cat <<_ASUNAME
1209 ## --------- ##
1210 ## Platform. ##
1211 ## --------- ##
1212
1213 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1214 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1215 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1216 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1217 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1218
1219 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1220 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1221
1222 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1223 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1224 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1225 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1226 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1227 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1228 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1229
1230 _ASUNAME
1231
1232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1233 for as_dir in $PATH
1234 do
1235 IFS=$as_save_IFS
1236 test -z "$as_dir" && as_dir=.
1237 echo "PATH: $as_dir"
1238 done
1239
1240 } >&5
1241
1242 cat >&5 <<_ACEOF
1243
1244
1245 ## ----------- ##
1246 ## Core tests. ##
1247 ## ----------- ##
1248
1249 _ACEOF
1250
1251
1252 # Keep a trace of the command line.
1253 # Strip out --no-create and --no-recursion so they do not pile up.
1254 # Strip out --silent because we don't want to record it for future runs.
1255 # Also quote any args containing shell meta-characters.
1256 # Make two passes to allow for proper duplicate-argument suppression.
1257 ac_configure_args=
1258 ac_configure_args0=
1259 ac_configure_args1=
1260 ac_sep=
1261 ac_must_keep_next=false
1262 for ac_pass in 1 2
1263 do
1264 for ac_arg
1265 do
1266 case $ac_arg in
1267 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1268 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1269 | -silent | --silent | --silen | --sile | --sil)
1270 continue ;;
1271 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1272 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1273 esac
1274 case $ac_pass in
1275 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1276 2)
1277 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1278 if test $ac_must_keep_next = true; then
1279 ac_must_keep_next=false # Got value, back to normal.
1280 else
1281 case $ac_arg in
1282 *=* | --config-cache | -C | -disable-* | --disable-* \
1283 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1284 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1285 | -with-* | --with-* | -without-* | --without-* | --x)
1286 case "$ac_configure_args0 " in
1287 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1288 esac
1289 ;;
1290 -* ) ac_must_keep_next=true ;;
1291 esac
1292 fi
1293 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1294 # Get rid of the leading space.
1295 ac_sep=" "
1296 ;;
1297 esac
1298 done
1299 done
1300 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1301 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1302
1303 # When interrupted or exit'd, cleanup temporary files, and complete
1304 # config.log. We remove comments because anyway the quotes in there
1305 # would cause problems or look ugly.
1306 # WARNING: Be sure not to use single quotes in there, as some shells,
1307 # such as our DU 5.0 friend, will then `close' the trap.
1308 trap 'exit_status=$?
1309 # Save into config.log some information that might help in debugging.
1310 {
1311 echo
1312
1313 cat <<\_ASBOX
1314 ## ---------------- ##
1315 ## Cache variables. ##
1316 ## ---------------- ##
1317 _ASBOX
1318 echo
1319 # The following way of writing the cache mishandles newlines in values,
1320 {
1321 (set) 2>&1 |
1322 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1323 *ac_space=\ *)
1324 sed -n \
1325 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1326 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1327 ;;
1328 *)
1329 sed -n \
1330 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1331 ;;
1332 esac;
1333 }
1334 echo
1335
1336 cat <<\_ASBOX
1337 ## ----------------- ##
1338 ## Output variables. ##
1339 ## ----------------- ##
1340 _ASBOX
1341 echo
1342 for ac_var in $ac_subst_vars
1343 do
1344 eval ac_val=$`echo $ac_var`
1345 echo "$ac_var='"'"'$ac_val'"'"'"
1346 done | sort
1347 echo
1348
1349 if test -n "$ac_subst_files"; then
1350 cat <<\_ASBOX
1351 ## ------------- ##
1352 ## Output files. ##
1353 ## ------------- ##
1354 _ASBOX
1355 echo
1356 for ac_var in $ac_subst_files
1357 do
1358 eval ac_val=$`echo $ac_var`
1359 echo "$ac_var='"'"'$ac_val'"'"'"
1360 done | sort
1361 echo
1362 fi
1363
1364 if test -s confdefs.h; then
1365 cat <<\_ASBOX
1366 ## ----------- ##
1367 ## confdefs.h. ##
1368 ## ----------- ##
1369 _ASBOX
1370 echo
1371 sed "/^$/d" confdefs.h | sort
1372 echo
1373 fi
1374 test "$ac_signal" != 0 &&
1375 echo "$as_me: caught signal $ac_signal"
1376 echo "$as_me: exit $exit_status"
1377 } >&5
1378 rm -f core *.core &&
1379 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1380 exit $exit_status
1381 ' 0
1382 for ac_signal in 1 2 13 15; do
1383 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1384 done
1385 ac_signal=0
1386
1387 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1388 rm -rf conftest* confdefs.h
1389 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1390 echo >confdefs.h
1391
1392 # Predefined preprocessor variables.
1393
1394 cat >>confdefs.h <<_ACEOF
1395 #define PACKAGE_NAME "$PACKAGE_NAME"
1396 _ACEOF
1397
1398
1399 cat >>confdefs.h <<_ACEOF
1400 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1401 _ACEOF
1402
1403
1404 cat >>confdefs.h <<_ACEOF
1405 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1406 _ACEOF
1407
1408
1409 cat >>confdefs.h <<_ACEOF
1410 #define PACKAGE_STRING "$PACKAGE_STRING"
1411 _ACEOF
1412
1413
1414 cat >>confdefs.h <<_ACEOF
1415 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1416 _ACEOF
1417
1418
1419 # Let the site file select an alternate cache file if it wants to.
1420 # Prefer explicitly selected file to automatically selected ones.
1421 if test -z "$CONFIG_SITE"; then
1422 if test "x$prefix" != xNONE; then
1423 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1424 else
1425 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1426 fi
1427 fi
1428 for ac_site_file in $CONFIG_SITE; do
1429 if test -r "$ac_site_file"; then
1430 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1431 echo "$as_me: loading site script $ac_site_file" >&6;}
1432 sed 's/^/| /' "$ac_site_file" >&5
1433 . "$ac_site_file"
1434 fi
1435 done
1436
1437 if test -r "$cache_file"; then
1438 # Some versions of bash will fail to source /dev/null (special
1439 # files actually), so we avoid doing that.
1440 if test -f "$cache_file"; then
1441 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1442 echo "$as_me: loading cache $cache_file" >&6;}
1443 case $cache_file in
1444 [\\/]* | ?:[\\/]* ) . $cache_file;;
1445 *) . ./$cache_file;;
1446 esac
1447 fi
1448 else
1449 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1450 echo "$as_me: creating cache $cache_file" >&6;}
1451 >$cache_file
1452 fi
1453
1454 # Check that the precious variables saved in the cache have kept the same
1455 # value.
1456 ac_cache_corrupted=false
1457 for ac_var in `(set) 2>&1 |
1458 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1459 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1460 eval ac_new_set=\$ac_env_${ac_var}_set
1461 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1462 eval ac_new_val="\$ac_env_${ac_var}_value"
1463 case $ac_old_set,$ac_new_set in
1464 set,)
1465 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1466 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1467 ac_cache_corrupted=: ;;
1468 ,set)
1469 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1470 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1471 ac_cache_corrupted=: ;;
1472 ,);;
1473 *)
1474 if test "x$ac_old_val" != "x$ac_new_val"; then
1475 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1476 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1477 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1478 echo "$as_me: former value: $ac_old_val" >&2;}
1479 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1480 echo "$as_me: current value: $ac_new_val" >&2;}
1481 ac_cache_corrupted=:
1482 fi;;
1483 esac
1484 # Pass precious variables to config.status.
1485 if test "$ac_new_set" = set; then
1486 case $ac_new_val in
1487 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1488 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1489 *) ac_arg=$ac_var=$ac_new_val ;;
1490 esac
1491 case " $ac_configure_args " in
1492 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1493 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1494 esac
1495 fi
1496 done
1497 if $ac_cache_corrupted; then
1498 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1499 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1500 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1501 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1502 { (exit 1); exit 1; }; }
1503 fi
1504
1505 ac_ext=c
1506 ac_cpp='$CPP $CPPFLAGS'
1507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540 ac_aux_dir=
1541 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1542 if test -f $ac_dir/install-sh; then
1543 ac_aux_dir=$ac_dir
1544 ac_install_sh="$ac_aux_dir/install-sh -c"
1545 break
1546 elif test -f $ac_dir/install.sh; then
1547 ac_aux_dir=$ac_dir
1548 ac_install_sh="$ac_aux_dir/install.sh -c"
1549 break
1550 elif test -f $ac_dir/shtool; then
1551 ac_aux_dir=$ac_dir
1552 ac_install_sh="$ac_aux_dir/shtool install -c"
1553 break
1554 fi
1555 done
1556 if test -z "$ac_aux_dir"; then
1557 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1558 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1559 { (exit 1); exit 1; }; }
1560 fi
1561 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1562 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1563 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1564
1565 # Make sure we can run config.sub.
1566 $ac_config_sub sun4 >/dev/null 2>&1 ||
1567 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1568 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1569 { (exit 1); exit 1; }; }
1570
1571 echo "$as_me:$LINENO: checking build system type" >&5
1572 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1573 if test "${ac_cv_build+set}" = set; then
1574 echo $ECHO_N "(cached) $ECHO_C" >&6
1575 else
1576 ac_cv_build_alias=$build_alias
1577 test -z "$ac_cv_build_alias" &&
1578 ac_cv_build_alias=`$ac_config_guess`
1579 test -z "$ac_cv_build_alias" &&
1580 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1581 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1582 { (exit 1); exit 1; }; }
1583 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1584 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1585 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1586 { (exit 1); exit 1; }; }
1587
1588 fi
1589 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1590 echo "${ECHO_T}$ac_cv_build" >&6
1591 build=$ac_cv_build
1592 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1593 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1594 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1595
1596
1597 echo "$as_me:$LINENO: checking host system type" >&5
1598 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1599 if test "${ac_cv_host+set}" = set; then
1600 echo $ECHO_N "(cached) $ECHO_C" >&6
1601 else
1602 ac_cv_host_alias=$host_alias
1603 test -z "$ac_cv_host_alias" &&
1604 ac_cv_host_alias=$ac_cv_build_alias
1605 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1606 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1607 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1608 { (exit 1); exit 1; }; }
1609
1610 fi
1611 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1612 echo "${ECHO_T}$ac_cv_host" >&6
1613 host=$ac_cv_host
1614 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1615 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1616 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1617
1618
1619 echo "$as_me:$LINENO: checking target system type" >&5
1620 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1621 if test "${ac_cv_target+set}" = set; then
1622 echo $ECHO_N "(cached) $ECHO_C" >&6
1623 else
1624 ac_cv_target_alias=$target_alias
1625 test "x$ac_cv_target_alias" = "x" &&
1626 ac_cv_target_alias=$ac_cv_host_alias
1627 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1628 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1629 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1630 { (exit 1); exit 1; }; }
1631
1632 fi
1633 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1634 echo "${ECHO_T}$ac_cv_target" >&6
1635 target=$ac_cv_target
1636 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1637 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1638 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1639
1640
1641 # The aliases save the names the user supplied, while $host etc.
1642 # will get canonicalized.
1643 test -n "$target_alias" &&
1644 test "$program_prefix$program_suffix$program_transform_name" = \
1645 NONENONEs,x,x, &&
1646 program_prefix=${target_alias}-
1647
1648
1649
1650 WX_MAJOR_VERSION_NUMBER=2
1651 WX_MINOR_VERSION_NUMBER=5
1652 WX_RELEASE_NUMBER=2
1653
1654 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1655 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1656
1657 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1658
1659 WX_CURRENT=2
1660 WX_REVISION=0
1661 WX_AGE=0
1662
1663
1664
1665 USE_UNIX=1
1666 USE_OS2=0
1667 USE_WIN32=0
1668 USE_DOS=0
1669 USE_BEOS=0
1670 USE_MAC=0
1671
1672 USE_AIX=
1673 USE_BSD= USE_DARWIN= USE_FREEBSD=
1674 USE_GNU= USE_HPUX=
1675 USE_LINUX=
1676 USE_NETBSD=
1677 USE_OPENBSD=
1678 USE_OSF= USE_SGI=
1679 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1680 USE_ULTRIX=
1681 USE_UNIXWARE=
1682
1683 USE_ALPHA=
1684
1685 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1686
1687 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1688
1689 DEFAULT_wxUSE_COCOA=0
1690 DEFAULT_wxUSE_GTK=0
1691 DEFAULT_wxUSE_MAC=0
1692 DEFAULT_wxUSE_MGL=0
1693 DEFAULT_wxUSE_MICROWIN=0
1694 DEFAULT_wxUSE_MOTIF=0
1695 DEFAULT_wxUSE_MSW=0
1696 DEFAULT_wxUSE_PM=0
1697 DEFAULT_wxUSE_X11=0
1698
1699 DEFAULT_DEFAULT_wxUSE_COCOA=0
1700 DEFAULT_DEFAULT_wxUSE_GTK=0
1701 DEFAULT_DEFAULT_wxUSE_MAC=0
1702 DEFAULT_DEFAULT_wxUSE_MGL=0
1703 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1704 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1705 DEFAULT_DEFAULT_wxUSE_MSW=0
1706 DEFAULT_DEFAULT_wxUSE_PM=0
1707 DEFAULT_DEFAULT_wxUSE_X11=0
1708
1709 PROGRAM_EXT=
1710 SO_SUFFIX=so
1711 SAMPLES_RPATH_FLAG=
1712 SAMPLES_RPATH_POSTLINK=
1713
1714 case "${host}" in
1715 *-hp-hpux* )
1716 USE_HPUX=1
1717 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1718 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1719 SO_SUFFIX=sl
1720 cat >>confdefs.h <<\_ACEOF
1721 #define __HPUX__ 1
1722 _ACEOF
1723
1724 ;;
1725 *-*-linux* )
1726 USE_LINUX=1
1727 cat >>confdefs.h <<\_ACEOF
1728 #define __LINUX__ 1
1729 _ACEOF
1730
1731 TMP=`uname -m`
1732 if test "x$TMP" = "xalpha"; then
1733 USE_ALPHA=1
1734 cat >>confdefs.h <<\_ACEOF
1735 #define __ALPHA__ 1
1736 _ACEOF
1737
1738 fi
1739 DEFAULT_DEFAULT_wxUSE_GTK=1
1740 ;;
1741 *-*-gnu* | *-*-k*bsd*-gnu )
1742 USE_GNU=1
1743 TMP=`uname -m`
1744 if test "x$TMP" = "xalpha"; then
1745 USE_ALPHA=1
1746 cat >>confdefs.h <<\_ACEOF
1747 #define __ALPHA__ 1
1748 _ACEOF
1749
1750 fi
1751 DEFAULT_DEFAULT_wxUSE_GTK=1
1752 ;;
1753 *-*-irix5* | *-*-irix6* )
1754 USE_SGI=1
1755 USE_SVR4=1
1756 cat >>confdefs.h <<\_ACEOF
1757 #define __SGI__ 1
1758 _ACEOF
1759
1760 cat >>confdefs.h <<\_ACEOF
1761 #define __SVR4__ 1
1762 _ACEOF
1763
1764 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1765 ;;
1766 *-*-solaris2* )
1767 USE_SUN=1
1768 USE_SOLARIS=1
1769 USE_SVR4=1
1770 cat >>confdefs.h <<\_ACEOF
1771 #define __SUN__ 1
1772 _ACEOF
1773
1774 cat >>confdefs.h <<\_ACEOF
1775 #define __SOLARIS__ 1
1776 _ACEOF
1777
1778 cat >>confdefs.h <<\_ACEOF
1779 #define __SVR4__ 1
1780 _ACEOF
1781
1782 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1783 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1784 ;;
1785 *-*-sunos4* )
1786 USE_SUN=1
1787 USE_SUNOS=1
1788 USE_BSD=1
1789 cat >>confdefs.h <<\_ACEOF
1790 #define __SUN__ 1
1791 _ACEOF
1792
1793 cat >>confdefs.h <<\_ACEOF
1794 #define __SUNOS__ 1
1795 _ACEOF
1796
1797 cat >>confdefs.h <<\_ACEOF
1798 #define __BSD__ 1
1799 _ACEOF
1800
1801 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1802 ;;
1803 *-*-freebsd*)
1804 USE_BSD=1
1805 USE_FREEBSD=1
1806 cat >>confdefs.h <<\_ACEOF
1807 #define __FREEBSD__ 1
1808 _ACEOF
1809
1810 cat >>confdefs.h <<\_ACEOF
1811 #define __BSD__ 1
1812 _ACEOF
1813
1814 DEFAULT_DEFAULT_wxUSE_GTK=1
1815 ;;
1816 *-*-openbsd*)
1817 USE_BSD=1
1818 USE_OPENBSD=1
1819 cat >>confdefs.h <<\_ACEOF
1820 #define __OPENBSD__ 1
1821 _ACEOF
1822
1823 cat >>confdefs.h <<\_ACEOF
1824 #define __BSD__ 1
1825 _ACEOF
1826
1827 DEFAULT_DEFAULT_wxUSE_GTK=1
1828 ;;
1829 *-*-netbsd*)
1830 USE_BSD=1
1831 USE_NETBSD=1
1832 cat >>confdefs.h <<\_ACEOF
1833 #define __NETBSD__ 1
1834 _ACEOF
1835
1836 cat >>confdefs.h <<\_ACEOF
1837 #define __BSD__ 1
1838 _ACEOF
1839
1840 DEFAULT_DEFAULT_wxUSE_GTK=1
1841 ;;
1842 *-*-osf* )
1843 USE_ALPHA=1
1844 USE_OSF=1
1845 cat >>confdefs.h <<\_ACEOF
1846 #define __ALPHA__ 1
1847 _ACEOF
1848
1849 cat >>confdefs.h <<\_ACEOF
1850 #define __OSF__ 1
1851 _ACEOF
1852
1853 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1854 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1855 ;;
1856 *-*-dgux5* )
1857 USE_ALPHA=1
1858 USE_SVR4=1
1859 cat >>confdefs.h <<\_ACEOF
1860 #define __ALPHA__ 1
1861 _ACEOF
1862
1863 cat >>confdefs.h <<\_ACEOF
1864 #define __SVR4__ 1
1865 _ACEOF
1866
1867 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1868 ;;
1869 *-*-sysv5* )
1870 USE_SYSV=1
1871 USE_SVR4=1
1872 cat >>confdefs.h <<\_ACEOF
1873 #define __SYSV__ 1
1874 _ACEOF
1875
1876 cat >>confdefs.h <<\_ACEOF
1877 #define __SVR4__ 1
1878 _ACEOF
1879
1880 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1881 ;;
1882 *-*-aix* )
1883 USE_AIX=1
1884 USE_SYSV=1
1885 USE_SVR4=1
1886 SO_SUFFIX=a
1887 cat >>confdefs.h <<\_ACEOF
1888 #define __AIX__ 1
1889 _ACEOF
1890
1891 cat >>confdefs.h <<\_ACEOF
1892 #define __SYSV__ 1
1893 _ACEOF
1894
1895 cat >>confdefs.h <<\_ACEOF
1896 #define __SVR4__ 1
1897 _ACEOF
1898
1899 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1900 ;;
1901
1902 *-*-*UnixWare*)
1903 USE_SYSV=1
1904 USE_SVR4=1
1905 USE_UNIXWARE=1
1906 cat >>confdefs.h <<\_ACEOF
1907 #define __UNIXWARE__ 1
1908 _ACEOF
1909
1910 ;;
1911
1912 *-*-cygwin* | *-*-mingw32* )
1913 SO_SUFFIX=dll
1914 PROGRAM_EXT=".exe"
1915 RESCOMP=windres
1916 DEFAULT_DEFAULT_wxUSE_MSW=1
1917 ;;
1918
1919 *-pc-msdosdjgpp )
1920 USE_UNIX=0
1921 USE_DOS=1
1922 cat >>confdefs.h <<\_ACEOF
1923 #define __DOS__ 1
1924 _ACEOF
1925
1926 PROGRAM_EXT=".exe"
1927 DEFAULT_DEFAULT_wxUSE_MGL=1
1928 LIBS="$LIBS -lstdc++"
1929 ;;
1930
1931 *-pc-os2_emx | *-pc-os2-emx )
1932 cat >>confdefs.h <<\_ACEOF
1933 #define __EMX__ 1
1934 _ACEOF
1935
1936 USE_OS2=1
1937 cat >>confdefs.h <<\_ACEOF
1938 #define __OS2__ 1
1939 _ACEOF
1940
1941 PROGRAM_EXT=".exe"
1942 DEFAULT_DEFAULT_wxUSE_PM=1
1943 CXX=gcc
1944 LDFLAGS="$LDFLAGS -Zcrtdll"
1945 ac_executable_extensions=".exe"
1946 export ac_executable_extensions
1947 ac_save_IFS="$IFS"
1948 IFS='\\'
1949 ac_TEMP_PATH=
1950 for ac_dir in $PATH; do
1951 IFS=$ac_save_IFS
1952 if test -z "$ac_TEMP_PATH"; then
1953 ac_TEMP_PATH="$ac_dir"
1954 else
1955 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1956 fi
1957 done
1958 export PATH="$ac_TEMP_PATH"
1959 unset ac_TEMP_PATH
1960 ;;
1961
1962 powerpc-*-darwin* )
1963 USE_BSD=1
1964 USE_DARWIN=1
1965 SO_SUFFIX=dylib
1966 cat >>confdefs.h <<\_ACEOF
1967 #define __BSD__ 1
1968 _ACEOF
1969
1970 cat >>confdefs.h <<\_ACEOF
1971 #define __DARWIN__ 1
1972 _ACEOF
1973
1974 cat >>confdefs.h <<\_ACEOF
1975 #define __POWERPC__ 1
1976 _ACEOF
1977
1978 cat >>confdefs.h <<\_ACEOF
1979 #define TARGET_CARBON 1
1980 _ACEOF
1981
1982 DEFAULT_DEFAULT_wxUSE_MAC=1
1983 ;;
1984
1985 *-*-beos* )
1986 USE_BEOS=1
1987 cat >>confdefs.h <<\_ACEOF
1988 #define __BEOS__ 1
1989 _ACEOF
1990
1991 ;;
1992
1993 *)
1994 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1995 echo "$as_me: error: unknown system type ${host}." >&2;}
1996 { (exit 1); exit 1; }; }
1997 esac
1998
1999
2000
2001
2002 wx_arg_cache_file="configarg.cache"
2003 echo "loading argument cache $wx_arg_cache_file"
2004 rm -f ${wx_arg_cache_file}.tmp
2005 touch ${wx_arg_cache_file}.tmp
2006 touch ${wx_arg_cache_file}
2007
2008
2009 DEBUG_CONFIGURE=0
2010 if test $DEBUG_CONFIGURE = 1; then
2011 DEFAULT_wxUSE_UNIVERSAL=no
2012 DEFAULT_wxUSE_STL=no
2013
2014 DEFAULT_wxUSE_NANOX=no
2015
2016 DEFAULT_wxUSE_THREADS=yes
2017
2018 DEFAULT_wxUSE_SHARED=yes
2019 DEFAULT_wxUSE_OPTIMISE=no
2020 DEFAULT_wxUSE_PROFILE=no
2021 DEFAULT_wxUSE_NO_DEPS=no
2022 DEFAULT_wxUSE_NO_RTTI=no
2023 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2024 DEFAULT_wxUSE_PERMISSIVE=no
2025 DEFAULT_wxUSE_DEBUG_FLAG=yes
2026 DEFAULT_wxUSE_DEBUG_INFO=yes
2027 DEFAULT_wxUSE_DEBUG_GDB=yes
2028 DEFAULT_wxUSE_MEM_TRACING=no
2029 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2030 DEFAULT_wxUSE_DMALLOC=no
2031 DEFAULT_wxUSE_APPLE_IEEE=no
2032
2033 DEFAULT_wxUSE_EXCEPTIONS=no
2034 DEFAULT_wxUSE_LOG=yes
2035 DEFAULT_wxUSE_LOGWINDOW=no
2036 DEFAULT_wxUSE_LOGGUI=no
2037 DEFAULT_wxUSE_LOGDIALOG=no
2038
2039 DEFAULT_wxUSE_GUI=yes
2040 DEFAULT_wxUSE_CONTROLS=no
2041
2042 DEFAULT_wxUSE_REGEX=no
2043 DEFAULT_wxUSE_XML=no
2044 DEFAULT_wxUSE_EXPAT=no
2045 DEFAULT_wxUSE_ZLIB=no
2046 DEFAULT_wxUSE_LIBPNG=no
2047 DEFAULT_wxUSE_LIBJPEG=no
2048 DEFAULT_wxUSE_LIBTIFF=no
2049 DEFAULT_wxUSE_LIBXPM=no
2050 DEFAULT_wxUSE_LIBMSPACK=no
2051 DEFAULT_wxUSE_LIBSDL=no
2052 DEFAULT_wxUSE_ODBC=no
2053 DEFAULT_wxUSE_OPENGL=no
2054
2055 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2056 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2057 DEFAULT_wxUSE_STD_IOSTREAM=no
2058 DEFAULT_wxUSE_CMDLINE_PARSER=no
2059 DEFAULT_wxUSE_DATETIME=no
2060 DEFAULT_wxUSE_TIMER=no
2061 DEFAULT_wxUSE_STOPWATCH=no
2062 DEFAULT_wxUSE_FILE=no
2063 DEFAULT_wxUSE_FFILE=no
2064 DEFAULT_wxUSE_TEXTBUFFER=no
2065 DEFAULT_wxUSE_TEXTFILE=no
2066 DEFAULT_wxUSE_SOUND=no
2067 DEFAULT_wxUSE_INTL=no
2068 DEFAULT_wxUSE_CONFIG=no
2069 DEFAULT_wxUSE_FONTMAP=no
2070 DEFAULT_wxUSE_STREAMS=no
2071 DEFAULT_wxUSE_SOCKETS=no
2072 DEFAULT_wxUSE_OLE=no
2073 DEFAULT_wxUSE_DATAOBJ=no
2074 DEFAULT_wxUSE_DIALUP_MANAGER=no
2075 DEFAULT_wxUSE_JOYSTICK=no
2076 DEFAULT_wxUSE_DYNLIB_CLASS=no
2077 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2078 DEFAULT_wxUSE_LONGLONG=no
2079 DEFAULT_wxUSE_GEOMETRY=no
2080
2081 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2082 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2083 DEFAULT_wxUSE_POSTSCRIPT=no
2084
2085 DEFAULT_wxUSE_CLIPBOARD=no
2086 DEFAULT_wxUSE_TOOLTIPS=no
2087 DEFAULT_wxUSE_DRAG_AND_DROP=no
2088 DEFAULT_wxUSE_DRAGIMAGE=no
2089 DEFAULT_wxUSE_SPLINES=no
2090
2091 DEFAULT_wxUSE_MDI=no
2092 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2093 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2094 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2095
2096 DEFAULT_wxUSE_RESOURCES=no
2097 DEFAULT_wxUSE_CONSTRAINTS=no
2098 DEFAULT_wxUSE_IPC=no
2099 DEFAULT_wxUSE_HELP=no
2100 DEFAULT_wxUSE_MS_HTML_HELP=no
2101 DEFAULT_wxUSE_WXHTML_HELP=no
2102 DEFAULT_wxUSE_TREELAYOUT=no
2103 DEFAULT_wxUSE_METAFILE=no
2104 DEFAULT_wxUSE_MIMETYPE=no
2105 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2106 DEFAULT_wxUSE_PROTOCOL=no
2107 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2108 DEFAULT_wxUSE_PROTOCOL_FTP=no
2109 DEFAULT_wxUSE_PROTOCOL_FILE=no
2110 DEFAULT_wxUSE_URL=no
2111
2112 DEFAULT_wxUSE_COMMONDLGS=no
2113 DEFAULT_wxUSE_CHOICEDLG=no
2114 DEFAULT_wxUSE_COLOURDLG=no
2115 DEFAULT_wxUSE_DIRDLG=no
2116 DEFAULT_wxUSE_FILEDLG=no
2117 DEFAULT_wxUSE_FINDREPLDLG=no
2118 DEFAULT_wxUSE_FONTDLG=no
2119 DEFAULT_wxUSE_MSGDLG=no
2120 DEFAULT_wxUSE_NUMBERDLG=no
2121 DEFAULT_wxUSE_TEXTDLG=no
2122 DEFAULT_wxUSE_SPLASH=no
2123 DEFAULT_wxUSE_STARTUP_TIPS=no
2124 DEFAULT_wxUSE_PROGRESSDLG=no
2125 DEFAULT_wxUSE_WIZARDDLG=no
2126
2127 DEFAULT_wxUSE_MENUS=no
2128 DEFAULT_wxUSE_MINIFRAME=no
2129 DEFAULT_wxUSE_HTML=no
2130 DEFAULT_wxUSE_WEBKIT=no
2131 DEFAULT_wxUSE_FILESYSTEM=no
2132 DEFAULT_wxUSE_FS_INET=no
2133 DEFAULT_wxUSE_FS_ZIP=no
2134 DEFAULT_wxUSE_BUSYINFO=no
2135 DEFAULT_wxUSE_ZIPSTREAM=no
2136 DEFAULT_wxUSE_VALIDATORS=no
2137
2138 DEFAULT_wxUSE_ACCEL=no
2139 DEFAULT_wxUSE_BUTTON=no
2140 DEFAULT_wxUSE_BMPBUTTON=no
2141 DEFAULT_wxUSE_CALCTRL=no
2142 DEFAULT_wxUSE_CARET=no
2143 DEFAULT_wxUSE_CHECKBOX=no
2144 DEFAULT_wxUSE_CHECKLST=no
2145 DEFAULT_wxUSE_CHOICE=no
2146 DEFAULT_wxUSE_COMBOBOX=no
2147 DEFAULT_wxUSE_DISPLAY=no
2148 DEFAULT_wxUSE_GAUGE=no
2149 DEFAULT_wxUSE_GRID=no
2150 DEFAULT_wxUSE_IMAGLIST=no
2151 DEFAULT_wxUSE_LISTBOOK=no
2152 DEFAULT_wxUSE_LISTBOX=no
2153 DEFAULT_wxUSE_LISTCTRL=no
2154 DEFAULT_wxUSE_NOTEBOOK=no
2155 DEFAULT_wxUSE_RADIOBOX=no
2156 DEFAULT_wxUSE_RADIOBTN=no
2157 DEFAULT_wxUSE_SASH=no
2158 DEFAULT_wxUSE_SCROLLBAR=no
2159 DEFAULT_wxUSE_SLIDER=no
2160 DEFAULT_wxUSE_SPINBTN=no
2161 DEFAULT_wxUSE_SPINCTRL=no
2162 DEFAULT_wxUSE_SPLITTER=no
2163 DEFAULT_wxUSE_STATBMP=no
2164 DEFAULT_wxUSE_STATBOX=no
2165 DEFAULT_wxUSE_STATLINE=no
2166 DEFAULT_wxUSE_STATTEXT=no
2167 DEFAULT_wxUSE_STATUSBAR=yes
2168 DEFAULT_wxUSE_TABDIALOG=no
2169 DEFAULT_wxUSE_TEXTCTRL=no
2170 DEFAULT_wxUSE_TOGGLEBTN=no
2171 DEFAULT_wxUSE_TOOLBAR=no
2172 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2173 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2174 DEFAULT_wxUSE_TREECTRL=no
2175 DEFAULT_wxUSE_POPUPWIN=no
2176 DEFAULT_wxUSE_TIPWINDOW=no
2177
2178 DEFAULT_wxUSE_UNICODE=no
2179 DEFAULT_wxUSE_UNICODE_MSLU=no
2180 DEFAULT_wxUSE_WCSRTOMBS=no
2181
2182 DEFAULT_wxUSE_PALETTE=no
2183 DEFAULT_wxUSE_IMAGE=no
2184 DEFAULT_wxUSE_GIF=no
2185 DEFAULT_wxUSE_PCX=no
2186 DEFAULT_wxUSE_PNM=no
2187 DEFAULT_wxUSE_IFF=no
2188 DEFAULT_wxUSE_XPM=no
2189 DEFAULT_wxUSE_ICO_CUR=no
2190 DEFAULT_wxUSE_ACCESSIBILITY=no
2191
2192 DEFAULT_wxUSE_MONOLITHIC=no
2193 DEFAULT_wxUSE_PLUGINS=no
2194 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2195 else
2196 DEFAULT_wxUSE_UNIVERSAL=no
2197 DEFAULT_wxUSE_STL=no
2198
2199 DEFAULT_wxUSE_NANOX=no
2200
2201 DEFAULT_wxUSE_THREADS=yes
2202
2203 DEFAULT_wxUSE_SHARED=yes
2204 DEFAULT_wxUSE_OPTIMISE=yes
2205 DEFAULT_wxUSE_PROFILE=no
2206 DEFAULT_wxUSE_NO_DEPS=no
2207 DEFAULT_wxUSE_NO_RTTI=no
2208 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2209 DEFAULT_wxUSE_PERMISSIVE=no
2210 DEFAULT_wxUSE_DEBUG_FLAG=no
2211 DEFAULT_wxUSE_DEBUG_INFO=no
2212 DEFAULT_wxUSE_DEBUG_GDB=no
2213 DEFAULT_wxUSE_MEM_TRACING=no
2214 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2215 DEFAULT_wxUSE_DMALLOC=no
2216 DEFAULT_wxUSE_APPLE_IEEE=yes
2217
2218 DEFAULT_wxUSE_EXCEPTIONS=yes
2219 DEFAULT_wxUSE_LOG=yes
2220 DEFAULT_wxUSE_LOGWINDOW=yes
2221 DEFAULT_wxUSE_LOGGUI=yes
2222 DEFAULT_wxUSE_LOGDIALOG=yes
2223
2224 DEFAULT_wxUSE_GUI=yes
2225
2226 DEFAULT_wxUSE_REGEX=yes
2227 DEFAULT_wxUSE_XML=yes
2228 DEFAULT_wxUSE_EXPAT=yes
2229 DEFAULT_wxUSE_ZLIB=yes
2230 DEFAULT_wxUSE_LIBPNG=yes
2231 DEFAULT_wxUSE_LIBJPEG=yes
2232 DEFAULT_wxUSE_LIBTIFF=yes
2233 DEFAULT_wxUSE_LIBXPM=yes
2234 DEFAULT_wxUSE_LIBMSPACK=yes
2235 DEFAULT_wxUSE_LIBSDL=no
2236 DEFAULT_wxUSE_ODBC=no
2237 DEFAULT_wxUSE_OPENGL=no
2238
2239 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2240 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2241 DEFAULT_wxUSE_STD_IOSTREAM=no
2242 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2243 DEFAULT_wxUSE_DATETIME=yes
2244 DEFAULT_wxUSE_TIMER=yes
2245 DEFAULT_wxUSE_STOPWATCH=yes
2246 DEFAULT_wxUSE_FILE=yes
2247 DEFAULT_wxUSE_FFILE=yes
2248 DEFAULT_wxUSE_TEXTBUFFER=yes
2249 DEFAULT_wxUSE_TEXTFILE=yes
2250 DEFAULT_wxUSE_SOUND=yes
2251 DEFAULT_wxUSE_INTL=yes
2252 DEFAULT_wxUSE_CONFIG=yes
2253 DEFAULT_wxUSE_FONTMAP=yes
2254 DEFAULT_wxUSE_STREAMS=yes
2255 DEFAULT_wxUSE_SOCKETS=yes
2256 DEFAULT_wxUSE_OLE=yes
2257 DEFAULT_wxUSE_DATAOBJ=yes
2258 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2259 DEFAULT_wxUSE_JOYSTICK=yes
2260 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2261 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2262 DEFAULT_wxUSE_LONGLONG=yes
2263 DEFAULT_wxUSE_GEOMETRY=yes
2264
2265 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2266 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2267 DEFAULT_wxUSE_POSTSCRIPT=yes
2268
2269 DEFAULT_wxUSE_CLIPBOARD=yes
2270 DEFAULT_wxUSE_TOOLTIPS=yes
2271 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2272 DEFAULT_wxUSE_DRAGIMAGE=yes
2273 DEFAULT_wxUSE_SPLINES=yes
2274
2275 DEFAULT_wxUSE_MDI=yes
2276 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2277 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2278 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2279
2280 DEFAULT_wxUSE_RESOURCES=no
2281 DEFAULT_wxUSE_CONSTRAINTS=yes
2282 DEFAULT_wxUSE_IPC=yes
2283 DEFAULT_wxUSE_HELP=yes
2284 DEFAULT_wxUSE_MS_HTML_HELP=yes
2285 DEFAULT_wxUSE_WXHTML_HELP=yes
2286 DEFAULT_wxUSE_TREELAYOUT=yes
2287 DEFAULT_wxUSE_METAFILE=yes
2288 DEFAULT_wxUSE_MIMETYPE=yes
2289 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2290 DEFAULT_wxUSE_PROTOCOL=yes
2291 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2292 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2293 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2294 DEFAULT_wxUSE_URL=yes
2295
2296 DEFAULT_wxUSE_COMMONDLGS=yes
2297 DEFAULT_wxUSE_CHOICEDLG=yes
2298 DEFAULT_wxUSE_COLOURDLG=yes
2299 DEFAULT_wxUSE_DIRDLG=yes
2300 DEFAULT_wxUSE_FILEDLG=yes
2301 DEFAULT_wxUSE_FINDREPLDLG=yes
2302 DEFAULT_wxUSE_FONTDLG=yes
2303 DEFAULT_wxUSE_MSGDLG=yes
2304 DEFAULT_wxUSE_NUMBERDLG=yes
2305 DEFAULT_wxUSE_TEXTDLG=yes
2306 DEFAULT_wxUSE_SPLASH=yes
2307 DEFAULT_wxUSE_STARTUP_TIPS=yes
2308 DEFAULT_wxUSE_PROGRESSDLG=yes
2309 DEFAULT_wxUSE_WIZARDDLG=yes
2310
2311 DEFAULT_wxUSE_MENUS=yes
2312 DEFAULT_wxUSE_MINIFRAME=yes
2313 DEFAULT_wxUSE_HTML=yes
2314 DEFAULT_wxUSE_WEBKIT=yes
2315 DEFAULT_wxUSE_FILESYSTEM=yes
2316 DEFAULT_wxUSE_FS_INET=yes
2317 DEFAULT_wxUSE_FS_ZIP=yes
2318 DEFAULT_wxUSE_BUSYINFO=yes
2319 DEFAULT_wxUSE_ZIPSTREAM=yes
2320 DEFAULT_wxUSE_VALIDATORS=yes
2321
2322 DEFAULT_wxUSE_ACCEL=yes
2323 DEFAULT_wxUSE_BUTTON=yes
2324 DEFAULT_wxUSE_BMPBUTTON=yes
2325 DEFAULT_wxUSE_CALCTRL=yes
2326 DEFAULT_wxUSE_CARET=yes
2327 DEFAULT_wxUSE_CHECKBOX=yes
2328 DEFAULT_wxUSE_CHECKLST=yes
2329 DEFAULT_wxUSE_CHOICE=yes
2330 DEFAULT_wxUSE_COMBOBOX=yes
2331 DEFAULT_wxUSE_DISPLAY=yes
2332 DEFAULT_wxUSE_GAUGE=yes
2333 DEFAULT_wxUSE_GRID=yes
2334 DEFAULT_wxUSE_IMAGLIST=yes
2335 DEFAULT_wxUSE_LISTBOOK=yes
2336 DEFAULT_wxUSE_LISTBOX=yes
2337 DEFAULT_wxUSE_LISTCTRL=yes
2338 DEFAULT_wxUSE_NOTEBOOK=yes
2339 DEFAULT_wxUSE_RADIOBOX=yes
2340 DEFAULT_wxUSE_RADIOBTN=yes
2341 DEFAULT_wxUSE_SASH=yes
2342 DEFAULT_wxUSE_SCROLLBAR=yes
2343 DEFAULT_wxUSE_SLIDER=yes
2344 DEFAULT_wxUSE_SPINBTN=yes
2345 DEFAULT_wxUSE_SPINCTRL=yes
2346 DEFAULT_wxUSE_SPLITTER=yes
2347 DEFAULT_wxUSE_STATBMP=yes
2348 DEFAULT_wxUSE_STATBOX=yes
2349 DEFAULT_wxUSE_STATLINE=yes
2350 DEFAULT_wxUSE_STATTEXT=yes
2351 DEFAULT_wxUSE_STATUSBAR=yes
2352 DEFAULT_wxUSE_TABDIALOG=no
2353 DEFAULT_wxUSE_TEXTCTRL=yes
2354 DEFAULT_wxUSE_TOGGLEBTN=yes
2355 DEFAULT_wxUSE_TOOLBAR=yes
2356 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2357 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2358 DEFAULT_wxUSE_TREECTRL=yes
2359 DEFAULT_wxUSE_POPUPWIN=yes
2360 DEFAULT_wxUSE_TIPWINDOW=yes
2361
2362 DEFAULT_wxUSE_UNICODE=no
2363 DEFAULT_wxUSE_UNICODE_MSLU=yes
2364 DEFAULT_wxUSE_WCSRTOMBS=no
2365
2366 DEFAULT_wxUSE_PALETTE=yes
2367 DEFAULT_wxUSE_IMAGE=yes
2368 DEFAULT_wxUSE_GIF=yes
2369 DEFAULT_wxUSE_PCX=yes
2370 DEFAULT_wxUSE_IFF=no
2371 DEFAULT_wxUSE_PNM=yes
2372 DEFAULT_wxUSE_XPM=yes
2373 DEFAULT_wxUSE_ICO_CUR=yes
2374 DEFAULT_wxUSE_ACCESSIBILITY=no
2375
2376 DEFAULT_wxUSE_MONOLITHIC=no
2377 DEFAULT_wxUSE_PLUGINS=no
2378 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2379 fi
2380
2381
2382
2383 for toolkit in `echo $ALL_TOOLKITS`; do
2384 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2385 if test "x$LINE" != "x" ; then
2386 has_toolkit_in_cache=1
2387 eval "DEFAULT_$LINE"
2388 eval "CACHE_$toolkit=1"
2389 fi
2390 done
2391
2392
2393
2394 enablestring=
2395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2396 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2397 no_cache=0
2398 # Check whether --enable-gui or --disable-gui was given.
2399 if test "${enable_gui+set}" = set; then
2400 enableval="$enable_gui"
2401
2402 if test "$enableval" = yes; then
2403 ac_cv_use_gui='wxUSE_GUI=yes'
2404 else
2405 ac_cv_use_gui='wxUSE_GUI=no'
2406 fi
2407
2408 else
2409
2410 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2411 if test "x$LINE" != x ; then
2412 eval "DEFAULT_$LINE"
2413 else
2414 no_cache=1
2415 fi
2416
2417 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2418
2419 fi;
2420
2421 eval "$ac_cv_use_gui"
2422 if test "$no_cache" != 1; then
2423 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2424 fi
2425
2426 if test "$wxUSE_GUI" = yes; then
2427 echo "$as_me:$LINENO: result: yes" >&5
2428 echo "${ECHO_T}yes" >&6
2429 else
2430 echo "$as_me:$LINENO: result: no" >&5
2431 echo "${ECHO_T}no" >&6
2432 fi
2433
2434
2435 enablestring=
2436 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2437 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2438 no_cache=0
2439 # Check whether --enable-monolithic or --disable-monolithic was given.
2440 if test "${enable_monolithic+set}" = set; then
2441 enableval="$enable_monolithic"
2442
2443 if test "$enableval" = yes; then
2444 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2445 else
2446 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2447 fi
2448
2449 else
2450
2451 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2452 if test "x$LINE" != x ; then
2453 eval "DEFAULT_$LINE"
2454 else
2455 no_cache=1
2456 fi
2457
2458 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2459
2460 fi;
2461
2462 eval "$ac_cv_use_monolithic"
2463 if test "$no_cache" != 1; then
2464 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2465 fi
2466
2467 if test "$wxUSE_MONOLITHIC" = yes; then
2468 echo "$as_me:$LINENO: result: yes" >&5
2469 echo "${ECHO_T}yes" >&6
2470 else
2471 echo "$as_me:$LINENO: result: no" >&5
2472 echo "${ECHO_T}no" >&6
2473 fi
2474
2475
2476 enablestring=
2477 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2478 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2479 no_cache=0
2480 # Check whether --enable-plugins or --disable-plugins was given.
2481 if test "${enable_plugins+set}" = set; then
2482 enableval="$enable_plugins"
2483
2484 if test "$enableval" = yes; then
2485 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2486 else
2487 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2488 fi
2489
2490 else
2491
2492 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2493 if test "x$LINE" != x ; then
2494 eval "DEFAULT_$LINE"
2495 else
2496 no_cache=1
2497 fi
2498
2499 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2500
2501 fi;
2502
2503 eval "$ac_cv_use_plugins"
2504 if test "$no_cache" != 1; then
2505 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2506 fi
2507
2508 if test "$wxUSE_PLUGINS" = yes; then
2509 echo "$as_me:$LINENO: result: yes" >&5
2510 echo "${ECHO_T}yes" >&6
2511 else
2512 echo "$as_me:$LINENO: result: no" >&5
2513 echo "${ECHO_T}no" >&6
2514 fi
2515
2516
2517 if test "$wxUSE_GUI" = "yes"; then
2518
2519
2520 enablestring=
2521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2522 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2523 no_cache=0
2524 # Check whether --enable-universal or --disable-universal was given.
2525 if test "${enable_universal+set}" = set; then
2526 enableval="$enable_universal"
2527
2528 if test "$enableval" = yes; then
2529 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2530 else
2531 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2532 fi
2533
2534 else
2535
2536 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2537 if test "x$LINE" != x ; then
2538 eval "DEFAULT_$LINE"
2539 else
2540 no_cache=1
2541 fi
2542
2543 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2544
2545 fi;
2546
2547 eval "$ac_cv_use_universal"
2548 if test "$no_cache" != 1; then
2549 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2550 fi
2551
2552 if test "$wxUSE_UNIVERSAL" = yes; then
2553 echo "$as_me:$LINENO: result: yes" >&5
2554 echo "${ECHO_T}yes" >&6
2555 else
2556 echo "$as_me:$LINENO: result: no" >&5
2557 echo "${ECHO_T}no" >&6
2558 fi
2559
2560
2561 # Check whether --with-gtk or --without-gtk was given.
2562 if test "${with_gtk+set}" = set; then
2563 withval="$with_gtk"
2564 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2565 fi;
2566
2567 # Check whether --with-motif or --without-motif was given.
2568 if test "${with_motif+set}" = set; then
2569 withval="$with_motif"
2570 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2571 fi;
2572
2573 # Check whether --with-mac or --without-mac was given.
2574 if test "${with_mac+set}" = set; then
2575 withval="$with_mac"
2576 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2577 fi;
2578
2579 # Check whether --with-cocoa or --without-cocoa was given.
2580 if test "${with_cocoa+set}" = set; then
2581 withval="$with_cocoa"
2582 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2583 fi;
2584
2585 # Check whether --with-wine or --without-wine was given.
2586 if test "${with_wine+set}" = set; then
2587 withval="$with_wine"
2588 wxUSE_WINE="$withval" CACHE_WINE=1
2589 fi;
2590
2591 # Check whether --with-msw or --without-msw was given.
2592 if test "${with_msw+set}" = set; then
2593 withval="$with_msw"
2594 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2595 fi;
2596
2597 # Check whether --with-pm or --without-pm was given.
2598 if test "${with_pm+set}" = set; then
2599 withval="$with_pm"
2600 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2601 fi;
2602
2603 # Check whether --with-mgl or --without-mgl was given.
2604 if test "${with_mgl+set}" = set; then
2605 withval="$with_mgl"
2606 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2607 fi;
2608
2609 # Check whether --with-microwin or --without-microwin was given.
2610 if test "${with_microwin+set}" = set; then
2611 withval="$with_microwin"
2612 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2613 fi;
2614
2615 # Check whether --with-x11 or --without-x11 was given.
2616 if test "${with_x11+set}" = set; then
2617 withval="$with_x11"
2618 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2619 fi;
2620
2621 enablestring=
2622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2623 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2624 no_cache=0
2625 # Check whether --enable-nanox or --disable-nanox was given.
2626 if test "${enable_nanox+set}" = set; then
2627 enableval="$enable_nanox"
2628
2629 if test "$enableval" = yes; then
2630 ac_cv_use_nanox='wxUSE_NANOX=yes'
2631 else
2632 ac_cv_use_nanox='wxUSE_NANOX=no'
2633 fi
2634
2635 else
2636
2637 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2638 if test "x$LINE" != x ; then
2639 eval "DEFAULT_$LINE"
2640 else
2641 no_cache=1
2642 fi
2643
2644 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2645
2646 fi;
2647
2648 eval "$ac_cv_use_nanox"
2649 if test "$no_cache" != 1; then
2650 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2651 fi
2652
2653 if test "$wxUSE_NANOX" = yes; then
2654 echo "$as_me:$LINENO: result: yes" >&5
2655 echo "${ECHO_T}yes" >&6
2656 else
2657 echo "$as_me:$LINENO: result: no" >&5
2658 echo "${ECHO_T}no" >&6
2659 fi
2660
2661
2662
2663 enablestring=
2664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2665 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2666 no_cache=0
2667 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2668 if test "${enable_gtk2+set}" = set; then
2669 enableval="$enable_gtk2"
2670
2671 if test "$enableval" = yes; then
2672 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2673 else
2674 ac_cv_use_gtk2='wxUSE_GTK2=no'
2675 fi
2676
2677 else
2678
2679 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2680 if test "x$LINE" != x ; then
2681 eval "DEFAULT_$LINE"
2682 else
2683 no_cache=1
2684 fi
2685
2686 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2687
2688 fi;
2689
2690 eval "$ac_cv_use_gtk2"
2691 if test "$no_cache" != 1; then
2692 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2693 fi
2694
2695 if test "$wxUSE_GTK2" = yes; then
2696 echo "$as_me:$LINENO: result: yes" >&5
2697 echo "${ECHO_T}yes" >&6
2698 else
2699 echo "$as_me:$LINENO: result: no" >&5
2700 echo "${ECHO_T}no" >&6
2701 fi
2702
2703
2704 enablestring=
2705 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2706 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2707 no_cache=0
2708 # Check whether --enable-gpe or --disable-gpe was given.
2709 if test "${enable_gpe+set}" = set; then
2710 enableval="$enable_gpe"
2711
2712 if test "$enableval" = yes; then
2713 ac_cv_use_gpe='wxUSE_GPE=yes'
2714 else
2715 ac_cv_use_gpe='wxUSE_GPE=no'
2716 fi
2717
2718 else
2719
2720 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2721 if test "x$LINE" != x ; then
2722 eval "DEFAULT_$LINE"
2723 else
2724 no_cache=1
2725 fi
2726
2727 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2728
2729 fi;
2730
2731 eval "$ac_cv_use_gpe"
2732 if test "$no_cache" != 1; then
2733 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2734 fi
2735
2736 if test "$wxUSE_GPE" = yes; then
2737 echo "$as_me:$LINENO: result: yes" >&5
2738 echo "${ECHO_T}yes" >&6
2739 else
2740 echo "$as_me:$LINENO: result: no" >&5
2741 echo "${ECHO_T}no" >&6
2742 fi
2743
2744
2745
2746 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2747 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2748 no_cache=0
2749
2750 # Check whether --with-libpng or --without-libpng was given.
2751 if test "${with_libpng+set}" = set; then
2752 withval="$with_libpng"
2753
2754 if test "$withval" = yes; then
2755 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2756 elif test "$withval" = no; then
2757 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2758 elif test "$withval" = sys; then
2759 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2760 elif test "$withval" = builtin; then
2761 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2762 else
2763 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2764 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2765 { (exit 1); exit 1; }; }
2766 fi
2767
2768 else
2769
2770 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2771 if test "x$LINE" != x ; then
2772 eval "DEFAULT_$LINE"
2773 else
2774 no_cache=1
2775 fi
2776
2777 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2778
2779 fi;
2780
2781 eval "$ac_cv_use_libpng"
2782 if test "$no_cache" != 1; then
2783 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2784 fi
2785
2786 if test "$wxUSE_LIBPNG" = yes; then
2787 echo "$as_me:$LINENO: result: yes" >&5
2788 echo "${ECHO_T}yes" >&6
2789 elif test "$wxUSE_LIBPNG" = no; then
2790 echo "$as_me:$LINENO: result: no" >&5
2791 echo "${ECHO_T}no" >&6
2792 elif test "$wxUSE_LIBPNG" = sys; then
2793 echo "$as_me:$LINENO: result: system version" >&5
2794 echo "${ECHO_T}system version" >&6
2795 elif test "$wxUSE_LIBPNG" = builtin; then
2796 echo "$as_me:$LINENO: result: builtin version" >&5
2797 echo "${ECHO_T}builtin version" >&6
2798 else
2799 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2800 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2801 { (exit 1); exit 1; }; }
2802 fi
2803
2804
2805 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2806 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2807 no_cache=0
2808
2809 # Check whether --with-libjpeg or --without-libjpeg was given.
2810 if test "${with_libjpeg+set}" = set; then
2811 withval="$with_libjpeg"
2812
2813 if test "$withval" = yes; then
2814 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2815 elif test "$withval" = no; then
2816 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2817 elif test "$withval" = sys; then
2818 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2819 elif test "$withval" = builtin; then
2820 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2821 else
2822 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2823 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2824 { (exit 1); exit 1; }; }
2825 fi
2826
2827 else
2828
2829 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2830 if test "x$LINE" != x ; then
2831 eval "DEFAULT_$LINE"
2832 else
2833 no_cache=1
2834 fi
2835
2836 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2837
2838 fi;
2839
2840 eval "$ac_cv_use_libjpeg"
2841 if test "$no_cache" != 1; then
2842 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2843 fi
2844
2845 if test "$wxUSE_LIBJPEG" = yes; then
2846 echo "$as_me:$LINENO: result: yes" >&5
2847 echo "${ECHO_T}yes" >&6
2848 elif test "$wxUSE_LIBJPEG" = no; then
2849 echo "$as_me:$LINENO: result: no" >&5
2850 echo "${ECHO_T}no" >&6
2851 elif test "$wxUSE_LIBJPEG" = sys; then
2852 echo "$as_me:$LINENO: result: system version" >&5
2853 echo "${ECHO_T}system version" >&6
2854 elif test "$wxUSE_LIBJPEG" = builtin; then
2855 echo "$as_me:$LINENO: result: builtin version" >&5
2856 echo "${ECHO_T}builtin version" >&6
2857 else
2858 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2859 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2860 { (exit 1); exit 1; }; }
2861 fi
2862
2863
2864 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2865 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2866 no_cache=0
2867
2868 # Check whether --with-libtiff or --without-libtiff was given.
2869 if test "${with_libtiff+set}" = set; then
2870 withval="$with_libtiff"
2871
2872 if test "$withval" = yes; then
2873 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2874 elif test "$withval" = no; then
2875 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2876 elif test "$withval" = sys; then
2877 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2878 elif test "$withval" = builtin; then
2879 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2880 else
2881 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2882 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2883 { (exit 1); exit 1; }; }
2884 fi
2885
2886 else
2887
2888 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2889 if test "x$LINE" != x ; then
2890 eval "DEFAULT_$LINE"
2891 else
2892 no_cache=1
2893 fi
2894
2895 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2896
2897 fi;
2898
2899 eval "$ac_cv_use_libtiff"
2900 if test "$no_cache" != 1; then
2901 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2902 fi
2903
2904 if test "$wxUSE_LIBTIFF" = yes; then
2905 echo "$as_me:$LINENO: result: yes" >&5
2906 echo "${ECHO_T}yes" >&6
2907 elif test "$wxUSE_LIBTIFF" = no; then
2908 echo "$as_me:$LINENO: result: no" >&5
2909 echo "${ECHO_T}no" >&6
2910 elif test "$wxUSE_LIBTIFF" = sys; then
2911 echo "$as_me:$LINENO: result: system version" >&5
2912 echo "${ECHO_T}system version" >&6
2913 elif test "$wxUSE_LIBTIFF" = builtin; then
2914 echo "$as_me:$LINENO: result: builtin version" >&5
2915 echo "${ECHO_T}builtin version" >&6
2916 else
2917 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2918 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2919 { (exit 1); exit 1; }; }
2920 fi
2921
2922
2923 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2924 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2925 no_cache=0
2926
2927 # Check whether --with-libxpm or --without-libxpm was given.
2928 if test "${with_libxpm+set}" = set; then
2929 withval="$with_libxpm"
2930
2931 if test "$withval" = yes; then
2932 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2933 elif test "$withval" = no; then
2934 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2935 elif test "$withval" = sys; then
2936 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2937 elif test "$withval" = builtin; then
2938 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2939 else
2940 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2941 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2942 { (exit 1); exit 1; }; }
2943 fi
2944
2945 else
2946
2947 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2948 if test "x$LINE" != x ; then
2949 eval "DEFAULT_$LINE"
2950 else
2951 no_cache=1
2952 fi
2953
2954 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2955
2956 fi;
2957
2958 eval "$ac_cv_use_libxpm"
2959 if test "$no_cache" != 1; then
2960 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2961 fi
2962
2963 if test "$wxUSE_LIBXPM" = yes; then
2964 echo "$as_me:$LINENO: result: yes" >&5
2965 echo "${ECHO_T}yes" >&6
2966 elif test "$wxUSE_LIBXPM" = no; then
2967 echo "$as_me:$LINENO: result: no" >&5
2968 echo "${ECHO_T}no" >&6
2969 elif test "$wxUSE_LIBXPM" = sys; then
2970 echo "$as_me:$LINENO: result: system version" >&5
2971 echo "${ECHO_T}system version" >&6
2972 elif test "$wxUSE_LIBXPM" = builtin; then
2973 echo "$as_me:$LINENO: result: builtin version" >&5
2974 echo "${ECHO_T}builtin version" >&6
2975 else
2976 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2977 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2978 { (exit 1); exit 1; }; }
2979 fi
2980
2981
2982 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2983 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2984 no_cache=0
2985
2986 # Check whether --with-libmspack or --without-libmspack was given.
2987 if test "${with_libmspack+set}" = set; then
2988 withval="$with_libmspack"
2989
2990 if test "$withval" = yes; then
2991 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
2992 else
2993 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
2994 fi
2995
2996 else
2997
2998 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2999 if test "x$LINE" != x ; then
3000 eval "DEFAULT_$LINE"
3001 else
3002 no_cache=1
3003 fi
3004
3005 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3006
3007 fi;
3008
3009 eval "$ac_cv_use_libmspack"
3010 if test "$no_cache" != 1; then
3011 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3012 fi
3013
3014 if test "$wxUSE_LIBMSPACK" = yes; then
3015 echo "$as_me:$LINENO: result: yes" >&5
3016 echo "${ECHO_T}yes" >&6
3017 else
3018 echo "$as_me:$LINENO: result: no" >&5
3019 echo "${ECHO_T}no" >&6
3020 fi
3021
3022
3023 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3024 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3025 no_cache=0
3026
3027 # Check whether --with-sdl or --without-sdl was given.
3028 if test "${with_sdl+set}" = set; then
3029 withval="$with_sdl"
3030
3031 if test "$withval" = yes; then
3032 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3033 else
3034 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3035 fi
3036
3037 else
3038
3039 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3040 if test "x$LINE" != x ; then
3041 eval "DEFAULT_$LINE"
3042 else
3043 no_cache=1
3044 fi
3045
3046 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3047
3048 fi;
3049
3050 eval "$ac_cv_use_sdl"
3051 if test "$no_cache" != 1; then
3052 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3053 fi
3054
3055 if test "$wxUSE_LIBSDL" = yes; then
3056 echo "$as_me:$LINENO: result: yes" >&5
3057 echo "${ECHO_T}yes" >&6
3058 else
3059 echo "$as_me:$LINENO: result: no" >&5
3060 echo "${ECHO_T}no" >&6
3061 fi
3062
3063
3064 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3065 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3066 no_cache=0
3067
3068 # Check whether --with-opengl or --without-opengl was given.
3069 if test "${with_opengl+set}" = set; then
3070 withval="$with_opengl"
3071
3072 if test "$withval" = yes; then
3073 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3074 else
3075 ac_cv_use_opengl='wxUSE_OPENGL=no'
3076 fi
3077
3078 else
3079
3080 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3081 if test "x$LINE" != x ; then
3082 eval "DEFAULT_$LINE"
3083 else
3084 no_cache=1
3085 fi
3086
3087 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3088
3089 fi;
3090
3091 eval "$ac_cv_use_opengl"
3092 if test "$no_cache" != 1; then
3093 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3094 fi
3095
3096 if test "$wxUSE_OPENGL" = yes; then
3097 echo "$as_me:$LINENO: result: yes" >&5
3098 echo "${ECHO_T}yes" >&6
3099 else
3100 echo "$as_me:$LINENO: result: no" >&5
3101 echo "${ECHO_T}no" >&6
3102 fi
3103
3104
3105 fi
3106
3107
3108 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3109 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3110 no_cache=0
3111
3112 # Check whether --with-dmalloc or --without-dmalloc was given.
3113 if test "${with_dmalloc+set}" = set; then
3114 withval="$with_dmalloc"
3115
3116 if test "$withval" = yes; then
3117 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3118 else
3119 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3120 fi
3121
3122 else
3123
3124 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3125 if test "x$LINE" != x ; then
3126 eval "DEFAULT_$LINE"
3127 else
3128 no_cache=1
3129 fi
3130
3131 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3132
3133 fi;
3134
3135 eval "$ac_cv_use_dmalloc"
3136 if test "$no_cache" != 1; then
3137 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3138 fi
3139
3140 if test "$wxUSE_DMALLOC" = yes; then
3141 echo "$as_me:$LINENO: result: yes" >&5
3142 echo "${ECHO_T}yes" >&6
3143 else
3144 echo "$as_me:$LINENO: result: no" >&5
3145 echo "${ECHO_T}no" >&6
3146 fi
3147
3148
3149 echo "$as_me:$LINENO: checking for --with-regex" >&5
3150 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3151 no_cache=0
3152
3153 # Check whether --with-regex or --without-regex was given.
3154 if test "${with_regex+set}" = set; then
3155 withval="$with_regex"
3156
3157 if test "$withval" = yes; then
3158 ac_cv_use_regex='wxUSE_REGEX=yes'
3159 elif test "$withval" = no; then
3160 ac_cv_use_regex='wxUSE_REGEX=no'
3161 elif test "$withval" = sys; then
3162 ac_cv_use_regex='wxUSE_REGEX=sys'
3163 elif test "$withval" = builtin; then
3164 ac_cv_use_regex='wxUSE_REGEX=builtin'
3165 else
3166 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3167 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3168 { (exit 1); exit 1; }; }
3169 fi
3170
3171 else
3172
3173 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3174 if test "x$LINE" != x ; then
3175 eval "DEFAULT_$LINE"
3176 else
3177 no_cache=1
3178 fi
3179
3180 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3181
3182 fi;
3183
3184 eval "$ac_cv_use_regex"
3185 if test "$no_cache" != 1; then
3186 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3187 fi
3188
3189 if test "$wxUSE_REGEX" = yes; then
3190 echo "$as_me:$LINENO: result: yes" >&5
3191 echo "${ECHO_T}yes" >&6
3192 elif test "$wxUSE_REGEX" = no; then
3193 echo "$as_me:$LINENO: result: no" >&5
3194 echo "${ECHO_T}no" >&6
3195 elif test "$wxUSE_REGEX" = sys; then
3196 echo "$as_me:$LINENO: result: system version" >&5
3197 echo "${ECHO_T}system version" >&6
3198 elif test "$wxUSE_REGEX" = builtin; then
3199 echo "$as_me:$LINENO: result: builtin version" >&5
3200 echo "${ECHO_T}builtin version" >&6
3201 else
3202 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3203 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3204 { (exit 1); exit 1; }; }
3205 fi
3206
3207
3208 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3209 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3210 no_cache=0
3211
3212 # Check whether --with-zlib or --without-zlib was given.
3213 if test "${with_zlib+set}" = set; then
3214 withval="$with_zlib"
3215
3216 if test "$withval" = yes; then
3217 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3218 elif test "$withval" = no; then
3219 ac_cv_use_zlib='wxUSE_ZLIB=no'
3220 elif test "$withval" = sys; then
3221 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3222 elif test "$withval" = builtin; then
3223 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3224 else
3225 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3226 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3227 { (exit 1); exit 1; }; }
3228 fi
3229
3230 else
3231
3232 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3233 if test "x$LINE" != x ; then
3234 eval "DEFAULT_$LINE"
3235 else
3236 no_cache=1
3237 fi
3238
3239 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3240
3241 fi;
3242
3243 eval "$ac_cv_use_zlib"
3244 if test "$no_cache" != 1; then
3245 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3246 fi
3247
3248 if test "$wxUSE_ZLIB" = yes; then
3249 echo "$as_me:$LINENO: result: yes" >&5
3250 echo "${ECHO_T}yes" >&6
3251 elif test "$wxUSE_ZLIB" = no; then
3252 echo "$as_me:$LINENO: result: no" >&5
3253 echo "${ECHO_T}no" >&6
3254 elif test "$wxUSE_ZLIB" = sys; then
3255 echo "$as_me:$LINENO: result: system version" >&5
3256 echo "${ECHO_T}system version" >&6
3257 elif test "$wxUSE_ZLIB" = builtin; then
3258 echo "$as_me:$LINENO: result: builtin version" >&5
3259 echo "${ECHO_T}builtin version" >&6
3260 else
3261 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3262 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3263 { (exit 1); exit 1; }; }
3264 fi
3265
3266
3267 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3268 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3269 no_cache=0
3270
3271 # Check whether --with-odbc or --without-odbc was given.
3272 if test "${with_odbc+set}" = set; then
3273 withval="$with_odbc"
3274
3275 if test "$withval" = yes; then
3276 ac_cv_use_odbc='wxUSE_ODBC=yes'
3277 elif test "$withval" = no; then
3278 ac_cv_use_odbc='wxUSE_ODBC=no'
3279 elif test "$withval" = sys; then
3280 ac_cv_use_odbc='wxUSE_ODBC=sys'
3281 elif test "$withval" = builtin; then
3282 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3283 else
3284 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3285 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3286 { (exit 1); exit 1; }; }
3287 fi
3288
3289 else
3290
3291 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3292 if test "x$LINE" != x ; then
3293 eval "DEFAULT_$LINE"
3294 else
3295 no_cache=1
3296 fi
3297
3298 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3299
3300 fi;
3301
3302 eval "$ac_cv_use_odbc"
3303 if test "$no_cache" != 1; then
3304 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3305 fi
3306
3307 if test "$wxUSE_ODBC" = yes; then
3308 echo "$as_me:$LINENO: result: yes" >&5
3309 echo "${ECHO_T}yes" >&6
3310 elif test "$wxUSE_ODBC" = no; then
3311 echo "$as_me:$LINENO: result: no" >&5
3312 echo "${ECHO_T}no" >&6
3313 elif test "$wxUSE_ODBC" = sys; then
3314 echo "$as_me:$LINENO: result: system version" >&5
3315 echo "${ECHO_T}system version" >&6
3316 elif test "$wxUSE_ODBC" = builtin; then
3317 echo "$as_me:$LINENO: result: builtin version" >&5
3318 echo "${ECHO_T}builtin version" >&6
3319 else
3320 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3321 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3322 { (exit 1); exit 1; }; }
3323 fi
3324
3325
3326 echo "$as_me:$LINENO: checking for --with-expat" >&5
3327 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3328 no_cache=0
3329
3330 # Check whether --with-expat or --without-expat was given.
3331 if test "${with_expat+set}" = set; then
3332 withval="$with_expat"
3333
3334 if test "$withval" = yes; then
3335 ac_cv_use_expat='wxUSE_EXPAT=yes'
3336 elif test "$withval" = no; then
3337 ac_cv_use_expat='wxUSE_EXPAT=no'
3338 elif test "$withval" = sys; then
3339 ac_cv_use_expat='wxUSE_EXPAT=sys'
3340 elif test "$withval" = builtin; then
3341 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3342 else
3343 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3344 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3345 { (exit 1); exit 1; }; }
3346 fi
3347
3348 else
3349
3350 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3351 if test "x$LINE" != x ; then
3352 eval "DEFAULT_$LINE"
3353 else
3354 no_cache=1
3355 fi
3356
3357 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3358
3359 fi;
3360
3361 eval "$ac_cv_use_expat"
3362 if test "$no_cache" != 1; then
3363 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3364 fi
3365
3366 if test "$wxUSE_EXPAT" = yes; then
3367 echo "$as_me:$LINENO: result: yes" >&5
3368 echo "${ECHO_T}yes" >&6
3369 elif test "$wxUSE_EXPAT" = no; then
3370 echo "$as_me:$LINENO: result: no" >&5
3371 echo "${ECHO_T}no" >&6
3372 elif test "$wxUSE_EXPAT" = sys; then
3373 echo "$as_me:$LINENO: result: system version" >&5
3374 echo "${ECHO_T}system version" >&6
3375 elif test "$wxUSE_EXPAT" = builtin; then
3376 echo "$as_me:$LINENO: result: builtin version" >&5
3377 echo "${ECHO_T}builtin version" >&6
3378 else
3379 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3380 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3381 { (exit 1); exit 1; }; }
3382 fi
3383
3384
3385
3386
3387 enablestring=
3388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3389 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3390 no_cache=0
3391 # Check whether --enable-shared or --disable-shared was given.
3392 if test "${enable_shared+set}" = set; then
3393 enableval="$enable_shared"
3394
3395 if test "$enableval" = yes; then
3396 ac_cv_use_shared='wxUSE_SHARED=yes'
3397 else
3398 ac_cv_use_shared='wxUSE_SHARED=no'
3399 fi
3400
3401 else
3402
3403 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3404 if test "x$LINE" != x ; then
3405 eval "DEFAULT_$LINE"
3406 else
3407 no_cache=1
3408 fi
3409
3410 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3411
3412 fi;
3413
3414 eval "$ac_cv_use_shared"
3415 if test "$no_cache" != 1; then
3416 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3417 fi
3418
3419 if test "$wxUSE_SHARED" = yes; then
3420 echo "$as_me:$LINENO: result: yes" >&5
3421 echo "${ECHO_T}yes" >&6
3422 else
3423 echo "$as_me:$LINENO: result: no" >&5
3424 echo "${ECHO_T}no" >&6
3425 fi
3426
3427
3428 enablestring=
3429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3430 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3431 no_cache=0
3432 # Check whether --enable-optimise or --disable-optimise was given.
3433 if test "${enable_optimise+set}" = set; then
3434 enableval="$enable_optimise"
3435
3436 if test "$enableval" = yes; then
3437 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3438 else
3439 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3440 fi
3441
3442 else
3443
3444 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3445 if test "x$LINE" != x ; then
3446 eval "DEFAULT_$LINE"
3447 else
3448 no_cache=1
3449 fi
3450
3451 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3452
3453 fi;
3454
3455 eval "$ac_cv_use_optimise"
3456 if test "$no_cache" != 1; then
3457 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3458 fi
3459
3460 if test "$wxUSE_OPTIMISE" = yes; then
3461 echo "$as_me:$LINENO: result: yes" >&5
3462 echo "${ECHO_T}yes" >&6
3463 else
3464 echo "$as_me:$LINENO: result: no" >&5
3465 echo "${ECHO_T}no" >&6
3466 fi
3467
3468
3469 enablestring=
3470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3471 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3472 no_cache=0
3473 # Check whether --enable-debug or --disable-debug was given.
3474 if test "${enable_debug+set}" = set; then
3475 enableval="$enable_debug"
3476
3477 if test "$enableval" = yes; then
3478 ac_cv_use_debug='wxUSE_DEBUG=yes'
3479 else
3480 ac_cv_use_debug='wxUSE_DEBUG=no'
3481 fi
3482
3483 else
3484
3485 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3486 if test "x$LINE" != x ; then
3487 eval "DEFAULT_$LINE"
3488 else
3489 no_cache=1
3490 fi
3491
3492 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3493
3494 fi;
3495
3496 eval "$ac_cv_use_debug"
3497 if test "$no_cache" != 1; then
3498 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3499 fi
3500
3501 if test "$wxUSE_DEBUG" = yes; then
3502 echo "$as_me:$LINENO: result: yes" >&5
3503 echo "${ECHO_T}yes" >&6
3504 else
3505 echo "$as_me:$LINENO: result: no" >&5
3506 echo "${ECHO_T}no" >&6
3507 fi
3508
3509
3510 enablestring=
3511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3512 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3513 no_cache=0
3514 # Check whether --enable-stl or --disable-stl was given.
3515 if test "${enable_stl+set}" = set; then
3516 enableval="$enable_stl"
3517
3518 if test "$enableval" = yes; then
3519 ac_cv_use_stl='wxUSE_STL=yes'
3520 else
3521 ac_cv_use_stl='wxUSE_STL=no'
3522 fi
3523
3524 else
3525
3526 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3527 if test "x$LINE" != x ; then
3528 eval "DEFAULT_$LINE"
3529 else
3530 no_cache=1
3531 fi
3532
3533 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3534
3535 fi;
3536
3537 eval "$ac_cv_use_stl"
3538 if test "$no_cache" != 1; then
3539 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3540 fi
3541
3542 if test "$wxUSE_STL" = yes; then
3543 echo "$as_me:$LINENO: result: yes" >&5
3544 echo "${ECHO_T}yes" >&6
3545 else
3546 echo "$as_me:$LINENO: result: no" >&5
3547 echo "${ECHO_T}no" >&6
3548 fi
3549
3550 if test "$USE_OS2" = "1"; then
3551
3552 enablestring=
3553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3554 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3555 no_cache=0
3556 # Check whether --enable-omf or --disable-omf was given.
3557 if test "${enable_omf+set}" = set; then
3558 enableval="$enable_omf"
3559
3560 if test "$enableval" = yes; then
3561 ac_cv_use_omf='wxUSE_OMF=yes'
3562 else
3563 ac_cv_use_omf='wxUSE_OMF=no'
3564 fi
3565
3566 else
3567
3568 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3569 if test "x$LINE" != x ; then
3570 eval "DEFAULT_$LINE"
3571 else
3572 no_cache=1
3573 fi
3574
3575 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3576
3577 fi;
3578
3579 eval "$ac_cv_use_omf"
3580 if test "$no_cache" != 1; then
3581 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3582 fi
3583
3584 if test "$wxUSE_OMF" = yes; then
3585 echo "$as_me:$LINENO: result: yes" >&5
3586 echo "${ECHO_T}yes" >&6
3587 else
3588 echo "$as_me:$LINENO: result: no" >&5
3589 echo "${ECHO_T}no" >&6
3590 fi
3591
3592 fi
3593
3594 if test "$wxUSE_DEBUG" = "yes"; then
3595 DEFAULT_wxUSE_DEBUG_FLAG=yes
3596 DEFAULT_wxUSE_DEBUG_INFO=yes
3597 BUILD=debug
3598 elif test "$wxUSE_DEBUG" = "no"; then
3599 DEFAULT_wxUSE_DEBUG_FLAG=no
3600 DEFAULT_wxUSE_DEBUG_INFO=no
3601 BUILD=release
3602 fi
3603
3604
3605 enablestring=
3606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3607 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3608 no_cache=0
3609 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3610 if test "${enable_debug_flag+set}" = set; then
3611 enableval="$enable_debug_flag"
3612
3613 if test "$enableval" = yes; then
3614 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3615 else
3616 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3617 fi
3618
3619 else
3620
3621 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3622 if test "x$LINE" != x ; then
3623 eval "DEFAULT_$LINE"
3624 else
3625 no_cache=1
3626 fi
3627
3628 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3629
3630 fi;
3631
3632 eval "$ac_cv_use_debug_flag"
3633 if test "$no_cache" != 1; then
3634 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3635 fi
3636
3637 if test "$wxUSE_DEBUG_FLAG" = yes; then
3638 echo "$as_me:$LINENO: result: yes" >&5
3639 echo "${ECHO_T}yes" >&6
3640 else
3641 echo "$as_me:$LINENO: result: no" >&5
3642 echo "${ECHO_T}no" >&6
3643 fi
3644
3645
3646 enablestring=
3647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3648 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3649 no_cache=0
3650 # Check whether --enable-debug_info or --disable-debug_info was given.
3651 if test "${enable_debug_info+set}" = set; then
3652 enableval="$enable_debug_info"
3653
3654 if test "$enableval" = yes; then
3655 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3656 else
3657 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3658 fi
3659
3660 else
3661
3662 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3663 if test "x$LINE" != x ; then
3664 eval "DEFAULT_$LINE"
3665 else
3666 no_cache=1
3667 fi
3668
3669 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3670
3671 fi;
3672
3673 eval "$ac_cv_use_debug_info"
3674 if test "$no_cache" != 1; then
3675 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3676 fi
3677
3678 if test "$wxUSE_DEBUG_INFO" = yes; then
3679 echo "$as_me:$LINENO: result: yes" >&5
3680 echo "${ECHO_T}yes" >&6
3681 else
3682 echo "$as_me:$LINENO: result: no" >&5
3683 echo "${ECHO_T}no" >&6
3684 fi
3685
3686
3687 enablestring=
3688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3689 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3690 no_cache=0
3691 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3692 if test "${enable_debug_gdb+set}" = set; then
3693 enableval="$enable_debug_gdb"
3694
3695 if test "$enableval" = yes; then
3696 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3697 else
3698 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3699 fi
3700
3701 else
3702
3703 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3704 if test "x$LINE" != x ; then
3705 eval "DEFAULT_$LINE"
3706 else
3707 no_cache=1
3708 fi
3709
3710 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3711
3712 fi;
3713
3714 eval "$ac_cv_use_debug_gdb"
3715 if test "$no_cache" != 1; then
3716 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3717 fi
3718
3719 if test "$wxUSE_DEBUG_GDB" = yes; then
3720 echo "$as_me:$LINENO: result: yes" >&5
3721 echo "${ECHO_T}yes" >&6
3722 else
3723 echo "$as_me:$LINENO: result: no" >&5
3724 echo "${ECHO_T}no" >&6
3725 fi
3726
3727
3728 enablestring=
3729 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3730 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3731 no_cache=0
3732 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3733 if test "${enable_debug_cntxt+set}" = set; then
3734 enableval="$enable_debug_cntxt"
3735
3736 if test "$enableval" = yes; then
3737 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3738 else
3739 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3740 fi
3741
3742 else
3743
3744 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3745 if test "x$LINE" != x ; then
3746 eval "DEFAULT_$LINE"
3747 else
3748 no_cache=1
3749 fi
3750
3751 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3752
3753 fi;
3754
3755 eval "$ac_cv_use_debug_cntxt"
3756 if test "$no_cache" != 1; then
3757 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3758 fi
3759
3760 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3761 echo "$as_me:$LINENO: result: yes" >&5
3762 echo "${ECHO_T}yes" >&6
3763 else
3764 echo "$as_me:$LINENO: result: no" >&5
3765 echo "${ECHO_T}no" >&6
3766 fi
3767
3768
3769 enablestring=
3770 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3771 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3772 no_cache=0
3773 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3774 if test "${enable_mem_tracing+set}" = set; then
3775 enableval="$enable_mem_tracing"
3776
3777 if test "$enableval" = yes; then
3778 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3779 else
3780 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3781 fi
3782
3783 else
3784
3785 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3786 if test "x$LINE" != x ; then
3787 eval "DEFAULT_$LINE"
3788 else
3789 no_cache=1
3790 fi
3791
3792 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3793
3794 fi;
3795
3796 eval "$ac_cv_use_mem_tracing"
3797 if test "$no_cache" != 1; then
3798 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3799 fi
3800
3801 if test "$wxUSE_MEM_TRACING" = yes; then
3802 echo "$as_me:$LINENO: result: yes" >&5
3803 echo "${ECHO_T}yes" >&6
3804 else
3805 echo "$as_me:$LINENO: result: no" >&5
3806 echo "${ECHO_T}no" >&6
3807 fi
3808
3809
3810 enablestring=
3811 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3812 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3813 no_cache=0
3814 # Check whether --enable-profile or --disable-profile was given.
3815 if test "${enable_profile+set}" = set; then
3816 enableval="$enable_profile"
3817
3818 if test "$enableval" = yes; then
3819 ac_cv_use_profile='wxUSE_PROFILE=yes'
3820 else
3821 ac_cv_use_profile='wxUSE_PROFILE=no'
3822 fi
3823
3824 else
3825
3826 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3827 if test "x$LINE" != x ; then
3828 eval "DEFAULT_$LINE"
3829 else
3830 no_cache=1
3831 fi
3832
3833 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3834
3835 fi;
3836
3837 eval "$ac_cv_use_profile"
3838 if test "$no_cache" != 1; then
3839 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3840 fi
3841
3842 if test "$wxUSE_PROFILE" = yes; then
3843 echo "$as_me:$LINENO: result: yes" >&5
3844 echo "${ECHO_T}yes" >&6
3845 else
3846 echo "$as_me:$LINENO: result: no" >&5
3847 echo "${ECHO_T}no" >&6
3848 fi
3849
3850
3851 enablestring=
3852 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3853 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3854 no_cache=0
3855 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3856 if test "${enable_no_rtti+set}" = set; then
3857 enableval="$enable_no_rtti"
3858
3859 if test "$enableval" = yes; then
3860 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3861 else
3862 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3863 fi
3864
3865 else
3866
3867 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3868 if test "x$LINE" != x ; then
3869 eval "DEFAULT_$LINE"
3870 else
3871 no_cache=1
3872 fi
3873
3874 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3875
3876 fi;
3877
3878 eval "$ac_cv_use_no_rtti"
3879 if test "$no_cache" != 1; then
3880 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3881 fi
3882
3883 if test "$wxUSE_NO_RTTI" = yes; then
3884 echo "$as_me:$LINENO: result: yes" >&5
3885 echo "${ECHO_T}yes" >&6
3886 else
3887 echo "$as_me:$LINENO: result: no" >&5
3888 echo "${ECHO_T}no" >&6
3889 fi
3890
3891
3892 enablestring=
3893 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3894 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3895 no_cache=0
3896 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3897 if test "${enable_no_exceptions+set}" = set; then
3898 enableval="$enable_no_exceptions"
3899
3900 if test "$enableval" = yes; then
3901 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3902 else
3903 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3904 fi
3905
3906 else
3907
3908 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3909 if test "x$LINE" != x ; then
3910 eval "DEFAULT_$LINE"
3911 else
3912 no_cache=1
3913 fi
3914
3915 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3916
3917 fi;
3918
3919 eval "$ac_cv_use_no_exceptions"
3920 if test "$no_cache" != 1; then
3921 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3922 fi
3923
3924 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3925 echo "$as_me:$LINENO: result: yes" >&5
3926 echo "${ECHO_T}yes" >&6
3927 else
3928 echo "$as_me:$LINENO: result: no" >&5
3929 echo "${ECHO_T}no" >&6
3930 fi
3931
3932
3933 enablestring=
3934 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3935 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3936 no_cache=0
3937 # Check whether --enable-permissive or --disable-permissive was given.
3938 if test "${enable_permissive+set}" = set; then
3939 enableval="$enable_permissive"
3940
3941 if test "$enableval" = yes; then
3942 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3943 else
3944 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3945 fi
3946
3947 else
3948
3949 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3950 if test "x$LINE" != x ; then
3951 eval "DEFAULT_$LINE"
3952 else
3953 no_cache=1
3954 fi
3955
3956 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3957
3958 fi;
3959
3960 eval "$ac_cv_use_permissive"
3961 if test "$no_cache" != 1; then
3962 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3963 fi
3964
3965 if test "$wxUSE_PERMISSIVE" = yes; then
3966 echo "$as_me:$LINENO: result: yes" >&5
3967 echo "${ECHO_T}yes" >&6
3968 else
3969 echo "$as_me:$LINENO: result: no" >&5
3970 echo "${ECHO_T}no" >&6
3971 fi
3972
3973
3974 enablestring=
3975 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3976 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3977 no_cache=0
3978 # Check whether --enable-no_deps or --disable-no_deps was given.
3979 if test "${enable_no_deps+set}" = set; then
3980 enableval="$enable_no_deps"
3981
3982 if test "$enableval" = yes; then
3983 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3984 else
3985 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3986 fi
3987
3988 else
3989
3990 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3991 if test "x$LINE" != x ; then
3992 eval "DEFAULT_$LINE"
3993 else
3994 no_cache=1
3995 fi
3996
3997 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3998
3999 fi;
4000
4001 eval "$ac_cv_use_no_deps"
4002 if test "$no_cache" != 1; then
4003 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4004 fi
4005
4006 if test "$wxUSE_NO_DEPS" = yes; then
4007 echo "$as_me:$LINENO: result: yes" >&5
4008 echo "${ECHO_T}yes" >&6
4009 else
4010 echo "$as_me:$LINENO: result: no" >&5
4011 echo "${ECHO_T}no" >&6
4012 fi
4013
4014
4015
4016 enablestring=
4017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4018 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4019 no_cache=0
4020 # Check whether --enable-compat22 or --disable-compat22 was given.
4021 if test "${enable_compat22+set}" = set; then
4022 enableval="$enable_compat22"
4023
4024 if test "$enableval" = yes; then
4025 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4026 else
4027 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4028 fi
4029
4030 else
4031
4032 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4033 if test "x$LINE" != x ; then
4034 eval "DEFAULT_$LINE"
4035 else
4036 no_cache=1
4037 fi
4038
4039 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4040
4041 fi;
4042
4043 eval "$ac_cv_use_compat22"
4044 if test "$no_cache" != 1; then
4045 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4046 fi
4047
4048 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4049 echo "$as_me:$LINENO: result: yes" >&5
4050 echo "${ECHO_T}yes" >&6
4051 else
4052 echo "$as_me:$LINENO: result: no" >&5
4053 echo "${ECHO_T}no" >&6
4054 fi
4055
4056
4057 enablestring=disable
4058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4059 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4060 no_cache=0
4061 # Check whether --enable-compat24 or --disable-compat24 was given.
4062 if test "${enable_compat24+set}" = set; then
4063 enableval="$enable_compat24"
4064
4065 if test "$enableval" = yes; then
4066 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4067 else
4068 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4069 fi
4070
4071 else
4072
4073 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4074 if test "x$LINE" != x ; then
4075 eval "DEFAULT_$LINE"
4076 else
4077 no_cache=1
4078 fi
4079
4080 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4081
4082 fi;
4083
4084 eval "$ac_cv_use_compat24"
4085 if test "$no_cache" != 1; then
4086 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4087 fi
4088
4089 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4090 echo "$as_me:$LINENO: result: yes" >&5
4091 echo "${ECHO_T}yes" >&6
4092 else
4093 echo "$as_me:$LINENO: result: no" >&5
4094 echo "${ECHO_T}no" >&6
4095 fi
4096
4097
4098 # Check whether --enable-rpath or --disable-rpath was given.
4099 if test "${enable_rpath+set}" = set; then
4100 enableval="$enable_rpath"
4101 wxRPATH_DIR="$enableval"
4102 fi;
4103
4104 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable" -a "$wxRPATH_DIR" != "no"; then
4105 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
4106 fi
4107
4108
4109
4110
4111 enablestring=
4112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4113 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4114 no_cache=0
4115 # Check whether --enable-intl or --disable-intl was given.
4116 if test "${enable_intl+set}" = set; then
4117 enableval="$enable_intl"
4118
4119 if test "$enableval" = yes; then
4120 ac_cv_use_intl='wxUSE_INTL=yes'
4121 else
4122 ac_cv_use_intl='wxUSE_INTL=no'
4123 fi
4124
4125 else
4126
4127 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4128 if test "x$LINE" != x ; then
4129 eval "DEFAULT_$LINE"
4130 else
4131 no_cache=1
4132 fi
4133
4134 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4135
4136 fi;
4137
4138 eval "$ac_cv_use_intl"
4139 if test "$no_cache" != 1; then
4140 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4141 fi
4142
4143 if test "$wxUSE_INTL" = yes; then
4144 echo "$as_me:$LINENO: result: yes" >&5
4145 echo "${ECHO_T}yes" >&6
4146 else
4147 echo "$as_me:$LINENO: result: no" >&5
4148 echo "${ECHO_T}no" >&6
4149 fi
4150
4151
4152 enablestring=
4153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4154 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4155 no_cache=0
4156 # Check whether --enable-config or --disable-config was given.
4157 if test "${enable_config+set}" = set; then
4158 enableval="$enable_config"
4159
4160 if test "$enableval" = yes; then
4161 ac_cv_use_config='wxUSE_CONFIG=yes'
4162 else
4163 ac_cv_use_config='wxUSE_CONFIG=no'
4164 fi
4165
4166 else
4167
4168 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4169 if test "x$LINE" != x ; then
4170 eval "DEFAULT_$LINE"
4171 else
4172 no_cache=1
4173 fi
4174
4175 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4176
4177 fi;
4178
4179 eval "$ac_cv_use_config"
4180 if test "$no_cache" != 1; then
4181 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4182 fi
4183
4184 if test "$wxUSE_CONFIG" = yes; then
4185 echo "$as_me:$LINENO: result: yes" >&5
4186 echo "${ECHO_T}yes" >&6
4187 else
4188 echo "$as_me:$LINENO: result: no" >&5
4189 echo "${ECHO_T}no" >&6
4190 fi
4191
4192
4193
4194 enablestring=
4195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4196 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4197 no_cache=0
4198 # Check whether --enable-protocols or --disable-protocols was given.
4199 if test "${enable_protocols+set}" = set; then
4200 enableval="$enable_protocols"
4201
4202 if test "$enableval" = yes; then
4203 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4204 else
4205 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4206 fi
4207
4208 else
4209
4210 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4211 if test "x$LINE" != x ; then
4212 eval "DEFAULT_$LINE"
4213 else
4214 no_cache=1
4215 fi
4216
4217 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4218
4219 fi;
4220
4221 eval "$ac_cv_use_protocols"
4222 if test "$no_cache" != 1; then
4223 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4224 fi
4225
4226 if test "$wxUSE_PROTOCOL" = yes; then
4227 echo "$as_me:$LINENO: result: yes" >&5
4228 echo "${ECHO_T}yes" >&6
4229 else
4230 echo "$as_me:$LINENO: result: no" >&5
4231 echo "${ECHO_T}no" >&6
4232 fi
4233
4234
4235 enablestring=
4236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4237 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4238 no_cache=0
4239 # Check whether --enable-ftp or --disable-ftp was given.
4240 if test "${enable_ftp+set}" = set; then
4241 enableval="$enable_ftp"
4242
4243 if test "$enableval" = yes; then
4244 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4245 else
4246 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4247 fi
4248
4249 else
4250
4251 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4252 if test "x$LINE" != x ; then
4253 eval "DEFAULT_$LINE"
4254 else
4255 no_cache=1
4256 fi
4257
4258 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4259
4260 fi;
4261
4262 eval "$ac_cv_use_ftp"
4263 if test "$no_cache" != 1; then
4264 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4265 fi
4266
4267 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4268 echo "$as_me:$LINENO: result: yes" >&5
4269 echo "${ECHO_T}yes" >&6
4270 else
4271 echo "$as_me:$LINENO: result: no" >&5
4272 echo "${ECHO_T}no" >&6
4273 fi
4274
4275
4276 enablestring=
4277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4278 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4279 no_cache=0
4280 # Check whether --enable-http or --disable-http was given.
4281 if test "${enable_http+set}" = set; then
4282 enableval="$enable_http"
4283
4284 if test "$enableval" = yes; then
4285 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4286 else
4287 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4288 fi
4289
4290 else
4291
4292 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4293 if test "x$LINE" != x ; then
4294 eval "DEFAULT_$LINE"
4295 else
4296 no_cache=1
4297 fi
4298
4299 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4300
4301 fi;
4302
4303 eval "$ac_cv_use_http"
4304 if test "$no_cache" != 1; then
4305 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4306 fi
4307
4308 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4309 echo "$as_me:$LINENO: result: yes" >&5
4310 echo "${ECHO_T}yes" >&6
4311 else
4312 echo "$as_me:$LINENO: result: no" >&5
4313 echo "${ECHO_T}no" >&6
4314 fi
4315
4316
4317 enablestring=
4318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4319 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4320 no_cache=0
4321 # Check whether --enable-fileproto or --disable-fileproto was given.
4322 if test "${enable_fileproto+set}" = set; then
4323 enableval="$enable_fileproto"
4324
4325 if test "$enableval" = yes; then
4326 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4327 else
4328 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4329 fi
4330
4331 else
4332
4333 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4334 if test "x$LINE" != x ; then
4335 eval "DEFAULT_$LINE"
4336 else
4337 no_cache=1
4338 fi
4339
4340 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4341
4342 fi;
4343
4344 eval "$ac_cv_use_fileproto"
4345 if test "$no_cache" != 1; then
4346 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4347 fi
4348
4349 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4350 echo "$as_me:$LINENO: result: yes" >&5
4351 echo "${ECHO_T}yes" >&6
4352 else
4353 echo "$as_me:$LINENO: result: no" >&5
4354 echo "${ECHO_T}no" >&6
4355 fi
4356
4357
4358 enablestring=
4359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4360 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4361 no_cache=0
4362 # Check whether --enable-sockets or --disable-sockets was given.
4363 if test "${enable_sockets+set}" = set; then
4364 enableval="$enable_sockets"
4365
4366 if test "$enableval" = yes; then
4367 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4368 else
4369 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4370 fi
4371
4372 else
4373
4374 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4375 if test "x$LINE" != x ; then
4376 eval "DEFAULT_$LINE"
4377 else
4378 no_cache=1
4379 fi
4380
4381 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4382
4383 fi;
4384
4385 eval "$ac_cv_use_sockets"
4386 if test "$no_cache" != 1; then
4387 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4388 fi
4389
4390 if test "$wxUSE_SOCKETS" = yes; then
4391 echo "$as_me:$LINENO: result: yes" >&5
4392 echo "${ECHO_T}yes" >&6
4393 else
4394 echo "$as_me:$LINENO: result: no" >&5
4395 echo "${ECHO_T}no" >&6
4396 fi
4397
4398
4399 enablestring=
4400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4401 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4402 no_cache=0
4403 # Check whether --enable-ole or --disable-ole was given.
4404 if test "${enable_ole+set}" = set; then
4405 enableval="$enable_ole"
4406
4407 if test "$enableval" = yes; then
4408 ac_cv_use_ole='wxUSE_OLE=yes'
4409 else
4410 ac_cv_use_ole='wxUSE_OLE=no'
4411 fi
4412
4413 else
4414
4415 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4416 if test "x$LINE" != x ; then
4417 eval "DEFAULT_$LINE"
4418 else
4419 no_cache=1
4420 fi
4421
4422 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4423
4424 fi;
4425
4426 eval "$ac_cv_use_ole"
4427 if test "$no_cache" != 1; then
4428 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4429 fi
4430
4431 if test "$wxUSE_OLE" = yes; then
4432 echo "$as_me:$LINENO: result: yes" >&5
4433 echo "${ECHO_T}yes" >&6
4434 else
4435 echo "$as_me:$LINENO: result: no" >&5
4436 echo "${ECHO_T}no" >&6
4437 fi
4438
4439
4440 enablestring=
4441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4442 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4443 no_cache=0
4444 # Check whether --enable-dataobj or --disable-dataobj was given.
4445 if test "${enable_dataobj+set}" = set; then
4446 enableval="$enable_dataobj"
4447
4448 if test "$enableval" = yes; then
4449 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4450 else
4451 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4452 fi
4453
4454 else
4455
4456 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4457 if test "x$LINE" != x ; then
4458 eval "DEFAULT_$LINE"
4459 else
4460 no_cache=1
4461 fi
4462
4463 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4464
4465 fi;
4466
4467 eval "$ac_cv_use_dataobj"
4468 if test "$no_cache" != 1; then
4469 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4470 fi
4471
4472 if test "$wxUSE_DATAOBJ" = yes; then
4473 echo "$as_me:$LINENO: result: yes" >&5
4474 echo "${ECHO_T}yes" >&6
4475 else
4476 echo "$as_me:$LINENO: result: no" >&5
4477 echo "${ECHO_T}no" >&6
4478 fi
4479
4480
4481
4482 enablestring=
4483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4484 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4485 no_cache=0
4486 # Check whether --enable-ipc or --disable-ipc was given.
4487 if test "${enable_ipc+set}" = set; then
4488 enableval="$enable_ipc"
4489
4490 if test "$enableval" = yes; then
4491 ac_cv_use_ipc='wxUSE_IPC=yes'
4492 else
4493 ac_cv_use_ipc='wxUSE_IPC=no'
4494 fi
4495
4496 else
4497
4498 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4499 if test "x$LINE" != x ; then
4500 eval "DEFAULT_$LINE"
4501 else
4502 no_cache=1
4503 fi
4504
4505 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4506
4507 fi;
4508
4509 eval "$ac_cv_use_ipc"
4510 if test "$no_cache" != 1; then
4511 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4512 fi
4513
4514 if test "$wxUSE_IPC" = yes; then
4515 echo "$as_me:$LINENO: result: yes" >&5
4516 echo "${ECHO_T}yes" >&6
4517 else
4518 echo "$as_me:$LINENO: result: no" >&5
4519 echo "${ECHO_T}no" >&6
4520 fi
4521
4522
4523
4524 enablestring=
4525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4526 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4527 no_cache=0
4528 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4529 if test "${enable_apple_ieee+set}" = set; then
4530 enableval="$enable_apple_ieee"
4531
4532 if test "$enableval" = yes; then
4533 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4534 else
4535 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4536 fi
4537
4538 else
4539
4540 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4541 if test "x$LINE" != x ; then
4542 eval "DEFAULT_$LINE"
4543 else
4544 no_cache=1
4545 fi
4546
4547 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4548
4549 fi;
4550
4551 eval "$ac_cv_use_apple_ieee"
4552 if test "$no_cache" != 1; then
4553 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4554 fi
4555
4556 if test "$wxUSE_APPLE_IEEE" = yes; then
4557 echo "$as_me:$LINENO: result: yes" >&5
4558 echo "${ECHO_T}yes" >&6
4559 else
4560 echo "$as_me:$LINENO: result: no" >&5
4561 echo "${ECHO_T}no" >&6
4562 fi
4563
4564
4565 enablestring=
4566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4567 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4568 no_cache=0
4569 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4570 if test "${enable_catch_segvs+set}" = set; then
4571 enableval="$enable_catch_segvs"
4572
4573 if test "$enableval" = yes; then
4574 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4575 else
4576 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4577 fi
4578
4579 else
4580
4581 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4582 if test "x$LINE" != x ; then
4583 eval "DEFAULT_$LINE"
4584 else
4585 no_cache=1
4586 fi
4587
4588 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4589
4590 fi;
4591
4592 eval "$ac_cv_use_catch_segvs"
4593 if test "$no_cache" != 1; then
4594 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4595 fi
4596
4597 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4598 echo "$as_me:$LINENO: result: yes" >&5
4599 echo "${ECHO_T}yes" >&6
4600 else
4601 echo "$as_me:$LINENO: result: no" >&5
4602 echo "${ECHO_T}no" >&6
4603 fi
4604
4605
4606 enablestring=
4607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4608 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4609 no_cache=0
4610 # Check whether --enable-cmdline or --disable-cmdline was given.
4611 if test "${enable_cmdline+set}" = set; then
4612 enableval="$enable_cmdline"
4613
4614 if test "$enableval" = yes; then
4615 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4616 else
4617 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4618 fi
4619
4620 else
4621
4622 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4623 if test "x$LINE" != x ; then
4624 eval "DEFAULT_$LINE"
4625 else
4626 no_cache=1
4627 fi
4628
4629 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4630
4631 fi;
4632
4633 eval "$ac_cv_use_cmdline"
4634 if test "$no_cache" != 1; then
4635 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4636 fi
4637
4638 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4639 echo "$as_me:$LINENO: result: yes" >&5
4640 echo "${ECHO_T}yes" >&6
4641 else
4642 echo "$as_me:$LINENO: result: no" >&5
4643 echo "${ECHO_T}no" >&6
4644 fi
4645
4646
4647 enablestring=
4648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4649 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4650 no_cache=0
4651 # Check whether --enable-datetime or --disable-datetime was given.
4652 if test "${enable_datetime+set}" = set; then
4653 enableval="$enable_datetime"
4654
4655 if test "$enableval" = yes; then
4656 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4657 else
4658 ac_cv_use_datetime='wxUSE_DATETIME=no'
4659 fi
4660
4661 else
4662
4663 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4664 if test "x$LINE" != x ; then
4665 eval "DEFAULT_$LINE"
4666 else
4667 no_cache=1
4668 fi
4669
4670 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4671
4672 fi;
4673
4674 eval "$ac_cv_use_datetime"
4675 if test "$no_cache" != 1; then
4676 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4677 fi
4678
4679 if test "$wxUSE_DATETIME" = yes; then
4680 echo "$as_me:$LINENO: result: yes" >&5
4681 echo "${ECHO_T}yes" >&6
4682 else
4683 echo "$as_me:$LINENO: result: no" >&5
4684 echo "${ECHO_T}no" >&6
4685 fi
4686
4687
4688 enablestring=
4689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4690 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4691 no_cache=0
4692 # Check whether --enable-dialupman or --disable-dialupman was given.
4693 if test "${enable_dialupman+set}" = set; then
4694 enableval="$enable_dialupman"
4695
4696 if test "$enableval" = yes; then
4697 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4698 else
4699 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4700 fi
4701
4702 else
4703
4704 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4705 if test "x$LINE" != x ; then
4706 eval "DEFAULT_$LINE"
4707 else
4708 no_cache=1
4709 fi
4710
4711 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4712
4713 fi;
4714
4715 eval "$ac_cv_use_dialupman"
4716 if test "$no_cache" != 1; then
4717 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4718 fi
4719
4720 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4721 echo "$as_me:$LINENO: result: yes" >&5
4722 echo "${ECHO_T}yes" >&6
4723 else
4724 echo "$as_me:$LINENO: result: no" >&5
4725 echo "${ECHO_T}no" >&6
4726 fi
4727
4728
4729 enablestring=
4730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4731 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4732 no_cache=0
4733 # Check whether --enable-dynlib or --disable-dynlib was given.
4734 if test "${enable_dynlib+set}" = set; then
4735 enableval="$enable_dynlib"
4736
4737 if test "$enableval" = yes; then
4738 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4739 else
4740 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4741 fi
4742
4743 else
4744
4745 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4746 if test "x$LINE" != x ; then
4747 eval "DEFAULT_$LINE"
4748 else
4749 no_cache=1
4750 fi
4751
4752 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4753
4754 fi;
4755
4756 eval "$ac_cv_use_dynlib"
4757 if test "$no_cache" != 1; then
4758 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4759 fi
4760
4761 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4762 echo "$as_me:$LINENO: result: yes" >&5
4763 echo "${ECHO_T}yes" >&6
4764 else
4765 echo "$as_me:$LINENO: result: no" >&5
4766 echo "${ECHO_T}no" >&6
4767 fi
4768
4769
4770 enablestring=
4771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4772 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4773 no_cache=0
4774 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4775 if test "${enable_dynamicloader+set}" = set; then
4776 enableval="$enable_dynamicloader"
4777
4778 if test "$enableval" = yes; then
4779 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4780 else
4781 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4782 fi
4783
4784 else
4785
4786 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4787 if test "x$LINE" != x ; then
4788 eval "DEFAULT_$LINE"
4789 else
4790 no_cache=1
4791 fi
4792
4793 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4794
4795 fi;
4796
4797 eval "$ac_cv_use_dynamicloader"
4798 if test "$no_cache" != 1; then
4799 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4800 fi
4801
4802 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4803 echo "$as_me:$LINENO: result: yes" >&5
4804 echo "${ECHO_T}yes" >&6
4805 else
4806 echo "$as_me:$LINENO: result: no" >&5
4807 echo "${ECHO_T}no" >&6
4808 fi
4809
4810
4811 enablestring=
4812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4813 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4814 no_cache=0
4815 # Check whether --enable-exceptions or --disable-exceptions was given.
4816 if test "${enable_exceptions+set}" = set; then
4817 enableval="$enable_exceptions"
4818
4819 if test "$enableval" = yes; then
4820 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
4821 else
4822 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
4823 fi
4824
4825 else
4826
4827 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4828 if test "x$LINE" != x ; then
4829 eval "DEFAULT_$LINE"
4830 else
4831 no_cache=1
4832 fi
4833
4834 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4835
4836 fi;
4837
4838 eval "$ac_cv_use_exceptions"
4839 if test "$no_cache" != 1; then
4840 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4841 fi
4842
4843 if test "$wxUSE_EXCEPTIONS" = yes; then
4844 echo "$as_me:$LINENO: result: yes" >&5
4845 echo "${ECHO_T}yes" >&6
4846 else
4847 echo "$as_me:$LINENO: result: no" >&5
4848 echo "${ECHO_T}no" >&6
4849 fi
4850
4851
4852 enablestring=
4853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4854 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4855 no_cache=0
4856 # Check whether --enable-ffile or --disable-ffile was given.
4857 if test "${enable_ffile+set}" = set; then
4858 enableval="$enable_ffile"
4859
4860 if test "$enableval" = yes; then
4861 ac_cv_use_ffile='wxUSE_FFILE=yes'
4862 else
4863 ac_cv_use_ffile='wxUSE_FFILE=no'
4864 fi
4865
4866 else
4867
4868 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4869 if test "x$LINE" != x ; then
4870 eval "DEFAULT_$LINE"
4871 else
4872 no_cache=1
4873 fi
4874
4875 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4876
4877 fi;
4878
4879 eval "$ac_cv_use_ffile"
4880 if test "$no_cache" != 1; then
4881 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4882 fi
4883
4884 if test "$wxUSE_FFILE" = yes; then
4885 echo "$as_me:$LINENO: result: yes" >&5
4886 echo "${ECHO_T}yes" >&6
4887 else
4888 echo "$as_me:$LINENO: result: no" >&5
4889 echo "${ECHO_T}no" >&6
4890 fi
4891
4892
4893 enablestring=
4894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4895 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4896 no_cache=0
4897 # Check whether --enable-file or --disable-file was given.
4898 if test "${enable_file+set}" = set; then
4899 enableval="$enable_file"
4900
4901 if test "$enableval" = yes; then
4902 ac_cv_use_file='wxUSE_FILE=yes'
4903 else
4904 ac_cv_use_file='wxUSE_FILE=no'
4905 fi
4906
4907 else
4908
4909 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4910 if test "x$LINE" != x ; then
4911 eval "DEFAULT_$LINE"
4912 else
4913 no_cache=1
4914 fi
4915
4916 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4917
4918 fi;
4919
4920 eval "$ac_cv_use_file"
4921 if test "$no_cache" != 1; then
4922 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4923 fi
4924
4925 if test "$wxUSE_FILE" = yes; then
4926 echo "$as_me:$LINENO: result: yes" >&5
4927 echo "${ECHO_T}yes" >&6
4928 else
4929 echo "$as_me:$LINENO: result: no" >&5
4930 echo "${ECHO_T}no" >&6
4931 fi
4932
4933
4934 enablestring=
4935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4936 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4937 no_cache=0
4938 # Check whether --enable-filesystem or --disable-filesystem was given.
4939 if test "${enable_filesystem+set}" = set; then
4940 enableval="$enable_filesystem"
4941
4942 if test "$enableval" = yes; then
4943 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4944 else
4945 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4946 fi
4947
4948 else
4949
4950 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4951 if test "x$LINE" != x ; then
4952 eval "DEFAULT_$LINE"
4953 else
4954 no_cache=1
4955 fi
4956
4957 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4958
4959 fi;
4960
4961 eval "$ac_cv_use_filesystem"
4962 if test "$no_cache" != 1; then
4963 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4964 fi
4965
4966 if test "$wxUSE_FILESYSTEM" = yes; then
4967 echo "$as_me:$LINENO: result: yes" >&5
4968 echo "${ECHO_T}yes" >&6
4969 else
4970 echo "$as_me:$LINENO: result: no" >&5
4971 echo "${ECHO_T}no" >&6
4972 fi
4973
4974
4975 enablestring=
4976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4977 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4978 no_cache=0
4979 # Check whether --enable-fontmap or --disable-fontmap was given.
4980 if test "${enable_fontmap+set}" = set; then
4981 enableval="$enable_fontmap"
4982
4983 if test "$enableval" = yes; then
4984 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4985 else
4986 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4987 fi
4988
4989 else
4990
4991 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4992 if test "x$LINE" != x ; then
4993 eval "DEFAULT_$LINE"
4994 else
4995 no_cache=1
4996 fi
4997
4998 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4999
5000 fi;
5001
5002 eval "$ac_cv_use_fontmap"
5003 if test "$no_cache" != 1; then
5004 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5005 fi
5006
5007 if test "$wxUSE_FONTMAP" = yes; then
5008 echo "$as_me:$LINENO: result: yes" >&5
5009 echo "${ECHO_T}yes" >&6
5010 else
5011 echo "$as_me:$LINENO: result: no" >&5
5012 echo "${ECHO_T}no" >&6
5013 fi
5014
5015
5016 enablestring=
5017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5018 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5019 no_cache=0
5020 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5021 if test "${enable_fs_inet+set}" = set; then
5022 enableval="$enable_fs_inet"
5023
5024 if test "$enableval" = yes; then
5025 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5026 else
5027 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5028 fi
5029
5030 else
5031
5032 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5033 if test "x$LINE" != x ; then
5034 eval "DEFAULT_$LINE"
5035 else
5036 no_cache=1
5037 fi
5038
5039 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5040
5041 fi;
5042
5043 eval "$ac_cv_use_fs_inet"
5044 if test "$no_cache" != 1; then
5045 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5046 fi
5047
5048 if test "$wxUSE_FS_INET" = yes; then
5049 echo "$as_me:$LINENO: result: yes" >&5
5050 echo "${ECHO_T}yes" >&6
5051 else
5052 echo "$as_me:$LINENO: result: no" >&5
5053 echo "${ECHO_T}no" >&6
5054 fi
5055
5056
5057 enablestring=
5058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5059 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5060 no_cache=0
5061 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5062 if test "${enable_fs_zip+set}" = set; then
5063 enableval="$enable_fs_zip"
5064
5065 if test "$enableval" = yes; then
5066 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5067 else
5068 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5069 fi
5070
5071 else
5072
5073 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5074 if test "x$LINE" != x ; then
5075 eval "DEFAULT_$LINE"
5076 else
5077 no_cache=1
5078 fi
5079
5080 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5081
5082 fi;
5083
5084 eval "$ac_cv_use_fs_zip"
5085 if test "$no_cache" != 1; then
5086 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5087 fi
5088
5089 if test "$wxUSE_FS_ZIP" = yes; then
5090 echo "$as_me:$LINENO: result: yes" >&5
5091 echo "${ECHO_T}yes" >&6
5092 else
5093 echo "$as_me:$LINENO: result: no" >&5
5094 echo "${ECHO_T}no" >&6
5095 fi
5096
5097
5098 enablestring=
5099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5100 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5101 no_cache=0
5102 # Check whether --enable-geometry or --disable-geometry was given.
5103 if test "${enable_geometry+set}" = set; then
5104 enableval="$enable_geometry"
5105
5106 if test "$enableval" = yes; then
5107 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5108 else
5109 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5110 fi
5111
5112 else
5113
5114 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5115 if test "x$LINE" != x ; then
5116 eval "DEFAULT_$LINE"
5117 else
5118 no_cache=1
5119 fi
5120
5121 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5122
5123 fi;
5124
5125 eval "$ac_cv_use_geometry"
5126 if test "$no_cache" != 1; then
5127 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5128 fi
5129
5130 if test "$wxUSE_GEOMETRY" = yes; then
5131 echo "$as_me:$LINENO: result: yes" >&5
5132 echo "${ECHO_T}yes" >&6
5133 else
5134 echo "$as_me:$LINENO: result: no" >&5
5135 echo "${ECHO_T}no" >&6
5136 fi
5137
5138
5139 enablestring=
5140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5141 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5142 no_cache=0
5143 # Check whether --enable-log or --disable-log was given.
5144 if test "${enable_log+set}" = set; then
5145 enableval="$enable_log"
5146
5147 if test "$enableval" = yes; then
5148 ac_cv_use_log='wxUSE_LOG=yes'
5149 else
5150 ac_cv_use_log='wxUSE_LOG=no'
5151 fi
5152
5153 else
5154
5155 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5156 if test "x$LINE" != x ; then
5157 eval "DEFAULT_$LINE"
5158 else
5159 no_cache=1
5160 fi
5161
5162 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5163
5164 fi;
5165
5166 eval "$ac_cv_use_log"
5167 if test "$no_cache" != 1; then
5168 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5169 fi
5170
5171 if test "$wxUSE_LOG" = yes; then
5172 echo "$as_me:$LINENO: result: yes" >&5
5173 echo "${ECHO_T}yes" >&6
5174 else
5175 echo "$as_me:$LINENO: result: no" >&5
5176 echo "${ECHO_T}no" >&6
5177 fi
5178
5179
5180 enablestring=
5181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5182 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5183 no_cache=0
5184 # Check whether --enable-longlong or --disable-longlong was given.
5185 if test "${enable_longlong+set}" = set; then
5186 enableval="$enable_longlong"
5187
5188 if test "$enableval" = yes; then
5189 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5190 else
5191 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5192 fi
5193
5194 else
5195
5196 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5197 if test "x$LINE" != x ; then
5198 eval "DEFAULT_$LINE"
5199 else
5200 no_cache=1
5201 fi
5202
5203 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5204
5205 fi;
5206
5207 eval "$ac_cv_use_longlong"
5208 if test "$no_cache" != 1; then
5209 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5210 fi
5211
5212 if test "$wxUSE_LONGLONG" = yes; then
5213 echo "$as_me:$LINENO: result: yes" >&5
5214 echo "${ECHO_T}yes" >&6
5215 else
5216 echo "$as_me:$LINENO: result: no" >&5
5217 echo "${ECHO_T}no" >&6
5218 fi
5219
5220
5221 enablestring=
5222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5223 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5224 no_cache=0
5225 # Check whether --enable-mimetype or --disable-mimetype was given.
5226 if test "${enable_mimetype+set}" = set; then
5227 enableval="$enable_mimetype"
5228
5229 if test "$enableval" = yes; then
5230 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5231 else
5232 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5233 fi
5234
5235 else
5236
5237 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5238 if test "x$LINE" != x ; then
5239 eval "DEFAULT_$LINE"
5240 else
5241 no_cache=1
5242 fi
5243
5244 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5245
5246 fi;
5247
5248 eval "$ac_cv_use_mimetype"
5249 if test "$no_cache" != 1; then
5250 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5251 fi
5252
5253 if test "$wxUSE_MIMETYPE" = yes; then
5254 echo "$as_me:$LINENO: result: yes" >&5
5255 echo "${ECHO_T}yes" >&6
5256 else
5257 echo "$as_me:$LINENO: result: no" >&5
5258 echo "${ECHO_T}no" >&6
5259 fi
5260
5261
5262 enablestring=
5263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5264 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5265 no_cache=0
5266 # Check whether --enable-mslu or --disable-mslu was given.
5267 if test "${enable_mslu+set}" = set; then
5268 enableval="$enable_mslu"
5269
5270 if test "$enableval" = yes; then
5271 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5272 else
5273 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5274 fi
5275
5276 else
5277
5278 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5279 if test "x$LINE" != x ; then
5280 eval "DEFAULT_$LINE"
5281 else
5282 no_cache=1
5283 fi
5284
5285 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5286
5287 fi;
5288
5289 eval "$ac_cv_use_mslu"
5290 if test "$no_cache" != 1; then
5291 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5292 fi
5293
5294 if test "$wxUSE_UNICODE_MSLU" = yes; then
5295 echo "$as_me:$LINENO: result: yes" >&5
5296 echo "${ECHO_T}yes" >&6
5297 else
5298 echo "$as_me:$LINENO: result: no" >&5
5299 echo "${ECHO_T}no" >&6
5300 fi
5301
5302
5303 enablestring=
5304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5305 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5306 no_cache=0
5307 # Check whether --enable-snglinst or --disable-snglinst was given.
5308 if test "${enable_snglinst+set}" = set; then
5309 enableval="$enable_snglinst"
5310
5311 if test "$enableval" = yes; then
5312 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5313 else
5314 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5315 fi
5316
5317 else
5318
5319 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5320 if test "x$LINE" != x ; then
5321 eval "DEFAULT_$LINE"
5322 else
5323 no_cache=1
5324 fi
5325
5326 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5327
5328 fi;
5329
5330 eval "$ac_cv_use_snglinst"
5331 if test "$no_cache" != 1; then
5332 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5333 fi
5334
5335 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5336 echo "$as_me:$LINENO: result: yes" >&5
5337 echo "${ECHO_T}yes" >&6
5338 else
5339 echo "$as_me:$LINENO: result: no" >&5
5340 echo "${ECHO_T}no" >&6
5341 fi
5342
5343
5344 enablestring=
5345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5346 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5347 no_cache=0
5348 # Check whether --enable-streams or --disable-streams was given.
5349 if test "${enable_streams+set}" = set; then
5350 enableval="$enable_streams"
5351
5352 if test "$enableval" = yes; then
5353 ac_cv_use_streams='wxUSE_STREAMS=yes'
5354 else
5355 ac_cv_use_streams='wxUSE_STREAMS=no'
5356 fi
5357
5358 else
5359
5360 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5361 if test "x$LINE" != x ; then
5362 eval "DEFAULT_$LINE"
5363 else
5364 no_cache=1
5365 fi
5366
5367 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5368
5369 fi;
5370
5371 eval "$ac_cv_use_streams"
5372 if test "$no_cache" != 1; then
5373 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5374 fi
5375
5376 if test "$wxUSE_STREAMS" = yes; then
5377 echo "$as_me:$LINENO: result: yes" >&5
5378 echo "${ECHO_T}yes" >&6
5379 else
5380 echo "$as_me:$LINENO: result: no" >&5
5381 echo "${ECHO_T}no" >&6
5382 fi
5383
5384
5385 enablestring=
5386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5387 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5388 no_cache=0
5389 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5390 if test "${enable_std_iostreams+set}" = set; then
5391 enableval="$enable_std_iostreams"
5392
5393 if test "$enableval" = yes; then
5394 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5395 else
5396 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5397 fi
5398
5399 else
5400
5401 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5402 if test "x$LINE" != x ; then
5403 eval "DEFAULT_$LINE"
5404 else
5405 no_cache=1
5406 fi
5407
5408 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5409
5410 fi;
5411
5412 eval "$ac_cv_use_std_iostreams"
5413 if test "$no_cache" != 1; then
5414 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5415 fi
5416
5417 if test "$wxUSE_STD_IOSTREAM" = yes; then
5418 echo "$as_me:$LINENO: result: yes" >&5
5419 echo "${ECHO_T}yes" >&6
5420 else
5421 echo "$as_me:$LINENO: result: no" >&5
5422 echo "${ECHO_T}no" >&6
5423 fi
5424
5425
5426 enablestring=
5427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5428 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5429 no_cache=0
5430 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5431 if test "${enable_stopwatch+set}" = set; then
5432 enableval="$enable_stopwatch"
5433
5434 if test "$enableval" = yes; then
5435 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5436 else
5437 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5438 fi
5439
5440 else
5441
5442 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5443 if test "x$LINE" != x ; then
5444 eval "DEFAULT_$LINE"
5445 else
5446 no_cache=1
5447 fi
5448
5449 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5450
5451 fi;
5452
5453 eval "$ac_cv_use_stopwatch"
5454 if test "$no_cache" != 1; then
5455 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5456 fi
5457
5458 if test "$wxUSE_STOPWATCH" = yes; then
5459 echo "$as_me:$LINENO: result: yes" >&5
5460 echo "${ECHO_T}yes" >&6
5461 else
5462 echo "$as_me:$LINENO: result: no" >&5
5463 echo "${ECHO_T}no" >&6
5464 fi
5465
5466
5467 enablestring=
5468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5469 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5470 no_cache=0
5471 # Check whether --enable-system_options or --disable-system_options was given.
5472 if test "${enable_system_options+set}" = set; then
5473 enableval="$enable_system_options"
5474
5475 if test "$enableval" = yes; then
5476 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5477 else
5478 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5479 fi
5480
5481 else
5482
5483 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5484 if test "x$LINE" != x ; then
5485 eval "DEFAULT_$LINE"
5486 else
5487 no_cache=1
5488 fi
5489
5490 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5491
5492 fi;
5493
5494 eval "$ac_cv_use_system_options"
5495 if test "$no_cache" != 1; then
5496 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5497 fi
5498
5499 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5500 echo "$as_me:$LINENO: result: yes" >&5
5501 echo "${ECHO_T}yes" >&6
5502 else
5503 echo "$as_me:$LINENO: result: no" >&5
5504 echo "${ECHO_T}no" >&6
5505 fi
5506
5507
5508 enablestring=
5509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5510 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5511 no_cache=0
5512 # Check whether --enable-textbuf or --disable-textbuf was given.
5513 if test "${enable_textbuf+set}" = set; then
5514 enableval="$enable_textbuf"
5515
5516 if test "$enableval" = yes; then
5517 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5518 else
5519 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5520 fi
5521
5522 else
5523
5524 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5525 if test "x$LINE" != x ; then
5526 eval "DEFAULT_$LINE"
5527 else
5528 no_cache=1
5529 fi
5530
5531 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5532
5533 fi;
5534
5535 eval "$ac_cv_use_textbuf"
5536 if test "$no_cache" != 1; then
5537 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5538 fi
5539
5540 if test "$wxUSE_TEXTBUFFER" = yes; then
5541 echo "$as_me:$LINENO: result: yes" >&5
5542 echo "${ECHO_T}yes" >&6
5543 else
5544 echo "$as_me:$LINENO: result: no" >&5
5545 echo "${ECHO_T}no" >&6
5546 fi
5547
5548
5549 enablestring=
5550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5551 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5552 no_cache=0
5553 # Check whether --enable-textfile or --disable-textfile was given.
5554 if test "${enable_textfile+set}" = set; then
5555 enableval="$enable_textfile"
5556
5557 if test "$enableval" = yes; then
5558 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5559 else
5560 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5561 fi
5562
5563 else
5564
5565 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5566 if test "x$LINE" != x ; then
5567 eval "DEFAULT_$LINE"
5568 else
5569 no_cache=1
5570 fi
5571
5572 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5573
5574 fi;
5575
5576 eval "$ac_cv_use_textfile"
5577 if test "$no_cache" != 1; then
5578 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5579 fi
5580
5581 if test "$wxUSE_TEXTFILE" = yes; then
5582 echo "$as_me:$LINENO: result: yes" >&5
5583 echo "${ECHO_T}yes" >&6
5584 else
5585 echo "$as_me:$LINENO: result: no" >&5
5586 echo "${ECHO_T}no" >&6
5587 fi
5588
5589
5590 enablestring=
5591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5592 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5593 no_cache=0
5594 # Check whether --enable-timer or --disable-timer was given.
5595 if test "${enable_timer+set}" = set; then
5596 enableval="$enable_timer"
5597
5598 if test "$enableval" = yes; then
5599 ac_cv_use_timer='wxUSE_TIMER=yes'
5600 else
5601 ac_cv_use_timer='wxUSE_TIMER=no'
5602 fi
5603
5604 else
5605
5606 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5607 if test "x$LINE" != x ; then
5608 eval "DEFAULT_$LINE"
5609 else
5610 no_cache=1
5611 fi
5612
5613 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5614
5615 fi;
5616
5617 eval "$ac_cv_use_timer"
5618 if test "$no_cache" != 1; then
5619 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5620 fi
5621
5622 if test "$wxUSE_TIMER" = yes; then
5623 echo "$as_me:$LINENO: result: yes" >&5
5624 echo "${ECHO_T}yes" >&6
5625 else
5626 echo "$as_me:$LINENO: result: no" >&5
5627 echo "${ECHO_T}no" >&6
5628 fi
5629
5630
5631 enablestring=
5632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5633 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5634 no_cache=0
5635 # Check whether --enable-unicode or --disable-unicode was given.
5636 if test "${enable_unicode+set}" = set; then
5637 enableval="$enable_unicode"
5638
5639 if test "$enableval" = yes; then
5640 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5641 else
5642 ac_cv_use_unicode='wxUSE_UNICODE=no'
5643 fi
5644
5645 else
5646
5647 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5648 if test "x$LINE" != x ; then
5649 eval "DEFAULT_$LINE"
5650 else
5651 no_cache=1
5652 fi
5653
5654 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5655
5656 fi;
5657
5658 eval "$ac_cv_use_unicode"
5659 if test "$no_cache" != 1; then
5660 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5661 fi
5662
5663 if test "$wxUSE_UNICODE" = yes; then
5664 echo "$as_me:$LINENO: result: yes" >&5
5665 echo "${ECHO_T}yes" >&6
5666 else
5667 echo "$as_me:$LINENO: result: no" >&5
5668 echo "${ECHO_T}no" >&6
5669 fi
5670
5671
5672 enablestring=
5673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5674 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5675 no_cache=0
5676 # Check whether --enable-sound or --disable-sound was given.
5677 if test "${enable_sound+set}" = set; then
5678 enableval="$enable_sound"
5679
5680 if test "$enableval" = yes; then
5681 ac_cv_use_sound='wxUSE_SOUND=yes'
5682 else
5683 ac_cv_use_sound='wxUSE_SOUND=no'
5684 fi
5685
5686 else
5687
5688 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5689 if test "x$LINE" != x ; then
5690 eval "DEFAULT_$LINE"
5691 else
5692 no_cache=1
5693 fi
5694
5695 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5696
5697 fi;
5698
5699 eval "$ac_cv_use_sound"
5700 if test "$no_cache" != 1; then
5701 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5702 fi
5703
5704 if test "$wxUSE_SOUND" = yes; then
5705 echo "$as_me:$LINENO: result: yes" >&5
5706 echo "${ECHO_T}yes" >&6
5707 else
5708 echo "$as_me:$LINENO: result: no" >&5
5709 echo "${ECHO_T}no" >&6
5710 fi
5711
5712
5713 enablestring=
5714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5715 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5716 no_cache=0
5717 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5718 if test "${enable_wxprintfv+set}" = set; then
5719 enableval="$enable_wxprintfv"
5720
5721 if test "$enableval" = yes; then
5722 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5723 else
5724 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5725 fi
5726
5727 else
5728
5729 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5730 if test "x$LINE" != x ; then
5731 eval "DEFAULT_$LINE"
5732 else
5733 no_cache=1
5734 fi
5735
5736 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5737
5738 fi;
5739
5740 eval "$ac_cv_use_wxprintfv"
5741 if test "$no_cache" != 1; then
5742 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5743 fi
5744
5745 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5746 echo "$as_me:$LINENO: result: yes" >&5
5747 echo "${ECHO_T}yes" >&6
5748 else
5749 echo "$as_me:$LINENO: result: no" >&5
5750 echo "${ECHO_T}no" >&6
5751 fi
5752
5753
5754 enablestring=
5755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5756 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5757 no_cache=0
5758 # Check whether --enable-zipstream or --disable-zipstream was given.
5759 if test "${enable_zipstream+set}" = set; then
5760 enableval="$enable_zipstream"
5761
5762 if test "$enableval" = yes; then
5763 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5764 else
5765 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5766 fi
5767
5768 else
5769
5770 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5771 if test "x$LINE" != x ; then
5772 eval "DEFAULT_$LINE"
5773 else
5774 no_cache=1
5775 fi
5776
5777 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5778
5779 fi;
5780
5781 eval "$ac_cv_use_zipstream"
5782 if test "$no_cache" != 1; then
5783 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5784 fi
5785
5786 if test "$wxUSE_ZIPSTREAM" = yes; then
5787 echo "$as_me:$LINENO: result: yes" >&5
5788 echo "${ECHO_T}yes" >&6
5789 else
5790 echo "$as_me:$LINENO: result: no" >&5
5791 echo "${ECHO_T}no" >&6
5792 fi
5793
5794
5795
5796 enablestring=
5797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5798 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5799 no_cache=0
5800 # Check whether --enable-url or --disable-url was given.
5801 if test "${enable_url+set}" = set; then
5802 enableval="$enable_url"
5803
5804 if test "$enableval" = yes; then
5805 ac_cv_use_url='wxUSE_URL=yes'
5806 else
5807 ac_cv_use_url='wxUSE_URL=no'
5808 fi
5809
5810 else
5811
5812 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5813 if test "x$LINE" != x ; then
5814 eval "DEFAULT_$LINE"
5815 else
5816 no_cache=1
5817 fi
5818
5819 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5820
5821 fi;
5822
5823 eval "$ac_cv_use_url"
5824 if test "$no_cache" != 1; then
5825 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5826 fi
5827
5828 if test "$wxUSE_URL" = yes; then
5829 echo "$as_me:$LINENO: result: yes" >&5
5830 echo "${ECHO_T}yes" >&6
5831 else
5832 echo "$as_me:$LINENO: result: no" >&5
5833 echo "${ECHO_T}no" >&6
5834 fi
5835
5836
5837 enablestring=
5838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5839 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5840 no_cache=0
5841 # Check whether --enable-protocol or --disable-protocol was given.
5842 if test "${enable_protocol+set}" = set; then
5843 enableval="$enable_protocol"
5844
5845 if test "$enableval" = yes; then
5846 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5847 else
5848 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5849 fi
5850
5851 else
5852
5853 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5854 if test "x$LINE" != x ; then
5855 eval "DEFAULT_$LINE"
5856 else
5857 no_cache=1
5858 fi
5859
5860 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5861
5862 fi;
5863
5864 eval "$ac_cv_use_protocol"
5865 if test "$no_cache" != 1; then
5866 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5867 fi
5868
5869 if test "$wxUSE_PROTOCOL" = yes; then
5870 echo "$as_me:$LINENO: result: yes" >&5
5871 echo "${ECHO_T}yes" >&6
5872 else
5873 echo "$as_me:$LINENO: result: no" >&5
5874 echo "${ECHO_T}no" >&6
5875 fi
5876
5877
5878 enablestring=
5879 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5880 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5881 no_cache=0
5882 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5883 if test "${enable_protocol_http+set}" = set; then
5884 enableval="$enable_protocol_http"
5885
5886 if test "$enableval" = yes; then
5887 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5888 else
5889 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5890 fi
5891
5892 else
5893
5894 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5895 if test "x$LINE" != x ; then
5896 eval "DEFAULT_$LINE"
5897 else
5898 no_cache=1
5899 fi
5900
5901 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5902
5903 fi;
5904
5905 eval "$ac_cv_use_protocol_http"
5906 if test "$no_cache" != 1; then
5907 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5908 fi
5909
5910 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5911 echo "$as_me:$LINENO: result: yes" >&5
5912 echo "${ECHO_T}yes" >&6
5913 else
5914 echo "$as_me:$LINENO: result: no" >&5
5915 echo "${ECHO_T}no" >&6
5916 fi
5917
5918
5919 enablestring=
5920 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5921 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5922 no_cache=0
5923 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5924 if test "${enable_protocol_ftp+set}" = set; then
5925 enableval="$enable_protocol_ftp"
5926
5927 if test "$enableval" = yes; then
5928 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5929 else
5930 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5931 fi
5932
5933 else
5934
5935 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5936 if test "x$LINE" != x ; then
5937 eval "DEFAULT_$LINE"
5938 else
5939 no_cache=1
5940 fi
5941
5942 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5943
5944 fi;
5945
5946 eval "$ac_cv_use_protocol_ftp"
5947 if test "$no_cache" != 1; then
5948 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5949 fi
5950
5951 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5952 echo "$as_me:$LINENO: result: yes" >&5
5953 echo "${ECHO_T}yes" >&6
5954 else
5955 echo "$as_me:$LINENO: result: no" >&5
5956 echo "${ECHO_T}no" >&6
5957 fi
5958
5959
5960 enablestring=
5961 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5962 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5963 no_cache=0
5964 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5965 if test "${enable_protocol_file+set}" = set; then
5966 enableval="$enable_protocol_file"
5967
5968 if test "$enableval" = yes; then
5969 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5970 else
5971 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5972 fi
5973
5974 else
5975
5976 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5977 if test "x$LINE" != x ; then
5978 eval "DEFAULT_$LINE"
5979 else
5980 no_cache=1
5981 fi
5982
5983 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5984
5985 fi;
5986
5987 eval "$ac_cv_use_protocol_file"
5988 if test "$no_cache" != 1; then
5989 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5990 fi
5991
5992 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5993 echo "$as_me:$LINENO: result: yes" >&5
5994 echo "${ECHO_T}yes" >&6
5995 else
5996 echo "$as_me:$LINENO: result: no" >&5
5997 echo "${ECHO_T}no" >&6
5998 fi
5999
6000
6001
6002
6003
6004 enablestring=
6005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6006 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6007 no_cache=0
6008 # Check whether --enable-threads or --disable-threads was given.
6009 if test "${enable_threads+set}" = set; then
6010 enableval="$enable_threads"
6011
6012 if test "$enableval" = yes; then
6013 ac_cv_use_threads='wxUSE_THREADS=yes'
6014 else
6015 ac_cv_use_threads='wxUSE_THREADS=no'
6016 fi
6017
6018 else
6019
6020 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6021 if test "x$LINE" != x ; then
6022 eval "DEFAULT_$LINE"
6023 else
6024 no_cache=1
6025 fi
6026
6027 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6028
6029 fi;
6030
6031 eval "$ac_cv_use_threads"
6032 if test "$no_cache" != 1; then
6033 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6034 fi
6035
6036 if test "$wxUSE_THREADS" = yes; then
6037 echo "$as_me:$LINENO: result: yes" >&5
6038 echo "${ECHO_T}yes" >&6
6039 else
6040 echo "$as_me:$LINENO: result: no" >&5
6041 echo "${ECHO_T}no" >&6
6042 fi
6043
6044
6045 if test "$wxUSE_GUI" = "yes"; then
6046
6047
6048
6049 enablestring=
6050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6051 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6052 no_cache=0
6053 # Check whether --enable-docview or --disable-docview was given.
6054 if test "${enable_docview+set}" = set; then
6055 enableval="$enable_docview"
6056
6057 if test "$enableval" = yes; then
6058 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6059 else
6060 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6061 fi
6062
6063 else
6064
6065 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6066 if test "x$LINE" != x ; then
6067 eval "DEFAULT_$LINE"
6068 else
6069 no_cache=1
6070 fi
6071
6072 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6073
6074 fi;
6075
6076 eval "$ac_cv_use_docview"
6077 if test "$no_cache" != 1; then
6078 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6079 fi
6080
6081 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6082 echo "$as_me:$LINENO: result: yes" >&5
6083 echo "${ECHO_T}yes" >&6
6084 else
6085 echo "$as_me:$LINENO: result: no" >&5
6086 echo "${ECHO_T}no" >&6
6087 fi
6088
6089
6090 enablestring=
6091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6092 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6093 no_cache=0
6094 # Check whether --enable-help or --disable-help was given.
6095 if test "${enable_help+set}" = set; then
6096 enableval="$enable_help"
6097
6098 if test "$enableval" = yes; then
6099 ac_cv_use_help='wxUSE_HELP=yes'
6100 else
6101 ac_cv_use_help='wxUSE_HELP=no'
6102 fi
6103
6104 else
6105
6106 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6107 if test "x$LINE" != x ; then
6108 eval "DEFAULT_$LINE"
6109 else
6110 no_cache=1
6111 fi
6112
6113 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6114
6115 fi;
6116
6117 eval "$ac_cv_use_help"
6118 if test "$no_cache" != 1; then
6119 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6120 fi
6121
6122 if test "$wxUSE_HELP" = yes; then
6123 echo "$as_me:$LINENO: result: yes" >&5
6124 echo "${ECHO_T}yes" >&6
6125 else
6126 echo "$as_me:$LINENO: result: no" >&5
6127 echo "${ECHO_T}no" >&6
6128 fi
6129
6130
6131 enablestring=
6132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6133 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6134 no_cache=0
6135 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6136 if test "${enable_mshtmlhelp+set}" = set; then
6137 enableval="$enable_mshtmlhelp"
6138
6139 if test "$enableval" = yes; then
6140 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6141 else
6142 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6143 fi
6144
6145 else
6146
6147 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6148 if test "x$LINE" != x ; then
6149 eval "DEFAULT_$LINE"
6150 else
6151 no_cache=1
6152 fi
6153
6154 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6155
6156 fi;
6157
6158 eval "$ac_cv_use_mshtmlhelp"
6159 if test "$no_cache" != 1; then
6160 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6161 fi
6162
6163 if test "$wxUSE_MS_HTML_HELP" = yes; then
6164 echo "$as_me:$LINENO: result: yes" >&5
6165 echo "${ECHO_T}yes" >&6
6166 else
6167 echo "$as_me:$LINENO: result: no" >&5
6168 echo "${ECHO_T}no" >&6
6169 fi
6170
6171
6172 enablestring=
6173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6174 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6175 no_cache=0
6176 # Check whether --enable-html or --disable-html was given.
6177 if test "${enable_html+set}" = set; then
6178 enableval="$enable_html"
6179
6180 if test "$enableval" = yes; then
6181 ac_cv_use_html='wxUSE_HTML=yes'
6182 else
6183 ac_cv_use_html='wxUSE_HTML=no'
6184 fi
6185
6186 else
6187
6188 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6189 if test "x$LINE" != x ; then
6190 eval "DEFAULT_$LINE"
6191 else
6192 no_cache=1
6193 fi
6194
6195 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6196
6197 fi;
6198
6199 eval "$ac_cv_use_html"
6200 if test "$no_cache" != 1; then
6201 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6202 fi
6203
6204 if test "$wxUSE_HTML" = yes; then
6205 echo "$as_me:$LINENO: result: yes" >&5
6206 echo "${ECHO_T}yes" >&6
6207 else
6208 echo "$as_me:$LINENO: result: no" >&5
6209 echo "${ECHO_T}no" >&6
6210 fi
6211
6212
6213 enablestring=
6214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6215 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6216 no_cache=0
6217 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6218 if test "${enable_htmlhelp+set}" = set; then
6219 enableval="$enable_htmlhelp"
6220
6221 if test "$enableval" = yes; then
6222 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6223 else
6224 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6225 fi
6226
6227 else
6228
6229 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6230 if test "x$LINE" != x ; then
6231 eval "DEFAULT_$LINE"
6232 else
6233 no_cache=1
6234 fi
6235
6236 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6237
6238 fi;
6239
6240 eval "$ac_cv_use_htmlhelp"
6241 if test "$no_cache" != 1; then
6242 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6243 fi
6244
6245 if test "$wxUSE_WXHTML_HELP" = yes; then
6246 echo "$as_me:$LINENO: result: yes" >&5
6247 echo "${ECHO_T}yes" >&6
6248 else
6249 echo "$as_me:$LINENO: result: no" >&5
6250 echo "${ECHO_T}no" >&6
6251 fi
6252
6253
6254 enablestring=
6255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6256 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6257 no_cache=0
6258 # Check whether --enable-constraints or --disable-constraints was given.
6259 if test "${enable_constraints+set}" = set; then
6260 enableval="$enable_constraints"
6261
6262 if test "$enableval" = yes; then
6263 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6264 else
6265 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6266 fi
6267
6268 else
6269
6270 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6271 if test "x$LINE" != x ; then
6272 eval "DEFAULT_$LINE"
6273 else
6274 no_cache=1
6275 fi
6276
6277 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6278
6279 fi;
6280
6281 eval "$ac_cv_use_constraints"
6282 if test "$no_cache" != 1; then
6283 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6284 fi
6285
6286 if test "$wxUSE_CONSTRAINTS" = yes; then
6287 echo "$as_me:$LINENO: result: yes" >&5
6288 echo "${ECHO_T}yes" >&6
6289 else
6290 echo "$as_me:$LINENO: result: no" >&5
6291 echo "${ECHO_T}no" >&6
6292 fi
6293
6294
6295 enablestring=
6296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6297 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6298 no_cache=0
6299 # Check whether --enable-printarch or --disable-printarch was given.
6300 if test "${enable_printarch+set}" = set; then
6301 enableval="$enable_printarch"
6302
6303 if test "$enableval" = yes; then
6304 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6305 else
6306 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6307 fi
6308
6309 else
6310
6311 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6312 if test "x$LINE" != x ; then
6313 eval "DEFAULT_$LINE"
6314 else
6315 no_cache=1
6316 fi
6317
6318 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6319
6320 fi;
6321
6322 eval "$ac_cv_use_printarch"
6323 if test "$no_cache" != 1; then
6324 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6325 fi
6326
6327 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6328 echo "$as_me:$LINENO: result: yes" >&5
6329 echo "${ECHO_T}yes" >&6
6330 else
6331 echo "$as_me:$LINENO: result: no" >&5
6332 echo "${ECHO_T}no" >&6
6333 fi
6334
6335
6336 enablestring=
6337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6338 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6339 no_cache=0
6340 # Check whether --enable-mdi or --disable-mdi was given.
6341 if test "${enable_mdi+set}" = set; then
6342 enableval="$enable_mdi"
6343
6344 if test "$enableval" = yes; then
6345 ac_cv_use_mdi='wxUSE_MDI=yes'
6346 else
6347 ac_cv_use_mdi='wxUSE_MDI=no'
6348 fi
6349
6350 else
6351
6352 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6353 if test "x$LINE" != x ; then
6354 eval "DEFAULT_$LINE"
6355 else
6356 no_cache=1
6357 fi
6358
6359 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6360
6361 fi;
6362
6363 eval "$ac_cv_use_mdi"
6364 if test "$no_cache" != 1; then
6365 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6366 fi
6367
6368 if test "$wxUSE_MDI" = yes; then
6369 echo "$as_me:$LINENO: result: yes" >&5
6370 echo "${ECHO_T}yes" >&6
6371 else
6372 echo "$as_me:$LINENO: result: no" >&5
6373 echo "${ECHO_T}no" >&6
6374 fi
6375
6376
6377 enablestring=
6378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6379 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6380 no_cache=0
6381 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6382 if test "${enable_mdidoc+set}" = set; then
6383 enableval="$enable_mdidoc"
6384
6385 if test "$enableval" = yes; then
6386 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6387 else
6388 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6389 fi
6390
6391 else
6392
6393 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6394 if test "x$LINE" != x ; then
6395 eval "DEFAULT_$LINE"
6396 else
6397 no_cache=1
6398 fi
6399
6400 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6401
6402 fi;
6403
6404 eval "$ac_cv_use_mdidoc"
6405 if test "$no_cache" != 1; then
6406 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6407 fi
6408
6409 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6410 echo "$as_me:$LINENO: result: yes" >&5
6411 echo "${ECHO_T}yes" >&6
6412 else
6413 echo "$as_me:$LINENO: result: no" >&5
6414 echo "${ECHO_T}no" >&6
6415 fi
6416
6417
6418 enablestring=
6419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6420 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6421 no_cache=0
6422 # Check whether --enable-loggui or --disable-loggui was given.
6423 if test "${enable_loggui+set}" = set; then
6424 enableval="$enable_loggui"
6425
6426 if test "$enableval" = yes; then
6427 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6428 else
6429 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6430 fi
6431
6432 else
6433
6434 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6435 if test "x$LINE" != x ; then
6436 eval "DEFAULT_$LINE"
6437 else
6438 no_cache=1
6439 fi
6440
6441 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6442
6443 fi;
6444
6445 eval "$ac_cv_use_loggui"
6446 if test "$no_cache" != 1; then
6447 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6448 fi
6449
6450 if test "$wxUSE_LOGGUI" = yes; then
6451 echo "$as_me:$LINENO: result: yes" >&5
6452 echo "${ECHO_T}yes" >&6
6453 else
6454 echo "$as_me:$LINENO: result: no" >&5
6455 echo "${ECHO_T}no" >&6
6456 fi
6457
6458
6459 enablestring=
6460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6461 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6462 no_cache=0
6463 # Check whether --enable-logwin or --disable-logwin was given.
6464 if test "${enable_logwin+set}" = set; then
6465 enableval="$enable_logwin"
6466
6467 if test "$enableval" = yes; then
6468 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6469 else
6470 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6471 fi
6472
6473 else
6474
6475 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6476 if test "x$LINE" != x ; then
6477 eval "DEFAULT_$LINE"
6478 else
6479 no_cache=1
6480 fi
6481
6482 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6483
6484 fi;
6485
6486 eval "$ac_cv_use_logwin"
6487 if test "$no_cache" != 1; then
6488 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6489 fi
6490
6491 if test "$wxUSE_LOGWINDOW" = yes; then
6492 echo "$as_me:$LINENO: result: yes" >&5
6493 echo "${ECHO_T}yes" >&6
6494 else
6495 echo "$as_me:$LINENO: result: no" >&5
6496 echo "${ECHO_T}no" >&6
6497 fi
6498
6499
6500 enablestring=
6501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6502 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6503 no_cache=0
6504 # Check whether --enable-logdialog or --disable-logdialog was given.
6505 if test "${enable_logdialog+set}" = set; then
6506 enableval="$enable_logdialog"
6507
6508 if test "$enableval" = yes; then
6509 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6510 else
6511 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6512 fi
6513
6514 else
6515
6516 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6517 if test "x$LINE" != x ; then
6518 eval "DEFAULT_$LINE"
6519 else
6520 no_cache=1
6521 fi
6522
6523 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6524
6525 fi;
6526
6527 eval "$ac_cv_use_logdialog"
6528 if test "$no_cache" != 1; then
6529 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6530 fi
6531
6532 if test "$wxUSE_LOGDIALOG" = yes; then
6533 echo "$as_me:$LINENO: result: yes" >&5
6534 echo "${ECHO_T}yes" >&6
6535 else
6536 echo "$as_me:$LINENO: result: no" >&5
6537 echo "${ECHO_T}no" >&6
6538 fi
6539
6540
6541 enablestring=
6542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6543 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6544 no_cache=0
6545 # Check whether --enable-webkit or --disable-webkit was given.
6546 if test "${enable_webkit+set}" = set; then
6547 enableval="$enable_webkit"
6548
6549 if test "$enableval" = yes; then
6550 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
6551 else
6552 ac_cv_use_webkit='wxUSE_WEBKIT=no'
6553 fi
6554
6555 else
6556
6557 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6558 if test "x$LINE" != x ; then
6559 eval "DEFAULT_$LINE"
6560 else
6561 no_cache=1
6562 fi
6563
6564 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6565
6566 fi;
6567
6568 eval "$ac_cv_use_webkit"
6569 if test "$no_cache" != 1; then
6570 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6571 fi
6572
6573 if test "$wxUSE_WEBKIT" = yes; then
6574 echo "$as_me:$LINENO: result: yes" >&5
6575 echo "${ECHO_T}yes" >&6
6576 else
6577 echo "$as_me:$LINENO: result: no" >&5
6578 echo "${ECHO_T}no" >&6
6579 fi
6580
6581
6582
6583 enablestring=
6584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6585 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6586 no_cache=0
6587 # Check whether --enable-postscript or --disable-postscript was given.
6588 if test "${enable_postscript+set}" = set; then
6589 enableval="$enable_postscript"
6590
6591 if test "$enableval" = yes; then
6592 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6593 else
6594 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6595 fi
6596
6597 else
6598
6599 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6600 if test "x$LINE" != x ; then
6601 eval "DEFAULT_$LINE"
6602 else
6603 no_cache=1
6604 fi
6605
6606 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6607
6608 fi;
6609
6610 eval "$ac_cv_use_postscript"
6611 if test "$no_cache" != 1; then
6612 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6613 fi
6614
6615 if test "$wxUSE_POSTSCRIPT" = yes; then
6616 echo "$as_me:$LINENO: result: yes" >&5
6617 echo "${ECHO_T}yes" >&6
6618 else
6619 echo "$as_me:$LINENO: result: no" >&5
6620 echo "${ECHO_T}no" >&6
6621 fi
6622
6623
6624
6625
6626
6627 enablestring=
6628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6629 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6630 no_cache=0
6631 # Check whether --enable-prologio or --disable-prologio was given.
6632 if test "${enable_prologio+set}" = set; then
6633 enableval="$enable_prologio"
6634
6635 if test "$enableval" = yes; then
6636 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6637 else
6638 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6639 fi
6640
6641 else
6642
6643 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6644 if test "x$LINE" != x ; then
6645 eval "DEFAULT_$LINE"
6646 else
6647 no_cache=1
6648 fi
6649
6650 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6651
6652 fi;
6653
6654 eval "$ac_cv_use_prologio"
6655 if test "$no_cache" != 1; then
6656 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6657 fi
6658
6659 if test "$wxUSE_PROLOGIO" = yes; then
6660 echo "$as_me:$LINENO: result: yes" >&5
6661 echo "${ECHO_T}yes" >&6
6662 else
6663 echo "$as_me:$LINENO: result: no" >&5
6664 echo "${ECHO_T}no" >&6
6665 fi
6666
6667
6668 enablestring=
6669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6670 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6671 no_cache=0
6672 # Check whether --enable-resources or --disable-resources was given.
6673 if test "${enable_resources+set}" = set; then
6674 enableval="$enable_resources"
6675
6676 if test "$enableval" = yes; then
6677 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6678 else
6679 ac_cv_use_resources='wxUSE_RESOURCES=no'
6680 fi
6681
6682 else
6683
6684 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6685 if test "x$LINE" != x ; then
6686 eval "DEFAULT_$LINE"
6687 else
6688 no_cache=1
6689 fi
6690
6691 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6692
6693 fi;
6694
6695 eval "$ac_cv_use_resources"
6696 if test "$no_cache" != 1; then
6697 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6698 fi
6699
6700 if test "$wxUSE_RESOURCES" = yes; then
6701 echo "$as_me:$LINENO: result: yes" >&5
6702 echo "${ECHO_T}yes" >&6
6703 else
6704 echo "$as_me:$LINENO: result: no" >&5
6705 echo "${ECHO_T}no" >&6
6706 fi
6707
6708
6709
6710
6711 enablestring=
6712 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6713 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6714 no_cache=0
6715 # Check whether --enable-clipboard or --disable-clipboard was given.
6716 if test "${enable_clipboard+set}" = set; then
6717 enableval="$enable_clipboard"
6718
6719 if test "$enableval" = yes; then
6720 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6721 else
6722 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6723 fi
6724
6725 else
6726
6727 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6728 if test "x$LINE" != x ; then
6729 eval "DEFAULT_$LINE"
6730 else
6731 no_cache=1
6732 fi
6733
6734 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6735
6736 fi;
6737
6738 eval "$ac_cv_use_clipboard"
6739 if test "$no_cache" != 1; then
6740 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6741 fi
6742
6743 if test "$wxUSE_CLIPBOARD" = yes; then
6744 echo "$as_me:$LINENO: result: yes" >&5
6745 echo "${ECHO_T}yes" >&6
6746 else
6747 echo "$as_me:$LINENO: result: no" >&5
6748 echo "${ECHO_T}no" >&6
6749 fi
6750
6751
6752 enablestring=
6753 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6754 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6755 no_cache=0
6756 # Check whether --enable-dnd or --disable-dnd was given.
6757 if test "${enable_dnd+set}" = set; then
6758 enableval="$enable_dnd"
6759
6760 if test "$enableval" = yes; then
6761 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6762 else
6763 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6764 fi
6765
6766 else
6767
6768 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6769 if test "x$LINE" != x ; then
6770 eval "DEFAULT_$LINE"
6771 else
6772 no_cache=1
6773 fi
6774
6775 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6776
6777 fi;
6778
6779 eval "$ac_cv_use_dnd"
6780 if test "$no_cache" != 1; then
6781 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6782 fi
6783
6784 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6785 echo "$as_me:$LINENO: result: yes" >&5
6786 echo "${ECHO_T}yes" >&6
6787 else
6788 echo "$as_me:$LINENO: result: no" >&5
6789 echo "${ECHO_T}no" >&6
6790 fi
6791
6792
6793 enablestring=
6794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6795 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6796 no_cache=0
6797 # Check whether --enable-metafile or --disable-metafile was given.
6798 if test "${enable_metafile+set}" = set; then
6799 enableval="$enable_metafile"
6800
6801 if test "$enableval" = yes; then
6802 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6803 else
6804 ac_cv_use_metafile='wxUSE_METAFILE=no'
6805 fi
6806
6807 else
6808
6809 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6810 if test "x$LINE" != x ; then
6811 eval "DEFAULT_$LINE"
6812 else
6813 no_cache=1
6814 fi
6815
6816 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6817
6818 fi;
6819
6820 eval "$ac_cv_use_metafile"
6821 if test "$no_cache" != 1; then
6822 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6823 fi
6824
6825 if test "$wxUSE_METAFILE" = yes; then
6826 echo "$as_me:$LINENO: result: yes" >&5
6827 echo "${ECHO_T}yes" >&6
6828 else
6829 echo "$as_me:$LINENO: result: no" >&5
6830 echo "${ECHO_T}no" >&6
6831 fi
6832
6833
6834
6835
6836
6837 enablestring=
6838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6839 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6840 no_cache=0
6841 # Check whether --enable-controls or --disable-controls was given.
6842 if test "${enable_controls+set}" = set; then
6843 enableval="$enable_controls"
6844
6845 if test "$enableval" = yes; then
6846 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6847 else
6848 ac_cv_use_controls='wxUSE_CONTROLS=no'
6849 fi
6850
6851 else
6852
6853 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6854 if test "x$LINE" != x ; then
6855 eval "DEFAULT_$LINE"
6856 else
6857 no_cache=1
6858 fi
6859
6860 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6861
6862 fi;
6863
6864 eval "$ac_cv_use_controls"
6865 if test "$no_cache" != 1; then
6866 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6867 fi
6868
6869 if test "$wxUSE_CONTROLS" = yes; then
6870 echo "$as_me:$LINENO: result: yes" >&5
6871 echo "${ECHO_T}yes" >&6
6872 else
6873 echo "$as_me:$LINENO: result: no" >&5
6874 echo "${ECHO_T}no" >&6
6875 fi
6876
6877
6878 if test "$wxUSE_CONTROLS" = "yes"; then
6879 DEFAULT_wxUSE_ACCEL=yes
6880 DEFAULT_wxUSE_BMPBUTTON=yes
6881 DEFAULT_wxUSE_BUTTON=yes
6882 DEFAULT_wxUSE_CALCTRL=no
6883 DEFAULT_wxUSE_CARET=yes
6884 DEFAULT_wxUSE_COMBOBOX=yes
6885 DEFAULT_wxUSE_CHECKBOX=yes
6886 DEFAULT_wxUSE_CHECKLISTBOX=yes
6887 DEFAULT_wxUSE_CHOICE=yes
6888 DEFAULT_wxUSE_GAUGE=yes
6889 DEFAULT_wxUSE_GRID=yes
6890 DEFAULT_wxUSE_IMAGLIST=yes
6891 DEFAULT_wxUSE_LISTBOOK=yes
6892 DEFAULT_wxUSE_LISTBOX=yes
6893 DEFAULT_wxUSE_LISTCTRL=yes
6894 DEFAULT_wxUSE_NOTEBOOK=yes
6895 DEFAULT_wxUSE_RADIOBOX=yes
6896 DEFAULT_wxUSE_RADIOBTN=yes
6897 DEFAULT_wxUSE_SASH=yes
6898 DEFAULT_wxUSE_SCROLLBAR=yes
6899 DEFAULT_wxUSE_SLIDER=yes
6900 DEFAULT_wxUSE_SPINBTN=yes
6901 DEFAULT_wxUSE_SPINCTRL=yes
6902 DEFAULT_wxUSE_SPLITTER=yes
6903 DEFAULT_wxUSE_STATBMP=yes
6904 DEFAULT_wxUSE_STATBOX=yes
6905 DEFAULT_wxUSE_STATLINE=yes
6906 DEFAULT_wxUSE_STATUSBAR=yes
6907 DEFAULT_wxUSE_TAB_DIALOG=yes
6908 DEFAULT_wxUSE_TOGGLEBTN=yes
6909 DEFAULT_wxUSE_TOOLBAR=yes
6910 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6911 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6912 DEFAULT_wxUSE_TOOLTIPS=yes
6913 DEFAULT_wxUSE_TREECTRL=yes
6914 DEFAULT_wxUSE_POPUPWIN=yes
6915 DEFAULT_wxUSE_TIPWINDOW=yes
6916 elif test "$wxUSE_CONTROLS" = "no"; then
6917 DEFAULT_wxUSE_ACCEL=no
6918 DEFAULT_wxUSE_BMPBUTTON=no
6919 DEFAULT_wxUSE_BUTTON=no
6920 DEFAULT_wxUSE_CALCTRL=no
6921 DEFAULT_wxUSE_CARET=no
6922 DEFAULT_wxUSE_COMBOBOX=no
6923 DEFAULT_wxUSE_CHECKBOX=no
6924 DEFAULT_wxUSE_CHECKLISTBOX=no
6925 DEFAULT_wxUSE_CHOICE=no
6926 DEFAULT_wxUSE_GAUGE=no
6927 DEFAULT_wxUSE_GRID=no
6928 DEFAULT_wxUSE_IMAGLIST=no
6929 DEFAULT_wxUSE_LISTBOOK=no
6930 DEFAULT_wxUSE_LISTBOX=no
6931 DEFAULT_wxUSE_LISTCTRL=no
6932 DEFAULT_wxUSE_NOTEBOOK=no
6933 DEFAULT_wxUSE_RADIOBOX=no
6934 DEFAULT_wxUSE_RADIOBTN=no
6935 DEFAULT_wxUSE_SASH=no
6936 DEFAULT_wxUSE_SCROLLBAR=no
6937 DEFAULT_wxUSE_SLIDER=no
6938 DEFAULT_wxUSE_SPINBTN=no
6939 DEFAULT_wxUSE_SPINCTRL=no
6940 DEFAULT_wxUSE_SPLITTER=no
6941 DEFAULT_wxUSE_STATBMP=no
6942 DEFAULT_wxUSE_STATBOX=no
6943 DEFAULT_wxUSE_STATLINE=no
6944 DEFAULT_wxUSE_STATUSBAR=no
6945 DEFAULT_wxUSE_TAB_DIALOG=no
6946 DEFAULT_wxUSE_TOGGLEBTN=no
6947 DEFAULT_wxUSE_TOOLBAR=no
6948 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6949 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6950 DEFAULT_wxUSE_TOOLTIPS=no
6951 DEFAULT_wxUSE_TREECTRL=no
6952 DEFAULT_wxUSE_POPUPWIN=no
6953 DEFAULT_wxUSE_TIPWINDOW=no
6954 fi
6955
6956 ## FIXME: This is a blatant hack
6957 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6958 wxUSE_PRINTING_ARCHITECTURE=no
6959 wxUSE_DRAG_AND_DROP=no
6960 DEFAULT_wxUSE_SCROLLBAR=no
6961 DEFAULT_wxUSE_TOOLTIPS=no
6962 DEFAULT_wxUSE_DRAGIMAGE=no
6963 fi
6964
6965
6966 enablestring=
6967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6968 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6969 no_cache=0
6970 # Check whether --enable-accel or --disable-accel was given.
6971 if test "${enable_accel+set}" = set; then
6972 enableval="$enable_accel"
6973
6974 if test "$enableval" = yes; then
6975 ac_cv_use_accel='wxUSE_ACCEL=yes'
6976 else
6977 ac_cv_use_accel='wxUSE_ACCEL=no'
6978 fi
6979
6980 else
6981
6982 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6983 if test "x$LINE" != x ; then
6984 eval "DEFAULT_$LINE"
6985 else
6986 no_cache=1
6987 fi
6988
6989 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6990
6991 fi;
6992
6993 eval "$ac_cv_use_accel"
6994 if test "$no_cache" != 1; then
6995 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6996 fi
6997
6998 if test "$wxUSE_ACCEL" = yes; then
6999 echo "$as_me:$LINENO: result: yes" >&5
7000 echo "${ECHO_T}yes" >&6
7001 else
7002 echo "$as_me:$LINENO: result: no" >&5
7003 echo "${ECHO_T}no" >&6
7004 fi
7005
7006
7007 enablestring=
7008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7009 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7010 no_cache=0
7011 # Check whether --enable-button or --disable-button was given.
7012 if test "${enable_button+set}" = set; then
7013 enableval="$enable_button"
7014
7015 if test "$enableval" = yes; then
7016 ac_cv_use_button='wxUSE_BUTTON=yes'
7017 else
7018 ac_cv_use_button='wxUSE_BUTTON=no'
7019 fi
7020
7021 else
7022
7023 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7024 if test "x$LINE" != x ; then
7025 eval "DEFAULT_$LINE"
7026 else
7027 no_cache=1
7028 fi
7029
7030 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7031
7032 fi;
7033
7034 eval "$ac_cv_use_button"
7035 if test "$no_cache" != 1; then
7036 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7037 fi
7038
7039 if test "$wxUSE_BUTTON" = yes; then
7040 echo "$as_me:$LINENO: result: yes" >&5
7041 echo "${ECHO_T}yes" >&6
7042 else
7043 echo "$as_me:$LINENO: result: no" >&5
7044 echo "${ECHO_T}no" >&6
7045 fi
7046
7047
7048 enablestring=
7049 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7050 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7051 no_cache=0
7052 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7053 if test "${enable_bmpbutton+set}" = set; then
7054 enableval="$enable_bmpbutton"
7055
7056 if test "$enableval" = yes; then
7057 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7058 else
7059 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7060 fi
7061
7062 else
7063
7064 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7065 if test "x$LINE" != x ; then
7066 eval "DEFAULT_$LINE"
7067 else
7068 no_cache=1
7069 fi
7070
7071 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7072
7073 fi;
7074
7075 eval "$ac_cv_use_bmpbutton"
7076 if test "$no_cache" != 1; then
7077 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7078 fi
7079
7080 if test "$wxUSE_BMPBUTTON" = yes; then
7081 echo "$as_me:$LINENO: result: yes" >&5
7082 echo "${ECHO_T}yes" >&6
7083 else
7084 echo "$as_me:$LINENO: result: no" >&5
7085 echo "${ECHO_T}no" >&6
7086 fi
7087
7088
7089 enablestring=
7090 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7091 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7092 no_cache=0
7093 # Check whether --enable-calendar or --disable-calendar was given.
7094 if test "${enable_calendar+set}" = set; then
7095 enableval="$enable_calendar"
7096
7097 if test "$enableval" = yes; then
7098 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7099 else
7100 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7101 fi
7102
7103 else
7104
7105 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7106 if test "x$LINE" != x ; then
7107 eval "DEFAULT_$LINE"
7108 else
7109 no_cache=1
7110 fi
7111
7112 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7113
7114 fi;
7115
7116 eval "$ac_cv_use_calendar"
7117 if test "$no_cache" != 1; then
7118 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7119 fi
7120
7121 if test "$wxUSE_CALCTRL" = yes; then
7122 echo "$as_me:$LINENO: result: yes" >&5
7123 echo "${ECHO_T}yes" >&6
7124 else
7125 echo "$as_me:$LINENO: result: no" >&5
7126 echo "${ECHO_T}no" >&6
7127 fi
7128
7129
7130 enablestring=
7131 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7132 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7133 no_cache=0
7134 # Check whether --enable-caret or --disable-caret was given.
7135 if test "${enable_caret+set}" = set; then
7136 enableval="$enable_caret"
7137
7138 if test "$enableval" = yes; then
7139 ac_cv_use_caret='wxUSE_CARET=yes'
7140 else
7141 ac_cv_use_caret='wxUSE_CARET=no'
7142 fi
7143
7144 else
7145
7146 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7147 if test "x$LINE" != x ; then
7148 eval "DEFAULT_$LINE"
7149 else
7150 no_cache=1
7151 fi
7152
7153 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7154
7155 fi;
7156
7157 eval "$ac_cv_use_caret"
7158 if test "$no_cache" != 1; then
7159 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7160 fi
7161
7162 if test "$wxUSE_CARET" = yes; then
7163 echo "$as_me:$LINENO: result: yes" >&5
7164 echo "${ECHO_T}yes" >&6
7165 else
7166 echo "$as_me:$LINENO: result: no" >&5
7167 echo "${ECHO_T}no" >&6
7168 fi
7169
7170
7171 enablestring=
7172 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7173 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7174 no_cache=0
7175 # Check whether --enable-checkbox or --disable-checkbox was given.
7176 if test "${enable_checkbox+set}" = set; then
7177 enableval="$enable_checkbox"
7178
7179 if test "$enableval" = yes; then
7180 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7181 else
7182 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7183 fi
7184
7185 else
7186
7187 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7188 if test "x$LINE" != x ; then
7189 eval "DEFAULT_$LINE"
7190 else
7191 no_cache=1
7192 fi
7193
7194 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7195
7196 fi;
7197
7198 eval "$ac_cv_use_checkbox"
7199 if test "$no_cache" != 1; then
7200 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7201 fi
7202
7203 if test "$wxUSE_CHECKBOX" = yes; then
7204 echo "$as_me:$LINENO: result: yes" >&5
7205 echo "${ECHO_T}yes" >&6
7206 else
7207 echo "$as_me:$LINENO: result: no" >&5
7208 echo "${ECHO_T}no" >&6
7209 fi
7210
7211
7212 enablestring=
7213 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7214 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7215 no_cache=0
7216 # Check whether --enable-checklst or --disable-checklst was given.
7217 if test "${enable_checklst+set}" = set; then
7218 enableval="$enable_checklst"
7219
7220 if test "$enableval" = yes; then
7221 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7222 else
7223 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7224 fi
7225
7226 else
7227
7228 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7229 if test "x$LINE" != x ; then
7230 eval "DEFAULT_$LINE"
7231 else
7232 no_cache=1
7233 fi
7234
7235 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7236
7237 fi;
7238
7239 eval "$ac_cv_use_checklst"
7240 if test "$no_cache" != 1; then
7241 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7242 fi
7243
7244 if test "$wxUSE_CHECKLST" = yes; then
7245 echo "$as_me:$LINENO: result: yes" >&5
7246 echo "${ECHO_T}yes" >&6
7247 else
7248 echo "$as_me:$LINENO: result: no" >&5
7249 echo "${ECHO_T}no" >&6
7250 fi
7251
7252
7253 enablestring=
7254 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7255 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7256 no_cache=0
7257 # Check whether --enable-choice or --disable-choice was given.
7258 if test "${enable_choice+set}" = set; then
7259 enableval="$enable_choice"
7260
7261 if test "$enableval" = yes; then
7262 ac_cv_use_choice='wxUSE_CHOICE=yes'
7263 else
7264 ac_cv_use_choice='wxUSE_CHOICE=no'
7265 fi
7266
7267 else
7268
7269 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7270 if test "x$LINE" != x ; then
7271 eval "DEFAULT_$LINE"
7272 else
7273 no_cache=1
7274 fi
7275
7276 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7277
7278 fi;
7279
7280 eval "$ac_cv_use_choice"
7281 if test "$no_cache" != 1; then
7282 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7283 fi
7284
7285 if test "$wxUSE_CHOICE" = yes; then
7286 echo "$as_me:$LINENO: result: yes" >&5
7287 echo "${ECHO_T}yes" >&6
7288 else
7289 echo "$as_me:$LINENO: result: no" >&5
7290 echo "${ECHO_T}no" >&6
7291 fi
7292
7293
7294 enablestring=
7295 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7296 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7297 no_cache=0
7298 # Check whether --enable-combobox or --disable-combobox was given.
7299 if test "${enable_combobox+set}" = set; then
7300 enableval="$enable_combobox"
7301
7302 if test "$enableval" = yes; then
7303 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7304 else
7305 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7306 fi
7307
7308 else
7309
7310 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7311 if test "x$LINE" != x ; then
7312 eval "DEFAULT_$LINE"
7313 else
7314 no_cache=1
7315 fi
7316
7317 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7318
7319 fi;
7320
7321 eval "$ac_cv_use_combobox"
7322 if test "$no_cache" != 1; then
7323 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7324 fi
7325
7326 if test "$wxUSE_COMBOBOX" = yes; then
7327 echo "$as_me:$LINENO: result: yes" >&5
7328 echo "${ECHO_T}yes" >&6
7329 else
7330 echo "$as_me:$LINENO: result: no" >&5
7331 echo "${ECHO_T}no" >&6
7332 fi
7333
7334
7335 enablestring=
7336 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7337 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7338 no_cache=0
7339 # Check whether --enable-display or --disable-display was given.
7340 if test "${enable_display+set}" = set; then
7341 enableval="$enable_display"
7342
7343 if test "$enableval" = yes; then
7344 ac_cv_use_display='wxUSE_DISPLAY=yes'
7345 else
7346 ac_cv_use_display='wxUSE_DISPLAY=no'
7347 fi
7348
7349 else
7350
7351 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7352 if test "x$LINE" != x ; then
7353 eval "DEFAULT_$LINE"
7354 else
7355 no_cache=1
7356 fi
7357
7358 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7359
7360 fi;
7361
7362 eval "$ac_cv_use_display"
7363 if test "$no_cache" != 1; then
7364 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7365 fi
7366
7367 if test "$wxUSE_DISPLAY" = yes; then
7368 echo "$as_me:$LINENO: result: yes" >&5
7369 echo "${ECHO_T}yes" >&6
7370 else
7371 echo "$as_me:$LINENO: result: no" >&5
7372 echo "${ECHO_T}no" >&6
7373 fi
7374
7375
7376 enablestring=
7377 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7378 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7379 no_cache=0
7380 # Check whether --enable-gauge or --disable-gauge was given.
7381 if test "${enable_gauge+set}" = set; then
7382 enableval="$enable_gauge"
7383
7384 if test "$enableval" = yes; then
7385 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7386 else
7387 ac_cv_use_gauge='wxUSE_GAUGE=no'
7388 fi
7389
7390 else
7391
7392 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7393 if test "x$LINE" != x ; then
7394 eval "DEFAULT_$LINE"
7395 else
7396 no_cache=1
7397 fi
7398
7399 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7400
7401 fi;
7402
7403 eval "$ac_cv_use_gauge"
7404 if test "$no_cache" != 1; then
7405 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7406 fi
7407
7408 if test "$wxUSE_GAUGE" = yes; then
7409 echo "$as_me:$LINENO: result: yes" >&5
7410 echo "${ECHO_T}yes" >&6
7411 else
7412 echo "$as_me:$LINENO: result: no" >&5
7413 echo "${ECHO_T}no" >&6
7414 fi
7415
7416
7417 enablestring=
7418 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7419 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7420 no_cache=0
7421 # Check whether --enable-grid or --disable-grid was given.
7422 if test "${enable_grid+set}" = set; then
7423 enableval="$enable_grid"
7424
7425 if test "$enableval" = yes; then
7426 ac_cv_use_grid='wxUSE_GRID=yes'
7427 else
7428 ac_cv_use_grid='wxUSE_GRID=no'
7429 fi
7430
7431 else
7432
7433 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7434 if test "x$LINE" != x ; then
7435 eval "DEFAULT_$LINE"
7436 else
7437 no_cache=1
7438 fi
7439
7440 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7441
7442 fi;
7443
7444 eval "$ac_cv_use_grid"
7445 if test "$no_cache" != 1; then
7446 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7447 fi
7448
7449 if test "$wxUSE_GRID" = yes; then
7450 echo "$as_me:$LINENO: result: yes" >&5
7451 echo "${ECHO_T}yes" >&6
7452 else
7453 echo "$as_me:$LINENO: result: no" >&5
7454 echo "${ECHO_T}no" >&6
7455 fi
7456
7457
7458 enablestring=
7459 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7460 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7461 no_cache=0
7462 # Check whether --enable-imaglist or --disable-imaglist was given.
7463 if test "${enable_imaglist+set}" = set; then
7464 enableval="$enable_imaglist"
7465
7466 if test "$enableval" = yes; then
7467 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7468 else
7469 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7470 fi
7471
7472 else
7473
7474 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7475 if test "x$LINE" != x ; then
7476 eval "DEFAULT_$LINE"
7477 else
7478 no_cache=1
7479 fi
7480
7481 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7482
7483 fi;
7484
7485 eval "$ac_cv_use_imaglist"
7486 if test "$no_cache" != 1; then
7487 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7488 fi
7489
7490 if test "$wxUSE_IMAGLIST" = yes; then
7491 echo "$as_me:$LINENO: result: yes" >&5
7492 echo "${ECHO_T}yes" >&6
7493 else
7494 echo "$as_me:$LINENO: result: no" >&5
7495 echo "${ECHO_T}no" >&6
7496 fi
7497
7498
7499 enablestring=
7500 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7501 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7502 no_cache=0
7503 # Check whether --enable-listbook or --disable-listbook was given.
7504 if test "${enable_listbook+set}" = set; then
7505 enableval="$enable_listbook"
7506
7507 if test "$enableval" = yes; then
7508 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7509 else
7510 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7511 fi
7512
7513 else
7514
7515 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7516 if test "x$LINE" != x ; then
7517 eval "DEFAULT_$LINE"
7518 else
7519 no_cache=1
7520 fi
7521
7522 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7523
7524 fi;
7525
7526 eval "$ac_cv_use_listbook"
7527 if test "$no_cache" != 1; then
7528 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7529 fi
7530
7531 if test "$wxUSE_LISTBOOK" = yes; then
7532 echo "$as_me:$LINENO: result: yes" >&5
7533 echo "${ECHO_T}yes" >&6
7534 else
7535 echo "$as_me:$LINENO: result: no" >&5
7536 echo "${ECHO_T}no" >&6
7537 fi
7538
7539
7540 enablestring=
7541 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7542 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7543 no_cache=0
7544 # Check whether --enable-listbox or --disable-listbox was given.
7545 if test "${enable_listbox+set}" = set; then
7546 enableval="$enable_listbox"
7547
7548 if test "$enableval" = yes; then
7549 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7550 else
7551 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7552 fi
7553
7554 else
7555
7556 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7557 if test "x$LINE" != x ; then
7558 eval "DEFAULT_$LINE"
7559 else
7560 no_cache=1
7561 fi
7562
7563 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7564
7565 fi;
7566
7567 eval "$ac_cv_use_listbox"
7568 if test "$no_cache" != 1; then
7569 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7570 fi
7571
7572 if test "$wxUSE_LISTBOX" = yes; then
7573 echo "$as_me:$LINENO: result: yes" >&5
7574 echo "${ECHO_T}yes" >&6
7575 else
7576 echo "$as_me:$LINENO: result: no" >&5
7577 echo "${ECHO_T}no" >&6
7578 fi
7579
7580
7581 enablestring=
7582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7583 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7584 no_cache=0
7585 # Check whether --enable-listctrl or --disable-listctrl was given.
7586 if test "${enable_listctrl+set}" = set; then
7587 enableval="$enable_listctrl"
7588
7589 if test "$enableval" = yes; then
7590 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7591 else
7592 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7593 fi
7594
7595 else
7596
7597 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7598 if test "x$LINE" != x ; then
7599 eval "DEFAULT_$LINE"
7600 else
7601 no_cache=1
7602 fi
7603
7604 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7605
7606 fi;
7607
7608 eval "$ac_cv_use_listctrl"
7609 if test "$no_cache" != 1; then
7610 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7611 fi
7612
7613 if test "$wxUSE_LISTCTRL" = yes; then
7614 echo "$as_me:$LINENO: result: yes" >&5
7615 echo "${ECHO_T}yes" >&6
7616 else
7617 echo "$as_me:$LINENO: result: no" >&5
7618 echo "${ECHO_T}no" >&6
7619 fi
7620
7621
7622 enablestring=
7623 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7624 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7625 no_cache=0
7626 # Check whether --enable-notebook or --disable-notebook was given.
7627 if test "${enable_notebook+set}" = set; then
7628 enableval="$enable_notebook"
7629
7630 if test "$enableval" = yes; then
7631 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7632 else
7633 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7634 fi
7635
7636 else
7637
7638 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7639 if test "x$LINE" != x ; then
7640 eval "DEFAULT_$LINE"
7641 else
7642 no_cache=1
7643 fi
7644
7645 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7646
7647 fi;
7648
7649 eval "$ac_cv_use_notebook"
7650 if test "$no_cache" != 1; then
7651 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7652 fi
7653
7654 if test "$wxUSE_NOTEBOOK" = yes; then
7655 echo "$as_me:$LINENO: result: yes" >&5
7656 echo "${ECHO_T}yes" >&6
7657 else
7658 echo "$as_me:$LINENO: result: no" >&5
7659 echo "${ECHO_T}no" >&6
7660 fi
7661
7662
7663 enablestring=
7664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7665 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7666 no_cache=0
7667 # Check whether --enable-radiobox or --disable-radiobox was given.
7668 if test "${enable_radiobox+set}" = set; then
7669 enableval="$enable_radiobox"
7670
7671 if test "$enableval" = yes; then
7672 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7673 else
7674 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7675 fi
7676
7677 else
7678
7679 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7680 if test "x$LINE" != x ; then
7681 eval "DEFAULT_$LINE"
7682 else
7683 no_cache=1
7684 fi
7685
7686 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7687
7688 fi;
7689
7690 eval "$ac_cv_use_radiobox"
7691 if test "$no_cache" != 1; then
7692 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7693 fi
7694
7695 if test "$wxUSE_RADIOBOX" = yes; then
7696 echo "$as_me:$LINENO: result: yes" >&5
7697 echo "${ECHO_T}yes" >&6
7698 else
7699 echo "$as_me:$LINENO: result: no" >&5
7700 echo "${ECHO_T}no" >&6
7701 fi
7702
7703
7704 enablestring=
7705 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7706 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7707 no_cache=0
7708 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7709 if test "${enable_radiobtn+set}" = set; then
7710 enableval="$enable_radiobtn"
7711
7712 if test "$enableval" = yes; then
7713 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7714 else
7715 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7716 fi
7717
7718 else
7719
7720 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7721 if test "x$LINE" != x ; then
7722 eval "DEFAULT_$LINE"
7723 else
7724 no_cache=1
7725 fi
7726
7727 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7728
7729 fi;
7730
7731 eval "$ac_cv_use_radiobtn"
7732 if test "$no_cache" != 1; then
7733 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7734 fi
7735
7736 if test "$wxUSE_RADIOBTN" = yes; then
7737 echo "$as_me:$LINENO: result: yes" >&5
7738 echo "${ECHO_T}yes" >&6
7739 else
7740 echo "$as_me:$LINENO: result: no" >&5
7741 echo "${ECHO_T}no" >&6
7742 fi
7743
7744
7745 enablestring=
7746 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7747 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7748 no_cache=0
7749 # Check whether --enable-sash or --disable-sash was given.
7750 if test "${enable_sash+set}" = set; then
7751 enableval="$enable_sash"
7752
7753 if test "$enableval" = yes; then
7754 ac_cv_use_sash='wxUSE_SASH=yes'
7755 else
7756 ac_cv_use_sash='wxUSE_SASH=no'
7757 fi
7758
7759 else
7760
7761 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7762 if test "x$LINE" != x ; then
7763 eval "DEFAULT_$LINE"
7764 else
7765 no_cache=1
7766 fi
7767
7768 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7769
7770 fi;
7771
7772 eval "$ac_cv_use_sash"
7773 if test "$no_cache" != 1; then
7774 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7775 fi
7776
7777 if test "$wxUSE_SASH" = yes; then
7778 echo "$as_me:$LINENO: result: yes" >&5
7779 echo "${ECHO_T}yes" >&6
7780 else
7781 echo "$as_me:$LINENO: result: no" >&5
7782 echo "${ECHO_T}no" >&6
7783 fi
7784
7785
7786 enablestring=
7787 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7788 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7789 no_cache=0
7790 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7791 if test "${enable_scrollbar+set}" = set; then
7792 enableval="$enable_scrollbar"
7793
7794 if test "$enableval" = yes; then
7795 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7796 else
7797 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7798 fi
7799
7800 else
7801
7802 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7803 if test "x$LINE" != x ; then
7804 eval "DEFAULT_$LINE"
7805 else
7806 no_cache=1
7807 fi
7808
7809 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7810
7811 fi;
7812
7813 eval "$ac_cv_use_scrollbar"
7814 if test "$no_cache" != 1; then
7815 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7816 fi
7817
7818 if test "$wxUSE_SCROLLBAR" = yes; then
7819 echo "$as_me:$LINENO: result: yes" >&5
7820 echo "${ECHO_T}yes" >&6
7821 else
7822 echo "$as_me:$LINENO: result: no" >&5
7823 echo "${ECHO_T}no" >&6
7824 fi
7825
7826
7827 enablestring=
7828 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7829 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7830 no_cache=0
7831 # Check whether --enable-slider or --disable-slider was given.
7832 if test "${enable_slider+set}" = set; then
7833 enableval="$enable_slider"
7834
7835 if test "$enableval" = yes; then
7836 ac_cv_use_slider='wxUSE_SLIDER=yes'
7837 else
7838 ac_cv_use_slider='wxUSE_SLIDER=no'
7839 fi
7840
7841 else
7842
7843 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7844 if test "x$LINE" != x ; then
7845 eval "DEFAULT_$LINE"
7846 else
7847 no_cache=1
7848 fi
7849
7850 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7851
7852 fi;
7853
7854 eval "$ac_cv_use_slider"
7855 if test "$no_cache" != 1; then
7856 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7857 fi
7858
7859 if test "$wxUSE_SLIDER" = yes; then
7860 echo "$as_me:$LINENO: result: yes" >&5
7861 echo "${ECHO_T}yes" >&6
7862 else
7863 echo "$as_me:$LINENO: result: no" >&5
7864 echo "${ECHO_T}no" >&6
7865 fi
7866
7867
7868 enablestring=
7869 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7870 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7871 no_cache=0
7872 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7873 if test "${enable_spinbtn+set}" = set; then
7874 enableval="$enable_spinbtn"
7875
7876 if test "$enableval" = yes; then
7877 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7878 else
7879 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7880 fi
7881
7882 else
7883
7884 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7885 if test "x$LINE" != x ; then
7886 eval "DEFAULT_$LINE"
7887 else
7888 no_cache=1
7889 fi
7890
7891 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7892
7893 fi;
7894
7895 eval "$ac_cv_use_spinbtn"
7896 if test "$no_cache" != 1; then
7897 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7898 fi
7899
7900 if test "$wxUSE_SPINBTN" = yes; then
7901 echo "$as_me:$LINENO: result: yes" >&5
7902 echo "${ECHO_T}yes" >&6
7903 else
7904 echo "$as_me:$LINENO: result: no" >&5
7905 echo "${ECHO_T}no" >&6
7906 fi
7907
7908
7909 enablestring=
7910 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7911 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7912 no_cache=0
7913 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7914 if test "${enable_spinctrl+set}" = set; then
7915 enableval="$enable_spinctrl"
7916
7917 if test "$enableval" = yes; then
7918 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7919 else
7920 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7921 fi
7922
7923 else
7924
7925 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7926 if test "x$LINE" != x ; then
7927 eval "DEFAULT_$LINE"
7928 else
7929 no_cache=1
7930 fi
7931
7932 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7933
7934 fi;
7935
7936 eval "$ac_cv_use_spinctrl"
7937 if test "$no_cache" != 1; then
7938 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7939 fi
7940
7941 if test "$wxUSE_SPINCTRL" = yes; then
7942 echo "$as_me:$LINENO: result: yes" >&5
7943 echo "${ECHO_T}yes" >&6
7944 else
7945 echo "$as_me:$LINENO: result: no" >&5
7946 echo "${ECHO_T}no" >&6
7947 fi
7948
7949
7950 enablestring=
7951 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7952 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7953 no_cache=0
7954 # Check whether --enable-splitter or --disable-splitter was given.
7955 if test "${enable_splitter+set}" = set; then
7956 enableval="$enable_splitter"
7957
7958 if test "$enableval" = yes; then
7959 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7960 else
7961 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7962 fi
7963
7964 else
7965
7966 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7967 if test "x$LINE" != x ; then
7968 eval "DEFAULT_$LINE"
7969 else
7970 no_cache=1
7971 fi
7972
7973 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7974
7975 fi;
7976
7977 eval "$ac_cv_use_splitter"
7978 if test "$no_cache" != 1; then
7979 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7980 fi
7981
7982 if test "$wxUSE_SPLITTER" = yes; then
7983 echo "$as_me:$LINENO: result: yes" >&5
7984 echo "${ECHO_T}yes" >&6
7985 else
7986 echo "$as_me:$LINENO: result: no" >&5
7987 echo "${ECHO_T}no" >&6
7988 fi
7989
7990
7991 enablestring=
7992 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7993 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7994 no_cache=0
7995 # Check whether --enable-statbmp or --disable-statbmp was given.
7996 if test "${enable_statbmp+set}" = set; then
7997 enableval="$enable_statbmp"
7998
7999 if test "$enableval" = yes; then
8000 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8001 else
8002 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8003 fi
8004
8005 else
8006
8007 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8008 if test "x$LINE" != x ; then
8009 eval "DEFAULT_$LINE"
8010 else
8011 no_cache=1
8012 fi
8013
8014 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8015
8016 fi;
8017
8018 eval "$ac_cv_use_statbmp"
8019 if test "$no_cache" != 1; then
8020 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8021 fi
8022
8023 if test "$wxUSE_STATBMP" = yes; then
8024 echo "$as_me:$LINENO: result: yes" >&5
8025 echo "${ECHO_T}yes" >&6
8026 else
8027 echo "$as_me:$LINENO: result: no" >&5
8028 echo "${ECHO_T}no" >&6
8029 fi
8030
8031
8032 enablestring=
8033 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8034 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8035 no_cache=0
8036 # Check whether --enable-statbox or --disable-statbox was given.
8037 if test "${enable_statbox+set}" = set; then
8038 enableval="$enable_statbox"
8039
8040 if test "$enableval" = yes; then
8041 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8042 else
8043 ac_cv_use_statbox='wxUSE_STATBOX=no'
8044 fi
8045
8046 else
8047
8048 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8049 if test "x$LINE" != x ; then
8050 eval "DEFAULT_$LINE"
8051 else
8052 no_cache=1
8053 fi
8054
8055 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8056
8057 fi;
8058
8059 eval "$ac_cv_use_statbox"
8060 if test "$no_cache" != 1; then
8061 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8062 fi
8063
8064 if test "$wxUSE_STATBOX" = yes; then
8065 echo "$as_me:$LINENO: result: yes" >&5
8066 echo "${ECHO_T}yes" >&6
8067 else
8068 echo "$as_me:$LINENO: result: no" >&5
8069 echo "${ECHO_T}no" >&6
8070 fi
8071
8072
8073 enablestring=
8074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8075 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8076 no_cache=0
8077 # Check whether --enable-statline or --disable-statline was given.
8078 if test "${enable_statline+set}" = set; then
8079 enableval="$enable_statline"
8080
8081 if test "$enableval" = yes; then
8082 ac_cv_use_statline='wxUSE_STATLINE=yes'
8083 else
8084 ac_cv_use_statline='wxUSE_STATLINE=no'
8085 fi
8086
8087 else
8088
8089 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8090 if test "x$LINE" != x ; then
8091 eval "DEFAULT_$LINE"
8092 else
8093 no_cache=1
8094 fi
8095
8096 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8097
8098 fi;
8099
8100 eval "$ac_cv_use_statline"
8101 if test "$no_cache" != 1; then
8102 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8103 fi
8104
8105 if test "$wxUSE_STATLINE" = yes; then
8106 echo "$as_me:$LINENO: result: yes" >&5
8107 echo "${ECHO_T}yes" >&6
8108 else
8109 echo "$as_me:$LINENO: result: no" >&5
8110 echo "${ECHO_T}no" >&6
8111 fi
8112
8113
8114 enablestring=
8115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8116 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8117 no_cache=0
8118 # Check whether --enable-stattext or --disable-stattext was given.
8119 if test "${enable_stattext+set}" = set; then
8120 enableval="$enable_stattext"
8121
8122 if test "$enableval" = yes; then
8123 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8124 else
8125 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8126 fi
8127
8128 else
8129
8130 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8131 if test "x$LINE" != x ; then
8132 eval "DEFAULT_$LINE"
8133 else
8134 no_cache=1
8135 fi
8136
8137 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8138
8139 fi;
8140
8141 eval "$ac_cv_use_stattext"
8142 if test "$no_cache" != 1; then
8143 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8144 fi
8145
8146 if test "$wxUSE_STATTEXT" = yes; then
8147 echo "$as_me:$LINENO: result: yes" >&5
8148 echo "${ECHO_T}yes" >&6
8149 else
8150 echo "$as_me:$LINENO: result: no" >&5
8151 echo "${ECHO_T}no" >&6
8152 fi
8153
8154
8155 enablestring=
8156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8157 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8158 no_cache=0
8159 # Check whether --enable-statusbar or --disable-statusbar was given.
8160 if test "${enable_statusbar+set}" = set; then
8161 enableval="$enable_statusbar"
8162
8163 if test "$enableval" = yes; then
8164 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8165 else
8166 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8167 fi
8168
8169 else
8170
8171 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8172 if test "x$LINE" != x ; then
8173 eval "DEFAULT_$LINE"
8174 else
8175 no_cache=1
8176 fi
8177
8178 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8179
8180 fi;
8181
8182 eval "$ac_cv_use_statusbar"
8183 if test "$no_cache" != 1; then
8184 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8185 fi
8186
8187 if test "$wxUSE_STATUSBAR" = yes; then
8188 echo "$as_me:$LINENO: result: yes" >&5
8189 echo "${ECHO_T}yes" >&6
8190 else
8191 echo "$as_me:$LINENO: result: no" >&5
8192 echo "${ECHO_T}no" >&6
8193 fi
8194
8195
8196 enablestring=
8197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8198 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8199 no_cache=0
8200 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8201 if test "${enable_tabdialog+set}" = set; then
8202 enableval="$enable_tabdialog"
8203
8204 if test "$enableval" = yes; then
8205 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8206 else
8207 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8208 fi
8209
8210 else
8211
8212 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8213 if test "x$LINE" != x ; then
8214 eval "DEFAULT_$LINE"
8215 else
8216 no_cache=1
8217 fi
8218
8219 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8220
8221 fi;
8222
8223 eval "$ac_cv_use_tabdialog"
8224 if test "$no_cache" != 1; then
8225 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8226 fi
8227
8228 if test "$wxUSE_TABDIALOG" = yes; then
8229 echo "$as_me:$LINENO: result: yes" >&5
8230 echo "${ECHO_T}yes" >&6
8231 else
8232 echo "$as_me:$LINENO: result: no" >&5
8233 echo "${ECHO_T}no" >&6
8234 fi
8235
8236
8237 enablestring=
8238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8239 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8240 no_cache=0
8241 # Check whether --enable-textctrl or --disable-textctrl was given.
8242 if test "${enable_textctrl+set}" = set; then
8243 enableval="$enable_textctrl"
8244
8245 if test "$enableval" = yes; then
8246 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8247 else
8248 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8249 fi
8250
8251 else
8252
8253 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8254 if test "x$LINE" != x ; then
8255 eval "DEFAULT_$LINE"
8256 else
8257 no_cache=1
8258 fi
8259
8260 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8261
8262 fi;
8263
8264 eval "$ac_cv_use_textctrl"
8265 if test "$no_cache" != 1; then
8266 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8267 fi
8268
8269 if test "$wxUSE_TEXTCTRL" = yes; then
8270 echo "$as_me:$LINENO: result: yes" >&5
8271 echo "${ECHO_T}yes" >&6
8272 else
8273 echo "$as_me:$LINENO: result: no" >&5
8274 echo "${ECHO_T}no" >&6
8275 fi
8276
8277
8278 enablestring=
8279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8280 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8281 no_cache=0
8282 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8283 if test "${enable_togglebtn+set}" = set; then
8284 enableval="$enable_togglebtn"
8285
8286 if test "$enableval" = yes; then
8287 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8288 else
8289 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8290 fi
8291
8292 else
8293
8294 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8295 if test "x$LINE" != x ; then
8296 eval "DEFAULT_$LINE"
8297 else
8298 no_cache=1
8299 fi
8300
8301 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8302
8303 fi;
8304
8305 eval "$ac_cv_use_togglebtn"
8306 if test "$no_cache" != 1; then
8307 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8308 fi
8309
8310 if test "$wxUSE_TOGGLEBTN" = yes; then
8311 echo "$as_me:$LINENO: result: yes" >&5
8312 echo "${ECHO_T}yes" >&6
8313 else
8314 echo "$as_me:$LINENO: result: no" >&5
8315 echo "${ECHO_T}no" >&6
8316 fi
8317
8318
8319 enablestring=
8320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8321 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8322 no_cache=0
8323 # Check whether --enable-toolbar or --disable-toolbar was given.
8324 if test "${enable_toolbar+set}" = set; then
8325 enableval="$enable_toolbar"
8326
8327 if test "$enableval" = yes; then
8328 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8329 else
8330 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8331 fi
8332
8333 else
8334
8335 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8336 if test "x$LINE" != x ; then
8337 eval "DEFAULT_$LINE"
8338 else
8339 no_cache=1
8340 fi
8341
8342 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8343
8344 fi;
8345
8346 eval "$ac_cv_use_toolbar"
8347 if test "$no_cache" != 1; then
8348 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8349 fi
8350
8351 if test "$wxUSE_TOOLBAR" = yes; then
8352 echo "$as_me:$LINENO: result: yes" >&5
8353 echo "${ECHO_T}yes" >&6
8354 else
8355 echo "$as_me:$LINENO: result: no" >&5
8356 echo "${ECHO_T}no" >&6
8357 fi
8358
8359
8360 enablestring=
8361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8362 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8363 no_cache=0
8364 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8365 if test "${enable_tbarnative+set}" = set; then
8366 enableval="$enable_tbarnative"
8367
8368 if test "$enableval" = yes; then
8369 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8370 else
8371 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8372 fi
8373
8374 else
8375
8376 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8377 if test "x$LINE" != x ; then
8378 eval "DEFAULT_$LINE"
8379 else
8380 no_cache=1
8381 fi
8382
8383 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8384
8385 fi;
8386
8387 eval "$ac_cv_use_tbarnative"
8388 if test "$no_cache" != 1; then
8389 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8390 fi
8391
8392 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8393 echo "$as_me:$LINENO: result: yes" >&5
8394 echo "${ECHO_T}yes" >&6
8395 else
8396 echo "$as_me:$LINENO: result: no" >&5
8397 echo "${ECHO_T}no" >&6
8398 fi
8399
8400
8401 enablestring=
8402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8403 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8404 no_cache=0
8405 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8406 if test "${enable_tbarsmpl+set}" = set; then
8407 enableval="$enable_tbarsmpl"
8408
8409 if test "$enableval" = yes; then
8410 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8411 else
8412 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8413 fi
8414
8415 else
8416
8417 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8418 if test "x$LINE" != x ; then
8419 eval "DEFAULT_$LINE"
8420 else
8421 no_cache=1
8422 fi
8423
8424 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8425
8426 fi;
8427
8428 eval "$ac_cv_use_tbarsmpl"
8429 if test "$no_cache" != 1; then
8430 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8431 fi
8432
8433 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8434 echo "$as_me:$LINENO: result: yes" >&5
8435 echo "${ECHO_T}yes" >&6
8436 else
8437 echo "$as_me:$LINENO: result: no" >&5
8438 echo "${ECHO_T}no" >&6
8439 fi
8440
8441
8442 enablestring=
8443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8444 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8445 no_cache=0
8446 # Check whether --enable-treectrl or --disable-treectrl was given.
8447 if test "${enable_treectrl+set}" = set; then
8448 enableval="$enable_treectrl"
8449
8450 if test "$enableval" = yes; then
8451 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8452 else
8453 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8454 fi
8455
8456 else
8457
8458 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8459 if test "x$LINE" != x ; then
8460 eval "DEFAULT_$LINE"
8461 else
8462 no_cache=1
8463 fi
8464
8465 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8466
8467 fi;
8468
8469 eval "$ac_cv_use_treectrl"
8470 if test "$no_cache" != 1; then
8471 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8472 fi
8473
8474 if test "$wxUSE_TREECTRL" = yes; then
8475 echo "$as_me:$LINENO: result: yes" >&5
8476 echo "${ECHO_T}yes" >&6
8477 else
8478 echo "$as_me:$LINENO: result: no" >&5
8479 echo "${ECHO_T}no" >&6
8480 fi
8481
8482
8483 enablestring=
8484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8485 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8486 no_cache=0
8487 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8488 if test "${enable_tipwindow+set}" = set; then
8489 enableval="$enable_tipwindow"
8490
8491 if test "$enableval" = yes; then
8492 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8493 else
8494 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8495 fi
8496
8497 else
8498
8499 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8500 if test "x$LINE" != x ; then
8501 eval "DEFAULT_$LINE"
8502 else
8503 no_cache=1
8504 fi
8505
8506 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8507
8508 fi;
8509
8510 eval "$ac_cv_use_tipwindow"
8511 if test "$no_cache" != 1; then
8512 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8513 fi
8514
8515 if test "$wxUSE_TIPWINDOW" = yes; then
8516 echo "$as_me:$LINENO: result: yes" >&5
8517 echo "${ECHO_T}yes" >&6
8518 else
8519 echo "$as_me:$LINENO: result: no" >&5
8520 echo "${ECHO_T}no" >&6
8521 fi
8522
8523
8524 enablestring=
8525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8526 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8527 no_cache=0
8528 # Check whether --enable-popupwin or --disable-popupwin was given.
8529 if test "${enable_popupwin+set}" = set; then
8530 enableval="$enable_popupwin"
8531
8532 if test "$enableval" = yes; then
8533 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8534 else
8535 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8536 fi
8537
8538 else
8539
8540 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8541 if test "x$LINE" != x ; then
8542 eval "DEFAULT_$LINE"
8543 else
8544 no_cache=1
8545 fi
8546
8547 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8548
8549 fi;
8550
8551 eval "$ac_cv_use_popupwin"
8552 if test "$no_cache" != 1; then
8553 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8554 fi
8555
8556 if test "$wxUSE_POPUPWIN" = yes; then
8557 echo "$as_me:$LINENO: result: yes" >&5
8558 echo "${ECHO_T}yes" >&6
8559 else
8560 echo "$as_me:$LINENO: result: no" >&5
8561 echo "${ECHO_T}no" >&6
8562 fi
8563
8564
8565
8566
8567 enablestring=
8568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8569 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8570 no_cache=0
8571 # Check whether --enable-commondlg or --disable-commondlg was given.
8572 if test "${enable_commondlg+set}" = set; then
8573 enableval="$enable_commondlg"
8574
8575 if test "$enableval" = yes; then
8576 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8577 else
8578 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8579 fi
8580
8581 else
8582
8583 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8584 if test "x$LINE" != x ; then
8585 eval "DEFAULT_$LINE"
8586 else
8587 no_cache=1
8588 fi
8589
8590 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8591
8592 fi;
8593
8594 eval "$ac_cv_use_commondlg"
8595 if test "$no_cache" != 1; then
8596 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8597 fi
8598
8599 if test "$wxUSE_COMMONDLGS" = yes; then
8600 echo "$as_me:$LINENO: result: yes" >&5
8601 echo "${ECHO_T}yes" >&6
8602 else
8603 echo "$as_me:$LINENO: result: no" >&5
8604 echo "${ECHO_T}no" >&6
8605 fi
8606
8607
8608 enablestring=
8609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8610 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8611 no_cache=0
8612 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8613 if test "${enable_choicedlg+set}" = set; then
8614 enableval="$enable_choicedlg"
8615
8616 if test "$enableval" = yes; then
8617 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8618 else
8619 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8620 fi
8621
8622 else
8623
8624 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8625 if test "x$LINE" != x ; then
8626 eval "DEFAULT_$LINE"
8627 else
8628 no_cache=1
8629 fi
8630
8631 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8632
8633 fi;
8634
8635 eval "$ac_cv_use_choicedlg"
8636 if test "$no_cache" != 1; then
8637 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8638 fi
8639
8640 if test "$wxUSE_CHOICEDLG" = yes; then
8641 echo "$as_me:$LINENO: result: yes" >&5
8642 echo "${ECHO_T}yes" >&6
8643 else
8644 echo "$as_me:$LINENO: result: no" >&5
8645 echo "${ECHO_T}no" >&6
8646 fi
8647
8648
8649 enablestring=
8650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8651 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8652 no_cache=0
8653 # Check whether --enable-coldlg or --disable-coldlg was given.
8654 if test "${enable_coldlg+set}" = set; then
8655 enableval="$enable_coldlg"
8656
8657 if test "$enableval" = yes; then
8658 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8659 else
8660 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8661 fi
8662
8663 else
8664
8665 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8666 if test "x$LINE" != x ; then
8667 eval "DEFAULT_$LINE"
8668 else
8669 no_cache=1
8670 fi
8671
8672 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8673
8674 fi;
8675
8676 eval "$ac_cv_use_coldlg"
8677 if test "$no_cache" != 1; then
8678 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8679 fi
8680
8681 if test "$wxUSE_COLOURDLG" = yes; then
8682 echo "$as_me:$LINENO: result: yes" >&5
8683 echo "${ECHO_T}yes" >&6
8684 else
8685 echo "$as_me:$LINENO: result: no" >&5
8686 echo "${ECHO_T}no" >&6
8687 fi
8688
8689
8690 enablestring=
8691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8692 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8693 no_cache=0
8694 # Check whether --enable-filedlg or --disable-filedlg was given.
8695 if test "${enable_filedlg+set}" = set; then
8696 enableval="$enable_filedlg"
8697
8698 if test "$enableval" = yes; then
8699 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8700 else
8701 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8702 fi
8703
8704 else
8705
8706 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8707 if test "x$LINE" != x ; then
8708 eval "DEFAULT_$LINE"
8709 else
8710 no_cache=1
8711 fi
8712
8713 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8714
8715 fi;
8716
8717 eval "$ac_cv_use_filedlg"
8718 if test "$no_cache" != 1; then
8719 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8720 fi
8721
8722 if test "$wxUSE_FILEDLG" = yes; then
8723 echo "$as_me:$LINENO: result: yes" >&5
8724 echo "${ECHO_T}yes" >&6
8725 else
8726 echo "$as_me:$LINENO: result: no" >&5
8727 echo "${ECHO_T}no" >&6
8728 fi
8729
8730
8731 enablestring=
8732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8733 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8734 no_cache=0
8735 # Check whether --enable-finddlg or --disable-finddlg was given.
8736 if test "${enable_finddlg+set}" = set; then
8737 enableval="$enable_finddlg"
8738
8739 if test "$enableval" = yes; then
8740 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8741 else
8742 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8743 fi
8744
8745 else
8746
8747 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8748 if test "x$LINE" != x ; then
8749 eval "DEFAULT_$LINE"
8750 else
8751 no_cache=1
8752 fi
8753
8754 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8755
8756 fi;
8757
8758 eval "$ac_cv_use_finddlg"
8759 if test "$no_cache" != 1; then
8760 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8761 fi
8762
8763 if test "$wxUSE_FINDREPLDLG" = yes; then
8764 echo "$as_me:$LINENO: result: yes" >&5
8765 echo "${ECHO_T}yes" >&6
8766 else
8767 echo "$as_me:$LINENO: result: no" >&5
8768 echo "${ECHO_T}no" >&6
8769 fi
8770
8771
8772 enablestring=
8773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8774 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8775 no_cache=0
8776 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8777 if test "${enable_fontdlg+set}" = set; then
8778 enableval="$enable_fontdlg"
8779
8780 if test "$enableval" = yes; then
8781 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8782 else
8783 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8784 fi
8785
8786 else
8787
8788 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8789 if test "x$LINE" != x ; then
8790 eval "DEFAULT_$LINE"
8791 else
8792 no_cache=1
8793 fi
8794
8795 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8796
8797 fi;
8798
8799 eval "$ac_cv_use_fontdlg"
8800 if test "$no_cache" != 1; then
8801 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8802 fi
8803
8804 if test "$wxUSE_FONTDLG" = yes; then
8805 echo "$as_me:$LINENO: result: yes" >&5
8806 echo "${ECHO_T}yes" >&6
8807 else
8808 echo "$as_me:$LINENO: result: no" >&5
8809 echo "${ECHO_T}no" >&6
8810 fi
8811
8812
8813 enablestring=
8814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8815 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8816 no_cache=0
8817 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8818 if test "${enable_dirdlg+set}" = set; then
8819 enableval="$enable_dirdlg"
8820
8821 if test "$enableval" = yes; then
8822 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8823 else
8824 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8825 fi
8826
8827 else
8828
8829 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8830 if test "x$LINE" != x ; then
8831 eval "DEFAULT_$LINE"
8832 else
8833 no_cache=1
8834 fi
8835
8836 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8837
8838 fi;
8839
8840 eval "$ac_cv_use_dirdlg"
8841 if test "$no_cache" != 1; then
8842 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8843 fi
8844
8845 if test "$wxUSE_DIRDLG" = yes; then
8846 echo "$as_me:$LINENO: result: yes" >&5
8847 echo "${ECHO_T}yes" >&6
8848 else
8849 echo "$as_me:$LINENO: result: no" >&5
8850 echo "${ECHO_T}no" >&6
8851 fi
8852
8853
8854 enablestring=
8855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8856 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8857 no_cache=0
8858 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8859 if test "${enable_msgdlg+set}" = set; then
8860 enableval="$enable_msgdlg"
8861
8862 if test "$enableval" = yes; then
8863 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8864 else
8865 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8866 fi
8867
8868 else
8869
8870 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8871 if test "x$LINE" != x ; then
8872 eval "DEFAULT_$LINE"
8873 else
8874 no_cache=1
8875 fi
8876
8877 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8878
8879 fi;
8880
8881 eval "$ac_cv_use_msgdlg"
8882 if test "$no_cache" != 1; then
8883 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8884 fi
8885
8886 if test "$wxUSE_MSGDLG" = yes; then
8887 echo "$as_me:$LINENO: result: yes" >&5
8888 echo "${ECHO_T}yes" >&6
8889 else
8890 echo "$as_me:$LINENO: result: no" >&5
8891 echo "${ECHO_T}no" >&6
8892 fi
8893
8894
8895 enablestring=
8896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8897 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8898 no_cache=0
8899 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8900 if test "${enable_numberdlg+set}" = set; then
8901 enableval="$enable_numberdlg"
8902
8903 if test "$enableval" = yes; then
8904 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8905 else
8906 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8907 fi
8908
8909 else
8910
8911 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8912 if test "x$LINE" != x ; then
8913 eval "DEFAULT_$LINE"
8914 else
8915 no_cache=1
8916 fi
8917
8918 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8919
8920 fi;
8921
8922 eval "$ac_cv_use_numberdlg"
8923 if test "$no_cache" != 1; then
8924 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8925 fi
8926
8927 if test "$wxUSE_NUMBERDLG" = yes; then
8928 echo "$as_me:$LINENO: result: yes" >&5
8929 echo "${ECHO_T}yes" >&6
8930 else
8931 echo "$as_me:$LINENO: result: no" >&5
8932 echo "${ECHO_T}no" >&6
8933 fi
8934
8935
8936 enablestring=
8937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8938 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8939 no_cache=0
8940 # Check whether --enable-splash or --disable-splash was given.
8941 if test "${enable_splash+set}" = set; then
8942 enableval="$enable_splash"
8943
8944 if test "$enableval" = yes; then
8945 ac_cv_use_splash='wxUSE_SPLASH=yes'
8946 else
8947 ac_cv_use_splash='wxUSE_SPLASH=no'
8948 fi
8949
8950 else
8951
8952 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8953 if test "x$LINE" != x ; then
8954 eval "DEFAULT_$LINE"
8955 else
8956 no_cache=1
8957 fi
8958
8959 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8960
8961 fi;
8962
8963 eval "$ac_cv_use_splash"
8964 if test "$no_cache" != 1; then
8965 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8966 fi
8967
8968 if test "$wxUSE_SPLASH" = yes; then
8969 echo "$as_me:$LINENO: result: yes" >&5
8970 echo "${ECHO_T}yes" >&6
8971 else
8972 echo "$as_me:$LINENO: result: no" >&5
8973 echo "${ECHO_T}no" >&6
8974 fi
8975
8976
8977 enablestring=
8978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8979 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8980 no_cache=0
8981 # Check whether --enable-textdlg or --disable-textdlg was given.
8982 if test "${enable_textdlg+set}" = set; then
8983 enableval="$enable_textdlg"
8984
8985 if test "$enableval" = yes; then
8986 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8987 else
8988 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8989 fi
8990
8991 else
8992
8993 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8994 if test "x$LINE" != x ; then
8995 eval "DEFAULT_$LINE"
8996 else
8997 no_cache=1
8998 fi
8999
9000 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9001
9002 fi;
9003
9004 eval "$ac_cv_use_textdlg"
9005 if test "$no_cache" != 1; then
9006 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9007 fi
9008
9009 if test "$wxUSE_TEXTDLG" = yes; then
9010 echo "$as_me:$LINENO: result: yes" >&5
9011 echo "${ECHO_T}yes" >&6
9012 else
9013 echo "$as_me:$LINENO: result: no" >&5
9014 echo "${ECHO_T}no" >&6
9015 fi
9016
9017
9018 enablestring=
9019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9020 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9021 no_cache=0
9022 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9023 if test "${enable_tipdlg+set}" = set; then
9024 enableval="$enable_tipdlg"
9025
9026 if test "$enableval" = yes; then
9027 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9028 else
9029 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9030 fi
9031
9032 else
9033
9034 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9035 if test "x$LINE" != x ; then
9036 eval "DEFAULT_$LINE"
9037 else
9038 no_cache=1
9039 fi
9040
9041 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9042
9043 fi;
9044
9045 eval "$ac_cv_use_tipdlg"
9046 if test "$no_cache" != 1; then
9047 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9048 fi
9049
9050 if test "$wxUSE_STARTUP_TIPS" = yes; then
9051 echo "$as_me:$LINENO: result: yes" >&5
9052 echo "${ECHO_T}yes" >&6
9053 else
9054 echo "$as_me:$LINENO: result: no" >&5
9055 echo "${ECHO_T}no" >&6
9056 fi
9057
9058
9059 enablestring=
9060 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9061 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9062 no_cache=0
9063 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9064 if test "${enable_progressdlg+set}" = set; then
9065 enableval="$enable_progressdlg"
9066
9067 if test "$enableval" = yes; then
9068 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9069 else
9070 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9071 fi
9072
9073 else
9074
9075 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9076 if test "x$LINE" != x ; then
9077 eval "DEFAULT_$LINE"
9078 else
9079 no_cache=1
9080 fi
9081
9082 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9083
9084 fi;
9085
9086 eval "$ac_cv_use_progressdlg"
9087 if test "$no_cache" != 1; then
9088 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9089 fi
9090
9091 if test "$wxUSE_PROGRESSDLG" = yes; then
9092 echo "$as_me:$LINENO: result: yes" >&5
9093 echo "${ECHO_T}yes" >&6
9094 else
9095 echo "$as_me:$LINENO: result: no" >&5
9096 echo "${ECHO_T}no" >&6
9097 fi
9098
9099
9100 enablestring=
9101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9102 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9103 no_cache=0
9104 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9105 if test "${enable_wizarddlg+set}" = set; then
9106 enableval="$enable_wizarddlg"
9107
9108 if test "$enableval" = yes; then
9109 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9110 else
9111 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9112 fi
9113
9114 else
9115
9116 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9117 if test "x$LINE" != x ; then
9118 eval "DEFAULT_$LINE"
9119 else
9120 no_cache=1
9121 fi
9122
9123 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9124
9125 fi;
9126
9127 eval "$ac_cv_use_wizarddlg"
9128 if test "$no_cache" != 1; then
9129 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9130 fi
9131
9132 if test "$wxUSE_WIZARDDLG" = yes; then
9133 echo "$as_me:$LINENO: result: yes" >&5
9134 echo "${ECHO_T}yes" >&6
9135 else
9136 echo "$as_me:$LINENO: result: no" >&5
9137 echo "${ECHO_T}no" >&6
9138 fi
9139
9140
9141
9142
9143 enablestring=
9144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9145 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9146 no_cache=0
9147 # Check whether --enable-menus or --disable-menus was given.
9148 if test "${enable_menus+set}" = set; then
9149 enableval="$enable_menus"
9150
9151 if test "$enableval" = yes; then
9152 ac_cv_use_menus='wxUSE_MENUS=yes'
9153 else
9154 ac_cv_use_menus='wxUSE_MENUS=no'
9155 fi
9156
9157 else
9158
9159 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9160 if test "x$LINE" != x ; then
9161 eval "DEFAULT_$LINE"
9162 else
9163 no_cache=1
9164 fi
9165
9166 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9167
9168 fi;
9169
9170 eval "$ac_cv_use_menus"
9171 if test "$no_cache" != 1; then
9172 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9173 fi
9174
9175 if test "$wxUSE_MENUS" = yes; then
9176 echo "$as_me:$LINENO: result: yes" >&5
9177 echo "${ECHO_T}yes" >&6
9178 else
9179 echo "$as_me:$LINENO: result: no" >&5
9180 echo "${ECHO_T}no" >&6
9181 fi
9182
9183
9184 enablestring=
9185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9186 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9187 no_cache=0
9188 # Check whether --enable-miniframe or --disable-miniframe was given.
9189 if test "${enable_miniframe+set}" = set; then
9190 enableval="$enable_miniframe"
9191
9192 if test "$enableval" = yes; then
9193 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9194 else
9195 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9196 fi
9197
9198 else
9199
9200 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9201 if test "x$LINE" != x ; then
9202 eval "DEFAULT_$LINE"
9203 else
9204 no_cache=1
9205 fi
9206
9207 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9208
9209 fi;
9210
9211 eval "$ac_cv_use_miniframe"
9212 if test "$no_cache" != 1; then
9213 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9214 fi
9215
9216 if test "$wxUSE_MINIFRAME" = yes; then
9217 echo "$as_me:$LINENO: result: yes" >&5
9218 echo "${ECHO_T}yes" >&6
9219 else
9220 echo "$as_me:$LINENO: result: no" >&5
9221 echo "${ECHO_T}no" >&6
9222 fi
9223
9224
9225 enablestring=
9226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9227 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9228 no_cache=0
9229 # Check whether --enable-tooltips or --disable-tooltips was given.
9230 if test "${enable_tooltips+set}" = set; then
9231 enableval="$enable_tooltips"
9232
9233 if test "$enableval" = yes; then
9234 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9235 else
9236 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9237 fi
9238
9239 else
9240
9241 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9242 if test "x$LINE" != x ; then
9243 eval "DEFAULT_$LINE"
9244 else
9245 no_cache=1
9246 fi
9247
9248 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9249
9250 fi;
9251
9252 eval "$ac_cv_use_tooltips"
9253 if test "$no_cache" != 1; then
9254 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9255 fi
9256
9257 if test "$wxUSE_TOOLTIPS" = yes; then
9258 echo "$as_me:$LINENO: result: yes" >&5
9259 echo "${ECHO_T}yes" >&6
9260 else
9261 echo "$as_me:$LINENO: result: no" >&5
9262 echo "${ECHO_T}no" >&6
9263 fi
9264
9265
9266 enablestring=
9267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9268 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9269 no_cache=0
9270 # Check whether --enable-splines or --disable-splines was given.
9271 if test "${enable_splines+set}" = set; then
9272 enableval="$enable_splines"
9273
9274 if test "$enableval" = yes; then
9275 ac_cv_use_splines='wxUSE_SPLINES=yes'
9276 else
9277 ac_cv_use_splines='wxUSE_SPLINES=no'
9278 fi
9279
9280 else
9281
9282 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9283 if test "x$LINE" != x ; then
9284 eval "DEFAULT_$LINE"
9285 else
9286 no_cache=1
9287 fi
9288
9289 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9290
9291 fi;
9292
9293 eval "$ac_cv_use_splines"
9294 if test "$no_cache" != 1; then
9295 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9296 fi
9297
9298 if test "$wxUSE_SPLINES" = yes; then
9299 echo "$as_me:$LINENO: result: yes" >&5
9300 echo "${ECHO_T}yes" >&6
9301 else
9302 echo "$as_me:$LINENO: result: no" >&5
9303 echo "${ECHO_T}no" >&6
9304 fi
9305
9306
9307 enablestring=
9308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9309 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9310 no_cache=0
9311 # Check whether --enable-validators or --disable-validators was given.
9312 if test "${enable_validators+set}" = set; then
9313 enableval="$enable_validators"
9314
9315 if test "$enableval" = yes; then
9316 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9317 else
9318 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9319 fi
9320
9321 else
9322
9323 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9324 if test "x$LINE" != x ; then
9325 eval "DEFAULT_$LINE"
9326 else
9327 no_cache=1
9328 fi
9329
9330 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9331
9332 fi;
9333
9334 eval "$ac_cv_use_validators"
9335 if test "$no_cache" != 1; then
9336 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9337 fi
9338
9339 if test "$wxUSE_VALIDATORS" = yes; then
9340 echo "$as_me:$LINENO: result: yes" >&5
9341 echo "${ECHO_T}yes" >&6
9342 else
9343 echo "$as_me:$LINENO: result: no" >&5
9344 echo "${ECHO_T}no" >&6
9345 fi
9346
9347
9348 enablestring=
9349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9350 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9351 no_cache=0
9352 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9353 if test "${enable_busyinfo+set}" = set; then
9354 enableval="$enable_busyinfo"
9355
9356 if test "$enableval" = yes; then
9357 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9358 else
9359 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9360 fi
9361
9362 else
9363
9364 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9365 if test "x$LINE" != x ; then
9366 eval "DEFAULT_$LINE"
9367 else
9368 no_cache=1
9369 fi
9370
9371 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9372
9373 fi;
9374
9375 eval "$ac_cv_use_busyinfo"
9376 if test "$no_cache" != 1; then
9377 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9378 fi
9379
9380 if test "$wxUSE_BUSYINFO" = yes; then
9381 echo "$as_me:$LINENO: result: yes" >&5
9382 echo "${ECHO_T}yes" >&6
9383 else
9384 echo "$as_me:$LINENO: result: no" >&5
9385 echo "${ECHO_T}no" >&6
9386 fi
9387
9388
9389 enablestring=
9390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9391 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9392 no_cache=0
9393 # Check whether --enable-joystick or --disable-joystick was given.
9394 if test "${enable_joystick+set}" = set; then
9395 enableval="$enable_joystick"
9396
9397 if test "$enableval" = yes; then
9398 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9399 else
9400 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9401 fi
9402
9403 else
9404
9405 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9406 if test "x$LINE" != x ; then
9407 eval "DEFAULT_$LINE"
9408 else
9409 no_cache=1
9410 fi
9411
9412 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9413
9414 fi;
9415
9416 eval "$ac_cv_use_joystick"
9417 if test "$no_cache" != 1; then
9418 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9419 fi
9420
9421 if test "$wxUSE_JOYSTICK" = yes; then
9422 echo "$as_me:$LINENO: result: yes" >&5
9423 echo "${ECHO_T}yes" >&6
9424 else
9425 echo "$as_me:$LINENO: result: no" >&5
9426 echo "${ECHO_T}no" >&6
9427 fi
9428
9429
9430 enablestring=
9431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9432 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9433 no_cache=0
9434 # Check whether --enable-metafile or --disable-metafile was given.
9435 if test "${enable_metafile+set}" = set; then
9436 enableval="$enable_metafile"
9437
9438 if test "$enableval" = yes; then
9439 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9440 else
9441 ac_cv_use_metafile='wxUSE_METAFILE=no'
9442 fi
9443
9444 else
9445
9446 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9447 if test "x$LINE" != x ; then
9448 eval "DEFAULT_$LINE"
9449 else
9450 no_cache=1
9451 fi
9452
9453 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9454
9455 fi;
9456
9457 eval "$ac_cv_use_metafile"
9458 if test "$no_cache" != 1; then
9459 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9460 fi
9461
9462 if test "$wxUSE_METAFILE" = yes; then
9463 echo "$as_me:$LINENO: result: yes" >&5
9464 echo "${ECHO_T}yes" >&6
9465 else
9466 echo "$as_me:$LINENO: result: no" >&5
9467 echo "${ECHO_T}no" >&6
9468 fi
9469
9470
9471 enablestring=
9472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9473 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9474 no_cache=0
9475 # Check whether --enable-dragimage or --disable-dragimage was given.
9476 if test "${enable_dragimage+set}" = set; then
9477 enableval="$enable_dragimage"
9478
9479 if test "$enableval" = yes; then
9480 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9481 else
9482 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9483 fi
9484
9485 else
9486
9487 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9488 if test "x$LINE" != x ; then
9489 eval "DEFAULT_$LINE"
9490 else
9491 no_cache=1
9492 fi
9493
9494 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9495
9496 fi;
9497
9498 eval "$ac_cv_use_dragimage"
9499 if test "$no_cache" != 1; then
9500 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9501 fi
9502
9503 if test "$wxUSE_DRAGIMAGE" = yes; then
9504 echo "$as_me:$LINENO: result: yes" >&5
9505 echo "${ECHO_T}yes" >&6
9506 else
9507 echo "$as_me:$LINENO: result: no" >&5
9508 echo "${ECHO_T}no" >&6
9509 fi
9510
9511
9512 enablestring=
9513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9514 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9515 no_cache=0
9516 # Check whether --enable-accessibility or --disable-accessibility was given.
9517 if test "${enable_accessibility+set}" = set; then
9518 enableval="$enable_accessibility"
9519
9520 if test "$enableval" = yes; then
9521 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9522 else
9523 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9524 fi
9525
9526 else
9527
9528 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9529 if test "x$LINE" != x ; then
9530 eval "DEFAULT_$LINE"
9531 else
9532 no_cache=1
9533 fi
9534
9535 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9536
9537 fi;
9538
9539 eval "$ac_cv_use_accessibility"
9540 if test "$no_cache" != 1; then
9541 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9542 fi
9543
9544 if test "$wxUSE_ACCESSIBILITY" = yes; then
9545 echo "$as_me:$LINENO: result: yes" >&5
9546 echo "${ECHO_T}yes" >&6
9547 else
9548 echo "$as_me:$LINENO: result: no" >&5
9549 echo "${ECHO_T}no" >&6
9550 fi
9551
9552
9553
9554
9555 enablestring=
9556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9557 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9558 no_cache=0
9559 # Check whether --enable-palette or --disable-palette was given.
9560 if test "${enable_palette+set}" = set; then
9561 enableval="$enable_palette"
9562
9563 if test "$enableval" = yes; then
9564 ac_cv_use_palette='wxUSE_PALETTE=yes'
9565 else
9566 ac_cv_use_palette='wxUSE_PALETTE=no'
9567 fi
9568
9569 else
9570
9571 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9572 if test "x$LINE" != x ; then
9573 eval "DEFAULT_$LINE"
9574 else
9575 no_cache=1
9576 fi
9577
9578 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9579
9580 fi;
9581
9582 eval "$ac_cv_use_palette"
9583 if test "$no_cache" != 1; then
9584 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9585 fi
9586
9587 if test "$wxUSE_PALETTE" = yes; then
9588 echo "$as_me:$LINENO: result: yes" >&5
9589 echo "${ECHO_T}yes" >&6
9590 else
9591 echo "$as_me:$LINENO: result: no" >&5
9592 echo "${ECHO_T}no" >&6
9593 fi
9594
9595
9596 enablestring=
9597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9598 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9599 no_cache=0
9600 # Check whether --enable-image or --disable-image was given.
9601 if test "${enable_image+set}" = set; then
9602 enableval="$enable_image"
9603
9604 if test "$enableval" = yes; then
9605 ac_cv_use_image='wxUSE_IMAGE=yes'
9606 else
9607 ac_cv_use_image='wxUSE_IMAGE=no'
9608 fi
9609
9610 else
9611
9612 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9613 if test "x$LINE" != x ; then
9614 eval "DEFAULT_$LINE"
9615 else
9616 no_cache=1
9617 fi
9618
9619 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9620
9621 fi;
9622
9623 eval "$ac_cv_use_image"
9624 if test "$no_cache" != 1; then
9625 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9626 fi
9627
9628 if test "$wxUSE_IMAGE" = yes; then
9629 echo "$as_me:$LINENO: result: yes" >&5
9630 echo "${ECHO_T}yes" >&6
9631 else
9632 echo "$as_me:$LINENO: result: no" >&5
9633 echo "${ECHO_T}no" >&6
9634 fi
9635
9636
9637 enablestring=
9638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9639 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9640 no_cache=0
9641 # Check whether --enable-gif or --disable-gif was given.
9642 if test "${enable_gif+set}" = set; then
9643 enableval="$enable_gif"
9644
9645 if test "$enableval" = yes; then
9646 ac_cv_use_gif='wxUSE_GIF=yes'
9647 else
9648 ac_cv_use_gif='wxUSE_GIF=no'
9649 fi
9650
9651 else
9652
9653 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9654 if test "x$LINE" != x ; then
9655 eval "DEFAULT_$LINE"
9656 else
9657 no_cache=1
9658 fi
9659
9660 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9661
9662 fi;
9663
9664 eval "$ac_cv_use_gif"
9665 if test "$no_cache" != 1; then
9666 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9667 fi
9668
9669 if test "$wxUSE_GIF" = yes; then
9670 echo "$as_me:$LINENO: result: yes" >&5
9671 echo "${ECHO_T}yes" >&6
9672 else
9673 echo "$as_me:$LINENO: result: no" >&5
9674 echo "${ECHO_T}no" >&6
9675 fi
9676
9677
9678 enablestring=
9679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9680 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9681 no_cache=0
9682 # Check whether --enable-pcx or --disable-pcx was given.
9683 if test "${enable_pcx+set}" = set; then
9684 enableval="$enable_pcx"
9685
9686 if test "$enableval" = yes; then
9687 ac_cv_use_pcx='wxUSE_PCX=yes'
9688 else
9689 ac_cv_use_pcx='wxUSE_PCX=no'
9690 fi
9691
9692 else
9693
9694 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9695 if test "x$LINE" != x ; then
9696 eval "DEFAULT_$LINE"
9697 else
9698 no_cache=1
9699 fi
9700
9701 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9702
9703 fi;
9704
9705 eval "$ac_cv_use_pcx"
9706 if test "$no_cache" != 1; then
9707 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9708 fi
9709
9710 if test "$wxUSE_PCX" = yes; then
9711 echo "$as_me:$LINENO: result: yes" >&5
9712 echo "${ECHO_T}yes" >&6
9713 else
9714 echo "$as_me:$LINENO: result: no" >&5
9715 echo "${ECHO_T}no" >&6
9716 fi
9717
9718
9719 enablestring=
9720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9721 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9722 no_cache=0
9723 # Check whether --enable-iff or --disable-iff was given.
9724 if test "${enable_iff+set}" = set; then
9725 enableval="$enable_iff"
9726
9727 if test "$enableval" = yes; then
9728 ac_cv_use_iff='wxUSE_IFF=yes'
9729 else
9730 ac_cv_use_iff='wxUSE_IFF=no'
9731 fi
9732
9733 else
9734
9735 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9736 if test "x$LINE" != x ; then
9737 eval "DEFAULT_$LINE"
9738 else
9739 no_cache=1
9740 fi
9741
9742 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9743
9744 fi;
9745
9746 eval "$ac_cv_use_iff"
9747 if test "$no_cache" != 1; then
9748 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9749 fi
9750
9751 if test "$wxUSE_IFF" = yes; then
9752 echo "$as_me:$LINENO: result: yes" >&5
9753 echo "${ECHO_T}yes" >&6
9754 else
9755 echo "$as_me:$LINENO: result: no" >&5
9756 echo "${ECHO_T}no" >&6
9757 fi
9758
9759
9760 enablestring=
9761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9762 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9763 no_cache=0
9764 # Check whether --enable-pnm or --disable-pnm was given.
9765 if test "${enable_pnm+set}" = set; then
9766 enableval="$enable_pnm"
9767
9768 if test "$enableval" = yes; then
9769 ac_cv_use_pnm='wxUSE_PNM=yes'
9770 else
9771 ac_cv_use_pnm='wxUSE_PNM=no'
9772 fi
9773
9774 else
9775
9776 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9777 if test "x$LINE" != x ; then
9778 eval "DEFAULT_$LINE"
9779 else
9780 no_cache=1
9781 fi
9782
9783 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9784
9785 fi;
9786
9787 eval "$ac_cv_use_pnm"
9788 if test "$no_cache" != 1; then
9789 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9790 fi
9791
9792 if test "$wxUSE_PNM" = yes; then
9793 echo "$as_me:$LINENO: result: yes" >&5
9794 echo "${ECHO_T}yes" >&6
9795 else
9796 echo "$as_me:$LINENO: result: no" >&5
9797 echo "${ECHO_T}no" >&6
9798 fi
9799
9800
9801 enablestring=
9802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9803 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9804 no_cache=0
9805 # Check whether --enable-xpm or --disable-xpm was given.
9806 if test "${enable_xpm+set}" = set; then
9807 enableval="$enable_xpm"
9808
9809 if test "$enableval" = yes; then
9810 ac_cv_use_xpm='wxUSE_XPM=yes'
9811 else
9812 ac_cv_use_xpm='wxUSE_XPM=no'
9813 fi
9814
9815 else
9816
9817 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9818 if test "x$LINE" != x ; then
9819 eval "DEFAULT_$LINE"
9820 else
9821 no_cache=1
9822 fi
9823
9824 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9825
9826 fi;
9827
9828 eval "$ac_cv_use_xpm"
9829 if test "$no_cache" != 1; then
9830 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9831 fi
9832
9833 if test "$wxUSE_XPM" = yes; then
9834 echo "$as_me:$LINENO: result: yes" >&5
9835 echo "${ECHO_T}yes" >&6
9836 else
9837 echo "$as_me:$LINENO: result: no" >&5
9838 echo "${ECHO_T}no" >&6
9839 fi
9840
9841
9842 enablestring=
9843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9844 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9845 no_cache=0
9846 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9847 if test "${enable_ico_cur+set}" = set; then
9848 enableval="$enable_ico_cur"
9849
9850 if test "$enableval" = yes; then
9851 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9852 else
9853 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9854 fi
9855
9856 else
9857
9858 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9859 if test "x$LINE" != x ; then
9860 eval "DEFAULT_$LINE"
9861 else
9862 no_cache=1
9863 fi
9864
9865 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9866
9867 fi;
9868
9869 eval "$ac_cv_use_ico_cur"
9870 if test "$no_cache" != 1; then
9871 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9872 fi
9873
9874 if test "$wxUSE_ICO_CUR" = yes; then
9875 echo "$as_me:$LINENO: result: yes" >&5
9876 echo "${ECHO_T}yes" >&6
9877 else
9878 echo "$as_me:$LINENO: result: no" >&5
9879 echo "${ECHO_T}no" >&6
9880 fi
9881
9882
9883 fi
9884
9885
9886
9887 enablestring=
9888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9889 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9890 no_cache=0
9891 # Check whether --enable-official_build or --disable-official_build was given.
9892 if test "${enable_official_build+set}" = set; then
9893 enableval="$enable_official_build"
9894
9895 if test "$enableval" = yes; then
9896 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9897 else
9898 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9899 fi
9900
9901 else
9902
9903 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9904 if test "x$LINE" != x ; then
9905 eval "DEFAULT_$LINE"
9906 else
9907 no_cache=1
9908 fi
9909
9910 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9911
9912 fi;
9913
9914 eval "$ac_cv_use_official_build"
9915 if test "$no_cache" != 1; then
9916 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9917 fi
9918
9919 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9920 echo "$as_me:$LINENO: result: yes" >&5
9921 echo "${ECHO_T}yes" >&6
9922 else
9923 echo "$as_me:$LINENO: result: no" >&5
9924 echo "${ECHO_T}no" >&6
9925 fi
9926
9927 # Check whether --enable-vendor or --disable-vendor was given.
9928 if test "${enable_vendor+set}" = set; then
9929 enableval="$enable_vendor"
9930 VENDOR="$enableval"
9931 fi;
9932 if test "x$VENDOR" = "x"; then
9933 VENDOR="custom"
9934 fi
9935
9936 case "${host}" in
9937 *-pc-os2_emx | *-pc-os2-emx )
9938 PATH_IFS=';'
9939 ;;
9940 *)
9941 PATH_IFS=':'
9942 ;;
9943 esac
9944
9945
9946
9947 echo "saving argument cache $wx_arg_cache_file"
9948 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9949
9950
9951
9952 echo "$as_me:$LINENO: checking for toolkit" >&5
9953 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9954
9955 # In Wine, we need to default to MSW, not GTK or MOTIF
9956 if test "$wxUSE_WINE" = "yes"; then
9957 DEFAULT_DEFAULT_wxUSE_GTK=0
9958 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9959 DEFAULT_DEFAULT_wxUSE_MSW=1
9960 wxUSE_SHARED=no
9961 fi
9962
9963 if test "$wxUSE_GUI" = "yes"; then
9964
9965 if test "$USE_BEOS" = 1; then
9966 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9967 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9968 { (exit 1); exit 1; }; }
9969 fi
9970
9971 if test "$TOOLKIT_GIVEN" = 1; then
9972 for toolkit in `echo $ALL_TOOLKITS`; do
9973 var=wxUSE_$toolkit
9974 eval "value=\$${var}"
9975 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9976 done
9977 else
9978 for toolkit in `echo $ALL_TOOLKITS`; do
9979 if test "$has_toolkit_in_cache" != 1; then
9980 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9981 else
9982 var=DEFAULT_wxUSE_$toolkit
9983 fi
9984 eval "wxUSE_$toolkit=\$${var}"
9985 done
9986 fi
9987
9988 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9989 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9990 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9991
9992 case "${host}" in
9993 *-pc-os2_emx | *-pc-os2-emx )
9994 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9995 esac
9996
9997 case "$NUM_TOOLKITS" in
9998 1)
9999 ;;
10000 0)
10001 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10002 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10003 { (exit 1); exit 1; }; }
10004 ;;
10005 *)
10006 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10007 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10008 { (exit 1); exit 1; }; }
10009 esac
10010
10011 for toolkit in `echo $ALL_TOOLKITS`; do
10012 var=wxUSE_$toolkit
10013 eval "value=\$${var}"
10014 if test "x$value" != x; then
10015 cache_var=CACHE_$toolkit
10016 eval "cache=\$${cache_var}"
10017 if test "$cache" = 1; then
10018 echo "$var=$value" >> ${wx_arg_cache_file}
10019 fi
10020 if test "$value" = 1; then
10021 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10022 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10023 echo "${ECHO_T}$toolkit_echo" >&6
10024 fi
10025 fi
10026 done
10027 else
10028 if test "x$host_alias" != "x"; then
10029 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10030 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10031 else
10032 echo "$as_me:$LINENO: result: base only" >&5
10033 echo "${ECHO_T}base only" >&6
10034 fi
10035 fi
10036
10037 wants_win32=0
10038 doesnt_want_win32=0
10039 case "${host}" in
10040 *-*-cygwin*)
10041 if test "$wxUSE_MSW" = 1 ; then
10042 wants_win32=1
10043 else
10044 doesnt_want_win32=1
10045 fi
10046 ;;
10047 *-*-mingw*)
10048 wants_win32=1
10049 ;;
10050 esac
10051
10052 if test "$wxUSE_WINE" = "yes"; then
10053 wants_win32=1
10054 CC=winegcc
10055 CXX=wineg++
10056 RESCOMP=wrc
10057 LDFLAGS_GUI="-mwindows"
10058 fi
10059
10060 if test "$wants_win32" = 1 ; then
10061 USE_UNIX=0
10062 USE_WIN32=1
10063 cat >>confdefs.h <<\_ACEOF
10064 #define __WIN32__ 1
10065 _ACEOF
10066
10067 cat >>confdefs.h <<\_ACEOF
10068 #define __WIN95__ 1
10069 _ACEOF
10070
10071 cat >>confdefs.h <<\_ACEOF
10072 #define __WINDOWS__ 1
10073 _ACEOF
10074
10075 cat >>confdefs.h <<\_ACEOF
10076 #define __GNUWIN32__ 1
10077 _ACEOF
10078
10079 cat >>confdefs.h <<\_ACEOF
10080 #define STRICT 1
10081 _ACEOF
10082
10083 cat >>confdefs.h <<\_ACEOF
10084 #define WINVER 0x0400
10085 _ACEOF
10086
10087 fi
10088 if test "$doesnt_want_win32" = 1 ; then
10089 USE_UNIX=1
10090 USE_WIN32=0
10091 fi
10092
10093 if test "$USE_UNIX" = 1 ; then
10094 wxUSE_UNIX=yes
10095 cat >>confdefs.h <<\_ACEOF
10096 #define __UNIX__ 1
10097 _ACEOF
10098
10099 fi
10100
10101
10102 cat >confcache <<\_ACEOF
10103 # This file is a shell script that caches the results of configure
10104 # tests run on this system so they can be shared between configure
10105 # scripts and configure runs, see configure's option --config-cache.
10106 # It is not useful on other systems. If it contains results you don't
10107 # want to keep, you may remove or edit it.
10108 #
10109 # config.status only pays attention to the cache file if you give it
10110 # the --recheck option to rerun configure.
10111 #
10112 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10113 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10114 # following values.
10115
10116 _ACEOF
10117
10118 # The following way of writing the cache mishandles newlines in values,
10119 # but we know of no workaround that is simple, portable, and efficient.
10120 # So, don't put newlines in cache variables' values.
10121 # Ultrix sh set writes to stderr and can't be redirected directly,
10122 # and sets the high bit in the cache file unless we assign to the vars.
10123 {
10124 (set) 2>&1 |
10125 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10126 *ac_space=\ *)
10127 # `set' does not quote correctly, so add quotes (double-quote
10128 # substitution turns \\\\ into \\, and sed turns \\ into \).
10129 sed -n \
10130 "s/'/'\\\\''/g;
10131 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10132 ;;
10133 *)
10134 # `set' quotes correctly as required by POSIX, so do not add quotes.
10135 sed -n \
10136 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10137 ;;
10138 esac;
10139 } |
10140 sed '
10141 t clear
10142 : clear
10143 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10144 t end
10145 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10146 : end' >>confcache
10147 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10148 if test -w $cache_file; then
10149 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10150 cat confcache >$cache_file
10151 else
10152 echo "not updating unwritable cache $cache_file"
10153 fi
10154 fi
10155 rm -f confcache
10156
10157 if test "$build" != "$host" ; then
10158 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10159 CC=$host_alias-gcc
10160 CXX=$host_alias-c++
10161 AR=$host_alias-ar
10162 RANLIB=$host_alias-ranlib
10163 DLLTOOL=$host_alias-dlltool
10164 RESCOMP=$host_alias-windres
10165 LD=$host_alias-ld
10166 NM=$host_alias-nm
10167 STRIP=$host_alias-strip
10168 else
10169 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10170 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10171 { (exit 1); exit 1; }; }
10172 fi
10173 fi
10174
10175 CFLAGS=${CFLAGS:=}
10176 ac_ext=c
10177 ac_cpp='$CPP $CPPFLAGS'
10178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10181 if test -n "$ac_tool_prefix"; then
10182 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10183 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10184 echo "$as_me:$LINENO: checking for $ac_word" >&5
10185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10186 if test "${ac_cv_prog_CC+set}" = set; then
10187 echo $ECHO_N "(cached) $ECHO_C" >&6
10188 else
10189 if test -n "$CC"; then
10190 ac_cv_prog_CC="$CC" # Let the user override the test.
10191 else
10192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10193 for as_dir in $PATH
10194 do
10195 IFS=$as_save_IFS
10196 test -z "$as_dir" && as_dir=.
10197 for ac_exec_ext in '' $ac_executable_extensions; do
10198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10199 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10201 break 2
10202 fi
10203 done
10204 done
10205
10206 fi
10207 fi
10208 CC=$ac_cv_prog_CC
10209 if test -n "$CC"; then
10210 echo "$as_me:$LINENO: result: $CC" >&5
10211 echo "${ECHO_T}$CC" >&6
10212 else
10213 echo "$as_me:$LINENO: result: no" >&5
10214 echo "${ECHO_T}no" >&6
10215 fi
10216
10217 fi
10218 if test -z "$ac_cv_prog_CC"; then
10219 ac_ct_CC=$CC
10220 # Extract the first word of "gcc", so it can be a program name with args.
10221 set dummy gcc; ac_word=$2
10222 echo "$as_me:$LINENO: checking for $ac_word" >&5
10223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10224 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10225 echo $ECHO_N "(cached) $ECHO_C" >&6
10226 else
10227 if test -n "$ac_ct_CC"; then
10228 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10229 else
10230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10231 for as_dir in $PATH
10232 do
10233 IFS=$as_save_IFS
10234 test -z "$as_dir" && as_dir=.
10235 for ac_exec_ext in '' $ac_executable_extensions; do
10236 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10237 ac_cv_prog_ac_ct_CC="gcc"
10238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10239 break 2
10240 fi
10241 done
10242 done
10243
10244 fi
10245 fi
10246 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10247 if test -n "$ac_ct_CC"; then
10248 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10249 echo "${ECHO_T}$ac_ct_CC" >&6
10250 else
10251 echo "$as_me:$LINENO: result: no" >&5
10252 echo "${ECHO_T}no" >&6
10253 fi
10254
10255 CC=$ac_ct_CC
10256 else
10257 CC="$ac_cv_prog_CC"
10258 fi
10259
10260 if test -z "$CC"; then
10261 if test -n "$ac_tool_prefix"; then
10262 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10263 set dummy ${ac_tool_prefix}cc; ac_word=$2
10264 echo "$as_me:$LINENO: checking for $ac_word" >&5
10265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10266 if test "${ac_cv_prog_CC+set}" = set; then
10267 echo $ECHO_N "(cached) $ECHO_C" >&6
10268 else
10269 if test -n "$CC"; then
10270 ac_cv_prog_CC="$CC" # Let the user override the test.
10271 else
10272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10273 for as_dir in $PATH
10274 do
10275 IFS=$as_save_IFS
10276 test -z "$as_dir" && as_dir=.
10277 for ac_exec_ext in '' $ac_executable_extensions; do
10278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10279 ac_cv_prog_CC="${ac_tool_prefix}cc"
10280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10281 break 2
10282 fi
10283 done
10284 done
10285
10286 fi
10287 fi
10288 CC=$ac_cv_prog_CC
10289 if test -n "$CC"; then
10290 echo "$as_me:$LINENO: result: $CC" >&5
10291 echo "${ECHO_T}$CC" >&6
10292 else
10293 echo "$as_me:$LINENO: result: no" >&5
10294 echo "${ECHO_T}no" >&6
10295 fi
10296
10297 fi
10298 if test -z "$ac_cv_prog_CC"; then
10299 ac_ct_CC=$CC
10300 # Extract the first word of "cc", so it can be a program name with args.
10301 set dummy cc; ac_word=$2
10302 echo "$as_me:$LINENO: checking for $ac_word" >&5
10303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10304 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10305 echo $ECHO_N "(cached) $ECHO_C" >&6
10306 else
10307 if test -n "$ac_ct_CC"; then
10308 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10309 else
10310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10311 for as_dir in $PATH
10312 do
10313 IFS=$as_save_IFS
10314 test -z "$as_dir" && as_dir=.
10315 for ac_exec_ext in '' $ac_executable_extensions; do
10316 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10317 ac_cv_prog_ac_ct_CC="cc"
10318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10319 break 2
10320 fi
10321 done
10322 done
10323
10324 fi
10325 fi
10326 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10327 if test -n "$ac_ct_CC"; then
10328 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10329 echo "${ECHO_T}$ac_ct_CC" >&6
10330 else
10331 echo "$as_me:$LINENO: result: no" >&5
10332 echo "${ECHO_T}no" >&6
10333 fi
10334
10335 CC=$ac_ct_CC
10336 else
10337 CC="$ac_cv_prog_CC"
10338 fi
10339
10340 fi
10341 if test -z "$CC"; then
10342 # Extract the first word of "cc", so it can be a program name with args.
10343 set dummy cc; ac_word=$2
10344 echo "$as_me:$LINENO: checking for $ac_word" >&5
10345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10346 if test "${ac_cv_prog_CC+set}" = set; then
10347 echo $ECHO_N "(cached) $ECHO_C" >&6
10348 else
10349 if test -n "$CC"; then
10350 ac_cv_prog_CC="$CC" # Let the user override the test.
10351 else
10352 ac_prog_rejected=no
10353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10354 for as_dir in $PATH
10355 do
10356 IFS=$as_save_IFS
10357 test -z "$as_dir" && as_dir=.
10358 for ac_exec_ext in '' $ac_executable_extensions; do
10359 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10360 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10361 ac_prog_rejected=yes
10362 continue
10363 fi
10364 ac_cv_prog_CC="cc"
10365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10366 break 2
10367 fi
10368 done
10369 done
10370
10371 if test $ac_prog_rejected = yes; then
10372 # We found a bogon in the path, so make sure we never use it.
10373 set dummy $ac_cv_prog_CC
10374 shift
10375 if test $# != 0; then
10376 # We chose a different compiler from the bogus one.
10377 # However, it has the same basename, so the bogon will be chosen
10378 # first if we set CC to just the basename; use the full file name.
10379 shift
10380 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10381 fi
10382 fi
10383 fi
10384 fi
10385 CC=$ac_cv_prog_CC
10386 if test -n "$CC"; then
10387 echo "$as_me:$LINENO: result: $CC" >&5
10388 echo "${ECHO_T}$CC" >&6
10389 else
10390 echo "$as_me:$LINENO: result: no" >&5
10391 echo "${ECHO_T}no" >&6
10392 fi
10393
10394 fi
10395 if test -z "$CC"; then
10396 if test -n "$ac_tool_prefix"; then
10397 for ac_prog in cl
10398 do
10399 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10400 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10401 echo "$as_me:$LINENO: checking for $ac_word" >&5
10402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10403 if test "${ac_cv_prog_CC+set}" = set; then
10404 echo $ECHO_N "(cached) $ECHO_C" >&6
10405 else
10406 if test -n "$CC"; then
10407 ac_cv_prog_CC="$CC" # Let the user override the test.
10408 else
10409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10410 for as_dir in $PATH
10411 do
10412 IFS=$as_save_IFS
10413 test -z "$as_dir" && as_dir=.
10414 for ac_exec_ext in '' $ac_executable_extensions; do
10415 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10416 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10418 break 2
10419 fi
10420 done
10421 done
10422
10423 fi
10424 fi
10425 CC=$ac_cv_prog_CC
10426 if test -n "$CC"; then
10427 echo "$as_me:$LINENO: result: $CC" >&5
10428 echo "${ECHO_T}$CC" >&6
10429 else
10430 echo "$as_me:$LINENO: result: no" >&5
10431 echo "${ECHO_T}no" >&6
10432 fi
10433
10434 test -n "$CC" && break
10435 done
10436 fi
10437 if test -z "$CC"; then
10438 ac_ct_CC=$CC
10439 for ac_prog in cl
10440 do
10441 # Extract the first word of "$ac_prog", so it can be a program name with args.
10442 set dummy $ac_prog; ac_word=$2
10443 echo "$as_me:$LINENO: checking for $ac_word" >&5
10444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10445 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10446 echo $ECHO_N "(cached) $ECHO_C" >&6
10447 else
10448 if test -n "$ac_ct_CC"; then
10449 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10450 else
10451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10452 for as_dir in $PATH
10453 do
10454 IFS=$as_save_IFS
10455 test -z "$as_dir" && as_dir=.
10456 for ac_exec_ext in '' $ac_executable_extensions; do
10457 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10458 ac_cv_prog_ac_ct_CC="$ac_prog"
10459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10460 break 2
10461 fi
10462 done
10463 done
10464
10465 fi
10466 fi
10467 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10468 if test -n "$ac_ct_CC"; then
10469 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10470 echo "${ECHO_T}$ac_ct_CC" >&6
10471 else
10472 echo "$as_me:$LINENO: result: no" >&5
10473 echo "${ECHO_T}no" >&6
10474 fi
10475
10476 test -n "$ac_ct_CC" && break
10477 done
10478
10479 CC=$ac_ct_CC
10480 fi
10481
10482 fi
10483
10484
10485 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10486 See \`config.log' for more details." >&5
10487 echo "$as_me: error: no acceptable C compiler found in \$PATH
10488 See \`config.log' for more details." >&2;}
10489 { (exit 1); exit 1; }; }
10490
10491 # Provide some information about the compiler.
10492 echo "$as_me:$LINENO:" \
10493 "checking for C compiler version" >&5
10494 ac_compiler=`set X $ac_compile; echo $2`
10495 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10496 (eval $ac_compiler --version </dev/null >&5) 2>&5
10497 ac_status=$?
10498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10499 (exit $ac_status); }
10500 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10501 (eval $ac_compiler -v </dev/null >&5) 2>&5
10502 ac_status=$?
10503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10504 (exit $ac_status); }
10505 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10506 (eval $ac_compiler -V </dev/null >&5) 2>&5
10507 ac_status=$?
10508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10509 (exit $ac_status); }
10510
10511 cat >conftest.$ac_ext <<_ACEOF
10512 /* confdefs.h. */
10513 _ACEOF
10514 cat confdefs.h >>conftest.$ac_ext
10515 cat >>conftest.$ac_ext <<_ACEOF
10516 /* end confdefs.h. */
10517
10518 int
10519 main ()
10520 {
10521
10522 ;
10523 return 0;
10524 }
10525 _ACEOF
10526 ac_clean_files_save=$ac_clean_files
10527 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10528 # Try to create an executable without -o first, disregard a.out.
10529 # It will help us diagnose broken compilers, and finding out an intuition
10530 # of exeext.
10531 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10532 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10533 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10534 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10535 (eval $ac_link_default) 2>&5
10536 ac_status=$?
10537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10538 (exit $ac_status); }; then
10539 # Find the output, starting from the most likely. This scheme is
10540 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10541 # resort.
10542
10543 # Be careful to initialize this variable, since it used to be cached.
10544 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10545 ac_cv_exeext=
10546 # b.out is created by i960 compilers.
10547 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10548 do
10549 test -f "$ac_file" || continue
10550 case $ac_file in
10551 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10552 ;;
10553 conftest.$ac_ext )
10554 # This is the source file.
10555 ;;
10556 [ab].out )
10557 # We found the default executable, but exeext='' is most
10558 # certainly right.
10559 break;;
10560 *.* )
10561 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10562 # FIXME: I believe we export ac_cv_exeext for Libtool,
10563 # but it would be cool to find out if it's true. Does anybody
10564 # maintain Libtool? --akim.
10565 export ac_cv_exeext
10566 break;;
10567 * )
10568 break;;
10569 esac
10570 done
10571 else
10572 echo "$as_me: failed program was:" >&5
10573 sed 's/^/| /' conftest.$ac_ext >&5
10574
10575 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10576 See \`config.log' for more details." >&5
10577 echo "$as_me: error: C compiler cannot create executables
10578 See \`config.log' for more details." >&2;}
10579 { (exit 77); exit 77; }; }
10580 fi
10581
10582 ac_exeext=$ac_cv_exeext
10583 echo "$as_me:$LINENO: result: $ac_file" >&5
10584 echo "${ECHO_T}$ac_file" >&6
10585
10586 # Check the compiler produces executables we can run. If not, either
10587 # the compiler is broken, or we cross compile.
10588 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10589 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10590 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10591 # If not cross compiling, check that we can run a simple program.
10592 if test "$cross_compiling" != yes; then
10593 if { ac_try='./$ac_file'
10594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10595 (eval $ac_try) 2>&5
10596 ac_status=$?
10597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10598 (exit $ac_status); }; }; then
10599 cross_compiling=no
10600 else
10601 if test "$cross_compiling" = maybe; then
10602 cross_compiling=yes
10603 else
10604 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10605 If you meant to cross compile, use \`--host'.
10606 See \`config.log' for more details." >&5
10607 echo "$as_me: error: cannot run C compiled programs.
10608 If you meant to cross compile, use \`--host'.
10609 See \`config.log' for more details." >&2;}
10610 { (exit 1); exit 1; }; }
10611 fi
10612 fi
10613 fi
10614 echo "$as_me:$LINENO: result: yes" >&5
10615 echo "${ECHO_T}yes" >&6
10616
10617 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10618 ac_clean_files=$ac_clean_files_save
10619 # Check the compiler produces executables we can run. If not, either
10620 # the compiler is broken, or we cross compile.
10621 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10622 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10623 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10624 echo "${ECHO_T}$cross_compiling" >&6
10625
10626 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10627 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10629 (eval $ac_link) 2>&5
10630 ac_status=$?
10631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10632 (exit $ac_status); }; then
10633 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10634 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10635 # work properly (i.e., refer to `conftest.exe'), while it won't with
10636 # `rm'.
10637 for ac_file in conftest.exe conftest conftest.*; do
10638 test -f "$ac_file" || continue
10639 case $ac_file in
10640 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10641 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10642 export ac_cv_exeext
10643 break;;
10644 * ) break;;
10645 esac
10646 done
10647 else
10648 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10649 See \`config.log' for more details." >&5
10650 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10651 See \`config.log' for more details." >&2;}
10652 { (exit 1); exit 1; }; }
10653 fi
10654
10655 rm -f conftest$ac_cv_exeext
10656 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10657 echo "${ECHO_T}$ac_cv_exeext" >&6
10658
10659 rm -f conftest.$ac_ext
10660 EXEEXT=$ac_cv_exeext
10661 ac_exeext=$EXEEXT
10662 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10663 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10664 if test "${ac_cv_objext+set}" = set; then
10665 echo $ECHO_N "(cached) $ECHO_C" >&6
10666 else
10667 cat >conftest.$ac_ext <<_ACEOF
10668 /* confdefs.h. */
10669 _ACEOF
10670 cat confdefs.h >>conftest.$ac_ext
10671 cat >>conftest.$ac_ext <<_ACEOF
10672 /* end confdefs.h. */
10673
10674 int
10675 main ()
10676 {
10677
10678 ;
10679 return 0;
10680 }
10681 _ACEOF
10682 rm -f conftest.o conftest.obj
10683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10684 (eval $ac_compile) 2>&5
10685 ac_status=$?
10686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10687 (exit $ac_status); }; then
10688 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10689 case $ac_file in
10690 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10691 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10692 break;;
10693 esac
10694 done
10695 else
10696 echo "$as_me: failed program was:" >&5
10697 sed 's/^/| /' conftest.$ac_ext >&5
10698
10699 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10700 See \`config.log' for more details." >&5
10701 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10702 See \`config.log' for more details." >&2;}
10703 { (exit 1); exit 1; }; }
10704 fi
10705
10706 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10707 fi
10708 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10709 echo "${ECHO_T}$ac_cv_objext" >&6
10710 OBJEXT=$ac_cv_objext
10711 ac_objext=$OBJEXT
10712 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10713 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10714 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10715 echo $ECHO_N "(cached) $ECHO_C" >&6
10716 else
10717 cat >conftest.$ac_ext <<_ACEOF
10718 /* confdefs.h. */
10719 _ACEOF
10720 cat confdefs.h >>conftest.$ac_ext
10721 cat >>conftest.$ac_ext <<_ACEOF
10722 /* end confdefs.h. */
10723
10724 int
10725 main ()
10726 {
10727 #ifndef __GNUC__
10728 choke me
10729 #endif
10730
10731 ;
10732 return 0;
10733 }
10734 _ACEOF
10735 rm -f conftest.$ac_objext
10736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10737 (eval $ac_compile) 2>conftest.er1
10738 ac_status=$?
10739 grep -v '^ *+' conftest.er1 >conftest.err
10740 rm -f conftest.er1
10741 cat conftest.err >&5
10742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10743 (exit $ac_status); } &&
10744 { ac_try='test -z "$ac_c_werror_flag"
10745 || test ! -s conftest.err'
10746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10747 (eval $ac_try) 2>&5
10748 ac_status=$?
10749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10750 (exit $ac_status); }; } &&
10751 { ac_try='test -s conftest.$ac_objext'
10752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10753 (eval $ac_try) 2>&5
10754 ac_status=$?
10755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10756 (exit $ac_status); }; }; then
10757 ac_compiler_gnu=yes
10758 else
10759 echo "$as_me: failed program was:" >&5
10760 sed 's/^/| /' conftest.$ac_ext >&5
10761
10762 ac_compiler_gnu=no
10763 fi
10764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10765 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10766
10767 fi
10768 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10769 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10770 GCC=`test $ac_compiler_gnu = yes && echo yes`
10771 ac_test_CFLAGS=${CFLAGS+set}
10772 ac_save_CFLAGS=$CFLAGS
10773 CFLAGS="-g"
10774 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10775 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10776 if test "${ac_cv_prog_cc_g+set}" = set; then
10777 echo $ECHO_N "(cached) $ECHO_C" >&6
10778 else
10779 cat >conftest.$ac_ext <<_ACEOF
10780 /* confdefs.h. */
10781 _ACEOF
10782 cat confdefs.h >>conftest.$ac_ext
10783 cat >>conftest.$ac_ext <<_ACEOF
10784 /* end confdefs.h. */
10785
10786 int
10787 main ()
10788 {
10789
10790 ;
10791 return 0;
10792 }
10793 _ACEOF
10794 rm -f conftest.$ac_objext
10795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10796 (eval $ac_compile) 2>conftest.er1
10797 ac_status=$?
10798 grep -v '^ *+' conftest.er1 >conftest.err
10799 rm -f conftest.er1
10800 cat conftest.err >&5
10801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10802 (exit $ac_status); } &&
10803 { ac_try='test -z "$ac_c_werror_flag"
10804 || test ! -s conftest.err'
10805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10806 (eval $ac_try) 2>&5
10807 ac_status=$?
10808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10809 (exit $ac_status); }; } &&
10810 { ac_try='test -s conftest.$ac_objext'
10811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10812 (eval $ac_try) 2>&5
10813 ac_status=$?
10814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10815 (exit $ac_status); }; }; then
10816 ac_cv_prog_cc_g=yes
10817 else
10818 echo "$as_me: failed program was:" >&5
10819 sed 's/^/| /' conftest.$ac_ext >&5
10820
10821 ac_cv_prog_cc_g=no
10822 fi
10823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10824 fi
10825 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10826 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10827 if test "$ac_test_CFLAGS" = set; then
10828 CFLAGS=$ac_save_CFLAGS
10829 elif test $ac_cv_prog_cc_g = yes; then
10830 if test "$GCC" = yes; then
10831 CFLAGS="-g -O2"
10832 else
10833 CFLAGS="-g"
10834 fi
10835 else
10836 if test "$GCC" = yes; then
10837 CFLAGS="-O2"
10838 else
10839 CFLAGS=
10840 fi
10841 fi
10842 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10843 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10844 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10845 echo $ECHO_N "(cached) $ECHO_C" >&6
10846 else
10847 ac_cv_prog_cc_stdc=no
10848 ac_save_CC=$CC
10849 cat >conftest.$ac_ext <<_ACEOF
10850 /* confdefs.h. */
10851 _ACEOF
10852 cat confdefs.h >>conftest.$ac_ext
10853 cat >>conftest.$ac_ext <<_ACEOF
10854 /* end confdefs.h. */
10855 #include <stdarg.h>
10856 #include <stdio.h>
10857 #include <sys/types.h>
10858 #include <sys/stat.h>
10859 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10860 struct buf { int x; };
10861 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10862 static char *e (p, i)
10863 char **p;
10864 int i;
10865 {
10866 return p[i];
10867 }
10868 static char *f (char * (*g) (char **, int), char **p, ...)
10869 {
10870 char *s;
10871 va_list v;
10872 va_start (v,p);
10873 s = g (p, va_arg (v,int));
10874 va_end (v);
10875 return s;
10876 }
10877
10878 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10879 function prototypes and stuff, but not '\xHH' hex character constants.
10880 These don't provoke an error unfortunately, instead are silently treated
10881 as 'x'. The following induces an error, until -std1 is added to get
10882 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10883 array size at least. It's necessary to write '\x00'==0 to get something
10884 that's true only with -std1. */
10885 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10886
10887 int test (int i, double x);
10888 struct s1 {int (*f) (int a);};
10889 struct s2 {int (*f) (double a);};
10890 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10891 int argc;
10892 char **argv;
10893 int
10894 main ()
10895 {
10896 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10897 ;
10898 return 0;
10899 }
10900 _ACEOF
10901 # Don't try gcc -ansi; that turns off useful extensions and
10902 # breaks some systems' header files.
10903 # AIX -qlanglvl=ansi
10904 # Ultrix and OSF/1 -std1
10905 # HP-UX 10.20 and later -Ae
10906 # HP-UX older versions -Aa -D_HPUX_SOURCE
10907 # SVR4 -Xc -D__EXTENSIONS__
10908 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10909 do
10910 CC="$ac_save_CC $ac_arg"
10911 rm -f conftest.$ac_objext
10912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10913 (eval $ac_compile) 2>conftest.er1
10914 ac_status=$?
10915 grep -v '^ *+' conftest.er1 >conftest.err
10916 rm -f conftest.er1
10917 cat conftest.err >&5
10918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10919 (exit $ac_status); } &&
10920 { ac_try='test -z "$ac_c_werror_flag"
10921 || test ! -s conftest.err'
10922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10923 (eval $ac_try) 2>&5
10924 ac_status=$?
10925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10926 (exit $ac_status); }; } &&
10927 { ac_try='test -s conftest.$ac_objext'
10928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10929 (eval $ac_try) 2>&5
10930 ac_status=$?
10931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10932 (exit $ac_status); }; }; then
10933 ac_cv_prog_cc_stdc=$ac_arg
10934 break
10935 else
10936 echo "$as_me: failed program was:" >&5
10937 sed 's/^/| /' conftest.$ac_ext >&5
10938
10939 fi
10940 rm -f conftest.err conftest.$ac_objext
10941 done
10942 rm -f conftest.$ac_ext conftest.$ac_objext
10943 CC=$ac_save_CC
10944
10945 fi
10946
10947 case "x$ac_cv_prog_cc_stdc" in
10948 x|xno)
10949 echo "$as_me:$LINENO: result: none needed" >&5
10950 echo "${ECHO_T}none needed" >&6 ;;
10951 *)
10952 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10953 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10954 CC="$CC $ac_cv_prog_cc_stdc" ;;
10955 esac
10956
10957 # Some people use a C++ compiler to compile C. Since we use `exit',
10958 # in C++ we need to declare it. In case someone uses the same compiler
10959 # for both compiling C and C++ we need to have the C++ compiler decide
10960 # the declaration of exit, since it's the most demanding environment.
10961 cat >conftest.$ac_ext <<_ACEOF
10962 #ifndef __cplusplus
10963 choke me
10964 #endif
10965 _ACEOF
10966 rm -f conftest.$ac_objext
10967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10968 (eval $ac_compile) 2>conftest.er1
10969 ac_status=$?
10970 grep -v '^ *+' conftest.er1 >conftest.err
10971 rm -f conftest.er1
10972 cat conftest.err >&5
10973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10974 (exit $ac_status); } &&
10975 { ac_try='test -z "$ac_c_werror_flag"
10976 || test ! -s conftest.err'
10977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10978 (eval $ac_try) 2>&5
10979 ac_status=$?
10980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10981 (exit $ac_status); }; } &&
10982 { ac_try='test -s conftest.$ac_objext'
10983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10984 (eval $ac_try) 2>&5
10985 ac_status=$?
10986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10987 (exit $ac_status); }; }; then
10988 for ac_declaration in \
10989 '' \
10990 'extern "C" void std::exit (int) throw (); using std::exit;' \
10991 'extern "C" void std::exit (int); using std::exit;' \
10992 'extern "C" void exit (int) throw ();' \
10993 'extern "C" void exit (int);' \
10994 'void exit (int);'
10995 do
10996 cat >conftest.$ac_ext <<_ACEOF
10997 /* confdefs.h. */
10998 _ACEOF
10999 cat confdefs.h >>conftest.$ac_ext
11000 cat >>conftest.$ac_ext <<_ACEOF
11001 /* end confdefs.h. */
11002 $ac_declaration
11003 #include <stdlib.h>
11004 int
11005 main ()
11006 {
11007 exit (42);
11008 ;
11009 return 0;
11010 }
11011 _ACEOF
11012 rm -f conftest.$ac_objext
11013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11014 (eval $ac_compile) 2>conftest.er1
11015 ac_status=$?
11016 grep -v '^ *+' conftest.er1 >conftest.err
11017 rm -f conftest.er1
11018 cat conftest.err >&5
11019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11020 (exit $ac_status); } &&
11021 { ac_try='test -z "$ac_c_werror_flag"
11022 || test ! -s conftest.err'
11023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11024 (eval $ac_try) 2>&5
11025 ac_status=$?
11026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11027 (exit $ac_status); }; } &&
11028 { ac_try='test -s conftest.$ac_objext'
11029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11030 (eval $ac_try) 2>&5
11031 ac_status=$?
11032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11033 (exit $ac_status); }; }; then
11034 :
11035 else
11036 echo "$as_me: failed program was:" >&5
11037 sed 's/^/| /' conftest.$ac_ext >&5
11038
11039 continue
11040 fi
11041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11042 cat >conftest.$ac_ext <<_ACEOF
11043 /* confdefs.h. */
11044 _ACEOF
11045 cat confdefs.h >>conftest.$ac_ext
11046 cat >>conftest.$ac_ext <<_ACEOF
11047 /* end confdefs.h. */
11048 $ac_declaration
11049 int
11050 main ()
11051 {
11052 exit (42);
11053 ;
11054 return 0;
11055 }
11056 _ACEOF
11057 rm -f conftest.$ac_objext
11058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11059 (eval $ac_compile) 2>conftest.er1
11060 ac_status=$?
11061 grep -v '^ *+' conftest.er1 >conftest.err
11062 rm -f conftest.er1
11063 cat conftest.err >&5
11064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11065 (exit $ac_status); } &&
11066 { ac_try='test -z "$ac_c_werror_flag"
11067 || test ! -s conftest.err'
11068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11069 (eval $ac_try) 2>&5
11070 ac_status=$?
11071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11072 (exit $ac_status); }; } &&
11073 { ac_try='test -s conftest.$ac_objext'
11074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11075 (eval $ac_try) 2>&5
11076 ac_status=$?
11077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11078 (exit $ac_status); }; }; then
11079 break
11080 else
11081 echo "$as_me: failed program was:" >&5
11082 sed 's/^/| /' conftest.$ac_ext >&5
11083
11084 fi
11085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11086 done
11087 rm -f conftest*
11088 if test -n "$ac_declaration"; then
11089 echo '#ifdef __cplusplus' >>confdefs.h
11090 echo $ac_declaration >>confdefs.h
11091 echo '#endif' >>confdefs.h
11092 fi
11093
11094 else
11095 echo "$as_me: failed program was:" >&5
11096 sed 's/^/| /' conftest.$ac_ext >&5
11097
11098 fi
11099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11100 ac_ext=c
11101 ac_cpp='$CPP $CPPFLAGS'
11102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11105
11106
11107
11108 ac_ext=c
11109 ac_cpp='$CPP $CPPFLAGS'
11110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11113 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11114 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11115 # On Suns, sometimes $CPP names a directory.
11116 if test -n "$CPP" && test -d "$CPP"; then
11117 CPP=
11118 fi
11119 if test -z "$CPP"; then
11120 if test "${ac_cv_prog_CPP+set}" = set; then
11121 echo $ECHO_N "(cached) $ECHO_C" >&6
11122 else
11123 # Double quotes because CPP needs to be expanded
11124 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11125 do
11126 ac_preproc_ok=false
11127 for ac_c_preproc_warn_flag in '' yes
11128 do
11129 # Use a header file that comes with gcc, so configuring glibc
11130 # with a fresh cross-compiler works.
11131 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11132 # <limits.h> exists even on freestanding compilers.
11133 # On the NeXT, cc -E runs the code through the compiler's parser,
11134 # not just through cpp. "Syntax error" is here to catch this case.
11135 cat >conftest.$ac_ext <<_ACEOF
11136 /* confdefs.h. */
11137 _ACEOF
11138 cat confdefs.h >>conftest.$ac_ext
11139 cat >>conftest.$ac_ext <<_ACEOF
11140 /* end confdefs.h. */
11141 #ifdef __STDC__
11142 # include <limits.h>
11143 #else
11144 # include <assert.h>
11145 #endif
11146 Syntax error
11147 _ACEOF
11148 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11149 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11150 ac_status=$?
11151 grep -v '^ *+' conftest.er1 >conftest.err
11152 rm -f conftest.er1
11153 cat conftest.err >&5
11154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11155 (exit $ac_status); } >/dev/null; then
11156 if test -s conftest.err; then
11157 ac_cpp_err=$ac_c_preproc_warn_flag
11158 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11159 else
11160 ac_cpp_err=
11161 fi
11162 else
11163 ac_cpp_err=yes
11164 fi
11165 if test -z "$ac_cpp_err"; then
11166 :
11167 else
11168 echo "$as_me: failed program was:" >&5
11169 sed 's/^/| /' conftest.$ac_ext >&5
11170
11171 # Broken: fails on valid input.
11172 continue
11173 fi
11174 rm -f conftest.err conftest.$ac_ext
11175
11176 # OK, works on sane cases. Now check whether non-existent headers
11177 # can be detected and how.
11178 cat >conftest.$ac_ext <<_ACEOF
11179 /* confdefs.h. */
11180 _ACEOF
11181 cat confdefs.h >>conftest.$ac_ext
11182 cat >>conftest.$ac_ext <<_ACEOF
11183 /* end confdefs.h. */
11184 #include <ac_nonexistent.h>
11185 _ACEOF
11186 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11187 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11188 ac_status=$?
11189 grep -v '^ *+' conftest.er1 >conftest.err
11190 rm -f conftest.er1
11191 cat conftest.err >&5
11192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11193 (exit $ac_status); } >/dev/null; then
11194 if test -s conftest.err; then
11195 ac_cpp_err=$ac_c_preproc_warn_flag
11196 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11197 else
11198 ac_cpp_err=
11199 fi
11200 else
11201 ac_cpp_err=yes
11202 fi
11203 if test -z "$ac_cpp_err"; then
11204 # Broken: success on invalid input.
11205 continue
11206 else
11207 echo "$as_me: failed program was:" >&5
11208 sed 's/^/| /' conftest.$ac_ext >&5
11209
11210 # Passes both tests.
11211 ac_preproc_ok=:
11212 break
11213 fi
11214 rm -f conftest.err conftest.$ac_ext
11215
11216 done
11217 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11218 rm -f conftest.err conftest.$ac_ext
11219 if $ac_preproc_ok; then
11220 break
11221 fi
11222
11223 done
11224 ac_cv_prog_CPP=$CPP
11225
11226 fi
11227 CPP=$ac_cv_prog_CPP
11228 else
11229 ac_cv_prog_CPP=$CPP
11230 fi
11231 echo "$as_me:$LINENO: result: $CPP" >&5
11232 echo "${ECHO_T}$CPP" >&6
11233 ac_preproc_ok=false
11234 for ac_c_preproc_warn_flag in '' yes
11235 do
11236 # Use a header file that comes with gcc, so configuring glibc
11237 # with a fresh cross-compiler works.
11238 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11239 # <limits.h> exists even on freestanding compilers.
11240 # On the NeXT, cc -E runs the code through the compiler's parser,
11241 # not just through cpp. "Syntax error" is here to catch this case.
11242 cat >conftest.$ac_ext <<_ACEOF
11243 /* confdefs.h. */
11244 _ACEOF
11245 cat confdefs.h >>conftest.$ac_ext
11246 cat >>conftest.$ac_ext <<_ACEOF
11247 /* end confdefs.h. */
11248 #ifdef __STDC__
11249 # include <limits.h>
11250 #else
11251 # include <assert.h>
11252 #endif
11253 Syntax error
11254 _ACEOF
11255 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11256 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11257 ac_status=$?
11258 grep -v '^ *+' conftest.er1 >conftest.err
11259 rm -f conftest.er1
11260 cat conftest.err >&5
11261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11262 (exit $ac_status); } >/dev/null; then
11263 if test -s conftest.err; then
11264 ac_cpp_err=$ac_c_preproc_warn_flag
11265 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11266 else
11267 ac_cpp_err=
11268 fi
11269 else
11270 ac_cpp_err=yes
11271 fi
11272 if test -z "$ac_cpp_err"; then
11273 :
11274 else
11275 echo "$as_me: failed program was:" >&5
11276 sed 's/^/| /' conftest.$ac_ext >&5
11277
11278 # Broken: fails on valid input.
11279 continue
11280 fi
11281 rm -f conftest.err conftest.$ac_ext
11282
11283 # OK, works on sane cases. Now check whether non-existent headers
11284 # can be detected and how.
11285 cat >conftest.$ac_ext <<_ACEOF
11286 /* confdefs.h. */
11287 _ACEOF
11288 cat confdefs.h >>conftest.$ac_ext
11289 cat >>conftest.$ac_ext <<_ACEOF
11290 /* end confdefs.h. */
11291 #include <ac_nonexistent.h>
11292 _ACEOF
11293 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11294 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11295 ac_status=$?
11296 grep -v '^ *+' conftest.er1 >conftest.err
11297 rm -f conftest.er1
11298 cat conftest.err >&5
11299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11300 (exit $ac_status); } >/dev/null; then
11301 if test -s conftest.err; then
11302 ac_cpp_err=$ac_c_preproc_warn_flag
11303 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11304 else
11305 ac_cpp_err=
11306 fi
11307 else
11308 ac_cpp_err=yes
11309 fi
11310 if test -z "$ac_cpp_err"; then
11311 # Broken: success on invalid input.
11312 continue
11313 else
11314 echo "$as_me: failed program was:" >&5
11315 sed 's/^/| /' conftest.$ac_ext >&5
11316
11317 # Passes both tests.
11318 ac_preproc_ok=:
11319 break
11320 fi
11321 rm -f conftest.err conftest.$ac_ext
11322
11323 done
11324 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11325 rm -f conftest.err conftest.$ac_ext
11326 if $ac_preproc_ok; then
11327 :
11328 else
11329 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11330 See \`config.log' for more details." >&5
11331 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11332 See \`config.log' for more details." >&2;}
11333 { (exit 1); exit 1; }; }
11334 fi
11335
11336 ac_ext=c
11337 ac_cpp='$CPP $CPPFLAGS'
11338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11341
11342
11343 echo "$as_me:$LINENO: checking for egrep" >&5
11344 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11345 if test "${ac_cv_prog_egrep+set}" = set; then
11346 echo $ECHO_N "(cached) $ECHO_C" >&6
11347 else
11348 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11349 then ac_cv_prog_egrep='grep -E'
11350 else ac_cv_prog_egrep='egrep'
11351 fi
11352 fi
11353 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11354 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11355 EGREP=$ac_cv_prog_egrep
11356
11357
11358 if test $ac_cv_c_compiler_gnu = yes; then
11359 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11360 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11361 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11362 echo $ECHO_N "(cached) $ECHO_C" >&6
11363 else
11364 ac_pattern="Autoconf.*'x'"
11365 cat >conftest.$ac_ext <<_ACEOF
11366 /* confdefs.h. */
11367 _ACEOF
11368 cat confdefs.h >>conftest.$ac_ext
11369 cat >>conftest.$ac_ext <<_ACEOF
11370 /* end confdefs.h. */
11371 #include <sgtty.h>
11372 Autoconf TIOCGETP
11373 _ACEOF
11374 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11375 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11376 ac_cv_prog_gcc_traditional=yes
11377 else
11378 ac_cv_prog_gcc_traditional=no
11379 fi
11380 rm -f conftest*
11381
11382
11383 if test $ac_cv_prog_gcc_traditional = no; then
11384 cat >conftest.$ac_ext <<_ACEOF
11385 /* confdefs.h. */
11386 _ACEOF
11387 cat confdefs.h >>conftest.$ac_ext
11388 cat >>conftest.$ac_ext <<_ACEOF
11389 /* end confdefs.h. */
11390 #include <termio.h>
11391 Autoconf TCGETA
11392 _ACEOF
11393 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11394 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11395 ac_cv_prog_gcc_traditional=yes
11396 fi
11397 rm -f conftest*
11398
11399 fi
11400 fi
11401 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11402 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11403 if test $ac_cv_prog_gcc_traditional = yes; then
11404 CC="$CC -traditional"
11405 fi
11406 fi
11407
11408
11409
11410
11411 ac_ext=cc
11412 ac_cpp='$CXXCPP $CPPFLAGS'
11413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11416
11417
11418 CXXFLAGS=${CXXFLAGS:=}
11419 ac_ext=cc
11420 ac_cpp='$CXXCPP $CPPFLAGS'
11421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11424 if test -n "$ac_tool_prefix"; then
11425 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11426 do
11427 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11428 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11429 echo "$as_me:$LINENO: checking for $ac_word" >&5
11430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11431 if test "${ac_cv_prog_CXX+set}" = set; then
11432 echo $ECHO_N "(cached) $ECHO_C" >&6
11433 else
11434 if test -n "$CXX"; then
11435 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11436 else
11437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11438 for as_dir in $PATH
11439 do
11440 IFS=$as_save_IFS
11441 test -z "$as_dir" && as_dir=.
11442 for ac_exec_ext in '' $ac_executable_extensions; do
11443 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11444 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11446 break 2
11447 fi
11448 done
11449 done
11450
11451 fi
11452 fi
11453 CXX=$ac_cv_prog_CXX
11454 if test -n "$CXX"; then
11455 echo "$as_me:$LINENO: result: $CXX" >&5
11456 echo "${ECHO_T}$CXX" >&6
11457 else
11458 echo "$as_me:$LINENO: result: no" >&5
11459 echo "${ECHO_T}no" >&6
11460 fi
11461
11462 test -n "$CXX" && break
11463 done
11464 fi
11465 if test -z "$CXX"; then
11466 ac_ct_CXX=$CXX
11467 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11468 do
11469 # Extract the first word of "$ac_prog", so it can be a program name with args.
11470 set dummy $ac_prog; ac_word=$2
11471 echo "$as_me:$LINENO: checking for $ac_word" >&5
11472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11473 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11474 echo $ECHO_N "(cached) $ECHO_C" >&6
11475 else
11476 if test -n "$ac_ct_CXX"; then
11477 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11478 else
11479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11480 for as_dir in $PATH
11481 do
11482 IFS=$as_save_IFS
11483 test -z "$as_dir" && as_dir=.
11484 for ac_exec_ext in '' $ac_executable_extensions; do
11485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11486 ac_cv_prog_ac_ct_CXX="$ac_prog"
11487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11488 break 2
11489 fi
11490 done
11491 done
11492
11493 fi
11494 fi
11495 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11496 if test -n "$ac_ct_CXX"; then
11497 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11498 echo "${ECHO_T}$ac_ct_CXX" >&6
11499 else
11500 echo "$as_me:$LINENO: result: no" >&5
11501 echo "${ECHO_T}no" >&6
11502 fi
11503
11504 test -n "$ac_ct_CXX" && break
11505 done
11506 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11507
11508 CXX=$ac_ct_CXX
11509 fi
11510
11511
11512 # Provide some information about the compiler.
11513 echo "$as_me:$LINENO:" \
11514 "checking for C++ compiler version" >&5
11515 ac_compiler=`set X $ac_compile; echo $2`
11516 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11517 (eval $ac_compiler --version </dev/null >&5) 2>&5
11518 ac_status=$?
11519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11520 (exit $ac_status); }
11521 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11522 (eval $ac_compiler -v </dev/null >&5) 2>&5
11523 ac_status=$?
11524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11525 (exit $ac_status); }
11526 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11527 (eval $ac_compiler -V </dev/null >&5) 2>&5
11528 ac_status=$?
11529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11530 (exit $ac_status); }
11531
11532 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11533 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11534 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11535 echo $ECHO_N "(cached) $ECHO_C" >&6
11536 else
11537 cat >conftest.$ac_ext <<_ACEOF
11538 /* confdefs.h. */
11539 _ACEOF
11540 cat confdefs.h >>conftest.$ac_ext
11541 cat >>conftest.$ac_ext <<_ACEOF
11542 /* end confdefs.h. */
11543
11544 int
11545 main ()
11546 {
11547 #ifndef __GNUC__
11548 choke me
11549 #endif
11550
11551 ;
11552 return 0;
11553 }
11554 _ACEOF
11555 rm -f conftest.$ac_objext
11556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11557 (eval $ac_compile) 2>conftest.er1
11558 ac_status=$?
11559 grep -v '^ *+' conftest.er1 >conftest.err
11560 rm -f conftest.er1
11561 cat conftest.err >&5
11562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11563 (exit $ac_status); } &&
11564 { ac_try='test -z "$ac_cxx_werror_flag"
11565 || test ! -s conftest.err'
11566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11567 (eval $ac_try) 2>&5
11568 ac_status=$?
11569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11570 (exit $ac_status); }; } &&
11571 { ac_try='test -s conftest.$ac_objext'
11572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11573 (eval $ac_try) 2>&5
11574 ac_status=$?
11575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11576 (exit $ac_status); }; }; then
11577 ac_compiler_gnu=yes
11578 else
11579 echo "$as_me: failed program was:" >&5
11580 sed 's/^/| /' conftest.$ac_ext >&5
11581
11582 ac_compiler_gnu=no
11583 fi
11584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11585 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11586
11587 fi
11588 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11589 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11590 GXX=`test $ac_compiler_gnu = yes && echo yes`
11591 ac_test_CXXFLAGS=${CXXFLAGS+set}
11592 ac_save_CXXFLAGS=$CXXFLAGS
11593 CXXFLAGS="-g"
11594 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11595 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11596 if test "${ac_cv_prog_cxx_g+set}" = set; then
11597 echo $ECHO_N "(cached) $ECHO_C" >&6
11598 else
11599 cat >conftest.$ac_ext <<_ACEOF
11600 /* confdefs.h. */
11601 _ACEOF
11602 cat confdefs.h >>conftest.$ac_ext
11603 cat >>conftest.$ac_ext <<_ACEOF
11604 /* end confdefs.h. */
11605
11606 int
11607 main ()
11608 {
11609
11610 ;
11611 return 0;
11612 }
11613 _ACEOF
11614 rm -f conftest.$ac_objext
11615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11616 (eval $ac_compile) 2>conftest.er1
11617 ac_status=$?
11618 grep -v '^ *+' conftest.er1 >conftest.err
11619 rm -f conftest.er1
11620 cat conftest.err >&5
11621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11622 (exit $ac_status); } &&
11623 { ac_try='test -z "$ac_cxx_werror_flag"
11624 || test ! -s conftest.err'
11625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11626 (eval $ac_try) 2>&5
11627 ac_status=$?
11628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11629 (exit $ac_status); }; } &&
11630 { ac_try='test -s conftest.$ac_objext'
11631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11632 (eval $ac_try) 2>&5
11633 ac_status=$?
11634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11635 (exit $ac_status); }; }; then
11636 ac_cv_prog_cxx_g=yes
11637 else
11638 echo "$as_me: failed program was:" >&5
11639 sed 's/^/| /' conftest.$ac_ext >&5
11640
11641 ac_cv_prog_cxx_g=no
11642 fi
11643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11644 fi
11645 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11646 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11647 if test "$ac_test_CXXFLAGS" = set; then
11648 CXXFLAGS=$ac_save_CXXFLAGS
11649 elif test $ac_cv_prog_cxx_g = yes; then
11650 if test "$GXX" = yes; then
11651 CXXFLAGS="-g -O2"
11652 else
11653 CXXFLAGS="-g"
11654 fi
11655 else
11656 if test "$GXX" = yes; then
11657 CXXFLAGS="-O2"
11658 else
11659 CXXFLAGS=
11660 fi
11661 fi
11662 for ac_declaration in \
11663 '' \
11664 'extern "C" void std::exit (int) throw (); using std::exit;' \
11665 'extern "C" void std::exit (int); using std::exit;' \
11666 'extern "C" void exit (int) throw ();' \
11667 'extern "C" void exit (int);' \
11668 'void exit (int);'
11669 do
11670 cat >conftest.$ac_ext <<_ACEOF
11671 /* confdefs.h. */
11672 _ACEOF
11673 cat confdefs.h >>conftest.$ac_ext
11674 cat >>conftest.$ac_ext <<_ACEOF
11675 /* end confdefs.h. */
11676 $ac_declaration
11677 #include <stdlib.h>
11678 int
11679 main ()
11680 {
11681 exit (42);
11682 ;
11683 return 0;
11684 }
11685 _ACEOF
11686 rm -f conftest.$ac_objext
11687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11688 (eval $ac_compile) 2>conftest.er1
11689 ac_status=$?
11690 grep -v '^ *+' conftest.er1 >conftest.err
11691 rm -f conftest.er1
11692 cat conftest.err >&5
11693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11694 (exit $ac_status); } &&
11695 { ac_try='test -z "$ac_cxx_werror_flag"
11696 || test ! -s conftest.err'
11697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11698 (eval $ac_try) 2>&5
11699 ac_status=$?
11700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11701 (exit $ac_status); }; } &&
11702 { ac_try='test -s conftest.$ac_objext'
11703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11704 (eval $ac_try) 2>&5
11705 ac_status=$?
11706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11707 (exit $ac_status); }; }; then
11708 :
11709 else
11710 echo "$as_me: failed program was:" >&5
11711 sed 's/^/| /' conftest.$ac_ext >&5
11712
11713 continue
11714 fi
11715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11716 cat >conftest.$ac_ext <<_ACEOF
11717 /* confdefs.h. */
11718 _ACEOF
11719 cat confdefs.h >>conftest.$ac_ext
11720 cat >>conftest.$ac_ext <<_ACEOF
11721 /* end confdefs.h. */
11722 $ac_declaration
11723 int
11724 main ()
11725 {
11726 exit (42);
11727 ;
11728 return 0;
11729 }
11730 _ACEOF
11731 rm -f conftest.$ac_objext
11732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11733 (eval $ac_compile) 2>conftest.er1
11734 ac_status=$?
11735 grep -v '^ *+' conftest.er1 >conftest.err
11736 rm -f conftest.er1
11737 cat conftest.err >&5
11738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11739 (exit $ac_status); } &&
11740 { ac_try='test -z "$ac_cxx_werror_flag"
11741 || test ! -s conftest.err'
11742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11743 (eval $ac_try) 2>&5
11744 ac_status=$?
11745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11746 (exit $ac_status); }; } &&
11747 { ac_try='test -s conftest.$ac_objext'
11748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11749 (eval $ac_try) 2>&5
11750 ac_status=$?
11751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11752 (exit $ac_status); }; }; then
11753 break
11754 else
11755 echo "$as_me: failed program was:" >&5
11756 sed 's/^/| /' conftest.$ac_ext >&5
11757
11758 fi
11759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11760 done
11761 rm -f conftest*
11762 if test -n "$ac_declaration"; then
11763 echo '#ifdef __cplusplus' >>confdefs.h
11764 echo $ac_declaration >>confdefs.h
11765 echo '#endif' >>confdefs.h
11766 fi
11767
11768 ac_ext=cc
11769 ac_cpp='$CXXCPP $CPPFLAGS'
11770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11773
11774
11775 ac_ext=c
11776 ac_cpp='$CPP $CPPFLAGS'
11777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11780
11781
11782 echo "$as_me:$LINENO: checking for /usr/local/include in default include path" >&5
11783 echo $ECHO_N "checking for /usr/local/include in default include path... $ECHO_C" >&6
11784 GCC_SEARCHES_USR_LOCAL_INCLUDE="no"
11785 if test "$GCC" = "yes" ; then
11786 echo | gcc -v -x c++ -E - 2>&1 | sed -n '/^#include </,$p' | \
11787 sed -n '1,/End of search list\./p' | \
11788 grep '^ */usr/local/include$' 2>&1 /dev/null \
11789 && GCC_SEARCHES_USR_LOCAL_INCLUDE="yes"
11790 fi
11791 echo "$as_me:$LINENO: result: $GCC_SEARCHES_USR_LOCAL_INCLUDE" >&5
11792 echo "${ECHO_T}$GCC_SEARCHES_USR_LOCAL_INCLUDE" >&6
11793
11794 if test -n "$ac_tool_prefix"; then
11795 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11796 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11797 echo "$as_me:$LINENO: checking for $ac_word" >&5
11798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11799 if test "${ac_cv_prog_RANLIB+set}" = set; then
11800 echo $ECHO_N "(cached) $ECHO_C" >&6
11801 else
11802 if test -n "$RANLIB"; then
11803 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11804 else
11805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11806 for as_dir in $PATH
11807 do
11808 IFS=$as_save_IFS
11809 test -z "$as_dir" && as_dir=.
11810 for ac_exec_ext in '' $ac_executable_extensions; do
11811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11812 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11814 break 2
11815 fi
11816 done
11817 done
11818
11819 fi
11820 fi
11821 RANLIB=$ac_cv_prog_RANLIB
11822 if test -n "$RANLIB"; then
11823 echo "$as_me:$LINENO: result: $RANLIB" >&5
11824 echo "${ECHO_T}$RANLIB" >&6
11825 else
11826 echo "$as_me:$LINENO: result: no" >&5
11827 echo "${ECHO_T}no" >&6
11828 fi
11829
11830 fi
11831 if test -z "$ac_cv_prog_RANLIB"; then
11832 ac_ct_RANLIB=$RANLIB
11833 # Extract the first word of "ranlib", so it can be a program name with args.
11834 set dummy ranlib; ac_word=$2
11835 echo "$as_me:$LINENO: checking for $ac_word" >&5
11836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11837 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11838 echo $ECHO_N "(cached) $ECHO_C" >&6
11839 else
11840 if test -n "$ac_ct_RANLIB"; then
11841 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11842 else
11843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11844 for as_dir in $PATH
11845 do
11846 IFS=$as_save_IFS
11847 test -z "$as_dir" && as_dir=.
11848 for ac_exec_ext in '' $ac_executable_extensions; do
11849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11850 ac_cv_prog_ac_ct_RANLIB="ranlib"
11851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11852 break 2
11853 fi
11854 done
11855 done
11856
11857 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11858 fi
11859 fi
11860 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11861 if test -n "$ac_ct_RANLIB"; then
11862 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11863 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11864 else
11865 echo "$as_me:$LINENO: result: no" >&5
11866 echo "${ECHO_T}no" >&6
11867 fi
11868
11869 RANLIB=$ac_ct_RANLIB
11870 else
11871 RANLIB="$ac_cv_prog_RANLIB"
11872 fi
11873
11874
11875 # Extract the first word of "ar", so it can be a program name with args.
11876 set dummy ar; ac_word=$2
11877 echo "$as_me:$LINENO: checking for $ac_word" >&5
11878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11879 if test "${ac_cv_prog_AR+set}" = set; then
11880 echo $ECHO_N "(cached) $ECHO_C" >&6
11881 else
11882 if test -n "$AR"; then
11883 ac_cv_prog_AR="$AR" # Let the user override the test.
11884 else
11885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11886 for as_dir in $PATH
11887 do
11888 IFS=$as_save_IFS
11889 test -z "$as_dir" && as_dir=.
11890 for ac_exec_ext in '' $ac_executable_extensions; do
11891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11892 ac_cv_prog_AR="ar"
11893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11894 break 2
11895 fi
11896 done
11897 done
11898
11899 fi
11900 fi
11901 AR=$ac_cv_prog_AR
11902 if test -n "$AR"; then
11903 echo "$as_me:$LINENO: result: $AR" >&5
11904 echo "${ECHO_T}$AR" >&6
11905 else
11906 echo "$as_me:$LINENO: result: no" >&5
11907 echo "${ECHO_T}no" >&6
11908 fi
11909
11910 if test "x$AR" = "x" ; then
11911 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
11912 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
11913 { (exit 1); exit 1; }; }
11914 fi
11915
11916 # Find a good install program. We prefer a C program (faster),
11917 # so one script is as good as another. But avoid the broken or
11918 # incompatible versions:
11919 # SysV /etc/install, /usr/sbin/install
11920 # SunOS /usr/etc/install
11921 # IRIX /sbin/install
11922 # AIX /bin/install
11923 # AmigaOS /C/install, which installs bootblocks on floppy discs
11924 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11925 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11926 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11927 # OS/2's system install, which has a completely different semantic
11928 # ./install, which can be erroneously created by make from ./install.sh.
11929 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11930 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11931 if test -z "$INSTALL"; then
11932 if test "${ac_cv_path_install+set}" = set; then
11933 echo $ECHO_N "(cached) $ECHO_C" >&6
11934 else
11935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11936 for as_dir in $PATH
11937 do
11938 IFS=$as_save_IFS
11939 test -z "$as_dir" && as_dir=.
11940 # Account for people who put trailing slashes in PATH elements.
11941 case $as_dir/ in
11942 ./ | .// | /cC/* | \
11943 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11944 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
11945 /usr/ucb/* ) ;;
11946 *)
11947 # OSF1 and SCO ODT 3.0 have their own names for install.
11948 # Don't use installbsd from OSF since it installs stuff as root
11949 # by default.
11950 for ac_prog in ginstall scoinst install; do
11951 for ac_exec_ext in '' $ac_executable_extensions; do
11952 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11953 if test $ac_prog = install &&
11954 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11955 # AIX install. It has an incompatible calling convention.
11956 :
11957 elif test $ac_prog = install &&
11958 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11959 # program-specific install script used by HP pwplus--don't use.
11960 :
11961 else
11962 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11963 break 3
11964 fi
11965 fi
11966 done
11967 done
11968 ;;
11969 esac
11970 done
11971
11972
11973 fi
11974 if test "${ac_cv_path_install+set}" = set; then
11975 INSTALL=$ac_cv_path_install
11976 else
11977 # As a last resort, use the slow shell script. We don't cache a
11978 # path for INSTALL within a source directory, because that will
11979 # break other packages using the cache if that directory is
11980 # removed, or if the path is relative.
11981 INSTALL=$ac_install_sh
11982 fi
11983 fi
11984 echo "$as_me:$LINENO: result: $INSTALL" >&5
11985 echo "${ECHO_T}$INSTALL" >&6
11986
11987 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11988 # It thinks the first close brace ends the variable substitution.
11989 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11990
11991 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11992
11993 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11994
11995
11996 case ${INSTALL} in
11997 /* ) # Absolute
11998 ;;
11999 ?:* ) # Drive letter, considered as absolute.
12000 ;;
12001 *)
12002 INSTALL=`pwd`/${INSTALL} ;;
12003 esac
12004
12005 case ${host} in
12006 *-hp-hpux* )
12007 INSTALL_DIR="mkdir"
12008 ;;
12009
12010 *) INSTALL_DIR="$INSTALL -d"
12011 ;;
12012 esac
12013
12014
12015 case "${host}" in
12016
12017 powerpc-*-darwin* )
12018 INSTALL_PROGRAM="cp -fp"
12019 INSTALL_DATA="cp -fp"
12020 ;;
12021 *)
12022 ;;
12023 esac
12024
12025 # Extract the first word of "strip", so it can be a program name with args.
12026 set dummy strip; ac_word=$2
12027 echo "$as_me:$LINENO: checking for $ac_word" >&5
12028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12029 if test "${ac_cv_prog_STRIP+set}" = set; then
12030 echo $ECHO_N "(cached) $ECHO_C" >&6
12031 else
12032 if test -n "$STRIP"; then
12033 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12034 else
12035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12036 for as_dir in $PATH
12037 do
12038 IFS=$as_save_IFS
12039 test -z "$as_dir" && as_dir=.
12040 for ac_exec_ext in '' $ac_executable_extensions; do
12041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12042 ac_cv_prog_STRIP="strip"
12043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12044 break 2
12045 fi
12046 done
12047 done
12048
12049 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
12050 fi
12051 fi
12052 STRIP=$ac_cv_prog_STRIP
12053 if test -n "$STRIP"; then
12054 echo "$as_me:$LINENO: result: $STRIP" >&5
12055 echo "${ECHO_T}$STRIP" >&6
12056 else
12057 echo "$as_me:$LINENO: result: no" >&5
12058 echo "${ECHO_T}no" >&6
12059 fi
12060
12061
12062 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12063 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12064 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12065 echo $ECHO_N "(cached) $ECHO_C" >&6
12066 else
12067
12068 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
12069 egrep -s GNU > /dev/null); then
12070 wx_cv_prog_makeisgnu="yes"
12071 else
12072 wx_cv_prog_makeisgnu="no"
12073 fi
12074
12075 fi
12076 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12077 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12078
12079 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12080 IF_GNU_MAKE=""
12081 else
12082 IF_GNU_MAKE="#"
12083 fi
12084
12085
12086
12087 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12088 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12089 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12090 if test "${wx_cv_prog_makevpath+set}" = set; then
12091 echo $ECHO_N "(cached) $ECHO_C" >&6
12092 else
12093
12094 cat - << EOF > confMake
12095 check : file
12096 cp \$? \$@
12097 cp \$? final_file
12098 EOF
12099
12100 if test ! -d sub ; then
12101 mkdir sub
12102 fi
12103 echo dummy > sub/file
12104 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
12105 RESULT=$?
12106 rm -f sub/file check final_file confMake
12107 rmdir sub
12108 if test "$RESULT" = 0; then
12109 wx_cv_prog_makevpath="yes"
12110 else
12111 wx_cv_prog_makevpath="no"
12112 fi
12113
12114 fi
12115 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12116 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12117
12118 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12119 { { echo "$as_me:$LINENO: error:
12120 You need a make-utility that is able to use the variable
12121 VPATH correctly.
12122 If your version of make does not support VPATH correctly,
12123 please install GNU-make (possibly as gmake), and start
12124 configure with the following command:
12125 export MAKE=gmake; ./configure for sh-type shells
12126 setenv MAKE gmake; ./configure for csh-type shells
12127 Also please do remember to use gmake in this case every time
12128 you are trying to compile.
12129 " >&5
12130 echo "$as_me: error:
12131 You need a make-utility that is able to use the variable
12132 VPATH correctly.
12133 If your version of make does not support VPATH correctly,
12134 please install GNU-make (possibly as gmake), and start
12135 configure with the following command:
12136 export MAKE=gmake; ./configure for sh-type shells
12137 setenv MAKE gmake; ./configure for csh-type shells
12138 Also please do remember to use gmake in this case every time
12139 you are trying to compile.
12140 " >&2;}
12141 { (exit 1); exit 1; }; }
12142 fi fi
12143 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12144 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12145 LN_S=$as_ln_s
12146 if test "$LN_S" = "ln -s"; then
12147 echo "$as_me:$LINENO: result: yes" >&5
12148 echo "${ECHO_T}yes" >&6
12149 else
12150 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12151 echo "${ECHO_T}no, using $LN_S" >&6
12152 fi
12153
12154
12155
12156 case "${host}" in
12157 *-pc-os2_emx | *-pc-os2-emx )
12158 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12159 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12160 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12161 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12162 echo $ECHO_N "(cached) $ECHO_C" >&6
12163 else
12164 ac_check_lib_save_LIBS=$LIBS
12165 LIBS="-lcExt $LIBS"
12166 cat >conftest.$ac_ext <<_ACEOF
12167 /* confdefs.h. */
12168 _ACEOF
12169 cat confdefs.h >>conftest.$ac_ext
12170 cat >>conftest.$ac_ext <<_ACEOF
12171 /* end confdefs.h. */
12172
12173 /* Override any gcc2 internal prototype to avoid an error. */
12174 #ifdef __cplusplus
12175 extern "C"
12176 #endif
12177 /* We use char because int might match the return type of a gcc2
12178 builtin and then its argument prototype would still apply. */
12179 char drand48 ();
12180 int
12181 main ()
12182 {
12183 drand48 ();
12184 ;
12185 return 0;
12186 }
12187 _ACEOF
12188 rm -f conftest.$ac_objext conftest$ac_exeext
12189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12190 (eval $ac_link) 2>conftest.er1
12191 ac_status=$?
12192 grep -v '^ *+' conftest.er1 >conftest.err
12193 rm -f conftest.er1
12194 cat conftest.err >&5
12195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12196 (exit $ac_status); } &&
12197 { ac_try='test -z "$ac_c_werror_flag"
12198 || test ! -s conftest.err'
12199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12200 (eval $ac_try) 2>&5
12201 ac_status=$?
12202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12203 (exit $ac_status); }; } &&
12204 { ac_try='test -s conftest$ac_exeext'
12205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12206 (eval $ac_try) 2>&5
12207 ac_status=$?
12208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12209 (exit $ac_status); }; }; then
12210 ac_cv_lib_cExt_drand48=yes
12211 else
12212 echo "$as_me: failed program was:" >&5
12213 sed 's/^/| /' conftest.$ac_ext >&5
12214
12215 ac_cv_lib_cExt_drand48=no
12216 fi
12217 rm -f conftest.err conftest.$ac_objext \
12218 conftest$ac_exeext conftest.$ac_ext
12219 LIBS=$ac_check_lib_save_LIBS
12220 fi
12221 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12222 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12223 if test $ac_cv_lib_cExt_drand48 = yes; then
12224 LIBS="$LIBS -lcExt"
12225 fi
12226
12227 else
12228 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
12229 fi
12230 echo "$as_me:$LINENO: checking for gcc version" >&5
12231 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12232 if test "${wx_cv_gccversion+set}" = set; then
12233 echo $ECHO_N "(cached) $ECHO_C" >&6
12234 else
12235
12236 cat >conftest.$ac_ext <<_ACEOF
12237 /* confdefs.h. */
12238 _ACEOF
12239 cat confdefs.h >>conftest.$ac_ext
12240 cat >>conftest.$ac_ext <<_ACEOF
12241 /* end confdefs.h. */
12242
12243 int
12244 main ()
12245 {
12246
12247 #if (__GNUC__ < 3)
12248 #error old gcc
12249 #endif
12250
12251 ;
12252 return 0;
12253 }
12254 _ACEOF
12255 rm -f conftest.$ac_objext
12256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12257 (eval $ac_compile) 2>conftest.er1
12258 ac_status=$?
12259 grep -v '^ *+' conftest.er1 >conftest.err
12260 rm -f conftest.er1
12261 cat conftest.err >&5
12262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12263 (exit $ac_status); } &&
12264 { ac_try='test -z "$ac_c_werror_flag"
12265 || test ! -s conftest.err'
12266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12267 (eval $ac_try) 2>&5
12268 ac_status=$?
12269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12270 (exit $ac_status); }; } &&
12271 { ac_try='test -s conftest.$ac_objext'
12272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12273 (eval $ac_try) 2>&5
12274 ac_status=$?
12275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12276 (exit $ac_status); }; }; then
12277
12278 cat >conftest.$ac_ext <<_ACEOF
12279 /* confdefs.h. */
12280 _ACEOF
12281 cat confdefs.h >>conftest.$ac_ext
12282 cat >>conftest.$ac_ext <<_ACEOF
12283 /* end confdefs.h. */
12284
12285 int
12286 main ()
12287 {
12288
12289 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12290 #error intermediate gcc
12291 #endif
12292
12293 ;
12294 return 0;
12295 }
12296 _ACEOF
12297 rm -f conftest.$ac_objext
12298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12299 (eval $ac_compile) 2>conftest.er1
12300 ac_status=$?
12301 grep -v '^ *+' conftest.er1 >conftest.err
12302 rm -f conftest.er1
12303 cat conftest.err >&5
12304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12305 (exit $ac_status); } &&
12306 { ac_try='test -z "$ac_c_werror_flag"
12307 || test ! -s conftest.err'
12308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12309 (eval $ac_try) 2>&5
12310 ac_status=$?
12311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12312 (exit $ac_status); }; } &&
12313 { ac_try='test -s conftest.$ac_objext'
12314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12315 (eval $ac_try) 2>&5
12316 ac_status=$?
12317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12318 (exit $ac_status); }; }; then
12319
12320 wx_cv_gccversion=Innotek
12321
12322 else
12323 echo "$as_me: failed program was:" >&5
12324 sed 's/^/| /' conftest.$ac_ext >&5
12325
12326
12327 wx_cv_gccversion=3
12328
12329
12330 fi
12331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12332
12333 else
12334 echo "$as_me: failed program was:" >&5
12335 sed 's/^/| /' conftest.$ac_ext >&5
12336
12337
12338 wx_cv_gccversion=2
12339
12340
12341 fi
12342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12343
12344 fi
12345 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12346 echo "${ECHO_T}$wx_cv_gccversion" >&6
12347 if test "$wx_cv_gccversion" = "2"; then
12348 LIBS="$LIBS -lstdcpp"
12349 LDFLAGS="$LDFLAGS -Zsysv-signals"
12350 else
12351 if test "$wx_cv_gccversion" = "3"; then
12352 LIBS="$LIBS -lstdcxx"
12353 LDFLAGS="$LDFLAGS -Zsysv-signals"
12354 else
12355 LIBS="$LIBS -lstdc++"
12356 fi
12357 fi
12358 if test "$wxUSE_OMF" = "yes"; then
12359 LDFLAGS="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12360 fi
12361 ;;
12362 *)
12363
12364
12365
12366 ac_ext=cc
12367 ac_cpp='$CXXCPP $CPPFLAGS'
12368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12371
12372
12373
12374 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12375 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12376 if test "${ac_cv_string_strcasecmp+set}" = set; then
12377 echo $ECHO_N "(cached) $ECHO_C" >&6
12378 else
12379
12380 cat >conftest.$ac_ext <<_ACEOF
12381 /* confdefs.h. */
12382 _ACEOF
12383 cat confdefs.h >>conftest.$ac_ext
12384 cat >>conftest.$ac_ext <<_ACEOF
12385 /* end confdefs.h. */
12386
12387 #include <string.h>
12388
12389 int
12390 main ()
12391 {
12392
12393 strcasecmp("foo", "bar");
12394
12395 ;
12396 return 0;
12397 }
12398 _ACEOF
12399 rm -f conftest.$ac_objext conftest$ac_exeext
12400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12401 (eval $ac_link) 2>conftest.er1
12402 ac_status=$?
12403 grep -v '^ *+' conftest.er1 >conftest.err
12404 rm -f conftest.er1
12405 cat conftest.err >&5
12406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12407 (exit $ac_status); } &&
12408 { ac_try='test -z "$ac_cxx_werror_flag"
12409 || test ! -s conftest.err'
12410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12411 (eval $ac_try) 2>&5
12412 ac_status=$?
12413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12414 (exit $ac_status); }; } &&
12415 { ac_try='test -s conftest$ac_exeext'
12416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12417 (eval $ac_try) 2>&5
12418 ac_status=$?
12419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12420 (exit $ac_status); }; }; then
12421 ac_cv_string_strcasecmp=yes
12422 else
12423 echo "$as_me: failed program was:" >&5
12424 sed 's/^/| /' conftest.$ac_ext >&5
12425
12426 ac_cv_string_strcasecmp=no
12427
12428 fi
12429 rm -f conftest.err conftest.$ac_objext \
12430 conftest$ac_exeext conftest.$ac_ext
12431
12432 fi
12433 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12434 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12435
12436 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12437 cat >>confdefs.h <<\_ACEOF
12438 #define HAVE_STRCASECMP_IN_STRING_H 1
12439 _ACEOF
12440
12441 else
12442 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12443 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12444 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12445 echo $ECHO_N "(cached) $ECHO_C" >&6
12446 else
12447
12448 cat >conftest.$ac_ext <<_ACEOF
12449 /* confdefs.h. */
12450 _ACEOF
12451 cat confdefs.h >>conftest.$ac_ext
12452 cat >>conftest.$ac_ext <<_ACEOF
12453 /* end confdefs.h. */
12454
12455 #include <strings.h>
12456
12457 int
12458 main ()
12459 {
12460
12461 strcasecmp("foo", "bar");
12462
12463 ;
12464 return 0;
12465 }
12466 _ACEOF
12467 rm -f conftest.$ac_objext conftest$ac_exeext
12468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12469 (eval $ac_link) 2>conftest.er1
12470 ac_status=$?
12471 grep -v '^ *+' conftest.er1 >conftest.err
12472 rm -f conftest.er1
12473 cat conftest.err >&5
12474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12475 (exit $ac_status); } &&
12476 { ac_try='test -z "$ac_cxx_werror_flag"
12477 || test ! -s conftest.err'
12478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12479 (eval $ac_try) 2>&5
12480 ac_status=$?
12481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12482 (exit $ac_status); }; } &&
12483 { ac_try='test -s conftest$ac_exeext'
12484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12485 (eval $ac_try) 2>&5
12486 ac_status=$?
12487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12488 (exit $ac_status); }; }; then
12489 ac_cv_strings_strcasecmp=yes
12490 else
12491 echo "$as_me: failed program was:" >&5
12492 sed 's/^/| /' conftest.$ac_ext >&5
12493
12494 ac_cv_strings_strcasecmp=no
12495
12496 fi
12497 rm -f conftest.err conftest.$ac_objext \
12498 conftest$ac_exeext conftest.$ac_ext
12499
12500 fi
12501 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12502 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12503
12504 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12505 cat >>confdefs.h <<\_ACEOF
12506 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12507 _ACEOF
12508
12509 else
12510 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12511 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12512 { (exit 1); exit 1; }; }
12513 fi
12514 fi
12515
12516 ac_ext=c
12517 ac_cpp='$CPP $CPPFLAGS'
12518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12521
12522 ;;
12523 esac
12524
12525
12526 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12527 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12528 if test "${ac_cv_header_stdc+set}" = set; then
12529 echo $ECHO_N "(cached) $ECHO_C" >&6
12530 else
12531 cat >conftest.$ac_ext <<_ACEOF
12532 /* confdefs.h. */
12533 _ACEOF
12534 cat confdefs.h >>conftest.$ac_ext
12535 cat >>conftest.$ac_ext <<_ACEOF
12536 /* end confdefs.h. */
12537 #include <stdlib.h>
12538 #include <stdarg.h>
12539 #include <string.h>
12540 #include <float.h>
12541
12542 int
12543 main ()
12544 {
12545
12546 ;
12547 return 0;
12548 }
12549 _ACEOF
12550 rm -f conftest.$ac_objext
12551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12552 (eval $ac_compile) 2>conftest.er1
12553 ac_status=$?
12554 grep -v '^ *+' conftest.er1 >conftest.err
12555 rm -f conftest.er1
12556 cat conftest.err >&5
12557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12558 (exit $ac_status); } &&
12559 { ac_try='test -z "$ac_c_werror_flag"
12560 || test ! -s conftest.err'
12561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12562 (eval $ac_try) 2>&5
12563 ac_status=$?
12564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565 (exit $ac_status); }; } &&
12566 { ac_try='test -s conftest.$ac_objext'
12567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12568 (eval $ac_try) 2>&5
12569 ac_status=$?
12570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12571 (exit $ac_status); }; }; then
12572 ac_cv_header_stdc=yes
12573 else
12574 echo "$as_me: failed program was:" >&5
12575 sed 's/^/| /' conftest.$ac_ext >&5
12576
12577 ac_cv_header_stdc=no
12578 fi
12579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12580
12581 if test $ac_cv_header_stdc = yes; then
12582 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12583 cat >conftest.$ac_ext <<_ACEOF
12584 /* confdefs.h. */
12585 _ACEOF
12586 cat confdefs.h >>conftest.$ac_ext
12587 cat >>conftest.$ac_ext <<_ACEOF
12588 /* end confdefs.h. */
12589 #include <string.h>
12590
12591 _ACEOF
12592 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12593 $EGREP "memchr" >/dev/null 2>&1; then
12594 :
12595 else
12596 ac_cv_header_stdc=no
12597 fi
12598 rm -f conftest*
12599
12600 fi
12601
12602 if test $ac_cv_header_stdc = yes; then
12603 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12604 cat >conftest.$ac_ext <<_ACEOF
12605 /* confdefs.h. */
12606 _ACEOF
12607 cat confdefs.h >>conftest.$ac_ext
12608 cat >>conftest.$ac_ext <<_ACEOF
12609 /* end confdefs.h. */
12610 #include <stdlib.h>
12611
12612 _ACEOF
12613 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12614 $EGREP "free" >/dev/null 2>&1; then
12615 :
12616 else
12617 ac_cv_header_stdc=no
12618 fi
12619 rm -f conftest*
12620
12621 fi
12622
12623 if test $ac_cv_header_stdc = yes; then
12624 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12625 if test "$cross_compiling" = yes; then
12626 :
12627 else
12628 cat >conftest.$ac_ext <<_ACEOF
12629 /* confdefs.h. */
12630 _ACEOF
12631 cat confdefs.h >>conftest.$ac_ext
12632 cat >>conftest.$ac_ext <<_ACEOF
12633 /* end confdefs.h. */
12634 #include <ctype.h>
12635 #if ((' ' & 0x0FF) == 0x020)
12636 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12637 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12638 #else
12639 # define ISLOWER(c) \
12640 (('a' <= (c) && (c) <= 'i') \
12641 || ('j' <= (c) && (c) <= 'r') \
12642 || ('s' <= (c) && (c) <= 'z'))
12643 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12644 #endif
12645
12646 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12647 int
12648 main ()
12649 {
12650 int i;
12651 for (i = 0; i < 256; i++)
12652 if (XOR (islower (i), ISLOWER (i))
12653 || toupper (i) != TOUPPER (i))
12654 exit(2);
12655 exit (0);
12656 }
12657 _ACEOF
12658 rm -f conftest$ac_exeext
12659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12660 (eval $ac_link) 2>&5
12661 ac_status=$?
12662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12665 (eval $ac_try) 2>&5
12666 ac_status=$?
12667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12668 (exit $ac_status); }; }; then
12669 :
12670 else
12671 echo "$as_me: program exited with status $ac_status" >&5
12672 echo "$as_me: failed program was:" >&5
12673 sed 's/^/| /' conftest.$ac_ext >&5
12674
12675 ( exit $ac_status )
12676 ac_cv_header_stdc=no
12677 fi
12678 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12679 fi
12680 fi
12681 fi
12682 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12683 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12684 if test $ac_cv_header_stdc = yes; then
12685
12686 cat >>confdefs.h <<\_ACEOF
12687 #define STDC_HEADERS 1
12688 _ACEOF
12689
12690 fi
12691
12692 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12703 inttypes.h stdint.h unistd.h
12704 do
12705 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12706 echo "$as_me:$LINENO: checking for $ac_header" >&5
12707 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12708 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12709 echo $ECHO_N "(cached) $ECHO_C" >&6
12710 else
12711 cat >conftest.$ac_ext <<_ACEOF
12712 /* confdefs.h. */
12713 _ACEOF
12714 cat confdefs.h >>conftest.$ac_ext
12715 cat >>conftest.$ac_ext <<_ACEOF
12716 /* end confdefs.h. */
12717 $ac_includes_default
12718
12719 #include <$ac_header>
12720 _ACEOF
12721 rm -f conftest.$ac_objext
12722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12723 (eval $ac_compile) 2>conftest.er1
12724 ac_status=$?
12725 grep -v '^ *+' conftest.er1 >conftest.err
12726 rm -f conftest.er1
12727 cat conftest.err >&5
12728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12729 (exit $ac_status); } &&
12730 { ac_try='test -z "$ac_c_werror_flag"
12731 || test ! -s conftest.err'
12732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12733 (eval $ac_try) 2>&5
12734 ac_status=$?
12735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12736 (exit $ac_status); }; } &&
12737 { ac_try='test -s conftest.$ac_objext'
12738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12739 (eval $ac_try) 2>&5
12740 ac_status=$?
12741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12742 (exit $ac_status); }; }; then
12743 eval "$as_ac_Header=yes"
12744 else
12745 echo "$as_me: failed program was:" >&5
12746 sed 's/^/| /' conftest.$ac_ext >&5
12747
12748 eval "$as_ac_Header=no"
12749 fi
12750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12751 fi
12752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12753 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12754 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12755 cat >>confdefs.h <<_ACEOF
12756 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12757 _ACEOF
12758
12759 fi
12760
12761 done
12762
12763
12764
12765 for ac_header in stdlib.h
12766 do
12767 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12768 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12769 echo "$as_me:$LINENO: checking for $ac_header" >&5
12770 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12771 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12772 echo $ECHO_N "(cached) $ECHO_C" >&6
12773 fi
12774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12775 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12776 else
12777 # Is the header compilable?
12778 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12779 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12780 cat >conftest.$ac_ext <<_ACEOF
12781 /* confdefs.h. */
12782 _ACEOF
12783 cat confdefs.h >>conftest.$ac_ext
12784 cat >>conftest.$ac_ext <<_ACEOF
12785 /* end confdefs.h. */
12786 $ac_includes_default
12787 #include <$ac_header>
12788 _ACEOF
12789 rm -f conftest.$ac_objext
12790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12791 (eval $ac_compile) 2>conftest.er1
12792 ac_status=$?
12793 grep -v '^ *+' conftest.er1 >conftest.err
12794 rm -f conftest.er1
12795 cat conftest.err >&5
12796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12797 (exit $ac_status); } &&
12798 { ac_try='test -z "$ac_c_werror_flag"
12799 || test ! -s conftest.err'
12800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12801 (eval $ac_try) 2>&5
12802 ac_status=$?
12803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12804 (exit $ac_status); }; } &&
12805 { ac_try='test -s conftest.$ac_objext'
12806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12807 (eval $ac_try) 2>&5
12808 ac_status=$?
12809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12810 (exit $ac_status); }; }; then
12811 ac_header_compiler=yes
12812 else
12813 echo "$as_me: failed program was:" >&5
12814 sed 's/^/| /' conftest.$ac_ext >&5
12815
12816 ac_header_compiler=no
12817 fi
12818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12819 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12820 echo "${ECHO_T}$ac_header_compiler" >&6
12821
12822 # Is the header present?
12823 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12824 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12825 cat >conftest.$ac_ext <<_ACEOF
12826 /* confdefs.h. */
12827 _ACEOF
12828 cat confdefs.h >>conftest.$ac_ext
12829 cat >>conftest.$ac_ext <<_ACEOF
12830 /* end confdefs.h. */
12831 #include <$ac_header>
12832 _ACEOF
12833 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12834 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12835 ac_status=$?
12836 grep -v '^ *+' conftest.er1 >conftest.err
12837 rm -f conftest.er1
12838 cat conftest.err >&5
12839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12840 (exit $ac_status); } >/dev/null; then
12841 if test -s conftest.err; then
12842 ac_cpp_err=$ac_c_preproc_warn_flag
12843 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12844 else
12845 ac_cpp_err=
12846 fi
12847 else
12848 ac_cpp_err=yes
12849 fi
12850 if test -z "$ac_cpp_err"; then
12851 ac_header_preproc=yes
12852 else
12853 echo "$as_me: failed program was:" >&5
12854 sed 's/^/| /' conftest.$ac_ext >&5
12855
12856 ac_header_preproc=no
12857 fi
12858 rm -f conftest.err conftest.$ac_ext
12859 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12860 echo "${ECHO_T}$ac_header_preproc" >&6
12861
12862 # So? What about this header?
12863 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12864 yes:no: )
12865 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12866 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12867 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12868 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12869 ac_header_preproc=yes
12870 ;;
12871 no:yes:* )
12872 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12873 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12874 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12875 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12876 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12877 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12878 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12879 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12881 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12882 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12883 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12884 (
12885 cat <<\_ASBOX
12886 ## ----------------------------------------- ##
12887 ## Report this to wx-dev@lists.wxwidgets.org ##
12888 ## ----------------------------------------- ##
12889 _ASBOX
12890 ) |
12891 sed "s/^/$as_me: WARNING: /" >&2
12892 ;;
12893 esac
12894 echo "$as_me:$LINENO: checking for $ac_header" >&5
12895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12897 echo $ECHO_N "(cached) $ECHO_C" >&6
12898 else
12899 eval "$as_ac_Header=\$ac_header_preproc"
12900 fi
12901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12902 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12903
12904 fi
12905 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12906 cat >>confdefs.h <<_ACEOF
12907 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12908 _ACEOF
12909
12910 fi
12911
12912 done
12913
12914
12915 for ac_header in malloc.h
12916 do
12917 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12918 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12919 echo "$as_me:$LINENO: checking for $ac_header" >&5
12920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12922 echo $ECHO_N "(cached) $ECHO_C" >&6
12923 fi
12924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12925 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12926 else
12927 # Is the header compilable?
12928 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12929 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12930 cat >conftest.$ac_ext <<_ACEOF
12931 /* confdefs.h. */
12932 _ACEOF
12933 cat confdefs.h >>conftest.$ac_ext
12934 cat >>conftest.$ac_ext <<_ACEOF
12935 /* end confdefs.h. */
12936 $ac_includes_default
12937 #include <$ac_header>
12938 _ACEOF
12939 rm -f conftest.$ac_objext
12940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12941 (eval $ac_compile) 2>conftest.er1
12942 ac_status=$?
12943 grep -v '^ *+' conftest.er1 >conftest.err
12944 rm -f conftest.er1
12945 cat conftest.err >&5
12946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12947 (exit $ac_status); } &&
12948 { ac_try='test -z "$ac_c_werror_flag"
12949 || test ! -s conftest.err'
12950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12951 (eval $ac_try) 2>&5
12952 ac_status=$?
12953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12954 (exit $ac_status); }; } &&
12955 { ac_try='test -s conftest.$ac_objext'
12956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12957 (eval $ac_try) 2>&5
12958 ac_status=$?
12959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12960 (exit $ac_status); }; }; then
12961 ac_header_compiler=yes
12962 else
12963 echo "$as_me: failed program was:" >&5
12964 sed 's/^/| /' conftest.$ac_ext >&5
12965
12966 ac_header_compiler=no
12967 fi
12968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12969 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12970 echo "${ECHO_T}$ac_header_compiler" >&6
12971
12972 # Is the header present?
12973 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12974 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12975 cat >conftest.$ac_ext <<_ACEOF
12976 /* confdefs.h. */
12977 _ACEOF
12978 cat confdefs.h >>conftest.$ac_ext
12979 cat >>conftest.$ac_ext <<_ACEOF
12980 /* end confdefs.h. */
12981 #include <$ac_header>
12982 _ACEOF
12983 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12984 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12985 ac_status=$?
12986 grep -v '^ *+' conftest.er1 >conftest.err
12987 rm -f conftest.er1
12988 cat conftest.err >&5
12989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12990 (exit $ac_status); } >/dev/null; then
12991 if test -s conftest.err; then
12992 ac_cpp_err=$ac_c_preproc_warn_flag
12993 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12994 else
12995 ac_cpp_err=
12996 fi
12997 else
12998 ac_cpp_err=yes
12999 fi
13000 if test -z "$ac_cpp_err"; then
13001 ac_header_preproc=yes
13002 else
13003 echo "$as_me: failed program was:" >&5
13004 sed 's/^/| /' conftest.$ac_ext >&5
13005
13006 ac_header_preproc=no
13007 fi
13008 rm -f conftest.err conftest.$ac_ext
13009 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13010 echo "${ECHO_T}$ac_header_preproc" >&6
13011
13012 # So? What about this header?
13013 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13014 yes:no: )
13015 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13016 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13017 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13018 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13019 ac_header_preproc=yes
13020 ;;
13021 no:yes:* )
13022 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13023 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13024 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13025 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13026 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13027 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13028 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13029 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13030 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13031 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13032 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13033 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13034 (
13035 cat <<\_ASBOX
13036 ## ----------------------------------------- ##
13037 ## Report this to wx-dev@lists.wxwidgets.org ##
13038 ## ----------------------------------------- ##
13039 _ASBOX
13040 ) |
13041 sed "s/^/$as_me: WARNING: /" >&2
13042 ;;
13043 esac
13044 echo "$as_me:$LINENO: checking for $ac_header" >&5
13045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13046 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13047 echo $ECHO_N "(cached) $ECHO_C" >&6
13048 else
13049 eval "$as_ac_Header=\$ac_header_preproc"
13050 fi
13051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13052 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13053
13054 fi
13055 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13056 cat >>confdefs.h <<_ACEOF
13057 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13058 _ACEOF
13059
13060 fi
13061
13062 done
13063
13064
13065 for ac_header in unistd.h
13066 do
13067 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13068 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13069 echo "$as_me:$LINENO: checking for $ac_header" >&5
13070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13072 echo $ECHO_N "(cached) $ECHO_C" >&6
13073 fi
13074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13075 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13076 else
13077 # Is the header compilable?
13078 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13079 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13080 cat >conftest.$ac_ext <<_ACEOF
13081 /* confdefs.h. */
13082 _ACEOF
13083 cat confdefs.h >>conftest.$ac_ext
13084 cat >>conftest.$ac_ext <<_ACEOF
13085 /* end confdefs.h. */
13086 $ac_includes_default
13087 #include <$ac_header>
13088 _ACEOF
13089 rm -f conftest.$ac_objext
13090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13091 (eval $ac_compile) 2>conftest.er1
13092 ac_status=$?
13093 grep -v '^ *+' conftest.er1 >conftest.err
13094 rm -f conftest.er1
13095 cat conftest.err >&5
13096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13097 (exit $ac_status); } &&
13098 { ac_try='test -z "$ac_c_werror_flag"
13099 || test ! -s conftest.err'
13100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13101 (eval $ac_try) 2>&5
13102 ac_status=$?
13103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13104 (exit $ac_status); }; } &&
13105 { ac_try='test -s conftest.$ac_objext'
13106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13107 (eval $ac_try) 2>&5
13108 ac_status=$?
13109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13110 (exit $ac_status); }; }; then
13111 ac_header_compiler=yes
13112 else
13113 echo "$as_me: failed program was:" >&5
13114 sed 's/^/| /' conftest.$ac_ext >&5
13115
13116 ac_header_compiler=no
13117 fi
13118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13119 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13120 echo "${ECHO_T}$ac_header_compiler" >&6
13121
13122 # Is the header present?
13123 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13124 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13125 cat >conftest.$ac_ext <<_ACEOF
13126 /* confdefs.h. */
13127 _ACEOF
13128 cat confdefs.h >>conftest.$ac_ext
13129 cat >>conftest.$ac_ext <<_ACEOF
13130 /* end confdefs.h. */
13131 #include <$ac_header>
13132 _ACEOF
13133 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13134 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13135 ac_status=$?
13136 grep -v '^ *+' conftest.er1 >conftest.err
13137 rm -f conftest.er1
13138 cat conftest.err >&5
13139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13140 (exit $ac_status); } >/dev/null; then
13141 if test -s conftest.err; then
13142 ac_cpp_err=$ac_c_preproc_warn_flag
13143 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13144 else
13145 ac_cpp_err=
13146 fi
13147 else
13148 ac_cpp_err=yes
13149 fi
13150 if test -z "$ac_cpp_err"; then
13151 ac_header_preproc=yes
13152 else
13153 echo "$as_me: failed program was:" >&5
13154 sed 's/^/| /' conftest.$ac_ext >&5
13155
13156 ac_header_preproc=no
13157 fi
13158 rm -f conftest.err conftest.$ac_ext
13159 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13160 echo "${ECHO_T}$ac_header_preproc" >&6
13161
13162 # So? What about this header?
13163 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13164 yes:no: )
13165 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13166 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13167 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13168 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13169 ac_header_preproc=yes
13170 ;;
13171 no:yes:* )
13172 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13173 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13174 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13175 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13176 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13177 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13178 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13179 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13180 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13181 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13182 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13183 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13184 (
13185 cat <<\_ASBOX
13186 ## ----------------------------------------- ##
13187 ## Report this to wx-dev@lists.wxwidgets.org ##
13188 ## ----------------------------------------- ##
13189 _ASBOX
13190 ) |
13191 sed "s/^/$as_me: WARNING: /" >&2
13192 ;;
13193 esac
13194 echo "$as_me:$LINENO: checking for $ac_header" >&5
13195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13197 echo $ECHO_N "(cached) $ECHO_C" >&6
13198 else
13199 eval "$as_ac_Header=\$ac_header_preproc"
13200 fi
13201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13202 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13203
13204 fi
13205 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13206 cat >>confdefs.h <<_ACEOF
13207 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13208 _ACEOF
13209
13210 fi
13211
13212 done
13213
13214
13215 for ac_header in wchar.h
13216 do
13217 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13218 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13219 echo "$as_me:$LINENO: checking for $ac_header" >&5
13220 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13221 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13222 echo $ECHO_N "(cached) $ECHO_C" >&6
13223 fi
13224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13225 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13226 else
13227 # Is the header compilable?
13228 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13229 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13230 cat >conftest.$ac_ext <<_ACEOF
13231 /* confdefs.h. */
13232 _ACEOF
13233 cat confdefs.h >>conftest.$ac_ext
13234 cat >>conftest.$ac_ext <<_ACEOF
13235 /* end confdefs.h. */
13236 $ac_includes_default
13237 #include <$ac_header>
13238 _ACEOF
13239 rm -f conftest.$ac_objext
13240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13241 (eval $ac_compile) 2>conftest.er1
13242 ac_status=$?
13243 grep -v '^ *+' conftest.er1 >conftest.err
13244 rm -f conftest.er1
13245 cat conftest.err >&5
13246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13247 (exit $ac_status); } &&
13248 { ac_try='test -z "$ac_c_werror_flag"
13249 || test ! -s conftest.err'
13250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13251 (eval $ac_try) 2>&5
13252 ac_status=$?
13253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254 (exit $ac_status); }; } &&
13255 { ac_try='test -s conftest.$ac_objext'
13256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13257 (eval $ac_try) 2>&5
13258 ac_status=$?
13259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13260 (exit $ac_status); }; }; then
13261 ac_header_compiler=yes
13262 else
13263 echo "$as_me: failed program was:" >&5
13264 sed 's/^/| /' conftest.$ac_ext >&5
13265
13266 ac_header_compiler=no
13267 fi
13268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13269 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13270 echo "${ECHO_T}$ac_header_compiler" >&6
13271
13272 # Is the header present?
13273 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13274 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13275 cat >conftest.$ac_ext <<_ACEOF
13276 /* confdefs.h. */
13277 _ACEOF
13278 cat confdefs.h >>conftest.$ac_ext
13279 cat >>conftest.$ac_ext <<_ACEOF
13280 /* end confdefs.h. */
13281 #include <$ac_header>
13282 _ACEOF
13283 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13284 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13285 ac_status=$?
13286 grep -v '^ *+' conftest.er1 >conftest.err
13287 rm -f conftest.er1
13288 cat conftest.err >&5
13289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13290 (exit $ac_status); } >/dev/null; then
13291 if test -s conftest.err; then
13292 ac_cpp_err=$ac_c_preproc_warn_flag
13293 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13294 else
13295 ac_cpp_err=
13296 fi
13297 else
13298 ac_cpp_err=yes
13299 fi
13300 if test -z "$ac_cpp_err"; then
13301 ac_header_preproc=yes
13302 else
13303 echo "$as_me: failed program was:" >&5
13304 sed 's/^/| /' conftest.$ac_ext >&5
13305
13306 ac_header_preproc=no
13307 fi
13308 rm -f conftest.err conftest.$ac_ext
13309 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13310 echo "${ECHO_T}$ac_header_preproc" >&6
13311
13312 # So? What about this header?
13313 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13314 yes:no: )
13315 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13316 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13317 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13318 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13319 ac_header_preproc=yes
13320 ;;
13321 no:yes:* )
13322 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13323 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13324 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13325 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13326 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13327 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13328 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13329 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13330 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13331 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13332 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13333 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13334 (
13335 cat <<\_ASBOX
13336 ## ----------------------------------------- ##
13337 ## Report this to wx-dev@lists.wxwidgets.org ##
13338 ## ----------------------------------------- ##
13339 _ASBOX
13340 ) |
13341 sed "s/^/$as_me: WARNING: /" >&2
13342 ;;
13343 esac
13344 echo "$as_me:$LINENO: checking for $ac_header" >&5
13345 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13346 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13347 echo $ECHO_N "(cached) $ECHO_C" >&6
13348 else
13349 eval "$as_ac_Header=\$ac_header_preproc"
13350 fi
13351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13352 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13353
13354 fi
13355 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13356 cat >>confdefs.h <<_ACEOF
13357 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13358 _ACEOF
13359
13360 fi
13361
13362 done
13363
13364
13365 if test "$ac_cv_header_wchar_h" != "yes"; then
13366
13367 for ac_header in wcstr.h
13368 do
13369 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13370 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13371 echo "$as_me:$LINENO: checking for $ac_header" >&5
13372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13374 echo $ECHO_N "(cached) $ECHO_C" >&6
13375 fi
13376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13378 else
13379 # Is the header compilable?
13380 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13381 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13382 cat >conftest.$ac_ext <<_ACEOF
13383 /* confdefs.h. */
13384 _ACEOF
13385 cat confdefs.h >>conftest.$ac_ext
13386 cat >>conftest.$ac_ext <<_ACEOF
13387 /* end confdefs.h. */
13388 $ac_includes_default
13389 #include <$ac_header>
13390 _ACEOF
13391 rm -f conftest.$ac_objext
13392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13393 (eval $ac_compile) 2>conftest.er1
13394 ac_status=$?
13395 grep -v '^ *+' conftest.er1 >conftest.err
13396 rm -f conftest.er1
13397 cat conftest.err >&5
13398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13399 (exit $ac_status); } &&
13400 { ac_try='test -z "$ac_c_werror_flag"
13401 || test ! -s conftest.err'
13402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13403 (eval $ac_try) 2>&5
13404 ac_status=$?
13405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13406 (exit $ac_status); }; } &&
13407 { ac_try='test -s conftest.$ac_objext'
13408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13409 (eval $ac_try) 2>&5
13410 ac_status=$?
13411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13412 (exit $ac_status); }; }; then
13413 ac_header_compiler=yes
13414 else
13415 echo "$as_me: failed program was:" >&5
13416 sed 's/^/| /' conftest.$ac_ext >&5
13417
13418 ac_header_compiler=no
13419 fi
13420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13421 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13422 echo "${ECHO_T}$ac_header_compiler" >&6
13423
13424 # Is the header present?
13425 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13426 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13427 cat >conftest.$ac_ext <<_ACEOF
13428 /* confdefs.h. */
13429 _ACEOF
13430 cat confdefs.h >>conftest.$ac_ext
13431 cat >>conftest.$ac_ext <<_ACEOF
13432 /* end confdefs.h. */
13433 #include <$ac_header>
13434 _ACEOF
13435 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13436 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13437 ac_status=$?
13438 grep -v '^ *+' conftest.er1 >conftest.err
13439 rm -f conftest.er1
13440 cat conftest.err >&5
13441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13442 (exit $ac_status); } >/dev/null; then
13443 if test -s conftest.err; then
13444 ac_cpp_err=$ac_c_preproc_warn_flag
13445 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13446 else
13447 ac_cpp_err=
13448 fi
13449 else
13450 ac_cpp_err=yes
13451 fi
13452 if test -z "$ac_cpp_err"; then
13453 ac_header_preproc=yes
13454 else
13455 echo "$as_me: failed program was:" >&5
13456 sed 's/^/| /' conftest.$ac_ext >&5
13457
13458 ac_header_preproc=no
13459 fi
13460 rm -f conftest.err conftest.$ac_ext
13461 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13462 echo "${ECHO_T}$ac_header_preproc" >&6
13463
13464 # So? What about this header?
13465 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13466 yes:no: )
13467 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13468 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13469 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13470 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13471 ac_header_preproc=yes
13472 ;;
13473 no:yes:* )
13474 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13475 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13476 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13477 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13478 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13479 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13480 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13481 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13482 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13483 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13484 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13485 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13486 (
13487 cat <<\_ASBOX
13488 ## ----------------------------------------- ##
13489 ## Report this to wx-dev@lists.wxwidgets.org ##
13490 ## ----------------------------------------- ##
13491 _ASBOX
13492 ) |
13493 sed "s/^/$as_me: WARNING: /" >&2
13494 ;;
13495 esac
13496 echo "$as_me:$LINENO: checking for $ac_header" >&5
13497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13499 echo $ECHO_N "(cached) $ECHO_C" >&6
13500 else
13501 eval "$as_ac_Header=\$ac_header_preproc"
13502 fi
13503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13505
13506 fi
13507 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13508 cat >>confdefs.h <<_ACEOF
13509 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13510 _ACEOF
13511
13512 fi
13513
13514 done
13515
13516 fi
13517
13518
13519 for ac_header in fnmatch.h
13520 do
13521 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13523 echo "$as_me:$LINENO: checking for $ac_header" >&5
13524 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13525 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13526 echo $ECHO_N "(cached) $ECHO_C" >&6
13527 fi
13528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13529 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13530 else
13531 # Is the header compilable?
13532 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13533 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13534 cat >conftest.$ac_ext <<_ACEOF
13535 /* confdefs.h. */
13536 _ACEOF
13537 cat confdefs.h >>conftest.$ac_ext
13538 cat >>conftest.$ac_ext <<_ACEOF
13539 /* end confdefs.h. */
13540 $ac_includes_default
13541 #include <$ac_header>
13542 _ACEOF
13543 rm -f conftest.$ac_objext
13544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13545 (eval $ac_compile) 2>conftest.er1
13546 ac_status=$?
13547 grep -v '^ *+' conftest.er1 >conftest.err
13548 rm -f conftest.er1
13549 cat conftest.err >&5
13550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13551 (exit $ac_status); } &&
13552 { ac_try='test -z "$ac_c_werror_flag"
13553 || test ! -s conftest.err'
13554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13555 (eval $ac_try) 2>&5
13556 ac_status=$?
13557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13558 (exit $ac_status); }; } &&
13559 { ac_try='test -s conftest.$ac_objext'
13560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13561 (eval $ac_try) 2>&5
13562 ac_status=$?
13563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13564 (exit $ac_status); }; }; then
13565 ac_header_compiler=yes
13566 else
13567 echo "$as_me: failed program was:" >&5
13568 sed 's/^/| /' conftest.$ac_ext >&5
13569
13570 ac_header_compiler=no
13571 fi
13572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13573 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13574 echo "${ECHO_T}$ac_header_compiler" >&6
13575
13576 # Is the header present?
13577 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13578 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13579 cat >conftest.$ac_ext <<_ACEOF
13580 /* confdefs.h. */
13581 _ACEOF
13582 cat confdefs.h >>conftest.$ac_ext
13583 cat >>conftest.$ac_ext <<_ACEOF
13584 /* end confdefs.h. */
13585 #include <$ac_header>
13586 _ACEOF
13587 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13588 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13589 ac_status=$?
13590 grep -v '^ *+' conftest.er1 >conftest.err
13591 rm -f conftest.er1
13592 cat conftest.err >&5
13593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13594 (exit $ac_status); } >/dev/null; then
13595 if test -s conftest.err; then
13596 ac_cpp_err=$ac_c_preproc_warn_flag
13597 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13598 else
13599 ac_cpp_err=
13600 fi
13601 else
13602 ac_cpp_err=yes
13603 fi
13604 if test -z "$ac_cpp_err"; then
13605 ac_header_preproc=yes
13606 else
13607 echo "$as_me: failed program was:" >&5
13608 sed 's/^/| /' conftest.$ac_ext >&5
13609
13610 ac_header_preproc=no
13611 fi
13612 rm -f conftest.err conftest.$ac_ext
13613 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13614 echo "${ECHO_T}$ac_header_preproc" >&6
13615
13616 # So? What about this header?
13617 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13618 yes:no: )
13619 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13620 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13621 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13622 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13623 ac_header_preproc=yes
13624 ;;
13625 no:yes:* )
13626 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13627 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13628 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13629 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13630 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13631 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13632 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13633 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13634 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13635 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13636 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13637 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13638 (
13639 cat <<\_ASBOX
13640 ## ----------------------------------------- ##
13641 ## Report this to wx-dev@lists.wxwidgets.org ##
13642 ## ----------------------------------------- ##
13643 _ASBOX
13644 ) |
13645 sed "s/^/$as_me: WARNING: /" >&2
13646 ;;
13647 esac
13648 echo "$as_me:$LINENO: checking for $ac_header" >&5
13649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13651 echo $ECHO_N "(cached) $ECHO_C" >&6
13652 else
13653 eval "$as_ac_Header=\$ac_header_preproc"
13654 fi
13655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13656 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13657
13658 fi
13659 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13660 cat >>confdefs.h <<_ACEOF
13661 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13662 _ACEOF
13663
13664 fi
13665
13666 done
13667
13668
13669 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13670
13671 for ac_func in fnmatch
13672 do
13673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13674 echo "$as_me:$LINENO: checking for $ac_func" >&5
13675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13676 if eval "test \"\${$as_ac_var+set}\" = set"; then
13677 echo $ECHO_N "(cached) $ECHO_C" >&6
13678 else
13679 cat >conftest.$ac_ext <<_ACEOF
13680 /* confdefs.h. */
13681 _ACEOF
13682 cat confdefs.h >>conftest.$ac_ext
13683 cat >>conftest.$ac_ext <<_ACEOF
13684 /* end confdefs.h. */
13685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13687 #define $ac_func innocuous_$ac_func
13688
13689 /* System header to define __stub macros and hopefully few prototypes,
13690 which can conflict with char $ac_func (); below.
13691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13692 <limits.h> exists even on freestanding compilers. */
13693
13694 #ifdef __STDC__
13695 # include <limits.h>
13696 #else
13697 # include <assert.h>
13698 #endif
13699
13700 #undef $ac_func
13701
13702 /* Override any gcc2 internal prototype to avoid an error. */
13703 #ifdef __cplusplus
13704 extern "C"
13705 {
13706 #endif
13707 /* We use char because int might match the return type of a gcc2
13708 builtin and then its argument prototype would still apply. */
13709 char $ac_func ();
13710 /* The GNU C library defines this for functions which it implements
13711 to always fail with ENOSYS. Some functions are actually named
13712 something starting with __ and the normal name is an alias. */
13713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13714 choke me
13715 #else
13716 char (*f) () = $ac_func;
13717 #endif
13718 #ifdef __cplusplus
13719 }
13720 #endif
13721
13722 int
13723 main ()
13724 {
13725 return f != $ac_func;
13726 ;
13727 return 0;
13728 }
13729 _ACEOF
13730 rm -f conftest.$ac_objext conftest$ac_exeext
13731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13732 (eval $ac_link) 2>conftest.er1
13733 ac_status=$?
13734 grep -v '^ *+' conftest.er1 >conftest.err
13735 rm -f conftest.er1
13736 cat conftest.err >&5
13737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13738 (exit $ac_status); } &&
13739 { ac_try='test -z "$ac_c_werror_flag"
13740 || test ! -s conftest.err'
13741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13742 (eval $ac_try) 2>&5
13743 ac_status=$?
13744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13745 (exit $ac_status); }; } &&
13746 { ac_try='test -s conftest$ac_exeext'
13747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13748 (eval $ac_try) 2>&5
13749 ac_status=$?
13750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13751 (exit $ac_status); }; }; then
13752 eval "$as_ac_var=yes"
13753 else
13754 echo "$as_me: failed program was:" >&5
13755 sed 's/^/| /' conftest.$ac_ext >&5
13756
13757 eval "$as_ac_var=no"
13758 fi
13759 rm -f conftest.err conftest.$ac_objext \
13760 conftest$ac_exeext conftest.$ac_ext
13761 fi
13762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13764 if test `eval echo '${'$as_ac_var'}'` = yes; then
13765 cat >>confdefs.h <<_ACEOF
13766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13767 _ACEOF
13768
13769 fi
13770 done
13771
13772 fi
13773
13774
13775 for ac_header in langinfo.h
13776 do
13777 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13779 echo "$as_me:$LINENO: checking for $ac_header" >&5
13780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13782 echo $ECHO_N "(cached) $ECHO_C" >&6
13783 fi
13784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13785 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13786 else
13787 # Is the header compilable?
13788 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13789 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13790 cat >conftest.$ac_ext <<_ACEOF
13791 /* confdefs.h. */
13792 _ACEOF
13793 cat confdefs.h >>conftest.$ac_ext
13794 cat >>conftest.$ac_ext <<_ACEOF
13795 /* end confdefs.h. */
13796 $ac_includes_default
13797 #include <$ac_header>
13798 _ACEOF
13799 rm -f conftest.$ac_objext
13800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13801 (eval $ac_compile) 2>conftest.er1
13802 ac_status=$?
13803 grep -v '^ *+' conftest.er1 >conftest.err
13804 rm -f conftest.er1
13805 cat conftest.err >&5
13806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13807 (exit $ac_status); } &&
13808 { ac_try='test -z "$ac_c_werror_flag"
13809 || test ! -s conftest.err'
13810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13811 (eval $ac_try) 2>&5
13812 ac_status=$?
13813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13814 (exit $ac_status); }; } &&
13815 { ac_try='test -s conftest.$ac_objext'
13816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13817 (eval $ac_try) 2>&5
13818 ac_status=$?
13819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13820 (exit $ac_status); }; }; then
13821 ac_header_compiler=yes
13822 else
13823 echo "$as_me: failed program was:" >&5
13824 sed 's/^/| /' conftest.$ac_ext >&5
13825
13826 ac_header_compiler=no
13827 fi
13828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13829 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13830 echo "${ECHO_T}$ac_header_compiler" >&6
13831
13832 # Is the header present?
13833 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13834 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13835 cat >conftest.$ac_ext <<_ACEOF
13836 /* confdefs.h. */
13837 _ACEOF
13838 cat confdefs.h >>conftest.$ac_ext
13839 cat >>conftest.$ac_ext <<_ACEOF
13840 /* end confdefs.h. */
13841 #include <$ac_header>
13842 _ACEOF
13843 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13844 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13845 ac_status=$?
13846 grep -v '^ *+' conftest.er1 >conftest.err
13847 rm -f conftest.er1
13848 cat conftest.err >&5
13849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13850 (exit $ac_status); } >/dev/null; then
13851 if test -s conftest.err; then
13852 ac_cpp_err=$ac_c_preproc_warn_flag
13853 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13854 else
13855 ac_cpp_err=
13856 fi
13857 else
13858 ac_cpp_err=yes
13859 fi
13860 if test -z "$ac_cpp_err"; then
13861 ac_header_preproc=yes
13862 else
13863 echo "$as_me: failed program was:" >&5
13864 sed 's/^/| /' conftest.$ac_ext >&5
13865
13866 ac_header_preproc=no
13867 fi
13868 rm -f conftest.err conftest.$ac_ext
13869 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13870 echo "${ECHO_T}$ac_header_preproc" >&6
13871
13872 # So? What about this header?
13873 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13874 yes:no: )
13875 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13876 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13877 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13878 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13879 ac_header_preproc=yes
13880 ;;
13881 no:yes:* )
13882 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13883 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13884 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13885 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13886 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13887 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13888 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13889 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13890 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13891 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13892 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13893 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13894 (
13895 cat <<\_ASBOX
13896 ## ----------------------------------------- ##
13897 ## Report this to wx-dev@lists.wxwidgets.org ##
13898 ## ----------------------------------------- ##
13899 _ASBOX
13900 ) |
13901 sed "s/^/$as_me: WARNING: /" >&2
13902 ;;
13903 esac
13904 echo "$as_me:$LINENO: checking for $ac_header" >&5
13905 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13906 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13907 echo $ECHO_N "(cached) $ECHO_C" >&6
13908 else
13909 eval "$as_ac_Header=\$ac_header_preproc"
13910 fi
13911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13912 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13913
13914 fi
13915 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13916 cat >>confdefs.h <<_ACEOF
13917 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13918 _ACEOF
13919
13920 fi
13921
13922 done
13923
13924
13925 case "${host}" in
13926 *-pc-os2_emx | *-pc-os2-emx )
13927 if test $ac_cv_header_langinfo_h = "yes"; then
13928 LIBS="$LIBS -lintl"
13929 fi
13930 ;;
13931 esac
13932
13933 if test "$wxUSE_GUI" = "yes"; then
13934 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13935
13936 for ac_header in X11/Xlib.h
13937 do
13938 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13940 echo "$as_me:$LINENO: checking for $ac_header" >&5
13941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13943 echo $ECHO_N "(cached) $ECHO_C" >&6
13944 fi
13945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13946 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13947 else
13948 # Is the header compilable?
13949 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13950 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13951 cat >conftest.$ac_ext <<_ACEOF
13952 /* confdefs.h. */
13953 _ACEOF
13954 cat confdefs.h >>conftest.$ac_ext
13955 cat >>conftest.$ac_ext <<_ACEOF
13956 /* end confdefs.h. */
13957 $ac_includes_default
13958 #include <$ac_header>
13959 _ACEOF
13960 rm -f conftest.$ac_objext
13961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13962 (eval $ac_compile) 2>conftest.er1
13963 ac_status=$?
13964 grep -v '^ *+' conftest.er1 >conftest.err
13965 rm -f conftest.er1
13966 cat conftest.err >&5
13967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13968 (exit $ac_status); } &&
13969 { ac_try='test -z "$ac_c_werror_flag"
13970 || test ! -s conftest.err'
13971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13972 (eval $ac_try) 2>&5
13973 ac_status=$?
13974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13975 (exit $ac_status); }; } &&
13976 { ac_try='test -s conftest.$ac_objext'
13977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13978 (eval $ac_try) 2>&5
13979 ac_status=$?
13980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13981 (exit $ac_status); }; }; then
13982 ac_header_compiler=yes
13983 else
13984 echo "$as_me: failed program was:" >&5
13985 sed 's/^/| /' conftest.$ac_ext >&5
13986
13987 ac_header_compiler=no
13988 fi
13989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13990 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13991 echo "${ECHO_T}$ac_header_compiler" >&6
13992
13993 # Is the header present?
13994 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13995 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13996 cat >conftest.$ac_ext <<_ACEOF
13997 /* confdefs.h. */
13998 _ACEOF
13999 cat confdefs.h >>conftest.$ac_ext
14000 cat >>conftest.$ac_ext <<_ACEOF
14001 /* end confdefs.h. */
14002 #include <$ac_header>
14003 _ACEOF
14004 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14005 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14006 ac_status=$?
14007 grep -v '^ *+' conftest.er1 >conftest.err
14008 rm -f conftest.er1
14009 cat conftest.err >&5
14010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14011 (exit $ac_status); } >/dev/null; then
14012 if test -s conftest.err; then
14013 ac_cpp_err=$ac_c_preproc_warn_flag
14014 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14015 else
14016 ac_cpp_err=
14017 fi
14018 else
14019 ac_cpp_err=yes
14020 fi
14021 if test -z "$ac_cpp_err"; then
14022 ac_header_preproc=yes
14023 else
14024 echo "$as_me: failed program was:" >&5
14025 sed 's/^/| /' conftest.$ac_ext >&5
14026
14027 ac_header_preproc=no
14028 fi
14029 rm -f conftest.err conftest.$ac_ext
14030 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14031 echo "${ECHO_T}$ac_header_preproc" >&6
14032
14033 # So? What about this header?
14034 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14035 yes:no: )
14036 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14037 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14038 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14039 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14040 ac_header_preproc=yes
14041 ;;
14042 no:yes:* )
14043 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14044 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14045 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14046 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14047 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14048 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14049 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14050 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14051 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14052 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14053 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14054 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14055 (
14056 cat <<\_ASBOX
14057 ## ----------------------------------------- ##
14058 ## Report this to wx-dev@lists.wxwidgets.org ##
14059 ## ----------------------------------------- ##
14060 _ASBOX
14061 ) |
14062 sed "s/^/$as_me: WARNING: /" >&2
14063 ;;
14064 esac
14065 echo "$as_me:$LINENO: checking for $ac_header" >&5
14066 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14067 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14068 echo $ECHO_N "(cached) $ECHO_C" >&6
14069 else
14070 eval "$as_ac_Header=\$ac_header_preproc"
14071 fi
14072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14073 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14074
14075 fi
14076 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14077 cat >>confdefs.h <<_ACEOF
14078 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14079 _ACEOF
14080
14081 fi
14082
14083 done
14084
14085
14086 for ac_header in X11/XKBlib.h
14087 do
14088 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14089 echo "$as_me:$LINENO: checking for $ac_header" >&5
14090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14091 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14092 echo $ECHO_N "(cached) $ECHO_C" >&6
14093 else
14094 cat >conftest.$ac_ext <<_ACEOF
14095 /* confdefs.h. */
14096 _ACEOF
14097 cat confdefs.h >>conftest.$ac_ext
14098 cat >>conftest.$ac_ext <<_ACEOF
14099 /* end confdefs.h. */
14100
14101 #if HAVE_X11_XLIB_H
14102 #include <X11/Xlib.h>
14103 #endif
14104
14105
14106 #include <$ac_header>
14107 _ACEOF
14108 rm -f conftest.$ac_objext
14109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14110 (eval $ac_compile) 2>conftest.er1
14111 ac_status=$?
14112 grep -v '^ *+' conftest.er1 >conftest.err
14113 rm -f conftest.er1
14114 cat conftest.err >&5
14115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116 (exit $ac_status); } &&
14117 { ac_try='test -z "$ac_c_werror_flag"
14118 || test ! -s conftest.err'
14119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14120 (eval $ac_try) 2>&5
14121 ac_status=$?
14122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14123 (exit $ac_status); }; } &&
14124 { ac_try='test -s conftest.$ac_objext'
14125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14126 (eval $ac_try) 2>&5
14127 ac_status=$?
14128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14129 (exit $ac_status); }; }; then
14130 eval "$as_ac_Header=yes"
14131 else
14132 echo "$as_me: failed program was:" >&5
14133 sed 's/^/| /' conftest.$ac_ext >&5
14134
14135 eval "$as_ac_Header=no"
14136 fi
14137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14138 fi
14139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14140 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14141 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14142 cat >>confdefs.h <<_ACEOF
14143 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14144 _ACEOF
14145
14146 fi
14147
14148 done
14149
14150 fi
14151 fi
14152
14153
14154 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14155 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14156 if test "${ac_cv_c_const+set}" = set; then
14157 echo $ECHO_N "(cached) $ECHO_C" >&6
14158 else
14159 cat >conftest.$ac_ext <<_ACEOF
14160 /* confdefs.h. */
14161 _ACEOF
14162 cat confdefs.h >>conftest.$ac_ext
14163 cat >>conftest.$ac_ext <<_ACEOF
14164 /* end confdefs.h. */
14165
14166 int
14167 main ()
14168 {
14169 /* FIXME: Include the comments suggested by Paul. */
14170 #ifndef __cplusplus
14171 /* Ultrix mips cc rejects this. */
14172 typedef int charset[2];
14173 const charset x;
14174 /* SunOS 4.1.1 cc rejects this. */
14175 char const *const *ccp;
14176 char **p;
14177 /* NEC SVR4.0.2 mips cc rejects this. */
14178 struct point {int x, y;};
14179 static struct point const zero = {0,0};
14180 /* AIX XL C 1.02.0.0 rejects this.
14181 It does not let you subtract one const X* pointer from another in
14182 an arm of an if-expression whose if-part is not a constant
14183 expression */
14184 const char *g = "string";
14185 ccp = &g + (g ? g-g : 0);
14186 /* HPUX 7.0 cc rejects these. */
14187 ++ccp;
14188 p = (char**) ccp;
14189 ccp = (char const *const *) p;
14190 { /* SCO 3.2v4 cc rejects this. */
14191 char *t;
14192 char const *s = 0 ? (char *) 0 : (char const *) 0;
14193
14194 *t++ = 0;
14195 }
14196 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14197 int x[] = {25, 17};
14198 const int *foo = &x[0];
14199 ++foo;
14200 }
14201 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14202 typedef const int *iptr;
14203 iptr p = 0;
14204 ++p;
14205 }
14206 { /* AIX XL C 1.02.0.0 rejects this saying
14207 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14208 struct s { int j; const int *ap[3]; };
14209 struct s *b; b->j = 5;
14210 }
14211 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14212 const int foo = 10;
14213 }
14214 #endif
14215
14216 ;
14217 return 0;
14218 }
14219 _ACEOF
14220 rm -f conftest.$ac_objext
14221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14222 (eval $ac_compile) 2>conftest.er1
14223 ac_status=$?
14224 grep -v '^ *+' conftest.er1 >conftest.err
14225 rm -f conftest.er1
14226 cat conftest.err >&5
14227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14228 (exit $ac_status); } &&
14229 { ac_try='test -z "$ac_c_werror_flag"
14230 || test ! -s conftest.err'
14231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14232 (eval $ac_try) 2>&5
14233 ac_status=$?
14234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14235 (exit $ac_status); }; } &&
14236 { ac_try='test -s conftest.$ac_objext'
14237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14238 (eval $ac_try) 2>&5
14239 ac_status=$?
14240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14241 (exit $ac_status); }; }; then
14242 ac_cv_c_const=yes
14243 else
14244 echo "$as_me: failed program was:" >&5
14245 sed 's/^/| /' conftest.$ac_ext >&5
14246
14247 ac_cv_c_const=no
14248 fi
14249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14250 fi
14251 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14252 echo "${ECHO_T}$ac_cv_c_const" >&6
14253 if test $ac_cv_c_const = no; then
14254
14255 cat >>confdefs.h <<\_ACEOF
14256 #define const
14257 _ACEOF
14258
14259 fi
14260
14261 echo "$as_me:$LINENO: checking for inline" >&5
14262 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14263 if test "${ac_cv_c_inline+set}" = set; then
14264 echo $ECHO_N "(cached) $ECHO_C" >&6
14265 else
14266 ac_cv_c_inline=no
14267 for ac_kw in inline __inline__ __inline; do
14268 cat >conftest.$ac_ext <<_ACEOF
14269 /* confdefs.h. */
14270 _ACEOF
14271 cat confdefs.h >>conftest.$ac_ext
14272 cat >>conftest.$ac_ext <<_ACEOF
14273 /* end confdefs.h. */
14274 #ifndef __cplusplus
14275 typedef int foo_t;
14276 static $ac_kw foo_t static_foo () {return 0; }
14277 $ac_kw foo_t foo () {return 0; }
14278 #endif
14279
14280 _ACEOF
14281 rm -f conftest.$ac_objext
14282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14283 (eval $ac_compile) 2>conftest.er1
14284 ac_status=$?
14285 grep -v '^ *+' conftest.er1 >conftest.err
14286 rm -f conftest.er1
14287 cat conftest.err >&5
14288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14289 (exit $ac_status); } &&
14290 { ac_try='test -z "$ac_c_werror_flag"
14291 || test ! -s conftest.err'
14292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14293 (eval $ac_try) 2>&5
14294 ac_status=$?
14295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14296 (exit $ac_status); }; } &&
14297 { ac_try='test -s conftest.$ac_objext'
14298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14299 (eval $ac_try) 2>&5
14300 ac_status=$?
14301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14302 (exit $ac_status); }; }; then
14303 ac_cv_c_inline=$ac_kw; break
14304 else
14305 echo "$as_me: failed program was:" >&5
14306 sed 's/^/| /' conftest.$ac_ext >&5
14307
14308 fi
14309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14310 done
14311
14312 fi
14313 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14314 echo "${ECHO_T}$ac_cv_c_inline" >&6
14315
14316
14317 case $ac_cv_c_inline in
14318 inline | yes) ;;
14319 *)
14320 case $ac_cv_c_inline in
14321 no) ac_val=;;
14322 *) ac_val=$ac_cv_c_inline;;
14323 esac
14324 cat >>confdefs.h <<_ACEOF
14325 #ifndef __cplusplus
14326 #define inline $ac_val
14327 #endif
14328 _ACEOF
14329 ;;
14330 esac
14331
14332
14333 echo "$as_me:$LINENO: checking for char" >&5
14334 echo $ECHO_N "checking for char... $ECHO_C" >&6
14335 if test "${ac_cv_type_char+set}" = set; then
14336 echo $ECHO_N "(cached) $ECHO_C" >&6
14337 else
14338 cat >conftest.$ac_ext <<_ACEOF
14339 /* confdefs.h. */
14340 _ACEOF
14341 cat confdefs.h >>conftest.$ac_ext
14342 cat >>conftest.$ac_ext <<_ACEOF
14343 /* end confdefs.h. */
14344 $ac_includes_default
14345 int
14346 main ()
14347 {
14348 if ((char *) 0)
14349 return 0;
14350 if (sizeof (char))
14351 return 0;
14352 ;
14353 return 0;
14354 }
14355 _ACEOF
14356 rm -f conftest.$ac_objext
14357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14358 (eval $ac_compile) 2>conftest.er1
14359 ac_status=$?
14360 grep -v '^ *+' conftest.er1 >conftest.err
14361 rm -f conftest.er1
14362 cat conftest.err >&5
14363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14364 (exit $ac_status); } &&
14365 { ac_try='test -z "$ac_c_werror_flag"
14366 || test ! -s conftest.err'
14367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14368 (eval $ac_try) 2>&5
14369 ac_status=$?
14370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14371 (exit $ac_status); }; } &&
14372 { ac_try='test -s conftest.$ac_objext'
14373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14374 (eval $ac_try) 2>&5
14375 ac_status=$?
14376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14377 (exit $ac_status); }; }; then
14378 ac_cv_type_char=yes
14379 else
14380 echo "$as_me: failed program was:" >&5
14381 sed 's/^/| /' conftest.$ac_ext >&5
14382
14383 ac_cv_type_char=no
14384 fi
14385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14386 fi
14387 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14388 echo "${ECHO_T}$ac_cv_type_char" >&6
14389
14390 echo "$as_me:$LINENO: checking size of char" >&5
14391 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14392 if test "${ac_cv_sizeof_char+set}" = set; then
14393 echo $ECHO_N "(cached) $ECHO_C" >&6
14394 else
14395 if test "$ac_cv_type_char" = yes; then
14396 # The cast to unsigned long works around a bug in the HP C Compiler
14397 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14398 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14399 # This bug is HP SR number 8606223364.
14400 if test "$cross_compiling" = yes; then
14401 # Depending upon the size, compute the lo and hi bounds.
14402 cat >conftest.$ac_ext <<_ACEOF
14403 /* confdefs.h. */
14404 _ACEOF
14405 cat confdefs.h >>conftest.$ac_ext
14406 cat >>conftest.$ac_ext <<_ACEOF
14407 /* end confdefs.h. */
14408 $ac_includes_default
14409 int
14410 main ()
14411 {
14412 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14413 test_array [0] = 0
14414
14415 ;
14416 return 0;
14417 }
14418 _ACEOF
14419 rm -f conftest.$ac_objext
14420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14421 (eval $ac_compile) 2>conftest.er1
14422 ac_status=$?
14423 grep -v '^ *+' conftest.er1 >conftest.err
14424 rm -f conftest.er1
14425 cat conftest.err >&5
14426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14427 (exit $ac_status); } &&
14428 { ac_try='test -z "$ac_c_werror_flag"
14429 || test ! -s conftest.err'
14430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14431 (eval $ac_try) 2>&5
14432 ac_status=$?
14433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14434 (exit $ac_status); }; } &&
14435 { ac_try='test -s conftest.$ac_objext'
14436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14437 (eval $ac_try) 2>&5
14438 ac_status=$?
14439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14440 (exit $ac_status); }; }; then
14441 ac_lo=0 ac_mid=0
14442 while :; do
14443 cat >conftest.$ac_ext <<_ACEOF
14444 /* confdefs.h. */
14445 _ACEOF
14446 cat confdefs.h >>conftest.$ac_ext
14447 cat >>conftest.$ac_ext <<_ACEOF
14448 /* end confdefs.h. */
14449 $ac_includes_default
14450 int
14451 main ()
14452 {
14453 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14454 test_array [0] = 0
14455
14456 ;
14457 return 0;
14458 }
14459 _ACEOF
14460 rm -f conftest.$ac_objext
14461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14462 (eval $ac_compile) 2>conftest.er1
14463 ac_status=$?
14464 grep -v '^ *+' conftest.er1 >conftest.err
14465 rm -f conftest.er1
14466 cat conftest.err >&5
14467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14468 (exit $ac_status); } &&
14469 { ac_try='test -z "$ac_c_werror_flag"
14470 || test ! -s conftest.err'
14471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14472 (eval $ac_try) 2>&5
14473 ac_status=$?
14474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475 (exit $ac_status); }; } &&
14476 { ac_try='test -s conftest.$ac_objext'
14477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14478 (eval $ac_try) 2>&5
14479 ac_status=$?
14480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14481 (exit $ac_status); }; }; then
14482 ac_hi=$ac_mid; break
14483 else
14484 echo "$as_me: failed program was:" >&5
14485 sed 's/^/| /' conftest.$ac_ext >&5
14486
14487 ac_lo=`expr $ac_mid + 1`
14488 if test $ac_lo -le $ac_mid; then
14489 ac_lo= ac_hi=
14490 break
14491 fi
14492 ac_mid=`expr 2 '*' $ac_mid + 1`
14493 fi
14494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14495 done
14496 else
14497 echo "$as_me: failed program was:" >&5
14498 sed 's/^/| /' conftest.$ac_ext >&5
14499
14500 cat >conftest.$ac_ext <<_ACEOF
14501 /* confdefs.h. */
14502 _ACEOF
14503 cat confdefs.h >>conftest.$ac_ext
14504 cat >>conftest.$ac_ext <<_ACEOF
14505 /* end confdefs.h. */
14506 $ac_includes_default
14507 int
14508 main ()
14509 {
14510 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14511 test_array [0] = 0
14512
14513 ;
14514 return 0;
14515 }
14516 _ACEOF
14517 rm -f conftest.$ac_objext
14518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14519 (eval $ac_compile) 2>conftest.er1
14520 ac_status=$?
14521 grep -v '^ *+' conftest.er1 >conftest.err
14522 rm -f conftest.er1
14523 cat conftest.err >&5
14524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14525 (exit $ac_status); } &&
14526 { ac_try='test -z "$ac_c_werror_flag"
14527 || test ! -s conftest.err'
14528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14529 (eval $ac_try) 2>&5
14530 ac_status=$?
14531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14532 (exit $ac_status); }; } &&
14533 { ac_try='test -s conftest.$ac_objext'
14534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14535 (eval $ac_try) 2>&5
14536 ac_status=$?
14537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14538 (exit $ac_status); }; }; then
14539 ac_hi=-1 ac_mid=-1
14540 while :; do
14541 cat >conftest.$ac_ext <<_ACEOF
14542 /* confdefs.h. */
14543 _ACEOF
14544 cat confdefs.h >>conftest.$ac_ext
14545 cat >>conftest.$ac_ext <<_ACEOF
14546 /* end confdefs.h. */
14547 $ac_includes_default
14548 int
14549 main ()
14550 {
14551 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14552 test_array [0] = 0
14553
14554 ;
14555 return 0;
14556 }
14557 _ACEOF
14558 rm -f conftest.$ac_objext
14559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14560 (eval $ac_compile) 2>conftest.er1
14561 ac_status=$?
14562 grep -v '^ *+' conftest.er1 >conftest.err
14563 rm -f conftest.er1
14564 cat conftest.err >&5
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); } &&
14567 { ac_try='test -z "$ac_c_werror_flag"
14568 || test ! -s conftest.err'
14569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14570 (eval $ac_try) 2>&5
14571 ac_status=$?
14572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14573 (exit $ac_status); }; } &&
14574 { ac_try='test -s conftest.$ac_objext'
14575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14576 (eval $ac_try) 2>&5
14577 ac_status=$?
14578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579 (exit $ac_status); }; }; then
14580 ac_lo=$ac_mid; break
14581 else
14582 echo "$as_me: failed program was:" >&5
14583 sed 's/^/| /' conftest.$ac_ext >&5
14584
14585 ac_hi=`expr '(' $ac_mid ')' - 1`
14586 if test $ac_mid -le $ac_hi; then
14587 ac_lo= ac_hi=
14588 break
14589 fi
14590 ac_mid=`expr 2 '*' $ac_mid`
14591 fi
14592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14593 done
14594 else
14595 echo "$as_me: failed program was:" >&5
14596 sed 's/^/| /' conftest.$ac_ext >&5
14597
14598 ac_lo= ac_hi=
14599 fi
14600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14601 fi
14602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14603 # Binary search between lo and hi bounds.
14604 while test "x$ac_lo" != "x$ac_hi"; do
14605 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14606 cat >conftest.$ac_ext <<_ACEOF
14607 /* confdefs.h. */
14608 _ACEOF
14609 cat confdefs.h >>conftest.$ac_ext
14610 cat >>conftest.$ac_ext <<_ACEOF
14611 /* end confdefs.h. */
14612 $ac_includes_default
14613 int
14614 main ()
14615 {
14616 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14617 test_array [0] = 0
14618
14619 ;
14620 return 0;
14621 }
14622 _ACEOF
14623 rm -f conftest.$ac_objext
14624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14625 (eval $ac_compile) 2>conftest.er1
14626 ac_status=$?
14627 grep -v '^ *+' conftest.er1 >conftest.err
14628 rm -f conftest.er1
14629 cat conftest.err >&5
14630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14631 (exit $ac_status); } &&
14632 { ac_try='test -z "$ac_c_werror_flag"
14633 || test ! -s conftest.err'
14634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14635 (eval $ac_try) 2>&5
14636 ac_status=$?
14637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14638 (exit $ac_status); }; } &&
14639 { ac_try='test -s conftest.$ac_objext'
14640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14641 (eval $ac_try) 2>&5
14642 ac_status=$?
14643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14644 (exit $ac_status); }; }; then
14645 ac_hi=$ac_mid
14646 else
14647 echo "$as_me: failed program was:" >&5
14648 sed 's/^/| /' conftest.$ac_ext >&5
14649
14650 ac_lo=`expr '(' $ac_mid ')' + 1`
14651 fi
14652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14653 done
14654 case $ac_lo in
14655 ?*) ac_cv_sizeof_char=$ac_lo;;
14656 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14657 See \`config.log' for more details." >&5
14658 echo "$as_me: error: cannot compute sizeof (char), 77
14659 See \`config.log' for more details." >&2;}
14660 { (exit 1); exit 1; }; } ;;
14661 esac
14662 else
14663 if test "$cross_compiling" = yes; then
14664 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14665 See \`config.log' for more details." >&5
14666 echo "$as_me: error: cannot run test program while cross compiling
14667 See \`config.log' for more details." >&2;}
14668 { (exit 1); exit 1; }; }
14669 else
14670 cat >conftest.$ac_ext <<_ACEOF
14671 /* confdefs.h. */
14672 _ACEOF
14673 cat confdefs.h >>conftest.$ac_ext
14674 cat >>conftest.$ac_ext <<_ACEOF
14675 /* end confdefs.h. */
14676 $ac_includes_default
14677 long longval () { return (long) (sizeof (char)); }
14678 unsigned long ulongval () { return (long) (sizeof (char)); }
14679 #include <stdio.h>
14680 #include <stdlib.h>
14681 int
14682 main ()
14683 {
14684
14685 FILE *f = fopen ("conftest.val", "w");
14686 if (! f)
14687 exit (1);
14688 if (((long) (sizeof (char))) < 0)
14689 {
14690 long i = longval ();
14691 if (i != ((long) (sizeof (char))))
14692 exit (1);
14693 fprintf (f, "%ld\n", i);
14694 }
14695 else
14696 {
14697 unsigned long i = ulongval ();
14698 if (i != ((long) (sizeof (char))))
14699 exit (1);
14700 fprintf (f, "%lu\n", i);
14701 }
14702 exit (ferror (f) || fclose (f) != 0);
14703
14704 ;
14705 return 0;
14706 }
14707 _ACEOF
14708 rm -f conftest$ac_exeext
14709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14710 (eval $ac_link) 2>&5
14711 ac_status=$?
14712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14713 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14715 (eval $ac_try) 2>&5
14716 ac_status=$?
14717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14718 (exit $ac_status); }; }; then
14719 ac_cv_sizeof_char=`cat conftest.val`
14720 else
14721 echo "$as_me: program exited with status $ac_status" >&5
14722 echo "$as_me: failed program was:" >&5
14723 sed 's/^/| /' conftest.$ac_ext >&5
14724
14725 ( exit $ac_status )
14726 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14727 See \`config.log' for more details." >&5
14728 echo "$as_me: error: cannot compute sizeof (char), 77
14729 See \`config.log' for more details." >&2;}
14730 { (exit 1); exit 1; }; }
14731 fi
14732 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14733 fi
14734 fi
14735 rm -f conftest.val
14736 else
14737 ac_cv_sizeof_char=0
14738 fi
14739 fi
14740 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14741 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14742 cat >>confdefs.h <<_ACEOF
14743 #define SIZEOF_CHAR $ac_cv_sizeof_char
14744 _ACEOF
14745
14746
14747 echo "$as_me:$LINENO: checking for short" >&5
14748 echo $ECHO_N "checking for short... $ECHO_C" >&6
14749 if test "${ac_cv_type_short+set}" = set; then
14750 echo $ECHO_N "(cached) $ECHO_C" >&6
14751 else
14752 cat >conftest.$ac_ext <<_ACEOF
14753 /* confdefs.h. */
14754 _ACEOF
14755 cat confdefs.h >>conftest.$ac_ext
14756 cat >>conftest.$ac_ext <<_ACEOF
14757 /* end confdefs.h. */
14758 $ac_includes_default
14759 int
14760 main ()
14761 {
14762 if ((short *) 0)
14763 return 0;
14764 if (sizeof (short))
14765 return 0;
14766 ;
14767 return 0;
14768 }
14769 _ACEOF
14770 rm -f conftest.$ac_objext
14771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14772 (eval $ac_compile) 2>conftest.er1
14773 ac_status=$?
14774 grep -v '^ *+' conftest.er1 >conftest.err
14775 rm -f conftest.er1
14776 cat conftest.err >&5
14777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14778 (exit $ac_status); } &&
14779 { ac_try='test -z "$ac_c_werror_flag"
14780 || test ! -s conftest.err'
14781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14782 (eval $ac_try) 2>&5
14783 ac_status=$?
14784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14785 (exit $ac_status); }; } &&
14786 { ac_try='test -s conftest.$ac_objext'
14787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14788 (eval $ac_try) 2>&5
14789 ac_status=$?
14790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14791 (exit $ac_status); }; }; then
14792 ac_cv_type_short=yes
14793 else
14794 echo "$as_me: failed program was:" >&5
14795 sed 's/^/| /' conftest.$ac_ext >&5
14796
14797 ac_cv_type_short=no
14798 fi
14799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14800 fi
14801 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14802 echo "${ECHO_T}$ac_cv_type_short" >&6
14803
14804 echo "$as_me:$LINENO: checking size of short" >&5
14805 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14806 if test "${ac_cv_sizeof_short+set}" = set; then
14807 echo $ECHO_N "(cached) $ECHO_C" >&6
14808 else
14809 if test "$ac_cv_type_short" = yes; then
14810 # The cast to unsigned long works around a bug in the HP C Compiler
14811 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14812 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14813 # This bug is HP SR number 8606223364.
14814 if test "$cross_compiling" = yes; then
14815 # Depending upon the size, compute the lo and hi bounds.
14816 cat >conftest.$ac_ext <<_ACEOF
14817 /* confdefs.h. */
14818 _ACEOF
14819 cat confdefs.h >>conftest.$ac_ext
14820 cat >>conftest.$ac_ext <<_ACEOF
14821 /* end confdefs.h. */
14822 $ac_includes_default
14823 int
14824 main ()
14825 {
14826 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14827 test_array [0] = 0
14828
14829 ;
14830 return 0;
14831 }
14832 _ACEOF
14833 rm -f conftest.$ac_objext
14834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14835 (eval $ac_compile) 2>conftest.er1
14836 ac_status=$?
14837 grep -v '^ *+' conftest.er1 >conftest.err
14838 rm -f conftest.er1
14839 cat conftest.err >&5
14840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14841 (exit $ac_status); } &&
14842 { ac_try='test -z "$ac_c_werror_flag"
14843 || test ! -s conftest.err'
14844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14845 (eval $ac_try) 2>&5
14846 ac_status=$?
14847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14848 (exit $ac_status); }; } &&
14849 { ac_try='test -s conftest.$ac_objext'
14850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14851 (eval $ac_try) 2>&5
14852 ac_status=$?
14853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14854 (exit $ac_status); }; }; then
14855 ac_lo=0 ac_mid=0
14856 while :; do
14857 cat >conftest.$ac_ext <<_ACEOF
14858 /* confdefs.h. */
14859 _ACEOF
14860 cat confdefs.h >>conftest.$ac_ext
14861 cat >>conftest.$ac_ext <<_ACEOF
14862 /* end confdefs.h. */
14863 $ac_includes_default
14864 int
14865 main ()
14866 {
14867 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14868 test_array [0] = 0
14869
14870 ;
14871 return 0;
14872 }
14873 _ACEOF
14874 rm -f conftest.$ac_objext
14875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14876 (eval $ac_compile) 2>conftest.er1
14877 ac_status=$?
14878 grep -v '^ *+' conftest.er1 >conftest.err
14879 rm -f conftest.er1
14880 cat conftest.err >&5
14881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14882 (exit $ac_status); } &&
14883 { ac_try='test -z "$ac_c_werror_flag"
14884 || test ! -s conftest.err'
14885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14886 (eval $ac_try) 2>&5
14887 ac_status=$?
14888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14889 (exit $ac_status); }; } &&
14890 { ac_try='test -s conftest.$ac_objext'
14891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14892 (eval $ac_try) 2>&5
14893 ac_status=$?
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); }; }; then
14896 ac_hi=$ac_mid; break
14897 else
14898 echo "$as_me: failed program was:" >&5
14899 sed 's/^/| /' conftest.$ac_ext >&5
14900
14901 ac_lo=`expr $ac_mid + 1`
14902 if test $ac_lo -le $ac_mid; then
14903 ac_lo= ac_hi=
14904 break
14905 fi
14906 ac_mid=`expr 2 '*' $ac_mid + 1`
14907 fi
14908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14909 done
14910 else
14911 echo "$as_me: failed program was:" >&5
14912 sed 's/^/| /' conftest.$ac_ext >&5
14913
14914 cat >conftest.$ac_ext <<_ACEOF
14915 /* confdefs.h. */
14916 _ACEOF
14917 cat confdefs.h >>conftest.$ac_ext
14918 cat >>conftest.$ac_ext <<_ACEOF
14919 /* end confdefs.h. */
14920 $ac_includes_default
14921 int
14922 main ()
14923 {
14924 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14925 test_array [0] = 0
14926
14927 ;
14928 return 0;
14929 }
14930 _ACEOF
14931 rm -f conftest.$ac_objext
14932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14933 (eval $ac_compile) 2>conftest.er1
14934 ac_status=$?
14935 grep -v '^ *+' conftest.er1 >conftest.err
14936 rm -f conftest.er1
14937 cat conftest.err >&5
14938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14939 (exit $ac_status); } &&
14940 { ac_try='test -z "$ac_c_werror_flag"
14941 || test ! -s conftest.err'
14942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14943 (eval $ac_try) 2>&5
14944 ac_status=$?
14945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14946 (exit $ac_status); }; } &&
14947 { ac_try='test -s conftest.$ac_objext'
14948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14949 (eval $ac_try) 2>&5
14950 ac_status=$?
14951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14952 (exit $ac_status); }; }; then
14953 ac_hi=-1 ac_mid=-1
14954 while :; do
14955 cat >conftest.$ac_ext <<_ACEOF
14956 /* confdefs.h. */
14957 _ACEOF
14958 cat confdefs.h >>conftest.$ac_ext
14959 cat >>conftest.$ac_ext <<_ACEOF
14960 /* end confdefs.h. */
14961 $ac_includes_default
14962 int
14963 main ()
14964 {
14965 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14966 test_array [0] = 0
14967
14968 ;
14969 return 0;
14970 }
14971 _ACEOF
14972 rm -f conftest.$ac_objext
14973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14974 (eval $ac_compile) 2>conftest.er1
14975 ac_status=$?
14976 grep -v '^ *+' conftest.er1 >conftest.err
14977 rm -f conftest.er1
14978 cat conftest.err >&5
14979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14980 (exit $ac_status); } &&
14981 { ac_try='test -z "$ac_c_werror_flag"
14982 || test ! -s conftest.err'
14983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14984 (eval $ac_try) 2>&5
14985 ac_status=$?
14986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14987 (exit $ac_status); }; } &&
14988 { ac_try='test -s conftest.$ac_objext'
14989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14990 (eval $ac_try) 2>&5
14991 ac_status=$?
14992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14993 (exit $ac_status); }; }; then
14994 ac_lo=$ac_mid; break
14995 else
14996 echo "$as_me: failed program was:" >&5
14997 sed 's/^/| /' conftest.$ac_ext >&5
14998
14999 ac_hi=`expr '(' $ac_mid ')' - 1`
15000 if test $ac_mid -le $ac_hi; then
15001 ac_lo= ac_hi=
15002 break
15003 fi
15004 ac_mid=`expr 2 '*' $ac_mid`
15005 fi
15006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15007 done
15008 else
15009 echo "$as_me: failed program was:" >&5
15010 sed 's/^/| /' conftest.$ac_ext >&5
15011
15012 ac_lo= ac_hi=
15013 fi
15014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15015 fi
15016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15017 # Binary search between lo and hi bounds.
15018 while test "x$ac_lo" != "x$ac_hi"; do
15019 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15020 cat >conftest.$ac_ext <<_ACEOF
15021 /* confdefs.h. */
15022 _ACEOF
15023 cat confdefs.h >>conftest.$ac_ext
15024 cat >>conftest.$ac_ext <<_ACEOF
15025 /* end confdefs.h. */
15026 $ac_includes_default
15027 int
15028 main ()
15029 {
15030 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15031 test_array [0] = 0
15032
15033 ;
15034 return 0;
15035 }
15036 _ACEOF
15037 rm -f conftest.$ac_objext
15038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15039 (eval $ac_compile) 2>conftest.er1
15040 ac_status=$?
15041 grep -v '^ *+' conftest.er1 >conftest.err
15042 rm -f conftest.er1
15043 cat conftest.err >&5
15044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15045 (exit $ac_status); } &&
15046 { ac_try='test -z "$ac_c_werror_flag"
15047 || test ! -s conftest.err'
15048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15049 (eval $ac_try) 2>&5
15050 ac_status=$?
15051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15052 (exit $ac_status); }; } &&
15053 { ac_try='test -s conftest.$ac_objext'
15054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15055 (eval $ac_try) 2>&5
15056 ac_status=$?
15057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15058 (exit $ac_status); }; }; then
15059 ac_hi=$ac_mid
15060 else
15061 echo "$as_me: failed program was:" >&5
15062 sed 's/^/| /' conftest.$ac_ext >&5
15063
15064 ac_lo=`expr '(' $ac_mid ')' + 1`
15065 fi
15066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15067 done
15068 case $ac_lo in
15069 ?*) ac_cv_sizeof_short=$ac_lo;;
15070 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15071 See \`config.log' for more details." >&5
15072 echo "$as_me: error: cannot compute sizeof (short), 77
15073 See \`config.log' for more details." >&2;}
15074 { (exit 1); exit 1; }; } ;;
15075 esac
15076 else
15077 if test "$cross_compiling" = yes; then
15078 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15079 See \`config.log' for more details." >&5
15080 echo "$as_me: error: cannot run test program while cross compiling
15081 See \`config.log' for more details." >&2;}
15082 { (exit 1); exit 1; }; }
15083 else
15084 cat >conftest.$ac_ext <<_ACEOF
15085 /* confdefs.h. */
15086 _ACEOF
15087 cat confdefs.h >>conftest.$ac_ext
15088 cat >>conftest.$ac_ext <<_ACEOF
15089 /* end confdefs.h. */
15090 $ac_includes_default
15091 long longval () { return (long) (sizeof (short)); }
15092 unsigned long ulongval () { return (long) (sizeof (short)); }
15093 #include <stdio.h>
15094 #include <stdlib.h>
15095 int
15096 main ()
15097 {
15098
15099 FILE *f = fopen ("conftest.val", "w");
15100 if (! f)
15101 exit (1);
15102 if (((long) (sizeof (short))) < 0)
15103 {
15104 long i = longval ();
15105 if (i != ((long) (sizeof (short))))
15106 exit (1);
15107 fprintf (f, "%ld\n", i);
15108 }
15109 else
15110 {
15111 unsigned long i = ulongval ();
15112 if (i != ((long) (sizeof (short))))
15113 exit (1);
15114 fprintf (f, "%lu\n", i);
15115 }
15116 exit (ferror (f) || fclose (f) != 0);
15117
15118 ;
15119 return 0;
15120 }
15121 _ACEOF
15122 rm -f conftest$ac_exeext
15123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15124 (eval $ac_link) 2>&5
15125 ac_status=$?
15126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15127 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15129 (eval $ac_try) 2>&5
15130 ac_status=$?
15131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15132 (exit $ac_status); }; }; then
15133 ac_cv_sizeof_short=`cat conftest.val`
15134 else
15135 echo "$as_me: program exited with status $ac_status" >&5
15136 echo "$as_me: failed program was:" >&5
15137 sed 's/^/| /' conftest.$ac_ext >&5
15138
15139 ( exit $ac_status )
15140 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15141 See \`config.log' for more details." >&5
15142 echo "$as_me: error: cannot compute sizeof (short), 77
15143 See \`config.log' for more details." >&2;}
15144 { (exit 1); exit 1; }; }
15145 fi
15146 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15147 fi
15148 fi
15149 rm -f conftest.val
15150 else
15151 ac_cv_sizeof_short=0
15152 fi
15153 fi
15154 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15155 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15156 cat >>confdefs.h <<_ACEOF
15157 #define SIZEOF_SHORT $ac_cv_sizeof_short
15158 _ACEOF
15159
15160
15161 echo "$as_me:$LINENO: checking for void *" >&5
15162 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15163 if test "${ac_cv_type_void_p+set}" = set; then
15164 echo $ECHO_N "(cached) $ECHO_C" >&6
15165 else
15166 cat >conftest.$ac_ext <<_ACEOF
15167 /* confdefs.h. */
15168 _ACEOF
15169 cat confdefs.h >>conftest.$ac_ext
15170 cat >>conftest.$ac_ext <<_ACEOF
15171 /* end confdefs.h. */
15172 $ac_includes_default
15173 int
15174 main ()
15175 {
15176 if ((void * *) 0)
15177 return 0;
15178 if (sizeof (void *))
15179 return 0;
15180 ;
15181 return 0;
15182 }
15183 _ACEOF
15184 rm -f conftest.$ac_objext
15185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15186 (eval $ac_compile) 2>conftest.er1
15187 ac_status=$?
15188 grep -v '^ *+' conftest.er1 >conftest.err
15189 rm -f conftest.er1
15190 cat conftest.err >&5
15191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15192 (exit $ac_status); } &&
15193 { ac_try='test -z "$ac_c_werror_flag"
15194 || test ! -s conftest.err'
15195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15196 (eval $ac_try) 2>&5
15197 ac_status=$?
15198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15199 (exit $ac_status); }; } &&
15200 { ac_try='test -s conftest.$ac_objext'
15201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15202 (eval $ac_try) 2>&5
15203 ac_status=$?
15204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15205 (exit $ac_status); }; }; then
15206 ac_cv_type_void_p=yes
15207 else
15208 echo "$as_me: failed program was:" >&5
15209 sed 's/^/| /' conftest.$ac_ext >&5
15210
15211 ac_cv_type_void_p=no
15212 fi
15213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15214 fi
15215 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15216 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15217
15218 echo "$as_me:$LINENO: checking size of void *" >&5
15219 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15220 if test "${ac_cv_sizeof_void_p+set}" = set; then
15221 echo $ECHO_N "(cached) $ECHO_C" >&6
15222 else
15223 if test "$ac_cv_type_void_p" = yes; then
15224 # The cast to unsigned long works around a bug in the HP C Compiler
15225 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15226 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15227 # This bug is HP SR number 8606223364.
15228 if test "$cross_compiling" = yes; then
15229 # Depending upon the size, compute the lo and hi bounds.
15230 cat >conftest.$ac_ext <<_ACEOF
15231 /* confdefs.h. */
15232 _ACEOF
15233 cat confdefs.h >>conftest.$ac_ext
15234 cat >>conftest.$ac_ext <<_ACEOF
15235 /* end confdefs.h. */
15236 $ac_includes_default
15237 int
15238 main ()
15239 {
15240 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15241 test_array [0] = 0
15242
15243 ;
15244 return 0;
15245 }
15246 _ACEOF
15247 rm -f conftest.$ac_objext
15248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15249 (eval $ac_compile) 2>conftest.er1
15250 ac_status=$?
15251 grep -v '^ *+' conftest.er1 >conftest.err
15252 rm -f conftest.er1
15253 cat conftest.err >&5
15254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15255 (exit $ac_status); } &&
15256 { ac_try='test -z "$ac_c_werror_flag"
15257 || test ! -s conftest.err'
15258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15259 (eval $ac_try) 2>&5
15260 ac_status=$?
15261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15262 (exit $ac_status); }; } &&
15263 { ac_try='test -s conftest.$ac_objext'
15264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15265 (eval $ac_try) 2>&5
15266 ac_status=$?
15267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15268 (exit $ac_status); }; }; then
15269 ac_lo=0 ac_mid=0
15270 while :; do
15271 cat >conftest.$ac_ext <<_ACEOF
15272 /* confdefs.h. */
15273 _ACEOF
15274 cat confdefs.h >>conftest.$ac_ext
15275 cat >>conftest.$ac_ext <<_ACEOF
15276 /* end confdefs.h. */
15277 $ac_includes_default
15278 int
15279 main ()
15280 {
15281 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15282 test_array [0] = 0
15283
15284 ;
15285 return 0;
15286 }
15287 _ACEOF
15288 rm -f conftest.$ac_objext
15289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15290 (eval $ac_compile) 2>conftest.er1
15291 ac_status=$?
15292 grep -v '^ *+' conftest.er1 >conftest.err
15293 rm -f conftest.er1
15294 cat conftest.err >&5
15295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15296 (exit $ac_status); } &&
15297 { ac_try='test -z "$ac_c_werror_flag"
15298 || test ! -s conftest.err'
15299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15300 (eval $ac_try) 2>&5
15301 ac_status=$?
15302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15303 (exit $ac_status); }; } &&
15304 { ac_try='test -s conftest.$ac_objext'
15305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15306 (eval $ac_try) 2>&5
15307 ac_status=$?
15308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15309 (exit $ac_status); }; }; then
15310 ac_hi=$ac_mid; break
15311 else
15312 echo "$as_me: failed program was:" >&5
15313 sed 's/^/| /' conftest.$ac_ext >&5
15314
15315 ac_lo=`expr $ac_mid + 1`
15316 if test $ac_lo -le $ac_mid; then
15317 ac_lo= ac_hi=
15318 break
15319 fi
15320 ac_mid=`expr 2 '*' $ac_mid + 1`
15321 fi
15322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15323 done
15324 else
15325 echo "$as_me: failed program was:" >&5
15326 sed 's/^/| /' conftest.$ac_ext >&5
15327
15328 cat >conftest.$ac_ext <<_ACEOF
15329 /* confdefs.h. */
15330 _ACEOF
15331 cat confdefs.h >>conftest.$ac_ext
15332 cat >>conftest.$ac_ext <<_ACEOF
15333 /* end confdefs.h. */
15334 $ac_includes_default
15335 int
15336 main ()
15337 {
15338 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15339 test_array [0] = 0
15340
15341 ;
15342 return 0;
15343 }
15344 _ACEOF
15345 rm -f conftest.$ac_objext
15346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15347 (eval $ac_compile) 2>conftest.er1
15348 ac_status=$?
15349 grep -v '^ *+' conftest.er1 >conftest.err
15350 rm -f conftest.er1
15351 cat conftest.err >&5
15352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15353 (exit $ac_status); } &&
15354 { ac_try='test -z "$ac_c_werror_flag"
15355 || test ! -s conftest.err'
15356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15357 (eval $ac_try) 2>&5
15358 ac_status=$?
15359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15360 (exit $ac_status); }; } &&
15361 { ac_try='test -s conftest.$ac_objext'
15362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15363 (eval $ac_try) 2>&5
15364 ac_status=$?
15365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15366 (exit $ac_status); }; }; then
15367 ac_hi=-1 ac_mid=-1
15368 while :; do
15369 cat >conftest.$ac_ext <<_ACEOF
15370 /* confdefs.h. */
15371 _ACEOF
15372 cat confdefs.h >>conftest.$ac_ext
15373 cat >>conftest.$ac_ext <<_ACEOF
15374 /* end confdefs.h. */
15375 $ac_includes_default
15376 int
15377 main ()
15378 {
15379 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15380 test_array [0] = 0
15381
15382 ;
15383 return 0;
15384 }
15385 _ACEOF
15386 rm -f conftest.$ac_objext
15387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15388 (eval $ac_compile) 2>conftest.er1
15389 ac_status=$?
15390 grep -v '^ *+' conftest.er1 >conftest.err
15391 rm -f conftest.er1
15392 cat conftest.err >&5
15393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15394 (exit $ac_status); } &&
15395 { ac_try='test -z "$ac_c_werror_flag"
15396 || test ! -s conftest.err'
15397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15398 (eval $ac_try) 2>&5
15399 ac_status=$?
15400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401 (exit $ac_status); }; } &&
15402 { ac_try='test -s conftest.$ac_objext'
15403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15404 (eval $ac_try) 2>&5
15405 ac_status=$?
15406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15407 (exit $ac_status); }; }; then
15408 ac_lo=$ac_mid; break
15409 else
15410 echo "$as_me: failed program was:" >&5
15411 sed 's/^/| /' conftest.$ac_ext >&5
15412
15413 ac_hi=`expr '(' $ac_mid ')' - 1`
15414 if test $ac_mid -le $ac_hi; then
15415 ac_lo= ac_hi=
15416 break
15417 fi
15418 ac_mid=`expr 2 '*' $ac_mid`
15419 fi
15420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15421 done
15422 else
15423 echo "$as_me: failed program was:" >&5
15424 sed 's/^/| /' conftest.$ac_ext >&5
15425
15426 ac_lo= ac_hi=
15427 fi
15428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15429 fi
15430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15431 # Binary search between lo and hi bounds.
15432 while test "x$ac_lo" != "x$ac_hi"; do
15433 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15434 cat >conftest.$ac_ext <<_ACEOF
15435 /* confdefs.h. */
15436 _ACEOF
15437 cat confdefs.h >>conftest.$ac_ext
15438 cat >>conftest.$ac_ext <<_ACEOF
15439 /* end confdefs.h. */
15440 $ac_includes_default
15441 int
15442 main ()
15443 {
15444 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15445 test_array [0] = 0
15446
15447 ;
15448 return 0;
15449 }
15450 _ACEOF
15451 rm -f conftest.$ac_objext
15452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15453 (eval $ac_compile) 2>conftest.er1
15454 ac_status=$?
15455 grep -v '^ *+' conftest.er1 >conftest.err
15456 rm -f conftest.er1
15457 cat conftest.err >&5
15458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15459 (exit $ac_status); } &&
15460 { ac_try='test -z "$ac_c_werror_flag"
15461 || test ! -s conftest.err'
15462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15463 (eval $ac_try) 2>&5
15464 ac_status=$?
15465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15466 (exit $ac_status); }; } &&
15467 { ac_try='test -s conftest.$ac_objext'
15468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15469 (eval $ac_try) 2>&5
15470 ac_status=$?
15471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15472 (exit $ac_status); }; }; then
15473 ac_hi=$ac_mid
15474 else
15475 echo "$as_me: failed program was:" >&5
15476 sed 's/^/| /' conftest.$ac_ext >&5
15477
15478 ac_lo=`expr '(' $ac_mid ')' + 1`
15479 fi
15480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15481 done
15482 case $ac_lo in
15483 ?*) ac_cv_sizeof_void_p=$ac_lo;;
15484 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15485 See \`config.log' for more details." >&5
15486 echo "$as_me: error: cannot compute sizeof (void *), 77
15487 See \`config.log' for more details." >&2;}
15488 { (exit 1); exit 1; }; } ;;
15489 esac
15490 else
15491 if test "$cross_compiling" = yes; then
15492 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15493 See \`config.log' for more details." >&5
15494 echo "$as_me: error: cannot run test program while cross compiling
15495 See \`config.log' for more details." >&2;}
15496 { (exit 1); exit 1; }; }
15497 else
15498 cat >conftest.$ac_ext <<_ACEOF
15499 /* confdefs.h. */
15500 _ACEOF
15501 cat confdefs.h >>conftest.$ac_ext
15502 cat >>conftest.$ac_ext <<_ACEOF
15503 /* end confdefs.h. */
15504 $ac_includes_default
15505 long longval () { return (long) (sizeof (void *)); }
15506 unsigned long ulongval () { return (long) (sizeof (void *)); }
15507 #include <stdio.h>
15508 #include <stdlib.h>
15509 int
15510 main ()
15511 {
15512
15513 FILE *f = fopen ("conftest.val", "w");
15514 if (! f)
15515 exit (1);
15516 if (((long) (sizeof (void *))) < 0)
15517 {
15518 long i = longval ();
15519 if (i != ((long) (sizeof (void *))))
15520 exit (1);
15521 fprintf (f, "%ld\n", i);
15522 }
15523 else
15524 {
15525 unsigned long i = ulongval ();
15526 if (i != ((long) (sizeof (void *))))
15527 exit (1);
15528 fprintf (f, "%lu\n", i);
15529 }
15530 exit (ferror (f) || fclose (f) != 0);
15531
15532 ;
15533 return 0;
15534 }
15535 _ACEOF
15536 rm -f conftest$ac_exeext
15537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15538 (eval $ac_link) 2>&5
15539 ac_status=$?
15540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15541 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15543 (eval $ac_try) 2>&5
15544 ac_status=$?
15545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15546 (exit $ac_status); }; }; then
15547 ac_cv_sizeof_void_p=`cat conftest.val`
15548 else
15549 echo "$as_me: program exited with status $ac_status" >&5
15550 echo "$as_me: failed program was:" >&5
15551 sed 's/^/| /' conftest.$ac_ext >&5
15552
15553 ( exit $ac_status )
15554 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15555 See \`config.log' for more details." >&5
15556 echo "$as_me: error: cannot compute sizeof (void *), 77
15557 See \`config.log' for more details." >&2;}
15558 { (exit 1); exit 1; }; }
15559 fi
15560 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15561 fi
15562 fi
15563 rm -f conftest.val
15564 else
15565 ac_cv_sizeof_void_p=0
15566 fi
15567 fi
15568 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15569 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15570 cat >>confdefs.h <<_ACEOF
15571 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15572 _ACEOF
15573
15574
15575 echo "$as_me:$LINENO: checking for int" >&5
15576 echo $ECHO_N "checking for int... $ECHO_C" >&6
15577 if test "${ac_cv_type_int+set}" = set; then
15578 echo $ECHO_N "(cached) $ECHO_C" >&6
15579 else
15580 cat >conftest.$ac_ext <<_ACEOF
15581 /* confdefs.h. */
15582 _ACEOF
15583 cat confdefs.h >>conftest.$ac_ext
15584 cat >>conftest.$ac_ext <<_ACEOF
15585 /* end confdefs.h. */
15586 $ac_includes_default
15587 int
15588 main ()
15589 {
15590 if ((int *) 0)
15591 return 0;
15592 if (sizeof (int))
15593 return 0;
15594 ;
15595 return 0;
15596 }
15597 _ACEOF
15598 rm -f conftest.$ac_objext
15599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15600 (eval $ac_compile) 2>conftest.er1
15601 ac_status=$?
15602 grep -v '^ *+' conftest.er1 >conftest.err
15603 rm -f conftest.er1
15604 cat conftest.err >&5
15605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15606 (exit $ac_status); } &&
15607 { ac_try='test -z "$ac_c_werror_flag"
15608 || test ! -s conftest.err'
15609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15610 (eval $ac_try) 2>&5
15611 ac_status=$?
15612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15613 (exit $ac_status); }; } &&
15614 { ac_try='test -s conftest.$ac_objext'
15615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15616 (eval $ac_try) 2>&5
15617 ac_status=$?
15618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15619 (exit $ac_status); }; }; then
15620 ac_cv_type_int=yes
15621 else
15622 echo "$as_me: failed program was:" >&5
15623 sed 's/^/| /' conftest.$ac_ext >&5
15624
15625 ac_cv_type_int=no
15626 fi
15627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15628 fi
15629 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15630 echo "${ECHO_T}$ac_cv_type_int" >&6
15631
15632 echo "$as_me:$LINENO: checking size of int" >&5
15633 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15634 if test "${ac_cv_sizeof_int+set}" = set; then
15635 echo $ECHO_N "(cached) $ECHO_C" >&6
15636 else
15637 if test "$ac_cv_type_int" = yes; then
15638 # The cast to unsigned long works around a bug in the HP C Compiler
15639 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15640 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15641 # This bug is HP SR number 8606223364.
15642 if test "$cross_compiling" = yes; then
15643 # Depending upon the size, compute the lo and hi bounds.
15644 cat >conftest.$ac_ext <<_ACEOF
15645 /* confdefs.h. */
15646 _ACEOF
15647 cat confdefs.h >>conftest.$ac_ext
15648 cat >>conftest.$ac_ext <<_ACEOF
15649 /* end confdefs.h. */
15650 $ac_includes_default
15651 int
15652 main ()
15653 {
15654 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15655 test_array [0] = 0
15656
15657 ;
15658 return 0;
15659 }
15660 _ACEOF
15661 rm -f conftest.$ac_objext
15662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15663 (eval $ac_compile) 2>conftest.er1
15664 ac_status=$?
15665 grep -v '^ *+' conftest.er1 >conftest.err
15666 rm -f conftest.er1
15667 cat conftest.err >&5
15668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15669 (exit $ac_status); } &&
15670 { ac_try='test -z "$ac_c_werror_flag"
15671 || test ! -s conftest.err'
15672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15673 (eval $ac_try) 2>&5
15674 ac_status=$?
15675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15676 (exit $ac_status); }; } &&
15677 { ac_try='test -s conftest.$ac_objext'
15678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15679 (eval $ac_try) 2>&5
15680 ac_status=$?
15681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15682 (exit $ac_status); }; }; then
15683 ac_lo=0 ac_mid=0
15684 while :; do
15685 cat >conftest.$ac_ext <<_ACEOF
15686 /* confdefs.h. */
15687 _ACEOF
15688 cat confdefs.h >>conftest.$ac_ext
15689 cat >>conftest.$ac_ext <<_ACEOF
15690 /* end confdefs.h. */
15691 $ac_includes_default
15692 int
15693 main ()
15694 {
15695 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15696 test_array [0] = 0
15697
15698 ;
15699 return 0;
15700 }
15701 _ACEOF
15702 rm -f conftest.$ac_objext
15703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15704 (eval $ac_compile) 2>conftest.er1
15705 ac_status=$?
15706 grep -v '^ *+' conftest.er1 >conftest.err
15707 rm -f conftest.er1
15708 cat conftest.err >&5
15709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15710 (exit $ac_status); } &&
15711 { ac_try='test -z "$ac_c_werror_flag"
15712 || test ! -s conftest.err'
15713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15714 (eval $ac_try) 2>&5
15715 ac_status=$?
15716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15717 (exit $ac_status); }; } &&
15718 { ac_try='test -s conftest.$ac_objext'
15719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15720 (eval $ac_try) 2>&5
15721 ac_status=$?
15722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15723 (exit $ac_status); }; }; then
15724 ac_hi=$ac_mid; break
15725 else
15726 echo "$as_me: failed program was:" >&5
15727 sed 's/^/| /' conftest.$ac_ext >&5
15728
15729 ac_lo=`expr $ac_mid + 1`
15730 if test $ac_lo -le $ac_mid; then
15731 ac_lo= ac_hi=
15732 break
15733 fi
15734 ac_mid=`expr 2 '*' $ac_mid + 1`
15735 fi
15736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15737 done
15738 else
15739 echo "$as_me: failed program was:" >&5
15740 sed 's/^/| /' conftest.$ac_ext >&5
15741
15742 cat >conftest.$ac_ext <<_ACEOF
15743 /* confdefs.h. */
15744 _ACEOF
15745 cat confdefs.h >>conftest.$ac_ext
15746 cat >>conftest.$ac_ext <<_ACEOF
15747 /* end confdefs.h. */
15748 $ac_includes_default
15749 int
15750 main ()
15751 {
15752 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15753 test_array [0] = 0
15754
15755 ;
15756 return 0;
15757 }
15758 _ACEOF
15759 rm -f conftest.$ac_objext
15760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15761 (eval $ac_compile) 2>conftest.er1
15762 ac_status=$?
15763 grep -v '^ *+' conftest.er1 >conftest.err
15764 rm -f conftest.er1
15765 cat conftest.err >&5
15766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15767 (exit $ac_status); } &&
15768 { ac_try='test -z "$ac_c_werror_flag"
15769 || test ! -s conftest.err'
15770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15771 (eval $ac_try) 2>&5
15772 ac_status=$?
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); }; } &&
15775 { ac_try='test -s conftest.$ac_objext'
15776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15777 (eval $ac_try) 2>&5
15778 ac_status=$?
15779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15780 (exit $ac_status); }; }; then
15781 ac_hi=-1 ac_mid=-1
15782 while :; do
15783 cat >conftest.$ac_ext <<_ACEOF
15784 /* confdefs.h. */
15785 _ACEOF
15786 cat confdefs.h >>conftest.$ac_ext
15787 cat >>conftest.$ac_ext <<_ACEOF
15788 /* end confdefs.h. */
15789 $ac_includes_default
15790 int
15791 main ()
15792 {
15793 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15794 test_array [0] = 0
15795
15796 ;
15797 return 0;
15798 }
15799 _ACEOF
15800 rm -f conftest.$ac_objext
15801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15802 (eval $ac_compile) 2>conftest.er1
15803 ac_status=$?
15804 grep -v '^ *+' conftest.er1 >conftest.err
15805 rm -f conftest.er1
15806 cat conftest.err >&5
15807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15808 (exit $ac_status); } &&
15809 { ac_try='test -z "$ac_c_werror_flag"
15810 || test ! -s conftest.err'
15811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15812 (eval $ac_try) 2>&5
15813 ac_status=$?
15814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15815 (exit $ac_status); }; } &&
15816 { ac_try='test -s conftest.$ac_objext'
15817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15818 (eval $ac_try) 2>&5
15819 ac_status=$?
15820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15821 (exit $ac_status); }; }; then
15822 ac_lo=$ac_mid; break
15823 else
15824 echo "$as_me: failed program was:" >&5
15825 sed 's/^/| /' conftest.$ac_ext >&5
15826
15827 ac_hi=`expr '(' $ac_mid ')' - 1`
15828 if test $ac_mid -le $ac_hi; then
15829 ac_lo= ac_hi=
15830 break
15831 fi
15832 ac_mid=`expr 2 '*' $ac_mid`
15833 fi
15834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15835 done
15836 else
15837 echo "$as_me: failed program was:" >&5
15838 sed 's/^/| /' conftest.$ac_ext >&5
15839
15840 ac_lo= ac_hi=
15841 fi
15842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15843 fi
15844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15845 # Binary search between lo and hi bounds.
15846 while test "x$ac_lo" != "x$ac_hi"; do
15847 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15848 cat >conftest.$ac_ext <<_ACEOF
15849 /* confdefs.h. */
15850 _ACEOF
15851 cat confdefs.h >>conftest.$ac_ext
15852 cat >>conftest.$ac_ext <<_ACEOF
15853 /* end confdefs.h. */
15854 $ac_includes_default
15855 int
15856 main ()
15857 {
15858 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15859 test_array [0] = 0
15860
15861 ;
15862 return 0;
15863 }
15864 _ACEOF
15865 rm -f conftest.$ac_objext
15866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15867 (eval $ac_compile) 2>conftest.er1
15868 ac_status=$?
15869 grep -v '^ *+' conftest.er1 >conftest.err
15870 rm -f conftest.er1
15871 cat conftest.err >&5
15872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15873 (exit $ac_status); } &&
15874 { ac_try='test -z "$ac_c_werror_flag"
15875 || test ! -s conftest.err'
15876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15877 (eval $ac_try) 2>&5
15878 ac_status=$?
15879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15880 (exit $ac_status); }; } &&
15881 { ac_try='test -s conftest.$ac_objext'
15882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15883 (eval $ac_try) 2>&5
15884 ac_status=$?
15885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15886 (exit $ac_status); }; }; then
15887 ac_hi=$ac_mid
15888 else
15889 echo "$as_me: failed program was:" >&5
15890 sed 's/^/| /' conftest.$ac_ext >&5
15891
15892 ac_lo=`expr '(' $ac_mid ')' + 1`
15893 fi
15894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15895 done
15896 case $ac_lo in
15897 ?*) ac_cv_sizeof_int=$ac_lo;;
15898 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15899 See \`config.log' for more details." >&5
15900 echo "$as_me: error: cannot compute sizeof (int), 77
15901 See \`config.log' for more details." >&2;}
15902 { (exit 1); exit 1; }; } ;;
15903 esac
15904 else
15905 if test "$cross_compiling" = yes; then
15906 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15907 See \`config.log' for more details." >&5
15908 echo "$as_me: error: cannot run test program while cross compiling
15909 See \`config.log' for more details." >&2;}
15910 { (exit 1); exit 1; }; }
15911 else
15912 cat >conftest.$ac_ext <<_ACEOF
15913 /* confdefs.h. */
15914 _ACEOF
15915 cat confdefs.h >>conftest.$ac_ext
15916 cat >>conftest.$ac_ext <<_ACEOF
15917 /* end confdefs.h. */
15918 $ac_includes_default
15919 long longval () { return (long) (sizeof (int)); }
15920 unsigned long ulongval () { return (long) (sizeof (int)); }
15921 #include <stdio.h>
15922 #include <stdlib.h>
15923 int
15924 main ()
15925 {
15926
15927 FILE *f = fopen ("conftest.val", "w");
15928 if (! f)
15929 exit (1);
15930 if (((long) (sizeof (int))) < 0)
15931 {
15932 long i = longval ();
15933 if (i != ((long) (sizeof (int))))
15934 exit (1);
15935 fprintf (f, "%ld\n", i);
15936 }
15937 else
15938 {
15939 unsigned long i = ulongval ();
15940 if (i != ((long) (sizeof (int))))
15941 exit (1);
15942 fprintf (f, "%lu\n", i);
15943 }
15944 exit (ferror (f) || fclose (f) != 0);
15945
15946 ;
15947 return 0;
15948 }
15949 _ACEOF
15950 rm -f conftest$ac_exeext
15951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15952 (eval $ac_link) 2>&5
15953 ac_status=$?
15954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15955 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15957 (eval $ac_try) 2>&5
15958 ac_status=$?
15959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15960 (exit $ac_status); }; }; then
15961 ac_cv_sizeof_int=`cat conftest.val`
15962 else
15963 echo "$as_me: program exited with status $ac_status" >&5
15964 echo "$as_me: failed program was:" >&5
15965 sed 's/^/| /' conftest.$ac_ext >&5
15966
15967 ( exit $ac_status )
15968 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15969 See \`config.log' for more details." >&5
15970 echo "$as_me: error: cannot compute sizeof (int), 77
15971 See \`config.log' for more details." >&2;}
15972 { (exit 1); exit 1; }; }
15973 fi
15974 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15975 fi
15976 fi
15977 rm -f conftest.val
15978 else
15979 ac_cv_sizeof_int=0
15980 fi
15981 fi
15982 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15983 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15984 cat >>confdefs.h <<_ACEOF
15985 #define SIZEOF_INT $ac_cv_sizeof_int
15986 _ACEOF
15987
15988
15989 echo "$as_me:$LINENO: checking for long" >&5
15990 echo $ECHO_N "checking for long... $ECHO_C" >&6
15991 if test "${ac_cv_type_long+set}" = set; then
15992 echo $ECHO_N "(cached) $ECHO_C" >&6
15993 else
15994 cat >conftest.$ac_ext <<_ACEOF
15995 /* confdefs.h. */
15996 _ACEOF
15997 cat confdefs.h >>conftest.$ac_ext
15998 cat >>conftest.$ac_ext <<_ACEOF
15999 /* end confdefs.h. */
16000 $ac_includes_default
16001 int
16002 main ()
16003 {
16004 if ((long *) 0)
16005 return 0;
16006 if (sizeof (long))
16007 return 0;
16008 ;
16009 return 0;
16010 }
16011 _ACEOF
16012 rm -f conftest.$ac_objext
16013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16014 (eval $ac_compile) 2>conftest.er1
16015 ac_status=$?
16016 grep -v '^ *+' conftest.er1 >conftest.err
16017 rm -f conftest.er1
16018 cat conftest.err >&5
16019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16020 (exit $ac_status); } &&
16021 { ac_try='test -z "$ac_c_werror_flag"
16022 || test ! -s conftest.err'
16023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16024 (eval $ac_try) 2>&5
16025 ac_status=$?
16026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16027 (exit $ac_status); }; } &&
16028 { ac_try='test -s conftest.$ac_objext'
16029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16030 (eval $ac_try) 2>&5
16031 ac_status=$?
16032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16033 (exit $ac_status); }; }; then
16034 ac_cv_type_long=yes
16035 else
16036 echo "$as_me: failed program was:" >&5
16037 sed 's/^/| /' conftest.$ac_ext >&5
16038
16039 ac_cv_type_long=no
16040 fi
16041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16042 fi
16043 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16044 echo "${ECHO_T}$ac_cv_type_long" >&6
16045
16046 echo "$as_me:$LINENO: checking size of long" >&5
16047 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16048 if test "${ac_cv_sizeof_long+set}" = set; then
16049 echo $ECHO_N "(cached) $ECHO_C" >&6
16050 else
16051 if test "$ac_cv_type_long" = yes; then
16052 # The cast to unsigned long works around a bug in the HP C Compiler
16053 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16054 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16055 # This bug is HP SR number 8606223364.
16056 if test "$cross_compiling" = yes; then
16057 # Depending upon the size, compute the lo and hi bounds.
16058 cat >conftest.$ac_ext <<_ACEOF
16059 /* confdefs.h. */
16060 _ACEOF
16061 cat confdefs.h >>conftest.$ac_ext
16062 cat >>conftest.$ac_ext <<_ACEOF
16063 /* end confdefs.h. */
16064 $ac_includes_default
16065 int
16066 main ()
16067 {
16068 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16069 test_array [0] = 0
16070
16071 ;
16072 return 0;
16073 }
16074 _ACEOF
16075 rm -f conftest.$ac_objext
16076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16077 (eval $ac_compile) 2>conftest.er1
16078 ac_status=$?
16079 grep -v '^ *+' conftest.er1 >conftest.err
16080 rm -f conftest.er1
16081 cat conftest.err >&5
16082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16083 (exit $ac_status); } &&
16084 { ac_try='test -z "$ac_c_werror_flag"
16085 || test ! -s conftest.err'
16086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16087 (eval $ac_try) 2>&5
16088 ac_status=$?
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); }; } &&
16091 { ac_try='test -s conftest.$ac_objext'
16092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16093 (eval $ac_try) 2>&5
16094 ac_status=$?
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); }; }; then
16097 ac_lo=0 ac_mid=0
16098 while :; do
16099 cat >conftest.$ac_ext <<_ACEOF
16100 /* confdefs.h. */
16101 _ACEOF
16102 cat confdefs.h >>conftest.$ac_ext
16103 cat >>conftest.$ac_ext <<_ACEOF
16104 /* end confdefs.h. */
16105 $ac_includes_default
16106 int
16107 main ()
16108 {
16109 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16110 test_array [0] = 0
16111
16112 ;
16113 return 0;
16114 }
16115 _ACEOF
16116 rm -f conftest.$ac_objext
16117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16118 (eval $ac_compile) 2>conftest.er1
16119 ac_status=$?
16120 grep -v '^ *+' conftest.er1 >conftest.err
16121 rm -f conftest.er1
16122 cat conftest.err >&5
16123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16124 (exit $ac_status); } &&
16125 { ac_try='test -z "$ac_c_werror_flag"
16126 || test ! -s conftest.err'
16127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16128 (eval $ac_try) 2>&5
16129 ac_status=$?
16130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16131 (exit $ac_status); }; } &&
16132 { ac_try='test -s conftest.$ac_objext'
16133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16134 (eval $ac_try) 2>&5
16135 ac_status=$?
16136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137 (exit $ac_status); }; }; then
16138 ac_hi=$ac_mid; break
16139 else
16140 echo "$as_me: failed program was:" >&5
16141 sed 's/^/| /' conftest.$ac_ext >&5
16142
16143 ac_lo=`expr $ac_mid + 1`
16144 if test $ac_lo -le $ac_mid; then
16145 ac_lo= ac_hi=
16146 break
16147 fi
16148 ac_mid=`expr 2 '*' $ac_mid + 1`
16149 fi
16150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16151 done
16152 else
16153 echo "$as_me: failed program was:" >&5
16154 sed 's/^/| /' conftest.$ac_ext >&5
16155
16156 cat >conftest.$ac_ext <<_ACEOF
16157 /* confdefs.h. */
16158 _ACEOF
16159 cat confdefs.h >>conftest.$ac_ext
16160 cat >>conftest.$ac_ext <<_ACEOF
16161 /* end confdefs.h. */
16162 $ac_includes_default
16163 int
16164 main ()
16165 {
16166 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16167 test_array [0] = 0
16168
16169 ;
16170 return 0;
16171 }
16172 _ACEOF
16173 rm -f conftest.$ac_objext
16174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16175 (eval $ac_compile) 2>conftest.er1
16176 ac_status=$?
16177 grep -v '^ *+' conftest.er1 >conftest.err
16178 rm -f conftest.er1
16179 cat conftest.err >&5
16180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16181 (exit $ac_status); } &&
16182 { ac_try='test -z "$ac_c_werror_flag"
16183 || test ! -s conftest.err'
16184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16185 (eval $ac_try) 2>&5
16186 ac_status=$?
16187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16188 (exit $ac_status); }; } &&
16189 { ac_try='test -s conftest.$ac_objext'
16190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16191 (eval $ac_try) 2>&5
16192 ac_status=$?
16193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16194 (exit $ac_status); }; }; then
16195 ac_hi=-1 ac_mid=-1
16196 while :; do
16197 cat >conftest.$ac_ext <<_ACEOF
16198 /* confdefs.h. */
16199 _ACEOF
16200 cat confdefs.h >>conftest.$ac_ext
16201 cat >>conftest.$ac_ext <<_ACEOF
16202 /* end confdefs.h. */
16203 $ac_includes_default
16204 int
16205 main ()
16206 {
16207 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16208 test_array [0] = 0
16209
16210 ;
16211 return 0;
16212 }
16213 _ACEOF
16214 rm -f conftest.$ac_objext
16215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16216 (eval $ac_compile) 2>conftest.er1
16217 ac_status=$?
16218 grep -v '^ *+' conftest.er1 >conftest.err
16219 rm -f conftest.er1
16220 cat conftest.err >&5
16221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16222 (exit $ac_status); } &&
16223 { ac_try='test -z "$ac_c_werror_flag"
16224 || test ! -s conftest.err'
16225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16226 (eval $ac_try) 2>&5
16227 ac_status=$?
16228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16229 (exit $ac_status); }; } &&
16230 { ac_try='test -s conftest.$ac_objext'
16231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16232 (eval $ac_try) 2>&5
16233 ac_status=$?
16234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16235 (exit $ac_status); }; }; then
16236 ac_lo=$ac_mid; break
16237 else
16238 echo "$as_me: failed program was:" >&5
16239 sed 's/^/| /' conftest.$ac_ext >&5
16240
16241 ac_hi=`expr '(' $ac_mid ')' - 1`
16242 if test $ac_mid -le $ac_hi; then
16243 ac_lo= ac_hi=
16244 break
16245 fi
16246 ac_mid=`expr 2 '*' $ac_mid`
16247 fi
16248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16249 done
16250 else
16251 echo "$as_me: failed program was:" >&5
16252 sed 's/^/| /' conftest.$ac_ext >&5
16253
16254 ac_lo= ac_hi=
16255 fi
16256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16257 fi
16258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16259 # Binary search between lo and hi bounds.
16260 while test "x$ac_lo" != "x$ac_hi"; do
16261 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16262 cat >conftest.$ac_ext <<_ACEOF
16263 /* confdefs.h. */
16264 _ACEOF
16265 cat confdefs.h >>conftest.$ac_ext
16266 cat >>conftest.$ac_ext <<_ACEOF
16267 /* end confdefs.h. */
16268 $ac_includes_default
16269 int
16270 main ()
16271 {
16272 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16273 test_array [0] = 0
16274
16275 ;
16276 return 0;
16277 }
16278 _ACEOF
16279 rm -f conftest.$ac_objext
16280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16281 (eval $ac_compile) 2>conftest.er1
16282 ac_status=$?
16283 grep -v '^ *+' conftest.er1 >conftest.err
16284 rm -f conftest.er1
16285 cat conftest.err >&5
16286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16287 (exit $ac_status); } &&
16288 { ac_try='test -z "$ac_c_werror_flag"
16289 || test ! -s conftest.err'
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); }; } &&
16295 { ac_try='test -s conftest.$ac_objext'
16296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16297 (eval $ac_try) 2>&5
16298 ac_status=$?
16299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16300 (exit $ac_status); }; }; then
16301 ac_hi=$ac_mid
16302 else
16303 echo "$as_me: failed program was:" >&5
16304 sed 's/^/| /' conftest.$ac_ext >&5
16305
16306 ac_lo=`expr '(' $ac_mid ')' + 1`
16307 fi
16308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16309 done
16310 case $ac_lo in
16311 ?*) ac_cv_sizeof_long=$ac_lo;;
16312 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16313 See \`config.log' for more details." >&5
16314 echo "$as_me: error: cannot compute sizeof (long), 77
16315 See \`config.log' for more details." >&2;}
16316 { (exit 1); exit 1; }; } ;;
16317 esac
16318 else
16319 if test "$cross_compiling" = yes; then
16320 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16321 See \`config.log' for more details." >&5
16322 echo "$as_me: error: cannot run test program while cross compiling
16323 See \`config.log' for more details." >&2;}
16324 { (exit 1); exit 1; }; }
16325 else
16326 cat >conftest.$ac_ext <<_ACEOF
16327 /* confdefs.h. */
16328 _ACEOF
16329 cat confdefs.h >>conftest.$ac_ext
16330 cat >>conftest.$ac_ext <<_ACEOF
16331 /* end confdefs.h. */
16332 $ac_includes_default
16333 long longval () { return (long) (sizeof (long)); }
16334 unsigned long ulongval () { return (long) (sizeof (long)); }
16335 #include <stdio.h>
16336 #include <stdlib.h>
16337 int
16338 main ()
16339 {
16340
16341 FILE *f = fopen ("conftest.val", "w");
16342 if (! f)
16343 exit (1);
16344 if (((long) (sizeof (long))) < 0)
16345 {
16346 long i = longval ();
16347 if (i != ((long) (sizeof (long))))
16348 exit (1);
16349 fprintf (f, "%ld\n", i);
16350 }
16351 else
16352 {
16353 unsigned long i = ulongval ();
16354 if (i != ((long) (sizeof (long))))
16355 exit (1);
16356 fprintf (f, "%lu\n", i);
16357 }
16358 exit (ferror (f) || fclose (f) != 0);
16359
16360 ;
16361 return 0;
16362 }
16363 _ACEOF
16364 rm -f conftest$ac_exeext
16365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16366 (eval $ac_link) 2>&5
16367 ac_status=$?
16368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16369 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16371 (eval $ac_try) 2>&5
16372 ac_status=$?
16373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16374 (exit $ac_status); }; }; then
16375 ac_cv_sizeof_long=`cat conftest.val`
16376 else
16377 echo "$as_me: program exited with status $ac_status" >&5
16378 echo "$as_me: failed program was:" >&5
16379 sed 's/^/| /' conftest.$ac_ext >&5
16380
16381 ( exit $ac_status )
16382 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16383 See \`config.log' for more details." >&5
16384 echo "$as_me: error: cannot compute sizeof (long), 77
16385 See \`config.log' for more details." >&2;}
16386 { (exit 1); exit 1; }; }
16387 fi
16388 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16389 fi
16390 fi
16391 rm -f conftest.val
16392 else
16393 ac_cv_sizeof_long=0
16394 fi
16395 fi
16396 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16397 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16398 cat >>confdefs.h <<_ACEOF
16399 #define SIZEOF_LONG $ac_cv_sizeof_long
16400 _ACEOF
16401
16402
16403 echo "$as_me:$LINENO: checking for size_t" >&5
16404 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16405 if test "${ac_cv_type_size_t+set}" = set; then
16406 echo $ECHO_N "(cached) $ECHO_C" >&6
16407 else
16408 cat >conftest.$ac_ext <<_ACEOF
16409 /* confdefs.h. */
16410 _ACEOF
16411 cat confdefs.h >>conftest.$ac_ext
16412 cat >>conftest.$ac_ext <<_ACEOF
16413 /* end confdefs.h. */
16414 $ac_includes_default
16415 int
16416 main ()
16417 {
16418 if ((size_t *) 0)
16419 return 0;
16420 if (sizeof (size_t))
16421 return 0;
16422 ;
16423 return 0;
16424 }
16425 _ACEOF
16426 rm -f conftest.$ac_objext
16427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16428 (eval $ac_compile) 2>conftest.er1
16429 ac_status=$?
16430 grep -v '^ *+' conftest.er1 >conftest.err
16431 rm -f conftest.er1
16432 cat conftest.err >&5
16433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16434 (exit $ac_status); } &&
16435 { ac_try='test -z "$ac_c_werror_flag"
16436 || test ! -s conftest.err'
16437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16438 (eval $ac_try) 2>&5
16439 ac_status=$?
16440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16441 (exit $ac_status); }; } &&
16442 { ac_try='test -s conftest.$ac_objext'
16443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16444 (eval $ac_try) 2>&5
16445 ac_status=$?
16446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16447 (exit $ac_status); }; }; then
16448 ac_cv_type_size_t=yes
16449 else
16450 echo "$as_me: failed program was:" >&5
16451 sed 's/^/| /' conftest.$ac_ext >&5
16452
16453 ac_cv_type_size_t=no
16454 fi
16455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16456 fi
16457 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16458 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16459
16460 echo "$as_me:$LINENO: checking size of size_t" >&5
16461 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16462 if test "${ac_cv_sizeof_size_t+set}" = set; then
16463 echo $ECHO_N "(cached) $ECHO_C" >&6
16464 else
16465 if test "$ac_cv_type_size_t" = yes; then
16466 # The cast to unsigned long works around a bug in the HP C Compiler
16467 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16468 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16469 # This bug is HP SR number 8606223364.
16470 if test "$cross_compiling" = yes; then
16471 # Depending upon the size, compute the lo and hi bounds.
16472 cat >conftest.$ac_ext <<_ACEOF
16473 /* confdefs.h. */
16474 _ACEOF
16475 cat confdefs.h >>conftest.$ac_ext
16476 cat >>conftest.$ac_ext <<_ACEOF
16477 /* end confdefs.h. */
16478 $ac_includes_default
16479 int
16480 main ()
16481 {
16482 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16483 test_array [0] = 0
16484
16485 ;
16486 return 0;
16487 }
16488 _ACEOF
16489 rm -f conftest.$ac_objext
16490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16491 (eval $ac_compile) 2>conftest.er1
16492 ac_status=$?
16493 grep -v '^ *+' conftest.er1 >conftest.err
16494 rm -f conftest.er1
16495 cat conftest.err >&5
16496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16497 (exit $ac_status); } &&
16498 { ac_try='test -z "$ac_c_werror_flag"
16499 || test ! -s conftest.err'
16500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16501 (eval $ac_try) 2>&5
16502 ac_status=$?
16503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16504 (exit $ac_status); }; } &&
16505 { ac_try='test -s conftest.$ac_objext'
16506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16507 (eval $ac_try) 2>&5
16508 ac_status=$?
16509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16510 (exit $ac_status); }; }; then
16511 ac_lo=0 ac_mid=0
16512 while :; do
16513 cat >conftest.$ac_ext <<_ACEOF
16514 /* confdefs.h. */
16515 _ACEOF
16516 cat confdefs.h >>conftest.$ac_ext
16517 cat >>conftest.$ac_ext <<_ACEOF
16518 /* end confdefs.h. */
16519 $ac_includes_default
16520 int
16521 main ()
16522 {
16523 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16524 test_array [0] = 0
16525
16526 ;
16527 return 0;
16528 }
16529 _ACEOF
16530 rm -f conftest.$ac_objext
16531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16532 (eval $ac_compile) 2>conftest.er1
16533 ac_status=$?
16534 grep -v '^ *+' conftest.er1 >conftest.err
16535 rm -f conftest.er1
16536 cat conftest.err >&5
16537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16538 (exit $ac_status); } &&
16539 { ac_try='test -z "$ac_c_werror_flag"
16540 || test ! -s conftest.err'
16541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16542 (eval $ac_try) 2>&5
16543 ac_status=$?
16544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16545 (exit $ac_status); }; } &&
16546 { ac_try='test -s conftest.$ac_objext'
16547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16548 (eval $ac_try) 2>&5
16549 ac_status=$?
16550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16551 (exit $ac_status); }; }; then
16552 ac_hi=$ac_mid; break
16553 else
16554 echo "$as_me: failed program was:" >&5
16555 sed 's/^/| /' conftest.$ac_ext >&5
16556
16557 ac_lo=`expr $ac_mid + 1`
16558 if test $ac_lo -le $ac_mid; then
16559 ac_lo= ac_hi=
16560 break
16561 fi
16562 ac_mid=`expr 2 '*' $ac_mid + 1`
16563 fi
16564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16565 done
16566 else
16567 echo "$as_me: failed program was:" >&5
16568 sed 's/^/| /' conftest.$ac_ext >&5
16569
16570 cat >conftest.$ac_ext <<_ACEOF
16571 /* confdefs.h. */
16572 _ACEOF
16573 cat confdefs.h >>conftest.$ac_ext
16574 cat >>conftest.$ac_ext <<_ACEOF
16575 /* end confdefs.h. */
16576 $ac_includes_default
16577 int
16578 main ()
16579 {
16580 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16581 test_array [0] = 0
16582
16583 ;
16584 return 0;
16585 }
16586 _ACEOF
16587 rm -f conftest.$ac_objext
16588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16589 (eval $ac_compile) 2>conftest.er1
16590 ac_status=$?
16591 grep -v '^ *+' conftest.er1 >conftest.err
16592 rm -f conftest.er1
16593 cat conftest.err >&5
16594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16595 (exit $ac_status); } &&
16596 { ac_try='test -z "$ac_c_werror_flag"
16597 || test ! -s conftest.err'
16598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16599 (eval $ac_try) 2>&5
16600 ac_status=$?
16601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16602 (exit $ac_status); }; } &&
16603 { ac_try='test -s conftest.$ac_objext'
16604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16605 (eval $ac_try) 2>&5
16606 ac_status=$?
16607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16608 (exit $ac_status); }; }; then
16609 ac_hi=-1 ac_mid=-1
16610 while :; do
16611 cat >conftest.$ac_ext <<_ACEOF
16612 /* confdefs.h. */
16613 _ACEOF
16614 cat confdefs.h >>conftest.$ac_ext
16615 cat >>conftest.$ac_ext <<_ACEOF
16616 /* end confdefs.h. */
16617 $ac_includes_default
16618 int
16619 main ()
16620 {
16621 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16622 test_array [0] = 0
16623
16624 ;
16625 return 0;
16626 }
16627 _ACEOF
16628 rm -f conftest.$ac_objext
16629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16630 (eval $ac_compile) 2>conftest.er1
16631 ac_status=$?
16632 grep -v '^ *+' conftest.er1 >conftest.err
16633 rm -f conftest.er1
16634 cat conftest.err >&5
16635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16636 (exit $ac_status); } &&
16637 { ac_try='test -z "$ac_c_werror_flag"
16638 || test ! -s conftest.err'
16639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16640 (eval $ac_try) 2>&5
16641 ac_status=$?
16642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16643 (exit $ac_status); }; } &&
16644 { ac_try='test -s conftest.$ac_objext'
16645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16646 (eval $ac_try) 2>&5
16647 ac_status=$?
16648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16649 (exit $ac_status); }; }; then
16650 ac_lo=$ac_mid; break
16651 else
16652 echo "$as_me: failed program was:" >&5
16653 sed 's/^/| /' conftest.$ac_ext >&5
16654
16655 ac_hi=`expr '(' $ac_mid ')' - 1`
16656 if test $ac_mid -le $ac_hi; then
16657 ac_lo= ac_hi=
16658 break
16659 fi
16660 ac_mid=`expr 2 '*' $ac_mid`
16661 fi
16662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16663 done
16664 else
16665 echo "$as_me: failed program was:" >&5
16666 sed 's/^/| /' conftest.$ac_ext >&5
16667
16668 ac_lo= ac_hi=
16669 fi
16670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16671 fi
16672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16673 # Binary search between lo and hi bounds.
16674 while test "x$ac_lo" != "x$ac_hi"; do
16675 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16676 cat >conftest.$ac_ext <<_ACEOF
16677 /* confdefs.h. */
16678 _ACEOF
16679 cat confdefs.h >>conftest.$ac_ext
16680 cat >>conftest.$ac_ext <<_ACEOF
16681 /* end confdefs.h. */
16682 $ac_includes_default
16683 int
16684 main ()
16685 {
16686 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16687 test_array [0] = 0
16688
16689 ;
16690 return 0;
16691 }
16692 _ACEOF
16693 rm -f conftest.$ac_objext
16694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16695 (eval $ac_compile) 2>conftest.er1
16696 ac_status=$?
16697 grep -v '^ *+' conftest.er1 >conftest.err
16698 rm -f conftest.er1
16699 cat conftest.err >&5
16700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16701 (exit $ac_status); } &&
16702 { ac_try='test -z "$ac_c_werror_flag"
16703 || test ! -s conftest.err'
16704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16705 (eval $ac_try) 2>&5
16706 ac_status=$?
16707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16708 (exit $ac_status); }; } &&
16709 { ac_try='test -s conftest.$ac_objext'
16710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16711 (eval $ac_try) 2>&5
16712 ac_status=$?
16713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16714 (exit $ac_status); }; }; then
16715 ac_hi=$ac_mid
16716 else
16717 echo "$as_me: failed program was:" >&5
16718 sed 's/^/| /' conftest.$ac_ext >&5
16719
16720 ac_lo=`expr '(' $ac_mid ')' + 1`
16721 fi
16722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16723 done
16724 case $ac_lo in
16725 ?*) ac_cv_sizeof_size_t=$ac_lo;;
16726 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16727 See \`config.log' for more details." >&5
16728 echo "$as_me: error: cannot compute sizeof (size_t), 77
16729 See \`config.log' for more details." >&2;}
16730 { (exit 1); exit 1; }; } ;;
16731 esac
16732 else
16733 if test "$cross_compiling" = yes; then
16734 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16735 See \`config.log' for more details." >&5
16736 echo "$as_me: error: cannot run test program while cross compiling
16737 See \`config.log' for more details." >&2;}
16738 { (exit 1); exit 1; }; }
16739 else
16740 cat >conftest.$ac_ext <<_ACEOF
16741 /* confdefs.h. */
16742 _ACEOF
16743 cat confdefs.h >>conftest.$ac_ext
16744 cat >>conftest.$ac_ext <<_ACEOF
16745 /* end confdefs.h. */
16746 $ac_includes_default
16747 long longval () { return (long) (sizeof (size_t)); }
16748 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16749 #include <stdio.h>
16750 #include <stdlib.h>
16751 int
16752 main ()
16753 {
16754
16755 FILE *f = fopen ("conftest.val", "w");
16756 if (! f)
16757 exit (1);
16758 if (((long) (sizeof (size_t))) < 0)
16759 {
16760 long i = longval ();
16761 if (i != ((long) (sizeof (size_t))))
16762 exit (1);
16763 fprintf (f, "%ld\n", i);
16764 }
16765 else
16766 {
16767 unsigned long i = ulongval ();
16768 if (i != ((long) (sizeof (size_t))))
16769 exit (1);
16770 fprintf (f, "%lu\n", i);
16771 }
16772 exit (ferror (f) || fclose (f) != 0);
16773
16774 ;
16775 return 0;
16776 }
16777 _ACEOF
16778 rm -f conftest$ac_exeext
16779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16780 (eval $ac_link) 2>&5
16781 ac_status=$?
16782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16783 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16785 (eval $ac_try) 2>&5
16786 ac_status=$?
16787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16788 (exit $ac_status); }; }; then
16789 ac_cv_sizeof_size_t=`cat conftest.val`
16790 else
16791 echo "$as_me: program exited with status $ac_status" >&5
16792 echo "$as_me: failed program was:" >&5
16793 sed 's/^/| /' conftest.$ac_ext >&5
16794
16795 ( exit $ac_status )
16796 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16797 See \`config.log' for more details." >&5
16798 echo "$as_me: error: cannot compute sizeof (size_t), 77
16799 See \`config.log' for more details." >&2;}
16800 { (exit 1); exit 1; }; }
16801 fi
16802 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16803 fi
16804 fi
16805 rm -f conftest.val
16806 else
16807 ac_cv_sizeof_size_t=0
16808 fi
16809 fi
16810 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16811 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16812 cat >>confdefs.h <<_ACEOF
16813 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16814 _ACEOF
16815
16816
16817
16818 case "${host}" in
16819 arm-*-linux* )
16820 echo "$as_me:$LINENO: checking for long long" >&5
16821 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16822 if test "${ac_cv_type_long_long+set}" = set; then
16823 echo $ECHO_N "(cached) $ECHO_C" >&6
16824 else
16825 cat >conftest.$ac_ext <<_ACEOF
16826 /* confdefs.h. */
16827 _ACEOF
16828 cat confdefs.h >>conftest.$ac_ext
16829 cat >>conftest.$ac_ext <<_ACEOF
16830 /* end confdefs.h. */
16831 $ac_includes_default
16832 int
16833 main ()
16834 {
16835 if ((long long *) 0)
16836 return 0;
16837 if (sizeof (long long))
16838 return 0;
16839 ;
16840 return 0;
16841 }
16842 _ACEOF
16843 rm -f conftest.$ac_objext
16844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16845 (eval $ac_compile) 2>conftest.er1
16846 ac_status=$?
16847 grep -v '^ *+' conftest.er1 >conftest.err
16848 rm -f conftest.er1
16849 cat conftest.err >&5
16850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 (exit $ac_status); } &&
16852 { ac_try='test -z "$ac_c_werror_flag"
16853 || test ! -s conftest.err'
16854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16855 (eval $ac_try) 2>&5
16856 ac_status=$?
16857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858 (exit $ac_status); }; } &&
16859 { ac_try='test -s conftest.$ac_objext'
16860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16861 (eval $ac_try) 2>&5
16862 ac_status=$?
16863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16864 (exit $ac_status); }; }; then
16865 ac_cv_type_long_long=yes
16866 else
16867 echo "$as_me: failed program was:" >&5
16868 sed 's/^/| /' conftest.$ac_ext >&5
16869
16870 ac_cv_type_long_long=no
16871 fi
16872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16873 fi
16874 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16875 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16876
16877 echo "$as_me:$LINENO: checking size of long long" >&5
16878 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16879 if test "${ac_cv_sizeof_long_long+set}" = set; then
16880 echo $ECHO_N "(cached) $ECHO_C" >&6
16881 else
16882 if test "$ac_cv_type_long_long" = yes; then
16883 # The cast to unsigned long works around a bug in the HP C Compiler
16884 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16885 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16886 # This bug is HP SR number 8606223364.
16887 if test "$cross_compiling" = yes; then
16888 # Depending upon the size, compute the lo and hi bounds.
16889 cat >conftest.$ac_ext <<_ACEOF
16890 /* confdefs.h. */
16891 _ACEOF
16892 cat confdefs.h >>conftest.$ac_ext
16893 cat >>conftest.$ac_ext <<_ACEOF
16894 /* end confdefs.h. */
16895 $ac_includes_default
16896 int
16897 main ()
16898 {
16899 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16900 test_array [0] = 0
16901
16902 ;
16903 return 0;
16904 }
16905 _ACEOF
16906 rm -f conftest.$ac_objext
16907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16908 (eval $ac_compile) 2>conftest.er1
16909 ac_status=$?
16910 grep -v '^ *+' conftest.er1 >conftest.err
16911 rm -f conftest.er1
16912 cat conftest.err >&5
16913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16914 (exit $ac_status); } &&
16915 { ac_try='test -z "$ac_c_werror_flag"
16916 || test ! -s conftest.err'
16917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16918 (eval $ac_try) 2>&5
16919 ac_status=$?
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); }; } &&
16922 { ac_try='test -s conftest.$ac_objext'
16923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16924 (eval $ac_try) 2>&5
16925 ac_status=$?
16926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16927 (exit $ac_status); }; }; then
16928 ac_lo=0 ac_mid=0
16929 while :; do
16930 cat >conftest.$ac_ext <<_ACEOF
16931 /* confdefs.h. */
16932 _ACEOF
16933 cat confdefs.h >>conftest.$ac_ext
16934 cat >>conftest.$ac_ext <<_ACEOF
16935 /* end confdefs.h. */
16936 $ac_includes_default
16937 int
16938 main ()
16939 {
16940 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16941 test_array [0] = 0
16942
16943 ;
16944 return 0;
16945 }
16946 _ACEOF
16947 rm -f conftest.$ac_objext
16948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16949 (eval $ac_compile) 2>conftest.er1
16950 ac_status=$?
16951 grep -v '^ *+' conftest.er1 >conftest.err
16952 rm -f conftest.er1
16953 cat conftest.err >&5
16954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16955 (exit $ac_status); } &&
16956 { ac_try='test -z "$ac_c_werror_flag"
16957 || test ! -s conftest.err'
16958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16959 (eval $ac_try) 2>&5
16960 ac_status=$?
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); }; } &&
16963 { ac_try='test -s conftest.$ac_objext'
16964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16965 (eval $ac_try) 2>&5
16966 ac_status=$?
16967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16968 (exit $ac_status); }; }; then
16969 ac_hi=$ac_mid; break
16970 else
16971 echo "$as_me: failed program was:" >&5
16972 sed 's/^/| /' conftest.$ac_ext >&5
16973
16974 ac_lo=`expr $ac_mid + 1`
16975 if test $ac_lo -le $ac_mid; then
16976 ac_lo= ac_hi=
16977 break
16978 fi
16979 ac_mid=`expr 2 '*' $ac_mid + 1`
16980 fi
16981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16982 done
16983 else
16984 echo "$as_me: failed program was:" >&5
16985 sed 's/^/| /' conftest.$ac_ext >&5
16986
16987 cat >conftest.$ac_ext <<_ACEOF
16988 /* confdefs.h. */
16989 _ACEOF
16990 cat confdefs.h >>conftest.$ac_ext
16991 cat >>conftest.$ac_ext <<_ACEOF
16992 /* end confdefs.h. */
16993 $ac_includes_default
16994 int
16995 main ()
16996 {
16997 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16998 test_array [0] = 0
16999
17000 ;
17001 return 0;
17002 }
17003 _ACEOF
17004 rm -f conftest.$ac_objext
17005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17006 (eval $ac_compile) 2>conftest.er1
17007 ac_status=$?
17008 grep -v '^ *+' conftest.er1 >conftest.err
17009 rm -f conftest.er1
17010 cat conftest.err >&5
17011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17012 (exit $ac_status); } &&
17013 { ac_try='test -z "$ac_c_werror_flag"
17014 || test ! -s conftest.err'
17015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17016 (eval $ac_try) 2>&5
17017 ac_status=$?
17018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17019 (exit $ac_status); }; } &&
17020 { ac_try='test -s conftest.$ac_objext'
17021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17022 (eval $ac_try) 2>&5
17023 ac_status=$?
17024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17025 (exit $ac_status); }; }; then
17026 ac_hi=-1 ac_mid=-1
17027 while :; do
17028 cat >conftest.$ac_ext <<_ACEOF
17029 /* confdefs.h. */
17030 _ACEOF
17031 cat confdefs.h >>conftest.$ac_ext
17032 cat >>conftest.$ac_ext <<_ACEOF
17033 /* end confdefs.h. */
17034 $ac_includes_default
17035 int
17036 main ()
17037 {
17038 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17039 test_array [0] = 0
17040
17041 ;
17042 return 0;
17043 }
17044 _ACEOF
17045 rm -f conftest.$ac_objext
17046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17047 (eval $ac_compile) 2>conftest.er1
17048 ac_status=$?
17049 grep -v '^ *+' conftest.er1 >conftest.err
17050 rm -f conftest.er1
17051 cat conftest.err >&5
17052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); } &&
17054 { ac_try='test -z "$ac_c_werror_flag"
17055 || test ! -s conftest.err'
17056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17057 (eval $ac_try) 2>&5
17058 ac_status=$?
17059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17060 (exit $ac_status); }; } &&
17061 { ac_try='test -s conftest.$ac_objext'
17062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17063 (eval $ac_try) 2>&5
17064 ac_status=$?
17065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17066 (exit $ac_status); }; }; then
17067 ac_lo=$ac_mid; break
17068 else
17069 echo "$as_me: failed program was:" >&5
17070 sed 's/^/| /' conftest.$ac_ext >&5
17071
17072 ac_hi=`expr '(' $ac_mid ')' - 1`
17073 if test $ac_mid -le $ac_hi; then
17074 ac_lo= ac_hi=
17075 break
17076 fi
17077 ac_mid=`expr 2 '*' $ac_mid`
17078 fi
17079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17080 done
17081 else
17082 echo "$as_me: failed program was:" >&5
17083 sed 's/^/| /' conftest.$ac_ext >&5
17084
17085 ac_lo= ac_hi=
17086 fi
17087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17088 fi
17089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17090 # Binary search between lo and hi bounds.
17091 while test "x$ac_lo" != "x$ac_hi"; do
17092 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17093 cat >conftest.$ac_ext <<_ACEOF
17094 /* confdefs.h. */
17095 _ACEOF
17096 cat confdefs.h >>conftest.$ac_ext
17097 cat >>conftest.$ac_ext <<_ACEOF
17098 /* end confdefs.h. */
17099 $ac_includes_default
17100 int
17101 main ()
17102 {
17103 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17104 test_array [0] = 0
17105
17106 ;
17107 return 0;
17108 }
17109 _ACEOF
17110 rm -f conftest.$ac_objext
17111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17112 (eval $ac_compile) 2>conftest.er1
17113 ac_status=$?
17114 grep -v '^ *+' conftest.er1 >conftest.err
17115 rm -f conftest.er1
17116 cat conftest.err >&5
17117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17118 (exit $ac_status); } &&
17119 { ac_try='test -z "$ac_c_werror_flag"
17120 || test ! -s conftest.err'
17121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17122 (eval $ac_try) 2>&5
17123 ac_status=$?
17124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17125 (exit $ac_status); }; } &&
17126 { ac_try='test -s conftest.$ac_objext'
17127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17128 (eval $ac_try) 2>&5
17129 ac_status=$?
17130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17131 (exit $ac_status); }; }; then
17132 ac_hi=$ac_mid
17133 else
17134 echo "$as_me: failed program was:" >&5
17135 sed 's/^/| /' conftest.$ac_ext >&5
17136
17137 ac_lo=`expr '(' $ac_mid ')' + 1`
17138 fi
17139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17140 done
17141 case $ac_lo in
17142 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17143 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17144 See \`config.log' for more details." >&5
17145 echo "$as_me: error: cannot compute sizeof (long long), 77
17146 See \`config.log' for more details." >&2;}
17147 { (exit 1); exit 1; }; } ;;
17148 esac
17149 else
17150 if test "$cross_compiling" = yes; then
17151 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17152 See \`config.log' for more details." >&5
17153 echo "$as_me: error: cannot run test program while cross compiling
17154 See \`config.log' for more details." >&2;}
17155 { (exit 1); exit 1; }; }
17156 else
17157 cat >conftest.$ac_ext <<_ACEOF
17158 /* confdefs.h. */
17159 _ACEOF
17160 cat confdefs.h >>conftest.$ac_ext
17161 cat >>conftest.$ac_ext <<_ACEOF
17162 /* end confdefs.h. */
17163 $ac_includes_default
17164 long longval () { return (long) (sizeof (long long)); }
17165 unsigned long ulongval () { return (long) (sizeof (long long)); }
17166 #include <stdio.h>
17167 #include <stdlib.h>
17168 int
17169 main ()
17170 {
17171
17172 FILE *f = fopen ("conftest.val", "w");
17173 if (! f)
17174 exit (1);
17175 if (((long) (sizeof (long long))) < 0)
17176 {
17177 long i = longval ();
17178 if (i != ((long) (sizeof (long long))))
17179 exit (1);
17180 fprintf (f, "%ld\n", i);
17181 }
17182 else
17183 {
17184 unsigned long i = ulongval ();
17185 if (i != ((long) (sizeof (long long))))
17186 exit (1);
17187 fprintf (f, "%lu\n", i);
17188 }
17189 exit (ferror (f) || fclose (f) != 0);
17190
17191 ;
17192 return 0;
17193 }
17194 _ACEOF
17195 rm -f conftest$ac_exeext
17196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17197 (eval $ac_link) 2>&5
17198 ac_status=$?
17199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17200 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17202 (eval $ac_try) 2>&5
17203 ac_status=$?
17204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17205 (exit $ac_status); }; }; then
17206 ac_cv_sizeof_long_long=`cat conftest.val`
17207 else
17208 echo "$as_me: program exited with status $ac_status" >&5
17209 echo "$as_me: failed program was:" >&5
17210 sed 's/^/| /' conftest.$ac_ext >&5
17211
17212 ( exit $ac_status )
17213 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17214 See \`config.log' for more details." >&5
17215 echo "$as_me: error: cannot compute sizeof (long long), 77
17216 See \`config.log' for more details." >&2;}
17217 { (exit 1); exit 1; }; }
17218 fi
17219 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17220 fi
17221 fi
17222 rm -f conftest.val
17223 else
17224 ac_cv_sizeof_long_long=0
17225 fi
17226 fi
17227 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17228 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17229 cat >>confdefs.h <<_ACEOF
17230 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17231 _ACEOF
17232
17233
17234 ;;
17235 *-hp-hpux* )
17236 echo "$as_me:$LINENO: checking for long long" >&5
17237 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17238 if test "${ac_cv_type_long_long+set}" = set; then
17239 echo $ECHO_N "(cached) $ECHO_C" >&6
17240 else
17241 cat >conftest.$ac_ext <<_ACEOF
17242 /* confdefs.h. */
17243 _ACEOF
17244 cat confdefs.h >>conftest.$ac_ext
17245 cat >>conftest.$ac_ext <<_ACEOF
17246 /* end confdefs.h. */
17247 $ac_includes_default
17248 int
17249 main ()
17250 {
17251 if ((long long *) 0)
17252 return 0;
17253 if (sizeof (long long))
17254 return 0;
17255 ;
17256 return 0;
17257 }
17258 _ACEOF
17259 rm -f conftest.$ac_objext
17260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17261 (eval $ac_compile) 2>conftest.er1
17262 ac_status=$?
17263 grep -v '^ *+' conftest.er1 >conftest.err
17264 rm -f conftest.er1
17265 cat conftest.err >&5
17266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17267 (exit $ac_status); } &&
17268 { ac_try='test -z "$ac_c_werror_flag"
17269 || test ! -s conftest.err'
17270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17271 (eval $ac_try) 2>&5
17272 ac_status=$?
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); }; } &&
17275 { ac_try='test -s conftest.$ac_objext'
17276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17277 (eval $ac_try) 2>&5
17278 ac_status=$?
17279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17280 (exit $ac_status); }; }; then
17281 ac_cv_type_long_long=yes
17282 else
17283 echo "$as_me: failed program was:" >&5
17284 sed 's/^/| /' conftest.$ac_ext >&5
17285
17286 ac_cv_type_long_long=no
17287 fi
17288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17289 fi
17290 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17291 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17292
17293 echo "$as_me:$LINENO: checking size of long long" >&5
17294 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17295 if test "${ac_cv_sizeof_long_long+set}" = set; then
17296 echo $ECHO_N "(cached) $ECHO_C" >&6
17297 else
17298 if test "$ac_cv_type_long_long" = yes; then
17299 # The cast to unsigned long works around a bug in the HP C Compiler
17300 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17301 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17302 # This bug is HP SR number 8606223364.
17303 if test "$cross_compiling" = yes; then
17304 # Depending upon the size, compute the lo and hi bounds.
17305 cat >conftest.$ac_ext <<_ACEOF
17306 /* confdefs.h. */
17307 _ACEOF
17308 cat confdefs.h >>conftest.$ac_ext
17309 cat >>conftest.$ac_ext <<_ACEOF
17310 /* end confdefs.h. */
17311 $ac_includes_default
17312 int
17313 main ()
17314 {
17315 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17316 test_array [0] = 0
17317
17318 ;
17319 return 0;
17320 }
17321 _ACEOF
17322 rm -f conftest.$ac_objext
17323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17324 (eval $ac_compile) 2>conftest.er1
17325 ac_status=$?
17326 grep -v '^ *+' conftest.er1 >conftest.err
17327 rm -f conftest.er1
17328 cat conftest.err >&5
17329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17330 (exit $ac_status); } &&
17331 { ac_try='test -z "$ac_c_werror_flag"
17332 || test ! -s conftest.err'
17333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17334 (eval $ac_try) 2>&5
17335 ac_status=$?
17336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17337 (exit $ac_status); }; } &&
17338 { ac_try='test -s conftest.$ac_objext'
17339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17340 (eval $ac_try) 2>&5
17341 ac_status=$?
17342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343 (exit $ac_status); }; }; then
17344 ac_lo=0 ac_mid=0
17345 while :; do
17346 cat >conftest.$ac_ext <<_ACEOF
17347 /* confdefs.h. */
17348 _ACEOF
17349 cat confdefs.h >>conftest.$ac_ext
17350 cat >>conftest.$ac_ext <<_ACEOF
17351 /* end confdefs.h. */
17352 $ac_includes_default
17353 int
17354 main ()
17355 {
17356 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17357 test_array [0] = 0
17358
17359 ;
17360 return 0;
17361 }
17362 _ACEOF
17363 rm -f conftest.$ac_objext
17364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17365 (eval $ac_compile) 2>conftest.er1
17366 ac_status=$?
17367 grep -v '^ *+' conftest.er1 >conftest.err
17368 rm -f conftest.er1
17369 cat conftest.err >&5
17370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17371 (exit $ac_status); } &&
17372 { ac_try='test -z "$ac_c_werror_flag"
17373 || test ! -s conftest.err'
17374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17375 (eval $ac_try) 2>&5
17376 ac_status=$?
17377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17378 (exit $ac_status); }; } &&
17379 { ac_try='test -s conftest.$ac_objext'
17380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17381 (eval $ac_try) 2>&5
17382 ac_status=$?
17383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17384 (exit $ac_status); }; }; then
17385 ac_hi=$ac_mid; break
17386 else
17387 echo "$as_me: failed program was:" >&5
17388 sed 's/^/| /' conftest.$ac_ext >&5
17389
17390 ac_lo=`expr $ac_mid + 1`
17391 if test $ac_lo -le $ac_mid; then
17392 ac_lo= ac_hi=
17393 break
17394 fi
17395 ac_mid=`expr 2 '*' $ac_mid + 1`
17396 fi
17397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17398 done
17399 else
17400 echo "$as_me: failed program was:" >&5
17401 sed 's/^/| /' conftest.$ac_ext >&5
17402
17403 cat >conftest.$ac_ext <<_ACEOF
17404 /* confdefs.h. */
17405 _ACEOF
17406 cat confdefs.h >>conftest.$ac_ext
17407 cat >>conftest.$ac_ext <<_ACEOF
17408 /* end confdefs.h. */
17409 $ac_includes_default
17410 int
17411 main ()
17412 {
17413 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17414 test_array [0] = 0
17415
17416 ;
17417 return 0;
17418 }
17419 _ACEOF
17420 rm -f conftest.$ac_objext
17421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17422 (eval $ac_compile) 2>conftest.er1
17423 ac_status=$?
17424 grep -v '^ *+' conftest.er1 >conftest.err
17425 rm -f conftest.er1
17426 cat conftest.err >&5
17427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17428 (exit $ac_status); } &&
17429 { ac_try='test -z "$ac_c_werror_flag"
17430 || test ! -s conftest.err'
17431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17432 (eval $ac_try) 2>&5
17433 ac_status=$?
17434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17435 (exit $ac_status); }; } &&
17436 { ac_try='test -s conftest.$ac_objext'
17437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17438 (eval $ac_try) 2>&5
17439 ac_status=$?
17440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17441 (exit $ac_status); }; }; then
17442 ac_hi=-1 ac_mid=-1
17443 while :; do
17444 cat >conftest.$ac_ext <<_ACEOF
17445 /* confdefs.h. */
17446 _ACEOF
17447 cat confdefs.h >>conftest.$ac_ext
17448 cat >>conftest.$ac_ext <<_ACEOF
17449 /* end confdefs.h. */
17450 $ac_includes_default
17451 int
17452 main ()
17453 {
17454 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17455 test_array [0] = 0
17456
17457 ;
17458 return 0;
17459 }
17460 _ACEOF
17461 rm -f conftest.$ac_objext
17462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17463 (eval $ac_compile) 2>conftest.er1
17464 ac_status=$?
17465 grep -v '^ *+' conftest.er1 >conftest.err
17466 rm -f conftest.er1
17467 cat conftest.err >&5
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); } &&
17470 { ac_try='test -z "$ac_c_werror_flag"
17471 || test ! -s conftest.err'
17472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17473 (eval $ac_try) 2>&5
17474 ac_status=$?
17475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476 (exit $ac_status); }; } &&
17477 { ac_try='test -s conftest.$ac_objext'
17478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17479 (eval $ac_try) 2>&5
17480 ac_status=$?
17481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17482 (exit $ac_status); }; }; then
17483 ac_lo=$ac_mid; break
17484 else
17485 echo "$as_me: failed program was:" >&5
17486 sed 's/^/| /' conftest.$ac_ext >&5
17487
17488 ac_hi=`expr '(' $ac_mid ')' - 1`
17489 if test $ac_mid -le $ac_hi; then
17490 ac_lo= ac_hi=
17491 break
17492 fi
17493 ac_mid=`expr 2 '*' $ac_mid`
17494 fi
17495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17496 done
17497 else
17498 echo "$as_me: failed program was:" >&5
17499 sed 's/^/| /' conftest.$ac_ext >&5
17500
17501 ac_lo= ac_hi=
17502 fi
17503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17504 fi
17505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17506 # Binary search between lo and hi bounds.
17507 while test "x$ac_lo" != "x$ac_hi"; do
17508 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17509 cat >conftest.$ac_ext <<_ACEOF
17510 /* confdefs.h. */
17511 _ACEOF
17512 cat confdefs.h >>conftest.$ac_ext
17513 cat >>conftest.$ac_ext <<_ACEOF
17514 /* end confdefs.h. */
17515 $ac_includes_default
17516 int
17517 main ()
17518 {
17519 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17520 test_array [0] = 0
17521
17522 ;
17523 return 0;
17524 }
17525 _ACEOF
17526 rm -f conftest.$ac_objext
17527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17528 (eval $ac_compile) 2>conftest.er1
17529 ac_status=$?
17530 grep -v '^ *+' conftest.er1 >conftest.err
17531 rm -f conftest.er1
17532 cat conftest.err >&5
17533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17534 (exit $ac_status); } &&
17535 { ac_try='test -z "$ac_c_werror_flag"
17536 || test ! -s conftest.err'
17537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17538 (eval $ac_try) 2>&5
17539 ac_status=$?
17540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17541 (exit $ac_status); }; } &&
17542 { ac_try='test -s conftest.$ac_objext'
17543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17544 (eval $ac_try) 2>&5
17545 ac_status=$?
17546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17547 (exit $ac_status); }; }; then
17548 ac_hi=$ac_mid
17549 else
17550 echo "$as_me: failed program was:" >&5
17551 sed 's/^/| /' conftest.$ac_ext >&5
17552
17553 ac_lo=`expr '(' $ac_mid ')' + 1`
17554 fi
17555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17556 done
17557 case $ac_lo in
17558 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17559 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17560 See \`config.log' for more details." >&5
17561 echo "$as_me: error: cannot compute sizeof (long long), 77
17562 See \`config.log' for more details." >&2;}
17563 { (exit 1); exit 1; }; } ;;
17564 esac
17565 else
17566 if test "$cross_compiling" = yes; then
17567 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17568 See \`config.log' for more details." >&5
17569 echo "$as_me: error: cannot run test program while cross compiling
17570 See \`config.log' for more details." >&2;}
17571 { (exit 1); exit 1; }; }
17572 else
17573 cat >conftest.$ac_ext <<_ACEOF
17574 /* confdefs.h. */
17575 _ACEOF
17576 cat confdefs.h >>conftest.$ac_ext
17577 cat >>conftest.$ac_ext <<_ACEOF
17578 /* end confdefs.h. */
17579 $ac_includes_default
17580 long longval () { return (long) (sizeof (long long)); }
17581 unsigned long ulongval () { return (long) (sizeof (long long)); }
17582 #include <stdio.h>
17583 #include <stdlib.h>
17584 int
17585 main ()
17586 {
17587
17588 FILE *f = fopen ("conftest.val", "w");
17589 if (! f)
17590 exit (1);
17591 if (((long) (sizeof (long long))) < 0)
17592 {
17593 long i = longval ();
17594 if (i != ((long) (sizeof (long long))))
17595 exit (1);
17596 fprintf (f, "%ld\n", i);
17597 }
17598 else
17599 {
17600 unsigned long i = ulongval ();
17601 if (i != ((long) (sizeof (long long))))
17602 exit (1);
17603 fprintf (f, "%lu\n", i);
17604 }
17605 exit (ferror (f) || fclose (f) != 0);
17606
17607 ;
17608 return 0;
17609 }
17610 _ACEOF
17611 rm -f conftest$ac_exeext
17612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17613 (eval $ac_link) 2>&5
17614 ac_status=$?
17615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17616 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17618 (eval $ac_try) 2>&5
17619 ac_status=$?
17620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17621 (exit $ac_status); }; }; then
17622 ac_cv_sizeof_long_long=`cat conftest.val`
17623 else
17624 echo "$as_me: program exited with status $ac_status" >&5
17625 echo "$as_me: failed program was:" >&5
17626 sed 's/^/| /' conftest.$ac_ext >&5
17627
17628 ( exit $ac_status )
17629 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17630 See \`config.log' for more details." >&5
17631 echo "$as_me: error: cannot compute sizeof (long long), 77
17632 See \`config.log' for more details." >&2;}
17633 { (exit 1); exit 1; }; }
17634 fi
17635 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17636 fi
17637 fi
17638 rm -f conftest.val
17639 else
17640 ac_cv_sizeof_long_long=0
17641 fi
17642 fi
17643 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17644 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17645 cat >>confdefs.h <<_ACEOF
17646 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17647 _ACEOF
17648
17649
17650 if test "$ac_cv_sizeof_long_long" != "0"; then
17651 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
17652 fi
17653 ;;
17654 * )
17655 echo "$as_me:$LINENO: checking for long long" >&5
17656 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17657 if test "${ac_cv_type_long_long+set}" = set; then
17658 echo $ECHO_N "(cached) $ECHO_C" >&6
17659 else
17660 cat >conftest.$ac_ext <<_ACEOF
17661 /* confdefs.h. */
17662 _ACEOF
17663 cat confdefs.h >>conftest.$ac_ext
17664 cat >>conftest.$ac_ext <<_ACEOF
17665 /* end confdefs.h. */
17666 $ac_includes_default
17667 int
17668 main ()
17669 {
17670 if ((long long *) 0)
17671 return 0;
17672 if (sizeof (long long))
17673 return 0;
17674 ;
17675 return 0;
17676 }
17677 _ACEOF
17678 rm -f conftest.$ac_objext
17679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17680 (eval $ac_compile) 2>conftest.er1
17681 ac_status=$?
17682 grep -v '^ *+' conftest.er1 >conftest.err
17683 rm -f conftest.er1
17684 cat conftest.err >&5
17685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17686 (exit $ac_status); } &&
17687 { ac_try='test -z "$ac_c_werror_flag"
17688 || test ! -s conftest.err'
17689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17690 (eval $ac_try) 2>&5
17691 ac_status=$?
17692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17693 (exit $ac_status); }; } &&
17694 { ac_try='test -s conftest.$ac_objext'
17695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17696 (eval $ac_try) 2>&5
17697 ac_status=$?
17698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17699 (exit $ac_status); }; }; then
17700 ac_cv_type_long_long=yes
17701 else
17702 echo "$as_me: failed program was:" >&5
17703 sed 's/^/| /' conftest.$ac_ext >&5
17704
17705 ac_cv_type_long_long=no
17706 fi
17707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17708 fi
17709 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17710 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17711
17712 echo "$as_me:$LINENO: checking size of long long" >&5
17713 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17714 if test "${ac_cv_sizeof_long_long+set}" = set; then
17715 echo $ECHO_N "(cached) $ECHO_C" >&6
17716 else
17717 if test "$ac_cv_type_long_long" = yes; then
17718 # The cast to unsigned long works around a bug in the HP C Compiler
17719 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17720 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17721 # This bug is HP SR number 8606223364.
17722 if test "$cross_compiling" = yes; then
17723 # Depending upon the size, compute the lo and hi bounds.
17724 cat >conftest.$ac_ext <<_ACEOF
17725 /* confdefs.h. */
17726 _ACEOF
17727 cat confdefs.h >>conftest.$ac_ext
17728 cat >>conftest.$ac_ext <<_ACEOF
17729 /* end confdefs.h. */
17730 $ac_includes_default
17731 int
17732 main ()
17733 {
17734 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17735 test_array [0] = 0
17736
17737 ;
17738 return 0;
17739 }
17740 _ACEOF
17741 rm -f conftest.$ac_objext
17742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17743 (eval $ac_compile) 2>conftest.er1
17744 ac_status=$?
17745 grep -v '^ *+' conftest.er1 >conftest.err
17746 rm -f conftest.er1
17747 cat conftest.err >&5
17748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17749 (exit $ac_status); } &&
17750 { ac_try='test -z "$ac_c_werror_flag"
17751 || test ! -s conftest.err'
17752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17753 (eval $ac_try) 2>&5
17754 ac_status=$?
17755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17756 (exit $ac_status); }; } &&
17757 { ac_try='test -s conftest.$ac_objext'
17758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17759 (eval $ac_try) 2>&5
17760 ac_status=$?
17761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17762 (exit $ac_status); }; }; then
17763 ac_lo=0 ac_mid=0
17764 while :; do
17765 cat >conftest.$ac_ext <<_ACEOF
17766 /* confdefs.h. */
17767 _ACEOF
17768 cat confdefs.h >>conftest.$ac_ext
17769 cat >>conftest.$ac_ext <<_ACEOF
17770 /* end confdefs.h. */
17771 $ac_includes_default
17772 int
17773 main ()
17774 {
17775 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17776 test_array [0] = 0
17777
17778 ;
17779 return 0;
17780 }
17781 _ACEOF
17782 rm -f conftest.$ac_objext
17783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17784 (eval $ac_compile) 2>conftest.er1
17785 ac_status=$?
17786 grep -v '^ *+' conftest.er1 >conftest.err
17787 rm -f conftest.er1
17788 cat conftest.err >&5
17789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17790 (exit $ac_status); } &&
17791 { ac_try='test -z "$ac_c_werror_flag"
17792 || test ! -s conftest.err'
17793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17794 (eval $ac_try) 2>&5
17795 ac_status=$?
17796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17797 (exit $ac_status); }; } &&
17798 { ac_try='test -s conftest.$ac_objext'
17799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17800 (eval $ac_try) 2>&5
17801 ac_status=$?
17802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17803 (exit $ac_status); }; }; then
17804 ac_hi=$ac_mid; break
17805 else
17806 echo "$as_me: failed program was:" >&5
17807 sed 's/^/| /' conftest.$ac_ext >&5
17808
17809 ac_lo=`expr $ac_mid + 1`
17810 if test $ac_lo -le $ac_mid; then
17811 ac_lo= ac_hi=
17812 break
17813 fi
17814 ac_mid=`expr 2 '*' $ac_mid + 1`
17815 fi
17816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17817 done
17818 else
17819 echo "$as_me: failed program was:" >&5
17820 sed 's/^/| /' conftest.$ac_ext >&5
17821
17822 cat >conftest.$ac_ext <<_ACEOF
17823 /* confdefs.h. */
17824 _ACEOF
17825 cat confdefs.h >>conftest.$ac_ext
17826 cat >>conftest.$ac_ext <<_ACEOF
17827 /* end confdefs.h. */
17828 $ac_includes_default
17829 int
17830 main ()
17831 {
17832 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17833 test_array [0] = 0
17834
17835 ;
17836 return 0;
17837 }
17838 _ACEOF
17839 rm -f conftest.$ac_objext
17840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17841 (eval $ac_compile) 2>conftest.er1
17842 ac_status=$?
17843 grep -v '^ *+' conftest.er1 >conftest.err
17844 rm -f conftest.er1
17845 cat conftest.err >&5
17846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17847 (exit $ac_status); } &&
17848 { ac_try='test -z "$ac_c_werror_flag"
17849 || test ! -s conftest.err'
17850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17851 (eval $ac_try) 2>&5
17852 ac_status=$?
17853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 (exit $ac_status); }; } &&
17855 { ac_try='test -s conftest.$ac_objext'
17856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17857 (eval $ac_try) 2>&5
17858 ac_status=$?
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); }; }; then
17861 ac_hi=-1 ac_mid=-1
17862 while :; do
17863 cat >conftest.$ac_ext <<_ACEOF
17864 /* confdefs.h. */
17865 _ACEOF
17866 cat confdefs.h >>conftest.$ac_ext
17867 cat >>conftest.$ac_ext <<_ACEOF
17868 /* end confdefs.h. */
17869 $ac_includes_default
17870 int
17871 main ()
17872 {
17873 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17874 test_array [0] = 0
17875
17876 ;
17877 return 0;
17878 }
17879 _ACEOF
17880 rm -f conftest.$ac_objext
17881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17882 (eval $ac_compile) 2>conftest.er1
17883 ac_status=$?
17884 grep -v '^ *+' conftest.er1 >conftest.err
17885 rm -f conftest.er1
17886 cat conftest.err >&5
17887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17888 (exit $ac_status); } &&
17889 { ac_try='test -z "$ac_c_werror_flag"
17890 || test ! -s conftest.err'
17891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17892 (eval $ac_try) 2>&5
17893 ac_status=$?
17894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17895 (exit $ac_status); }; } &&
17896 { ac_try='test -s conftest.$ac_objext'
17897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17898 (eval $ac_try) 2>&5
17899 ac_status=$?
17900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17901 (exit $ac_status); }; }; then
17902 ac_lo=$ac_mid; break
17903 else
17904 echo "$as_me: failed program was:" >&5
17905 sed 's/^/| /' conftest.$ac_ext >&5
17906
17907 ac_hi=`expr '(' $ac_mid ')' - 1`
17908 if test $ac_mid -le $ac_hi; then
17909 ac_lo= ac_hi=
17910 break
17911 fi
17912 ac_mid=`expr 2 '*' $ac_mid`
17913 fi
17914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17915 done
17916 else
17917 echo "$as_me: failed program was:" >&5
17918 sed 's/^/| /' conftest.$ac_ext >&5
17919
17920 ac_lo= ac_hi=
17921 fi
17922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17923 fi
17924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17925 # Binary search between lo and hi bounds.
17926 while test "x$ac_lo" != "x$ac_hi"; do
17927 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17928 cat >conftest.$ac_ext <<_ACEOF
17929 /* confdefs.h. */
17930 _ACEOF
17931 cat confdefs.h >>conftest.$ac_ext
17932 cat >>conftest.$ac_ext <<_ACEOF
17933 /* end confdefs.h. */
17934 $ac_includes_default
17935 int
17936 main ()
17937 {
17938 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17939 test_array [0] = 0
17940
17941 ;
17942 return 0;
17943 }
17944 _ACEOF
17945 rm -f conftest.$ac_objext
17946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17947 (eval $ac_compile) 2>conftest.er1
17948 ac_status=$?
17949 grep -v '^ *+' conftest.er1 >conftest.err
17950 rm -f conftest.er1
17951 cat conftest.err >&5
17952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17953 (exit $ac_status); } &&
17954 { ac_try='test -z "$ac_c_werror_flag"
17955 || test ! -s conftest.err'
17956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17957 (eval $ac_try) 2>&5
17958 ac_status=$?
17959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17960 (exit $ac_status); }; } &&
17961 { ac_try='test -s conftest.$ac_objext'
17962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17963 (eval $ac_try) 2>&5
17964 ac_status=$?
17965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17966 (exit $ac_status); }; }; then
17967 ac_hi=$ac_mid
17968 else
17969 echo "$as_me: failed program was:" >&5
17970 sed 's/^/| /' conftest.$ac_ext >&5
17971
17972 ac_lo=`expr '(' $ac_mid ')' + 1`
17973 fi
17974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17975 done
17976 case $ac_lo in
17977 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17978 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17979 See \`config.log' for more details." >&5
17980 echo "$as_me: error: cannot compute sizeof (long long), 77
17981 See \`config.log' for more details." >&2;}
17982 { (exit 1); exit 1; }; } ;;
17983 esac
17984 else
17985 if test "$cross_compiling" = yes; then
17986 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17987 See \`config.log' for more details." >&5
17988 echo "$as_me: error: cannot run test program while cross compiling
17989 See \`config.log' for more details." >&2;}
17990 { (exit 1); exit 1; }; }
17991 else
17992 cat >conftest.$ac_ext <<_ACEOF
17993 /* confdefs.h. */
17994 _ACEOF
17995 cat confdefs.h >>conftest.$ac_ext
17996 cat >>conftest.$ac_ext <<_ACEOF
17997 /* end confdefs.h. */
17998 $ac_includes_default
17999 long longval () { return (long) (sizeof (long long)); }
18000 unsigned long ulongval () { return (long) (sizeof (long long)); }
18001 #include <stdio.h>
18002 #include <stdlib.h>
18003 int
18004 main ()
18005 {
18006
18007 FILE *f = fopen ("conftest.val", "w");
18008 if (! f)
18009 exit (1);
18010 if (((long) (sizeof (long long))) < 0)
18011 {
18012 long i = longval ();
18013 if (i != ((long) (sizeof (long long))))
18014 exit (1);
18015 fprintf (f, "%ld\n", i);
18016 }
18017 else
18018 {
18019 unsigned long i = ulongval ();
18020 if (i != ((long) (sizeof (long long))))
18021 exit (1);
18022 fprintf (f, "%lu\n", i);
18023 }
18024 exit (ferror (f) || fclose (f) != 0);
18025
18026 ;
18027 return 0;
18028 }
18029 _ACEOF
18030 rm -f conftest$ac_exeext
18031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18032 (eval $ac_link) 2>&5
18033 ac_status=$?
18034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18035 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18037 (eval $ac_try) 2>&5
18038 ac_status=$?
18039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18040 (exit $ac_status); }; }; then
18041 ac_cv_sizeof_long_long=`cat conftest.val`
18042 else
18043 echo "$as_me: program exited with status $ac_status" >&5
18044 echo "$as_me: failed program was:" >&5
18045 sed 's/^/| /' conftest.$ac_ext >&5
18046
18047 ( exit $ac_status )
18048 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18049 See \`config.log' for more details." >&5
18050 echo "$as_me: error: cannot compute sizeof (long long), 77
18051 See \`config.log' for more details." >&2;}
18052 { (exit 1); exit 1; }; }
18053 fi
18054 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18055 fi
18056 fi
18057 rm -f conftest.val
18058 else
18059 ac_cv_sizeof_long_long=0
18060 fi
18061 fi
18062 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18063 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18064 cat >>confdefs.h <<_ACEOF
18065 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18066 _ACEOF
18067
18068
18069 esac
18070
18071 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18072 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18073 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18074 echo $ECHO_N "(cached) $ECHO_C" >&6
18075 else
18076
18077 if test "$cross_compiling" = yes; then
18078
18079 case "${host}" in
18080 *-pc-msdosdjgpp )
18081 wx_cv_sizeof_wchar_t=0
18082 ;;
18083 * )
18084 wx_cv_sizeof_wchar_t=4
18085 ;;
18086 esac
18087
18088
18089 else
18090 cat >conftest.$ac_ext <<_ACEOF
18091 /* confdefs.h. */
18092 _ACEOF
18093 cat confdefs.h >>conftest.$ac_ext
18094 cat >>conftest.$ac_ext <<_ACEOF
18095 /* end confdefs.h. */
18096
18097 /* DJGPP only has fake wchar_t: */
18098 #ifdef __DJGPP__
18099 # error "fake wchar_t"
18100 #endif
18101 #ifdef HAVE_WCHAR_H
18102 # ifdef __CYGWIN__
18103 # include <stddef.h>
18104 # endif
18105 # include <wchar.h>
18106 #endif
18107 #ifdef HAVE_STDLIB_H
18108 # include <stdlib.h>
18109 #endif
18110 #include <stdio.h>
18111 int main()
18112 {
18113 FILE *f=fopen("conftestval", "w");
18114 if (!f) exit(1);
18115 fprintf(f, "%i", sizeof(wchar_t));
18116 exit(0);
18117 }
18118
18119 _ACEOF
18120 rm -f conftest$ac_exeext
18121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18122 (eval $ac_link) 2>&5
18123 ac_status=$?
18124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18127 (eval $ac_try) 2>&5
18128 ac_status=$?
18129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18130 (exit $ac_status); }; }; then
18131 wx_cv_sizeof_wchar_t=`cat conftestval`
18132 else
18133 echo "$as_me: program exited with status $ac_status" >&5
18134 echo "$as_me: failed program was:" >&5
18135 sed 's/^/| /' conftest.$ac_ext >&5
18136
18137 ( exit $ac_status )
18138 wx_cv_sizeof_wchar_t=0
18139 fi
18140 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18141 fi
18142
18143 fi
18144 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18145 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18146
18147 cat >>confdefs.h <<_ACEOF
18148 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18149 _ACEOF
18150
18151
18152 # Check whether --enable-largefile or --disable-largefile was given.
18153 if test "${enable_largefile+set}" = set; then
18154 enableval="$enable_largefile"
18155
18156 fi;
18157 if test "$enable_largefile" != no; then
18158 wx_largefile=no
18159
18160 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18161 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18162 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18163 echo $ECHO_N "(cached) $ECHO_C" >&6
18164 else
18165
18166 cat >conftest.$ac_ext <<_ACEOF
18167 /* confdefs.h. */
18168 _ACEOF
18169 cat confdefs.h >>conftest.$ac_ext
18170 cat >>conftest.$ac_ext <<_ACEOF
18171 /* end confdefs.h. */
18172 #define _FILE_OFFSET_BITS 64
18173 #include <sys/types.h>
18174 int
18175 main ()
18176 {
18177 typedef struct {
18178 unsigned int field: sizeof(off_t) == 8;
18179 } wxlf;
18180
18181 ;
18182 return 0;
18183 }
18184 _ACEOF
18185 rm -f conftest.$ac_objext
18186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18187 (eval $ac_compile) 2>conftest.er1
18188 ac_status=$?
18189 grep -v '^ *+' conftest.er1 >conftest.err
18190 rm -f conftest.er1
18191 cat conftest.err >&5
18192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18193 (exit $ac_status); } &&
18194 { ac_try='test -z "$ac_c_werror_flag"
18195 || test ! -s conftest.err'
18196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18197 (eval $ac_try) 2>&5
18198 ac_status=$?
18199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18200 (exit $ac_status); }; } &&
18201 { ac_try='test -s conftest.$ac_objext'
18202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18203 (eval $ac_try) 2>&5
18204 ac_status=$?
18205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206 (exit $ac_status); }; }; then
18207 ac_cv_sys_file_offset_bits=64
18208 else
18209 echo "$as_me: failed program was:" >&5
18210 sed 's/^/| /' conftest.$ac_ext >&5
18211
18212 ac_cv_sys_file_offset_bits=no
18213 fi
18214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18215
18216
18217 fi
18218 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18219 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18220
18221 if test "$ac_cv_sys_file_offset_bits" != no; then
18222 wx_largefile=yes
18223 cat >>confdefs.h <<_ACEOF
18224 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18225 _ACEOF
18226
18227 fi
18228
18229 if test "x$wx_largefile" != "xyes"; then
18230
18231 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18232 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18233 if test "${ac_cv_sys_large_files+set}" = set; then
18234 echo $ECHO_N "(cached) $ECHO_C" >&6
18235 else
18236
18237 cat >conftest.$ac_ext <<_ACEOF
18238 /* confdefs.h. */
18239 _ACEOF
18240 cat confdefs.h >>conftest.$ac_ext
18241 cat >>conftest.$ac_ext <<_ACEOF
18242 /* end confdefs.h. */
18243 #define _LARGE_FILES 1
18244 #include <sys/types.h>
18245 int
18246 main ()
18247 {
18248 typedef struct {
18249 unsigned int field: sizeof(off_t) == 8;
18250 } wxlf;
18251
18252 ;
18253 return 0;
18254 }
18255 _ACEOF
18256 rm -f conftest.$ac_objext
18257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18258 (eval $ac_compile) 2>conftest.er1
18259 ac_status=$?
18260 grep -v '^ *+' conftest.er1 >conftest.err
18261 rm -f conftest.er1
18262 cat conftest.err >&5
18263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18264 (exit $ac_status); } &&
18265 { ac_try='test -z "$ac_c_werror_flag"
18266 || test ! -s conftest.err'
18267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18268 (eval $ac_try) 2>&5
18269 ac_status=$?
18270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18271 (exit $ac_status); }; } &&
18272 { ac_try='test -s conftest.$ac_objext'
18273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18274 (eval $ac_try) 2>&5
18275 ac_status=$?
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); }; }; then
18278 ac_cv_sys_large_files=1
18279 else
18280 echo "$as_me: failed program was:" >&5
18281 sed 's/^/| /' conftest.$ac_ext >&5
18282
18283 ac_cv_sys_large_files=no
18284 fi
18285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18286
18287
18288 fi
18289 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18290 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18291
18292 if test "$ac_cv_sys_large_files" != no; then
18293 wx_largefile=yes
18294 cat >>confdefs.h <<_ACEOF
18295 #define _LARGE_FILES $ac_cv_sys_large_files
18296 _ACEOF
18297
18298 fi
18299
18300 fi
18301
18302 echo "$as_me:$LINENO: checking if large file support is available" >&5
18303 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18304 if test "x$wx_largefile" = "xyes"; then
18305 cat >>confdefs.h <<\_ACEOF
18306 #define HAVE_LARGEFILE_SUPPORT 1
18307 _ACEOF
18308
18309 fi
18310 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18311 echo "${ECHO_T}$wx_largefile" >&6
18312 fi
18313
18314
18315 if test "x$wx_largefile" = "xyes"; then
18316 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18317 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18318 else
18319 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
18320 fi
18321 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18322 fi
18323
18324 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18325 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18326 if test "${ac_cv_c_bigendian+set}" = set; then
18327 echo $ECHO_N "(cached) $ECHO_C" >&6
18328 else
18329 ac_cv_c_bigendian=unknown
18330 # See if sys/param.h defines the BYTE_ORDER macro.
18331 cat >conftest.$ac_ext <<_ACEOF
18332 /* confdefs.h. */
18333 _ACEOF
18334 cat confdefs.h >>conftest.$ac_ext
18335 cat >>conftest.$ac_ext <<_ACEOF
18336 /* end confdefs.h. */
18337 #include <sys/types.h>
18338 #include <sys/param.h>
18339 int
18340 main ()
18341 {
18342
18343 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18344 bogus endian macros
18345 #endif
18346 ;
18347 return 0;
18348 }
18349 _ACEOF
18350 rm -f conftest.$ac_objext
18351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18352 (eval $ac_compile) 2>conftest.er1
18353 ac_status=$?
18354 grep -v '^ *+' conftest.er1 >conftest.err
18355 rm -f conftest.er1
18356 cat conftest.err >&5
18357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18358 (exit $ac_status); } &&
18359 { ac_try='test -z "$ac_c_werror_flag"
18360 || test ! -s conftest.err'
18361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18362 (eval $ac_try) 2>&5
18363 ac_status=$?
18364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18365 (exit $ac_status); }; } &&
18366 { ac_try='test -s conftest.$ac_objext'
18367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18368 (eval $ac_try) 2>&5
18369 ac_status=$?
18370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18371 (exit $ac_status); }; }; then
18372 # It does; now see whether it defined to BIG_ENDIAN or not.
18373 cat >conftest.$ac_ext <<_ACEOF
18374 /* confdefs.h. */
18375 _ACEOF
18376 cat confdefs.h >>conftest.$ac_ext
18377 cat >>conftest.$ac_ext <<_ACEOF
18378 /* end confdefs.h. */
18379 #include <sys/types.h>
18380 #include <sys/param.h>
18381 int
18382 main ()
18383 {
18384
18385 #if BYTE_ORDER != BIG_ENDIAN
18386 not big endian
18387 #endif
18388 ;
18389 return 0;
18390 }
18391 _ACEOF
18392 rm -f conftest.$ac_objext
18393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18394 (eval $ac_compile) 2>conftest.er1
18395 ac_status=$?
18396 grep -v '^ *+' conftest.er1 >conftest.err
18397 rm -f conftest.er1
18398 cat conftest.err >&5
18399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18400 (exit $ac_status); } &&
18401 { ac_try='test -z "$ac_c_werror_flag"
18402 || test ! -s conftest.err'
18403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18404 (eval $ac_try) 2>&5
18405 ac_status=$?
18406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18407 (exit $ac_status); }; } &&
18408 { ac_try='test -s conftest.$ac_objext'
18409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18410 (eval $ac_try) 2>&5
18411 ac_status=$?
18412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18413 (exit $ac_status); }; }; then
18414 ac_cv_c_bigendian=yes
18415 else
18416 echo "$as_me: failed program was:" >&5
18417 sed 's/^/| /' conftest.$ac_ext >&5
18418
18419 ac_cv_c_bigendian=no
18420 fi
18421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18422 else
18423 echo "$as_me: failed program was:" >&5
18424 sed 's/^/| /' conftest.$ac_ext >&5
18425
18426 fi
18427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18428 if test $ac_cv_c_bigendian = unknown; then
18429 if test "$cross_compiling" = yes; then
18430 ac_cv_c_bigendian=unknown
18431 else
18432 cat >conftest.$ac_ext <<_ACEOF
18433 /* confdefs.h. */
18434 _ACEOF
18435 cat confdefs.h >>conftest.$ac_ext
18436 cat >>conftest.$ac_ext <<_ACEOF
18437 /* end confdefs.h. */
18438 main () {
18439 /* Are we little or big endian? From Harbison&Steele. */
18440 union
18441 {
18442 long l;
18443 char c[sizeof (long)];
18444 } u;
18445 u.l = 1;
18446 exit (u.c[sizeof (long) - 1] == 1);
18447 }
18448 _ACEOF
18449 rm -f conftest$ac_exeext
18450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18451 (eval $ac_link) 2>&5
18452 ac_status=$?
18453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18454 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18456 (eval $ac_try) 2>&5
18457 ac_status=$?
18458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18459 (exit $ac_status); }; }; then
18460 ac_cv_c_bigendian=no
18461 else
18462 echo "$as_me: program exited with status $ac_status" >&5
18463 echo "$as_me: failed program was:" >&5
18464 sed 's/^/| /' conftest.$ac_ext >&5
18465
18466 ( exit $ac_status )
18467 ac_cv_c_bigendian=yes
18468 fi
18469 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18470 fi
18471 fi
18472 fi
18473 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18474 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18475 if test $ac_cv_c_bigendian = unknown; then
18476 { 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
18477 echo "$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;}
18478 fi
18479 if test $ac_cv_c_bigendian = yes; then
18480 cat >>confdefs.h <<\_ACEOF
18481 #define WORDS_BIGENDIAN 1
18482 _ACEOF
18483
18484 fi
18485
18486
18487 ac_ext=cc
18488 ac_cpp='$CXXCPP $CPPFLAGS'
18489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18492 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18493 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18494 if test -z "$CXXCPP"; then
18495 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18496 echo $ECHO_N "(cached) $ECHO_C" >&6
18497 else
18498 # Double quotes because CXXCPP needs to be expanded
18499 for CXXCPP in "$CXX -E" "/lib/cpp"
18500 do
18501 ac_preproc_ok=false
18502 for ac_cxx_preproc_warn_flag in '' yes
18503 do
18504 # Use a header file that comes with gcc, so configuring glibc
18505 # with a fresh cross-compiler works.
18506 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18507 # <limits.h> exists even on freestanding compilers.
18508 # On the NeXT, cc -E runs the code through the compiler's parser,
18509 # not just through cpp. "Syntax error" is here to catch this case.
18510 cat >conftest.$ac_ext <<_ACEOF
18511 /* confdefs.h. */
18512 _ACEOF
18513 cat confdefs.h >>conftest.$ac_ext
18514 cat >>conftest.$ac_ext <<_ACEOF
18515 /* end confdefs.h. */
18516 #ifdef __STDC__
18517 # include <limits.h>
18518 #else
18519 # include <assert.h>
18520 #endif
18521 Syntax error
18522 _ACEOF
18523 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18524 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18525 ac_status=$?
18526 grep -v '^ *+' conftest.er1 >conftest.err
18527 rm -f conftest.er1
18528 cat conftest.err >&5
18529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18530 (exit $ac_status); } >/dev/null; then
18531 if test -s conftest.err; then
18532 ac_cpp_err=$ac_cxx_preproc_warn_flag
18533 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18534 else
18535 ac_cpp_err=
18536 fi
18537 else
18538 ac_cpp_err=yes
18539 fi
18540 if test -z "$ac_cpp_err"; then
18541 :
18542 else
18543 echo "$as_me: failed program was:" >&5
18544 sed 's/^/| /' conftest.$ac_ext >&5
18545
18546 # Broken: fails on valid input.
18547 continue
18548 fi
18549 rm -f conftest.err conftest.$ac_ext
18550
18551 # OK, works on sane cases. Now check whether non-existent headers
18552 # can be detected and how.
18553 cat >conftest.$ac_ext <<_ACEOF
18554 /* confdefs.h. */
18555 _ACEOF
18556 cat confdefs.h >>conftest.$ac_ext
18557 cat >>conftest.$ac_ext <<_ACEOF
18558 /* end confdefs.h. */
18559 #include <ac_nonexistent.h>
18560 _ACEOF
18561 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18562 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18563 ac_status=$?
18564 grep -v '^ *+' conftest.er1 >conftest.err
18565 rm -f conftest.er1
18566 cat conftest.err >&5
18567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18568 (exit $ac_status); } >/dev/null; then
18569 if test -s conftest.err; then
18570 ac_cpp_err=$ac_cxx_preproc_warn_flag
18571 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18572 else
18573 ac_cpp_err=
18574 fi
18575 else
18576 ac_cpp_err=yes
18577 fi
18578 if test -z "$ac_cpp_err"; then
18579 # Broken: success on invalid input.
18580 continue
18581 else
18582 echo "$as_me: failed program was:" >&5
18583 sed 's/^/| /' conftest.$ac_ext >&5
18584
18585 # Passes both tests.
18586 ac_preproc_ok=:
18587 break
18588 fi
18589 rm -f conftest.err conftest.$ac_ext
18590
18591 done
18592 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18593 rm -f conftest.err conftest.$ac_ext
18594 if $ac_preproc_ok; then
18595 break
18596 fi
18597
18598 done
18599 ac_cv_prog_CXXCPP=$CXXCPP
18600
18601 fi
18602 CXXCPP=$ac_cv_prog_CXXCPP
18603 else
18604 ac_cv_prog_CXXCPP=$CXXCPP
18605 fi
18606 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18607 echo "${ECHO_T}$CXXCPP" >&6
18608 ac_preproc_ok=false
18609 for ac_cxx_preproc_warn_flag in '' yes
18610 do
18611 # Use a header file that comes with gcc, so configuring glibc
18612 # with a fresh cross-compiler works.
18613 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18614 # <limits.h> exists even on freestanding compilers.
18615 # On the NeXT, cc -E runs the code through the compiler's parser,
18616 # not just through cpp. "Syntax error" is here to catch this case.
18617 cat >conftest.$ac_ext <<_ACEOF
18618 /* confdefs.h. */
18619 _ACEOF
18620 cat confdefs.h >>conftest.$ac_ext
18621 cat >>conftest.$ac_ext <<_ACEOF
18622 /* end confdefs.h. */
18623 #ifdef __STDC__
18624 # include <limits.h>
18625 #else
18626 # include <assert.h>
18627 #endif
18628 Syntax error
18629 _ACEOF
18630 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18631 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18632 ac_status=$?
18633 grep -v '^ *+' conftest.er1 >conftest.err
18634 rm -f conftest.er1
18635 cat conftest.err >&5
18636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18637 (exit $ac_status); } >/dev/null; then
18638 if test -s conftest.err; then
18639 ac_cpp_err=$ac_cxx_preproc_warn_flag
18640 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18641 else
18642 ac_cpp_err=
18643 fi
18644 else
18645 ac_cpp_err=yes
18646 fi
18647 if test -z "$ac_cpp_err"; then
18648 :
18649 else
18650 echo "$as_me: failed program was:" >&5
18651 sed 's/^/| /' conftest.$ac_ext >&5
18652
18653 # Broken: fails on valid input.
18654 continue
18655 fi
18656 rm -f conftest.err conftest.$ac_ext
18657
18658 # OK, works on sane cases. Now check whether non-existent headers
18659 # can be detected and how.
18660 cat >conftest.$ac_ext <<_ACEOF
18661 /* confdefs.h. */
18662 _ACEOF
18663 cat confdefs.h >>conftest.$ac_ext
18664 cat >>conftest.$ac_ext <<_ACEOF
18665 /* end confdefs.h. */
18666 #include <ac_nonexistent.h>
18667 _ACEOF
18668 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18669 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18670 ac_status=$?
18671 grep -v '^ *+' conftest.er1 >conftest.err
18672 rm -f conftest.er1
18673 cat conftest.err >&5
18674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18675 (exit $ac_status); } >/dev/null; then
18676 if test -s conftest.err; then
18677 ac_cpp_err=$ac_cxx_preproc_warn_flag
18678 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18679 else
18680 ac_cpp_err=
18681 fi
18682 else
18683 ac_cpp_err=yes
18684 fi
18685 if test -z "$ac_cpp_err"; then
18686 # Broken: success on invalid input.
18687 continue
18688 else
18689 echo "$as_me: failed program was:" >&5
18690 sed 's/^/| /' conftest.$ac_ext >&5
18691
18692 # Passes both tests.
18693 ac_preproc_ok=:
18694 break
18695 fi
18696 rm -f conftest.err conftest.$ac_ext
18697
18698 done
18699 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18700 rm -f conftest.err conftest.$ac_ext
18701 if $ac_preproc_ok; then
18702 :
18703 else
18704 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18705 See \`config.log' for more details." >&5
18706 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18707 See \`config.log' for more details." >&2;}
18708 { (exit 1); exit 1; }; }
18709 fi
18710
18711 ac_ext=cc
18712 ac_cpp='$CXXCPP $CPPFLAGS'
18713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18716
18717
18718
18719
18720
18721 ac_ext=cc
18722 ac_cpp='$CXXCPP $CPPFLAGS'
18723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18726
18727
18728
18729 for ac_header in iostream
18730 do
18731 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18732 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18733 echo "$as_me:$LINENO: checking for $ac_header" >&5
18734 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18735 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18736 echo $ECHO_N "(cached) $ECHO_C" >&6
18737 fi
18738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18739 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18740 else
18741 # Is the header compilable?
18742 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18743 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18744 cat >conftest.$ac_ext <<_ACEOF
18745 /* confdefs.h. */
18746 _ACEOF
18747 cat confdefs.h >>conftest.$ac_ext
18748 cat >>conftest.$ac_ext <<_ACEOF
18749 /* end confdefs.h. */
18750 $ac_includes_default
18751 #include <$ac_header>
18752 _ACEOF
18753 rm -f conftest.$ac_objext
18754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18755 (eval $ac_compile) 2>conftest.er1
18756 ac_status=$?
18757 grep -v '^ *+' conftest.er1 >conftest.err
18758 rm -f conftest.er1
18759 cat conftest.err >&5
18760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761 (exit $ac_status); } &&
18762 { ac_try='test -z "$ac_cxx_werror_flag"
18763 || test ! -s conftest.err'
18764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18765 (eval $ac_try) 2>&5
18766 ac_status=$?
18767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18768 (exit $ac_status); }; } &&
18769 { ac_try='test -s conftest.$ac_objext'
18770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18771 (eval $ac_try) 2>&5
18772 ac_status=$?
18773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18774 (exit $ac_status); }; }; then
18775 ac_header_compiler=yes
18776 else
18777 echo "$as_me: failed program was:" >&5
18778 sed 's/^/| /' conftest.$ac_ext >&5
18779
18780 ac_header_compiler=no
18781 fi
18782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18783 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18784 echo "${ECHO_T}$ac_header_compiler" >&6
18785
18786 # Is the header present?
18787 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18788 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18789 cat >conftest.$ac_ext <<_ACEOF
18790 /* confdefs.h. */
18791 _ACEOF
18792 cat confdefs.h >>conftest.$ac_ext
18793 cat >>conftest.$ac_ext <<_ACEOF
18794 /* end confdefs.h. */
18795 #include <$ac_header>
18796 _ACEOF
18797 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18798 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18799 ac_status=$?
18800 grep -v '^ *+' conftest.er1 >conftest.err
18801 rm -f conftest.er1
18802 cat conftest.err >&5
18803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18804 (exit $ac_status); } >/dev/null; then
18805 if test -s conftest.err; then
18806 ac_cpp_err=$ac_cxx_preproc_warn_flag
18807 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18808 else
18809 ac_cpp_err=
18810 fi
18811 else
18812 ac_cpp_err=yes
18813 fi
18814 if test -z "$ac_cpp_err"; then
18815 ac_header_preproc=yes
18816 else
18817 echo "$as_me: failed program was:" >&5
18818 sed 's/^/| /' conftest.$ac_ext >&5
18819
18820 ac_header_preproc=no
18821 fi
18822 rm -f conftest.err conftest.$ac_ext
18823 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18824 echo "${ECHO_T}$ac_header_preproc" >&6
18825
18826 # So? What about this header?
18827 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18828 yes:no: )
18829 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18830 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18831 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18832 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18833 ac_header_preproc=yes
18834 ;;
18835 no:yes:* )
18836 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18837 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18838 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18839 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18840 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18841 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18842 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18843 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18844 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18845 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18846 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18847 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18848 (
18849 cat <<\_ASBOX
18850 ## ----------------------------------------- ##
18851 ## Report this to wx-dev@lists.wxwidgets.org ##
18852 ## ----------------------------------------- ##
18853 _ASBOX
18854 ) |
18855 sed "s/^/$as_me: WARNING: /" >&2
18856 ;;
18857 esac
18858 echo "$as_me:$LINENO: checking for $ac_header" >&5
18859 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18860 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18861 echo $ECHO_N "(cached) $ECHO_C" >&6
18862 else
18863 eval "$as_ac_Header=\$ac_header_preproc"
18864 fi
18865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18866 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18867
18868 fi
18869 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18870 cat >>confdefs.h <<_ACEOF
18871 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18872 _ACEOF
18873
18874 fi
18875
18876 done
18877
18878
18879 if test "$ac_cv_header_iostream" = "yes" ; then
18880 :
18881 else
18882 cat >>confdefs.h <<\_ACEOF
18883 #define wxUSE_IOSTREAMH 1
18884 _ACEOF
18885
18886 fi
18887
18888 ac_ext=c
18889 ac_cpp='$CPP $CPPFLAGS'
18890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18893
18894
18895
18896
18897 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18898 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18899 if test "${wx_cv_cpp_bool+set}" = set; then
18900 echo $ECHO_N "(cached) $ECHO_C" >&6
18901 else
18902
18903
18904
18905 ac_ext=cc
18906 ac_cpp='$CXXCPP $CPPFLAGS'
18907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18910
18911
18912 cat >conftest.$ac_ext <<_ACEOF
18913 /* confdefs.h. */
18914 _ACEOF
18915 cat confdefs.h >>conftest.$ac_ext
18916 cat >>conftest.$ac_ext <<_ACEOF
18917 /* end confdefs.h. */
18918
18919
18920 int
18921 main ()
18922 {
18923
18924 bool b = true;
18925
18926 return 0;
18927
18928 ;
18929 return 0;
18930 }
18931 _ACEOF
18932 rm -f conftest.$ac_objext
18933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18934 (eval $ac_compile) 2>conftest.er1
18935 ac_status=$?
18936 grep -v '^ *+' conftest.er1 >conftest.err
18937 rm -f conftest.er1
18938 cat conftest.err >&5
18939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18940 (exit $ac_status); } &&
18941 { ac_try='test -z "$ac_cxx_werror_flag"
18942 || test ! -s conftest.err'
18943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18944 (eval $ac_try) 2>&5
18945 ac_status=$?
18946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18947 (exit $ac_status); }; } &&
18948 { ac_try='test -s conftest.$ac_objext'
18949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18950 (eval $ac_try) 2>&5
18951 ac_status=$?
18952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18953 (exit $ac_status); }; }; then
18954
18955 wx_cv_cpp_bool=yes
18956
18957 else
18958 echo "$as_me: failed program was:" >&5
18959 sed 's/^/| /' conftest.$ac_ext >&5
18960
18961
18962 wx_cv_cpp_bool=no
18963
18964
18965 fi
18966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18967
18968 ac_ext=c
18969 ac_cpp='$CPP $CPPFLAGS'
18970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18973
18974
18975 fi
18976 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18977 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18978
18979 if test "$wx_cv_cpp_bool" = "yes"; then
18980 cat >>confdefs.h <<\_ACEOF
18981 #define HAVE_BOOL 1
18982 _ACEOF
18983
18984 fi
18985
18986
18987
18988 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18989 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18990 if test "${wx_cv_explicit+set}" = set; then
18991 echo $ECHO_N "(cached) $ECHO_C" >&6
18992 else
18993
18994
18995
18996 ac_ext=cc
18997 ac_cpp='$CXXCPP $CPPFLAGS'
18998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19001
19002
19003 cat >conftest.$ac_ext <<_ACEOF
19004 /* confdefs.h. */
19005 _ACEOF
19006 cat confdefs.h >>conftest.$ac_ext
19007 cat >>conftest.$ac_ext <<_ACEOF
19008 /* end confdefs.h. */
19009
19010 class Foo { public: explicit Foo(int) {} };
19011
19012 int
19013 main ()
19014 {
19015
19016 return 0;
19017
19018 ;
19019 return 0;
19020 }
19021 _ACEOF
19022 rm -f conftest.$ac_objext
19023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19024 (eval $ac_compile) 2>conftest.er1
19025 ac_status=$?
19026 grep -v '^ *+' conftest.er1 >conftest.err
19027 rm -f conftest.er1
19028 cat conftest.err >&5
19029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19030 (exit $ac_status); } &&
19031 { ac_try='test -z "$ac_cxx_werror_flag"
19032 || test ! -s conftest.err'
19033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19034 (eval $ac_try) 2>&5
19035 ac_status=$?
19036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19037 (exit $ac_status); }; } &&
19038 { ac_try='test -s conftest.$ac_objext'
19039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19040 (eval $ac_try) 2>&5
19041 ac_status=$?
19042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19043 (exit $ac_status); }; }; then
19044
19045 cat >conftest.$ac_ext <<_ACEOF
19046 /* confdefs.h. */
19047 _ACEOF
19048 cat confdefs.h >>conftest.$ac_ext
19049 cat >>conftest.$ac_ext <<_ACEOF
19050 /* end confdefs.h. */
19051
19052 class Foo { public: explicit Foo(int) {} };
19053 static void TakeFoo(const Foo& foo) { }
19054
19055 int
19056 main ()
19057 {
19058
19059 TakeFoo(17);
19060 return 0;
19061
19062 ;
19063 return 0;
19064 }
19065 _ACEOF
19066 rm -f conftest.$ac_objext
19067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19068 (eval $ac_compile) 2>conftest.er1
19069 ac_status=$?
19070 grep -v '^ *+' conftest.er1 >conftest.err
19071 rm -f conftest.er1
19072 cat conftest.err >&5
19073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19074 (exit $ac_status); } &&
19075 { ac_try='test -z "$ac_cxx_werror_flag"
19076 || test ! -s conftest.err'
19077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19078 (eval $ac_try) 2>&5
19079 ac_status=$?
19080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19081 (exit $ac_status); }; } &&
19082 { ac_try='test -s conftest.$ac_objext'
19083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19084 (eval $ac_try) 2>&5
19085 ac_status=$?
19086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087 (exit $ac_status); }; }; then
19088 wx_cv_explicit=no
19089 else
19090 echo "$as_me: failed program was:" >&5
19091 sed 's/^/| /' conftest.$ac_ext >&5
19092
19093 wx_cv_explicit=yes
19094
19095 fi
19096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19097
19098 else
19099 echo "$as_me: failed program was:" >&5
19100 sed 's/^/| /' conftest.$ac_ext >&5
19101
19102 wx_cv_explicit=no
19103
19104 fi
19105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19106
19107 ac_ext=c
19108 ac_cpp='$CPP $CPPFLAGS'
19109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19112
19113
19114 fi
19115 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19116 echo "${ECHO_T}$wx_cv_explicit" >&6
19117
19118 if test "$wx_cv_explicit" = "yes"; then
19119 cat >>confdefs.h <<\_ACEOF
19120 #define HAVE_EXPLICIT 1
19121 _ACEOF
19122
19123 fi
19124
19125
19126 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19127 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19128 if test "${ac_cv_cxx_const_cast+set}" = set; then
19129 echo $ECHO_N "(cached) $ECHO_C" >&6
19130 else
19131
19132
19133 ac_ext=cc
19134 ac_cpp='$CXXCPP $CPPFLAGS'
19135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19138
19139 cat >conftest.$ac_ext <<_ACEOF
19140 /* confdefs.h. */
19141 _ACEOF
19142 cat confdefs.h >>conftest.$ac_ext
19143 cat >>conftest.$ac_ext <<_ACEOF
19144 /* end confdefs.h. */
19145
19146 int
19147 main ()
19148 {
19149 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19150 ;
19151 return 0;
19152 }
19153 _ACEOF
19154 rm -f conftest.$ac_objext
19155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19156 (eval $ac_compile) 2>conftest.er1
19157 ac_status=$?
19158 grep -v '^ *+' conftest.er1 >conftest.err
19159 rm -f conftest.er1
19160 cat conftest.err >&5
19161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19162 (exit $ac_status); } &&
19163 { ac_try='test -z "$ac_cxx_werror_flag"
19164 || test ! -s conftest.err'
19165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19166 (eval $ac_try) 2>&5
19167 ac_status=$?
19168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169 (exit $ac_status); }; } &&
19170 { ac_try='test -s conftest.$ac_objext'
19171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19172 (eval $ac_try) 2>&5
19173 ac_status=$?
19174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19175 (exit $ac_status); }; }; then
19176 ac_cv_cxx_const_cast=yes
19177 else
19178 echo "$as_me: failed program was:" >&5
19179 sed 's/^/| /' conftest.$ac_ext >&5
19180
19181 ac_cv_cxx_const_cast=no
19182 fi
19183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19184 ac_ext=c
19185 ac_cpp='$CPP $CPPFLAGS'
19186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19189
19190
19191 fi
19192 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19193 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19194 if test "$ac_cv_cxx_const_cast" = yes; then
19195
19196 cat >>confdefs.h <<\_ACEOF
19197 #define HAVE_CONST_CAST
19198 _ACEOF
19199
19200 fi
19201
19202 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19203 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19204 if test "${ac_cv_cxx_static_cast+set}" = set; then
19205 echo $ECHO_N "(cached) $ECHO_C" >&6
19206 else
19207
19208
19209 ac_ext=cc
19210 ac_cpp='$CXXCPP $CPPFLAGS'
19211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19214
19215 cat >conftest.$ac_ext <<_ACEOF
19216 /* confdefs.h. */
19217 _ACEOF
19218 cat confdefs.h >>conftest.$ac_ext
19219 cat >>conftest.$ac_ext <<_ACEOF
19220 /* end confdefs.h. */
19221 #include <typeinfo>
19222 class Base { public : Base () {} virtual void f () = 0; };
19223 class Derived : public Base { public : Derived () {} virtual void f () {} };
19224 int g (Derived&) { return 0; }
19225 int
19226 main ()
19227 {
19228
19229 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19230 ;
19231 return 0;
19232 }
19233 _ACEOF
19234 rm -f conftest.$ac_objext
19235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19236 (eval $ac_compile) 2>conftest.er1
19237 ac_status=$?
19238 grep -v '^ *+' conftest.er1 >conftest.err
19239 rm -f conftest.er1
19240 cat conftest.err >&5
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); } &&
19243 { ac_try='test -z "$ac_cxx_werror_flag"
19244 || test ! -s conftest.err'
19245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19246 (eval $ac_try) 2>&5
19247 ac_status=$?
19248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19249 (exit $ac_status); }; } &&
19250 { ac_try='test -s conftest.$ac_objext'
19251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19252 (eval $ac_try) 2>&5
19253 ac_status=$?
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); }; }; then
19256 ac_cv_cxx_static_cast=yes
19257 else
19258 echo "$as_me: failed program was:" >&5
19259 sed 's/^/| /' conftest.$ac_ext >&5
19260
19261 ac_cv_cxx_static_cast=no
19262 fi
19263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19264 ac_ext=c
19265 ac_cpp='$CPP $CPPFLAGS'
19266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19269
19270
19271 fi
19272 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19273 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19274 if test "$ac_cv_cxx_static_cast" = yes; then
19275
19276 cat >>confdefs.h <<\_ACEOF
19277 #define HAVE_STATIC_CAST
19278 _ACEOF
19279
19280 fi
19281
19282
19283 if test "$wxUSE_STL" = "yes"; then
19284 ac_ext=cc
19285 ac_cpp='$CXXCPP $CPPFLAGS'
19286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19289
19290
19291 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19292 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19293 cat >conftest.$ac_ext <<_ACEOF
19294 /* confdefs.h. */
19295 _ACEOF
19296 cat confdefs.h >>conftest.$ac_ext
19297 cat >>conftest.$ac_ext <<_ACEOF
19298 /* end confdefs.h. */
19299 #include <string>
19300 #include <functional>
19301 #include <algorithm>
19302 #include <vector>
19303 #include <list>
19304 int
19305 main ()
19306 {
19307 std::vector<int> moo;
19308 std::list<int> foo;
19309 std::vector<int>::iterator it =
19310 std::find_if(moo.begin(), moo.end(),
19311 std::bind2nd(std::less<int>(), 3));
19312 ;
19313 return 0;
19314 }
19315 _ACEOF
19316 rm -f conftest.$ac_objext
19317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19318 (eval $ac_compile) 2>conftest.er1
19319 ac_status=$?
19320 grep -v '^ *+' conftest.er1 >conftest.err
19321 rm -f conftest.er1
19322 cat conftest.err >&5
19323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19324 (exit $ac_status); } &&
19325 { ac_try='test -z "$ac_cxx_werror_flag"
19326 || test ! -s conftest.err'
19327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19328 (eval $ac_try) 2>&5
19329 ac_status=$?
19330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19331 (exit $ac_status); }; } &&
19332 { ac_try='test -s conftest.$ac_objext'
19333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19334 (eval $ac_try) 2>&5
19335 ac_status=$?
19336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19337 (exit $ac_status); }; }; then
19338 echo "$as_me:$LINENO: result: yes" >&5
19339 echo "${ECHO_T}yes" >&6
19340 else
19341 echo "$as_me: failed program was:" >&5
19342 sed 's/^/| /' conftest.$ac_ext >&5
19343
19344 echo "$as_me:$LINENO: result: no" >&5
19345 echo "${ECHO_T}no" >&6
19346 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19347 echo "$as_me: error: Basic STL functionality missing" >&2;}
19348 { (exit 1); exit 1; }; }
19349 fi
19350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19351
19352 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19353 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19354 cat >conftest.$ac_ext <<_ACEOF
19355 /* confdefs.h. */
19356 _ACEOF
19357 cat confdefs.h >>conftest.$ac_ext
19358 cat >>conftest.$ac_ext <<_ACEOF
19359 /* end confdefs.h. */
19360 #include <string>
19361 int
19362 main ()
19363 {
19364 std::wstring foo;
19365 ;
19366 return 0;
19367 }
19368 _ACEOF
19369 rm -f conftest.$ac_objext
19370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19371 (eval $ac_compile) 2>conftest.er1
19372 ac_status=$?
19373 grep -v '^ *+' conftest.er1 >conftest.err
19374 rm -f conftest.er1
19375 cat conftest.err >&5
19376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377 (exit $ac_status); } &&
19378 { ac_try='test -z "$ac_cxx_werror_flag"
19379 || test ! -s conftest.err'
19380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19381 (eval $ac_try) 2>&5
19382 ac_status=$?
19383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19384 (exit $ac_status); }; } &&
19385 { ac_try='test -s conftest.$ac_objext'
19386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19387 (eval $ac_try) 2>&5
19388 ac_status=$?
19389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19390 (exit $ac_status); }; }; then
19391 echo "$as_me:$LINENO: result: yes" >&5
19392 echo "${ECHO_T}yes" >&6
19393 cat >>confdefs.h <<\_ACEOF
19394 #define HAVE_STD_WSTRING 1
19395 _ACEOF
19396
19397 else
19398 echo "$as_me: failed program was:" >&5
19399 sed 's/^/| /' conftest.$ac_ext >&5
19400
19401 echo "$as_me:$LINENO: result: no" >&5
19402 echo "${ECHO_T}no" >&6
19403 fi
19404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19405
19406 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19407 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19408 cat >conftest.$ac_ext <<_ACEOF
19409 /* confdefs.h. */
19410 _ACEOF
19411 cat confdefs.h >>conftest.$ac_ext
19412 cat >>conftest.$ac_ext <<_ACEOF
19413 /* end confdefs.h. */
19414 #include <string>
19415 int
19416 main ()
19417 {
19418 std::string foo, bar;
19419 foo.compare(bar);
19420 foo.compare(1, 1, bar);
19421 foo.compare(1, 1, bar, 1, 1);
19422 foo.compare("");
19423 foo.compare(1, 1, "");
19424 foo.compare(1, 1, "", 2);
19425 ;
19426 return 0;
19427 }
19428 _ACEOF
19429 rm -f conftest.$ac_objext
19430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19431 (eval $ac_compile) 2>conftest.er1
19432 ac_status=$?
19433 grep -v '^ *+' conftest.er1 >conftest.err
19434 rm -f conftest.er1
19435 cat conftest.err >&5
19436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19437 (exit $ac_status); } &&
19438 { ac_try='test -z "$ac_cxx_werror_flag"
19439 || test ! -s conftest.err'
19440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19441 (eval $ac_try) 2>&5
19442 ac_status=$?
19443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19444 (exit $ac_status); }; } &&
19445 { ac_try='test -s conftest.$ac_objext'
19446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19447 (eval $ac_try) 2>&5
19448 ac_status=$?
19449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19450 (exit $ac_status); }; }; then
19451 echo "$as_me:$LINENO: result: yes" >&5
19452 echo "${ECHO_T}yes" >&6
19453 cat >>confdefs.h <<\_ACEOF
19454 #define HAVE_STD_STRING_COMPARE 1
19455 _ACEOF
19456
19457 else
19458 echo "$as_me: failed program was:" >&5
19459 sed 's/^/| /' conftest.$ac_ext >&5
19460
19461 echo "$as_me:$LINENO: result: no" >&5
19462 echo "${ECHO_T}no" >&6
19463 fi
19464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19465
19466 if test "${ac_cv_header_hash_map+set}" = set; then
19467 echo "$as_me:$LINENO: checking for hash_map" >&5
19468 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19469 if test "${ac_cv_header_hash_map+set}" = set; then
19470 echo $ECHO_N "(cached) $ECHO_C" >&6
19471 fi
19472 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19473 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19474 else
19475 # Is the header compilable?
19476 echo "$as_me:$LINENO: checking hash_map usability" >&5
19477 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
19478 cat >conftest.$ac_ext <<_ACEOF
19479 /* confdefs.h. */
19480 _ACEOF
19481 cat confdefs.h >>conftest.$ac_ext
19482 cat >>conftest.$ac_ext <<_ACEOF
19483 /* end confdefs.h. */
19484 $ac_includes_default
19485 #include <hash_map>
19486 _ACEOF
19487 rm -f conftest.$ac_objext
19488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19489 (eval $ac_compile) 2>conftest.er1
19490 ac_status=$?
19491 grep -v '^ *+' conftest.er1 >conftest.err
19492 rm -f conftest.er1
19493 cat conftest.err >&5
19494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19495 (exit $ac_status); } &&
19496 { ac_try='test -z "$ac_cxx_werror_flag"
19497 || test ! -s conftest.err'
19498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19499 (eval $ac_try) 2>&5
19500 ac_status=$?
19501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19502 (exit $ac_status); }; } &&
19503 { ac_try='test -s conftest.$ac_objext'
19504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19505 (eval $ac_try) 2>&5
19506 ac_status=$?
19507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508 (exit $ac_status); }; }; then
19509 ac_header_compiler=yes
19510 else
19511 echo "$as_me: failed program was:" >&5
19512 sed 's/^/| /' conftest.$ac_ext >&5
19513
19514 ac_header_compiler=no
19515 fi
19516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19517 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19518 echo "${ECHO_T}$ac_header_compiler" >&6
19519
19520 # Is the header present?
19521 echo "$as_me:$LINENO: checking hash_map presence" >&5
19522 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
19523 cat >conftest.$ac_ext <<_ACEOF
19524 /* confdefs.h. */
19525 _ACEOF
19526 cat confdefs.h >>conftest.$ac_ext
19527 cat >>conftest.$ac_ext <<_ACEOF
19528 /* end confdefs.h. */
19529 #include <hash_map>
19530 _ACEOF
19531 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19532 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19533 ac_status=$?
19534 grep -v '^ *+' conftest.er1 >conftest.err
19535 rm -f conftest.er1
19536 cat conftest.err >&5
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538 (exit $ac_status); } >/dev/null; then
19539 if test -s conftest.err; then
19540 ac_cpp_err=$ac_cxx_preproc_warn_flag
19541 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19542 else
19543 ac_cpp_err=
19544 fi
19545 else
19546 ac_cpp_err=yes
19547 fi
19548 if test -z "$ac_cpp_err"; then
19549 ac_header_preproc=yes
19550 else
19551 echo "$as_me: failed program was:" >&5
19552 sed 's/^/| /' conftest.$ac_ext >&5
19553
19554 ac_header_preproc=no
19555 fi
19556 rm -f conftest.err conftest.$ac_ext
19557 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19558 echo "${ECHO_T}$ac_header_preproc" >&6
19559
19560 # So? What about this header?
19561 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19562 yes:no: )
19563 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19564 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19565 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
19566 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
19567 ac_header_preproc=yes
19568 ;;
19569 no:yes:* )
19570 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
19571 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
19572 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
19573 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
19574 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
19575 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
19576 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
19577 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19578 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
19579 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
19580 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
19581 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
19582 (
19583 cat <<\_ASBOX
19584 ## ----------------------------------------- ##
19585 ## Report this to wx-dev@lists.wxwidgets.org ##
19586 ## ----------------------------------------- ##
19587 _ASBOX
19588 ) |
19589 sed "s/^/$as_me: WARNING: /" >&2
19590 ;;
19591 esac
19592 echo "$as_me:$LINENO: checking for hash_map" >&5
19593 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19594 if test "${ac_cv_header_hash_map+set}" = set; then
19595 echo $ECHO_N "(cached) $ECHO_C" >&6
19596 else
19597 ac_cv_header_hash_map=$ac_header_preproc
19598 fi
19599 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19600 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19601
19602 fi
19603 if test $ac_cv_header_hash_map = yes; then
19604 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19605 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19606 cat >conftest.$ac_ext <<_ACEOF
19607 /* confdefs.h. */
19608 _ACEOF
19609 cat confdefs.h >>conftest.$ac_ext
19610 cat >>conftest.$ac_ext <<_ACEOF
19611 /* end confdefs.h. */
19612 #include <hash_map>
19613 #include <hash_set>
19614 int
19615 main ()
19616 {
19617 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
19618 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
19619 ;
19620 return 0;
19621 }
19622 _ACEOF
19623 rm -f conftest.$ac_objext
19624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19625 (eval $ac_compile) 2>conftest.er1
19626 ac_status=$?
19627 grep -v '^ *+' conftest.er1 >conftest.err
19628 rm -f conftest.er1
19629 cat conftest.err >&5
19630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19631 (exit $ac_status); } &&
19632 { ac_try='test -z "$ac_cxx_werror_flag"
19633 || test ! -s conftest.err'
19634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19635 (eval $ac_try) 2>&5
19636 ac_status=$?
19637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638 (exit $ac_status); }; } &&
19639 { ac_try='test -s conftest.$ac_objext'
19640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19641 (eval $ac_try) 2>&5
19642 ac_status=$?
19643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19644 (exit $ac_status); }; }; then
19645 echo "$as_me:$LINENO: result: yes" >&5
19646 echo "${ECHO_T}yes" >&6
19647 cat >>confdefs.h <<\_ACEOF
19648 #define HAVE_HASH_MAP 1
19649 _ACEOF
19650
19651 cat >>confdefs.h <<\_ACEOF
19652 #define HAVE_STD_HASH_MAP 1
19653 _ACEOF
19654
19655 else
19656 echo "$as_me: failed program was:" >&5
19657 sed 's/^/| /' conftest.$ac_ext >&5
19658
19659 echo "$as_me:$LINENO: result: no" >&5
19660 echo "${ECHO_T}no" >&6
19661 fi
19662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19663
19664 fi
19665
19666
19667
19668 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19669 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19670 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19671 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19672 echo $ECHO_N "(cached) $ECHO_C" >&6
19673 fi
19674 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19675 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19676 else
19677 # Is the header compilable?
19678 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
19679 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
19680 cat >conftest.$ac_ext <<_ACEOF
19681 /* confdefs.h. */
19682 _ACEOF
19683 cat confdefs.h >>conftest.$ac_ext
19684 cat >>conftest.$ac_ext <<_ACEOF
19685 /* end confdefs.h. */
19686 $ac_includes_default
19687 #include <ext/hash_map>
19688 _ACEOF
19689 rm -f conftest.$ac_objext
19690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19691 (eval $ac_compile) 2>conftest.er1
19692 ac_status=$?
19693 grep -v '^ *+' conftest.er1 >conftest.err
19694 rm -f conftest.er1
19695 cat conftest.err >&5
19696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19697 (exit $ac_status); } &&
19698 { ac_try='test -z "$ac_cxx_werror_flag"
19699 || test ! -s conftest.err'
19700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19701 (eval $ac_try) 2>&5
19702 ac_status=$?
19703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19704 (exit $ac_status); }; } &&
19705 { ac_try='test -s conftest.$ac_objext'
19706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19707 (eval $ac_try) 2>&5
19708 ac_status=$?
19709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19710 (exit $ac_status); }; }; then
19711 ac_header_compiler=yes
19712 else
19713 echo "$as_me: failed program was:" >&5
19714 sed 's/^/| /' conftest.$ac_ext >&5
19715
19716 ac_header_compiler=no
19717 fi
19718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19719 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19720 echo "${ECHO_T}$ac_header_compiler" >&6
19721
19722 # Is the header present?
19723 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
19724 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
19725 cat >conftest.$ac_ext <<_ACEOF
19726 /* confdefs.h. */
19727 _ACEOF
19728 cat confdefs.h >>conftest.$ac_ext
19729 cat >>conftest.$ac_ext <<_ACEOF
19730 /* end confdefs.h. */
19731 #include <ext/hash_map>
19732 _ACEOF
19733 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19734 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19735 ac_status=$?
19736 grep -v '^ *+' conftest.er1 >conftest.err
19737 rm -f conftest.er1
19738 cat conftest.err >&5
19739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19740 (exit $ac_status); } >/dev/null; then
19741 if test -s conftest.err; then
19742 ac_cpp_err=$ac_cxx_preproc_warn_flag
19743 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19744 else
19745 ac_cpp_err=
19746 fi
19747 else
19748 ac_cpp_err=yes
19749 fi
19750 if test -z "$ac_cpp_err"; then
19751 ac_header_preproc=yes
19752 else
19753 echo "$as_me: failed program was:" >&5
19754 sed 's/^/| /' conftest.$ac_ext >&5
19755
19756 ac_header_preproc=no
19757 fi
19758 rm -f conftest.err conftest.$ac_ext
19759 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19760 echo "${ECHO_T}$ac_header_preproc" >&6
19761
19762 # So? What about this header?
19763 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19764 yes:no: )
19765 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19766 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19767 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
19768 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
19769 ac_header_preproc=yes
19770 ;;
19771 no:yes:* )
19772 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
19773 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
19774 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
19775 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
19776 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
19777 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
19778 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
19779 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19780 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
19781 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
19782 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
19783 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
19784 (
19785 cat <<\_ASBOX
19786 ## ----------------------------------------- ##
19787 ## Report this to wx-dev@lists.wxwidgets.org ##
19788 ## ----------------------------------------- ##
19789 _ASBOX
19790 ) |
19791 sed "s/^/$as_me: WARNING: /" >&2
19792 ;;
19793 esac
19794 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19795 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19796 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19797 echo $ECHO_N "(cached) $ECHO_C" >&6
19798 else
19799 ac_cv_header_ext_hash_map=$ac_header_preproc
19800 fi
19801 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19802 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19803
19804 fi
19805 if test $ac_cv_header_ext_hash_map = yes; then
19806 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19807 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19808 cat >conftest.$ac_ext <<_ACEOF
19809 /* confdefs.h. */
19810 _ACEOF
19811 cat confdefs.h >>conftest.$ac_ext
19812 cat >>conftest.$ac_ext <<_ACEOF
19813 /* end confdefs.h. */
19814 #include <ext/hash_map>
19815 #include <ext/hash_set>
19816 int
19817 main ()
19818 {
19819 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
19820 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
19821 ;
19822 return 0;
19823 }
19824 _ACEOF
19825 rm -f conftest.$ac_objext
19826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19827 (eval $ac_compile) 2>conftest.er1
19828 ac_status=$?
19829 grep -v '^ *+' conftest.er1 >conftest.err
19830 rm -f conftest.er1
19831 cat conftest.err >&5
19832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19833 (exit $ac_status); } &&
19834 { ac_try='test -z "$ac_cxx_werror_flag"
19835 || test ! -s conftest.err'
19836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19837 (eval $ac_try) 2>&5
19838 ac_status=$?
19839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19840 (exit $ac_status); }; } &&
19841 { ac_try='test -s conftest.$ac_objext'
19842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19843 (eval $ac_try) 2>&5
19844 ac_status=$?
19845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19846 (exit $ac_status); }; }; then
19847 echo "$as_me:$LINENO: result: yes" >&5
19848 echo "${ECHO_T}yes" >&6
19849 cat >>confdefs.h <<\_ACEOF
19850 #define HAVE_EXT_HASH_MAP 1
19851 _ACEOF
19852
19853 cat >>confdefs.h <<\_ACEOF
19854 #define HAVE_GNU_CXX_HASH_MAP 1
19855 _ACEOF
19856
19857 else
19858 echo "$as_me: failed program was:" >&5
19859 sed 's/^/| /' conftest.$ac_ext >&5
19860
19861 echo "$as_me:$LINENO: result: no" >&5
19862 echo "${ECHO_T}no" >&6
19863 fi
19864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19865
19866 fi
19867
19868
19869
19870 ac_ext=c
19871 ac_cpp='$CPP $CPPFLAGS'
19872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19875
19876 fi
19877
19878
19879 SEARCH_INCLUDE="\
19880 /usr/local/include \
19881 \
19882 /usr/Motif-2.1/include \
19883 /usr/Motif-1.2/include \
19884 /usr/include/Motif1.2 \
19885 /opt/xpm/include/X11 \
19886 /opt/GBxpm/include/ \
19887 /opt/GBxpm/X11/include/ \
19888 \
19889 /usr/dt/include \
19890 /usr/openwin/include \
19891 \
19892 /usr/include/Xm \
19893 \
19894 /usr/X11R6/include \
19895 /usr/X11R6.4/include \
19896 /usr/X11R5/include \
19897 /usr/X11R4/include \
19898 \
19899 /usr/include/X11R6 \
19900 /usr/include/X11R5 \
19901 /usr/include/X11R4 \
19902 \
19903 /usr/local/X11R6/include \
19904 /usr/local/X11R5/include \
19905 /usr/local/X11R4/include \
19906 \
19907 /usr/local/include/X11R6 \
19908 /usr/local/include/X11R5 \
19909 /usr/local/include/X11R4 \
19910 \
19911 /usr/X11/include \
19912 /usr/include/X11 \
19913 /usr/local/X11/include \
19914 /usr/local/include/X11 \
19915 \
19916 /usr/X386/include \
19917 /usr/x386/include \
19918 /usr/XFree86/include/X11 \
19919 \
19920 X:/XFree86/include \
19921 X:/XFree86/include/X11 \
19922 \
19923 /usr/include/gtk \
19924 /usr/local/include/gtk \
19925 /usr/include/glib \
19926 /usr/local/include/glib \
19927 \
19928 /usr/include/qt \
19929 /usr/local/include/qt \
19930 \
19931 /usr/local/arm/3.3.2/include \
19932 \
19933 /usr/include/windows \
19934 /usr/include/wine \
19935 /usr/local/include/wine \
19936 \
19937 /usr/unsupported/include \
19938 /usr/athena/include \
19939 /usr/local/x11r5/include \
19940 /usr/lpp/Xamples/include \
19941 \
19942 /usr/openwin/share/include"
19943
19944 SEARCH_LIB="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
19945
19946
19947 cat >confcache <<\_ACEOF
19948 # This file is a shell script that caches the results of configure
19949 # tests run on this system so they can be shared between configure
19950 # scripts and configure runs, see configure's option --config-cache.
19951 # It is not useful on other systems. If it contains results you don't
19952 # want to keep, you may remove or edit it.
19953 #
19954 # config.status only pays attention to the cache file if you give it
19955 # the --recheck option to rerun configure.
19956 #
19957 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19958 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19959 # following values.
19960
19961 _ACEOF
19962
19963 # The following way of writing the cache mishandles newlines in values,
19964 # but we know of no workaround that is simple, portable, and efficient.
19965 # So, don't put newlines in cache variables' values.
19966 # Ultrix sh set writes to stderr and can't be redirected directly,
19967 # and sets the high bit in the cache file unless we assign to the vars.
19968 {
19969 (set) 2>&1 |
19970 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19971 *ac_space=\ *)
19972 # `set' does not quote correctly, so add quotes (double-quote
19973 # substitution turns \\\\ into \\, and sed turns \\ into \).
19974 sed -n \
19975 "s/'/'\\\\''/g;
19976 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19977 ;;
19978 *)
19979 # `set' quotes correctly as required by POSIX, so do not add quotes.
19980 sed -n \
19981 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19982 ;;
19983 esac;
19984 } |
19985 sed '
19986 t clear
19987 : clear
19988 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19989 t end
19990 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19991 : end' >>confcache
19992 if diff $cache_file confcache >/dev/null 2>&1; then :; else
19993 if test -w $cache_file; then
19994 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19995 cat confcache >$cache_file
19996 else
19997 echo "not updating unwritable cache $cache_file"
19998 fi
19999 fi
20000 rm -f confcache
20001
20002 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20003 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20004 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20005 if test "${wx_cv_lib_glibc21+set}" = set; then
20006 echo $ECHO_N "(cached) $ECHO_C" >&6
20007 else
20008
20009 cat >conftest.$ac_ext <<_ACEOF
20010 /* confdefs.h. */
20011 _ACEOF
20012 cat confdefs.h >>conftest.$ac_ext
20013 cat >>conftest.$ac_ext <<_ACEOF
20014 /* end confdefs.h. */
20015 #include <features.h>
20016 int
20017 main ()
20018 {
20019
20020 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20021 #error not glibc2.1
20022 #endif
20023
20024 ;
20025 return 0;
20026 }
20027 _ACEOF
20028 rm -f conftest.$ac_objext
20029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20030 (eval $ac_compile) 2>conftest.er1
20031 ac_status=$?
20032 grep -v '^ *+' conftest.er1 >conftest.err
20033 rm -f conftest.er1
20034 cat conftest.err >&5
20035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20036 (exit $ac_status); } &&
20037 { ac_try='test -z "$ac_c_werror_flag"
20038 || test ! -s conftest.err'
20039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20040 (eval $ac_try) 2>&5
20041 ac_status=$?
20042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20043 (exit $ac_status); }; } &&
20044 { ac_try='test -s conftest.$ac_objext'
20045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20046 (eval $ac_try) 2>&5
20047 ac_status=$?
20048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20049 (exit $ac_status); }; }; then
20050
20051 wx_cv_lib_glibc21=yes
20052
20053 else
20054 echo "$as_me: failed program was:" >&5
20055 sed 's/^/| /' conftest.$ac_ext >&5
20056
20057
20058 wx_cv_lib_glibc21=no
20059
20060
20061 fi
20062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20063
20064 fi
20065 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20066 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20067 if test "$wx_cv_lib_glibc21" = "yes"; then
20068 cat >>confdefs.h <<\_ACEOF
20069 #define wxHAVE_GLIBC2 1
20070 _ACEOF
20071
20072 fi
20073 fi
20074
20075 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20076 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20077 cat >>confdefs.h <<\_ACEOF
20078 #define _GNU_SOURCE 1
20079 _ACEOF
20080
20081 fi
20082 fi
20083
20084
20085
20086 if test "$wxUSE_REGEX" != "no"; then
20087 cat >>confdefs.h <<\_ACEOF
20088 #define wxUSE_REGEX 1
20089 _ACEOF
20090
20091
20092 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20093 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20094 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20095 wxUSE_REGEX=builtin
20096 fi
20097
20098 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20099 if test "${ac_cv_header_regex_h+set}" = set; then
20100 echo "$as_me:$LINENO: checking for regex.h" >&5
20101 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20102 if test "${ac_cv_header_regex_h+set}" = set; then
20103 echo $ECHO_N "(cached) $ECHO_C" >&6
20104 fi
20105 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20106 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20107 else
20108 # Is the header compilable?
20109 echo "$as_me:$LINENO: checking regex.h usability" >&5
20110 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20111 cat >conftest.$ac_ext <<_ACEOF
20112 /* confdefs.h. */
20113 _ACEOF
20114 cat confdefs.h >>conftest.$ac_ext
20115 cat >>conftest.$ac_ext <<_ACEOF
20116 /* end confdefs.h. */
20117 $ac_includes_default
20118 #include <regex.h>
20119 _ACEOF
20120 rm -f conftest.$ac_objext
20121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20122 (eval $ac_compile) 2>conftest.er1
20123 ac_status=$?
20124 grep -v '^ *+' conftest.er1 >conftest.err
20125 rm -f conftest.er1
20126 cat conftest.err >&5
20127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20128 (exit $ac_status); } &&
20129 { ac_try='test -z "$ac_c_werror_flag"
20130 || test ! -s conftest.err'
20131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20132 (eval $ac_try) 2>&5
20133 ac_status=$?
20134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20135 (exit $ac_status); }; } &&
20136 { ac_try='test -s conftest.$ac_objext'
20137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20138 (eval $ac_try) 2>&5
20139 ac_status=$?
20140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20141 (exit $ac_status); }; }; then
20142 ac_header_compiler=yes
20143 else
20144 echo "$as_me: failed program was:" >&5
20145 sed 's/^/| /' conftest.$ac_ext >&5
20146
20147 ac_header_compiler=no
20148 fi
20149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20150 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20151 echo "${ECHO_T}$ac_header_compiler" >&6
20152
20153 # Is the header present?
20154 echo "$as_me:$LINENO: checking regex.h presence" >&5
20155 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20156 cat >conftest.$ac_ext <<_ACEOF
20157 /* confdefs.h. */
20158 _ACEOF
20159 cat confdefs.h >>conftest.$ac_ext
20160 cat >>conftest.$ac_ext <<_ACEOF
20161 /* end confdefs.h. */
20162 #include <regex.h>
20163 _ACEOF
20164 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20165 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20166 ac_status=$?
20167 grep -v '^ *+' conftest.er1 >conftest.err
20168 rm -f conftest.er1
20169 cat conftest.err >&5
20170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20171 (exit $ac_status); } >/dev/null; then
20172 if test -s conftest.err; then
20173 ac_cpp_err=$ac_c_preproc_warn_flag
20174 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20175 else
20176 ac_cpp_err=
20177 fi
20178 else
20179 ac_cpp_err=yes
20180 fi
20181 if test -z "$ac_cpp_err"; then
20182 ac_header_preproc=yes
20183 else
20184 echo "$as_me: failed program was:" >&5
20185 sed 's/^/| /' conftest.$ac_ext >&5
20186
20187 ac_header_preproc=no
20188 fi
20189 rm -f conftest.err conftest.$ac_ext
20190 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20191 echo "${ECHO_T}$ac_header_preproc" >&6
20192
20193 # So? What about this header?
20194 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20195 yes:no: )
20196 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20197 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20198 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20199 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20200 ac_header_preproc=yes
20201 ;;
20202 no:yes:* )
20203 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20204 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20205 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20206 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20207 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20208 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20209 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20210 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20211 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20212 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20213 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20214 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20215 (
20216 cat <<\_ASBOX
20217 ## ----------------------------------------- ##
20218 ## Report this to wx-dev@lists.wxwidgets.org ##
20219 ## ----------------------------------------- ##
20220 _ASBOX
20221 ) |
20222 sed "s/^/$as_me: WARNING: /" >&2
20223 ;;
20224 esac
20225 echo "$as_me:$LINENO: checking for regex.h" >&5
20226 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20227 if test "${ac_cv_header_regex_h+set}" = set; then
20228 echo $ECHO_N "(cached) $ECHO_C" >&6
20229 else
20230 ac_cv_header_regex_h=$ac_header_preproc
20231 fi
20232 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20233 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20234
20235 fi
20236 if test $ac_cv_header_regex_h = yes; then
20237
20238 for ac_func in regcomp
20239 do
20240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20241 echo "$as_me:$LINENO: checking for $ac_func" >&5
20242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20243 if eval "test \"\${$as_ac_var+set}\" = set"; then
20244 echo $ECHO_N "(cached) $ECHO_C" >&6
20245 else
20246 cat >conftest.$ac_ext <<_ACEOF
20247 /* confdefs.h. */
20248 _ACEOF
20249 cat confdefs.h >>conftest.$ac_ext
20250 cat >>conftest.$ac_ext <<_ACEOF
20251 /* end confdefs.h. */
20252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20254 #define $ac_func innocuous_$ac_func
20255
20256 /* System header to define __stub macros and hopefully few prototypes,
20257 which can conflict with char $ac_func (); below.
20258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20259 <limits.h> exists even on freestanding compilers. */
20260
20261 #ifdef __STDC__
20262 # include <limits.h>
20263 #else
20264 # include <assert.h>
20265 #endif
20266
20267 #undef $ac_func
20268
20269 /* Override any gcc2 internal prototype to avoid an error. */
20270 #ifdef __cplusplus
20271 extern "C"
20272 {
20273 #endif
20274 /* We use char because int might match the return type of a gcc2
20275 builtin and then its argument prototype would still apply. */
20276 char $ac_func ();
20277 /* The GNU C library defines this for functions which it implements
20278 to always fail with ENOSYS. Some functions are actually named
20279 something starting with __ and the normal name is an alias. */
20280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20281 choke me
20282 #else
20283 char (*f) () = $ac_func;
20284 #endif
20285 #ifdef __cplusplus
20286 }
20287 #endif
20288
20289 int
20290 main ()
20291 {
20292 return f != $ac_func;
20293 ;
20294 return 0;
20295 }
20296 _ACEOF
20297 rm -f conftest.$ac_objext conftest$ac_exeext
20298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20299 (eval $ac_link) 2>conftest.er1
20300 ac_status=$?
20301 grep -v '^ *+' conftest.er1 >conftest.err
20302 rm -f conftest.er1
20303 cat conftest.err >&5
20304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20305 (exit $ac_status); } &&
20306 { ac_try='test -z "$ac_c_werror_flag"
20307 || test ! -s conftest.err'
20308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20309 (eval $ac_try) 2>&5
20310 ac_status=$?
20311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20312 (exit $ac_status); }; } &&
20313 { ac_try='test -s conftest$ac_exeext'
20314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20315 (eval $ac_try) 2>&5
20316 ac_status=$?
20317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20318 (exit $ac_status); }; }; then
20319 eval "$as_ac_var=yes"
20320 else
20321 echo "$as_me: failed program was:" >&5
20322 sed 's/^/| /' conftest.$ac_ext >&5
20323
20324 eval "$as_ac_var=no"
20325 fi
20326 rm -f conftest.err conftest.$ac_objext \
20327 conftest$ac_exeext conftest.$ac_ext
20328 fi
20329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20331 if test `eval echo '${'$as_ac_var'}'` = yes; then
20332 cat >>confdefs.h <<_ACEOF
20333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20334 _ACEOF
20335
20336 fi
20337 done
20338
20339 fi
20340
20341
20342
20343 if test "x$ac_cv_func_regcomp" != "xyes"; then
20344 if test "$wxUSE_REGEX" = "sys" ; then
20345 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20346 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20347 { (exit 1); exit 1; }; }
20348 else
20349 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20350 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
20351 wxUSE_REGEX=builtin
20352 fi
20353 else
20354 wxUSE_REGEX=sys
20355 cat >>confdefs.h <<\_ACEOF
20356 #define WX_NO_REGEX_ADVANCED 1
20357 _ACEOF
20358
20359 fi
20360 fi
20361 fi
20362
20363
20364 ZLIB_LINK=
20365 if test "$wxUSE_ZLIB" != "no" ; then
20366 cat >>confdefs.h <<\_ACEOF
20367 #define wxUSE_ZLIB 1
20368 _ACEOF
20369
20370
20371 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
20372 if test "$USE_DARWIN" = 1; then
20373 system_zlib_h_ok="yes"
20374 else
20375 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
20376 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
20377 if test "${ac_cv_header_zlib_h+set}" = set; then
20378 echo $ECHO_N "(cached) $ECHO_C" >&6
20379 else
20380 if test "$cross_compiling" = yes; then
20381 unset ac_cv_header_zlib_h
20382
20383 else
20384 cat >conftest.$ac_ext <<_ACEOF
20385 /* confdefs.h. */
20386 _ACEOF
20387 cat confdefs.h >>conftest.$ac_ext
20388 cat >>conftest.$ac_ext <<_ACEOF
20389 /* end confdefs.h. */
20390
20391 #include <zlib.h>
20392 #include <stdio.h>
20393
20394 int main()
20395 {
20396 FILE *f=fopen("conftestval", "w");
20397 if (!f) exit(1);
20398 fprintf(f, "%s",
20399 ZLIB_VERSION[0] == '1' &&
20400 (ZLIB_VERSION[2] > '1' ||
20401 (ZLIB_VERSION[2] == '1' &&
20402 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
20403 exit(0);
20404 }
20405
20406 _ACEOF
20407 rm -f conftest$ac_exeext
20408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20409 (eval $ac_link) 2>&5
20410 ac_status=$?
20411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20412 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20414 (eval $ac_try) 2>&5
20415 ac_status=$?
20416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20417 (exit $ac_status); }; }; then
20418 ac_cv_header_zlib_h=`cat conftestval`
20419 else
20420 echo "$as_me: program exited with status $ac_status" >&5
20421 echo "$as_me: failed program was:" >&5
20422 sed 's/^/| /' conftest.$ac_ext >&5
20423
20424 ( exit $ac_status )
20425 ac_cv_header_zlib_h=no
20426 fi
20427 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20428 fi
20429
20430 fi
20431 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20432 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20433 if test "${ac_cv_header_zlib_h+set}" = set; then
20434 echo "$as_me:$LINENO: checking for zlib.h" >&5
20435 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20436 if test "${ac_cv_header_zlib_h+set}" = set; then
20437 echo $ECHO_N "(cached) $ECHO_C" >&6
20438 fi
20439 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20440 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20441 else
20442 # Is the header compilable?
20443 echo "$as_me:$LINENO: checking zlib.h usability" >&5
20444 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20445 cat >conftest.$ac_ext <<_ACEOF
20446 /* confdefs.h. */
20447 _ACEOF
20448 cat confdefs.h >>conftest.$ac_ext
20449 cat >>conftest.$ac_ext <<_ACEOF
20450 /* end confdefs.h. */
20451 $ac_includes_default
20452 #include <zlib.h>
20453 _ACEOF
20454 rm -f conftest.$ac_objext
20455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20456 (eval $ac_compile) 2>conftest.er1
20457 ac_status=$?
20458 grep -v '^ *+' conftest.er1 >conftest.err
20459 rm -f conftest.er1
20460 cat conftest.err >&5
20461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20462 (exit $ac_status); } &&
20463 { ac_try='test -z "$ac_c_werror_flag"
20464 || test ! -s conftest.err'
20465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20466 (eval $ac_try) 2>&5
20467 ac_status=$?
20468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20469 (exit $ac_status); }; } &&
20470 { ac_try='test -s conftest.$ac_objext'
20471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20472 (eval $ac_try) 2>&5
20473 ac_status=$?
20474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20475 (exit $ac_status); }; }; then
20476 ac_header_compiler=yes
20477 else
20478 echo "$as_me: failed program was:" >&5
20479 sed 's/^/| /' conftest.$ac_ext >&5
20480
20481 ac_header_compiler=no
20482 fi
20483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20484 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20485 echo "${ECHO_T}$ac_header_compiler" >&6
20486
20487 # Is the header present?
20488 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20489 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20490 cat >conftest.$ac_ext <<_ACEOF
20491 /* confdefs.h. */
20492 _ACEOF
20493 cat confdefs.h >>conftest.$ac_ext
20494 cat >>conftest.$ac_ext <<_ACEOF
20495 /* end confdefs.h. */
20496 #include <zlib.h>
20497 _ACEOF
20498 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20499 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20500 ac_status=$?
20501 grep -v '^ *+' conftest.er1 >conftest.err
20502 rm -f conftest.er1
20503 cat conftest.err >&5
20504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505 (exit $ac_status); } >/dev/null; then
20506 if test -s conftest.err; then
20507 ac_cpp_err=$ac_c_preproc_warn_flag
20508 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20509 else
20510 ac_cpp_err=
20511 fi
20512 else
20513 ac_cpp_err=yes
20514 fi
20515 if test -z "$ac_cpp_err"; then
20516 ac_header_preproc=yes
20517 else
20518 echo "$as_me: failed program was:" >&5
20519 sed 's/^/| /' conftest.$ac_ext >&5
20520
20521 ac_header_preproc=no
20522 fi
20523 rm -f conftest.err conftest.$ac_ext
20524 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20525 echo "${ECHO_T}$ac_header_preproc" >&6
20526
20527 # So? What about this header?
20528 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20529 yes:no: )
20530 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20531 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20532 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20533 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20534 ac_header_preproc=yes
20535 ;;
20536 no:yes:* )
20537 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20538 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20539 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20540 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20541 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20542 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20543 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20544 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20545 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20546 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20547 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20548 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20549 (
20550 cat <<\_ASBOX
20551 ## ----------------------------------------- ##
20552 ## Report this to wx-dev@lists.wxwidgets.org ##
20553 ## ----------------------------------------- ##
20554 _ASBOX
20555 ) |
20556 sed "s/^/$as_me: WARNING: /" >&2
20557 ;;
20558 esac
20559 echo "$as_me:$LINENO: checking for zlib.h" >&5
20560 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20561 if test "${ac_cv_header_zlib_h+set}" = set; then
20562 echo $ECHO_N "(cached) $ECHO_C" >&6
20563 else
20564 ac_cv_header_zlib_h=$ac_header_preproc
20565 fi
20566 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20567 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20568
20569 fi
20570
20571
20572
20573 system_zlib_h_ok=$ac_cv_header_zlib_h
20574 fi
20575
20576 if test "$system_zlib_h_ok" = "yes"; then
20577 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20578 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20579 if test "${ac_cv_lib_z_deflate+set}" = set; then
20580 echo $ECHO_N "(cached) $ECHO_C" >&6
20581 else
20582 ac_check_lib_save_LIBS=$LIBS
20583 LIBS="-lz $LIBS"
20584 cat >conftest.$ac_ext <<_ACEOF
20585 /* confdefs.h. */
20586 _ACEOF
20587 cat confdefs.h >>conftest.$ac_ext
20588 cat >>conftest.$ac_ext <<_ACEOF
20589 /* end confdefs.h. */
20590
20591 /* Override any gcc2 internal prototype to avoid an error. */
20592 #ifdef __cplusplus
20593 extern "C"
20594 #endif
20595 /* We use char because int might match the return type of a gcc2
20596 builtin and then its argument prototype would still apply. */
20597 char deflate ();
20598 int
20599 main ()
20600 {
20601 deflate ();
20602 ;
20603 return 0;
20604 }
20605 _ACEOF
20606 rm -f conftest.$ac_objext conftest$ac_exeext
20607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20608 (eval $ac_link) 2>conftest.er1
20609 ac_status=$?
20610 grep -v '^ *+' conftest.er1 >conftest.err
20611 rm -f conftest.er1
20612 cat conftest.err >&5
20613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20614 (exit $ac_status); } &&
20615 { ac_try='test -z "$ac_c_werror_flag"
20616 || test ! -s conftest.err'
20617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20618 (eval $ac_try) 2>&5
20619 ac_status=$?
20620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20621 (exit $ac_status); }; } &&
20622 { ac_try='test -s conftest$ac_exeext'
20623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20624 (eval $ac_try) 2>&5
20625 ac_status=$?
20626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20627 (exit $ac_status); }; }; then
20628 ac_cv_lib_z_deflate=yes
20629 else
20630 echo "$as_me: failed program was:" >&5
20631 sed 's/^/| /' conftest.$ac_ext >&5
20632
20633 ac_cv_lib_z_deflate=no
20634 fi
20635 rm -f conftest.err conftest.$ac_objext \
20636 conftest$ac_exeext conftest.$ac_ext
20637 LIBS=$ac_check_lib_save_LIBS
20638 fi
20639 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20640 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20641 if test $ac_cv_lib_z_deflate = yes; then
20642 ZLIB_LINK=" -lz"
20643 fi
20644
20645 fi
20646
20647 if test "x$ZLIB_LINK" = "x" ; then
20648 if test "$wxUSE_ZLIB" = "sys" ; then
20649 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20650 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20651 { (exit 1); exit 1; }; }
20652 else
20653 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20654 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20655 wxUSE_ZLIB=builtin
20656 fi
20657 else
20658 wxUSE_ZLIB=sys
20659 fi
20660 fi
20661 fi
20662
20663
20664 PNG_LINK=
20665 if test "$wxUSE_LIBPNG" != "no" ; then
20666 cat >>confdefs.h <<\_ACEOF
20667 #define wxUSE_LIBPNG 1
20668 _ACEOF
20669
20670
20671 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20672 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20673 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20674 wxUSE_LIBPNG=sys
20675 fi
20676
20677 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20678 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20679 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20680 wxUSE_LIBPNG=builtin
20681 fi
20682
20683 if test "$wxUSE_MGL" != 1 ; then
20684 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20685 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20686 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20687 if test "${ac_cv_header_png_h+set}" = set; then
20688 echo $ECHO_N "(cached) $ECHO_C" >&6
20689 else
20690 if test "$cross_compiling" = yes; then
20691 unset ac_cv_header_png_h
20692
20693 else
20694 cat >conftest.$ac_ext <<_ACEOF
20695 /* confdefs.h. */
20696 _ACEOF
20697 cat confdefs.h >>conftest.$ac_ext
20698 cat >>conftest.$ac_ext <<_ACEOF
20699 /* end confdefs.h. */
20700
20701 #include <png.h>
20702 #include <stdio.h>
20703
20704 int main()
20705 {
20706 FILE *f=fopen("conftestval", "w");
20707 if (!f) exit(1);
20708 fprintf(f, "%s",
20709 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20710 exit(0);
20711 }
20712
20713 _ACEOF
20714 rm -f conftest$ac_exeext
20715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20716 (eval $ac_link) 2>&5
20717 ac_status=$?
20718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20719 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20721 (eval $ac_try) 2>&5
20722 ac_status=$?
20723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20724 (exit $ac_status); }; }; then
20725 ac_cv_header_png_h=`cat conftestval`
20726 else
20727 echo "$as_me: program exited with status $ac_status" >&5
20728 echo "$as_me: failed program was:" >&5
20729 sed 's/^/| /' conftest.$ac_ext >&5
20730
20731 ( exit $ac_status )
20732 ac_cv_header_png_h=no
20733 fi
20734 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20735 fi
20736
20737 fi
20738 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20739 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20740 if test "${ac_cv_header_png_h+set}" = set; then
20741 echo "$as_me:$LINENO: checking for png.h" >&5
20742 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20743 if test "${ac_cv_header_png_h+set}" = set; then
20744 echo $ECHO_N "(cached) $ECHO_C" >&6
20745 fi
20746 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20747 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20748 else
20749 # Is the header compilable?
20750 echo "$as_me:$LINENO: checking png.h usability" >&5
20751 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
20752 cat >conftest.$ac_ext <<_ACEOF
20753 /* confdefs.h. */
20754 _ACEOF
20755 cat confdefs.h >>conftest.$ac_ext
20756 cat >>conftest.$ac_ext <<_ACEOF
20757 /* end confdefs.h. */
20758 $ac_includes_default
20759 #include <png.h>
20760 _ACEOF
20761 rm -f conftest.$ac_objext
20762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20763 (eval $ac_compile) 2>conftest.er1
20764 ac_status=$?
20765 grep -v '^ *+' conftest.er1 >conftest.err
20766 rm -f conftest.er1
20767 cat conftest.err >&5
20768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20769 (exit $ac_status); } &&
20770 { ac_try='test -z "$ac_c_werror_flag"
20771 || test ! -s conftest.err'
20772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20773 (eval $ac_try) 2>&5
20774 ac_status=$?
20775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20776 (exit $ac_status); }; } &&
20777 { ac_try='test -s conftest.$ac_objext'
20778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20779 (eval $ac_try) 2>&5
20780 ac_status=$?
20781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20782 (exit $ac_status); }; }; then
20783 ac_header_compiler=yes
20784 else
20785 echo "$as_me: failed program was:" >&5
20786 sed 's/^/| /' conftest.$ac_ext >&5
20787
20788 ac_header_compiler=no
20789 fi
20790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20791 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20792 echo "${ECHO_T}$ac_header_compiler" >&6
20793
20794 # Is the header present?
20795 echo "$as_me:$LINENO: checking png.h presence" >&5
20796 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
20797 cat >conftest.$ac_ext <<_ACEOF
20798 /* confdefs.h. */
20799 _ACEOF
20800 cat confdefs.h >>conftest.$ac_ext
20801 cat >>conftest.$ac_ext <<_ACEOF
20802 /* end confdefs.h. */
20803 #include <png.h>
20804 _ACEOF
20805 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20806 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20807 ac_status=$?
20808 grep -v '^ *+' conftest.er1 >conftest.err
20809 rm -f conftest.er1
20810 cat conftest.err >&5
20811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20812 (exit $ac_status); } >/dev/null; then
20813 if test -s conftest.err; then
20814 ac_cpp_err=$ac_c_preproc_warn_flag
20815 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20816 else
20817 ac_cpp_err=
20818 fi
20819 else
20820 ac_cpp_err=yes
20821 fi
20822 if test -z "$ac_cpp_err"; then
20823 ac_header_preproc=yes
20824 else
20825 echo "$as_me: failed program was:" >&5
20826 sed 's/^/| /' conftest.$ac_ext >&5
20827
20828 ac_header_preproc=no
20829 fi
20830 rm -f conftest.err conftest.$ac_ext
20831 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20832 echo "${ECHO_T}$ac_header_preproc" >&6
20833
20834 # So? What about this header?
20835 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20836 yes:no: )
20837 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
20838 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20839 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
20840 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
20841 ac_header_preproc=yes
20842 ;;
20843 no:yes:* )
20844 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
20845 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
20846 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
20847 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
20848 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
20849 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
20850 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
20851 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
20852 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
20853 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
20854 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
20855 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
20856 (
20857 cat <<\_ASBOX
20858 ## ----------------------------------------- ##
20859 ## Report this to wx-dev@lists.wxwidgets.org ##
20860 ## ----------------------------------------- ##
20861 _ASBOX
20862 ) |
20863 sed "s/^/$as_me: WARNING: /" >&2
20864 ;;
20865 esac
20866 echo "$as_me:$LINENO: checking for png.h" >&5
20867 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20868 if test "${ac_cv_header_png_h+set}" = set; then
20869 echo $ECHO_N "(cached) $ECHO_C" >&6
20870 else
20871 ac_cv_header_png_h=$ac_header_preproc
20872 fi
20873 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20874 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20875
20876 fi
20877
20878
20879
20880 if test "$ac_cv_header_png_h" = "yes"; then
20881 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
20882 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
20883 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
20884 echo $ECHO_N "(cached) $ECHO_C" >&6
20885 else
20886 ac_check_lib_save_LIBS=$LIBS
20887 LIBS="-lpng -lz -lm $LIBS"
20888 cat >conftest.$ac_ext <<_ACEOF
20889 /* confdefs.h. */
20890 _ACEOF
20891 cat confdefs.h >>conftest.$ac_ext
20892 cat >>conftest.$ac_ext <<_ACEOF
20893 /* end confdefs.h. */
20894
20895 /* Override any gcc2 internal prototype to avoid an error. */
20896 #ifdef __cplusplus
20897 extern "C"
20898 #endif
20899 /* We use char because int might match the return type of a gcc2
20900 builtin and then its argument prototype would still apply. */
20901 char png_check_sig ();
20902 int
20903 main ()
20904 {
20905 png_check_sig ();
20906 ;
20907 return 0;
20908 }
20909 _ACEOF
20910 rm -f conftest.$ac_objext conftest$ac_exeext
20911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20912 (eval $ac_link) 2>conftest.er1
20913 ac_status=$?
20914 grep -v '^ *+' conftest.er1 >conftest.err
20915 rm -f conftest.er1
20916 cat conftest.err >&5
20917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20918 (exit $ac_status); } &&
20919 { ac_try='test -z "$ac_c_werror_flag"
20920 || test ! -s conftest.err'
20921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20922 (eval $ac_try) 2>&5
20923 ac_status=$?
20924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20925 (exit $ac_status); }; } &&
20926 { ac_try='test -s conftest$ac_exeext'
20927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20928 (eval $ac_try) 2>&5
20929 ac_status=$?
20930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20931 (exit $ac_status); }; }; then
20932 ac_cv_lib_png_png_check_sig=yes
20933 else
20934 echo "$as_me: failed program was:" >&5
20935 sed 's/^/| /' conftest.$ac_ext >&5
20936
20937 ac_cv_lib_png_png_check_sig=no
20938 fi
20939 rm -f conftest.err conftest.$ac_objext \
20940 conftest$ac_exeext conftest.$ac_ext
20941 LIBS=$ac_check_lib_save_LIBS
20942 fi
20943 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
20944 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
20945 if test $ac_cv_lib_png_png_check_sig = yes; then
20946 PNG_LINK=" -lpng -lz"
20947 fi
20948
20949 fi
20950
20951 if test "x$PNG_LINK" = "x" ; then
20952 if test "$wxUSE_LIBPNG" = "sys" ; then
20953 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
20954 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
20955 { (exit 1); exit 1; }; }
20956 else
20957 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
20958 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
20959 wxUSE_LIBPNG=builtin
20960 fi
20961 else
20962 wxUSE_LIBPNG=sys
20963 fi
20964 fi
20965 fi
20966
20967 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
20968 fi
20969
20970
20971 JPEG_LINK=
20972 if test "$wxUSE_LIBJPEG" != "no" ; then
20973 cat >>confdefs.h <<\_ACEOF
20974 #define wxUSE_LIBJPEG 1
20975 _ACEOF
20976
20977
20978 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
20979 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
20980 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
20981 wxUSE_LIBJPEG=sys
20982 fi
20983
20984 if test "$wxUSE_MGL" != 1 ; then
20985 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
20986 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
20987 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
20988 if test "${ac_cv_header_jpeglib_h+set}" = set; then
20989 echo $ECHO_N "(cached) $ECHO_C" >&6
20990 else
20991 cat >conftest.$ac_ext <<_ACEOF
20992 /* confdefs.h. */
20993 _ACEOF
20994 cat confdefs.h >>conftest.$ac_ext
20995 cat >>conftest.$ac_ext <<_ACEOF
20996 /* end confdefs.h. */
20997
20998 #undef HAVE_STDLIB_H
20999 #include <stdio.h>
21000 #include <jpeglib.h>
21001
21002 int
21003 main ()
21004 {
21005
21006
21007 ;
21008 return 0;
21009 }
21010 _ACEOF
21011 rm -f conftest.$ac_objext
21012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21013 (eval $ac_compile) 2>conftest.er1
21014 ac_status=$?
21015 grep -v '^ *+' conftest.er1 >conftest.err
21016 rm -f conftest.er1
21017 cat conftest.err >&5
21018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21019 (exit $ac_status); } &&
21020 { ac_try='test -z "$ac_c_werror_flag"
21021 || test ! -s conftest.err'
21022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21023 (eval $ac_try) 2>&5
21024 ac_status=$?
21025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21026 (exit $ac_status); }; } &&
21027 { ac_try='test -s conftest.$ac_objext'
21028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21029 (eval $ac_try) 2>&5
21030 ac_status=$?
21031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21032 (exit $ac_status); }; }; then
21033 ac_cv_header_jpeglib_h=yes
21034 else
21035 echo "$as_me: failed program was:" >&5
21036 sed 's/^/| /' conftest.$ac_ext >&5
21037
21038 ac_cv_header_jpeglib_h=no
21039
21040 fi
21041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21042
21043 fi
21044
21045 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21046 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21047
21048 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21049 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21050 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21051 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21052 echo $ECHO_N "(cached) $ECHO_C" >&6
21053 else
21054 ac_check_lib_save_LIBS=$LIBS
21055 LIBS="-ljpeg $LIBS"
21056 cat >conftest.$ac_ext <<_ACEOF
21057 /* confdefs.h. */
21058 _ACEOF
21059 cat confdefs.h >>conftest.$ac_ext
21060 cat >>conftest.$ac_ext <<_ACEOF
21061 /* end confdefs.h. */
21062
21063 /* Override any gcc2 internal prototype to avoid an error. */
21064 #ifdef __cplusplus
21065 extern "C"
21066 #endif
21067 /* We use char because int might match the return type of a gcc2
21068 builtin and then its argument prototype would still apply. */
21069 char jpeg_read_header ();
21070 int
21071 main ()
21072 {
21073 jpeg_read_header ();
21074 ;
21075 return 0;
21076 }
21077 _ACEOF
21078 rm -f conftest.$ac_objext conftest$ac_exeext
21079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21080 (eval $ac_link) 2>conftest.er1
21081 ac_status=$?
21082 grep -v '^ *+' conftest.er1 >conftest.err
21083 rm -f conftest.er1
21084 cat conftest.err >&5
21085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21086 (exit $ac_status); } &&
21087 { ac_try='test -z "$ac_c_werror_flag"
21088 || test ! -s conftest.err'
21089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21090 (eval $ac_try) 2>&5
21091 ac_status=$?
21092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21093 (exit $ac_status); }; } &&
21094 { ac_try='test -s conftest$ac_exeext'
21095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21096 (eval $ac_try) 2>&5
21097 ac_status=$?
21098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21099 (exit $ac_status); }; }; then
21100 ac_cv_lib_jpeg_jpeg_read_header=yes
21101 else
21102 echo "$as_me: failed program was:" >&5
21103 sed 's/^/| /' conftest.$ac_ext >&5
21104
21105 ac_cv_lib_jpeg_jpeg_read_header=no
21106 fi
21107 rm -f conftest.err conftest.$ac_objext \
21108 conftest$ac_exeext conftest.$ac_ext
21109 LIBS=$ac_check_lib_save_LIBS
21110 fi
21111 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21112 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21113 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21114 JPEG_LINK=" -ljpeg"
21115 fi
21116
21117 fi
21118
21119 if test "x$JPEG_LINK" = "x" ; then
21120 if test "$wxUSE_LIBJPEG" = "sys" ; then
21121 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21122 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21123 { (exit 1); exit 1; }; }
21124 else
21125 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21126 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21127 wxUSE_LIBJPEG=builtin
21128 fi
21129 else
21130 wxUSE_LIBJPEG=sys
21131 fi
21132 fi
21133 fi
21134 fi
21135
21136
21137 TIFF_LINK=
21138 TIFF_PREREQ_LINKS=-lm
21139 if test "$wxUSE_LIBTIFF" != "no" ; then
21140 cat >>confdefs.h <<\_ACEOF
21141 #define wxUSE_LIBTIFF 1
21142 _ACEOF
21143
21144
21145 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21146 if test "$wxUSE_LIBJPEG" = "sys"; then
21147 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
21148 fi
21149 if test "$wxUSE_ZLIB" = "sys"; then
21150 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21151 fi
21152 if test "${ac_cv_header_tiffio_h+set}" = set; then
21153 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21154 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21155 if test "${ac_cv_header_tiffio_h+set}" = set; then
21156 echo $ECHO_N "(cached) $ECHO_C" >&6
21157 fi
21158 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21159 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21160 else
21161 # Is the header compilable?
21162 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21163 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21164 cat >conftest.$ac_ext <<_ACEOF
21165 /* confdefs.h. */
21166 _ACEOF
21167 cat confdefs.h >>conftest.$ac_ext
21168 cat >>conftest.$ac_ext <<_ACEOF
21169 /* end confdefs.h. */
21170 $ac_includes_default
21171 #include <tiffio.h>
21172 _ACEOF
21173 rm -f conftest.$ac_objext
21174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21175 (eval $ac_compile) 2>conftest.er1
21176 ac_status=$?
21177 grep -v '^ *+' conftest.er1 >conftest.err
21178 rm -f conftest.er1
21179 cat conftest.err >&5
21180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21181 (exit $ac_status); } &&
21182 { ac_try='test -z "$ac_c_werror_flag"
21183 || test ! -s conftest.err'
21184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21185 (eval $ac_try) 2>&5
21186 ac_status=$?
21187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21188 (exit $ac_status); }; } &&
21189 { ac_try='test -s conftest.$ac_objext'
21190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21191 (eval $ac_try) 2>&5
21192 ac_status=$?
21193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21194 (exit $ac_status); }; }; then
21195 ac_header_compiler=yes
21196 else
21197 echo "$as_me: failed program was:" >&5
21198 sed 's/^/| /' conftest.$ac_ext >&5
21199
21200 ac_header_compiler=no
21201 fi
21202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21203 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21204 echo "${ECHO_T}$ac_header_compiler" >&6
21205
21206 # Is the header present?
21207 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21208 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21209 cat >conftest.$ac_ext <<_ACEOF
21210 /* confdefs.h. */
21211 _ACEOF
21212 cat confdefs.h >>conftest.$ac_ext
21213 cat >>conftest.$ac_ext <<_ACEOF
21214 /* end confdefs.h. */
21215 #include <tiffio.h>
21216 _ACEOF
21217 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21218 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21219 ac_status=$?
21220 grep -v '^ *+' conftest.er1 >conftest.err
21221 rm -f conftest.er1
21222 cat conftest.err >&5
21223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21224 (exit $ac_status); } >/dev/null; then
21225 if test -s conftest.err; then
21226 ac_cpp_err=$ac_c_preproc_warn_flag
21227 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21228 else
21229 ac_cpp_err=
21230 fi
21231 else
21232 ac_cpp_err=yes
21233 fi
21234 if test -z "$ac_cpp_err"; then
21235 ac_header_preproc=yes
21236 else
21237 echo "$as_me: failed program was:" >&5
21238 sed 's/^/| /' conftest.$ac_ext >&5
21239
21240 ac_header_preproc=no
21241 fi
21242 rm -f conftest.err conftest.$ac_ext
21243 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21244 echo "${ECHO_T}$ac_header_preproc" >&6
21245
21246 # So? What about this header?
21247 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21248 yes:no: )
21249 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21250 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21251 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21252 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21253 ac_header_preproc=yes
21254 ;;
21255 no:yes:* )
21256 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21257 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21258 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21259 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21260 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21261 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21262 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21263 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21264 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21265 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21266 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21267 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21268 (
21269 cat <<\_ASBOX
21270 ## ----------------------------------------- ##
21271 ## Report this to wx-dev@lists.wxwidgets.org ##
21272 ## ----------------------------------------- ##
21273 _ASBOX
21274 ) |
21275 sed "s/^/$as_me: WARNING: /" >&2
21276 ;;
21277 esac
21278 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21279 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21280 if test "${ac_cv_header_tiffio_h+set}" = set; then
21281 echo $ECHO_N "(cached) $ECHO_C" >&6
21282 else
21283 ac_cv_header_tiffio_h=$ac_header_preproc
21284 fi
21285 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21286 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21287
21288 fi
21289 if test $ac_cv_header_tiffio_h = yes; then
21290
21291 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21292 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21293 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21294 echo $ECHO_N "(cached) $ECHO_C" >&6
21295 else
21296 ac_check_lib_save_LIBS=$LIBS
21297 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21298 cat >conftest.$ac_ext <<_ACEOF
21299 /* confdefs.h. */
21300 _ACEOF
21301 cat confdefs.h >>conftest.$ac_ext
21302 cat >>conftest.$ac_ext <<_ACEOF
21303 /* end confdefs.h. */
21304
21305 /* Override any gcc2 internal prototype to avoid an error. */
21306 #ifdef __cplusplus
21307 extern "C"
21308 #endif
21309 /* We use char because int might match the return type of a gcc2
21310 builtin and then its argument prototype would still apply. */
21311 char TIFFError ();
21312 int
21313 main ()
21314 {
21315 TIFFError ();
21316 ;
21317 return 0;
21318 }
21319 _ACEOF
21320 rm -f conftest.$ac_objext conftest$ac_exeext
21321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21322 (eval $ac_link) 2>conftest.er1
21323 ac_status=$?
21324 grep -v '^ *+' conftest.er1 >conftest.err
21325 rm -f conftest.er1
21326 cat conftest.err >&5
21327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21328 (exit $ac_status); } &&
21329 { ac_try='test -z "$ac_c_werror_flag"
21330 || test ! -s conftest.err'
21331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21332 (eval $ac_try) 2>&5
21333 ac_status=$?
21334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21335 (exit $ac_status); }; } &&
21336 { ac_try='test -s conftest$ac_exeext'
21337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21338 (eval $ac_try) 2>&5
21339 ac_status=$?
21340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21341 (exit $ac_status); }; }; then
21342 ac_cv_lib_tiff_TIFFError=yes
21343 else
21344 echo "$as_me: failed program was:" >&5
21345 sed 's/^/| /' conftest.$ac_ext >&5
21346
21347 ac_cv_lib_tiff_TIFFError=no
21348 fi
21349 rm -f conftest.err conftest.$ac_objext \
21350 conftest$ac_exeext conftest.$ac_ext
21351 LIBS=$ac_check_lib_save_LIBS
21352 fi
21353 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21354 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21355 if test $ac_cv_lib_tiff_TIFFError = yes; then
21356 TIFF_LINK=" -ltiff"
21357 fi
21358
21359
21360
21361 fi
21362
21363
21364
21365 if test "x$TIFF_LINK" = "x" ; then
21366 if test "$wxUSE_LIBTIFF" = "sys" ; then
21367 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
21368 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
21369 { (exit 1); exit 1; }; }
21370 else
21371 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
21372 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
21373 wxUSE_LIBTIFF=builtin
21374 fi
21375 else
21376 wxUSE_LIBTIFF=sys
21377 fi
21378 fi
21379 fi
21380
21381
21382 if test "$wxUSE_EXPAT" != "no"; then
21383 wxUSE_XML=yes
21384 cat >>confdefs.h <<\_ACEOF
21385 #define wxUSE_EXPAT 1
21386 _ACEOF
21387
21388 cat >>confdefs.h <<\_ACEOF
21389 #define wxUSE_XML 1
21390 _ACEOF
21391
21392
21393 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
21394 if test "${ac_cv_header_expat_h+set}" = set; then
21395 echo "$as_me:$LINENO: checking for expat.h" >&5
21396 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21397 if test "${ac_cv_header_expat_h+set}" = set; then
21398 echo $ECHO_N "(cached) $ECHO_C" >&6
21399 fi
21400 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21401 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21402 else
21403 # Is the header compilable?
21404 echo "$as_me:$LINENO: checking expat.h usability" >&5
21405 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
21406 cat >conftest.$ac_ext <<_ACEOF
21407 /* confdefs.h. */
21408 _ACEOF
21409 cat confdefs.h >>conftest.$ac_ext
21410 cat >>conftest.$ac_ext <<_ACEOF
21411 /* end confdefs.h. */
21412 $ac_includes_default
21413 #include <expat.h>
21414 _ACEOF
21415 rm -f conftest.$ac_objext
21416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21417 (eval $ac_compile) 2>conftest.er1
21418 ac_status=$?
21419 grep -v '^ *+' conftest.er1 >conftest.err
21420 rm -f conftest.er1
21421 cat conftest.err >&5
21422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21423 (exit $ac_status); } &&
21424 { ac_try='test -z "$ac_c_werror_flag"
21425 || test ! -s conftest.err'
21426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21427 (eval $ac_try) 2>&5
21428 ac_status=$?
21429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21430 (exit $ac_status); }; } &&
21431 { ac_try='test -s conftest.$ac_objext'
21432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21433 (eval $ac_try) 2>&5
21434 ac_status=$?
21435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21436 (exit $ac_status); }; }; then
21437 ac_header_compiler=yes
21438 else
21439 echo "$as_me: failed program was:" >&5
21440 sed 's/^/| /' conftest.$ac_ext >&5
21441
21442 ac_header_compiler=no
21443 fi
21444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21445 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21446 echo "${ECHO_T}$ac_header_compiler" >&6
21447
21448 # Is the header present?
21449 echo "$as_me:$LINENO: checking expat.h presence" >&5
21450 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21451 cat >conftest.$ac_ext <<_ACEOF
21452 /* confdefs.h. */
21453 _ACEOF
21454 cat confdefs.h >>conftest.$ac_ext
21455 cat >>conftest.$ac_ext <<_ACEOF
21456 /* end confdefs.h. */
21457 #include <expat.h>
21458 _ACEOF
21459 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21460 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21461 ac_status=$?
21462 grep -v '^ *+' conftest.er1 >conftest.err
21463 rm -f conftest.er1
21464 cat conftest.err >&5
21465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21466 (exit $ac_status); } >/dev/null; then
21467 if test -s conftest.err; then
21468 ac_cpp_err=$ac_c_preproc_warn_flag
21469 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21470 else
21471 ac_cpp_err=
21472 fi
21473 else
21474 ac_cpp_err=yes
21475 fi
21476 if test -z "$ac_cpp_err"; then
21477 ac_header_preproc=yes
21478 else
21479 echo "$as_me: failed program was:" >&5
21480 sed 's/^/| /' conftest.$ac_ext >&5
21481
21482 ac_header_preproc=no
21483 fi
21484 rm -f conftest.err conftest.$ac_ext
21485 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21486 echo "${ECHO_T}$ac_header_preproc" >&6
21487
21488 # So? What about this header?
21489 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21490 yes:no: )
21491 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21492 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21493 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21494 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21495 ac_header_preproc=yes
21496 ;;
21497 no:yes:* )
21498 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21499 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21500 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21501 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21502 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21503 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21504 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21505 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21506 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21507 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21508 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21509 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21510 (
21511 cat <<\_ASBOX
21512 ## ----------------------------------------- ##
21513 ## Report this to wx-dev@lists.wxwidgets.org ##
21514 ## ----------------------------------------- ##
21515 _ASBOX
21516 ) |
21517 sed "s/^/$as_me: WARNING: /" >&2
21518 ;;
21519 esac
21520 echo "$as_me:$LINENO: checking for expat.h" >&5
21521 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21522 if test "${ac_cv_header_expat_h+set}" = set; then
21523 echo $ECHO_N "(cached) $ECHO_C" >&6
21524 else
21525 ac_cv_header_expat_h=$ac_header_preproc
21526 fi
21527 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21528 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21529
21530 fi
21531 if test $ac_cv_header_expat_h = yes; then
21532 found_expat_h=1
21533 fi
21534
21535
21536 if test "x$found_expat_h" = "x1"; then
21537 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21538 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21539 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21540 echo $ECHO_N "(cached) $ECHO_C" >&6
21541 else
21542
21543
21544
21545 ac_ext=cc
21546 ac_cpp='$CXXCPP $CPPFLAGS'
21547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21550
21551 cat >conftest.$ac_ext <<_ACEOF
21552 /* confdefs.h. */
21553 _ACEOF
21554 cat confdefs.h >>conftest.$ac_ext
21555 cat >>conftest.$ac_ext <<_ACEOF
21556 /* end confdefs.h. */
21557 #include <expat.h>
21558 int
21559 main ()
21560 {
21561
21562 ;
21563 return 0;
21564 }
21565 _ACEOF
21566 rm -f conftest.$ac_objext
21567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21568 (eval $ac_compile) 2>conftest.er1
21569 ac_status=$?
21570 grep -v '^ *+' conftest.er1 >conftest.err
21571 rm -f conftest.er1
21572 cat conftest.err >&5
21573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574 (exit $ac_status); } &&
21575 { ac_try='test -z "$ac_cxx_werror_flag"
21576 || test ! -s conftest.err'
21577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21578 (eval $ac_try) 2>&5
21579 ac_status=$?
21580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21581 (exit $ac_status); }; } &&
21582 { ac_try='test -s conftest.$ac_objext'
21583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21584 (eval $ac_try) 2>&5
21585 ac_status=$?
21586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21587 (exit $ac_status); }; }; then
21588 wx_cv_expat_is_not_broken=yes
21589 else
21590 echo "$as_me: failed program was:" >&5
21591 sed 's/^/| /' conftest.$ac_ext >&5
21592
21593 wx_cv_expat_is_not_broken=no
21594
21595 fi
21596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21597 ac_ext=c
21598 ac_cpp='$CPP $CPPFLAGS'
21599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21602
21603
21604
21605 fi
21606 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21607 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21608 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21609 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21610 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21611 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21612 echo $ECHO_N "(cached) $ECHO_C" >&6
21613 else
21614 ac_check_lib_save_LIBS=$LIBS
21615 LIBS="-lexpat $LIBS"
21616 cat >conftest.$ac_ext <<_ACEOF
21617 /* confdefs.h. */
21618 _ACEOF
21619 cat confdefs.h >>conftest.$ac_ext
21620 cat >>conftest.$ac_ext <<_ACEOF
21621 /* end confdefs.h. */
21622
21623 /* Override any gcc2 internal prototype to avoid an error. */
21624 #ifdef __cplusplus
21625 extern "C"
21626 #endif
21627 /* We use char because int might match the return type of a gcc2
21628 builtin and then its argument prototype would still apply. */
21629 char XML_ParserCreate ();
21630 int
21631 main ()
21632 {
21633 XML_ParserCreate ();
21634 ;
21635 return 0;
21636 }
21637 _ACEOF
21638 rm -f conftest.$ac_objext conftest$ac_exeext
21639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21640 (eval $ac_link) 2>conftest.er1
21641 ac_status=$?
21642 grep -v '^ *+' conftest.er1 >conftest.err
21643 rm -f conftest.er1
21644 cat conftest.err >&5
21645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21646 (exit $ac_status); } &&
21647 { ac_try='test -z "$ac_c_werror_flag"
21648 || test ! -s conftest.err'
21649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21650 (eval $ac_try) 2>&5
21651 ac_status=$?
21652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21653 (exit $ac_status); }; } &&
21654 { ac_try='test -s conftest$ac_exeext'
21655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21656 (eval $ac_try) 2>&5
21657 ac_status=$?
21658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659 (exit $ac_status); }; }; then
21660 ac_cv_lib_expat_XML_ParserCreate=yes
21661 else
21662 echo "$as_me: failed program was:" >&5
21663 sed 's/^/| /' conftest.$ac_ext >&5
21664
21665 ac_cv_lib_expat_XML_ParserCreate=no
21666 fi
21667 rm -f conftest.err conftest.$ac_objext \
21668 conftest$ac_exeext conftest.$ac_ext
21669 LIBS=$ac_check_lib_save_LIBS
21670 fi
21671 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21672 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21673 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21674 EXPAT_LINK=" -lexpat"
21675 fi
21676
21677 fi
21678 fi
21679 if test "x$EXPAT_LINK" = "x" ; then
21680 if test "$wxUSE_EXPAT" = "sys" ; then
21681 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21682 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21683 { (exit 1); exit 1; }; }
21684 else
21685 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21686 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21687 wxUSE_EXPAT=builtin
21688 fi
21689 else
21690 wxUSE_EXPAT=sys
21691 fi
21692 fi
21693 if test "$wxUSE_EXPAT" = "builtin" ; then
21694
21695
21696 subdirs="$subdirs src/expat"
21697
21698 fi
21699 fi
21700
21701
21702
21703 if test "$wxUSE_LIBMSPACK" != "no"; then
21704
21705 if test "${ac_cv_header_mspack_h+set}" = set; then
21706 echo "$as_me:$LINENO: checking for mspack.h" >&5
21707 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21708 if test "${ac_cv_header_mspack_h+set}" = set; then
21709 echo $ECHO_N "(cached) $ECHO_C" >&6
21710 fi
21711 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21712 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21713 else
21714 # Is the header compilable?
21715 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21716 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21717 cat >conftest.$ac_ext <<_ACEOF
21718 /* confdefs.h. */
21719 _ACEOF
21720 cat confdefs.h >>conftest.$ac_ext
21721 cat >>conftest.$ac_ext <<_ACEOF
21722 /* end confdefs.h. */
21723 $ac_includes_default
21724 #include <mspack.h>
21725 _ACEOF
21726 rm -f conftest.$ac_objext
21727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21728 (eval $ac_compile) 2>conftest.er1
21729 ac_status=$?
21730 grep -v '^ *+' conftest.er1 >conftest.err
21731 rm -f conftest.er1
21732 cat conftest.err >&5
21733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21734 (exit $ac_status); } &&
21735 { ac_try='test -z "$ac_c_werror_flag"
21736 || test ! -s conftest.err'
21737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21738 (eval $ac_try) 2>&5
21739 ac_status=$?
21740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21741 (exit $ac_status); }; } &&
21742 { ac_try='test -s conftest.$ac_objext'
21743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21744 (eval $ac_try) 2>&5
21745 ac_status=$?
21746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21747 (exit $ac_status); }; }; then
21748 ac_header_compiler=yes
21749 else
21750 echo "$as_me: failed program was:" >&5
21751 sed 's/^/| /' conftest.$ac_ext >&5
21752
21753 ac_header_compiler=no
21754 fi
21755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21756 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21757 echo "${ECHO_T}$ac_header_compiler" >&6
21758
21759 # Is the header present?
21760 echo "$as_me:$LINENO: checking mspack.h presence" >&5
21761 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
21762 cat >conftest.$ac_ext <<_ACEOF
21763 /* confdefs.h. */
21764 _ACEOF
21765 cat confdefs.h >>conftest.$ac_ext
21766 cat >>conftest.$ac_ext <<_ACEOF
21767 /* end confdefs.h. */
21768 #include <mspack.h>
21769 _ACEOF
21770 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21771 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21772 ac_status=$?
21773 grep -v '^ *+' conftest.er1 >conftest.err
21774 rm -f conftest.er1
21775 cat conftest.err >&5
21776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21777 (exit $ac_status); } >/dev/null; then
21778 if test -s conftest.err; then
21779 ac_cpp_err=$ac_c_preproc_warn_flag
21780 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21781 else
21782 ac_cpp_err=
21783 fi
21784 else
21785 ac_cpp_err=yes
21786 fi
21787 if test -z "$ac_cpp_err"; then
21788 ac_header_preproc=yes
21789 else
21790 echo "$as_me: failed program was:" >&5
21791 sed 's/^/| /' conftest.$ac_ext >&5
21792
21793 ac_header_preproc=no
21794 fi
21795 rm -f conftest.err conftest.$ac_ext
21796 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21797 echo "${ECHO_T}$ac_header_preproc" >&6
21798
21799 # So? What about this header?
21800 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21801 yes:no: )
21802 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
21803 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21804 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
21805 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
21806 ac_header_preproc=yes
21807 ;;
21808 no:yes:* )
21809 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
21810 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
21811 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
21812 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
21813 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
21814 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
21815 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
21816 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
21817 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
21818 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
21819 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
21820 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
21821 (
21822 cat <<\_ASBOX
21823 ## ----------------------------------------- ##
21824 ## Report this to wx-dev@lists.wxwidgets.org ##
21825 ## ----------------------------------------- ##
21826 _ASBOX
21827 ) |
21828 sed "s/^/$as_me: WARNING: /" >&2
21829 ;;
21830 esac
21831 echo "$as_me:$LINENO: checking for mspack.h" >&5
21832 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21833 if test "${ac_cv_header_mspack_h+set}" = set; then
21834 echo $ECHO_N "(cached) $ECHO_C" >&6
21835 else
21836 ac_cv_header_mspack_h=$ac_header_preproc
21837 fi
21838 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21839 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21840
21841 fi
21842 if test $ac_cv_header_mspack_h = yes; then
21843 found_mspack_h=1
21844 fi
21845
21846
21847 if test "x$found_mspack_h" = "x1"; then
21848 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
21849 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
21850 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
21851 echo $ECHO_N "(cached) $ECHO_C" >&6
21852 else
21853 ac_check_lib_save_LIBS=$LIBS
21854 LIBS="-lmspack $LIBS"
21855 cat >conftest.$ac_ext <<_ACEOF
21856 /* confdefs.h. */
21857 _ACEOF
21858 cat confdefs.h >>conftest.$ac_ext
21859 cat >>conftest.$ac_ext <<_ACEOF
21860 /* end confdefs.h. */
21861
21862 /* Override any gcc2 internal prototype to avoid an error. */
21863 #ifdef __cplusplus
21864 extern "C"
21865 #endif
21866 /* We use char because int might match the return type of a gcc2
21867 builtin and then its argument prototype would still apply. */
21868 char mspack_create_chm_decompressor ();
21869 int
21870 main ()
21871 {
21872 mspack_create_chm_decompressor ();
21873 ;
21874 return 0;
21875 }
21876 _ACEOF
21877 rm -f conftest.$ac_objext conftest$ac_exeext
21878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21879 (eval $ac_link) 2>conftest.er1
21880 ac_status=$?
21881 grep -v '^ *+' conftest.er1 >conftest.err
21882 rm -f conftest.er1
21883 cat conftest.err >&5
21884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21885 (exit $ac_status); } &&
21886 { ac_try='test -z "$ac_c_werror_flag"
21887 || test ! -s conftest.err'
21888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21889 (eval $ac_try) 2>&5
21890 ac_status=$?
21891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21892 (exit $ac_status); }; } &&
21893 { ac_try='test -s conftest$ac_exeext'
21894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21895 (eval $ac_try) 2>&5
21896 ac_status=$?
21897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21898 (exit $ac_status); }; }; then
21899 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
21900 else
21901 echo "$as_me: failed program was:" >&5
21902 sed 's/^/| /' conftest.$ac_ext >&5
21903
21904 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
21905 fi
21906 rm -f conftest.err conftest.$ac_objext \
21907 conftest$ac_exeext conftest.$ac_ext
21908 LIBS=$ac_check_lib_save_LIBS
21909 fi
21910 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
21911 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
21912 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
21913 MSPACK_LINK=" -lmspack"
21914 fi
21915
21916 fi
21917 if test "x$MSPACK_LINK" = "x" ; then
21918 wxUSE_LIBMSPACK=no
21919 else
21920 cat >>confdefs.h <<\_ACEOF
21921 #define wxUSE_LIBMSPACK 1
21922 _ACEOF
21923
21924 fi
21925 fi
21926
21927
21928
21929 AFMINSTALL=
21930 WIN32INSTALL=
21931
21932 TOOLKIT=
21933 TOOLKIT_INCLUDE=
21934 WIDGET_SET=
21935
21936 if test "$USE_WIN32" = 1 ; then
21937
21938 for ac_header in w32api.h
21939 do
21940 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21942 echo "$as_me:$LINENO: checking for $ac_header" >&5
21943 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21944 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21945 echo $ECHO_N "(cached) $ECHO_C" >&6
21946 fi
21947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21948 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21949 else
21950 # Is the header compilable?
21951 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21952 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21953 cat >conftest.$ac_ext <<_ACEOF
21954 /* confdefs.h. */
21955 _ACEOF
21956 cat confdefs.h >>conftest.$ac_ext
21957 cat >>conftest.$ac_ext <<_ACEOF
21958 /* end confdefs.h. */
21959 $ac_includes_default
21960 #include <$ac_header>
21961 _ACEOF
21962 rm -f conftest.$ac_objext
21963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21964 (eval $ac_compile) 2>conftest.er1
21965 ac_status=$?
21966 grep -v '^ *+' conftest.er1 >conftest.err
21967 rm -f conftest.er1
21968 cat conftest.err >&5
21969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21970 (exit $ac_status); } &&
21971 { ac_try='test -z "$ac_c_werror_flag"
21972 || test ! -s conftest.err'
21973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21974 (eval $ac_try) 2>&5
21975 ac_status=$?
21976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21977 (exit $ac_status); }; } &&
21978 { ac_try='test -s conftest.$ac_objext'
21979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21980 (eval $ac_try) 2>&5
21981 ac_status=$?
21982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21983 (exit $ac_status); }; }; then
21984 ac_header_compiler=yes
21985 else
21986 echo "$as_me: failed program was:" >&5
21987 sed 's/^/| /' conftest.$ac_ext >&5
21988
21989 ac_header_compiler=no
21990 fi
21991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21992 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21993 echo "${ECHO_T}$ac_header_compiler" >&6
21994
21995 # Is the header present?
21996 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21997 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21998 cat >conftest.$ac_ext <<_ACEOF
21999 /* confdefs.h. */
22000 _ACEOF
22001 cat confdefs.h >>conftest.$ac_ext
22002 cat >>conftest.$ac_ext <<_ACEOF
22003 /* end confdefs.h. */
22004 #include <$ac_header>
22005 _ACEOF
22006 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22007 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22008 ac_status=$?
22009 grep -v '^ *+' conftest.er1 >conftest.err
22010 rm -f conftest.er1
22011 cat conftest.err >&5
22012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22013 (exit $ac_status); } >/dev/null; then
22014 if test -s conftest.err; then
22015 ac_cpp_err=$ac_c_preproc_warn_flag
22016 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22017 else
22018 ac_cpp_err=
22019 fi
22020 else
22021 ac_cpp_err=yes
22022 fi
22023 if test -z "$ac_cpp_err"; then
22024 ac_header_preproc=yes
22025 else
22026 echo "$as_me: failed program was:" >&5
22027 sed 's/^/| /' conftest.$ac_ext >&5
22028
22029 ac_header_preproc=no
22030 fi
22031 rm -f conftest.err conftest.$ac_ext
22032 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22033 echo "${ECHO_T}$ac_header_preproc" >&6
22034
22035 # So? What about this header?
22036 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22037 yes:no: )
22038 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22039 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22040 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22041 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22042 ac_header_preproc=yes
22043 ;;
22044 no:yes:* )
22045 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22046 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22047 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22048 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22049 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22050 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22051 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22052 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22053 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22054 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22055 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22056 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22057 (
22058 cat <<\_ASBOX
22059 ## ----------------------------------------- ##
22060 ## Report this to wx-dev@lists.wxwidgets.org ##
22061 ## ----------------------------------------- ##
22062 _ASBOX
22063 ) |
22064 sed "s/^/$as_me: WARNING: /" >&2
22065 ;;
22066 esac
22067 echo "$as_me:$LINENO: checking for $ac_header" >&5
22068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22070 echo $ECHO_N "(cached) $ECHO_C" >&6
22071 else
22072 eval "$as_ac_Header=\$ac_header_preproc"
22073 fi
22074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22075 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22076
22077 fi
22078 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22079 cat >>confdefs.h <<_ACEOF
22080 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22081 _ACEOF
22082
22083 fi
22084
22085 done
22086
22087 if test "${ac_cv_header_windows_h+set}" = set; then
22088 echo "$as_me:$LINENO: checking for windows.h" >&5
22089 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22090 if test "${ac_cv_header_windows_h+set}" = set; then
22091 echo $ECHO_N "(cached) $ECHO_C" >&6
22092 fi
22093 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22094 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22095 else
22096 # Is the header compilable?
22097 echo "$as_me:$LINENO: checking windows.h usability" >&5
22098 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22099 cat >conftest.$ac_ext <<_ACEOF
22100 /* confdefs.h. */
22101 _ACEOF
22102 cat confdefs.h >>conftest.$ac_ext
22103 cat >>conftest.$ac_ext <<_ACEOF
22104 /* end confdefs.h. */
22105 $ac_includes_default
22106 #include <windows.h>
22107 _ACEOF
22108 rm -f conftest.$ac_objext
22109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22110 (eval $ac_compile) 2>conftest.er1
22111 ac_status=$?
22112 grep -v '^ *+' conftest.er1 >conftest.err
22113 rm -f conftest.er1
22114 cat conftest.err >&5
22115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22116 (exit $ac_status); } &&
22117 { ac_try='test -z "$ac_c_werror_flag"
22118 || test ! -s conftest.err'
22119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22120 (eval $ac_try) 2>&5
22121 ac_status=$?
22122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22123 (exit $ac_status); }; } &&
22124 { ac_try='test -s conftest.$ac_objext'
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_header_compiler=yes
22131 else
22132 echo "$as_me: failed program was:" >&5
22133 sed 's/^/| /' conftest.$ac_ext >&5
22134
22135 ac_header_compiler=no
22136 fi
22137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22138 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22139 echo "${ECHO_T}$ac_header_compiler" >&6
22140
22141 # Is the header present?
22142 echo "$as_me:$LINENO: checking windows.h presence" >&5
22143 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22144 cat >conftest.$ac_ext <<_ACEOF
22145 /* confdefs.h. */
22146 _ACEOF
22147 cat confdefs.h >>conftest.$ac_ext
22148 cat >>conftest.$ac_ext <<_ACEOF
22149 /* end confdefs.h. */
22150 #include <windows.h>
22151 _ACEOF
22152 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22153 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22154 ac_status=$?
22155 grep -v '^ *+' conftest.er1 >conftest.err
22156 rm -f conftest.er1
22157 cat conftest.err >&5
22158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22159 (exit $ac_status); } >/dev/null; then
22160 if test -s conftest.err; then
22161 ac_cpp_err=$ac_c_preproc_warn_flag
22162 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22163 else
22164 ac_cpp_err=
22165 fi
22166 else
22167 ac_cpp_err=yes
22168 fi
22169 if test -z "$ac_cpp_err"; then
22170 ac_header_preproc=yes
22171 else
22172 echo "$as_me: failed program was:" >&5
22173 sed 's/^/| /' conftest.$ac_ext >&5
22174
22175 ac_header_preproc=no
22176 fi
22177 rm -f conftest.err conftest.$ac_ext
22178 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22179 echo "${ECHO_T}$ac_header_preproc" >&6
22180
22181 # So? What about this header?
22182 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22183 yes:no: )
22184 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22185 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22186 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22187 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22188 ac_header_preproc=yes
22189 ;;
22190 no:yes:* )
22191 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22192 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22193 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22194 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22195 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22196 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22197 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22198 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22199 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22200 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22201 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22202 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22203 (
22204 cat <<\_ASBOX
22205 ## ----------------------------------------- ##
22206 ## Report this to wx-dev@lists.wxwidgets.org ##
22207 ## ----------------------------------------- ##
22208 _ASBOX
22209 ) |
22210 sed "s/^/$as_me: WARNING: /" >&2
22211 ;;
22212 esac
22213 echo "$as_me:$LINENO: checking for windows.h" >&5
22214 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22215 if test "${ac_cv_header_windows_h+set}" = set; then
22216 echo $ECHO_N "(cached) $ECHO_C" >&6
22217 else
22218 ac_cv_header_windows_h=$ac_header_preproc
22219 fi
22220 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22221 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22222
22223 fi
22224 if test $ac_cv_header_windows_h = yes; then
22225 :
22226 else
22227
22228 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22229 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22230 { (exit 1); exit 1; }; }
22231
22232 fi
22233
22234
22235
22236 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22237
22238 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22239 LIBS="$LIBS -loleacc"
22240 fi
22241
22242 case "${host}" in
22243 *-*-cygwin* )
22244 LIBS="$LIBS -lkernel32 -luser32"
22245 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
22246 esac
22247
22248 if test "$wxUSE_ODBC" = "sys" ; then
22249 wxUSE_ODBC = "yes"
22250 fi
22251 if test "$wxUSE_ODBC" = "yes" ; then
22252 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
22253 cat >>confdefs.h <<\_ACEOF
22254 #define wxUSE_ODBC 1
22255 _ACEOF
22256
22257 fi
22258
22259 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22260 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
22261
22262 WIN32INSTALL=win32install
22263 fi
22264
22265 if test "$wxUSE_GUI" = "yes"; then
22266 USE_GUI=1
22267
22268 GUI_TK_LIBRARY=
22269
22270 WXGTK12=
22271 WXGTK127=
22272 WXGTK20=
22273 WXGPE=
22274
22275 if test "$wxUSE_MSW" = 1 ; then
22276 TOOLKIT=MSW
22277 GUIDIST=MSW_DIST
22278
22279 case "${host}" in
22280 *-*-mingw32* )
22281 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22282 esac
22283 fi
22284
22285 if test "$wxUSE_GTK" = 1; then
22286 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22287 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22288
22289 gtk_version_cached=1
22290 if test "${wx_cv_lib_gtk+set}" = set; then
22291 echo $ECHO_N "(cached) $ECHO_C" >&6
22292 else
22293
22294 gtk_version_cached=0
22295 echo "$as_me:$LINENO: result: " >&5
22296 echo "${ECHO_T}" >&6
22297
22298 GTK_MODULES=
22299 if test "$wxUSE_THREADS" = "yes"; then
22300 GTK_MODULES=gthread
22301 fi
22302
22303 wx_cv_lib_gtk=
22304 if test "x$wxUSE_GTK2" = "xyes"; then
22305 # Check whether --enable-gtktest or --disable-gtktest was given.
22306 if test "${enable_gtktest+set}" = set; then
22307 enableval="$enable_gtktest"
22308
22309 else
22310 enable_gtktest=yes
22311 fi;
22312
22313 pkg_config_args=gtk+-2.0
22314 for module in . $GTK_MODULES
22315 do
22316 case "$module" in
22317 gthread)
22318 pkg_config_args="$pkg_config_args gthread-2.0"
22319 ;;
22320 esac
22321 done
22322
22323 no_gtk=""
22324
22325 # Extract the first word of "pkg-config", so it can be a program name with args.
22326 set dummy pkg-config; ac_word=$2
22327 echo "$as_me:$LINENO: checking for $ac_word" >&5
22328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22329 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22330 echo $ECHO_N "(cached) $ECHO_C" >&6
22331 else
22332 case $PKG_CONFIG in
22333 [\\/]* | ?:[\\/]*)
22334 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22335 ;;
22336 *)
22337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22338 for as_dir in $PATH
22339 do
22340 IFS=$as_save_IFS
22341 test -z "$as_dir" && as_dir=.
22342 for ac_exec_ext in '' $ac_executable_extensions; do
22343 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22344 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22346 break 2
22347 fi
22348 done
22349 done
22350
22351 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22352 ;;
22353 esac
22354 fi
22355 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22356
22357 if test -n "$PKG_CONFIG"; then
22358 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22359 echo "${ECHO_T}$PKG_CONFIG" >&6
22360 else
22361 echo "$as_me:$LINENO: result: no" >&5
22362 echo "${ECHO_T}no" >&6
22363 fi
22364
22365
22366 if test x$PKG_CONFIG != xno ; then
22367 if pkg-config --atleast-pkgconfig-version 0.7 ; then
22368 :
22369 else
22370 echo "*** pkg-config too old; version 0.7 or better required."
22371 no_gtk=yes
22372 PKG_CONFIG=no
22373 fi
22374 else
22375 no_gtk=yes
22376 fi
22377
22378 min_gtk_version=2.0.0
22379 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
22380 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
22381
22382 if test x$PKG_CONFIG != xno ; then
22383 ## don't try to run the test against uninstalled libtool libs
22384 if $PKG_CONFIG --uninstalled $pkg_config_args; then
22385 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
22386 enable_gtktest=no
22387 fi
22388
22389 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
22390 :
22391 else
22392 no_gtk=yes
22393 fi
22394 fi
22395
22396 if test x"$no_gtk" = x ; then
22397 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
22398 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
22399 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22400 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22401 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22402 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22403 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22404 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22405 if test "x$enable_gtktest" = "xyes" ; then
22406 ac_save_CFLAGS="$CFLAGS"
22407 ac_save_LIBS="$LIBS"
22408 CFLAGS="$CFLAGS $GTK_CFLAGS"
22409 LIBS="$GTK_LIBS $LIBS"
22410 rm -f conf.gtktest
22411 if test "$cross_compiling" = yes; then
22412 echo $ac_n "cross compiling; assumed OK... $ac_c"
22413 else
22414 cat >conftest.$ac_ext <<_ACEOF
22415 /* confdefs.h. */
22416 _ACEOF
22417 cat confdefs.h >>conftest.$ac_ext
22418 cat >>conftest.$ac_ext <<_ACEOF
22419 /* end confdefs.h. */
22420
22421 #include <gtk/gtk.h>
22422 #include <stdio.h>
22423 #include <stdlib.h>
22424
22425 int
22426 main ()
22427 {
22428 int major, minor, micro;
22429 char *tmp_version;
22430
22431 system ("touch conf.gtktest");
22432
22433 /* HP/UX 9 (%@#!) writes to sscanf strings */
22434 tmp_version = g_strdup("$min_gtk_version");
22435 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
22436 printf("%s, bad version string\n", "$min_gtk_version");
22437 exit(1);
22438 }
22439
22440 if ((gtk_major_version != $gtk_config_major_version) ||
22441 (gtk_minor_version != $gtk_config_minor_version) ||
22442 (gtk_micro_version != $gtk_config_micro_version))
22443 {
22444 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22445 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22446 gtk_major_version, gtk_minor_version, gtk_micro_version);
22447 printf ("*** was found! If pkg-config was correct, then it is best\n");
22448 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22449 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22450 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22451 printf("*** required on your system.\n");
22452 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22453 printf("*** to point to the correct configuration files\n");
22454 }
22455 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22456 (gtk_minor_version != GTK_MINOR_VERSION) ||
22457 (gtk_micro_version != GTK_MICRO_VERSION))
22458 {
22459 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22460 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22461 printf("*** library (version %d.%d.%d)\n",
22462 gtk_major_version, gtk_minor_version, gtk_micro_version);
22463 }
22464 else
22465 {
22466 if ((gtk_major_version > major) ||
22467 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22468 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22469 {
22470 return 0;
22471 }
22472 else
22473 {
22474 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22475 gtk_major_version, gtk_minor_version, gtk_micro_version);
22476 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22477 major, minor, micro);
22478 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22479 printf("***\n");
22480 printf("*** If you have already installed a sufficiently new version, this error\n");
22481 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22482 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22483 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22484 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22485 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22486 printf("*** so that the correct libraries are found at run-time))\n");
22487 }
22488 }
22489 return 1;
22490 }
22491
22492 _ACEOF
22493 rm -f conftest$ac_exeext
22494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22495 (eval $ac_link) 2>&5
22496 ac_status=$?
22497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22498 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22500 (eval $ac_try) 2>&5
22501 ac_status=$?
22502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22503 (exit $ac_status); }; }; then
22504 :
22505 else
22506 echo "$as_me: program exited with status $ac_status" >&5
22507 echo "$as_me: failed program was:" >&5
22508 sed 's/^/| /' conftest.$ac_ext >&5
22509
22510 ( exit $ac_status )
22511 no_gtk=yes
22512 fi
22513 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22514 fi
22515 CFLAGS="$ac_save_CFLAGS"
22516 LIBS="$ac_save_LIBS"
22517 fi
22518 fi
22519 if test "x$no_gtk" = x ; then
22520 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22521 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22522 wx_cv_lib_gtk=2.0
22523 else
22524 echo "$as_me:$LINENO: result: no" >&5
22525 echo "${ECHO_T}no" >&6
22526 if test "$PKG_CONFIG" = "no" ; then
22527 echo "*** A new enough version of pkg-config was not found."
22528 echo "*** See http://pkgconfig.sourceforge.net"
22529 else
22530 if test -f conf.gtktest ; then
22531 :
22532 else
22533 echo "*** Could not run GTK+ test program, checking why..."
22534 ac_save_CFLAGS="$CFLAGS"
22535 ac_save_LIBS="$LIBS"
22536 CFLAGS="$CFLAGS $GTK_CFLAGS"
22537 LIBS="$LIBS $GTK_LIBS"
22538 cat >conftest.$ac_ext <<_ACEOF
22539 /* confdefs.h. */
22540 _ACEOF
22541 cat confdefs.h >>conftest.$ac_ext
22542 cat >>conftest.$ac_ext <<_ACEOF
22543 /* end confdefs.h. */
22544
22545 #include <gtk/gtk.h>
22546 #include <stdio.h>
22547
22548 int
22549 main ()
22550 {
22551 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22552 ;
22553 return 0;
22554 }
22555 _ACEOF
22556 rm -f conftest.$ac_objext conftest$ac_exeext
22557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22558 (eval $ac_link) 2>conftest.er1
22559 ac_status=$?
22560 grep -v '^ *+' conftest.er1 >conftest.err
22561 rm -f conftest.er1
22562 cat conftest.err >&5
22563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22564 (exit $ac_status); } &&
22565 { ac_try='test -z "$ac_c_werror_flag"
22566 || test ! -s conftest.err'
22567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22568 (eval $ac_try) 2>&5
22569 ac_status=$?
22570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22571 (exit $ac_status); }; } &&
22572 { ac_try='test -s conftest$ac_exeext'
22573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22574 (eval $ac_try) 2>&5
22575 ac_status=$?
22576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577 (exit $ac_status); }; }; then
22578 echo "*** The test program compiled, but did not run. This usually means"
22579 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22580 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22581 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22582 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22583 echo "*** is required on your system"
22584 echo "***"
22585 echo "*** If you have an old version installed, it is best to remove it, although"
22586 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22587 else
22588 echo "$as_me: failed program was:" >&5
22589 sed 's/^/| /' conftest.$ac_ext >&5
22590
22591 echo "*** The test program failed to compile or link. See the file config.log for the"
22592 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22593 fi
22594 rm -f conftest.err conftest.$ac_objext \
22595 conftest$ac_exeext conftest.$ac_ext
22596 CFLAGS="$ac_save_CFLAGS"
22597 LIBS="$ac_save_LIBS"
22598 fi
22599 fi
22600 GTK_CFLAGS=""
22601 GTK_LIBS=""
22602 :
22603 fi
22604
22605
22606 rm -f conf.gtktest
22607
22608 else
22609
22610 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22611 if test "${with_gtk_prefix+set}" = set; then
22612 withval="$with_gtk_prefix"
22613 gtk_config_prefix="$withval"
22614 else
22615 gtk_config_prefix=""
22616 fi;
22617
22618 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22619 if test "${with_gtk_exec_prefix+set}" = set; then
22620 withval="$with_gtk_exec_prefix"
22621 gtk_config_exec_prefix="$withval"
22622 else
22623 gtk_config_exec_prefix=""
22624 fi;
22625 # Check whether --enable-gtktest or --disable-gtktest was given.
22626 if test "${enable_gtktest+set}" = set; then
22627 enableval="$enable_gtktest"
22628
22629 else
22630 enable_gtktest=yes
22631 fi;
22632
22633 for module in . $GTK_MODULES
22634 do
22635 case "$module" in
22636 gthread)
22637 gtk_config_args="$gtk_config_args gthread"
22638 ;;
22639 esac
22640 done
22641
22642 if test x$gtk_config_exec_prefix != x ; then
22643 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22644 if test x${GTK_CONFIG+set} != xset ; then
22645 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
22646 fi
22647 fi
22648 if test x$gtk_config_prefix != x ; then
22649 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
22650 if test x${GTK_CONFIG+set} != xset ; then
22651 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
22652 fi
22653 fi
22654
22655 # Extract the first word of "gtk-config", so it can be a program name with args.
22656 set dummy gtk-config; ac_word=$2
22657 echo "$as_me:$LINENO: checking for $ac_word" >&5
22658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22659 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22660 echo $ECHO_N "(cached) $ECHO_C" >&6
22661 else
22662 case $GTK_CONFIG in
22663 [\\/]* | ?:[\\/]*)
22664 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
22665 ;;
22666 *)
22667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22668 for as_dir in $PATH
22669 do
22670 IFS=$as_save_IFS
22671 test -z "$as_dir" && as_dir=.
22672 for ac_exec_ext in '' $ac_executable_extensions; do
22673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22674 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22676 break 2
22677 fi
22678 done
22679 done
22680
22681 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
22682 ;;
22683 esac
22684 fi
22685 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
22686
22687 if test -n "$GTK_CONFIG"; then
22688 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22689 echo "${ECHO_T}$GTK_CONFIG" >&6
22690 else
22691 echo "$as_me:$LINENO: result: no" >&5
22692 echo "${ECHO_T}no" >&6
22693 fi
22694
22695 min_gtk_version=1.2.7
22696 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22697 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22698 no_gtk=""
22699 if test "$GTK_CONFIG" = "no" ; then
22700 no_gtk=yes
22701 else
22702 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
22703 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
22704 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
22705 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22706 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
22707 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22708 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
22709 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22710 if test "x$enable_gtktest" = "xyes" ; then
22711 ac_save_CFLAGS="$CFLAGS"
22712 ac_save_LIBS="$LIBS"
22713 CFLAGS="$CFLAGS $GTK_CFLAGS"
22714 LIBS="$GTK_LIBS $LIBS"
22715 rm -f conf.gtktest
22716 if test "$cross_compiling" = yes; then
22717 echo $ac_n "cross compiling; assumed OK... $ac_c"
22718 else
22719 cat >conftest.$ac_ext <<_ACEOF
22720 /* confdefs.h. */
22721 _ACEOF
22722 cat confdefs.h >>conftest.$ac_ext
22723 cat >>conftest.$ac_ext <<_ACEOF
22724 /* end confdefs.h. */
22725
22726 #include <gtk/gtk.h>
22727 #include <stdio.h>
22728 #include <stdlib.h>
22729
22730 int
22731 main ()
22732 {
22733 int major, minor, micro;
22734 char *tmp_version;
22735
22736 system ("touch conf.gtktest");
22737
22738 /* HP/UX 9 (%@#!) writes to sscanf strings */
22739 tmp_version = g_strdup("$min_gtk_version");
22740 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
22741 printf("%s, bad version string\n", "$min_gtk_version");
22742 exit(1);
22743 }
22744
22745 if ((gtk_major_version != $gtk_config_major_version) ||
22746 (gtk_minor_version != $gtk_config_minor_version) ||
22747 (gtk_micro_version != $gtk_config_micro_version))
22748 {
22749 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22750 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22751 gtk_major_version, gtk_minor_version, gtk_micro_version);
22752 printf ("*** was found! If gtk-config was correct, then it is best\n");
22753 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22754 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22755 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22756 printf("*** required on your system.\n");
22757 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22758 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22759 printf("*** before re-running configure\n");
22760 }
22761 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22762 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22763 (gtk_minor_version != GTK_MINOR_VERSION) ||
22764 (gtk_micro_version != GTK_MICRO_VERSION))
22765 {
22766 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22767 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22768 printf("*** library (version %d.%d.%d)\n",
22769 gtk_major_version, gtk_minor_version, gtk_micro_version);
22770 }
22771 #endif /* defined (GTK_MAJOR_VERSION) ... */
22772 else
22773 {
22774 if ((gtk_major_version > major) ||
22775 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22776 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22777 {
22778 return 0;
22779 }
22780 else
22781 {
22782 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22783 gtk_major_version, gtk_minor_version, gtk_micro_version);
22784 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22785 major, minor, micro);
22786 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22787 printf("***\n");
22788 printf("*** If you have already installed a sufficiently new version, this error\n");
22789 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22790 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22791 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22792 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22793 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22794 printf("*** so that the correct libraries are found at run-time))\n");
22795 }
22796 }
22797 return 1;
22798 }
22799
22800 _ACEOF
22801 rm -f conftest$ac_exeext
22802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22803 (eval $ac_link) 2>&5
22804 ac_status=$?
22805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22806 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22808 (eval $ac_try) 2>&5
22809 ac_status=$?
22810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22811 (exit $ac_status); }; }; then
22812 :
22813 else
22814 echo "$as_me: program exited with status $ac_status" >&5
22815 echo "$as_me: failed program was:" >&5
22816 sed 's/^/| /' conftest.$ac_ext >&5
22817
22818 ( exit $ac_status )
22819 no_gtk=yes
22820 fi
22821 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22822 fi
22823 CFLAGS="$ac_save_CFLAGS"
22824 LIBS="$ac_save_LIBS"
22825 fi
22826 fi
22827 if test "x$no_gtk" = x ; then
22828 echo "$as_me:$LINENO: result: yes" >&5
22829 echo "${ECHO_T}yes" >&6
22830 wx_cv_lib_gtk=1.2.7
22831 else
22832 echo "$as_me:$LINENO: result: no" >&5
22833 echo "${ECHO_T}no" >&6
22834 if test "$GTK_CONFIG" = "no" ; then
22835 echo "*** The gtk-config script installed by GTK could not be found"
22836 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22837 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22838 echo "*** full path to gtk-config."
22839 else
22840 if test -f conf.gtktest ; then
22841 :
22842 else
22843 echo "*** Could not run GTK test program, checking why..."
22844 CFLAGS="$CFLAGS $GTK_CFLAGS"
22845 LIBS="$LIBS $GTK_LIBS"
22846 cat >conftest.$ac_ext <<_ACEOF
22847 /* confdefs.h. */
22848 _ACEOF
22849 cat confdefs.h >>conftest.$ac_ext
22850 cat >>conftest.$ac_ext <<_ACEOF
22851 /* end confdefs.h. */
22852
22853 #include <gtk/gtk.h>
22854 #include <stdio.h>
22855
22856 int
22857 main ()
22858 {
22859 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22860 ;
22861 return 0;
22862 }
22863 _ACEOF
22864 rm -f conftest.$ac_objext conftest$ac_exeext
22865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22866 (eval $ac_link) 2>conftest.er1
22867 ac_status=$?
22868 grep -v '^ *+' conftest.er1 >conftest.err
22869 rm -f conftest.er1
22870 cat conftest.err >&5
22871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22872 (exit $ac_status); } &&
22873 { ac_try='test -z "$ac_c_werror_flag"
22874 || test ! -s conftest.err'
22875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22876 (eval $ac_try) 2>&5
22877 ac_status=$?
22878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22879 (exit $ac_status); }; } &&
22880 { ac_try='test -s conftest$ac_exeext'
22881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22882 (eval $ac_try) 2>&5
22883 ac_status=$?
22884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22885 (exit $ac_status); }; }; then
22886 echo "*** The test program compiled, but did not run. This usually means"
22887 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22888 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22889 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22890 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22891 echo "*** is required on your system"
22892 echo "***"
22893 echo "*** If you have an old version installed, it is best to remove it, although"
22894 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22895 echo "***"
22896 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22897 echo "*** came with the system with the command"
22898 echo "***"
22899 echo "*** rpm --erase --nodeps gtk gtk-devel"
22900 else
22901 echo "$as_me: failed program was:" >&5
22902 sed 's/^/| /' conftest.$ac_ext >&5
22903
22904 echo "*** The test program failed to compile or link. See the file config.log for the"
22905 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22906 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22907 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22908 fi
22909 rm -f conftest.err conftest.$ac_objext \
22910 conftest$ac_exeext conftest.$ac_ext
22911 CFLAGS="$ac_save_CFLAGS"
22912 LIBS="$ac_save_LIBS"
22913 fi
22914 fi
22915 GTK_CFLAGS=""
22916 GTK_LIBS=""
22917 :
22918 fi
22919
22920
22921 rm -f conf.gtktest
22922
22923
22924 if test -z "$wx_cv_lib_gtk"; then
22925
22926 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22927 if test "${with_gtk_prefix+set}" = set; then
22928 withval="$with_gtk_prefix"
22929 gtk_config_prefix="$withval"
22930 else
22931 gtk_config_prefix=""
22932 fi;
22933
22934 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22935 if test "${with_gtk_exec_prefix+set}" = set; then
22936 withval="$with_gtk_exec_prefix"
22937 gtk_config_exec_prefix="$withval"
22938 else
22939 gtk_config_exec_prefix=""
22940 fi;
22941 # Check whether --enable-gtktest or --disable-gtktest was given.
22942 if test "${enable_gtktest+set}" = set; then
22943 enableval="$enable_gtktest"
22944
22945 else
22946 enable_gtktest=yes
22947 fi;
22948
22949 for module in . $GTK_MODULES
22950 do
22951 case "$module" in
22952 gthread)
22953 gtk_config_args="$gtk_config_args gthread"
22954 ;;
22955 esac
22956 done
22957
22958 if test x$gtk_config_exec_prefix != x ; then
22959 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22960 if test x${GTK_CONFIG+set} != xset ; then
22961 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
22962 fi
22963 fi
22964 if test x$gtk_config_prefix != x ; then
22965 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
22966 if test x${GTK_CONFIG+set} != xset ; then
22967 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
22968 fi
22969 fi
22970
22971 # Extract the first word of "gtk-config", so it can be a program name with args.
22972 set dummy gtk-config; ac_word=$2
22973 echo "$as_me:$LINENO: checking for $ac_word" >&5
22974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22975 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22976 echo $ECHO_N "(cached) $ECHO_C" >&6
22977 else
22978 case $GTK_CONFIG in
22979 [\\/]* | ?:[\\/]*)
22980 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
22981 ;;
22982 *)
22983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22984 for as_dir in $PATH
22985 do
22986 IFS=$as_save_IFS
22987 test -z "$as_dir" && as_dir=.
22988 for ac_exec_ext in '' $ac_executable_extensions; do
22989 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22990 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22992 break 2
22993 fi
22994 done
22995 done
22996
22997 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
22998 ;;
22999 esac
23000 fi
23001 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23002
23003 if test -n "$GTK_CONFIG"; then
23004 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23005 echo "${ECHO_T}$GTK_CONFIG" >&6
23006 else
23007 echo "$as_me:$LINENO: result: no" >&5
23008 echo "${ECHO_T}no" >&6
23009 fi
23010
23011 min_gtk_version=1.2.3
23012 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23013 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23014 no_gtk=""
23015 if test "$GTK_CONFIG" = "no" ; then
23016 no_gtk=yes
23017 else
23018 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23019 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23020 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23021 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23022 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23023 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23024 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23025 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23026 if test "x$enable_gtktest" = "xyes" ; then
23027 ac_save_CFLAGS="$CFLAGS"
23028 ac_save_LIBS="$LIBS"
23029 CFLAGS="$CFLAGS $GTK_CFLAGS"
23030 LIBS="$GTK_LIBS $LIBS"
23031 rm -f conf.gtktest
23032 if test "$cross_compiling" = yes; then
23033 echo $ac_n "cross compiling; assumed OK... $ac_c"
23034 else
23035 cat >conftest.$ac_ext <<_ACEOF
23036 /* confdefs.h. */
23037 _ACEOF
23038 cat confdefs.h >>conftest.$ac_ext
23039 cat >>conftest.$ac_ext <<_ACEOF
23040 /* end confdefs.h. */
23041
23042 #include <gtk/gtk.h>
23043 #include <stdio.h>
23044 #include <stdlib.h>
23045
23046 int
23047 main ()
23048 {
23049 int major, minor, micro;
23050 char *tmp_version;
23051
23052 system ("touch conf.gtktest");
23053
23054 /* HP/UX 9 (%@#!) writes to sscanf strings */
23055 tmp_version = g_strdup("$min_gtk_version");
23056 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23057 printf("%s, bad version string\n", "$min_gtk_version");
23058 exit(1);
23059 }
23060
23061 if ((gtk_major_version != $gtk_config_major_version) ||
23062 (gtk_minor_version != $gtk_config_minor_version) ||
23063 (gtk_micro_version != $gtk_config_micro_version))
23064 {
23065 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23066 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23067 gtk_major_version, gtk_minor_version, gtk_micro_version);
23068 printf ("*** was found! If gtk-config was correct, then it is best\n");
23069 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23070 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23071 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23072 printf("*** required on your system.\n");
23073 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23074 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23075 printf("*** before re-running configure\n");
23076 }
23077 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23078 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23079 (gtk_minor_version != GTK_MINOR_VERSION) ||
23080 (gtk_micro_version != GTK_MICRO_VERSION))
23081 {
23082 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23083 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23084 printf("*** library (version %d.%d.%d)\n",
23085 gtk_major_version, gtk_minor_version, gtk_micro_version);
23086 }
23087 #endif /* defined (GTK_MAJOR_VERSION) ... */
23088 else
23089 {
23090 if ((gtk_major_version > major) ||
23091 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23092 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23093 {
23094 return 0;
23095 }
23096 else
23097 {
23098 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23099 gtk_major_version, gtk_minor_version, gtk_micro_version);
23100 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23101 major, minor, micro);
23102 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23103 printf("***\n");
23104 printf("*** If you have already installed a sufficiently new version, this error\n");
23105 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23106 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23107 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23108 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23109 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23110 printf("*** so that the correct libraries are found at run-time))\n");
23111 }
23112 }
23113 return 1;
23114 }
23115
23116 _ACEOF
23117 rm -f conftest$ac_exeext
23118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23119 (eval $ac_link) 2>&5
23120 ac_status=$?
23121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23122 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23124 (eval $ac_try) 2>&5
23125 ac_status=$?
23126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23127 (exit $ac_status); }; }; then
23128 :
23129 else
23130 echo "$as_me: program exited with status $ac_status" >&5
23131 echo "$as_me: failed program was:" >&5
23132 sed 's/^/| /' conftest.$ac_ext >&5
23133
23134 ( exit $ac_status )
23135 no_gtk=yes
23136 fi
23137 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23138 fi
23139 CFLAGS="$ac_save_CFLAGS"
23140 LIBS="$ac_save_LIBS"
23141 fi
23142 fi
23143 if test "x$no_gtk" = x ; then
23144 echo "$as_me:$LINENO: result: yes" >&5
23145 echo "${ECHO_T}yes" >&6
23146 wx_cv_lib_gtk=1.2.3
23147 else
23148 echo "$as_me:$LINENO: result: no" >&5
23149 echo "${ECHO_T}no" >&6
23150 if test "$GTK_CONFIG" = "no" ; then
23151 echo "*** The gtk-config script installed by GTK could not be found"
23152 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23153 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23154 echo "*** full path to gtk-config."
23155 else
23156 if test -f conf.gtktest ; then
23157 :
23158 else
23159 echo "*** Could not run GTK test program, checking why..."
23160 CFLAGS="$CFLAGS $GTK_CFLAGS"
23161 LIBS="$LIBS $GTK_LIBS"
23162 cat >conftest.$ac_ext <<_ACEOF
23163 /* confdefs.h. */
23164 _ACEOF
23165 cat confdefs.h >>conftest.$ac_ext
23166 cat >>conftest.$ac_ext <<_ACEOF
23167 /* end confdefs.h. */
23168
23169 #include <gtk/gtk.h>
23170 #include <stdio.h>
23171
23172 int
23173 main ()
23174 {
23175 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23176 ;
23177 return 0;
23178 }
23179 _ACEOF
23180 rm -f conftest.$ac_objext conftest$ac_exeext
23181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23182 (eval $ac_link) 2>conftest.er1
23183 ac_status=$?
23184 grep -v '^ *+' conftest.er1 >conftest.err
23185 rm -f conftest.er1
23186 cat conftest.err >&5
23187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23188 (exit $ac_status); } &&
23189 { ac_try='test -z "$ac_c_werror_flag"
23190 || test ! -s conftest.err'
23191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23192 (eval $ac_try) 2>&5
23193 ac_status=$?
23194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23195 (exit $ac_status); }; } &&
23196 { ac_try='test -s conftest$ac_exeext'
23197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23198 (eval $ac_try) 2>&5
23199 ac_status=$?
23200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23201 (exit $ac_status); }; }; then
23202 echo "*** The test program compiled, but did not run. This usually means"
23203 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23204 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23205 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23206 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23207 echo "*** is required on your system"
23208 echo "***"
23209 echo "*** If you have an old version installed, it is best to remove it, although"
23210 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23211 echo "***"
23212 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23213 echo "*** came with the system with the command"
23214 echo "***"
23215 echo "*** rpm --erase --nodeps gtk gtk-devel"
23216 else
23217 echo "$as_me: failed program was:" >&5
23218 sed 's/^/| /' conftest.$ac_ext >&5
23219
23220 echo "*** The test program failed to compile or link. See the file config.log for the"
23221 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23222 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23223 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23224 fi
23225 rm -f conftest.err conftest.$ac_objext \
23226 conftest$ac_exeext conftest.$ac_ext
23227 CFLAGS="$ac_save_CFLAGS"
23228 LIBS="$ac_save_LIBS"
23229 fi
23230 fi
23231 GTK_CFLAGS=""
23232 GTK_LIBS=""
23233 :
23234 fi
23235
23236
23237 rm -f conf.gtktest
23238
23239 fi
23240 fi
23241
23242 if test -z "$wx_cv_lib_gtk"; then
23243 wx_cv_lib_gtk=none
23244 else
23245 wx_cv_cflags_gtk=$GTK_CFLAGS
23246 wx_cv_libs_gtk=$GTK_LIBS
23247 fi
23248
23249
23250 fi
23251
23252
23253 if test "$gtk_version_cached" = 1; then
23254 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23255 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23256 fi
23257
23258 case "$wx_cv_lib_gtk" in
23259 2.0) WXGTK20=1
23260 TOOLKIT_VERSION=2
23261 ;;
23262 1.2.7) WXGTK127=1
23263 WXGTK12=1
23264 ;;
23265 1.2.3) WXGTK12=1
23266 ;;
23267 *) { { echo "$as_me:$LINENO: error:
23268 Please check that gtk-config is in path, the directory
23269 where GTK+ libraries are installed (returned by
23270 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23271 equivalent variable and GTK+ is version 1.2.3 or above.
23272 " >&5
23273 echo "$as_me: error:
23274 Please check that gtk-config is in path, the directory
23275 where GTK+ libraries are installed (returned by
23276 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23277 equivalent variable and GTK+ is version 1.2.3 or above.
23278 " >&2;}
23279 { (exit 1); exit 1; }; }
23280 ;;
23281 esac
23282
23283 if test "$WXGTK20" = 1; then
23284 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
23285
23286 succeeded=no
23287
23288 if test -z "$PKG_CONFIG"; then
23289 # Extract the first word of "pkg-config", so it can be a program name with args.
23290 set dummy pkg-config; ac_word=$2
23291 echo "$as_me:$LINENO: checking for $ac_word" >&5
23292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23293 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23294 echo $ECHO_N "(cached) $ECHO_C" >&6
23295 else
23296 case $PKG_CONFIG in
23297 [\\/]* | ?:[\\/]*)
23298 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23299 ;;
23300 *)
23301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23302 for as_dir in $PATH
23303 do
23304 IFS=$as_save_IFS
23305 test -z "$as_dir" && as_dir=.
23306 for ac_exec_ext in '' $ac_executable_extensions; do
23307 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23308 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23310 break 2
23311 fi
23312 done
23313 done
23314
23315 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23316 ;;
23317 esac
23318 fi
23319 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23320
23321 if test -n "$PKG_CONFIG"; then
23322 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23323 echo "${ECHO_T}$PKG_CONFIG" >&6
23324 else
23325 echo "$as_me:$LINENO: result: no" >&5
23326 echo "${ECHO_T}no" >&6
23327 fi
23328
23329 fi
23330
23331 if test "$PKG_CONFIG" = "no" ; then
23332 echo "*** The pkg-config script could not be found. Make sure it is"
23333 echo "*** in your path, or set the PKG_CONFIG environment variable"
23334 echo "*** to the full path to pkg-config."
23335 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23336 else
23337 PKG_CONFIG_MIN_VERSION=0.9.0
23338 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23339 echo "$as_me:$LINENO: checking for pangoft2" >&5
23340 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
23341
23342 if $PKG_CONFIG --exists "pangoft2" ; then
23343 echo "$as_me:$LINENO: result: yes" >&5
23344 echo "${ECHO_T}yes" >&6
23345 succeeded=yes
23346
23347 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
23348 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
23349 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
23350 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
23351 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
23352
23353 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
23354 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
23355 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
23356 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
23357 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
23358 else
23359 PANGOFT2_CFLAGS=""
23360 PANGOFT2_LIBS=""
23361 ## If we have a custom action on failure, don't print errors, but
23362 ## do set a variable so people can do so.
23363 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
23364
23365 fi
23366
23367
23368
23369 else
23370 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23371 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23372 fi
23373 fi
23374
23375 if test $succeeded = yes; then
23376
23377 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
23378 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
23379
23380 else
23381
23382 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
23383 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
23384 wxUSE_PRINTING_ARCHITECTURE="no"
23385
23386
23387 fi
23388
23389 fi
23390
23391 save_CFLAGS="$CFLAGS"
23392 save_LIBS="$LIBS"
23393 CFLAGS="$CFLAGS $GTK_CFLAGS"
23394 LIBS="$LIBS $GTK_LIBS"
23395
23396 for ac_func in pango_font_family_is_monospace
23397 do
23398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23399 echo "$as_me:$LINENO: checking for $ac_func" >&5
23400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23401 if eval "test \"\${$as_ac_var+set}\" = set"; then
23402 echo $ECHO_N "(cached) $ECHO_C" >&6
23403 else
23404 cat >conftest.$ac_ext <<_ACEOF
23405 /* confdefs.h. */
23406 _ACEOF
23407 cat confdefs.h >>conftest.$ac_ext
23408 cat >>conftest.$ac_ext <<_ACEOF
23409 /* end confdefs.h. */
23410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23412 #define $ac_func innocuous_$ac_func
23413
23414 /* System header to define __stub macros and hopefully few prototypes,
23415 which can conflict with char $ac_func (); below.
23416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23417 <limits.h> exists even on freestanding compilers. */
23418
23419 #ifdef __STDC__
23420 # include <limits.h>
23421 #else
23422 # include <assert.h>
23423 #endif
23424
23425 #undef $ac_func
23426
23427 /* Override any gcc2 internal prototype to avoid an error. */
23428 #ifdef __cplusplus
23429 extern "C"
23430 {
23431 #endif
23432 /* We use char because int might match the return type of a gcc2
23433 builtin and then its argument prototype would still apply. */
23434 char $ac_func ();
23435 /* The GNU C library defines this for functions which it implements
23436 to always fail with ENOSYS. Some functions are actually named
23437 something starting with __ and the normal name is an alias. */
23438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23439 choke me
23440 #else
23441 char (*f) () = $ac_func;
23442 #endif
23443 #ifdef __cplusplus
23444 }
23445 #endif
23446
23447 int
23448 main ()
23449 {
23450 return f != $ac_func;
23451 ;
23452 return 0;
23453 }
23454 _ACEOF
23455 rm -f conftest.$ac_objext conftest$ac_exeext
23456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23457 (eval $ac_link) 2>conftest.er1
23458 ac_status=$?
23459 grep -v '^ *+' conftest.er1 >conftest.err
23460 rm -f conftest.er1
23461 cat conftest.err >&5
23462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23463 (exit $ac_status); } &&
23464 { ac_try='test -z "$ac_c_werror_flag"
23465 || test ! -s conftest.err'
23466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23467 (eval $ac_try) 2>&5
23468 ac_status=$?
23469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23470 (exit $ac_status); }; } &&
23471 { ac_try='test -s conftest$ac_exeext'
23472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23473 (eval $ac_try) 2>&5
23474 ac_status=$?
23475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23476 (exit $ac_status); }; }; then
23477 eval "$as_ac_var=yes"
23478 else
23479 echo "$as_me: failed program was:" >&5
23480 sed 's/^/| /' conftest.$ac_ext >&5
23481
23482 eval "$as_ac_var=no"
23483 fi
23484 rm -f conftest.err conftest.$ac_objext \
23485 conftest$ac_exeext conftest.$ac_ext
23486 fi
23487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23489 if test `eval echo '${'$as_ac_var'}'` = yes; then
23490 cat >>confdefs.h <<_ACEOF
23491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23492 _ACEOF
23493
23494 fi
23495 done
23496
23497 CFLAGS="$save_CFLAGS"
23498 LIBS="$save_LIBS"
23499 else
23500 if test "$wxUSE_UNICODE" = "yes"; then
23501 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
23502 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
23503 wxUSE_UNICODE=no
23504 fi
23505 fi
23506
23507 if test "$USE_DARWIN" != 1; then
23508
23509 for ac_func in poll
23510 do
23511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23512 echo "$as_me:$LINENO: checking for $ac_func" >&5
23513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23514 if eval "test \"\${$as_ac_var+set}\" = set"; then
23515 echo $ECHO_N "(cached) $ECHO_C" >&6
23516 else
23517 cat >conftest.$ac_ext <<_ACEOF
23518 /* confdefs.h. */
23519 _ACEOF
23520 cat confdefs.h >>conftest.$ac_ext
23521 cat >>conftest.$ac_ext <<_ACEOF
23522 /* end confdefs.h. */
23523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23525 #define $ac_func innocuous_$ac_func
23526
23527 /* System header to define __stub macros and hopefully few prototypes,
23528 which can conflict with char $ac_func (); below.
23529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23530 <limits.h> exists even on freestanding compilers. */
23531
23532 #ifdef __STDC__
23533 # include <limits.h>
23534 #else
23535 # include <assert.h>
23536 #endif
23537
23538 #undef $ac_func
23539
23540 /* Override any gcc2 internal prototype to avoid an error. */
23541 #ifdef __cplusplus
23542 extern "C"
23543 {
23544 #endif
23545 /* We use char because int might match the return type of a gcc2
23546 builtin and then its argument prototype would still apply. */
23547 char $ac_func ();
23548 /* The GNU C library defines this for functions which it implements
23549 to always fail with ENOSYS. Some functions are actually named
23550 something starting with __ and the normal name is an alias. */
23551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23552 choke me
23553 #else
23554 char (*f) () = $ac_func;
23555 #endif
23556 #ifdef __cplusplus
23557 }
23558 #endif
23559
23560 int
23561 main ()
23562 {
23563 return f != $ac_func;
23564 ;
23565 return 0;
23566 }
23567 _ACEOF
23568 rm -f conftest.$ac_objext conftest$ac_exeext
23569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23570 (eval $ac_link) 2>conftest.er1
23571 ac_status=$?
23572 grep -v '^ *+' conftest.er1 >conftest.err
23573 rm -f conftest.er1
23574 cat conftest.err >&5
23575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23576 (exit $ac_status); } &&
23577 { ac_try='test -z "$ac_c_werror_flag"
23578 || test ! -s conftest.err'
23579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23580 (eval $ac_try) 2>&5
23581 ac_status=$?
23582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23583 (exit $ac_status); }; } &&
23584 { ac_try='test -s conftest$ac_exeext'
23585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23586 (eval $ac_try) 2>&5
23587 ac_status=$?
23588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23589 (exit $ac_status); }; }; then
23590 eval "$as_ac_var=yes"
23591 else
23592 echo "$as_me: failed program was:" >&5
23593 sed 's/^/| /' conftest.$ac_ext >&5
23594
23595 eval "$as_ac_var=no"
23596 fi
23597 rm -f conftest.err conftest.$ac_objext \
23598 conftest$ac_exeext conftest.$ac_ext
23599 fi
23600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23602 if test `eval echo '${'$as_ac_var'}'` = yes; then
23603 cat >>confdefs.h <<_ACEOF
23604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23605 _ACEOF
23606
23607 fi
23608 done
23609
23610 fi
23611
23612 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
23613 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23614
23615 AFMINSTALL=afminstall
23616 TOOLKIT=GTK
23617 GUIDIST=GTK_DIST
23618
23619 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23620 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23621 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23622 echo $ECHO_N "(cached) $ECHO_C" >&6
23623 else
23624 ac_check_lib_save_LIBS=$LIBS
23625 LIBS="-lgdk $LIBS"
23626 cat >conftest.$ac_ext <<_ACEOF
23627 /* confdefs.h. */
23628 _ACEOF
23629 cat confdefs.h >>conftest.$ac_ext
23630 cat >>conftest.$ac_ext <<_ACEOF
23631 /* end confdefs.h. */
23632
23633 /* Override any gcc2 internal prototype to avoid an error. */
23634 #ifdef __cplusplus
23635 extern "C"
23636 #endif
23637 /* We use char because int might match the return type of a gcc2
23638 builtin and then its argument prototype would still apply. */
23639 char gdk_im_open ();
23640 int
23641 main ()
23642 {
23643 gdk_im_open ();
23644 ;
23645 return 0;
23646 }
23647 _ACEOF
23648 rm -f conftest.$ac_objext conftest$ac_exeext
23649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23650 (eval $ac_link) 2>conftest.er1
23651 ac_status=$?
23652 grep -v '^ *+' conftest.er1 >conftest.err
23653 rm -f conftest.er1
23654 cat conftest.err >&5
23655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23656 (exit $ac_status); } &&
23657 { ac_try='test -z "$ac_c_werror_flag"
23658 || test ! -s conftest.err'
23659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23660 (eval $ac_try) 2>&5
23661 ac_status=$?
23662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23663 (exit $ac_status); }; } &&
23664 { ac_try='test -s conftest$ac_exeext'
23665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23666 (eval $ac_try) 2>&5
23667 ac_status=$?
23668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23669 (exit $ac_status); }; }; then
23670 ac_cv_lib_gdk_gdk_im_open=yes
23671 else
23672 echo "$as_me: failed program was:" >&5
23673 sed 's/^/| /' conftest.$ac_ext >&5
23674
23675 ac_cv_lib_gdk_gdk_im_open=no
23676 fi
23677 rm -f conftest.err conftest.$ac_objext \
23678 conftest$ac_exeext conftest.$ac_ext
23679 LIBS=$ac_check_lib_save_LIBS
23680 fi
23681 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23682 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23683 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23684 cat >>confdefs.h <<\_ACEOF
23685 #define HAVE_XIM 1
23686 _ACEOF
23687
23688 fi
23689
23690
23691
23692 if test "$wxUSE_GPE" = "yes"; then
23693 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23694 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23695
23696 ac_find_libraries=
23697 for ac_dir in $SEARCH_LIB /usr/lib;
23698 do
23699 for ac_extension in a so sl dylib; do
23700 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23701 ac_find_libraries=$ac_dir
23702 break 2
23703 fi
23704 done
23705 done
23706
23707 if test "$ac_find_libraries" != "" ; then
23708
23709 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23710 result=$?
23711 if test $result = 0; then
23712 ac_path_to_link=""
23713 else
23714 ac_path_to_link=" -L$ac_find_libraries"
23715 fi
23716
23717 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
23718 WXGPE=1
23719 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23720 echo "${ECHO_T}found at $ac_find_libraries" >&6
23721 else
23722 echo "$as_me:$LINENO: result: not found" >&5
23723 echo "${ECHO_T}not found" >&6
23724 fi
23725
23726 fi
23727 fi
23728
23729 if test "$wxUSE_MGL" = 1; then
23730 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
23731 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
23732 if test "x$MGL_ROOT" = x ; then
23733 echo "$as_me:$LINENO: result: not found" >&5
23734 echo "${ECHO_T}not found" >&6
23735 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23736 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23737 { (exit 1); exit 1; }; }
23738 else
23739 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23740 echo "${ECHO_T}$MGL_ROOT" >&6
23741 fi
23742
23743 echo "$as_me:$LINENO: checking for libmgl location" >&5
23744 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23745 case "${host}" in
23746 *-*-linux* )
23747 if test "x$wxUSE_SHARED" = xyes ; then
23748 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23749 else
23750 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23751 fi
23752 ;;
23753 *-pc-msdosdjgpp )
23754 mgl_os_candidates="dos32/dj2"
23755 ;;
23756 *)
23757 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23758 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23759 { (exit 1); exit 1; }; }
23760 esac
23761
23762 mgl_lib_type=""
23763 mgl_os=""
23764
23765 for mgl_os_i in $mgl_os_candidates ; do
23766 if test "x$mgl_os" = x ; then
23767 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23768 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
23769 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
23770 mgl_lib_type=debug
23771 mgl_os=$mgl_os_i
23772 fi
23773 fi
23774 if test "x$mgl_lib_type" = x ; then
23775 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
23776 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
23777 mgl_lib_type=release
23778 mgl_os=$mgl_os_i
23779 fi
23780 fi
23781 fi
23782 done
23783
23784 if test "x$mgl_os" = x ; then
23785 echo "$as_me:$LINENO: result: not found" >&5
23786 echo "${ECHO_T}not found" >&6
23787 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23788 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23789 { (exit 1); exit 1; }; }
23790 fi
23791 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23792 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23793
23794 wxUSE_UNIVERSAL="yes"
23795
23796 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
23797 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23798
23799 AFMINSTALL=afminstall
23800 TOOLKIT=MGL
23801 GUIDIST=MGL_DIST
23802 fi
23803
23804 if test "$wxUSE_MICROWIN" = 1; then
23805 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23806 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23807 if test "x$MICROWINDOWS" = x ; then
23808 echo "$as_me:$LINENO: result: not found" >&5
23809 echo "${ECHO_T}not found" >&6
23810 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
23811 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23812 { (exit 1); exit 1; }; }
23813 else
23814 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
23815 echo "${ECHO_T}$MICROWINDOWS" >&6
23816 fi
23817
23818 if test -f $MICROWINDOWS/lib/libmwin.a; then
23819 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
23820 echo "${ECHO_T}MicroWindows' libraries found." >&6
23821 else
23822 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
23823 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
23824 { (exit 1); exit 1; }; }
23825 fi
23826
23827 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
23828 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
23829
23830 wxUSE_UNIVERSAL="yes"
23831
23832 AFMINSTALL=afminstall
23833 TOOLKIT=MICROWIN
23834 GUIDIST=MICROWIN_DIST
23835
23836 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
23837 fi
23838
23839 if test "$wxUSE_X11" = 1; then
23840 echo "$as_me:$LINENO: checking for X" >&5
23841 echo $ECHO_N "checking for X... $ECHO_C" >&6
23842
23843
23844 # Check whether --with-x or --without-x was given.
23845 if test "${with_x+set}" = set; then
23846 withval="$with_x"
23847
23848 fi;
23849 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23850 if test "x$with_x" = xno; then
23851 # The user explicitly disabled X.
23852 have_x=disabled
23853 else
23854 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
23855 # Both variables are already set.
23856 have_x=yes
23857 else
23858 if test "${ac_cv_have_x+set}" = set; then
23859 echo $ECHO_N "(cached) $ECHO_C" >&6
23860 else
23861 # One or both of the vars are not set, and there is no cached value.
23862 ac_x_includes=no ac_x_libraries=no
23863 rm -fr conftest.dir
23864 if mkdir conftest.dir; then
23865 cd conftest.dir
23866 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
23867 cat >Imakefile <<'_ACEOF'
23868 acfindx:
23869 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
23870 _ACEOF
23871 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
23872 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23873 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
23874 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23875 for ac_extension in a so sl; do
23876 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
23877 test -f $ac_im_libdir/libX11.$ac_extension; then
23878 ac_im_usrlibdir=$ac_im_libdir; break
23879 fi
23880 done
23881 # Screen out bogus values from the imake configuration. They are
23882 # bogus both because they are the default anyway, and because
23883 # using them would break gcc on systems where it needs fixed includes.
23884 case $ac_im_incroot in
23885 /usr/include) ;;
23886 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
23887 esac
23888 case $ac_im_usrlibdir in
23889 /usr/lib | /lib) ;;
23890 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
23891 esac
23892 fi
23893 cd ..
23894 rm -fr conftest.dir
23895 fi
23896
23897 # Standard set of common directories for X headers.
23898 # Check X11 before X11Rn because it is often a symlink to the current release.
23899 ac_x_header_dirs='
23900 /usr/X11/include
23901 /usr/X11R6/include
23902 /usr/X11R5/include
23903 /usr/X11R4/include
23904
23905 /usr/include/X11
23906 /usr/include/X11R6
23907 /usr/include/X11R5
23908 /usr/include/X11R4
23909
23910 /usr/local/X11/include
23911 /usr/local/X11R6/include
23912 /usr/local/X11R5/include
23913 /usr/local/X11R4/include
23914
23915 /usr/local/include/X11
23916 /usr/local/include/X11R6
23917 /usr/local/include/X11R5
23918 /usr/local/include/X11R4
23919
23920 /usr/X386/include
23921 /usr/x386/include
23922 /usr/XFree86/include/X11
23923
23924 /usr/include
23925 /usr/local/include
23926 /usr/unsupported/include
23927 /usr/athena/include
23928 /usr/local/x11r5/include
23929 /usr/lpp/Xamples/include
23930
23931 /usr/openwin/include
23932 /usr/openwin/share/include'
23933
23934 if test "$ac_x_includes" = no; then
23935 # Guess where to find include files, by looking for Intrinsic.h.
23936 # First, try using that file with no special directory specified.
23937 cat >conftest.$ac_ext <<_ACEOF
23938 /* confdefs.h. */
23939 _ACEOF
23940 cat confdefs.h >>conftest.$ac_ext
23941 cat >>conftest.$ac_ext <<_ACEOF
23942 /* end confdefs.h. */
23943 #include <X11/Intrinsic.h>
23944 _ACEOF
23945 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23946 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23947 ac_status=$?
23948 grep -v '^ *+' conftest.er1 >conftest.err
23949 rm -f conftest.er1
23950 cat conftest.err >&5
23951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23952 (exit $ac_status); } >/dev/null; then
23953 if test -s conftest.err; then
23954 ac_cpp_err=$ac_c_preproc_warn_flag
23955 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23956 else
23957 ac_cpp_err=
23958 fi
23959 else
23960 ac_cpp_err=yes
23961 fi
23962 if test -z "$ac_cpp_err"; then
23963 # We can compile using X headers with no special include directory.
23964 ac_x_includes=
23965 else
23966 echo "$as_me: failed program was:" >&5
23967 sed 's/^/| /' conftest.$ac_ext >&5
23968
23969 for ac_dir in $ac_x_header_dirs; do
23970 if test -r "$ac_dir/X11/Intrinsic.h"; then
23971 ac_x_includes=$ac_dir
23972 break
23973 fi
23974 done
23975 fi
23976 rm -f conftest.err conftest.$ac_ext
23977 fi # $ac_x_includes = no
23978
23979 if test "$ac_x_libraries" = no; then
23980 # Check for the libraries.
23981 # See if we find them without any special options.
23982 # Don't add to $LIBS permanently.
23983 ac_save_LIBS=$LIBS
23984 LIBS="-lXt $LIBS"
23985 cat >conftest.$ac_ext <<_ACEOF
23986 /* confdefs.h. */
23987 _ACEOF
23988 cat confdefs.h >>conftest.$ac_ext
23989 cat >>conftest.$ac_ext <<_ACEOF
23990 /* end confdefs.h. */
23991 #include <X11/Intrinsic.h>
23992 int
23993 main ()
23994 {
23995 XtMalloc (0)
23996 ;
23997 return 0;
23998 }
23999 _ACEOF
24000 rm -f conftest.$ac_objext conftest$ac_exeext
24001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24002 (eval $ac_link) 2>conftest.er1
24003 ac_status=$?
24004 grep -v '^ *+' conftest.er1 >conftest.err
24005 rm -f conftest.er1
24006 cat conftest.err >&5
24007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24008 (exit $ac_status); } &&
24009 { ac_try='test -z "$ac_c_werror_flag"
24010 || test ! -s conftest.err'
24011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24012 (eval $ac_try) 2>&5
24013 ac_status=$?
24014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24015 (exit $ac_status); }; } &&
24016 { ac_try='test -s conftest$ac_exeext'
24017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24018 (eval $ac_try) 2>&5
24019 ac_status=$?
24020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24021 (exit $ac_status); }; }; then
24022 LIBS=$ac_save_LIBS
24023 # We can link X programs with no special library path.
24024 ac_x_libraries=
24025 else
24026 echo "$as_me: failed program was:" >&5
24027 sed 's/^/| /' conftest.$ac_ext >&5
24028
24029 LIBS=$ac_save_LIBS
24030 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24031 do
24032 # Don't even attempt the hair of trying to link an X program!
24033 for ac_extension in a so sl; do
24034 if test -r $ac_dir/libXt.$ac_extension; then
24035 ac_x_libraries=$ac_dir
24036 break 2
24037 fi
24038 done
24039 done
24040 fi
24041 rm -f conftest.err conftest.$ac_objext \
24042 conftest$ac_exeext conftest.$ac_ext
24043 fi # $ac_x_libraries = no
24044
24045 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
24046 # Didn't find X anywhere. Cache the known absence of X.
24047 ac_cv_have_x="have_x=no"
24048 else
24049 # Record where we found X for the cache.
24050 ac_cv_have_x="have_x=yes \
24051 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24052 fi
24053 fi
24054
24055 fi
24056 eval "$ac_cv_have_x"
24057 fi # $with_x != no
24058
24059 if test "$have_x" != yes; then
24060 echo "$as_me:$LINENO: result: $have_x" >&5
24061 echo "${ECHO_T}$have_x" >&6
24062 no_x=yes
24063 else
24064 # If each of the values was on the command line, it overrides each guess.
24065 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24066 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24067 # Update the cache value to reflect the command line values.
24068 ac_cv_have_x="have_x=yes \
24069 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24070 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
24071 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
24072 fi
24073
24074 if test "$no_x" = yes; then
24075 # Not all programs may use this symbol, but it does not hurt to define it.
24076
24077 cat >>confdefs.h <<\_ACEOF
24078 #define X_DISPLAY_MISSING 1
24079 _ACEOF
24080
24081 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24082 else
24083 if test -n "$x_includes"; then
24084 X_CFLAGS="$X_CFLAGS -I$x_includes"
24085 fi
24086
24087 # It would also be nice to do this for all -L options, not just this one.
24088 if test -n "$x_libraries"; then
24089 X_LIBS="$X_LIBS -L$x_libraries"
24090 # For Solaris; some versions of Sun CC require a space after -R and
24091 # others require no space. Words are not sufficient . . . .
24092 case `(uname -sr) 2>/dev/null` in
24093 "SunOS 5"*)
24094 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24095 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24096 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24097 cat >conftest.$ac_ext <<_ACEOF
24098 /* confdefs.h. */
24099 _ACEOF
24100 cat confdefs.h >>conftest.$ac_ext
24101 cat >>conftest.$ac_ext <<_ACEOF
24102 /* end confdefs.h. */
24103
24104 int
24105 main ()
24106 {
24107
24108 ;
24109 return 0;
24110 }
24111 _ACEOF
24112 rm -f conftest.$ac_objext conftest$ac_exeext
24113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24114 (eval $ac_link) 2>conftest.er1
24115 ac_status=$?
24116 grep -v '^ *+' conftest.er1 >conftest.err
24117 rm -f conftest.er1
24118 cat conftest.err >&5
24119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24120 (exit $ac_status); } &&
24121 { ac_try='test -z "$ac_c_werror_flag"
24122 || test ! -s conftest.err'
24123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24124 (eval $ac_try) 2>&5
24125 ac_status=$?
24126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24127 (exit $ac_status); }; } &&
24128 { ac_try='test -s conftest$ac_exeext'
24129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24130 (eval $ac_try) 2>&5
24131 ac_status=$?
24132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24133 (exit $ac_status); }; }; then
24134 ac_R_nospace=yes
24135 else
24136 echo "$as_me: failed program was:" >&5
24137 sed 's/^/| /' conftest.$ac_ext >&5
24138
24139 ac_R_nospace=no
24140 fi
24141 rm -f conftest.err conftest.$ac_objext \
24142 conftest$ac_exeext conftest.$ac_ext
24143 if test $ac_R_nospace = yes; then
24144 echo "$as_me:$LINENO: result: no" >&5
24145 echo "${ECHO_T}no" >&6
24146 X_LIBS="$X_LIBS -R$x_libraries"
24147 else
24148 LIBS="$ac_xsave_LIBS -R $x_libraries"
24149 cat >conftest.$ac_ext <<_ACEOF
24150 /* confdefs.h. */
24151 _ACEOF
24152 cat confdefs.h >>conftest.$ac_ext
24153 cat >>conftest.$ac_ext <<_ACEOF
24154 /* end confdefs.h. */
24155
24156 int
24157 main ()
24158 {
24159
24160 ;
24161 return 0;
24162 }
24163 _ACEOF
24164 rm -f conftest.$ac_objext conftest$ac_exeext
24165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24166 (eval $ac_link) 2>conftest.er1
24167 ac_status=$?
24168 grep -v '^ *+' conftest.er1 >conftest.err
24169 rm -f conftest.er1
24170 cat conftest.err >&5
24171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24172 (exit $ac_status); } &&
24173 { ac_try='test -z "$ac_c_werror_flag"
24174 || test ! -s conftest.err'
24175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24176 (eval $ac_try) 2>&5
24177 ac_status=$?
24178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24179 (exit $ac_status); }; } &&
24180 { ac_try='test -s conftest$ac_exeext'
24181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24182 (eval $ac_try) 2>&5
24183 ac_status=$?
24184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24185 (exit $ac_status); }; }; then
24186 ac_R_space=yes
24187 else
24188 echo "$as_me: failed program was:" >&5
24189 sed 's/^/| /' conftest.$ac_ext >&5
24190
24191 ac_R_space=no
24192 fi
24193 rm -f conftest.err conftest.$ac_objext \
24194 conftest$ac_exeext conftest.$ac_ext
24195 if test $ac_R_space = yes; then
24196 echo "$as_me:$LINENO: result: yes" >&5
24197 echo "${ECHO_T}yes" >&6
24198 X_LIBS="$X_LIBS -R $x_libraries"
24199 else
24200 echo "$as_me:$LINENO: result: neither works" >&5
24201 echo "${ECHO_T}neither works" >&6
24202 fi
24203 fi
24204 LIBS=$ac_xsave_LIBS
24205 esac
24206 fi
24207
24208 # Check for system-dependent libraries X programs must link with.
24209 # Do this before checking for the system-independent R6 libraries
24210 # (-lICE), since we may need -lsocket or whatever for X linking.
24211
24212 if test "$ISC" = yes; then
24213 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24214 else
24215 # Martyn Johnson says this is needed for Ultrix, if the X
24216 # libraries were built with DECnet support. And Karl Berry says
24217 # the Alpha needs dnet_stub (dnet does not exist).
24218 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24219 cat >conftest.$ac_ext <<_ACEOF
24220 /* confdefs.h. */
24221 _ACEOF
24222 cat confdefs.h >>conftest.$ac_ext
24223 cat >>conftest.$ac_ext <<_ACEOF
24224 /* end confdefs.h. */
24225
24226 /* Override any gcc2 internal prototype to avoid an error. */
24227 #ifdef __cplusplus
24228 extern "C"
24229 #endif
24230 /* We use char because int might match the return type of a gcc2
24231 builtin and then its argument prototype would still apply. */
24232 char XOpenDisplay ();
24233 int
24234 main ()
24235 {
24236 XOpenDisplay ();
24237 ;
24238 return 0;
24239 }
24240 _ACEOF
24241 rm -f conftest.$ac_objext conftest$ac_exeext
24242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24243 (eval $ac_link) 2>conftest.er1
24244 ac_status=$?
24245 grep -v '^ *+' conftest.er1 >conftest.err
24246 rm -f conftest.er1
24247 cat conftest.err >&5
24248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24249 (exit $ac_status); } &&
24250 { ac_try='test -z "$ac_c_werror_flag"
24251 || test ! -s conftest.err'
24252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24253 (eval $ac_try) 2>&5
24254 ac_status=$?
24255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24256 (exit $ac_status); }; } &&
24257 { ac_try='test -s conftest$ac_exeext'
24258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24259 (eval $ac_try) 2>&5
24260 ac_status=$?
24261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24262 (exit $ac_status); }; }; then
24263 :
24264 else
24265 echo "$as_me: failed program was:" >&5
24266 sed 's/^/| /' conftest.$ac_ext >&5
24267
24268 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24269 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24270 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24271 echo $ECHO_N "(cached) $ECHO_C" >&6
24272 else
24273 ac_check_lib_save_LIBS=$LIBS
24274 LIBS="-ldnet $LIBS"
24275 cat >conftest.$ac_ext <<_ACEOF
24276 /* confdefs.h. */
24277 _ACEOF
24278 cat confdefs.h >>conftest.$ac_ext
24279 cat >>conftest.$ac_ext <<_ACEOF
24280 /* end confdefs.h. */
24281
24282 /* Override any gcc2 internal prototype to avoid an error. */
24283 #ifdef __cplusplus
24284 extern "C"
24285 #endif
24286 /* We use char because int might match the return type of a gcc2
24287 builtin and then its argument prototype would still apply. */
24288 char dnet_ntoa ();
24289 int
24290 main ()
24291 {
24292 dnet_ntoa ();
24293 ;
24294 return 0;
24295 }
24296 _ACEOF
24297 rm -f conftest.$ac_objext conftest$ac_exeext
24298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24299 (eval $ac_link) 2>conftest.er1
24300 ac_status=$?
24301 grep -v '^ *+' conftest.er1 >conftest.err
24302 rm -f conftest.er1
24303 cat conftest.err >&5
24304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24305 (exit $ac_status); } &&
24306 { ac_try='test -z "$ac_c_werror_flag"
24307 || test ! -s conftest.err'
24308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24309 (eval $ac_try) 2>&5
24310 ac_status=$?
24311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24312 (exit $ac_status); }; } &&
24313 { ac_try='test -s conftest$ac_exeext'
24314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24315 (eval $ac_try) 2>&5
24316 ac_status=$?
24317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24318 (exit $ac_status); }; }; then
24319 ac_cv_lib_dnet_dnet_ntoa=yes
24320 else
24321 echo "$as_me: failed program was:" >&5
24322 sed 's/^/| /' conftest.$ac_ext >&5
24323
24324 ac_cv_lib_dnet_dnet_ntoa=no
24325 fi
24326 rm -f conftest.err conftest.$ac_objext \
24327 conftest$ac_exeext conftest.$ac_ext
24328 LIBS=$ac_check_lib_save_LIBS
24329 fi
24330 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24331 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24332 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24333 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
24334 fi
24335
24336 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
24337 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24338 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24339 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24340 echo $ECHO_N "(cached) $ECHO_C" >&6
24341 else
24342 ac_check_lib_save_LIBS=$LIBS
24343 LIBS="-ldnet_stub $LIBS"
24344 cat >conftest.$ac_ext <<_ACEOF
24345 /* confdefs.h. */
24346 _ACEOF
24347 cat confdefs.h >>conftest.$ac_ext
24348 cat >>conftest.$ac_ext <<_ACEOF
24349 /* end confdefs.h. */
24350
24351 /* Override any gcc2 internal prototype to avoid an error. */
24352 #ifdef __cplusplus
24353 extern "C"
24354 #endif
24355 /* We use char because int might match the return type of a gcc2
24356 builtin and then its argument prototype would still apply. */
24357 char dnet_ntoa ();
24358 int
24359 main ()
24360 {
24361 dnet_ntoa ();
24362 ;
24363 return 0;
24364 }
24365 _ACEOF
24366 rm -f conftest.$ac_objext conftest$ac_exeext
24367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24368 (eval $ac_link) 2>conftest.er1
24369 ac_status=$?
24370 grep -v '^ *+' conftest.er1 >conftest.err
24371 rm -f conftest.er1
24372 cat conftest.err >&5
24373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24374 (exit $ac_status); } &&
24375 { ac_try='test -z "$ac_c_werror_flag"
24376 || test ! -s conftest.err'
24377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24378 (eval $ac_try) 2>&5
24379 ac_status=$?
24380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24381 (exit $ac_status); }; } &&
24382 { ac_try='test -s conftest$ac_exeext'
24383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24384 (eval $ac_try) 2>&5
24385 ac_status=$?
24386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24387 (exit $ac_status); }; }; then
24388 ac_cv_lib_dnet_stub_dnet_ntoa=yes
24389 else
24390 echo "$as_me: failed program was:" >&5
24391 sed 's/^/| /' conftest.$ac_ext >&5
24392
24393 ac_cv_lib_dnet_stub_dnet_ntoa=no
24394 fi
24395 rm -f conftest.err conftest.$ac_objext \
24396 conftest$ac_exeext conftest.$ac_ext
24397 LIBS=$ac_check_lib_save_LIBS
24398 fi
24399 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24400 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24401 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24402 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
24403 fi
24404
24405 fi
24406 fi
24407 rm -f conftest.err conftest.$ac_objext \
24408 conftest$ac_exeext conftest.$ac_ext
24409 LIBS="$ac_xsave_LIBS"
24410
24411 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24412 # to get the SysV transport functions.
24413 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24414 # needs -lnsl.
24415 # The nsl library prevents programs from opening the X display
24416 # on Irix 5.2, according to T.E. Dickey.
24417 # The functions gethostbyname, getservbyname, and inet_addr are
24418 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24419 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24420 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24421 if test "${ac_cv_func_gethostbyname+set}" = set; then
24422 echo $ECHO_N "(cached) $ECHO_C" >&6
24423 else
24424 cat >conftest.$ac_ext <<_ACEOF
24425 /* confdefs.h. */
24426 _ACEOF
24427 cat confdefs.h >>conftest.$ac_ext
24428 cat >>conftest.$ac_ext <<_ACEOF
24429 /* end confdefs.h. */
24430 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24432 #define gethostbyname innocuous_gethostbyname
24433
24434 /* System header to define __stub macros and hopefully few prototypes,
24435 which can conflict with char gethostbyname (); below.
24436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24437 <limits.h> exists even on freestanding compilers. */
24438
24439 #ifdef __STDC__
24440 # include <limits.h>
24441 #else
24442 # include <assert.h>
24443 #endif
24444
24445 #undef gethostbyname
24446
24447 /* Override any gcc2 internal prototype to avoid an error. */
24448 #ifdef __cplusplus
24449 extern "C"
24450 {
24451 #endif
24452 /* We use char because int might match the return type of a gcc2
24453 builtin and then its argument prototype would still apply. */
24454 char gethostbyname ();
24455 /* The GNU C library defines this for functions which it implements
24456 to always fail with ENOSYS. Some functions are actually named
24457 something starting with __ and the normal name is an alias. */
24458 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24459 choke me
24460 #else
24461 char (*f) () = gethostbyname;
24462 #endif
24463 #ifdef __cplusplus
24464 }
24465 #endif
24466
24467 int
24468 main ()
24469 {
24470 return f != gethostbyname;
24471 ;
24472 return 0;
24473 }
24474 _ACEOF
24475 rm -f conftest.$ac_objext conftest$ac_exeext
24476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24477 (eval $ac_link) 2>conftest.er1
24478 ac_status=$?
24479 grep -v '^ *+' conftest.er1 >conftest.err
24480 rm -f conftest.er1
24481 cat conftest.err >&5
24482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24483 (exit $ac_status); } &&
24484 { ac_try='test -z "$ac_c_werror_flag"
24485 || test ! -s conftest.err'
24486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24487 (eval $ac_try) 2>&5
24488 ac_status=$?
24489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24490 (exit $ac_status); }; } &&
24491 { ac_try='test -s conftest$ac_exeext'
24492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24493 (eval $ac_try) 2>&5
24494 ac_status=$?
24495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24496 (exit $ac_status); }; }; then
24497 ac_cv_func_gethostbyname=yes
24498 else
24499 echo "$as_me: failed program was:" >&5
24500 sed 's/^/| /' conftest.$ac_ext >&5
24501
24502 ac_cv_func_gethostbyname=no
24503 fi
24504 rm -f conftest.err conftest.$ac_objext \
24505 conftest$ac_exeext conftest.$ac_ext
24506 fi
24507 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24508 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24509
24510 if test $ac_cv_func_gethostbyname = no; then
24511 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24512 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24513 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24514 echo $ECHO_N "(cached) $ECHO_C" >&6
24515 else
24516 ac_check_lib_save_LIBS=$LIBS
24517 LIBS="-lnsl $LIBS"
24518 cat >conftest.$ac_ext <<_ACEOF
24519 /* confdefs.h. */
24520 _ACEOF
24521 cat confdefs.h >>conftest.$ac_ext
24522 cat >>conftest.$ac_ext <<_ACEOF
24523 /* end confdefs.h. */
24524
24525 /* Override any gcc2 internal prototype to avoid an error. */
24526 #ifdef __cplusplus
24527 extern "C"
24528 #endif
24529 /* We use char because int might match the return type of a gcc2
24530 builtin and then its argument prototype would still apply. */
24531 char gethostbyname ();
24532 int
24533 main ()
24534 {
24535 gethostbyname ();
24536 ;
24537 return 0;
24538 }
24539 _ACEOF
24540 rm -f conftest.$ac_objext conftest$ac_exeext
24541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24542 (eval $ac_link) 2>conftest.er1
24543 ac_status=$?
24544 grep -v '^ *+' conftest.er1 >conftest.err
24545 rm -f conftest.er1
24546 cat conftest.err >&5
24547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24548 (exit $ac_status); } &&
24549 { ac_try='test -z "$ac_c_werror_flag"
24550 || test ! -s conftest.err'
24551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24552 (eval $ac_try) 2>&5
24553 ac_status=$?
24554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24555 (exit $ac_status); }; } &&
24556 { ac_try='test -s conftest$ac_exeext'
24557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24558 (eval $ac_try) 2>&5
24559 ac_status=$?
24560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24561 (exit $ac_status); }; }; then
24562 ac_cv_lib_nsl_gethostbyname=yes
24563 else
24564 echo "$as_me: failed program was:" >&5
24565 sed 's/^/| /' conftest.$ac_ext >&5
24566
24567 ac_cv_lib_nsl_gethostbyname=no
24568 fi
24569 rm -f conftest.err conftest.$ac_objext \
24570 conftest$ac_exeext conftest.$ac_ext
24571 LIBS=$ac_check_lib_save_LIBS
24572 fi
24573 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24574 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24575 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24576 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
24577 fi
24578
24579 if test $ac_cv_lib_nsl_gethostbyname = no; then
24580 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24581 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24582 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24583 echo $ECHO_N "(cached) $ECHO_C" >&6
24584 else
24585 ac_check_lib_save_LIBS=$LIBS
24586 LIBS="-lbsd $LIBS"
24587 cat >conftest.$ac_ext <<_ACEOF
24588 /* confdefs.h. */
24589 _ACEOF
24590 cat confdefs.h >>conftest.$ac_ext
24591 cat >>conftest.$ac_ext <<_ACEOF
24592 /* end confdefs.h. */
24593
24594 /* Override any gcc2 internal prototype to avoid an error. */
24595 #ifdef __cplusplus
24596 extern "C"
24597 #endif
24598 /* We use char because int might match the return type of a gcc2
24599 builtin and then its argument prototype would still apply. */
24600 char gethostbyname ();
24601 int
24602 main ()
24603 {
24604 gethostbyname ();
24605 ;
24606 return 0;
24607 }
24608 _ACEOF
24609 rm -f conftest.$ac_objext conftest$ac_exeext
24610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24611 (eval $ac_link) 2>conftest.er1
24612 ac_status=$?
24613 grep -v '^ *+' conftest.er1 >conftest.err
24614 rm -f conftest.er1
24615 cat conftest.err >&5
24616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24617 (exit $ac_status); } &&
24618 { ac_try='test -z "$ac_c_werror_flag"
24619 || test ! -s conftest.err'
24620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24621 (eval $ac_try) 2>&5
24622 ac_status=$?
24623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24624 (exit $ac_status); }; } &&
24625 { ac_try='test -s conftest$ac_exeext'
24626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24627 (eval $ac_try) 2>&5
24628 ac_status=$?
24629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24630 (exit $ac_status); }; }; then
24631 ac_cv_lib_bsd_gethostbyname=yes
24632 else
24633 echo "$as_me: failed program was:" >&5
24634 sed 's/^/| /' conftest.$ac_ext >&5
24635
24636 ac_cv_lib_bsd_gethostbyname=no
24637 fi
24638 rm -f conftest.err conftest.$ac_objext \
24639 conftest$ac_exeext conftest.$ac_ext
24640 LIBS=$ac_check_lib_save_LIBS
24641 fi
24642 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24643 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24644 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24645 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
24646 fi
24647
24648 fi
24649 fi
24650
24651 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24652 # socket/setsockopt and other routines are undefined under SCO ODT
24653 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24654 # on later versions), says Simon Leinen: it contains gethostby*
24655 # variants that don't use the name server (or something). -lsocket
24656 # must be given before -lnsl if both are needed. We assume that
24657 # if connect needs -lnsl, so does gethostbyname.
24658 echo "$as_me:$LINENO: checking for connect" >&5
24659 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24660 if test "${ac_cv_func_connect+set}" = set; then
24661 echo $ECHO_N "(cached) $ECHO_C" >&6
24662 else
24663 cat >conftest.$ac_ext <<_ACEOF
24664 /* confdefs.h. */
24665 _ACEOF
24666 cat confdefs.h >>conftest.$ac_ext
24667 cat >>conftest.$ac_ext <<_ACEOF
24668 /* end confdefs.h. */
24669 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24671 #define connect innocuous_connect
24672
24673 /* System header to define __stub macros and hopefully few prototypes,
24674 which can conflict with char connect (); below.
24675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24676 <limits.h> exists even on freestanding compilers. */
24677
24678 #ifdef __STDC__
24679 # include <limits.h>
24680 #else
24681 # include <assert.h>
24682 #endif
24683
24684 #undef connect
24685
24686 /* Override any gcc2 internal prototype to avoid an error. */
24687 #ifdef __cplusplus
24688 extern "C"
24689 {
24690 #endif
24691 /* We use char because int might match the return type of a gcc2
24692 builtin and then its argument prototype would still apply. */
24693 char connect ();
24694 /* The GNU C library defines this for functions which it implements
24695 to always fail with ENOSYS. Some functions are actually named
24696 something starting with __ and the normal name is an alias. */
24697 #if defined (__stub_connect) || defined (__stub___connect)
24698 choke me
24699 #else
24700 char (*f) () = connect;
24701 #endif
24702 #ifdef __cplusplus
24703 }
24704 #endif
24705
24706 int
24707 main ()
24708 {
24709 return f != connect;
24710 ;
24711 return 0;
24712 }
24713 _ACEOF
24714 rm -f conftest.$ac_objext conftest$ac_exeext
24715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24716 (eval $ac_link) 2>conftest.er1
24717 ac_status=$?
24718 grep -v '^ *+' conftest.er1 >conftest.err
24719 rm -f conftest.er1
24720 cat conftest.err >&5
24721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24722 (exit $ac_status); } &&
24723 { ac_try='test -z "$ac_c_werror_flag"
24724 || test ! -s conftest.err'
24725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24726 (eval $ac_try) 2>&5
24727 ac_status=$?
24728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24729 (exit $ac_status); }; } &&
24730 { ac_try='test -s conftest$ac_exeext'
24731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24732 (eval $ac_try) 2>&5
24733 ac_status=$?
24734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24735 (exit $ac_status); }; }; then
24736 ac_cv_func_connect=yes
24737 else
24738 echo "$as_me: failed program was:" >&5
24739 sed 's/^/| /' conftest.$ac_ext >&5
24740
24741 ac_cv_func_connect=no
24742 fi
24743 rm -f conftest.err conftest.$ac_objext \
24744 conftest$ac_exeext conftest.$ac_ext
24745 fi
24746 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24747 echo "${ECHO_T}$ac_cv_func_connect" >&6
24748
24749 if test $ac_cv_func_connect = no; then
24750 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24751 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24752 if test "${ac_cv_lib_socket_connect+set}" = set; then
24753 echo $ECHO_N "(cached) $ECHO_C" >&6
24754 else
24755 ac_check_lib_save_LIBS=$LIBS
24756 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
24757 cat >conftest.$ac_ext <<_ACEOF
24758 /* confdefs.h. */
24759 _ACEOF
24760 cat confdefs.h >>conftest.$ac_ext
24761 cat >>conftest.$ac_ext <<_ACEOF
24762 /* end confdefs.h. */
24763
24764 /* Override any gcc2 internal prototype to avoid an error. */
24765 #ifdef __cplusplus
24766 extern "C"
24767 #endif
24768 /* We use char because int might match the return type of a gcc2
24769 builtin and then its argument prototype would still apply. */
24770 char connect ();
24771 int
24772 main ()
24773 {
24774 connect ();
24775 ;
24776 return 0;
24777 }
24778 _ACEOF
24779 rm -f conftest.$ac_objext conftest$ac_exeext
24780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24781 (eval $ac_link) 2>conftest.er1
24782 ac_status=$?
24783 grep -v '^ *+' conftest.er1 >conftest.err
24784 rm -f conftest.er1
24785 cat conftest.err >&5
24786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24787 (exit $ac_status); } &&
24788 { ac_try='test -z "$ac_c_werror_flag"
24789 || test ! -s conftest.err'
24790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24791 (eval $ac_try) 2>&5
24792 ac_status=$?
24793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24794 (exit $ac_status); }; } &&
24795 { ac_try='test -s conftest$ac_exeext'
24796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24797 (eval $ac_try) 2>&5
24798 ac_status=$?
24799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24800 (exit $ac_status); }; }; then
24801 ac_cv_lib_socket_connect=yes
24802 else
24803 echo "$as_me: failed program was:" >&5
24804 sed 's/^/| /' conftest.$ac_ext >&5
24805
24806 ac_cv_lib_socket_connect=no
24807 fi
24808 rm -f conftest.err conftest.$ac_objext \
24809 conftest$ac_exeext conftest.$ac_ext
24810 LIBS=$ac_check_lib_save_LIBS
24811 fi
24812 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24813 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24814 if test $ac_cv_lib_socket_connect = yes; then
24815 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
24816 fi
24817
24818 fi
24819
24820 # Guillermo Gomez says -lposix is necessary on A/UX.
24821 echo "$as_me:$LINENO: checking for remove" >&5
24822 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24823 if test "${ac_cv_func_remove+set}" = set; then
24824 echo $ECHO_N "(cached) $ECHO_C" >&6
24825 else
24826 cat >conftest.$ac_ext <<_ACEOF
24827 /* confdefs.h. */
24828 _ACEOF
24829 cat confdefs.h >>conftest.$ac_ext
24830 cat >>conftest.$ac_ext <<_ACEOF
24831 /* end confdefs.h. */
24832 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
24833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24834 #define remove innocuous_remove
24835
24836 /* System header to define __stub macros and hopefully few prototypes,
24837 which can conflict with char remove (); below.
24838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24839 <limits.h> exists even on freestanding compilers. */
24840
24841 #ifdef __STDC__
24842 # include <limits.h>
24843 #else
24844 # include <assert.h>
24845 #endif
24846
24847 #undef remove
24848
24849 /* Override any gcc2 internal prototype to avoid an error. */
24850 #ifdef __cplusplus
24851 extern "C"
24852 {
24853 #endif
24854 /* We use char because int might match the return type of a gcc2
24855 builtin and then its argument prototype would still apply. */
24856 char remove ();
24857 /* The GNU C library defines this for functions which it implements
24858 to always fail with ENOSYS. Some functions are actually named
24859 something starting with __ and the normal name is an alias. */
24860 #if defined (__stub_remove) || defined (__stub___remove)
24861 choke me
24862 #else
24863 char (*f) () = remove;
24864 #endif
24865 #ifdef __cplusplus
24866 }
24867 #endif
24868
24869 int
24870 main ()
24871 {
24872 return f != remove;
24873 ;
24874 return 0;
24875 }
24876 _ACEOF
24877 rm -f conftest.$ac_objext conftest$ac_exeext
24878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24879 (eval $ac_link) 2>conftest.er1
24880 ac_status=$?
24881 grep -v '^ *+' conftest.er1 >conftest.err
24882 rm -f conftest.er1
24883 cat conftest.err >&5
24884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24885 (exit $ac_status); } &&
24886 { ac_try='test -z "$ac_c_werror_flag"
24887 || test ! -s conftest.err'
24888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24889 (eval $ac_try) 2>&5
24890 ac_status=$?
24891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24892 (exit $ac_status); }; } &&
24893 { ac_try='test -s conftest$ac_exeext'
24894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24895 (eval $ac_try) 2>&5
24896 ac_status=$?
24897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24898 (exit $ac_status); }; }; then
24899 ac_cv_func_remove=yes
24900 else
24901 echo "$as_me: failed program was:" >&5
24902 sed 's/^/| /' conftest.$ac_ext >&5
24903
24904 ac_cv_func_remove=no
24905 fi
24906 rm -f conftest.err conftest.$ac_objext \
24907 conftest$ac_exeext conftest.$ac_ext
24908 fi
24909 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24910 echo "${ECHO_T}$ac_cv_func_remove" >&6
24911
24912 if test $ac_cv_func_remove = no; then
24913 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24914 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
24915 if test "${ac_cv_lib_posix_remove+set}" = set; then
24916 echo $ECHO_N "(cached) $ECHO_C" >&6
24917 else
24918 ac_check_lib_save_LIBS=$LIBS
24919 LIBS="-lposix $LIBS"
24920 cat >conftest.$ac_ext <<_ACEOF
24921 /* confdefs.h. */
24922 _ACEOF
24923 cat confdefs.h >>conftest.$ac_ext
24924 cat >>conftest.$ac_ext <<_ACEOF
24925 /* end confdefs.h. */
24926
24927 /* Override any gcc2 internal prototype to avoid an error. */
24928 #ifdef __cplusplus
24929 extern "C"
24930 #endif
24931 /* We use char because int might match the return type of a gcc2
24932 builtin and then its argument prototype would still apply. */
24933 char remove ();
24934 int
24935 main ()
24936 {
24937 remove ();
24938 ;
24939 return 0;
24940 }
24941 _ACEOF
24942 rm -f conftest.$ac_objext conftest$ac_exeext
24943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24944 (eval $ac_link) 2>conftest.er1
24945 ac_status=$?
24946 grep -v '^ *+' conftest.er1 >conftest.err
24947 rm -f conftest.er1
24948 cat conftest.err >&5
24949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24950 (exit $ac_status); } &&
24951 { ac_try='test -z "$ac_c_werror_flag"
24952 || test ! -s conftest.err'
24953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24954 (eval $ac_try) 2>&5
24955 ac_status=$?
24956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24957 (exit $ac_status); }; } &&
24958 { ac_try='test -s conftest$ac_exeext'
24959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24960 (eval $ac_try) 2>&5
24961 ac_status=$?
24962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24963 (exit $ac_status); }; }; then
24964 ac_cv_lib_posix_remove=yes
24965 else
24966 echo "$as_me: failed program was:" >&5
24967 sed 's/^/| /' conftest.$ac_ext >&5
24968
24969 ac_cv_lib_posix_remove=no
24970 fi
24971 rm -f conftest.err conftest.$ac_objext \
24972 conftest$ac_exeext conftest.$ac_ext
24973 LIBS=$ac_check_lib_save_LIBS
24974 fi
24975 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24976 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
24977 if test $ac_cv_lib_posix_remove = yes; then
24978 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
24979 fi
24980
24981 fi
24982
24983 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24984 echo "$as_me:$LINENO: checking for shmat" >&5
24985 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
24986 if test "${ac_cv_func_shmat+set}" = set; then
24987 echo $ECHO_N "(cached) $ECHO_C" >&6
24988 else
24989 cat >conftest.$ac_ext <<_ACEOF
24990 /* confdefs.h. */
24991 _ACEOF
24992 cat confdefs.h >>conftest.$ac_ext
24993 cat >>conftest.$ac_ext <<_ACEOF
24994 /* end confdefs.h. */
24995 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24997 #define shmat innocuous_shmat
24998
24999 /* System header to define __stub macros and hopefully few prototypes,
25000 which can conflict with char shmat (); below.
25001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25002 <limits.h> exists even on freestanding compilers. */
25003
25004 #ifdef __STDC__
25005 # include <limits.h>
25006 #else
25007 # include <assert.h>
25008 #endif
25009
25010 #undef shmat
25011
25012 /* Override any gcc2 internal prototype to avoid an error. */
25013 #ifdef __cplusplus
25014 extern "C"
25015 {
25016 #endif
25017 /* We use char because int might match the return type of a gcc2
25018 builtin and then its argument prototype would still apply. */
25019 char shmat ();
25020 /* The GNU C library defines this for functions which it implements
25021 to always fail with ENOSYS. Some functions are actually named
25022 something starting with __ and the normal name is an alias. */
25023 #if defined (__stub_shmat) || defined (__stub___shmat)
25024 choke me
25025 #else
25026 char (*f) () = shmat;
25027 #endif
25028 #ifdef __cplusplus
25029 }
25030 #endif
25031
25032 int
25033 main ()
25034 {
25035 return f != shmat;
25036 ;
25037 return 0;
25038 }
25039 _ACEOF
25040 rm -f conftest.$ac_objext conftest$ac_exeext
25041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25042 (eval $ac_link) 2>conftest.er1
25043 ac_status=$?
25044 grep -v '^ *+' conftest.er1 >conftest.err
25045 rm -f conftest.er1
25046 cat conftest.err >&5
25047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25048 (exit $ac_status); } &&
25049 { ac_try='test -z "$ac_c_werror_flag"
25050 || test ! -s conftest.err'
25051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25052 (eval $ac_try) 2>&5
25053 ac_status=$?
25054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25055 (exit $ac_status); }; } &&
25056 { ac_try='test -s conftest$ac_exeext'
25057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25058 (eval $ac_try) 2>&5
25059 ac_status=$?
25060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25061 (exit $ac_status); }; }; then
25062 ac_cv_func_shmat=yes
25063 else
25064 echo "$as_me: failed program was:" >&5
25065 sed 's/^/| /' conftest.$ac_ext >&5
25066
25067 ac_cv_func_shmat=no
25068 fi
25069 rm -f conftest.err conftest.$ac_objext \
25070 conftest$ac_exeext conftest.$ac_ext
25071 fi
25072 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25073 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25074
25075 if test $ac_cv_func_shmat = no; then
25076 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25077 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25078 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25079 echo $ECHO_N "(cached) $ECHO_C" >&6
25080 else
25081 ac_check_lib_save_LIBS=$LIBS
25082 LIBS="-lipc $LIBS"
25083 cat >conftest.$ac_ext <<_ACEOF
25084 /* confdefs.h. */
25085 _ACEOF
25086 cat confdefs.h >>conftest.$ac_ext
25087 cat >>conftest.$ac_ext <<_ACEOF
25088 /* end confdefs.h. */
25089
25090 /* Override any gcc2 internal prototype to avoid an error. */
25091 #ifdef __cplusplus
25092 extern "C"
25093 #endif
25094 /* We use char because int might match the return type of a gcc2
25095 builtin and then its argument prototype would still apply. */
25096 char shmat ();
25097 int
25098 main ()
25099 {
25100 shmat ();
25101 ;
25102 return 0;
25103 }
25104 _ACEOF
25105 rm -f conftest.$ac_objext conftest$ac_exeext
25106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25107 (eval $ac_link) 2>conftest.er1
25108 ac_status=$?
25109 grep -v '^ *+' conftest.er1 >conftest.err
25110 rm -f conftest.er1
25111 cat conftest.err >&5
25112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25113 (exit $ac_status); } &&
25114 { ac_try='test -z "$ac_c_werror_flag"
25115 || test ! -s conftest.err'
25116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25117 (eval $ac_try) 2>&5
25118 ac_status=$?
25119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25120 (exit $ac_status); }; } &&
25121 { ac_try='test -s conftest$ac_exeext'
25122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25123 (eval $ac_try) 2>&5
25124 ac_status=$?
25125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25126 (exit $ac_status); }; }; then
25127 ac_cv_lib_ipc_shmat=yes
25128 else
25129 echo "$as_me: failed program was:" >&5
25130 sed 's/^/| /' conftest.$ac_ext >&5
25131
25132 ac_cv_lib_ipc_shmat=no
25133 fi
25134 rm -f conftest.err conftest.$ac_objext \
25135 conftest$ac_exeext conftest.$ac_ext
25136 LIBS=$ac_check_lib_save_LIBS
25137 fi
25138 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25139 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25140 if test $ac_cv_lib_ipc_shmat = yes; then
25141 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25142 fi
25143
25144 fi
25145 fi
25146
25147 # Check for libraries that X11R6 Xt/Xaw programs need.
25148 ac_save_LDFLAGS=$LDFLAGS
25149 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25150 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25151 # check for ICE first), but we must link in the order -lSM -lICE or
25152 # we get undefined symbols. So assume we have SM if we have ICE.
25153 # These have to be linked with before -lX11, unlike the other
25154 # libraries we check for below, so use a different variable.
25155 # John Interrante, Karl Berry
25156 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25157 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25158 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25159 echo $ECHO_N "(cached) $ECHO_C" >&6
25160 else
25161 ac_check_lib_save_LIBS=$LIBS
25162 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25163 cat >conftest.$ac_ext <<_ACEOF
25164 /* confdefs.h. */
25165 _ACEOF
25166 cat confdefs.h >>conftest.$ac_ext
25167 cat >>conftest.$ac_ext <<_ACEOF
25168 /* end confdefs.h. */
25169
25170 /* Override any gcc2 internal prototype to avoid an error. */
25171 #ifdef __cplusplus
25172 extern "C"
25173 #endif
25174 /* We use char because int might match the return type of a gcc2
25175 builtin and then its argument prototype would still apply. */
25176 char IceConnectionNumber ();
25177 int
25178 main ()
25179 {
25180 IceConnectionNumber ();
25181 ;
25182 return 0;
25183 }
25184 _ACEOF
25185 rm -f conftest.$ac_objext conftest$ac_exeext
25186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25187 (eval $ac_link) 2>conftest.er1
25188 ac_status=$?
25189 grep -v '^ *+' conftest.er1 >conftest.err
25190 rm -f conftest.er1
25191 cat conftest.err >&5
25192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25193 (exit $ac_status); } &&
25194 { ac_try='test -z "$ac_c_werror_flag"
25195 || test ! -s conftest.err'
25196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25197 (eval $ac_try) 2>&5
25198 ac_status=$?
25199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25200 (exit $ac_status); }; } &&
25201 { ac_try='test -s conftest$ac_exeext'
25202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25203 (eval $ac_try) 2>&5
25204 ac_status=$?
25205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25206 (exit $ac_status); }; }; then
25207 ac_cv_lib_ICE_IceConnectionNumber=yes
25208 else
25209 echo "$as_me: failed program was:" >&5
25210 sed 's/^/| /' conftest.$ac_ext >&5
25211
25212 ac_cv_lib_ICE_IceConnectionNumber=no
25213 fi
25214 rm -f conftest.err conftest.$ac_objext \
25215 conftest$ac_exeext conftest.$ac_ext
25216 LIBS=$ac_check_lib_save_LIBS
25217 fi
25218 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25219 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25220 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25221 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25222 fi
25223
25224 LDFLAGS=$ac_save_LDFLAGS
25225
25226 fi
25227
25228
25229 if test "$no_x" = "yes"; then
25230 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25231 echo "$as_me: error: X11 not found" >&2;}
25232 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
25233 fi
25234
25235 GUI_TK_LIBRARY="$X_LIBS"
25236 TOOLKIT_INCLUDE="$X_CFLAGS"
25237 AFMINSTALL=afminstall
25238 COMPILED_X_PROGRAM=0
25239
25240 if test "$wxUSE_NANOX" = "yes"; then
25241 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25242 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25243 if test "x$MICROWIN" = x ; then
25244 echo "$as_me:$LINENO: result: not found" >&5
25245 echo "${ECHO_T}not found" >&6
25246 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25247 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25248 { (exit 1); exit 1; }; }
25249 else
25250 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25251 echo "${ECHO_T}$MICROWIN" >&6
25252 cat >>confdefs.h <<\_ACEOF
25253 #define wxUSE_NANOX 1
25254 _ACEOF
25255
25256 fi
25257 fi
25258
25259 if test "$wxUSE_UNICODE" = "yes"; then
25260
25261 succeeded=no
25262
25263 if test -z "$PKG_CONFIG"; then
25264 # Extract the first word of "pkg-config", so it can be a program name with args.
25265 set dummy pkg-config; ac_word=$2
25266 echo "$as_me:$LINENO: checking for $ac_word" >&5
25267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25268 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25269 echo $ECHO_N "(cached) $ECHO_C" >&6
25270 else
25271 case $PKG_CONFIG in
25272 [\\/]* | ?:[\\/]*)
25273 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25274 ;;
25275 *)
25276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25277 for as_dir in $PATH
25278 do
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_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25285 break 2
25286 fi
25287 done
25288 done
25289
25290 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25291 ;;
25292 esac
25293 fi
25294 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25295
25296 if test -n "$PKG_CONFIG"; then
25297 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25298 echo "${ECHO_T}$PKG_CONFIG" >&6
25299 else
25300 echo "$as_me:$LINENO: result: no" >&5
25301 echo "${ECHO_T}no" >&6
25302 fi
25303
25304 fi
25305
25306 if test "$PKG_CONFIG" = "no" ; then
25307 echo "*** The pkg-config script could not be found. Make sure it is"
25308 echo "*** in your path, or set the PKG_CONFIG environment variable"
25309 echo "*** to the full path to pkg-config."
25310 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25311 else
25312 PKG_CONFIG_MIN_VERSION=0.9.0
25313 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25314 echo "$as_me:$LINENO: checking for pangox" >&5
25315 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25316
25317 if $PKG_CONFIG --exists "pangox" ; then
25318 echo "$as_me:$LINENO: result: yes" >&5
25319 echo "${ECHO_T}yes" >&6
25320 succeeded=yes
25321
25322 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25323 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25324 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
25325 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25326 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25327
25328 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25329 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25330 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
25331 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25332 echo "${ECHO_T}$PANGOX_LIBS" >&6
25333 else
25334 PANGOX_CFLAGS=""
25335 PANGOX_LIBS=""
25336 ## If we have a custom action on failure, don't print errors, but
25337 ## do set a variable so people can do so.
25338 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25339
25340 fi
25341
25342
25343
25344 else
25345 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25346 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25347 fi
25348 fi
25349
25350 if test $succeeded = yes; then
25351
25352 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
25353 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25354
25355 else
25356
25357 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25358 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25359 { (exit 1); exit 1; }; }
25360
25361
25362 fi
25363
25364
25365 succeeded=no
25366
25367 if test -z "$PKG_CONFIG"; then
25368 # Extract the first word of "pkg-config", so it can be a program name with args.
25369 set dummy pkg-config; ac_word=$2
25370 echo "$as_me:$LINENO: checking for $ac_word" >&5
25371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25372 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25373 echo $ECHO_N "(cached) $ECHO_C" >&6
25374 else
25375 case $PKG_CONFIG in
25376 [\\/]* | ?:[\\/]*)
25377 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25378 ;;
25379 *)
25380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25381 for as_dir in $PATH
25382 do
25383 IFS=$as_save_IFS
25384 test -z "$as_dir" && as_dir=.
25385 for ac_exec_ext in '' $ac_executable_extensions; do
25386 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25387 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25388 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25389 break 2
25390 fi
25391 done
25392 done
25393
25394 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25395 ;;
25396 esac
25397 fi
25398 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25399
25400 if test -n "$PKG_CONFIG"; then
25401 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25402 echo "${ECHO_T}$PKG_CONFIG" >&6
25403 else
25404 echo "$as_me:$LINENO: result: no" >&5
25405 echo "${ECHO_T}no" >&6
25406 fi
25407
25408 fi
25409
25410 if test "$PKG_CONFIG" = "no" ; then
25411 echo "*** The pkg-config script could not be found. Make sure it is"
25412 echo "*** in your path, or set the PKG_CONFIG environment variable"
25413 echo "*** to the full path to pkg-config."
25414 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25415 else
25416 PKG_CONFIG_MIN_VERSION=0.9.0
25417 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25418 echo "$as_me:$LINENO: checking for pangoft2" >&5
25419 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
25420
25421 if $PKG_CONFIG --exists "pangoft2" ; then
25422 echo "$as_me:$LINENO: result: yes" >&5
25423 echo "${ECHO_T}yes" >&6
25424 succeeded=yes
25425
25426 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
25427 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
25428 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
25429 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
25430 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
25431
25432 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
25433 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
25434 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
25435 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
25436 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
25437 else
25438 PANGOFT2_CFLAGS=""
25439 PANGOFT2_LIBS=""
25440 ## If we have a custom action on failure, don't print errors, but
25441 ## do set a variable so people can do so.
25442 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25443
25444 fi
25445
25446
25447
25448 else
25449 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25450 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25451 fi
25452 fi
25453
25454 if test $succeeded = yes; then
25455
25456 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
25457 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25458
25459 else
25460
25461 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25462 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25463 wxUSE_PRINTING_ARCHITECTURE="no"
25464
25465
25466 fi
25467
25468
25469 succeeded=no
25470
25471 if test -z "$PKG_CONFIG"; then
25472 # Extract the first word of "pkg-config", so it can be a program name with args.
25473 set dummy pkg-config; ac_word=$2
25474 echo "$as_me:$LINENO: checking for $ac_word" >&5
25475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25476 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25477 echo $ECHO_N "(cached) $ECHO_C" >&6
25478 else
25479 case $PKG_CONFIG in
25480 [\\/]* | ?:[\\/]*)
25481 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25482 ;;
25483 *)
25484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25485 for as_dir in $PATH
25486 do
25487 IFS=$as_save_IFS
25488 test -z "$as_dir" && as_dir=.
25489 for ac_exec_ext in '' $ac_executable_extensions; do
25490 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25491 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25493 break 2
25494 fi
25495 done
25496 done
25497
25498 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25499 ;;
25500 esac
25501 fi
25502 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25503
25504 if test -n "$PKG_CONFIG"; then
25505 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25506 echo "${ECHO_T}$PKG_CONFIG" >&6
25507 else
25508 echo "$as_me:$LINENO: result: no" >&5
25509 echo "${ECHO_T}no" >&6
25510 fi
25511
25512 fi
25513
25514 if test "$PKG_CONFIG" = "no" ; then
25515 echo "*** The pkg-config script could not be found. Make sure it is"
25516 echo "*** in your path, or set the PKG_CONFIG environment variable"
25517 echo "*** to the full path to pkg-config."
25518 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25519 else
25520 PKG_CONFIG_MIN_VERSION=0.9.0
25521 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25522 echo "$as_me:$LINENO: checking for pangoxft" >&5
25523 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
25524
25525 if $PKG_CONFIG --exists "pangoxft" ; then
25526 echo "$as_me:$LINENO: result: yes" >&5
25527 echo "${ECHO_T}yes" >&6
25528 succeeded=yes
25529
25530 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
25531 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
25532 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
25533 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
25534 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
25535
25536 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
25537 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
25538 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
25539 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
25540 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
25541 else
25542 PANGOXFT_CFLAGS=""
25543 PANGOXFT_LIBS=""
25544 ## If we have a custom action on failure, don't print errors, but
25545 ## do set a variable so people can do so.
25546 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25547
25548 fi
25549
25550
25551
25552 else
25553 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25554 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25555 fi
25556 fi
25557
25558 if test $succeeded = yes; then
25559
25560 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
25561 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25562
25563 else
25564
25565 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25566 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25567
25568
25569 fi
25570
25571 save_CFLAGS="$CFLAGS"
25572 save_LIBS="$LIBS"
25573 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
25574 LIBS="$LIBS $PANGOX_LIBS"
25575
25576 for ac_func in pango_font_family_is_monospace
25577 do
25578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25579 echo "$as_me:$LINENO: checking for $ac_func" >&5
25580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25581 if eval "test \"\${$as_ac_var+set}\" = set"; then
25582 echo $ECHO_N "(cached) $ECHO_C" >&6
25583 else
25584 cat >conftest.$ac_ext <<_ACEOF
25585 /* confdefs.h. */
25586 _ACEOF
25587 cat confdefs.h >>conftest.$ac_ext
25588 cat >>conftest.$ac_ext <<_ACEOF
25589 /* end confdefs.h. */
25590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25592 #define $ac_func innocuous_$ac_func
25593
25594 /* System header to define __stub macros and hopefully few prototypes,
25595 which can conflict with char $ac_func (); below.
25596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25597 <limits.h> exists even on freestanding compilers. */
25598
25599 #ifdef __STDC__
25600 # include <limits.h>
25601 #else
25602 # include <assert.h>
25603 #endif
25604
25605 #undef $ac_func
25606
25607 /* Override any gcc2 internal prototype to avoid an error. */
25608 #ifdef __cplusplus
25609 extern "C"
25610 {
25611 #endif
25612 /* We use char because int might match the return type of a gcc2
25613 builtin and then its argument prototype would still apply. */
25614 char $ac_func ();
25615 /* The GNU C library defines this for functions which it implements
25616 to always fail with ENOSYS. Some functions are actually named
25617 something starting with __ and the normal name is an alias. */
25618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25619 choke me
25620 #else
25621 char (*f) () = $ac_func;
25622 #endif
25623 #ifdef __cplusplus
25624 }
25625 #endif
25626
25627 int
25628 main ()
25629 {
25630 return f != $ac_func;
25631 ;
25632 return 0;
25633 }
25634 _ACEOF
25635 rm -f conftest.$ac_objext conftest$ac_exeext
25636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25637 (eval $ac_link) 2>conftest.er1
25638 ac_status=$?
25639 grep -v '^ *+' conftest.er1 >conftest.err
25640 rm -f conftest.er1
25641 cat conftest.err >&5
25642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25643 (exit $ac_status); } &&
25644 { ac_try='test -z "$ac_c_werror_flag"
25645 || test ! -s conftest.err'
25646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25647 (eval $ac_try) 2>&5
25648 ac_status=$?
25649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25650 (exit $ac_status); }; } &&
25651 { ac_try='test -s conftest$ac_exeext'
25652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25653 (eval $ac_try) 2>&5
25654 ac_status=$?
25655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25656 (exit $ac_status); }; }; then
25657 eval "$as_ac_var=yes"
25658 else
25659 echo "$as_me: failed program was:" >&5
25660 sed 's/^/| /' conftest.$ac_ext >&5
25661
25662 eval "$as_ac_var=no"
25663 fi
25664 rm -f conftest.err conftest.$ac_objext \
25665 conftest$ac_exeext conftest.$ac_ext
25666 fi
25667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25669 if test `eval echo '${'$as_ac_var'}'` = yes; then
25670 cat >>confdefs.h <<_ACEOF
25671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25672 _ACEOF
25673
25674 fi
25675 done
25676
25677 CFLAGS="$save_CFLAGS"
25678 LIBS="$save_LIBS"
25679 fi
25680
25681 wxUSE_UNIVERSAL="yes"
25682
25683 if test "$wxUSE_NANOX" = "yes"; then
25684 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25685 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"
25686 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25687 else
25688 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
25689 fi
25690
25691 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
25692 TOOLKIT=X11
25693 GUIDIST=X11_DIST
25694 fi
25695
25696 if test "$wxUSE_MOTIF" = 1; then
25697 if test "$no_x" = yes; then
25698 # Not all programs may use this symbol, but it does not hurt to define it.
25699
25700 cat >>confdefs.h <<\_ACEOF
25701 #define X_DISPLAY_MISSING 1
25702 _ACEOF
25703
25704 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
25705 else
25706 if test -n "$x_includes"; then
25707 X_CFLAGS="$X_CFLAGS -I$x_includes"
25708 fi
25709
25710 # It would also be nice to do this for all -L options, not just this one.
25711 if test -n "$x_libraries"; then
25712 X_LIBS="$X_LIBS -L$x_libraries"
25713 # For Solaris; some versions of Sun CC require a space after -R and
25714 # others require no space. Words are not sufficient . . . .
25715 case `(uname -sr) 2>/dev/null` in
25716 "SunOS 5"*)
25717 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
25718 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
25719 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
25720 cat >conftest.$ac_ext <<_ACEOF
25721 /* confdefs.h. */
25722 _ACEOF
25723 cat confdefs.h >>conftest.$ac_ext
25724 cat >>conftest.$ac_ext <<_ACEOF
25725 /* end confdefs.h. */
25726
25727 int
25728 main ()
25729 {
25730
25731 ;
25732 return 0;
25733 }
25734 _ACEOF
25735 rm -f conftest.$ac_objext conftest$ac_exeext
25736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25737 (eval $ac_link) 2>conftest.er1
25738 ac_status=$?
25739 grep -v '^ *+' conftest.er1 >conftest.err
25740 rm -f conftest.er1
25741 cat conftest.err >&5
25742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25743 (exit $ac_status); } &&
25744 { ac_try='test -z "$ac_c_werror_flag"
25745 || test ! -s conftest.err'
25746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25747 (eval $ac_try) 2>&5
25748 ac_status=$?
25749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25750 (exit $ac_status); }; } &&
25751 { ac_try='test -s conftest$ac_exeext'
25752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25753 (eval $ac_try) 2>&5
25754 ac_status=$?
25755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25756 (exit $ac_status); }; }; then
25757 ac_R_nospace=yes
25758 else
25759 echo "$as_me: failed program was:" >&5
25760 sed 's/^/| /' conftest.$ac_ext >&5
25761
25762 ac_R_nospace=no
25763 fi
25764 rm -f conftest.err conftest.$ac_objext \
25765 conftest$ac_exeext conftest.$ac_ext
25766 if test $ac_R_nospace = yes; then
25767 echo "$as_me:$LINENO: result: no" >&5
25768 echo "${ECHO_T}no" >&6
25769 X_LIBS="$X_LIBS -R$x_libraries"
25770 else
25771 LIBS="$ac_xsave_LIBS -R $x_libraries"
25772 cat >conftest.$ac_ext <<_ACEOF
25773 /* confdefs.h. */
25774 _ACEOF
25775 cat confdefs.h >>conftest.$ac_ext
25776 cat >>conftest.$ac_ext <<_ACEOF
25777 /* end confdefs.h. */
25778
25779 int
25780 main ()
25781 {
25782
25783 ;
25784 return 0;
25785 }
25786 _ACEOF
25787 rm -f conftest.$ac_objext conftest$ac_exeext
25788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25789 (eval $ac_link) 2>conftest.er1
25790 ac_status=$?
25791 grep -v '^ *+' conftest.er1 >conftest.err
25792 rm -f conftest.er1
25793 cat conftest.err >&5
25794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25795 (exit $ac_status); } &&
25796 { ac_try='test -z "$ac_c_werror_flag"
25797 || test ! -s conftest.err'
25798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25799 (eval $ac_try) 2>&5
25800 ac_status=$?
25801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25802 (exit $ac_status); }; } &&
25803 { ac_try='test -s conftest$ac_exeext'
25804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25805 (eval $ac_try) 2>&5
25806 ac_status=$?
25807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25808 (exit $ac_status); }; }; then
25809 ac_R_space=yes
25810 else
25811 echo "$as_me: failed program was:" >&5
25812 sed 's/^/| /' conftest.$ac_ext >&5
25813
25814 ac_R_space=no
25815 fi
25816 rm -f conftest.err conftest.$ac_objext \
25817 conftest$ac_exeext conftest.$ac_ext
25818 if test $ac_R_space = yes; then
25819 echo "$as_me:$LINENO: result: yes" >&5
25820 echo "${ECHO_T}yes" >&6
25821 X_LIBS="$X_LIBS -R $x_libraries"
25822 else
25823 echo "$as_me:$LINENO: result: neither works" >&5
25824 echo "${ECHO_T}neither works" >&6
25825 fi
25826 fi
25827 LIBS=$ac_xsave_LIBS
25828 esac
25829 fi
25830
25831 # Check for system-dependent libraries X programs must link with.
25832 # Do this before checking for the system-independent R6 libraries
25833 # (-lICE), since we may need -lsocket or whatever for X linking.
25834
25835 if test "$ISC" = yes; then
25836 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25837 else
25838 # Martyn Johnson says this is needed for Ultrix, if the X
25839 # libraries were built with DECnet support. And Karl Berry says
25840 # the Alpha needs dnet_stub (dnet does not exist).
25841 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25842 cat >conftest.$ac_ext <<_ACEOF
25843 /* confdefs.h. */
25844 _ACEOF
25845 cat confdefs.h >>conftest.$ac_ext
25846 cat >>conftest.$ac_ext <<_ACEOF
25847 /* end confdefs.h. */
25848
25849 /* Override any gcc2 internal prototype to avoid an error. */
25850 #ifdef __cplusplus
25851 extern "C"
25852 #endif
25853 /* We use char because int might match the return type of a gcc2
25854 builtin and then its argument prototype would still apply. */
25855 char XOpenDisplay ();
25856 int
25857 main ()
25858 {
25859 XOpenDisplay ();
25860 ;
25861 return 0;
25862 }
25863 _ACEOF
25864 rm -f conftest.$ac_objext conftest$ac_exeext
25865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25866 (eval $ac_link) 2>conftest.er1
25867 ac_status=$?
25868 grep -v '^ *+' conftest.er1 >conftest.err
25869 rm -f conftest.er1
25870 cat conftest.err >&5
25871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25872 (exit $ac_status); } &&
25873 { ac_try='test -z "$ac_c_werror_flag"
25874 || test ! -s conftest.err'
25875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25876 (eval $ac_try) 2>&5
25877 ac_status=$?
25878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25879 (exit $ac_status); }; } &&
25880 { ac_try='test -s conftest$ac_exeext'
25881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25882 (eval $ac_try) 2>&5
25883 ac_status=$?
25884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25885 (exit $ac_status); }; }; then
25886 :
25887 else
25888 echo "$as_me: failed program was:" >&5
25889 sed 's/^/| /' conftest.$ac_ext >&5
25890
25891 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
25892 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
25893 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
25894 echo $ECHO_N "(cached) $ECHO_C" >&6
25895 else
25896 ac_check_lib_save_LIBS=$LIBS
25897 LIBS="-ldnet $LIBS"
25898 cat >conftest.$ac_ext <<_ACEOF
25899 /* confdefs.h. */
25900 _ACEOF
25901 cat confdefs.h >>conftest.$ac_ext
25902 cat >>conftest.$ac_ext <<_ACEOF
25903 /* end confdefs.h. */
25904
25905 /* Override any gcc2 internal prototype to avoid an error. */
25906 #ifdef __cplusplus
25907 extern "C"
25908 #endif
25909 /* We use char because int might match the return type of a gcc2
25910 builtin and then its argument prototype would still apply. */
25911 char dnet_ntoa ();
25912 int
25913 main ()
25914 {
25915 dnet_ntoa ();
25916 ;
25917 return 0;
25918 }
25919 _ACEOF
25920 rm -f conftest.$ac_objext conftest$ac_exeext
25921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25922 (eval $ac_link) 2>conftest.er1
25923 ac_status=$?
25924 grep -v '^ *+' conftest.er1 >conftest.err
25925 rm -f conftest.er1
25926 cat conftest.err >&5
25927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25928 (exit $ac_status); } &&
25929 { ac_try='test -z "$ac_c_werror_flag"
25930 || test ! -s conftest.err'
25931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25932 (eval $ac_try) 2>&5
25933 ac_status=$?
25934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25935 (exit $ac_status); }; } &&
25936 { ac_try='test -s conftest$ac_exeext'
25937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25938 (eval $ac_try) 2>&5
25939 ac_status=$?
25940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25941 (exit $ac_status); }; }; then
25942 ac_cv_lib_dnet_dnet_ntoa=yes
25943 else
25944 echo "$as_me: failed program was:" >&5
25945 sed 's/^/| /' conftest.$ac_ext >&5
25946
25947 ac_cv_lib_dnet_dnet_ntoa=no
25948 fi
25949 rm -f conftest.err conftest.$ac_objext \
25950 conftest$ac_exeext conftest.$ac_ext
25951 LIBS=$ac_check_lib_save_LIBS
25952 fi
25953 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25954 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
25955 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
25956 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25957 fi
25958
25959 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25960 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
25961 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
25962 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
25963 echo $ECHO_N "(cached) $ECHO_C" >&6
25964 else
25965 ac_check_lib_save_LIBS=$LIBS
25966 LIBS="-ldnet_stub $LIBS"
25967 cat >conftest.$ac_ext <<_ACEOF
25968 /* confdefs.h. */
25969 _ACEOF
25970 cat confdefs.h >>conftest.$ac_ext
25971 cat >>conftest.$ac_ext <<_ACEOF
25972 /* end confdefs.h. */
25973
25974 /* Override any gcc2 internal prototype to avoid an error. */
25975 #ifdef __cplusplus
25976 extern "C"
25977 #endif
25978 /* We use char because int might match the return type of a gcc2
25979 builtin and then its argument prototype would still apply. */
25980 char dnet_ntoa ();
25981 int
25982 main ()
25983 {
25984 dnet_ntoa ();
25985 ;
25986 return 0;
25987 }
25988 _ACEOF
25989 rm -f conftest.$ac_objext conftest$ac_exeext
25990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25991 (eval $ac_link) 2>conftest.er1
25992 ac_status=$?
25993 grep -v '^ *+' conftest.er1 >conftest.err
25994 rm -f conftest.er1
25995 cat conftest.err >&5
25996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25997 (exit $ac_status); } &&
25998 { ac_try='test -z "$ac_c_werror_flag"
25999 || test ! -s conftest.err'
26000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26001 (eval $ac_try) 2>&5
26002 ac_status=$?
26003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26004 (exit $ac_status); }; } &&
26005 { ac_try='test -s conftest$ac_exeext'
26006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26007 (eval $ac_try) 2>&5
26008 ac_status=$?
26009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26010 (exit $ac_status); }; }; then
26011 ac_cv_lib_dnet_stub_dnet_ntoa=yes
26012 else
26013 echo "$as_me: failed program was:" >&5
26014 sed 's/^/| /' conftest.$ac_ext >&5
26015
26016 ac_cv_lib_dnet_stub_dnet_ntoa=no
26017 fi
26018 rm -f conftest.err conftest.$ac_objext \
26019 conftest$ac_exeext conftest.$ac_ext
26020 LIBS=$ac_check_lib_save_LIBS
26021 fi
26022 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26023 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26024 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26025 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
26026 fi
26027
26028 fi
26029 fi
26030 rm -f conftest.err conftest.$ac_objext \
26031 conftest$ac_exeext conftest.$ac_ext
26032 LIBS="$ac_xsave_LIBS"
26033
26034 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26035 # to get the SysV transport functions.
26036 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26037 # needs -lnsl.
26038 # The nsl library prevents programs from opening the X display
26039 # on Irix 5.2, according to T.E. Dickey.
26040 # The functions gethostbyname, getservbyname, and inet_addr are
26041 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26042 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26043 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26044 if test "${ac_cv_func_gethostbyname+set}" = set; then
26045 echo $ECHO_N "(cached) $ECHO_C" >&6
26046 else
26047 cat >conftest.$ac_ext <<_ACEOF
26048 /* confdefs.h. */
26049 _ACEOF
26050 cat confdefs.h >>conftest.$ac_ext
26051 cat >>conftest.$ac_ext <<_ACEOF
26052 /* end confdefs.h. */
26053 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26055 #define gethostbyname innocuous_gethostbyname
26056
26057 /* System header to define __stub macros and hopefully few prototypes,
26058 which can conflict with char gethostbyname (); below.
26059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26060 <limits.h> exists even on freestanding compilers. */
26061
26062 #ifdef __STDC__
26063 # include <limits.h>
26064 #else
26065 # include <assert.h>
26066 #endif
26067
26068 #undef gethostbyname
26069
26070 /* Override any gcc2 internal prototype to avoid an error. */
26071 #ifdef __cplusplus
26072 extern "C"
26073 {
26074 #endif
26075 /* We use char because int might match the return type of a gcc2
26076 builtin and then its argument prototype would still apply. */
26077 char gethostbyname ();
26078 /* The GNU C library defines this for functions which it implements
26079 to always fail with ENOSYS. Some functions are actually named
26080 something starting with __ and the normal name is an alias. */
26081 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26082 choke me
26083 #else
26084 char (*f) () = gethostbyname;
26085 #endif
26086 #ifdef __cplusplus
26087 }
26088 #endif
26089
26090 int
26091 main ()
26092 {
26093 return f != gethostbyname;
26094 ;
26095 return 0;
26096 }
26097 _ACEOF
26098 rm -f conftest.$ac_objext conftest$ac_exeext
26099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26100 (eval $ac_link) 2>conftest.er1
26101 ac_status=$?
26102 grep -v '^ *+' conftest.er1 >conftest.err
26103 rm -f conftest.er1
26104 cat conftest.err >&5
26105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26106 (exit $ac_status); } &&
26107 { ac_try='test -z "$ac_c_werror_flag"
26108 || test ! -s conftest.err'
26109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26110 (eval $ac_try) 2>&5
26111 ac_status=$?
26112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26113 (exit $ac_status); }; } &&
26114 { ac_try='test -s conftest$ac_exeext'
26115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26116 (eval $ac_try) 2>&5
26117 ac_status=$?
26118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26119 (exit $ac_status); }; }; then
26120 ac_cv_func_gethostbyname=yes
26121 else
26122 echo "$as_me: failed program was:" >&5
26123 sed 's/^/| /' conftest.$ac_ext >&5
26124
26125 ac_cv_func_gethostbyname=no
26126 fi
26127 rm -f conftest.err conftest.$ac_objext \
26128 conftest$ac_exeext conftest.$ac_ext
26129 fi
26130 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26131 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26132
26133 if test $ac_cv_func_gethostbyname = no; then
26134 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26135 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26136 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26137 echo $ECHO_N "(cached) $ECHO_C" >&6
26138 else
26139 ac_check_lib_save_LIBS=$LIBS
26140 LIBS="-lnsl $LIBS"
26141 cat >conftest.$ac_ext <<_ACEOF
26142 /* confdefs.h. */
26143 _ACEOF
26144 cat confdefs.h >>conftest.$ac_ext
26145 cat >>conftest.$ac_ext <<_ACEOF
26146 /* end confdefs.h. */
26147
26148 /* Override any gcc2 internal prototype to avoid an error. */
26149 #ifdef __cplusplus
26150 extern "C"
26151 #endif
26152 /* We use char because int might match the return type of a gcc2
26153 builtin and then its argument prototype would still apply. */
26154 char gethostbyname ();
26155 int
26156 main ()
26157 {
26158 gethostbyname ();
26159 ;
26160 return 0;
26161 }
26162 _ACEOF
26163 rm -f conftest.$ac_objext conftest$ac_exeext
26164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26165 (eval $ac_link) 2>conftest.er1
26166 ac_status=$?
26167 grep -v '^ *+' conftest.er1 >conftest.err
26168 rm -f conftest.er1
26169 cat conftest.err >&5
26170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26171 (exit $ac_status); } &&
26172 { ac_try='test -z "$ac_c_werror_flag"
26173 || test ! -s conftest.err'
26174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26175 (eval $ac_try) 2>&5
26176 ac_status=$?
26177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26178 (exit $ac_status); }; } &&
26179 { ac_try='test -s conftest$ac_exeext'
26180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26181 (eval $ac_try) 2>&5
26182 ac_status=$?
26183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26184 (exit $ac_status); }; }; then
26185 ac_cv_lib_nsl_gethostbyname=yes
26186 else
26187 echo "$as_me: failed program was:" >&5
26188 sed 's/^/| /' conftest.$ac_ext >&5
26189
26190 ac_cv_lib_nsl_gethostbyname=no
26191 fi
26192 rm -f conftest.err conftest.$ac_objext \
26193 conftest$ac_exeext conftest.$ac_ext
26194 LIBS=$ac_check_lib_save_LIBS
26195 fi
26196 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
26197 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
26198 if test $ac_cv_lib_nsl_gethostbyname = yes; then
26199 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
26200 fi
26201
26202 if test $ac_cv_lib_nsl_gethostbyname = no; then
26203 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
26204 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
26205 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
26206 echo $ECHO_N "(cached) $ECHO_C" >&6
26207 else
26208 ac_check_lib_save_LIBS=$LIBS
26209 LIBS="-lbsd $LIBS"
26210 cat >conftest.$ac_ext <<_ACEOF
26211 /* confdefs.h. */
26212 _ACEOF
26213 cat confdefs.h >>conftest.$ac_ext
26214 cat >>conftest.$ac_ext <<_ACEOF
26215 /* end confdefs.h. */
26216
26217 /* Override any gcc2 internal prototype to avoid an error. */
26218 #ifdef __cplusplus
26219 extern "C"
26220 #endif
26221 /* We use char because int might match the return type of a gcc2
26222 builtin and then its argument prototype would still apply. */
26223 char gethostbyname ();
26224 int
26225 main ()
26226 {
26227 gethostbyname ();
26228 ;
26229 return 0;
26230 }
26231 _ACEOF
26232 rm -f conftest.$ac_objext conftest$ac_exeext
26233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26234 (eval $ac_link) 2>conftest.er1
26235 ac_status=$?
26236 grep -v '^ *+' conftest.er1 >conftest.err
26237 rm -f conftest.er1
26238 cat conftest.err >&5
26239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26240 (exit $ac_status); } &&
26241 { ac_try='test -z "$ac_c_werror_flag"
26242 || test ! -s conftest.err'
26243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26244 (eval $ac_try) 2>&5
26245 ac_status=$?
26246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26247 (exit $ac_status); }; } &&
26248 { ac_try='test -s conftest$ac_exeext'
26249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26250 (eval $ac_try) 2>&5
26251 ac_status=$?
26252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26253 (exit $ac_status); }; }; then
26254 ac_cv_lib_bsd_gethostbyname=yes
26255 else
26256 echo "$as_me: failed program was:" >&5
26257 sed 's/^/| /' conftest.$ac_ext >&5
26258
26259 ac_cv_lib_bsd_gethostbyname=no
26260 fi
26261 rm -f conftest.err conftest.$ac_objext \
26262 conftest$ac_exeext conftest.$ac_ext
26263 LIBS=$ac_check_lib_save_LIBS
26264 fi
26265 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
26266 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
26267 if test $ac_cv_lib_bsd_gethostbyname = yes; then
26268 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
26269 fi
26270
26271 fi
26272 fi
26273
26274 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26275 # socket/setsockopt and other routines are undefined under SCO ODT
26276 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26277 # on later versions), says Simon Leinen: it contains gethostby*
26278 # variants that don't use the name server (or something). -lsocket
26279 # must be given before -lnsl if both are needed. We assume that
26280 # if connect needs -lnsl, so does gethostbyname.
26281 echo "$as_me:$LINENO: checking for connect" >&5
26282 echo $ECHO_N "checking for connect... $ECHO_C" >&6
26283 if test "${ac_cv_func_connect+set}" = set; then
26284 echo $ECHO_N "(cached) $ECHO_C" >&6
26285 else
26286 cat >conftest.$ac_ext <<_ACEOF
26287 /* confdefs.h. */
26288 _ACEOF
26289 cat confdefs.h >>conftest.$ac_ext
26290 cat >>conftest.$ac_ext <<_ACEOF
26291 /* end confdefs.h. */
26292 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
26293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26294 #define connect innocuous_connect
26295
26296 /* System header to define __stub macros and hopefully few prototypes,
26297 which can conflict with char connect (); below.
26298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26299 <limits.h> exists even on freestanding compilers. */
26300
26301 #ifdef __STDC__
26302 # include <limits.h>
26303 #else
26304 # include <assert.h>
26305 #endif
26306
26307 #undef connect
26308
26309 /* Override any gcc2 internal prototype to avoid an error. */
26310 #ifdef __cplusplus
26311 extern "C"
26312 {
26313 #endif
26314 /* We use char because int might match the return type of a gcc2
26315 builtin and then its argument prototype would still apply. */
26316 char connect ();
26317 /* The GNU C library defines this for functions which it implements
26318 to always fail with ENOSYS. Some functions are actually named
26319 something starting with __ and the normal name is an alias. */
26320 #if defined (__stub_connect) || defined (__stub___connect)
26321 choke me
26322 #else
26323 char (*f) () = connect;
26324 #endif
26325 #ifdef __cplusplus
26326 }
26327 #endif
26328
26329 int
26330 main ()
26331 {
26332 return f != connect;
26333 ;
26334 return 0;
26335 }
26336 _ACEOF
26337 rm -f conftest.$ac_objext conftest$ac_exeext
26338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26339 (eval $ac_link) 2>conftest.er1
26340 ac_status=$?
26341 grep -v '^ *+' conftest.er1 >conftest.err
26342 rm -f conftest.er1
26343 cat conftest.err >&5
26344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26345 (exit $ac_status); } &&
26346 { ac_try='test -z "$ac_c_werror_flag"
26347 || test ! -s conftest.err'
26348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26349 (eval $ac_try) 2>&5
26350 ac_status=$?
26351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26352 (exit $ac_status); }; } &&
26353 { ac_try='test -s conftest$ac_exeext'
26354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26355 (eval $ac_try) 2>&5
26356 ac_status=$?
26357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26358 (exit $ac_status); }; }; then
26359 ac_cv_func_connect=yes
26360 else
26361 echo "$as_me: failed program was:" >&5
26362 sed 's/^/| /' conftest.$ac_ext >&5
26363
26364 ac_cv_func_connect=no
26365 fi
26366 rm -f conftest.err conftest.$ac_objext \
26367 conftest$ac_exeext conftest.$ac_ext
26368 fi
26369 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
26370 echo "${ECHO_T}$ac_cv_func_connect" >&6
26371
26372 if test $ac_cv_func_connect = no; then
26373 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
26374 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
26375 if test "${ac_cv_lib_socket_connect+set}" = set; then
26376 echo $ECHO_N "(cached) $ECHO_C" >&6
26377 else
26378 ac_check_lib_save_LIBS=$LIBS
26379 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
26380 cat >conftest.$ac_ext <<_ACEOF
26381 /* confdefs.h. */
26382 _ACEOF
26383 cat confdefs.h >>conftest.$ac_ext
26384 cat >>conftest.$ac_ext <<_ACEOF
26385 /* end confdefs.h. */
26386
26387 /* Override any gcc2 internal prototype to avoid an error. */
26388 #ifdef __cplusplus
26389 extern "C"
26390 #endif
26391 /* We use char because int might match the return type of a gcc2
26392 builtin and then its argument prototype would still apply. */
26393 char connect ();
26394 int
26395 main ()
26396 {
26397 connect ();
26398 ;
26399 return 0;
26400 }
26401 _ACEOF
26402 rm -f conftest.$ac_objext conftest$ac_exeext
26403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26404 (eval $ac_link) 2>conftest.er1
26405 ac_status=$?
26406 grep -v '^ *+' conftest.er1 >conftest.err
26407 rm -f conftest.er1
26408 cat conftest.err >&5
26409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26410 (exit $ac_status); } &&
26411 { ac_try='test -z "$ac_c_werror_flag"
26412 || test ! -s conftest.err'
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); }; } &&
26418 { ac_try='test -s conftest$ac_exeext'
26419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26420 (eval $ac_try) 2>&5
26421 ac_status=$?
26422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26423 (exit $ac_status); }; }; then
26424 ac_cv_lib_socket_connect=yes
26425 else
26426 echo "$as_me: failed program was:" >&5
26427 sed 's/^/| /' conftest.$ac_ext >&5
26428
26429 ac_cv_lib_socket_connect=no
26430 fi
26431 rm -f conftest.err conftest.$ac_objext \
26432 conftest$ac_exeext conftest.$ac_ext
26433 LIBS=$ac_check_lib_save_LIBS
26434 fi
26435 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
26436 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
26437 if test $ac_cv_lib_socket_connect = yes; then
26438 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
26439 fi
26440
26441 fi
26442
26443 # Guillermo Gomez says -lposix is necessary on A/UX.
26444 echo "$as_me:$LINENO: checking for remove" >&5
26445 echo $ECHO_N "checking for remove... $ECHO_C" >&6
26446 if test "${ac_cv_func_remove+set}" = set; then
26447 echo $ECHO_N "(cached) $ECHO_C" >&6
26448 else
26449 cat >conftest.$ac_ext <<_ACEOF
26450 /* confdefs.h. */
26451 _ACEOF
26452 cat confdefs.h >>conftest.$ac_ext
26453 cat >>conftest.$ac_ext <<_ACEOF
26454 /* end confdefs.h. */
26455 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
26456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26457 #define remove innocuous_remove
26458
26459 /* System header to define __stub macros and hopefully few prototypes,
26460 which can conflict with char remove (); below.
26461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26462 <limits.h> exists even on freestanding compilers. */
26463
26464 #ifdef __STDC__
26465 # include <limits.h>
26466 #else
26467 # include <assert.h>
26468 #endif
26469
26470 #undef remove
26471
26472 /* Override any gcc2 internal prototype to avoid an error. */
26473 #ifdef __cplusplus
26474 extern "C"
26475 {
26476 #endif
26477 /* We use char because int might match the return type of a gcc2
26478 builtin and then its argument prototype would still apply. */
26479 char remove ();
26480 /* The GNU C library defines this for functions which it implements
26481 to always fail with ENOSYS. Some functions are actually named
26482 something starting with __ and the normal name is an alias. */
26483 #if defined (__stub_remove) || defined (__stub___remove)
26484 choke me
26485 #else
26486 char (*f) () = remove;
26487 #endif
26488 #ifdef __cplusplus
26489 }
26490 #endif
26491
26492 int
26493 main ()
26494 {
26495 return f != remove;
26496 ;
26497 return 0;
26498 }
26499 _ACEOF
26500 rm -f conftest.$ac_objext conftest$ac_exeext
26501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26502 (eval $ac_link) 2>conftest.er1
26503 ac_status=$?
26504 grep -v '^ *+' conftest.er1 >conftest.err
26505 rm -f conftest.er1
26506 cat conftest.err >&5
26507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26508 (exit $ac_status); } &&
26509 { ac_try='test -z "$ac_c_werror_flag"
26510 || test ! -s conftest.err'
26511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26512 (eval $ac_try) 2>&5
26513 ac_status=$?
26514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26515 (exit $ac_status); }; } &&
26516 { ac_try='test -s conftest$ac_exeext'
26517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26518 (eval $ac_try) 2>&5
26519 ac_status=$?
26520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26521 (exit $ac_status); }; }; then
26522 ac_cv_func_remove=yes
26523 else
26524 echo "$as_me: failed program was:" >&5
26525 sed 's/^/| /' conftest.$ac_ext >&5
26526
26527 ac_cv_func_remove=no
26528 fi
26529 rm -f conftest.err conftest.$ac_objext \
26530 conftest$ac_exeext conftest.$ac_ext
26531 fi
26532 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
26533 echo "${ECHO_T}$ac_cv_func_remove" >&6
26534
26535 if test $ac_cv_func_remove = no; then
26536 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
26537 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
26538 if test "${ac_cv_lib_posix_remove+set}" = set; then
26539 echo $ECHO_N "(cached) $ECHO_C" >&6
26540 else
26541 ac_check_lib_save_LIBS=$LIBS
26542 LIBS="-lposix $LIBS"
26543 cat >conftest.$ac_ext <<_ACEOF
26544 /* confdefs.h. */
26545 _ACEOF
26546 cat confdefs.h >>conftest.$ac_ext
26547 cat >>conftest.$ac_ext <<_ACEOF
26548 /* end confdefs.h. */
26549
26550 /* Override any gcc2 internal prototype to avoid an error. */
26551 #ifdef __cplusplus
26552 extern "C"
26553 #endif
26554 /* We use char because int might match the return type of a gcc2
26555 builtin and then its argument prototype would still apply. */
26556 char remove ();
26557 int
26558 main ()
26559 {
26560 remove ();
26561 ;
26562 return 0;
26563 }
26564 _ACEOF
26565 rm -f conftest.$ac_objext conftest$ac_exeext
26566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26567 (eval $ac_link) 2>conftest.er1
26568 ac_status=$?
26569 grep -v '^ *+' conftest.er1 >conftest.err
26570 rm -f conftest.er1
26571 cat conftest.err >&5
26572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26573 (exit $ac_status); } &&
26574 { ac_try='test -z "$ac_c_werror_flag"
26575 || test ! -s conftest.err'
26576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26577 (eval $ac_try) 2>&5
26578 ac_status=$?
26579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26580 (exit $ac_status); }; } &&
26581 { ac_try='test -s conftest$ac_exeext'
26582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26583 (eval $ac_try) 2>&5
26584 ac_status=$?
26585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26586 (exit $ac_status); }; }; then
26587 ac_cv_lib_posix_remove=yes
26588 else
26589 echo "$as_me: failed program was:" >&5
26590 sed 's/^/| /' conftest.$ac_ext >&5
26591
26592 ac_cv_lib_posix_remove=no
26593 fi
26594 rm -f conftest.err conftest.$ac_objext \
26595 conftest$ac_exeext conftest.$ac_ext
26596 LIBS=$ac_check_lib_save_LIBS
26597 fi
26598 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
26599 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
26600 if test $ac_cv_lib_posix_remove = yes; then
26601 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
26602 fi
26603
26604 fi
26605
26606 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
26607 echo "$as_me:$LINENO: checking for shmat" >&5
26608 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
26609 if test "${ac_cv_func_shmat+set}" = set; then
26610 echo $ECHO_N "(cached) $ECHO_C" >&6
26611 else
26612 cat >conftest.$ac_ext <<_ACEOF
26613 /* confdefs.h. */
26614 _ACEOF
26615 cat confdefs.h >>conftest.$ac_ext
26616 cat >>conftest.$ac_ext <<_ACEOF
26617 /* end confdefs.h. */
26618 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
26619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26620 #define shmat innocuous_shmat
26621
26622 /* System header to define __stub macros and hopefully few prototypes,
26623 which can conflict with char shmat (); below.
26624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26625 <limits.h> exists even on freestanding compilers. */
26626
26627 #ifdef __STDC__
26628 # include <limits.h>
26629 #else
26630 # include <assert.h>
26631 #endif
26632
26633 #undef shmat
26634
26635 /* Override any gcc2 internal prototype to avoid an error. */
26636 #ifdef __cplusplus
26637 extern "C"
26638 {
26639 #endif
26640 /* We use char because int might match the return type of a gcc2
26641 builtin and then its argument prototype would still apply. */
26642 char shmat ();
26643 /* The GNU C library defines this for functions which it implements
26644 to always fail with ENOSYS. Some functions are actually named
26645 something starting with __ and the normal name is an alias. */
26646 #if defined (__stub_shmat) || defined (__stub___shmat)
26647 choke me
26648 #else
26649 char (*f) () = shmat;
26650 #endif
26651 #ifdef __cplusplus
26652 }
26653 #endif
26654
26655 int
26656 main ()
26657 {
26658 return f != shmat;
26659 ;
26660 return 0;
26661 }
26662 _ACEOF
26663 rm -f conftest.$ac_objext conftest$ac_exeext
26664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26665 (eval $ac_link) 2>conftest.er1
26666 ac_status=$?
26667 grep -v '^ *+' conftest.er1 >conftest.err
26668 rm -f conftest.er1
26669 cat conftest.err >&5
26670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26671 (exit $ac_status); } &&
26672 { ac_try='test -z "$ac_c_werror_flag"
26673 || test ! -s conftest.err'
26674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26675 (eval $ac_try) 2>&5
26676 ac_status=$?
26677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26678 (exit $ac_status); }; } &&
26679 { ac_try='test -s conftest$ac_exeext'
26680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26681 (eval $ac_try) 2>&5
26682 ac_status=$?
26683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26684 (exit $ac_status); }; }; then
26685 ac_cv_func_shmat=yes
26686 else
26687 echo "$as_me: failed program was:" >&5
26688 sed 's/^/| /' conftest.$ac_ext >&5
26689
26690 ac_cv_func_shmat=no
26691 fi
26692 rm -f conftest.err conftest.$ac_objext \
26693 conftest$ac_exeext conftest.$ac_ext
26694 fi
26695 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
26696 echo "${ECHO_T}$ac_cv_func_shmat" >&6
26697
26698 if test $ac_cv_func_shmat = no; then
26699 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
26700 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
26701 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
26702 echo $ECHO_N "(cached) $ECHO_C" >&6
26703 else
26704 ac_check_lib_save_LIBS=$LIBS
26705 LIBS="-lipc $LIBS"
26706 cat >conftest.$ac_ext <<_ACEOF
26707 /* confdefs.h. */
26708 _ACEOF
26709 cat confdefs.h >>conftest.$ac_ext
26710 cat >>conftest.$ac_ext <<_ACEOF
26711 /* end confdefs.h. */
26712
26713 /* Override any gcc2 internal prototype to avoid an error. */
26714 #ifdef __cplusplus
26715 extern "C"
26716 #endif
26717 /* We use char because int might match the return type of a gcc2
26718 builtin and then its argument prototype would still apply. */
26719 char shmat ();
26720 int
26721 main ()
26722 {
26723 shmat ();
26724 ;
26725 return 0;
26726 }
26727 _ACEOF
26728 rm -f conftest.$ac_objext conftest$ac_exeext
26729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26730 (eval $ac_link) 2>conftest.er1
26731 ac_status=$?
26732 grep -v '^ *+' conftest.er1 >conftest.err
26733 rm -f conftest.er1
26734 cat conftest.err >&5
26735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26736 (exit $ac_status); } &&
26737 { ac_try='test -z "$ac_c_werror_flag"
26738 || test ! -s conftest.err'
26739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26740 (eval $ac_try) 2>&5
26741 ac_status=$?
26742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26743 (exit $ac_status); }; } &&
26744 { ac_try='test -s conftest$ac_exeext'
26745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26746 (eval $ac_try) 2>&5
26747 ac_status=$?
26748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26749 (exit $ac_status); }; }; then
26750 ac_cv_lib_ipc_shmat=yes
26751 else
26752 echo "$as_me: failed program was:" >&5
26753 sed 's/^/| /' conftest.$ac_ext >&5
26754
26755 ac_cv_lib_ipc_shmat=no
26756 fi
26757 rm -f conftest.err conftest.$ac_objext \
26758 conftest$ac_exeext conftest.$ac_ext
26759 LIBS=$ac_check_lib_save_LIBS
26760 fi
26761 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
26762 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
26763 if test $ac_cv_lib_ipc_shmat = yes; then
26764 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
26765 fi
26766
26767 fi
26768 fi
26769
26770 # Check for libraries that X11R6 Xt/Xaw programs need.
26771 ac_save_LDFLAGS=$LDFLAGS
26772 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
26773 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
26774 # check for ICE first), but we must link in the order -lSM -lICE or
26775 # we get undefined symbols. So assume we have SM if we have ICE.
26776 # These have to be linked with before -lX11, unlike the other
26777 # libraries we check for below, so use a different variable.
26778 # John Interrante, Karl Berry
26779 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
26780 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
26781 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
26782 echo $ECHO_N "(cached) $ECHO_C" >&6
26783 else
26784 ac_check_lib_save_LIBS=$LIBS
26785 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
26786 cat >conftest.$ac_ext <<_ACEOF
26787 /* confdefs.h. */
26788 _ACEOF
26789 cat confdefs.h >>conftest.$ac_ext
26790 cat >>conftest.$ac_ext <<_ACEOF
26791 /* end confdefs.h. */
26792
26793 /* Override any gcc2 internal prototype to avoid an error. */
26794 #ifdef __cplusplus
26795 extern "C"
26796 #endif
26797 /* We use char because int might match the return type of a gcc2
26798 builtin and then its argument prototype would still apply. */
26799 char IceConnectionNumber ();
26800 int
26801 main ()
26802 {
26803 IceConnectionNumber ();
26804 ;
26805 return 0;
26806 }
26807 _ACEOF
26808 rm -f conftest.$ac_objext conftest$ac_exeext
26809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26810 (eval $ac_link) 2>conftest.er1
26811 ac_status=$?
26812 grep -v '^ *+' conftest.er1 >conftest.err
26813 rm -f conftest.er1
26814 cat conftest.err >&5
26815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26816 (exit $ac_status); } &&
26817 { ac_try='test -z "$ac_c_werror_flag"
26818 || test ! -s conftest.err'
26819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26820 (eval $ac_try) 2>&5
26821 ac_status=$?
26822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26823 (exit $ac_status); }; } &&
26824 { ac_try='test -s conftest$ac_exeext'
26825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26826 (eval $ac_try) 2>&5
26827 ac_status=$?
26828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26829 (exit $ac_status); }; }; then
26830 ac_cv_lib_ICE_IceConnectionNumber=yes
26831 else
26832 echo "$as_me: failed program was:" >&5
26833 sed 's/^/| /' conftest.$ac_ext >&5
26834
26835 ac_cv_lib_ICE_IceConnectionNumber=no
26836 fi
26837 rm -f conftest.err conftest.$ac_objext \
26838 conftest$ac_exeext conftest.$ac_ext
26839 LIBS=$ac_check_lib_save_LIBS
26840 fi
26841 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26842 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
26843 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
26844 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
26845 fi
26846
26847 LDFLAGS=$ac_save_LDFLAGS
26848
26849 fi
26850
26851
26852 if test "$no_x" = "yes"; then
26853 { { echo "$as_me:$LINENO: error: X11 not found" >&5
26854 echo "$as_me: error: X11 not found" >&2;}
26855 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
26856 fi
26857
26858 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
26859 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
26860 AFMINSTALL=afminstall
26861 COMPILED_X_PROGRAM=0
26862
26863 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26864 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
26865
26866 ac_find_includes=
26867 for ac_dir in $SEARCH_INCLUDE /usr/include;
26868 do
26869 if test -f "$ac_dir/Xm/Xm.h"; then
26870 ac_find_includes=$ac_dir
26871 break
26872 fi
26873 done
26874
26875 if test "$ac_find_includes" != "" ; then
26876 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26877 echo "${ECHO_T}found in $ac_find_includes" >&6
26878
26879 if test "x$ac_find_includes" = "x/usr/include"; then
26880 ac_path_to_include=""
26881 else
26882 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
26883 result=$?
26884 if test $result = 0; then
26885 ac_path_to_include=""
26886 else
26887 ac_path_to_include=" -I$ac_find_includes"
26888 fi
26889 fi
26890
26891 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
26892 else
26893 cat >conftest.$ac_ext <<_ACEOF
26894 /* confdefs.h. */
26895 _ACEOF
26896 cat confdefs.h >>conftest.$ac_ext
26897 cat >>conftest.$ac_ext <<_ACEOF
26898 /* end confdefs.h. */
26899
26900 #include <Xm/Xm.h>
26901
26902 int
26903 main ()
26904 {
26905
26906 int version;
26907 version = xmUseVersion;
26908
26909 ;
26910 return 0;
26911 }
26912 _ACEOF
26913 rm -f conftest.$ac_objext
26914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26915 (eval $ac_compile) 2>conftest.er1
26916 ac_status=$?
26917 grep -v '^ *+' conftest.er1 >conftest.err
26918 rm -f conftest.er1
26919 cat conftest.err >&5
26920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26921 (exit $ac_status); } &&
26922 { ac_try='test -z "$ac_c_werror_flag"
26923 || test ! -s conftest.err'
26924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26925 (eval $ac_try) 2>&5
26926 ac_status=$?
26927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26928 (exit $ac_status); }; } &&
26929 { ac_try='test -s conftest.$ac_objext'
26930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26931 (eval $ac_try) 2>&5
26932 ac_status=$?
26933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26934 (exit $ac_status); }; }; then
26935
26936 echo "$as_me:$LINENO: result: found in default search path" >&5
26937 echo "${ECHO_T}found in default search path" >&6
26938 COMPILED_X_PROGRAM=1
26939
26940 else
26941 echo "$as_me: failed program was:" >&5
26942 sed 's/^/| /' conftest.$ac_ext >&5
26943
26944
26945 echo "$as_me:$LINENO: result: no" >&5
26946 echo "${ECHO_T}no" >&6
26947 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26948 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26949 { (exit 1); exit 1; }; }
26950
26951
26952 fi
26953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26954 fi
26955
26956 if test "$COMPILED_X_PROGRAM" = 0; then
26957 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26958 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26959
26960 ac_find_libraries=
26961 for ac_dir in $SEARCH_LIB /usr/lib;
26962 do
26963 for ac_extension in a so sl dylib; do
26964 if test -f "$ac_dir/libXm.$ac_extension"; then
26965 ac_find_libraries=$ac_dir
26966 break 2
26967 fi
26968 done
26969 done
26970
26971 if test "$ac_find_libraries" != "" ; then
26972 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26973 echo "${ECHO_T}found at $ac_find_libraries" >&6
26974
26975
26976 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26977 result=$?
26978 if test $result = 0; then
26979 ac_path_to_link=""
26980 else
26981 ac_path_to_link=" -L$ac_find_libraries"
26982 fi
26983
26984 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26985 else
26986 save_CFLAGS=$CFLAGS
26987 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26988
26989 cat >conftest.$ac_ext <<_ACEOF
26990 /* confdefs.h. */
26991 _ACEOF
26992 cat confdefs.h >>conftest.$ac_ext
26993 cat >>conftest.$ac_ext <<_ACEOF
26994 /* end confdefs.h. */
26995
26996 #include <Xm/Xm.h>
26997
26998 int
26999 main ()
27000 {
27001
27002 int version;
27003 version = xmUseVersion;
27004
27005 ;
27006 return 0;
27007 }
27008 _ACEOF
27009 rm -f conftest.$ac_objext
27010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27011 (eval $ac_compile) 2>conftest.er1
27012 ac_status=$?
27013 grep -v '^ *+' conftest.er1 >conftest.err
27014 rm -f conftest.er1
27015 cat conftest.err >&5
27016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27017 (exit $ac_status); } &&
27018 { ac_try='test -z "$ac_c_werror_flag"
27019 || test ! -s conftest.err'
27020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27021 (eval $ac_try) 2>&5
27022 ac_status=$?
27023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27024 (exit $ac_status); }; } &&
27025 { ac_try='test -s conftest.$ac_objext'
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
27032 echo "$as_me:$LINENO: result: found in default search path" >&5
27033 echo "${ECHO_T}found in default search path" >&6
27034 COMPILED_X_PROGRAM=1
27035
27036 else
27037 echo "$as_me: failed program was:" >&5
27038 sed 's/^/| /' conftest.$ac_ext >&5
27039
27040
27041 echo "$as_me:$LINENO: result: no" >&5
27042 echo "${ECHO_T}no" >&6
27043 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
27044 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
27045 { (exit 1); exit 1; }; }
27046
27047
27048 fi
27049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27050
27051 CFLAGS=$save_CFLAGS
27052 fi
27053 fi
27054
27055 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
27056 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
27057 libp_link=""
27058 libsm_ice_link=""
27059 libs_found=0
27060 for libp in "" " -lXp"; do
27061 if test "$libs_found" = "0"; then
27062 for libsm_ice in "" " -lSM -lICE"; do
27063 if test "$libs_found" = "0"; then
27064 save_LIBS="$LIBS"
27065 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
27066 save_CFLAGS=$CFLAGS
27067 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27068
27069 cat >conftest.$ac_ext <<_ACEOF
27070 /* confdefs.h. */
27071 _ACEOF
27072 cat confdefs.h >>conftest.$ac_ext
27073 cat >>conftest.$ac_ext <<_ACEOF
27074 /* end confdefs.h. */
27075
27076 #include <Xm/Xm.h>
27077 #include <Xm/List.h>
27078
27079 int
27080 main ()
27081 {
27082
27083 XmString string = NULL;
27084 Widget w = NULL;
27085 int position = 0;
27086 XmListAddItem(w, string, position);
27087
27088 ;
27089 return 0;
27090 }
27091 _ACEOF
27092 rm -f conftest.$ac_objext conftest$ac_exeext
27093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27094 (eval $ac_link) 2>conftest.er1
27095 ac_status=$?
27096 grep -v '^ *+' conftest.er1 >conftest.err
27097 rm -f conftest.er1
27098 cat conftest.err >&5
27099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27100 (exit $ac_status); } &&
27101 { ac_try='test -z "$ac_c_werror_flag"
27102 || test ! -s conftest.err'
27103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27104 (eval $ac_try) 2>&5
27105 ac_status=$?
27106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27107 (exit $ac_status); }; } &&
27108 { ac_try='test -s conftest$ac_exeext'
27109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27110 (eval $ac_try) 2>&5
27111 ac_status=$?
27112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27113 (exit $ac_status); }; }; then
27114
27115 libp_link="$libp"
27116 libsm_ice_link="$libsm_ice"
27117 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
27118 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
27119 libs_found=1
27120
27121 else
27122 echo "$as_me: failed program was:" >&5
27123 sed 's/^/| /' conftest.$ac_ext >&5
27124
27125
27126
27127 fi
27128 rm -f conftest.err conftest.$ac_objext \
27129 conftest$ac_exeext conftest.$ac_ext
27130
27131 LIBS="$save_LIBS"
27132 CFLAGS=$save_CFLAGS
27133 fi
27134 done
27135 fi
27136 done
27137
27138 if test "$libs_found" = "0"; then
27139 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
27140 echo "${ECHO_T}can't find the right libraries" >&6
27141 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
27142 echo "$as_me: error: can't link a simple motif program" >&2;}
27143 { (exit 1); exit 1; }; }
27144 fi
27145
27146 save_CFLAGS=$CFLAGS
27147 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27148 echo "$as_me:$LINENO: checking for Motif 2" >&5
27149 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
27150 cat >conftest.$ac_ext <<_ACEOF
27151 /* confdefs.h. */
27152 _ACEOF
27153 cat confdefs.h >>conftest.$ac_ext
27154 cat >>conftest.$ac_ext <<_ACEOF
27155 /* end confdefs.h. */
27156
27157 #include <Xm/Xm.h>
27158
27159 int
27160 main ()
27161 {
27162
27163 #if XmVersion < 2000
27164 #error "Not Motif 2"
27165 #endif
27166
27167 ;
27168 return 0;
27169 }
27170 _ACEOF
27171 rm -f conftest.$ac_objext
27172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27173 (eval $ac_compile) 2>conftest.er1
27174 ac_status=$?
27175 grep -v '^ *+' conftest.er1 >conftest.err
27176 rm -f conftest.er1
27177 cat conftest.err >&5
27178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27179 (exit $ac_status); } &&
27180 { ac_try='test -z "$ac_c_werror_flag"
27181 || test ! -s conftest.err'
27182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27183 (eval $ac_try) 2>&5
27184 ac_status=$?
27185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27186 (exit $ac_status); }; } &&
27187 { ac_try='test -s conftest.$ac_objext'
27188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27189 (eval $ac_try) 2>&5
27190 ac_status=$?
27191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27192 (exit $ac_status); }; }; then
27193
27194 cat >>confdefs.h <<\_ACEOF
27195 #define __WXMOTIF20__ 1
27196 _ACEOF
27197
27198 echo "$as_me:$LINENO: result: found" >&5
27199 echo "${ECHO_T}found" >&6
27200
27201 else
27202 echo "$as_me: failed program was:" >&5
27203 sed 's/^/| /' conftest.$ac_ext >&5
27204
27205
27206 cat >>confdefs.h <<\_ACEOF
27207 #define __WXMOTIF20__ 0
27208 _ACEOF
27209
27210 echo "$as_me:$LINENO: result: not found" >&5
27211 echo "${ECHO_T}not found" >&6
27212
27213 fi
27214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27215 CFLAGS=$save_CFLAGS
27216
27217 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
27218 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
27219 TOOLKIT=MOTIF
27220 GUIDIST=MOTIF_DIST
27221 fi
27222
27223 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27224 if test "$wxUSE_LIBXPM" = "sys"; then
27225 echo "$as_me:$LINENO: checking for Xpm library" >&5
27226 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
27227
27228 ac_find_libraries=
27229 for ac_dir in $SEARCH_LIB /usr/lib;
27230 do
27231 for ac_extension in a so sl dylib; do
27232 if test -f "$ac_dir/libXpm.$ac_extension"; then
27233 ac_find_libraries=$ac_dir
27234 break 2
27235 fi
27236 done
27237 done
27238
27239 if test "$ac_find_libraries" != "" ; then
27240
27241 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
27242 result=$?
27243 if test $result = 0; then
27244 ac_path_to_link=""
27245 else
27246 ac_path_to_link=" -L$ac_find_libraries"
27247 fi
27248
27249 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
27250 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27251 echo "${ECHO_T}found at $ac_find_libraries" >&6
27252
27253 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
27254 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
27255 if test "${wx_cv_x11_xpm_h+set}" = set; then
27256 echo $ECHO_N "(cached) $ECHO_C" >&6
27257 else
27258
27259 save_CFLAGS=$CFLAGS
27260 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27261
27262 cat >conftest.$ac_ext <<_ACEOF
27263 /* confdefs.h. */
27264 _ACEOF
27265 cat confdefs.h >>conftest.$ac_ext
27266 cat >>conftest.$ac_ext <<_ACEOF
27267 /* end confdefs.h. */
27268
27269 #include <X11/xpm.h>
27270
27271 int
27272 main ()
27273 {
27274
27275 int version;
27276 version = XpmLibraryVersion();
27277
27278 ;
27279 return 0;
27280 }
27281 _ACEOF
27282 rm -f conftest.$ac_objext
27283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27284 (eval $ac_compile) 2>conftest.er1
27285 ac_status=$?
27286 grep -v '^ *+' conftest.er1 >conftest.err
27287 rm -f conftest.er1
27288 cat conftest.err >&5
27289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27290 (exit $ac_status); } &&
27291 { ac_try='test -z "$ac_c_werror_flag"
27292 || test ! -s conftest.err'
27293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27294 (eval $ac_try) 2>&5
27295 ac_status=$?
27296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27297 (exit $ac_status); }; } &&
27298 { ac_try='test -s conftest.$ac_objext'
27299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27300 (eval $ac_try) 2>&5
27301 ac_status=$?
27302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27303 (exit $ac_status); }; }; then
27304 wx_cv_x11_xpm_h=yes
27305 else
27306 echo "$as_me: failed program was:" >&5
27307 sed 's/^/| /' conftest.$ac_ext >&5
27308
27309 wx_cv_x11_xpm_h=no
27310
27311 fi
27312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27313
27314 CFLAGS=$save_CFLAGS
27315
27316
27317 fi
27318 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
27319 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
27320
27321 if test $wx_cv_x11_xpm_h = "yes"; then
27322 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
27323 cat >>confdefs.h <<\_ACEOF
27324 #define wxHAVE_LIB_XPM 1
27325 _ACEOF
27326
27327 else
27328 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
27329 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
27330 fi
27331 fi
27332
27333 fi
27334
27335 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
27336 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
27337 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
27338 echo $ECHO_N "(cached) $ECHO_C" >&6
27339 else
27340 ac_check_lib_save_LIBS=$LIBS
27341 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
27342 cat >conftest.$ac_ext <<_ACEOF
27343 /* confdefs.h. */
27344 _ACEOF
27345 cat confdefs.h >>conftest.$ac_ext
27346 cat >>conftest.$ac_ext <<_ACEOF
27347 /* end confdefs.h. */
27348
27349 /* Override any gcc2 internal prototype to avoid an error. */
27350 #ifdef __cplusplus
27351 extern "C"
27352 #endif
27353 /* We use char because int might match the return type of a gcc2
27354 builtin and then its argument prototype would still apply. */
27355 char XShapeQueryExtension ();
27356 int
27357 main ()
27358 {
27359 XShapeQueryExtension ();
27360 ;
27361 return 0;
27362 }
27363 _ACEOF
27364 rm -f conftest.$ac_objext conftest$ac_exeext
27365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27366 (eval $ac_link) 2>conftest.er1
27367 ac_status=$?
27368 grep -v '^ *+' conftest.er1 >conftest.err
27369 rm -f conftest.er1
27370 cat conftest.err >&5
27371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27372 (exit $ac_status); } &&
27373 { ac_try='test -z "$ac_c_werror_flag"
27374 || test ! -s conftest.err'
27375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27376 (eval $ac_try) 2>&5
27377 ac_status=$?
27378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27379 (exit $ac_status); }; } &&
27380 { ac_try='test -s conftest$ac_exeext'
27381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27382 (eval $ac_try) 2>&5
27383 ac_status=$?
27384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27385 (exit $ac_status); }; }; then
27386 ac_cv_lib_Xext_XShapeQueryExtension=yes
27387 else
27388 echo "$as_me: failed program was:" >&5
27389 sed 's/^/| /' conftest.$ac_ext >&5
27390
27391 ac_cv_lib_Xext_XShapeQueryExtension=no
27392 fi
27393 rm -f conftest.err conftest.$ac_objext \
27394 conftest$ac_exeext conftest.$ac_ext
27395 LIBS=$ac_check_lib_save_LIBS
27396 fi
27397 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
27398 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
27399 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
27400
27401 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
27402 wxHAVE_XEXT_LIB=1
27403
27404 fi
27405
27406
27407 if test "$wxHAVE_XEXT_LIB" = 1; then
27408 save_CFLAGS="$CFLAGS"
27409 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27410
27411 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
27412 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
27413 cat >conftest.$ac_ext <<_ACEOF
27414 /* confdefs.h. */
27415 _ACEOF
27416 cat confdefs.h >>conftest.$ac_ext
27417 cat >>conftest.$ac_ext <<_ACEOF
27418 /* end confdefs.h. */
27419
27420 #include <X11/Xlib.h>
27421 #include <X11/extensions/shape.h>
27422
27423 int
27424 main ()
27425 {
27426
27427 int dummy1, dummy2;
27428 XShapeQueryExtension((Display*)NULL,
27429 (int*)NULL, (int*)NULL);
27430
27431 ;
27432 return 0;
27433 }
27434 _ACEOF
27435 rm -f conftest.$ac_objext
27436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27437 (eval $ac_compile) 2>conftest.er1
27438 ac_status=$?
27439 grep -v '^ *+' conftest.er1 >conftest.err
27440 rm -f conftest.er1
27441 cat conftest.err >&5
27442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27443 (exit $ac_status); } &&
27444 { ac_try='test -z "$ac_c_werror_flag"
27445 || test ! -s conftest.err'
27446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27447 (eval $ac_try) 2>&5
27448 ac_status=$?
27449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27450 (exit $ac_status); }; } &&
27451 { ac_try='test -s conftest.$ac_objext'
27452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27453 (eval $ac_try) 2>&5
27454 ac_status=$?
27455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27456 (exit $ac_status); }; }; then
27457
27458 cat >>confdefs.h <<\_ACEOF
27459 #define HAVE_XSHAPE 1
27460 _ACEOF
27461
27462 echo "$as_me:$LINENO: result: found" >&5
27463 echo "${ECHO_T}found" >&6
27464
27465 else
27466 echo "$as_me: failed program was:" >&5
27467 sed 's/^/| /' conftest.$ac_ext >&5
27468
27469
27470 echo "$as_me:$LINENO: result: not found" >&5
27471 echo "${ECHO_T}not found" >&6
27472
27473 fi
27474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27475 CFLAGS="$save_CFLAGS"
27476
27477 fi
27478 fi
27479
27480 if test "$wxUSE_MAC" = 1; then
27481 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
27482 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
27483 if test "$GCC" = yes; then
27484 echo "$as_me:$LINENO: result: gcc" >&5
27485 echo "${ECHO_T}gcc" >&6
27486 CPPFLAGS_PASCAL="-fpascal-strings"
27487 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
27488 echo "$as_me:$LINENO: result: xlc" >&5
27489 echo "${ECHO_T}xlc" >&6
27490 CPPFLAGS_PASCAL="-qmacpstr"
27491 else
27492 echo "$as_me:$LINENO: result: none" >&5
27493 echo "${ECHO_T}none" >&6
27494 fi
27495
27496 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
27497
27498 TOOLKIT_VPATH="\${top_srcdir}/src/mac/carbon${PATH_IFS}\${top_srcdir}/src/mac/carbon/morefilex"
27499 TOOLKIT=MAC
27500 GUIDIST=MACX_DIST
27501 WXBASEPORT="_carbon"
27502 fi
27503
27504 if test "$wxUSE_COCOA" = 1; then
27505 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
27506 TOOLKIT=COCOA
27507 GUIDIST=COCOA_DIST
27508 fi
27509
27510 if test "$wxUSE_PM" = 1; then
27511 TOOLKIT=PM
27512 GUIDIST=PM_DIST
27513 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
27514 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
27515 if test "${wx_cv_spbcdata+set}" = set; then
27516 echo $ECHO_N "(cached) $ECHO_C" >&6
27517 else
27518
27519 cat >conftest.$ac_ext <<_ACEOF
27520 /* confdefs.h. */
27521 _ACEOF
27522 cat confdefs.h >>conftest.$ac_ext
27523 cat >>conftest.$ac_ext <<_ACEOF
27524 /* end confdefs.h. */
27525
27526 #define INCL_PM
27527 #include <os2.h>
27528
27529 int
27530 main ()
27531 {
27532
27533 SPBCDATA test;
27534
27535 ;
27536 return 0;
27537 }
27538 _ACEOF
27539 rm -f conftest.$ac_objext
27540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27541 (eval $ac_compile) 2>conftest.er1
27542 ac_status=$?
27543 grep -v '^ *+' conftest.er1 >conftest.err
27544 rm -f conftest.er1
27545 cat conftest.err >&5
27546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27547 (exit $ac_status); } &&
27548 { ac_try='test -z "$ac_c_werror_flag"
27549 || test ! -s conftest.err'
27550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27551 (eval $ac_try) 2>&5
27552 ac_status=$?
27553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27554 (exit $ac_status); }; } &&
27555 { ac_try='test -s conftest.$ac_objext'
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 wx_cv_spbcdata=yes
27562 else
27563 echo "$as_me: failed program was:" >&5
27564 sed 's/^/| /' conftest.$ac_ext >&5
27565
27566 wx_cv_spbcdata=no
27567
27568 fi
27569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27570
27571
27572 fi
27573 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
27574 echo "${ECHO_T}$wx_cv_spbcdata" >&6
27575
27576 if test $wx_cv_spbcdata = "yes"; then
27577 cat >>confdefs.h <<\_ACEOF
27578 #define HAVE_SPBCDATA 1
27579 _ACEOF
27580
27581 fi
27582 fi
27583
27584 if test "$TOOLKIT" = "PM" ; then
27585 TOOLKIT_DIR="os2"
27586 else
27587 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
27588 fi
27589
27590 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
27591
27592 if test "$wxUSE_UNIVERSAL" = "yes"; then
27593 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
27594
27595 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
27596 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
27597
27598 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
27599 if test "$wxUSE_X11" = 1; then
27600 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
27601 else
27602 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
27603 fi
27604 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
27605 WIDGET_SET=univ
27606 else
27607 ALL_OBJECTS="\$(GUIOBJS)"
27608 ALL_SOURCES="\$(ALL_SOURCES)"
27609 ALL_HEADERS="\$(ALL_HEADERS)"
27610 fi
27611
27612 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
27613
27614 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
27615 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
27616 fi
27617
27618 if test "$wxUSE_HTML" = "yes"; then
27619 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
27620 fi
27621
27622 if test "$wxUSE_LIBJPEG" = "builtin" ; then
27623 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
27624 fi
27625 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27626 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
27627 fi
27628 if test "$wxUSE_LIBPNG" = "builtin" ; then
27629 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
27630 fi
27631
27632 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
27633 DISTDIR="wx\$(TOOLKIT)"
27634 else
27635 USE_GUI=0
27636
27637 TOOLKIT_DIR="base"
27638
27639 if test "$USE_WIN32" = 1 ; then
27640 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
27641 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
27642
27643 TOOLKIT="MSW"
27644 else
27645 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
27646 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
27647 fi
27648
27649 ALL_SOURCES="\$(ALL_SOURCES)"
27650 ALL_HEADERS="\$(ALL_HEADERS)"
27651
27652 PORT_FILES="\${top_srcdir}/src/files.lst"
27653
27654 GUIDIST="BASE_DIST"
27655 DISTDIR="wxBase"
27656 fi
27657
27658
27659
27660
27661 IODBC_C_SRC=""
27662
27663
27664 if test "$TOOLKIT" != "MSW" ; then
27665
27666 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
27667
27668 if test "${ac_cv_header_sql_h+set}" = set; then
27669 echo "$as_me:$LINENO: checking for sql.h" >&5
27670 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27671 if test "${ac_cv_header_sql_h+set}" = set; then
27672 echo $ECHO_N "(cached) $ECHO_C" >&6
27673 fi
27674 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27675 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27676 else
27677 # Is the header compilable?
27678 echo "$as_me:$LINENO: checking sql.h usability" >&5
27679 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
27680 cat >conftest.$ac_ext <<_ACEOF
27681 /* confdefs.h. */
27682 _ACEOF
27683 cat confdefs.h >>conftest.$ac_ext
27684 cat >>conftest.$ac_ext <<_ACEOF
27685 /* end confdefs.h. */
27686 $ac_includes_default
27687 #include <sql.h>
27688 _ACEOF
27689 rm -f conftest.$ac_objext
27690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27691 (eval $ac_compile) 2>conftest.er1
27692 ac_status=$?
27693 grep -v '^ *+' conftest.er1 >conftest.err
27694 rm -f conftest.er1
27695 cat conftest.err >&5
27696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27697 (exit $ac_status); } &&
27698 { ac_try='test -z "$ac_c_werror_flag"
27699 || test ! -s conftest.err'
27700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27701 (eval $ac_try) 2>&5
27702 ac_status=$?
27703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27704 (exit $ac_status); }; } &&
27705 { ac_try='test -s conftest.$ac_objext'
27706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27707 (eval $ac_try) 2>&5
27708 ac_status=$?
27709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27710 (exit $ac_status); }; }; then
27711 ac_header_compiler=yes
27712 else
27713 echo "$as_me: failed program was:" >&5
27714 sed 's/^/| /' conftest.$ac_ext >&5
27715
27716 ac_header_compiler=no
27717 fi
27718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27719 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27720 echo "${ECHO_T}$ac_header_compiler" >&6
27721
27722 # Is the header present?
27723 echo "$as_me:$LINENO: checking sql.h presence" >&5
27724 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
27725 cat >conftest.$ac_ext <<_ACEOF
27726 /* confdefs.h. */
27727 _ACEOF
27728 cat confdefs.h >>conftest.$ac_ext
27729 cat >>conftest.$ac_ext <<_ACEOF
27730 /* end confdefs.h. */
27731 #include <sql.h>
27732 _ACEOF
27733 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27734 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27735 ac_status=$?
27736 grep -v '^ *+' conftest.er1 >conftest.err
27737 rm -f conftest.er1
27738 cat conftest.err >&5
27739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27740 (exit $ac_status); } >/dev/null; then
27741 if test -s conftest.err; then
27742 ac_cpp_err=$ac_c_preproc_warn_flag
27743 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27744 else
27745 ac_cpp_err=
27746 fi
27747 else
27748 ac_cpp_err=yes
27749 fi
27750 if test -z "$ac_cpp_err"; then
27751 ac_header_preproc=yes
27752 else
27753 echo "$as_me: failed program was:" >&5
27754 sed 's/^/| /' conftest.$ac_ext >&5
27755
27756 ac_header_preproc=no
27757 fi
27758 rm -f conftest.err conftest.$ac_ext
27759 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27760 echo "${ECHO_T}$ac_header_preproc" >&6
27761
27762 # So? What about this header?
27763 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27764 yes:no: )
27765 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
27766 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27767 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
27768 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
27769 ac_header_preproc=yes
27770 ;;
27771 no:yes:* )
27772 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
27773 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
27774 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
27775 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
27776 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
27777 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
27778 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
27779 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
27780 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
27781 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
27782 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
27783 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
27784 (
27785 cat <<\_ASBOX
27786 ## ----------------------------------------- ##
27787 ## Report this to wx-dev@lists.wxwidgets.org ##
27788 ## ----------------------------------------- ##
27789 _ASBOX
27790 ) |
27791 sed "s/^/$as_me: WARNING: /" >&2
27792 ;;
27793 esac
27794 echo "$as_me:$LINENO: checking for sql.h" >&5
27795 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27796 if test "${ac_cv_header_sql_h+set}" = set; then
27797 echo $ECHO_N "(cached) $ECHO_C" >&6
27798 else
27799 ac_cv_header_sql_h=$ac_header_preproc
27800 fi
27801 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27802 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27803
27804 fi
27805 if test $ac_cv_header_sql_h = yes; then
27806 found_sql_h=1
27807 fi
27808
27809
27810 if test "x$found_sql_h" = "x1" ; then
27811 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
27812 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
27813 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
27814 echo $ECHO_N "(cached) $ECHO_C" >&6
27815 else
27816 ac_check_lib_save_LIBS=$LIBS
27817 LIBS="-liodbc $LIBS"
27818 cat >conftest.$ac_ext <<_ACEOF
27819 /* confdefs.h. */
27820 _ACEOF
27821 cat confdefs.h >>conftest.$ac_ext
27822 cat >>conftest.$ac_ext <<_ACEOF
27823 /* end confdefs.h. */
27824
27825 /* Override any gcc2 internal prototype to avoid an error. */
27826 #ifdef __cplusplus
27827 extern "C"
27828 #endif
27829 /* We use char because int might match the return type of a gcc2
27830 builtin and then its argument prototype would still apply. */
27831 char SQLAllocEnv ();
27832 int
27833 main ()
27834 {
27835 SQLAllocEnv ();
27836 ;
27837 return 0;
27838 }
27839 _ACEOF
27840 rm -f conftest.$ac_objext conftest$ac_exeext
27841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27842 (eval $ac_link) 2>conftest.er1
27843 ac_status=$?
27844 grep -v '^ *+' conftest.er1 >conftest.err
27845 rm -f conftest.er1
27846 cat conftest.err >&5
27847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27848 (exit $ac_status); } &&
27849 { ac_try='test -z "$ac_c_werror_flag"
27850 || test ! -s conftest.err'
27851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27852 (eval $ac_try) 2>&5
27853 ac_status=$?
27854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27855 (exit $ac_status); }; } &&
27856 { ac_try='test -s conftest$ac_exeext'
27857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27858 (eval $ac_try) 2>&5
27859 ac_status=$?
27860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27861 (exit $ac_status); }; }; then
27862 ac_cv_lib_iodbc_SQLAllocEnv=yes
27863 else
27864 echo "$as_me: failed program was:" >&5
27865 sed 's/^/| /' conftest.$ac_ext >&5
27866
27867 ac_cv_lib_iodbc_SQLAllocEnv=no
27868 fi
27869 rm -f conftest.err conftest.$ac_objext \
27870 conftest$ac_exeext conftest.$ac_ext
27871 LIBS=$ac_check_lib_save_LIBS
27872 fi
27873 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
27874 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
27875 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
27876 ODBC_LINK=" -liodbc"
27877 else
27878
27879 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
27880 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
27881 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
27882 echo $ECHO_N "(cached) $ECHO_C" >&6
27883 else
27884 ac_check_lib_save_LIBS=$LIBS
27885 LIBS="-lunixodbc $LIBS"
27886 cat >conftest.$ac_ext <<_ACEOF
27887 /* confdefs.h. */
27888 _ACEOF
27889 cat confdefs.h >>conftest.$ac_ext
27890 cat >>conftest.$ac_ext <<_ACEOF
27891 /* end confdefs.h. */
27892
27893 /* Override any gcc2 internal prototype to avoid an error. */
27894 #ifdef __cplusplus
27895 extern "C"
27896 #endif
27897 /* We use char because int might match the return type of a gcc2
27898 builtin and then its argument prototype would still apply. */
27899 char SQLAllocEnv ();
27900 int
27901 main ()
27902 {
27903 SQLAllocEnv ();
27904 ;
27905 return 0;
27906 }
27907 _ACEOF
27908 rm -f conftest.$ac_objext conftest$ac_exeext
27909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27910 (eval $ac_link) 2>conftest.er1
27911 ac_status=$?
27912 grep -v '^ *+' conftest.er1 >conftest.err
27913 rm -f conftest.er1
27914 cat conftest.err >&5
27915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27916 (exit $ac_status); } &&
27917 { ac_try='test -z "$ac_c_werror_flag"
27918 || test ! -s conftest.err'
27919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27920 (eval $ac_try) 2>&5
27921 ac_status=$?
27922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27923 (exit $ac_status); }; } &&
27924 { ac_try='test -s conftest$ac_exeext'
27925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27926 (eval $ac_try) 2>&5
27927 ac_status=$?
27928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27929 (exit $ac_status); }; }; then
27930 ac_cv_lib_unixodbc_SQLAllocEnv=yes
27931 else
27932 echo "$as_me: failed program was:" >&5
27933 sed 's/^/| /' conftest.$ac_ext >&5
27934
27935 ac_cv_lib_unixodbc_SQLAllocEnv=no
27936 fi
27937 rm -f conftest.err conftest.$ac_objext \
27938 conftest$ac_exeext conftest.$ac_ext
27939 LIBS=$ac_check_lib_save_LIBS
27940 fi
27941 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27942 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27943 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27944 ODBC_LINK=" -lunixodbc"
27945 else
27946
27947 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27948 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27949 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27950 echo $ECHO_N "(cached) $ECHO_C" >&6
27951 else
27952 ac_check_lib_save_LIBS=$LIBS
27953 LIBS="-lodbc $LIBS"
27954 cat >conftest.$ac_ext <<_ACEOF
27955 /* confdefs.h. */
27956 _ACEOF
27957 cat confdefs.h >>conftest.$ac_ext
27958 cat >>conftest.$ac_ext <<_ACEOF
27959 /* end confdefs.h. */
27960
27961 /* Override any gcc2 internal prototype to avoid an error. */
27962 #ifdef __cplusplus
27963 extern "C"
27964 #endif
27965 /* We use char because int might match the return type of a gcc2
27966 builtin and then its argument prototype would still apply. */
27967 char SQLAllocEnv ();
27968 int
27969 main ()
27970 {
27971 SQLAllocEnv ();
27972 ;
27973 return 0;
27974 }
27975 _ACEOF
27976 rm -f conftest.$ac_objext conftest$ac_exeext
27977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27978 (eval $ac_link) 2>conftest.er1
27979 ac_status=$?
27980 grep -v '^ *+' conftest.er1 >conftest.err
27981 rm -f conftest.er1
27982 cat conftest.err >&5
27983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27984 (exit $ac_status); } &&
27985 { ac_try='test -z "$ac_c_werror_flag"
27986 || test ! -s conftest.err'
27987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27988 (eval $ac_try) 2>&5
27989 ac_status=$?
27990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27991 (exit $ac_status); }; } &&
27992 { ac_try='test -s conftest$ac_exeext'
27993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27994 (eval $ac_try) 2>&5
27995 ac_status=$?
27996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27997 (exit $ac_status); }; }; then
27998 ac_cv_lib_odbc_SQLAllocEnv=yes
27999 else
28000 echo "$as_me: failed program was:" >&5
28001 sed 's/^/| /' conftest.$ac_ext >&5
28002
28003 ac_cv_lib_odbc_SQLAllocEnv=no
28004 fi
28005 rm -f conftest.err conftest.$ac_objext \
28006 conftest$ac_exeext conftest.$ac_ext
28007 LIBS=$ac_check_lib_save_LIBS
28008 fi
28009 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
28010 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
28011 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
28012 ODBC_LINK=" -lodbc"
28013 fi
28014
28015
28016 fi
28017
28018
28019 fi
28020
28021 fi
28022 if test "x$ODBC_LINK" = "x" ; then
28023 if test "$wxUSE_ODBC" = "sys" ; then
28024 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
28025 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
28026 { (exit 1); exit 1; }; }
28027 else
28028 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
28029 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
28030 wxUSE_ODBC=builtin
28031 fi
28032 else
28033 wxUSE_ODBC=sys
28034 fi
28035 fi
28036 if test "$wxUSE_ODBC" != "no" ; then
28037 cat >>confdefs.h <<\_ACEOF
28038 #define wxUSE_ODBC 1
28039 _ACEOF
28040
28041 if test "$wxUSE_ODBC" = "builtin" ; then
28042 cat >>confdefs.h <<\_ACEOF
28043 #define wxUSE_BUILTIN_IODBC 1
28044 _ACEOF
28045
28046 fi
28047 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
28048
28049 WXODBCFLAG="-D_IODBC_"
28050 fi
28051 fi
28052
28053 if test "$wxUSE_REGEX" = "builtin" ; then
28054 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
28055 fi
28056 if test "$wxUSE_ZLIB" = "builtin" ; then
28057 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
28058 fi
28059
28060
28061 if test "$wxUSE_DISPLAY" = "yes"; then
28062 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
28063 echo "$as_me:$LINENO: checking for Xinerama" >&5
28064 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
28065
28066 ac_find_libraries=
28067 for ac_dir in $SEARCH_LIB /usr/lib;
28068 do
28069 for ac_extension in a so sl dylib; do
28070 if test -f "$ac_dir/libXinerama.$ac_extension"; then
28071 ac_find_libraries=$ac_dir
28072 break 2
28073 fi
28074 done
28075 done
28076
28077 if test "$ac_find_libraries" != "" ; then
28078
28079 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28080 result=$?
28081 if test $result = 0; then
28082 ac_path_to_link=""
28083 else
28084 ac_path_to_link=" -L$ac_find_libraries"
28085 fi
28086
28087 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28088 LDFLAGS="$LDFLAGS $ac_path_to_link"
28089 fi
28090 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
28091 echo "$as_me:$LINENO: result: yes" >&5
28092 echo "${ECHO_T}yes" >&6
28093
28094 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
28095 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
28096
28097 ac_find_libraries=
28098 for ac_dir in $SEARCH_LIB /usr/lib;
28099 do
28100 for ac_extension in a so sl dylib; do
28101 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
28102 ac_find_libraries=$ac_dir
28103 break 2
28104 fi
28105 done
28106 done
28107
28108 if test "$ac_find_libraries" != "" ; then
28109 echo "$as_me:$LINENO: result: yes" >&5
28110 echo "${ECHO_T}yes" >&6
28111
28112 for ac_header in X11/extensions/xf86vmode.h
28113 do
28114 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28115 echo "$as_me:$LINENO: checking for $ac_header" >&5
28116 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28118 echo $ECHO_N "(cached) $ECHO_C" >&6
28119 else
28120 cat >conftest.$ac_ext <<_ACEOF
28121 /* confdefs.h. */
28122 _ACEOF
28123 cat confdefs.h >>conftest.$ac_ext
28124 cat >>conftest.$ac_ext <<_ACEOF
28125 /* end confdefs.h. */
28126
28127 #if HAVE_X11_XLIB_H
28128 #include <X11/Xlib.h>
28129 #endif
28130
28131
28132 #include <$ac_header>
28133 _ACEOF
28134 rm -f conftest.$ac_objext
28135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28136 (eval $ac_compile) 2>conftest.er1
28137 ac_status=$?
28138 grep -v '^ *+' conftest.er1 >conftest.err
28139 rm -f conftest.er1
28140 cat conftest.err >&5
28141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28142 (exit $ac_status); } &&
28143 { ac_try='test -z "$ac_c_werror_flag"
28144 || test ! -s conftest.err'
28145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28146 (eval $ac_try) 2>&5
28147 ac_status=$?
28148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28149 (exit $ac_status); }; } &&
28150 { ac_try='test -s conftest.$ac_objext'
28151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28152 (eval $ac_try) 2>&5
28153 ac_status=$?
28154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28155 (exit $ac_status); }; }; then
28156 eval "$as_ac_Header=yes"
28157 else
28158 echo "$as_me: failed program was:" >&5
28159 sed 's/^/| /' conftest.$ac_ext >&5
28160
28161 eval "$as_ac_Header=no"
28162 fi
28163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28164 fi
28165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28166 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28167 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28168 cat >>confdefs.h <<_ACEOF
28169 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28170 _ACEOF
28171
28172 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
28173
28174 fi
28175
28176 done
28177
28178 else
28179 echo "$as_me:$LINENO: result: no" >&5
28180 echo "${ECHO_T}no" >&6
28181 fi
28182
28183 else
28184 echo "$as_me:$LINENO: result: no" >&5
28185 echo "${ECHO_T}no" >&6
28186 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
28187 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
28188 wxUSE_DISPLAY="no"
28189 fi
28190 elif test "$wxUSE_MSW" = 1; then
28191
28192
28193 for ac_header in multimon.h ddraw.h
28194 do
28195 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28197 echo "$as_me:$LINENO: checking for $ac_header" >&5
28198 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28199 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28200 echo $ECHO_N "(cached) $ECHO_C" >&6
28201 fi
28202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28203 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28204 else
28205 # Is the header compilable?
28206 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28207 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28208 cat >conftest.$ac_ext <<_ACEOF
28209 /* confdefs.h. */
28210 _ACEOF
28211 cat confdefs.h >>conftest.$ac_ext
28212 cat >>conftest.$ac_ext <<_ACEOF
28213 /* end confdefs.h. */
28214 $ac_includes_default
28215 #include <$ac_header>
28216 _ACEOF
28217 rm -f conftest.$ac_objext
28218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28219 (eval $ac_compile) 2>conftest.er1
28220 ac_status=$?
28221 grep -v '^ *+' conftest.er1 >conftest.err
28222 rm -f conftest.er1
28223 cat conftest.err >&5
28224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28225 (exit $ac_status); } &&
28226 { ac_try='test -z "$ac_c_werror_flag"
28227 || test ! -s conftest.err'
28228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28229 (eval $ac_try) 2>&5
28230 ac_status=$?
28231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28232 (exit $ac_status); }; } &&
28233 { ac_try='test -s conftest.$ac_objext'
28234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28235 (eval $ac_try) 2>&5
28236 ac_status=$?
28237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28238 (exit $ac_status); }; }; then
28239 ac_header_compiler=yes
28240 else
28241 echo "$as_me: failed program was:" >&5
28242 sed 's/^/| /' conftest.$ac_ext >&5
28243
28244 ac_header_compiler=no
28245 fi
28246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28247 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28248 echo "${ECHO_T}$ac_header_compiler" >&6
28249
28250 # Is the header present?
28251 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28252 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28253 cat >conftest.$ac_ext <<_ACEOF
28254 /* confdefs.h. */
28255 _ACEOF
28256 cat confdefs.h >>conftest.$ac_ext
28257 cat >>conftest.$ac_ext <<_ACEOF
28258 /* end confdefs.h. */
28259 #include <$ac_header>
28260 _ACEOF
28261 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28262 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28263 ac_status=$?
28264 grep -v '^ *+' conftest.er1 >conftest.err
28265 rm -f conftest.er1
28266 cat conftest.err >&5
28267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28268 (exit $ac_status); } >/dev/null; then
28269 if test -s conftest.err; then
28270 ac_cpp_err=$ac_c_preproc_warn_flag
28271 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28272 else
28273 ac_cpp_err=
28274 fi
28275 else
28276 ac_cpp_err=yes
28277 fi
28278 if test -z "$ac_cpp_err"; then
28279 ac_header_preproc=yes
28280 else
28281 echo "$as_me: failed program was:" >&5
28282 sed 's/^/| /' conftest.$ac_ext >&5
28283
28284 ac_header_preproc=no
28285 fi
28286 rm -f conftest.err conftest.$ac_ext
28287 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28288 echo "${ECHO_T}$ac_header_preproc" >&6
28289
28290 # So? What about this header?
28291 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28292 yes:no: )
28293 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28294 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28295 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28296 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28297 ac_header_preproc=yes
28298 ;;
28299 no:yes:* )
28300 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28301 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28302 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28303 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28304 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28305 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28306 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28307 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28308 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28309 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28310 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28311 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28312 (
28313 cat <<\_ASBOX
28314 ## ----------------------------------------- ##
28315 ## Report this to wx-dev@lists.wxwidgets.org ##
28316 ## ----------------------------------------- ##
28317 _ASBOX
28318 ) |
28319 sed "s/^/$as_me: WARNING: /" >&2
28320 ;;
28321 esac
28322 echo "$as_me:$LINENO: checking for $ac_header" >&5
28323 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28324 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28325 echo $ECHO_N "(cached) $ECHO_C" >&6
28326 else
28327 eval "$as_ac_Header=\$ac_header_preproc"
28328 fi
28329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28330 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28331
28332 fi
28333 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28334 cat >>confdefs.h <<_ACEOF
28335 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28336 _ACEOF
28337
28338 else
28339
28340 wxUSE_DISPLAY="no"
28341 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
28342 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
28343
28344 fi
28345
28346 done
28347
28348 fi
28349 fi
28350
28351
28352 USE_OPENGL=0
28353 if test "$wxUSE_OPENGL" = "yes"; then
28354 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
28355 OPENGL_LIBS="-framework OpenGL -framework AGL"
28356 elif test "$wxUSE_MSW" = 1; then
28357 OPENGL_LIBS="-lopengl32 -lglu32"
28358 else
28359
28360
28361 ac_find_includes=
28362 for ac_dir in $SEARCH_INCLUDE /usr/include;
28363 do
28364 if test -f "$ac_dir/GL/gl.h"; then
28365 ac_find_includes=$ac_dir
28366 break
28367 fi
28368 done
28369
28370 if test "$ac_find_includes" != "" ; then
28371 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28372 echo "${ECHO_T}found in $ac_find_includes" >&6
28373
28374 if test "x$ac_find_includes" = "x/usr/include"; then
28375 ac_path_to_include=""
28376 else
28377 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
28378 result=$?
28379 if test $result = 0; then
28380 ac_path_to_include=""
28381 else
28382 ac_path_to_include=" -I$ac_find_includes"
28383 fi
28384 fi
28385
28386 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
28387 fi
28388
28389 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28390 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28391 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28392 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28393 echo $ECHO_N "(cached) $ECHO_C" >&6
28394 fi
28395 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28396 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28397 else
28398 # Is the header compilable?
28399 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
28400 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
28401 cat >conftest.$ac_ext <<_ACEOF
28402 /* confdefs.h. */
28403 _ACEOF
28404 cat confdefs.h >>conftest.$ac_ext
28405 cat >>conftest.$ac_ext <<_ACEOF
28406 /* end confdefs.h. */
28407 $ac_includes_default
28408 #include <GL/gl.h>
28409 _ACEOF
28410 rm -f conftest.$ac_objext
28411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28412 (eval $ac_compile) 2>conftest.er1
28413 ac_status=$?
28414 grep -v '^ *+' conftest.er1 >conftest.err
28415 rm -f conftest.er1
28416 cat conftest.err >&5
28417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28418 (exit $ac_status); } &&
28419 { ac_try='test -z "$ac_c_werror_flag"
28420 || test ! -s conftest.err'
28421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28422 (eval $ac_try) 2>&5
28423 ac_status=$?
28424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28425 (exit $ac_status); }; } &&
28426 { ac_try='test -s conftest.$ac_objext'
28427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28428 (eval $ac_try) 2>&5
28429 ac_status=$?
28430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28431 (exit $ac_status); }; }; then
28432 ac_header_compiler=yes
28433 else
28434 echo "$as_me: failed program was:" >&5
28435 sed 's/^/| /' conftest.$ac_ext >&5
28436
28437 ac_header_compiler=no
28438 fi
28439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28440 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28441 echo "${ECHO_T}$ac_header_compiler" >&6
28442
28443 # Is the header present?
28444 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
28445 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
28446 cat >conftest.$ac_ext <<_ACEOF
28447 /* confdefs.h. */
28448 _ACEOF
28449 cat confdefs.h >>conftest.$ac_ext
28450 cat >>conftest.$ac_ext <<_ACEOF
28451 /* end confdefs.h. */
28452 #include <GL/gl.h>
28453 _ACEOF
28454 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28455 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28456 ac_status=$?
28457 grep -v '^ *+' conftest.er1 >conftest.err
28458 rm -f conftest.er1
28459 cat conftest.err >&5
28460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28461 (exit $ac_status); } >/dev/null; then
28462 if test -s conftest.err; then
28463 ac_cpp_err=$ac_c_preproc_warn_flag
28464 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28465 else
28466 ac_cpp_err=
28467 fi
28468 else
28469 ac_cpp_err=yes
28470 fi
28471 if test -z "$ac_cpp_err"; then
28472 ac_header_preproc=yes
28473 else
28474 echo "$as_me: failed program was:" >&5
28475 sed 's/^/| /' conftest.$ac_ext >&5
28476
28477 ac_header_preproc=no
28478 fi
28479 rm -f conftest.err conftest.$ac_ext
28480 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28481 echo "${ECHO_T}$ac_header_preproc" >&6
28482
28483 # So? What about this header?
28484 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28485 yes:no: )
28486 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
28487 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28488 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
28489 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
28490 ac_header_preproc=yes
28491 ;;
28492 no:yes:* )
28493 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
28494 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
28495 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
28496 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
28497 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
28498 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
28499 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
28500 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
28501 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
28502 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
28503 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
28504 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
28505 (
28506 cat <<\_ASBOX
28507 ## ----------------------------------------- ##
28508 ## Report this to wx-dev@lists.wxwidgets.org ##
28509 ## ----------------------------------------- ##
28510 _ASBOX
28511 ) |
28512 sed "s/^/$as_me: WARNING: /" >&2
28513 ;;
28514 esac
28515 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28516 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28517 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28518 echo $ECHO_N "(cached) $ECHO_C" >&6
28519 else
28520 ac_cv_header_GL_gl_h=$ac_header_preproc
28521 fi
28522 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28523 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28524
28525 fi
28526 if test $ac_cv_header_GL_gl_h = yes; then
28527
28528 found_gl=0
28529
28530 echo "$as_me:$LINENO: checking for -lGL" >&5
28531 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
28532
28533 ac_find_libraries=
28534 for ac_dir in $SEARCH_LIB /usr/lib;
28535 do
28536 for ac_extension in a so sl dylib; do
28537 if test -f "$ac_dir/libGL.$ac_extension"; then
28538 ac_find_libraries=$ac_dir
28539 break 2
28540 fi
28541 done
28542 done
28543
28544 if test "$ac_find_libraries" != "" ; then
28545
28546 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28547 result=$?
28548 if test $result = 0; then
28549 ac_path_to_link=""
28550 else
28551 ac_path_to_link=" -L$ac_find_libraries"
28552 fi
28553
28554 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28555 LDFLAGS_GL="$ac_path_to_link"
28556 fi
28557
28558
28559 ac_find_libraries=
28560 for ac_dir in $SEARCH_LIB /usr/lib;
28561 do
28562 for ac_extension in a so sl dylib; do
28563 if test -f "$ac_dir/libGLU.$ac_extension"; then
28564 ac_find_libraries=$ac_dir
28565 break 2
28566 fi
28567 done
28568 done
28569
28570 if test "$ac_find_libraries" != "" ; then
28571
28572 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28573 result=$?
28574 if test $result = 0; then
28575 ac_path_to_link=""
28576 else
28577 ac_path_to_link=" -L$ac_find_libraries"
28578 fi
28579
28580 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28581 "$ac_path_to_link" != "$LDFLAGS_GL"; then
28582 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28583 fi
28584
28585 found_gl=1
28586 OPENGL_LIBS="-lGL -lGLU"
28587 echo "$as_me:$LINENO: result: yes" >&5
28588 echo "${ECHO_T}yes" >&6
28589 fi
28590 fi
28591
28592 if test "$found_gl" != 1; then
28593 echo "$as_me:$LINENO: result: no" >&5
28594 echo "${ECHO_T}no" >&6
28595 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
28596 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
28597
28598 ac_find_libraries=
28599 for ac_dir in $SEARCH_LIB /usr/lib;
28600 do
28601 for ac_extension in a so sl dylib; do
28602 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28603 ac_find_libraries=$ac_dir
28604 break 2
28605 fi
28606 done
28607 done
28608
28609 if test "$ac_find_libraries" != "" ; then
28610
28611 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28612 result=$?
28613 if test $result = 0; then
28614 ac_path_to_link=""
28615 else
28616 ac_path_to_link=" -L$ac_find_libraries"
28617 fi
28618
28619 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
28620 OPENGL_LIBS="-lMesaGL -lMesaGLU"
28621 echo "$as_me:$LINENO: result: yes" >&5
28622 echo "${ECHO_T}yes" >&6
28623 else
28624 echo "$as_me:$LINENO: result: no" >&5
28625 echo "${ECHO_T}no" >&6
28626 fi
28627 fi
28628
28629 fi
28630
28631
28632
28633 if test "x$OPENGL_LIBS" = "x"; then
28634 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
28635 echo "$as_me: error: OpenGL libraries not available" >&2;}
28636 { (exit 1); exit 1; }; }
28637 fi
28638 fi
28639
28640 if test "$wxUSE_OPENGL" = "yes"; then
28641 USE_OPENGL=1
28642 cat >>confdefs.h <<\_ACEOF
28643 #define wxUSE_OPENGL 1
28644 _ACEOF
28645
28646 cat >>confdefs.h <<\_ACEOF
28647 #define wxUSE_GLCANVAS 1
28648 _ACEOF
28649
28650 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28651 fi
28652 fi
28653
28654 if test -z "$TOOLKIT_VPATH" ; then
28655 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
28656 fi
28657
28658 if test -n "$TOOLKIT" ; then
28659 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28660 fi
28661
28662 UNICODE=0
28663 lib_unicode_suffix=
28664 if test "$wxUSE_UNICODE" = "yes"; then
28665 lib_unicode_suffix=u
28666 UNICODE=1
28667 fi
28668
28669 lib_debug_suffix=
28670 DEBUG_FLAG=0
28671 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
28672 lib_debug_suffix=d
28673 DEBUG_FLAG=1
28674 fi
28675
28676 DEBUG_INFO=0
28677 if test "$wxUSE_DEBUG_INFO" = "yes"; then
28678 DEBUG_INFO=1
28679 fi
28680
28681 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
28682
28683 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
28684 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
28685
28686 if test "$cross_compiling" = "yes"; then
28687 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
28688 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
28689 HOST_SUFFIX="-${host_alias}"
28690 fi
28691
28692 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
28693 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
28694 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
28695 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
28696
28697 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
28698 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
28699
28700 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
28701 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
28702 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
28703 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
28704
28705 case "${host}" in
28706 *-*-cygwin* | *-*-mingw32* )
28707 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
28708 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
28709 ;;
28710
28711 *-*-darwin* )
28712
28713 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
28714 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
28715
28716 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
28717 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
28718 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
28719 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
28720
28721 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
28722 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
28723 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
28724 fi
28725 ;;
28726 esac
28727
28728 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
28729 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
28730
28731 WXCONFIG_LIBS="-l${WX_LIBRARY}"
28732 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
28733
28734 if test "$wxUSE_OPENGL" = "yes"; then
28735 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
28736 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
28737 fi
28738
28739
28740
28741 if test "$wxUSE_SHARED" = "yes"; then
28742 case "${host}" in
28743 *-pc-msdosdjgpp )
28744 wxUSE_SHARED=no
28745 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
28746 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28747 ;;
28748 esac
28749 fi
28750
28751 SHARED=0
28752 if test "$wxUSE_SHARED" = "yes"; then
28753 SHARED=1
28754
28755
28756 found_versioning=no
28757
28758
28759 if test $found_versioning = no ; then
28760 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
28761 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
28762 if test "${wx_cv_version_script+set}" = set; then
28763 echo $ECHO_N "(cached) $ECHO_C" >&6
28764 else
28765
28766 echo "VER_1 { *; };" >conftest.sym
28767 echo "int main() { return 0; }" >conftest.cpp
28768
28769 if { ac_try='
28770 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28771 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28773 (eval $ac_try) 2>&5
28774 ac_status=$?
28775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28776 (exit $ac_status); }; } ; then
28777 if test -s conftest.stderr ; then
28778 wx_cv_version_script=no
28779 else
28780 wx_cv_version_script=yes
28781 fi
28782 else
28783 wx_cv_version_script=no
28784 fi
28785 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28786
28787 fi
28788 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
28789 echo "${ECHO_T}$wx_cv_version_script" >&6
28790 if test $wx_cv_version_script = yes ; then
28791 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
28792 fi
28793 fi
28794
28795
28796 case "${host}" in
28797 *-*-linux* | *-*-gnu* )
28798 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
28799 ;;
28800
28801 *-*-solaris2* )
28802 if test "$GCC" = yes ; then
28803 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
28804
28805 saveLdflags="$LDFLAGS"
28806 LDFLAGS="$saveLdflags -Wl,-rpath,/"
28807 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
28808 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
28809 cat >conftest.$ac_ext <<_ACEOF
28810 /* confdefs.h. */
28811 _ACEOF
28812 cat confdefs.h >>conftest.$ac_ext
28813 cat >>conftest.$ac_ext <<_ACEOF
28814 /* end confdefs.h. */
28815
28816 int
28817 main ()
28818 {
28819
28820 ;
28821 return 0;
28822 }
28823 _ACEOF
28824 rm -f conftest.$ac_objext conftest$ac_exeext
28825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28826 (eval $ac_link) 2>conftest.er1
28827 ac_status=$?
28828 grep -v '^ *+' conftest.er1 >conftest.err
28829 rm -f conftest.er1
28830 cat conftest.err >&5
28831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28832 (exit $ac_status); } &&
28833 { ac_try='test -z "$ac_c_werror_flag"
28834 || test ! -s conftest.err'
28835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28836 (eval $ac_try) 2>&5
28837 ac_status=$?
28838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28839 (exit $ac_status); }; } &&
28840 { ac_try='test -s conftest$ac_exeext'
28841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28842 (eval $ac_try) 2>&5
28843 ac_status=$?
28844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28845 (exit $ac_status); }; }; then
28846
28847 echo "$as_me:$LINENO: result: yes" >&5
28848 echo "${ECHO_T}yes" >&6
28849 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
28850
28851 else
28852 echo "$as_me: failed program was:" >&5
28853 sed 's/^/| /' conftest.$ac_ext >&5
28854
28855
28856 echo "$as_me:$LINENO: result: no" >&5
28857 echo "${ECHO_T}no" >&6
28858 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
28859 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
28860 LDFLAGS="$saveLdflags -Wl,-R,/"
28861 cat >conftest.$ac_ext <<_ACEOF
28862 /* confdefs.h. */
28863 _ACEOF
28864 cat confdefs.h >>conftest.$ac_ext
28865 cat >>conftest.$ac_ext <<_ACEOF
28866 /* end confdefs.h. */
28867
28868 int
28869 main ()
28870 {
28871
28872 ;
28873 return 0;
28874 }
28875 _ACEOF
28876 rm -f conftest.$ac_objext conftest$ac_exeext
28877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28878 (eval $ac_link) 2>conftest.er1
28879 ac_status=$?
28880 grep -v '^ *+' conftest.er1 >conftest.err
28881 rm -f conftest.er1
28882 cat conftest.err >&5
28883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28884 (exit $ac_status); } &&
28885 { ac_try='test -z "$ac_c_werror_flag"
28886 || test ! -s conftest.err'
28887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28888 (eval $ac_try) 2>&5
28889 ac_status=$?
28890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28891 (exit $ac_status); }; } &&
28892 { ac_try='test -s conftest$ac_exeext'
28893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28894 (eval $ac_try) 2>&5
28895 ac_status=$?
28896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28897 (exit $ac_status); }; }; then
28898
28899 echo "$as_me:$LINENO: result: yes" >&5
28900 echo "${ECHO_T}yes" >&6
28901 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
28902 else
28903 echo "$as_me: failed program was:" >&5
28904 sed 's/^/| /' conftest.$ac_ext >&5
28905
28906
28907 echo "$as_me:$LINENO: result: no" >&5
28908 echo "${ECHO_T}no" >&6
28909
28910 fi
28911 rm -f conftest.err conftest.$ac_objext \
28912 conftest$ac_exeext conftest.$ac_ext
28913
28914 fi
28915 rm -f conftest.err conftest.$ac_objext \
28916 conftest$ac_exeext conftest.$ac_ext
28917 LDFLAGS="$saveLdflags"
28918 else
28919 SHARED_LD="${CXX} -G -o"
28920 PIC_FLAG="-KPIC"
28921 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
28922 fi
28923 ;;
28924
28925 powerpc-*-darwin* )
28926 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
28927 cat <<EOF >change-install-names
28928 #!/bin/sh
28929 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
28930 inst_cmd="install_name_tool "
28931 for i in \${libnames} ; do
28932 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
28933 done
28934 \${inst_cmd} \${3}
28935 EOF
28936 chmod +x change-install-names
28937 ;;
28938
28939 *-*-cygwin* | *-*-mingw32* )
28940 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
28941 ;;
28942
28943 esac
28944
28945 if test "x$WX_TARGET_LIBRARY" = "x"; then
28946 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
28947 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
28948 fi
28949
28950 WX_TARGET_LIBRARY_TYPE="so"
28951 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
28952 fi
28953
28954 if test "$wxUSE_SHARED" = "no"; then
28955
28956 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
28957 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
28958 fi
28959
28960 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
28961 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
28962 fi
28963
28964 if test "$wxUSE_OPENGL" = "yes"; then
28965 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
28966 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
28967 else
28968 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
28969 fi
28970
28971 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
28972 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
28973
28974 WX_TARGET_LIBRARY_TYPE="a"
28975 INSTALL_LIBRARY='$(INSTALL_DATA)'
28976
28977 STATIC_FLAG="yes"
28978 else
28979 STATIC_FLAG="no"
28980 fi
28981
28982 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
28983 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
28984 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
28985 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
28986
28987 # Extract the first word of "Rez", so it can be a program name with args.
28988 set dummy Rez; ac_word=$2
28989 echo "$as_me:$LINENO: checking for $ac_word" >&5
28990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28991 if test "${ac_cv_prog_RESCOMP+set}" = set; then
28992 echo $ECHO_N "(cached) $ECHO_C" >&6
28993 else
28994 if test -n "$RESCOMP"; then
28995 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
28996 else
28997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28998 for as_dir in $PATH
28999 do
29000 IFS=$as_save_IFS
29001 test -z "$as_dir" && as_dir=.
29002 for ac_exec_ext in '' $ac_executable_extensions; do
29003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29004 ac_cv_prog_RESCOMP="Rez"
29005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29006 break 2
29007 fi
29008 done
29009 done
29010
29011 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
29012 fi
29013 fi
29014 RESCOMP=$ac_cv_prog_RESCOMP
29015 if test -n "$RESCOMP"; then
29016 echo "$as_me:$LINENO: result: $RESCOMP" >&5
29017 echo "${ECHO_T}$RESCOMP" >&6
29018 else
29019 echo "$as_me:$LINENO: result: no" >&5
29020 echo "${ECHO_T}no" >&6
29021 fi
29022
29023 # Extract the first word of "DeRez", so it can be a program name with args.
29024 set dummy DeRez; ac_word=$2
29025 echo "$as_me:$LINENO: checking for $ac_word" >&5
29026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29027 if test "${ac_cv_prog_DEREZ+set}" = set; then
29028 echo $ECHO_N "(cached) $ECHO_C" >&6
29029 else
29030 if test -n "$DEREZ"; then
29031 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
29032 else
29033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29034 for as_dir in $PATH
29035 do
29036 IFS=$as_save_IFS
29037 test -z "$as_dir" && as_dir=.
29038 for ac_exec_ext in '' $ac_executable_extensions; do
29039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29040 ac_cv_prog_DEREZ="DeRez"
29041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29042 break 2
29043 fi
29044 done
29045 done
29046
29047 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
29048 fi
29049 fi
29050 DEREZ=$ac_cv_prog_DEREZ
29051 if test -n "$DEREZ"; then
29052 echo "$as_me:$LINENO: result: $DEREZ" >&5
29053 echo "${ECHO_T}$DEREZ" >&6
29054 else
29055 echo "$as_me:$LINENO: result: no" >&5
29056 echo "${ECHO_T}no" >&6
29057 fi
29058
29059 # Extract the first word of "SetFile", so it can be a program name with args.
29060 set dummy SetFile; ac_word=$2
29061 echo "$as_me:$LINENO: checking for $ac_word" >&5
29062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29063 if test "${ac_cv_prog_SETFILE+set}" = set; then
29064 echo $ECHO_N "(cached) $ECHO_C" >&6
29065 else
29066 if test -n "$SETFILE"; then
29067 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
29068 else
29069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29070 for as_dir in $PATH
29071 do
29072 IFS=$as_save_IFS
29073 test -z "$as_dir" && as_dir=.
29074 for ac_exec_ext in '' $ac_executable_extensions; do
29075 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29076 ac_cv_prog_SETFILE="SetFile"
29077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29078 break 2
29079 fi
29080 done
29081 done
29082
29083 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
29084 fi
29085 fi
29086 SETFILE=$ac_cv_prog_SETFILE
29087 if test -n "$SETFILE"; then
29088 echo "$as_me:$LINENO: result: $SETFILE" >&5
29089 echo "${ECHO_T}$SETFILE" >&6
29090 else
29091 echo "$as_me:$LINENO: result: no" >&5
29092 echo "${ECHO_T}no" >&6
29093 fi
29094
29095
29096 MACSETFILE="\$(SETFILE)"
29097
29098 if test "$wxUSE_MAC" = 1; then
29099 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
29100
29101 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29102 else
29103 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
29104 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29105 fi
29106 else
29107 MACSETFILE="@#"
29108 MACRESWXCONFIG="#"
29109
29110 if test "$wxUSE_PM" = 1; then
29111 MACRESCOMP="emxbind -ep"
29112 else
29113 MACRESCOMP="@#"
29114 fi
29115 fi
29116
29117
29118
29119 echo "$as_me:$LINENO: checking for mode_t" >&5
29120 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
29121 if test "${ac_cv_type_mode_t+set}" = set; then
29122 echo $ECHO_N "(cached) $ECHO_C" >&6
29123 else
29124 cat >conftest.$ac_ext <<_ACEOF
29125 /* confdefs.h. */
29126 _ACEOF
29127 cat confdefs.h >>conftest.$ac_ext
29128 cat >>conftest.$ac_ext <<_ACEOF
29129 /* end confdefs.h. */
29130 $ac_includes_default
29131 int
29132 main ()
29133 {
29134 if ((mode_t *) 0)
29135 return 0;
29136 if (sizeof (mode_t))
29137 return 0;
29138 ;
29139 return 0;
29140 }
29141 _ACEOF
29142 rm -f conftest.$ac_objext
29143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29144 (eval $ac_compile) 2>conftest.er1
29145 ac_status=$?
29146 grep -v '^ *+' conftest.er1 >conftest.err
29147 rm -f conftest.er1
29148 cat conftest.err >&5
29149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29150 (exit $ac_status); } &&
29151 { ac_try='test -z "$ac_c_werror_flag"
29152 || test ! -s conftest.err'
29153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29154 (eval $ac_try) 2>&5
29155 ac_status=$?
29156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29157 (exit $ac_status); }; } &&
29158 { ac_try='test -s conftest.$ac_objext'
29159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29160 (eval $ac_try) 2>&5
29161 ac_status=$?
29162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29163 (exit $ac_status); }; }; then
29164 ac_cv_type_mode_t=yes
29165 else
29166 echo "$as_me: failed program was:" >&5
29167 sed 's/^/| /' conftest.$ac_ext >&5
29168
29169 ac_cv_type_mode_t=no
29170 fi
29171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29172 fi
29173 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
29174 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
29175 if test $ac_cv_type_mode_t = yes; then
29176 :
29177 else
29178
29179 cat >>confdefs.h <<_ACEOF
29180 #define mode_t int
29181 _ACEOF
29182
29183 fi
29184
29185 echo "$as_me:$LINENO: checking for off_t" >&5
29186 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
29187 if test "${ac_cv_type_off_t+set}" = set; then
29188 echo $ECHO_N "(cached) $ECHO_C" >&6
29189 else
29190 cat >conftest.$ac_ext <<_ACEOF
29191 /* confdefs.h. */
29192 _ACEOF
29193 cat confdefs.h >>conftest.$ac_ext
29194 cat >>conftest.$ac_ext <<_ACEOF
29195 /* end confdefs.h. */
29196 $ac_includes_default
29197 int
29198 main ()
29199 {
29200 if ((off_t *) 0)
29201 return 0;
29202 if (sizeof (off_t))
29203 return 0;
29204 ;
29205 return 0;
29206 }
29207 _ACEOF
29208 rm -f conftest.$ac_objext
29209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29210 (eval $ac_compile) 2>conftest.er1
29211 ac_status=$?
29212 grep -v '^ *+' conftest.er1 >conftest.err
29213 rm -f conftest.er1
29214 cat conftest.err >&5
29215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29216 (exit $ac_status); } &&
29217 { ac_try='test -z "$ac_c_werror_flag"
29218 || test ! -s conftest.err'
29219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29220 (eval $ac_try) 2>&5
29221 ac_status=$?
29222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29223 (exit $ac_status); }; } &&
29224 { ac_try='test -s conftest.$ac_objext'
29225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29226 (eval $ac_try) 2>&5
29227 ac_status=$?
29228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29229 (exit $ac_status); }; }; then
29230 ac_cv_type_off_t=yes
29231 else
29232 echo "$as_me: failed program was:" >&5
29233 sed 's/^/| /' conftest.$ac_ext >&5
29234
29235 ac_cv_type_off_t=no
29236 fi
29237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29238 fi
29239 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
29240 echo "${ECHO_T}$ac_cv_type_off_t" >&6
29241 if test $ac_cv_type_off_t = yes; then
29242 :
29243 else
29244
29245 cat >>confdefs.h <<_ACEOF
29246 #define off_t long
29247 _ACEOF
29248
29249 fi
29250
29251 echo "$as_me:$LINENO: checking for pid_t" >&5
29252 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
29253 if test "${ac_cv_type_pid_t+set}" = set; then
29254 echo $ECHO_N "(cached) $ECHO_C" >&6
29255 else
29256 cat >conftest.$ac_ext <<_ACEOF
29257 /* confdefs.h. */
29258 _ACEOF
29259 cat confdefs.h >>conftest.$ac_ext
29260 cat >>conftest.$ac_ext <<_ACEOF
29261 /* end confdefs.h. */
29262 $ac_includes_default
29263 int
29264 main ()
29265 {
29266 if ((pid_t *) 0)
29267 return 0;
29268 if (sizeof (pid_t))
29269 return 0;
29270 ;
29271 return 0;
29272 }
29273 _ACEOF
29274 rm -f conftest.$ac_objext
29275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29276 (eval $ac_compile) 2>conftest.er1
29277 ac_status=$?
29278 grep -v '^ *+' conftest.er1 >conftest.err
29279 rm -f conftest.er1
29280 cat conftest.err >&5
29281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29282 (exit $ac_status); } &&
29283 { ac_try='test -z "$ac_c_werror_flag"
29284 || test ! -s conftest.err'
29285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29286 (eval $ac_try) 2>&5
29287 ac_status=$?
29288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29289 (exit $ac_status); }; } &&
29290 { ac_try='test -s conftest.$ac_objext'
29291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29292 (eval $ac_try) 2>&5
29293 ac_status=$?
29294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29295 (exit $ac_status); }; }; then
29296 ac_cv_type_pid_t=yes
29297 else
29298 echo "$as_me: failed program was:" >&5
29299 sed 's/^/| /' conftest.$ac_ext >&5
29300
29301 ac_cv_type_pid_t=no
29302 fi
29303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29304 fi
29305 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
29306 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
29307 if test $ac_cv_type_pid_t = yes; then
29308 :
29309 else
29310
29311 cat >>confdefs.h <<_ACEOF
29312 #define pid_t int
29313 _ACEOF
29314
29315 fi
29316
29317 echo "$as_me:$LINENO: checking for size_t" >&5
29318 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
29319 if test "${ac_cv_type_size_t+set}" = set; then
29320 echo $ECHO_N "(cached) $ECHO_C" >&6
29321 else
29322 cat >conftest.$ac_ext <<_ACEOF
29323 /* confdefs.h. */
29324 _ACEOF
29325 cat confdefs.h >>conftest.$ac_ext
29326 cat >>conftest.$ac_ext <<_ACEOF
29327 /* end confdefs.h. */
29328 $ac_includes_default
29329 int
29330 main ()
29331 {
29332 if ((size_t *) 0)
29333 return 0;
29334 if (sizeof (size_t))
29335 return 0;
29336 ;
29337 return 0;
29338 }
29339 _ACEOF
29340 rm -f conftest.$ac_objext
29341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29342 (eval $ac_compile) 2>conftest.er1
29343 ac_status=$?
29344 grep -v '^ *+' conftest.er1 >conftest.err
29345 rm -f conftest.er1
29346 cat conftest.err >&5
29347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29348 (exit $ac_status); } &&
29349 { ac_try='test -z "$ac_c_werror_flag"
29350 || test ! -s conftest.err'
29351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29352 (eval $ac_try) 2>&5
29353 ac_status=$?
29354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29355 (exit $ac_status); }; } &&
29356 { ac_try='test -s conftest.$ac_objext'
29357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29358 (eval $ac_try) 2>&5
29359 ac_status=$?
29360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29361 (exit $ac_status); }; }; then
29362 ac_cv_type_size_t=yes
29363 else
29364 echo "$as_me: failed program was:" >&5
29365 sed 's/^/| /' conftest.$ac_ext >&5
29366
29367 ac_cv_type_size_t=no
29368 fi
29369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29370 fi
29371 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
29372 echo "${ECHO_T}$ac_cv_type_size_t" >&6
29373 if test $ac_cv_type_size_t = yes; then
29374 :
29375 else
29376
29377 cat >>confdefs.h <<_ACEOF
29378 #define size_t unsigned
29379 _ACEOF
29380
29381 fi
29382
29383 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
29384 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
29385 if test "${ac_cv_type_uid_t+set}" = set; then
29386 echo $ECHO_N "(cached) $ECHO_C" >&6
29387 else
29388 cat >conftest.$ac_ext <<_ACEOF
29389 /* confdefs.h. */
29390 _ACEOF
29391 cat confdefs.h >>conftest.$ac_ext
29392 cat >>conftest.$ac_ext <<_ACEOF
29393 /* end confdefs.h. */
29394 #include <sys/types.h>
29395
29396 _ACEOF
29397 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29398 $EGREP "uid_t" >/dev/null 2>&1; then
29399 ac_cv_type_uid_t=yes
29400 else
29401 ac_cv_type_uid_t=no
29402 fi
29403 rm -f conftest*
29404
29405 fi
29406 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
29407 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
29408 if test $ac_cv_type_uid_t = no; then
29409
29410 cat >>confdefs.h <<\_ACEOF
29411 #define uid_t int
29412 _ACEOF
29413
29414
29415 cat >>confdefs.h <<\_ACEOF
29416 #define gid_t int
29417 _ACEOF
29418
29419 fi
29420
29421
29422
29423
29424 ac_ext=cc
29425 ac_cpp='$CXXCPP $CPPFLAGS'
29426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29429
29430 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
29431 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
29432 if test "${wx_cv_size_t_is_uint+set}" = set; then
29433 echo $ECHO_N "(cached) $ECHO_C" >&6
29434 else
29435
29436 cat >conftest.$ac_ext <<_ACEOF
29437 /* confdefs.h. */
29438 _ACEOF
29439 cat confdefs.h >>conftest.$ac_ext
29440 cat >>conftest.$ac_ext <<_ACEOF
29441 /* end confdefs.h. */
29442 #include <stddef.h>
29443 int
29444 main ()
29445 {
29446
29447 return 0; }
29448
29449 struct Foo { void foo(size_t); void foo(unsigned int); };
29450
29451 int bar() {
29452
29453 ;
29454 return 0;
29455 }
29456 _ACEOF
29457 rm -f conftest.$ac_objext
29458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29459 (eval $ac_compile) 2>conftest.er1
29460 ac_status=$?
29461 grep -v '^ *+' conftest.er1 >conftest.err
29462 rm -f conftest.er1
29463 cat conftest.err >&5
29464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29465 (exit $ac_status); } &&
29466 { ac_try='test -z "$ac_cxx_werror_flag"
29467 || test ! -s conftest.err'
29468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29469 (eval $ac_try) 2>&5
29470 ac_status=$?
29471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29472 (exit $ac_status); }; } &&
29473 { ac_try='test -s conftest.$ac_objext'
29474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29475 (eval $ac_try) 2>&5
29476 ac_status=$?
29477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29478 (exit $ac_status); }; }; then
29479 wx_cv_size_t_is_uint=no
29480 else
29481 echo "$as_me: failed program was:" >&5
29482 sed 's/^/| /' conftest.$ac_ext >&5
29483
29484 wx_cv_size_t_is_uint=yes
29485
29486 fi
29487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29488
29489
29490 fi
29491 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
29492 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
29493
29494 if test "$wx_cv_size_t_is_uint" = "yes"; then
29495 cat >>confdefs.h <<\_ACEOF
29496 #define wxSIZE_T_IS_UINT 1
29497 _ACEOF
29498
29499 else
29500 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
29501 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
29502 if test "${wx_cv_size_t_is_ulong+set}" = set; then
29503 echo $ECHO_N "(cached) $ECHO_C" >&6
29504 else
29505 cat >conftest.$ac_ext <<_ACEOF
29506 /* confdefs.h. */
29507 _ACEOF
29508 cat confdefs.h >>conftest.$ac_ext
29509 cat >>conftest.$ac_ext <<_ACEOF
29510 /* end confdefs.h. */
29511 #include <stddef.h>
29512 int
29513 main ()
29514 {
29515
29516 return 0; }
29517
29518 struct Foo { void foo(size_t); void foo(unsigned long); };
29519
29520 int bar() {
29521
29522 ;
29523 return 0;
29524 }
29525 _ACEOF
29526 rm -f conftest.$ac_objext
29527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29528 (eval $ac_compile) 2>conftest.er1
29529 ac_status=$?
29530 grep -v '^ *+' conftest.er1 >conftest.err
29531 rm -f conftest.er1
29532 cat conftest.err >&5
29533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29534 (exit $ac_status); } &&
29535 { ac_try='test -z "$ac_cxx_werror_flag"
29536 || test ! -s conftest.err'
29537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29538 (eval $ac_try) 2>&5
29539 ac_status=$?
29540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29541 (exit $ac_status); }; } &&
29542 { ac_try='test -s conftest.$ac_objext'
29543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29544 (eval $ac_try) 2>&5
29545 ac_status=$?
29546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29547 (exit $ac_status); }; }; then
29548 wx_cv_size_t_is_ulong=no
29549 else
29550 echo "$as_me: failed program was:" >&5
29551 sed 's/^/| /' conftest.$ac_ext >&5
29552
29553 wx_cv_size_t_is_ulong=yes
29554
29555 fi
29556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29557
29558 fi
29559 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
29560 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
29561
29562 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29563 cat >>confdefs.h <<\_ACEOF
29564 #define wxSIZE_T_IS_ULONG 1
29565 _ACEOF
29566
29567 fi
29568 fi
29569
29570 ac_ext=c
29571 ac_cpp='$CPP $CPPFLAGS'
29572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29575
29576
29577
29578 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
29579 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
29580 if test "${wx_cv_struct_pw_gecos+set}" = set; then
29581 echo $ECHO_N "(cached) $ECHO_C" >&6
29582 else
29583
29584 cat >conftest.$ac_ext <<_ACEOF
29585 /* confdefs.h. */
29586 _ACEOF
29587 cat confdefs.h >>conftest.$ac_ext
29588 cat >>conftest.$ac_ext <<_ACEOF
29589 /* end confdefs.h. */
29590 #include <pwd.h>
29591 int
29592 main ()
29593 {
29594
29595 char *p;
29596 struct passwd *pw;
29597 p = pw->pw_gecos;
29598
29599 ;
29600 return 0;
29601 }
29602 _ACEOF
29603 rm -f conftest.$ac_objext
29604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29605 (eval $ac_compile) 2>conftest.er1
29606 ac_status=$?
29607 grep -v '^ *+' conftest.er1 >conftest.err
29608 rm -f conftest.er1
29609 cat conftest.err >&5
29610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29611 (exit $ac_status); } &&
29612 { ac_try='test -z "$ac_c_werror_flag"
29613 || test ! -s conftest.err'
29614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29615 (eval $ac_try) 2>&5
29616 ac_status=$?
29617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29618 (exit $ac_status); }; } &&
29619 { ac_try='test -s conftest.$ac_objext'
29620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29621 (eval $ac_try) 2>&5
29622 ac_status=$?
29623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29624 (exit $ac_status); }; }; then
29625
29626 wx_cv_struct_pw_gecos=yes
29627
29628 else
29629 echo "$as_me: failed program was:" >&5
29630 sed 's/^/| /' conftest.$ac_ext >&5
29631
29632
29633 wx_cv_struct_pw_gecos=no
29634
29635
29636 fi
29637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29638
29639
29640 fi
29641 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
29642 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
29643
29644 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29645 cat >>confdefs.h <<\_ACEOF
29646 #define HAVE_PW_GECOS 1
29647 _ACEOF
29648
29649 fi
29650
29651
29652 if test "$wx_cv_sizeof_wchar_t" != "0"; then
29653 cat >>confdefs.h <<\_ACEOF
29654 #define wxUSE_WCHAR_T 1
29655 _ACEOF
29656
29657
29658 WCSLEN_FOUND=0
29659 WCHAR_LINK=
29660
29661 for ac_func in wcslen
29662 do
29663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29664 echo "$as_me:$LINENO: checking for $ac_func" >&5
29665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29666 if eval "test \"\${$as_ac_var+set}\" = set"; then
29667 echo $ECHO_N "(cached) $ECHO_C" >&6
29668 else
29669 cat >conftest.$ac_ext <<_ACEOF
29670 /* confdefs.h. */
29671 _ACEOF
29672 cat confdefs.h >>conftest.$ac_ext
29673 cat >>conftest.$ac_ext <<_ACEOF
29674 /* end confdefs.h. */
29675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29677 #define $ac_func innocuous_$ac_func
29678
29679 /* System header to define __stub macros and hopefully few prototypes,
29680 which can conflict with char $ac_func (); below.
29681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29682 <limits.h> exists even on freestanding compilers. */
29683
29684 #ifdef __STDC__
29685 # include <limits.h>
29686 #else
29687 # include <assert.h>
29688 #endif
29689
29690 #undef $ac_func
29691
29692 /* Override any gcc2 internal prototype to avoid an error. */
29693 #ifdef __cplusplus
29694 extern "C"
29695 {
29696 #endif
29697 /* We use char because int might match the return type of a gcc2
29698 builtin and then its argument prototype would still apply. */
29699 char $ac_func ();
29700 /* The GNU C library defines this for functions which it implements
29701 to always fail with ENOSYS. Some functions are actually named
29702 something starting with __ and the normal name is an alias. */
29703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29704 choke me
29705 #else
29706 char (*f) () = $ac_func;
29707 #endif
29708 #ifdef __cplusplus
29709 }
29710 #endif
29711
29712 int
29713 main ()
29714 {
29715 return f != $ac_func;
29716 ;
29717 return 0;
29718 }
29719 _ACEOF
29720 rm -f conftest.$ac_objext conftest$ac_exeext
29721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29722 (eval $ac_link) 2>conftest.er1
29723 ac_status=$?
29724 grep -v '^ *+' conftest.er1 >conftest.err
29725 rm -f conftest.er1
29726 cat conftest.err >&5
29727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29728 (exit $ac_status); } &&
29729 { ac_try='test -z "$ac_c_werror_flag"
29730 || test ! -s conftest.err'
29731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29732 (eval $ac_try) 2>&5
29733 ac_status=$?
29734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29735 (exit $ac_status); }; } &&
29736 { ac_try='test -s conftest$ac_exeext'
29737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29738 (eval $ac_try) 2>&5
29739 ac_status=$?
29740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29741 (exit $ac_status); }; }; then
29742 eval "$as_ac_var=yes"
29743 else
29744 echo "$as_me: failed program was:" >&5
29745 sed 's/^/| /' conftest.$ac_ext >&5
29746
29747 eval "$as_ac_var=no"
29748 fi
29749 rm -f conftest.err conftest.$ac_objext \
29750 conftest$ac_exeext conftest.$ac_ext
29751 fi
29752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29754 if test `eval echo '${'$as_ac_var'}'` = yes; then
29755 cat >>confdefs.h <<_ACEOF
29756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29757 _ACEOF
29758 WCSLEN_FOUND=1
29759 fi
29760 done
29761
29762
29763 if test "$WCSLEN_FOUND" = 0; then
29764 if test "$TOOLKIT" = "MSW"; then
29765 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
29766 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
29767 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
29768 echo $ECHO_N "(cached) $ECHO_C" >&6
29769 else
29770 ac_check_lib_save_LIBS=$LIBS
29771 LIBS="-lmsvcrt $LIBS"
29772 cat >conftest.$ac_ext <<_ACEOF
29773 /* confdefs.h. */
29774 _ACEOF
29775 cat confdefs.h >>conftest.$ac_ext
29776 cat >>conftest.$ac_ext <<_ACEOF
29777 /* end confdefs.h. */
29778
29779 /* Override any gcc2 internal prototype to avoid an error. */
29780 #ifdef __cplusplus
29781 extern "C"
29782 #endif
29783 /* We use char because int might match the return type of a gcc2
29784 builtin and then its argument prototype would still apply. */
29785 char wcslen ();
29786 int
29787 main ()
29788 {
29789 wcslen ();
29790 ;
29791 return 0;
29792 }
29793 _ACEOF
29794 rm -f conftest.$ac_objext conftest$ac_exeext
29795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29796 (eval $ac_link) 2>conftest.er1
29797 ac_status=$?
29798 grep -v '^ *+' conftest.er1 >conftest.err
29799 rm -f conftest.er1
29800 cat conftest.err >&5
29801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29802 (exit $ac_status); } &&
29803 { ac_try='test -z "$ac_c_werror_flag"
29804 || test ! -s conftest.err'
29805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29806 (eval $ac_try) 2>&5
29807 ac_status=$?
29808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29809 (exit $ac_status); }; } &&
29810 { ac_try='test -s conftest$ac_exeext'
29811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29812 (eval $ac_try) 2>&5
29813 ac_status=$?
29814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29815 (exit $ac_status); }; }; then
29816 ac_cv_lib_msvcrt_wcslen=yes
29817 else
29818 echo "$as_me: failed program was:" >&5
29819 sed 's/^/| /' conftest.$ac_ext >&5
29820
29821 ac_cv_lib_msvcrt_wcslen=no
29822 fi
29823 rm -f conftest.err conftest.$ac_objext \
29824 conftest$ac_exeext conftest.$ac_ext
29825 LIBS=$ac_check_lib_save_LIBS
29826 fi
29827 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
29828 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
29829 if test $ac_cv_lib_msvcrt_wcslen = yes; then
29830 WCHAR_OK=1
29831 fi
29832
29833 else
29834 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
29835 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
29836 if test "${ac_cv_lib_w_wcslen+set}" = set; then
29837 echo $ECHO_N "(cached) $ECHO_C" >&6
29838 else
29839 ac_check_lib_save_LIBS=$LIBS
29840 LIBS="-lw $LIBS"
29841 cat >conftest.$ac_ext <<_ACEOF
29842 /* confdefs.h. */
29843 _ACEOF
29844 cat confdefs.h >>conftest.$ac_ext
29845 cat >>conftest.$ac_ext <<_ACEOF
29846 /* end confdefs.h. */
29847
29848 /* Override any gcc2 internal prototype to avoid an error. */
29849 #ifdef __cplusplus
29850 extern "C"
29851 #endif
29852 /* We use char because int might match the return type of a gcc2
29853 builtin and then its argument prototype would still apply. */
29854 char wcslen ();
29855 int
29856 main ()
29857 {
29858 wcslen ();
29859 ;
29860 return 0;
29861 }
29862 _ACEOF
29863 rm -f conftest.$ac_objext conftest$ac_exeext
29864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29865 (eval $ac_link) 2>conftest.er1
29866 ac_status=$?
29867 grep -v '^ *+' conftest.er1 >conftest.err
29868 rm -f conftest.er1
29869 cat conftest.err >&5
29870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29871 (exit $ac_status); } &&
29872 { ac_try='test -z "$ac_c_werror_flag"
29873 || test ! -s conftest.err'
29874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29875 (eval $ac_try) 2>&5
29876 ac_status=$?
29877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29878 (exit $ac_status); }; } &&
29879 { ac_try='test -s conftest$ac_exeext'
29880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29881 (eval $ac_try) 2>&5
29882 ac_status=$?
29883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29884 (exit $ac_status); }; }; then
29885 ac_cv_lib_w_wcslen=yes
29886 else
29887 echo "$as_me: failed program was:" >&5
29888 sed 's/^/| /' conftest.$ac_ext >&5
29889
29890 ac_cv_lib_w_wcslen=no
29891 fi
29892 rm -f conftest.err conftest.$ac_objext \
29893 conftest$ac_exeext conftest.$ac_ext
29894 LIBS=$ac_check_lib_save_LIBS
29895 fi
29896 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
29897 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
29898 if test $ac_cv_lib_w_wcslen = yes; then
29899
29900 WCHAR_LINK=" -lw"
29901 WCSLEN_FOUND=1
29902
29903 fi
29904
29905 fi
29906 fi
29907
29908 if test "$WCSLEN_FOUND" = 1; then
29909 cat >>confdefs.h <<\_ACEOF
29910 #define HAVE_WCSLEN 1
29911 _ACEOF
29912
29913 fi
29914
29915 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
29916 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
29917 fi
29918
29919
29920 for ac_func in wcsrtombs
29921 do
29922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29923 echo "$as_me:$LINENO: checking for $ac_func" >&5
29924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29925 if eval "test \"\${$as_ac_var+set}\" = set"; then
29926 echo $ECHO_N "(cached) $ECHO_C" >&6
29927 else
29928 cat >conftest.$ac_ext <<_ACEOF
29929 /* confdefs.h. */
29930 _ACEOF
29931 cat confdefs.h >>conftest.$ac_ext
29932 cat >>conftest.$ac_ext <<_ACEOF
29933 /* end confdefs.h. */
29934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29936 #define $ac_func innocuous_$ac_func
29937
29938 /* System header to define __stub macros and hopefully few prototypes,
29939 which can conflict with char $ac_func (); below.
29940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29941 <limits.h> exists even on freestanding compilers. */
29942
29943 #ifdef __STDC__
29944 # include <limits.h>
29945 #else
29946 # include <assert.h>
29947 #endif
29948
29949 #undef $ac_func
29950
29951 /* Override any gcc2 internal prototype to avoid an error. */
29952 #ifdef __cplusplus
29953 extern "C"
29954 {
29955 #endif
29956 /* We use char because int might match the return type of a gcc2
29957 builtin and then its argument prototype would still apply. */
29958 char $ac_func ();
29959 /* The GNU C library defines this for functions which it implements
29960 to always fail with ENOSYS. Some functions are actually named
29961 something starting with __ and the normal name is an alias. */
29962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29963 choke me
29964 #else
29965 char (*f) () = $ac_func;
29966 #endif
29967 #ifdef __cplusplus
29968 }
29969 #endif
29970
29971 int
29972 main ()
29973 {
29974 return f != $ac_func;
29975 ;
29976 return 0;
29977 }
29978 _ACEOF
29979 rm -f conftest.$ac_objext conftest$ac_exeext
29980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29981 (eval $ac_link) 2>conftest.er1
29982 ac_status=$?
29983 grep -v '^ *+' conftest.er1 >conftest.err
29984 rm -f conftest.er1
29985 cat conftest.err >&5
29986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29987 (exit $ac_status); } &&
29988 { ac_try='test -z "$ac_c_werror_flag"
29989 || test ! -s conftest.err'
29990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29991 (eval $ac_try) 2>&5
29992 ac_status=$?
29993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29994 (exit $ac_status); }; } &&
29995 { ac_try='test -s conftest$ac_exeext'
29996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29997 (eval $ac_try) 2>&5
29998 ac_status=$?
29999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30000 (exit $ac_status); }; }; then
30001 eval "$as_ac_var=yes"
30002 else
30003 echo "$as_me: failed program was:" >&5
30004 sed 's/^/| /' conftest.$ac_ext >&5
30005
30006 eval "$as_ac_var=no"
30007 fi
30008 rm -f conftest.err conftest.$ac_objext \
30009 conftest$ac_exeext conftest.$ac_ext
30010 fi
30011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30013 if test `eval echo '${'$as_ac_var'}'` = yes; then
30014 cat >>confdefs.h <<_ACEOF
30015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30016 _ACEOF
30017
30018 fi
30019 done
30020
30021 else
30022 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
30023 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
30024 fi
30025
30026
30027
30028 ac_ext=cc
30029 ac_cpp='$CXXCPP $CPPFLAGS'
30030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30033
30034
30035
30036 for ac_func in vsnprintf
30037 do
30038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30039 echo "$as_me:$LINENO: checking for $ac_func" >&5
30040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30041 if eval "test \"\${$as_ac_var+set}\" = set"; then
30042 echo $ECHO_N "(cached) $ECHO_C" >&6
30043 else
30044 cat >conftest.$ac_ext <<_ACEOF
30045 /* confdefs.h. */
30046 _ACEOF
30047 cat confdefs.h >>conftest.$ac_ext
30048 cat >>conftest.$ac_ext <<_ACEOF
30049 /* end confdefs.h. */
30050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30052 #define $ac_func innocuous_$ac_func
30053
30054 /* System header to define __stub macros and hopefully few prototypes,
30055 which can conflict with char $ac_func (); below.
30056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30057 <limits.h> exists even on freestanding compilers. */
30058
30059 #ifdef __STDC__
30060 # include <limits.h>
30061 #else
30062 # include <assert.h>
30063 #endif
30064
30065 #undef $ac_func
30066
30067 /* Override any gcc2 internal prototype to avoid an error. */
30068 #ifdef __cplusplus
30069 extern "C"
30070 {
30071 #endif
30072 /* We use char because int might match the return type of a gcc2
30073 builtin and then its argument prototype would still apply. */
30074 char $ac_func ();
30075 /* The GNU C library defines this for functions which it implements
30076 to always fail with ENOSYS. Some functions are actually named
30077 something starting with __ and the normal name is an alias. */
30078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30079 choke me
30080 #else
30081 char (*f) () = $ac_func;
30082 #endif
30083 #ifdef __cplusplus
30084 }
30085 #endif
30086
30087 int
30088 main ()
30089 {
30090 return f != $ac_func;
30091 ;
30092 return 0;
30093 }
30094 _ACEOF
30095 rm -f conftest.$ac_objext conftest$ac_exeext
30096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30097 (eval $ac_link) 2>conftest.er1
30098 ac_status=$?
30099 grep -v '^ *+' conftest.er1 >conftest.err
30100 rm -f conftest.er1
30101 cat conftest.err >&5
30102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30103 (exit $ac_status); } &&
30104 { ac_try='test -z "$ac_cxx_werror_flag"
30105 || test ! -s conftest.err'
30106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30107 (eval $ac_try) 2>&5
30108 ac_status=$?
30109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30110 (exit $ac_status); }; } &&
30111 { ac_try='test -s conftest$ac_exeext'
30112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30113 (eval $ac_try) 2>&5
30114 ac_status=$?
30115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30116 (exit $ac_status); }; }; then
30117 eval "$as_ac_var=yes"
30118 else
30119 echo "$as_me: failed program was:" >&5
30120 sed 's/^/| /' conftest.$ac_ext >&5
30121
30122 eval "$as_ac_var=no"
30123 fi
30124 rm -f conftest.err conftest.$ac_objext \
30125 conftest$ac_exeext conftest.$ac_ext
30126 fi
30127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30129 if test `eval echo '${'$as_ac_var'}'` = yes; then
30130 cat >>confdefs.h <<_ACEOF
30131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30132 _ACEOF
30133
30134 fi
30135 done
30136
30137
30138 if test "$ac_cv_func_vsnprintf" = "yes"; then
30139 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
30140 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
30141 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
30142 echo $ECHO_N "(cached) $ECHO_C" >&6
30143 else
30144
30145 cat >conftest.$ac_ext <<_ACEOF
30146 /* confdefs.h. */
30147 _ACEOF
30148 cat confdefs.h >>conftest.$ac_ext
30149 cat >>conftest.$ac_ext <<_ACEOF
30150 /* end confdefs.h. */
30151
30152 #include <stdio.h>
30153 #include <stdarg.h>
30154
30155 int
30156 main ()
30157 {
30158
30159 char *buf;
30160 va_list ap;
30161 vsnprintf(buf, 10u, "%s", ap);
30162
30163 ;
30164 return 0;
30165 }
30166 _ACEOF
30167 rm -f conftest.$ac_objext
30168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30169 (eval $ac_compile) 2>conftest.er1
30170 ac_status=$?
30171 grep -v '^ *+' conftest.er1 >conftest.err
30172 rm -f conftest.er1
30173 cat conftest.err >&5
30174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30175 (exit $ac_status); } &&
30176 { ac_try='test -z "$ac_cxx_werror_flag"
30177 || test ! -s conftest.err'
30178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30179 (eval $ac_try) 2>&5
30180 ac_status=$?
30181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30182 (exit $ac_status); }; } &&
30183 { ac_try='test -s conftest.$ac_objext'
30184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30185 (eval $ac_try) 2>&5
30186 ac_status=$?
30187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30188 (exit $ac_status); }; }; then
30189 wx_cv_func_vsnprintf_decl=yes
30190 else
30191 echo "$as_me: failed program was:" >&5
30192 sed 's/^/| /' conftest.$ac_ext >&5
30193
30194 wx_cv_func_vsnprintf_decl=no
30195
30196 fi
30197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30198
30199
30200 fi
30201 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
30202 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
30203
30204 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
30205 cat >>confdefs.h <<\_ACEOF
30206 #define HAVE_VSNPRINTF_DECL 1
30207 _ACEOF
30208
30209 fi
30210 fi
30211
30212 if test "$wxUSE_UNICODE" = yes; then
30213
30214
30215
30216
30217
30218
30219 for ac_func in wputc wputchar putws fputws wprintf vswprintf
30220 do
30221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30222 echo "$as_me:$LINENO: checking for $ac_func" >&5
30223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30224 if eval "test \"\${$as_ac_var+set}\" = set"; then
30225 echo $ECHO_N "(cached) $ECHO_C" >&6
30226 else
30227 cat >conftest.$ac_ext <<_ACEOF
30228 /* confdefs.h. */
30229 _ACEOF
30230 cat confdefs.h >>conftest.$ac_ext
30231 cat >>conftest.$ac_ext <<_ACEOF
30232 /* end confdefs.h. */
30233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30235 #define $ac_func innocuous_$ac_func
30236
30237 /* System header to define __stub macros and hopefully few prototypes,
30238 which can conflict with char $ac_func (); below.
30239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30240 <limits.h> exists even on freestanding compilers. */
30241
30242 #ifdef __STDC__
30243 # include <limits.h>
30244 #else
30245 # include <assert.h>
30246 #endif
30247
30248 #undef $ac_func
30249
30250 /* Override any gcc2 internal prototype to avoid an error. */
30251 #ifdef __cplusplus
30252 extern "C"
30253 {
30254 #endif
30255 /* We use char because int might match the return type of a gcc2
30256 builtin and then its argument prototype would still apply. */
30257 char $ac_func ();
30258 /* The GNU C library defines this for functions which it implements
30259 to always fail with ENOSYS. Some functions are actually named
30260 something starting with __ and the normal name is an alias. */
30261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30262 choke me
30263 #else
30264 char (*f) () = $ac_func;
30265 #endif
30266 #ifdef __cplusplus
30267 }
30268 #endif
30269
30270 int
30271 main ()
30272 {
30273 return f != $ac_func;
30274 ;
30275 return 0;
30276 }
30277 _ACEOF
30278 rm -f conftest.$ac_objext conftest$ac_exeext
30279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30280 (eval $ac_link) 2>conftest.er1
30281 ac_status=$?
30282 grep -v '^ *+' conftest.er1 >conftest.err
30283 rm -f conftest.er1
30284 cat conftest.err >&5
30285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30286 (exit $ac_status); } &&
30287 { ac_try='test -z "$ac_cxx_werror_flag"
30288 || test ! -s conftest.err'
30289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30290 (eval $ac_try) 2>&5
30291 ac_status=$?
30292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30293 (exit $ac_status); }; } &&
30294 { ac_try='test -s conftest$ac_exeext'
30295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30296 (eval $ac_try) 2>&5
30297 ac_status=$?
30298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30299 (exit $ac_status); }; }; then
30300 eval "$as_ac_var=yes"
30301 else
30302 echo "$as_me: failed program was:" >&5
30303 sed 's/^/| /' conftest.$ac_ext >&5
30304
30305 eval "$as_ac_var=no"
30306 fi
30307 rm -f conftest.err conftest.$ac_objext \
30308 conftest$ac_exeext conftest.$ac_ext
30309 fi
30310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30312 if test `eval echo '${'$as_ac_var'}'` = yes; then
30313 cat >>confdefs.h <<_ACEOF
30314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30315 _ACEOF
30316
30317 fi
30318 done
30319
30320
30321 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
30322 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
30323 cat >conftest.$ac_ext <<_ACEOF
30324 /* confdefs.h. */
30325 _ACEOF
30326 cat confdefs.h >>conftest.$ac_ext
30327 cat >>conftest.$ac_ext <<_ACEOF
30328 /* end confdefs.h. */
30329 #include <wchar.h>
30330 int
30331 main ()
30332 {
30333 &_vsnwprintf;
30334 ;
30335 return 0;
30336 }
30337 _ACEOF
30338 rm -f conftest.$ac_objext
30339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30340 (eval $ac_compile) 2>conftest.er1
30341 ac_status=$?
30342 grep -v '^ *+' conftest.er1 >conftest.err
30343 rm -f conftest.er1
30344 cat conftest.err >&5
30345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30346 (exit $ac_status); } &&
30347 { ac_try='test -z "$ac_cxx_werror_flag"
30348 || test ! -s conftest.err'
30349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30350 (eval $ac_try) 2>&5
30351 ac_status=$?
30352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30353 (exit $ac_status); }; } &&
30354 { ac_try='test -s conftest.$ac_objext'
30355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30356 (eval $ac_try) 2>&5
30357 ac_status=$?
30358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30359 (exit $ac_status); }; }; then
30360 echo "$as_me:$LINENO: result: yes" >&5
30361 echo "${ECHO_T}yes" >&6
30362 cat >>confdefs.h <<\_ACEOF
30363 #define HAVE__VSNWPRINTF 1
30364 _ACEOF
30365
30366 else
30367 echo "$as_me: failed program was:" >&5
30368 sed 's/^/| /' conftest.$ac_ext >&5
30369
30370 echo "$as_me:$LINENO: result: no" >&5
30371 echo "${ECHO_T}no" >&6
30372 fi
30373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
30374 fi
30375
30376 ac_ext=c
30377 ac_cpp='$CPP $CPPFLAGS'
30378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30381
30382
30383
30384
30385 if test "$TOOLKIT" != "MSW"; then
30386
30387
30388
30389
30390 ac_ext=cc
30391 ac_cpp='$CXXCPP $CPPFLAGS'
30392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30395
30396
30397
30398
30399 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
30400 if test "${with_libiconv_prefix+set}" = set; then
30401 withval="$with_libiconv_prefix"
30402
30403 for dir in `echo "$withval" | tr : ' '`; do
30404 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
30405 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
30406 done
30407
30408 fi;
30409
30410 echo "$as_me:$LINENO: checking for iconv" >&5
30411 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
30412 if test "${am_cv_func_iconv+set}" = set; then
30413 echo $ECHO_N "(cached) $ECHO_C" >&6
30414 else
30415
30416 am_cv_func_iconv="no, consider installing GNU libiconv"
30417 am_cv_lib_iconv=no
30418 cat >conftest.$ac_ext <<_ACEOF
30419 /* confdefs.h. */
30420 _ACEOF
30421 cat confdefs.h >>conftest.$ac_ext
30422 cat >>conftest.$ac_ext <<_ACEOF
30423 /* end confdefs.h. */
30424 #include <stdlib.h>
30425 #include <iconv.h>
30426 int
30427 main ()
30428 {
30429 iconv_t cd = iconv_open("","");
30430 iconv(cd,NULL,NULL,NULL,NULL);
30431 iconv_close(cd);
30432 ;
30433 return 0;
30434 }
30435 _ACEOF
30436 rm -f conftest.$ac_objext conftest$ac_exeext
30437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30438 (eval $ac_link) 2>conftest.er1
30439 ac_status=$?
30440 grep -v '^ *+' conftest.er1 >conftest.err
30441 rm -f conftest.er1
30442 cat conftest.err >&5
30443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30444 (exit $ac_status); } &&
30445 { ac_try='test -z "$ac_cxx_werror_flag"
30446 || test ! -s conftest.err'
30447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30448 (eval $ac_try) 2>&5
30449 ac_status=$?
30450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30451 (exit $ac_status); }; } &&
30452 { ac_try='test -s conftest$ac_exeext'
30453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30454 (eval $ac_try) 2>&5
30455 ac_status=$?
30456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30457 (exit $ac_status); }; }; then
30458 am_cv_func_iconv=yes
30459 else
30460 echo "$as_me: failed program was:" >&5
30461 sed 's/^/| /' conftest.$ac_ext >&5
30462
30463 fi
30464 rm -f conftest.err conftest.$ac_objext \
30465 conftest$ac_exeext conftest.$ac_ext
30466 if test "$am_cv_func_iconv" != yes; then
30467 am_save_LIBS="$LIBS"
30468 LIBS="$LIBS -liconv"
30469 cat >conftest.$ac_ext <<_ACEOF
30470 /* confdefs.h. */
30471 _ACEOF
30472 cat confdefs.h >>conftest.$ac_ext
30473 cat >>conftest.$ac_ext <<_ACEOF
30474 /* end confdefs.h. */
30475 #include <stdlib.h>
30476 #include <iconv.h>
30477 int
30478 main ()
30479 {
30480 iconv_t cd = iconv_open("","");
30481 iconv(cd,NULL,NULL,NULL,NULL);
30482 iconv_close(cd);
30483 ;
30484 return 0;
30485 }
30486 _ACEOF
30487 rm -f conftest.$ac_objext conftest$ac_exeext
30488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30489 (eval $ac_link) 2>conftest.er1
30490 ac_status=$?
30491 grep -v '^ *+' conftest.er1 >conftest.err
30492 rm -f conftest.er1
30493 cat conftest.err >&5
30494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30495 (exit $ac_status); } &&
30496 { ac_try='test -z "$ac_cxx_werror_flag"
30497 || test ! -s conftest.err'
30498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30499 (eval $ac_try) 2>&5
30500 ac_status=$?
30501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30502 (exit $ac_status); }; } &&
30503 { ac_try='test -s conftest$ac_exeext'
30504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30505 (eval $ac_try) 2>&5
30506 ac_status=$?
30507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30508 (exit $ac_status); }; }; then
30509 am_cv_lib_iconv=yes
30510 am_cv_func_iconv=yes
30511 else
30512 echo "$as_me: failed program was:" >&5
30513 sed 's/^/| /' conftest.$ac_ext >&5
30514
30515 fi
30516 rm -f conftest.err conftest.$ac_objext \
30517 conftest$ac_exeext conftest.$ac_ext
30518 LIBS="$am_save_LIBS"
30519 fi
30520
30521 fi
30522 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
30523 echo "${ECHO_T}$am_cv_func_iconv" >&6
30524 if test "$am_cv_func_iconv" = yes; then
30525
30526 cat >>confdefs.h <<\_ACEOF
30527 #define HAVE_ICONV 1
30528 _ACEOF
30529
30530 echo "$as_me:$LINENO: checking if iconv needs const" >&5
30531 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
30532 if test "${wx_cv_func_iconv_const+set}" = set; then
30533 echo $ECHO_N "(cached) $ECHO_C" >&6
30534 else
30535 cat >conftest.$ac_ext <<_ACEOF
30536 /* confdefs.h. */
30537 _ACEOF
30538 cat confdefs.h >>conftest.$ac_ext
30539 cat >>conftest.$ac_ext <<_ACEOF
30540 /* end confdefs.h. */
30541
30542 #include <stdlib.h>
30543 #include <iconv.h>
30544 extern
30545 #ifdef __cplusplus
30546 "C"
30547 #endif
30548 #if defined(__STDC__) || defined(__cplusplus)
30549 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30550 #else
30551 size_t iconv();
30552 #endif
30553
30554 int
30555 main ()
30556 {
30557
30558 ;
30559 return 0;
30560 }
30561 _ACEOF
30562 rm -f conftest.$ac_objext
30563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30564 (eval $ac_compile) 2>conftest.er1
30565 ac_status=$?
30566 grep -v '^ *+' conftest.er1 >conftest.err
30567 rm -f conftest.er1
30568 cat conftest.err >&5
30569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30570 (exit $ac_status); } &&
30571 { ac_try='test -z "$ac_cxx_werror_flag"
30572 || test ! -s conftest.err'
30573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30574 (eval $ac_try) 2>&5
30575 ac_status=$?
30576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30577 (exit $ac_status); }; } &&
30578 { ac_try='test -s conftest.$ac_objext'
30579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30580 (eval $ac_try) 2>&5
30581 ac_status=$?
30582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30583 (exit $ac_status); }; }; then
30584 wx_cv_func_iconv_const="no"
30585 else
30586 echo "$as_me: failed program was:" >&5
30587 sed 's/^/| /' conftest.$ac_ext >&5
30588
30589 wx_cv_func_iconv_const="yes"
30590
30591 fi
30592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30593
30594 fi
30595 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
30596 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
30597
30598 iconv_const=
30599 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30600 iconv_const="const"
30601 fi
30602
30603
30604 cat >>confdefs.h <<_ACEOF
30605 #define ICONV_CONST $iconv_const
30606 _ACEOF
30607
30608 fi
30609 LIBICONV=
30610 if test "$am_cv_lib_iconv" = yes; then
30611 LIBICONV="-liconv"
30612 fi
30613
30614
30615 LIBS="$LIBICONV $LIBS"
30616 ac_ext=c
30617 ac_cpp='$CPP $CPPFLAGS'
30618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30621
30622
30623 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30624
30625 for ac_func in sigaction
30626 do
30627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30628 echo "$as_me:$LINENO: checking for $ac_func" >&5
30629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30630 if eval "test \"\${$as_ac_var+set}\" = set"; then
30631 echo $ECHO_N "(cached) $ECHO_C" >&6
30632 else
30633 cat >conftest.$ac_ext <<_ACEOF
30634 /* confdefs.h. */
30635 _ACEOF
30636 cat confdefs.h >>conftest.$ac_ext
30637 cat >>conftest.$ac_ext <<_ACEOF
30638 /* end confdefs.h. */
30639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30641 #define $ac_func innocuous_$ac_func
30642
30643 /* System header to define __stub macros and hopefully few prototypes,
30644 which can conflict with char $ac_func (); below.
30645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30646 <limits.h> exists even on freestanding compilers. */
30647
30648 #ifdef __STDC__
30649 # include <limits.h>
30650 #else
30651 # include <assert.h>
30652 #endif
30653
30654 #undef $ac_func
30655
30656 /* Override any gcc2 internal prototype to avoid an error. */
30657 #ifdef __cplusplus
30658 extern "C"
30659 {
30660 #endif
30661 /* We use char because int might match the return type of a gcc2
30662 builtin and then its argument prototype would still apply. */
30663 char $ac_func ();
30664 /* The GNU C library defines this for functions which it implements
30665 to always fail with ENOSYS. Some functions are actually named
30666 something starting with __ and the normal name is an alias. */
30667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30668 choke me
30669 #else
30670 char (*f) () = $ac_func;
30671 #endif
30672 #ifdef __cplusplus
30673 }
30674 #endif
30675
30676 int
30677 main ()
30678 {
30679 return f != $ac_func;
30680 ;
30681 return 0;
30682 }
30683 _ACEOF
30684 rm -f conftest.$ac_objext conftest$ac_exeext
30685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30686 (eval $ac_link) 2>conftest.er1
30687 ac_status=$?
30688 grep -v '^ *+' conftest.er1 >conftest.err
30689 rm -f conftest.er1
30690 cat conftest.err >&5
30691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30692 (exit $ac_status); } &&
30693 { ac_try='test -z "$ac_c_werror_flag"
30694 || test ! -s conftest.err'
30695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30696 (eval $ac_try) 2>&5
30697 ac_status=$?
30698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30699 (exit $ac_status); }; } &&
30700 { ac_try='test -s conftest$ac_exeext'
30701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30702 (eval $ac_try) 2>&5
30703 ac_status=$?
30704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30705 (exit $ac_status); }; }; then
30706 eval "$as_ac_var=yes"
30707 else
30708 echo "$as_me: failed program was:" >&5
30709 sed 's/^/| /' conftest.$ac_ext >&5
30710
30711 eval "$as_ac_var=no"
30712 fi
30713 rm -f conftest.err conftest.$ac_objext \
30714 conftest$ac_exeext conftest.$ac_ext
30715 fi
30716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30718 if test `eval echo '${'$as_ac_var'}'` = yes; then
30719 cat >>confdefs.h <<_ACEOF
30720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30721 _ACEOF
30722
30723 fi
30724 done
30725
30726
30727 if test "$ac_cv_func_sigaction" = "no"; then
30728 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30729 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30730 wxUSE_ON_FATAL_EXCEPTION=no
30731 fi
30732
30733 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30734
30735
30736 ac_ext=cc
30737 ac_cpp='$CXXCPP $CPPFLAGS'
30738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30741
30742
30743 echo "$as_me:$LINENO: checking for sa_handler type" >&5
30744 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
30745 if test "${wx_cv_type_sa_handler+set}" = set; then
30746 echo $ECHO_N "(cached) $ECHO_C" >&6
30747 else
30748
30749 cat >conftest.$ac_ext <<_ACEOF
30750 /* confdefs.h. */
30751 _ACEOF
30752 cat confdefs.h >>conftest.$ac_ext
30753 cat >>conftest.$ac_ext <<_ACEOF
30754 /* end confdefs.h. */
30755 #include <signal.h>
30756 int
30757 main ()
30758 {
30759
30760 extern void testSigHandler(int);
30761
30762 struct sigaction sa;
30763 sa.sa_handler = testSigHandler;
30764
30765 ;
30766 return 0;
30767 }
30768 _ACEOF
30769 rm -f conftest.$ac_objext
30770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30771 (eval $ac_compile) 2>conftest.er1
30772 ac_status=$?
30773 grep -v '^ *+' conftest.er1 >conftest.err
30774 rm -f conftest.er1
30775 cat conftest.err >&5
30776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30777 (exit $ac_status); } &&
30778 { ac_try='test -z "$ac_cxx_werror_flag"
30779 || test ! -s conftest.err'
30780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30781 (eval $ac_try) 2>&5
30782 ac_status=$?
30783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30784 (exit $ac_status); }; } &&
30785 { ac_try='test -s conftest.$ac_objext'
30786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30787 (eval $ac_try) 2>&5
30788 ac_status=$?
30789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30790 (exit $ac_status); }; }; then
30791
30792 wx_cv_type_sa_handler=int
30793
30794 else
30795 echo "$as_me: failed program was:" >&5
30796 sed 's/^/| /' conftest.$ac_ext >&5
30797
30798
30799 wx_cv_type_sa_handler=void
30800
30801 fi
30802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30803
30804 fi
30805 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
30806 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
30807
30808 ac_ext=c
30809 ac_cpp='$CPP $CPPFLAGS'
30810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30813
30814
30815 cat >>confdefs.h <<_ACEOF
30816 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30817 _ACEOF
30818
30819 fi
30820 fi
30821
30822
30823
30824 for ac_func in mkstemp mktemp
30825 do
30826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30827 echo "$as_me:$LINENO: checking for $ac_func" >&5
30828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30829 if eval "test \"\${$as_ac_var+set}\" = set"; then
30830 echo $ECHO_N "(cached) $ECHO_C" >&6
30831 else
30832 cat >conftest.$ac_ext <<_ACEOF
30833 /* confdefs.h. */
30834 _ACEOF
30835 cat confdefs.h >>conftest.$ac_ext
30836 cat >>conftest.$ac_ext <<_ACEOF
30837 /* end confdefs.h. */
30838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30840 #define $ac_func innocuous_$ac_func
30841
30842 /* System header to define __stub macros and hopefully few prototypes,
30843 which can conflict with char $ac_func (); below.
30844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30845 <limits.h> exists even on freestanding compilers. */
30846
30847 #ifdef __STDC__
30848 # include <limits.h>
30849 #else
30850 # include <assert.h>
30851 #endif
30852
30853 #undef $ac_func
30854
30855 /* Override any gcc2 internal prototype to avoid an error. */
30856 #ifdef __cplusplus
30857 extern "C"
30858 {
30859 #endif
30860 /* We use char because int might match the return type of a gcc2
30861 builtin and then its argument prototype would still apply. */
30862 char $ac_func ();
30863 /* The GNU C library defines this for functions which it implements
30864 to always fail with ENOSYS. Some functions are actually named
30865 something starting with __ and the normal name is an alias. */
30866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30867 choke me
30868 #else
30869 char (*f) () = $ac_func;
30870 #endif
30871 #ifdef __cplusplus
30872 }
30873 #endif
30874
30875 int
30876 main ()
30877 {
30878 return f != $ac_func;
30879 ;
30880 return 0;
30881 }
30882 _ACEOF
30883 rm -f conftest.$ac_objext conftest$ac_exeext
30884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30885 (eval $ac_link) 2>conftest.er1
30886 ac_status=$?
30887 grep -v '^ *+' conftest.er1 >conftest.err
30888 rm -f conftest.er1
30889 cat conftest.err >&5
30890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30891 (exit $ac_status); } &&
30892 { ac_try='test -z "$ac_c_werror_flag"
30893 || test ! -s conftest.err'
30894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30895 (eval $ac_try) 2>&5
30896 ac_status=$?
30897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30898 (exit $ac_status); }; } &&
30899 { ac_try='test -s conftest$ac_exeext'
30900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30901 (eval $ac_try) 2>&5
30902 ac_status=$?
30903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30904 (exit $ac_status); }; }; then
30905 eval "$as_ac_var=yes"
30906 else
30907 echo "$as_me: failed program was:" >&5
30908 sed 's/^/| /' conftest.$ac_ext >&5
30909
30910 eval "$as_ac_var=no"
30911 fi
30912 rm -f conftest.err conftest.$ac_objext \
30913 conftest$ac_exeext conftest.$ac_ext
30914 fi
30915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30917 if test `eval echo '${'$as_ac_var'}'` = yes; then
30918 cat >>confdefs.h <<_ACEOF
30919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30920 _ACEOF
30921 break
30922 fi
30923 done
30924
30925
30926 echo "$as_me:$LINENO: checking for statfs" >&5
30927 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
30928 if test "${wx_cv_func_statfs+set}" = set; then
30929 echo $ECHO_N "(cached) $ECHO_C" >&6
30930 else
30931 cat >conftest.$ac_ext <<_ACEOF
30932 /* confdefs.h. */
30933 _ACEOF
30934 cat confdefs.h >>conftest.$ac_ext
30935 cat >>conftest.$ac_ext <<_ACEOF
30936 /* end confdefs.h. */
30937
30938 #if defined(__BSD__)
30939 #include <sys/param.h>
30940 #include <sys/mount.h>
30941 #else
30942 #include <sys/vfs.h>
30943 #endif
30944
30945 int
30946 main ()
30947 {
30948
30949 long l;
30950 struct statfs fs;
30951 statfs("/", &fs);
30952 l = fs.f_bsize;
30953 l += fs.f_blocks;
30954 l += fs.f_bavail;
30955
30956 ;
30957 return 0;
30958 }
30959 _ACEOF
30960 rm -f conftest.$ac_objext
30961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30962 (eval $ac_compile) 2>conftest.er1
30963 ac_status=$?
30964 grep -v '^ *+' conftest.er1 >conftest.err
30965 rm -f conftest.er1
30966 cat conftest.err >&5
30967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30968 (exit $ac_status); } &&
30969 { ac_try='test -z "$ac_c_werror_flag"
30970 || test ! -s conftest.err'
30971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30972 (eval $ac_try) 2>&5
30973 ac_status=$?
30974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30975 (exit $ac_status); }; } &&
30976 { ac_try='test -s conftest.$ac_objext'
30977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30978 (eval $ac_try) 2>&5
30979 ac_status=$?
30980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30981 (exit $ac_status); }; }; then
30982
30983 wx_cv_func_statfs=yes
30984
30985 else
30986 echo "$as_me: failed program was:" >&5
30987 sed 's/^/| /' conftest.$ac_ext >&5
30988
30989
30990 wx_cv_func_statfs=no
30991
30992
30993 fi
30994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30995
30996 fi
30997 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30998 echo "${ECHO_T}$wx_cv_func_statfs" >&6
30999
31000 if test "$wx_cv_func_statfs" = "yes"; then
31001 wx_cv_type_statvfs_t="struct statfs"
31002 cat >>confdefs.h <<\_ACEOF
31003 #define HAVE_STATFS 1
31004 _ACEOF
31005
31006 else
31007 echo "$as_me:$LINENO: checking for statvfs" >&5
31008 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
31009 if test "${wx_cv_func_statvfs+set}" = set; then
31010 echo $ECHO_N "(cached) $ECHO_C" >&6
31011 else
31012 cat >conftest.$ac_ext <<_ACEOF
31013 /* confdefs.h. */
31014 _ACEOF
31015 cat confdefs.h >>conftest.$ac_ext
31016 cat >>conftest.$ac_ext <<_ACEOF
31017 /* end confdefs.h. */
31018
31019 #include <stddef.h>
31020 #include <sys/statvfs.h>
31021
31022 int
31023 main ()
31024 {
31025
31026 statvfs("/", NULL);
31027
31028 ;
31029 return 0;
31030 }
31031 _ACEOF
31032 rm -f conftest.$ac_objext
31033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31034 (eval $ac_compile) 2>conftest.er1
31035 ac_status=$?
31036 grep -v '^ *+' conftest.er1 >conftest.err
31037 rm -f conftest.er1
31038 cat conftest.err >&5
31039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31040 (exit $ac_status); } &&
31041 { ac_try='test -z "$ac_c_werror_flag"
31042 || test ! -s conftest.err'
31043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31044 (eval $ac_try) 2>&5
31045 ac_status=$?
31046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31047 (exit $ac_status); }; } &&
31048 { ac_try='test -s conftest.$ac_objext'
31049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31050 (eval $ac_try) 2>&5
31051 ac_status=$?
31052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31053 (exit $ac_status); }; }; then
31054 wx_cv_func_statvfs=yes
31055 else
31056 echo "$as_me: failed program was:" >&5
31057 sed 's/^/| /' conftest.$ac_ext >&5
31058
31059 wx_cv_func_statvfs=no
31060
31061 fi
31062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31063
31064 fi
31065 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
31066 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
31067
31068 if test "$wx_cv_func_statvfs" = "yes"; then
31069
31070
31071 ac_ext=cc
31072 ac_cpp='$CXXCPP $CPPFLAGS'
31073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31076
31077
31078 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
31079 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
31080 if test "${wx_cv_type_statvfs_t+set}" = set; then
31081 echo $ECHO_N "(cached) $ECHO_C" >&6
31082 else
31083 cat >conftest.$ac_ext <<_ACEOF
31084 /* confdefs.h. */
31085 _ACEOF
31086 cat confdefs.h >>conftest.$ac_ext
31087 cat >>conftest.$ac_ext <<_ACEOF
31088 /* end confdefs.h. */
31089
31090 #include <sys/statvfs.h>
31091
31092 int
31093 main ()
31094 {
31095
31096 long l;
31097 statvfs_t fs;
31098 statvfs("/", &fs);
31099 l = fs.f_bsize;
31100 l += fs.f_blocks;
31101 l += fs.f_bavail;
31102
31103 ;
31104 return 0;
31105 }
31106 _ACEOF
31107 rm -f conftest.$ac_objext
31108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31109 (eval $ac_compile) 2>conftest.er1
31110 ac_status=$?
31111 grep -v '^ *+' conftest.er1 >conftest.err
31112 rm -f conftest.er1
31113 cat conftest.err >&5
31114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31115 (exit $ac_status); } &&
31116 { ac_try='test -z "$ac_cxx_werror_flag"
31117 || test ! -s conftest.err'
31118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31119 (eval $ac_try) 2>&5
31120 ac_status=$?
31121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31122 (exit $ac_status); }; } &&
31123 { ac_try='test -s conftest.$ac_objext'
31124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31125 (eval $ac_try) 2>&5
31126 ac_status=$?
31127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31128 (exit $ac_status); }; }; then
31129 wx_cv_type_statvfs_t=statvfs_t
31130 else
31131 echo "$as_me: failed program was:" >&5
31132 sed 's/^/| /' conftest.$ac_ext >&5
31133
31134
31135 cat >conftest.$ac_ext <<_ACEOF
31136 /* confdefs.h. */
31137 _ACEOF
31138 cat confdefs.h >>conftest.$ac_ext
31139 cat >>conftest.$ac_ext <<_ACEOF
31140 /* end confdefs.h. */
31141
31142 #include <sys/statvfs.h>
31143
31144 int
31145 main ()
31146 {
31147
31148 long l;
31149 struct statvfs fs;
31150 statvfs("/", &fs);
31151 l = fs.f_bsize;
31152 l += fs.f_blocks;
31153 l += fs.f_bavail;
31154
31155 ;
31156 return 0;
31157 }
31158 _ACEOF
31159 rm -f conftest.$ac_objext
31160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31161 (eval $ac_compile) 2>conftest.er1
31162 ac_status=$?
31163 grep -v '^ *+' conftest.er1 >conftest.err
31164 rm -f conftest.er1
31165 cat conftest.err >&5
31166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31167 (exit $ac_status); } &&
31168 { ac_try='test -z "$ac_cxx_werror_flag"
31169 || test ! -s conftest.err'
31170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31171 (eval $ac_try) 2>&5
31172 ac_status=$?
31173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31174 (exit $ac_status); }; } &&
31175 { ac_try='test -s conftest.$ac_objext'
31176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31177 (eval $ac_try) 2>&5
31178 ac_status=$?
31179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31180 (exit $ac_status); }; }; then
31181 wx_cv_type_statvfs_t="struct statvfs"
31182 else
31183 echo "$as_me: failed program was:" >&5
31184 sed 's/^/| /' conftest.$ac_ext >&5
31185
31186 wx_cv_type_statvfs_t="unknown"
31187
31188 fi
31189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31190
31191
31192 fi
31193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31194
31195 fi
31196 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
31197 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
31198
31199 ac_ext=c
31200 ac_cpp='$CPP $CPPFLAGS'
31201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31204
31205
31206 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31207 cat >>confdefs.h <<\_ACEOF
31208 #define HAVE_STATVFS 1
31209 _ACEOF
31210
31211 fi
31212 else
31213 wx_cv_type_statvfs_t="unknown"
31214 fi
31215 fi
31216
31217 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31218 cat >>confdefs.h <<_ACEOF
31219 #define WX_STATFS_T $wx_cv_type_statvfs_t
31220 _ACEOF
31221
31222 else
31223 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
31224 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
31225 fi
31226
31227 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
31228
31229
31230 for ac_func in fcntl flock
31231 do
31232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31233 echo "$as_me:$LINENO: checking for $ac_func" >&5
31234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31235 if eval "test \"\${$as_ac_var+set}\" = set"; then
31236 echo $ECHO_N "(cached) $ECHO_C" >&6
31237 else
31238 cat >conftest.$ac_ext <<_ACEOF
31239 /* confdefs.h. */
31240 _ACEOF
31241 cat confdefs.h >>conftest.$ac_ext
31242 cat >>conftest.$ac_ext <<_ACEOF
31243 /* end confdefs.h. */
31244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31246 #define $ac_func innocuous_$ac_func
31247
31248 /* System header to define __stub macros and hopefully few prototypes,
31249 which can conflict with char $ac_func (); below.
31250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31251 <limits.h> exists even on freestanding compilers. */
31252
31253 #ifdef __STDC__
31254 # include <limits.h>
31255 #else
31256 # include <assert.h>
31257 #endif
31258
31259 #undef $ac_func
31260
31261 /* Override any gcc2 internal prototype to avoid an error. */
31262 #ifdef __cplusplus
31263 extern "C"
31264 {
31265 #endif
31266 /* We use char because int might match the return type of a gcc2
31267 builtin and then its argument prototype would still apply. */
31268 char $ac_func ();
31269 /* The GNU C library defines this for functions which it implements
31270 to always fail with ENOSYS. Some functions are actually named
31271 something starting with __ and the normal name is an alias. */
31272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31273 choke me
31274 #else
31275 char (*f) () = $ac_func;
31276 #endif
31277 #ifdef __cplusplus
31278 }
31279 #endif
31280
31281 int
31282 main ()
31283 {
31284 return f != $ac_func;
31285 ;
31286 return 0;
31287 }
31288 _ACEOF
31289 rm -f conftest.$ac_objext conftest$ac_exeext
31290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31291 (eval $ac_link) 2>conftest.er1
31292 ac_status=$?
31293 grep -v '^ *+' conftest.er1 >conftest.err
31294 rm -f conftest.er1
31295 cat conftest.err >&5
31296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31297 (exit $ac_status); } &&
31298 { ac_try='test -z "$ac_c_werror_flag"
31299 || test ! -s conftest.err'
31300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31301 (eval $ac_try) 2>&5
31302 ac_status=$?
31303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31304 (exit $ac_status); }; } &&
31305 { ac_try='test -s conftest$ac_exeext'
31306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31307 (eval $ac_try) 2>&5
31308 ac_status=$?
31309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31310 (exit $ac_status); }; }; then
31311 eval "$as_ac_var=yes"
31312 else
31313 echo "$as_me: failed program was:" >&5
31314 sed 's/^/| /' conftest.$ac_ext >&5
31315
31316 eval "$as_ac_var=no"
31317 fi
31318 rm -f conftest.err conftest.$ac_objext \
31319 conftest$ac_exeext conftest.$ac_ext
31320 fi
31321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31323 if test `eval echo '${'$as_ac_var'}'` = yes; then
31324 cat >>confdefs.h <<_ACEOF
31325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31326 _ACEOF
31327 break
31328 fi
31329 done
31330
31331
31332 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
31333 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
31334 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
31335 wxUSE_SNGLINST_CHECKER=no
31336 fi
31337 fi
31338
31339
31340 for ac_func in timegm
31341 do
31342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31343 echo "$as_me:$LINENO: checking for $ac_func" >&5
31344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31345 if eval "test \"\${$as_ac_var+set}\" = set"; then
31346 echo $ECHO_N "(cached) $ECHO_C" >&6
31347 else
31348 cat >conftest.$ac_ext <<_ACEOF
31349 /* confdefs.h. */
31350 _ACEOF
31351 cat confdefs.h >>conftest.$ac_ext
31352 cat >>conftest.$ac_ext <<_ACEOF
31353 /* end confdefs.h. */
31354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31356 #define $ac_func innocuous_$ac_func
31357
31358 /* System header to define __stub macros and hopefully few prototypes,
31359 which can conflict with char $ac_func (); below.
31360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31361 <limits.h> exists even on freestanding compilers. */
31362
31363 #ifdef __STDC__
31364 # include <limits.h>
31365 #else
31366 # include <assert.h>
31367 #endif
31368
31369 #undef $ac_func
31370
31371 /* Override any gcc2 internal prototype to avoid an error. */
31372 #ifdef __cplusplus
31373 extern "C"
31374 {
31375 #endif
31376 /* We use char because int might match the return type of a gcc2
31377 builtin and then its argument prototype would still apply. */
31378 char $ac_func ();
31379 /* The GNU C library defines this for functions which it implements
31380 to always fail with ENOSYS. Some functions are actually named
31381 something starting with __ and the normal name is an alias. */
31382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31383 choke me
31384 #else
31385 char (*f) () = $ac_func;
31386 #endif
31387 #ifdef __cplusplus
31388 }
31389 #endif
31390
31391 int
31392 main ()
31393 {
31394 return f != $ac_func;
31395 ;
31396 return 0;
31397 }
31398 _ACEOF
31399 rm -f conftest.$ac_objext conftest$ac_exeext
31400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31401 (eval $ac_link) 2>conftest.er1
31402 ac_status=$?
31403 grep -v '^ *+' conftest.er1 >conftest.err
31404 rm -f conftest.er1
31405 cat conftest.err >&5
31406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31407 (exit $ac_status); } &&
31408 { ac_try='test -z "$ac_c_werror_flag"
31409 || test ! -s conftest.err'
31410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31411 (eval $ac_try) 2>&5
31412 ac_status=$?
31413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31414 (exit $ac_status); }; } &&
31415 { ac_try='test -s conftest$ac_exeext'
31416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31417 (eval $ac_try) 2>&5
31418 ac_status=$?
31419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31420 (exit $ac_status); }; }; then
31421 eval "$as_ac_var=yes"
31422 else
31423 echo "$as_me: failed program was:" >&5
31424 sed 's/^/| /' conftest.$ac_ext >&5
31425
31426 eval "$as_ac_var=no"
31427 fi
31428 rm -f conftest.err conftest.$ac_objext \
31429 conftest$ac_exeext conftest.$ac_ext
31430 fi
31431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31433 if test `eval echo '${'$as_ac_var'}'` = yes; then
31434 cat >>confdefs.h <<_ACEOF
31435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31436 _ACEOF
31437
31438 fi
31439 done
31440
31441
31442
31443
31444 for ac_func in putenv setenv
31445 do
31446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31447 echo "$as_me:$LINENO: checking for $ac_func" >&5
31448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31449 if eval "test \"\${$as_ac_var+set}\" = set"; then
31450 echo $ECHO_N "(cached) $ECHO_C" >&6
31451 else
31452 cat >conftest.$ac_ext <<_ACEOF
31453 /* confdefs.h. */
31454 _ACEOF
31455 cat confdefs.h >>conftest.$ac_ext
31456 cat >>conftest.$ac_ext <<_ACEOF
31457 /* end confdefs.h. */
31458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31460 #define $ac_func innocuous_$ac_func
31461
31462 /* System header to define __stub macros and hopefully few prototypes,
31463 which can conflict with char $ac_func (); below.
31464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31465 <limits.h> exists even on freestanding compilers. */
31466
31467 #ifdef __STDC__
31468 # include <limits.h>
31469 #else
31470 # include <assert.h>
31471 #endif
31472
31473 #undef $ac_func
31474
31475 /* Override any gcc2 internal prototype to avoid an error. */
31476 #ifdef __cplusplus
31477 extern "C"
31478 {
31479 #endif
31480 /* We use char because int might match the return type of a gcc2
31481 builtin and then its argument prototype would still apply. */
31482 char $ac_func ();
31483 /* The GNU C library defines this for functions which it implements
31484 to always fail with ENOSYS. Some functions are actually named
31485 something starting with __ and the normal name is an alias. */
31486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31487 choke me
31488 #else
31489 char (*f) () = $ac_func;
31490 #endif
31491 #ifdef __cplusplus
31492 }
31493 #endif
31494
31495 int
31496 main ()
31497 {
31498 return f != $ac_func;
31499 ;
31500 return 0;
31501 }
31502 _ACEOF
31503 rm -f conftest.$ac_objext conftest$ac_exeext
31504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31505 (eval $ac_link) 2>conftest.er1
31506 ac_status=$?
31507 grep -v '^ *+' conftest.er1 >conftest.err
31508 rm -f conftest.er1
31509 cat conftest.err >&5
31510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31511 (exit $ac_status); } &&
31512 { ac_try='test -z "$ac_c_werror_flag"
31513 || test ! -s conftest.err'
31514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31515 (eval $ac_try) 2>&5
31516 ac_status=$?
31517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31518 (exit $ac_status); }; } &&
31519 { ac_try='test -s conftest$ac_exeext'
31520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31521 (eval $ac_try) 2>&5
31522 ac_status=$?
31523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31524 (exit $ac_status); }; }; then
31525 eval "$as_ac_var=yes"
31526 else
31527 echo "$as_me: failed program was:" >&5
31528 sed 's/^/| /' conftest.$ac_ext >&5
31529
31530 eval "$as_ac_var=no"
31531 fi
31532 rm -f conftest.err conftest.$ac_objext \
31533 conftest$ac_exeext conftest.$ac_ext
31534 fi
31535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31537 if test `eval echo '${'$as_ac_var'}'` = yes; then
31538 cat >>confdefs.h <<_ACEOF
31539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31540 _ACEOF
31541 break
31542 fi
31543 done
31544
31545
31546 HAVE_SOME_SLEEP_FUNC=0
31547 if test "$USE_BEOS" = 1; then
31548 cat >>confdefs.h <<\_ACEOF
31549 #define HAVE_SLEEP 1
31550 _ACEOF
31551
31552 HAVE_SOME_SLEEP_FUNC=1
31553 fi
31554
31555 if test "$USE_DARWIN" = 1; then
31556 cat >>confdefs.h <<\_ACEOF
31557 #define HAVE_USLEEP 1
31558 _ACEOF
31559
31560 HAVE_SOME_SLEEP_FUNC=1
31561 fi
31562
31563 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
31564 POSIX4_LINK=
31565
31566 for ac_func in nanosleep
31567 do
31568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31569 echo "$as_me:$LINENO: checking for $ac_func" >&5
31570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31571 if eval "test \"\${$as_ac_var+set}\" = set"; then
31572 echo $ECHO_N "(cached) $ECHO_C" >&6
31573 else
31574 cat >conftest.$ac_ext <<_ACEOF
31575 /* confdefs.h. */
31576 _ACEOF
31577 cat confdefs.h >>conftest.$ac_ext
31578 cat >>conftest.$ac_ext <<_ACEOF
31579 /* end confdefs.h. */
31580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31582 #define $ac_func innocuous_$ac_func
31583
31584 /* System header to define __stub macros and hopefully few prototypes,
31585 which can conflict with char $ac_func (); below.
31586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31587 <limits.h> exists even on freestanding compilers. */
31588
31589 #ifdef __STDC__
31590 # include <limits.h>
31591 #else
31592 # include <assert.h>
31593 #endif
31594
31595 #undef $ac_func
31596
31597 /* Override any gcc2 internal prototype to avoid an error. */
31598 #ifdef __cplusplus
31599 extern "C"
31600 {
31601 #endif
31602 /* We use char because int might match the return type of a gcc2
31603 builtin and then its argument prototype would still apply. */
31604 char $ac_func ();
31605 /* The GNU C library defines this for functions which it implements
31606 to always fail with ENOSYS. Some functions are actually named
31607 something starting with __ and the normal name is an alias. */
31608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31609 choke me
31610 #else
31611 char (*f) () = $ac_func;
31612 #endif
31613 #ifdef __cplusplus
31614 }
31615 #endif
31616
31617 int
31618 main ()
31619 {
31620 return f != $ac_func;
31621 ;
31622 return 0;
31623 }
31624 _ACEOF
31625 rm -f conftest.$ac_objext conftest$ac_exeext
31626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31627 (eval $ac_link) 2>conftest.er1
31628 ac_status=$?
31629 grep -v '^ *+' conftest.er1 >conftest.err
31630 rm -f conftest.er1
31631 cat conftest.err >&5
31632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31633 (exit $ac_status); } &&
31634 { ac_try='test -z "$ac_c_werror_flag"
31635 || test ! -s conftest.err'
31636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31637 (eval $ac_try) 2>&5
31638 ac_status=$?
31639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31640 (exit $ac_status); }; } &&
31641 { ac_try='test -s conftest$ac_exeext'
31642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31643 (eval $ac_try) 2>&5
31644 ac_status=$?
31645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31646 (exit $ac_status); }; }; then
31647 eval "$as_ac_var=yes"
31648 else
31649 echo "$as_me: failed program was:" >&5
31650 sed 's/^/| /' conftest.$ac_ext >&5
31651
31652 eval "$as_ac_var=no"
31653 fi
31654 rm -f conftest.err conftest.$ac_objext \
31655 conftest$ac_exeext conftest.$ac_ext
31656 fi
31657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31659 if test `eval echo '${'$as_ac_var'}'` = yes; then
31660 cat >>confdefs.h <<_ACEOF
31661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31662 _ACEOF
31663 cat >>confdefs.h <<\_ACEOF
31664 #define HAVE_NANOSLEEP 1
31665 _ACEOF
31666
31667 else
31668
31669 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
31670 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
31671 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
31672 echo $ECHO_N "(cached) $ECHO_C" >&6
31673 else
31674 ac_check_lib_save_LIBS=$LIBS
31675 LIBS="-lposix4 $LIBS"
31676 cat >conftest.$ac_ext <<_ACEOF
31677 /* confdefs.h. */
31678 _ACEOF
31679 cat confdefs.h >>conftest.$ac_ext
31680 cat >>conftest.$ac_ext <<_ACEOF
31681 /* end confdefs.h. */
31682
31683 /* Override any gcc2 internal prototype to avoid an error. */
31684 #ifdef __cplusplus
31685 extern "C"
31686 #endif
31687 /* We use char because int might match the return type of a gcc2
31688 builtin and then its argument prototype would still apply. */
31689 char nanosleep ();
31690 int
31691 main ()
31692 {
31693 nanosleep ();
31694 ;
31695 return 0;
31696 }
31697 _ACEOF
31698 rm -f conftest.$ac_objext conftest$ac_exeext
31699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31700 (eval $ac_link) 2>conftest.er1
31701 ac_status=$?
31702 grep -v '^ *+' conftest.er1 >conftest.err
31703 rm -f conftest.er1
31704 cat conftest.err >&5
31705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31706 (exit $ac_status); } &&
31707 { ac_try='test -z "$ac_c_werror_flag"
31708 || test ! -s conftest.err'
31709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31710 (eval $ac_try) 2>&5
31711 ac_status=$?
31712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31713 (exit $ac_status); }; } &&
31714 { ac_try='test -s conftest$ac_exeext'
31715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31716 (eval $ac_try) 2>&5
31717 ac_status=$?
31718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31719 (exit $ac_status); }; }; then
31720 ac_cv_lib_posix4_nanosleep=yes
31721 else
31722 echo "$as_me: failed program was:" >&5
31723 sed 's/^/| /' conftest.$ac_ext >&5
31724
31725 ac_cv_lib_posix4_nanosleep=no
31726 fi
31727 rm -f conftest.err conftest.$ac_objext \
31728 conftest$ac_exeext conftest.$ac_ext
31729 LIBS=$ac_check_lib_save_LIBS
31730 fi
31731 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
31732 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
31733 if test $ac_cv_lib_posix4_nanosleep = yes; then
31734
31735 cat >>confdefs.h <<\_ACEOF
31736 #define HAVE_NANOSLEEP 1
31737 _ACEOF
31738
31739 POSIX4_LINK=" -lposix4"
31740
31741 else
31742
31743
31744 for ac_func in usleep
31745 do
31746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31747 echo "$as_me:$LINENO: checking for $ac_func" >&5
31748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31749 if eval "test \"\${$as_ac_var+set}\" = set"; then
31750 echo $ECHO_N "(cached) $ECHO_C" >&6
31751 else
31752 cat >conftest.$ac_ext <<_ACEOF
31753 /* confdefs.h. */
31754 _ACEOF
31755 cat confdefs.h >>conftest.$ac_ext
31756 cat >>conftest.$ac_ext <<_ACEOF
31757 /* end confdefs.h. */
31758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31760 #define $ac_func innocuous_$ac_func
31761
31762 /* System header to define __stub macros and hopefully few prototypes,
31763 which can conflict with char $ac_func (); below.
31764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31765 <limits.h> exists even on freestanding compilers. */
31766
31767 #ifdef __STDC__
31768 # include <limits.h>
31769 #else
31770 # include <assert.h>
31771 #endif
31772
31773 #undef $ac_func
31774
31775 /* Override any gcc2 internal prototype to avoid an error. */
31776 #ifdef __cplusplus
31777 extern "C"
31778 {
31779 #endif
31780 /* We use char because int might match the return type of a gcc2
31781 builtin and then its argument prototype would still apply. */
31782 char $ac_func ();
31783 /* The GNU C library defines this for functions which it implements
31784 to always fail with ENOSYS. Some functions are actually named
31785 something starting with __ and the normal name is an alias. */
31786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31787 choke me
31788 #else
31789 char (*f) () = $ac_func;
31790 #endif
31791 #ifdef __cplusplus
31792 }
31793 #endif
31794
31795 int
31796 main ()
31797 {
31798 return f != $ac_func;
31799 ;
31800 return 0;
31801 }
31802 _ACEOF
31803 rm -f conftest.$ac_objext conftest$ac_exeext
31804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31805 (eval $ac_link) 2>conftest.er1
31806 ac_status=$?
31807 grep -v '^ *+' conftest.er1 >conftest.err
31808 rm -f conftest.er1
31809 cat conftest.err >&5
31810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31811 (exit $ac_status); } &&
31812 { ac_try='test -z "$ac_c_werror_flag"
31813 || test ! -s conftest.err'
31814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31815 (eval $ac_try) 2>&5
31816 ac_status=$?
31817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31818 (exit $ac_status); }; } &&
31819 { ac_try='test -s conftest$ac_exeext'
31820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31821 (eval $ac_try) 2>&5
31822 ac_status=$?
31823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31824 (exit $ac_status); }; }; then
31825 eval "$as_ac_var=yes"
31826 else
31827 echo "$as_me: failed program was:" >&5
31828 sed 's/^/| /' conftest.$ac_ext >&5
31829
31830 eval "$as_ac_var=no"
31831 fi
31832 rm -f conftest.err conftest.$ac_objext \
31833 conftest$ac_exeext conftest.$ac_ext
31834 fi
31835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31837 if test `eval echo '${'$as_ac_var'}'` = yes; then
31838 cat >>confdefs.h <<_ACEOF
31839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31840 _ACEOF
31841 cat >>confdefs.h <<\_ACEOF
31842 #define HAVE_USLEEP 1
31843 _ACEOF
31844
31845 else
31846 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
31847 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31848
31849 fi
31850 done
31851
31852
31853
31854 fi
31855
31856
31857
31858 fi
31859 done
31860
31861 fi
31862
31863
31864
31865 for ac_func in uname gethostname
31866 do
31867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31868 echo "$as_me:$LINENO: checking for $ac_func" >&5
31869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31870 if eval "test \"\${$as_ac_var+set}\" = set"; then
31871 echo $ECHO_N "(cached) $ECHO_C" >&6
31872 else
31873 cat >conftest.$ac_ext <<_ACEOF
31874 /* confdefs.h. */
31875 _ACEOF
31876 cat confdefs.h >>conftest.$ac_ext
31877 cat >>conftest.$ac_ext <<_ACEOF
31878 /* end confdefs.h. */
31879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31881 #define $ac_func innocuous_$ac_func
31882
31883 /* System header to define __stub macros and hopefully few prototypes,
31884 which can conflict with char $ac_func (); below.
31885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31886 <limits.h> exists even on freestanding compilers. */
31887
31888 #ifdef __STDC__
31889 # include <limits.h>
31890 #else
31891 # include <assert.h>
31892 #endif
31893
31894 #undef $ac_func
31895
31896 /* Override any gcc2 internal prototype to avoid an error. */
31897 #ifdef __cplusplus
31898 extern "C"
31899 {
31900 #endif
31901 /* We use char because int might match the return type of a gcc2
31902 builtin and then its argument prototype would still apply. */
31903 char $ac_func ();
31904 /* The GNU C library defines this for functions which it implements
31905 to always fail with ENOSYS. Some functions are actually named
31906 something starting with __ and the normal name is an alias. */
31907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31908 choke me
31909 #else
31910 char (*f) () = $ac_func;
31911 #endif
31912 #ifdef __cplusplus
31913 }
31914 #endif
31915
31916 int
31917 main ()
31918 {
31919 return f != $ac_func;
31920 ;
31921 return 0;
31922 }
31923 _ACEOF
31924 rm -f conftest.$ac_objext conftest$ac_exeext
31925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31926 (eval $ac_link) 2>conftest.er1
31927 ac_status=$?
31928 grep -v '^ *+' conftest.er1 >conftest.err
31929 rm -f conftest.er1
31930 cat conftest.err >&5
31931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31932 (exit $ac_status); } &&
31933 { ac_try='test -z "$ac_c_werror_flag"
31934 || test ! -s conftest.err'
31935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31936 (eval $ac_try) 2>&5
31937 ac_status=$?
31938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31939 (exit $ac_status); }; } &&
31940 { ac_try='test -s conftest$ac_exeext'
31941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31942 (eval $ac_try) 2>&5
31943 ac_status=$?
31944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31945 (exit $ac_status); }; }; then
31946 eval "$as_ac_var=yes"
31947 else
31948 echo "$as_me: failed program was:" >&5
31949 sed 's/^/| /' conftest.$ac_ext >&5
31950
31951 eval "$as_ac_var=no"
31952 fi
31953 rm -f conftest.err conftest.$ac_objext \
31954 conftest$ac_exeext conftest.$ac_ext
31955 fi
31956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31958 if test `eval echo '${'$as_ac_var'}'` = yes; then
31959 cat >>confdefs.h <<_ACEOF
31960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31961 _ACEOF
31962 break
31963 fi
31964 done
31965
31966
31967
31968
31969 ac_ext=cc
31970 ac_cpp='$CXXCPP $CPPFLAGS'
31971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31974
31975
31976
31977 for ac_func in strtok_r
31978 do
31979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31980 echo "$as_me:$LINENO: checking for $ac_func" >&5
31981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31982 if eval "test \"\${$as_ac_var+set}\" = set"; then
31983 echo $ECHO_N "(cached) $ECHO_C" >&6
31984 else
31985 cat >conftest.$ac_ext <<_ACEOF
31986 /* confdefs.h. */
31987 _ACEOF
31988 cat confdefs.h >>conftest.$ac_ext
31989 cat >>conftest.$ac_ext <<_ACEOF
31990 /* end confdefs.h. */
31991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31993 #define $ac_func innocuous_$ac_func
31994
31995 /* System header to define __stub macros and hopefully few prototypes,
31996 which can conflict with char $ac_func (); below.
31997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31998 <limits.h> exists even on freestanding compilers. */
31999
32000 #ifdef __STDC__
32001 # include <limits.h>
32002 #else
32003 # include <assert.h>
32004 #endif
32005
32006 #undef $ac_func
32007
32008 /* Override any gcc2 internal prototype to avoid an error. */
32009 #ifdef __cplusplus
32010 extern "C"
32011 {
32012 #endif
32013 /* We use char because int might match the return type of a gcc2
32014 builtin and then its argument prototype would still apply. */
32015 char $ac_func ();
32016 /* The GNU C library defines this for functions which it implements
32017 to always fail with ENOSYS. Some functions are actually named
32018 something starting with __ and the normal name is an alias. */
32019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32020 choke me
32021 #else
32022 char (*f) () = $ac_func;
32023 #endif
32024 #ifdef __cplusplus
32025 }
32026 #endif
32027
32028 int
32029 main ()
32030 {
32031 return f != $ac_func;
32032 ;
32033 return 0;
32034 }
32035 _ACEOF
32036 rm -f conftest.$ac_objext conftest$ac_exeext
32037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32038 (eval $ac_link) 2>conftest.er1
32039 ac_status=$?
32040 grep -v '^ *+' conftest.er1 >conftest.err
32041 rm -f conftest.er1
32042 cat conftest.err >&5
32043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32044 (exit $ac_status); } &&
32045 { ac_try='test -z "$ac_cxx_werror_flag"
32046 || test ! -s conftest.err'
32047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32048 (eval $ac_try) 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 eval "$as_ac_var=yes"
32059 else
32060 echo "$as_me: failed program was:" >&5
32061 sed 's/^/| /' conftest.$ac_ext >&5
32062
32063 eval "$as_ac_var=no"
32064 fi
32065 rm -f conftest.err conftest.$ac_objext \
32066 conftest$ac_exeext conftest.$ac_ext
32067 fi
32068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32070 if test `eval echo '${'$as_ac_var'}'` = yes; then
32071 cat >>confdefs.h <<_ACEOF
32072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32073 _ACEOF
32074
32075 fi
32076 done
32077
32078
32079 ac_ext=c
32080 ac_cpp='$CPP $CPPFLAGS'
32081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32084
32085
32086 INET_LINK=
32087
32088 for ac_func in inet_addr
32089 do
32090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32091 echo "$as_me:$LINENO: checking for $ac_func" >&5
32092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32093 if eval "test \"\${$as_ac_var+set}\" = set"; then
32094 echo $ECHO_N "(cached) $ECHO_C" >&6
32095 else
32096 cat >conftest.$ac_ext <<_ACEOF
32097 /* confdefs.h. */
32098 _ACEOF
32099 cat confdefs.h >>conftest.$ac_ext
32100 cat >>conftest.$ac_ext <<_ACEOF
32101 /* end confdefs.h. */
32102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32104 #define $ac_func innocuous_$ac_func
32105
32106 /* System header to define __stub macros and hopefully few prototypes,
32107 which can conflict with char $ac_func (); below.
32108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32109 <limits.h> exists even on freestanding compilers. */
32110
32111 #ifdef __STDC__
32112 # include <limits.h>
32113 #else
32114 # include <assert.h>
32115 #endif
32116
32117 #undef $ac_func
32118
32119 /* Override any gcc2 internal prototype to avoid an error. */
32120 #ifdef __cplusplus
32121 extern "C"
32122 {
32123 #endif
32124 /* We use char because int might match the return type of a gcc2
32125 builtin and then its argument prototype would still apply. */
32126 char $ac_func ();
32127 /* The GNU C library defines this for functions which it implements
32128 to always fail with ENOSYS. Some functions are actually named
32129 something starting with __ and the normal name is an alias. */
32130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32131 choke me
32132 #else
32133 char (*f) () = $ac_func;
32134 #endif
32135 #ifdef __cplusplus
32136 }
32137 #endif
32138
32139 int
32140 main ()
32141 {
32142 return f != $ac_func;
32143 ;
32144 return 0;
32145 }
32146 _ACEOF
32147 rm -f conftest.$ac_objext conftest$ac_exeext
32148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32149 (eval $ac_link) 2>conftest.er1
32150 ac_status=$?
32151 grep -v '^ *+' conftest.er1 >conftest.err
32152 rm -f conftest.er1
32153 cat conftest.err >&5
32154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32155 (exit $ac_status); } &&
32156 { ac_try='test -z "$ac_c_werror_flag"
32157 || test ! -s conftest.err'
32158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32159 (eval $ac_try) 2>&5
32160 ac_status=$?
32161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32162 (exit $ac_status); }; } &&
32163 { ac_try='test -s conftest$ac_exeext'
32164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32165 (eval $ac_try) 2>&5
32166 ac_status=$?
32167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32168 (exit $ac_status); }; }; then
32169 eval "$as_ac_var=yes"
32170 else
32171 echo "$as_me: failed program was:" >&5
32172 sed 's/^/| /' conftest.$ac_ext >&5
32173
32174 eval "$as_ac_var=no"
32175 fi
32176 rm -f conftest.err conftest.$ac_objext \
32177 conftest$ac_exeext conftest.$ac_ext
32178 fi
32179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32181 if test `eval echo '${'$as_ac_var'}'` = yes; then
32182 cat >>confdefs.h <<_ACEOF
32183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32184 _ACEOF
32185 cat >>confdefs.h <<\_ACEOF
32186 #define HAVE_INET_ADDR 1
32187 _ACEOF
32188
32189 else
32190
32191 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
32192 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
32193 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
32194 echo $ECHO_N "(cached) $ECHO_C" >&6
32195 else
32196 ac_check_lib_save_LIBS=$LIBS
32197 LIBS="-lnsl $LIBS"
32198 cat >conftest.$ac_ext <<_ACEOF
32199 /* confdefs.h. */
32200 _ACEOF
32201 cat confdefs.h >>conftest.$ac_ext
32202 cat >>conftest.$ac_ext <<_ACEOF
32203 /* end confdefs.h. */
32204
32205 /* Override any gcc2 internal prototype to avoid an error. */
32206 #ifdef __cplusplus
32207 extern "C"
32208 #endif
32209 /* We use char because int might match the return type of a gcc2
32210 builtin and then its argument prototype would still apply. */
32211 char inet_addr ();
32212 int
32213 main ()
32214 {
32215 inet_addr ();
32216 ;
32217 return 0;
32218 }
32219 _ACEOF
32220 rm -f conftest.$ac_objext conftest$ac_exeext
32221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32222 (eval $ac_link) 2>conftest.er1
32223 ac_status=$?
32224 grep -v '^ *+' conftest.er1 >conftest.err
32225 rm -f conftest.er1
32226 cat conftest.err >&5
32227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32228 (exit $ac_status); } &&
32229 { ac_try='test -z "$ac_c_werror_flag"
32230 || test ! -s conftest.err'
32231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32232 (eval $ac_try) 2>&5
32233 ac_status=$?
32234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32235 (exit $ac_status); }; } &&
32236 { ac_try='test -s conftest$ac_exeext'
32237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32238 (eval $ac_try) 2>&5
32239 ac_status=$?
32240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32241 (exit $ac_status); }; }; then
32242 ac_cv_lib_nsl_inet_addr=yes
32243 else
32244 echo "$as_me: failed program was:" >&5
32245 sed 's/^/| /' conftest.$ac_ext >&5
32246
32247 ac_cv_lib_nsl_inet_addr=no
32248 fi
32249 rm -f conftest.err conftest.$ac_objext \
32250 conftest$ac_exeext conftest.$ac_ext
32251 LIBS=$ac_check_lib_save_LIBS
32252 fi
32253 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
32254 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
32255 if test $ac_cv_lib_nsl_inet_addr = yes; then
32256 INET_LINK="nsl"
32257 else
32258
32259 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
32260 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
32261 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
32262 echo $ECHO_N "(cached) $ECHO_C" >&6
32263 else
32264 ac_check_lib_save_LIBS=$LIBS
32265 LIBS="-lresolv $LIBS"
32266 cat >conftest.$ac_ext <<_ACEOF
32267 /* confdefs.h. */
32268 _ACEOF
32269 cat confdefs.h >>conftest.$ac_ext
32270 cat >>conftest.$ac_ext <<_ACEOF
32271 /* end confdefs.h. */
32272
32273 /* Override any gcc2 internal prototype to avoid an error. */
32274 #ifdef __cplusplus
32275 extern "C"
32276 #endif
32277 /* We use char because int might match the return type of a gcc2
32278 builtin and then its argument prototype would still apply. */
32279 char inet_addr ();
32280 int
32281 main ()
32282 {
32283 inet_addr ();
32284 ;
32285 return 0;
32286 }
32287 _ACEOF
32288 rm -f conftest.$ac_objext conftest$ac_exeext
32289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32290 (eval $ac_link) 2>conftest.er1
32291 ac_status=$?
32292 grep -v '^ *+' conftest.er1 >conftest.err
32293 rm -f conftest.er1
32294 cat conftest.err >&5
32295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32296 (exit $ac_status); } &&
32297 { ac_try='test -z "$ac_c_werror_flag"
32298 || test ! -s conftest.err'
32299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32300 (eval $ac_try) 2>&5
32301 ac_status=$?
32302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32303 (exit $ac_status); }; } &&
32304 { ac_try='test -s conftest$ac_exeext'
32305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32306 (eval $ac_try) 2>&5
32307 ac_status=$?
32308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32309 (exit $ac_status); }; }; then
32310 ac_cv_lib_resolv_inet_addr=yes
32311 else
32312 echo "$as_me: failed program was:" >&5
32313 sed 's/^/| /' conftest.$ac_ext >&5
32314
32315 ac_cv_lib_resolv_inet_addr=no
32316 fi
32317 rm -f conftest.err conftest.$ac_objext \
32318 conftest$ac_exeext conftest.$ac_ext
32319 LIBS=$ac_check_lib_save_LIBS
32320 fi
32321 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
32322 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
32323 if test $ac_cv_lib_resolv_inet_addr = yes; then
32324 INET_LINK="resolv"
32325 else
32326
32327 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
32328 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
32329 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
32330 echo $ECHO_N "(cached) $ECHO_C" >&6
32331 else
32332 ac_check_lib_save_LIBS=$LIBS
32333 LIBS="-lsocket $LIBS"
32334 cat >conftest.$ac_ext <<_ACEOF
32335 /* confdefs.h. */
32336 _ACEOF
32337 cat confdefs.h >>conftest.$ac_ext
32338 cat >>conftest.$ac_ext <<_ACEOF
32339 /* end confdefs.h. */
32340
32341 /* Override any gcc2 internal prototype to avoid an error. */
32342 #ifdef __cplusplus
32343 extern "C"
32344 #endif
32345 /* We use char because int might match the return type of a gcc2
32346 builtin and then its argument prototype would still apply. */
32347 char inet_addr ();
32348 int
32349 main ()
32350 {
32351 inet_addr ();
32352 ;
32353 return 0;
32354 }
32355 _ACEOF
32356 rm -f conftest.$ac_objext conftest$ac_exeext
32357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32358 (eval $ac_link) 2>conftest.er1
32359 ac_status=$?
32360 grep -v '^ *+' conftest.er1 >conftest.err
32361 rm -f conftest.er1
32362 cat conftest.err >&5
32363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32364 (exit $ac_status); } &&
32365 { ac_try='test -z "$ac_c_werror_flag"
32366 || test ! -s conftest.err'
32367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32368 (eval $ac_try) 2>&5
32369 ac_status=$?
32370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32371 (exit $ac_status); }; } &&
32372 { ac_try='test -s conftest$ac_exeext'
32373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32374 (eval $ac_try) 2>&5
32375 ac_status=$?
32376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32377 (exit $ac_status); }; }; then
32378 ac_cv_lib_socket_inet_addr=yes
32379 else
32380 echo "$as_me: failed program was:" >&5
32381 sed 's/^/| /' conftest.$ac_ext >&5
32382
32383 ac_cv_lib_socket_inet_addr=no
32384 fi
32385 rm -f conftest.err conftest.$ac_objext \
32386 conftest$ac_exeext conftest.$ac_ext
32387 LIBS=$ac_check_lib_save_LIBS
32388 fi
32389 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
32390 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
32391 if test $ac_cv_lib_socket_inet_addr = yes; then
32392 INET_LINK="socket"
32393
32394 fi
32395
32396
32397
32398 fi
32399
32400
32401
32402 fi
32403
32404
32405
32406 fi
32407 done
32408
32409
32410
32411 for ac_func in inet_aton
32412 do
32413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32414 echo "$as_me:$LINENO: checking for $ac_func" >&5
32415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32416 if eval "test \"\${$as_ac_var+set}\" = set"; then
32417 echo $ECHO_N "(cached) $ECHO_C" >&6
32418 else
32419 cat >conftest.$ac_ext <<_ACEOF
32420 /* confdefs.h. */
32421 _ACEOF
32422 cat confdefs.h >>conftest.$ac_ext
32423 cat >>conftest.$ac_ext <<_ACEOF
32424 /* end confdefs.h. */
32425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32427 #define $ac_func innocuous_$ac_func
32428
32429 /* System header to define __stub macros and hopefully few prototypes,
32430 which can conflict with char $ac_func (); below.
32431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32432 <limits.h> exists even on freestanding compilers. */
32433
32434 #ifdef __STDC__
32435 # include <limits.h>
32436 #else
32437 # include <assert.h>
32438 #endif
32439
32440 #undef $ac_func
32441
32442 /* Override any gcc2 internal prototype to avoid an error. */
32443 #ifdef __cplusplus
32444 extern "C"
32445 {
32446 #endif
32447 /* We use char because int might match the return type of a gcc2
32448 builtin and then its argument prototype would still apply. */
32449 char $ac_func ();
32450 /* The GNU C library defines this for functions which it implements
32451 to always fail with ENOSYS. Some functions are actually named
32452 something starting with __ and the normal name is an alias. */
32453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32454 choke me
32455 #else
32456 char (*f) () = $ac_func;
32457 #endif
32458 #ifdef __cplusplus
32459 }
32460 #endif
32461
32462 int
32463 main ()
32464 {
32465 return f != $ac_func;
32466 ;
32467 return 0;
32468 }
32469 _ACEOF
32470 rm -f conftest.$ac_objext conftest$ac_exeext
32471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32472 (eval $ac_link) 2>conftest.er1
32473 ac_status=$?
32474 grep -v '^ *+' conftest.er1 >conftest.err
32475 rm -f conftest.er1
32476 cat conftest.err >&5
32477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32478 (exit $ac_status); } &&
32479 { ac_try='test -z "$ac_c_werror_flag"
32480 || test ! -s conftest.err'
32481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32482 (eval $ac_try) 2>&5
32483 ac_status=$?
32484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32485 (exit $ac_status); }; } &&
32486 { ac_try='test -s conftest$ac_exeext'
32487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32488 (eval $ac_try) 2>&5
32489 ac_status=$?
32490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32491 (exit $ac_status); }; }; then
32492 eval "$as_ac_var=yes"
32493 else
32494 echo "$as_me: failed program was:" >&5
32495 sed 's/^/| /' conftest.$ac_ext >&5
32496
32497 eval "$as_ac_var=no"
32498 fi
32499 rm -f conftest.err conftest.$ac_objext \
32500 conftest$ac_exeext conftest.$ac_ext
32501 fi
32502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32504 if test `eval echo '${'$as_ac_var'}'` = yes; then
32505 cat >>confdefs.h <<_ACEOF
32506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32507 _ACEOF
32508 cat >>confdefs.h <<\_ACEOF
32509 #define HAVE_INET_ATON 1
32510 _ACEOF
32511
32512 else
32513
32514 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
32515 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
32516 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
32517 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
32518 echo $ECHO_N "(cached) $ECHO_C" >&6
32519 else
32520 ac_check_lib_save_LIBS=$LIBS
32521 LIBS="-l$INET_LINK $LIBS"
32522 cat >conftest.$ac_ext <<_ACEOF
32523 /* confdefs.h. */
32524 _ACEOF
32525 cat confdefs.h >>conftest.$ac_ext
32526 cat >>conftest.$ac_ext <<_ACEOF
32527 /* end confdefs.h. */
32528
32529 /* Override any gcc2 internal prototype to avoid an error. */
32530 #ifdef __cplusplus
32531 extern "C"
32532 #endif
32533 /* We use char because int might match the return type of a gcc2
32534 builtin and then its argument prototype would still apply. */
32535 char inet_aton ();
32536 int
32537 main ()
32538 {
32539 inet_aton ();
32540 ;
32541 return 0;
32542 }
32543 _ACEOF
32544 rm -f conftest.$ac_objext conftest$ac_exeext
32545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32546 (eval $ac_link) 2>conftest.er1
32547 ac_status=$?
32548 grep -v '^ *+' conftest.er1 >conftest.err
32549 rm -f conftest.er1
32550 cat conftest.err >&5
32551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32552 (exit $ac_status); } &&
32553 { ac_try='test -z "$ac_c_werror_flag"
32554 || test ! -s conftest.err'
32555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32556 (eval $ac_try) 2>&5
32557 ac_status=$?
32558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32559 (exit $ac_status); }; } &&
32560 { ac_try='test -s conftest$ac_exeext'
32561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32562 (eval $ac_try) 2>&5
32563 ac_status=$?
32564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32565 (exit $ac_status); }; }; then
32566 eval "$as_ac_Lib=yes"
32567 else
32568 echo "$as_me: failed program was:" >&5
32569 sed 's/^/| /' conftest.$ac_ext >&5
32570
32571 eval "$as_ac_Lib=no"
32572 fi
32573 rm -f conftest.err conftest.$ac_objext \
32574 conftest$ac_exeext conftest.$ac_ext
32575 LIBS=$ac_check_lib_save_LIBS
32576 fi
32577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
32578 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
32579 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
32580 cat >>confdefs.h <<\_ACEOF
32581 #define HAVE_INET_ATON 1
32582 _ACEOF
32583
32584 fi
32585
32586
32587 fi
32588 done
32589
32590
32591 if test "x$INET_LINK" != "x"; then
32592 cat >>confdefs.h <<\_ACEOF
32593 #define HAVE_INET_ADDR 1
32594 _ACEOF
32595
32596 INET_LINK=" -l$INET_LINK"
32597 fi
32598
32599 fi
32600
32601
32602
32603 EXTRALIBS_ESD=
32604 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
32605 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
32606 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
32607 echo $ECHO_N "(cached) $ECHO_C" >&6
32608 else
32609 ac_check_lib_save_LIBS=$LIBS
32610 LIBS="-lesd $LIBS"
32611 cat >conftest.$ac_ext <<_ACEOF
32612 /* confdefs.h. */
32613 _ACEOF
32614 cat confdefs.h >>conftest.$ac_ext
32615 cat >>conftest.$ac_ext <<_ACEOF
32616 /* end confdefs.h. */
32617
32618 /* Override any gcc2 internal prototype to avoid an error. */
32619 #ifdef __cplusplus
32620 extern "C"
32621 #endif
32622 /* We use char because int might match the return type of a gcc2
32623 builtin and then its argument prototype would still apply. */
32624 char esd_close ();
32625 int
32626 main ()
32627 {
32628 esd_close ();
32629 ;
32630 return 0;
32631 }
32632 _ACEOF
32633 rm -f conftest.$ac_objext conftest$ac_exeext
32634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32635 (eval $ac_link) 2>conftest.er1
32636 ac_status=$?
32637 grep -v '^ *+' conftest.er1 >conftest.err
32638 rm -f conftest.er1
32639 cat conftest.err >&5
32640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32641 (exit $ac_status); } &&
32642 { ac_try='test -z "$ac_c_werror_flag"
32643 || test ! -s conftest.err'
32644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32645 (eval $ac_try) 2>&5
32646 ac_status=$?
32647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32648 (exit $ac_status); }; } &&
32649 { ac_try='test -s conftest$ac_exeext'
32650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32651 (eval $ac_try) 2>&5
32652 ac_status=$?
32653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32654 (exit $ac_status); }; }; then
32655 ac_cv_lib_esd_esd_close=yes
32656 else
32657 echo "$as_me: failed program was:" >&5
32658 sed 's/^/| /' conftest.$ac_ext >&5
32659
32660 ac_cv_lib_esd_esd_close=no
32661 fi
32662 rm -f conftest.err conftest.$ac_objext \
32663 conftest$ac_exeext conftest.$ac_ext
32664 LIBS=$ac_check_lib_save_LIBS
32665 fi
32666 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
32667 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
32668 if test $ac_cv_lib_esd_esd_close = yes; then
32669
32670
32671 for ac_header in esd.h
32672 do
32673 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32674 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32675 echo "$as_me:$LINENO: checking for $ac_header" >&5
32676 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32678 echo $ECHO_N "(cached) $ECHO_C" >&6
32679 fi
32680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32681 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32682 else
32683 # Is the header compilable?
32684 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32685 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32686 cat >conftest.$ac_ext <<_ACEOF
32687 /* confdefs.h. */
32688 _ACEOF
32689 cat confdefs.h >>conftest.$ac_ext
32690 cat >>conftest.$ac_ext <<_ACEOF
32691 /* end confdefs.h. */
32692 $ac_includes_default
32693 #include <$ac_header>
32694 _ACEOF
32695 rm -f conftest.$ac_objext
32696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32697 (eval $ac_compile) 2>conftest.er1
32698 ac_status=$?
32699 grep -v '^ *+' conftest.er1 >conftest.err
32700 rm -f conftest.er1
32701 cat conftest.err >&5
32702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32703 (exit $ac_status); } &&
32704 { ac_try='test -z "$ac_c_werror_flag"
32705 || test ! -s conftest.err'
32706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32707 (eval $ac_try) 2>&5
32708 ac_status=$?
32709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32710 (exit $ac_status); }; } &&
32711 { ac_try='test -s conftest.$ac_objext'
32712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32713 (eval $ac_try) 2>&5
32714 ac_status=$?
32715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32716 (exit $ac_status); }; }; then
32717 ac_header_compiler=yes
32718 else
32719 echo "$as_me: failed program was:" >&5
32720 sed 's/^/| /' conftest.$ac_ext >&5
32721
32722 ac_header_compiler=no
32723 fi
32724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32725 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32726 echo "${ECHO_T}$ac_header_compiler" >&6
32727
32728 # Is the header present?
32729 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32730 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32731 cat >conftest.$ac_ext <<_ACEOF
32732 /* confdefs.h. */
32733 _ACEOF
32734 cat confdefs.h >>conftest.$ac_ext
32735 cat >>conftest.$ac_ext <<_ACEOF
32736 /* end confdefs.h. */
32737 #include <$ac_header>
32738 _ACEOF
32739 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32740 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32741 ac_status=$?
32742 grep -v '^ *+' conftest.er1 >conftest.err
32743 rm -f conftest.er1
32744 cat conftest.err >&5
32745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32746 (exit $ac_status); } >/dev/null; then
32747 if test -s conftest.err; then
32748 ac_cpp_err=$ac_c_preproc_warn_flag
32749 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32750 else
32751 ac_cpp_err=
32752 fi
32753 else
32754 ac_cpp_err=yes
32755 fi
32756 if test -z "$ac_cpp_err"; then
32757 ac_header_preproc=yes
32758 else
32759 echo "$as_me: failed program was:" >&5
32760 sed 's/^/| /' conftest.$ac_ext >&5
32761
32762 ac_header_preproc=no
32763 fi
32764 rm -f conftest.err conftest.$ac_ext
32765 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32766 echo "${ECHO_T}$ac_header_preproc" >&6
32767
32768 # So? What about this header?
32769 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32770 yes:no: )
32771 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32772 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32773 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32774 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32775 ac_header_preproc=yes
32776 ;;
32777 no:yes:* )
32778 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32779 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32780 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32781 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32782 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32783 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32784 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32785 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32786 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32787 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32788 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32789 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32790 (
32791 cat <<\_ASBOX
32792 ## ----------------------------------------- ##
32793 ## Report this to wx-dev@lists.wxwidgets.org ##
32794 ## ----------------------------------------- ##
32795 _ASBOX
32796 ) |
32797 sed "s/^/$as_me: WARNING: /" >&2
32798 ;;
32799 esac
32800 echo "$as_me:$LINENO: checking for $ac_header" >&5
32801 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32803 echo $ECHO_N "(cached) $ECHO_C" >&6
32804 else
32805 eval "$as_ac_Header=\$ac_header_preproc"
32806 fi
32807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32808 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32809
32810 fi
32811 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32812 cat >>confdefs.h <<_ACEOF
32813 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32814 _ACEOF
32815
32816 EXTRALIBS_ESD="-lesd"
32817
32818 fi
32819
32820 done
32821
32822
32823 fi
32824
32825
32826
32827 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
32828 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
32829 cat >conftest.$ac_ext <<_ACEOF
32830 /* confdefs.h. */
32831 _ACEOF
32832 cat confdefs.h >>conftest.$ac_ext
32833 cat >>conftest.$ac_ext <<_ACEOF
32834 /* end confdefs.h. */
32835 #ifdef __linux__
32836 #include <linux/cdrom.h>
32837 #else
32838 /* For Solaris */
32839 #include <sys/cdio.h>
32840 #endif
32841
32842 int
32843 main ()
32844 {
32845 struct cdrom_tocentry entry, old_entry;
32846 ;
32847 return 0;
32848 }
32849 _ACEOF
32850 rm -f conftest.$ac_objext
32851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32852 (eval $ac_compile) 2>conftest.er1
32853 ac_status=$?
32854 grep -v '^ *+' conftest.er1 >conftest.err
32855 rm -f conftest.er1
32856 cat conftest.err >&5
32857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32858 (exit $ac_status); } &&
32859 { ac_try='test -z "$ac_c_werror_flag"
32860 || test ! -s conftest.err'
32861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32862 (eval $ac_try) 2>&5
32863 ac_status=$?
32864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32865 (exit $ac_status); }; } &&
32866 { ac_try='test -s conftest.$ac_objext'
32867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32868 (eval $ac_try) 2>&5
32869 ac_status=$?
32870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32871 (exit $ac_status); }; }; then
32872 echo "$as_me:$LINENO: result: yes" >&5
32873 echo "${ECHO_T}yes" >&6
32874 cat >>confdefs.h <<\_ACEOF
32875 #define HAVE_KNOWN_CDROM_INTERFACE 1
32876 _ACEOF
32877
32878 else
32879 echo "$as_me: failed program was:" >&5
32880 sed 's/^/| /' conftest.$ac_ext >&5
32881
32882 echo "$as_me:$LINENO: result: no" >&5
32883 echo "${ECHO_T}no" >&6
32884 fi
32885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32886
32887
32888 cat >confcache <<\_ACEOF
32889 # This file is a shell script that caches the results of configure
32890 # tests run on this system so they can be shared between configure
32891 # scripts and configure runs, see configure's option --config-cache.
32892 # It is not useful on other systems. If it contains results you don't
32893 # want to keep, you may remove or edit it.
32894 #
32895 # config.status only pays attention to the cache file if you give it
32896 # the --recheck option to rerun configure.
32897 #
32898 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32899 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32900 # following values.
32901
32902 _ACEOF
32903
32904 # The following way of writing the cache mishandles newlines in values,
32905 # but we know of no workaround that is simple, portable, and efficient.
32906 # So, don't put newlines in cache variables' values.
32907 # Ultrix sh set writes to stderr and can't be redirected directly,
32908 # and sets the high bit in the cache file unless we assign to the vars.
32909 {
32910 (set) 2>&1 |
32911 case `(ac_space=' '; set | grep ac_space) 2>&1` in
32912 *ac_space=\ *)
32913 # `set' does not quote correctly, so add quotes (double-quote
32914 # substitution turns \\\\ into \\, and sed turns \\ into \).
32915 sed -n \
32916 "s/'/'\\\\''/g;
32917 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32918 ;;
32919 *)
32920 # `set' quotes correctly as required by POSIX, so do not add quotes.
32921 sed -n \
32922 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32923 ;;
32924 esac;
32925 } |
32926 sed '
32927 t clear
32928 : clear
32929 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32930 t end
32931 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32932 : end' >>confcache
32933 if diff $cache_file confcache >/dev/null 2>&1; then :; else
32934 if test -w $cache_file; then
32935 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32936 cat confcache >$cache_file
32937 else
32938 echo "not updating unwritable cache $cache_file"
32939 fi
32940 fi
32941 rm -f confcache
32942
32943
32944 CPP_MT_FLAG=
32945 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32946
32947
32948 THREADS_LINK=
32949 THREADS_CFLAGS=
32950
32951 if test "$wxUSE_THREADS" = "yes" ; then
32952 if test "$USE_BEOS" = 1; then
32953 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
32954 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32955 wxUSE_THREADS="no"
32956 fi
32957 fi
32958
32959 if test "$wxUSE_THREADS" = "yes" ; then
32960
32961
32962 THREAD_OPTS="-pthread"
32963 case "${host}" in
32964 *-*-solaris2* | *-*-sunos4* )
32965 if test "x$GCC" = "xyes"; then
32966 THREAD_OPTS="-pthreads $THREAD_OPTS"
32967 else
32968 THREAD_OPTS="-mt $THREAD_OPTS"
32969 fi
32970 ;;
32971 *-*-freebsd*)
32972 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
32973 ;;
32974 *-*-darwin* | *-*-cygwin* )
32975 THREAD_OPTS=""
32976 ;;
32977 *-*-aix*)
32978 THREAD_OPTS="pthreads"
32979 ;;
32980 *-hp-hpux* )
32981 if test "x$GCC" != "xyes"; then
32982 THREAD_OPTS=""
32983 fi
32984 ;;
32985
32986 *-*-irix* )
32987 if test "x$GCC" = "xyes"; then
32988 THREAD_OPTS=""
32989 fi
32990 ;;
32991
32992 *-*-*UnixWare*)
32993 if test "x$GCC" != "xyes"; then
32994 THREAD_OPTS="-Ethread"
32995 fi
32996 ;;
32997 esac
32998
32999 THREAD_OPTS="$THREAD_OPTS pthread none"
33000
33001 THREADS_OK=no
33002 for flag in $THREAD_OPTS; do
33003 case $flag in
33004 none)
33005 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
33006 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
33007 ;;
33008
33009 -*)
33010 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
33011 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
33012 THREADS_CFLAGS="$flag"
33013 ;;
33014
33015 *)
33016 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
33017 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
33018 THREADS_LINK="-l$flag"
33019 ;;
33020 esac
33021
33022 save_LIBS="$LIBS"
33023 save_CFLAGS="$CFLAGS"
33024 LIBS="$THREADS_LINK $LIBS"
33025 CFLAGS="$THREADS_CFLAGS $CFLAGS"
33026
33027 cat >conftest.$ac_ext <<_ACEOF
33028 /* confdefs.h. */
33029 _ACEOF
33030 cat confdefs.h >>conftest.$ac_ext
33031 cat >>conftest.$ac_ext <<_ACEOF
33032 /* end confdefs.h. */
33033 #include <pthread.h>
33034 int
33035 main ()
33036 {
33037 pthread_create(0,0,0,0);
33038 ;
33039 return 0;
33040 }
33041 _ACEOF
33042 rm -f conftest.$ac_objext conftest$ac_exeext
33043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33044 (eval $ac_link) 2>conftest.er1
33045 ac_status=$?
33046 grep -v '^ *+' conftest.er1 >conftest.err
33047 rm -f conftest.er1
33048 cat conftest.err >&5
33049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33050 (exit $ac_status); } &&
33051 { ac_try='test -z "$ac_c_werror_flag"
33052 || test ! -s conftest.err'
33053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33054 (eval $ac_try) 2>&5
33055 ac_status=$?
33056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33057 (exit $ac_status); }; } &&
33058 { ac_try='test -s conftest$ac_exeext'
33059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33060 (eval $ac_try) 2>&5
33061 ac_status=$?
33062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33063 (exit $ac_status); }; }; then
33064 THREADS_OK=yes
33065 else
33066 echo "$as_me: failed program was:" >&5
33067 sed 's/^/| /' conftest.$ac_ext >&5
33068
33069 fi
33070 rm -f conftest.err conftest.$ac_objext \
33071 conftest$ac_exeext conftest.$ac_ext
33072
33073 LIBS="$save_LIBS"
33074 CFLAGS="$save_CFLAGS"
33075
33076 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
33077 echo "${ECHO_T}$THREADS_OK" >&6
33078 if test "x$THREADS_OK" = "xyes"; then
33079 break;
33080 fi
33081
33082 THREADS_LINK=""
33083 THREADS_CFLAGS=""
33084 done
33085
33086 if test "x$THREADS_OK" != "xyes"; then
33087 wxUSE_THREADS=no
33088 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
33089 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
33090 else
33091 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
33092 LIBS="$THREADS_LINK $LIBS"
33093
33094 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
33095 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
33096 flag=no
33097 case "${host}" in
33098 *-aix*)
33099 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
33100 flag="-D_THREAD_SAFE"
33101 ;;
33102 *-freebsd*)
33103 flag="-D_THREAD_SAFE"
33104 ;;
33105 *-hp-hpux* )
33106 flag="-D_REENTRANT"
33107 if test "x$GCC" != "xyes"; then
33108 flag="$flag -D_RWSTD_MULTI_THREAD"
33109
33110 LIBS="$LIBS -lcma"
33111 fi
33112 ;;
33113 *solaris* | alpha*-osf*)
33114 flag="-D_REENTRANT"
33115 ;;
33116 esac
33117 echo "$as_me:$LINENO: result: ${flag}" >&5
33118 echo "${ECHO_T}${flag}" >&6
33119 if test "x$flag" != xno; then
33120 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
33121 fi
33122
33123 if test "x$THREADS_CFLAGS" != "x"; then
33124 CFLAGS="$CFLAGS $THREADS_CFLAGS"
33125 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
33126 fi
33127 fi
33128 fi
33129
33130 if test "$wxUSE_THREADS" = "yes" ; then
33131
33132 for ac_func in thr_setconcurrency
33133 do
33134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33135 echo "$as_me:$LINENO: checking for $ac_func" >&5
33136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33137 if eval "test \"\${$as_ac_var+set}\" = set"; then
33138 echo $ECHO_N "(cached) $ECHO_C" >&6
33139 else
33140 cat >conftest.$ac_ext <<_ACEOF
33141 /* confdefs.h. */
33142 _ACEOF
33143 cat confdefs.h >>conftest.$ac_ext
33144 cat >>conftest.$ac_ext <<_ACEOF
33145 /* end confdefs.h. */
33146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33148 #define $ac_func innocuous_$ac_func
33149
33150 /* System header to define __stub macros and hopefully few prototypes,
33151 which can conflict with char $ac_func (); below.
33152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33153 <limits.h> exists even on freestanding compilers. */
33154
33155 #ifdef __STDC__
33156 # include <limits.h>
33157 #else
33158 # include <assert.h>
33159 #endif
33160
33161 #undef $ac_func
33162
33163 /* Override any gcc2 internal prototype to avoid an error. */
33164 #ifdef __cplusplus
33165 extern "C"
33166 {
33167 #endif
33168 /* We use char because int might match the return type of a gcc2
33169 builtin and then its argument prototype would still apply. */
33170 char $ac_func ();
33171 /* The GNU C library defines this for functions which it implements
33172 to always fail with ENOSYS. Some functions are actually named
33173 something starting with __ and the normal name is an alias. */
33174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33175 choke me
33176 #else
33177 char (*f) () = $ac_func;
33178 #endif
33179 #ifdef __cplusplus
33180 }
33181 #endif
33182
33183 int
33184 main ()
33185 {
33186 return f != $ac_func;
33187 ;
33188 return 0;
33189 }
33190 _ACEOF
33191 rm -f conftest.$ac_objext conftest$ac_exeext
33192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33193 (eval $ac_link) 2>conftest.er1
33194 ac_status=$?
33195 grep -v '^ *+' conftest.er1 >conftest.err
33196 rm -f conftest.er1
33197 cat conftest.err >&5
33198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33199 (exit $ac_status); } &&
33200 { ac_try='test -z "$ac_c_werror_flag"
33201 || test ! -s conftest.err'
33202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33203 (eval $ac_try) 2>&5
33204 ac_status=$?
33205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33206 (exit $ac_status); }; } &&
33207 { ac_try='test -s conftest$ac_exeext'
33208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33209 (eval $ac_try) 2>&5
33210 ac_status=$?
33211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33212 (exit $ac_status); }; }; then
33213 eval "$as_ac_var=yes"
33214 else
33215 echo "$as_me: failed program was:" >&5
33216 sed 's/^/| /' conftest.$ac_ext >&5
33217
33218 eval "$as_ac_var=no"
33219 fi
33220 rm -f conftest.err conftest.$ac_objext \
33221 conftest$ac_exeext conftest.$ac_ext
33222 fi
33223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33225 if test `eval echo '${'$as_ac_var'}'` = yes; then
33226 cat >>confdefs.h <<_ACEOF
33227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33228 _ACEOF
33229
33230 fi
33231 done
33232
33233
33234
33235 for ac_header in sched.h
33236 do
33237 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33238 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33239 echo "$as_me:$LINENO: checking for $ac_header" >&5
33240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33241 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33242 echo $ECHO_N "(cached) $ECHO_C" >&6
33243 fi
33244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33245 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33246 else
33247 # Is the header compilable?
33248 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33249 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33250 cat >conftest.$ac_ext <<_ACEOF
33251 /* confdefs.h. */
33252 _ACEOF
33253 cat confdefs.h >>conftest.$ac_ext
33254 cat >>conftest.$ac_ext <<_ACEOF
33255 /* end confdefs.h. */
33256 $ac_includes_default
33257 #include <$ac_header>
33258 _ACEOF
33259 rm -f conftest.$ac_objext
33260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33261 (eval $ac_compile) 2>conftest.er1
33262 ac_status=$?
33263 grep -v '^ *+' conftest.er1 >conftest.err
33264 rm -f conftest.er1
33265 cat conftest.err >&5
33266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33267 (exit $ac_status); } &&
33268 { ac_try='test -z "$ac_c_werror_flag"
33269 || test ! -s conftest.err'
33270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33271 (eval $ac_try) 2>&5
33272 ac_status=$?
33273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33274 (exit $ac_status); }; } &&
33275 { ac_try='test -s conftest.$ac_objext'
33276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33277 (eval $ac_try) 2>&5
33278 ac_status=$?
33279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33280 (exit $ac_status); }; }; then
33281 ac_header_compiler=yes
33282 else
33283 echo "$as_me: failed program was:" >&5
33284 sed 's/^/| /' conftest.$ac_ext >&5
33285
33286 ac_header_compiler=no
33287 fi
33288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33289 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33290 echo "${ECHO_T}$ac_header_compiler" >&6
33291
33292 # Is the header present?
33293 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33294 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33295 cat >conftest.$ac_ext <<_ACEOF
33296 /* confdefs.h. */
33297 _ACEOF
33298 cat confdefs.h >>conftest.$ac_ext
33299 cat >>conftest.$ac_ext <<_ACEOF
33300 /* end confdefs.h. */
33301 #include <$ac_header>
33302 _ACEOF
33303 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33304 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33305 ac_status=$?
33306 grep -v '^ *+' conftest.er1 >conftest.err
33307 rm -f conftest.er1
33308 cat conftest.err >&5
33309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33310 (exit $ac_status); } >/dev/null; then
33311 if test -s conftest.err; then
33312 ac_cpp_err=$ac_c_preproc_warn_flag
33313 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33314 else
33315 ac_cpp_err=
33316 fi
33317 else
33318 ac_cpp_err=yes
33319 fi
33320 if test -z "$ac_cpp_err"; then
33321 ac_header_preproc=yes
33322 else
33323 echo "$as_me: failed program was:" >&5
33324 sed 's/^/| /' conftest.$ac_ext >&5
33325
33326 ac_header_preproc=no
33327 fi
33328 rm -f conftest.err conftest.$ac_ext
33329 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33330 echo "${ECHO_T}$ac_header_preproc" >&6
33331
33332 # So? What about this header?
33333 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33334 yes:no: )
33335 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33336 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33338 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33339 ac_header_preproc=yes
33340 ;;
33341 no:yes:* )
33342 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33343 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33344 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33345 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33346 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33347 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33348 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33349 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33350 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33351 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33352 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33353 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33354 (
33355 cat <<\_ASBOX
33356 ## ----------------------------------------- ##
33357 ## Report this to wx-dev@lists.wxwidgets.org ##
33358 ## ----------------------------------------- ##
33359 _ASBOX
33360 ) |
33361 sed "s/^/$as_me: WARNING: /" >&2
33362 ;;
33363 esac
33364 echo "$as_me:$LINENO: checking for $ac_header" >&5
33365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33366 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33367 echo $ECHO_N "(cached) $ECHO_C" >&6
33368 else
33369 eval "$as_ac_Header=\$ac_header_preproc"
33370 fi
33371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33372 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33373
33374 fi
33375 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33376 cat >>confdefs.h <<_ACEOF
33377 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33378 _ACEOF
33379
33380 fi
33381
33382 done
33383
33384 if test "$ac_cv_header_sched_h" = "yes"; then
33385 echo "$as_me:$LINENO: checking for sched_yield" >&5
33386 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
33387 if test "${ac_cv_func_sched_yield+set}" = set; then
33388 echo $ECHO_N "(cached) $ECHO_C" >&6
33389 else
33390 cat >conftest.$ac_ext <<_ACEOF
33391 /* confdefs.h. */
33392 _ACEOF
33393 cat confdefs.h >>conftest.$ac_ext
33394 cat >>conftest.$ac_ext <<_ACEOF
33395 /* end confdefs.h. */
33396 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
33397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33398 #define sched_yield innocuous_sched_yield
33399
33400 /* System header to define __stub macros and hopefully few prototypes,
33401 which can conflict with char sched_yield (); below.
33402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33403 <limits.h> exists even on freestanding compilers. */
33404
33405 #ifdef __STDC__
33406 # include <limits.h>
33407 #else
33408 # include <assert.h>
33409 #endif
33410
33411 #undef sched_yield
33412
33413 /* Override any gcc2 internal prototype to avoid an error. */
33414 #ifdef __cplusplus
33415 extern "C"
33416 {
33417 #endif
33418 /* We use char because int might match the return type of a gcc2
33419 builtin and then its argument prototype would still apply. */
33420 char sched_yield ();
33421 /* The GNU C library defines this for functions which it implements
33422 to always fail with ENOSYS. Some functions are actually named
33423 something starting with __ and the normal name is an alias. */
33424 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
33425 choke me
33426 #else
33427 char (*f) () = sched_yield;
33428 #endif
33429 #ifdef __cplusplus
33430 }
33431 #endif
33432
33433 int
33434 main ()
33435 {
33436 return f != sched_yield;
33437 ;
33438 return 0;
33439 }
33440 _ACEOF
33441 rm -f conftest.$ac_objext conftest$ac_exeext
33442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33443 (eval $ac_link) 2>conftest.er1
33444 ac_status=$?
33445 grep -v '^ *+' conftest.er1 >conftest.err
33446 rm -f conftest.er1
33447 cat conftest.err >&5
33448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33449 (exit $ac_status); } &&
33450 { ac_try='test -z "$ac_c_werror_flag"
33451 || test ! -s conftest.err'
33452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33453 (eval $ac_try) 2>&5
33454 ac_status=$?
33455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33456 (exit $ac_status); }; } &&
33457 { ac_try='test -s conftest$ac_exeext'
33458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33459 (eval $ac_try) 2>&5
33460 ac_status=$?
33461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33462 (exit $ac_status); }; }; then
33463 ac_cv_func_sched_yield=yes
33464 else
33465 echo "$as_me: failed program was:" >&5
33466 sed 's/^/| /' conftest.$ac_ext >&5
33467
33468 ac_cv_func_sched_yield=no
33469 fi
33470 rm -f conftest.err conftest.$ac_objext \
33471 conftest$ac_exeext conftest.$ac_ext
33472 fi
33473 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
33474 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
33475 if test $ac_cv_func_sched_yield = yes; then
33476 cat >>confdefs.h <<\_ACEOF
33477 #define HAVE_SCHED_YIELD 1
33478 _ACEOF
33479
33480 else
33481
33482 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
33483 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
33484 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
33485 echo $ECHO_N "(cached) $ECHO_C" >&6
33486 else
33487 ac_check_lib_save_LIBS=$LIBS
33488 LIBS="-lposix4 $LIBS"
33489 cat >conftest.$ac_ext <<_ACEOF
33490 /* confdefs.h. */
33491 _ACEOF
33492 cat confdefs.h >>conftest.$ac_ext
33493 cat >>conftest.$ac_ext <<_ACEOF
33494 /* end confdefs.h. */
33495
33496 /* Override any gcc2 internal prototype to avoid an error. */
33497 #ifdef __cplusplus
33498 extern "C"
33499 #endif
33500 /* We use char because int might match the return type of a gcc2
33501 builtin and then its argument prototype would still apply. */
33502 char sched_yield ();
33503 int
33504 main ()
33505 {
33506 sched_yield ();
33507 ;
33508 return 0;
33509 }
33510 _ACEOF
33511 rm -f conftest.$ac_objext conftest$ac_exeext
33512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33513 (eval $ac_link) 2>conftest.er1
33514 ac_status=$?
33515 grep -v '^ *+' conftest.er1 >conftest.err
33516 rm -f conftest.er1
33517 cat conftest.err >&5
33518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33519 (exit $ac_status); } &&
33520 { ac_try='test -z "$ac_c_werror_flag"
33521 || test ! -s conftest.err'
33522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33523 (eval $ac_try) 2>&5
33524 ac_status=$?
33525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33526 (exit $ac_status); }; } &&
33527 { ac_try='test -s conftest$ac_exeext'
33528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33529 (eval $ac_try) 2>&5
33530 ac_status=$?
33531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33532 (exit $ac_status); }; }; then
33533 ac_cv_lib_posix4_sched_yield=yes
33534 else
33535 echo "$as_me: failed program was:" >&5
33536 sed 's/^/| /' conftest.$ac_ext >&5
33537
33538 ac_cv_lib_posix4_sched_yield=no
33539 fi
33540 rm -f conftest.err conftest.$ac_objext \
33541 conftest$ac_exeext conftest.$ac_ext
33542 LIBS=$ac_check_lib_save_LIBS
33543 fi
33544 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
33545 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
33546 if test $ac_cv_lib_posix4_sched_yield = yes; then
33547 cat >>confdefs.h <<\_ACEOF
33548 #define HAVE_SCHED_YIELD 1
33549 _ACEOF
33550 POSIX4_LINK=" -lposix4"
33551 else
33552 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
33553 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
33554
33555 fi
33556
33557
33558
33559 fi
33560
33561 fi
33562
33563 HAVE_PRIOR_FUNCS=0
33564 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
33565 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
33566 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
33567 echo $ECHO_N "(cached) $ECHO_C" >&6
33568 else
33569 cat >conftest.$ac_ext <<_ACEOF
33570 /* confdefs.h. */
33571 _ACEOF
33572 cat confdefs.h >>conftest.$ac_ext
33573 cat >>conftest.$ac_ext <<_ACEOF
33574 /* end confdefs.h. */
33575 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
33576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33577 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
33578
33579 /* System header to define __stub macros and hopefully few prototypes,
33580 which can conflict with char pthread_attr_getschedpolicy (); below.
33581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33582 <limits.h> exists even on freestanding compilers. */
33583
33584 #ifdef __STDC__
33585 # include <limits.h>
33586 #else
33587 # include <assert.h>
33588 #endif
33589
33590 #undef pthread_attr_getschedpolicy
33591
33592 /* Override any gcc2 internal prototype to avoid an error. */
33593 #ifdef __cplusplus
33594 extern "C"
33595 {
33596 #endif
33597 /* We use char because int might match the return type of a gcc2
33598 builtin and then its argument prototype would still apply. */
33599 char pthread_attr_getschedpolicy ();
33600 /* The GNU C library defines this for functions which it implements
33601 to always fail with ENOSYS. Some functions are actually named
33602 something starting with __ and the normal name is an alias. */
33603 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
33604 choke me
33605 #else
33606 char (*f) () = pthread_attr_getschedpolicy;
33607 #endif
33608 #ifdef __cplusplus
33609 }
33610 #endif
33611
33612 int
33613 main ()
33614 {
33615 return f != pthread_attr_getschedpolicy;
33616 ;
33617 return 0;
33618 }
33619 _ACEOF
33620 rm -f conftest.$ac_objext conftest$ac_exeext
33621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33622 (eval $ac_link) 2>conftest.er1
33623 ac_status=$?
33624 grep -v '^ *+' conftest.er1 >conftest.err
33625 rm -f conftest.er1
33626 cat conftest.err >&5
33627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33628 (exit $ac_status); } &&
33629 { ac_try='test -z "$ac_c_werror_flag"
33630 || test ! -s conftest.err'
33631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33632 (eval $ac_try) 2>&5
33633 ac_status=$?
33634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33635 (exit $ac_status); }; } &&
33636 { ac_try='test -s conftest$ac_exeext'
33637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33638 (eval $ac_try) 2>&5
33639 ac_status=$?
33640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33641 (exit $ac_status); }; }; then
33642 ac_cv_func_pthread_attr_getschedpolicy=yes
33643 else
33644 echo "$as_me: failed program was:" >&5
33645 sed 's/^/| /' conftest.$ac_ext >&5
33646
33647 ac_cv_func_pthread_attr_getschedpolicy=no
33648 fi
33649 rm -f conftest.err conftest.$ac_objext \
33650 conftest$ac_exeext conftest.$ac_ext
33651 fi
33652 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
33653 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
33654 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
33655 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
33656 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
33657 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
33658 echo $ECHO_N "(cached) $ECHO_C" >&6
33659 else
33660 cat >conftest.$ac_ext <<_ACEOF
33661 /* confdefs.h. */
33662 _ACEOF
33663 cat confdefs.h >>conftest.$ac_ext
33664 cat >>conftest.$ac_ext <<_ACEOF
33665 /* end confdefs.h. */
33666 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
33667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33668 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
33669
33670 /* System header to define __stub macros and hopefully few prototypes,
33671 which can conflict with char pthread_attr_setschedparam (); below.
33672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33673 <limits.h> exists even on freestanding compilers. */
33674
33675 #ifdef __STDC__
33676 # include <limits.h>
33677 #else
33678 # include <assert.h>
33679 #endif
33680
33681 #undef pthread_attr_setschedparam
33682
33683 /* Override any gcc2 internal prototype to avoid an error. */
33684 #ifdef __cplusplus
33685 extern "C"
33686 {
33687 #endif
33688 /* We use char because int might match the return type of a gcc2
33689 builtin and then its argument prototype would still apply. */
33690 char pthread_attr_setschedparam ();
33691 /* The GNU C library defines this for functions which it implements
33692 to always fail with ENOSYS. Some functions are actually named
33693 something starting with __ and the normal name is an alias. */
33694 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
33695 choke me
33696 #else
33697 char (*f) () = pthread_attr_setschedparam;
33698 #endif
33699 #ifdef __cplusplus
33700 }
33701 #endif
33702
33703 int
33704 main ()
33705 {
33706 return f != pthread_attr_setschedparam;
33707 ;
33708 return 0;
33709 }
33710 _ACEOF
33711 rm -f conftest.$ac_objext conftest$ac_exeext
33712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33713 (eval $ac_link) 2>conftest.er1
33714 ac_status=$?
33715 grep -v '^ *+' conftest.er1 >conftest.err
33716 rm -f conftest.er1
33717 cat conftest.err >&5
33718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33719 (exit $ac_status); } &&
33720 { ac_try='test -z "$ac_c_werror_flag"
33721 || test ! -s conftest.err'
33722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33723 (eval $ac_try) 2>&5
33724 ac_status=$?
33725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33726 (exit $ac_status); }; } &&
33727 { ac_try='test -s conftest$ac_exeext'
33728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33729 (eval $ac_try) 2>&5
33730 ac_status=$?
33731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33732 (exit $ac_status); }; }; then
33733 ac_cv_func_pthread_attr_setschedparam=yes
33734 else
33735 echo "$as_me: failed program was:" >&5
33736 sed 's/^/| /' conftest.$ac_ext >&5
33737
33738 ac_cv_func_pthread_attr_setschedparam=no
33739 fi
33740 rm -f conftest.err conftest.$ac_objext \
33741 conftest$ac_exeext conftest.$ac_ext
33742 fi
33743 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
33744 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
33745 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
33746 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
33747 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
33748 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
33749 echo $ECHO_N "(cached) $ECHO_C" >&6
33750 else
33751 cat >conftest.$ac_ext <<_ACEOF
33752 /* confdefs.h. */
33753 _ACEOF
33754 cat confdefs.h >>conftest.$ac_ext
33755 cat >>conftest.$ac_ext <<_ACEOF
33756 /* end confdefs.h. */
33757 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
33758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33759 #define sched_get_priority_max innocuous_sched_get_priority_max
33760
33761 /* System header to define __stub macros and hopefully few prototypes,
33762 which can conflict with char sched_get_priority_max (); below.
33763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33764 <limits.h> exists even on freestanding compilers. */
33765
33766 #ifdef __STDC__
33767 # include <limits.h>
33768 #else
33769 # include <assert.h>
33770 #endif
33771
33772 #undef sched_get_priority_max
33773
33774 /* Override any gcc2 internal prototype to avoid an error. */
33775 #ifdef __cplusplus
33776 extern "C"
33777 {
33778 #endif
33779 /* We use char because int might match the return type of a gcc2
33780 builtin and then its argument prototype would still apply. */
33781 char sched_get_priority_max ();
33782 /* The GNU C library defines this for functions which it implements
33783 to always fail with ENOSYS. Some functions are actually named
33784 something starting with __ and the normal name is an alias. */
33785 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
33786 choke me
33787 #else
33788 char (*f) () = sched_get_priority_max;
33789 #endif
33790 #ifdef __cplusplus
33791 }
33792 #endif
33793
33794 int
33795 main ()
33796 {
33797 return f != sched_get_priority_max;
33798 ;
33799 return 0;
33800 }
33801 _ACEOF
33802 rm -f conftest.$ac_objext conftest$ac_exeext
33803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33804 (eval $ac_link) 2>conftest.er1
33805 ac_status=$?
33806 grep -v '^ *+' conftest.er1 >conftest.err
33807 rm -f conftest.er1
33808 cat conftest.err >&5
33809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33810 (exit $ac_status); } &&
33811 { ac_try='test -z "$ac_c_werror_flag"
33812 || test ! -s conftest.err'
33813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33814 (eval $ac_try) 2>&5
33815 ac_status=$?
33816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33817 (exit $ac_status); }; } &&
33818 { ac_try='test -s conftest$ac_exeext'
33819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33820 (eval $ac_try) 2>&5
33821 ac_status=$?
33822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33823 (exit $ac_status); }; }; then
33824 ac_cv_func_sched_get_priority_max=yes
33825 else
33826 echo "$as_me: failed program was:" >&5
33827 sed 's/^/| /' conftest.$ac_ext >&5
33828
33829 ac_cv_func_sched_get_priority_max=no
33830 fi
33831 rm -f conftest.err conftest.$ac_objext \
33832 conftest$ac_exeext conftest.$ac_ext
33833 fi
33834 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
33835 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
33836 if test $ac_cv_func_sched_get_priority_max = yes; then
33837 HAVE_PRIOR_FUNCS=1
33838 else
33839 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
33840 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
33841 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
33842 echo $ECHO_N "(cached) $ECHO_C" >&6
33843 else
33844 ac_check_lib_save_LIBS=$LIBS
33845 LIBS="-lposix4 $LIBS"
33846 cat >conftest.$ac_ext <<_ACEOF
33847 /* confdefs.h. */
33848 _ACEOF
33849 cat confdefs.h >>conftest.$ac_ext
33850 cat >>conftest.$ac_ext <<_ACEOF
33851 /* end confdefs.h. */
33852
33853 /* Override any gcc2 internal prototype to avoid an error. */
33854 #ifdef __cplusplus
33855 extern "C"
33856 #endif
33857 /* We use char because int might match the return type of a gcc2
33858 builtin and then its argument prototype would still apply. */
33859 char sched_get_priority_max ();
33860 int
33861 main ()
33862 {
33863 sched_get_priority_max ();
33864 ;
33865 return 0;
33866 }
33867 _ACEOF
33868 rm -f conftest.$ac_objext conftest$ac_exeext
33869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33870 (eval $ac_link) 2>conftest.er1
33871 ac_status=$?
33872 grep -v '^ *+' conftest.er1 >conftest.err
33873 rm -f conftest.er1
33874 cat conftest.err >&5
33875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33876 (exit $ac_status); } &&
33877 { ac_try='test -z "$ac_c_werror_flag"
33878 || test ! -s conftest.err'
33879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33880 (eval $ac_try) 2>&5
33881 ac_status=$?
33882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33883 (exit $ac_status); }; } &&
33884 { ac_try='test -s conftest$ac_exeext'
33885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33886 (eval $ac_try) 2>&5
33887 ac_status=$?
33888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33889 (exit $ac_status); }; }; then
33890 ac_cv_lib_posix4_sched_get_priority_max=yes
33891 else
33892 echo "$as_me: failed program was:" >&5
33893 sed 's/^/| /' conftest.$ac_ext >&5
33894
33895 ac_cv_lib_posix4_sched_get_priority_max=no
33896 fi
33897 rm -f conftest.err conftest.$ac_objext \
33898 conftest$ac_exeext conftest.$ac_ext
33899 LIBS=$ac_check_lib_save_LIBS
33900 fi
33901 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
33902 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
33903 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
33904
33905 HAVE_PRIOR_FUNCS=1
33906 POSIX4_LINK=" -lposix4"
33907
33908 fi
33909
33910
33911 fi
33912
33913
33914 fi
33915
33916
33917 fi
33918
33919
33920 if test "$HAVE_PRIOR_FUNCS" = 1; then
33921 cat >>confdefs.h <<\_ACEOF
33922 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
33923 _ACEOF
33924
33925 else
33926 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
33927 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
33928 fi
33929
33930 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
33931 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
33932 if test "${ac_cv_func_pthread_cancel+set}" = set; then
33933 echo $ECHO_N "(cached) $ECHO_C" >&6
33934 else
33935 cat >conftest.$ac_ext <<_ACEOF
33936 /* confdefs.h. */
33937 _ACEOF
33938 cat confdefs.h >>conftest.$ac_ext
33939 cat >>conftest.$ac_ext <<_ACEOF
33940 /* end confdefs.h. */
33941 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
33942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33943 #define pthread_cancel innocuous_pthread_cancel
33944
33945 /* System header to define __stub macros and hopefully few prototypes,
33946 which can conflict with char pthread_cancel (); below.
33947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33948 <limits.h> exists even on freestanding compilers. */
33949
33950 #ifdef __STDC__
33951 # include <limits.h>
33952 #else
33953 # include <assert.h>
33954 #endif
33955
33956 #undef pthread_cancel
33957
33958 /* Override any gcc2 internal prototype to avoid an error. */
33959 #ifdef __cplusplus
33960 extern "C"
33961 {
33962 #endif
33963 /* We use char because int might match the return type of a gcc2
33964 builtin and then its argument prototype would still apply. */
33965 char pthread_cancel ();
33966 /* The GNU C library defines this for functions which it implements
33967 to always fail with ENOSYS. Some functions are actually named
33968 something starting with __ and the normal name is an alias. */
33969 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
33970 choke me
33971 #else
33972 char (*f) () = pthread_cancel;
33973 #endif
33974 #ifdef __cplusplus
33975 }
33976 #endif
33977
33978 int
33979 main ()
33980 {
33981 return f != pthread_cancel;
33982 ;
33983 return 0;
33984 }
33985 _ACEOF
33986 rm -f conftest.$ac_objext conftest$ac_exeext
33987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33988 (eval $ac_link) 2>conftest.er1
33989 ac_status=$?
33990 grep -v '^ *+' conftest.er1 >conftest.err
33991 rm -f conftest.er1
33992 cat conftest.err >&5
33993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33994 (exit $ac_status); } &&
33995 { ac_try='test -z "$ac_c_werror_flag"
33996 || test ! -s conftest.err'
33997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33998 (eval $ac_try) 2>&5
33999 ac_status=$?
34000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34001 (exit $ac_status); }; } &&
34002 { ac_try='test -s conftest$ac_exeext'
34003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34004 (eval $ac_try) 2>&5
34005 ac_status=$?
34006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34007 (exit $ac_status); }; }; then
34008 ac_cv_func_pthread_cancel=yes
34009 else
34010 echo "$as_me: failed program was:" >&5
34011 sed 's/^/| /' conftest.$ac_ext >&5
34012
34013 ac_cv_func_pthread_cancel=no
34014 fi
34015 rm -f conftest.err conftest.$ac_objext \
34016 conftest$ac_exeext conftest.$ac_ext
34017 fi
34018 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
34019 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
34020 if test $ac_cv_func_pthread_cancel = yes; then
34021 cat >>confdefs.h <<\_ACEOF
34022 #define HAVE_PTHREAD_CANCEL 1
34023 _ACEOF
34024
34025 else
34026 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
34027 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
34028 fi
34029
34030
34031
34032
34033 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
34034 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
34035 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
34036 echo $ECHO_N "(cached) $ECHO_C" >&6
34037 else
34038
34039 cat >conftest.$ac_ext <<_ACEOF
34040 /* confdefs.h. */
34041 _ACEOF
34042 cat confdefs.h >>conftest.$ac_ext
34043 cat >>conftest.$ac_ext <<_ACEOF
34044 /* end confdefs.h. */
34045 #include <pthread.h>
34046 int
34047 main ()
34048 {
34049
34050 pthread_mutexattr_t attr;
34051 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
34052
34053 ;
34054 return 0;
34055 }
34056 _ACEOF
34057 rm -f conftest.$ac_objext
34058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34059 (eval $ac_compile) 2>conftest.er1
34060 ac_status=$?
34061 grep -v '^ *+' conftest.er1 >conftest.err
34062 rm -f conftest.er1
34063 cat conftest.err >&5
34064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34065 (exit $ac_status); } &&
34066 { ac_try='test -z "$ac_c_werror_flag"
34067 || test ! -s conftest.err'
34068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34069 (eval $ac_try) 2>&5
34070 ac_status=$?
34071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34072 (exit $ac_status); }; } &&
34073 { ac_try='test -s conftest.$ac_objext'
34074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34075 (eval $ac_try) 2>&5
34076 ac_status=$?
34077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34078 (exit $ac_status); }; }; then
34079
34080 wx_cv_type_pthread_mutexattr_t=yes
34081
34082 else
34083 echo "$as_me: failed program was:" >&5
34084 sed 's/^/| /' conftest.$ac_ext >&5
34085
34086
34087 wx_cv_type_pthread_mutexattr_t=no
34088
34089
34090 fi
34091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34092
34093 fi
34094 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
34095 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
34096
34097 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
34098 cat >>confdefs.h <<\_ACEOF
34099 #define HAVE_PTHREAD_MUTEXATTR_T 1
34100 _ACEOF
34101
34102 else
34103 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
34104 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
34105 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
34106 echo $ECHO_N "(cached) $ECHO_C" >&6
34107 else
34108
34109 cat >conftest.$ac_ext <<_ACEOF
34110 /* confdefs.h. */
34111 _ACEOF
34112 cat confdefs.h >>conftest.$ac_ext
34113 cat >>conftest.$ac_ext <<_ACEOF
34114 /* end confdefs.h. */
34115 #include <pthread.h>
34116 int
34117 main ()
34118 {
34119
34120 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
34121
34122 ;
34123 return 0;
34124 }
34125 _ACEOF
34126 rm -f conftest.$ac_objext
34127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34128 (eval $ac_compile) 2>conftest.er1
34129 ac_status=$?
34130 grep -v '^ *+' conftest.er1 >conftest.err
34131 rm -f conftest.er1
34132 cat conftest.err >&5
34133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34134 (exit $ac_status); } &&
34135 { ac_try='test -z "$ac_c_werror_flag"
34136 || test ! -s conftest.err'
34137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34138 (eval $ac_try) 2>&5
34139 ac_status=$?
34140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34141 (exit $ac_status); }; } &&
34142 { ac_try='test -s conftest.$ac_objext'
34143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34144 (eval $ac_try) 2>&5
34145 ac_status=$?
34146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34147 (exit $ac_status); }; }; then
34148
34149 wx_cv_type_pthread_rec_mutex_init=yes
34150
34151 else
34152 echo "$as_me: failed program was:" >&5
34153 sed 's/^/| /' conftest.$ac_ext >&5
34154
34155
34156 wx_cv_type_pthread_rec_mutex_init=no
34157
34158
34159 fi
34160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34161
34162 fi
34163 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
34164 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
34165 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
34166 cat >>confdefs.h <<\_ACEOF
34167 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
34168 _ACEOF
34169
34170 else
34171 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
34172 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
34173 fi
34174 fi
34175 fi
34176
34177 else
34178 if test "$wxUSE_THREADS" = "yes" ; then
34179 case "${host}" in
34180 *-*-mingw32* )
34181 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
34182 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
34183 if test "${wx_cv_cflags_mthread+set}" = set; then
34184 echo $ECHO_N "(cached) $ECHO_C" >&6
34185 else
34186
34187 CFLAGS_OLD="$CFLAGS"
34188 CFLAGS="$CFLAGS -mthreads"
34189 cat >conftest.$ac_ext <<_ACEOF
34190 /* confdefs.h. */
34191 _ACEOF
34192 cat confdefs.h >>conftest.$ac_ext
34193 cat >>conftest.$ac_ext <<_ACEOF
34194 /* end confdefs.h. */
34195
34196 int
34197 main ()
34198 {
34199
34200 ;
34201 return 0;
34202 }
34203 _ACEOF
34204 rm -f conftest.$ac_objext
34205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34206 (eval $ac_compile) 2>conftest.er1
34207 ac_status=$?
34208 grep -v '^ *+' conftest.er1 >conftest.err
34209 rm -f conftest.er1
34210 cat conftest.err >&5
34211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34212 (exit $ac_status); } &&
34213 { ac_try='test -z "$ac_c_werror_flag"
34214 || test ! -s conftest.err'
34215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34216 (eval $ac_try) 2>&5
34217 ac_status=$?
34218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34219 (exit $ac_status); }; } &&
34220 { ac_try='test -s conftest.$ac_objext'
34221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34222 (eval $ac_try) 2>&5
34223 ac_status=$?
34224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34225 (exit $ac_status); }; }; then
34226 wx_cv_cflags_mthread=yes
34227 else
34228 echo "$as_me: failed program was:" >&5
34229 sed 's/^/| /' conftest.$ac_ext >&5
34230
34231 wx_cv_cflags_mthread=no
34232
34233 fi
34234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34235
34236
34237 fi
34238 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
34239 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
34240
34241 if test "$wx_cv_cflags_mthread" = "yes"; then
34242 CXXFLAGS="$CXXFLAGS -mthreads"
34243 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
34244 LDFLAGS="$LDFLAGS -mthreads"
34245 else
34246 CFLAGS="$CFLAGS_OLD"
34247 fi
34248 ;;
34249 *-pc-os2*emx )
34250 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
34251 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
34252 LDFLAGS="$LDFLAGS -Zmt"
34253 ;;
34254 esac
34255 fi
34256 fi
34257
34258 if test "$wxUSE_THREADS" = "yes"; then
34259 cat >>confdefs.h <<\_ACEOF
34260 #define wxUSE_THREADS 1
34261 _ACEOF
34262
34263
34264 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
34265 else
34266 if test "$ac_cv_func_strtok_r" = "yes"; then
34267 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
34268 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
34269 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
34270 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
34271 echo "$as_me:$LINENO: result: yes" >&5
34272 echo "${ECHO_T}yes" >&6
34273 else
34274 echo "$as_me:$LINENO: result: no" >&5
34275 echo "${ECHO_T}no" >&6
34276 fi
34277 fi
34278 fi
34279
34280 if test "$WXGTK20" = 1 ; then
34281 cat >>confdefs.h <<_ACEOF
34282 #define __WXGTK20__ $WXGTK20
34283 _ACEOF
34284
34285 WXGTK12=1
34286 fi
34287
34288 if test "$WXGTK12" = 1 ; then
34289 cat >>confdefs.h <<_ACEOF
34290 #define __WXGTK12__ $WXGTK12
34291 _ACEOF
34292
34293 fi
34294
34295 if test "$WXGTK127" = 1 ; then
34296 cat >>confdefs.h <<_ACEOF
34297 #define __WXGTK127__ $WXGTK127
34298 _ACEOF
34299
34300 fi
34301
34302 if test "$WXGPE" = 1 ; then
34303 cat >>confdefs.h <<_ACEOF
34304 #define __WXGPE__ $WXGPE
34305 _ACEOF
34306
34307 fi
34308
34309 WXDEBUG=
34310
34311 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
34312 WXDEBUG="-g"
34313 wxUSE_OPTIMISE=no
34314 fi
34315
34316 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
34317 wxUSE_DEBUG_INFO=yes
34318 WXDEBUG="-ggdb"
34319 fi
34320
34321 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
34322 cat >>confdefs.h <<\_ACEOF
34323 #define WXDEBUG 1
34324 _ACEOF
34325
34326 WXDEBUG_DEFINE="-D__WXDEBUG__"
34327 else
34328 if test "$wxUSE_GTK" = 1 ; then
34329 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
34330 fi
34331 fi
34332
34333 if test "$wxUSE_MEM_TRACING" = "yes" ; then
34334 cat >>confdefs.h <<\_ACEOF
34335 #define wxUSE_MEMORY_TRACING 1
34336 _ACEOF
34337
34338 cat >>confdefs.h <<\_ACEOF
34339 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
34340 _ACEOF
34341
34342 cat >>confdefs.h <<\_ACEOF
34343 #define wxUSE_DEBUG_NEW_ALWAYS 1
34344 _ACEOF
34345
34346 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
34347 fi
34348
34349 if test "$wxUSE_DMALLOC" = "yes" ; then
34350 DMALLOC_LIBS="-ldmalloc"
34351 fi
34352
34353 PROFILE=
34354 if test "$wxUSE_PROFILE" = "yes" ; then
34355 PROFILE=" -pg"
34356 fi
34357
34358 CODE_GEN_FLAGS=
34359 CODE_GEN_FLAGS_CXX=
34360 if test "$GCC" = "yes" ; then
34361 if test "$wxUSE_NO_RTTI" = "yes" ; then
34362 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
34363 fi
34364 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
34365 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
34366 fi
34367 if test "$wxUSE_PERMISSIVE" = "yes" ; then
34368 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
34369 fi
34370
34371 case "${host}" in
34372 powerpc*-*-aix* )
34373 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
34374 ;;
34375 *-hppa* )
34376 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
34377 ;;
34378 esac
34379 fi
34380
34381 OPTIMISE=
34382 if test "$wxUSE_OPTIMISE" = "no" ; then
34383 if test "$GCC" = yes ; then
34384 OPTIMISE="-O0"
34385 fi
34386 else
34387 if test "$GCC" = yes ; then
34388 OPTIMISE="-O2"
34389
34390 case "${host}" in
34391 i586-*-*|i686-*-* )
34392 OPTIMISE="${OPTIMISE} "
34393 ;;
34394 esac
34395 else
34396 OPTIMISE="-O"
34397 fi
34398 fi
34399
34400
34401 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
34402 cat >>confdefs.h <<\_ACEOF
34403 #define WXWIN_COMPATIBILITY_2_2 1
34404 _ACEOF
34405
34406
34407 WXWIN_COMPATIBILITY_2_4="yes"
34408 fi
34409
34410 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
34411 cat >>confdefs.h <<\_ACEOF
34412 #define WXWIN_COMPATIBILITY_2_4 1
34413 _ACEOF
34414
34415 fi
34416
34417
34418 if test "$wxUSE_GUI" = "yes"; then
34419 cat >>confdefs.h <<\_ACEOF
34420 #define wxUSE_GUI 1
34421 _ACEOF
34422
34423
34424 else
34425 cat >>confdefs.h <<\_ACEOF
34426 #define wxUSE_NOGUI 1
34427 _ACEOF
34428
34429 fi
34430
34431
34432 if test "$wxUSE_UNIX" = "yes"; then
34433 cat >>confdefs.h <<\_ACEOF
34434 #define wxUSE_UNIX 1
34435 _ACEOF
34436
34437 fi
34438
34439
34440 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
34441
34442 HAVE_DL_FUNCS=0
34443 HAVE_SHL_FUNCS=0
34444 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34445 if test "$USE_DARWIN" = 1; then
34446 HAVE_DL_FUNCS=1
34447 else
34448
34449 for ac_func in dlopen
34450 do
34451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34452 echo "$as_me:$LINENO: checking for $ac_func" >&5
34453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34454 if eval "test \"\${$as_ac_var+set}\" = set"; then
34455 echo $ECHO_N "(cached) $ECHO_C" >&6
34456 else
34457 cat >conftest.$ac_ext <<_ACEOF
34458 /* confdefs.h. */
34459 _ACEOF
34460 cat confdefs.h >>conftest.$ac_ext
34461 cat >>conftest.$ac_ext <<_ACEOF
34462 /* end confdefs.h. */
34463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34465 #define $ac_func innocuous_$ac_func
34466
34467 /* System header to define __stub macros and hopefully few prototypes,
34468 which can conflict with char $ac_func (); below.
34469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34470 <limits.h> exists even on freestanding compilers. */
34471
34472 #ifdef __STDC__
34473 # include <limits.h>
34474 #else
34475 # include <assert.h>
34476 #endif
34477
34478 #undef $ac_func
34479
34480 /* Override any gcc2 internal prototype to avoid an error. */
34481 #ifdef __cplusplus
34482 extern "C"
34483 {
34484 #endif
34485 /* We use char because int might match the return type of a gcc2
34486 builtin and then its argument prototype would still apply. */
34487 char $ac_func ();
34488 /* The GNU C library defines this for functions which it implements
34489 to always fail with ENOSYS. Some functions are actually named
34490 something starting with __ and the normal name is an alias. */
34491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34492 choke me
34493 #else
34494 char (*f) () = $ac_func;
34495 #endif
34496 #ifdef __cplusplus
34497 }
34498 #endif
34499
34500 int
34501 main ()
34502 {
34503 return f != $ac_func;
34504 ;
34505 return 0;
34506 }
34507 _ACEOF
34508 rm -f conftest.$ac_objext conftest$ac_exeext
34509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34510 (eval $ac_link) 2>conftest.er1
34511 ac_status=$?
34512 grep -v '^ *+' conftest.er1 >conftest.err
34513 rm -f conftest.er1
34514 cat conftest.err >&5
34515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34516 (exit $ac_status); } &&
34517 { ac_try='test -z "$ac_c_werror_flag"
34518 || test ! -s conftest.err'
34519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34520 (eval $ac_try) 2>&5
34521 ac_status=$?
34522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34523 (exit $ac_status); }; } &&
34524 { ac_try='test -s conftest$ac_exeext'
34525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34526 (eval $ac_try) 2>&5
34527 ac_status=$?
34528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34529 (exit $ac_status); }; }; then
34530 eval "$as_ac_var=yes"
34531 else
34532 echo "$as_me: failed program was:" >&5
34533 sed 's/^/| /' conftest.$ac_ext >&5
34534
34535 eval "$as_ac_var=no"
34536 fi
34537 rm -f conftest.err conftest.$ac_objext \
34538 conftest$ac_exeext conftest.$ac_ext
34539 fi
34540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34542 if test `eval echo '${'$as_ac_var'}'` = yes; then
34543 cat >>confdefs.h <<_ACEOF
34544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34545 _ACEOF
34546
34547 cat >>confdefs.h <<\_ACEOF
34548 #define HAVE_DLOPEN 1
34549 _ACEOF
34550
34551 HAVE_DL_FUNCS=1
34552
34553 else
34554
34555 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
34556 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
34557 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
34558 echo $ECHO_N "(cached) $ECHO_C" >&6
34559 else
34560 ac_check_lib_save_LIBS=$LIBS
34561 LIBS="-ldl $LIBS"
34562 cat >conftest.$ac_ext <<_ACEOF
34563 /* confdefs.h. */
34564 _ACEOF
34565 cat confdefs.h >>conftest.$ac_ext
34566 cat >>conftest.$ac_ext <<_ACEOF
34567 /* end confdefs.h. */
34568
34569 /* Override any gcc2 internal prototype to avoid an error. */
34570 #ifdef __cplusplus
34571 extern "C"
34572 #endif
34573 /* We use char because int might match the return type of a gcc2
34574 builtin and then its argument prototype would still apply. */
34575 char dlopen ();
34576 int
34577 main ()
34578 {
34579 dlopen ();
34580 ;
34581 return 0;
34582 }
34583 _ACEOF
34584 rm -f conftest.$ac_objext conftest$ac_exeext
34585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34586 (eval $ac_link) 2>conftest.er1
34587 ac_status=$?
34588 grep -v '^ *+' conftest.er1 >conftest.err
34589 rm -f conftest.er1
34590 cat conftest.err >&5
34591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34592 (exit $ac_status); } &&
34593 { ac_try='test -z "$ac_c_werror_flag"
34594 || test ! -s conftest.err'
34595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34596 (eval $ac_try) 2>&5
34597 ac_status=$?
34598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34599 (exit $ac_status); }; } &&
34600 { ac_try='test -s conftest$ac_exeext'
34601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34602 (eval $ac_try) 2>&5
34603 ac_status=$?
34604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34605 (exit $ac_status); }; }; then
34606 ac_cv_lib_dl_dlopen=yes
34607 else
34608 echo "$as_me: failed program was:" >&5
34609 sed 's/^/| /' conftest.$ac_ext >&5
34610
34611 ac_cv_lib_dl_dlopen=no
34612 fi
34613 rm -f conftest.err conftest.$ac_objext \
34614 conftest$ac_exeext conftest.$ac_ext
34615 LIBS=$ac_check_lib_save_LIBS
34616 fi
34617 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
34618 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
34619 if test $ac_cv_lib_dl_dlopen = yes; then
34620
34621 cat >>confdefs.h <<\_ACEOF
34622 #define HAVE_DLOPEN 1
34623 _ACEOF
34624
34625 HAVE_DL_FUNCS=1
34626 DL_LINK=" -ldl$DL_LINK"
34627
34628 else
34629
34630
34631 for ac_func in shl_load
34632 do
34633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34634 echo "$as_me:$LINENO: checking for $ac_func" >&5
34635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34636 if eval "test \"\${$as_ac_var+set}\" = set"; then
34637 echo $ECHO_N "(cached) $ECHO_C" >&6
34638 else
34639 cat >conftest.$ac_ext <<_ACEOF
34640 /* confdefs.h. */
34641 _ACEOF
34642 cat confdefs.h >>conftest.$ac_ext
34643 cat >>conftest.$ac_ext <<_ACEOF
34644 /* end confdefs.h. */
34645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34647 #define $ac_func innocuous_$ac_func
34648
34649 /* System header to define __stub macros and hopefully few prototypes,
34650 which can conflict with char $ac_func (); below.
34651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34652 <limits.h> exists even on freestanding compilers. */
34653
34654 #ifdef __STDC__
34655 # include <limits.h>
34656 #else
34657 # include <assert.h>
34658 #endif
34659
34660 #undef $ac_func
34661
34662 /* Override any gcc2 internal prototype to avoid an error. */
34663 #ifdef __cplusplus
34664 extern "C"
34665 {
34666 #endif
34667 /* We use char because int might match the return type of a gcc2
34668 builtin and then its argument prototype would still apply. */
34669 char $ac_func ();
34670 /* The GNU C library defines this for functions which it implements
34671 to always fail with ENOSYS. Some functions are actually named
34672 something starting with __ and the normal name is an alias. */
34673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34674 choke me
34675 #else
34676 char (*f) () = $ac_func;
34677 #endif
34678 #ifdef __cplusplus
34679 }
34680 #endif
34681
34682 int
34683 main ()
34684 {
34685 return f != $ac_func;
34686 ;
34687 return 0;
34688 }
34689 _ACEOF
34690 rm -f conftest.$ac_objext conftest$ac_exeext
34691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34692 (eval $ac_link) 2>conftest.er1
34693 ac_status=$?
34694 grep -v '^ *+' conftest.er1 >conftest.err
34695 rm -f conftest.er1
34696 cat conftest.err >&5
34697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34698 (exit $ac_status); } &&
34699 { ac_try='test -z "$ac_c_werror_flag"
34700 || test ! -s conftest.err'
34701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34702 (eval $ac_try) 2>&5
34703 ac_status=$?
34704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34705 (exit $ac_status); }; } &&
34706 { ac_try='test -s conftest$ac_exeext'
34707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34708 (eval $ac_try) 2>&5
34709 ac_status=$?
34710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34711 (exit $ac_status); }; }; then
34712 eval "$as_ac_var=yes"
34713 else
34714 echo "$as_me: failed program was:" >&5
34715 sed 's/^/| /' conftest.$ac_ext >&5
34716
34717 eval "$as_ac_var=no"
34718 fi
34719 rm -f conftest.err conftest.$ac_objext \
34720 conftest$ac_exeext conftest.$ac_ext
34721 fi
34722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34724 if test `eval echo '${'$as_ac_var'}'` = yes; then
34725 cat >>confdefs.h <<_ACEOF
34726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34727 _ACEOF
34728
34729 cat >>confdefs.h <<\_ACEOF
34730 #define HAVE_SHL_LOAD 1
34731 _ACEOF
34732
34733 HAVE_SHL_FUNCS=1
34734
34735 else
34736
34737 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
34738 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
34739 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
34740 echo $ECHO_N "(cached) $ECHO_C" >&6
34741 else
34742 ac_check_lib_save_LIBS=$LIBS
34743 LIBS="-lshl_load $LIBS"
34744 cat >conftest.$ac_ext <<_ACEOF
34745 /* confdefs.h. */
34746 _ACEOF
34747 cat confdefs.h >>conftest.$ac_ext
34748 cat >>conftest.$ac_ext <<_ACEOF
34749 /* end confdefs.h. */
34750
34751 /* Override any gcc2 internal prototype to avoid an error. */
34752 #ifdef __cplusplus
34753 extern "C"
34754 #endif
34755 /* We use char because int might match the return type of a gcc2
34756 builtin and then its argument prototype would still apply. */
34757 char dld ();
34758 int
34759 main ()
34760 {
34761 dld ();
34762 ;
34763 return 0;
34764 }
34765 _ACEOF
34766 rm -f conftest.$ac_objext conftest$ac_exeext
34767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34768 (eval $ac_link) 2>conftest.er1
34769 ac_status=$?
34770 grep -v '^ *+' conftest.er1 >conftest.err
34771 rm -f conftest.er1
34772 cat conftest.err >&5
34773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34774 (exit $ac_status); } &&
34775 { ac_try='test -z "$ac_c_werror_flag"
34776 || test ! -s conftest.err'
34777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34778 (eval $ac_try) 2>&5
34779 ac_status=$?
34780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34781 (exit $ac_status); }; } &&
34782 { ac_try='test -s conftest$ac_exeext'
34783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34784 (eval $ac_try) 2>&5
34785 ac_status=$?
34786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34787 (exit $ac_status); }; }; then
34788 ac_cv_lib_shl_load_dld=yes
34789 else
34790 echo "$as_me: failed program was:" >&5
34791 sed 's/^/| /' conftest.$ac_ext >&5
34792
34793 ac_cv_lib_shl_load_dld=no
34794 fi
34795 rm -f conftest.err conftest.$ac_objext \
34796 conftest$ac_exeext conftest.$ac_ext
34797 LIBS=$ac_check_lib_save_LIBS
34798 fi
34799 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
34800 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
34801 if test $ac_cv_lib_shl_load_dld = yes; then
34802
34803 HAVE_SHL_FUNCS=1
34804 DL_LINK=" -ldld$DL_LINK"
34805
34806 fi
34807
34808
34809 fi
34810 done
34811
34812
34813 fi
34814
34815
34816 fi
34817 done
34818
34819
34820 if test "$HAVE_DL_FUNCS" = 1; then
34821
34822 for ac_func in dlerror
34823 do
34824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34825 echo "$as_me:$LINENO: checking for $ac_func" >&5
34826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34827 if eval "test \"\${$as_ac_var+set}\" = set"; then
34828 echo $ECHO_N "(cached) $ECHO_C" >&6
34829 else
34830 cat >conftest.$ac_ext <<_ACEOF
34831 /* confdefs.h. */
34832 _ACEOF
34833 cat confdefs.h >>conftest.$ac_ext
34834 cat >>conftest.$ac_ext <<_ACEOF
34835 /* end confdefs.h. */
34836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34838 #define $ac_func innocuous_$ac_func
34839
34840 /* System header to define __stub macros and hopefully few prototypes,
34841 which can conflict with char $ac_func (); below.
34842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34843 <limits.h> exists even on freestanding compilers. */
34844
34845 #ifdef __STDC__
34846 # include <limits.h>
34847 #else
34848 # include <assert.h>
34849 #endif
34850
34851 #undef $ac_func
34852
34853 /* Override any gcc2 internal prototype to avoid an error. */
34854 #ifdef __cplusplus
34855 extern "C"
34856 {
34857 #endif
34858 /* We use char because int might match the return type of a gcc2
34859 builtin and then its argument prototype would still apply. */
34860 char $ac_func ();
34861 /* The GNU C library defines this for functions which it implements
34862 to always fail with ENOSYS. Some functions are actually named
34863 something starting with __ and the normal name is an alias. */
34864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34865 choke me
34866 #else
34867 char (*f) () = $ac_func;
34868 #endif
34869 #ifdef __cplusplus
34870 }
34871 #endif
34872
34873 int
34874 main ()
34875 {
34876 return f != $ac_func;
34877 ;
34878 return 0;
34879 }
34880 _ACEOF
34881 rm -f conftest.$ac_objext conftest$ac_exeext
34882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34883 (eval $ac_link) 2>conftest.er1
34884 ac_status=$?
34885 grep -v '^ *+' conftest.er1 >conftest.err
34886 rm -f conftest.er1
34887 cat conftest.err >&5
34888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34889 (exit $ac_status); } &&
34890 { ac_try='test -z "$ac_c_werror_flag"
34891 || test ! -s conftest.err'
34892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34893 (eval $ac_try) 2>&5
34894 ac_status=$?
34895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34896 (exit $ac_status); }; } &&
34897 { ac_try='test -s conftest$ac_exeext'
34898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34899 (eval $ac_try) 2>&5
34900 ac_status=$?
34901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34902 (exit $ac_status); }; }; then
34903 eval "$as_ac_var=yes"
34904 else
34905 echo "$as_me: failed program was:" >&5
34906 sed 's/^/| /' conftest.$ac_ext >&5
34907
34908 eval "$as_ac_var=no"
34909 fi
34910 rm -f conftest.err conftest.$ac_objext \
34911 conftest$ac_exeext conftest.$ac_ext
34912 fi
34913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34915 if test `eval echo '${'$as_ac_var'}'` = yes; then
34916 cat >>confdefs.h <<_ACEOF
34917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34918 _ACEOF
34919 cat >>confdefs.h <<\_ACEOF
34920 #define HAVE_DLERROR 1
34921 _ACEOF
34922
34923 else
34924
34925 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
34926 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
34927 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
34928 echo $ECHO_N "(cached) $ECHO_C" >&6
34929 else
34930 ac_check_lib_save_LIBS=$LIBS
34931 LIBS="-ldl $LIBS"
34932 cat >conftest.$ac_ext <<_ACEOF
34933 /* confdefs.h. */
34934 _ACEOF
34935 cat confdefs.h >>conftest.$ac_ext
34936 cat >>conftest.$ac_ext <<_ACEOF
34937 /* end confdefs.h. */
34938
34939 /* Override any gcc2 internal prototype to avoid an error. */
34940 #ifdef __cplusplus
34941 extern "C"
34942 #endif
34943 /* We use char because int might match the return type of a gcc2
34944 builtin and then its argument prototype would still apply. */
34945 char dlerror ();
34946 int
34947 main ()
34948 {
34949 dlerror ();
34950 ;
34951 return 0;
34952 }
34953 _ACEOF
34954 rm -f conftest.$ac_objext conftest$ac_exeext
34955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34956 (eval $ac_link) 2>conftest.er1
34957 ac_status=$?
34958 grep -v '^ *+' conftest.er1 >conftest.err
34959 rm -f conftest.er1
34960 cat conftest.err >&5
34961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34962 (exit $ac_status); } &&
34963 { ac_try='test -z "$ac_c_werror_flag"
34964 || test ! -s conftest.err'
34965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34966 (eval $ac_try) 2>&5
34967 ac_status=$?
34968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34969 (exit $ac_status); }; } &&
34970 { ac_try='test -s conftest$ac_exeext'
34971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34972 (eval $ac_try) 2>&5
34973 ac_status=$?
34974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34975 (exit $ac_status); }; }; then
34976 ac_cv_lib_dl_dlerror=yes
34977 else
34978 echo "$as_me: failed program was:" >&5
34979 sed 's/^/| /' conftest.$ac_ext >&5
34980
34981 ac_cv_lib_dl_dlerror=no
34982 fi
34983 rm -f conftest.err conftest.$ac_objext \
34984 conftest$ac_exeext conftest.$ac_ext
34985 LIBS=$ac_check_lib_save_LIBS
34986 fi
34987 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34988 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34989 if test $ac_cv_lib_dl_dlerror = yes; then
34990 cat >>confdefs.h <<\_ACEOF
34991 #define HAVE_DLERROR 1
34992 _ACEOF
34993
34994 fi
34995
34996
34997
34998 fi
34999 done
35000
35001 fi
35002 fi
35003
35004 if test "$HAVE_DL_FUNCS" = 0; then
35005 if test "$HAVE_SHL_FUNCS" = 0; then
35006 if test "$USE_UNIX" = 1; then
35007 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
35008 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
35009 wxUSE_DYNAMIC_LOADER=no
35010 wxUSE_DYNLIB_CLASS=no
35011 else
35012 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
35013 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
35014 fi
35015 fi
35016 fi
35017 fi
35018 fi
35019
35020 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
35021 cat >>confdefs.h <<\_ACEOF
35022 #define wxUSE_DYNAMIC_LOADER 1
35023 _ACEOF
35024
35025 fi
35026 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35027 cat >>confdefs.h <<\_ACEOF
35028 #define wxUSE_DYNLIB_CLASS 1
35029 _ACEOF
35030
35031 fi
35032
35033
35034
35035 if test "$wxUSE_PLUGINS" = "yes" ; then
35036 if test "$wxUSE_SHARED" = "no" ; then
35037 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
35038 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
35039 wxUSE_PLUGINS=no
35040 fi
35041 if test "$wxUSE_MONOLITHIC" = "yes" ; then
35042 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
35043 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
35044 wxUSE_PLUGINS=no
35045 fi
35046 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
35047 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
35048 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
35049 wxUSE_PLUGINS=no
35050 fi
35051 if test "$wxUSE_PLUGINS" = "yes" ; then
35052 cat >>confdefs.h <<\_ACEOF
35053 #define wxUSE_PLUGINS 1
35054 _ACEOF
35055
35056 fi
35057 fi
35058
35059
35060 if test "$wxUSE_STL" = "yes"; then
35061 cat >>confdefs.h <<\_ACEOF
35062 #define wxUSE_STL 1
35063 _ACEOF
35064
35065 fi
35066
35067 if test "$wxUSE_APPLE_IEEE" = "yes"; then
35068 cat >>confdefs.h <<\_ACEOF
35069 #define wxUSE_APPLE_IEEE 1
35070 _ACEOF
35071
35072 fi
35073
35074 if test "$wxUSE_TIMER" = "yes"; then
35075 cat >>confdefs.h <<\_ACEOF
35076 #define wxUSE_TIMER 1
35077 _ACEOF
35078
35079 fi
35080
35081 WITH_PLUGIN_SDL=0
35082 if test "$wxUSE_SOUND" = "yes"; then
35083 if test "$USE_UNIX" = "1" ; then
35084
35085 for ac_header in sys/soundcard.h
35086 do
35087 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35088 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35089 echo "$as_me:$LINENO: checking for $ac_header" >&5
35090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35091 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35092 echo $ECHO_N "(cached) $ECHO_C" >&6
35093 fi
35094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35095 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35096 else
35097 # Is the header compilable?
35098 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35099 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35100 cat >conftest.$ac_ext <<_ACEOF
35101 /* confdefs.h. */
35102 _ACEOF
35103 cat confdefs.h >>conftest.$ac_ext
35104 cat >>conftest.$ac_ext <<_ACEOF
35105 /* end confdefs.h. */
35106 $ac_includes_default
35107 #include <$ac_header>
35108 _ACEOF
35109 rm -f conftest.$ac_objext
35110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35111 (eval $ac_compile) 2>conftest.er1
35112 ac_status=$?
35113 grep -v '^ *+' conftest.er1 >conftest.err
35114 rm -f conftest.er1
35115 cat conftest.err >&5
35116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35117 (exit $ac_status); } &&
35118 { ac_try='test -z "$ac_c_werror_flag"
35119 || test ! -s conftest.err'
35120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35121 (eval $ac_try) 2>&5
35122 ac_status=$?
35123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35124 (exit $ac_status); }; } &&
35125 { ac_try='test -s conftest.$ac_objext'
35126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35127 (eval $ac_try) 2>&5
35128 ac_status=$?
35129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35130 (exit $ac_status); }; }; then
35131 ac_header_compiler=yes
35132 else
35133 echo "$as_me: failed program was:" >&5
35134 sed 's/^/| /' conftest.$ac_ext >&5
35135
35136 ac_header_compiler=no
35137 fi
35138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35139 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35140 echo "${ECHO_T}$ac_header_compiler" >&6
35141
35142 # Is the header present?
35143 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35144 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35145 cat >conftest.$ac_ext <<_ACEOF
35146 /* confdefs.h. */
35147 _ACEOF
35148 cat confdefs.h >>conftest.$ac_ext
35149 cat >>conftest.$ac_ext <<_ACEOF
35150 /* end confdefs.h. */
35151 #include <$ac_header>
35152 _ACEOF
35153 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35154 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35155 ac_status=$?
35156 grep -v '^ *+' conftest.er1 >conftest.err
35157 rm -f conftest.er1
35158 cat conftest.err >&5
35159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35160 (exit $ac_status); } >/dev/null; then
35161 if test -s conftest.err; then
35162 ac_cpp_err=$ac_c_preproc_warn_flag
35163 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35164 else
35165 ac_cpp_err=
35166 fi
35167 else
35168 ac_cpp_err=yes
35169 fi
35170 if test -z "$ac_cpp_err"; then
35171 ac_header_preproc=yes
35172 else
35173 echo "$as_me: failed program was:" >&5
35174 sed 's/^/| /' conftest.$ac_ext >&5
35175
35176 ac_header_preproc=no
35177 fi
35178 rm -f conftest.err conftest.$ac_ext
35179 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35180 echo "${ECHO_T}$ac_header_preproc" >&6
35181
35182 # So? What about this header?
35183 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35184 yes:no: )
35185 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35186 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35187 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35188 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35189 ac_header_preproc=yes
35190 ;;
35191 no:yes:* )
35192 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35193 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35194 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35195 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35196 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35197 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35198 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35199 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35200 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35201 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35202 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35203 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35204 (
35205 cat <<\_ASBOX
35206 ## ----------------------------------------- ##
35207 ## Report this to wx-dev@lists.wxwidgets.org ##
35208 ## ----------------------------------------- ##
35209 _ASBOX
35210 ) |
35211 sed "s/^/$as_me: WARNING: /" >&2
35212 ;;
35213 esac
35214 echo "$as_me:$LINENO: checking for $ac_header" >&5
35215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35217 echo $ECHO_N "(cached) $ECHO_C" >&6
35218 else
35219 eval "$as_ac_Header=\$ac_header_preproc"
35220 fi
35221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35222 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35223
35224 fi
35225 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35226 cat >>confdefs.h <<_ACEOF
35227 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35228 _ACEOF
35229
35230 fi
35231
35232 done
35233
35234
35235 if test "$wxUSE_LIBSDL" != "no"; then
35236
35237 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
35238 if test "${with_sdl_prefix+set}" = set; then
35239 withval="$with_sdl_prefix"
35240 sdl_prefix="$withval"
35241 else
35242 sdl_prefix=""
35243 fi;
35244
35245 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
35246 if test "${with_sdl_exec_prefix+set}" = set; then
35247 withval="$with_sdl_exec_prefix"
35248 sdl_exec_prefix="$withval"
35249 else
35250 sdl_exec_prefix=""
35251 fi;
35252 # Check whether --enable-sdltest or --disable-sdltest was given.
35253 if test "${enable_sdltest+set}" = set; then
35254 enableval="$enable_sdltest"
35255
35256 else
35257 enable_sdltest=yes
35258 fi;
35259
35260 if test x$sdl_exec_prefix != x ; then
35261 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
35262 if test x${SDL_CONFIG+set} != xset ; then
35263 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
35264 fi
35265 fi
35266 if test x$sdl_prefix != x ; then
35267 sdl_args="$sdl_args --prefix=$sdl_prefix"
35268 if test x${SDL_CONFIG+set} != xset ; then
35269 SDL_CONFIG=$sdl_prefix/bin/sdl-config
35270 fi
35271 fi
35272
35273
35274 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
35275 # Extract the first word of "sdl-config", so it can be a program name with args.
35276 set dummy sdl-config; ac_word=$2
35277 echo "$as_me:$LINENO: checking for $ac_word" >&5
35278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35279 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
35280 echo $ECHO_N "(cached) $ECHO_C" >&6
35281 else
35282 case $SDL_CONFIG in
35283 [\\/]* | ?:[\\/]*)
35284 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
35285 ;;
35286 *)
35287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35288 for as_dir in $PATH
35289 do
35290 IFS=$as_save_IFS
35291 test -z "$as_dir" && as_dir=.
35292 for ac_exec_ext in '' $ac_executable_extensions; do
35293 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35294 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35296 break 2
35297 fi
35298 done
35299 done
35300
35301 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
35302 ;;
35303 esac
35304 fi
35305 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
35306
35307 if test -n "$SDL_CONFIG"; then
35308 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
35309 echo "${ECHO_T}$SDL_CONFIG" >&6
35310 else
35311 echo "$as_me:$LINENO: result: no" >&5
35312 echo "${ECHO_T}no" >&6
35313 fi
35314
35315 min_sdl_version=1.2.0
35316 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
35317 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
35318 no_sdl=""
35319 if test "$SDL_CONFIG" = "no" ; then
35320 no_sdl=yes
35321 else
35322 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
35323 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
35324
35325 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
35326 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
35327 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
35328 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
35329 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
35330 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
35331 if test "x$enable_sdltest" = "xyes" ; then
35332 ac_save_CFLAGS="$CFLAGS"
35333 ac_save_LIBS="$LIBS"
35334 CFLAGS="$CFLAGS $SDL_CFLAGS"
35335 LIBS="$LIBS $SDL_LIBS"
35336 rm -f conf.sdltest
35337 if test "$cross_compiling" = yes; then
35338 echo $ac_n "cross compiling; assumed OK... $ac_c"
35339 else
35340 cat >conftest.$ac_ext <<_ACEOF
35341 /* confdefs.h. */
35342 _ACEOF
35343 cat confdefs.h >>conftest.$ac_ext
35344 cat >>conftest.$ac_ext <<_ACEOF
35345 /* end confdefs.h. */
35346
35347 #include <stdio.h>
35348 #include <stdlib.h>
35349 #include <string.h>
35350 #include "SDL.h"
35351
35352 char*
35353 my_strdup (char *str)
35354 {
35355 char *new_str;
35356
35357 if (str)
35358 {
35359 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
35360 strcpy (new_str, str);
35361 }
35362 else
35363 new_str = NULL;
35364
35365 return new_str;
35366 }
35367
35368 int main (int argc, char *argv[])
35369 {
35370 int major, minor, micro;
35371 char *tmp_version;
35372
35373 /* This hangs on some systems (?)
35374 system ("touch conf.sdltest");
35375 */
35376 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
35377
35378 /* HP/UX 9 (%@#!) writes to sscanf strings */
35379 tmp_version = my_strdup("$min_sdl_version");
35380 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
35381 printf("%s, bad version string\n", "$min_sdl_version");
35382 exit(1);
35383 }
35384
35385 if (($sdl_major_version > major) ||
35386 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
35387 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
35388 {
35389 return 0;
35390 }
35391 else
35392 {
35393 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
35394 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
35395 printf("*** best to upgrade to the required version.\n");
35396 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
35397 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
35398 printf("*** config.cache before re-running configure\n");
35399 return 1;
35400 }
35401 }
35402
35403
35404 _ACEOF
35405 rm -f conftest$ac_exeext
35406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35407 (eval $ac_link) 2>&5
35408 ac_status=$?
35409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35410 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35412 (eval $ac_try) 2>&5
35413 ac_status=$?
35414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35415 (exit $ac_status); }; }; then
35416 :
35417 else
35418 echo "$as_me: program exited with status $ac_status" >&5
35419 echo "$as_me: failed program was:" >&5
35420 sed 's/^/| /' conftest.$ac_ext >&5
35421
35422 ( exit $ac_status )
35423 no_sdl=yes
35424 fi
35425 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35426 fi
35427 CFLAGS="$ac_save_CFLAGS"
35428 LIBS="$ac_save_LIBS"
35429 fi
35430 fi
35431 if test "x$no_sdl" = x ; then
35432 echo "$as_me:$LINENO: result: yes" >&5
35433 echo "${ECHO_T}yes" >&6
35434
35435 EXTRALIBS_SDL="$SDL_LIBS"
35436 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
35437 cat >>confdefs.h <<\_ACEOF
35438 #define wxUSE_LIBSDL 1
35439 _ACEOF
35440
35441
35442 else
35443 echo "$as_me:$LINENO: result: no" >&5
35444 echo "${ECHO_T}no" >&6
35445 if test "$SDL_CONFIG" = "no" ; then
35446 echo "*** The sdl-config script installed by SDL could not be found"
35447 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
35448 echo "*** your path, or set the SDL_CONFIG environment variable to the"
35449 echo "*** full path to sdl-config."
35450 else
35451 if test -f conf.sdltest ; then
35452 :
35453 else
35454 echo "*** Could not run SDL test program, checking why..."
35455 CFLAGS="$CFLAGS $SDL_CFLAGS"
35456 LIBS="$LIBS $SDL_LIBS"
35457 cat >conftest.$ac_ext <<_ACEOF
35458 /* confdefs.h. */
35459 _ACEOF
35460 cat confdefs.h >>conftest.$ac_ext
35461 cat >>conftest.$ac_ext <<_ACEOF
35462 /* end confdefs.h. */
35463
35464 #include <stdio.h>
35465 #include "SDL.h"
35466
35467 int main(int argc, char *argv[])
35468 { return 0; }
35469 #undef main
35470 #define main K_and_R_C_main
35471
35472 int
35473 main ()
35474 {
35475 return 0;
35476 ;
35477 return 0;
35478 }
35479 _ACEOF
35480 rm -f conftest.$ac_objext conftest$ac_exeext
35481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35482 (eval $ac_link) 2>conftest.er1
35483 ac_status=$?
35484 grep -v '^ *+' conftest.er1 >conftest.err
35485 rm -f conftest.er1
35486 cat conftest.err >&5
35487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35488 (exit $ac_status); } &&
35489 { ac_try='test -z "$ac_c_werror_flag"
35490 || test ! -s conftest.err'
35491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35492 (eval $ac_try) 2>&5
35493 ac_status=$?
35494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35495 (exit $ac_status); }; } &&
35496 { ac_try='test -s conftest$ac_exeext'
35497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35498 (eval $ac_try) 2>&5
35499 ac_status=$?
35500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35501 (exit $ac_status); }; }; then
35502 echo "*** The test program compiled, but did not run. This usually means"
35503 echo "*** that the run-time linker is not finding SDL or finding the wrong"
35504 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
35505 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
35506 echo "*** to the installed location Also, make sure you have run ldconfig if that"
35507 echo "*** is required on your system"
35508 echo "***"
35509 echo "*** If you have an old version installed, it is best to remove it, although"
35510 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
35511 else
35512 echo "$as_me: failed program was:" >&5
35513 sed 's/^/| /' conftest.$ac_ext >&5
35514
35515 echo "*** The test program failed to compile or link. See the file config.log for the"
35516 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
35517 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
35518 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
35519 fi
35520 rm -f conftest.err conftest.$ac_objext \
35521 conftest$ac_exeext conftest.$ac_ext
35522 CFLAGS="$ac_save_CFLAGS"
35523 LIBS="$ac_save_LIBS"
35524 fi
35525 fi
35526 SDL_CFLAGS=""
35527 SDL_LIBS=""
35528 wxUSE_LIBSDL="no"
35529 fi
35530
35531
35532 rm -f conf.sdltest
35533
35534 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
35535 WITH_PLUGIN_SDL=1
35536 fi
35537 fi
35538 fi
35539
35540 cat >>confdefs.h <<\_ACEOF
35541 #define wxUSE_SOUND 1
35542 _ACEOF
35543
35544 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
35545 fi
35546
35547 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
35548 cat >>confdefs.h <<\_ACEOF
35549 #define wxUSE_CMDLINE_PARSER 1
35550 _ACEOF
35551
35552 fi
35553
35554 if test "$wxUSE_STOPWATCH" = "yes"; then
35555 cat >>confdefs.h <<\_ACEOF
35556 #define wxUSE_STOPWATCH 1
35557 _ACEOF
35558
35559 fi
35560
35561 if test "$wxUSE_DATETIME" = "yes"; then
35562 cat >>confdefs.h <<\_ACEOF
35563 #define wxUSE_DATETIME 1
35564 _ACEOF
35565
35566 fi
35567
35568 if test "$wxUSE_FILE" = "yes"; then
35569 cat >>confdefs.h <<\_ACEOF
35570 #define wxUSE_FILE 1
35571 _ACEOF
35572
35573 fi
35574
35575 if test "$wxUSE_FFILE" = "yes"; then
35576 cat >>confdefs.h <<\_ACEOF
35577 #define wxUSE_FFILE 1
35578 _ACEOF
35579
35580 fi
35581
35582 if test "$wxUSE_FILESYSTEM" = "yes"; then
35583 cat >>confdefs.h <<\_ACEOF
35584 #define wxUSE_FILESYSTEM 1
35585 _ACEOF
35586
35587 fi
35588
35589 if test "$wxUSE_FS_ZIP" = "yes"; then
35590 cat >>confdefs.h <<\_ACEOF
35591 #define wxUSE_FS_ZIP 1
35592 _ACEOF
35593
35594 fi
35595
35596 if test "$wxUSE_ZIPSTREAM" = "yes"; then
35597 cat >>confdefs.h <<\_ACEOF
35598 #define wxUSE_ZIPSTREAM 1
35599 _ACEOF
35600
35601 fi
35602
35603 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35604 cat >>confdefs.h <<\_ACEOF
35605 #define wxUSE_ON_FATAL_EXCEPTION 1
35606 _ACEOF
35607
35608 fi
35609
35610 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35611 cat >>confdefs.h <<\_ACEOF
35612 #define wxUSE_SNGLINST_CHECKER 1
35613 _ACEOF
35614
35615 fi
35616
35617 if test "$wxUSE_BUSYINFO" = "yes"; then
35618 cat >>confdefs.h <<\_ACEOF
35619 #define wxUSE_BUSYINFO 1
35620 _ACEOF
35621
35622 fi
35623
35624 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
35625 cat >>confdefs.h <<\_ACEOF
35626 #define wxUSE_STD_IOSTREAM 1
35627 _ACEOF
35628
35629 fi
35630
35631 if test "$wxUSE_TEXTBUFFER" = "yes"; then
35632 cat >>confdefs.h <<\_ACEOF
35633 #define wxUSE_TEXTBUFFER 1
35634 _ACEOF
35635
35636 fi
35637
35638 if test "$wxUSE_TEXTFILE" = "yes"; then
35639 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
35640 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
35641 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
35642 else
35643 cat >>confdefs.h <<\_ACEOF
35644 #define wxUSE_TEXTFILE 1
35645 _ACEOF
35646
35647 fi
35648 fi
35649
35650 if test "$wxUSE_CONFIG" = "yes" ; then
35651 if test "$wxUSE_TEXTFILE" != "yes"; then
35652 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
35653 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
35654 else
35655 cat >>confdefs.h <<\_ACEOF
35656 #define wxUSE_CONFIG 1
35657 _ACEOF
35658
35659 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
35660 fi
35661 fi
35662
35663 if test "$wxUSE_INTL" = "yes" ; then
35664 if test "$wxUSE_FILE" != "yes"; then
35665 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
35666 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
35667 else
35668 cat >>confdefs.h <<\_ACEOF
35669 #define wxUSE_INTL 1
35670 _ACEOF
35671
35672 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
35673 GUIDIST="$GUIDIST INTL_DIST"
35674 fi
35675 fi
35676
35677 if test "$wxUSE_LOG" = "yes"; then
35678 cat >>confdefs.h <<\_ACEOF
35679 #define wxUSE_LOG 1
35680 _ACEOF
35681
35682
35683 if test "$wxUSE_LOGGUI" = "yes"; then
35684 cat >>confdefs.h <<\_ACEOF
35685 #define wxUSE_LOGGUI 1
35686 _ACEOF
35687
35688 fi
35689
35690 if test "$wxUSE_LOGWINDOW" = "yes"; then
35691 cat >>confdefs.h <<\_ACEOF
35692 #define wxUSE_LOGWINDOW 1
35693 _ACEOF
35694
35695 fi
35696
35697 if test "$wxUSE_LOGDIALOG" = "yes"; then
35698 cat >>confdefs.h <<\_ACEOF
35699 #define wxUSE_LOG_DIALOG 1
35700 _ACEOF
35701
35702 fi
35703 fi
35704
35705 if test "$wxUSE_LONGLONG" = "yes"; then
35706 cat >>confdefs.h <<\_ACEOF
35707 #define wxUSE_LONGLONG 1
35708 _ACEOF
35709
35710 fi
35711
35712 if test "$wxUSE_GEOMETRY" = "yes"; then
35713 cat >>confdefs.h <<\_ACEOF
35714 #define wxUSE_GEOMETRY 1
35715 _ACEOF
35716
35717 fi
35718
35719 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
35720 cat >>confdefs.h <<\_ACEOF
35721 #define wxUSE_DIALUP_MANAGER 1
35722 _ACEOF
35723
35724 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
35725 fi
35726
35727 if test "$wxUSE_STREAMS" = "yes" ; then
35728 cat >>confdefs.h <<\_ACEOF
35729 #define wxUSE_STREAMS 1
35730 _ACEOF
35731
35732 fi
35733
35734
35735 if test "$wxUSE_DATETIME" = "yes"; then
35736
35737 for ac_func in strptime
35738 do
35739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35740 echo "$as_me:$LINENO: checking for $ac_func" >&5
35741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35742 if eval "test \"\${$as_ac_var+set}\" = set"; then
35743 echo $ECHO_N "(cached) $ECHO_C" >&6
35744 else
35745 cat >conftest.$ac_ext <<_ACEOF
35746 /* confdefs.h. */
35747 _ACEOF
35748 cat confdefs.h >>conftest.$ac_ext
35749 cat >>conftest.$ac_ext <<_ACEOF
35750 /* end confdefs.h. */
35751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35753 #define $ac_func innocuous_$ac_func
35754
35755 /* System header to define __stub macros and hopefully few prototypes,
35756 which can conflict with char $ac_func (); below.
35757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35758 <limits.h> exists even on freestanding compilers. */
35759
35760 #ifdef __STDC__
35761 # include <limits.h>
35762 #else
35763 # include <assert.h>
35764 #endif
35765
35766 #undef $ac_func
35767
35768 /* Override any gcc2 internal prototype to avoid an error. */
35769 #ifdef __cplusplus
35770 extern "C"
35771 {
35772 #endif
35773 /* We use char because int might match the return type of a gcc2
35774 builtin and then its argument prototype would still apply. */
35775 char $ac_func ();
35776 /* The GNU C library defines this for functions which it implements
35777 to always fail with ENOSYS. Some functions are actually named
35778 something starting with __ and the normal name is an alias. */
35779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35780 choke me
35781 #else
35782 char (*f) () = $ac_func;
35783 #endif
35784 #ifdef __cplusplus
35785 }
35786 #endif
35787
35788 int
35789 main ()
35790 {
35791 return f != $ac_func;
35792 ;
35793 return 0;
35794 }
35795 _ACEOF
35796 rm -f conftest.$ac_objext conftest$ac_exeext
35797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35798 (eval $ac_link) 2>conftest.er1
35799 ac_status=$?
35800 grep -v '^ *+' conftest.er1 >conftest.err
35801 rm -f conftest.er1
35802 cat conftest.err >&5
35803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35804 (exit $ac_status); } &&
35805 { ac_try='test -z "$ac_c_werror_flag"
35806 || test ! -s conftest.err'
35807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35808 (eval $ac_try) 2>&5
35809 ac_status=$?
35810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35811 (exit $ac_status); }; } &&
35812 { ac_try='test -s conftest$ac_exeext'
35813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35814 (eval $ac_try) 2>&5
35815 ac_status=$?
35816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35817 (exit $ac_status); }; }; then
35818 eval "$as_ac_var=yes"
35819 else
35820 echo "$as_me: failed program was:" >&5
35821 sed 's/^/| /' conftest.$ac_ext >&5
35822
35823 eval "$as_ac_var=no"
35824 fi
35825 rm -f conftest.err conftest.$ac_objext \
35826 conftest$ac_exeext conftest.$ac_ext
35827 fi
35828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35830 if test `eval echo '${'$as_ac_var'}'` = yes; then
35831 cat >>confdefs.h <<_ACEOF
35832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35833 _ACEOF
35834
35835 fi
35836 done
35837
35838
35839 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
35840 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
35841 if test "${wx_cv_var_timezone+set}" = set; then
35842 echo $ECHO_N "(cached) $ECHO_C" >&6
35843 else
35844
35845 cat >conftest.$ac_ext <<_ACEOF
35846 /* confdefs.h. */
35847 _ACEOF
35848 cat confdefs.h >>conftest.$ac_ext
35849 cat >>conftest.$ac_ext <<_ACEOF
35850 /* end confdefs.h. */
35851
35852 #include <time.h>
35853
35854 int
35855 main ()
35856 {
35857
35858 int tz;
35859 tz = timezone;
35860
35861 ;
35862 return 0;
35863 }
35864 _ACEOF
35865 rm -f conftest.$ac_objext
35866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35867 (eval $ac_compile) 2>conftest.er1
35868 ac_status=$?
35869 grep -v '^ *+' conftest.er1 >conftest.err
35870 rm -f conftest.er1
35871 cat conftest.err >&5
35872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35873 (exit $ac_status); } &&
35874 { ac_try='test -z "$ac_c_werror_flag"
35875 || test ! -s conftest.err'
35876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35877 (eval $ac_try) 2>&5
35878 ac_status=$?
35879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35880 (exit $ac_status); }; } &&
35881 { ac_try='test -s conftest.$ac_objext'
35882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35883 (eval $ac_try) 2>&5
35884 ac_status=$?
35885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35886 (exit $ac_status); }; }; then
35887
35888 wx_cv_var_timezone=timezone
35889
35890 else
35891 echo "$as_me: failed program was:" >&5
35892 sed 's/^/| /' conftest.$ac_ext >&5
35893
35894
35895 cat >conftest.$ac_ext <<_ACEOF
35896 /* confdefs.h. */
35897 _ACEOF
35898 cat confdefs.h >>conftest.$ac_ext
35899 cat >>conftest.$ac_ext <<_ACEOF
35900 /* end confdefs.h. */
35901
35902 #include <time.h>
35903
35904 int
35905 main ()
35906 {
35907
35908 int tz;
35909 tz = _timezone;
35910
35911 ;
35912 return 0;
35913 }
35914 _ACEOF
35915 rm -f conftest.$ac_objext
35916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35917 (eval $ac_compile) 2>conftest.er1
35918 ac_status=$?
35919 grep -v '^ *+' conftest.er1 >conftest.err
35920 rm -f conftest.er1
35921 cat conftest.err >&5
35922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35923 (exit $ac_status); } &&
35924 { ac_try='test -z "$ac_c_werror_flag"
35925 || test ! -s conftest.err'
35926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35927 (eval $ac_try) 2>&5
35928 ac_status=$?
35929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35930 (exit $ac_status); }; } &&
35931 { ac_try='test -s conftest.$ac_objext'
35932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35933 (eval $ac_try) 2>&5
35934 ac_status=$?
35935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35936 (exit $ac_status); }; }; then
35937
35938 wx_cv_var_timezone=_timezone
35939
35940 else
35941 echo "$as_me: failed program was:" >&5
35942 sed 's/^/| /' conftest.$ac_ext >&5
35943
35944
35945 cat >conftest.$ac_ext <<_ACEOF
35946 /* confdefs.h. */
35947 _ACEOF
35948 cat confdefs.h >>conftest.$ac_ext
35949 cat >>conftest.$ac_ext <<_ACEOF
35950 /* end confdefs.h. */
35951
35952 #include <time.h>
35953
35954 int
35955 main ()
35956 {
35957
35958 int tz;
35959 tz = __timezone;
35960
35961 ;
35962 return 0;
35963 }
35964 _ACEOF
35965 rm -f conftest.$ac_objext
35966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35967 (eval $ac_compile) 2>conftest.er1
35968 ac_status=$?
35969 grep -v '^ *+' conftest.er1 >conftest.err
35970 rm -f conftest.er1
35971 cat conftest.err >&5
35972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35973 (exit $ac_status); } &&
35974 { ac_try='test -z "$ac_c_werror_flag"
35975 || test ! -s conftest.err'
35976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35977 (eval $ac_try) 2>&5
35978 ac_status=$?
35979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35980 (exit $ac_status); }; } &&
35981 { ac_try='test -s conftest.$ac_objext'
35982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35983 (eval $ac_try) 2>&5
35984 ac_status=$?
35985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35986 (exit $ac_status); }; }; then
35987
35988 wx_cv_var_timezone=__timezone
35989
35990 else
35991 echo "$as_me: failed program was:" >&5
35992 sed 's/^/| /' conftest.$ac_ext >&5
35993
35994
35995 if test "$USE_DOS" = 0 ; then
35996 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35997 echo "$as_me: WARNING: no timezone variable" >&2;}
35998 fi
35999
36000
36001 fi
36002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36003
36004
36005 fi
36006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36007
36008
36009 fi
36010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36011
36012
36013 fi
36014 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
36015 echo "${ECHO_T}$wx_cv_var_timezone" >&6
36016
36017 if test "x$wx_cv_var_timezone" != x ; then
36018 cat >>confdefs.h <<_ACEOF
36019 #define WX_TIMEZONE $wx_cv_var_timezone
36020 _ACEOF
36021
36022 fi
36023
36024
36025 for ac_func in localtime
36026 do
36027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36028 echo "$as_me:$LINENO: checking for $ac_func" >&5
36029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36030 if eval "test \"\${$as_ac_var+set}\" = set"; then
36031 echo $ECHO_N "(cached) $ECHO_C" >&6
36032 else
36033 cat >conftest.$ac_ext <<_ACEOF
36034 /* confdefs.h. */
36035 _ACEOF
36036 cat confdefs.h >>conftest.$ac_ext
36037 cat >>conftest.$ac_ext <<_ACEOF
36038 /* end confdefs.h. */
36039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36041 #define $ac_func innocuous_$ac_func
36042
36043 /* System header to define __stub macros and hopefully few prototypes,
36044 which can conflict with char $ac_func (); below.
36045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36046 <limits.h> exists even on freestanding compilers. */
36047
36048 #ifdef __STDC__
36049 # include <limits.h>
36050 #else
36051 # include <assert.h>
36052 #endif
36053
36054 #undef $ac_func
36055
36056 /* Override any gcc2 internal prototype to avoid an error. */
36057 #ifdef __cplusplus
36058 extern "C"
36059 {
36060 #endif
36061 /* We use char because int might match the return type of a gcc2
36062 builtin and then its argument prototype would still apply. */
36063 char $ac_func ();
36064 /* The GNU C library defines this for functions which it implements
36065 to always fail with ENOSYS. Some functions are actually named
36066 something starting with __ and the normal name is an alias. */
36067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36068 choke me
36069 #else
36070 char (*f) () = $ac_func;
36071 #endif
36072 #ifdef __cplusplus
36073 }
36074 #endif
36075
36076 int
36077 main ()
36078 {
36079 return f != $ac_func;
36080 ;
36081 return 0;
36082 }
36083 _ACEOF
36084 rm -f conftest.$ac_objext conftest$ac_exeext
36085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36086 (eval $ac_link) 2>conftest.er1
36087 ac_status=$?
36088 grep -v '^ *+' conftest.er1 >conftest.err
36089 rm -f conftest.er1
36090 cat conftest.err >&5
36091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36092 (exit $ac_status); } &&
36093 { ac_try='test -z "$ac_c_werror_flag"
36094 || test ! -s conftest.err'
36095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36096 (eval $ac_try) 2>&5
36097 ac_status=$?
36098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36099 (exit $ac_status); }; } &&
36100 { ac_try='test -s conftest$ac_exeext'
36101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36102 (eval $ac_try) 2>&5
36103 ac_status=$?
36104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36105 (exit $ac_status); }; }; then
36106 eval "$as_ac_var=yes"
36107 else
36108 echo "$as_me: failed program was:" >&5
36109 sed 's/^/| /' conftest.$ac_ext >&5
36110
36111 eval "$as_ac_var=no"
36112 fi
36113 rm -f conftest.err conftest.$ac_objext \
36114 conftest$ac_exeext conftest.$ac_ext
36115 fi
36116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36118 if test `eval echo '${'$as_ac_var'}'` = yes; then
36119 cat >>confdefs.h <<_ACEOF
36120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36121 _ACEOF
36122
36123 fi
36124 done
36125
36126
36127 if test "$ac_cv_func_localtime" = "yes"; then
36128 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
36129 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
36130 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
36131 echo $ECHO_N "(cached) $ECHO_C" >&6
36132 else
36133
36134 cat >conftest.$ac_ext <<_ACEOF
36135 /* confdefs.h. */
36136 _ACEOF
36137 cat confdefs.h >>conftest.$ac_ext
36138 cat >>conftest.$ac_ext <<_ACEOF
36139 /* end confdefs.h. */
36140
36141 #include <time.h>
36142
36143 int
36144 main ()
36145 {
36146
36147 struct tm tm;
36148 tm.tm_gmtoff++;
36149
36150 ;
36151 return 0;
36152 }
36153 _ACEOF
36154 rm -f conftest.$ac_objext
36155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36156 (eval $ac_compile) 2>conftest.er1
36157 ac_status=$?
36158 grep -v '^ *+' conftest.er1 >conftest.err
36159 rm -f conftest.er1
36160 cat conftest.err >&5
36161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36162 (exit $ac_status); } &&
36163 { ac_try='test -z "$ac_c_werror_flag"
36164 || test ! -s conftest.err'
36165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36166 (eval $ac_try) 2>&5
36167 ac_status=$?
36168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36169 (exit $ac_status); }; } &&
36170 { ac_try='test -s conftest.$ac_objext'
36171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36172 (eval $ac_try) 2>&5
36173 ac_status=$?
36174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36175 (exit $ac_status); }; }; then
36176
36177 wx_cv_struct_tm_has_gmtoff=yes
36178
36179 else
36180 echo "$as_me: failed program was:" >&5
36181 sed 's/^/| /' conftest.$ac_ext >&5
36182
36183 wx_cv_struct_tm_has_gmtoff=no
36184
36185 fi
36186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36187
36188 fi
36189 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
36190 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
36191 fi
36192
36193 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
36194 cat >>confdefs.h <<\_ACEOF
36195 #define WX_GMTOFF_IN_TM 1
36196 _ACEOF
36197
36198 fi
36199
36200
36201
36202 for ac_func in gettimeofday ftime
36203 do
36204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36205 echo "$as_me:$LINENO: checking for $ac_func" >&5
36206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36207 if eval "test \"\${$as_ac_var+set}\" = set"; then
36208 echo $ECHO_N "(cached) $ECHO_C" >&6
36209 else
36210 cat >conftest.$ac_ext <<_ACEOF
36211 /* confdefs.h. */
36212 _ACEOF
36213 cat confdefs.h >>conftest.$ac_ext
36214 cat >>conftest.$ac_ext <<_ACEOF
36215 /* end confdefs.h. */
36216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36217 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36218 #define $ac_func innocuous_$ac_func
36219
36220 /* System header to define __stub macros and hopefully few prototypes,
36221 which can conflict with char $ac_func (); below.
36222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36223 <limits.h> exists even on freestanding compilers. */
36224
36225 #ifdef __STDC__
36226 # include <limits.h>
36227 #else
36228 # include <assert.h>
36229 #endif
36230
36231 #undef $ac_func
36232
36233 /* Override any gcc2 internal prototype to avoid an error. */
36234 #ifdef __cplusplus
36235 extern "C"
36236 {
36237 #endif
36238 /* We use char because int might match the return type of a gcc2
36239 builtin and then its argument prototype would still apply. */
36240 char $ac_func ();
36241 /* The GNU C library defines this for functions which it implements
36242 to always fail with ENOSYS. Some functions are actually named
36243 something starting with __ and the normal name is an alias. */
36244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36245 choke me
36246 #else
36247 char (*f) () = $ac_func;
36248 #endif
36249 #ifdef __cplusplus
36250 }
36251 #endif
36252
36253 int
36254 main ()
36255 {
36256 return f != $ac_func;
36257 ;
36258 return 0;
36259 }
36260 _ACEOF
36261 rm -f conftest.$ac_objext conftest$ac_exeext
36262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36263 (eval $ac_link) 2>conftest.er1
36264 ac_status=$?
36265 grep -v '^ *+' conftest.er1 >conftest.err
36266 rm -f conftest.er1
36267 cat conftest.err >&5
36268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36269 (exit $ac_status); } &&
36270 { ac_try='test -z "$ac_c_werror_flag"
36271 || test ! -s conftest.err'
36272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36273 (eval $ac_try) 2>&5
36274 ac_status=$?
36275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36276 (exit $ac_status); }; } &&
36277 { ac_try='test -s conftest$ac_exeext'
36278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36279 (eval $ac_try) 2>&5
36280 ac_status=$?
36281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36282 (exit $ac_status); }; }; then
36283 eval "$as_ac_var=yes"
36284 else
36285 echo "$as_me: failed program was:" >&5
36286 sed 's/^/| /' conftest.$ac_ext >&5
36287
36288 eval "$as_ac_var=no"
36289 fi
36290 rm -f conftest.err conftest.$ac_objext \
36291 conftest$ac_exeext conftest.$ac_ext
36292 fi
36293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36295 if test `eval echo '${'$as_ac_var'}'` = yes; then
36296 cat >>confdefs.h <<_ACEOF
36297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36298 _ACEOF
36299 break
36300 fi
36301 done
36302
36303
36304 if test "$ac_cv_func_gettimeofday" = "yes"; then
36305 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
36306 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
36307 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
36308 echo $ECHO_N "(cached) $ECHO_C" >&6
36309 else
36310
36311
36312
36313 ac_ext=cc
36314 ac_cpp='$CXXCPP $CPPFLAGS'
36315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36318
36319
36320 cat >conftest.$ac_ext <<_ACEOF
36321 /* confdefs.h. */
36322 _ACEOF
36323 cat confdefs.h >>conftest.$ac_ext
36324 cat >>conftest.$ac_ext <<_ACEOF
36325 /* end confdefs.h. */
36326
36327 #include <sys/time.h>
36328 #include <unistd.h>
36329
36330 int
36331 main ()
36332 {
36333
36334 struct timeval tv;
36335 gettimeofday(&tv, NULL);
36336
36337 ;
36338 return 0;
36339 }
36340 _ACEOF
36341 rm -f conftest.$ac_objext
36342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36343 (eval $ac_compile) 2>conftest.er1
36344 ac_status=$?
36345 grep -v '^ *+' conftest.er1 >conftest.err
36346 rm -f conftest.er1
36347 cat conftest.err >&5
36348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36349 (exit $ac_status); } &&
36350 { ac_try='test -z "$ac_cxx_werror_flag"
36351 || test ! -s conftest.err'
36352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36353 (eval $ac_try) 2>&5
36354 ac_status=$?
36355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36356 (exit $ac_status); }; } &&
36357 { ac_try='test -s conftest.$ac_objext'
36358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36359 (eval $ac_try) 2>&5
36360 ac_status=$?
36361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36362 (exit $ac_status); }; }; then
36363 wx_cv_func_gettimeofday_has_2_args=yes
36364 else
36365 echo "$as_me: failed program was:" >&5
36366 sed 's/^/| /' conftest.$ac_ext >&5
36367
36368 cat >conftest.$ac_ext <<_ACEOF
36369 /* confdefs.h. */
36370 _ACEOF
36371 cat confdefs.h >>conftest.$ac_ext
36372 cat >>conftest.$ac_ext <<_ACEOF
36373 /* end confdefs.h. */
36374
36375 #include <sys/time.h>
36376 #include <unistd.h>
36377
36378 int
36379 main ()
36380 {
36381
36382 struct timeval tv;
36383 gettimeofday(&tv);
36384
36385 ;
36386 return 0;
36387 }
36388 _ACEOF
36389 rm -f conftest.$ac_objext
36390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36391 (eval $ac_compile) 2>conftest.er1
36392 ac_status=$?
36393 grep -v '^ *+' conftest.er1 >conftest.err
36394 rm -f conftest.er1
36395 cat conftest.err >&5
36396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36397 (exit $ac_status); } &&
36398 { ac_try='test -z "$ac_cxx_werror_flag"
36399 || test ! -s conftest.err'
36400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36401 (eval $ac_try) 2>&5
36402 ac_status=$?
36403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36404 (exit $ac_status); }; } &&
36405 { ac_try='test -s conftest.$ac_objext'
36406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36407 (eval $ac_try) 2>&5
36408 ac_status=$?
36409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36410 (exit $ac_status); }; }; then
36411 wx_cv_func_gettimeofday_has_2_args=no
36412 else
36413 echo "$as_me: failed program was:" >&5
36414 sed 's/^/| /' conftest.$ac_ext >&5
36415
36416
36417 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
36418 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
36419 wx_cv_func_gettimeofday_has_2_args=unknown
36420
36421
36422 fi
36423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36424
36425 fi
36426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36427 ac_ext=c
36428 ac_cpp='$CPP $CPPFLAGS'
36429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36432
36433
36434 fi
36435 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
36436 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
36437
36438 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
36439 cat >>confdefs.h <<\_ACEOF
36440 #define WX_GETTIMEOFDAY_NO_TZ 1
36441 _ACEOF
36442
36443 fi
36444 fi
36445
36446 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
36447 fi
36448
36449
36450 if test "$wxUSE_SOCKETS" = "yes"; then
36451 if test "$wxUSE_MGL" = "1"; then
36452 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
36453 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
36454 wxUSE_SOCKETS="no"
36455 fi
36456 fi
36457
36458 if test "$wxUSE_SOCKETS" = "yes"; then
36459 if test "$TOOLKIT" != "MSW"; then
36460 echo "$as_me:$LINENO: checking for socket" >&5
36461 echo $ECHO_N "checking for socket... $ECHO_C" >&6
36462 if test "${ac_cv_func_socket+set}" = set; then
36463 echo $ECHO_N "(cached) $ECHO_C" >&6
36464 else
36465 cat >conftest.$ac_ext <<_ACEOF
36466 /* confdefs.h. */
36467 _ACEOF
36468 cat confdefs.h >>conftest.$ac_ext
36469 cat >>conftest.$ac_ext <<_ACEOF
36470 /* end confdefs.h. */
36471 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
36472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36473 #define socket innocuous_socket
36474
36475 /* System header to define __stub macros and hopefully few prototypes,
36476 which can conflict with char socket (); below.
36477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36478 <limits.h> exists even on freestanding compilers. */
36479
36480 #ifdef __STDC__
36481 # include <limits.h>
36482 #else
36483 # include <assert.h>
36484 #endif
36485
36486 #undef socket
36487
36488 /* Override any gcc2 internal prototype to avoid an error. */
36489 #ifdef __cplusplus
36490 extern "C"
36491 {
36492 #endif
36493 /* We use char because int might match the return type of a gcc2
36494 builtin and then its argument prototype would still apply. */
36495 char socket ();
36496 /* The GNU C library defines this for functions which it implements
36497 to always fail with ENOSYS. Some functions are actually named
36498 something starting with __ and the normal name is an alias. */
36499 #if defined (__stub_socket) || defined (__stub___socket)
36500 choke me
36501 #else
36502 char (*f) () = socket;
36503 #endif
36504 #ifdef __cplusplus
36505 }
36506 #endif
36507
36508 int
36509 main ()
36510 {
36511 return f != socket;
36512 ;
36513 return 0;
36514 }
36515 _ACEOF
36516 rm -f conftest.$ac_objext conftest$ac_exeext
36517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36518 (eval $ac_link) 2>conftest.er1
36519 ac_status=$?
36520 grep -v '^ *+' conftest.er1 >conftest.err
36521 rm -f conftest.er1
36522 cat conftest.err >&5
36523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36524 (exit $ac_status); } &&
36525 { ac_try='test -z "$ac_c_werror_flag"
36526 || test ! -s conftest.err'
36527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36528 (eval $ac_try) 2>&5
36529 ac_status=$?
36530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36531 (exit $ac_status); }; } &&
36532 { ac_try='test -s conftest$ac_exeext'
36533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36534 (eval $ac_try) 2>&5
36535 ac_status=$?
36536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36537 (exit $ac_status); }; }; then
36538 ac_cv_func_socket=yes
36539 else
36540 echo "$as_me: failed program was:" >&5
36541 sed 's/^/| /' conftest.$ac_ext >&5
36542
36543 ac_cv_func_socket=no
36544 fi
36545 rm -f conftest.err conftest.$ac_objext \
36546 conftest$ac_exeext conftest.$ac_ext
36547 fi
36548 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
36549 echo "${ECHO_T}$ac_cv_func_socket" >&6
36550 if test $ac_cv_func_socket = yes; then
36551 :
36552 else
36553
36554 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
36555 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
36556 if test "${ac_cv_lib_socket_socket+set}" = set; then
36557 echo $ECHO_N "(cached) $ECHO_C" >&6
36558 else
36559 ac_check_lib_save_LIBS=$LIBS
36560 LIBS="-lsocket $LIBS"
36561 cat >conftest.$ac_ext <<_ACEOF
36562 /* confdefs.h. */
36563 _ACEOF
36564 cat confdefs.h >>conftest.$ac_ext
36565 cat >>conftest.$ac_ext <<_ACEOF
36566 /* end confdefs.h. */
36567
36568 /* Override any gcc2 internal prototype to avoid an error. */
36569 #ifdef __cplusplus
36570 extern "C"
36571 #endif
36572 /* We use char because int might match the return type of a gcc2
36573 builtin and then its argument prototype would still apply. */
36574 char socket ();
36575 int
36576 main ()
36577 {
36578 socket ();
36579 ;
36580 return 0;
36581 }
36582 _ACEOF
36583 rm -f conftest.$ac_objext conftest$ac_exeext
36584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36585 (eval $ac_link) 2>conftest.er1
36586 ac_status=$?
36587 grep -v '^ *+' conftest.er1 >conftest.err
36588 rm -f conftest.er1
36589 cat conftest.err >&5
36590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36591 (exit $ac_status); } &&
36592 { ac_try='test -z "$ac_c_werror_flag"
36593 || test ! -s conftest.err'
36594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36595 (eval $ac_try) 2>&5
36596 ac_status=$?
36597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36598 (exit $ac_status); }; } &&
36599 { ac_try='test -s conftest$ac_exeext'
36600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36601 (eval $ac_try) 2>&5
36602 ac_status=$?
36603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36604 (exit $ac_status); }; }; then
36605 ac_cv_lib_socket_socket=yes
36606 else
36607 echo "$as_me: failed program was:" >&5
36608 sed 's/^/| /' conftest.$ac_ext >&5
36609
36610 ac_cv_lib_socket_socket=no
36611 fi
36612 rm -f conftest.err conftest.$ac_objext \
36613 conftest$ac_exeext conftest.$ac_ext
36614 LIBS=$ac_check_lib_save_LIBS
36615 fi
36616 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
36617 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
36618 if test $ac_cv_lib_socket_socket = yes; then
36619 if test "$INET_LINK" != " -lsocket"; then
36620 INET_LINK="$INET_LINK -lsocket"
36621 fi
36622 else
36623
36624 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
36625 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
36626 wxUSE_SOCKETS=no
36627
36628
36629 fi
36630
36631
36632
36633 fi
36634
36635 fi
36636 fi
36637
36638 if test "$wxUSE_SOCKETS" = "yes" ; then
36639 if test "$TOOLKIT" != "MSW"; then
36640 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
36641 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
36642 if test "${wx_cv_type_getsockname3+set}" = set; then
36643 echo $ECHO_N "(cached) $ECHO_C" >&6
36644 else
36645
36646 cat >conftest.$ac_ext <<_ACEOF
36647 /* confdefs.h. */
36648 _ACEOF
36649 cat confdefs.h >>conftest.$ac_ext
36650 cat >>conftest.$ac_ext <<_ACEOF
36651 /* end confdefs.h. */
36652
36653 #include <sys/types.h>
36654 #include <sys/socket.h>
36655
36656 int
36657 main ()
36658 {
36659
36660 socklen_t len;
36661 getsockname(0, 0, &len);
36662
36663 ;
36664 return 0;
36665 }
36666 _ACEOF
36667 rm -f conftest.$ac_objext
36668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36669 (eval $ac_compile) 2>conftest.er1
36670 ac_status=$?
36671 grep -v '^ *+' conftest.er1 >conftest.err
36672 rm -f conftest.er1
36673 cat conftest.err >&5
36674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36675 (exit $ac_status); } &&
36676 { ac_try='test -z "$ac_c_werror_flag"
36677 || test ! -s conftest.err'
36678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36679 (eval $ac_try) 2>&5
36680 ac_status=$?
36681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36682 (exit $ac_status); }; } &&
36683 { ac_try='test -s conftest.$ac_objext'
36684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36685 (eval $ac_try) 2>&5
36686 ac_status=$?
36687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36688 (exit $ac_status); }; }; then
36689 wx_cv_type_getsockname3=socklen_t
36690 else
36691 echo "$as_me: failed program was:" >&5
36692 sed 's/^/| /' conftest.$ac_ext >&5
36693
36694
36695 CFLAGS_OLD="$CFLAGS"
36696 if test "$GCC" = yes ; then
36697 CFLAGS="$CFLAGS -Werror"
36698 fi
36699
36700 cat >conftest.$ac_ext <<_ACEOF
36701 /* confdefs.h. */
36702 _ACEOF
36703 cat confdefs.h >>conftest.$ac_ext
36704 cat >>conftest.$ac_ext <<_ACEOF
36705 /* end confdefs.h. */
36706
36707 #include <sys/types.h>
36708 #include <sys/socket.h>
36709
36710 int
36711 main ()
36712 {
36713
36714 size_t len;
36715 getsockname(0, 0, &len);
36716
36717 ;
36718 return 0;
36719 }
36720 _ACEOF
36721 rm -f conftest.$ac_objext
36722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36723 (eval $ac_compile) 2>conftest.er1
36724 ac_status=$?
36725 grep -v '^ *+' conftest.er1 >conftest.err
36726 rm -f conftest.er1
36727 cat conftest.err >&5
36728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36729 (exit $ac_status); } &&
36730 { ac_try='test -z "$ac_c_werror_flag"
36731 || test ! -s conftest.err'
36732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36733 (eval $ac_try) 2>&5
36734 ac_status=$?
36735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36736 (exit $ac_status); }; } &&
36737 { ac_try='test -s conftest.$ac_objext'
36738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36739 (eval $ac_try) 2>&5
36740 ac_status=$?
36741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36742 (exit $ac_status); }; }; then
36743 wx_cv_type_getsockname3=size_t
36744 else
36745 echo "$as_me: failed program was:" >&5
36746 sed 's/^/| /' conftest.$ac_ext >&5
36747
36748 cat >conftest.$ac_ext <<_ACEOF
36749 /* confdefs.h. */
36750 _ACEOF
36751 cat confdefs.h >>conftest.$ac_ext
36752 cat >>conftest.$ac_ext <<_ACEOF
36753 /* end confdefs.h. */
36754
36755 #include <sys/types.h>
36756 #include <sys/socket.h>
36757
36758 int
36759 main ()
36760 {
36761
36762 int len;
36763 getsockname(0, 0, &len);
36764
36765 ;
36766 return 0;
36767 }
36768 _ACEOF
36769 rm -f conftest.$ac_objext
36770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36771 (eval $ac_compile) 2>conftest.er1
36772 ac_status=$?
36773 grep -v '^ *+' conftest.er1 >conftest.err
36774 rm -f conftest.er1
36775 cat conftest.err >&5
36776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36777 (exit $ac_status); } &&
36778 { ac_try='test -z "$ac_c_werror_flag"
36779 || test ! -s conftest.err'
36780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36781 (eval $ac_try) 2>&5
36782 ac_status=$?
36783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36784 (exit $ac_status); }; } &&
36785 { ac_try='test -s conftest.$ac_objext'
36786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36787 (eval $ac_try) 2>&5
36788 ac_status=$?
36789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36790 (exit $ac_status); }; }; then
36791 wx_cv_type_getsockname3=int
36792 else
36793 echo "$as_me: failed program was:" >&5
36794 sed 's/^/| /' conftest.$ac_ext >&5
36795
36796 wx_cv_type_getsockname3=unknown
36797
36798 fi
36799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36800
36801 fi
36802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36803
36804 CFLAGS="$CFLAGS_OLD"
36805
36806
36807 fi
36808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36809
36810 fi
36811 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
36812 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
36813
36814 if test "$wx_cv_type_getsockname3" = "unknown"; then
36815 wxUSE_SOCKETS=no
36816 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
36817 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
36818 else
36819 cat >>confdefs.h <<_ACEOF
36820 #define SOCKLEN_T $wx_cv_type_getsockname3
36821 _ACEOF
36822
36823 fi
36824 fi
36825 fi
36826
36827 if test "$wxUSE_SOCKETS" = "yes" ; then
36828 cat >>confdefs.h <<\_ACEOF
36829 #define wxUSE_SOCKETS 1
36830 _ACEOF
36831
36832 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
36833 fi
36834
36835 if test "$wxUSE_PROTOCOL" = "yes"; then
36836 if test "$wxUSE_SOCKETS" != "yes"; then
36837 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
36838 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
36839 wxUSE_PROTOCOL=no
36840 fi
36841 fi
36842
36843 if test "$wxUSE_PROTOCOL" = "yes"; then
36844 cat >>confdefs.h <<\_ACEOF
36845 #define wxUSE_PROTOCOL 1
36846 _ACEOF
36847
36848
36849 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
36850 cat >>confdefs.h <<\_ACEOF
36851 #define wxUSE_PROTOCOL_HTTP 1
36852 _ACEOF
36853
36854 fi
36855 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
36856 cat >>confdefs.h <<\_ACEOF
36857 #define wxUSE_PROTOCOL_FTP 1
36858 _ACEOF
36859
36860 fi
36861 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
36862 cat >>confdefs.h <<\_ACEOF
36863 #define wxUSE_PROTOCOL_FILE 1
36864 _ACEOF
36865
36866 fi
36867 else
36868 if test "$wxUSE_FS_INET" = "yes"; then
36869 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
36870 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
36871 wxUSE_FS_INET="no"
36872 fi
36873 fi
36874
36875 if test "$wxUSE_URL" = "yes"; then
36876 if test "$wxUSE_PROTOCOL" != "yes"; then
36877 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
36878 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
36879 wxUSE_URL=no
36880 fi
36881 if test "$wxUSE_URL" = "yes"; then
36882 cat >>confdefs.h <<\_ACEOF
36883 #define wxUSE_URL 1
36884 _ACEOF
36885
36886 fi
36887 fi
36888
36889 if test "$wxUSE_FS_INET" = "yes"; then
36890 cat >>confdefs.h <<\_ACEOF
36891 #define wxUSE_FS_INET 1
36892 _ACEOF
36893
36894 fi
36895
36896
36897 if test "$wxUSE_GUI" = "yes"; then
36898
36899 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
36900 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
36901 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
36902 wxUSE_JOYSTICK=no
36903 fi
36904
36905 if test "$TOOLKIT" != "MSW"; then
36906 if test "$wxUSE_JOYSTICK" = "yes"; then
36907
36908 for ac_header in linux/joystick.h
36909 do
36910 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36912 echo "$as_me:$LINENO: checking for $ac_header" >&5
36913 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36914 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36915 echo $ECHO_N "(cached) $ECHO_C" >&6
36916 fi
36917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36918 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36919 else
36920 # Is the header compilable?
36921 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36922 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36923 cat >conftest.$ac_ext <<_ACEOF
36924 /* confdefs.h. */
36925 _ACEOF
36926 cat confdefs.h >>conftest.$ac_ext
36927 cat >>conftest.$ac_ext <<_ACEOF
36928 /* end confdefs.h. */
36929 $ac_includes_default
36930 #include <$ac_header>
36931 _ACEOF
36932 rm -f conftest.$ac_objext
36933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36934 (eval $ac_compile) 2>conftest.er1
36935 ac_status=$?
36936 grep -v '^ *+' conftest.er1 >conftest.err
36937 rm -f conftest.er1
36938 cat conftest.err >&5
36939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36940 (exit $ac_status); } &&
36941 { ac_try='test -z "$ac_c_werror_flag"
36942 || test ! -s conftest.err'
36943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36944 (eval $ac_try) 2>&5
36945 ac_status=$?
36946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36947 (exit $ac_status); }; } &&
36948 { ac_try='test -s conftest.$ac_objext'
36949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36950 (eval $ac_try) 2>&5
36951 ac_status=$?
36952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36953 (exit $ac_status); }; }; then
36954 ac_header_compiler=yes
36955 else
36956 echo "$as_me: failed program was:" >&5
36957 sed 's/^/| /' conftest.$ac_ext >&5
36958
36959 ac_header_compiler=no
36960 fi
36961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36962 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36963 echo "${ECHO_T}$ac_header_compiler" >&6
36964
36965 # Is the header present?
36966 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36967 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36968 cat >conftest.$ac_ext <<_ACEOF
36969 /* confdefs.h. */
36970 _ACEOF
36971 cat confdefs.h >>conftest.$ac_ext
36972 cat >>conftest.$ac_ext <<_ACEOF
36973 /* end confdefs.h. */
36974 #include <$ac_header>
36975 _ACEOF
36976 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36977 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36978 ac_status=$?
36979 grep -v '^ *+' conftest.er1 >conftest.err
36980 rm -f conftest.er1
36981 cat conftest.err >&5
36982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36983 (exit $ac_status); } >/dev/null; then
36984 if test -s conftest.err; then
36985 ac_cpp_err=$ac_c_preproc_warn_flag
36986 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36987 else
36988 ac_cpp_err=
36989 fi
36990 else
36991 ac_cpp_err=yes
36992 fi
36993 if test -z "$ac_cpp_err"; then
36994 ac_header_preproc=yes
36995 else
36996 echo "$as_me: failed program was:" >&5
36997 sed 's/^/| /' conftest.$ac_ext >&5
36998
36999 ac_header_preproc=no
37000 fi
37001 rm -f conftest.err conftest.$ac_ext
37002 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37003 echo "${ECHO_T}$ac_header_preproc" >&6
37004
37005 # So? What about this header?
37006 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37007 yes:no: )
37008 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37009 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37010 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37011 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37012 ac_header_preproc=yes
37013 ;;
37014 no:yes:* )
37015 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37016 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37017 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37018 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37019 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37020 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37021 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37022 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37023 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37024 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37025 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37026 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37027 (
37028 cat <<\_ASBOX
37029 ## ----------------------------------------- ##
37030 ## Report this to wx-dev@lists.wxwidgets.org ##
37031 ## ----------------------------------------- ##
37032 _ASBOX
37033 ) |
37034 sed "s/^/$as_me: WARNING: /" >&2
37035 ;;
37036 esac
37037 echo "$as_me:$LINENO: checking for $ac_header" >&5
37038 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37040 echo $ECHO_N "(cached) $ECHO_C" >&6
37041 else
37042 eval "$as_ac_Header=\$ac_header_preproc"
37043 fi
37044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37045 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37046
37047 fi
37048 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37049 cat >>confdefs.h <<_ACEOF
37050 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37051 _ACEOF
37052
37053 fi
37054
37055 done
37056
37057 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
37058 wxUSE_JOYSTICK=no
37059 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
37060 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
37061 fi
37062 fi
37063 fi
37064
37065 if test "$wxUSE_JOYSTICK" = "yes"; then
37066 cat >>confdefs.h <<\_ACEOF
37067 #define wxUSE_JOYSTICK 1
37068 _ACEOF
37069
37070 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
37071 fi
37072 fi
37073
37074
37075
37076 if test "$wxUSE_FONTMAP" = "yes" ; then
37077 cat >>confdefs.h <<\_ACEOF
37078 #define wxUSE_FONTMAP 1
37079 _ACEOF
37080
37081 fi
37082
37083 if test "$wxUSE_UNICODE" = "yes" ; then
37084 cat >>confdefs.h <<\_ACEOF
37085 #define wxUSE_UNICODE 1
37086 _ACEOF
37087
37088
37089 if test "$USE_WIN32" != 1; then
37090 wxUSE_UNICODE_MSLU=no
37091 fi
37092
37093 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
37094 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
37095 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
37096 if test "${ac_cv_lib_unicows_main+set}" = set; then
37097 echo $ECHO_N "(cached) $ECHO_C" >&6
37098 else
37099 ac_check_lib_save_LIBS=$LIBS
37100 LIBS="-lunicows $LIBS"
37101 cat >conftest.$ac_ext <<_ACEOF
37102 /* confdefs.h. */
37103 _ACEOF
37104 cat confdefs.h >>conftest.$ac_ext
37105 cat >>conftest.$ac_ext <<_ACEOF
37106 /* end confdefs.h. */
37107
37108
37109 int
37110 main ()
37111 {
37112 main ();
37113 ;
37114 return 0;
37115 }
37116 _ACEOF
37117 rm -f conftest.$ac_objext conftest$ac_exeext
37118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37119 (eval $ac_link) 2>conftest.er1
37120 ac_status=$?
37121 grep -v '^ *+' conftest.er1 >conftest.err
37122 rm -f conftest.er1
37123 cat conftest.err >&5
37124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37125 (exit $ac_status); } &&
37126 { ac_try='test -z "$ac_c_werror_flag"
37127 || test ! -s conftest.err'
37128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37129 (eval $ac_try) 2>&5
37130 ac_status=$?
37131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37132 (exit $ac_status); }; } &&
37133 { ac_try='test -s conftest$ac_exeext'
37134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37135 (eval $ac_try) 2>&5
37136 ac_status=$?
37137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37138 (exit $ac_status); }; }; then
37139 ac_cv_lib_unicows_main=yes
37140 else
37141 echo "$as_me: failed program was:" >&5
37142 sed 's/^/| /' conftest.$ac_ext >&5
37143
37144 ac_cv_lib_unicows_main=no
37145 fi
37146 rm -f conftest.err conftest.$ac_objext \
37147 conftest$ac_exeext conftest.$ac_ext
37148 LIBS=$ac_check_lib_save_LIBS
37149 fi
37150 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
37151 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
37152 if test $ac_cv_lib_unicows_main = yes; then
37153
37154 cat >>confdefs.h <<\_ACEOF
37155 #define wxUSE_UNICODE_MSLU 1
37156 _ACEOF
37157
37158
37159 else
37160
37161 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
37162 Applications will only run on Windows NT/2000/XP!" >&5
37163 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
37164 Applications will only run on Windows NT/2000/XP!" >&2;}
37165 wxUSE_UNICODE_MSLU=no
37166
37167 fi
37168
37169 fi
37170 fi
37171
37172 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
37173 cat >>confdefs.h <<\_ACEOF
37174 #define wxUSE_EXPERIMENTAL_PRINTF 1
37175 _ACEOF
37176
37177 fi
37178
37179
37180 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
37181 cat >>confdefs.h <<\_ACEOF
37182 #define wxUSE_POSTSCRIPT 1
37183 _ACEOF
37184
37185 fi
37186
37187 cat >>confdefs.h <<\_ACEOF
37188 #define wxUSE_AFM_FOR_POSTSCRIPT 1
37189 _ACEOF
37190
37191
37192 cat >>confdefs.h <<\_ACEOF
37193 #define wxUSE_NORMALIZED_PS_FONTS 1
37194 _ACEOF
37195
37196
37197
37198 if test "$wxUSE_CONSTRAINTS" = "yes"; then
37199 cat >>confdefs.h <<\_ACEOF
37200 #define wxUSE_CONSTRAINTS 1
37201 _ACEOF
37202
37203 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
37204 fi
37205
37206 if test "$wxUSE_MDI" = "yes"; then
37207 cat >>confdefs.h <<\_ACEOF
37208 #define wxUSE_MDI 1
37209 _ACEOF
37210
37211
37212 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
37213 cat >>confdefs.h <<\_ACEOF
37214 #define wxUSE_MDI_ARCHITECTURE 1
37215 _ACEOF
37216
37217 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
37218 fi
37219 fi
37220
37221 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
37222 cat >>confdefs.h <<\_ACEOF
37223 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
37224 _ACEOF
37225
37226 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
37227 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
37228 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
37229 fi
37230 fi
37231
37232 if test "$wxUSE_HELP" = "yes"; then
37233 cat >>confdefs.h <<\_ACEOF
37234 #define wxUSE_HELP 1
37235 _ACEOF
37236
37237 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
37238
37239 if test "$wxUSE_MSW" = 1; then
37240 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
37241 cat >>confdefs.h <<\_ACEOF
37242 #define wxUSE_MS_HTML_HELP 1
37243 _ACEOF
37244
37245 fi
37246 fi
37247
37248 if test "$wxUSE_WXHTML_HELP" = "yes"; then
37249 if test "$wxUSE_HTML" = "yes"; then
37250 cat >>confdefs.h <<\_ACEOF
37251 #define wxUSE_WXHTML_HELP 1
37252 _ACEOF
37253
37254 else
37255 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
37256 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
37257 wxUSE_WXHTML_HELP=no
37258 fi
37259 fi
37260 fi
37261
37262 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
37263 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37264 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
37265 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
37266 else
37267 cat >>confdefs.h <<\_ACEOF
37268 #define wxUSE_PRINTING_ARCHITECTURE 1
37269 _ACEOF
37270
37271 fi
37272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
37273 fi
37274
37275 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
37276 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
37277 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
37278 { (exit 1); exit 1; }; }
37279 fi
37280
37281
37282 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
37283 -o "$wxUSE_CLIPBOARD" = "yes" \
37284 -o "$wxUSE_OLE" = "yes" \
37285 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
37286
37287 for ac_header in ole2.h
37288 do
37289 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37291 echo "$as_me:$LINENO: checking for $ac_header" >&5
37292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37294 echo $ECHO_N "(cached) $ECHO_C" >&6
37295 fi
37296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37297 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37298 else
37299 # Is the header compilable?
37300 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37301 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37302 cat >conftest.$ac_ext <<_ACEOF
37303 /* confdefs.h. */
37304 _ACEOF
37305 cat confdefs.h >>conftest.$ac_ext
37306 cat >>conftest.$ac_ext <<_ACEOF
37307 /* end confdefs.h. */
37308 $ac_includes_default
37309 #include <$ac_header>
37310 _ACEOF
37311 rm -f conftest.$ac_objext
37312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37313 (eval $ac_compile) 2>conftest.er1
37314 ac_status=$?
37315 grep -v '^ *+' conftest.er1 >conftest.err
37316 rm -f conftest.er1
37317 cat conftest.err >&5
37318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37319 (exit $ac_status); } &&
37320 { ac_try='test -z "$ac_c_werror_flag"
37321 || test ! -s conftest.err'
37322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37323 (eval $ac_try) 2>&5
37324 ac_status=$?
37325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37326 (exit $ac_status); }; } &&
37327 { ac_try='test -s conftest.$ac_objext'
37328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37329 (eval $ac_try) 2>&5
37330 ac_status=$?
37331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37332 (exit $ac_status); }; }; then
37333 ac_header_compiler=yes
37334 else
37335 echo "$as_me: failed program was:" >&5
37336 sed 's/^/| /' conftest.$ac_ext >&5
37337
37338 ac_header_compiler=no
37339 fi
37340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37341 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37342 echo "${ECHO_T}$ac_header_compiler" >&6
37343
37344 # Is the header present?
37345 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37346 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37347 cat >conftest.$ac_ext <<_ACEOF
37348 /* confdefs.h. */
37349 _ACEOF
37350 cat confdefs.h >>conftest.$ac_ext
37351 cat >>conftest.$ac_ext <<_ACEOF
37352 /* end confdefs.h. */
37353 #include <$ac_header>
37354 _ACEOF
37355 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37356 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37357 ac_status=$?
37358 grep -v '^ *+' conftest.er1 >conftest.err
37359 rm -f conftest.er1
37360 cat conftest.err >&5
37361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37362 (exit $ac_status); } >/dev/null; then
37363 if test -s conftest.err; then
37364 ac_cpp_err=$ac_c_preproc_warn_flag
37365 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37366 else
37367 ac_cpp_err=
37368 fi
37369 else
37370 ac_cpp_err=yes
37371 fi
37372 if test -z "$ac_cpp_err"; then
37373 ac_header_preproc=yes
37374 else
37375 echo "$as_me: failed program was:" >&5
37376 sed 's/^/| /' conftest.$ac_ext >&5
37377
37378 ac_header_preproc=no
37379 fi
37380 rm -f conftest.err conftest.$ac_ext
37381 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37382 echo "${ECHO_T}$ac_header_preproc" >&6
37383
37384 # So? What about this header?
37385 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37386 yes:no: )
37387 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37388 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37389 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37390 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37391 ac_header_preproc=yes
37392 ;;
37393 no:yes:* )
37394 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37395 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37396 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37397 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37398 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37399 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37400 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37401 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37402 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37403 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37404 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37405 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37406 (
37407 cat <<\_ASBOX
37408 ## ----------------------------------------- ##
37409 ## Report this to wx-dev@lists.wxwidgets.org ##
37410 ## ----------------------------------------- ##
37411 _ASBOX
37412 ) |
37413 sed "s/^/$as_me: WARNING: /" >&2
37414 ;;
37415 esac
37416 echo "$as_me:$LINENO: checking for $ac_header" >&5
37417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37418 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37419 echo $ECHO_N "(cached) $ECHO_C" >&6
37420 else
37421 eval "$as_ac_Header=\$ac_header_preproc"
37422 fi
37423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37424 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37425
37426 fi
37427 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37428 cat >>confdefs.h <<_ACEOF
37429 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37430 _ACEOF
37431
37432 fi
37433
37434 done
37435
37436
37437 if test "$ac_cv_header_ole2_h" = "yes" ; then
37438 if test "$GCC" = yes ; then
37439
37440
37441 ac_ext=cc
37442 ac_cpp='$CXXCPP $CPPFLAGS'
37443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37446
37447
37448 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
37449 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
37450 cat >conftest.$ac_ext <<_ACEOF
37451 /* confdefs.h. */
37452 _ACEOF
37453 cat confdefs.h >>conftest.$ac_ext
37454 cat >>conftest.$ac_ext <<_ACEOF
37455 /* end confdefs.h. */
37456 #include <windows.h>
37457 #include <ole2.h>
37458 int
37459 main ()
37460 {
37461
37462 ;
37463 return 0;
37464 }
37465 _ACEOF
37466 rm -f conftest.$ac_objext
37467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37468 (eval $ac_compile) 2>conftest.er1
37469 ac_status=$?
37470 grep -v '^ *+' conftest.er1 >conftest.err
37471 rm -f conftest.er1
37472 cat conftest.err >&5
37473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37474 (exit $ac_status); } &&
37475 { ac_try='test -z "$ac_cxx_werror_flag"
37476 || test ! -s conftest.err'
37477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37478 (eval $ac_try) 2>&5
37479 ac_status=$?
37480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37481 (exit $ac_status); }; } &&
37482 { ac_try='test -s conftest.$ac_objext'
37483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37484 (eval $ac_try) 2>&5
37485 ac_status=$?
37486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37487 (exit $ac_status); }; }; then
37488 echo "$as_me:$LINENO: result: no" >&5
37489 echo "${ECHO_T}no" >&6
37490 else
37491 echo "$as_me: failed program was:" >&5
37492 sed 's/^/| /' conftest.$ac_ext >&5
37493
37494 echo "$as_me:$LINENO: result: yes" >&5
37495 echo "${ECHO_T}yes" >&6
37496 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
37497 fi
37498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37499 ac_ext=c
37500 ac_cpp='$CPP $CPPFLAGS'
37501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37504
37505 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
37506 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
37507 if test "$wxUSE_OLE" = "yes" ; then
37508 cat >>confdefs.h <<\_ACEOF
37509 #define wxUSE_OLE 1
37510 _ACEOF
37511
37512 fi
37513 fi
37514
37515 if test "$wxUSE_DATAOBJ" = "yes" ; then
37516 cat >>confdefs.h <<\_ACEOF
37517 #define wxUSE_DATAOBJ 1
37518 _ACEOF
37519
37520 fi
37521 else
37522 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
37523 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
37524
37525 wxUSE_CLIPBOARD=no
37526 wxUSE_DRAG_AND_DROP=no
37527 wxUSE_DATAOBJ=no
37528 wxUSE_OLE=no
37529 fi
37530
37531 if test "$wxUSE_METAFILE" = "yes"; then
37532 cat >>confdefs.h <<\_ACEOF
37533 #define wxUSE_METAFILE 1
37534 _ACEOF
37535
37536
37537 cat >>confdefs.h <<\_ACEOF
37538 #define wxUSE_ENH_METAFILE 1
37539 _ACEOF
37540
37541 fi
37542 fi
37543
37544 if test "$wxUSE_IPC" = "yes"; then
37545 if test "$wxUSE_SOCKETS" != "yes"; then
37546 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
37547 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
37548 fi
37549
37550 cat >>confdefs.h <<\_ACEOF
37551 #define wxUSE_IPC 1
37552 _ACEOF
37553
37554 fi
37555
37556 if test "$wxUSE_CLIPBOARD" = "yes"; then
37557 if test "$wxUSE_MGL" = 1; then
37558 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
37559 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
37560 wxUSE_CLIPBOARD=no
37561 fi
37562
37563 if test "$wxUSE_CLIPBOARD" = "yes"; then
37564 cat >>confdefs.h <<\_ACEOF
37565 #define wxUSE_CLIPBOARD 1
37566 _ACEOF
37567
37568
37569 cat >>confdefs.h <<\_ACEOF
37570 #define wxUSE_DATAOBJ 1
37571 _ACEOF
37572
37573 fi
37574 fi
37575
37576 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
37577 if test "$wxUSE_GTK" = 1; then
37578 if test "$WXGTK12" != 1; then
37579 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
37580 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
37581 wxUSE_DRAG_AND_DROP=no
37582 fi
37583 fi
37584
37585 if test "$wxUSE_MOTIF" = 1; then
37586 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
37587 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
37588 wxUSE_DRAG_AND_DROP=no
37589 fi
37590
37591 if test "$wxUSE_X11" = 1; then
37592 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
37593 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
37594 wxUSE_DRAG_AND_DROP=no
37595 fi
37596
37597 if test "$wxUSE_MGL" = 1; then
37598 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
37599 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
37600 wxUSE_DRAG_AND_DROP=no
37601 fi
37602
37603 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
37604 cat >>confdefs.h <<\_ACEOF
37605 #define wxUSE_DRAG_AND_DROP 1
37606 _ACEOF
37607
37608 fi
37609
37610 fi
37611
37612 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
37613 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
37614 fi
37615
37616 if test "$wxUSE_SPLINES" = "yes" ; then
37617 cat >>confdefs.h <<\_ACEOF
37618 #define wxUSE_SPLINES 1
37619 _ACEOF
37620
37621 fi
37622
37623
37624 USES_CONTROLS=0
37625 if test "$wxUSE_CONTROLS" = "yes"; then
37626 USES_CONTROLS=1
37627 fi
37628
37629 if test "$wxUSE_ACCEL" = "yes"; then
37630 cat >>confdefs.h <<\_ACEOF
37631 #define wxUSE_ACCEL 1
37632 _ACEOF
37633
37634 USES_CONTROLS=1
37635 fi
37636
37637 if test "$wxUSE_BUTTON" = "yes"; then
37638 cat >>confdefs.h <<\_ACEOF
37639 #define wxUSE_BUTTON 1
37640 _ACEOF
37641
37642 USES_CONTROLS=1
37643 fi
37644
37645 if test "$wxUSE_BMPBUTTON" = "yes"; then
37646 cat >>confdefs.h <<\_ACEOF
37647 #define wxUSE_BMPBUTTON 1
37648 _ACEOF
37649
37650 USES_CONTROLS=1
37651 fi
37652
37653 if test "$wxUSE_CALCTRL" = "yes"; then
37654 cat >>confdefs.h <<\_ACEOF
37655 #define wxUSE_CALENDARCTRL 1
37656 _ACEOF
37657
37658 USES_CONTROLS=1
37659 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
37660 fi
37661
37662 if test "$wxUSE_CARET" = "yes"; then
37663 cat >>confdefs.h <<\_ACEOF
37664 #define wxUSE_CARET 1
37665 _ACEOF
37666
37667 USES_CONTROLS=1
37668 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
37669 fi
37670
37671 if test "$wxUSE_COMBOBOX" = "yes"; then
37672 cat >>confdefs.h <<\_ACEOF
37673 #define wxUSE_COMBOBOX 1
37674 _ACEOF
37675
37676 USES_CONTROLS=1
37677 fi
37678
37679 if test "$wxUSE_CHOICE" = "yes"; then
37680 cat >>confdefs.h <<\_ACEOF
37681 #define wxUSE_CHOICE 1
37682 _ACEOF
37683
37684 USES_CONTROLS=1
37685 fi
37686
37687 if test "$wxUSE_CHECKBOX" = "yes"; then
37688 cat >>confdefs.h <<\_ACEOF
37689 #define wxUSE_CHECKBOX 1
37690 _ACEOF
37691
37692 USES_CONTROLS=1
37693 fi
37694
37695 if test "$wxUSE_CHECKLST" = "yes"; then
37696 cat >>confdefs.h <<\_ACEOF
37697 #define wxUSE_CHECKLISTBOX 1
37698 _ACEOF
37699
37700 USES_CONTROLS=1
37701 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
37702 fi
37703
37704 if test "$wxUSE_DISPLAY" = "yes"; then
37705 cat >>confdefs.h <<\_ACEOF
37706 #define wxUSE_DISPLAY 1
37707 _ACEOF
37708
37709 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
37710 fi
37711
37712 if test "$wxUSE_GAUGE" = "yes"; then
37713 cat >>confdefs.h <<\_ACEOF
37714 #define wxUSE_GAUGE 1
37715 _ACEOF
37716
37717 USES_CONTROLS=1
37718 fi
37719
37720 if test "$wxUSE_GRID" = "yes"; then
37721 cat >>confdefs.h <<\_ACEOF
37722 #define wxUSE_GRID 1
37723 _ACEOF
37724
37725 USES_CONTROLS=1
37726 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
37727 fi
37728
37729 if test "$wxUSE_IMAGLIST" = "yes"; then
37730 cat >>confdefs.h <<\_ACEOF
37731 #define wxUSE_IMAGLIST 1
37732 _ACEOF
37733
37734 fi
37735
37736 if test "$wxUSE_LISTBOOK" = "yes"; then
37737 cat >>confdefs.h <<\_ACEOF
37738 #define wxUSE_LISTBOOK 1
37739 _ACEOF
37740
37741 USES_CONTROLS=1
37742 fi
37743
37744 if test "$wxUSE_LISTBOX" = "yes"; then
37745 cat >>confdefs.h <<\_ACEOF
37746 #define wxUSE_LISTBOX 1
37747 _ACEOF
37748
37749 USES_CONTROLS=1
37750 fi
37751
37752 if test "$wxUSE_LISTCTRL" = "yes"; then
37753 if test "$wxUSE_IMAGLIST" = "yes"; then
37754 cat >>confdefs.h <<\_ACEOF
37755 #define wxUSE_LISTCTRL 1
37756 _ACEOF
37757
37758 USES_CONTROLS=1
37759 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
37760 else
37761 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
37762 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
37763 fi
37764 fi
37765
37766 if test "$wxUSE_NOTEBOOK" = "yes"; then
37767 cat >>confdefs.h <<\_ACEOF
37768 #define wxUSE_NOTEBOOK 1
37769 _ACEOF
37770
37771 USES_CONTROLS=1
37772 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
37773 fi
37774
37775
37776 if test "$wxUSE_RADIOBOX" = "yes"; then
37777 cat >>confdefs.h <<\_ACEOF
37778 #define wxUSE_RADIOBOX 1
37779 _ACEOF
37780
37781 USES_CONTROLS=1
37782 fi
37783
37784 if test "$wxUSE_RADIOBTN" = "yes"; then
37785 cat >>confdefs.h <<\_ACEOF
37786 #define wxUSE_RADIOBTN 1
37787 _ACEOF
37788
37789 USES_CONTROLS=1
37790 fi
37791
37792 if test "$wxUSE_SASH" = "yes"; then
37793 cat >>confdefs.h <<\_ACEOF
37794 #define wxUSE_SASH 1
37795 _ACEOF
37796
37797 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
37798 fi
37799
37800 if test "$wxUSE_SCROLLBAR" = "yes"; then
37801 cat >>confdefs.h <<\_ACEOF
37802 #define wxUSE_SCROLLBAR 1
37803 _ACEOF
37804
37805 USES_CONTROLS=1
37806 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
37807 fi
37808
37809 if test "$wxUSE_SLIDER" = "yes"; then
37810 cat >>confdefs.h <<\_ACEOF
37811 #define wxUSE_SLIDER 1
37812 _ACEOF
37813
37814 USES_CONTROLS=1
37815 fi
37816
37817 if test "$wxUSE_SPINBTN" = "yes"; then
37818 cat >>confdefs.h <<\_ACEOF
37819 #define wxUSE_SPINBTN 1
37820 _ACEOF
37821
37822 USES_CONTROLS=1
37823 fi
37824
37825 if test "$wxUSE_SPINCTRL" = "yes"; then
37826 cat >>confdefs.h <<\_ACEOF
37827 #define wxUSE_SPINCTRL 1
37828 _ACEOF
37829
37830 USES_CONTROLS=1
37831 fi
37832
37833 if test "$wxUSE_SPLITTER" = "yes"; then
37834 cat >>confdefs.h <<\_ACEOF
37835 #define wxUSE_SPLITTER 1
37836 _ACEOF
37837
37838 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
37839 fi
37840
37841 if test "$wxUSE_STATBMP" = "yes"; then
37842 cat >>confdefs.h <<\_ACEOF
37843 #define wxUSE_STATBMP 1
37844 _ACEOF
37845
37846 USES_CONTROLS=1
37847 fi
37848
37849 if test "$wxUSE_STATBOX" = "yes"; then
37850 cat >>confdefs.h <<\_ACEOF
37851 #define wxUSE_STATBOX 1
37852 _ACEOF
37853
37854 USES_CONTROLS=1
37855 fi
37856
37857 if test "$wxUSE_STATTEXT" = "yes"; then
37858 cat >>confdefs.h <<\_ACEOF
37859 #define wxUSE_STATTEXT 1
37860 _ACEOF
37861
37862 USES_CONTROLS=1
37863 fi
37864
37865 if test "$wxUSE_STATLINE" = "yes"; then
37866 cat >>confdefs.h <<\_ACEOF
37867 #define wxUSE_STATLINE 1
37868 _ACEOF
37869
37870 USES_CONTROLS=1
37871 fi
37872
37873 if test "$wxUSE_STATUSBAR" = "yes"; then
37874 cat >>confdefs.h <<\_ACEOF
37875 #define wxUSE_STATUSBAR 1
37876 _ACEOF
37877
37878 USES_CONTROLS=1
37879
37880 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
37881 fi
37882
37883 if test "$wxUSE_TABDIALOG" = "yes"; then
37884 cat >>confdefs.h <<\_ACEOF
37885 #define wxUSE_TAB_DIALOG 1
37886 _ACEOF
37887
37888 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
37889 fi
37890
37891 if test "$wxUSE_TEXTCTRL" = "yes"; then
37892 cat >>confdefs.h <<\_ACEOF
37893 #define wxUSE_TEXTCTRL 1
37894 _ACEOF
37895
37896 USES_CONTROLS=1
37897 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
37898 fi
37899
37900 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37901 if test "$wxUSE_COCOA" = 1 ; then
37902 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
37903 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
37904 wxUSE_TOGGLEBTN=no
37905 else
37906 if test "$wxUSE_PM" = 1; then
37907 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
37908 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
37909 wxUSE_TOGGLEBTN=no
37910 fi
37911 fi
37912 if test "$wxUSE_UNIVERSAL" = "yes"; then
37913 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
37914 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
37915 wxUSE_TOGGLEBTN=no
37916 fi
37917
37918 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37919 cat >>confdefs.h <<\_ACEOF
37920 #define wxUSE_TOGGLEBTN 1
37921 _ACEOF
37922
37923 USES_CONTROLS=1
37924 fi
37925 fi
37926
37927 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
37928 cat >>confdefs.h <<\_ACEOF
37929 #define wxUSE_TOOLBAR_SIMPLE 1
37930 _ACEOF
37931
37932 wxUSE_TOOLBAR="yes"
37933 USES_CONTROLS=1
37934 fi
37935
37936 if test "$wxUSE_TOOLBAR" = "yes"; then
37937 cat >>confdefs.h <<\_ACEOF
37938 #define wxUSE_TOOLBAR 1
37939 _ACEOF
37940
37941 USES_CONTROLS=1
37942
37943 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
37944 wxUSE_TOOLBAR_NATIVE="yes"
37945 fi
37946
37947 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
37948 cat >>confdefs.h <<\_ACEOF
37949 #define wxUSE_TOOLBAR_NATIVE 1
37950 _ACEOF
37951
37952 USES_CONTROLS=1
37953 fi
37954
37955 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
37956 fi
37957
37958 if test "$wxUSE_TOOLTIPS" = "yes"; then
37959 if test "$wxUSE_MOTIF" = 1; then
37960 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
37961 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
37962 else
37963 if test "$wxUSE_UNIVERSAL" = "yes"; then
37964 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
37965 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
37966 else
37967 cat >>confdefs.h <<\_ACEOF
37968 #define wxUSE_TOOLTIPS 1
37969 _ACEOF
37970
37971 fi
37972 fi
37973 fi
37974
37975 if test "$wxUSE_TREECTRL" = "yes"; then
37976 if test "$wxUSE_IMAGLIST" = "yes"; then
37977 cat >>confdefs.h <<\_ACEOF
37978 #define wxUSE_TREECTRL 1
37979 _ACEOF
37980
37981 USES_CONTROLS=1
37982 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
37983 else
37984 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
37985 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
37986 fi
37987 fi
37988
37989 if test "$wxUSE_POPUPWIN" = "yes"; then
37990 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
37991 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
37992 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
37993 else
37994 if test "$wxUSE_PM" = 1; then
37995 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
37996 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
37997 else
37998 cat >>confdefs.h <<\_ACEOF
37999 #define wxUSE_POPUPWIN 1
38000 _ACEOF
38001
38002
38003 USES_CONTROLS=1
38004 fi
38005 fi
38006 fi
38007
38008 if test "$wxUSE_TIPWINDOW" = "yes"; then
38009 if test "$wxUSE_PM" = 1; then
38010 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
38011 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
38012 else
38013 cat >>confdefs.h <<\_ACEOF
38014 #define wxUSE_TIPWINDOW 1
38015 _ACEOF
38016
38017 fi
38018 fi
38019
38020 if test "$USES_CONTROLS" = 1; then
38021 cat >>confdefs.h <<\_ACEOF
38022 #define wxUSE_CONTROLS 1
38023 _ACEOF
38024
38025 fi
38026
38027
38028 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
38029 cat >>confdefs.h <<\_ACEOF
38030 #define wxUSE_ACCESSIBILITY 1
38031 _ACEOF
38032
38033 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
38034 fi
38035
38036 if test "$wxUSE_DRAGIMAGE" = "yes"; then
38037 cat >>confdefs.h <<\_ACEOF
38038 #define wxUSE_DRAGIMAGE 1
38039 _ACEOF
38040
38041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
38042 fi
38043
38044 if test "$wxUSE_EXCEPTIONS" = "yes"; then
38045 cat >>confdefs.h <<\_ACEOF
38046 #define wxUSE_EXCEPTIONS 1
38047 _ACEOF
38048
38049 fi
38050
38051 USE_HTML=0
38052 if test "$wxUSE_HTML" = "yes"; then
38053 cat >>confdefs.h <<\_ACEOF
38054 #define wxUSE_HTML 1
38055 _ACEOF
38056
38057 USE_HTML=1
38058 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
38059 if test "$wxUSE_MAC" = 1; then
38060 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
38061 fi
38062 fi
38063
38064 if test "$wxUSE_WEBKIT" = "yes"; then
38065 cat >>confdefs.h <<\_ACEOF
38066 #define wxUSE_WEBKIT 1
38067 _ACEOF
38068
38069 fi
38070
38071 if test "$wxUSE_MENUS" = "yes"; then
38072 cat >>confdefs.h <<\_ACEOF
38073 #define wxUSE_MENUS 1
38074 _ACEOF
38075
38076 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
38077 fi
38078
38079 if test "$wxUSE_METAFILE" = "yes"; then
38080 cat >>confdefs.h <<\_ACEOF
38081 #define wxUSE_METAFILE 1
38082 _ACEOF
38083
38084 fi
38085
38086 if test "$wxUSE_MIMETYPE" = "yes"; then
38087 cat >>confdefs.h <<\_ACEOF
38088 #define wxUSE_MIMETYPE 1
38089 _ACEOF
38090
38091 fi
38092
38093 if test "$wxUSE_MINIFRAME" = "yes"; then
38094 cat >>confdefs.h <<\_ACEOF
38095 #define wxUSE_MINIFRAME 1
38096 _ACEOF
38097
38098 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
38099 fi
38100
38101 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
38102 cat >>confdefs.h <<\_ACEOF
38103 #define wxUSE_SYSTEM_OPTIONS 1
38104 _ACEOF
38105
38106 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
38107 "$TOOLKIT" = "MOTIF"; then
38108 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
38109 fi
38110 fi
38111
38112
38113 if test "$wxUSE_VALIDATORS" = "yes"; then
38114 cat >>confdefs.h <<\_ACEOF
38115 #define wxUSE_VALIDATORS 1
38116 _ACEOF
38117
38118 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
38119 fi
38120
38121 if test "$wxUSE_PALETTE" = "yes" ; then
38122 cat >>confdefs.h <<\_ACEOF
38123 #define wxUSE_PALETTE 1
38124 _ACEOF
38125
38126 fi
38127
38128 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
38129 LIBS=" -lunicows $LIBS"
38130 fi
38131
38132
38133 if test "$wxUSE_IMAGE" = "yes" ; then
38134 cat >>confdefs.h <<\_ACEOF
38135 #define wxUSE_IMAGE 1
38136 _ACEOF
38137
38138
38139 if test "$wxUSE_GIF" = "yes" ; then
38140 cat >>confdefs.h <<\_ACEOF
38141 #define wxUSE_GIF 1
38142 _ACEOF
38143
38144 fi
38145
38146 if test "$wxUSE_PCX" = "yes" ; then
38147 cat >>confdefs.h <<\_ACEOF
38148 #define wxUSE_PCX 1
38149 _ACEOF
38150
38151 fi
38152
38153 if test "$wxUSE_IFF" = "yes" ; then
38154 cat >>confdefs.h <<\_ACEOF
38155 #define wxUSE_IFF 1
38156 _ACEOF
38157
38158 fi
38159
38160 if test "$wxUSE_PNM" = "yes" ; then
38161 cat >>confdefs.h <<\_ACEOF
38162 #define wxUSE_PNM 1
38163 _ACEOF
38164
38165 fi
38166
38167 if test "$wxUSE_XPM" = "yes" ; then
38168 cat >>confdefs.h <<\_ACEOF
38169 #define wxUSE_XPM 1
38170 _ACEOF
38171
38172 fi
38173
38174 if test "$wxUSE_ICO_CUR" = "yes" ; then
38175 cat >>confdefs.h <<\_ACEOF
38176 #define wxUSE_ICO_CUR 1
38177 _ACEOF
38178
38179 fi
38180 fi
38181
38182
38183 if test "$wxUSE_CHOICEDLG" = "yes"; then
38184 cat >>confdefs.h <<\_ACEOF
38185 #define wxUSE_CHOICEDLG 1
38186 _ACEOF
38187
38188 fi
38189
38190 if test "$wxUSE_COLOURDLG" = "yes"; then
38191 cat >>confdefs.h <<\_ACEOF
38192 #define wxUSE_COLOURDLG 1
38193 _ACEOF
38194
38195 fi
38196
38197 if test "$wxUSE_FILEDLG" = "yes"; then
38198 cat >>confdefs.h <<\_ACEOF
38199 #define wxUSE_FILEDLG 1
38200 _ACEOF
38201
38202 fi
38203
38204 if test "$wxUSE_FINDREPLDLG" = "yes"; then
38205 cat >>confdefs.h <<\_ACEOF
38206 #define wxUSE_FINDREPLDLG 1
38207 _ACEOF
38208
38209 fi
38210
38211 if test "$wxUSE_FONTDLG" = "yes"; then
38212 cat >>confdefs.h <<\_ACEOF
38213 #define wxUSE_FONTDLG 1
38214 _ACEOF
38215
38216 fi
38217
38218 if test "$wxUSE_DIRDLG" = "yes"; then
38219 if test "$wxUSE_TREECTRL" != "yes"; then
38220 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
38221 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
38222 else
38223 cat >>confdefs.h <<\_ACEOF
38224 #define wxUSE_DIRDLG 1
38225 _ACEOF
38226
38227 fi
38228 fi
38229
38230 if test "$wxUSE_MSGDLG" = "yes"; then
38231 cat >>confdefs.h <<\_ACEOF
38232 #define wxUSE_MSGDLG 1
38233 _ACEOF
38234
38235 fi
38236
38237 if test "$wxUSE_NUMBERDLG" = "yes"; then
38238 cat >>confdefs.h <<\_ACEOF
38239 #define wxUSE_NUMBERDLG 1
38240 _ACEOF
38241
38242 fi
38243
38244 if test "$wxUSE_PROGRESSDLG" = "yes"; then
38245 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38246 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
38247 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
38248 else
38249 cat >>confdefs.h <<\_ACEOF
38250 #define wxUSE_PROGRESSDLG 1
38251 _ACEOF
38252
38253 fi
38254 fi
38255
38256 if test "$wxUSE_SPLASH" = "yes"; then
38257 cat >>confdefs.h <<\_ACEOF
38258 #define wxUSE_SPLASH 1
38259 _ACEOF
38260
38261 fi
38262
38263 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
38264 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38265 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
38266 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
38267 else
38268 cat >>confdefs.h <<\_ACEOF
38269 #define wxUSE_STARTUP_TIPS 1
38270 _ACEOF
38271
38272 fi
38273 fi
38274
38275 if test "$wxUSE_TEXTDLG" = "yes"; then
38276 cat >>confdefs.h <<\_ACEOF
38277 #define wxUSE_TEXTDLG 1
38278 _ACEOF
38279
38280 fi
38281
38282 if test "$wxUSE_WIZARDDLG" = "yes"; then
38283 cat >>confdefs.h <<\_ACEOF
38284 #define wxUSE_WIZARDDLG 1
38285 _ACEOF
38286
38287 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
38288 fi
38289
38290
38291 if test "$cross_compiling" = "yes"; then
38292 OSINFO="\"$host\""
38293 else
38294 OSINFO=`uname -s -r -m`
38295 OSINFO="\"$OSINFO\""
38296 fi
38297
38298 cat >>confdefs.h <<_ACEOF
38299 #define WXWIN_OS_DESCRIPTION $OSINFO
38300 _ACEOF
38301
38302
38303
38304 if test "x$prefix" != "xNONE"; then
38305 wxPREFIX=$prefix
38306 else
38307 wxPREFIX=$ac_default_prefix
38308 fi
38309
38310 cat >>confdefs.h <<_ACEOF
38311 #define wxINSTALL_PREFIX "$wxPREFIX"
38312 _ACEOF
38313
38314
38315 top_builddir_wxconfig=`pwd`
38316
38317
38318
38319 CORE_BASE_LIBS="net base"
38320 CORE_GUI_LIBS="adv core"
38321
38322 if test "$wxUSE_XML" = "yes" ; then
38323 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
38324 fi
38325 if test "$wxUSE_ODBC" != "no" ; then
38326 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
38327 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
38328 fi
38329 if test "$wxUSE_HTML" = "yes" ; then
38330 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
38331 fi
38332
38333 if test "$wxUSE_GUI" != "yes"; then
38334 CORE_GUI_LIBS=""
38335 fi
38336
38337
38338
38339
38340
38341
38342
38343
38344 if test "$wxUSE_MAC" = 1 ; then
38345 LDFLAGS="$LDFLAGS -framework Carbon -framework Cocoa -framework WebKit -framework System"
38346 fi
38347 if test "$wxUSE_COCOA" = 1 ; then
38348 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
38349 fi
38350
38351
38352 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
38353
38354 have_cos=0
38355 have_floor=0
38356
38357 for ac_func in cos
38358 do
38359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38360 echo "$as_me:$LINENO: checking for $ac_func" >&5
38361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38362 if eval "test \"\${$as_ac_var+set}\" = set"; then
38363 echo $ECHO_N "(cached) $ECHO_C" >&6
38364 else
38365 cat >conftest.$ac_ext <<_ACEOF
38366 /* confdefs.h. */
38367 _ACEOF
38368 cat confdefs.h >>conftest.$ac_ext
38369 cat >>conftest.$ac_ext <<_ACEOF
38370 /* end confdefs.h. */
38371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38373 #define $ac_func innocuous_$ac_func
38374
38375 /* System header to define __stub macros and hopefully few prototypes,
38376 which can conflict with char $ac_func (); below.
38377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38378 <limits.h> exists even on freestanding compilers. */
38379
38380 #ifdef __STDC__
38381 # include <limits.h>
38382 #else
38383 # include <assert.h>
38384 #endif
38385
38386 #undef $ac_func
38387
38388 /* Override any gcc2 internal prototype to avoid an error. */
38389 #ifdef __cplusplus
38390 extern "C"
38391 {
38392 #endif
38393 /* We use char because int might match the return type of a gcc2
38394 builtin and then its argument prototype would still apply. */
38395 char $ac_func ();
38396 /* The GNU C library defines this for functions which it implements
38397 to always fail with ENOSYS. Some functions are actually named
38398 something starting with __ and the normal name is an alias. */
38399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38400 choke me
38401 #else
38402 char (*f) () = $ac_func;
38403 #endif
38404 #ifdef __cplusplus
38405 }
38406 #endif
38407
38408 int
38409 main ()
38410 {
38411 return f != $ac_func;
38412 ;
38413 return 0;
38414 }
38415 _ACEOF
38416 rm -f conftest.$ac_objext conftest$ac_exeext
38417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38418 (eval $ac_link) 2>conftest.er1
38419 ac_status=$?
38420 grep -v '^ *+' conftest.er1 >conftest.err
38421 rm -f conftest.er1
38422 cat conftest.err >&5
38423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38424 (exit $ac_status); } &&
38425 { ac_try='test -z "$ac_c_werror_flag"
38426 || test ! -s conftest.err'
38427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38428 (eval $ac_try) 2>&5
38429 ac_status=$?
38430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38431 (exit $ac_status); }; } &&
38432 { ac_try='test -s conftest$ac_exeext'
38433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38434 (eval $ac_try) 2>&5
38435 ac_status=$?
38436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38437 (exit $ac_status); }; }; then
38438 eval "$as_ac_var=yes"
38439 else
38440 echo "$as_me: failed program was:" >&5
38441 sed 's/^/| /' conftest.$ac_ext >&5
38442
38443 eval "$as_ac_var=no"
38444 fi
38445 rm -f conftest.err conftest.$ac_objext \
38446 conftest$ac_exeext conftest.$ac_ext
38447 fi
38448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38450 if test `eval echo '${'$as_ac_var'}'` = yes; then
38451 cat >>confdefs.h <<_ACEOF
38452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38453 _ACEOF
38454 have_cos=1
38455 fi
38456 done
38457
38458
38459 for ac_func in floor
38460 do
38461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38462 echo "$as_me:$LINENO: checking for $ac_func" >&5
38463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38464 if eval "test \"\${$as_ac_var+set}\" = set"; then
38465 echo $ECHO_N "(cached) $ECHO_C" >&6
38466 else
38467 cat >conftest.$ac_ext <<_ACEOF
38468 /* confdefs.h. */
38469 _ACEOF
38470 cat confdefs.h >>conftest.$ac_ext
38471 cat >>conftest.$ac_ext <<_ACEOF
38472 /* end confdefs.h. */
38473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38475 #define $ac_func innocuous_$ac_func
38476
38477 /* System header to define __stub macros and hopefully few prototypes,
38478 which can conflict with char $ac_func (); below.
38479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38480 <limits.h> exists even on freestanding compilers. */
38481
38482 #ifdef __STDC__
38483 # include <limits.h>
38484 #else
38485 # include <assert.h>
38486 #endif
38487
38488 #undef $ac_func
38489
38490 /* Override any gcc2 internal prototype to avoid an error. */
38491 #ifdef __cplusplus
38492 extern "C"
38493 {
38494 #endif
38495 /* We use char because int might match the return type of a gcc2
38496 builtin and then its argument prototype would still apply. */
38497 char $ac_func ();
38498 /* The GNU C library defines this for functions which it implements
38499 to always fail with ENOSYS. Some functions are actually named
38500 something starting with __ and the normal name is an alias. */
38501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38502 choke me
38503 #else
38504 char (*f) () = $ac_func;
38505 #endif
38506 #ifdef __cplusplus
38507 }
38508 #endif
38509
38510 int
38511 main ()
38512 {
38513 return f != $ac_func;
38514 ;
38515 return 0;
38516 }
38517 _ACEOF
38518 rm -f conftest.$ac_objext conftest$ac_exeext
38519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38520 (eval $ac_link) 2>conftest.er1
38521 ac_status=$?
38522 grep -v '^ *+' conftest.er1 >conftest.err
38523 rm -f conftest.er1
38524 cat conftest.err >&5
38525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38526 (exit $ac_status); } &&
38527 { ac_try='test -z "$ac_c_werror_flag"
38528 || test ! -s conftest.err'
38529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38530 (eval $ac_try) 2>&5
38531 ac_status=$?
38532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38533 (exit $ac_status); }; } &&
38534 { ac_try='test -s conftest$ac_exeext'
38535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38536 (eval $ac_try) 2>&5
38537 ac_status=$?
38538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38539 (exit $ac_status); }; }; then
38540 eval "$as_ac_var=yes"
38541 else
38542 echo "$as_me: failed program was:" >&5
38543 sed 's/^/| /' conftest.$ac_ext >&5
38544
38545 eval "$as_ac_var=no"
38546 fi
38547 rm -f conftest.err conftest.$ac_objext \
38548 conftest$ac_exeext conftest.$ac_ext
38549 fi
38550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38552 if test `eval echo '${'$as_ac_var'}'` = yes; then
38553 cat >>confdefs.h <<_ACEOF
38554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38555 _ACEOF
38556 have_floor=1
38557 fi
38558 done
38559
38560 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
38561 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
38562 if test "$have_cos" = 1 -a "$have_floor" = 1; then
38563 echo "$as_me:$LINENO: result: yes" >&5
38564 echo "${ECHO_T}yes" >&6
38565 else
38566 echo "$as_me:$LINENO: result: no" >&5
38567 echo "${ECHO_T}no" >&6
38568 LIBS="$LIBS -lm"
38569 # use different functions to avoid configure caching
38570 have_sin=0
38571 have_ceil=0
38572
38573 for ac_func in sin
38574 do
38575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38576 echo "$as_me:$LINENO: checking for $ac_func" >&5
38577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38578 if eval "test \"\${$as_ac_var+set}\" = set"; then
38579 echo $ECHO_N "(cached) $ECHO_C" >&6
38580 else
38581 cat >conftest.$ac_ext <<_ACEOF
38582 /* confdefs.h. */
38583 _ACEOF
38584 cat confdefs.h >>conftest.$ac_ext
38585 cat >>conftest.$ac_ext <<_ACEOF
38586 /* end confdefs.h. */
38587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38589 #define $ac_func innocuous_$ac_func
38590
38591 /* System header to define __stub macros and hopefully few prototypes,
38592 which can conflict with char $ac_func (); below.
38593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38594 <limits.h> exists even on freestanding compilers. */
38595
38596 #ifdef __STDC__
38597 # include <limits.h>
38598 #else
38599 # include <assert.h>
38600 #endif
38601
38602 #undef $ac_func
38603
38604 /* Override any gcc2 internal prototype to avoid an error. */
38605 #ifdef __cplusplus
38606 extern "C"
38607 {
38608 #endif
38609 /* We use char because int might match the return type of a gcc2
38610 builtin and then its argument prototype would still apply. */
38611 char $ac_func ();
38612 /* The GNU C library defines this for functions which it implements
38613 to always fail with ENOSYS. Some functions are actually named
38614 something starting with __ and the normal name is an alias. */
38615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38616 choke me
38617 #else
38618 char (*f) () = $ac_func;
38619 #endif
38620 #ifdef __cplusplus
38621 }
38622 #endif
38623
38624 int
38625 main ()
38626 {
38627 return f != $ac_func;
38628 ;
38629 return 0;
38630 }
38631 _ACEOF
38632 rm -f conftest.$ac_objext conftest$ac_exeext
38633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38634 (eval $ac_link) 2>conftest.er1
38635 ac_status=$?
38636 grep -v '^ *+' conftest.er1 >conftest.err
38637 rm -f conftest.er1
38638 cat conftest.err >&5
38639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38640 (exit $ac_status); } &&
38641 { ac_try='test -z "$ac_c_werror_flag"
38642 || test ! -s conftest.err'
38643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38644 (eval $ac_try) 2>&5
38645 ac_status=$?
38646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38647 (exit $ac_status); }; } &&
38648 { ac_try='test -s conftest$ac_exeext'
38649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38650 (eval $ac_try) 2>&5
38651 ac_status=$?
38652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38653 (exit $ac_status); }; }; then
38654 eval "$as_ac_var=yes"
38655 else
38656 echo "$as_me: failed program was:" >&5
38657 sed 's/^/| /' conftest.$ac_ext >&5
38658
38659 eval "$as_ac_var=no"
38660 fi
38661 rm -f conftest.err conftest.$ac_objext \
38662 conftest$ac_exeext conftest.$ac_ext
38663 fi
38664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38666 if test `eval echo '${'$as_ac_var'}'` = yes; then
38667 cat >>confdefs.h <<_ACEOF
38668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38669 _ACEOF
38670 have_sin=1
38671 fi
38672 done
38673
38674
38675 for ac_func in ceil
38676 do
38677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38678 echo "$as_me:$LINENO: checking for $ac_func" >&5
38679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38680 if eval "test \"\${$as_ac_var+set}\" = set"; then
38681 echo $ECHO_N "(cached) $ECHO_C" >&6
38682 else
38683 cat >conftest.$ac_ext <<_ACEOF
38684 /* confdefs.h. */
38685 _ACEOF
38686 cat confdefs.h >>conftest.$ac_ext
38687 cat >>conftest.$ac_ext <<_ACEOF
38688 /* end confdefs.h. */
38689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38691 #define $ac_func innocuous_$ac_func
38692
38693 /* System header to define __stub macros and hopefully few prototypes,
38694 which can conflict with char $ac_func (); below.
38695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38696 <limits.h> exists even on freestanding compilers. */
38697
38698 #ifdef __STDC__
38699 # include <limits.h>
38700 #else
38701 # include <assert.h>
38702 #endif
38703
38704 #undef $ac_func
38705
38706 /* Override any gcc2 internal prototype to avoid an error. */
38707 #ifdef __cplusplus
38708 extern "C"
38709 {
38710 #endif
38711 /* We use char because int might match the return type of a gcc2
38712 builtin and then its argument prototype would still apply. */
38713 char $ac_func ();
38714 /* The GNU C library defines this for functions which it implements
38715 to always fail with ENOSYS. Some functions are actually named
38716 something starting with __ and the normal name is an alias. */
38717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38718 choke me
38719 #else
38720 char (*f) () = $ac_func;
38721 #endif
38722 #ifdef __cplusplus
38723 }
38724 #endif
38725
38726 int
38727 main ()
38728 {
38729 return f != $ac_func;
38730 ;
38731 return 0;
38732 }
38733 _ACEOF
38734 rm -f conftest.$ac_objext conftest$ac_exeext
38735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38736 (eval $ac_link) 2>conftest.er1
38737 ac_status=$?
38738 grep -v '^ *+' conftest.er1 >conftest.err
38739 rm -f conftest.er1
38740 cat conftest.err >&5
38741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38742 (exit $ac_status); } &&
38743 { ac_try='test -z "$ac_c_werror_flag"
38744 || test ! -s conftest.err'
38745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38746 (eval $ac_try) 2>&5
38747 ac_status=$?
38748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38749 (exit $ac_status); }; } &&
38750 { ac_try='test -s conftest$ac_exeext'
38751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38752 (eval $ac_try) 2>&5
38753 ac_status=$?
38754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38755 (exit $ac_status); }; }; then
38756 eval "$as_ac_var=yes"
38757 else
38758 echo "$as_me: failed program was:" >&5
38759 sed 's/^/| /' conftest.$ac_ext >&5
38760
38761 eval "$as_ac_var=no"
38762 fi
38763 rm -f conftest.err conftest.$ac_objext \
38764 conftest$ac_exeext conftest.$ac_ext
38765 fi
38766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38767 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38768 if test `eval echo '${'$as_ac_var'}'` = yes; then
38769 cat >>confdefs.h <<_ACEOF
38770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38771 _ACEOF
38772 have_ceil=1
38773 fi
38774 done
38775
38776 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
38777 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
38778 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
38779 echo "$as_me:$LINENO: result: yes" >&5
38780 echo "${ECHO_T}yes" >&6
38781 else
38782 echo "$as_me:$LINENO: result: no" >&5
38783 echo "${ECHO_T}no" >&6
38784 # not sure we should warn the user, crash, etc.
38785 fi
38786 fi
38787
38788 if test "$wxUSE_GUI" = "yes"; then
38789
38790
38791 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
38792 drawing dynamic erase event exec font image \
38793 minimal propsize rotate shaped widgets render"
38794
38795 if test "$wxUSE_MONOLITHIC" != "yes"; then
38796 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
38797 fi
38798 else
38799 SAMPLES_SUBDIRS="console"
38800 fi
38801
38802
38803 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
38804 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
38805
38806 if test "$GXX" = yes ; then
38807 CXXWARNINGS="-Wall"
38808 fi
38809
38810 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
38811
38812 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
38813 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
38814 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
38815
38816
38817 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
38818 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
38819 EXTRALIBS_XML="$EXPAT_LINK"
38820 EXTRALIBS_HTML="$MSPACK_LINK"
38821 EXTRALIBS_ODBC="$ODBC_LINK"
38822 if test "$wxUSE_GUI" = "yes"; then
38823 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
38824 fi
38825 if test "$wxUSE_OPENGL" = "yes"; then
38826 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
38827 fi
38828
38829 LDFLAGS="$LDFLAGS $PROFILE"
38830
38831 if test "$wxUSE_GTK" = 1; then
38832 WXCONFIG_INCLUDE=
38833 else
38834 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
38835 fi
38836
38837 WXCONFIG_EXTRALIBS="$LIBS"
38838
38839 if test "$wxUSE_REGEX" = "builtin" ; then
38840 wxconfig_3rdparty="$wxconfig_3rdparty regex${lib_unicode_suffix}"
38841 fi
38842 if test "$wxUSE_EXPAT" = "builtin" ; then
38843 wxconfig_3rdparty="$wxconfig_3rdparty expat"
38844 fi
38845 if test "$wxUSE_ODBC" = "builtin" ; then
38846 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
38847 fi
38848 if test "$wxUSE_LIBTIFF" = "builtin" ; then
38849 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
38850 fi
38851 if test "$wxUSE_LIBJPEG" = "builtin" ; then
38852 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
38853 fi
38854 if test "$wxUSE_LIBPNG" = "builtin" ; then
38855 wxconfig_3rdparty="$wxconfig_3rdparty png"
38856 fi
38857 if test "$wxUSE_ZLIB" = "builtin" ; then
38858 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
38859 fi
38860 if test "$wxUSE_ODBC" = "builtin" ; then
38861 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
38862 fi
38863
38864 for i in $wxconfig_3rdparty ; do
38865 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
38866 done
38867
38868
38869 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
38870 WXUNIV=1
38871 else
38872 WXUNIV=0
38873 fi
38874
38875
38876
38877
38878
38879
38880
38881
38882
38883 if test $wxUSE_MONOLITHIC = "yes" ; then
38884 MONOLITHIC=1
38885 else
38886 MONOLITHIC=0
38887 fi
38888
38889 if test $wxUSE_PLUGINS = "yes" ; then
38890 USE_PLUGINS=1
38891 else
38892 USE_PLUGINS=0
38893 fi
38894
38895 if test $wxUSE_ODBC != "no" ; then
38896 USE_ODBC=1
38897 else
38898 USE_ODBC=0
38899 fi
38900
38901 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
38902 OFFICIAL_BUILD=1
38903 else
38904 OFFICIAL_BUILD=0
38905 fi
38906
38907
38908
38909
38910
38911
38912
38913
38914
38915
38916
38917
38918
38919
38920
38921
38922
38923
38924
38925
38926
38927 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
38928
38929
38930
38931
38932
38933
38934
38935
38936
38937 if test "x$BAKEFILE_HOST" = "x"; then
38938 BAKEFILE_HOST="${host}"
38939 fi
38940
38941 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38942
38943 if test -n "$ac_tool_prefix"; then
38944 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38945 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
38946 echo "$as_me:$LINENO: checking for $ac_word" >&5
38947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38948 if test "${ac_cv_prog_RANLIB+set}" = set; then
38949 echo $ECHO_N "(cached) $ECHO_C" >&6
38950 else
38951 if test -n "$RANLIB"; then
38952 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
38953 else
38954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38955 for as_dir in $PATH
38956 do
38957 IFS=$as_save_IFS
38958 test -z "$as_dir" && as_dir=.
38959 for ac_exec_ext in '' $ac_executable_extensions; do
38960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38961 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
38962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38963 break 2
38964 fi
38965 done
38966 done
38967
38968 fi
38969 fi
38970 RANLIB=$ac_cv_prog_RANLIB
38971 if test -n "$RANLIB"; then
38972 echo "$as_me:$LINENO: result: $RANLIB" >&5
38973 echo "${ECHO_T}$RANLIB" >&6
38974 else
38975 echo "$as_me:$LINENO: result: no" >&5
38976 echo "${ECHO_T}no" >&6
38977 fi
38978
38979 fi
38980 if test -z "$ac_cv_prog_RANLIB"; then
38981 ac_ct_RANLIB=$RANLIB
38982 # Extract the first word of "ranlib", so it can be a program name with args.
38983 set dummy ranlib; ac_word=$2
38984 echo "$as_me:$LINENO: checking for $ac_word" >&5
38985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38986 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
38987 echo $ECHO_N "(cached) $ECHO_C" >&6
38988 else
38989 if test -n "$ac_ct_RANLIB"; then
38990 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
38991 else
38992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38993 for as_dir in $PATH
38994 do
38995 IFS=$as_save_IFS
38996 test -z "$as_dir" && as_dir=.
38997 for ac_exec_ext in '' $ac_executable_extensions; do
38998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38999 ac_cv_prog_ac_ct_RANLIB="ranlib"
39000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39001 break 2
39002 fi
39003 done
39004 done
39005
39006 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
39007 fi
39008 fi
39009 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
39010 if test -n "$ac_ct_RANLIB"; then
39011 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
39012 echo "${ECHO_T}$ac_ct_RANLIB" >&6
39013 else
39014 echo "$as_me:$LINENO: result: no" >&5
39015 echo "${ECHO_T}no" >&6
39016 fi
39017
39018 RANLIB=$ac_ct_RANLIB
39019 else
39020 RANLIB="$ac_cv_prog_RANLIB"
39021 fi
39022
39023 # Find a good install program. We prefer a C program (faster),
39024 # so one script is as good as another. But avoid the broken or
39025 # incompatible versions:
39026 # SysV /etc/install, /usr/sbin/install
39027 # SunOS /usr/etc/install
39028 # IRIX /sbin/install
39029 # AIX /bin/install
39030 # AmigaOS /C/install, which installs bootblocks on floppy discs
39031 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
39032 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
39033 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
39034 # OS/2's system install, which has a completely different semantic
39035 # ./install, which can be erroneously created by make from ./install.sh.
39036 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
39037 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
39038 if test -z "$INSTALL"; then
39039 if test "${ac_cv_path_install+set}" = set; then
39040 echo $ECHO_N "(cached) $ECHO_C" >&6
39041 else
39042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39043 for as_dir in $PATH
39044 do
39045 IFS=$as_save_IFS
39046 test -z "$as_dir" && as_dir=.
39047 # Account for people who put trailing slashes in PATH elements.
39048 case $as_dir/ in
39049 ./ | .// | /cC/* | \
39050 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
39051 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
39052 /usr/ucb/* ) ;;
39053 *)
39054 # OSF1 and SCO ODT 3.0 have their own names for install.
39055 # Don't use installbsd from OSF since it installs stuff as root
39056 # by default.
39057 for ac_prog in ginstall scoinst install; do
39058 for ac_exec_ext in '' $ac_executable_extensions; do
39059 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
39060 if test $ac_prog = install &&
39061 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
39062 # AIX install. It has an incompatible calling convention.
39063 :
39064 elif test $ac_prog = install &&
39065 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
39066 # program-specific install script used by HP pwplus--don't use.
39067 :
39068 else
39069 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
39070 break 3
39071 fi
39072 fi
39073 done
39074 done
39075 ;;
39076 esac
39077 done
39078
39079
39080 fi
39081 if test "${ac_cv_path_install+set}" = set; then
39082 INSTALL=$ac_cv_path_install
39083 else
39084 # As a last resort, use the slow shell script. We don't cache a
39085 # path for INSTALL within a source directory, because that will
39086 # break other packages using the cache if that directory is
39087 # removed, or if the path is relative.
39088 INSTALL=$ac_install_sh
39089 fi
39090 fi
39091 echo "$as_me:$LINENO: result: $INSTALL" >&5
39092 echo "${ECHO_T}$INSTALL" >&6
39093
39094 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
39095 # It thinks the first close brace ends the variable substitution.
39096 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
39097
39098 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
39099
39100 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
39101
39102 echo "$as_me:$LINENO: checking whether ln -s works" >&5
39103 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
39104 LN_S=$as_ln_s
39105 if test "$LN_S" = "ln -s"; then
39106 echo "$as_me:$LINENO: result: yes" >&5
39107 echo "${ECHO_T}yes" >&6
39108 else
39109 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
39110 echo "${ECHO_T}no, using $LN_S" >&6
39111 fi
39112
39113
39114 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
39115 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
39116 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
39117 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
39118 echo $ECHO_N "(cached) $ECHO_C" >&6
39119 else
39120 cat >conftest.make <<\_ACEOF
39121 all:
39122 @echo 'ac_maketemp="$(MAKE)"'
39123 _ACEOF
39124 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
39125 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
39126 if test -n "$ac_maketemp"; then
39127 eval ac_cv_prog_make_${ac_make}_set=yes
39128 else
39129 eval ac_cv_prog_make_${ac_make}_set=no
39130 fi
39131 rm -f conftest.make
39132 fi
39133 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
39134 echo "$as_me:$LINENO: result: yes" >&5
39135 echo "${ECHO_T}yes" >&6
39136 SET_MAKE=
39137 else
39138 echo "$as_me:$LINENO: result: no" >&5
39139 echo "${ECHO_T}no" >&6
39140 SET_MAKE="MAKE=${MAKE-make}"
39141 fi
39142
39143
39144
39145 if test -n "$ac_tool_prefix"; then
39146 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
39147 set dummy ${ac_tool_prefix}ar; ac_word=$2
39148 echo "$as_me:$LINENO: checking for $ac_word" >&5
39149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39150 if test "${ac_cv_prog_AR+set}" = set; then
39151 echo $ECHO_N "(cached) $ECHO_C" >&6
39152 else
39153 if test -n "$AR"; then
39154 ac_cv_prog_AR="$AR" # Let the user override the test.
39155 else
39156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39157 for as_dir in $PATH
39158 do
39159 IFS=$as_save_IFS
39160 test -z "$as_dir" && as_dir=.
39161 for ac_exec_ext in '' $ac_executable_extensions; do
39162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39163 ac_cv_prog_AR="${ac_tool_prefix}ar"
39164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39165 break 2
39166 fi
39167 done
39168 done
39169
39170 fi
39171 fi
39172 AR=$ac_cv_prog_AR
39173 if test -n "$AR"; then
39174 echo "$as_me:$LINENO: result: $AR" >&5
39175 echo "${ECHO_T}$AR" >&6
39176 else
39177 echo "$as_me:$LINENO: result: no" >&5
39178 echo "${ECHO_T}no" >&6
39179 fi
39180
39181 fi
39182 if test -z "$ac_cv_prog_AR"; then
39183 ac_ct_AR=$AR
39184 # Extract the first word of "ar", so it can be a program name with args.
39185 set dummy ar; ac_word=$2
39186 echo "$as_me:$LINENO: checking for $ac_word" >&5
39187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39188 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
39189 echo $ECHO_N "(cached) $ECHO_C" >&6
39190 else
39191 if test -n "$ac_ct_AR"; then
39192 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
39193 else
39194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39195 for as_dir in $PATH
39196 do
39197 IFS=$as_save_IFS
39198 test -z "$as_dir" && as_dir=.
39199 for ac_exec_ext in '' $ac_executable_extensions; do
39200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39201 ac_cv_prog_ac_ct_AR="ar"
39202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39203 break 2
39204 fi
39205 done
39206 done
39207
39208 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
39209 fi
39210 fi
39211 ac_ct_AR=$ac_cv_prog_ac_ct_AR
39212 if test -n "$ac_ct_AR"; then
39213 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
39214 echo "${ECHO_T}$ac_ct_AR" >&6
39215 else
39216 echo "$as_me:$LINENO: result: no" >&5
39217 echo "${ECHO_T}no" >&6
39218 fi
39219
39220 AR=$ac_ct_AR
39221 else
39222 AR="$ac_cv_prog_AR"
39223 fi
39224
39225 if test -n "$ac_tool_prefix"; then
39226 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
39227 set dummy ${ac_tool_prefix}strip; ac_word=$2
39228 echo "$as_me:$LINENO: checking for $ac_word" >&5
39229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39230 if test "${ac_cv_prog_STRIP+set}" = set; then
39231 echo $ECHO_N "(cached) $ECHO_C" >&6
39232 else
39233 if test -n "$STRIP"; then
39234 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
39235 else
39236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39237 for as_dir in $PATH
39238 do
39239 IFS=$as_save_IFS
39240 test -z "$as_dir" && as_dir=.
39241 for ac_exec_ext in '' $ac_executable_extensions; do
39242 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39243 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
39244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39245 break 2
39246 fi
39247 done
39248 done
39249
39250 fi
39251 fi
39252 STRIP=$ac_cv_prog_STRIP
39253 if test -n "$STRIP"; then
39254 echo "$as_me:$LINENO: result: $STRIP" >&5
39255 echo "${ECHO_T}$STRIP" >&6
39256 else
39257 echo "$as_me:$LINENO: result: no" >&5
39258 echo "${ECHO_T}no" >&6
39259 fi
39260
39261 fi
39262 if test -z "$ac_cv_prog_STRIP"; then
39263 ac_ct_STRIP=$STRIP
39264 # Extract the first word of "strip", so it can be a program name with args.
39265 set dummy strip; ac_word=$2
39266 echo "$as_me:$LINENO: checking for $ac_word" >&5
39267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39268 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
39269 echo $ECHO_N "(cached) $ECHO_C" >&6
39270 else
39271 if test -n "$ac_ct_STRIP"; then
39272 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
39273 else
39274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39275 for as_dir in $PATH
39276 do
39277 IFS=$as_save_IFS
39278 test -z "$as_dir" && as_dir=.
39279 for ac_exec_ext in '' $ac_executable_extensions; do
39280 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39281 ac_cv_prog_ac_ct_STRIP="strip"
39282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39283 break 2
39284 fi
39285 done
39286 done
39287
39288 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
39289 fi
39290 fi
39291 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
39292 if test -n "$ac_ct_STRIP"; then
39293 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
39294 echo "${ECHO_T}$ac_ct_STRIP" >&6
39295 else
39296 echo "$as_me:$LINENO: result: no" >&5
39297 echo "${ECHO_T}no" >&6
39298 fi
39299
39300 STRIP=$ac_ct_STRIP
39301 else
39302 STRIP="$ac_cv_prog_STRIP"
39303 fi
39304
39305 if test -n "$ac_tool_prefix"; then
39306 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
39307 set dummy ${ac_tool_prefix}nm; ac_word=$2
39308 echo "$as_me:$LINENO: checking for $ac_word" >&5
39309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39310 if test "${ac_cv_prog_NM+set}" = set; then
39311 echo $ECHO_N "(cached) $ECHO_C" >&6
39312 else
39313 if test -n "$NM"; then
39314 ac_cv_prog_NM="$NM" # Let the user override the test.
39315 else
39316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39317 for as_dir in $PATH
39318 do
39319 IFS=$as_save_IFS
39320 test -z "$as_dir" && as_dir=.
39321 for ac_exec_ext in '' $ac_executable_extensions; do
39322 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39323 ac_cv_prog_NM="${ac_tool_prefix}nm"
39324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39325 break 2
39326 fi
39327 done
39328 done
39329
39330 fi
39331 fi
39332 NM=$ac_cv_prog_NM
39333 if test -n "$NM"; then
39334 echo "$as_me:$LINENO: result: $NM" >&5
39335 echo "${ECHO_T}$NM" >&6
39336 else
39337 echo "$as_me:$LINENO: result: no" >&5
39338 echo "${ECHO_T}no" >&6
39339 fi
39340
39341 fi
39342 if test -z "$ac_cv_prog_NM"; then
39343 ac_ct_NM=$NM
39344 # Extract the first word of "nm", so it can be a program name with args.
39345 set dummy nm; ac_word=$2
39346 echo "$as_me:$LINENO: checking for $ac_word" >&5
39347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39348 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
39349 echo $ECHO_N "(cached) $ECHO_C" >&6
39350 else
39351 if test -n "$ac_ct_NM"; then
39352 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
39353 else
39354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39355 for as_dir in $PATH
39356 do
39357 IFS=$as_save_IFS
39358 test -z "$as_dir" && as_dir=.
39359 for ac_exec_ext in '' $ac_executable_extensions; do
39360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39361 ac_cv_prog_ac_ct_NM="nm"
39362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39363 break 2
39364 fi
39365 done
39366 done
39367
39368 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
39369 fi
39370 fi
39371 ac_ct_NM=$ac_cv_prog_ac_ct_NM
39372 if test -n "$ac_ct_NM"; then
39373 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
39374 echo "${ECHO_T}$ac_ct_NM" >&6
39375 else
39376 echo "$as_me:$LINENO: result: no" >&5
39377 echo "${ECHO_T}no" >&6
39378 fi
39379
39380 NM=$ac_ct_NM
39381 else
39382 NM="$ac_cv_prog_NM"
39383 fi
39384
39385
39386 case ${BAKEFILE_HOST} in
39387 *-hp-hpux* )
39388 INSTALL_DIR="mkdir"
39389 ;;
39390 *) INSTALL_DIR="$INSTALL -d"
39391 ;;
39392 esac
39393
39394
39395 LDFLAGS_GUI=
39396 case ${BAKEFILE_HOST} in
39397 *-*-cygwin* | *-*-mingw32* )
39398 LDFLAGS_GUI="-mwindows"
39399 esac
39400
39401
39402 fi
39403
39404 echo "$as_me:$LINENO: checking if make is GNU make" >&5
39405 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
39406 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
39407 echo $ECHO_N "(cached) $ECHO_C" >&6
39408 else
39409
39410 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
39411 egrep -s GNU > /dev/null); then
39412 bakefile_cv_prog_makeisgnu="yes"
39413 else
39414 bakefile_cv_prog_makeisgnu="no"
39415 fi
39416
39417 fi
39418 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
39419 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
39420
39421 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
39422 IF_GNU_MAKE=""
39423 else
39424 IF_GNU_MAKE="#"
39425 fi
39426
39427
39428
39429 PLATFORM_UNIX=0
39430 PLATFORM_WIN32=0
39431 PLATFORM_MSDOS=0
39432 PLATFORM_MAC=0
39433 PLATFORM_MACOSX=0
39434 PLATFORM_OS2=0
39435
39436 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
39437 case "${BAKEFILE_HOST}" in
39438 *-*-cygwin* | *-*-mingw32* )
39439 PLATFORM_WIN32=1
39440 ;;
39441 *-pc-msdosdjgpp )
39442 PLATFORM_MSDOS=1
39443 ;;
39444 *-pc-os2_emx | *-pc-os2-emx )
39445 PLATFORM_OS2=1
39446 ;;
39447 powerpc-*-darwin* )
39448 PLATFORM_MAC=1
39449 PLATFORM_MACOSX=1
39450 ;;
39451 * )
39452 PLATFORM_UNIX=1
39453 ;;
39454 esac
39455 else
39456 case "$BAKEFILE_FORCE_PLATFORM" in
39457 win32 )
39458 PLATFORM_WIN32=1
39459 ;;
39460 msdos )
39461 PLATFORM_MSDOS=1
39462 ;;
39463 os2 )
39464 PLATFORM_OS2=1
39465 ;;
39466 darwin )
39467 PLATFORM_MAC=1
39468 PLATFORM_MACOSX=1
39469 ;;
39470 unix )
39471 PLATFORM_UNIX=1
39472 ;;
39473 * )
39474 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
39475 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
39476 { (exit 1); exit 1; }; }
39477 ;;
39478 esac
39479 fi
39480
39481
39482
39483
39484
39485
39486
39487
39488
39489 # Check whether --enable-omf or --disable-omf was given.
39490 if test "${enable_omf+set}" = set; then
39491 enableval="$enable_omf"
39492 bk_os2_use_omf="$enableval"
39493 fi;
39494
39495 case "${BAKEFILE_HOST}" in
39496 *-*-darwin* )
39497 CFLAGS="$CFLAGS -fno-common"
39498 CXXFLAGS="$CXXFLAGS -fno-common"
39499 ;;
39500
39501 *-pc-os2_emx | *-pc-os2-emx )
39502 if test "x$bk_os2_use_omf" = "xyes" ; then
39503 AR=emxomfar
39504 RANLIB=:
39505 LDFLAGS="-Zomf $LDFLAGS"
39506 CFLAGS="-Zomf $CFLAGS"
39507 CXXFLAGS="-Zomf $CXXFLAGS"
39508 OS2_LIBEXT="lib"
39509 else
39510 OS2_LIBEXT="a"
39511 fi
39512 ;;
39513 esac
39514
39515
39516 SO_SUFFIX="so"
39517 SO_SUFFIX_MODULE="so"
39518 EXEEXT=""
39519 LIBPREFIX="lib"
39520 LIBEXT=".a"
39521 DLLPREFIX="lib"
39522 DLLPREFIX_MODULE=""
39523 DLLIMP_SUFFIX=""
39524
39525 case "${BAKEFILE_HOST}" in
39526 *-hp-hpux* )
39527 SO_SUFFIX="sl"
39528 SO_SUFFIX_MODULE="sl"
39529 ;;
39530 *-*-aix* )
39531 SO_SUFFIX="a"
39532 SO_SUFFIX_MODULE="a"
39533 ;;
39534 *-*-cygwin* | *-*-mingw32* )
39535 SO_SUFFIX="dll"
39536 SO_SUFFIX_MODULE="dll"
39537 DLLIMP_SUFFIX="dll.a"
39538 EXEEXT=".exe"
39539 DLLPREFIX=""
39540 ;;
39541 *-pc-msdosdjgpp )
39542 EXEEXT=".exe"
39543 DLLPREFIX=""
39544 ;;
39545 *-pc-os2_emx | *-pc-os2-emx )
39546 SO_SUFFIX="dll"
39547 SO_SUFFIX_MODULE="dll"
39548 DLLIMP_SUFFIX=$OS2_LIBEXT
39549 EXEEXT=".exe"
39550 DLLPREFIX=""
39551 LIBPREFIX=""
39552 LIBEXT=".$OS2_LIBEXT"
39553 ;;
39554 powerpc-*-darwin* )
39555 SO_SUFFIX="dylib"
39556 SO_SUFFIX_MODULE="bundle"
39557 ;;
39558 esac
39559
39560 if test "x$DLLIMP_SUFFIX" = "x" ; then
39561 DLLIMP_SUFFIX="$SO_SUFFIX"
39562 fi
39563
39564
39565
39566
39567
39568
39569
39570
39571
39572
39573
39574 SHARED_LD_CC="\$(CC) -shared -o"
39575 SHARED_LD_CXX="\$(CXX) -shared -o"
39576
39577 if test "x$GCC" = "xyes"; then
39578 PIC_FLAG="-fPIC"
39579 fi
39580
39581 case "${BAKEFILE_HOST}" in
39582 *-hp-hpux* )
39583 if test "x$GCC" = "xyes"; then
39584 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
39585 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
39586 else
39587 LDFLAGS="$LDFLAGS -L/usr/lib"
39588
39589 SHARED_LD_CC="${CC} -b -o"
39590 SHARED_LD_CXX="${CXX} -b -o"
39591 PIC_FLAG="+Z"
39592 fi
39593 ;;
39594
39595 *-*-linux* )
39596 if test "x$GCC" != "xyes"; then
39597 echo "$as_me:$LINENO: checking for Intel compiler" >&5
39598 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
39599 if test "${bakefile_cv_prog_icc+set}" = set; then
39600 echo $ECHO_N "(cached) $ECHO_C" >&6
39601 else
39602
39603 cat >conftest.$ac_ext <<_ACEOF
39604 /* confdefs.h. */
39605 _ACEOF
39606 cat confdefs.h >>conftest.$ac_ext
39607 cat >>conftest.$ac_ext <<_ACEOF
39608 /* end confdefs.h. */
39609
39610 int
39611 main ()
39612 {
39613
39614 #ifndef __INTEL_COMPILER
39615 #error Not icc
39616 #endif
39617
39618 ;
39619 return 0;
39620 }
39621 _ACEOF
39622 rm -f conftest.$ac_objext
39623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39624 (eval $ac_compile) 2>conftest.er1
39625 ac_status=$?
39626 grep -v '^ *+' conftest.er1 >conftest.err
39627 rm -f conftest.er1
39628 cat conftest.err >&5
39629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39630 (exit $ac_status); } &&
39631 { ac_try='test -z "$ac_c_werror_flag"
39632 || test ! -s conftest.err'
39633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39634 (eval $ac_try) 2>&5
39635 ac_status=$?
39636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39637 (exit $ac_status); }; } &&
39638 { ac_try='test -s conftest.$ac_objext'
39639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39640 (eval $ac_try) 2>&5
39641 ac_status=$?
39642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39643 (exit $ac_status); }; }; then
39644 bakefile_cv_prog_icc=yes
39645 else
39646 echo "$as_me: failed program was:" >&5
39647 sed 's/^/| /' conftest.$ac_ext >&5
39648
39649 bakefile_cv_prog_icc=no
39650
39651 fi
39652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39653
39654 fi
39655 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
39656 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
39657 if test "$bakefile_cv_prog_icc" = "yes"; then
39658 PIC_FLAG="-KPIC"
39659 fi
39660 fi
39661 ;;
39662
39663 *-*-solaris2* )
39664 if test "x$GCC" != xyes ; then
39665 SHARED_LD_CC="${CC} -G -o"
39666 SHARED_LD_CXX="${CXX} -G -o"
39667 PIC_FLAG="-KPIC"
39668 fi
39669 ;;
39670
39671 *-*-darwin* )
39672
39673 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
39674 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
39675 if test "${wx_cv_gcc31+set}" = set; then
39676 echo $ECHO_N "(cached) $ECHO_C" >&6
39677 else
39678
39679 cat >conftest.$ac_ext <<_ACEOF
39680 /* confdefs.h. */
39681 _ACEOF
39682 cat confdefs.h >>conftest.$ac_ext
39683 cat >>conftest.$ac_ext <<_ACEOF
39684 /* end confdefs.h. */
39685
39686 int
39687 main ()
39688 {
39689
39690 #if (__GNUC__ < 3) || \
39691 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
39692 #error old gcc
39693 #endif
39694
39695 ;
39696 return 0;
39697 }
39698 _ACEOF
39699 rm -f conftest.$ac_objext
39700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39701 (eval $ac_compile) 2>conftest.er1
39702 ac_status=$?
39703 grep -v '^ *+' conftest.er1 >conftest.err
39704 rm -f conftest.er1
39705 cat conftest.err >&5
39706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39707 (exit $ac_status); } &&
39708 { ac_try='test -z "$ac_c_werror_flag"
39709 || test ! -s conftest.err'
39710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39711 (eval $ac_try) 2>&5
39712 ac_status=$?
39713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39714 (exit $ac_status); }; } &&
39715 { ac_try='test -s conftest.$ac_objext'
39716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39717 (eval $ac_try) 2>&5
39718 ac_status=$?
39719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39720 (exit $ac_status); }; }; then
39721
39722 wx_cv_gcc31=yes
39723
39724 else
39725 echo "$as_me: failed program was:" >&5
39726 sed 's/^/| /' conftest.$ac_ext >&5
39727
39728
39729 wx_cv_gcc31=no
39730
39731
39732 fi
39733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39734
39735 fi
39736 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
39737 echo "${ECHO_T}$wx_cv_gcc31" >&6
39738 if test "$wx_cv_gcc31" = "no"; then
39739
39740 D='$'
39741 cat <<EOF >shared-ld-sh
39742 #!/bin/sh
39743 #-----------------------------------------------------------------------------
39744 #-- Name: distrib/mac/shared-ld-sh
39745 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
39746 #-- Author: Gilles Depeyrot
39747 #-- Copyright: (c) 2002 Gilles Depeyrot
39748 #-- Licence: any use permitted
39749 #-----------------------------------------------------------------------------
39750
39751 verbose=0
39752 args=""
39753 objects=""
39754 linking_flag="-dynamiclib"
39755
39756 while test ${D}# -gt 0; do
39757 case ${D}1 in
39758
39759 -v)
39760 verbose=1
39761 ;;
39762
39763 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
39764 # collect these options and values
39765 args="${D}{args} ${D}1 ${D}2"
39766 shift
39767 ;;
39768
39769 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
39770 # collect these options
39771 args="${D}{args} ${D}1"
39772 ;;
39773
39774 -dynamiclib|-bundle)
39775 linking_flag="${D}1"
39776 ;;
39777
39778 -*)
39779 echo "shared-ld: unhandled option '${D}1'"
39780 exit 1
39781 ;;
39782
39783 *.o | *.a | *.dylib)
39784 # collect object files
39785 objects="${D}{objects} ${D}1"
39786 ;;
39787
39788 *)
39789 echo "shared-ld: unhandled argument '${D}1'"
39790 exit 1
39791 ;;
39792
39793 esac
39794 shift
39795 done
39796
39797 #
39798 # Link one module containing all the others
39799 #
39800 if test ${D}{verbose} = 1; then
39801 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
39802 fi
39803 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
39804 status=${D}?
39805 if test ${D}{status} != 0; then
39806 exit ${D}{status}
39807 fi
39808
39809 #
39810 # Link the shared library from the single module created
39811 #
39812 if test ${D}{verbose} = 1; then
39813 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
39814 fi
39815 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
39816 status=${D}?
39817 if test ${D}{status} != 0; then
39818 exit ${D}{status}
39819 fi
39820
39821 #
39822 # Remove intermediate module
39823 #
39824 rm -f master.${D}${D}.o
39825
39826 exit 0
39827 EOF
39828
39829 chmod +x shared-ld-sh
39830
39831 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
39832 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
39833 SHARED_LD_CXX="$SHARED_LD_CC"
39834 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
39835 else
39836 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
39837 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
39838 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
39839 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
39840 fi
39841
39842 PIC_FLAG="-dynamic -fPIC"
39843 ;;
39844
39845 *-*-aix* )
39846 if test "x$GCC" != "xyes"; then
39847 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
39848 set dummy makeC++SharedLib; ac_word=$2
39849 echo "$as_me:$LINENO: checking for $ac_word" >&5
39850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39851 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
39852 echo $ECHO_N "(cached) $ECHO_C" >&6
39853 else
39854 if test -n "$AIX_CXX_LD"; then
39855 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
39856 else
39857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39858 for as_dir in $PATH
39859 do
39860 IFS=$as_save_IFS
39861 test -z "$as_dir" && as_dir=.
39862 for ac_exec_ext in '' $ac_executable_extensions; do
39863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39864 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
39865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39866 break 2
39867 fi
39868 done
39869 done
39870
39871 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
39872 fi
39873 fi
39874 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
39875 if test -n "$AIX_CXX_LD"; then
39876 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
39877 echo "${ECHO_T}$AIX_CXX_LD" >&6
39878 else
39879 echo "$as_me:$LINENO: result: no" >&5
39880 echo "${ECHO_T}no" >&6
39881 fi
39882
39883 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
39884 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
39885 fi
39886 ;;
39887
39888 *-*-beos* )
39889 SHARED_LD_CC="${LD} -shared -o"
39890 SHARED_LD_CXX="${LD} -shared -o"
39891 ;;
39892
39893 *-*-irix* )
39894 if test "x$GCC" != "xyes"; then
39895 PIC_FLAG="-KPIC"
39896 fi
39897 ;;
39898
39899 *-*-cygwin* | *-*-mingw32* )
39900 PIC_FLAG=""
39901 ;;
39902
39903 *-pc-os2_emx | *-pc-os2-emx )
39904 SHARED_LD_CC="`pwd`/dllar.sh -o"
39905 SHARED_LD_CXX="`pwd`/dllar.sh -o"
39906 PIC_FLAG=""
39907
39908 D='$'
39909 cat <<EOF >dllar.sh
39910 #!/bin/sh
39911 #
39912 # dllar - a tool to build both a .dll and an .a file
39913 # from a set of object (.o) files for EMX/OS2.
39914 #
39915 # Written by Andrew Zabolotny, bit@freya.etu.ru
39916 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39917 #
39918 # This script will accept a set of files on the command line.
39919 # All the public symbols from the .o files will be exported into
39920 # a .DEF file, then linker will be run (through gcc) against them to
39921 # build a shared library consisting of all given .o files. All libraries
39922 # (.a) will be first decompressed into component .o files then act as
39923 # described above. You can optionally give a description (-d "description")
39924 # which will be put into .DLL. To see the list of accepted options (as well
39925 # as command-line format) simply run this program without options. The .DLL
39926 # is built to be imported by name (there is no guarantee that new versions
39927 # of the library you build will have same ordinals for same symbols).
39928 #
39929 # dllar is free software; you can redistribute it and/or modify
39930 # it under the terms of the GNU General Public License as published by
39931 # the Free Software Foundation; either version 2, or (at your option)
39932 # any later version.
39933 #
39934 # dllar is distributed in the hope that it will be useful,
39935 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39936 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39937 # GNU General Public License for more details.
39938 #
39939 # You should have received a copy of the GNU General Public License
39940 # along with dllar; see the file COPYING. If not, write to the Free
39941 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39942 # 02111-1307, USA.
39943
39944 # To successfuly run this program you will need:
39945 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39946 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39947 # - gcc
39948 # (used to build the .dll)
39949 # - emxexp
39950 # (used to create .def file from .o files)
39951 # - emximp
39952 # (used to create .a file from .def file)
39953 # - GNU text utilites (cat, sort, uniq)
39954 # used to process emxexp output
39955 # - GNU file utilities (mv, rm)
39956 # - GNU sed
39957 # - lxlite (optional, see flag below)
39958 # (used for general .dll cleanup)
39959 #
39960
39961 flag_USE_LXLITE=1;
39962
39963 #
39964 # helper functions
39965 # basnam, variant of basename, which does _not_ remove the path, _iff_
39966 # second argument (suffix to remove) is given
39967 basnam(){
39968 case ${D}# in
39969 1)
39970 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
39971 ;;
39972 2)
39973 echo ${D}1 | sed 's/'${D}2'${D}//'
39974 ;;
39975 *)
39976 echo "error in basnam ${D}*"
39977 exit 8
39978 ;;
39979 esac
39980 }
39981
39982 # Cleanup temporary files and output
39983 CleanUp() {
39984 cd ${D}curDir
39985 for i in ${D}inputFiles ; do
39986 case ${D}i in
39987 *!)
39988 rm -rf \`basnam ${D}i !\`
39989 ;;
39990 *)
39991 ;;
39992 esac
39993 done
39994
39995 # Kill result in case of failure as there is just to many stupid make/nmake
39996 # things out there which doesn't do this.
39997 if ${D}# -eq 0 ; then
39998 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39999 fi
40000 }
40001
40002 # Print usage and exit script with rc=1.
40003 PrintHelp() {
40004 echo 'Usage: dllar -o[utput] output_file -i[mport] importlib_name'
40005 echo ' -d[escription] "dll descrption" -cc "CC" -f[lags] "CFLAGS"'
40006 echo ' -ord[inals] -exclude "symbol(s)"'
40007 echo ' -libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}" -nocrt[dll] -nolxl[ite]'
40008 echo ' *.o *.a'
40009 echo '*> "output_file" should have no extension.'
40010 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
40011 echo ' The import library name is derived from this and is set to "name".a,'
40012 echo ' unless overridden by -import'
40013 echo '*> "importlib_name" should have no extension.'
40014 echo ' If it has the .o, or .a extension, it is automatically removed.'
40015 echo ' This name is used as the import library name and may be longer and'
40016 echo ' more descriptive than the DLL name which has to follow the old '
40017 echo ' 8.3 convention of FAT.'
40018 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
40019 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
40020 echo ' These flags will be put at the start of GCC command line.'
40021 echo '*> -ordinals tells dllar to export entries by ordinals. Be careful.'
40022 echo '*> -exclude defines symbols which will not be exported. You can define'
40023 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
40024 echo ' If the last character of a symbol is "*", all symbols beginning'
40025 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
40026 echo '*> -libflags can be used to add INITGLOBAL/INITINSTANCE and/or'
40027 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
40028 echo '*> -nocrtdll switch will disable linking the library against emx''s'
40029 echo ' C runtime DLLs.'
40030 echo '*> -nolxlite switch will disable running lxlite on the resulting DLL.'
40031 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
40032 echo ' unchanged to GCC at the end of command line.'
40033 echo '*> If you create a DLL from a library and you do not specify -o,'
40034 echo ' the basename for DLL and import library will be set to library name,'
40035 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
40036 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
40037 echo ' library will be renamed into gcc_s.a.'
40038 echo '--------'
40039 echo 'Example:'
40040 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
40041 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
40042 CleanUp
40043 exit 1
40044 }
40045
40046 # Execute a command.
40047 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
40048 # @Uses Whatever CleanUp() uses.
40049 doCommand() {
40050 echo "${D}*"
40051 eval ${D}*
40052 rcCmd=${D}?
40053
40054 if ${D}rcCmd -ne 0 ; then
40055 echo "command failed, exit code="${D}rcCmd
40056 CleanUp
40057 exit ${D}rcCmd
40058 fi
40059 }
40060
40061 # main routine
40062 # setup globals
40063 cmdLine=${D}*
40064 outFile=""
40065 outimpFile=""
40066 inputFiles=""
40067 description=""
40068 CC=gcc.exe
40069 CFLAGS="-s -Zcrtdll"
40070 EXTRA_CFLAGS=""
40071 EXPORT_BY_ORDINALS=0
40072 exclude_symbols=""
40073 library_flags=""
40074 curDir=\`pwd\`
40075 curDirS=curDir
40076 case ${D}curDirS in
40077 */)
40078 ;;
40079 *)
40080 curDirS=${D}{curDirS}"/"
40081 ;;
40082 esac
40083 # Parse commandline
40084 libsToLink=0
40085 while ${D}1 ; do
40086 case ${D}1 in
40087 -ord*)
40088 EXPORT_BY_ORDINALS=1;
40089 ;;
40090 -o*)
40091 shift
40092 outFile=${D}1
40093 ;;
40094 -i*)
40095 shift
40096 outimpFile=${D}1
40097 ;;
40098 -d*)
40099 shift
40100 description=${D}1
40101 ;;
40102 -f*)
40103 shift
40104 CFLAGS=${D}1
40105 ;;
40106 -c*)
40107 shift
40108 CC=${D}1
40109 ;;
40110 -h*)
40111 PrintHelp
40112 ;;
40113 -ex*)
40114 shift
40115 exclude_symbols=${D}{exclude_symbols}${D}1" "
40116 ;;
40117 -libf*)
40118 shift
40119 library_flags=${D}{library_flags}${D}1" "
40120 ;;
40121 -nocrt*)
40122 CFLAGS="-s"
40123 ;;
40124 -nolxl*)
40125 flag_USE_LXLITE=0
40126 ;;
40127 -* | /*)
40128 case ${D}1 in
40129 -L* | -l*)
40130 libsToLink=1
40131 ;;
40132 *)
40133 ;;
40134 esac
40135 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
40136 ;;
40137 *)
40138 found=0;
40139 if ${D}libsToLink -ne 0 ; then
40140 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
40141 else
40142 for file in ${D}1 ; do
40143 if -f ${D}file ; then
40144 inputFiles="${D}{inputFiles} ${D}file"
40145 found=1
40146 fi
40147 done
40148 if ${D}found -eq 0 ; then
40149 echo "ERROR: No file(s) found: "${D}1
40150 exit 8
40151 fi
40152 fi
40153 ;;
40154 esac
40155 shift
40156 done # iterate cmdline words
40157
40158 #
40159 if -z "${D}inputFiles" ; then
40160 echo "dllar: no input files"
40161 PrintHelp
40162 fi
40163
40164 # Now extract all .o files from .a files
40165 newInputFiles=""
40166 for file in ${D}inputFiles ; do
40167 case ${D}file in
40168 *.a | *.lib)
40169 case ${D}file in
40170 *.a)
40171 suffix=".a"
40172 AR="ar"
40173 ;;
40174 *.lib)
40175 suffix=".lib"
40176 AR="emxomfar"
40177 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
40178 ;;
40179 *)
40180 ;;
40181 esac
40182 dirname=\`basnam ${D}file ${D}suffix\`"_%"
40183 mkdir ${D}dirname
40184 if ${D}? -ne 0 ; then
40185 echo "Failed to create subdirectory ./${D}dirname"
40186 CleanUp
40187 exit 8;
40188 fi
40189 # Append '!' to indicate archive
40190 newInputFiles="${D}newInputFiles ${D}{dirname}!"
40191 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
40192 cd ${D}curDir
40193 found=0;
40194 for subfile in ${D}dirname/*.o* ; do
40195 if -f ${D}subfile ; then
40196 found=1
40197 if -s ${D}subfile ; then
40198 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
40199 newInputFiles="${D}newInputFiles ${D}subfile"
40200 fi
40201 fi
40202 done
40203 if ${D}found -eq 0 ; then
40204 echo "WARNING: there are no files in archive \'${D}file\'"
40205 fi
40206 ;;
40207 *)
40208 newInputFiles="${D}{newInputFiles} ${D}file"
40209 ;;
40210 esac
40211 done
40212 inputFiles="${D}newInputFiles"
40213
40214 # Output filename(s).
40215 do_backup=0;
40216 if -z ${D}outFile ; then
40217 do_backup=1;
40218 set outFile ${D}inputFiles; outFile=${D}2
40219 fi
40220
40221 # If it is an archive, remove the '!' and the '_%' suffixes
40222 case ${D}outFile in
40223 *_%!)
40224 outFile=\`basnam ${D}outFile _%!\`
40225 ;;
40226 *)
40227 ;;
40228 esac
40229 case ${D}outFile in
40230 *.dll)
40231 outFile=\`basnam ${D}outFile .dll\`
40232 ;;
40233 *.DLL)
40234 outFile=\`basnam ${D}outFile .DLL\`
40235 ;;
40236 *.o)
40237 outFile=\`basnam ${D}outFile .o\`
40238 ;;
40239 *.obj)
40240 outFile=\`basnam ${D}outFile .obj\`
40241 ;;
40242 *.a)
40243 outFile=\`basnam ${D}outFile .a\`
40244 ;;
40245 *.lib)
40246 outFile=\`basnam ${D}outFile .lib\`
40247 ;;
40248 *)
40249 ;;
40250 esac
40251 case ${D}outimpFile in
40252 *.a)
40253 outimpFile=\`basnam ${D}outimpFile .a\`
40254 ;;
40255 *.lib)
40256 outimpFile=\`basnam ${D}outimpFile .lib\`
40257 ;;
40258 *)
40259 ;;
40260 esac
40261 if -z ${D}outimpFile ; then
40262 outimpFile=${D}outFile
40263 fi
40264 defFile="${D}{outFile}.def"
40265 arcFile="${D}{outimpFile}.a"
40266 arcFile2="${D}{outimpFile}.lib"
40267 dllFile="${D}outFile"
40268 # Add suffix to dllFile later, first we need a version to use as
40269 # name in .def file.
40270
40271 if ${D}do_backup -ne 0 ; then
40272 if -f ${D}arcFile ; then
40273 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
40274 fi
40275 if -f ${D}arcFile2 ; then
40276 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
40277 fi
40278 fi
40279
40280 # Extract public symbols from all the object files.
40281 tmpdefFile=${D}{defFile}_%
40282 rm -f ${D}tmpdefFile
40283 for file in ${D}inputFiles ; do
40284 case ${D}file in
40285 *!)
40286 ;;
40287 *)
40288 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
40289 ;;
40290 esac
40291 done
40292
40293 # Create the def file.
40294 rm -f ${D}defFile
40295 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
40296 dllFile="${D}dllFile.dll"
40297 if -n ${D}description ; then
40298 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
40299 fi
40300 echo "EXPORTS" >> ${D}defFile
40301
40302 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
40303 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
40304
40305 # Checks if the export is ok or not.
40306 for word in ${D}exclude_symbols; do
40307 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
40308 mv ${D}{tmpdefFile}% ${D}tmpdefFile
40309 done
40310
40311
40312 if ${D}EXPORT_BY_ORDINALS -ne 0 ; then
40313 sed "=" < ${D}tmpdefFile | \
40314 sed '
40315 N
40316 : loop
40317 s/^\(0-9\+\)\(^;*\)\(;.*\)\?/\2 @\1 NONAME/
40318 t loop
40319 ' > ${D}{tmpdefFile}%
40320 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
40321 else
40322 rm -f ${D}{tmpdefFile}%
40323 fi
40324 cat ${D}tmpdefFile >> ${D}defFile
40325 rm -f ${D}tmpdefFile
40326
40327 # Do linking, create implib, and apply lxlite.
40328 gccCmdl="";
40329 for file in ${D}inputFiles ; do
40330 case ${D}file in
40331 *!)
40332 ;;
40333 *)
40334 gccCmdl="${D}gccCmdl ${D}file"
40335 ;;
40336 esac
40337 done
40338 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
40339 touch "${D}{outFile}.dll"
40340
40341 doCommand "emximp -o ${D}arcFile ${D}defFile"
40342 if ${D}flag_USE_LXLITE -ne 0 ; then
40343 add_flags="";
40344 if ${D}EXPORT_BY_ORDINALS -ne 0 ; then
40345 add_flags="-ynd"
40346 fi
40347 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
40348 fi
40349 doCommand "emxomf -s -l ${D}arcFile"
40350
40351 # Successful exit.
40352 CleanUp 1
40353 exit 0
40354 EOF
40355
40356 chmod +x dllar.sh
40357 ;;
40358
40359 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
40360 *-*-sunos4* | \
40361 *-*-osf* | \
40362 *-*-dgux5* | \
40363 *-*-sysv5* )
40364 ;;
40365
40366 *)
40367 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
40368 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
40369 { (exit 1); exit 1; }; }
40370 esac
40371
40372 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
40373 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
40374 fi
40375 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
40376 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
40377 fi
40378
40379
40380
40381
40382
40383
40384
40385
40386 USE_SOVERSION=0
40387 USE_SOVERLINUX=0
40388 USE_SOVERSOLARIS=0
40389 USE_SOSYMLINKS=0
40390 USE_MACVERSION=0
40391 SONAME_FLAG=
40392
40393 case "${BAKEFILE_HOST}" in
40394 *-*-linux* )
40395 SONAME_FLAG="-Wl,-soname,"
40396 USE_SOVERSION=1
40397 USE_SOVERLINUX=1
40398 USE_SOSYMLINKS=1
40399 ;;
40400
40401 *-*-solaris2* )
40402 SONAME_FLAG="-h "
40403 USE_SOVERSION=1
40404 USE_SOVERSOLARIS=1
40405 USE_SOSYMLINKS=1
40406 ;;
40407
40408 *-*-darwin* )
40409 USE_MACVERSION=1
40410 USE_SOVERSION=1
40411 USE_SOSYMLINKS=1
40412 ;;
40413 esac
40414
40415
40416
40417
40418
40419
40420
40421
40422
40423 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
40424 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
40425 DEPS_TRACKING=0
40426
40427 if test "x$GCC" = "xyes"; then
40428 DEPSMODE=gcc
40429 DEPS_TRACKING=1
40430 case "${BAKEFILE_HOST}" in
40431 powerpc-*-darwin* )
40432 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
40433 ;;
40434 * )
40435 DEPSFLAG_GCC="-MMD"
40436 ;;
40437 esac
40438 echo "$as_me:$LINENO: result: gcc" >&5
40439 echo "${ECHO_T}gcc" >&6
40440 else
40441 echo "$as_me:$LINENO: result: none" >&5
40442 echo "${ECHO_T}none" >&6
40443 fi
40444
40445 if test $DEPS_TRACKING = 1 ; then
40446
40447 D='$'
40448 cat <<EOF >bk-deps
40449 #!/bin/sh
40450
40451 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40452 # script. It is used to track C/C++ files dependencies in portable way.
40453 #
40454 # Permission is given to use this file in any way.
40455
40456 DEPSMODE=${DEPSMODE}
40457 DEPSDIR=.deps
40458 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
40459
40460 mkdir -p ${D}DEPSDIR
40461
40462 if test ${D}DEPSMODE = gcc ; then
40463 ${D}* ${D}{DEPSFLAG_GCC}
40464 status=${D}?
40465 if test ${D}{status} != 0 ; then
40466 exit ${D}{status}
40467 fi
40468 # move created file to the location we want it in:
40469 while test ${D}# -gt 0; do
40470 case "${D}1" in
40471 -o )
40472 shift
40473 objfile=${D}1
40474 ;;
40475 -* )
40476 ;;
40477 * )
40478 srcfile=${D}1
40479 ;;
40480 esac
40481 shift
40482 done
40483 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
40484 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
40485 if test -f ${D}depfile ; then
40486 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
40487 rm -f ${D}depfile
40488 else
40489 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
40490 if test -f ${D}depfile ; then
40491 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
40492 rm -f ${D}depfile
40493 fi
40494 fi
40495 exit 0
40496 else
40497 ${D}*
40498 exit ${D}?
40499 fi
40500 EOF
40501
40502 chmod +x bk-deps
40503 fi
40504
40505
40506
40507
40508 RESCOMP=
40509 SETFILE=
40510
40511 case ${BAKEFILE_HOST} in
40512 *-*-cygwin* | *-*-mingw32* )
40513 if test "$build" != "$host" ; then
40514 RESCOMP=$host_alias-windres
40515 else
40516 # Extract the first word of "windres", so it can be a program name with args.
40517 set dummy windres; ac_word=$2
40518 echo "$as_me:$LINENO: checking for $ac_word" >&5
40519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40520 if test "${ac_cv_prog_RESCOMP+set}" = set; then
40521 echo $ECHO_N "(cached) $ECHO_C" >&6
40522 else
40523 if test -n "$RESCOMP"; then
40524 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
40525 else
40526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40527 for as_dir in $PATH
40528 do
40529 IFS=$as_save_IFS
40530 test -z "$as_dir" && as_dir=.
40531 for ac_exec_ext in '' $ac_executable_extensions; do
40532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40533 ac_cv_prog_RESCOMP="windres"
40534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40535 break 2
40536 fi
40537 done
40538 done
40539
40540 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
40541 fi
40542 fi
40543 RESCOMP=$ac_cv_prog_RESCOMP
40544 if test -n "$RESCOMP"; then
40545 echo "$as_me:$LINENO: result: $RESCOMP" >&5
40546 echo "${ECHO_T}$RESCOMP" >&6
40547 else
40548 echo "$as_me:$LINENO: result: no" >&5
40549 echo "${ECHO_T}no" >&6
40550 fi
40551
40552 fi
40553 ;;
40554
40555 *-*-darwin* )
40556 # Extract the first word of "Rez", so it can be a program name with args.
40557 set dummy Rez; ac_word=$2
40558 echo "$as_me:$LINENO: checking for $ac_word" >&5
40559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40560 if test "${ac_cv_prog_RESCOMP+set}" = set; then
40561 echo $ECHO_N "(cached) $ECHO_C" >&6
40562 else
40563 if test -n "$RESCOMP"; then
40564 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
40565 else
40566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40567 for as_dir in $PATH
40568 do
40569 IFS=$as_save_IFS
40570 test -z "$as_dir" && as_dir=.
40571 for ac_exec_ext in '' $ac_executable_extensions; do
40572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40573 ac_cv_prog_RESCOMP="Rez"
40574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40575 break 2
40576 fi
40577 done
40578 done
40579
40580 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
40581 fi
40582 fi
40583 RESCOMP=$ac_cv_prog_RESCOMP
40584 if test -n "$RESCOMP"; then
40585 echo "$as_me:$LINENO: result: $RESCOMP" >&5
40586 echo "${ECHO_T}$RESCOMP" >&6
40587 else
40588 echo "$as_me:$LINENO: result: no" >&5
40589 echo "${ECHO_T}no" >&6
40590 fi
40591
40592 # Extract the first word of "SetFile", so it can be a program name with args.
40593 set dummy SetFile; ac_word=$2
40594 echo "$as_me:$LINENO: checking for $ac_word" >&5
40595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40596 if test "${ac_cv_prog_SETFILE+set}" = set; then
40597 echo $ECHO_N "(cached) $ECHO_C" >&6
40598 else
40599 if test -n "$SETFILE"; then
40600 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
40601 else
40602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40603 for as_dir in $PATH
40604 do
40605 IFS=$as_save_IFS
40606 test -z "$as_dir" && as_dir=.
40607 for ac_exec_ext in '' $ac_executable_extensions; do
40608 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40609 ac_cv_prog_SETFILE="SetFile"
40610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40611 break 2
40612 fi
40613 done
40614 done
40615
40616 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
40617 fi
40618 fi
40619 SETFILE=$ac_cv_prog_SETFILE
40620 if test -n "$SETFILE"; then
40621 echo "$as_me:$LINENO: result: $SETFILE" >&5
40622 echo "${ECHO_T}$SETFILE" >&6
40623 else
40624 echo "$as_me:$LINENO: result: no" >&5
40625 echo "${ECHO_T}no" >&6
40626 fi
40627
40628 ;;
40629 esac
40630
40631
40632
40633
40634
40635
40636
40637
40638
40639 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.4"
40640
40641
40642
40643 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
40644 if test "${enable_precomp_headers+set}" = set; then
40645 enableval="$enable_precomp_headers"
40646 bk_use_pch="$enableval"
40647 fi;
40648
40649 GCC_PCH=0
40650
40651 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40652 if test "x$GCC" = "xyes"; then
40653 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
40654 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
40655 cat >conftest.$ac_ext <<_ACEOF
40656 /* confdefs.h. */
40657 _ACEOF
40658 cat confdefs.h >>conftest.$ac_ext
40659 cat >>conftest.$ac_ext <<_ACEOF
40660 /* end confdefs.h. */
40661
40662 int
40663 main ()
40664 {
40665
40666 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40667 #error "no pch support"
40668 #endif
40669 #if (__GNUC__ < 3)
40670 #error "no pch support"
40671 #endif
40672 #if (__GNUC__ == 3) && \
40673 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40674 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
40675 #error "no pch support"
40676 #endif
40677
40678 ;
40679 return 0;
40680 }
40681 _ACEOF
40682 rm -f conftest.$ac_objext
40683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40684 (eval $ac_compile) 2>conftest.er1
40685 ac_status=$?
40686 grep -v '^ *+' conftest.er1 >conftest.err
40687 rm -f conftest.er1
40688 cat conftest.err >&5
40689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40690 (exit $ac_status); } &&
40691 { ac_try='test -z "$ac_c_werror_flag"
40692 || test ! -s conftest.err'
40693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40694 (eval $ac_try) 2>&5
40695 ac_status=$?
40696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40697 (exit $ac_status); }; } &&
40698 { ac_try='test -s conftest.$ac_objext'
40699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40700 (eval $ac_try) 2>&5
40701 ac_status=$?
40702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40703 (exit $ac_status); }; }; then
40704
40705 echo "$as_me:$LINENO: result: yes" >&5
40706 echo "${ECHO_T}yes" >&6
40707 CPPFLAGS="-fpch-deps $CPPFLAGS"
40708 GCC_PCH=1
40709
40710 else
40711 echo "$as_me: failed program was:" >&5
40712 sed 's/^/| /' conftest.$ac_ext >&5
40713
40714
40715 echo "$as_me:$LINENO: result: no" >&5
40716 echo "${ECHO_T}no" >&6
40717
40718 fi
40719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40720 if test $GCC_PCH = 1 ; then
40721 cat <<EOF >bk-make-pch
40722 #!/bin/sh
40723
40724 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40725 # script. It is used to generated precompiled headers.
40726 #
40727 # Permission is given to use this file in any way.
40728
40729 outfile="\${1}"
40730 header="\${2}"
40731 shift
40732 shift
40733
40734 compiler=
40735 headerfile=
40736 while test \${#} -gt 0; do
40737 case "\${1}" in
40738 -I* )
40739 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
40740 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
40741 headerfile="\${incdir}/\${header}"
40742 fi
40743 ;;
40744 esac
40745 compiler="\${compiler} \${1}"
40746 shift
40747 done
40748
40749 if test "x\${headerfile}" = "x" ; then
40750 echo "error: can't find header \${header} in include paths" >2
40751 else
40752 if test -f \${outfile} ; then
40753 rm -f \${outfile}
40754 else
40755 mkdir -p \`dirname \${outfile}\`
40756 fi
40757 depsfile=".deps/\`basename \${outfile}\`.d"
40758 mkdir -p .deps
40759 # can do this because gcc is >= 3.4:
40760 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
40761 exit \${?}
40762 fi
40763 EOF
40764 chmod +x bk-make-pch
40765 fi
40766 fi
40767 fi
40768
40769
40770
40771
40772
40773
40774
40775 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
40776 if test "${enable_precomp_headers+set}" = set; then
40777 enableval="$enable_precomp_headers"
40778 bk_use_pch="$enableval"
40779 fi;
40780
40781 GCC_PCH=0
40782
40783 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40784 if test "x$GCC" = "xyes"; then
40785 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
40786 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
40787 cat >conftest.$ac_ext <<_ACEOF
40788 /* confdefs.h. */
40789 _ACEOF
40790 cat confdefs.h >>conftest.$ac_ext
40791 cat >>conftest.$ac_ext <<_ACEOF
40792 /* end confdefs.h. */
40793
40794 int
40795 main ()
40796 {
40797
40798 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40799 #error "no pch support"
40800 #endif
40801 #if (__GNUC__ < 3)
40802 #error "no pch support"
40803 #endif
40804 #if (__GNUC__ == 3) && \
40805 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40806 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
40807 #error "no pch support"
40808 #endif
40809
40810 ;
40811 return 0;
40812 }
40813 _ACEOF
40814 rm -f conftest.$ac_objext
40815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40816 (eval $ac_compile) 2>conftest.er1
40817 ac_status=$?
40818 grep -v '^ *+' conftest.er1 >conftest.err
40819 rm -f conftest.er1
40820 cat conftest.err >&5
40821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40822 (exit $ac_status); } &&
40823 { ac_try='test -z "$ac_c_werror_flag"
40824 || test ! -s conftest.err'
40825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40826 (eval $ac_try) 2>&5
40827 ac_status=$?
40828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40829 (exit $ac_status); }; } &&
40830 { ac_try='test -s conftest.$ac_objext'
40831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40832 (eval $ac_try) 2>&5
40833 ac_status=$?
40834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40835 (exit $ac_status); }; }; then
40836
40837 echo "$as_me:$LINENO: result: yes" >&5
40838 echo "${ECHO_T}yes" >&6
40839 CPPFLAGS="-fpch-deps $CPPFLAGS"
40840 GCC_PCH=1
40841
40842 else
40843 echo "$as_me: failed program was:" >&5
40844 sed 's/^/| /' conftest.$ac_ext >&5
40845
40846
40847 echo "$as_me:$LINENO: result: no" >&5
40848 echo "${ECHO_T}no" >&6
40849
40850 fi
40851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40852 if test $GCC_PCH = 1 ; then
40853 cat <<EOF >bk-make-pch
40854 #!/bin/sh
40855
40856 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40857 # script. It is used to generated precompiled headers.
40858 #
40859 # Permission is given to use this file in any way.
40860
40861 outfile="\${1}"
40862 header="\${2}"
40863 shift
40864 shift
40865
40866 compiler=
40867 headerfile=
40868 while test \${#} -gt 0; do
40869 case "\${1}" in
40870 -I* )
40871 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
40872 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
40873 headerfile="\${incdir}/\${header}"
40874 fi
40875 ;;
40876 esac
40877 compiler="\${compiler} \${1}"
40878 shift
40879 done
40880
40881 if test "x\${headerfile}" = "x" ; then
40882 echo "error: can't find header \${header} in include paths" >2
40883 else
40884 if test -f \${outfile} ; then
40885 rm -f \${outfile}
40886 else
40887 mkdir -p \`dirname \${outfile}\`
40888 fi
40889 depsfile=".deps/\`basename \${outfile}\`.d"
40890 mkdir -p .deps
40891 # can do this because gcc is >= 3.4:
40892 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
40893 exit \${?}
40894 fi
40895 EOF
40896 chmod +x bk-make-pch
40897 fi
40898 fi
40899 fi
40900
40901
40902
40903
40904 COND_BUILD_DEBUG="#"
40905 if test "x$BUILD" = "xdebug" ; then
40906 COND_BUILD_DEBUG=""
40907 fi
40908
40909 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
40910 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40911 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
40912 fi
40913
40914 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
40915 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40916 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
40917 fi
40918
40919 COND_BUILD_DEBUG_UNICODE_0="#"
40920 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40921 COND_BUILD_DEBUG_UNICODE_0=""
40922 fi
40923
40924 COND_BUILD_DEBUG_UNICODE_1="#"
40925 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40926 COND_BUILD_DEBUG_UNICODE_1=""
40927 fi
40928
40929 COND_BUILD_RELEASE="#"
40930 if test "x$BUILD" = "xrelease" ; then
40931 COND_BUILD_RELEASE=""
40932 fi
40933
40934 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
40935 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40936 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
40937 fi
40938
40939 COND_BUILD_RELEASE_UNICODE_0="#"
40940 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40941 COND_BUILD_RELEASE_UNICODE_0=""
40942 fi
40943
40944 COND_BUILD_RELEASE_UNICODE_1="#"
40945 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40946 COND_BUILD_RELEASE_UNICODE_1=""
40947 fi
40948
40949 COND_DEBUG_FLAG_1="#"
40950 if test "x$DEBUG_FLAG" = "x1" ; then
40951 COND_DEBUG_FLAG_1=""
40952 fi
40953
40954 COND_DEBUG_INFO_0="#"
40955 if test "x$DEBUG_INFO" = "x0" ; then
40956 COND_DEBUG_INFO_0=""
40957 fi
40958
40959 COND_DEBUG_INFO_1="#"
40960 if test "x$DEBUG_INFO" = "x1" ; then
40961 COND_DEBUG_INFO_1=""
40962 fi
40963
40964 COND_DEPS_TRACKING_0="#"
40965 if test "x$DEPS_TRACKING" = "x0" ; then
40966 COND_DEPS_TRACKING_0=""
40967 fi
40968
40969 COND_DEPS_TRACKING_1="#"
40970 if test "x$DEPS_TRACKING" = "x1" ; then
40971 COND_DEPS_TRACKING_1=""
40972 fi
40973
40974 COND_GCC_PCH_1="#"
40975 if test "x$GCC_PCH" = "x1" ; then
40976 COND_GCC_PCH_1=""
40977 fi
40978
40979 COND_MONOLITHIC_0="#"
40980 if test "x$MONOLITHIC" = "x0" ; then
40981 COND_MONOLITHIC_0=""
40982 fi
40983
40984 COND_MONOLITHIC_0_SHARED_0="#"
40985 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40986 COND_MONOLITHIC_0_SHARED_0=""
40987 fi
40988
40989 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
40990 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40991 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
40992 fi
40993
40994 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
40995 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40996 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
40997 fi
40998
40999 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
41000 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
41001 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
41002 fi
41003
41004 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
41005 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
41006 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
41007 fi
41008
41009 COND_MONOLITHIC_0_SHARED_1="#"
41010 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
41011 COND_MONOLITHIC_0_SHARED_1=""
41012 fi
41013
41014 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
41015 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
41016 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
41017 fi
41018
41019 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
41020 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41021 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
41022 fi
41023
41024 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
41025 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
41026 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
41027 fi
41028
41029 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
41030 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
41031 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
41032 fi
41033
41034 COND_MONOLITHIC_0_USE_ODBC_1="#"
41035 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
41036 COND_MONOLITHIC_0_USE_ODBC_1=""
41037 fi
41038
41039 COND_MONOLITHIC_1="#"
41040 if test "x$MONOLITHIC" = "x1" ; then
41041 COND_MONOLITHIC_1=""
41042 fi
41043
41044 COND_MONOLITHIC_1_SHARED_0="#"
41045 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
41046 COND_MONOLITHIC_1_SHARED_0=""
41047 fi
41048
41049 COND_MONOLITHIC_1_SHARED_1="#"
41050 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
41051 COND_MONOLITHIC_1_SHARED_1=""
41052 fi
41053
41054 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
41055 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
41056 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
41057 fi
41058
41059 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
41060 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
41061 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
41062 fi
41063
41064 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
41065 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
41066 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
41067 fi
41068
41069 COND_PLATFORM_MACOSX_1="#"
41070 if test "x$PLATFORM_MACOSX" = "x1" ; then
41071 COND_PLATFORM_MACOSX_1=""
41072 fi
41073
41074 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
41075 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
41076 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
41077 fi
41078
41079 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
41080 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
41081 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
41082 fi
41083
41084 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
41085 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
41086 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
41087 fi
41088
41089 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
41090 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
41091 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
41092 fi
41093
41094 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
41095 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41096 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
41097 fi
41098
41099 COND_PLATFORM_MAC_1="#"
41100 if test "x$PLATFORM_MAC" = "x1" ; then
41101 COND_PLATFORM_MAC_1=""
41102 fi
41103
41104 COND_PLATFORM_OS2_1="#"
41105 if test "x$PLATFORM_OS2" = "x1" ; then
41106 COND_PLATFORM_OS2_1=""
41107 fi
41108
41109 COND_PLATFORM_UNIX_0="#"
41110 if test "x$PLATFORM_UNIX" = "x0" ; then
41111 COND_PLATFORM_UNIX_0=""
41112 fi
41113
41114 COND_PLATFORM_UNIX_1="#"
41115 if test "x$PLATFORM_UNIX" = "x1" ; then
41116 COND_PLATFORM_UNIX_1=""
41117 fi
41118
41119 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
41120 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
41121 COND_PLATFORM_UNIX_1_USE_GUI_1=""
41122 fi
41123
41124 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
41125 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
41126 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
41127 fi
41128
41129 COND_PLATFORM_WIN32_0="#"
41130 if test "x$PLATFORM_WIN32" = "x0" ; then
41131 COND_PLATFORM_WIN32_0=""
41132 fi
41133
41134 COND_PLATFORM_WIN32_1="#"
41135 if test "x$PLATFORM_WIN32" = "x1" ; then
41136 COND_PLATFORM_WIN32_1=""
41137 fi
41138
41139 COND_SHARED_0="#"
41140 if test "x$SHARED" = "x0" ; then
41141 COND_SHARED_0=""
41142 fi
41143
41144 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
41145 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41146 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
41147 fi
41148
41149 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
41150 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41151 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
41152 fi
41153
41154 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
41155 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41156 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
41157 fi
41158
41159 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
41160 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41161 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
41162 fi
41163
41164 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
41165 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
41166 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
41167 fi
41168
41169 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
41170 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
41171 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
41172 fi
41173
41174 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
41175 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
41176 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
41177 fi
41178
41179 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
41180 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
41181 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
41182 fi
41183
41184 COND_SHARED_1="#"
41185 if test "x$SHARED" = "x1" ; then
41186 COND_SHARED_1=""
41187 fi
41188
41189 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
41190 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41191 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
41192 fi
41193
41194 COND_TOOLKIT_COCOA="#"
41195 if test "x$TOOLKIT" = "xCOCOA" ; then
41196 COND_TOOLKIT_COCOA=""
41197 fi
41198
41199 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
41200 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41201 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
41202 fi
41203
41204 COND_TOOLKIT_GTK="#"
41205 if test "x$TOOLKIT" = "xGTK" ; then
41206 COND_TOOLKIT_GTK=""
41207 fi
41208
41209 COND_TOOLKIT_GTK_USE_GUI_1="#"
41210 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
41211 COND_TOOLKIT_GTK_USE_GUI_1=""
41212 fi
41213
41214 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
41215 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41216 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
41217 fi
41218
41219 COND_TOOLKIT_MAC="#"
41220 if test "x$TOOLKIT" = "xMAC" ; then
41221 COND_TOOLKIT_MAC=""
41222 fi
41223
41224 COND_TOOLKIT_MAC_USE_GUI_1="#"
41225 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41226 COND_TOOLKIT_MAC_USE_GUI_1=""
41227 fi
41228
41229 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
41230 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41231 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
41232 fi
41233
41234 COND_TOOLKIT_MAC_WXUNIV_0="#"
41235 if test "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
41236 COND_TOOLKIT_MAC_WXUNIV_0=""
41237 fi
41238
41239 COND_TOOLKIT_MGL="#"
41240 if test "x$TOOLKIT" = "xMGL" ; then
41241 COND_TOOLKIT_MGL=""
41242 fi
41243
41244 COND_TOOLKIT_MGL_USE_GUI_1="#"
41245 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
41246 COND_TOOLKIT_MGL_USE_GUI_1=""
41247 fi
41248
41249 COND_TOOLKIT_MOTIF="#"
41250 if test "x$TOOLKIT" = "xMOTIF" ; then
41251 COND_TOOLKIT_MOTIF=""
41252 fi
41253
41254 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
41255 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
41256 COND_TOOLKIT_MOTIF_USE_GUI_1=""
41257 fi
41258
41259 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
41260 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41261 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
41262 fi
41263
41264 COND_TOOLKIT_MSW="#"
41265 if test "x$TOOLKIT" = "xMSW" ; then
41266 COND_TOOLKIT_MSW=""
41267 fi
41268
41269 COND_TOOLKIT_MSW_USE_GUI_1="#"
41270 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
41271 COND_TOOLKIT_MSW_USE_GUI_1=""
41272 fi
41273
41274 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
41275 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41276 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
41277 fi
41278
41279 COND_TOOLKIT_MSW_WXUNIV_0="#"
41280 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
41281 COND_TOOLKIT_MSW_WXUNIV_0=""
41282 fi
41283
41284 COND_TOOLKIT_PM="#"
41285 if test "x$TOOLKIT" = "xPM" ; then
41286 COND_TOOLKIT_PM=""
41287 fi
41288
41289 COND_TOOLKIT_PM_USE_GUI_1="#"
41290 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41291 COND_TOOLKIT_PM_USE_GUI_1=""
41292 fi
41293
41294 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
41295 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41296 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
41297 fi
41298
41299 COND_TOOLKIT_PM_WXUNIV_0="#"
41300 if test "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
41301 COND_TOOLKIT_PM_WXUNIV_0=""
41302 fi
41303
41304 COND_TOOLKIT_WINCE="#"
41305 if test "x$TOOLKIT" = "xWINCE" ; then
41306 COND_TOOLKIT_WINCE=""
41307 fi
41308
41309 COND_TOOLKIT_WINCE_USE_GUI_1="#"
41310 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41311 COND_TOOLKIT_WINCE_USE_GUI_1=""
41312 fi
41313
41314 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
41315 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41316 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
41317 fi
41318
41319 COND_TOOLKIT_X11="#"
41320 if test "x$TOOLKIT" = "xX11" ; then
41321 COND_TOOLKIT_X11=""
41322 fi
41323
41324 COND_TOOLKIT_X11_USE_GUI_1="#"
41325 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41326 COND_TOOLKIT_X11_USE_GUI_1=""
41327 fi
41328
41329 COND_UNICODE_1="#"
41330 if test "x$UNICODE" = "x1" ; then
41331 COND_UNICODE_1=""
41332 fi
41333
41334 COND_USE_EXCEPTIONS_0="#"
41335 if test "x$USE_EXCEPTIONS" = "x0" ; then
41336 COND_USE_EXCEPTIONS_0=""
41337 fi
41338
41339 COND_USE_EXCEPTIONS_1="#"
41340 if test "x$USE_EXCEPTIONS" = "x1" ; then
41341 COND_USE_EXCEPTIONS_1=""
41342 fi
41343
41344 COND_USE_GUI_0="#"
41345 if test "x$USE_GUI" = "x0" ; then
41346 COND_USE_GUI_0=""
41347 fi
41348
41349 COND_USE_GUI_1="#"
41350 if test "x$USE_GUI" = "x1" ; then
41351 COND_USE_GUI_1=""
41352 fi
41353
41354 COND_USE_GUI_1_WXUNIV_0="#"
41355 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41356 COND_USE_GUI_1_WXUNIV_0=""
41357 fi
41358
41359 COND_USE_GUI_1_WXUNIV_1="#"
41360 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41361 COND_USE_GUI_1_WXUNIV_1=""
41362 fi
41363
41364 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
41365 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41366 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
41367 fi
41368
41369 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
41370 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41371 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
41372 fi
41373
41374 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
41375 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41376 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
41377 fi
41378
41379 COND_USE_ODBC_1="#"
41380 if test "x$USE_ODBC" = "x1" ; then
41381 COND_USE_ODBC_1=""
41382 fi
41383
41384 COND_USE_PLUGINS_0="#"
41385 if test "x$USE_PLUGINS" = "x0" ; then
41386 COND_USE_PLUGINS_0=""
41387 fi
41388
41389 COND_USE_SOSYMLINKS_1="#"
41390 if test "x$USE_SOSYMLINKS" = "x1" ; then
41391 COND_USE_SOSYMLINKS_1=""
41392 fi
41393
41394 COND_USE_SOVERLINUX_1="#"
41395 if test "x$USE_SOVERLINUX" = "x1" ; then
41396 COND_USE_SOVERLINUX_1=""
41397 fi
41398
41399 COND_USE_SOVERSION_0="#"
41400 if test "x$USE_SOVERSION" = "x0" ; then
41401 COND_USE_SOVERSION_0=""
41402 fi
41403
41404 COND_USE_SOVERSOLARIS_1="#"
41405 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41406 COND_USE_SOVERSOLARIS_1=""
41407 fi
41408
41409 COND_WITH_PLUGIN_SDL_1="#"
41410 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41411 COND_WITH_PLUGIN_SDL_1=""
41412 fi
41413
41414 COND_WITH_SDL_1="#"
41415 if test "x$WITH_SDL" = "x1" ; then
41416 COND_WITH_SDL_1=""
41417 fi
41418
41419 COND_WXUNIV_1="#"
41420 if test "x$WXUNIV" = "x1" ; then
41421 COND_WXUNIV_1=""
41422 fi
41423
41424 COND_WXUSE_EXPAT_BUILTIN="#"
41425 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41426 COND_WXUSE_EXPAT_BUILTIN=""
41427 fi
41428
41429 COND_WXUSE_LIBJPEG_BUILTIN="#"
41430 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41431 COND_WXUSE_LIBJPEG_BUILTIN=""
41432 fi
41433
41434 COND_WXUSE_LIBPNG_BUILTIN="#"
41435 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41436 COND_WXUSE_LIBPNG_BUILTIN=""
41437 fi
41438
41439 COND_WXUSE_LIBTIFF_BUILTIN="#"
41440 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41441 COND_WXUSE_LIBTIFF_BUILTIN=""
41442 fi
41443
41444 COND_WXUSE_ODBC_BUILTIN="#"
41445 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41446 COND_WXUSE_ODBC_BUILTIN=""
41447 fi
41448
41449 COND_WXUSE_REGEX_BUILTIN="#"
41450 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41451 COND_WXUSE_REGEX_BUILTIN=""
41452 fi
41453
41454 COND_WXUSE_ZLIB_BUILTIN="#"
41455 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41456 COND_WXUSE_ZLIB_BUILTIN=""
41457 fi
41458
41459 COND_BUILD_DEBUG="#"
41460 if test "x$BUILD" = "xdebug" ; then
41461 COND_BUILD_DEBUG=""
41462 fi
41463
41464 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
41465 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
41466 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
41467 fi
41468
41469 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
41470 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
41471 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
41472 fi
41473
41474 COND_BUILD_DEBUG_UNICODE_0="#"
41475 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
41476 COND_BUILD_DEBUG_UNICODE_0=""
41477 fi
41478
41479 COND_BUILD_DEBUG_UNICODE_1="#"
41480 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
41481 COND_BUILD_DEBUG_UNICODE_1=""
41482 fi
41483
41484 COND_BUILD_RELEASE="#"
41485 if test "x$BUILD" = "xrelease" ; then
41486 COND_BUILD_RELEASE=""
41487 fi
41488
41489 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
41490 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
41491 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
41492 fi
41493
41494 COND_BUILD_RELEASE_UNICODE_0="#"
41495 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
41496 COND_BUILD_RELEASE_UNICODE_0=""
41497 fi
41498
41499 COND_BUILD_RELEASE_UNICODE_1="#"
41500 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
41501 COND_BUILD_RELEASE_UNICODE_1=""
41502 fi
41503
41504 COND_DEBUG_FLAG_1="#"
41505 if test "x$DEBUG_FLAG" = "x1" ; then
41506 COND_DEBUG_FLAG_1=""
41507 fi
41508
41509 COND_DEBUG_INFO_0="#"
41510 if test "x$DEBUG_INFO" = "x0" ; then
41511 COND_DEBUG_INFO_0=""
41512 fi
41513
41514 COND_DEBUG_INFO_1="#"
41515 if test "x$DEBUG_INFO" = "x1" ; then
41516 COND_DEBUG_INFO_1=""
41517 fi
41518
41519 COND_DEPS_TRACKING_0="#"
41520 if test "x$DEPS_TRACKING" = "x0" ; then
41521 COND_DEPS_TRACKING_0=""
41522 fi
41523
41524 COND_DEPS_TRACKING_1="#"
41525 if test "x$DEPS_TRACKING" = "x1" ; then
41526 COND_DEPS_TRACKING_1=""
41527 fi
41528
41529 COND_GCC_PCH_1="#"
41530 if test "x$GCC_PCH" = "x1" ; then
41531 COND_GCC_PCH_1=""
41532 fi
41533
41534 COND_MONOLITHIC_0="#"
41535 if test "x$MONOLITHIC" = "x0" ; then
41536 COND_MONOLITHIC_0=""
41537 fi
41538
41539 COND_MONOLITHIC_0_SHARED_0="#"
41540 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
41541 COND_MONOLITHIC_0_SHARED_0=""
41542 fi
41543
41544 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
41545 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
41546 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
41547 fi
41548
41549 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
41550 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41551 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
41552 fi
41553
41554 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
41555 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
41556 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
41557 fi
41558
41559 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
41560 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
41561 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
41562 fi
41563
41564 COND_MONOLITHIC_0_SHARED_1="#"
41565 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
41566 COND_MONOLITHIC_0_SHARED_1=""
41567 fi
41568
41569 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
41570 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
41571 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
41572 fi
41573
41574 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
41575 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41576 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
41577 fi
41578
41579 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
41580 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
41581 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
41582 fi
41583
41584 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
41585 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
41586 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
41587 fi
41588
41589 COND_MONOLITHIC_0_USE_ODBC_1="#"
41590 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
41591 COND_MONOLITHIC_0_USE_ODBC_1=""
41592 fi
41593
41594 COND_MONOLITHIC_1="#"
41595 if test "x$MONOLITHIC" = "x1" ; then
41596 COND_MONOLITHIC_1=""
41597 fi
41598
41599 COND_MONOLITHIC_1_SHARED_0="#"
41600 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
41601 COND_MONOLITHIC_1_SHARED_0=""
41602 fi
41603
41604 COND_MONOLITHIC_1_SHARED_1="#"
41605 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
41606 COND_MONOLITHIC_1_SHARED_1=""
41607 fi
41608
41609 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
41610 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
41611 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
41612 fi
41613
41614 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
41615 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
41616 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
41617 fi
41618
41619 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
41620 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
41621 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
41622 fi
41623
41624 COND_PLATFORM_MACOSX_1="#"
41625 if test "x$PLATFORM_MACOSX" = "x1" ; then
41626 COND_PLATFORM_MACOSX_1=""
41627 fi
41628
41629 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
41630 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
41631 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
41632 fi
41633
41634 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
41635 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
41636 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
41637 fi
41638
41639 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
41640 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
41641 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
41642 fi
41643
41644 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
41645 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
41646 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
41647 fi
41648
41649 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
41650 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41651 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
41652 fi
41653
41654 COND_PLATFORM_MAC_1="#"
41655 if test "x$PLATFORM_MAC" = "x1" ; then
41656 COND_PLATFORM_MAC_1=""
41657 fi
41658
41659 COND_PLATFORM_OS2_1="#"
41660 if test "x$PLATFORM_OS2" = "x1" ; then
41661 COND_PLATFORM_OS2_1=""
41662 fi
41663
41664 COND_PLATFORM_UNIX_0="#"
41665 if test "x$PLATFORM_UNIX" = "x0" ; then
41666 COND_PLATFORM_UNIX_0=""
41667 fi
41668
41669 COND_PLATFORM_UNIX_1="#"
41670 if test "x$PLATFORM_UNIX" = "x1" ; then
41671 COND_PLATFORM_UNIX_1=""
41672 fi
41673
41674 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
41675 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
41676 COND_PLATFORM_UNIX_1_USE_GUI_1=""
41677 fi
41678
41679 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
41680 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
41681 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
41682 fi
41683
41684 COND_PLATFORM_WIN32_0="#"
41685 if test "x$PLATFORM_WIN32" = "x0" ; then
41686 COND_PLATFORM_WIN32_0=""
41687 fi
41688
41689 COND_PLATFORM_WIN32_1="#"
41690 if test "x$PLATFORM_WIN32" = "x1" ; then
41691 COND_PLATFORM_WIN32_1=""
41692 fi
41693
41694 COND_SHARED_0="#"
41695 if test "x$SHARED" = "x0" ; then
41696 COND_SHARED_0=""
41697 fi
41698
41699 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
41700 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41701 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
41702 fi
41703
41704 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
41705 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41706 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
41707 fi
41708
41709 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
41710 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41711 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
41712 fi
41713
41714 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
41715 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41716 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
41717 fi
41718
41719 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
41720 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
41721 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
41722 fi
41723
41724 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
41725 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
41726 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
41727 fi
41728
41729 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
41730 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
41731 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
41732 fi
41733
41734 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
41735 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
41736 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
41737 fi
41738
41739 COND_SHARED_1="#"
41740 if test "x$SHARED" = "x1" ; then
41741 COND_SHARED_1=""
41742 fi
41743
41744 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
41745 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41746 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
41747 fi
41748
41749 COND_TOOLKIT_COCOA="#"
41750 if test "x$TOOLKIT" = "xCOCOA" ; then
41751 COND_TOOLKIT_COCOA=""
41752 fi
41753
41754 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
41755 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41756 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
41757 fi
41758
41759 COND_TOOLKIT_GTK="#"
41760 if test "x$TOOLKIT" = "xGTK" ; then
41761 COND_TOOLKIT_GTK=""
41762 fi
41763
41764 COND_TOOLKIT_GTK_USE_GUI_1="#"
41765 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
41766 COND_TOOLKIT_GTK_USE_GUI_1=""
41767 fi
41768
41769 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
41770 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41771 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
41772 fi
41773
41774 COND_TOOLKIT_MAC="#"
41775 if test "x$TOOLKIT" = "xMAC" ; then
41776 COND_TOOLKIT_MAC=""
41777 fi
41778
41779 COND_TOOLKIT_MAC_USE_GUI_1="#"
41780 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41781 COND_TOOLKIT_MAC_USE_GUI_1=""
41782 fi
41783
41784 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
41785 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41786 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
41787 fi
41788
41789 COND_TOOLKIT_MGL="#"
41790 if test "x$TOOLKIT" = "xMGL" ; then
41791 COND_TOOLKIT_MGL=""
41792 fi
41793
41794 COND_TOOLKIT_MGL_USE_GUI_1="#"
41795 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
41796 COND_TOOLKIT_MGL_USE_GUI_1=""
41797 fi
41798
41799 COND_TOOLKIT_MOTIF="#"
41800 if test "x$TOOLKIT" = "xMOTIF" ; then
41801 COND_TOOLKIT_MOTIF=""
41802 fi
41803
41804 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
41805 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
41806 COND_TOOLKIT_MOTIF_USE_GUI_1=""
41807 fi
41808
41809 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
41810 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41811 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
41812 fi
41813
41814 COND_TOOLKIT_MSW="#"
41815 if test "x$TOOLKIT" = "xMSW" ; then
41816 COND_TOOLKIT_MSW=""
41817 fi
41818
41819 COND_TOOLKIT_MSW_USE_GUI_1="#"
41820 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
41821 COND_TOOLKIT_MSW_USE_GUI_1=""
41822 fi
41823
41824 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
41825 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41826 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
41827 fi
41828
41829 COND_TOOLKIT_PM="#"
41830 if test "x$TOOLKIT" = "xPM" ; then
41831 COND_TOOLKIT_PM=""
41832 fi
41833
41834 COND_TOOLKIT_PM_USE_GUI_1="#"
41835 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41836 COND_TOOLKIT_PM_USE_GUI_1=""
41837 fi
41838
41839 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
41840 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41841 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
41842 fi
41843
41844 COND_TOOLKIT_WINCE="#"
41845 if test "x$TOOLKIT" = "xWINCE" ; then
41846 COND_TOOLKIT_WINCE=""
41847 fi
41848
41849 COND_TOOLKIT_WINCE_USE_GUI_1="#"
41850 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41851 COND_TOOLKIT_WINCE_USE_GUI_1=""
41852 fi
41853
41854 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
41855 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41856 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
41857 fi
41858
41859 COND_TOOLKIT_X11="#"
41860 if test "x$TOOLKIT" = "xX11" ; then
41861 COND_TOOLKIT_X11=""
41862 fi
41863
41864 COND_TOOLKIT_X11_USE_GUI_1="#"
41865 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41866 COND_TOOLKIT_X11_USE_GUI_1=""
41867 fi
41868
41869 COND_UNICODE_1="#"
41870 if test "x$UNICODE" = "x1" ; then
41871 COND_UNICODE_1=""
41872 fi
41873
41874 COND_USE_EXCEPTIONS_0="#"
41875 if test "x$USE_EXCEPTIONS" = "x0" ; then
41876 COND_USE_EXCEPTIONS_0=""
41877 fi
41878
41879 COND_USE_EXCEPTIONS_1="#"
41880 if test "x$USE_EXCEPTIONS" = "x1" ; then
41881 COND_USE_EXCEPTIONS_1=""
41882 fi
41883
41884 COND_USE_GUI_0="#"
41885 if test "x$USE_GUI" = "x0" ; then
41886 COND_USE_GUI_0=""
41887 fi
41888
41889 COND_USE_GUI_1="#"
41890 if test "x$USE_GUI" = "x1" ; then
41891 COND_USE_GUI_1=""
41892 fi
41893
41894 COND_USE_GUI_1_WXUNIV_0="#"
41895 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41896 COND_USE_GUI_1_WXUNIV_0=""
41897 fi
41898
41899 COND_USE_GUI_1_WXUNIV_1="#"
41900 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41901 COND_USE_GUI_1_WXUNIV_1=""
41902 fi
41903
41904 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
41905 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41906 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
41907 fi
41908
41909 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
41910 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41911 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
41912 fi
41913
41914 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
41915 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41916 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
41917 fi
41918
41919 COND_USE_ODBC_1="#"
41920 if test "x$USE_ODBC" = "x1" ; then
41921 COND_USE_ODBC_1=""
41922 fi
41923
41924 COND_USE_PLUGINS_0="#"
41925 if test "x$USE_PLUGINS" = "x0" ; then
41926 COND_USE_PLUGINS_0=""
41927 fi
41928
41929 COND_USE_SOSYMLINKS_1="#"
41930 if test "x$USE_SOSYMLINKS" = "x1" ; then
41931 COND_USE_SOSYMLINKS_1=""
41932 fi
41933
41934 COND_USE_SOVERLINUX_1="#"
41935 if test "x$USE_SOVERLINUX" = "x1" ; then
41936 COND_USE_SOVERLINUX_1=""
41937 fi
41938
41939 COND_USE_SOVERSION_0="#"
41940 if test "x$USE_SOVERSION" = "x0" ; then
41941 COND_USE_SOVERSION_0=""
41942 fi
41943
41944 COND_USE_SOVERSOLARIS_1="#"
41945 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41946 COND_USE_SOVERSOLARIS_1=""
41947 fi
41948
41949 COND_WITH_PLUGIN_SDL_1="#"
41950 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41951 COND_WITH_PLUGIN_SDL_1=""
41952 fi
41953
41954 COND_WXUNIV_1="#"
41955 if test "x$WXUNIV" = "x1" ; then
41956 COND_WXUNIV_1=""
41957 fi
41958
41959 COND_WXUSE_EXPAT_BUILTIN="#"
41960 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41961 COND_WXUSE_EXPAT_BUILTIN=""
41962 fi
41963
41964 COND_WXUSE_LIBJPEG_BUILTIN="#"
41965 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41966 COND_WXUSE_LIBJPEG_BUILTIN=""
41967 fi
41968
41969 COND_WXUSE_LIBPNG_BUILTIN="#"
41970 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41971 COND_WXUSE_LIBPNG_BUILTIN=""
41972 fi
41973
41974 COND_WXUSE_LIBTIFF_BUILTIN="#"
41975 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41976 COND_WXUSE_LIBTIFF_BUILTIN=""
41977 fi
41978
41979 COND_WXUSE_ODBC_BUILTIN="#"
41980 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41981 COND_WXUSE_ODBC_BUILTIN=""
41982 fi
41983
41984 COND_WXUSE_REGEX_BUILTIN="#"
41985 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41986 COND_WXUSE_REGEX_BUILTIN=""
41987 fi
41988
41989 COND_WXUSE_ZLIB_BUILTIN="#"
41990 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41991 COND_WXUSE_ZLIB_BUILTIN=""
41992 fi
41993
41994
41995
41996
41997
41998 if test $GCC_PCH = 1 ; then
41999 CODE_GEN_FLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
42000 CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
42001 else
42002 case "${host}" in
42003 powerpc-*-darwin* )
42004 CODE_GEN_FLAGS="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
42005 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
42006 ;;
42007 *-*-mingw32* )
42008 if test "$wxUSE_STL" = "yes" -o \
42009 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
42010 "$wxUSE_NO_RTTI" != "yes"; then
42011 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
42012 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
42013 cat >conftest.$ac_ext <<_ACEOF
42014 /* confdefs.h. */
42015 _ACEOF
42016 cat confdefs.h >>conftest.$ac_ext
42017 cat >>conftest.$ac_ext <<_ACEOF
42018 /* end confdefs.h. */
42019
42020 int
42021 main ()
42022 {
42023 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
42024 #error "Not GCC 3.2 or greater"
42025 #endif
42026
42027 ;
42028 return 0;
42029 }
42030 _ACEOF
42031 rm -f conftest.$ac_objext
42032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42033 (eval $ac_compile) 2>conftest.er1
42034 ac_status=$?
42035 grep -v '^ *+' conftest.er1 >conftest.err
42036 rm -f conftest.er1
42037 cat conftest.err >&5
42038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42039 (exit $ac_status); } &&
42040 { ac_try='test -z "$ac_c_werror_flag"
42041 || test ! -s conftest.err'
42042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42043 (eval $ac_try) 2>&5
42044 ac_status=$?
42045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42046 (exit $ac_status); }; } &&
42047 { ac_try='test -s conftest.$ac_objext'
42048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42049 (eval $ac_try) 2>&5
42050 ac_status=$?
42051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42052 (exit $ac_status); }; }; then
42053 CODE_GEN_FLAGS="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
42054 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
42055 echo "$as_me:$LINENO: result: yes" >&5
42056 echo "${ECHO_T}yes" >&6
42057 else
42058 echo "$as_me: failed program was:" >&5
42059 sed 's/^/| /' conftest.$ac_ext >&5
42060
42061 echo "$as_me:$LINENO: result: no" >&5
42062 echo "${ECHO_T}no" >&6
42063 fi
42064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42065 fi
42066 ;;
42067 esac
42068 fi
42069
42070
42071 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
42072
42073
42074
42075
42076
42077
42078
42079
42080
42081
42082
42083
42084
42085
42086
42087
42088
42089
42090
42091
42092
42093
42094
42095
42096
42097
42098
42099
42100
42101
42102
42103
42104
42105
42106
42107
42108
42109
42110
42111
42112
42113
42114
42115
42116
42117
42118
42119
42120
42121
42122
42123
42124
42125
42126
42127
42128
42129
42130
42131
42132
42133
42134
42135
42136
42137
42138
42139
42140
42141
42142
42143
42144
42145
42146
42147
42148
42149
42150
42151
42152
42153
42154
42155
42156
42157
42158
42159
42160
42161
42162
42163
42164
42165
42166
42167
42168
42169
42170
42171
42172 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
42173 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
42174 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
42175 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
42176 echo $ECHO_N "(cached) $ECHO_C" >&6
42177 else
42178 cat >conftest.make <<\_ACEOF
42179 all:
42180 @echo 'ac_maketemp="$(MAKE)"'
42181 _ACEOF
42182 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
42183 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
42184 if test -n "$ac_maketemp"; then
42185 eval ac_cv_prog_make_${ac_make}_set=yes
42186 else
42187 eval ac_cv_prog_make_${ac_make}_set=no
42188 fi
42189 rm -f conftest.make
42190 fi
42191 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
42192 echo "$as_me:$LINENO: result: yes" >&5
42193 echo "${ECHO_T}yes" >&6
42194 SET_MAKE=
42195 else
42196 echo "$as_me:$LINENO: result: no" >&5
42197 echo "${ECHO_T}no" >&6
42198 SET_MAKE="MAKE=${MAKE-make}"
42199 fi
42200
42201
42202 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
42203 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
42204 fi
42205
42206 ac_config_headers="$ac_config_headers setup.h"
42207
42208
42209 ac_config_files="$ac_config_files wx-config version-script Makefile"
42210
42211
42212 ac_config_commands="$ac_config_commands default"
42213
42214
42215
42216 if test "$wxUSE_GUI" = "yes"; then
42217 SUBDIRS="samples demos utils contrib"
42218 else SUBDIRS="samples utils"
42219 fi
42220
42221
42222
42223 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
42224 if test "${with_cppunit_prefix+set}" = set; then
42225 withval="$with_cppunit_prefix"
42226 cppunit_config_prefix="$withval"
42227 else
42228 cppunit_config_prefix=""
42229 fi;
42230
42231 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
42232 if test "${with_cppunit_exec_prefix+set}" = set; then
42233 withval="$with_cppunit_exec_prefix"
42234 cppunit_config_exec_prefix="$withval"
42235 else
42236 cppunit_config_exec_prefix=""
42237 fi;
42238
42239 if test x$cppunit_config_exec_prefix != x ; then
42240 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
42241 if test x${CPPUNIT_CONFIG+set} != xset ; then
42242 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
42243 fi
42244 fi
42245 if test x$cppunit_config_prefix != x ; then
42246 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
42247 if test x${CPPUNIT_CONFIG+set} != xset ; then
42248 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
42249 fi
42250 fi
42251
42252 # Extract the first word of "cppunit-config", so it can be a program name with args.
42253 set dummy cppunit-config; ac_word=$2
42254 echo "$as_me:$LINENO: checking for $ac_word" >&5
42255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42256 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
42257 echo $ECHO_N "(cached) $ECHO_C" >&6
42258 else
42259 case $CPPUNIT_CONFIG in
42260 [\\/]* | ?:[\\/]*)
42261 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
42262 ;;
42263 *)
42264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42265 for as_dir in $PATH
42266 do
42267 IFS=$as_save_IFS
42268 test -z "$as_dir" && as_dir=.
42269 for ac_exec_ext in '' $ac_executable_extensions; do
42270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42271 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42273 break 2
42274 fi
42275 done
42276 done
42277
42278 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
42279 ;;
42280 esac
42281 fi
42282 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
42283
42284 if test -n "$CPPUNIT_CONFIG"; then
42285 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
42286 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
42287 else
42288 echo "$as_me:$LINENO: result: no" >&5
42289 echo "${ECHO_T}no" >&6
42290 fi
42291
42292 cppunit_version_min=1.8.0
42293
42294 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
42295 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
42296 no_cppunit=""
42297 if test "$CPPUNIT_CONFIG" = "no" ; then
42298 no_cppunit=yes
42299 echo "$as_me:$LINENO: result: no" >&5
42300 echo "${ECHO_T}no" >&6
42301 else
42302 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
42303 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
42304 cppunit_version=`$CPPUNIT_CONFIG --version`
42305
42306 cppunit_major_version=`echo $cppunit_version | \
42307 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42308 cppunit_minor_version=`echo $cppunit_version | \
42309 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42310 cppunit_micro_version=`echo $cppunit_version | \
42311 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42312
42313 cppunit_major_min=`echo $cppunit_version_min | \
42314 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42315 cppunit_minor_min=`echo $cppunit_version_min | \
42316 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42317 cppunit_micro_min=`echo $cppunit_version_min | \
42318 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42319
42320 cppunit_version_proper=`expr \
42321 $cppunit_major_version \> $cppunit_major_min \| \
42322 $cppunit_major_version \= $cppunit_major_min \& \
42323 $cppunit_minor_version \> $cppunit_minor_min \| \
42324 $cppunit_major_version \= $cppunit_major_min \& \
42325 $cppunit_minor_version \= $cppunit_minor_min \& \
42326 $cppunit_micro_version \>= $cppunit_micro_min `
42327
42328 if test "$cppunit_version_proper" = "1" ; then
42329 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
42330 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
42331 else
42332 echo "$as_me:$LINENO: result: no" >&5
42333 echo "${ECHO_T}no" >&6
42334 no_cppunit=yes
42335 fi
42336 fi
42337
42338 if test "x$no_cppunit" = x ; then
42339 SUBDIRS="$SUBDIRS tests"
42340 else
42341 CPPUNIT_CFLAGS=""
42342 CPPUNIT_LIBS=""
42343 :
42344 fi
42345
42346
42347
42348
42349
42350 for subdir in `echo $SUBDIRS`; do
42351 if test -d ${srcdir}/${subdir} ; then
42352 if test "$wxUSE_GUI" = "yes"; then
42353 if test ${subdir} = "samples"; then
42354 makefiles="samples/Makefile.in $makefiles"
42355 for sample in `echo $SAMPLES_SUBDIRS`; do
42356 if test -d $srcdir/samples/$sample; then
42357 makefiles="samples/$sample/Makefile.in $makefiles"
42358 fi
42359 done
42360 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
42361 fi
42362 else if test ${subdir} = "samples"; then
42363 makefiles="samples/Makefile.in samples/console/Makefile.in"
42364 elif test ${subdir} = "utils"; then
42365 makefiles="utils/HelpGen/Makefile.in \
42366 utils/HelpGen/src/Makefile.in \
42367 utils/tex2rtf/Makefile.in \
42368 utils/tex2rtf/src/Makefile.in"
42369 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
42370 fi
42371 fi
42372
42373 for mkin in $makefiles ; do
42374 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
42375 ac_config_files="$ac_config_files $mk"
42376
42377 done
42378 fi
42379 done
42380
42381
42382 cat >confcache <<\_ACEOF
42383 # This file is a shell script that caches the results of configure
42384 # tests run on this system so they can be shared between configure
42385 # scripts and configure runs, see configure's option --config-cache.
42386 # It is not useful on other systems. If it contains results you don't
42387 # want to keep, you may remove or edit it.
42388 #
42389 # config.status only pays attention to the cache file if you give it
42390 # the --recheck option to rerun configure.
42391 #
42392 # `ac_cv_env_foo' variables (set or unset) will be overridden when
42393 # loading this file, other *unset* `ac_cv_foo' will be assigned the
42394 # following values.
42395
42396 _ACEOF
42397
42398 # The following way of writing the cache mishandles newlines in values,
42399 # but we know of no workaround that is simple, portable, and efficient.
42400 # So, don't put newlines in cache variables' values.
42401 # Ultrix sh set writes to stderr and can't be redirected directly,
42402 # and sets the high bit in the cache file unless we assign to the vars.
42403 {
42404 (set) 2>&1 |
42405 case `(ac_space=' '; set | grep ac_space) 2>&1` in
42406 *ac_space=\ *)
42407 # `set' does not quote correctly, so add quotes (double-quote
42408 # substitution turns \\\\ into \\, and sed turns \\ into \).
42409 sed -n \
42410 "s/'/'\\\\''/g;
42411 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
42412 ;;
42413 *)
42414 # `set' quotes correctly as required by POSIX, so do not add quotes.
42415 sed -n \
42416 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
42417 ;;
42418 esac;
42419 } |
42420 sed '
42421 t clear
42422 : clear
42423 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
42424 t end
42425 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
42426 : end' >>confcache
42427 if diff $cache_file confcache >/dev/null 2>&1; then :; else
42428 if test -w $cache_file; then
42429 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
42430 cat confcache >$cache_file
42431 else
42432 echo "not updating unwritable cache $cache_file"
42433 fi
42434 fi
42435 rm -f confcache
42436
42437 test "x$prefix" = xNONE && prefix=$ac_default_prefix
42438 # Let make expand exec_prefix.
42439 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
42440
42441 # VPATH may cause trouble with some makes, so we remove $(srcdir),
42442 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
42443 # trailing colons and then remove the whole line if VPATH becomes empty
42444 # (actually we leave an empty line to preserve line numbers).
42445 if test "x$srcdir" = x.; then
42446 ac_vpsub='/^[ ]*VPATH[ ]*=/{
42447 s/:*\$(srcdir):*/:/;
42448 s/:*\${srcdir}:*/:/;
42449 s/:*@srcdir@:*/:/;
42450 s/^\([^=]*=[ ]*\):*/\1/;
42451 s/:*$//;
42452 s/^[^=]*=[ ]*$//;
42453 }'
42454 fi
42455
42456 DEFS=-DHAVE_CONFIG_H
42457
42458 ac_libobjs=
42459 ac_ltlibobjs=
42460 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
42461 # 1. Remove the extension, and $U if already installed.
42462 ac_i=`echo "$ac_i" |
42463 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
42464 # 2. Add them.
42465 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
42466 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
42467 done
42468 LIBOBJS=$ac_libobjs
42469
42470 LTLIBOBJS=$ac_ltlibobjs
42471
42472
42473
42474 : ${CONFIG_STATUS=./config.status}
42475 ac_clean_files_save=$ac_clean_files
42476 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
42477 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
42478 echo "$as_me: creating $CONFIG_STATUS" >&6;}
42479 cat >$CONFIG_STATUS <<_ACEOF
42480 #! $SHELL
42481 # Generated by $as_me.
42482 # Run this file to recreate the current configuration.
42483 # Compiler output produced by configure, useful for debugging
42484 # configure, is in config.log if it exists.
42485
42486 debug=false
42487 ac_cs_recheck=false
42488 ac_cs_silent=false
42489 SHELL=\${CONFIG_SHELL-$SHELL}
42490 _ACEOF
42491
42492 cat >>$CONFIG_STATUS <<\_ACEOF
42493 ## --------------------- ##
42494 ## M4sh Initialization. ##
42495 ## --------------------- ##
42496
42497 # Be Bourne compatible
42498 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
42499 emulate sh
42500 NULLCMD=:
42501 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
42502 # is contrary to our usage. Disable this feature.
42503 alias -g '${1+"$@"}'='"$@"'
42504 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
42505 set -o posix
42506 fi
42507 DUALCASE=1; export DUALCASE # for MKS sh
42508
42509 # Support unset when possible.
42510 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
42511 as_unset=unset
42512 else
42513 as_unset=false
42514 fi
42515
42516
42517 # Work around bugs in pre-3.0 UWIN ksh.
42518 $as_unset ENV MAIL MAILPATH
42519 PS1='$ '
42520 PS2='> '
42521 PS4='+ '
42522
42523 # NLS nuisances.
42524 for as_var in \
42525 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42526 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42527 LC_TELEPHONE LC_TIME
42528 do
42529 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
42530 eval $as_var=C; export $as_var
42531 else
42532 $as_unset $as_var
42533 fi
42534 done
42535
42536 # Required to use basename.
42537 if expr a : '\(a\)' >/dev/null 2>&1; then
42538 as_expr=expr
42539 else
42540 as_expr=false
42541 fi
42542
42543 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
42544 as_basename=basename
42545 else
42546 as_basename=false
42547 fi
42548
42549
42550 # Name of the executable.
42551 as_me=`$as_basename "$0" ||
42552 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
42553 X"$0" : 'X\(//\)$' \| \
42554 X"$0" : 'X\(/\)$' \| \
42555 . : '\(.\)' 2>/dev/null ||
42556 echo X/"$0" |
42557 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
42558 /^X\/\(\/\/\)$/{ s//\1/; q; }
42559 /^X\/\(\/\).*/{ s//\1/; q; }
42560 s/.*/./; q'`
42561
42562
42563 # PATH needs CR, and LINENO needs CR and PATH.
42564 # Avoid depending upon Character Ranges.
42565 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
42566 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42567 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
42568 as_cr_digits='0123456789'
42569 as_cr_alnum=$as_cr_Letters$as_cr_digits
42570
42571 # The user is always right.
42572 if test "${PATH_SEPARATOR+set}" != set; then
42573 echo "#! /bin/sh" >conf$$.sh
42574 echo "exit 0" >>conf$$.sh
42575 chmod +x conf$$.sh
42576 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42577 PATH_SEPARATOR=';'
42578 else
42579 PATH_SEPARATOR=:
42580 fi
42581 rm -f conf$$.sh
42582 fi
42583
42584
42585 as_lineno_1=$LINENO
42586 as_lineno_2=$LINENO
42587 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42588 test "x$as_lineno_1" != "x$as_lineno_2" &&
42589 test "x$as_lineno_3" = "x$as_lineno_2" || {
42590 # Find who we are. Look in the path if we contain no path at all
42591 # relative or not.
42592 case $0 in
42593 *[\\/]* ) as_myself=$0 ;;
42594 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42595 for as_dir in $PATH
42596 do
42597 IFS=$as_save_IFS
42598 test -z "$as_dir" && as_dir=.
42599 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
42600 done
42601
42602 ;;
42603 esac
42604 # We did not find ourselves, most probably we were run as `sh COMMAND'
42605 # in which case we are not to be found in the path.
42606 if test "x$as_myself" = x; then
42607 as_myself=$0
42608 fi
42609 if test ! -f "$as_myself"; then
42610 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
42611 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
42612 { (exit 1); exit 1; }; }
42613 fi
42614 case $CONFIG_SHELL in
42615 '')
42616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42617 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
42618 do
42619 IFS=$as_save_IFS
42620 test -z "$as_dir" && as_dir=.
42621 for as_base in sh bash ksh sh5; do
42622 case $as_dir in
42623 /*)
42624 if ("$as_dir/$as_base" -c '
42625 as_lineno_1=$LINENO
42626 as_lineno_2=$LINENO
42627 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42628 test "x$as_lineno_1" != "x$as_lineno_2" &&
42629 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
42630 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
42631 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
42632 CONFIG_SHELL=$as_dir/$as_base
42633 export CONFIG_SHELL
42634 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
42635 fi;;
42636 esac
42637 done
42638 done
42639 ;;
42640 esac
42641
42642 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
42643 # uniformly replaced by the line number. The first 'sed' inserts a
42644 # line-number line before each line; the second 'sed' does the real
42645 # work. The second script uses 'N' to pair each line-number line
42646 # with the numbered line, and appends trailing '-' during
42647 # substitution so that $LINENO is not a special case at line end.
42648 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
42649 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
42650 sed '=' <$as_myself |
42651 sed '
42652 N
42653 s,$,-,
42654 : loop
42655 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
42656 t loop
42657 s,-$,,
42658 s,^['$as_cr_digits']*\n,,
42659 ' >$as_me.lineno &&
42660 chmod +x $as_me.lineno ||
42661 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
42662 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
42663 { (exit 1); exit 1; }; }
42664
42665 # Don't try to exec as it changes $[0], causing all sort of problems
42666 # (the dirname of $[0] is not the place where we might find the
42667 # original and so on. Autoconf is especially sensible to this).
42668 . ./$as_me.lineno
42669 # Exit status is that of the last command.
42670 exit
42671 }
42672
42673
42674 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
42675 *c*,-n*) ECHO_N= ECHO_C='
42676 ' ECHO_T=' ' ;;
42677 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
42678 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
42679 esac
42680
42681 if expr a : '\(a\)' >/dev/null 2>&1; then
42682 as_expr=expr
42683 else
42684 as_expr=false
42685 fi
42686
42687 rm -f conf$$ conf$$.exe conf$$.file
42688 echo >conf$$.file
42689 if ln -s conf$$.file conf$$ 2>/dev/null; then
42690 # We could just check for DJGPP; but this test a) works b) is more generic
42691 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
42692 if test -f conf$$.exe; then
42693 # Don't use ln at all; we don't have any links
42694 as_ln_s='cp -p'
42695 else
42696 as_ln_s='ln -s'
42697 fi
42698 elif ln conf$$.file conf$$ 2>/dev/null; then
42699 as_ln_s=ln
42700 else
42701 as_ln_s='cp -p'
42702 fi
42703 rm -f conf$$ conf$$.exe conf$$.file
42704
42705 if mkdir -p . 2>/dev/null; then
42706 as_mkdir_p=:
42707 else
42708 test -d ./-p && rmdir ./-p
42709 as_mkdir_p=false
42710 fi
42711
42712 as_executable_p="test -f"
42713
42714 # Sed expression to map a string onto a valid CPP name.
42715 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42716
42717 # Sed expression to map a string onto a valid variable name.
42718 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42719
42720
42721 # IFS
42722 # We need space, tab and new line, in precisely that order.
42723 as_nl='
42724 '
42725 IFS=" $as_nl"
42726
42727 # CDPATH.
42728 $as_unset CDPATH
42729
42730 exec 6>&1
42731
42732 # Open the log real soon, to keep \$[0] and so on meaningful, and to
42733 # report actual input values of CONFIG_FILES etc. instead of their
42734 # values after options handling. Logging --version etc. is OK.
42735 exec 5>>config.log
42736 {
42737 echo
42738 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42739 ## Running $as_me. ##
42740 _ASBOX
42741 } >&5
42742 cat >&5 <<_CSEOF
42743
42744 This file was extended by wxWidgets $as_me 2.5.2, which was
42745 generated by GNU Autoconf 2.59. Invocation command line was
42746
42747 CONFIG_FILES = $CONFIG_FILES
42748 CONFIG_HEADERS = $CONFIG_HEADERS
42749 CONFIG_LINKS = $CONFIG_LINKS
42750 CONFIG_COMMANDS = $CONFIG_COMMANDS
42751 $ $0 $@
42752
42753 _CSEOF
42754 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
42755 echo >&5
42756 _ACEOF
42757
42758 # Files that config.status was made for.
42759 if test -n "$ac_config_files"; then
42760 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
42761 fi
42762
42763 if test -n "$ac_config_headers"; then
42764 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
42765 fi
42766
42767 if test -n "$ac_config_links"; then
42768 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
42769 fi
42770
42771 if test -n "$ac_config_commands"; then
42772 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
42773 fi
42774
42775 cat >>$CONFIG_STATUS <<\_ACEOF
42776
42777 ac_cs_usage="\
42778 \`$as_me' instantiates files from templates according to the
42779 current configuration.
42780
42781 Usage: $0 [OPTIONS] [FILE]...
42782
42783 -h, --help print this help, then exit
42784 -V, --version print version number, then exit
42785 -q, --quiet do not print progress messages
42786 -d, --debug don't remove temporary files
42787 --recheck update $as_me by reconfiguring in the same conditions
42788 --file=FILE[:TEMPLATE]
42789 instantiate the configuration file FILE
42790 --header=FILE[:TEMPLATE]
42791 instantiate the configuration header FILE
42792
42793 Configuration files:
42794 $config_files
42795
42796 Configuration headers:
42797 $config_headers
42798
42799 Configuration commands:
42800 $config_commands
42801
42802 Report bugs to <bug-autoconf@gnu.org>."
42803 _ACEOF
42804
42805 cat >>$CONFIG_STATUS <<_ACEOF
42806 ac_cs_version="\\
42807 wxWidgets config.status 2.5.2
42808 configured by $0, generated by GNU Autoconf 2.59,
42809 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
42810
42811 Copyright (C) 2003 Free Software Foundation, Inc.
42812 This config.status script is free software; the Free Software Foundation
42813 gives unlimited permission to copy, distribute and modify it."
42814 srcdir=$srcdir
42815 INSTALL="$INSTALL"
42816 _ACEOF
42817
42818 cat >>$CONFIG_STATUS <<\_ACEOF
42819 # If no file are specified by the user, then we need to provide default
42820 # value. By we need to know if files were specified by the user.
42821 ac_need_defaults=:
42822 while test $# != 0
42823 do
42824 case $1 in
42825 --*=*)
42826 ac_option=`expr "x$1" : 'x\([^=]*\)='`
42827 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
42828 ac_shift=:
42829 ;;
42830 -*)
42831 ac_option=$1
42832 ac_optarg=$2
42833 ac_shift=shift
42834 ;;
42835 *) # This is not an option, so the user has probably given explicit
42836 # arguments.
42837 ac_option=$1
42838 ac_need_defaults=false;;
42839 esac
42840
42841 case $ac_option in
42842 # Handling of the options.
42843 _ACEOF
42844 cat >>$CONFIG_STATUS <<\_ACEOF
42845 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42846 ac_cs_recheck=: ;;
42847 --version | --vers* | -V )
42848 echo "$ac_cs_version"; exit 0 ;;
42849 --he | --h)
42850 # Conflict between --help and --header
42851 { { echo "$as_me:$LINENO: error: ambiguous option: $1
42852 Try \`$0 --help' for more information." >&5
42853 echo "$as_me: error: ambiguous option: $1
42854 Try \`$0 --help' for more information." >&2;}
42855 { (exit 1); exit 1; }; };;
42856 --help | --hel | -h )
42857 echo "$ac_cs_usage"; exit 0 ;;
42858 --debug | --d* | -d )
42859 debug=: ;;
42860 --file | --fil | --fi | --f )
42861 $ac_shift
42862 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
42863 ac_need_defaults=false;;
42864 --header | --heade | --head | --hea )
42865 $ac_shift
42866 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
42867 ac_need_defaults=false;;
42868 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42869 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42870 ac_cs_silent=: ;;
42871
42872 # This is an error.
42873 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
42874 Try \`$0 --help' for more information." >&5
42875 echo "$as_me: error: unrecognized option: $1
42876 Try \`$0 --help' for more information." >&2;}
42877 { (exit 1); exit 1; }; } ;;
42878
42879 *) ac_config_targets="$ac_config_targets $1" ;;
42880
42881 esac
42882 shift
42883 done
42884
42885 ac_configure_extra_args=
42886
42887 if $ac_cs_silent; then
42888 exec 6>/dev/null
42889 ac_configure_extra_args="$ac_configure_extra_args --silent"
42890 fi
42891
42892 _ACEOF
42893 cat >>$CONFIG_STATUS <<_ACEOF
42894 if \$ac_cs_recheck; then
42895 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
42896 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42897 fi
42898
42899 _ACEOF
42900
42901 cat >>$CONFIG_STATUS <<_ACEOF
42902 #
42903 # INIT-COMMANDS section.
42904 #
42905
42906
42907 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
42908 LN_S="${LN_S}"
42909
42910
42911
42912 _ACEOF
42913
42914
42915
42916 cat >>$CONFIG_STATUS <<\_ACEOF
42917 for ac_config_target in $ac_config_targets
42918 do
42919 case "$ac_config_target" in
42920 # Handling of arguments.
42921 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
42922 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
42923 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
42924 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
42925 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
42926 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
42927 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
42928 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
42929 { (exit 1); exit 1; }; };;
42930 esac
42931 done
42932
42933 # If the user did not use the arguments to specify the items to instantiate,
42934 # then the envvar interface is used. Set only those that are not.
42935 # We use the long form for the default assignment because of an extremely
42936 # bizarre bug on SunOS 4.1.3.
42937 if $ac_need_defaults; then
42938 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
42939 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
42940 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
42941 fi
42942
42943 # Have a temporary directory for convenience. Make it in the build tree
42944 # simply because there is no reason to put it here, and in addition,
42945 # creating and moving files from /tmp can sometimes cause problems.
42946 # Create a temporary directory, and hook for its removal unless debugging.
42947 $debug ||
42948 {
42949 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
42950 trap '{ (exit 1); exit 1; }' 1 2 13 15
42951 }
42952
42953 # Create a (secure) tmp directory for tmp files.
42954
42955 {
42956 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
42957 test -n "$tmp" && test -d "$tmp"
42958 } ||
42959 {
42960 tmp=./confstat$$-$RANDOM
42961 (umask 077 && mkdir $tmp)
42962 } ||
42963 {
42964 echo "$me: cannot create a temporary directory in ." >&2
42965 { (exit 1); exit 1; }
42966 }
42967
42968 _ACEOF
42969
42970 cat >>$CONFIG_STATUS <<_ACEOF
42971
42972 #
42973 # CONFIG_FILES section.
42974 #
42975
42976 # No need to generate the scripts if there are no CONFIG_FILES.
42977 # This happens for instance when ./config.status config.h
42978 if test -n "\$CONFIG_FILES"; then
42979 # Protect against being on the right side of a sed subst in config.status.
42980 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
42981 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
42982 s,@SHELL@,$SHELL,;t t
42983 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
42984 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
42985 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
42986 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
42987 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
42988 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
42989 s,@exec_prefix@,$exec_prefix,;t t
42990 s,@prefix@,$prefix,;t t
42991 s,@program_transform_name@,$program_transform_name,;t t
42992 s,@bindir@,$bindir,;t t
42993 s,@sbindir@,$sbindir,;t t
42994 s,@libexecdir@,$libexecdir,;t t
42995 s,@datadir@,$datadir,;t t
42996 s,@sysconfdir@,$sysconfdir,;t t
42997 s,@sharedstatedir@,$sharedstatedir,;t t
42998 s,@localstatedir@,$localstatedir,;t t
42999 s,@libdir@,$libdir,;t t
43000 s,@includedir@,$includedir,;t t
43001 s,@oldincludedir@,$oldincludedir,;t t
43002 s,@infodir@,$infodir,;t t
43003 s,@mandir@,$mandir,;t t
43004 s,@build_alias@,$build_alias,;t t
43005 s,@host_alias@,$host_alias,;t t
43006 s,@target_alias@,$target_alias,;t t
43007 s,@DEFS@,$DEFS,;t t
43008 s,@ECHO_C@,$ECHO_C,;t t
43009 s,@ECHO_N@,$ECHO_N,;t t
43010 s,@ECHO_T@,$ECHO_T,;t t
43011 s,@LIBS@,$LIBS,;t t
43012 s,@build@,$build,;t t
43013 s,@build_cpu@,$build_cpu,;t t
43014 s,@build_vendor@,$build_vendor,;t t
43015 s,@build_os@,$build_os,;t t
43016 s,@host@,$host,;t t
43017 s,@host_cpu@,$host_cpu,;t t
43018 s,@host_vendor@,$host_vendor,;t t
43019 s,@host_os@,$host_os,;t t
43020 s,@target@,$target,;t t
43021 s,@target_cpu@,$target_cpu,;t t
43022 s,@target_vendor@,$target_vendor,;t t
43023 s,@target_os@,$target_os,;t t
43024 s,@CC@,$CC,;t t
43025 s,@CFLAGS@,$CFLAGS,;t t
43026 s,@LDFLAGS@,$LDFLAGS,;t t
43027 s,@CPPFLAGS@,$CPPFLAGS,;t t
43028 s,@ac_ct_CC@,$ac_ct_CC,;t t
43029 s,@EXEEXT@,$EXEEXT,;t t
43030 s,@OBJEXT@,$OBJEXT,;t t
43031 s,@CPP@,$CPP,;t t
43032 s,@EGREP@,$EGREP,;t t
43033 s,@CXX@,$CXX,;t t
43034 s,@CXXFLAGS@,$CXXFLAGS,;t t
43035 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
43036 s,@RANLIB@,$RANLIB,;t t
43037 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
43038 s,@AR@,$AR,;t t
43039 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
43040 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
43041 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
43042 s,@STRIP@,$STRIP,;t t
43043 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
43044 s,@LN_S@,$LN_S,;t t
43045 s,@CXXCPP@,$CXXCPP,;t t
43046 s,@subdirs@,$subdirs,;t t
43047 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
43048 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
43049 s,@GTK_LIBS@,$GTK_LIBS,;t t
43050 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
43051 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
43052 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
43053 s,@X_CFLAGS@,$X_CFLAGS,;t t
43054 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
43055 s,@X_LIBS@,$X_LIBS,;t t
43056 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
43057 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
43058 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
43059 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
43060 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
43061 s,@RESCOMP@,$RESCOMP,;t t
43062 s,@DEREZ@,$DEREZ,;t t
43063 s,@SETFILE@,$SETFILE,;t t
43064 s,@LIBICONV@,$LIBICONV,;t t
43065 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
43066 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
43067 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
43068 s,@SDL_LIBS@,$SDL_LIBS,;t t
43069 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
43070 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
43071 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
43072 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
43073 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
43074 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
43075 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
43076 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
43077 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
43078 s,@VENDOR@,$VENDOR,;t t
43079 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
43080 s,@WXUNIV@,$WXUNIV,;t t
43081 s,@MONOLITHIC@,$MONOLITHIC,;t t
43082 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
43083 s,@EXTRALIBS@,$EXTRALIBS,;t t
43084 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
43085 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
43086 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
43087 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
43088 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
43089 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
43090 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
43091 s,@UNICODE@,$UNICODE,;t t
43092 s,@BUILD@,$BUILD,;t t
43093 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
43094 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
43095 s,@SHARED@,$SHARED,;t t
43096 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
43097 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
43098 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
43099 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
43100 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
43101 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
43102 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
43103 s,@SET_MAKE@,$SET_MAKE,;t t
43104 s,@MAKE_SET@,$MAKE_SET,;t t
43105 s,@ac_ct_AR@,$ac_ct_AR,;t t
43106 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
43107 s,@NM@,$NM,;t t
43108 s,@ac_ct_NM@,$ac_ct_NM,;t t
43109 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
43110 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
43111 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
43112 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
43113 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
43114 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
43115 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
43116 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
43117 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
43118 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
43119 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
43120 s,@LIBPREFIX@,$LIBPREFIX,;t t
43121 s,@LIBEXT@,$LIBEXT,;t t
43122 s,@DLLPREFIX@,$DLLPREFIX,;t t
43123 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
43124 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
43125 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
43126 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
43127 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
43128 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
43129 s,@PIC_FLAG@,$PIC_FLAG,;t t
43130 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
43131 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
43132 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
43133 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
43134 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
43135 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
43136 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
43137 s,@GCC_PCH@,$GCC_PCH,;t t
43138 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
43139 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
43140 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
43141 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
43142 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
43143 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
43144 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
43145 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
43146 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
43147 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
43148 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
43149 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
43150 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
43151 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
43152 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
43153 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
43154 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
43155 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
43156 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1,;t t
43157 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
43158 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
43159 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
43160 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
43161 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1,;t t
43162 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
43163 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
43164 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
43165 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
43166 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
43167 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
43168 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
43169 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
43170 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
43171 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
43172 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
43173 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
43174 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
43175 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
43176 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
43177 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
43178 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
43179 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
43180 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
43181 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
43182 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
43183 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
43184 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
43185 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
43186 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
43187 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
43188 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
43189 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
43190 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
43191 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
43192 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
43193 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
43194 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
43195 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
43196 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
43197 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
43198 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
43199 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
43200 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
43201 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
43202 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
43203 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
43204 s,@COND_TOOLKIT_MAC_WXUNIV_0@,$COND_TOOLKIT_MAC_WXUNIV_0,;t t
43205 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
43206 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
43207 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
43208 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
43209 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
43210 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
43211 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
43212 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
43213 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
43214 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
43215 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
43216 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
43217 s,@COND_TOOLKIT_PM_WXUNIV_0@,$COND_TOOLKIT_PM_WXUNIV_0,;t t
43218 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
43219 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
43220 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
43221 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
43222 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
43223 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
43224 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
43225 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
43226 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
43227 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
43228 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
43229 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
43230 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
43231 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
43232 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
43233 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
43234 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
43235 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
43236 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
43237 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
43238 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
43239 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
43240 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
43241 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
43242 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
43243 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
43244 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
43245 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
43246 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
43247 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
43248 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
43249 s,@PATH_IFS@,$PATH_IFS,;t t
43250 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
43251 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
43252 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
43253 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
43254 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
43255 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
43256 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
43257 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
43258 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
43259 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
43260 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
43261 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
43262 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
43263 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
43264 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
43265 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
43266 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
43267 s,@WX_ALL@,$WX_ALL,;t t
43268 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
43269 s,@SHARED_LD@,$SHARED_LD,;t t
43270 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
43271 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
43272 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
43273 s,@USE_GUI@,$USE_GUI,;t t
43274 s,@AFMINSTALL@,$AFMINSTALL,;t t
43275 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
43276 s,@TOOLKIT@,$TOOLKIT,;t t
43277 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
43278 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
43279 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
43280 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
43281 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
43282 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
43283 s,@cross_compiling@,$cross_compiling,;t t
43284 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
43285 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
43286 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
43287 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
43288 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
43289 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
43290 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
43291 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
43292 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
43293 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
43294 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
43295 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
43296 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
43297 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
43298 s,@GUIDIST@,$GUIDIST,;t t
43299 s,@PORT_FILES@,$PORT_FILES,;t t
43300 s,@DISTDIR@,$DISTDIR,;t t
43301 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
43302 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
43303 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
43304 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
43305 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
43306 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
43307 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
43308 s,@RESFLAGS@,$RESFLAGS,;t t
43309 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
43310 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
43311 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
43312 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
43313 s,@MACRESCOMP@,$MACRESCOMP,;t t
43314 s,@MACSETFILE@,$MACSETFILE,;t t
43315 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
43316 s,@GCC@,$GCC,;t t
43317 s,@GCC_SEARCHES_USR_LOCAL_INCLUDE@,$GCC_SEARCHES_USR_LOCAL_INCLUDE,;t t
43318 s,@DLLTOOL@,$DLLTOOL,;t t
43319 s,@AS@,$AS,;t t
43320 s,@LD@,$LD,;t t
43321 s,@MAKEINFO@,$MAKEINFO,;t t
43322 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
43323 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
43324 s,@LIBOBJS@,$LIBOBJS,;t t
43325 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
43326 CEOF
43327
43328 _ACEOF
43329
43330 cat >>$CONFIG_STATUS <<\_ACEOF
43331 # Split the substitutions into bite-sized pieces for seds with
43332 # small command number limits, like on Digital OSF/1 and HP-UX.
43333 ac_max_sed_lines=48
43334 ac_sed_frag=1 # Number of current file.
43335 ac_beg=1 # First line for current file.
43336 ac_end=$ac_max_sed_lines # Line after last line for current file.
43337 ac_more_lines=:
43338 ac_sed_cmds=
43339 while $ac_more_lines; do
43340 if test $ac_beg -gt 1; then
43341 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
43342 else
43343 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
43344 fi
43345 if test ! -s $tmp/subs.frag; then
43346 ac_more_lines=false
43347 else
43348 # The purpose of the label and of the branching condition is to
43349 # speed up the sed processing (if there are no `@' at all, there
43350 # is no need to browse any of the substitutions).
43351 # These are the two extra sed commands mentioned above.
43352 (echo ':t
43353 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
43354 if test -z "$ac_sed_cmds"; then
43355 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
43356 else
43357 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
43358 fi
43359 ac_sed_frag=`expr $ac_sed_frag + 1`
43360 ac_beg=$ac_end
43361 ac_end=`expr $ac_end + $ac_max_sed_lines`
43362 fi
43363 done
43364 if test -z "$ac_sed_cmds"; then
43365 ac_sed_cmds=cat
43366 fi
43367 fi # test -n "$CONFIG_FILES"
43368
43369 _ACEOF
43370 cat >>$CONFIG_STATUS <<\_ACEOF
43371 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
43372 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43373 case $ac_file in
43374 - | *:- | *:-:* ) # input from stdin
43375 cat >$tmp/stdin
43376 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
43377 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
43378 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
43379 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
43380 * ) ac_file_in=$ac_file.in ;;
43381 esac
43382
43383 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
43384 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
43385 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43386 X"$ac_file" : 'X\(//\)[^/]' \| \
43387 X"$ac_file" : 'X\(//\)$' \| \
43388 X"$ac_file" : 'X\(/\)' \| \
43389 . : '\(.\)' 2>/dev/null ||
43390 echo X"$ac_file" |
43391 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43392 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43393 /^X\(\/\/\)$/{ s//\1/; q; }
43394 /^X\(\/\).*/{ s//\1/; q; }
43395 s/.*/./; q'`
43396 { if $as_mkdir_p; then
43397 mkdir -p "$ac_dir"
43398 else
43399 as_dir="$ac_dir"
43400 as_dirs=
43401 while test ! -d "$as_dir"; do
43402 as_dirs="$as_dir $as_dirs"
43403 as_dir=`(dirname "$as_dir") 2>/dev/null ||
43404 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43405 X"$as_dir" : 'X\(//\)[^/]' \| \
43406 X"$as_dir" : 'X\(//\)$' \| \
43407 X"$as_dir" : 'X\(/\)' \| \
43408 . : '\(.\)' 2>/dev/null ||
43409 echo X"$as_dir" |
43410 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43411 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43412 /^X\(\/\/\)$/{ s//\1/; q; }
43413 /^X\(\/\).*/{ s//\1/; q; }
43414 s/.*/./; q'`
43415 done
43416 test ! -n "$as_dirs" || mkdir $as_dirs
43417 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43418 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43419 { (exit 1); exit 1; }; }; }
43420
43421 ac_builddir=.
43422
43423 if test "$ac_dir" != .; then
43424 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43425 # A "../" for each directory in $ac_dir_suffix.
43426 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43427 else
43428 ac_dir_suffix= ac_top_builddir=
43429 fi
43430
43431 case $srcdir in
43432 .) # No --srcdir option. We are building in place.
43433 ac_srcdir=.
43434 if test -z "$ac_top_builddir"; then
43435 ac_top_srcdir=.
43436 else
43437 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
43438 fi ;;
43439 [\\/]* | ?:[\\/]* ) # Absolute path.
43440 ac_srcdir=$srcdir$ac_dir_suffix;
43441 ac_top_srcdir=$srcdir ;;
43442 *) # Relative path.
43443 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
43444 ac_top_srcdir=$ac_top_builddir$srcdir ;;
43445 esac
43446
43447 # Do not use `cd foo && pwd` to compute absolute paths, because
43448 # the directories may not exist.
43449 case `pwd` in
43450 .) ac_abs_builddir="$ac_dir";;
43451 *)
43452 case "$ac_dir" in
43453 .) ac_abs_builddir=`pwd`;;
43454 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
43455 *) ac_abs_builddir=`pwd`/"$ac_dir";;
43456 esac;;
43457 esac
43458 case $ac_abs_builddir in
43459 .) ac_abs_top_builddir=${ac_top_builddir}.;;
43460 *)
43461 case ${ac_top_builddir}. in
43462 .) ac_abs_top_builddir=$ac_abs_builddir;;
43463 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
43464 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
43465 esac;;
43466 esac
43467 case $ac_abs_builddir in
43468 .) ac_abs_srcdir=$ac_srcdir;;
43469 *)
43470 case $ac_srcdir in
43471 .) ac_abs_srcdir=$ac_abs_builddir;;
43472 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
43473 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
43474 esac;;
43475 esac
43476 case $ac_abs_builddir in
43477 .) ac_abs_top_srcdir=$ac_top_srcdir;;
43478 *)
43479 case $ac_top_srcdir in
43480 .) ac_abs_top_srcdir=$ac_abs_builddir;;
43481 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
43482 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
43483 esac;;
43484 esac
43485
43486
43487 case $INSTALL in
43488 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
43489 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
43490 esac
43491
43492 if test x"$ac_file" != x-; then
43493 { echo "$as_me:$LINENO: creating $ac_file" >&5
43494 echo "$as_me: creating $ac_file" >&6;}
43495 rm -f "$ac_file"
43496 fi
43497 # Let's still pretend it is `configure' which instantiates (i.e., don't
43498 # use $as_me), people would be surprised to read:
43499 # /* config.h. Generated by config.status. */
43500 if test x"$ac_file" = x-; then
43501 configure_input=
43502 else
43503 configure_input="$ac_file. "
43504 fi
43505 configure_input=$configure_input"Generated from `echo $ac_file_in |
43506 sed 's,.*/,,'` by configure."
43507
43508 # First look for the input files in the build tree, otherwise in the
43509 # src tree.
43510 ac_file_inputs=`IFS=:
43511 for f in $ac_file_in; do
43512 case $f in
43513 -) echo $tmp/stdin ;;
43514 [\\/$]*)
43515 # Absolute (can't be DOS-style, as IFS=:)
43516 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43517 echo "$as_me: error: cannot find input file: $f" >&2;}
43518 { (exit 1); exit 1; }; }
43519 echo "$f";;
43520 *) # Relative
43521 if test -f "$f"; then
43522 # Build tree
43523 echo "$f"
43524 elif test -f "$srcdir/$f"; then
43525 # Source tree
43526 echo "$srcdir/$f"
43527 else
43528 # /dev/null tree
43529 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43530 echo "$as_me: error: cannot find input file: $f" >&2;}
43531 { (exit 1); exit 1; }; }
43532 fi;;
43533 esac
43534 done` || { (exit 1); exit 1; }
43535 _ACEOF
43536 cat >>$CONFIG_STATUS <<_ACEOF
43537 sed "$ac_vpsub
43538 $extrasub
43539 _ACEOF
43540 cat >>$CONFIG_STATUS <<\_ACEOF
43541 :t
43542 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
43543 s,@configure_input@,$configure_input,;t t
43544 s,@srcdir@,$ac_srcdir,;t t
43545 s,@abs_srcdir@,$ac_abs_srcdir,;t t
43546 s,@top_srcdir@,$ac_top_srcdir,;t t
43547 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
43548 s,@builddir@,$ac_builddir,;t t
43549 s,@abs_builddir@,$ac_abs_builddir,;t t
43550 s,@top_builddir@,$ac_top_builddir,;t t
43551 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
43552 s,@INSTALL@,$ac_INSTALL,;t t
43553 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
43554 rm -f $tmp/stdin
43555 if test x"$ac_file" != x-; then
43556 mv $tmp/out $ac_file
43557 else
43558 cat $tmp/out
43559 rm -f $tmp/out
43560 fi
43561
43562 done
43563 _ACEOF
43564 cat >>$CONFIG_STATUS <<\_ACEOF
43565
43566 #
43567 # CONFIG_HEADER section.
43568 #
43569
43570 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
43571 # NAME is the cpp macro being defined and VALUE is the value it is being given.
43572 #
43573 # ac_d sets the value in "#define NAME VALUE" lines.
43574 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
43575 ac_dB='[ ].*$,\1#\2'
43576 ac_dC=' '
43577 ac_dD=',;t'
43578 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
43579 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
43580 ac_uB='$,\1#\2define\3'
43581 ac_uC=' '
43582 ac_uD=',;t'
43583
43584 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
43585 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43586 case $ac_file in
43587 - | *:- | *:-:* ) # input from stdin
43588 cat >$tmp/stdin
43589 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
43590 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
43591 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
43592 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
43593 * ) ac_file_in=$ac_file.in ;;
43594 esac
43595
43596 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
43597 echo "$as_me: creating $ac_file" >&6;}
43598
43599 # First look for the input files in the build tree, otherwise in the
43600 # src tree.
43601 ac_file_inputs=`IFS=:
43602 for f in $ac_file_in; do
43603 case $f in
43604 -) echo $tmp/stdin ;;
43605 [\\/$]*)
43606 # Absolute (can't be DOS-style, as IFS=:)
43607 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43608 echo "$as_me: error: cannot find input file: $f" >&2;}
43609 { (exit 1); exit 1; }; }
43610 # Do quote $f, to prevent DOS paths from being IFS'd.
43611 echo "$f";;
43612 *) # Relative
43613 if test -f "$f"; then
43614 # Build tree
43615 echo "$f"
43616 elif test -f "$srcdir/$f"; then
43617 # Source tree
43618 echo "$srcdir/$f"
43619 else
43620 # /dev/null tree
43621 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43622 echo "$as_me: error: cannot find input file: $f" >&2;}
43623 { (exit 1); exit 1; }; }
43624 fi;;
43625 esac
43626 done` || { (exit 1); exit 1; }
43627 # Remove the trailing spaces.
43628 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
43629
43630 _ACEOF
43631
43632 # Transform confdefs.h into two sed scripts, `conftest.defines' and
43633 # `conftest.undefs', that substitutes the proper values into
43634 # config.h.in to produce config.h. The first handles `#define'
43635 # templates, and the second `#undef' templates.
43636 # And first: Protect against being on the right side of a sed subst in
43637 # config.status. Protect against being in an unquoted here document
43638 # in config.status.
43639 rm -f conftest.defines conftest.undefs
43640 # Using a here document instead of a string reduces the quoting nightmare.
43641 # Putting comments in sed scripts is not portable.
43642 #
43643 # `end' is used to avoid that the second main sed command (meant for
43644 # 0-ary CPP macros) applies to n-ary macro definitions.
43645 # See the Autoconf documentation for `clear'.
43646 cat >confdef2sed.sed <<\_ACEOF
43647 s/[\\&,]/\\&/g
43648 s,[\\$`],\\&,g
43649 t clear
43650 : clear
43651 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
43652 t end
43653 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
43654 : end
43655 _ACEOF
43656 # If some macros were called several times there might be several times
43657 # the same #defines, which is useless. Nevertheless, we may not want to
43658 # sort them, since we want the *last* AC-DEFINE to be honored.
43659 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
43660 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
43661 rm -f confdef2sed.sed
43662
43663 # This sed command replaces #undef with comments. This is necessary, for
43664 # example, in the case of _POSIX_SOURCE, which is predefined and required
43665 # on some systems where configure will not decide to define it.
43666 cat >>conftest.undefs <<\_ACEOF
43667 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
43668 _ACEOF
43669
43670 # Break up conftest.defines because some shells have a limit on the size
43671 # of here documents, and old seds have small limits too (100 cmds).
43672 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
43673 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
43674 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
43675 echo ' :' >>$CONFIG_STATUS
43676 rm -f conftest.tail
43677 while grep . conftest.defines >/dev/null
43678 do
43679 # Write a limited-size here document to $tmp/defines.sed.
43680 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
43681 # Speed up: don't consider the non `#define' lines.
43682 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
43683 # Work around the forget-to-reset-the-flag bug.
43684 echo 't clr' >>$CONFIG_STATUS
43685 echo ': clr' >>$CONFIG_STATUS
43686 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
43687 echo 'CEOF
43688 sed -f $tmp/defines.sed $tmp/in >$tmp/out
43689 rm -f $tmp/in
43690 mv $tmp/out $tmp/in
43691 ' >>$CONFIG_STATUS
43692 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
43693 rm -f conftest.defines
43694 mv conftest.tail conftest.defines
43695 done
43696 rm -f conftest.defines
43697 echo ' fi # grep' >>$CONFIG_STATUS
43698 echo >>$CONFIG_STATUS
43699
43700 # Break up conftest.undefs because some shells have a limit on the size
43701 # of here documents, and old seds have small limits too (100 cmds).
43702 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
43703 rm -f conftest.tail
43704 while grep . conftest.undefs >/dev/null
43705 do
43706 # Write a limited-size here document to $tmp/undefs.sed.
43707 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
43708 # Speed up: don't consider the non `#undef'
43709 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
43710 # Work around the forget-to-reset-the-flag bug.
43711 echo 't clr' >>$CONFIG_STATUS
43712 echo ': clr' >>$CONFIG_STATUS
43713 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
43714 echo 'CEOF
43715 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
43716 rm -f $tmp/in
43717 mv $tmp/out $tmp/in
43718 ' >>$CONFIG_STATUS
43719 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
43720 rm -f conftest.undefs
43721 mv conftest.tail conftest.undefs
43722 done
43723 rm -f conftest.undefs
43724
43725 cat >>$CONFIG_STATUS <<\_ACEOF
43726 # Let's still pretend it is `configure' which instantiates (i.e., don't
43727 # use $as_me), people would be surprised to read:
43728 # /* config.h. Generated by config.status. */
43729 if test x"$ac_file" = x-; then
43730 echo "/* Generated by configure. */" >$tmp/config.h
43731 else
43732 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
43733 fi
43734 cat $tmp/in >>$tmp/config.h
43735 rm -f $tmp/in
43736 if test x"$ac_file" != x-; then
43737 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
43738 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
43739 echo "$as_me: $ac_file is unchanged" >&6;}
43740 else
43741 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
43742 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43743 X"$ac_file" : 'X\(//\)[^/]' \| \
43744 X"$ac_file" : 'X\(//\)$' \| \
43745 X"$ac_file" : 'X\(/\)' \| \
43746 . : '\(.\)' 2>/dev/null ||
43747 echo X"$ac_file" |
43748 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43749 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43750 /^X\(\/\/\)$/{ s//\1/; q; }
43751 /^X\(\/\).*/{ s//\1/; q; }
43752 s/.*/./; q'`
43753 { if $as_mkdir_p; then
43754 mkdir -p "$ac_dir"
43755 else
43756 as_dir="$ac_dir"
43757 as_dirs=
43758 while test ! -d "$as_dir"; do
43759 as_dirs="$as_dir $as_dirs"
43760 as_dir=`(dirname "$as_dir") 2>/dev/null ||
43761 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43762 X"$as_dir" : 'X\(//\)[^/]' \| \
43763 X"$as_dir" : 'X\(//\)$' \| \
43764 X"$as_dir" : 'X\(/\)' \| \
43765 . : '\(.\)' 2>/dev/null ||
43766 echo X"$as_dir" |
43767 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43768 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43769 /^X\(\/\/\)$/{ s//\1/; q; }
43770 /^X\(\/\).*/{ s//\1/; q; }
43771 s/.*/./; q'`
43772 done
43773 test ! -n "$as_dirs" || mkdir $as_dirs
43774 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43775 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43776 { (exit 1); exit 1; }; }; }
43777
43778 rm -f $ac_file
43779 mv $tmp/config.h $ac_file
43780 fi
43781 else
43782 cat $tmp/config.h
43783 rm -f $tmp/config.h
43784 fi
43785 done
43786 _ACEOF
43787 cat >>$CONFIG_STATUS <<\_ACEOF
43788
43789 #
43790 # CONFIG_COMMANDS section.
43791 #
43792 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
43793 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
43794 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
43795 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
43796 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43797 X"$ac_dest" : 'X\(//\)[^/]' \| \
43798 X"$ac_dest" : 'X\(//\)$' \| \
43799 X"$ac_dest" : 'X\(/\)' \| \
43800 . : '\(.\)' 2>/dev/null ||
43801 echo X"$ac_dest" |
43802 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43803 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43804 /^X\(\/\/\)$/{ s//\1/; q; }
43805 /^X\(\/\).*/{ s//\1/; q; }
43806 s/.*/./; q'`
43807 { if $as_mkdir_p; then
43808 mkdir -p "$ac_dir"
43809 else
43810 as_dir="$ac_dir"
43811 as_dirs=
43812 while test ! -d "$as_dir"; do
43813 as_dirs="$as_dir $as_dirs"
43814 as_dir=`(dirname "$as_dir") 2>/dev/null ||
43815 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43816 X"$as_dir" : 'X\(//\)[^/]' \| \
43817 X"$as_dir" : 'X\(//\)$' \| \
43818 X"$as_dir" : 'X\(/\)' \| \
43819 . : '\(.\)' 2>/dev/null ||
43820 echo X"$as_dir" |
43821 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43822 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43823 /^X\(\/\/\)$/{ s//\1/; q; }
43824 /^X\(\/\).*/{ s//\1/; q; }
43825 s/.*/./; q'`
43826 done
43827 test ! -n "$as_dirs" || mkdir $as_dirs
43828 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43829 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43830 { (exit 1); exit 1; }; }; }
43831
43832 ac_builddir=.
43833
43834 if test "$ac_dir" != .; then
43835 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43836 # A "../" for each directory in $ac_dir_suffix.
43837 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43838 else
43839 ac_dir_suffix= ac_top_builddir=
43840 fi
43841
43842 case $srcdir in
43843 .) # No --srcdir option. We are building in place.
43844 ac_srcdir=.
43845 if test -z "$ac_top_builddir"; then
43846 ac_top_srcdir=.
43847 else
43848 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
43849 fi ;;
43850 [\\/]* | ?:[\\/]* ) # Absolute path.
43851 ac_srcdir=$srcdir$ac_dir_suffix;
43852 ac_top_srcdir=$srcdir ;;
43853 *) # Relative path.
43854 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
43855 ac_top_srcdir=$ac_top_builddir$srcdir ;;
43856 esac
43857
43858 # Do not use `cd foo && pwd` to compute absolute paths, because
43859 # the directories may not exist.
43860 case `pwd` in
43861 .) ac_abs_builddir="$ac_dir";;
43862 *)
43863 case "$ac_dir" in
43864 .) ac_abs_builddir=`pwd`;;
43865 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
43866 *) ac_abs_builddir=`pwd`/"$ac_dir";;
43867 esac;;
43868 esac
43869 case $ac_abs_builddir in
43870 .) ac_abs_top_builddir=${ac_top_builddir}.;;
43871 *)
43872 case ${ac_top_builddir}. in
43873 .) ac_abs_top_builddir=$ac_abs_builddir;;
43874 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
43875 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
43876 esac;;
43877 esac
43878 case $ac_abs_builddir in
43879 .) ac_abs_srcdir=$ac_srcdir;;
43880 *)
43881 case $ac_srcdir in
43882 .) ac_abs_srcdir=$ac_abs_builddir;;
43883 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
43884 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
43885 esac;;
43886 esac
43887 case $ac_abs_builddir in
43888 .) ac_abs_top_srcdir=$ac_top_srcdir;;
43889 *)
43890 case $ac_top_srcdir in
43891 .) ac_abs_top_srcdir=$ac_abs_builddir;;
43892 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
43893 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
43894 esac;;
43895 esac
43896
43897
43898 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
43899 echo "$as_me: executing $ac_dest commands" >&6;}
43900 case $ac_dest in
43901 default )
43902 if test ! -h wx-config; then
43903 chmod +x wx-config
43904 mv wx-config wx${TOOLCHAIN_NAME}-config
43905 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
43906 fi
43907
43908 if test ! -d lib; then
43909 mkdir lib
43910 fi
43911 if test ! -d lib/wx; then
43912 mkdir lib/wx
43913 fi
43914 if test ! -d lib/wx/include; then
43915 mkdir lib/wx/include
43916 fi
43917 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
43918 mkdir lib/wx/include/${TOOLCHAIN_NAME}
43919 fi
43920 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
43921 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
43922 fi
43923 if test -f setup.h; then
43924 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
43925 fi
43926 ;;
43927 esac
43928 done
43929 _ACEOF
43930
43931 cat >>$CONFIG_STATUS <<\_ACEOF
43932
43933 { (exit 0); exit 0; }
43934 _ACEOF
43935 chmod +x $CONFIG_STATUS
43936 ac_clean_files=$ac_clean_files_save
43937
43938
43939 # configure is writing to config.log, and then calls config.status.
43940 # config.status does its own redirection, appending to config.log.
43941 # Unfortunately, on DOS this fails, as config.log is still kept open
43942 # by configure, so config.status won't be able to write to it; its
43943 # output is simply discarded. So we exec the FD to /dev/null,
43944 # effectively closing config.log, so it can be properly (re)opened and
43945 # appended to by config.status. When coming back to configure, we
43946 # need to make the FD available again.
43947 if test "$no_create" != yes; then
43948 ac_cs_success=:
43949 ac_config_status_args=
43950 test "$silent" = yes &&
43951 ac_config_status_args="$ac_config_status_args --quiet"
43952 exec 5>/dev/null
43953 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
43954 exec 5>>config.log
43955 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
43956 # would make configure fail if this is the last instruction.
43957 $ac_cs_success || { (exit 1); exit 1; }
43958 fi
43959
43960 #
43961 # CONFIG_SUBDIRS section.
43962 #
43963 if test "$no_recursion" != yes; then
43964
43965 # Remove --cache-file and --srcdir arguments so they do not pile up.
43966 ac_sub_configure_args=
43967 ac_prev=
43968 for ac_arg in $ac_configure_args; do
43969 if test -n "$ac_prev"; then
43970 ac_prev=
43971 continue
43972 fi
43973 case $ac_arg in
43974 -cache-file | --cache-file | --cache-fil | --cache-fi \
43975 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
43976 ac_prev=cache_file ;;
43977 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
43978 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
43979 | --c=*)
43980 ;;
43981 --config-cache | -C)
43982 ;;
43983 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
43984 ac_prev=srcdir ;;
43985 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43986 ;;
43987 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43988 ac_prev=prefix ;;
43989 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43990 ;;
43991 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
43992 esac
43993 done
43994
43995 # Always prepend --prefix to ensure using the same prefix
43996 # in subdir configurations.
43997 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
43998
43999 ac_popdir=`pwd`
44000 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
44001
44002 # Do not complain, so a configure script can configure whichever
44003 # parts of a large source tree are present.
44004 test -d $srcdir/$ac_dir || continue
44005
44006 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
44007 echo "$as_me: configuring in $ac_dir" >&6;}
44008 { if $as_mkdir_p; then
44009 mkdir -p "$ac_dir"
44010 else
44011 as_dir="$ac_dir"
44012 as_dirs=
44013 while test ! -d "$as_dir"; do
44014 as_dirs="$as_dir $as_dirs"
44015 as_dir=`(dirname "$as_dir") 2>/dev/null ||
44016 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44017 X"$as_dir" : 'X\(//\)[^/]' \| \
44018 X"$as_dir" : 'X\(//\)$' \| \
44019 X"$as_dir" : 'X\(/\)' \| \
44020 . : '\(.\)' 2>/dev/null ||
44021 echo X"$as_dir" |
44022 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44023 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44024 /^X\(\/\/\)$/{ s//\1/; q; }
44025 /^X\(\/\).*/{ s//\1/; q; }
44026 s/.*/./; q'`
44027 done
44028 test ! -n "$as_dirs" || mkdir $as_dirs
44029 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44030 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44031 { (exit 1); exit 1; }; }; }
44032
44033 ac_builddir=.
44034
44035 if test "$ac_dir" != .; then
44036 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44037 # A "../" for each directory in $ac_dir_suffix.
44038 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44039 else
44040 ac_dir_suffix= ac_top_builddir=
44041 fi
44042
44043 case $srcdir in
44044 .) # No --srcdir option. We are building in place.
44045 ac_srcdir=.
44046 if test -z "$ac_top_builddir"; then
44047 ac_top_srcdir=.
44048 else
44049 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
44050 fi ;;
44051 [\\/]* | ?:[\\/]* ) # Absolute path.
44052 ac_srcdir=$srcdir$ac_dir_suffix;
44053 ac_top_srcdir=$srcdir ;;
44054 *) # Relative path.
44055 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
44056 ac_top_srcdir=$ac_top_builddir$srcdir ;;
44057 esac
44058
44059 # Do not use `cd foo && pwd` to compute absolute paths, because
44060 # the directories may not exist.
44061 case `pwd` in
44062 .) ac_abs_builddir="$ac_dir";;
44063 *)
44064 case "$ac_dir" in
44065 .) ac_abs_builddir=`pwd`;;
44066 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
44067 *) ac_abs_builddir=`pwd`/"$ac_dir";;
44068 esac;;
44069 esac
44070 case $ac_abs_builddir in
44071 .) ac_abs_top_builddir=${ac_top_builddir}.;;
44072 *)
44073 case ${ac_top_builddir}. in
44074 .) ac_abs_top_builddir=$ac_abs_builddir;;
44075 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
44076 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
44077 esac;;
44078 esac
44079 case $ac_abs_builddir in
44080 .) ac_abs_srcdir=$ac_srcdir;;
44081 *)
44082 case $ac_srcdir in
44083 .) ac_abs_srcdir=$ac_abs_builddir;;
44084 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
44085 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
44086 esac;;
44087 esac
44088 case $ac_abs_builddir in
44089 .) ac_abs_top_srcdir=$ac_top_srcdir;;
44090 *)
44091 case $ac_top_srcdir in
44092 .) ac_abs_top_srcdir=$ac_abs_builddir;;
44093 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
44094 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
44095 esac;;
44096 esac
44097
44098
44099 cd $ac_dir
44100
44101 # Check for guested configure; otherwise get Cygnus style configure.
44102 if test -f $ac_srcdir/configure.gnu; then
44103 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
44104 elif test -f $ac_srcdir/configure; then
44105 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
44106 elif test -f $ac_srcdir/configure.in; then
44107 ac_sub_configure=$ac_configure
44108 else
44109 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
44110 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
44111 ac_sub_configure=
44112 fi
44113
44114 # The recursion is here.
44115 if test -n "$ac_sub_configure"; then
44116 # Make the cache file name correct relative to the subdirectory.
44117 case $cache_file in
44118 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
44119 *) # Relative path.
44120 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
44121 esac
44122
44123 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
44124 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
44125 # The eval makes quoting arguments work.
44126 eval $ac_sub_configure $ac_sub_configure_args \
44127 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
44128 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
44129 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
44130 { (exit 1); exit 1; }; }
44131 fi
44132
44133 cd $ac_popdir
44134 done
44135 fi
44136
44137
44138 echo
44139 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
44140 echo ""
44141 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_LOWERCASE:-base only}"
44142 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
44143
44144 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
44145 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
44146 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
44147
44148 echo " What level of wxWidgets compatibility should be enabled?"
44149 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
44150 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
44151
44152 echo " Which libraries should wxWidgets use?"
44153 echo " jpeg ${wxUSE_LIBJPEG-none}"
44154 echo " png ${wxUSE_LIBPNG-none}"
44155 echo " regex ${wxUSE_REGEX}"
44156 echo " tiff ${wxUSE_LIBTIFF-none}"
44157 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
44158 echo " xpm ${wxUSE_LIBXPM-none}"
44159 fi
44160 echo " zlib ${wxUSE_ZLIB}"
44161 echo " odbc ${wxUSE_ODBC}"
44162 echo " expat ${wxUSE_EXPAT}"
44163 echo " libmspack ${wxUSE_LIBMSPACK}"
44164 echo " sdl ${wxUSE_LIBSDL}"
44165
44166 echo ""
44167