]> git.saurik.com Git - wxWidgets.git/blob - configure
Allow non-toplevel-window to given as the
[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 wxWindows 2.5.1.
5 #
6 # Report bugs to <wx-dev@lists.wxwindows.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='wxWindows'
272 PACKAGE_TARNAME='wxwindows'
273 PACKAGE_VERSION='2.5.1'
274 PACKAGE_STRING='wxWindows 2.5.1'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwindows.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 LIBPREFIX DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_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_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_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_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 wxWindows 2.5.1 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 wxWindows 2.5.1:";;
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 wxWindows as single library
872 --enable-plugins build parts of wxWindows as loadable components
873 --enable-universal use wxWindows GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
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 wxWindows 2.2 compatibility
893 --disable-compat24 disable wxWindows 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 wxWindows implementation of vprintf()
935 --enable-zipstream use wxZipInputStream
936 --enable-gzstream use wxGzipInputStream
937 --enable-url use wxURL class
938 --enable-protocol use wxProtocol class
939 --enable-protocol-http HTTP support in wxProtocol
940 --enable-protocol-ftp FTP support in wxProtocol
941 --enable-protocol-file FILE support in wxProtocol
942 --enable-threads use threads
943 --enable-docview use document view architecture
944 --enable-help use help subsystem
945 --enable-mshtmlhelp use MS HTML Help (win32)
946 --enable-html use wxHTML sub-library
947 --enable-htmlhelp use wxHTML-based help
948 --enable-constraints use layout-constraints system
949 --enable-printarch use printing architecture
950 --enable-mdi use multiple document interface architecture
951 --enable-loggui use standard GUI logger
952 --enable-logwin use wxLogWindow
953 --enable-logdialog use wxLogDialog
954 --enable-postscript use wxPostscriptDC device context (default for gtk+)
955 --enable-prologio not available; see contrib
956 --enable-resources not available; see contrib
957 --enable-clipboard use wxClipboard class
958 --enable-dnd use Drag'n'Drop classes
959 --enable-metafile use win32 metafiles
960 --enable-controls use all usual controls
961 --enable-accel use accelerators
962 --enable-button use wxButton class
963 --enable-bmpbutton use wxBitmapButton class
964 --enable-calendar use wxCalendarCtrl class
965 --enable-caret use wxCaret class
966 --enable-checkbox use wxCheckBox class
967 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
968 --enable-choice use wxChoice class
969 --enable-combobox use wxComboBox class
970 --enable-display use wxDisplay class
971 --enable-gauge use wxGauge class
972 --enable-grid use wxGrid class
973 --enable-imaglist use wxImageList class
974 --enable-listbook use wxListbook class
975 --enable-listbox use wxListBox class
976 --enable-listctrl use wxListCtrl class
977 --enable-notebook use wxNotebook class
978 --enable-radiobox use wxRadioBox class
979 --enable-radiobtn use wxRadioButton class
980 --enable-sash use wxSashWindow class
981 --enable-scrollbar use wxScrollBar class and scrollable windows
982 --enable-slider use wxSlider class
983 --enable-spinbtn use wxSpinButton class
984 --enable-spinctrl use wxSpinCtrl class
985 --enable-splitter use wxSplitterWindow class
986 --enable-statbmp use wxStaticBitmap class
987 --enable-statbox use wxStaticBox class
988 --enable-statline use wxStaticLine class
989 --enable-stattext use wxStaticText class
990 --enable-statusbar use wxStatusBar class
991 --enable-tabdialog use wxTabControl class
992 --enable-textctrl use wxTextCtrl class
993 --enable-togglebtn use wxToggleButton class
994 --enable-toolbar use wxToolBar class
995 --enable-tbarnative use native wxToolBar class
996 --enable-tbarsmpl use wxToolBarSimple class
997 --enable-treectrl use wxTreeCtrl class
998 --enable-tipwindow use wxTipWindow class
999 --enable-popupwin use wxPopUpWindow class
1000 --enable-commondlg use all common dialogs
1001 --enable-choicedlg use wxChoiceDialog
1002 --enable-coldlg use wxColourDialog
1003 --enable-filedlg use wxFileDialog
1004 --enable-finddlg use wxFindReplaceDialog
1005 --enable-fontdlg use wxFontDialog
1006 --enable-dirdlg use wxDirDialog
1007 --enable-msgdlg use wxMessageDialog
1008 --enable-numberdlg use wxNumberEntryDialog
1009 --enable-splash use wxSplashScreen
1010 --enable-textdlg use wxTextDialog
1011 --enable-tipdlg use startup tips
1012 --enable-progressdlg use wxProgressDialog
1013 --enable-wizarddlg use wxWizard
1014 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1015 --enable-miniframe use wxMiniFrame class
1016 --enable-tooltips use wxToolTip class
1017 --enable-splines use spline drawing code
1018 --enable-validators use wxValidator and derived classes
1019 --enable-busyinfo use wxBusyInfo
1020 --enable-joystick use wxJoystick (Linux only)
1021 --enable-metafiles use wxMetaFile (Windows only)
1022 --enable-dragimage use wxDragImage
1023 --enable-accessibility enable accessibility support
1024 --enable-palette use wxPalette class
1025 --enable-image use wxImage class
1026 --enable-gif use gif images (GIF file format)
1027 --enable-pcx use pcx images (PCX file format)
1028 --enable-iff use iff images (IFF file format)
1029 --enable-pnm use pnm images (PNM file format)
1030 --enable-xpm use xpm images (XPM file format)
1031 --enable-icocur use Windows ICO and CUR formats
1032 --enable-official_build official build of wxWindows (win32 DLL only)
1033 --enable-vendor=VENDOR vendor name (win32 DLL only)
1034 --disable-largefile omit support for large files
1035 --disable-gtktest do not try to compile and run a test GTK+ program
1036 --disable-gtktest Do not try to compile and run a test GTK program
1037 --disable-sdltest Do not try to compile and run a test SDL program
1038 --disable-precomp-headers don't use precompiled headers even if compiler can
1039
1040 Optional Packages:
1041 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1042 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1043 --with-gtk use GTK+
1044 --with-motif use Motif/Lesstif
1045 --with-mac use Mac OS X
1046 --with-cocoa use Cocoa
1047 --with-wine use Wine
1048 --with-msw use MS-Windows
1049 --with-pm use OS/2 Presentation Manager
1050 --with-mgl use SciTech MGL
1051 --with-microwin use MicroWindows
1052 --with-x11 use X11
1053 --with-libpng use libpng (PNG image format)
1054 --with-libjpeg use libjpeg (JPEG file format)
1055 --with-libtiff use libtiff (TIFF file format)
1056 --with-libxpm use libxpm (XPM file format)
1057 --with-libmspack use libmspack (CHM help files loading)
1058 --with-sdl use SDL for audio on Unix
1059 --with-opengl use OpenGL (or Mesa)
1060 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1061 --with-regex enable support for wxRegEx class
1062 --with-zlib use zlib for LZW compression
1063 --with-odbc use the IODBC and wxODBC classes
1064 --with-expat enable XML support using expat parser
1065 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1066 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1067 --with-x use the X Window System
1068 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1069 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1070 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1071 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1072 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1073
1074 Some influential environment variables:
1075 CC C compiler command
1076 CFLAGS C compiler flags
1077 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1078 nonstandard directory <lib dir>
1079 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1080 headers in a nonstandard directory <include dir>
1081 CPP C preprocessor
1082 CXX C++ compiler command
1083 CXXFLAGS C++ compiler flags
1084 CXXCPP C++ preprocessor
1085
1086 Use these variables to override the choices made by `configure' or to help
1087 it to find libraries and programs with nonstandard names/locations.
1088
1089 Report bugs to <wx-dev@lists.wxwindows.org>.
1090 _ACEOF
1091 fi
1092
1093 if test "$ac_init_help" = "recursive"; then
1094 # If there are subdirs, report their specific --help.
1095 ac_popdir=`pwd`
1096 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1097 test -d $ac_dir || continue
1098 ac_builddir=.
1099
1100 if test "$ac_dir" != .; then
1101 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1102 # A "../" for each directory in $ac_dir_suffix.
1103 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1104 else
1105 ac_dir_suffix= ac_top_builddir=
1106 fi
1107
1108 case $srcdir in
1109 .) # No --srcdir option. We are building in place.
1110 ac_srcdir=.
1111 if test -z "$ac_top_builddir"; then
1112 ac_top_srcdir=.
1113 else
1114 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1115 fi ;;
1116 [\\/]* | ?:[\\/]* ) # Absolute path.
1117 ac_srcdir=$srcdir$ac_dir_suffix;
1118 ac_top_srcdir=$srcdir ;;
1119 *) # Relative path.
1120 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1121 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1122 esac
1123
1124 # Do not use `cd foo && pwd` to compute absolute paths, because
1125 # the directories may not exist.
1126 case `pwd` in
1127 .) ac_abs_builddir="$ac_dir";;
1128 *)
1129 case "$ac_dir" in
1130 .) ac_abs_builddir=`pwd`;;
1131 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1132 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1133 esac;;
1134 esac
1135 case $ac_abs_builddir in
1136 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1137 *)
1138 case ${ac_top_builddir}. in
1139 .) ac_abs_top_builddir=$ac_abs_builddir;;
1140 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1141 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1142 esac;;
1143 esac
1144 case $ac_abs_builddir in
1145 .) ac_abs_srcdir=$ac_srcdir;;
1146 *)
1147 case $ac_srcdir in
1148 .) ac_abs_srcdir=$ac_abs_builddir;;
1149 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1150 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1151 esac;;
1152 esac
1153 case $ac_abs_builddir in
1154 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1155 *)
1156 case $ac_top_srcdir in
1157 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1158 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1159 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1160 esac;;
1161 esac
1162
1163 cd $ac_dir
1164 # Check for guested configure; otherwise get Cygnus style configure.
1165 if test -f $ac_srcdir/configure.gnu; then
1166 echo
1167 $SHELL $ac_srcdir/configure.gnu --help=recursive
1168 elif test -f $ac_srcdir/configure; then
1169 echo
1170 $SHELL $ac_srcdir/configure --help=recursive
1171 elif test -f $ac_srcdir/configure.ac ||
1172 test -f $ac_srcdir/configure.in; then
1173 echo
1174 $ac_configure --help
1175 else
1176 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1177 fi
1178 cd "$ac_popdir"
1179 done
1180 fi
1181
1182 test -n "$ac_init_help" && exit 0
1183 if $ac_init_version; then
1184 cat <<\_ACEOF
1185 wxWindows configure 2.5.1
1186 generated by GNU Autoconf 2.59
1187
1188 Copyright (C) 2003 Free Software Foundation, Inc.
1189 This configure script is free software; the Free Software Foundation
1190 gives unlimited permission to copy, distribute and modify it.
1191 _ACEOF
1192 exit 0
1193 fi
1194 exec 5>config.log
1195 cat >&5 <<_ACEOF
1196 This file contains any messages produced by compilers while
1197 running configure, to aid debugging if configure makes a mistake.
1198
1199 It was created by wxWindows $as_me 2.5.1, which was
1200 generated by GNU Autoconf 2.59. Invocation command line was
1201
1202 $ $0 $@
1203
1204 _ACEOF
1205 {
1206 cat <<_ASUNAME
1207 ## --------- ##
1208 ## Platform. ##
1209 ## --------- ##
1210
1211 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1212 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1213 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1214 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1215 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1216
1217 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1218 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1219
1220 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1221 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1222 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1223 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1224 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1225 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1226 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1227
1228 _ASUNAME
1229
1230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1231 for as_dir in $PATH
1232 do
1233 IFS=$as_save_IFS
1234 test -z "$as_dir" && as_dir=.
1235 echo "PATH: $as_dir"
1236 done
1237
1238 } >&5
1239
1240 cat >&5 <<_ACEOF
1241
1242
1243 ## ----------- ##
1244 ## Core tests. ##
1245 ## ----------- ##
1246
1247 _ACEOF
1248
1249
1250 # Keep a trace of the command line.
1251 # Strip out --no-create and --no-recursion so they do not pile up.
1252 # Strip out --silent because we don't want to record it for future runs.
1253 # Also quote any args containing shell meta-characters.
1254 # Make two passes to allow for proper duplicate-argument suppression.
1255 ac_configure_args=
1256 ac_configure_args0=
1257 ac_configure_args1=
1258 ac_sep=
1259 ac_must_keep_next=false
1260 for ac_pass in 1 2
1261 do
1262 for ac_arg
1263 do
1264 case $ac_arg in
1265 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1266 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1267 | -silent | --silent | --silen | --sile | --sil)
1268 continue ;;
1269 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1270 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1271 esac
1272 case $ac_pass in
1273 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1274 2)
1275 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1276 if test $ac_must_keep_next = true; then
1277 ac_must_keep_next=false # Got value, back to normal.
1278 else
1279 case $ac_arg in
1280 *=* | --config-cache | -C | -disable-* | --disable-* \
1281 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1282 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1283 | -with-* | --with-* | -without-* | --without-* | --x)
1284 case "$ac_configure_args0 " in
1285 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1286 esac
1287 ;;
1288 -* ) ac_must_keep_next=true ;;
1289 esac
1290 fi
1291 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1292 # Get rid of the leading space.
1293 ac_sep=" "
1294 ;;
1295 esac
1296 done
1297 done
1298 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1299 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1300
1301 # When interrupted or exit'd, cleanup temporary files, and complete
1302 # config.log. We remove comments because anyway the quotes in there
1303 # would cause problems or look ugly.
1304 # WARNING: Be sure not to use single quotes in there, as some shells,
1305 # such as our DU 5.0 friend, will then `close' the trap.
1306 trap 'exit_status=$?
1307 # Save into config.log some information that might help in debugging.
1308 {
1309 echo
1310
1311 cat <<\_ASBOX
1312 ## ---------------- ##
1313 ## Cache variables. ##
1314 ## ---------------- ##
1315 _ASBOX
1316 echo
1317 # The following way of writing the cache mishandles newlines in values,
1318 {
1319 (set) 2>&1 |
1320 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1321 *ac_space=\ *)
1322 sed -n \
1323 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1324 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1325 ;;
1326 *)
1327 sed -n \
1328 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1329 ;;
1330 esac;
1331 }
1332 echo
1333
1334 cat <<\_ASBOX
1335 ## ----------------- ##
1336 ## Output variables. ##
1337 ## ----------------- ##
1338 _ASBOX
1339 echo
1340 for ac_var in $ac_subst_vars
1341 do
1342 eval ac_val=$`echo $ac_var`
1343 echo "$ac_var='"'"'$ac_val'"'"'"
1344 done | sort
1345 echo
1346
1347 if test -n "$ac_subst_files"; then
1348 cat <<\_ASBOX
1349 ## ------------- ##
1350 ## Output files. ##
1351 ## ------------- ##
1352 _ASBOX
1353 echo
1354 for ac_var in $ac_subst_files
1355 do
1356 eval ac_val=$`echo $ac_var`
1357 echo "$ac_var='"'"'$ac_val'"'"'"
1358 done | sort
1359 echo
1360 fi
1361
1362 if test -s confdefs.h; then
1363 cat <<\_ASBOX
1364 ## ----------- ##
1365 ## confdefs.h. ##
1366 ## ----------- ##
1367 _ASBOX
1368 echo
1369 sed "/^$/d" confdefs.h | sort
1370 echo
1371 fi
1372 test "$ac_signal" != 0 &&
1373 echo "$as_me: caught signal $ac_signal"
1374 echo "$as_me: exit $exit_status"
1375 } >&5
1376 rm -f core *.core &&
1377 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1378 exit $exit_status
1379 ' 0
1380 for ac_signal in 1 2 13 15; do
1381 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1382 done
1383 ac_signal=0
1384
1385 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1386 rm -rf conftest* confdefs.h
1387 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1388 echo >confdefs.h
1389
1390 # Predefined preprocessor variables.
1391
1392 cat >>confdefs.h <<_ACEOF
1393 #define PACKAGE_NAME "$PACKAGE_NAME"
1394 _ACEOF
1395
1396
1397 cat >>confdefs.h <<_ACEOF
1398 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1399 _ACEOF
1400
1401
1402 cat >>confdefs.h <<_ACEOF
1403 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1404 _ACEOF
1405
1406
1407 cat >>confdefs.h <<_ACEOF
1408 #define PACKAGE_STRING "$PACKAGE_STRING"
1409 _ACEOF
1410
1411
1412 cat >>confdefs.h <<_ACEOF
1413 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1414 _ACEOF
1415
1416
1417 # Let the site file select an alternate cache file if it wants to.
1418 # Prefer explicitly selected file to automatically selected ones.
1419 if test -z "$CONFIG_SITE"; then
1420 if test "x$prefix" != xNONE; then
1421 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1422 else
1423 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1424 fi
1425 fi
1426 for ac_site_file in $CONFIG_SITE; do
1427 if test -r "$ac_site_file"; then
1428 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1429 echo "$as_me: loading site script $ac_site_file" >&6;}
1430 sed 's/^/| /' "$ac_site_file" >&5
1431 . "$ac_site_file"
1432 fi
1433 done
1434
1435 if test -r "$cache_file"; then
1436 # Some versions of bash will fail to source /dev/null (special
1437 # files actually), so we avoid doing that.
1438 if test -f "$cache_file"; then
1439 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1440 echo "$as_me: loading cache $cache_file" >&6;}
1441 case $cache_file in
1442 [\\/]* | ?:[\\/]* ) . $cache_file;;
1443 *) . ./$cache_file;;
1444 esac
1445 fi
1446 else
1447 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1448 echo "$as_me: creating cache $cache_file" >&6;}
1449 >$cache_file
1450 fi
1451
1452 # Check that the precious variables saved in the cache have kept the same
1453 # value.
1454 ac_cache_corrupted=false
1455 for ac_var in `(set) 2>&1 |
1456 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1457 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1458 eval ac_new_set=\$ac_env_${ac_var}_set
1459 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1460 eval ac_new_val="\$ac_env_${ac_var}_value"
1461 case $ac_old_set,$ac_new_set in
1462 set,)
1463 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1464 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1465 ac_cache_corrupted=: ;;
1466 ,set)
1467 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1468 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1469 ac_cache_corrupted=: ;;
1470 ,);;
1471 *)
1472 if test "x$ac_old_val" != "x$ac_new_val"; then
1473 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1474 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1475 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1476 echo "$as_me: former value: $ac_old_val" >&2;}
1477 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1478 echo "$as_me: current value: $ac_new_val" >&2;}
1479 ac_cache_corrupted=:
1480 fi;;
1481 esac
1482 # Pass precious variables to config.status.
1483 if test "$ac_new_set" = set; then
1484 case $ac_new_val in
1485 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1486 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1487 *) ac_arg=$ac_var=$ac_new_val ;;
1488 esac
1489 case " $ac_configure_args " in
1490 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1491 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1492 esac
1493 fi
1494 done
1495 if $ac_cache_corrupted; then
1496 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1497 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1498 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1499 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1500 { (exit 1); exit 1; }; }
1501 fi
1502
1503 ac_ext=c
1504 ac_cpp='$CPP $CPPFLAGS'
1505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1508
1509
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 ac_aux_dir=
1539 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1540 if test -f $ac_dir/install-sh; then
1541 ac_aux_dir=$ac_dir
1542 ac_install_sh="$ac_aux_dir/install-sh -c"
1543 break
1544 elif test -f $ac_dir/install.sh; then
1545 ac_aux_dir=$ac_dir
1546 ac_install_sh="$ac_aux_dir/install.sh -c"
1547 break
1548 elif test -f $ac_dir/shtool; then
1549 ac_aux_dir=$ac_dir
1550 ac_install_sh="$ac_aux_dir/shtool install -c"
1551 break
1552 fi
1553 done
1554 if test -z "$ac_aux_dir"; then
1555 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1556 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1557 { (exit 1); exit 1; }; }
1558 fi
1559 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1560 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1561 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1562
1563 # Make sure we can run config.sub.
1564 $ac_config_sub sun4 >/dev/null 2>&1 ||
1565 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1566 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1567 { (exit 1); exit 1; }; }
1568
1569 echo "$as_me:$LINENO: checking build system type" >&5
1570 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1571 if test "${ac_cv_build+set}" = set; then
1572 echo $ECHO_N "(cached) $ECHO_C" >&6
1573 else
1574 ac_cv_build_alias=$build_alias
1575 test -z "$ac_cv_build_alias" &&
1576 ac_cv_build_alias=`$ac_config_guess`
1577 test -z "$ac_cv_build_alias" &&
1578 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1579 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1580 { (exit 1); exit 1; }; }
1581 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1582 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1583 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1584 { (exit 1); exit 1; }; }
1585
1586 fi
1587 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1588 echo "${ECHO_T}$ac_cv_build" >&6
1589 build=$ac_cv_build
1590 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1591 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1592 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1593
1594
1595 echo "$as_me:$LINENO: checking host system type" >&5
1596 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1597 if test "${ac_cv_host+set}" = set; then
1598 echo $ECHO_N "(cached) $ECHO_C" >&6
1599 else
1600 ac_cv_host_alias=$host_alias
1601 test -z "$ac_cv_host_alias" &&
1602 ac_cv_host_alias=$ac_cv_build_alias
1603 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1604 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1605 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1606 { (exit 1); exit 1; }; }
1607
1608 fi
1609 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1610 echo "${ECHO_T}$ac_cv_host" >&6
1611 host=$ac_cv_host
1612 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1613 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1614 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1615
1616
1617 echo "$as_me:$LINENO: checking target system type" >&5
1618 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1619 if test "${ac_cv_target+set}" = set; then
1620 echo $ECHO_N "(cached) $ECHO_C" >&6
1621 else
1622 ac_cv_target_alias=$target_alias
1623 test "x$ac_cv_target_alias" = "x" &&
1624 ac_cv_target_alias=$ac_cv_host_alias
1625 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1626 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1627 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1628 { (exit 1); exit 1; }; }
1629
1630 fi
1631 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1632 echo "${ECHO_T}$ac_cv_target" >&6
1633 target=$ac_cv_target
1634 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1635 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1636 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1637
1638
1639 # The aliases save the names the user supplied, while $host etc.
1640 # will get canonicalized.
1641 test -n "$target_alias" &&
1642 test "$program_prefix$program_suffix$program_transform_name" = \
1643 NONENONEs,x,x, &&
1644 program_prefix=${target_alias}-
1645
1646
1647
1648 WX_MAJOR_VERSION_NUMBER=2
1649 WX_MINOR_VERSION_NUMBER=5
1650 WX_RELEASE_NUMBER=1
1651
1652 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1653 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1654
1655 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1656
1657 WX_CURRENT=1
1658 WX_REVISION=0
1659 WX_AGE=0
1660
1661
1662
1663 USE_UNIX=1
1664 USE_OS2=0
1665 USE_WIN32=0
1666 USE_DOS=0
1667 USE_BEOS=0
1668 USE_MAC=0
1669
1670 USE_AIX=
1671 USE_BSD= USE_DARWIN= USE_FREEBSD=
1672 USE_GNU= USE_HPUX=
1673 USE_LINUX=
1674 USE_NETBSD=
1675 USE_OPENBSD=
1676 USE_OSF= USE_SGI=
1677 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1678 USE_ULTRIX=
1679 USE_UNIXWARE=
1680
1681 USE_ALPHA=
1682
1683 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1684
1685 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1686
1687 DEFAULT_wxUSE_COCOA=0
1688 DEFAULT_wxUSE_GTK=0
1689 DEFAULT_wxUSE_MAC=0
1690 DEFAULT_wxUSE_MGL=0
1691 DEFAULT_wxUSE_MICROWIN=0
1692 DEFAULT_wxUSE_MOTIF=0
1693 DEFAULT_wxUSE_MSW=0
1694 DEFAULT_wxUSE_PM=0
1695 DEFAULT_wxUSE_X11=0
1696
1697 DEFAULT_DEFAULT_wxUSE_COCOA=0
1698 DEFAULT_DEFAULT_wxUSE_GTK=0
1699 DEFAULT_DEFAULT_wxUSE_MAC=0
1700 DEFAULT_DEFAULT_wxUSE_MGL=0
1701 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1702 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1703 DEFAULT_DEFAULT_wxUSE_MSW=0
1704 DEFAULT_DEFAULT_wxUSE_PM=0
1705 DEFAULT_DEFAULT_wxUSE_X11=0
1706
1707 PROGRAM_EXT=
1708 SO_SUFFIX=so
1709 SAMPLES_RPATH_FLAG=
1710 SAMPLES_RPATH_POSTLINK=
1711
1712 case "${host}" in
1713 *-hp-hpux* )
1714 USE_HPUX=1
1715 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1716 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1717 SO_SUFFIX=sl
1718 cat >>confdefs.h <<\_ACEOF
1719 #define __HPUX__ 1
1720 _ACEOF
1721
1722 ;;
1723 *-*-linux* )
1724 USE_LINUX=1
1725 cat >>confdefs.h <<\_ACEOF
1726 #define __LINUX__ 1
1727 _ACEOF
1728
1729 TMP=`uname -m`
1730 if test "x$TMP" = "xalpha"; then
1731 USE_ALPHA=1
1732 cat >>confdefs.h <<\_ACEOF
1733 #define __ALPHA__ 1
1734 _ACEOF
1735
1736 fi
1737 DEFAULT_DEFAULT_wxUSE_GTK=1
1738 ;;
1739 *-*-gnu* | *-*-k*bsd*-gnu )
1740 USE_GNU=1
1741 TMP=`uname -m`
1742 if test "x$TMP" = "xalpha"; then
1743 USE_ALPHA=1
1744 cat >>confdefs.h <<\_ACEOF
1745 #define __ALPHA__ 1
1746 _ACEOF
1747
1748 fi
1749 DEFAULT_DEFAULT_wxUSE_GTK=1
1750 ;;
1751 *-*-irix5* | *-*-irix6* )
1752 USE_SGI=1
1753 USE_SVR4=1
1754 cat >>confdefs.h <<\_ACEOF
1755 #define __SGI__ 1
1756 _ACEOF
1757
1758 cat >>confdefs.h <<\_ACEOF
1759 #define __SVR4__ 1
1760 _ACEOF
1761
1762 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1763 ;;
1764 *-*-solaris2* )
1765 USE_SUN=1
1766 USE_SOLARIS=1
1767 USE_SVR4=1
1768 cat >>confdefs.h <<\_ACEOF
1769 #define __SUN__ 1
1770 _ACEOF
1771
1772 cat >>confdefs.h <<\_ACEOF
1773 #define __SOLARIS__ 1
1774 _ACEOF
1775
1776 cat >>confdefs.h <<\_ACEOF
1777 #define __SVR4__ 1
1778 _ACEOF
1779
1780 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1781 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1782 ;;
1783 *-*-sunos4* )
1784 USE_SUN=1
1785 USE_SUNOS=1
1786 USE_BSD=1
1787 cat >>confdefs.h <<\_ACEOF
1788 #define __SUN__ 1
1789 _ACEOF
1790
1791 cat >>confdefs.h <<\_ACEOF
1792 #define __SUNOS__ 1
1793 _ACEOF
1794
1795 cat >>confdefs.h <<\_ACEOF
1796 #define __BSD__ 1
1797 _ACEOF
1798
1799 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1800 ;;
1801 *-*-freebsd*)
1802 USE_BSD=1
1803 USE_FREEBSD=1
1804 cat >>confdefs.h <<\_ACEOF
1805 #define __FREEBSD__ 1
1806 _ACEOF
1807
1808 cat >>confdefs.h <<\_ACEOF
1809 #define __BSD__ 1
1810 _ACEOF
1811
1812 DEFAULT_DEFAULT_wxUSE_GTK=1
1813 ;;
1814 *-*-openbsd*)
1815 USE_BSD=1
1816 USE_OPENBSD=1
1817 cat >>confdefs.h <<\_ACEOF
1818 #define __OPENBSD__ 1
1819 _ACEOF
1820
1821 cat >>confdefs.h <<\_ACEOF
1822 #define __BSD__ 1
1823 _ACEOF
1824
1825 DEFAULT_DEFAULT_wxUSE_GTK=1
1826 ;;
1827 *-*-netbsd*)
1828 USE_BSD=1
1829 USE_NETBSD=1
1830 cat >>confdefs.h <<\_ACEOF
1831 #define __NETBSD__ 1
1832 _ACEOF
1833
1834 cat >>confdefs.h <<\_ACEOF
1835 #define __BSD__ 1
1836 _ACEOF
1837
1838 DEFAULT_DEFAULT_wxUSE_GTK=1
1839 ;;
1840 *-*-osf* )
1841 USE_ALPHA=1
1842 USE_OSF=1
1843 cat >>confdefs.h <<\_ACEOF
1844 #define __ALPHA__ 1
1845 _ACEOF
1846
1847 cat >>confdefs.h <<\_ACEOF
1848 #define __OSF__ 1
1849 _ACEOF
1850
1851 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1852 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1853 ;;
1854 *-*-dgux5* )
1855 USE_ALPHA=1
1856 USE_SVR4=1
1857 cat >>confdefs.h <<\_ACEOF
1858 #define __ALPHA__ 1
1859 _ACEOF
1860
1861 cat >>confdefs.h <<\_ACEOF
1862 #define __SVR4__ 1
1863 _ACEOF
1864
1865 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1866 ;;
1867 *-*-sysv5* )
1868 USE_SYSV=1
1869 USE_SVR4=1
1870 cat >>confdefs.h <<\_ACEOF
1871 #define __SYSV__ 1
1872 _ACEOF
1873
1874 cat >>confdefs.h <<\_ACEOF
1875 #define __SVR4__ 1
1876 _ACEOF
1877
1878 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1879 ;;
1880 *-*-aix* )
1881 USE_AIX=1
1882 USE_SYSV=1
1883 USE_SVR4=1
1884 SO_SUFFIX=a
1885 cat >>confdefs.h <<\_ACEOF
1886 #define __AIX__ 1
1887 _ACEOF
1888
1889 cat >>confdefs.h <<\_ACEOF
1890 #define __SYSV__ 1
1891 _ACEOF
1892
1893 cat >>confdefs.h <<\_ACEOF
1894 #define __SVR4__ 1
1895 _ACEOF
1896
1897 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1898 ;;
1899
1900 *-*-*UnixWare*)
1901 USE_SYSV=1
1902 USE_SVR4=1
1903 USE_UNIXWARE=1
1904 cat >>confdefs.h <<\_ACEOF
1905 #define __UNIXWARE__ 1
1906 _ACEOF
1907
1908 ;;
1909
1910 *-*-cygwin* | *-*-mingw32* )
1911 SO_SUFFIX=dll
1912 PROGRAM_EXT=".exe"
1913 RESCOMP=windres
1914 DEFAULT_DEFAULT_wxUSE_MSW=1
1915 ;;
1916
1917 *-pc-msdosdjgpp )
1918 USE_UNIX=0
1919 USE_DOS=1
1920 cat >>confdefs.h <<\_ACEOF
1921 #define __DOS__ 1
1922 _ACEOF
1923
1924 PROGRAM_EXT=".exe"
1925 DEFAULT_DEFAULT_wxUSE_MGL=1
1926 LIBS="$LIBS -lstdc++"
1927 ;;
1928
1929 *-pc-os2_emx | *-pc-os2-emx )
1930 cat >>confdefs.h <<\_ACEOF
1931 #define __EMX__ 1
1932 _ACEOF
1933
1934 USE_OS2=1
1935 cat >>confdefs.h <<\_ACEOF
1936 #define __OS2__ 1
1937 _ACEOF
1938
1939 PROGRAM_EXT=".exe"
1940 DEFAULT_DEFAULT_wxUSE_PM=1
1941 CXX=gcc
1942 LDFLAGS="$LDFLAGS -Zcrtdll"
1943 ac_executable_extensions=".exe"
1944 export ac_executable_extensions
1945 ac_save_IFS="$IFS"
1946 IFS='\\'
1947 ac_TEMP_PATH=
1948 for ac_dir in $PATH; do
1949 IFS=$ac_save_IFS
1950 if test -z "$ac_TEMP_PATH"; then
1951 ac_TEMP_PATH="$ac_dir"
1952 else
1953 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1954 fi
1955 done
1956 export PATH="$ac_TEMP_PATH"
1957 unset ac_TEMP_PATH
1958 ;;
1959
1960 powerpc-*-darwin* )
1961 USE_BSD=1
1962 USE_DARWIN=1
1963 SO_SUFFIX=dylib
1964 cat >>confdefs.h <<\_ACEOF
1965 #define __BSD__ 1
1966 _ACEOF
1967
1968 cat >>confdefs.h <<\_ACEOF
1969 #define __DARWIN__ 1
1970 _ACEOF
1971
1972 cat >>confdefs.h <<\_ACEOF
1973 #define __POWERPC__ 1
1974 _ACEOF
1975
1976 cat >>confdefs.h <<\_ACEOF
1977 #define TARGET_CARBON 1
1978 _ACEOF
1979
1980 DEFAULT_DEFAULT_wxUSE_MAC=1
1981 ;;
1982
1983 *-*-beos* )
1984 USE_BEOS=1
1985 cat >>confdefs.h <<\_ACEOF
1986 #define __BEOS__ 1
1987 _ACEOF
1988
1989 ;;
1990
1991 *)
1992 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1993 echo "$as_me: error: unknown system type ${host}." >&2;}
1994 { (exit 1); exit 1; }; }
1995 esac
1996
1997
1998
1999
2000 wx_arg_cache_file="configarg.cache"
2001 echo "loading argument cache $wx_arg_cache_file"
2002 rm -f ${wx_arg_cache_file}.tmp
2003 touch ${wx_arg_cache_file}.tmp
2004 touch ${wx_arg_cache_file}
2005
2006
2007 DEBUG_CONFIGURE=0
2008 if test $DEBUG_CONFIGURE = 1; then
2009 DEFAULT_wxUSE_UNIVERSAL=no
2010 DEFAULT_wxUSE_STL=no
2011
2012 DEFAULT_wxUSE_NANOX=no
2013
2014 DEFAULT_wxUSE_THREADS=yes
2015
2016 DEFAULT_wxUSE_SHARED=yes
2017 DEFAULT_wxUSE_OPTIMISE=no
2018 DEFAULT_wxUSE_PROFILE=no
2019 DEFAULT_wxUSE_NO_DEPS=no
2020 DEFAULT_wxUSE_NO_RTTI=no
2021 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2022 DEFAULT_wxUSE_PERMISSIVE=no
2023 DEFAULT_wxUSE_DEBUG_FLAG=yes
2024 DEFAULT_wxUSE_DEBUG_INFO=yes
2025 DEFAULT_wxUSE_DEBUG_GDB=yes
2026 DEFAULT_wxUSE_MEM_TRACING=no
2027 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2028 DEFAULT_wxUSE_DMALLOC=no
2029 DEFAULT_wxUSE_APPLE_IEEE=no
2030
2031 DEFAULT_wxUSE_EXCEPTIONS=no
2032 DEFAULT_wxUSE_LOG=yes
2033 DEFAULT_wxUSE_LOGWINDOW=no
2034 DEFAULT_wxUSE_LOGGUI=no
2035 DEFAULT_wxUSE_LOGDIALOG=no
2036
2037 DEFAULT_wxUSE_GUI=yes
2038 DEFAULT_wxUSE_CONTROLS=no
2039
2040 DEFAULT_wxUSE_REGEX=no
2041 DEFAULT_wxUSE_XML=no
2042 DEFAULT_wxUSE_EXPAT=no
2043 DEFAULT_wxUSE_ZLIB=no
2044 DEFAULT_wxUSE_LIBPNG=no
2045 DEFAULT_wxUSE_LIBJPEG=no
2046 DEFAULT_wxUSE_LIBTIFF=no
2047 DEFAULT_wxUSE_LIBXPM=no
2048 DEFAULT_wxUSE_LIBMSPACK=no
2049 DEFAULT_wxUSE_LIBSDL=no
2050 DEFAULT_wxUSE_ODBC=no
2051 DEFAULT_wxUSE_OPENGL=no
2052
2053 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2054 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2055 DEFAULT_wxUSE_STD_IOSTREAM=no
2056 DEFAULT_wxUSE_CMDLINE_PARSER=no
2057 DEFAULT_wxUSE_DATETIME=no
2058 DEFAULT_wxUSE_TIMER=no
2059 DEFAULT_wxUSE_STOPWATCH=no
2060 DEFAULT_wxUSE_FILE=no
2061 DEFAULT_wxUSE_FFILE=no
2062 DEFAULT_wxUSE_TEXTBUFFER=no
2063 DEFAULT_wxUSE_TEXTFILE=no
2064 DEFAULT_wxUSE_SOUND=no
2065 DEFAULT_wxUSE_INTL=no
2066 DEFAULT_wxUSE_CONFIG=no
2067 DEFAULT_wxUSE_FONTMAP=no
2068 DEFAULT_wxUSE_STREAMS=no
2069 DEFAULT_wxUSE_SOCKETS=no
2070 DEFAULT_wxUSE_OLE=no
2071 DEFAULT_wxUSE_DATAOBJ=no
2072 DEFAULT_wxUSE_DIALUP_MANAGER=no
2073 DEFAULT_wxUSE_JOYSTICK=no
2074 DEFAULT_wxUSE_DYNLIB_CLASS=no
2075 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2076 DEFAULT_wxUSE_LONGLONG=no
2077 DEFAULT_wxUSE_GEOMETRY=no
2078
2079 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2080 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2081 DEFAULT_wxUSE_POSTSCRIPT=no
2082
2083 DEFAULT_wxUSE_CLIPBOARD=no
2084 DEFAULT_wxUSE_TOOLTIPS=no
2085 DEFAULT_wxUSE_DRAG_AND_DROP=no
2086 DEFAULT_wxUSE_DRAGIMAGE=no
2087 DEFAULT_wxUSE_SPLINES=no
2088
2089 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2090 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2091 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2092
2093 DEFAULT_wxUSE_RESOURCES=no
2094 DEFAULT_wxUSE_CONSTRAINTS=no
2095 DEFAULT_wxUSE_IPC=no
2096 DEFAULT_wxUSE_HELP=no
2097 DEFAULT_wxUSE_MS_HTML_HELP=no
2098 DEFAULT_wxUSE_WXHTML_HELP=no
2099 DEFAULT_wxUSE_TREELAYOUT=no
2100 DEFAULT_wxUSE_METAFILE=no
2101 DEFAULT_wxUSE_MIMETYPE=no
2102 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2103 DEFAULT_wxUSE_PROTOCOL=no
2104 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2105 DEFAULT_wxUSE_PROTOCOL_FTP=no
2106 DEFAULT_wxUSE_PROTOCOL_FILE=no
2107 DEFAULT_wxUSE_URL=no
2108
2109 DEFAULT_wxUSE_COMMONDLGS=no
2110 DEFAULT_wxUSE_CHOICEDLG=no
2111 DEFAULT_wxUSE_COLOURDLG=no
2112 DEFAULT_wxUSE_DIRDLG=no
2113 DEFAULT_wxUSE_FILEDLG=no
2114 DEFAULT_wxUSE_FINDREPLDLG=no
2115 DEFAULT_wxUSE_FONTDLG=no
2116 DEFAULT_wxUSE_MSGDLG=no
2117 DEFAULT_wxUSE_NUMBERDLG=no
2118 DEFAULT_wxUSE_TEXTDLG=no
2119 DEFAULT_wxUSE_SPLASH=no
2120 DEFAULT_wxUSE_STARTUP_TIPS=no
2121 DEFAULT_wxUSE_PROGRESSDLG=no
2122 DEFAULT_wxUSE_WIZARDDLG=no
2123
2124 DEFAULT_wxUSE_MENUS=no
2125 DEFAULT_wxUSE_MINIFRAME=no
2126 DEFAULT_wxUSE_HTML=no
2127 DEFAULT_wxUSE_FILESYSTEM=no
2128 DEFAULT_wxUSE_FS_INET=no
2129 DEFAULT_wxUSE_FS_ZIP=no
2130 DEFAULT_wxUSE_BUSYINFO=no
2131 DEFAULT_wxUSE_ZIPSTREAM=no
2132 DEFAULT_wxUSE_GZSTREAM=no
2133 DEFAULT_wxUSE_VALIDATORS=no
2134
2135 DEFAULT_wxUSE_ACCEL=no
2136 DEFAULT_wxUSE_BUTTON=no
2137 DEFAULT_wxUSE_BMPBUTTON=no
2138 DEFAULT_wxUSE_CALCTRL=no
2139 DEFAULT_wxUSE_CARET=no
2140 DEFAULT_wxUSE_CHECKBOX=no
2141 DEFAULT_wxUSE_CHECKLST=no
2142 DEFAULT_wxUSE_CHOICE=no
2143 DEFAULT_wxUSE_COMBOBOX=no
2144 DEFAULT_wxUSE_DISPLAY=no
2145 DEFAULT_wxUSE_GAUGE=no
2146 DEFAULT_wxUSE_GRID=no
2147 DEFAULT_wxUSE_IMAGLIST=no
2148 DEFAULT_wxUSE_LISTBOOK=no
2149 DEFAULT_wxUSE_LISTBOX=no
2150 DEFAULT_wxUSE_LISTCTRL=no
2151 DEFAULT_wxUSE_NOTEBOOK=no
2152 DEFAULT_wxUSE_RADIOBOX=no
2153 DEFAULT_wxUSE_RADIOBTN=no
2154 DEFAULT_wxUSE_SASH=no
2155 DEFAULT_wxUSE_SCROLLBAR=no
2156 DEFAULT_wxUSE_SLIDER=no
2157 DEFAULT_wxUSE_SPINBTN=no
2158 DEFAULT_wxUSE_SPINCTRL=no
2159 DEFAULT_wxUSE_SPLITTER=no
2160 DEFAULT_wxUSE_STATBMP=no
2161 DEFAULT_wxUSE_STATBOX=no
2162 DEFAULT_wxUSE_STATLINE=no
2163 DEFAULT_wxUSE_STATTEXT=no
2164 DEFAULT_wxUSE_STATUSBAR=yes
2165 DEFAULT_wxUSE_TABDIALOG=no
2166 DEFAULT_wxUSE_TEXTCTRL=no
2167 DEFAULT_wxUSE_TOGGLEBTN=no
2168 DEFAULT_wxUSE_TOOLBAR=no
2169 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2170 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2171 DEFAULT_wxUSE_TREECTRL=no
2172 DEFAULT_wxUSE_POPUPWIN=no
2173 DEFAULT_wxUSE_TIPWINDOW=no
2174
2175 DEFAULT_wxUSE_UNICODE=no
2176 DEFAULT_wxUSE_UNICODE_MSLU=no
2177 DEFAULT_wxUSE_WCSRTOMBS=no
2178
2179 DEFAULT_wxUSE_PALETTE=no
2180 DEFAULT_wxUSE_IMAGE=no
2181 DEFAULT_wxUSE_GIF=no
2182 DEFAULT_wxUSE_PCX=no
2183 DEFAULT_wxUSE_PNM=no
2184 DEFAULT_wxUSE_IFF=no
2185 DEFAULT_wxUSE_XPM=no
2186 DEFAULT_wxUSE_ICO_CUR=no
2187 DEFAULT_wxUSE_ACCESSIBILITY=no
2188
2189 DEFAULT_wxUSE_MONOLITHIC=no
2190 DEFAULT_wxUSE_PLUGINS=no
2191 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2192 else
2193 DEFAULT_wxUSE_UNIVERSAL=no
2194 DEFAULT_wxUSE_STL=no
2195
2196 DEFAULT_wxUSE_NANOX=no
2197
2198 DEFAULT_wxUSE_THREADS=yes
2199
2200 DEFAULT_wxUSE_SHARED=yes
2201 DEFAULT_wxUSE_OPTIMISE=yes
2202 DEFAULT_wxUSE_PROFILE=no
2203 DEFAULT_wxUSE_NO_DEPS=no
2204 DEFAULT_wxUSE_NO_RTTI=no
2205 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2206 DEFAULT_wxUSE_PERMISSIVE=no
2207 DEFAULT_wxUSE_DEBUG_FLAG=no
2208 DEFAULT_wxUSE_DEBUG_INFO=no
2209 DEFAULT_wxUSE_DEBUG_GDB=no
2210 DEFAULT_wxUSE_MEM_TRACING=no
2211 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2212 DEFAULT_wxUSE_DMALLOC=no
2213 DEFAULT_wxUSE_APPLE_IEEE=yes
2214
2215 DEFAULT_wxUSE_EXCEPTIONS=yes
2216 DEFAULT_wxUSE_LOG=yes
2217 DEFAULT_wxUSE_LOGWINDOW=yes
2218 DEFAULT_wxUSE_LOGGUI=yes
2219 DEFAULT_wxUSE_LOGDIALOG=yes
2220
2221 DEFAULT_wxUSE_GUI=yes
2222
2223 DEFAULT_wxUSE_REGEX=yes
2224 DEFAULT_wxUSE_XML=yes
2225 DEFAULT_wxUSE_EXPAT=yes
2226 DEFAULT_wxUSE_ZLIB=yes
2227 DEFAULT_wxUSE_LIBPNG=yes
2228 DEFAULT_wxUSE_LIBJPEG=yes
2229 DEFAULT_wxUSE_LIBTIFF=yes
2230 DEFAULT_wxUSE_LIBXPM=yes
2231 DEFAULT_wxUSE_LIBMSPACK=yes
2232 DEFAULT_wxUSE_LIBSDL=no
2233 DEFAULT_wxUSE_ODBC=no
2234 DEFAULT_wxUSE_OPENGL=no
2235
2236 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2237 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2238 DEFAULT_wxUSE_STD_IOSTREAM=no
2239 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2240 DEFAULT_wxUSE_DATETIME=yes
2241 DEFAULT_wxUSE_TIMER=yes
2242 DEFAULT_wxUSE_STOPWATCH=yes
2243 DEFAULT_wxUSE_FILE=yes
2244 DEFAULT_wxUSE_FFILE=yes
2245 DEFAULT_wxUSE_TEXTBUFFER=yes
2246 DEFAULT_wxUSE_TEXTFILE=yes
2247 DEFAULT_wxUSE_SOUND=yes
2248 DEFAULT_wxUSE_INTL=yes
2249 DEFAULT_wxUSE_CONFIG=yes
2250 DEFAULT_wxUSE_FONTMAP=yes
2251 DEFAULT_wxUSE_STREAMS=yes
2252 DEFAULT_wxUSE_SOCKETS=yes
2253 DEFAULT_wxUSE_OLE=yes
2254 DEFAULT_wxUSE_DATAOBJ=yes
2255 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2256 DEFAULT_wxUSE_JOYSTICK=yes
2257 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2258 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2259 DEFAULT_wxUSE_LONGLONG=yes
2260 DEFAULT_wxUSE_GEOMETRY=yes
2261
2262 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2263 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2264 DEFAULT_wxUSE_POSTSCRIPT=yes
2265
2266 DEFAULT_wxUSE_CLIPBOARD=yes
2267 DEFAULT_wxUSE_TOOLTIPS=yes
2268 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2269 DEFAULT_wxUSE_DRAGIMAGE=yes
2270 DEFAULT_wxUSE_SPLINES=yes
2271
2272 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2273 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2274 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2275
2276 DEFAULT_wxUSE_RESOURCES=no
2277 DEFAULT_wxUSE_CONSTRAINTS=yes
2278 DEFAULT_wxUSE_IPC=yes
2279 DEFAULT_wxUSE_HELP=yes
2280 DEFAULT_wxUSE_MS_HTML_HELP=yes
2281 DEFAULT_wxUSE_WXHTML_HELP=yes
2282 DEFAULT_wxUSE_TREELAYOUT=yes
2283 DEFAULT_wxUSE_METAFILE=yes
2284 DEFAULT_wxUSE_MIMETYPE=yes
2285 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2286 DEFAULT_wxUSE_PROTOCOL=yes
2287 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2288 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2289 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2290 DEFAULT_wxUSE_URL=yes
2291
2292 DEFAULT_wxUSE_COMMONDLGS=yes
2293 DEFAULT_wxUSE_CHOICEDLG=yes
2294 DEFAULT_wxUSE_COLOURDLG=yes
2295 DEFAULT_wxUSE_DIRDLG=yes
2296 DEFAULT_wxUSE_FILEDLG=yes
2297 DEFAULT_wxUSE_FINDREPLDLG=yes
2298 DEFAULT_wxUSE_FONTDLG=yes
2299 DEFAULT_wxUSE_MSGDLG=yes
2300 DEFAULT_wxUSE_NUMBERDLG=yes
2301 DEFAULT_wxUSE_TEXTDLG=yes
2302 DEFAULT_wxUSE_SPLASH=yes
2303 DEFAULT_wxUSE_STARTUP_TIPS=yes
2304 DEFAULT_wxUSE_PROGRESSDLG=yes
2305 DEFAULT_wxUSE_WIZARDDLG=yes
2306
2307 DEFAULT_wxUSE_MENUS=yes
2308 DEFAULT_wxUSE_MINIFRAME=yes
2309 DEFAULT_wxUSE_HTML=yes
2310 DEFAULT_wxUSE_FILESYSTEM=yes
2311 DEFAULT_wxUSE_FS_INET=yes
2312 DEFAULT_wxUSE_FS_ZIP=yes
2313 DEFAULT_wxUSE_BUSYINFO=yes
2314 DEFAULT_wxUSE_ZIPSTREAM=yes
2315 DEFAULT_wxUSE_GZSTREAM=yes
2316 DEFAULT_wxUSE_VALIDATORS=yes
2317
2318 DEFAULT_wxUSE_ACCEL=yes
2319 DEFAULT_wxUSE_BUTTON=yes
2320 DEFAULT_wxUSE_BMPBUTTON=yes
2321 DEFAULT_wxUSE_CALCTRL=yes
2322 DEFAULT_wxUSE_CARET=yes
2323 DEFAULT_wxUSE_CHECKBOX=yes
2324 DEFAULT_wxUSE_CHECKLST=yes
2325 DEFAULT_wxUSE_CHOICE=yes
2326 DEFAULT_wxUSE_COMBOBOX=yes
2327 DEFAULT_wxUSE_DISPLAY=yes
2328 DEFAULT_wxUSE_GAUGE=yes
2329 DEFAULT_wxUSE_GRID=yes
2330 DEFAULT_wxUSE_IMAGLIST=yes
2331 DEFAULT_wxUSE_LISTBOOK=yes
2332 DEFAULT_wxUSE_LISTBOX=yes
2333 DEFAULT_wxUSE_LISTCTRL=yes
2334 DEFAULT_wxUSE_NOTEBOOK=yes
2335 DEFAULT_wxUSE_RADIOBOX=yes
2336 DEFAULT_wxUSE_RADIOBTN=yes
2337 DEFAULT_wxUSE_SASH=yes
2338 DEFAULT_wxUSE_SCROLLBAR=yes
2339 DEFAULT_wxUSE_SLIDER=yes
2340 DEFAULT_wxUSE_SPINBTN=yes
2341 DEFAULT_wxUSE_SPINCTRL=yes
2342 DEFAULT_wxUSE_SPLITTER=yes
2343 DEFAULT_wxUSE_STATBMP=yes
2344 DEFAULT_wxUSE_STATBOX=yes
2345 DEFAULT_wxUSE_STATLINE=yes
2346 DEFAULT_wxUSE_STATTEXT=yes
2347 DEFAULT_wxUSE_STATUSBAR=yes
2348 DEFAULT_wxUSE_TABDIALOG=no
2349 DEFAULT_wxUSE_TEXTCTRL=yes
2350 DEFAULT_wxUSE_TOGGLEBTN=yes
2351 DEFAULT_wxUSE_TOOLBAR=yes
2352 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2353 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2354 DEFAULT_wxUSE_TREECTRL=yes
2355 DEFAULT_wxUSE_POPUPWIN=yes
2356 DEFAULT_wxUSE_TIPWINDOW=yes
2357
2358 DEFAULT_wxUSE_UNICODE=no
2359 DEFAULT_wxUSE_UNICODE_MSLU=yes
2360 DEFAULT_wxUSE_WCSRTOMBS=no
2361
2362 DEFAULT_wxUSE_PALETTE=yes
2363 DEFAULT_wxUSE_IMAGE=yes
2364 DEFAULT_wxUSE_GIF=yes
2365 DEFAULT_wxUSE_PCX=yes
2366 DEFAULT_wxUSE_IFF=no
2367 DEFAULT_wxUSE_PNM=yes
2368 DEFAULT_wxUSE_XPM=yes
2369 DEFAULT_wxUSE_ICO_CUR=yes
2370 DEFAULT_wxUSE_ACCESSIBILITY=no
2371
2372 DEFAULT_wxUSE_MONOLITHIC=no
2373 DEFAULT_wxUSE_PLUGINS=no
2374 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2375 fi
2376
2377
2378
2379 for toolkit in `echo $ALL_TOOLKITS`; do
2380 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2381 if test "x$LINE" != "x" ; then
2382 has_toolkit_in_cache=1
2383 eval "DEFAULT_$LINE"
2384 eval "CACHE_$toolkit=1"
2385 fi
2386 done
2387
2388
2389
2390 enablestring=
2391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2392 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2393 no_cache=0
2394 # Check whether --enable-gui or --disable-gui was given.
2395 if test "${enable_gui+set}" = set; then
2396 enableval="$enable_gui"
2397
2398 if test "$enableval" = yes; then
2399 ac_cv_use_gui='wxUSE_GUI=yes'
2400 else
2401 ac_cv_use_gui='wxUSE_GUI=no'
2402 fi
2403
2404 else
2405
2406 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2407 if test "x$LINE" != x ; then
2408 eval "DEFAULT_$LINE"
2409 else
2410 no_cache=1
2411 fi
2412
2413 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2414
2415 fi;
2416
2417 eval "$ac_cv_use_gui"
2418 if test "$no_cache" != 1; then
2419 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2420 fi
2421
2422 if test "$wxUSE_GUI" = yes; then
2423 echo "$as_me:$LINENO: result: yes" >&5
2424 echo "${ECHO_T}yes" >&6
2425 else
2426 echo "$as_me:$LINENO: result: no" >&5
2427 echo "${ECHO_T}no" >&6
2428 fi
2429
2430
2431 enablestring=
2432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2433 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2434 no_cache=0
2435 # Check whether --enable-monolithic or --disable-monolithic was given.
2436 if test "${enable_monolithic+set}" = set; then
2437 enableval="$enable_monolithic"
2438
2439 if test "$enableval" = yes; then
2440 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2441 else
2442 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2443 fi
2444
2445 else
2446
2447 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2448 if test "x$LINE" != x ; then
2449 eval "DEFAULT_$LINE"
2450 else
2451 no_cache=1
2452 fi
2453
2454 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2455
2456 fi;
2457
2458 eval "$ac_cv_use_monolithic"
2459 if test "$no_cache" != 1; then
2460 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2461 fi
2462
2463 if test "$wxUSE_MONOLITHIC" = yes; then
2464 echo "$as_me:$LINENO: result: yes" >&5
2465 echo "${ECHO_T}yes" >&6
2466 else
2467 echo "$as_me:$LINENO: result: no" >&5
2468 echo "${ECHO_T}no" >&6
2469 fi
2470
2471
2472 enablestring=
2473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2474 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2475 no_cache=0
2476 # Check whether --enable-plugins or --disable-plugins was given.
2477 if test "${enable_plugins+set}" = set; then
2478 enableval="$enable_plugins"
2479
2480 if test "$enableval" = yes; then
2481 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2482 else
2483 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2484 fi
2485
2486 else
2487
2488 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2489 if test "x$LINE" != x ; then
2490 eval "DEFAULT_$LINE"
2491 else
2492 no_cache=1
2493 fi
2494
2495 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2496
2497 fi;
2498
2499 eval "$ac_cv_use_plugins"
2500 if test "$no_cache" != 1; then
2501 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2502 fi
2503
2504 if test "$wxUSE_PLUGINS" = yes; then
2505 echo "$as_me:$LINENO: result: yes" >&5
2506 echo "${ECHO_T}yes" >&6
2507 else
2508 echo "$as_me:$LINENO: result: no" >&5
2509 echo "${ECHO_T}no" >&6
2510 fi
2511
2512
2513 if test "$wxUSE_GUI" = "yes"; then
2514
2515
2516 enablestring=
2517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2518 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2519 no_cache=0
2520 # Check whether --enable-universal or --disable-universal was given.
2521 if test "${enable_universal+set}" = set; then
2522 enableval="$enable_universal"
2523
2524 if test "$enableval" = yes; then
2525 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2526 else
2527 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2528 fi
2529
2530 else
2531
2532 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2533 if test "x$LINE" != x ; then
2534 eval "DEFAULT_$LINE"
2535 else
2536 no_cache=1
2537 fi
2538
2539 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2540
2541 fi;
2542
2543 eval "$ac_cv_use_universal"
2544 if test "$no_cache" != 1; then
2545 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2546 fi
2547
2548 if test "$wxUSE_UNIVERSAL" = yes; then
2549 echo "$as_me:$LINENO: result: yes" >&5
2550 echo "${ECHO_T}yes" >&6
2551 else
2552 echo "$as_me:$LINENO: result: no" >&5
2553 echo "${ECHO_T}no" >&6
2554 fi
2555
2556
2557 # Check whether --with-gtk or --without-gtk was given.
2558 if test "${with_gtk+set}" = set; then
2559 withval="$with_gtk"
2560 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2561 fi;
2562
2563 # Check whether --with-motif or --without-motif was given.
2564 if test "${with_motif+set}" = set; then
2565 withval="$with_motif"
2566 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2567 fi;
2568
2569 # Check whether --with-mac or --without-mac was given.
2570 if test "${with_mac+set}" = set; then
2571 withval="$with_mac"
2572 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2573 fi;
2574
2575 # Check whether --with-cocoa or --without-cocoa was given.
2576 if test "${with_cocoa+set}" = set; then
2577 withval="$with_cocoa"
2578 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2579 fi;
2580
2581 # Check whether --with-wine or --without-wine was given.
2582 if test "${with_wine+set}" = set; then
2583 withval="$with_wine"
2584 wxUSE_WINE="$withval" CACHE_WINE=1
2585 fi;
2586
2587 # Check whether --with-msw or --without-msw was given.
2588 if test "${with_msw+set}" = set; then
2589 withval="$with_msw"
2590 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2591 fi;
2592
2593 # Check whether --with-pm or --without-pm was given.
2594 if test "${with_pm+set}" = set; then
2595 withval="$with_pm"
2596 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2597 fi;
2598
2599 # Check whether --with-mgl or --without-mgl was given.
2600 if test "${with_mgl+set}" = set; then
2601 withval="$with_mgl"
2602 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2603 fi;
2604
2605 # Check whether --with-microwin or --without-microwin was given.
2606 if test "${with_microwin+set}" = set; then
2607 withval="$with_microwin"
2608 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2609 fi;
2610
2611 # Check whether --with-x11 or --without-x11 was given.
2612 if test "${with_x11+set}" = set; then
2613 withval="$with_x11"
2614 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2615 fi;
2616
2617 enablestring=
2618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2619 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2620 no_cache=0
2621 # Check whether --enable-nanox or --disable-nanox was given.
2622 if test "${enable_nanox+set}" = set; then
2623 enableval="$enable_nanox"
2624
2625 if test "$enableval" = yes; then
2626 ac_cv_use_nanox='wxUSE_NANOX=yes'
2627 else
2628 ac_cv_use_nanox='wxUSE_NANOX=no'
2629 fi
2630
2631 else
2632
2633 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2634 if test "x$LINE" != x ; then
2635 eval "DEFAULT_$LINE"
2636 else
2637 no_cache=1
2638 fi
2639
2640 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2641
2642 fi;
2643
2644 eval "$ac_cv_use_nanox"
2645 if test "$no_cache" != 1; then
2646 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2647 fi
2648
2649 if test "$wxUSE_NANOX" = yes; then
2650 echo "$as_me:$LINENO: result: yes" >&5
2651 echo "${ECHO_T}yes" >&6
2652 else
2653 echo "$as_me:$LINENO: result: no" >&5
2654 echo "${ECHO_T}no" >&6
2655 fi
2656
2657
2658
2659 enablestring=
2660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2661 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2662 no_cache=0
2663 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2664 if test "${enable_gtk2+set}" = set; then
2665 enableval="$enable_gtk2"
2666
2667 if test "$enableval" = yes; then
2668 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2669 else
2670 ac_cv_use_gtk2='wxUSE_GTK2=no'
2671 fi
2672
2673 else
2674
2675 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2676 if test "x$LINE" != x ; then
2677 eval "DEFAULT_$LINE"
2678 else
2679 no_cache=1
2680 fi
2681
2682 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2683
2684 fi;
2685
2686 eval "$ac_cv_use_gtk2"
2687 if test "$no_cache" != 1; then
2688 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2689 fi
2690
2691 if test "$wxUSE_GTK2" = yes; then
2692 echo "$as_me:$LINENO: result: yes" >&5
2693 echo "${ECHO_T}yes" >&6
2694 else
2695 echo "$as_me:$LINENO: result: no" >&5
2696 echo "${ECHO_T}no" >&6
2697 fi
2698
2699
2700 enablestring=
2701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2702 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2703 no_cache=0
2704 # Check whether --enable-gpe or --disable-gpe was given.
2705 if test "${enable_gpe+set}" = set; then
2706 enableval="$enable_gpe"
2707
2708 if test "$enableval" = yes; then
2709 ac_cv_use_gpe='wxUSE_GPE=yes'
2710 else
2711 ac_cv_use_gpe='wxUSE_GPE=no'
2712 fi
2713
2714 else
2715
2716 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2717 if test "x$LINE" != x ; then
2718 eval "DEFAULT_$LINE"
2719 else
2720 no_cache=1
2721 fi
2722
2723 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2724
2725 fi;
2726
2727 eval "$ac_cv_use_gpe"
2728 if test "$no_cache" != 1; then
2729 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2730 fi
2731
2732 if test "$wxUSE_GPE" = yes; then
2733 echo "$as_me:$LINENO: result: yes" >&5
2734 echo "${ECHO_T}yes" >&6
2735 else
2736 echo "$as_me:$LINENO: result: no" >&5
2737 echo "${ECHO_T}no" >&6
2738 fi
2739
2740
2741
2742 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2743 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2744 no_cache=0
2745
2746 # Check whether --with-libpng or --without-libpng was given.
2747 if test "${with_libpng+set}" = set; then
2748 withval="$with_libpng"
2749
2750 if test "$withval" = yes; then
2751 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2752 elif test "$withval" = no; then
2753 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2754 elif test "$withval" = sys; then
2755 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2756 elif test "$withval" = builtin; then
2757 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2758 else
2759 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2760 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2761 { (exit 1); exit 1; }; }
2762 fi
2763
2764 else
2765
2766 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2767 if test "x$LINE" != x ; then
2768 eval "DEFAULT_$LINE"
2769 else
2770 no_cache=1
2771 fi
2772
2773 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2774
2775 fi;
2776
2777 eval "$ac_cv_use_libpng"
2778 if test "$no_cache" != 1; then
2779 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2780 fi
2781
2782 if test "$wxUSE_LIBPNG" = yes; then
2783 echo "$as_me:$LINENO: result: yes" >&5
2784 echo "${ECHO_T}yes" >&6
2785 elif test "$wxUSE_LIBPNG" = no; then
2786 echo "$as_me:$LINENO: result: no" >&5
2787 echo "${ECHO_T}no" >&6
2788 elif test "$wxUSE_LIBPNG" = sys; then
2789 echo "$as_me:$LINENO: result: system version" >&5
2790 echo "${ECHO_T}system version" >&6
2791 elif test "$wxUSE_LIBPNG" = builtin; then
2792 echo "$as_me:$LINENO: result: builtin version" >&5
2793 echo "${ECHO_T}builtin version" >&6
2794 else
2795 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2796 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2797 { (exit 1); exit 1; }; }
2798 fi
2799
2800
2801 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2802 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2803 no_cache=0
2804
2805 # Check whether --with-libjpeg or --without-libjpeg was given.
2806 if test "${with_libjpeg+set}" = set; then
2807 withval="$with_libjpeg"
2808
2809 if test "$withval" = yes; then
2810 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2811 elif test "$withval" = no; then
2812 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2813 elif test "$withval" = sys; then
2814 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2815 elif test "$withval" = builtin; then
2816 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2817 else
2818 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2819 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2820 { (exit 1); exit 1; }; }
2821 fi
2822
2823 else
2824
2825 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2826 if test "x$LINE" != x ; then
2827 eval "DEFAULT_$LINE"
2828 else
2829 no_cache=1
2830 fi
2831
2832 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2833
2834 fi;
2835
2836 eval "$ac_cv_use_libjpeg"
2837 if test "$no_cache" != 1; then
2838 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2839 fi
2840
2841 if test "$wxUSE_LIBJPEG" = yes; then
2842 echo "$as_me:$LINENO: result: yes" >&5
2843 echo "${ECHO_T}yes" >&6
2844 elif test "$wxUSE_LIBJPEG" = no; then
2845 echo "$as_me:$LINENO: result: no" >&5
2846 echo "${ECHO_T}no" >&6
2847 elif test "$wxUSE_LIBJPEG" = sys; then
2848 echo "$as_me:$LINENO: result: system version" >&5
2849 echo "${ECHO_T}system version" >&6
2850 elif test "$wxUSE_LIBJPEG" = builtin; then
2851 echo "$as_me:$LINENO: result: builtin version" >&5
2852 echo "${ECHO_T}builtin version" >&6
2853 else
2854 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2855 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2856 { (exit 1); exit 1; }; }
2857 fi
2858
2859
2860 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2861 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2862 no_cache=0
2863
2864 # Check whether --with-libtiff or --without-libtiff was given.
2865 if test "${with_libtiff+set}" = set; then
2866 withval="$with_libtiff"
2867
2868 if test "$withval" = yes; then
2869 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2870 elif test "$withval" = no; then
2871 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2872 elif test "$withval" = sys; then
2873 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2874 elif test "$withval" = builtin; then
2875 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2876 else
2877 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2878 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2879 { (exit 1); exit 1; }; }
2880 fi
2881
2882 else
2883
2884 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2885 if test "x$LINE" != x ; then
2886 eval "DEFAULT_$LINE"
2887 else
2888 no_cache=1
2889 fi
2890
2891 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2892
2893 fi;
2894
2895 eval "$ac_cv_use_libtiff"
2896 if test "$no_cache" != 1; then
2897 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2898 fi
2899
2900 if test "$wxUSE_LIBTIFF" = yes; then
2901 echo "$as_me:$LINENO: result: yes" >&5
2902 echo "${ECHO_T}yes" >&6
2903 elif test "$wxUSE_LIBTIFF" = no; then
2904 echo "$as_me:$LINENO: result: no" >&5
2905 echo "${ECHO_T}no" >&6
2906 elif test "$wxUSE_LIBTIFF" = sys; then
2907 echo "$as_me:$LINENO: result: system version" >&5
2908 echo "${ECHO_T}system version" >&6
2909 elif test "$wxUSE_LIBTIFF" = builtin; then
2910 echo "$as_me:$LINENO: result: builtin version" >&5
2911 echo "${ECHO_T}builtin version" >&6
2912 else
2913 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2914 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2915 { (exit 1); exit 1; }; }
2916 fi
2917
2918
2919 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2920 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2921 no_cache=0
2922
2923 # Check whether --with-libxpm or --without-libxpm was given.
2924 if test "${with_libxpm+set}" = set; then
2925 withval="$with_libxpm"
2926
2927 if test "$withval" = yes; then
2928 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2929 elif test "$withval" = no; then
2930 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2931 elif test "$withval" = sys; then
2932 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2933 elif test "$withval" = builtin; then
2934 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2935 else
2936 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2937 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2938 { (exit 1); exit 1; }; }
2939 fi
2940
2941 else
2942
2943 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2944 if test "x$LINE" != x ; then
2945 eval "DEFAULT_$LINE"
2946 else
2947 no_cache=1
2948 fi
2949
2950 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2951
2952 fi;
2953
2954 eval "$ac_cv_use_libxpm"
2955 if test "$no_cache" != 1; then
2956 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2957 fi
2958
2959 if test "$wxUSE_LIBXPM" = yes; then
2960 echo "$as_me:$LINENO: result: yes" >&5
2961 echo "${ECHO_T}yes" >&6
2962 elif test "$wxUSE_LIBXPM" = no; then
2963 echo "$as_me:$LINENO: result: no" >&5
2964 echo "${ECHO_T}no" >&6
2965 elif test "$wxUSE_LIBXPM" = sys; then
2966 echo "$as_me:$LINENO: result: system version" >&5
2967 echo "${ECHO_T}system version" >&6
2968 elif test "$wxUSE_LIBXPM" = builtin; then
2969 echo "$as_me:$LINENO: result: builtin version" >&5
2970 echo "${ECHO_T}builtin version" >&6
2971 else
2972 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2973 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2974 { (exit 1); exit 1; }; }
2975 fi
2976
2977
2978 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2979 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2980 no_cache=0
2981
2982 # Check whether --with-libmspack or --without-libmspack was given.
2983 if test "${with_libmspack+set}" = set; then
2984 withval="$with_libmspack"
2985
2986 if test "$withval" = yes; then
2987 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
2988 else
2989 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
2990 fi
2991
2992 else
2993
2994 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2995 if test "x$LINE" != x ; then
2996 eval "DEFAULT_$LINE"
2997 else
2998 no_cache=1
2999 fi
3000
3001 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3002
3003 fi;
3004
3005 eval "$ac_cv_use_libmspack"
3006 if test "$no_cache" != 1; then
3007 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3008 fi
3009
3010 if test "$wxUSE_LIBMSPACK" = yes; then
3011 echo "$as_me:$LINENO: result: yes" >&5
3012 echo "${ECHO_T}yes" >&6
3013 else
3014 echo "$as_me:$LINENO: result: no" >&5
3015 echo "${ECHO_T}no" >&6
3016 fi
3017
3018
3019 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3020 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3021 no_cache=0
3022
3023 # Check whether --with-sdl or --without-sdl was given.
3024 if test "${with_sdl+set}" = set; then
3025 withval="$with_sdl"
3026
3027 if test "$withval" = yes; then
3028 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3029 else
3030 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3031 fi
3032
3033 else
3034
3035 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3036 if test "x$LINE" != x ; then
3037 eval "DEFAULT_$LINE"
3038 else
3039 no_cache=1
3040 fi
3041
3042 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3043
3044 fi;
3045
3046 eval "$ac_cv_use_sdl"
3047 if test "$no_cache" != 1; then
3048 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3049 fi
3050
3051 if test "$wxUSE_LIBSDL" = yes; then
3052 echo "$as_me:$LINENO: result: yes" >&5
3053 echo "${ECHO_T}yes" >&6
3054 else
3055 echo "$as_me:$LINENO: result: no" >&5
3056 echo "${ECHO_T}no" >&6
3057 fi
3058
3059
3060 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3061 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3062 no_cache=0
3063
3064 # Check whether --with-opengl or --without-opengl was given.
3065 if test "${with_opengl+set}" = set; then
3066 withval="$with_opengl"
3067
3068 if test "$withval" = yes; then
3069 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3070 else
3071 ac_cv_use_opengl='wxUSE_OPENGL=no'
3072 fi
3073
3074 else
3075
3076 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3077 if test "x$LINE" != x ; then
3078 eval "DEFAULT_$LINE"
3079 else
3080 no_cache=1
3081 fi
3082
3083 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3084
3085 fi;
3086
3087 eval "$ac_cv_use_opengl"
3088 if test "$no_cache" != 1; then
3089 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3090 fi
3091
3092 if test "$wxUSE_OPENGL" = yes; then
3093 echo "$as_me:$LINENO: result: yes" >&5
3094 echo "${ECHO_T}yes" >&6
3095 else
3096 echo "$as_me:$LINENO: result: no" >&5
3097 echo "${ECHO_T}no" >&6
3098 fi
3099
3100
3101 fi
3102
3103
3104 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3105 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3106 no_cache=0
3107
3108 # Check whether --with-dmalloc or --without-dmalloc was given.
3109 if test "${with_dmalloc+set}" = set; then
3110 withval="$with_dmalloc"
3111
3112 if test "$withval" = yes; then
3113 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3114 else
3115 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3116 fi
3117
3118 else
3119
3120 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3121 if test "x$LINE" != x ; then
3122 eval "DEFAULT_$LINE"
3123 else
3124 no_cache=1
3125 fi
3126
3127 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3128
3129 fi;
3130
3131 eval "$ac_cv_use_dmalloc"
3132 if test "$no_cache" != 1; then
3133 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3134 fi
3135
3136 if test "$wxUSE_DMALLOC" = yes; then
3137 echo "$as_me:$LINENO: result: yes" >&5
3138 echo "${ECHO_T}yes" >&6
3139 else
3140 echo "$as_me:$LINENO: result: no" >&5
3141 echo "${ECHO_T}no" >&6
3142 fi
3143
3144
3145 echo "$as_me:$LINENO: checking for --with-regex" >&5
3146 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3147 no_cache=0
3148
3149 # Check whether --with-regex or --without-regex was given.
3150 if test "${with_regex+set}" = set; then
3151 withval="$with_regex"
3152
3153 if test "$withval" = yes; then
3154 ac_cv_use_regex='wxUSE_REGEX=yes'
3155 elif test "$withval" = no; then
3156 ac_cv_use_regex='wxUSE_REGEX=no'
3157 elif test "$withval" = sys; then
3158 ac_cv_use_regex='wxUSE_REGEX=sys'
3159 elif test "$withval" = builtin; then
3160 ac_cv_use_regex='wxUSE_REGEX=builtin'
3161 else
3162 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3163 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3164 { (exit 1); exit 1; }; }
3165 fi
3166
3167 else
3168
3169 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3170 if test "x$LINE" != x ; then
3171 eval "DEFAULT_$LINE"
3172 else
3173 no_cache=1
3174 fi
3175
3176 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3177
3178 fi;
3179
3180 eval "$ac_cv_use_regex"
3181 if test "$no_cache" != 1; then
3182 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3183 fi
3184
3185 if test "$wxUSE_REGEX" = yes; then
3186 echo "$as_me:$LINENO: result: yes" >&5
3187 echo "${ECHO_T}yes" >&6
3188 elif test "$wxUSE_REGEX" = no; then
3189 echo "$as_me:$LINENO: result: no" >&5
3190 echo "${ECHO_T}no" >&6
3191 elif test "$wxUSE_REGEX" = sys; then
3192 echo "$as_me:$LINENO: result: system version" >&5
3193 echo "${ECHO_T}system version" >&6
3194 elif test "$wxUSE_REGEX" = builtin; then
3195 echo "$as_me:$LINENO: result: builtin version" >&5
3196 echo "${ECHO_T}builtin version" >&6
3197 else
3198 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3199 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3200 { (exit 1); exit 1; }; }
3201 fi
3202
3203
3204 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3205 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3206 no_cache=0
3207
3208 # Check whether --with-zlib or --without-zlib was given.
3209 if test "${with_zlib+set}" = set; then
3210 withval="$with_zlib"
3211
3212 if test "$withval" = yes; then
3213 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3214 elif test "$withval" = no; then
3215 ac_cv_use_zlib='wxUSE_ZLIB=no'
3216 elif test "$withval" = sys; then
3217 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3218 elif test "$withval" = builtin; then
3219 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3220 else
3221 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3222 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3223 { (exit 1); exit 1; }; }
3224 fi
3225
3226 else
3227
3228 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3229 if test "x$LINE" != x ; then
3230 eval "DEFAULT_$LINE"
3231 else
3232 no_cache=1
3233 fi
3234
3235 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3236
3237 fi;
3238
3239 eval "$ac_cv_use_zlib"
3240 if test "$no_cache" != 1; then
3241 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3242 fi
3243
3244 if test "$wxUSE_ZLIB" = yes; then
3245 echo "$as_me:$LINENO: result: yes" >&5
3246 echo "${ECHO_T}yes" >&6
3247 elif test "$wxUSE_ZLIB" = no; then
3248 echo "$as_me:$LINENO: result: no" >&5
3249 echo "${ECHO_T}no" >&6
3250 elif test "$wxUSE_ZLIB" = sys; then
3251 echo "$as_me:$LINENO: result: system version" >&5
3252 echo "${ECHO_T}system version" >&6
3253 elif test "$wxUSE_ZLIB" = builtin; then
3254 echo "$as_me:$LINENO: result: builtin version" >&5
3255 echo "${ECHO_T}builtin version" >&6
3256 else
3257 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3258 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3259 { (exit 1); exit 1; }; }
3260 fi
3261
3262
3263 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3264 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3265 no_cache=0
3266
3267 # Check whether --with-odbc or --without-odbc was given.
3268 if test "${with_odbc+set}" = set; then
3269 withval="$with_odbc"
3270
3271 if test "$withval" = yes; then
3272 ac_cv_use_odbc='wxUSE_ODBC=yes'
3273 elif test "$withval" = no; then
3274 ac_cv_use_odbc='wxUSE_ODBC=no'
3275 elif test "$withval" = sys; then
3276 ac_cv_use_odbc='wxUSE_ODBC=sys'
3277 elif test "$withval" = builtin; then
3278 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3279 else
3280 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3281 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3282 { (exit 1); exit 1; }; }
3283 fi
3284
3285 else
3286
3287 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3288 if test "x$LINE" != x ; then
3289 eval "DEFAULT_$LINE"
3290 else
3291 no_cache=1
3292 fi
3293
3294 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3295
3296 fi;
3297
3298 eval "$ac_cv_use_odbc"
3299 if test "$no_cache" != 1; then
3300 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3301 fi
3302
3303 if test "$wxUSE_ODBC" = yes; then
3304 echo "$as_me:$LINENO: result: yes" >&5
3305 echo "${ECHO_T}yes" >&6
3306 elif test "$wxUSE_ODBC" = no; then
3307 echo "$as_me:$LINENO: result: no" >&5
3308 echo "${ECHO_T}no" >&6
3309 elif test "$wxUSE_ODBC" = sys; then
3310 echo "$as_me:$LINENO: result: system version" >&5
3311 echo "${ECHO_T}system version" >&6
3312 elif test "$wxUSE_ODBC" = builtin; then
3313 echo "$as_me:$LINENO: result: builtin version" >&5
3314 echo "${ECHO_T}builtin version" >&6
3315 else
3316 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3317 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3318 { (exit 1); exit 1; }; }
3319 fi
3320
3321
3322 echo "$as_me:$LINENO: checking for --with-expat" >&5
3323 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3324 no_cache=0
3325
3326 # Check whether --with-expat or --without-expat was given.
3327 if test "${with_expat+set}" = set; then
3328 withval="$with_expat"
3329
3330 if test "$withval" = yes; then
3331 ac_cv_use_expat='wxUSE_EXPAT=yes'
3332 elif test "$withval" = no; then
3333 ac_cv_use_expat='wxUSE_EXPAT=no'
3334 elif test "$withval" = sys; then
3335 ac_cv_use_expat='wxUSE_EXPAT=sys'
3336 elif test "$withval" = builtin; then
3337 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3338 else
3339 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3340 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3341 { (exit 1); exit 1; }; }
3342 fi
3343
3344 else
3345
3346 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3347 if test "x$LINE" != x ; then
3348 eval "DEFAULT_$LINE"
3349 else
3350 no_cache=1
3351 fi
3352
3353 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3354
3355 fi;
3356
3357 eval "$ac_cv_use_expat"
3358 if test "$no_cache" != 1; then
3359 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3360 fi
3361
3362 if test "$wxUSE_EXPAT" = yes; then
3363 echo "$as_me:$LINENO: result: yes" >&5
3364 echo "${ECHO_T}yes" >&6
3365 elif test "$wxUSE_EXPAT" = no; then
3366 echo "$as_me:$LINENO: result: no" >&5
3367 echo "${ECHO_T}no" >&6
3368 elif test "$wxUSE_EXPAT" = sys; then
3369 echo "$as_me:$LINENO: result: system version" >&5
3370 echo "${ECHO_T}system version" >&6
3371 elif test "$wxUSE_EXPAT" = builtin; then
3372 echo "$as_me:$LINENO: result: builtin version" >&5
3373 echo "${ECHO_T}builtin version" >&6
3374 else
3375 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3376 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3377 { (exit 1); exit 1; }; }
3378 fi
3379
3380
3381
3382
3383 enablestring=
3384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3385 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3386 no_cache=0
3387 # Check whether --enable-shared or --disable-shared was given.
3388 if test "${enable_shared+set}" = set; then
3389 enableval="$enable_shared"
3390
3391 if test "$enableval" = yes; then
3392 ac_cv_use_shared='wxUSE_SHARED=yes'
3393 else
3394 ac_cv_use_shared='wxUSE_SHARED=no'
3395 fi
3396
3397 else
3398
3399 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3400 if test "x$LINE" != x ; then
3401 eval "DEFAULT_$LINE"
3402 else
3403 no_cache=1
3404 fi
3405
3406 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3407
3408 fi;
3409
3410 eval "$ac_cv_use_shared"
3411 if test "$no_cache" != 1; then
3412 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3413 fi
3414
3415 if test "$wxUSE_SHARED" = yes; then
3416 echo "$as_me:$LINENO: result: yes" >&5
3417 echo "${ECHO_T}yes" >&6
3418 else
3419 echo "$as_me:$LINENO: result: no" >&5
3420 echo "${ECHO_T}no" >&6
3421 fi
3422
3423
3424 enablestring=
3425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3426 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3427 no_cache=0
3428 # Check whether --enable-optimise or --disable-optimise was given.
3429 if test "${enable_optimise+set}" = set; then
3430 enableval="$enable_optimise"
3431
3432 if test "$enableval" = yes; then
3433 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3434 else
3435 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3436 fi
3437
3438 else
3439
3440 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3441 if test "x$LINE" != x ; then
3442 eval "DEFAULT_$LINE"
3443 else
3444 no_cache=1
3445 fi
3446
3447 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3448
3449 fi;
3450
3451 eval "$ac_cv_use_optimise"
3452 if test "$no_cache" != 1; then
3453 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3454 fi
3455
3456 if test "$wxUSE_OPTIMISE" = yes; then
3457 echo "$as_me:$LINENO: result: yes" >&5
3458 echo "${ECHO_T}yes" >&6
3459 else
3460 echo "$as_me:$LINENO: result: no" >&5
3461 echo "${ECHO_T}no" >&6
3462 fi
3463
3464
3465 enablestring=
3466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3467 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3468 no_cache=0
3469 # Check whether --enable-debug or --disable-debug was given.
3470 if test "${enable_debug+set}" = set; then
3471 enableval="$enable_debug"
3472
3473 if test "$enableval" = yes; then
3474 ac_cv_use_debug='wxUSE_DEBUG=yes'
3475 else
3476 ac_cv_use_debug='wxUSE_DEBUG=no'
3477 fi
3478
3479 else
3480
3481 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3482 if test "x$LINE" != x ; then
3483 eval "DEFAULT_$LINE"
3484 else
3485 no_cache=1
3486 fi
3487
3488 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3489
3490 fi;
3491
3492 eval "$ac_cv_use_debug"
3493 if test "$no_cache" != 1; then
3494 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3495 fi
3496
3497 if test "$wxUSE_DEBUG" = yes; then
3498 echo "$as_me:$LINENO: result: yes" >&5
3499 echo "${ECHO_T}yes" >&6
3500 else
3501 echo "$as_me:$LINENO: result: no" >&5
3502 echo "${ECHO_T}no" >&6
3503 fi
3504
3505
3506 enablestring=
3507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3508 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3509 no_cache=0
3510 # Check whether --enable-stl or --disable-stl was given.
3511 if test "${enable_stl+set}" = set; then
3512 enableval="$enable_stl"
3513
3514 if test "$enableval" = yes; then
3515 ac_cv_use_stl='wxUSE_STL=yes'
3516 else
3517 ac_cv_use_stl='wxUSE_STL=no'
3518 fi
3519
3520 else
3521
3522 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3523 if test "x$LINE" != x ; then
3524 eval "DEFAULT_$LINE"
3525 else
3526 no_cache=1
3527 fi
3528
3529 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3530
3531 fi;
3532
3533 eval "$ac_cv_use_stl"
3534 if test "$no_cache" != 1; then
3535 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3536 fi
3537
3538 if test "$wxUSE_STL" = yes; then
3539 echo "$as_me:$LINENO: result: yes" >&5
3540 echo "${ECHO_T}yes" >&6
3541 else
3542 echo "$as_me:$LINENO: result: no" >&5
3543 echo "${ECHO_T}no" >&6
3544 fi
3545
3546 if test "$USE_OS2" = "1"; then
3547
3548 enablestring=
3549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3550 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3551 no_cache=0
3552 # Check whether --enable-omf or --disable-omf was given.
3553 if test "${enable_omf+set}" = set; then
3554 enableval="$enable_omf"
3555
3556 if test "$enableval" = yes; then
3557 ac_cv_use_omf='wxUSE_OMF=yes'
3558 else
3559 ac_cv_use_omf='wxUSE_OMF=no'
3560 fi
3561
3562 else
3563
3564 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3565 if test "x$LINE" != x ; then
3566 eval "DEFAULT_$LINE"
3567 else
3568 no_cache=1
3569 fi
3570
3571 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3572
3573 fi;
3574
3575 eval "$ac_cv_use_omf"
3576 if test "$no_cache" != 1; then
3577 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3578 fi
3579
3580 if test "$wxUSE_OMF" = yes; then
3581 echo "$as_me:$LINENO: result: yes" >&5
3582 echo "${ECHO_T}yes" >&6
3583 else
3584 echo "$as_me:$LINENO: result: no" >&5
3585 echo "${ECHO_T}no" >&6
3586 fi
3587
3588 fi
3589
3590 if test "$wxUSE_DEBUG" = "yes"; then
3591 DEFAULT_wxUSE_DEBUG_FLAG=yes
3592 DEFAULT_wxUSE_DEBUG_INFO=yes
3593 BUILD=debug
3594 elif test "$wxUSE_DEBUG" = "no"; then
3595 DEFAULT_wxUSE_DEBUG_FLAG=no
3596 DEFAULT_wxUSE_DEBUG_INFO=no
3597 BUILD=release
3598 fi
3599
3600
3601 enablestring=
3602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3603 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3604 no_cache=0
3605 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3606 if test "${enable_debug_flag+set}" = set; then
3607 enableval="$enable_debug_flag"
3608
3609 if test "$enableval" = yes; then
3610 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3611 else
3612 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3613 fi
3614
3615 else
3616
3617 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3618 if test "x$LINE" != x ; then
3619 eval "DEFAULT_$LINE"
3620 else
3621 no_cache=1
3622 fi
3623
3624 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3625
3626 fi;
3627
3628 eval "$ac_cv_use_debug_flag"
3629 if test "$no_cache" != 1; then
3630 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3631 fi
3632
3633 if test "$wxUSE_DEBUG_FLAG" = yes; then
3634 echo "$as_me:$LINENO: result: yes" >&5
3635 echo "${ECHO_T}yes" >&6
3636 else
3637 echo "$as_me:$LINENO: result: no" >&5
3638 echo "${ECHO_T}no" >&6
3639 fi
3640
3641
3642 enablestring=
3643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3644 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3645 no_cache=0
3646 # Check whether --enable-debug_info or --disable-debug_info was given.
3647 if test "${enable_debug_info+set}" = set; then
3648 enableval="$enable_debug_info"
3649
3650 if test "$enableval" = yes; then
3651 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3652 else
3653 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3654 fi
3655
3656 else
3657
3658 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3659 if test "x$LINE" != x ; then
3660 eval "DEFAULT_$LINE"
3661 else
3662 no_cache=1
3663 fi
3664
3665 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3666
3667 fi;
3668
3669 eval "$ac_cv_use_debug_info"
3670 if test "$no_cache" != 1; then
3671 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3672 fi
3673
3674 if test "$wxUSE_DEBUG_INFO" = yes; then
3675 echo "$as_me:$LINENO: result: yes" >&5
3676 echo "${ECHO_T}yes" >&6
3677 else
3678 echo "$as_me:$LINENO: result: no" >&5
3679 echo "${ECHO_T}no" >&6
3680 fi
3681
3682
3683 enablestring=
3684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3685 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3686 no_cache=0
3687 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3688 if test "${enable_debug_gdb+set}" = set; then
3689 enableval="$enable_debug_gdb"
3690
3691 if test "$enableval" = yes; then
3692 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3693 else
3694 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3695 fi
3696
3697 else
3698
3699 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3700 if test "x$LINE" != x ; then
3701 eval "DEFAULT_$LINE"
3702 else
3703 no_cache=1
3704 fi
3705
3706 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3707
3708 fi;
3709
3710 eval "$ac_cv_use_debug_gdb"
3711 if test "$no_cache" != 1; then
3712 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3713 fi
3714
3715 if test "$wxUSE_DEBUG_GDB" = yes; then
3716 echo "$as_me:$LINENO: result: yes" >&5
3717 echo "${ECHO_T}yes" >&6
3718 else
3719 echo "$as_me:$LINENO: result: no" >&5
3720 echo "${ECHO_T}no" >&6
3721 fi
3722
3723
3724 enablestring=
3725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3726 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3727 no_cache=0
3728 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3729 if test "${enable_debug_cntxt+set}" = set; then
3730 enableval="$enable_debug_cntxt"
3731
3732 if test "$enableval" = yes; then
3733 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3734 else
3735 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3736 fi
3737
3738 else
3739
3740 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3741 if test "x$LINE" != x ; then
3742 eval "DEFAULT_$LINE"
3743 else
3744 no_cache=1
3745 fi
3746
3747 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3748
3749 fi;
3750
3751 eval "$ac_cv_use_debug_cntxt"
3752 if test "$no_cache" != 1; then
3753 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3754 fi
3755
3756 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3757 echo "$as_me:$LINENO: result: yes" >&5
3758 echo "${ECHO_T}yes" >&6
3759 else
3760 echo "$as_me:$LINENO: result: no" >&5
3761 echo "${ECHO_T}no" >&6
3762 fi
3763
3764
3765 enablestring=
3766 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3767 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3768 no_cache=0
3769 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3770 if test "${enable_mem_tracing+set}" = set; then
3771 enableval="$enable_mem_tracing"
3772
3773 if test "$enableval" = yes; then
3774 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3775 else
3776 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3777 fi
3778
3779 else
3780
3781 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3782 if test "x$LINE" != x ; then
3783 eval "DEFAULT_$LINE"
3784 else
3785 no_cache=1
3786 fi
3787
3788 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3789
3790 fi;
3791
3792 eval "$ac_cv_use_mem_tracing"
3793 if test "$no_cache" != 1; then
3794 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3795 fi
3796
3797 if test "$wxUSE_MEM_TRACING" = yes; then
3798 echo "$as_me:$LINENO: result: yes" >&5
3799 echo "${ECHO_T}yes" >&6
3800 else
3801 echo "$as_me:$LINENO: result: no" >&5
3802 echo "${ECHO_T}no" >&6
3803 fi
3804
3805
3806 enablestring=
3807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3808 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3809 no_cache=0
3810 # Check whether --enable-profile or --disable-profile was given.
3811 if test "${enable_profile+set}" = set; then
3812 enableval="$enable_profile"
3813
3814 if test "$enableval" = yes; then
3815 ac_cv_use_profile='wxUSE_PROFILE=yes'
3816 else
3817 ac_cv_use_profile='wxUSE_PROFILE=no'
3818 fi
3819
3820 else
3821
3822 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3823 if test "x$LINE" != x ; then
3824 eval "DEFAULT_$LINE"
3825 else
3826 no_cache=1
3827 fi
3828
3829 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3830
3831 fi;
3832
3833 eval "$ac_cv_use_profile"
3834 if test "$no_cache" != 1; then
3835 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3836 fi
3837
3838 if test "$wxUSE_PROFILE" = yes; then
3839 echo "$as_me:$LINENO: result: yes" >&5
3840 echo "${ECHO_T}yes" >&6
3841 else
3842 echo "$as_me:$LINENO: result: no" >&5
3843 echo "${ECHO_T}no" >&6
3844 fi
3845
3846
3847 enablestring=
3848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3849 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3850 no_cache=0
3851 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3852 if test "${enable_no_rtti+set}" = set; then
3853 enableval="$enable_no_rtti"
3854
3855 if test "$enableval" = yes; then
3856 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3857 else
3858 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3859 fi
3860
3861 else
3862
3863 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3864 if test "x$LINE" != x ; then
3865 eval "DEFAULT_$LINE"
3866 else
3867 no_cache=1
3868 fi
3869
3870 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3871
3872 fi;
3873
3874 eval "$ac_cv_use_no_rtti"
3875 if test "$no_cache" != 1; then
3876 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3877 fi
3878
3879 if test "$wxUSE_NO_RTTI" = yes; then
3880 echo "$as_me:$LINENO: result: yes" >&5
3881 echo "${ECHO_T}yes" >&6
3882 else
3883 echo "$as_me:$LINENO: result: no" >&5
3884 echo "${ECHO_T}no" >&6
3885 fi
3886
3887
3888 enablestring=
3889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3890 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3891 no_cache=0
3892 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3893 if test "${enable_no_exceptions+set}" = set; then
3894 enableval="$enable_no_exceptions"
3895
3896 if test "$enableval" = yes; then
3897 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3898 else
3899 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3900 fi
3901
3902 else
3903
3904 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3905 if test "x$LINE" != x ; then
3906 eval "DEFAULT_$LINE"
3907 else
3908 no_cache=1
3909 fi
3910
3911 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3912
3913 fi;
3914
3915 eval "$ac_cv_use_no_exceptions"
3916 if test "$no_cache" != 1; then
3917 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3918 fi
3919
3920 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3921 echo "$as_me:$LINENO: result: yes" >&5
3922 echo "${ECHO_T}yes" >&6
3923 else
3924 echo "$as_me:$LINENO: result: no" >&5
3925 echo "${ECHO_T}no" >&6
3926 fi
3927
3928
3929 enablestring=
3930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3931 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3932 no_cache=0
3933 # Check whether --enable-permissive or --disable-permissive was given.
3934 if test "${enable_permissive+set}" = set; then
3935 enableval="$enable_permissive"
3936
3937 if test "$enableval" = yes; then
3938 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3939 else
3940 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3941 fi
3942
3943 else
3944
3945 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3946 if test "x$LINE" != x ; then
3947 eval "DEFAULT_$LINE"
3948 else
3949 no_cache=1
3950 fi
3951
3952 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3953
3954 fi;
3955
3956 eval "$ac_cv_use_permissive"
3957 if test "$no_cache" != 1; then
3958 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3959 fi
3960
3961 if test "$wxUSE_PERMISSIVE" = yes; then
3962 echo "$as_me:$LINENO: result: yes" >&5
3963 echo "${ECHO_T}yes" >&6
3964 else
3965 echo "$as_me:$LINENO: result: no" >&5
3966 echo "${ECHO_T}no" >&6
3967 fi
3968
3969
3970 enablestring=
3971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3972 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3973 no_cache=0
3974 # Check whether --enable-no_deps or --disable-no_deps was given.
3975 if test "${enable_no_deps+set}" = set; then
3976 enableval="$enable_no_deps"
3977
3978 if test "$enableval" = yes; then
3979 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3980 else
3981 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3982 fi
3983
3984 else
3985
3986 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3987 if test "x$LINE" != x ; then
3988 eval "DEFAULT_$LINE"
3989 else
3990 no_cache=1
3991 fi
3992
3993 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3994
3995 fi;
3996
3997 eval "$ac_cv_use_no_deps"
3998 if test "$no_cache" != 1; then
3999 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4000 fi
4001
4002 if test "$wxUSE_NO_DEPS" = yes; then
4003 echo "$as_me:$LINENO: result: yes" >&5
4004 echo "${ECHO_T}yes" >&6
4005 else
4006 echo "$as_me:$LINENO: result: no" >&5
4007 echo "${ECHO_T}no" >&6
4008 fi
4009
4010
4011
4012 enablestring=
4013 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4014 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4015 no_cache=0
4016 # Check whether --enable-compat22 or --disable-compat22 was given.
4017 if test "${enable_compat22+set}" = set; then
4018 enableval="$enable_compat22"
4019
4020 if test "$enableval" = yes; then
4021 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4022 else
4023 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4024 fi
4025
4026 else
4027
4028 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4029 if test "x$LINE" != x ; then
4030 eval "DEFAULT_$LINE"
4031 else
4032 no_cache=1
4033 fi
4034
4035 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4036
4037 fi;
4038
4039 eval "$ac_cv_use_compat22"
4040 if test "$no_cache" != 1; then
4041 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4042 fi
4043
4044 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4045 echo "$as_me:$LINENO: result: yes" >&5
4046 echo "${ECHO_T}yes" >&6
4047 else
4048 echo "$as_me:$LINENO: result: no" >&5
4049 echo "${ECHO_T}no" >&6
4050 fi
4051
4052
4053 enablestring=disable
4054 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4055 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4056 no_cache=0
4057 # Check whether --enable-compat24 or --disable-compat24 was given.
4058 if test "${enable_compat24+set}" = set; then
4059 enableval="$enable_compat24"
4060
4061 if test "$enableval" = yes; then
4062 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4063 else
4064 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4065 fi
4066
4067 else
4068
4069 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4070 if test "x$LINE" != x ; then
4071 eval "DEFAULT_$LINE"
4072 else
4073 no_cache=1
4074 fi
4075
4076 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4077
4078 fi;
4079
4080 eval "$ac_cv_use_compat24"
4081 if test "$no_cache" != 1; then
4082 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4083 fi
4084
4085 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4086 echo "$as_me:$LINENO: result: yes" >&5
4087 echo "${ECHO_T}yes" >&6
4088 else
4089 echo "$as_me:$LINENO: result: no" >&5
4090 echo "${ECHO_T}no" >&6
4091 fi
4092
4093
4094 # Check whether --enable-rpath or --disable-rpath was given.
4095 if test "${enable_rpath+set}" = set; then
4096 enableval="$enable_rpath"
4097 wxRPATH_DIR="$enableval"
4098 fi;
4099
4100 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
4101 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
4102 fi
4103
4104
4105
4106
4107 enablestring=
4108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4109 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4110 no_cache=0
4111 # Check whether --enable-intl or --disable-intl was given.
4112 if test "${enable_intl+set}" = set; then
4113 enableval="$enable_intl"
4114
4115 if test "$enableval" = yes; then
4116 ac_cv_use_intl='wxUSE_INTL=yes'
4117 else
4118 ac_cv_use_intl='wxUSE_INTL=no'
4119 fi
4120
4121 else
4122
4123 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4124 if test "x$LINE" != x ; then
4125 eval "DEFAULT_$LINE"
4126 else
4127 no_cache=1
4128 fi
4129
4130 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4131
4132 fi;
4133
4134 eval "$ac_cv_use_intl"
4135 if test "$no_cache" != 1; then
4136 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4137 fi
4138
4139 if test "$wxUSE_INTL" = yes; then
4140 echo "$as_me:$LINENO: result: yes" >&5
4141 echo "${ECHO_T}yes" >&6
4142 else
4143 echo "$as_me:$LINENO: result: no" >&5
4144 echo "${ECHO_T}no" >&6
4145 fi
4146
4147
4148 enablestring=
4149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4150 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4151 no_cache=0
4152 # Check whether --enable-config or --disable-config was given.
4153 if test "${enable_config+set}" = set; then
4154 enableval="$enable_config"
4155
4156 if test "$enableval" = yes; then
4157 ac_cv_use_config='wxUSE_CONFIG=yes'
4158 else
4159 ac_cv_use_config='wxUSE_CONFIG=no'
4160 fi
4161
4162 else
4163
4164 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4165 if test "x$LINE" != x ; then
4166 eval "DEFAULT_$LINE"
4167 else
4168 no_cache=1
4169 fi
4170
4171 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4172
4173 fi;
4174
4175 eval "$ac_cv_use_config"
4176 if test "$no_cache" != 1; then
4177 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4178 fi
4179
4180 if test "$wxUSE_CONFIG" = yes; then
4181 echo "$as_me:$LINENO: result: yes" >&5
4182 echo "${ECHO_T}yes" >&6
4183 else
4184 echo "$as_me:$LINENO: result: no" >&5
4185 echo "${ECHO_T}no" >&6
4186 fi
4187
4188
4189
4190 enablestring=
4191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4192 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4193 no_cache=0
4194 # Check whether --enable-protocols or --disable-protocols was given.
4195 if test "${enable_protocols+set}" = set; then
4196 enableval="$enable_protocols"
4197
4198 if test "$enableval" = yes; then
4199 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4200 else
4201 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4202 fi
4203
4204 else
4205
4206 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4207 if test "x$LINE" != x ; then
4208 eval "DEFAULT_$LINE"
4209 else
4210 no_cache=1
4211 fi
4212
4213 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4214
4215 fi;
4216
4217 eval "$ac_cv_use_protocols"
4218 if test "$no_cache" != 1; then
4219 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4220 fi
4221
4222 if test "$wxUSE_PROTOCOL" = yes; then
4223 echo "$as_me:$LINENO: result: yes" >&5
4224 echo "${ECHO_T}yes" >&6
4225 else
4226 echo "$as_me:$LINENO: result: no" >&5
4227 echo "${ECHO_T}no" >&6
4228 fi
4229
4230
4231 enablestring=
4232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4233 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4234 no_cache=0
4235 # Check whether --enable-ftp or --disable-ftp was given.
4236 if test "${enable_ftp+set}" = set; then
4237 enableval="$enable_ftp"
4238
4239 if test "$enableval" = yes; then
4240 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4241 else
4242 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4243 fi
4244
4245 else
4246
4247 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4248 if test "x$LINE" != x ; then
4249 eval "DEFAULT_$LINE"
4250 else
4251 no_cache=1
4252 fi
4253
4254 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4255
4256 fi;
4257
4258 eval "$ac_cv_use_ftp"
4259 if test "$no_cache" != 1; then
4260 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4261 fi
4262
4263 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4264 echo "$as_me:$LINENO: result: yes" >&5
4265 echo "${ECHO_T}yes" >&6
4266 else
4267 echo "$as_me:$LINENO: result: no" >&5
4268 echo "${ECHO_T}no" >&6
4269 fi
4270
4271
4272 enablestring=
4273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4274 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4275 no_cache=0
4276 # Check whether --enable-http or --disable-http was given.
4277 if test "${enable_http+set}" = set; then
4278 enableval="$enable_http"
4279
4280 if test "$enableval" = yes; then
4281 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4282 else
4283 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4284 fi
4285
4286 else
4287
4288 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4289 if test "x$LINE" != x ; then
4290 eval "DEFAULT_$LINE"
4291 else
4292 no_cache=1
4293 fi
4294
4295 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4296
4297 fi;
4298
4299 eval "$ac_cv_use_http"
4300 if test "$no_cache" != 1; then
4301 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4302 fi
4303
4304 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4305 echo "$as_me:$LINENO: result: yes" >&5
4306 echo "${ECHO_T}yes" >&6
4307 else
4308 echo "$as_me:$LINENO: result: no" >&5
4309 echo "${ECHO_T}no" >&6
4310 fi
4311
4312
4313 enablestring=
4314 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4315 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4316 no_cache=0
4317 # Check whether --enable-fileproto or --disable-fileproto was given.
4318 if test "${enable_fileproto+set}" = set; then
4319 enableval="$enable_fileproto"
4320
4321 if test "$enableval" = yes; then
4322 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4323 else
4324 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4325 fi
4326
4327 else
4328
4329 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4330 if test "x$LINE" != x ; then
4331 eval "DEFAULT_$LINE"
4332 else
4333 no_cache=1
4334 fi
4335
4336 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4337
4338 fi;
4339
4340 eval "$ac_cv_use_fileproto"
4341 if test "$no_cache" != 1; then
4342 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4343 fi
4344
4345 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4346 echo "$as_me:$LINENO: result: yes" >&5
4347 echo "${ECHO_T}yes" >&6
4348 else
4349 echo "$as_me:$LINENO: result: no" >&5
4350 echo "${ECHO_T}no" >&6
4351 fi
4352
4353
4354 enablestring=
4355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4356 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4357 no_cache=0
4358 # Check whether --enable-sockets or --disable-sockets was given.
4359 if test "${enable_sockets+set}" = set; then
4360 enableval="$enable_sockets"
4361
4362 if test "$enableval" = yes; then
4363 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4364 else
4365 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4366 fi
4367
4368 else
4369
4370 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4371 if test "x$LINE" != x ; then
4372 eval "DEFAULT_$LINE"
4373 else
4374 no_cache=1
4375 fi
4376
4377 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4378
4379 fi;
4380
4381 eval "$ac_cv_use_sockets"
4382 if test "$no_cache" != 1; then
4383 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4384 fi
4385
4386 if test "$wxUSE_SOCKETS" = yes; then
4387 echo "$as_me:$LINENO: result: yes" >&5
4388 echo "${ECHO_T}yes" >&6
4389 else
4390 echo "$as_me:$LINENO: result: no" >&5
4391 echo "${ECHO_T}no" >&6
4392 fi
4393
4394
4395 enablestring=
4396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4397 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4398 no_cache=0
4399 # Check whether --enable-ole or --disable-ole was given.
4400 if test "${enable_ole+set}" = set; then
4401 enableval="$enable_ole"
4402
4403 if test "$enableval" = yes; then
4404 ac_cv_use_ole='wxUSE_OLE=yes'
4405 else
4406 ac_cv_use_ole='wxUSE_OLE=no'
4407 fi
4408
4409 else
4410
4411 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4412 if test "x$LINE" != x ; then
4413 eval "DEFAULT_$LINE"
4414 else
4415 no_cache=1
4416 fi
4417
4418 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4419
4420 fi;
4421
4422 eval "$ac_cv_use_ole"
4423 if test "$no_cache" != 1; then
4424 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4425 fi
4426
4427 if test "$wxUSE_OLE" = yes; then
4428 echo "$as_me:$LINENO: result: yes" >&5
4429 echo "${ECHO_T}yes" >&6
4430 else
4431 echo "$as_me:$LINENO: result: no" >&5
4432 echo "${ECHO_T}no" >&6
4433 fi
4434
4435
4436 enablestring=
4437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4438 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4439 no_cache=0
4440 # Check whether --enable-dataobj or --disable-dataobj was given.
4441 if test "${enable_dataobj+set}" = set; then
4442 enableval="$enable_dataobj"
4443
4444 if test "$enableval" = yes; then
4445 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4446 else
4447 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4448 fi
4449
4450 else
4451
4452 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4453 if test "x$LINE" != x ; then
4454 eval "DEFAULT_$LINE"
4455 else
4456 no_cache=1
4457 fi
4458
4459 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4460
4461 fi;
4462
4463 eval "$ac_cv_use_dataobj"
4464 if test "$no_cache" != 1; then
4465 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4466 fi
4467
4468 if test "$wxUSE_DATAOBJ" = yes; then
4469 echo "$as_me:$LINENO: result: yes" >&5
4470 echo "${ECHO_T}yes" >&6
4471 else
4472 echo "$as_me:$LINENO: result: no" >&5
4473 echo "${ECHO_T}no" >&6
4474 fi
4475
4476
4477
4478 enablestring=
4479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4480 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4481 no_cache=0
4482 # Check whether --enable-ipc or --disable-ipc was given.
4483 if test "${enable_ipc+set}" = set; then
4484 enableval="$enable_ipc"
4485
4486 if test "$enableval" = yes; then
4487 ac_cv_use_ipc='wxUSE_IPC=yes'
4488 else
4489 ac_cv_use_ipc='wxUSE_IPC=no'
4490 fi
4491
4492 else
4493
4494 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4495 if test "x$LINE" != x ; then
4496 eval "DEFAULT_$LINE"
4497 else
4498 no_cache=1
4499 fi
4500
4501 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4502
4503 fi;
4504
4505 eval "$ac_cv_use_ipc"
4506 if test "$no_cache" != 1; then
4507 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4508 fi
4509
4510 if test "$wxUSE_IPC" = yes; then
4511 echo "$as_me:$LINENO: result: yes" >&5
4512 echo "${ECHO_T}yes" >&6
4513 else
4514 echo "$as_me:$LINENO: result: no" >&5
4515 echo "${ECHO_T}no" >&6
4516 fi
4517
4518
4519
4520 enablestring=
4521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4522 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4523 no_cache=0
4524 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4525 if test "${enable_apple_ieee+set}" = set; then
4526 enableval="$enable_apple_ieee"
4527
4528 if test "$enableval" = yes; then
4529 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4530 else
4531 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4532 fi
4533
4534 else
4535
4536 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4537 if test "x$LINE" != x ; then
4538 eval "DEFAULT_$LINE"
4539 else
4540 no_cache=1
4541 fi
4542
4543 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4544
4545 fi;
4546
4547 eval "$ac_cv_use_apple_ieee"
4548 if test "$no_cache" != 1; then
4549 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4550 fi
4551
4552 if test "$wxUSE_APPLE_IEEE" = yes; then
4553 echo "$as_me:$LINENO: result: yes" >&5
4554 echo "${ECHO_T}yes" >&6
4555 else
4556 echo "$as_me:$LINENO: result: no" >&5
4557 echo "${ECHO_T}no" >&6
4558 fi
4559
4560
4561 enablestring=
4562 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4563 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4564 no_cache=0
4565 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4566 if test "${enable_catch_segvs+set}" = set; then
4567 enableval="$enable_catch_segvs"
4568
4569 if test "$enableval" = yes; then
4570 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4571 else
4572 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4573 fi
4574
4575 else
4576
4577 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4578 if test "x$LINE" != x ; then
4579 eval "DEFAULT_$LINE"
4580 else
4581 no_cache=1
4582 fi
4583
4584 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4585
4586 fi;
4587
4588 eval "$ac_cv_use_catch_segvs"
4589 if test "$no_cache" != 1; then
4590 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4591 fi
4592
4593 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4594 echo "$as_me:$LINENO: result: yes" >&5
4595 echo "${ECHO_T}yes" >&6
4596 else
4597 echo "$as_me:$LINENO: result: no" >&5
4598 echo "${ECHO_T}no" >&6
4599 fi
4600
4601
4602 enablestring=
4603 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4604 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4605 no_cache=0
4606 # Check whether --enable-cmdline or --disable-cmdline was given.
4607 if test "${enable_cmdline+set}" = set; then
4608 enableval="$enable_cmdline"
4609
4610 if test "$enableval" = yes; then
4611 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4612 else
4613 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4614 fi
4615
4616 else
4617
4618 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4619 if test "x$LINE" != x ; then
4620 eval "DEFAULT_$LINE"
4621 else
4622 no_cache=1
4623 fi
4624
4625 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4626
4627 fi;
4628
4629 eval "$ac_cv_use_cmdline"
4630 if test "$no_cache" != 1; then
4631 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4632 fi
4633
4634 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4635 echo "$as_me:$LINENO: result: yes" >&5
4636 echo "${ECHO_T}yes" >&6
4637 else
4638 echo "$as_me:$LINENO: result: no" >&5
4639 echo "${ECHO_T}no" >&6
4640 fi
4641
4642
4643 enablestring=
4644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4645 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4646 no_cache=0
4647 # Check whether --enable-datetime or --disable-datetime was given.
4648 if test "${enable_datetime+set}" = set; then
4649 enableval="$enable_datetime"
4650
4651 if test "$enableval" = yes; then
4652 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4653 else
4654 ac_cv_use_datetime='wxUSE_DATETIME=no'
4655 fi
4656
4657 else
4658
4659 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4660 if test "x$LINE" != x ; then
4661 eval "DEFAULT_$LINE"
4662 else
4663 no_cache=1
4664 fi
4665
4666 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4667
4668 fi;
4669
4670 eval "$ac_cv_use_datetime"
4671 if test "$no_cache" != 1; then
4672 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4673 fi
4674
4675 if test "$wxUSE_DATETIME" = yes; then
4676 echo "$as_me:$LINENO: result: yes" >&5
4677 echo "${ECHO_T}yes" >&6
4678 else
4679 echo "$as_me:$LINENO: result: no" >&5
4680 echo "${ECHO_T}no" >&6
4681 fi
4682
4683
4684 enablestring=
4685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4686 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4687 no_cache=0
4688 # Check whether --enable-dialupman or --disable-dialupman was given.
4689 if test "${enable_dialupman+set}" = set; then
4690 enableval="$enable_dialupman"
4691
4692 if test "$enableval" = yes; then
4693 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4694 else
4695 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4696 fi
4697
4698 else
4699
4700 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4701 if test "x$LINE" != x ; then
4702 eval "DEFAULT_$LINE"
4703 else
4704 no_cache=1
4705 fi
4706
4707 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4708
4709 fi;
4710
4711 eval "$ac_cv_use_dialupman"
4712 if test "$no_cache" != 1; then
4713 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4714 fi
4715
4716 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4717 echo "$as_me:$LINENO: result: yes" >&5
4718 echo "${ECHO_T}yes" >&6
4719 else
4720 echo "$as_me:$LINENO: result: no" >&5
4721 echo "${ECHO_T}no" >&6
4722 fi
4723
4724
4725 enablestring=
4726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4727 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4728 no_cache=0
4729 # Check whether --enable-dynlib or --disable-dynlib was given.
4730 if test "${enable_dynlib+set}" = set; then
4731 enableval="$enable_dynlib"
4732
4733 if test "$enableval" = yes; then
4734 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4735 else
4736 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4737 fi
4738
4739 else
4740
4741 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4742 if test "x$LINE" != x ; then
4743 eval "DEFAULT_$LINE"
4744 else
4745 no_cache=1
4746 fi
4747
4748 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4749
4750 fi;
4751
4752 eval "$ac_cv_use_dynlib"
4753 if test "$no_cache" != 1; then
4754 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4755 fi
4756
4757 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4758 echo "$as_me:$LINENO: result: yes" >&5
4759 echo "${ECHO_T}yes" >&6
4760 else
4761 echo "$as_me:$LINENO: result: no" >&5
4762 echo "${ECHO_T}no" >&6
4763 fi
4764
4765
4766 enablestring=
4767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4768 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4769 no_cache=0
4770 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4771 if test "${enable_dynamicloader+set}" = set; then
4772 enableval="$enable_dynamicloader"
4773
4774 if test "$enableval" = yes; then
4775 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4776 else
4777 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4778 fi
4779
4780 else
4781
4782 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4783 if test "x$LINE" != x ; then
4784 eval "DEFAULT_$LINE"
4785 else
4786 no_cache=1
4787 fi
4788
4789 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4790
4791 fi;
4792
4793 eval "$ac_cv_use_dynamicloader"
4794 if test "$no_cache" != 1; then
4795 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4796 fi
4797
4798 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4799 echo "$as_me:$LINENO: result: yes" >&5
4800 echo "${ECHO_T}yes" >&6
4801 else
4802 echo "$as_me:$LINENO: result: no" >&5
4803 echo "${ECHO_T}no" >&6
4804 fi
4805
4806
4807 enablestring=
4808 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4809 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4810 no_cache=0
4811 # Check whether --enable-exceptions or --disable-exceptions was given.
4812 if test "${enable_exceptions+set}" = set; then
4813 enableval="$enable_exceptions"
4814
4815 if test "$enableval" = yes; then
4816 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
4817 else
4818 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
4819 fi
4820
4821 else
4822
4823 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4824 if test "x$LINE" != x ; then
4825 eval "DEFAULT_$LINE"
4826 else
4827 no_cache=1
4828 fi
4829
4830 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4831
4832 fi;
4833
4834 eval "$ac_cv_use_exceptions"
4835 if test "$no_cache" != 1; then
4836 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4837 fi
4838
4839 if test "$wxUSE_EXCEPTIONS" = yes; then
4840 echo "$as_me:$LINENO: result: yes" >&5
4841 echo "${ECHO_T}yes" >&6
4842 else
4843 echo "$as_me:$LINENO: result: no" >&5
4844 echo "${ECHO_T}no" >&6
4845 fi
4846
4847
4848 enablestring=
4849 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4850 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4851 no_cache=0
4852 # Check whether --enable-ffile or --disable-ffile was given.
4853 if test "${enable_ffile+set}" = set; then
4854 enableval="$enable_ffile"
4855
4856 if test "$enableval" = yes; then
4857 ac_cv_use_ffile='wxUSE_FFILE=yes'
4858 else
4859 ac_cv_use_ffile='wxUSE_FFILE=no'
4860 fi
4861
4862 else
4863
4864 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4865 if test "x$LINE" != x ; then
4866 eval "DEFAULT_$LINE"
4867 else
4868 no_cache=1
4869 fi
4870
4871 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4872
4873 fi;
4874
4875 eval "$ac_cv_use_ffile"
4876 if test "$no_cache" != 1; then
4877 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4878 fi
4879
4880 if test "$wxUSE_FFILE" = yes; then
4881 echo "$as_me:$LINENO: result: yes" >&5
4882 echo "${ECHO_T}yes" >&6
4883 else
4884 echo "$as_me:$LINENO: result: no" >&5
4885 echo "${ECHO_T}no" >&6
4886 fi
4887
4888
4889 enablestring=
4890 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4891 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4892 no_cache=0
4893 # Check whether --enable-file or --disable-file was given.
4894 if test "${enable_file+set}" = set; then
4895 enableval="$enable_file"
4896
4897 if test "$enableval" = yes; then
4898 ac_cv_use_file='wxUSE_FILE=yes'
4899 else
4900 ac_cv_use_file='wxUSE_FILE=no'
4901 fi
4902
4903 else
4904
4905 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4906 if test "x$LINE" != x ; then
4907 eval "DEFAULT_$LINE"
4908 else
4909 no_cache=1
4910 fi
4911
4912 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4913
4914 fi;
4915
4916 eval "$ac_cv_use_file"
4917 if test "$no_cache" != 1; then
4918 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4919 fi
4920
4921 if test "$wxUSE_FILE" = yes; then
4922 echo "$as_me:$LINENO: result: yes" >&5
4923 echo "${ECHO_T}yes" >&6
4924 else
4925 echo "$as_me:$LINENO: result: no" >&5
4926 echo "${ECHO_T}no" >&6
4927 fi
4928
4929
4930 enablestring=
4931 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4932 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4933 no_cache=0
4934 # Check whether --enable-filesystem or --disable-filesystem was given.
4935 if test "${enable_filesystem+set}" = set; then
4936 enableval="$enable_filesystem"
4937
4938 if test "$enableval" = yes; then
4939 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4940 else
4941 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4942 fi
4943
4944 else
4945
4946 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4947 if test "x$LINE" != x ; then
4948 eval "DEFAULT_$LINE"
4949 else
4950 no_cache=1
4951 fi
4952
4953 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4954
4955 fi;
4956
4957 eval "$ac_cv_use_filesystem"
4958 if test "$no_cache" != 1; then
4959 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4960 fi
4961
4962 if test "$wxUSE_FILESYSTEM" = yes; then
4963 echo "$as_me:$LINENO: result: yes" >&5
4964 echo "${ECHO_T}yes" >&6
4965 else
4966 echo "$as_me:$LINENO: result: no" >&5
4967 echo "${ECHO_T}no" >&6
4968 fi
4969
4970
4971 enablestring=
4972 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4973 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4974 no_cache=0
4975 # Check whether --enable-fontmap or --disable-fontmap was given.
4976 if test "${enable_fontmap+set}" = set; then
4977 enableval="$enable_fontmap"
4978
4979 if test "$enableval" = yes; then
4980 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4981 else
4982 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4983 fi
4984
4985 else
4986
4987 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4988 if test "x$LINE" != x ; then
4989 eval "DEFAULT_$LINE"
4990 else
4991 no_cache=1
4992 fi
4993
4994 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4995
4996 fi;
4997
4998 eval "$ac_cv_use_fontmap"
4999 if test "$no_cache" != 1; then
5000 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5001 fi
5002
5003 if test "$wxUSE_FONTMAP" = yes; then
5004 echo "$as_me:$LINENO: result: yes" >&5
5005 echo "${ECHO_T}yes" >&6
5006 else
5007 echo "$as_me:$LINENO: result: no" >&5
5008 echo "${ECHO_T}no" >&6
5009 fi
5010
5011
5012 enablestring=
5013 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5014 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5015 no_cache=0
5016 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5017 if test "${enable_fs_inet+set}" = set; then
5018 enableval="$enable_fs_inet"
5019
5020 if test "$enableval" = yes; then
5021 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5022 else
5023 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5024 fi
5025
5026 else
5027
5028 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5029 if test "x$LINE" != x ; then
5030 eval "DEFAULT_$LINE"
5031 else
5032 no_cache=1
5033 fi
5034
5035 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5036
5037 fi;
5038
5039 eval "$ac_cv_use_fs_inet"
5040 if test "$no_cache" != 1; then
5041 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5042 fi
5043
5044 if test "$wxUSE_FS_INET" = yes; then
5045 echo "$as_me:$LINENO: result: yes" >&5
5046 echo "${ECHO_T}yes" >&6
5047 else
5048 echo "$as_me:$LINENO: result: no" >&5
5049 echo "${ECHO_T}no" >&6
5050 fi
5051
5052
5053 enablestring=
5054 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5055 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5056 no_cache=0
5057 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5058 if test "${enable_fs_zip+set}" = set; then
5059 enableval="$enable_fs_zip"
5060
5061 if test "$enableval" = yes; then
5062 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5063 else
5064 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5065 fi
5066
5067 else
5068
5069 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5070 if test "x$LINE" != x ; then
5071 eval "DEFAULT_$LINE"
5072 else
5073 no_cache=1
5074 fi
5075
5076 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5077
5078 fi;
5079
5080 eval "$ac_cv_use_fs_zip"
5081 if test "$no_cache" != 1; then
5082 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5083 fi
5084
5085 if test "$wxUSE_FS_ZIP" = yes; then
5086 echo "$as_me:$LINENO: result: yes" >&5
5087 echo "${ECHO_T}yes" >&6
5088 else
5089 echo "$as_me:$LINENO: result: no" >&5
5090 echo "${ECHO_T}no" >&6
5091 fi
5092
5093
5094 enablestring=
5095 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5096 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5097 no_cache=0
5098 # Check whether --enable-geometry or --disable-geometry was given.
5099 if test "${enable_geometry+set}" = set; then
5100 enableval="$enable_geometry"
5101
5102 if test "$enableval" = yes; then
5103 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5104 else
5105 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5106 fi
5107
5108 else
5109
5110 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5111 if test "x$LINE" != x ; then
5112 eval "DEFAULT_$LINE"
5113 else
5114 no_cache=1
5115 fi
5116
5117 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5118
5119 fi;
5120
5121 eval "$ac_cv_use_geometry"
5122 if test "$no_cache" != 1; then
5123 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5124 fi
5125
5126 if test "$wxUSE_GEOMETRY" = yes; then
5127 echo "$as_me:$LINENO: result: yes" >&5
5128 echo "${ECHO_T}yes" >&6
5129 else
5130 echo "$as_me:$LINENO: result: no" >&5
5131 echo "${ECHO_T}no" >&6
5132 fi
5133
5134
5135 enablestring=
5136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5137 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5138 no_cache=0
5139 # Check whether --enable-log or --disable-log was given.
5140 if test "${enable_log+set}" = set; then
5141 enableval="$enable_log"
5142
5143 if test "$enableval" = yes; then
5144 ac_cv_use_log='wxUSE_LOG=yes'
5145 else
5146 ac_cv_use_log='wxUSE_LOG=no'
5147 fi
5148
5149 else
5150
5151 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5152 if test "x$LINE" != x ; then
5153 eval "DEFAULT_$LINE"
5154 else
5155 no_cache=1
5156 fi
5157
5158 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5159
5160 fi;
5161
5162 eval "$ac_cv_use_log"
5163 if test "$no_cache" != 1; then
5164 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5165 fi
5166
5167 if test "$wxUSE_LOG" = yes; then
5168 echo "$as_me:$LINENO: result: yes" >&5
5169 echo "${ECHO_T}yes" >&6
5170 else
5171 echo "$as_me:$LINENO: result: no" >&5
5172 echo "${ECHO_T}no" >&6
5173 fi
5174
5175
5176 enablestring=
5177 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5178 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5179 no_cache=0
5180 # Check whether --enable-longlong or --disable-longlong was given.
5181 if test "${enable_longlong+set}" = set; then
5182 enableval="$enable_longlong"
5183
5184 if test "$enableval" = yes; then
5185 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5186 else
5187 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5188 fi
5189
5190 else
5191
5192 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5193 if test "x$LINE" != x ; then
5194 eval "DEFAULT_$LINE"
5195 else
5196 no_cache=1
5197 fi
5198
5199 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5200
5201 fi;
5202
5203 eval "$ac_cv_use_longlong"
5204 if test "$no_cache" != 1; then
5205 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5206 fi
5207
5208 if test "$wxUSE_LONGLONG" = yes; then
5209 echo "$as_me:$LINENO: result: yes" >&5
5210 echo "${ECHO_T}yes" >&6
5211 else
5212 echo "$as_me:$LINENO: result: no" >&5
5213 echo "${ECHO_T}no" >&6
5214 fi
5215
5216
5217 enablestring=
5218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5219 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5220 no_cache=0
5221 # Check whether --enable-mimetype or --disable-mimetype was given.
5222 if test "${enable_mimetype+set}" = set; then
5223 enableval="$enable_mimetype"
5224
5225 if test "$enableval" = yes; then
5226 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5227 else
5228 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5229 fi
5230
5231 else
5232
5233 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5234 if test "x$LINE" != x ; then
5235 eval "DEFAULT_$LINE"
5236 else
5237 no_cache=1
5238 fi
5239
5240 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5241
5242 fi;
5243
5244 eval "$ac_cv_use_mimetype"
5245 if test "$no_cache" != 1; then
5246 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5247 fi
5248
5249 if test "$wxUSE_MIMETYPE" = yes; then
5250 echo "$as_me:$LINENO: result: yes" >&5
5251 echo "${ECHO_T}yes" >&6
5252 else
5253 echo "$as_me:$LINENO: result: no" >&5
5254 echo "${ECHO_T}no" >&6
5255 fi
5256
5257
5258 enablestring=
5259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5260 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5261 no_cache=0
5262 # Check whether --enable-mslu or --disable-mslu was given.
5263 if test "${enable_mslu+set}" = set; then
5264 enableval="$enable_mslu"
5265
5266 if test "$enableval" = yes; then
5267 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5268 else
5269 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5270 fi
5271
5272 else
5273
5274 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5275 if test "x$LINE" != x ; then
5276 eval "DEFAULT_$LINE"
5277 else
5278 no_cache=1
5279 fi
5280
5281 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5282
5283 fi;
5284
5285 eval "$ac_cv_use_mslu"
5286 if test "$no_cache" != 1; then
5287 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5288 fi
5289
5290 if test "$wxUSE_UNICODE_MSLU" = yes; then
5291 echo "$as_me:$LINENO: result: yes" >&5
5292 echo "${ECHO_T}yes" >&6
5293 else
5294 echo "$as_me:$LINENO: result: no" >&5
5295 echo "${ECHO_T}no" >&6
5296 fi
5297
5298
5299 enablestring=
5300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5301 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5302 no_cache=0
5303 # Check whether --enable-snglinst or --disable-snglinst was given.
5304 if test "${enable_snglinst+set}" = set; then
5305 enableval="$enable_snglinst"
5306
5307 if test "$enableval" = yes; then
5308 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5309 else
5310 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5311 fi
5312
5313 else
5314
5315 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5316 if test "x$LINE" != x ; then
5317 eval "DEFAULT_$LINE"
5318 else
5319 no_cache=1
5320 fi
5321
5322 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5323
5324 fi;
5325
5326 eval "$ac_cv_use_snglinst"
5327 if test "$no_cache" != 1; then
5328 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5329 fi
5330
5331 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5332 echo "$as_me:$LINENO: result: yes" >&5
5333 echo "${ECHO_T}yes" >&6
5334 else
5335 echo "$as_me:$LINENO: result: no" >&5
5336 echo "${ECHO_T}no" >&6
5337 fi
5338
5339
5340 enablestring=
5341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5342 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5343 no_cache=0
5344 # Check whether --enable-streams or --disable-streams was given.
5345 if test "${enable_streams+set}" = set; then
5346 enableval="$enable_streams"
5347
5348 if test "$enableval" = yes; then
5349 ac_cv_use_streams='wxUSE_STREAMS=yes'
5350 else
5351 ac_cv_use_streams='wxUSE_STREAMS=no'
5352 fi
5353
5354 else
5355
5356 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5357 if test "x$LINE" != x ; then
5358 eval "DEFAULT_$LINE"
5359 else
5360 no_cache=1
5361 fi
5362
5363 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5364
5365 fi;
5366
5367 eval "$ac_cv_use_streams"
5368 if test "$no_cache" != 1; then
5369 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5370 fi
5371
5372 if test "$wxUSE_STREAMS" = yes; then
5373 echo "$as_me:$LINENO: result: yes" >&5
5374 echo "${ECHO_T}yes" >&6
5375 else
5376 echo "$as_me:$LINENO: result: no" >&5
5377 echo "${ECHO_T}no" >&6
5378 fi
5379
5380
5381 enablestring=
5382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5383 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5384 no_cache=0
5385 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5386 if test "${enable_std_iostreams+set}" = set; then
5387 enableval="$enable_std_iostreams"
5388
5389 if test "$enableval" = yes; then
5390 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5391 else
5392 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5393 fi
5394
5395 else
5396
5397 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5398 if test "x$LINE" != x ; then
5399 eval "DEFAULT_$LINE"
5400 else
5401 no_cache=1
5402 fi
5403
5404 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5405
5406 fi;
5407
5408 eval "$ac_cv_use_std_iostreams"
5409 if test "$no_cache" != 1; then
5410 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5411 fi
5412
5413 if test "$wxUSE_STD_IOSTREAM" = yes; then
5414 echo "$as_me:$LINENO: result: yes" >&5
5415 echo "${ECHO_T}yes" >&6
5416 else
5417 echo "$as_me:$LINENO: result: no" >&5
5418 echo "${ECHO_T}no" >&6
5419 fi
5420
5421
5422 enablestring=
5423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5424 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5425 no_cache=0
5426 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5427 if test "${enable_stopwatch+set}" = set; then
5428 enableval="$enable_stopwatch"
5429
5430 if test "$enableval" = yes; then
5431 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5432 else
5433 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5434 fi
5435
5436 else
5437
5438 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5439 if test "x$LINE" != x ; then
5440 eval "DEFAULT_$LINE"
5441 else
5442 no_cache=1
5443 fi
5444
5445 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5446
5447 fi;
5448
5449 eval "$ac_cv_use_stopwatch"
5450 if test "$no_cache" != 1; then
5451 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5452 fi
5453
5454 if test "$wxUSE_STOPWATCH" = yes; then
5455 echo "$as_me:$LINENO: result: yes" >&5
5456 echo "${ECHO_T}yes" >&6
5457 else
5458 echo "$as_me:$LINENO: result: no" >&5
5459 echo "${ECHO_T}no" >&6
5460 fi
5461
5462
5463 enablestring=
5464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5465 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5466 no_cache=0
5467 # Check whether --enable-system_options or --disable-system_options was given.
5468 if test "${enable_system_options+set}" = set; then
5469 enableval="$enable_system_options"
5470
5471 if test "$enableval" = yes; then
5472 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5473 else
5474 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5475 fi
5476
5477 else
5478
5479 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5480 if test "x$LINE" != x ; then
5481 eval "DEFAULT_$LINE"
5482 else
5483 no_cache=1
5484 fi
5485
5486 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5487
5488 fi;
5489
5490 eval "$ac_cv_use_system_options"
5491 if test "$no_cache" != 1; then
5492 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5493 fi
5494
5495 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5496 echo "$as_me:$LINENO: result: yes" >&5
5497 echo "${ECHO_T}yes" >&6
5498 else
5499 echo "$as_me:$LINENO: result: no" >&5
5500 echo "${ECHO_T}no" >&6
5501 fi
5502
5503
5504 enablestring=
5505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5506 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5507 no_cache=0
5508 # Check whether --enable-textbuf or --disable-textbuf was given.
5509 if test "${enable_textbuf+set}" = set; then
5510 enableval="$enable_textbuf"
5511
5512 if test "$enableval" = yes; then
5513 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5514 else
5515 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5516 fi
5517
5518 else
5519
5520 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5521 if test "x$LINE" != x ; then
5522 eval "DEFAULT_$LINE"
5523 else
5524 no_cache=1
5525 fi
5526
5527 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5528
5529 fi;
5530
5531 eval "$ac_cv_use_textbuf"
5532 if test "$no_cache" != 1; then
5533 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5534 fi
5535
5536 if test "$wxUSE_TEXTBUFFER" = yes; then
5537 echo "$as_me:$LINENO: result: yes" >&5
5538 echo "${ECHO_T}yes" >&6
5539 else
5540 echo "$as_me:$LINENO: result: no" >&5
5541 echo "${ECHO_T}no" >&6
5542 fi
5543
5544
5545 enablestring=
5546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5547 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5548 no_cache=0
5549 # Check whether --enable-textfile or --disable-textfile was given.
5550 if test "${enable_textfile+set}" = set; then
5551 enableval="$enable_textfile"
5552
5553 if test "$enableval" = yes; then
5554 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5555 else
5556 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5557 fi
5558
5559 else
5560
5561 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5562 if test "x$LINE" != x ; then
5563 eval "DEFAULT_$LINE"
5564 else
5565 no_cache=1
5566 fi
5567
5568 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5569
5570 fi;
5571
5572 eval "$ac_cv_use_textfile"
5573 if test "$no_cache" != 1; then
5574 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5575 fi
5576
5577 if test "$wxUSE_TEXTFILE" = yes; then
5578 echo "$as_me:$LINENO: result: yes" >&5
5579 echo "${ECHO_T}yes" >&6
5580 else
5581 echo "$as_me:$LINENO: result: no" >&5
5582 echo "${ECHO_T}no" >&6
5583 fi
5584
5585
5586 enablestring=
5587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5588 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5589 no_cache=0
5590 # Check whether --enable-timer or --disable-timer was given.
5591 if test "${enable_timer+set}" = set; then
5592 enableval="$enable_timer"
5593
5594 if test "$enableval" = yes; then
5595 ac_cv_use_timer='wxUSE_TIMER=yes'
5596 else
5597 ac_cv_use_timer='wxUSE_TIMER=no'
5598 fi
5599
5600 else
5601
5602 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5603 if test "x$LINE" != x ; then
5604 eval "DEFAULT_$LINE"
5605 else
5606 no_cache=1
5607 fi
5608
5609 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5610
5611 fi;
5612
5613 eval "$ac_cv_use_timer"
5614 if test "$no_cache" != 1; then
5615 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5616 fi
5617
5618 if test "$wxUSE_TIMER" = yes; then
5619 echo "$as_me:$LINENO: result: yes" >&5
5620 echo "${ECHO_T}yes" >&6
5621 else
5622 echo "$as_me:$LINENO: result: no" >&5
5623 echo "${ECHO_T}no" >&6
5624 fi
5625
5626
5627 enablestring=
5628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5629 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5630 no_cache=0
5631 # Check whether --enable-unicode or --disable-unicode was given.
5632 if test "${enable_unicode+set}" = set; then
5633 enableval="$enable_unicode"
5634
5635 if test "$enableval" = yes; then
5636 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5637 else
5638 ac_cv_use_unicode='wxUSE_UNICODE=no'
5639 fi
5640
5641 else
5642
5643 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5644 if test "x$LINE" != x ; then
5645 eval "DEFAULT_$LINE"
5646 else
5647 no_cache=1
5648 fi
5649
5650 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5651
5652 fi;
5653
5654 eval "$ac_cv_use_unicode"
5655 if test "$no_cache" != 1; then
5656 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5657 fi
5658
5659 if test "$wxUSE_UNICODE" = yes; then
5660 echo "$as_me:$LINENO: result: yes" >&5
5661 echo "${ECHO_T}yes" >&6
5662 else
5663 echo "$as_me:$LINENO: result: no" >&5
5664 echo "${ECHO_T}no" >&6
5665 fi
5666
5667
5668 enablestring=
5669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5670 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5671 no_cache=0
5672 # Check whether --enable-sound or --disable-sound was given.
5673 if test "${enable_sound+set}" = set; then
5674 enableval="$enable_sound"
5675
5676 if test "$enableval" = yes; then
5677 ac_cv_use_sound='wxUSE_SOUND=yes'
5678 else
5679 ac_cv_use_sound='wxUSE_SOUND=no'
5680 fi
5681
5682 else
5683
5684 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5685 if test "x$LINE" != x ; then
5686 eval "DEFAULT_$LINE"
5687 else
5688 no_cache=1
5689 fi
5690
5691 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5692
5693 fi;
5694
5695 eval "$ac_cv_use_sound"
5696 if test "$no_cache" != 1; then
5697 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5698 fi
5699
5700 if test "$wxUSE_SOUND" = yes; then
5701 echo "$as_me:$LINENO: result: yes" >&5
5702 echo "${ECHO_T}yes" >&6
5703 else
5704 echo "$as_me:$LINENO: result: no" >&5
5705 echo "${ECHO_T}no" >&6
5706 fi
5707
5708
5709 enablestring=
5710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5711 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5712 no_cache=0
5713 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5714 if test "${enable_wxprintfv+set}" = set; then
5715 enableval="$enable_wxprintfv"
5716
5717 if test "$enableval" = yes; then
5718 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5719 else
5720 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5721 fi
5722
5723 else
5724
5725 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5726 if test "x$LINE" != x ; then
5727 eval "DEFAULT_$LINE"
5728 else
5729 no_cache=1
5730 fi
5731
5732 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5733
5734 fi;
5735
5736 eval "$ac_cv_use_wxprintfv"
5737 if test "$no_cache" != 1; then
5738 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5739 fi
5740
5741 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5742 echo "$as_me:$LINENO: result: yes" >&5
5743 echo "${ECHO_T}yes" >&6
5744 else
5745 echo "$as_me:$LINENO: result: no" >&5
5746 echo "${ECHO_T}no" >&6
5747 fi
5748
5749
5750 enablestring=
5751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5752 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5753 no_cache=0
5754 # Check whether --enable-zipstream or --disable-zipstream was given.
5755 if test "${enable_zipstream+set}" = set; then
5756 enableval="$enable_zipstream"
5757
5758 if test "$enableval" = yes; then
5759 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5760 else
5761 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5762 fi
5763
5764 else
5765
5766 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5767 if test "x$LINE" != x ; then
5768 eval "DEFAULT_$LINE"
5769 else
5770 no_cache=1
5771 fi
5772
5773 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5774
5775 fi;
5776
5777 eval "$ac_cv_use_zipstream"
5778 if test "$no_cache" != 1; then
5779 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5780 fi
5781
5782 if test "$wxUSE_ZIPSTREAM" = yes; then
5783 echo "$as_me:$LINENO: result: yes" >&5
5784 echo "${ECHO_T}yes" >&6
5785 else
5786 echo "$as_me:$LINENO: result: no" >&5
5787 echo "${ECHO_T}no" >&6
5788 fi
5789
5790
5791 enablestring=
5792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5
5793 echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6
5794 no_cache=0
5795 # Check whether --enable-gzstream or --disable-gzstream was given.
5796 if test "${enable_gzstream+set}" = set; then
5797 enableval="$enable_gzstream"
5798
5799 if test "$enableval" = yes; then
5800 ac_cv_use_gzstream='wxUSE_GZSTREAM=yes'
5801 else
5802 ac_cv_use_gzstream='wxUSE_GZSTREAM=no'
5803 fi
5804
5805 else
5806
5807 LINE=`grep "wxUSE_GZSTREAM" ${wx_arg_cache_file}`
5808 if test "x$LINE" != x ; then
5809 eval "DEFAULT_$LINE"
5810 else
5811 no_cache=1
5812 fi
5813
5814 ac_cv_use_gzstream='wxUSE_GZSTREAM='$DEFAULT_wxUSE_GZSTREAM
5815
5816 fi;
5817
5818 eval "$ac_cv_use_gzstream"
5819 if test "$no_cache" != 1; then
5820 echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp
5821 fi
5822
5823 if test "$wxUSE_GZSTREAM" = yes; then
5824 echo "$as_me:$LINENO: result: yes" >&5
5825 echo "${ECHO_T}yes" >&6
5826 else
5827 echo "$as_me:$LINENO: result: no" >&5
5828 echo "${ECHO_T}no" >&6
5829 fi
5830
5831
5832
5833 enablestring=
5834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5835 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5836 no_cache=0
5837 # Check whether --enable-url or --disable-url was given.
5838 if test "${enable_url+set}" = set; then
5839 enableval="$enable_url"
5840
5841 if test "$enableval" = yes; then
5842 ac_cv_use_url='wxUSE_URL=yes'
5843 else
5844 ac_cv_use_url='wxUSE_URL=no'
5845 fi
5846
5847 else
5848
5849 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5850 if test "x$LINE" != x ; then
5851 eval "DEFAULT_$LINE"
5852 else
5853 no_cache=1
5854 fi
5855
5856 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5857
5858 fi;
5859
5860 eval "$ac_cv_use_url"
5861 if test "$no_cache" != 1; then
5862 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5863 fi
5864
5865 if test "$wxUSE_URL" = yes; then
5866 echo "$as_me:$LINENO: result: yes" >&5
5867 echo "${ECHO_T}yes" >&6
5868 else
5869 echo "$as_me:$LINENO: result: no" >&5
5870 echo "${ECHO_T}no" >&6
5871 fi
5872
5873
5874 enablestring=
5875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5876 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5877 no_cache=0
5878 # Check whether --enable-protocol or --disable-protocol was given.
5879 if test "${enable_protocol+set}" = set; then
5880 enableval="$enable_protocol"
5881
5882 if test "$enableval" = yes; then
5883 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5884 else
5885 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5886 fi
5887
5888 else
5889
5890 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5891 if test "x$LINE" != x ; then
5892 eval "DEFAULT_$LINE"
5893 else
5894 no_cache=1
5895 fi
5896
5897 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5898
5899 fi;
5900
5901 eval "$ac_cv_use_protocol"
5902 if test "$no_cache" != 1; then
5903 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5904 fi
5905
5906 if test "$wxUSE_PROTOCOL" = yes; then
5907 echo "$as_me:$LINENO: result: yes" >&5
5908 echo "${ECHO_T}yes" >&6
5909 else
5910 echo "$as_me:$LINENO: result: no" >&5
5911 echo "${ECHO_T}no" >&6
5912 fi
5913
5914
5915 enablestring=
5916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5917 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5918 no_cache=0
5919 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5920 if test "${enable_protocol_http+set}" = set; then
5921 enableval="$enable_protocol_http"
5922
5923 if test "$enableval" = yes; then
5924 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5925 else
5926 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5927 fi
5928
5929 else
5930
5931 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5932 if test "x$LINE" != x ; then
5933 eval "DEFAULT_$LINE"
5934 else
5935 no_cache=1
5936 fi
5937
5938 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5939
5940 fi;
5941
5942 eval "$ac_cv_use_protocol_http"
5943 if test "$no_cache" != 1; then
5944 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5945 fi
5946
5947 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5948 echo "$as_me:$LINENO: result: yes" >&5
5949 echo "${ECHO_T}yes" >&6
5950 else
5951 echo "$as_me:$LINENO: result: no" >&5
5952 echo "${ECHO_T}no" >&6
5953 fi
5954
5955
5956 enablestring=
5957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5958 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5959 no_cache=0
5960 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5961 if test "${enable_protocol_ftp+set}" = set; then
5962 enableval="$enable_protocol_ftp"
5963
5964 if test "$enableval" = yes; then
5965 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5966 else
5967 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5968 fi
5969
5970 else
5971
5972 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5973 if test "x$LINE" != x ; then
5974 eval "DEFAULT_$LINE"
5975 else
5976 no_cache=1
5977 fi
5978
5979 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5980
5981 fi;
5982
5983 eval "$ac_cv_use_protocol_ftp"
5984 if test "$no_cache" != 1; then
5985 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5986 fi
5987
5988 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5989 echo "$as_me:$LINENO: result: yes" >&5
5990 echo "${ECHO_T}yes" >&6
5991 else
5992 echo "$as_me:$LINENO: result: no" >&5
5993 echo "${ECHO_T}no" >&6
5994 fi
5995
5996
5997 enablestring=
5998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5999 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6000 no_cache=0
6001 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6002 if test "${enable_protocol_file+set}" = set; then
6003 enableval="$enable_protocol_file"
6004
6005 if test "$enableval" = yes; then
6006 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6007 else
6008 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6009 fi
6010
6011 else
6012
6013 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6014 if test "x$LINE" != x ; then
6015 eval "DEFAULT_$LINE"
6016 else
6017 no_cache=1
6018 fi
6019
6020 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6021
6022 fi;
6023
6024 eval "$ac_cv_use_protocol_file"
6025 if test "$no_cache" != 1; then
6026 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6027 fi
6028
6029 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6030 echo "$as_me:$LINENO: result: yes" >&5
6031 echo "${ECHO_T}yes" >&6
6032 else
6033 echo "$as_me:$LINENO: result: no" >&5
6034 echo "${ECHO_T}no" >&6
6035 fi
6036
6037
6038
6039
6040
6041 enablestring=
6042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6043 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6044 no_cache=0
6045 # Check whether --enable-threads or --disable-threads was given.
6046 if test "${enable_threads+set}" = set; then
6047 enableval="$enable_threads"
6048
6049 if test "$enableval" = yes; then
6050 ac_cv_use_threads='wxUSE_THREADS=yes'
6051 else
6052 ac_cv_use_threads='wxUSE_THREADS=no'
6053 fi
6054
6055 else
6056
6057 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6058 if test "x$LINE" != x ; then
6059 eval "DEFAULT_$LINE"
6060 else
6061 no_cache=1
6062 fi
6063
6064 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6065
6066 fi;
6067
6068 eval "$ac_cv_use_threads"
6069 if test "$no_cache" != 1; then
6070 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6071 fi
6072
6073 if test "$wxUSE_THREADS" = yes; then
6074 echo "$as_me:$LINENO: result: yes" >&5
6075 echo "${ECHO_T}yes" >&6
6076 else
6077 echo "$as_me:$LINENO: result: no" >&5
6078 echo "${ECHO_T}no" >&6
6079 fi
6080
6081
6082 if test "$wxUSE_GUI" = "yes"; then
6083
6084
6085
6086 enablestring=
6087 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6088 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6089 no_cache=0
6090 # Check whether --enable-docview or --disable-docview was given.
6091 if test "${enable_docview+set}" = set; then
6092 enableval="$enable_docview"
6093
6094 if test "$enableval" = yes; then
6095 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6096 else
6097 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6098 fi
6099
6100 else
6101
6102 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6103 if test "x$LINE" != x ; then
6104 eval "DEFAULT_$LINE"
6105 else
6106 no_cache=1
6107 fi
6108
6109 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6110
6111 fi;
6112
6113 eval "$ac_cv_use_docview"
6114 if test "$no_cache" != 1; then
6115 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6116 fi
6117
6118 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6119 echo "$as_me:$LINENO: result: yes" >&5
6120 echo "${ECHO_T}yes" >&6
6121 else
6122 echo "$as_me:$LINENO: result: no" >&5
6123 echo "${ECHO_T}no" >&6
6124 fi
6125
6126
6127 enablestring=
6128 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6129 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6130 no_cache=0
6131 # Check whether --enable-help or --disable-help was given.
6132 if test "${enable_help+set}" = set; then
6133 enableval="$enable_help"
6134
6135 if test "$enableval" = yes; then
6136 ac_cv_use_help='wxUSE_HELP=yes'
6137 else
6138 ac_cv_use_help='wxUSE_HELP=no'
6139 fi
6140
6141 else
6142
6143 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6144 if test "x$LINE" != x ; then
6145 eval "DEFAULT_$LINE"
6146 else
6147 no_cache=1
6148 fi
6149
6150 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6151
6152 fi;
6153
6154 eval "$ac_cv_use_help"
6155 if test "$no_cache" != 1; then
6156 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6157 fi
6158
6159 if test "$wxUSE_HELP" = yes; then
6160 echo "$as_me:$LINENO: result: yes" >&5
6161 echo "${ECHO_T}yes" >&6
6162 else
6163 echo "$as_me:$LINENO: result: no" >&5
6164 echo "${ECHO_T}no" >&6
6165 fi
6166
6167
6168 enablestring=
6169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6170 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6171 no_cache=0
6172 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6173 if test "${enable_mshtmlhelp+set}" = set; then
6174 enableval="$enable_mshtmlhelp"
6175
6176 if test "$enableval" = yes; then
6177 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6178 else
6179 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6180 fi
6181
6182 else
6183
6184 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6185 if test "x$LINE" != x ; then
6186 eval "DEFAULT_$LINE"
6187 else
6188 no_cache=1
6189 fi
6190
6191 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6192
6193 fi;
6194
6195 eval "$ac_cv_use_mshtmlhelp"
6196 if test "$no_cache" != 1; then
6197 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6198 fi
6199
6200 if test "$wxUSE_MS_HTML_HELP" = yes; then
6201 echo "$as_me:$LINENO: result: yes" >&5
6202 echo "${ECHO_T}yes" >&6
6203 else
6204 echo "$as_me:$LINENO: result: no" >&5
6205 echo "${ECHO_T}no" >&6
6206 fi
6207
6208
6209 enablestring=
6210 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6211 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6212 no_cache=0
6213 # Check whether --enable-html or --disable-html was given.
6214 if test "${enable_html+set}" = set; then
6215 enableval="$enable_html"
6216
6217 if test "$enableval" = yes; then
6218 ac_cv_use_html='wxUSE_HTML=yes'
6219 else
6220 ac_cv_use_html='wxUSE_HTML=no'
6221 fi
6222
6223 else
6224
6225 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6226 if test "x$LINE" != x ; then
6227 eval "DEFAULT_$LINE"
6228 else
6229 no_cache=1
6230 fi
6231
6232 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6233
6234 fi;
6235
6236 eval "$ac_cv_use_html"
6237 if test "$no_cache" != 1; then
6238 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6239 fi
6240
6241 if test "$wxUSE_HTML" = yes; then
6242 echo "$as_me:$LINENO: result: yes" >&5
6243 echo "${ECHO_T}yes" >&6
6244 else
6245 echo "$as_me:$LINENO: result: no" >&5
6246 echo "${ECHO_T}no" >&6
6247 fi
6248
6249
6250 enablestring=
6251 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6252 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6253 no_cache=0
6254 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6255 if test "${enable_htmlhelp+set}" = set; then
6256 enableval="$enable_htmlhelp"
6257
6258 if test "$enableval" = yes; then
6259 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6260 else
6261 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6262 fi
6263
6264 else
6265
6266 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6267 if test "x$LINE" != x ; then
6268 eval "DEFAULT_$LINE"
6269 else
6270 no_cache=1
6271 fi
6272
6273 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6274
6275 fi;
6276
6277 eval "$ac_cv_use_htmlhelp"
6278 if test "$no_cache" != 1; then
6279 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6280 fi
6281
6282 if test "$wxUSE_WXHTML_HELP" = yes; then
6283 echo "$as_me:$LINENO: result: yes" >&5
6284 echo "${ECHO_T}yes" >&6
6285 else
6286 echo "$as_me:$LINENO: result: no" >&5
6287 echo "${ECHO_T}no" >&6
6288 fi
6289
6290
6291 enablestring=
6292 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6293 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6294 no_cache=0
6295 # Check whether --enable-constraints or --disable-constraints was given.
6296 if test "${enable_constraints+set}" = set; then
6297 enableval="$enable_constraints"
6298
6299 if test "$enableval" = yes; then
6300 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6301 else
6302 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6303 fi
6304
6305 else
6306
6307 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6308 if test "x$LINE" != x ; then
6309 eval "DEFAULT_$LINE"
6310 else
6311 no_cache=1
6312 fi
6313
6314 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6315
6316 fi;
6317
6318 eval "$ac_cv_use_constraints"
6319 if test "$no_cache" != 1; then
6320 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6321 fi
6322
6323 if test "$wxUSE_CONSTRAINTS" = yes; then
6324 echo "$as_me:$LINENO: result: yes" >&5
6325 echo "${ECHO_T}yes" >&6
6326 else
6327 echo "$as_me:$LINENO: result: no" >&5
6328 echo "${ECHO_T}no" >&6
6329 fi
6330
6331
6332 enablestring=
6333 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6334 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6335 no_cache=0
6336 # Check whether --enable-printarch or --disable-printarch was given.
6337 if test "${enable_printarch+set}" = set; then
6338 enableval="$enable_printarch"
6339
6340 if test "$enableval" = yes; then
6341 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6342 else
6343 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6344 fi
6345
6346 else
6347
6348 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6349 if test "x$LINE" != x ; then
6350 eval "DEFAULT_$LINE"
6351 else
6352 no_cache=1
6353 fi
6354
6355 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6356
6357 fi;
6358
6359 eval "$ac_cv_use_printarch"
6360 if test "$no_cache" != 1; then
6361 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6362 fi
6363
6364 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6365 echo "$as_me:$LINENO: result: yes" >&5
6366 echo "${ECHO_T}yes" >&6
6367 else
6368 echo "$as_me:$LINENO: result: no" >&5
6369 echo "${ECHO_T}no" >&6
6370 fi
6371
6372
6373 enablestring=
6374 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6375 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6376 no_cache=0
6377 # Check whether --enable-mdi or --disable-mdi was given.
6378 if test "${enable_mdi+set}" = set; then
6379 enableval="$enable_mdi"
6380
6381 if test "$enableval" = yes; then
6382 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
6383 else
6384 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
6385 fi
6386
6387 else
6388
6389 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6390 if test "x$LINE" != x ; then
6391 eval "DEFAULT_$LINE"
6392 else
6393 no_cache=1
6394 fi
6395
6396 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6397
6398 fi;
6399
6400 eval "$ac_cv_use_mdi"
6401 if test "$no_cache" != 1; then
6402 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6403 fi
6404
6405 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6406 echo "$as_me:$LINENO: result: yes" >&5
6407 echo "${ECHO_T}yes" >&6
6408 else
6409 echo "$as_me:$LINENO: result: no" >&5
6410 echo "${ECHO_T}no" >&6
6411 fi
6412
6413
6414 enablestring=
6415 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6416 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6417 no_cache=0
6418 # Check whether --enable-loggui or --disable-loggui was given.
6419 if test "${enable_loggui+set}" = set; then
6420 enableval="$enable_loggui"
6421
6422 if test "$enableval" = yes; then
6423 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6424 else
6425 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6426 fi
6427
6428 else
6429
6430 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6431 if test "x$LINE" != x ; then
6432 eval "DEFAULT_$LINE"
6433 else
6434 no_cache=1
6435 fi
6436
6437 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6438
6439 fi;
6440
6441 eval "$ac_cv_use_loggui"
6442 if test "$no_cache" != 1; then
6443 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6444 fi
6445
6446 if test "$wxUSE_LOGGUI" = yes; then
6447 echo "$as_me:$LINENO: result: yes" >&5
6448 echo "${ECHO_T}yes" >&6
6449 else
6450 echo "$as_me:$LINENO: result: no" >&5
6451 echo "${ECHO_T}no" >&6
6452 fi
6453
6454
6455 enablestring=
6456 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6457 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6458 no_cache=0
6459 # Check whether --enable-logwin or --disable-logwin was given.
6460 if test "${enable_logwin+set}" = set; then
6461 enableval="$enable_logwin"
6462
6463 if test "$enableval" = yes; then
6464 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6465 else
6466 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6467 fi
6468
6469 else
6470
6471 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6472 if test "x$LINE" != x ; then
6473 eval "DEFAULT_$LINE"
6474 else
6475 no_cache=1
6476 fi
6477
6478 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6479
6480 fi;
6481
6482 eval "$ac_cv_use_logwin"
6483 if test "$no_cache" != 1; then
6484 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6485 fi
6486
6487 if test "$wxUSE_LOGWINDOW" = yes; then
6488 echo "$as_me:$LINENO: result: yes" >&5
6489 echo "${ECHO_T}yes" >&6
6490 else
6491 echo "$as_me:$LINENO: result: no" >&5
6492 echo "${ECHO_T}no" >&6
6493 fi
6494
6495
6496 enablestring=
6497 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6498 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6499 no_cache=0
6500 # Check whether --enable-logdialog or --disable-logdialog was given.
6501 if test "${enable_logdialog+set}" = set; then
6502 enableval="$enable_logdialog"
6503
6504 if test "$enableval" = yes; then
6505 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6506 else
6507 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6508 fi
6509
6510 else
6511
6512 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6513 if test "x$LINE" != x ; then
6514 eval "DEFAULT_$LINE"
6515 else
6516 no_cache=1
6517 fi
6518
6519 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6520
6521 fi;
6522
6523 eval "$ac_cv_use_logdialog"
6524 if test "$no_cache" != 1; then
6525 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6526 fi
6527
6528 if test "$wxUSE_LOGDIALOG" = yes; then
6529 echo "$as_me:$LINENO: result: yes" >&5
6530 echo "${ECHO_T}yes" >&6
6531 else
6532 echo "$as_me:$LINENO: result: no" >&5
6533 echo "${ECHO_T}no" >&6
6534 fi
6535
6536
6537
6538 enablestring=
6539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6540 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6541 no_cache=0
6542 # Check whether --enable-postscript or --disable-postscript was given.
6543 if test "${enable_postscript+set}" = set; then
6544 enableval="$enable_postscript"
6545
6546 if test "$enableval" = yes; then
6547 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6548 else
6549 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6550 fi
6551
6552 else
6553
6554 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6555 if test "x$LINE" != x ; then
6556 eval "DEFAULT_$LINE"
6557 else
6558 no_cache=1
6559 fi
6560
6561 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6562
6563 fi;
6564
6565 eval "$ac_cv_use_postscript"
6566 if test "$no_cache" != 1; then
6567 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6568 fi
6569
6570 if test "$wxUSE_POSTSCRIPT" = yes; then
6571 echo "$as_me:$LINENO: result: yes" >&5
6572 echo "${ECHO_T}yes" >&6
6573 else
6574 echo "$as_me:$LINENO: result: no" >&5
6575 echo "${ECHO_T}no" >&6
6576 fi
6577
6578
6579
6580
6581
6582 enablestring=
6583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6584 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6585 no_cache=0
6586 # Check whether --enable-prologio or --disable-prologio was given.
6587 if test "${enable_prologio+set}" = set; then
6588 enableval="$enable_prologio"
6589
6590 if test "$enableval" = yes; then
6591 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6592 else
6593 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6594 fi
6595
6596 else
6597
6598 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6599 if test "x$LINE" != x ; then
6600 eval "DEFAULT_$LINE"
6601 else
6602 no_cache=1
6603 fi
6604
6605 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6606
6607 fi;
6608
6609 eval "$ac_cv_use_prologio"
6610 if test "$no_cache" != 1; then
6611 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6612 fi
6613
6614 if test "$wxUSE_PROLOGIO" = yes; then
6615 echo "$as_me:$LINENO: result: yes" >&5
6616 echo "${ECHO_T}yes" >&6
6617 else
6618 echo "$as_me:$LINENO: result: no" >&5
6619 echo "${ECHO_T}no" >&6
6620 fi
6621
6622
6623 enablestring=
6624 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6625 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6626 no_cache=0
6627 # Check whether --enable-resources or --disable-resources was given.
6628 if test "${enable_resources+set}" = set; then
6629 enableval="$enable_resources"
6630
6631 if test "$enableval" = yes; then
6632 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6633 else
6634 ac_cv_use_resources='wxUSE_RESOURCES=no'
6635 fi
6636
6637 else
6638
6639 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6640 if test "x$LINE" != x ; then
6641 eval "DEFAULT_$LINE"
6642 else
6643 no_cache=1
6644 fi
6645
6646 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6647
6648 fi;
6649
6650 eval "$ac_cv_use_resources"
6651 if test "$no_cache" != 1; then
6652 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6653 fi
6654
6655 if test "$wxUSE_RESOURCES" = yes; then
6656 echo "$as_me:$LINENO: result: yes" >&5
6657 echo "${ECHO_T}yes" >&6
6658 else
6659 echo "$as_me:$LINENO: result: no" >&5
6660 echo "${ECHO_T}no" >&6
6661 fi
6662
6663
6664
6665
6666 enablestring=
6667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6668 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6669 no_cache=0
6670 # Check whether --enable-clipboard or --disable-clipboard was given.
6671 if test "${enable_clipboard+set}" = set; then
6672 enableval="$enable_clipboard"
6673
6674 if test "$enableval" = yes; then
6675 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6676 else
6677 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6678 fi
6679
6680 else
6681
6682 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6683 if test "x$LINE" != x ; then
6684 eval "DEFAULT_$LINE"
6685 else
6686 no_cache=1
6687 fi
6688
6689 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6690
6691 fi;
6692
6693 eval "$ac_cv_use_clipboard"
6694 if test "$no_cache" != 1; then
6695 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6696 fi
6697
6698 if test "$wxUSE_CLIPBOARD" = yes; then
6699 echo "$as_me:$LINENO: result: yes" >&5
6700 echo "${ECHO_T}yes" >&6
6701 else
6702 echo "$as_me:$LINENO: result: no" >&5
6703 echo "${ECHO_T}no" >&6
6704 fi
6705
6706
6707 enablestring=
6708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6709 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6710 no_cache=0
6711 # Check whether --enable-dnd or --disable-dnd was given.
6712 if test "${enable_dnd+set}" = set; then
6713 enableval="$enable_dnd"
6714
6715 if test "$enableval" = yes; then
6716 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6717 else
6718 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6719 fi
6720
6721 else
6722
6723 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6724 if test "x$LINE" != x ; then
6725 eval "DEFAULT_$LINE"
6726 else
6727 no_cache=1
6728 fi
6729
6730 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6731
6732 fi;
6733
6734 eval "$ac_cv_use_dnd"
6735 if test "$no_cache" != 1; then
6736 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6737 fi
6738
6739 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6740 echo "$as_me:$LINENO: result: yes" >&5
6741 echo "${ECHO_T}yes" >&6
6742 else
6743 echo "$as_me:$LINENO: result: no" >&5
6744 echo "${ECHO_T}no" >&6
6745 fi
6746
6747
6748 enablestring=
6749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6750 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6751 no_cache=0
6752 # Check whether --enable-metafile or --disable-metafile was given.
6753 if test "${enable_metafile+set}" = set; then
6754 enableval="$enable_metafile"
6755
6756 if test "$enableval" = yes; then
6757 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6758 else
6759 ac_cv_use_metafile='wxUSE_METAFILE=no'
6760 fi
6761
6762 else
6763
6764 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6765 if test "x$LINE" != x ; then
6766 eval "DEFAULT_$LINE"
6767 else
6768 no_cache=1
6769 fi
6770
6771 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6772
6773 fi;
6774
6775 eval "$ac_cv_use_metafile"
6776 if test "$no_cache" != 1; then
6777 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6778 fi
6779
6780 if test "$wxUSE_METAFILE" = yes; then
6781 echo "$as_me:$LINENO: result: yes" >&5
6782 echo "${ECHO_T}yes" >&6
6783 else
6784 echo "$as_me:$LINENO: result: no" >&5
6785 echo "${ECHO_T}no" >&6
6786 fi
6787
6788
6789
6790
6791
6792 enablestring=
6793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6794 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6795 no_cache=0
6796 # Check whether --enable-controls or --disable-controls was given.
6797 if test "${enable_controls+set}" = set; then
6798 enableval="$enable_controls"
6799
6800 if test "$enableval" = yes; then
6801 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6802 else
6803 ac_cv_use_controls='wxUSE_CONTROLS=no'
6804 fi
6805
6806 else
6807
6808 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6809 if test "x$LINE" != x ; then
6810 eval "DEFAULT_$LINE"
6811 else
6812 no_cache=1
6813 fi
6814
6815 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6816
6817 fi;
6818
6819 eval "$ac_cv_use_controls"
6820 if test "$no_cache" != 1; then
6821 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6822 fi
6823
6824 if test "$wxUSE_CONTROLS" = yes; then
6825 echo "$as_me:$LINENO: result: yes" >&5
6826 echo "${ECHO_T}yes" >&6
6827 else
6828 echo "$as_me:$LINENO: result: no" >&5
6829 echo "${ECHO_T}no" >&6
6830 fi
6831
6832
6833 if test "$wxUSE_CONTROLS" = "yes"; then
6834 DEFAULT_wxUSE_ACCEL=yes
6835 DEFAULT_wxUSE_BMPBUTTON=yes
6836 DEFAULT_wxUSE_BUTTON=yes
6837 DEFAULT_wxUSE_CALCTRL=no
6838 DEFAULT_wxUSE_CARET=yes
6839 DEFAULT_wxUSE_COMBOBOX=yes
6840 DEFAULT_wxUSE_CHECKBOX=yes
6841 DEFAULT_wxUSE_CHECKLISTBOX=yes
6842 DEFAULT_wxUSE_CHOICE=yes
6843 DEFAULT_wxUSE_GAUGE=yes
6844 DEFAULT_wxUSE_GRID=yes
6845 DEFAULT_wxUSE_IMAGLIST=yes
6846 DEFAULT_wxUSE_LISTBOOK=yes
6847 DEFAULT_wxUSE_LISTBOX=yes
6848 DEFAULT_wxUSE_LISTCTRL=yes
6849 DEFAULT_wxUSE_NOTEBOOK=yes
6850 DEFAULT_wxUSE_RADIOBOX=yes
6851 DEFAULT_wxUSE_RADIOBTN=yes
6852 DEFAULT_wxUSE_SASH=yes
6853 DEFAULT_wxUSE_SCROLLBAR=yes
6854 DEFAULT_wxUSE_SLIDER=yes
6855 DEFAULT_wxUSE_SPINBTN=yes
6856 DEFAULT_wxUSE_SPINCTRL=yes
6857 DEFAULT_wxUSE_SPLITTER=yes
6858 DEFAULT_wxUSE_STATBMP=yes
6859 DEFAULT_wxUSE_STATBOX=yes
6860 DEFAULT_wxUSE_STATLINE=yes
6861 DEFAULT_wxUSE_STATUSBAR=yes
6862 DEFAULT_wxUSE_TAB_DIALOG=yes
6863 DEFAULT_wxUSE_TOGGLEBTN=yes
6864 DEFAULT_wxUSE_TOOLBAR=yes
6865 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6866 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6867 DEFAULT_wxUSE_TOOLTIPS=yes
6868 DEFAULT_wxUSE_TREECTRL=yes
6869 DEFAULT_wxUSE_POPUPWIN=yes
6870 DEFAULT_wxUSE_TIPWINDOW=yes
6871 elif test "$wxUSE_CONTROLS" = "no"; then
6872 DEFAULT_wxUSE_ACCEL=no
6873 DEFAULT_wxUSE_BMPBUTTON=no
6874 DEFAULT_wxUSE_BUTTON=no
6875 DEFAULT_wxUSE_CALCTRL=no
6876 DEFAULT_wxUSE_CARET=no
6877 DEFAULT_wxUSE_COMBOBOX=no
6878 DEFAULT_wxUSE_CHECKBOX=no
6879 DEFAULT_wxUSE_CHECKLISTBOX=no
6880 DEFAULT_wxUSE_CHOICE=no
6881 DEFAULT_wxUSE_GAUGE=no
6882 DEFAULT_wxUSE_GRID=no
6883 DEFAULT_wxUSE_IMAGLIST=no
6884 DEFAULT_wxUSE_LISTBOOK=no
6885 DEFAULT_wxUSE_LISTBOX=no
6886 DEFAULT_wxUSE_LISTCTRL=no
6887 DEFAULT_wxUSE_NOTEBOOK=no
6888 DEFAULT_wxUSE_RADIOBOX=no
6889 DEFAULT_wxUSE_RADIOBTN=no
6890 DEFAULT_wxUSE_SASH=no
6891 DEFAULT_wxUSE_SCROLLBAR=no
6892 DEFAULT_wxUSE_SLIDER=no
6893 DEFAULT_wxUSE_SPINBTN=no
6894 DEFAULT_wxUSE_SPINCTRL=no
6895 DEFAULT_wxUSE_SPLITTER=no
6896 DEFAULT_wxUSE_STATBMP=no
6897 DEFAULT_wxUSE_STATBOX=no
6898 DEFAULT_wxUSE_STATLINE=no
6899 DEFAULT_wxUSE_STATUSBAR=no
6900 DEFAULT_wxUSE_TAB_DIALOG=no
6901 DEFAULT_wxUSE_TOGGLEBTN=no
6902 DEFAULT_wxUSE_TOOLBAR=no
6903 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6904 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6905 DEFAULT_wxUSE_TOOLTIPS=no
6906 DEFAULT_wxUSE_TREECTRL=no
6907 DEFAULT_wxUSE_POPUPWIN=no
6908 DEFAULT_wxUSE_TIPWINDOW=no
6909 fi
6910
6911 ## FIXME: This is a blatant hack
6912 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6913 wxUSE_PRINTING_ARCHITECTURE=no
6914 wxUSE_DRAG_AND_DROP=no
6915 # Generic notebook requires tab dialog
6916 DEFAULT_wxUSE_TABDIALOG=yes
6917 DEFAULT_wxUSE_SCROLLBAR=no
6918 DEFAULT_wxUSE_TOOLTIPS=no
6919 DEFAULT_wxUSE_DRAGIMAGE=no
6920 fi
6921
6922
6923 enablestring=
6924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6925 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6926 no_cache=0
6927 # Check whether --enable-accel or --disable-accel was given.
6928 if test "${enable_accel+set}" = set; then
6929 enableval="$enable_accel"
6930
6931 if test "$enableval" = yes; then
6932 ac_cv_use_accel='wxUSE_ACCEL=yes'
6933 else
6934 ac_cv_use_accel='wxUSE_ACCEL=no'
6935 fi
6936
6937 else
6938
6939 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6940 if test "x$LINE" != x ; then
6941 eval "DEFAULT_$LINE"
6942 else
6943 no_cache=1
6944 fi
6945
6946 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6947
6948 fi;
6949
6950 eval "$ac_cv_use_accel"
6951 if test "$no_cache" != 1; then
6952 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6953 fi
6954
6955 if test "$wxUSE_ACCEL" = yes; then
6956 echo "$as_me:$LINENO: result: yes" >&5
6957 echo "${ECHO_T}yes" >&6
6958 else
6959 echo "$as_me:$LINENO: result: no" >&5
6960 echo "${ECHO_T}no" >&6
6961 fi
6962
6963
6964 enablestring=
6965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6966 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6967 no_cache=0
6968 # Check whether --enable-button or --disable-button was given.
6969 if test "${enable_button+set}" = set; then
6970 enableval="$enable_button"
6971
6972 if test "$enableval" = yes; then
6973 ac_cv_use_button='wxUSE_BUTTON=yes'
6974 else
6975 ac_cv_use_button='wxUSE_BUTTON=no'
6976 fi
6977
6978 else
6979
6980 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6981 if test "x$LINE" != x ; then
6982 eval "DEFAULT_$LINE"
6983 else
6984 no_cache=1
6985 fi
6986
6987 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6988
6989 fi;
6990
6991 eval "$ac_cv_use_button"
6992 if test "$no_cache" != 1; then
6993 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6994 fi
6995
6996 if test "$wxUSE_BUTTON" = yes; then
6997 echo "$as_me:$LINENO: result: yes" >&5
6998 echo "${ECHO_T}yes" >&6
6999 else
7000 echo "$as_me:$LINENO: result: no" >&5
7001 echo "${ECHO_T}no" >&6
7002 fi
7003
7004
7005 enablestring=
7006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7007 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7008 no_cache=0
7009 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7010 if test "${enable_bmpbutton+set}" = set; then
7011 enableval="$enable_bmpbutton"
7012
7013 if test "$enableval" = yes; then
7014 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7015 else
7016 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7017 fi
7018
7019 else
7020
7021 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7022 if test "x$LINE" != x ; then
7023 eval "DEFAULT_$LINE"
7024 else
7025 no_cache=1
7026 fi
7027
7028 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7029
7030 fi;
7031
7032 eval "$ac_cv_use_bmpbutton"
7033 if test "$no_cache" != 1; then
7034 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7035 fi
7036
7037 if test "$wxUSE_BMPBUTTON" = yes; then
7038 echo "$as_me:$LINENO: result: yes" >&5
7039 echo "${ECHO_T}yes" >&6
7040 else
7041 echo "$as_me:$LINENO: result: no" >&5
7042 echo "${ECHO_T}no" >&6
7043 fi
7044
7045
7046 enablestring=
7047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7048 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7049 no_cache=0
7050 # Check whether --enable-calendar or --disable-calendar was given.
7051 if test "${enable_calendar+set}" = set; then
7052 enableval="$enable_calendar"
7053
7054 if test "$enableval" = yes; then
7055 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7056 else
7057 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7058 fi
7059
7060 else
7061
7062 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7063 if test "x$LINE" != x ; then
7064 eval "DEFAULT_$LINE"
7065 else
7066 no_cache=1
7067 fi
7068
7069 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7070
7071 fi;
7072
7073 eval "$ac_cv_use_calendar"
7074 if test "$no_cache" != 1; then
7075 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7076 fi
7077
7078 if test "$wxUSE_CALCTRL" = yes; then
7079 echo "$as_me:$LINENO: result: yes" >&5
7080 echo "${ECHO_T}yes" >&6
7081 else
7082 echo "$as_me:$LINENO: result: no" >&5
7083 echo "${ECHO_T}no" >&6
7084 fi
7085
7086
7087 enablestring=
7088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7089 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7090 no_cache=0
7091 # Check whether --enable-caret or --disable-caret was given.
7092 if test "${enable_caret+set}" = set; then
7093 enableval="$enable_caret"
7094
7095 if test "$enableval" = yes; then
7096 ac_cv_use_caret='wxUSE_CARET=yes'
7097 else
7098 ac_cv_use_caret='wxUSE_CARET=no'
7099 fi
7100
7101 else
7102
7103 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7104 if test "x$LINE" != x ; then
7105 eval "DEFAULT_$LINE"
7106 else
7107 no_cache=1
7108 fi
7109
7110 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7111
7112 fi;
7113
7114 eval "$ac_cv_use_caret"
7115 if test "$no_cache" != 1; then
7116 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7117 fi
7118
7119 if test "$wxUSE_CARET" = yes; then
7120 echo "$as_me:$LINENO: result: yes" >&5
7121 echo "${ECHO_T}yes" >&6
7122 else
7123 echo "$as_me:$LINENO: result: no" >&5
7124 echo "${ECHO_T}no" >&6
7125 fi
7126
7127
7128 enablestring=
7129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7130 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7131 no_cache=0
7132 # Check whether --enable-checkbox or --disable-checkbox was given.
7133 if test "${enable_checkbox+set}" = set; then
7134 enableval="$enable_checkbox"
7135
7136 if test "$enableval" = yes; then
7137 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7138 else
7139 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7140 fi
7141
7142 else
7143
7144 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7145 if test "x$LINE" != x ; then
7146 eval "DEFAULT_$LINE"
7147 else
7148 no_cache=1
7149 fi
7150
7151 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7152
7153 fi;
7154
7155 eval "$ac_cv_use_checkbox"
7156 if test "$no_cache" != 1; then
7157 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7158 fi
7159
7160 if test "$wxUSE_CHECKBOX" = yes; then
7161 echo "$as_me:$LINENO: result: yes" >&5
7162 echo "${ECHO_T}yes" >&6
7163 else
7164 echo "$as_me:$LINENO: result: no" >&5
7165 echo "${ECHO_T}no" >&6
7166 fi
7167
7168
7169 enablestring=
7170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7171 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7172 no_cache=0
7173 # Check whether --enable-checklst or --disable-checklst was given.
7174 if test "${enable_checklst+set}" = set; then
7175 enableval="$enable_checklst"
7176
7177 if test "$enableval" = yes; then
7178 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7179 else
7180 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7181 fi
7182
7183 else
7184
7185 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7186 if test "x$LINE" != x ; then
7187 eval "DEFAULT_$LINE"
7188 else
7189 no_cache=1
7190 fi
7191
7192 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7193
7194 fi;
7195
7196 eval "$ac_cv_use_checklst"
7197 if test "$no_cache" != 1; then
7198 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7199 fi
7200
7201 if test "$wxUSE_CHECKLST" = yes; then
7202 echo "$as_me:$LINENO: result: yes" >&5
7203 echo "${ECHO_T}yes" >&6
7204 else
7205 echo "$as_me:$LINENO: result: no" >&5
7206 echo "${ECHO_T}no" >&6
7207 fi
7208
7209
7210 enablestring=
7211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7212 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7213 no_cache=0
7214 # Check whether --enable-choice or --disable-choice was given.
7215 if test "${enable_choice+set}" = set; then
7216 enableval="$enable_choice"
7217
7218 if test "$enableval" = yes; then
7219 ac_cv_use_choice='wxUSE_CHOICE=yes'
7220 else
7221 ac_cv_use_choice='wxUSE_CHOICE=no'
7222 fi
7223
7224 else
7225
7226 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7227 if test "x$LINE" != x ; then
7228 eval "DEFAULT_$LINE"
7229 else
7230 no_cache=1
7231 fi
7232
7233 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7234
7235 fi;
7236
7237 eval "$ac_cv_use_choice"
7238 if test "$no_cache" != 1; then
7239 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7240 fi
7241
7242 if test "$wxUSE_CHOICE" = yes; then
7243 echo "$as_me:$LINENO: result: yes" >&5
7244 echo "${ECHO_T}yes" >&6
7245 else
7246 echo "$as_me:$LINENO: result: no" >&5
7247 echo "${ECHO_T}no" >&6
7248 fi
7249
7250
7251 enablestring=
7252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7253 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7254 no_cache=0
7255 # Check whether --enable-combobox or --disable-combobox was given.
7256 if test "${enable_combobox+set}" = set; then
7257 enableval="$enable_combobox"
7258
7259 if test "$enableval" = yes; then
7260 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7261 else
7262 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7263 fi
7264
7265 else
7266
7267 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7268 if test "x$LINE" != x ; then
7269 eval "DEFAULT_$LINE"
7270 else
7271 no_cache=1
7272 fi
7273
7274 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7275
7276 fi;
7277
7278 eval "$ac_cv_use_combobox"
7279 if test "$no_cache" != 1; then
7280 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7281 fi
7282
7283 if test "$wxUSE_COMBOBOX" = yes; then
7284 echo "$as_me:$LINENO: result: yes" >&5
7285 echo "${ECHO_T}yes" >&6
7286 else
7287 echo "$as_me:$LINENO: result: no" >&5
7288 echo "${ECHO_T}no" >&6
7289 fi
7290
7291
7292 enablestring=
7293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7294 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7295 no_cache=0
7296 # Check whether --enable-display or --disable-display was given.
7297 if test "${enable_display+set}" = set; then
7298 enableval="$enable_display"
7299
7300 if test "$enableval" = yes; then
7301 ac_cv_use_display='wxUSE_DISPLAY=yes'
7302 else
7303 ac_cv_use_display='wxUSE_DISPLAY=no'
7304 fi
7305
7306 else
7307
7308 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7309 if test "x$LINE" != x ; then
7310 eval "DEFAULT_$LINE"
7311 else
7312 no_cache=1
7313 fi
7314
7315 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7316
7317 fi;
7318
7319 eval "$ac_cv_use_display"
7320 if test "$no_cache" != 1; then
7321 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7322 fi
7323
7324 if test "$wxUSE_DISPLAY" = yes; then
7325 echo "$as_me:$LINENO: result: yes" >&5
7326 echo "${ECHO_T}yes" >&6
7327 else
7328 echo "$as_me:$LINENO: result: no" >&5
7329 echo "${ECHO_T}no" >&6
7330 fi
7331
7332
7333 enablestring=
7334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7335 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7336 no_cache=0
7337 # Check whether --enable-gauge or --disable-gauge was given.
7338 if test "${enable_gauge+set}" = set; then
7339 enableval="$enable_gauge"
7340
7341 if test "$enableval" = yes; then
7342 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7343 else
7344 ac_cv_use_gauge='wxUSE_GAUGE=no'
7345 fi
7346
7347 else
7348
7349 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7350 if test "x$LINE" != x ; then
7351 eval "DEFAULT_$LINE"
7352 else
7353 no_cache=1
7354 fi
7355
7356 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7357
7358 fi;
7359
7360 eval "$ac_cv_use_gauge"
7361 if test "$no_cache" != 1; then
7362 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7363 fi
7364
7365 if test "$wxUSE_GAUGE" = yes; then
7366 echo "$as_me:$LINENO: result: yes" >&5
7367 echo "${ECHO_T}yes" >&6
7368 else
7369 echo "$as_me:$LINENO: result: no" >&5
7370 echo "${ECHO_T}no" >&6
7371 fi
7372
7373
7374 enablestring=
7375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7376 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7377 no_cache=0
7378 # Check whether --enable-grid or --disable-grid was given.
7379 if test "${enable_grid+set}" = set; then
7380 enableval="$enable_grid"
7381
7382 if test "$enableval" = yes; then
7383 ac_cv_use_grid='wxUSE_GRID=yes'
7384 else
7385 ac_cv_use_grid='wxUSE_GRID=no'
7386 fi
7387
7388 else
7389
7390 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7391 if test "x$LINE" != x ; then
7392 eval "DEFAULT_$LINE"
7393 else
7394 no_cache=1
7395 fi
7396
7397 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7398
7399 fi;
7400
7401 eval "$ac_cv_use_grid"
7402 if test "$no_cache" != 1; then
7403 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7404 fi
7405
7406 if test "$wxUSE_GRID" = yes; then
7407 echo "$as_me:$LINENO: result: yes" >&5
7408 echo "${ECHO_T}yes" >&6
7409 else
7410 echo "$as_me:$LINENO: result: no" >&5
7411 echo "${ECHO_T}no" >&6
7412 fi
7413
7414
7415 enablestring=
7416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7417 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7418 no_cache=0
7419 # Check whether --enable-imaglist or --disable-imaglist was given.
7420 if test "${enable_imaglist+set}" = set; then
7421 enableval="$enable_imaglist"
7422
7423 if test "$enableval" = yes; then
7424 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7425 else
7426 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7427 fi
7428
7429 else
7430
7431 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7432 if test "x$LINE" != x ; then
7433 eval "DEFAULT_$LINE"
7434 else
7435 no_cache=1
7436 fi
7437
7438 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7439
7440 fi;
7441
7442 eval "$ac_cv_use_imaglist"
7443 if test "$no_cache" != 1; then
7444 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7445 fi
7446
7447 if test "$wxUSE_IMAGLIST" = yes; then
7448 echo "$as_me:$LINENO: result: yes" >&5
7449 echo "${ECHO_T}yes" >&6
7450 else
7451 echo "$as_me:$LINENO: result: no" >&5
7452 echo "${ECHO_T}no" >&6
7453 fi
7454
7455
7456 enablestring=
7457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7458 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7459 no_cache=0
7460 # Check whether --enable-listbook or --disable-listbook was given.
7461 if test "${enable_listbook+set}" = set; then
7462 enableval="$enable_listbook"
7463
7464 if test "$enableval" = yes; then
7465 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7466 else
7467 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7468 fi
7469
7470 else
7471
7472 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7473 if test "x$LINE" != x ; then
7474 eval "DEFAULT_$LINE"
7475 else
7476 no_cache=1
7477 fi
7478
7479 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7480
7481 fi;
7482
7483 eval "$ac_cv_use_listbook"
7484 if test "$no_cache" != 1; then
7485 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7486 fi
7487
7488 if test "$wxUSE_LISTBOOK" = yes; then
7489 echo "$as_me:$LINENO: result: yes" >&5
7490 echo "${ECHO_T}yes" >&6
7491 else
7492 echo "$as_me:$LINENO: result: no" >&5
7493 echo "${ECHO_T}no" >&6
7494 fi
7495
7496
7497 enablestring=
7498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7499 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7500 no_cache=0
7501 # Check whether --enable-listbox or --disable-listbox was given.
7502 if test "${enable_listbox+set}" = set; then
7503 enableval="$enable_listbox"
7504
7505 if test "$enableval" = yes; then
7506 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7507 else
7508 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7509 fi
7510
7511 else
7512
7513 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7514 if test "x$LINE" != x ; then
7515 eval "DEFAULT_$LINE"
7516 else
7517 no_cache=1
7518 fi
7519
7520 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7521
7522 fi;
7523
7524 eval "$ac_cv_use_listbox"
7525 if test "$no_cache" != 1; then
7526 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7527 fi
7528
7529 if test "$wxUSE_LISTBOX" = yes; then
7530 echo "$as_me:$LINENO: result: yes" >&5
7531 echo "${ECHO_T}yes" >&6
7532 else
7533 echo "$as_me:$LINENO: result: no" >&5
7534 echo "${ECHO_T}no" >&6
7535 fi
7536
7537
7538 enablestring=
7539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7540 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7541 no_cache=0
7542 # Check whether --enable-listctrl or --disable-listctrl was given.
7543 if test "${enable_listctrl+set}" = set; then
7544 enableval="$enable_listctrl"
7545
7546 if test "$enableval" = yes; then
7547 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7548 else
7549 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7550 fi
7551
7552 else
7553
7554 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7555 if test "x$LINE" != x ; then
7556 eval "DEFAULT_$LINE"
7557 else
7558 no_cache=1
7559 fi
7560
7561 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7562
7563 fi;
7564
7565 eval "$ac_cv_use_listctrl"
7566 if test "$no_cache" != 1; then
7567 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7568 fi
7569
7570 if test "$wxUSE_LISTCTRL" = yes; then
7571 echo "$as_me:$LINENO: result: yes" >&5
7572 echo "${ECHO_T}yes" >&6
7573 else
7574 echo "$as_me:$LINENO: result: no" >&5
7575 echo "${ECHO_T}no" >&6
7576 fi
7577
7578
7579 enablestring=
7580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7581 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7582 no_cache=0
7583 # Check whether --enable-notebook or --disable-notebook was given.
7584 if test "${enable_notebook+set}" = set; then
7585 enableval="$enable_notebook"
7586
7587 if test "$enableval" = yes; then
7588 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7589 else
7590 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7591 fi
7592
7593 else
7594
7595 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7596 if test "x$LINE" != x ; then
7597 eval "DEFAULT_$LINE"
7598 else
7599 no_cache=1
7600 fi
7601
7602 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7603
7604 fi;
7605
7606 eval "$ac_cv_use_notebook"
7607 if test "$no_cache" != 1; then
7608 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7609 fi
7610
7611 if test "$wxUSE_NOTEBOOK" = yes; then
7612 echo "$as_me:$LINENO: result: yes" >&5
7613 echo "${ECHO_T}yes" >&6
7614 else
7615 echo "$as_me:$LINENO: result: no" >&5
7616 echo "${ECHO_T}no" >&6
7617 fi
7618
7619
7620 enablestring=
7621 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7622 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7623 no_cache=0
7624 # Check whether --enable-radiobox or --disable-radiobox was given.
7625 if test "${enable_radiobox+set}" = set; then
7626 enableval="$enable_radiobox"
7627
7628 if test "$enableval" = yes; then
7629 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7630 else
7631 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7632 fi
7633
7634 else
7635
7636 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7637 if test "x$LINE" != x ; then
7638 eval "DEFAULT_$LINE"
7639 else
7640 no_cache=1
7641 fi
7642
7643 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7644
7645 fi;
7646
7647 eval "$ac_cv_use_radiobox"
7648 if test "$no_cache" != 1; then
7649 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7650 fi
7651
7652 if test "$wxUSE_RADIOBOX" = yes; then
7653 echo "$as_me:$LINENO: result: yes" >&5
7654 echo "${ECHO_T}yes" >&6
7655 else
7656 echo "$as_me:$LINENO: result: no" >&5
7657 echo "${ECHO_T}no" >&6
7658 fi
7659
7660
7661 enablestring=
7662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7663 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7664 no_cache=0
7665 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7666 if test "${enable_radiobtn+set}" = set; then
7667 enableval="$enable_radiobtn"
7668
7669 if test "$enableval" = yes; then
7670 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7671 else
7672 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7673 fi
7674
7675 else
7676
7677 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7678 if test "x$LINE" != x ; then
7679 eval "DEFAULT_$LINE"
7680 else
7681 no_cache=1
7682 fi
7683
7684 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7685
7686 fi;
7687
7688 eval "$ac_cv_use_radiobtn"
7689 if test "$no_cache" != 1; then
7690 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7691 fi
7692
7693 if test "$wxUSE_RADIOBTN" = yes; then
7694 echo "$as_me:$LINENO: result: yes" >&5
7695 echo "${ECHO_T}yes" >&6
7696 else
7697 echo "$as_me:$LINENO: result: no" >&5
7698 echo "${ECHO_T}no" >&6
7699 fi
7700
7701
7702 enablestring=
7703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7704 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7705 no_cache=0
7706 # Check whether --enable-sash or --disable-sash was given.
7707 if test "${enable_sash+set}" = set; then
7708 enableval="$enable_sash"
7709
7710 if test "$enableval" = yes; then
7711 ac_cv_use_sash='wxUSE_SASH=yes'
7712 else
7713 ac_cv_use_sash='wxUSE_SASH=no'
7714 fi
7715
7716 else
7717
7718 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7719 if test "x$LINE" != x ; then
7720 eval "DEFAULT_$LINE"
7721 else
7722 no_cache=1
7723 fi
7724
7725 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7726
7727 fi;
7728
7729 eval "$ac_cv_use_sash"
7730 if test "$no_cache" != 1; then
7731 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7732 fi
7733
7734 if test "$wxUSE_SASH" = yes; then
7735 echo "$as_me:$LINENO: result: yes" >&5
7736 echo "${ECHO_T}yes" >&6
7737 else
7738 echo "$as_me:$LINENO: result: no" >&5
7739 echo "${ECHO_T}no" >&6
7740 fi
7741
7742
7743 enablestring=
7744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7745 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7746 no_cache=0
7747 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7748 if test "${enable_scrollbar+set}" = set; then
7749 enableval="$enable_scrollbar"
7750
7751 if test "$enableval" = yes; then
7752 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7753 else
7754 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7755 fi
7756
7757 else
7758
7759 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7760 if test "x$LINE" != x ; then
7761 eval "DEFAULT_$LINE"
7762 else
7763 no_cache=1
7764 fi
7765
7766 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7767
7768 fi;
7769
7770 eval "$ac_cv_use_scrollbar"
7771 if test "$no_cache" != 1; then
7772 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7773 fi
7774
7775 if test "$wxUSE_SCROLLBAR" = yes; then
7776 echo "$as_me:$LINENO: result: yes" >&5
7777 echo "${ECHO_T}yes" >&6
7778 else
7779 echo "$as_me:$LINENO: result: no" >&5
7780 echo "${ECHO_T}no" >&6
7781 fi
7782
7783
7784 enablestring=
7785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7786 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7787 no_cache=0
7788 # Check whether --enable-slider or --disable-slider was given.
7789 if test "${enable_slider+set}" = set; then
7790 enableval="$enable_slider"
7791
7792 if test "$enableval" = yes; then
7793 ac_cv_use_slider='wxUSE_SLIDER=yes'
7794 else
7795 ac_cv_use_slider='wxUSE_SLIDER=no'
7796 fi
7797
7798 else
7799
7800 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7801 if test "x$LINE" != x ; then
7802 eval "DEFAULT_$LINE"
7803 else
7804 no_cache=1
7805 fi
7806
7807 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7808
7809 fi;
7810
7811 eval "$ac_cv_use_slider"
7812 if test "$no_cache" != 1; then
7813 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7814 fi
7815
7816 if test "$wxUSE_SLIDER" = yes; then
7817 echo "$as_me:$LINENO: result: yes" >&5
7818 echo "${ECHO_T}yes" >&6
7819 else
7820 echo "$as_me:$LINENO: result: no" >&5
7821 echo "${ECHO_T}no" >&6
7822 fi
7823
7824
7825 enablestring=
7826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7827 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7828 no_cache=0
7829 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7830 if test "${enable_spinbtn+set}" = set; then
7831 enableval="$enable_spinbtn"
7832
7833 if test "$enableval" = yes; then
7834 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7835 else
7836 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7837 fi
7838
7839 else
7840
7841 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7842 if test "x$LINE" != x ; then
7843 eval "DEFAULT_$LINE"
7844 else
7845 no_cache=1
7846 fi
7847
7848 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7849
7850 fi;
7851
7852 eval "$ac_cv_use_spinbtn"
7853 if test "$no_cache" != 1; then
7854 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7855 fi
7856
7857 if test "$wxUSE_SPINBTN" = yes; then
7858 echo "$as_me:$LINENO: result: yes" >&5
7859 echo "${ECHO_T}yes" >&6
7860 else
7861 echo "$as_me:$LINENO: result: no" >&5
7862 echo "${ECHO_T}no" >&6
7863 fi
7864
7865
7866 enablestring=
7867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7868 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7869 no_cache=0
7870 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7871 if test "${enable_spinctrl+set}" = set; then
7872 enableval="$enable_spinctrl"
7873
7874 if test "$enableval" = yes; then
7875 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7876 else
7877 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7878 fi
7879
7880 else
7881
7882 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7883 if test "x$LINE" != x ; then
7884 eval "DEFAULT_$LINE"
7885 else
7886 no_cache=1
7887 fi
7888
7889 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7890
7891 fi;
7892
7893 eval "$ac_cv_use_spinctrl"
7894 if test "$no_cache" != 1; then
7895 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7896 fi
7897
7898 if test "$wxUSE_SPINCTRL" = yes; then
7899 echo "$as_me:$LINENO: result: yes" >&5
7900 echo "${ECHO_T}yes" >&6
7901 else
7902 echo "$as_me:$LINENO: result: no" >&5
7903 echo "${ECHO_T}no" >&6
7904 fi
7905
7906
7907 enablestring=
7908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7909 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7910 no_cache=0
7911 # Check whether --enable-splitter or --disable-splitter was given.
7912 if test "${enable_splitter+set}" = set; then
7913 enableval="$enable_splitter"
7914
7915 if test "$enableval" = yes; then
7916 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7917 else
7918 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7919 fi
7920
7921 else
7922
7923 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7924 if test "x$LINE" != x ; then
7925 eval "DEFAULT_$LINE"
7926 else
7927 no_cache=1
7928 fi
7929
7930 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7931
7932 fi;
7933
7934 eval "$ac_cv_use_splitter"
7935 if test "$no_cache" != 1; then
7936 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7937 fi
7938
7939 if test "$wxUSE_SPLITTER" = yes; then
7940 echo "$as_me:$LINENO: result: yes" >&5
7941 echo "${ECHO_T}yes" >&6
7942 else
7943 echo "$as_me:$LINENO: result: no" >&5
7944 echo "${ECHO_T}no" >&6
7945 fi
7946
7947
7948 enablestring=
7949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7950 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7951 no_cache=0
7952 # Check whether --enable-statbmp or --disable-statbmp was given.
7953 if test "${enable_statbmp+set}" = set; then
7954 enableval="$enable_statbmp"
7955
7956 if test "$enableval" = yes; then
7957 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7958 else
7959 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7960 fi
7961
7962 else
7963
7964 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7965 if test "x$LINE" != x ; then
7966 eval "DEFAULT_$LINE"
7967 else
7968 no_cache=1
7969 fi
7970
7971 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7972
7973 fi;
7974
7975 eval "$ac_cv_use_statbmp"
7976 if test "$no_cache" != 1; then
7977 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7978 fi
7979
7980 if test "$wxUSE_STATBMP" = yes; then
7981 echo "$as_me:$LINENO: result: yes" >&5
7982 echo "${ECHO_T}yes" >&6
7983 else
7984 echo "$as_me:$LINENO: result: no" >&5
7985 echo "${ECHO_T}no" >&6
7986 fi
7987
7988
7989 enablestring=
7990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7991 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7992 no_cache=0
7993 # Check whether --enable-statbox or --disable-statbox was given.
7994 if test "${enable_statbox+set}" = set; then
7995 enableval="$enable_statbox"
7996
7997 if test "$enableval" = yes; then
7998 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7999 else
8000 ac_cv_use_statbox='wxUSE_STATBOX=no'
8001 fi
8002
8003 else
8004
8005 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8006 if test "x$LINE" != x ; then
8007 eval "DEFAULT_$LINE"
8008 else
8009 no_cache=1
8010 fi
8011
8012 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8013
8014 fi;
8015
8016 eval "$ac_cv_use_statbox"
8017 if test "$no_cache" != 1; then
8018 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8019 fi
8020
8021 if test "$wxUSE_STATBOX" = yes; then
8022 echo "$as_me:$LINENO: result: yes" >&5
8023 echo "${ECHO_T}yes" >&6
8024 else
8025 echo "$as_me:$LINENO: result: no" >&5
8026 echo "${ECHO_T}no" >&6
8027 fi
8028
8029
8030 enablestring=
8031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8032 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8033 no_cache=0
8034 # Check whether --enable-statline or --disable-statline was given.
8035 if test "${enable_statline+set}" = set; then
8036 enableval="$enable_statline"
8037
8038 if test "$enableval" = yes; then
8039 ac_cv_use_statline='wxUSE_STATLINE=yes'
8040 else
8041 ac_cv_use_statline='wxUSE_STATLINE=no'
8042 fi
8043
8044 else
8045
8046 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8047 if test "x$LINE" != x ; then
8048 eval "DEFAULT_$LINE"
8049 else
8050 no_cache=1
8051 fi
8052
8053 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8054
8055 fi;
8056
8057 eval "$ac_cv_use_statline"
8058 if test "$no_cache" != 1; then
8059 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8060 fi
8061
8062 if test "$wxUSE_STATLINE" = yes; then
8063 echo "$as_me:$LINENO: result: yes" >&5
8064 echo "${ECHO_T}yes" >&6
8065 else
8066 echo "$as_me:$LINENO: result: no" >&5
8067 echo "${ECHO_T}no" >&6
8068 fi
8069
8070
8071 enablestring=
8072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8073 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8074 no_cache=0
8075 # Check whether --enable-stattext or --disable-stattext was given.
8076 if test "${enable_stattext+set}" = set; then
8077 enableval="$enable_stattext"
8078
8079 if test "$enableval" = yes; then
8080 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8081 else
8082 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8083 fi
8084
8085 else
8086
8087 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8088 if test "x$LINE" != x ; then
8089 eval "DEFAULT_$LINE"
8090 else
8091 no_cache=1
8092 fi
8093
8094 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8095
8096 fi;
8097
8098 eval "$ac_cv_use_stattext"
8099 if test "$no_cache" != 1; then
8100 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8101 fi
8102
8103 if test "$wxUSE_STATTEXT" = yes; then
8104 echo "$as_me:$LINENO: result: yes" >&5
8105 echo "${ECHO_T}yes" >&6
8106 else
8107 echo "$as_me:$LINENO: result: no" >&5
8108 echo "${ECHO_T}no" >&6
8109 fi
8110
8111
8112 enablestring=
8113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8114 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8115 no_cache=0
8116 # Check whether --enable-statusbar or --disable-statusbar was given.
8117 if test "${enable_statusbar+set}" = set; then
8118 enableval="$enable_statusbar"
8119
8120 if test "$enableval" = yes; then
8121 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8122 else
8123 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8124 fi
8125
8126 else
8127
8128 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8129 if test "x$LINE" != x ; then
8130 eval "DEFAULT_$LINE"
8131 else
8132 no_cache=1
8133 fi
8134
8135 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8136
8137 fi;
8138
8139 eval "$ac_cv_use_statusbar"
8140 if test "$no_cache" != 1; then
8141 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8142 fi
8143
8144 if test "$wxUSE_STATUSBAR" = yes; then
8145 echo "$as_me:$LINENO: result: yes" >&5
8146 echo "${ECHO_T}yes" >&6
8147 else
8148 echo "$as_me:$LINENO: result: no" >&5
8149 echo "${ECHO_T}no" >&6
8150 fi
8151
8152
8153 enablestring=
8154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8155 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8156 no_cache=0
8157 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8158 if test "${enable_tabdialog+set}" = set; then
8159 enableval="$enable_tabdialog"
8160
8161 if test "$enableval" = yes; then
8162 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8163 else
8164 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8165 fi
8166
8167 else
8168
8169 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8170 if test "x$LINE" != x ; then
8171 eval "DEFAULT_$LINE"
8172 else
8173 no_cache=1
8174 fi
8175
8176 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8177
8178 fi;
8179
8180 eval "$ac_cv_use_tabdialog"
8181 if test "$no_cache" != 1; then
8182 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8183 fi
8184
8185 if test "$wxUSE_TABDIALOG" = yes; then
8186 echo "$as_me:$LINENO: result: yes" >&5
8187 echo "${ECHO_T}yes" >&6
8188 else
8189 echo "$as_me:$LINENO: result: no" >&5
8190 echo "${ECHO_T}no" >&6
8191 fi
8192
8193
8194 enablestring=
8195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8196 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8197 no_cache=0
8198 # Check whether --enable-textctrl or --disable-textctrl was given.
8199 if test "${enable_textctrl+set}" = set; then
8200 enableval="$enable_textctrl"
8201
8202 if test "$enableval" = yes; then
8203 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8204 else
8205 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8206 fi
8207
8208 else
8209
8210 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8211 if test "x$LINE" != x ; then
8212 eval "DEFAULT_$LINE"
8213 else
8214 no_cache=1
8215 fi
8216
8217 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8218
8219 fi;
8220
8221 eval "$ac_cv_use_textctrl"
8222 if test "$no_cache" != 1; then
8223 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8224 fi
8225
8226 if test "$wxUSE_TEXTCTRL" = yes; then
8227 echo "$as_me:$LINENO: result: yes" >&5
8228 echo "${ECHO_T}yes" >&6
8229 else
8230 echo "$as_me:$LINENO: result: no" >&5
8231 echo "${ECHO_T}no" >&6
8232 fi
8233
8234
8235 enablestring=
8236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8237 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8238 no_cache=0
8239 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8240 if test "${enable_togglebtn+set}" = set; then
8241 enableval="$enable_togglebtn"
8242
8243 if test "$enableval" = yes; then
8244 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8245 else
8246 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8247 fi
8248
8249 else
8250
8251 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8252 if test "x$LINE" != x ; then
8253 eval "DEFAULT_$LINE"
8254 else
8255 no_cache=1
8256 fi
8257
8258 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8259
8260 fi;
8261
8262 eval "$ac_cv_use_togglebtn"
8263 if test "$no_cache" != 1; then
8264 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8265 fi
8266
8267 if test "$wxUSE_TOGGLEBTN" = yes; then
8268 echo "$as_me:$LINENO: result: yes" >&5
8269 echo "${ECHO_T}yes" >&6
8270 else
8271 echo "$as_me:$LINENO: result: no" >&5
8272 echo "${ECHO_T}no" >&6
8273 fi
8274
8275
8276 enablestring=
8277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8278 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8279 no_cache=0
8280 # Check whether --enable-toolbar or --disable-toolbar was given.
8281 if test "${enable_toolbar+set}" = set; then
8282 enableval="$enable_toolbar"
8283
8284 if test "$enableval" = yes; then
8285 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8286 else
8287 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8288 fi
8289
8290 else
8291
8292 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8293 if test "x$LINE" != x ; then
8294 eval "DEFAULT_$LINE"
8295 else
8296 no_cache=1
8297 fi
8298
8299 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8300
8301 fi;
8302
8303 eval "$ac_cv_use_toolbar"
8304 if test "$no_cache" != 1; then
8305 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8306 fi
8307
8308 if test "$wxUSE_TOOLBAR" = yes; then
8309 echo "$as_me:$LINENO: result: yes" >&5
8310 echo "${ECHO_T}yes" >&6
8311 else
8312 echo "$as_me:$LINENO: result: no" >&5
8313 echo "${ECHO_T}no" >&6
8314 fi
8315
8316
8317 enablestring=
8318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8319 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8320 no_cache=0
8321 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8322 if test "${enable_tbarnative+set}" = set; then
8323 enableval="$enable_tbarnative"
8324
8325 if test "$enableval" = yes; then
8326 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8327 else
8328 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8329 fi
8330
8331 else
8332
8333 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8334 if test "x$LINE" != x ; then
8335 eval "DEFAULT_$LINE"
8336 else
8337 no_cache=1
8338 fi
8339
8340 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8341
8342 fi;
8343
8344 eval "$ac_cv_use_tbarnative"
8345 if test "$no_cache" != 1; then
8346 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8347 fi
8348
8349 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8350 echo "$as_me:$LINENO: result: yes" >&5
8351 echo "${ECHO_T}yes" >&6
8352 else
8353 echo "$as_me:$LINENO: result: no" >&5
8354 echo "${ECHO_T}no" >&6
8355 fi
8356
8357
8358 enablestring=
8359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8360 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8361 no_cache=0
8362 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8363 if test "${enable_tbarsmpl+set}" = set; then
8364 enableval="$enable_tbarsmpl"
8365
8366 if test "$enableval" = yes; then
8367 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8368 else
8369 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8370 fi
8371
8372 else
8373
8374 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8375 if test "x$LINE" != x ; then
8376 eval "DEFAULT_$LINE"
8377 else
8378 no_cache=1
8379 fi
8380
8381 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8382
8383 fi;
8384
8385 eval "$ac_cv_use_tbarsmpl"
8386 if test "$no_cache" != 1; then
8387 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8388 fi
8389
8390 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8391 echo "$as_me:$LINENO: result: yes" >&5
8392 echo "${ECHO_T}yes" >&6
8393 else
8394 echo "$as_me:$LINENO: result: no" >&5
8395 echo "${ECHO_T}no" >&6
8396 fi
8397
8398
8399 enablestring=
8400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8401 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8402 no_cache=0
8403 # Check whether --enable-treectrl or --disable-treectrl was given.
8404 if test "${enable_treectrl+set}" = set; then
8405 enableval="$enable_treectrl"
8406
8407 if test "$enableval" = yes; then
8408 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8409 else
8410 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8411 fi
8412
8413 else
8414
8415 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8416 if test "x$LINE" != x ; then
8417 eval "DEFAULT_$LINE"
8418 else
8419 no_cache=1
8420 fi
8421
8422 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8423
8424 fi;
8425
8426 eval "$ac_cv_use_treectrl"
8427 if test "$no_cache" != 1; then
8428 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8429 fi
8430
8431 if test "$wxUSE_TREECTRL" = yes; then
8432 echo "$as_me:$LINENO: result: yes" >&5
8433 echo "${ECHO_T}yes" >&6
8434 else
8435 echo "$as_me:$LINENO: result: no" >&5
8436 echo "${ECHO_T}no" >&6
8437 fi
8438
8439
8440 enablestring=
8441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8442 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8443 no_cache=0
8444 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8445 if test "${enable_tipwindow+set}" = set; then
8446 enableval="$enable_tipwindow"
8447
8448 if test "$enableval" = yes; then
8449 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8450 else
8451 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8452 fi
8453
8454 else
8455
8456 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8457 if test "x$LINE" != x ; then
8458 eval "DEFAULT_$LINE"
8459 else
8460 no_cache=1
8461 fi
8462
8463 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8464
8465 fi;
8466
8467 eval "$ac_cv_use_tipwindow"
8468 if test "$no_cache" != 1; then
8469 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8470 fi
8471
8472 if test "$wxUSE_TIPWINDOW" = yes; then
8473 echo "$as_me:$LINENO: result: yes" >&5
8474 echo "${ECHO_T}yes" >&6
8475 else
8476 echo "$as_me:$LINENO: result: no" >&5
8477 echo "${ECHO_T}no" >&6
8478 fi
8479
8480
8481 enablestring=
8482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8483 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8484 no_cache=0
8485 # Check whether --enable-popupwin or --disable-popupwin was given.
8486 if test "${enable_popupwin+set}" = set; then
8487 enableval="$enable_popupwin"
8488
8489 if test "$enableval" = yes; then
8490 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8491 else
8492 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8493 fi
8494
8495 else
8496
8497 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8498 if test "x$LINE" != x ; then
8499 eval "DEFAULT_$LINE"
8500 else
8501 no_cache=1
8502 fi
8503
8504 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8505
8506 fi;
8507
8508 eval "$ac_cv_use_popupwin"
8509 if test "$no_cache" != 1; then
8510 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8511 fi
8512
8513 if test "$wxUSE_POPUPWIN" = yes; then
8514 echo "$as_me:$LINENO: result: yes" >&5
8515 echo "${ECHO_T}yes" >&6
8516 else
8517 echo "$as_me:$LINENO: result: no" >&5
8518 echo "${ECHO_T}no" >&6
8519 fi
8520
8521
8522
8523
8524 enablestring=
8525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8526 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8527 no_cache=0
8528 # Check whether --enable-commondlg or --disable-commondlg was given.
8529 if test "${enable_commondlg+set}" = set; then
8530 enableval="$enable_commondlg"
8531
8532 if test "$enableval" = yes; then
8533 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8534 else
8535 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8536 fi
8537
8538 else
8539
8540 LINE=`grep "wxUSE_COMMONDLGS" ${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_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8548
8549 fi;
8550
8551 eval "$ac_cv_use_commondlg"
8552 if test "$no_cache" != 1; then
8553 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8554 fi
8555
8556 if test "$wxUSE_COMMONDLGS" = 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 enablestring=
8566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8567 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8568 no_cache=0
8569 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8570 if test "${enable_choicedlg+set}" = set; then
8571 enableval="$enable_choicedlg"
8572
8573 if test "$enableval" = yes; then
8574 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8575 else
8576 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8577 fi
8578
8579 else
8580
8581 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8582 if test "x$LINE" != x ; then
8583 eval "DEFAULT_$LINE"
8584 else
8585 no_cache=1
8586 fi
8587
8588 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8589
8590 fi;
8591
8592 eval "$ac_cv_use_choicedlg"
8593 if test "$no_cache" != 1; then
8594 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8595 fi
8596
8597 if test "$wxUSE_CHOICEDLG" = yes; then
8598 echo "$as_me:$LINENO: result: yes" >&5
8599 echo "${ECHO_T}yes" >&6
8600 else
8601 echo "$as_me:$LINENO: result: no" >&5
8602 echo "${ECHO_T}no" >&6
8603 fi
8604
8605
8606 enablestring=
8607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8608 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8609 no_cache=0
8610 # Check whether --enable-coldlg or --disable-coldlg was given.
8611 if test "${enable_coldlg+set}" = set; then
8612 enableval="$enable_coldlg"
8613
8614 if test "$enableval" = yes; then
8615 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8616 else
8617 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8618 fi
8619
8620 else
8621
8622 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8623 if test "x$LINE" != x ; then
8624 eval "DEFAULT_$LINE"
8625 else
8626 no_cache=1
8627 fi
8628
8629 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8630
8631 fi;
8632
8633 eval "$ac_cv_use_coldlg"
8634 if test "$no_cache" != 1; then
8635 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8636 fi
8637
8638 if test "$wxUSE_COLOURDLG" = yes; then
8639 echo "$as_me:$LINENO: result: yes" >&5
8640 echo "${ECHO_T}yes" >&6
8641 else
8642 echo "$as_me:$LINENO: result: no" >&5
8643 echo "${ECHO_T}no" >&6
8644 fi
8645
8646
8647 enablestring=
8648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8649 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8650 no_cache=0
8651 # Check whether --enable-filedlg or --disable-filedlg was given.
8652 if test "${enable_filedlg+set}" = set; then
8653 enableval="$enable_filedlg"
8654
8655 if test "$enableval" = yes; then
8656 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8657 else
8658 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8659 fi
8660
8661 else
8662
8663 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8664 if test "x$LINE" != x ; then
8665 eval "DEFAULT_$LINE"
8666 else
8667 no_cache=1
8668 fi
8669
8670 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8671
8672 fi;
8673
8674 eval "$ac_cv_use_filedlg"
8675 if test "$no_cache" != 1; then
8676 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8677 fi
8678
8679 if test "$wxUSE_FILEDLG" = yes; then
8680 echo "$as_me:$LINENO: result: yes" >&5
8681 echo "${ECHO_T}yes" >&6
8682 else
8683 echo "$as_me:$LINENO: result: no" >&5
8684 echo "${ECHO_T}no" >&6
8685 fi
8686
8687
8688 enablestring=
8689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8690 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8691 no_cache=0
8692 # Check whether --enable-finddlg or --disable-finddlg was given.
8693 if test "${enable_finddlg+set}" = set; then
8694 enableval="$enable_finddlg"
8695
8696 if test "$enableval" = yes; then
8697 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8698 else
8699 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8700 fi
8701
8702 else
8703
8704 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8705 if test "x$LINE" != x ; then
8706 eval "DEFAULT_$LINE"
8707 else
8708 no_cache=1
8709 fi
8710
8711 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8712
8713 fi;
8714
8715 eval "$ac_cv_use_finddlg"
8716 if test "$no_cache" != 1; then
8717 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8718 fi
8719
8720 if test "$wxUSE_FINDREPLDLG" = yes; then
8721 echo "$as_me:$LINENO: result: yes" >&5
8722 echo "${ECHO_T}yes" >&6
8723 else
8724 echo "$as_me:$LINENO: result: no" >&5
8725 echo "${ECHO_T}no" >&6
8726 fi
8727
8728
8729 enablestring=
8730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8731 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8732 no_cache=0
8733 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8734 if test "${enable_fontdlg+set}" = set; then
8735 enableval="$enable_fontdlg"
8736
8737 if test "$enableval" = yes; then
8738 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8739 else
8740 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8741 fi
8742
8743 else
8744
8745 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8746 if test "x$LINE" != x ; then
8747 eval "DEFAULT_$LINE"
8748 else
8749 no_cache=1
8750 fi
8751
8752 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8753
8754 fi;
8755
8756 eval "$ac_cv_use_fontdlg"
8757 if test "$no_cache" != 1; then
8758 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8759 fi
8760
8761 if test "$wxUSE_FONTDLG" = yes; then
8762 echo "$as_me:$LINENO: result: yes" >&5
8763 echo "${ECHO_T}yes" >&6
8764 else
8765 echo "$as_me:$LINENO: result: no" >&5
8766 echo "${ECHO_T}no" >&6
8767 fi
8768
8769
8770 enablestring=
8771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8772 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8773 no_cache=0
8774 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8775 if test "${enable_dirdlg+set}" = set; then
8776 enableval="$enable_dirdlg"
8777
8778 if test "$enableval" = yes; then
8779 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8780 else
8781 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8782 fi
8783
8784 else
8785
8786 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8787 if test "x$LINE" != x ; then
8788 eval "DEFAULT_$LINE"
8789 else
8790 no_cache=1
8791 fi
8792
8793 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8794
8795 fi;
8796
8797 eval "$ac_cv_use_dirdlg"
8798 if test "$no_cache" != 1; then
8799 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8800 fi
8801
8802 if test "$wxUSE_DIRDLG" = yes; then
8803 echo "$as_me:$LINENO: result: yes" >&5
8804 echo "${ECHO_T}yes" >&6
8805 else
8806 echo "$as_me:$LINENO: result: no" >&5
8807 echo "${ECHO_T}no" >&6
8808 fi
8809
8810
8811 enablestring=
8812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8813 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8814 no_cache=0
8815 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8816 if test "${enable_msgdlg+set}" = set; then
8817 enableval="$enable_msgdlg"
8818
8819 if test "$enableval" = yes; then
8820 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8821 else
8822 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8823 fi
8824
8825 else
8826
8827 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8828 if test "x$LINE" != x ; then
8829 eval "DEFAULT_$LINE"
8830 else
8831 no_cache=1
8832 fi
8833
8834 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8835
8836 fi;
8837
8838 eval "$ac_cv_use_msgdlg"
8839 if test "$no_cache" != 1; then
8840 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8841 fi
8842
8843 if test "$wxUSE_MSGDLG" = yes; then
8844 echo "$as_me:$LINENO: result: yes" >&5
8845 echo "${ECHO_T}yes" >&6
8846 else
8847 echo "$as_me:$LINENO: result: no" >&5
8848 echo "${ECHO_T}no" >&6
8849 fi
8850
8851
8852 enablestring=
8853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8854 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8855 no_cache=0
8856 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8857 if test "${enable_numberdlg+set}" = set; then
8858 enableval="$enable_numberdlg"
8859
8860 if test "$enableval" = yes; then
8861 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8862 else
8863 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8864 fi
8865
8866 else
8867
8868 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8869 if test "x$LINE" != x ; then
8870 eval "DEFAULT_$LINE"
8871 else
8872 no_cache=1
8873 fi
8874
8875 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8876
8877 fi;
8878
8879 eval "$ac_cv_use_numberdlg"
8880 if test "$no_cache" != 1; then
8881 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8882 fi
8883
8884 if test "$wxUSE_NUMBERDLG" = yes; then
8885 echo "$as_me:$LINENO: result: yes" >&5
8886 echo "${ECHO_T}yes" >&6
8887 else
8888 echo "$as_me:$LINENO: result: no" >&5
8889 echo "${ECHO_T}no" >&6
8890 fi
8891
8892
8893 enablestring=
8894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8895 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8896 no_cache=0
8897 # Check whether --enable-splash or --disable-splash was given.
8898 if test "${enable_splash+set}" = set; then
8899 enableval="$enable_splash"
8900
8901 if test "$enableval" = yes; then
8902 ac_cv_use_splash='wxUSE_SPLASH=yes'
8903 else
8904 ac_cv_use_splash='wxUSE_SPLASH=no'
8905 fi
8906
8907 else
8908
8909 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8910 if test "x$LINE" != x ; then
8911 eval "DEFAULT_$LINE"
8912 else
8913 no_cache=1
8914 fi
8915
8916 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8917
8918 fi;
8919
8920 eval "$ac_cv_use_splash"
8921 if test "$no_cache" != 1; then
8922 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8923 fi
8924
8925 if test "$wxUSE_SPLASH" = yes; then
8926 echo "$as_me:$LINENO: result: yes" >&5
8927 echo "${ECHO_T}yes" >&6
8928 else
8929 echo "$as_me:$LINENO: result: no" >&5
8930 echo "${ECHO_T}no" >&6
8931 fi
8932
8933
8934 enablestring=
8935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8936 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8937 no_cache=0
8938 # Check whether --enable-textdlg or --disable-textdlg was given.
8939 if test "${enable_textdlg+set}" = set; then
8940 enableval="$enable_textdlg"
8941
8942 if test "$enableval" = yes; then
8943 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8944 else
8945 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8946 fi
8947
8948 else
8949
8950 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8951 if test "x$LINE" != x ; then
8952 eval "DEFAULT_$LINE"
8953 else
8954 no_cache=1
8955 fi
8956
8957 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8958
8959 fi;
8960
8961 eval "$ac_cv_use_textdlg"
8962 if test "$no_cache" != 1; then
8963 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8964 fi
8965
8966 if test "$wxUSE_TEXTDLG" = yes; then
8967 echo "$as_me:$LINENO: result: yes" >&5
8968 echo "${ECHO_T}yes" >&6
8969 else
8970 echo "$as_me:$LINENO: result: no" >&5
8971 echo "${ECHO_T}no" >&6
8972 fi
8973
8974
8975 enablestring=
8976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8977 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8978 no_cache=0
8979 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8980 if test "${enable_tipdlg+set}" = set; then
8981 enableval="$enable_tipdlg"
8982
8983 if test "$enableval" = yes; then
8984 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8985 else
8986 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8987 fi
8988
8989 else
8990
8991 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8992 if test "x$LINE" != x ; then
8993 eval "DEFAULT_$LINE"
8994 else
8995 no_cache=1
8996 fi
8997
8998 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8999
9000 fi;
9001
9002 eval "$ac_cv_use_tipdlg"
9003 if test "$no_cache" != 1; then
9004 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9005 fi
9006
9007 if test "$wxUSE_STARTUP_TIPS" = yes; then
9008 echo "$as_me:$LINENO: result: yes" >&5
9009 echo "${ECHO_T}yes" >&6
9010 else
9011 echo "$as_me:$LINENO: result: no" >&5
9012 echo "${ECHO_T}no" >&6
9013 fi
9014
9015
9016 enablestring=
9017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9018 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9019 no_cache=0
9020 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9021 if test "${enable_progressdlg+set}" = set; then
9022 enableval="$enable_progressdlg"
9023
9024 if test "$enableval" = yes; then
9025 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9026 else
9027 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9028 fi
9029
9030 else
9031
9032 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9033 if test "x$LINE" != x ; then
9034 eval "DEFAULT_$LINE"
9035 else
9036 no_cache=1
9037 fi
9038
9039 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9040
9041 fi;
9042
9043 eval "$ac_cv_use_progressdlg"
9044 if test "$no_cache" != 1; then
9045 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9046 fi
9047
9048 if test "$wxUSE_PROGRESSDLG" = yes; then
9049 echo "$as_me:$LINENO: result: yes" >&5
9050 echo "${ECHO_T}yes" >&6
9051 else
9052 echo "$as_me:$LINENO: result: no" >&5
9053 echo "${ECHO_T}no" >&6
9054 fi
9055
9056
9057 enablestring=
9058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9059 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9060 no_cache=0
9061 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9062 if test "${enable_wizarddlg+set}" = set; then
9063 enableval="$enable_wizarddlg"
9064
9065 if test "$enableval" = yes; then
9066 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9067 else
9068 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9069 fi
9070
9071 else
9072
9073 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9074 if test "x$LINE" != x ; then
9075 eval "DEFAULT_$LINE"
9076 else
9077 no_cache=1
9078 fi
9079
9080 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9081
9082 fi;
9083
9084 eval "$ac_cv_use_wizarddlg"
9085 if test "$no_cache" != 1; then
9086 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9087 fi
9088
9089 if test "$wxUSE_WIZARDDLG" = yes; then
9090 echo "$as_me:$LINENO: result: yes" >&5
9091 echo "${ECHO_T}yes" >&6
9092 else
9093 echo "$as_me:$LINENO: result: no" >&5
9094 echo "${ECHO_T}no" >&6
9095 fi
9096
9097
9098
9099
9100 enablestring=
9101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9102 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9103 no_cache=0
9104 # Check whether --enable-menus or --disable-menus was given.
9105 if test "${enable_menus+set}" = set; then
9106 enableval="$enable_menus"
9107
9108 if test "$enableval" = yes; then
9109 ac_cv_use_menus='wxUSE_MENUS=yes'
9110 else
9111 ac_cv_use_menus='wxUSE_MENUS=no'
9112 fi
9113
9114 else
9115
9116 LINE=`grep "wxUSE_MENUS" ${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_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9124
9125 fi;
9126
9127 eval "$ac_cv_use_menus"
9128 if test "$no_cache" != 1; then
9129 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9130 fi
9131
9132 if test "$wxUSE_MENUS" = 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 enablestring=
9142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9143 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9144 no_cache=0
9145 # Check whether --enable-miniframe or --disable-miniframe was given.
9146 if test "${enable_miniframe+set}" = set; then
9147 enableval="$enable_miniframe"
9148
9149 if test "$enableval" = yes; then
9150 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9151 else
9152 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9153 fi
9154
9155 else
9156
9157 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9158 if test "x$LINE" != x ; then
9159 eval "DEFAULT_$LINE"
9160 else
9161 no_cache=1
9162 fi
9163
9164 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9165
9166 fi;
9167
9168 eval "$ac_cv_use_miniframe"
9169 if test "$no_cache" != 1; then
9170 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9171 fi
9172
9173 if test "$wxUSE_MINIFRAME" = yes; then
9174 echo "$as_me:$LINENO: result: yes" >&5
9175 echo "${ECHO_T}yes" >&6
9176 else
9177 echo "$as_me:$LINENO: result: no" >&5
9178 echo "${ECHO_T}no" >&6
9179 fi
9180
9181
9182 enablestring=
9183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9184 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9185 no_cache=0
9186 # Check whether --enable-tooltips or --disable-tooltips was given.
9187 if test "${enable_tooltips+set}" = set; then
9188 enableval="$enable_tooltips"
9189
9190 if test "$enableval" = yes; then
9191 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9192 else
9193 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9194 fi
9195
9196 else
9197
9198 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9199 if test "x$LINE" != x ; then
9200 eval "DEFAULT_$LINE"
9201 else
9202 no_cache=1
9203 fi
9204
9205 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9206
9207 fi;
9208
9209 eval "$ac_cv_use_tooltips"
9210 if test "$no_cache" != 1; then
9211 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9212 fi
9213
9214 if test "$wxUSE_TOOLTIPS" = yes; then
9215 echo "$as_me:$LINENO: result: yes" >&5
9216 echo "${ECHO_T}yes" >&6
9217 else
9218 echo "$as_me:$LINENO: result: no" >&5
9219 echo "${ECHO_T}no" >&6
9220 fi
9221
9222
9223 enablestring=
9224 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9225 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9226 no_cache=0
9227 # Check whether --enable-splines or --disable-splines was given.
9228 if test "${enable_splines+set}" = set; then
9229 enableval="$enable_splines"
9230
9231 if test "$enableval" = yes; then
9232 ac_cv_use_splines='wxUSE_SPLINES=yes'
9233 else
9234 ac_cv_use_splines='wxUSE_SPLINES=no'
9235 fi
9236
9237 else
9238
9239 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9240 if test "x$LINE" != x ; then
9241 eval "DEFAULT_$LINE"
9242 else
9243 no_cache=1
9244 fi
9245
9246 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9247
9248 fi;
9249
9250 eval "$ac_cv_use_splines"
9251 if test "$no_cache" != 1; then
9252 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9253 fi
9254
9255 if test "$wxUSE_SPLINES" = yes; then
9256 echo "$as_me:$LINENO: result: yes" >&5
9257 echo "${ECHO_T}yes" >&6
9258 else
9259 echo "$as_me:$LINENO: result: no" >&5
9260 echo "${ECHO_T}no" >&6
9261 fi
9262
9263
9264 enablestring=
9265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9266 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9267 no_cache=0
9268 # Check whether --enable-validators or --disable-validators was given.
9269 if test "${enable_validators+set}" = set; then
9270 enableval="$enable_validators"
9271
9272 if test "$enableval" = yes; then
9273 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9274 else
9275 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9276 fi
9277
9278 else
9279
9280 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9281 if test "x$LINE" != x ; then
9282 eval "DEFAULT_$LINE"
9283 else
9284 no_cache=1
9285 fi
9286
9287 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9288
9289 fi;
9290
9291 eval "$ac_cv_use_validators"
9292 if test "$no_cache" != 1; then
9293 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9294 fi
9295
9296 if test "$wxUSE_VALIDATORS" = yes; then
9297 echo "$as_me:$LINENO: result: yes" >&5
9298 echo "${ECHO_T}yes" >&6
9299 else
9300 echo "$as_me:$LINENO: result: no" >&5
9301 echo "${ECHO_T}no" >&6
9302 fi
9303
9304
9305 enablestring=
9306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9307 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9308 no_cache=0
9309 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9310 if test "${enable_busyinfo+set}" = set; then
9311 enableval="$enable_busyinfo"
9312
9313 if test "$enableval" = yes; then
9314 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9315 else
9316 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9317 fi
9318
9319 else
9320
9321 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9322 if test "x$LINE" != x ; then
9323 eval "DEFAULT_$LINE"
9324 else
9325 no_cache=1
9326 fi
9327
9328 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9329
9330 fi;
9331
9332 eval "$ac_cv_use_busyinfo"
9333 if test "$no_cache" != 1; then
9334 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9335 fi
9336
9337 if test "$wxUSE_BUSYINFO" = yes; then
9338 echo "$as_me:$LINENO: result: yes" >&5
9339 echo "${ECHO_T}yes" >&6
9340 else
9341 echo "$as_me:$LINENO: result: no" >&5
9342 echo "${ECHO_T}no" >&6
9343 fi
9344
9345
9346 enablestring=
9347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9348 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9349 no_cache=0
9350 # Check whether --enable-joystick or --disable-joystick was given.
9351 if test "${enable_joystick+set}" = set; then
9352 enableval="$enable_joystick"
9353
9354 if test "$enableval" = yes; then
9355 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9356 else
9357 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9358 fi
9359
9360 else
9361
9362 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9363 if test "x$LINE" != x ; then
9364 eval "DEFAULT_$LINE"
9365 else
9366 no_cache=1
9367 fi
9368
9369 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9370
9371 fi;
9372
9373 eval "$ac_cv_use_joystick"
9374 if test "$no_cache" != 1; then
9375 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9376 fi
9377
9378 if test "$wxUSE_JOYSTICK" = yes; then
9379 echo "$as_me:$LINENO: result: yes" >&5
9380 echo "${ECHO_T}yes" >&6
9381 else
9382 echo "$as_me:$LINENO: result: no" >&5
9383 echo "${ECHO_T}no" >&6
9384 fi
9385
9386
9387 enablestring=
9388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9389 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9390 no_cache=0
9391 # Check whether --enable-metafile or --disable-metafile was given.
9392 if test "${enable_metafile+set}" = set; then
9393 enableval="$enable_metafile"
9394
9395 if test "$enableval" = yes; then
9396 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9397 else
9398 ac_cv_use_metafile='wxUSE_METAFILE=no'
9399 fi
9400
9401 else
9402
9403 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9404 if test "x$LINE" != x ; then
9405 eval "DEFAULT_$LINE"
9406 else
9407 no_cache=1
9408 fi
9409
9410 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9411
9412 fi;
9413
9414 eval "$ac_cv_use_metafile"
9415 if test "$no_cache" != 1; then
9416 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9417 fi
9418
9419 if test "$wxUSE_METAFILE" = yes; then
9420 echo "$as_me:$LINENO: result: yes" >&5
9421 echo "${ECHO_T}yes" >&6
9422 else
9423 echo "$as_me:$LINENO: result: no" >&5
9424 echo "${ECHO_T}no" >&6
9425 fi
9426
9427
9428 enablestring=
9429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9430 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9431 no_cache=0
9432 # Check whether --enable-dragimage or --disable-dragimage was given.
9433 if test "${enable_dragimage+set}" = set; then
9434 enableval="$enable_dragimage"
9435
9436 if test "$enableval" = yes; then
9437 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9438 else
9439 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9440 fi
9441
9442 else
9443
9444 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9445 if test "x$LINE" != x ; then
9446 eval "DEFAULT_$LINE"
9447 else
9448 no_cache=1
9449 fi
9450
9451 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9452
9453 fi;
9454
9455 eval "$ac_cv_use_dragimage"
9456 if test "$no_cache" != 1; then
9457 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9458 fi
9459
9460 if test "$wxUSE_DRAGIMAGE" = yes; then
9461 echo "$as_me:$LINENO: result: yes" >&5
9462 echo "${ECHO_T}yes" >&6
9463 else
9464 echo "$as_me:$LINENO: result: no" >&5
9465 echo "${ECHO_T}no" >&6
9466 fi
9467
9468
9469 enablestring=
9470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9471 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9472 no_cache=0
9473 # Check whether --enable-accessibility or --disable-accessibility was given.
9474 if test "${enable_accessibility+set}" = set; then
9475 enableval="$enable_accessibility"
9476
9477 if test "$enableval" = yes; then
9478 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9479 else
9480 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9481 fi
9482
9483 else
9484
9485 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9486 if test "x$LINE" != x ; then
9487 eval "DEFAULT_$LINE"
9488 else
9489 no_cache=1
9490 fi
9491
9492 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9493
9494 fi;
9495
9496 eval "$ac_cv_use_accessibility"
9497 if test "$no_cache" != 1; then
9498 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9499 fi
9500
9501 if test "$wxUSE_ACCESSIBILITY" = yes; then
9502 echo "$as_me:$LINENO: result: yes" >&5
9503 echo "${ECHO_T}yes" >&6
9504 else
9505 echo "$as_me:$LINENO: result: no" >&5
9506 echo "${ECHO_T}no" >&6
9507 fi
9508
9509
9510
9511
9512 enablestring=
9513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9514 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9515 no_cache=0
9516 # Check whether --enable-palette or --disable-palette was given.
9517 if test "${enable_palette+set}" = set; then
9518 enableval="$enable_palette"
9519
9520 if test "$enableval" = yes; then
9521 ac_cv_use_palette='wxUSE_PALETTE=yes'
9522 else
9523 ac_cv_use_palette='wxUSE_PALETTE=no'
9524 fi
9525
9526 else
9527
9528 LINE=`grep "wxUSE_PALETTE" ${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_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9536
9537 fi;
9538
9539 eval "$ac_cv_use_palette"
9540 if test "$no_cache" != 1; then
9541 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9542 fi
9543
9544 if test "$wxUSE_PALETTE" = 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 enablestring=
9554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9555 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9556 no_cache=0
9557 # Check whether --enable-image or --disable-image was given.
9558 if test "${enable_image+set}" = set; then
9559 enableval="$enable_image"
9560
9561 if test "$enableval" = yes; then
9562 ac_cv_use_image='wxUSE_IMAGE=yes'
9563 else
9564 ac_cv_use_image='wxUSE_IMAGE=no'
9565 fi
9566
9567 else
9568
9569 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9570 if test "x$LINE" != x ; then
9571 eval "DEFAULT_$LINE"
9572 else
9573 no_cache=1
9574 fi
9575
9576 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9577
9578 fi;
9579
9580 eval "$ac_cv_use_image"
9581 if test "$no_cache" != 1; then
9582 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9583 fi
9584
9585 if test "$wxUSE_IMAGE" = yes; then
9586 echo "$as_me:$LINENO: result: yes" >&5
9587 echo "${ECHO_T}yes" >&6
9588 else
9589 echo "$as_me:$LINENO: result: no" >&5
9590 echo "${ECHO_T}no" >&6
9591 fi
9592
9593
9594 enablestring=
9595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9596 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9597 no_cache=0
9598 # Check whether --enable-gif or --disable-gif was given.
9599 if test "${enable_gif+set}" = set; then
9600 enableval="$enable_gif"
9601
9602 if test "$enableval" = yes; then
9603 ac_cv_use_gif='wxUSE_GIF=yes'
9604 else
9605 ac_cv_use_gif='wxUSE_GIF=no'
9606 fi
9607
9608 else
9609
9610 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9611 if test "x$LINE" != x ; then
9612 eval "DEFAULT_$LINE"
9613 else
9614 no_cache=1
9615 fi
9616
9617 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9618
9619 fi;
9620
9621 eval "$ac_cv_use_gif"
9622 if test "$no_cache" != 1; then
9623 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9624 fi
9625
9626 if test "$wxUSE_GIF" = yes; then
9627 echo "$as_me:$LINENO: result: yes" >&5
9628 echo "${ECHO_T}yes" >&6
9629 else
9630 echo "$as_me:$LINENO: result: no" >&5
9631 echo "${ECHO_T}no" >&6
9632 fi
9633
9634
9635 enablestring=
9636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9637 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9638 no_cache=0
9639 # Check whether --enable-pcx or --disable-pcx was given.
9640 if test "${enable_pcx+set}" = set; then
9641 enableval="$enable_pcx"
9642
9643 if test "$enableval" = yes; then
9644 ac_cv_use_pcx='wxUSE_PCX=yes'
9645 else
9646 ac_cv_use_pcx='wxUSE_PCX=no'
9647 fi
9648
9649 else
9650
9651 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9652 if test "x$LINE" != x ; then
9653 eval "DEFAULT_$LINE"
9654 else
9655 no_cache=1
9656 fi
9657
9658 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9659
9660 fi;
9661
9662 eval "$ac_cv_use_pcx"
9663 if test "$no_cache" != 1; then
9664 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9665 fi
9666
9667 if test "$wxUSE_PCX" = yes; then
9668 echo "$as_me:$LINENO: result: yes" >&5
9669 echo "${ECHO_T}yes" >&6
9670 else
9671 echo "$as_me:$LINENO: result: no" >&5
9672 echo "${ECHO_T}no" >&6
9673 fi
9674
9675
9676 enablestring=
9677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9678 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9679 no_cache=0
9680 # Check whether --enable-iff or --disable-iff was given.
9681 if test "${enable_iff+set}" = set; then
9682 enableval="$enable_iff"
9683
9684 if test "$enableval" = yes; then
9685 ac_cv_use_iff='wxUSE_IFF=yes'
9686 else
9687 ac_cv_use_iff='wxUSE_IFF=no'
9688 fi
9689
9690 else
9691
9692 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9693 if test "x$LINE" != x ; then
9694 eval "DEFAULT_$LINE"
9695 else
9696 no_cache=1
9697 fi
9698
9699 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9700
9701 fi;
9702
9703 eval "$ac_cv_use_iff"
9704 if test "$no_cache" != 1; then
9705 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9706 fi
9707
9708 if test "$wxUSE_IFF" = yes; then
9709 echo "$as_me:$LINENO: result: yes" >&5
9710 echo "${ECHO_T}yes" >&6
9711 else
9712 echo "$as_me:$LINENO: result: no" >&5
9713 echo "${ECHO_T}no" >&6
9714 fi
9715
9716
9717 enablestring=
9718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9719 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9720 no_cache=0
9721 # Check whether --enable-pnm or --disable-pnm was given.
9722 if test "${enable_pnm+set}" = set; then
9723 enableval="$enable_pnm"
9724
9725 if test "$enableval" = yes; then
9726 ac_cv_use_pnm='wxUSE_PNM=yes'
9727 else
9728 ac_cv_use_pnm='wxUSE_PNM=no'
9729 fi
9730
9731 else
9732
9733 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9734 if test "x$LINE" != x ; then
9735 eval "DEFAULT_$LINE"
9736 else
9737 no_cache=1
9738 fi
9739
9740 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9741
9742 fi;
9743
9744 eval "$ac_cv_use_pnm"
9745 if test "$no_cache" != 1; then
9746 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9747 fi
9748
9749 if test "$wxUSE_PNM" = yes; then
9750 echo "$as_me:$LINENO: result: yes" >&5
9751 echo "${ECHO_T}yes" >&6
9752 else
9753 echo "$as_me:$LINENO: result: no" >&5
9754 echo "${ECHO_T}no" >&6
9755 fi
9756
9757
9758 enablestring=
9759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9760 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9761 no_cache=0
9762 # Check whether --enable-xpm or --disable-xpm was given.
9763 if test "${enable_xpm+set}" = set; then
9764 enableval="$enable_xpm"
9765
9766 if test "$enableval" = yes; then
9767 ac_cv_use_xpm='wxUSE_XPM=yes'
9768 else
9769 ac_cv_use_xpm='wxUSE_XPM=no'
9770 fi
9771
9772 else
9773
9774 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9775 if test "x$LINE" != x ; then
9776 eval "DEFAULT_$LINE"
9777 else
9778 no_cache=1
9779 fi
9780
9781 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9782
9783 fi;
9784
9785 eval "$ac_cv_use_xpm"
9786 if test "$no_cache" != 1; then
9787 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9788 fi
9789
9790 if test "$wxUSE_XPM" = yes; then
9791 echo "$as_me:$LINENO: result: yes" >&5
9792 echo "${ECHO_T}yes" >&6
9793 else
9794 echo "$as_me:$LINENO: result: no" >&5
9795 echo "${ECHO_T}no" >&6
9796 fi
9797
9798
9799 enablestring=
9800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9801 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9802 no_cache=0
9803 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9804 if test "${enable_ico_cur+set}" = set; then
9805 enableval="$enable_ico_cur"
9806
9807 if test "$enableval" = yes; then
9808 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9809 else
9810 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9811 fi
9812
9813 else
9814
9815 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9816 if test "x$LINE" != x ; then
9817 eval "DEFAULT_$LINE"
9818 else
9819 no_cache=1
9820 fi
9821
9822 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9823
9824 fi;
9825
9826 eval "$ac_cv_use_ico_cur"
9827 if test "$no_cache" != 1; then
9828 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9829 fi
9830
9831 if test "$wxUSE_ICO_CUR" = yes; then
9832 echo "$as_me:$LINENO: result: yes" >&5
9833 echo "${ECHO_T}yes" >&6
9834 else
9835 echo "$as_me:$LINENO: result: no" >&5
9836 echo "${ECHO_T}no" >&6
9837 fi
9838
9839
9840 fi
9841
9842
9843
9844 enablestring=
9845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9846 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9847 no_cache=0
9848 # Check whether --enable-official_build or --disable-official_build was given.
9849 if test "${enable_official_build+set}" = set; then
9850 enableval="$enable_official_build"
9851
9852 if test "$enableval" = yes; then
9853 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9854 else
9855 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9856 fi
9857
9858 else
9859
9860 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9861 if test "x$LINE" != x ; then
9862 eval "DEFAULT_$LINE"
9863 else
9864 no_cache=1
9865 fi
9866
9867 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9868
9869 fi;
9870
9871 eval "$ac_cv_use_official_build"
9872 if test "$no_cache" != 1; then
9873 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9874 fi
9875
9876 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9877 echo "$as_me:$LINENO: result: yes" >&5
9878 echo "${ECHO_T}yes" >&6
9879 else
9880 echo "$as_me:$LINENO: result: no" >&5
9881 echo "${ECHO_T}no" >&6
9882 fi
9883
9884 # Check whether --enable-vendor or --disable-vendor was given.
9885 if test "${enable_vendor+set}" = set; then
9886 enableval="$enable_vendor"
9887 VENDOR="$enableval"
9888 fi;
9889 if test "x$VENDOR" = "x"; then
9890 VENDOR="custom"
9891 fi
9892
9893 case "${host}" in
9894 *-pc-os2_emx | *-pc-os2-emx )
9895 PATH_IFS=';'
9896 if test "$wxUSE_OMF" = "yes"; then
9897 AR=emxomfar
9898 RANLIB=:
9899 LDFLAGS="-Zomf $LDFLAGS"
9900 CFLAGS="-Zomf $CFLAGS"
9901 CXXFLAGS="-Zomf $CXXFLAGS"
9902 fi
9903 ;;
9904 *)
9905 PATH_IFS=':'
9906 ;;
9907 esac
9908
9909
9910
9911 echo "saving argument cache $wx_arg_cache_file"
9912 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9913
9914
9915
9916 echo "$as_me:$LINENO: checking for toolkit" >&5
9917 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9918
9919 # In Wine, we need to default to MSW, not GTK or MOTIF
9920 if test "$wxUSE_WINE" = "yes"; then
9921 DEFAULT_DEFAULT_wxUSE_GTK=0
9922 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9923 DEFAULT_DEFAULT_wxUSE_MSW=1
9924 wxUSE_SHARED=no
9925 fi
9926
9927 if test "$wxUSE_GUI" = "yes"; then
9928
9929 if test "$USE_BEOS" = 1; then
9930 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9931 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9932 { (exit 1); exit 1; }; }
9933 fi
9934
9935 if test "$TOOLKIT_GIVEN" = 1; then
9936 for toolkit in `echo $ALL_TOOLKITS`; do
9937 var=wxUSE_$toolkit
9938 eval "value=\$${var}"
9939 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9940 done
9941 else
9942 for toolkit in `echo $ALL_TOOLKITS`; do
9943 if test "$has_toolkit_in_cache" != 1; then
9944 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9945 else
9946 var=DEFAULT_wxUSE_$toolkit
9947 fi
9948 eval "wxUSE_$toolkit=\$${var}"
9949 done
9950 fi
9951
9952 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9953 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9954 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9955
9956 case "${host}" in
9957 *-pc-os2_emx | *-pc-os2-emx )
9958 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9959 esac
9960
9961 case "$NUM_TOOLKITS" in
9962 1)
9963 ;;
9964 0)
9965 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9966 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9967 { (exit 1); exit 1; }; }
9968 ;;
9969 *)
9970 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9971 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9972 { (exit 1); exit 1; }; }
9973 esac
9974
9975 for toolkit in `echo $ALL_TOOLKITS`; do
9976 var=wxUSE_$toolkit
9977 eval "value=\$${var}"
9978 if test "x$value" != x; then
9979 cache_var=CACHE_$toolkit
9980 eval "cache=\$${cache_var}"
9981 if test "$cache" = 1; then
9982 echo "$var=$value" >> ${wx_arg_cache_file}
9983 fi
9984 if test "$value" = 1; then
9985 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
9986 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9987 echo "${ECHO_T}$toolkit_echo" >&6
9988 fi
9989 fi
9990 done
9991 else
9992 if test "x$host_alias" != "x"; then
9993 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9994 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9995 else
9996 echo "$as_me:$LINENO: result: base only" >&5
9997 echo "${ECHO_T}base only" >&6
9998 fi
9999 fi
10000
10001 wants_win32=0
10002 doesnt_want_win32=0
10003 case "${host}" in
10004 *-*-cygwin*)
10005 if test "$wxUSE_MSW" = 1 ; then
10006 wants_win32=1
10007 else
10008 doesnt_want_win32=1
10009 fi
10010 ;;
10011 *-*-mingw*)
10012 wants_win32=1
10013 ;;
10014 esac
10015
10016 if test "$wxUSE_WINE" = "yes"; then
10017 wants_win32=1
10018 CC=winegcc
10019 CXX=wineg++
10020 RESCOMP=wrc
10021 LDFLAGS_GUI="-mwindows"
10022 fi
10023
10024 if test "$wants_win32" = 1 ; then
10025 USE_UNIX=0
10026 USE_WIN32=1
10027 cat >>confdefs.h <<\_ACEOF
10028 #define __WIN32__ 1
10029 _ACEOF
10030
10031 cat >>confdefs.h <<\_ACEOF
10032 #define __WIN95__ 1
10033 _ACEOF
10034
10035 cat >>confdefs.h <<\_ACEOF
10036 #define __WINDOWS__ 1
10037 _ACEOF
10038
10039 cat >>confdefs.h <<\_ACEOF
10040 #define __GNUWIN32__ 1
10041 _ACEOF
10042
10043 cat >>confdefs.h <<\_ACEOF
10044 #define STRICT 1
10045 _ACEOF
10046
10047 cat >>confdefs.h <<\_ACEOF
10048 #define WINVER 0x0400
10049 _ACEOF
10050
10051 fi
10052 if test "$doesnt_want_win32" = 1 ; then
10053 USE_UNIX=1
10054 USE_WIN32=0
10055 fi
10056
10057 if test "$USE_UNIX" = 1 ; then
10058 wxUSE_UNIX=yes
10059 cat >>confdefs.h <<\_ACEOF
10060 #define __UNIX__ 1
10061 _ACEOF
10062
10063 fi
10064
10065
10066 cat >confcache <<\_ACEOF
10067 # This file is a shell script that caches the results of configure
10068 # tests run on this system so they can be shared between configure
10069 # scripts and configure runs, see configure's option --config-cache.
10070 # It is not useful on other systems. If it contains results you don't
10071 # want to keep, you may remove or edit it.
10072 #
10073 # config.status only pays attention to the cache file if you give it
10074 # the --recheck option to rerun configure.
10075 #
10076 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10077 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10078 # following values.
10079
10080 _ACEOF
10081
10082 # The following way of writing the cache mishandles newlines in values,
10083 # but we know of no workaround that is simple, portable, and efficient.
10084 # So, don't put newlines in cache variables' values.
10085 # Ultrix sh set writes to stderr and can't be redirected directly,
10086 # and sets the high bit in the cache file unless we assign to the vars.
10087 {
10088 (set) 2>&1 |
10089 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10090 *ac_space=\ *)
10091 # `set' does not quote correctly, so add quotes (double-quote
10092 # substitution turns \\\\ into \\, and sed turns \\ into \).
10093 sed -n \
10094 "s/'/'\\\\''/g;
10095 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10096 ;;
10097 *)
10098 # `set' quotes correctly as required by POSIX, so do not add quotes.
10099 sed -n \
10100 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10101 ;;
10102 esac;
10103 } |
10104 sed '
10105 t clear
10106 : clear
10107 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10108 t end
10109 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10110 : end' >>confcache
10111 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10112 if test -w $cache_file; then
10113 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10114 cat confcache >$cache_file
10115 else
10116 echo "not updating unwritable cache $cache_file"
10117 fi
10118 fi
10119 rm -f confcache
10120
10121 if test "$build" != "$host" ; then
10122 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10123 CC=$host_alias-gcc
10124 CXX=$host_alias-c++
10125 AR=$host_alias-ar
10126 RANLIB=$host_alias-ranlib
10127 DLLTOOL=$host_alias-dlltool
10128 RESCOMP=$host_alias-windres
10129 LD=$host_alias-ld
10130 NM=$host_alias-nm
10131 STRIP=$host_alias-strip
10132 else
10133 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10134 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10135 { (exit 1); exit 1; }; }
10136 fi
10137 fi
10138
10139 CFLAGS=${CFLAGS:=}
10140 ac_ext=c
10141 ac_cpp='$CPP $CPPFLAGS'
10142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10145 if test -n "$ac_tool_prefix"; then
10146 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10147 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10148 echo "$as_me:$LINENO: checking for $ac_word" >&5
10149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10150 if test "${ac_cv_prog_CC+set}" = set; then
10151 echo $ECHO_N "(cached) $ECHO_C" >&6
10152 else
10153 if test -n "$CC"; then
10154 ac_cv_prog_CC="$CC" # Let the user override the test.
10155 else
10156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10157 for as_dir in $PATH
10158 do
10159 IFS=$as_save_IFS
10160 test -z "$as_dir" && as_dir=.
10161 for ac_exec_ext in '' $ac_executable_extensions; do
10162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10163 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10165 break 2
10166 fi
10167 done
10168 done
10169
10170 fi
10171 fi
10172 CC=$ac_cv_prog_CC
10173 if test -n "$CC"; then
10174 echo "$as_me:$LINENO: result: $CC" >&5
10175 echo "${ECHO_T}$CC" >&6
10176 else
10177 echo "$as_me:$LINENO: result: no" >&5
10178 echo "${ECHO_T}no" >&6
10179 fi
10180
10181 fi
10182 if test -z "$ac_cv_prog_CC"; then
10183 ac_ct_CC=$CC
10184 # Extract the first word of "gcc", so it can be a program name with args.
10185 set dummy gcc; ac_word=$2
10186 echo "$as_me:$LINENO: checking for $ac_word" >&5
10187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10188 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10189 echo $ECHO_N "(cached) $ECHO_C" >&6
10190 else
10191 if test -n "$ac_ct_CC"; then
10192 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10193 else
10194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10195 for as_dir in $PATH
10196 do
10197 IFS=$as_save_IFS
10198 test -z "$as_dir" && as_dir=.
10199 for ac_exec_ext in '' $ac_executable_extensions; do
10200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10201 ac_cv_prog_ac_ct_CC="gcc"
10202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10203 break 2
10204 fi
10205 done
10206 done
10207
10208 fi
10209 fi
10210 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10211 if test -n "$ac_ct_CC"; then
10212 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10213 echo "${ECHO_T}$ac_ct_CC" >&6
10214 else
10215 echo "$as_me:$LINENO: result: no" >&5
10216 echo "${ECHO_T}no" >&6
10217 fi
10218
10219 CC=$ac_ct_CC
10220 else
10221 CC="$ac_cv_prog_CC"
10222 fi
10223
10224 if test -z "$CC"; then
10225 if test -n "$ac_tool_prefix"; then
10226 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10227 set dummy ${ac_tool_prefix}cc; ac_word=$2
10228 echo "$as_me:$LINENO: checking for $ac_word" >&5
10229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10230 if test "${ac_cv_prog_CC+set}" = set; then
10231 echo $ECHO_N "(cached) $ECHO_C" >&6
10232 else
10233 if test -n "$CC"; then
10234 ac_cv_prog_CC="$CC" # Let the user override the test.
10235 else
10236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10237 for as_dir in $PATH
10238 do
10239 IFS=$as_save_IFS
10240 test -z "$as_dir" && as_dir=.
10241 for ac_exec_ext in '' $ac_executable_extensions; do
10242 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10243 ac_cv_prog_CC="${ac_tool_prefix}cc"
10244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10245 break 2
10246 fi
10247 done
10248 done
10249
10250 fi
10251 fi
10252 CC=$ac_cv_prog_CC
10253 if test -n "$CC"; then
10254 echo "$as_me:$LINENO: result: $CC" >&5
10255 echo "${ECHO_T}$CC" >&6
10256 else
10257 echo "$as_me:$LINENO: result: no" >&5
10258 echo "${ECHO_T}no" >&6
10259 fi
10260
10261 fi
10262 if test -z "$ac_cv_prog_CC"; then
10263 ac_ct_CC=$CC
10264 # Extract the first word of "cc", so it can be a program name with args.
10265 set dummy cc; ac_word=$2
10266 echo "$as_me:$LINENO: checking for $ac_word" >&5
10267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10268 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10269 echo $ECHO_N "(cached) $ECHO_C" >&6
10270 else
10271 if test -n "$ac_ct_CC"; then
10272 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10273 else
10274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10275 for as_dir in $PATH
10276 do
10277 IFS=$as_save_IFS
10278 test -z "$as_dir" && as_dir=.
10279 for ac_exec_ext in '' $ac_executable_extensions; do
10280 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10281 ac_cv_prog_ac_ct_CC="cc"
10282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10283 break 2
10284 fi
10285 done
10286 done
10287
10288 fi
10289 fi
10290 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10291 if test -n "$ac_ct_CC"; then
10292 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10293 echo "${ECHO_T}$ac_ct_CC" >&6
10294 else
10295 echo "$as_me:$LINENO: result: no" >&5
10296 echo "${ECHO_T}no" >&6
10297 fi
10298
10299 CC=$ac_ct_CC
10300 else
10301 CC="$ac_cv_prog_CC"
10302 fi
10303
10304 fi
10305 if test -z "$CC"; then
10306 # Extract the first word of "cc", so it can be a program name with args.
10307 set dummy cc; ac_word=$2
10308 echo "$as_me:$LINENO: checking for $ac_word" >&5
10309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10310 if test "${ac_cv_prog_CC+set}" = set; then
10311 echo $ECHO_N "(cached) $ECHO_C" >&6
10312 else
10313 if test -n "$CC"; then
10314 ac_cv_prog_CC="$CC" # Let the user override the test.
10315 else
10316 ac_prog_rejected=no
10317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10318 for as_dir in $PATH
10319 do
10320 IFS=$as_save_IFS
10321 test -z "$as_dir" && as_dir=.
10322 for ac_exec_ext in '' $ac_executable_extensions; do
10323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10324 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10325 ac_prog_rejected=yes
10326 continue
10327 fi
10328 ac_cv_prog_CC="cc"
10329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10330 break 2
10331 fi
10332 done
10333 done
10334
10335 if test $ac_prog_rejected = yes; then
10336 # We found a bogon in the path, so make sure we never use it.
10337 set dummy $ac_cv_prog_CC
10338 shift
10339 if test $# != 0; then
10340 # We chose a different compiler from the bogus one.
10341 # However, it has the same basename, so the bogon will be chosen
10342 # first if we set CC to just the basename; use the full file name.
10343 shift
10344 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10345 fi
10346 fi
10347 fi
10348 fi
10349 CC=$ac_cv_prog_CC
10350 if test -n "$CC"; then
10351 echo "$as_me:$LINENO: result: $CC" >&5
10352 echo "${ECHO_T}$CC" >&6
10353 else
10354 echo "$as_me:$LINENO: result: no" >&5
10355 echo "${ECHO_T}no" >&6
10356 fi
10357
10358 fi
10359 if test -z "$CC"; then
10360 if test -n "$ac_tool_prefix"; then
10361 for ac_prog in cl
10362 do
10363 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10364 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10365 echo "$as_me:$LINENO: checking for $ac_word" >&5
10366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10367 if test "${ac_cv_prog_CC+set}" = set; then
10368 echo $ECHO_N "(cached) $ECHO_C" >&6
10369 else
10370 if test -n "$CC"; then
10371 ac_cv_prog_CC="$CC" # Let the user override the test.
10372 else
10373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10374 for as_dir in $PATH
10375 do
10376 IFS=$as_save_IFS
10377 test -z "$as_dir" && as_dir=.
10378 for ac_exec_ext in '' $ac_executable_extensions; do
10379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10380 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10382 break 2
10383 fi
10384 done
10385 done
10386
10387 fi
10388 fi
10389 CC=$ac_cv_prog_CC
10390 if test -n "$CC"; then
10391 echo "$as_me:$LINENO: result: $CC" >&5
10392 echo "${ECHO_T}$CC" >&6
10393 else
10394 echo "$as_me:$LINENO: result: no" >&5
10395 echo "${ECHO_T}no" >&6
10396 fi
10397
10398 test -n "$CC" && break
10399 done
10400 fi
10401 if test -z "$CC"; then
10402 ac_ct_CC=$CC
10403 for ac_prog in cl
10404 do
10405 # Extract the first word of "$ac_prog", so it can be a program name with args.
10406 set dummy $ac_prog; ac_word=$2
10407 echo "$as_me:$LINENO: checking for $ac_word" >&5
10408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10409 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10410 echo $ECHO_N "(cached) $ECHO_C" >&6
10411 else
10412 if test -n "$ac_ct_CC"; then
10413 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10414 else
10415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10416 for as_dir in $PATH
10417 do
10418 IFS=$as_save_IFS
10419 test -z "$as_dir" && as_dir=.
10420 for ac_exec_ext in '' $ac_executable_extensions; do
10421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10422 ac_cv_prog_ac_ct_CC="$ac_prog"
10423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10424 break 2
10425 fi
10426 done
10427 done
10428
10429 fi
10430 fi
10431 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10432 if test -n "$ac_ct_CC"; then
10433 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10434 echo "${ECHO_T}$ac_ct_CC" >&6
10435 else
10436 echo "$as_me:$LINENO: result: no" >&5
10437 echo "${ECHO_T}no" >&6
10438 fi
10439
10440 test -n "$ac_ct_CC" && break
10441 done
10442
10443 CC=$ac_ct_CC
10444 fi
10445
10446 fi
10447
10448
10449 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10450 See \`config.log' for more details." >&5
10451 echo "$as_me: error: no acceptable C compiler found in \$PATH
10452 See \`config.log' for more details." >&2;}
10453 { (exit 1); exit 1; }; }
10454
10455 # Provide some information about the compiler.
10456 echo "$as_me:$LINENO:" \
10457 "checking for C compiler version" >&5
10458 ac_compiler=`set X $ac_compile; echo $2`
10459 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10460 (eval $ac_compiler --version </dev/null >&5) 2>&5
10461 ac_status=$?
10462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10463 (exit $ac_status); }
10464 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10465 (eval $ac_compiler -v </dev/null >&5) 2>&5
10466 ac_status=$?
10467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10468 (exit $ac_status); }
10469 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10470 (eval $ac_compiler -V </dev/null >&5) 2>&5
10471 ac_status=$?
10472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10473 (exit $ac_status); }
10474
10475 cat >conftest.$ac_ext <<_ACEOF
10476 /* confdefs.h. */
10477 _ACEOF
10478 cat confdefs.h >>conftest.$ac_ext
10479 cat >>conftest.$ac_ext <<_ACEOF
10480 /* end confdefs.h. */
10481
10482 int
10483 main ()
10484 {
10485
10486 ;
10487 return 0;
10488 }
10489 _ACEOF
10490 ac_clean_files_save=$ac_clean_files
10491 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10492 # Try to create an executable without -o first, disregard a.out.
10493 # It will help us diagnose broken compilers, and finding out an intuition
10494 # of exeext.
10495 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10496 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10497 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10498 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10499 (eval $ac_link_default) 2>&5
10500 ac_status=$?
10501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10502 (exit $ac_status); }; then
10503 # Find the output, starting from the most likely. This scheme is
10504 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10505 # resort.
10506
10507 # Be careful to initialize this variable, since it used to be cached.
10508 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10509 ac_cv_exeext=
10510 # b.out is created by i960 compilers.
10511 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10512 do
10513 test -f "$ac_file" || continue
10514 case $ac_file in
10515 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10516 ;;
10517 conftest.$ac_ext )
10518 # This is the source file.
10519 ;;
10520 [ab].out )
10521 # We found the default executable, but exeext='' is most
10522 # certainly right.
10523 break;;
10524 *.* )
10525 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10526 # FIXME: I believe we export ac_cv_exeext for Libtool,
10527 # but it would be cool to find out if it's true. Does anybody
10528 # maintain Libtool? --akim.
10529 export ac_cv_exeext
10530 break;;
10531 * )
10532 break;;
10533 esac
10534 done
10535 else
10536 echo "$as_me: failed program was:" >&5
10537 sed 's/^/| /' conftest.$ac_ext >&5
10538
10539 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10540 See \`config.log' for more details." >&5
10541 echo "$as_me: error: C compiler cannot create executables
10542 See \`config.log' for more details." >&2;}
10543 { (exit 77); exit 77; }; }
10544 fi
10545
10546 ac_exeext=$ac_cv_exeext
10547 echo "$as_me:$LINENO: result: $ac_file" >&5
10548 echo "${ECHO_T}$ac_file" >&6
10549
10550 # Check the compiler produces executables we can run. If not, either
10551 # the compiler is broken, or we cross compile.
10552 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10553 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10554 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10555 # If not cross compiling, check that we can run a simple program.
10556 if test "$cross_compiling" != yes; then
10557 if { ac_try='./$ac_file'
10558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10559 (eval $ac_try) 2>&5
10560 ac_status=$?
10561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10562 (exit $ac_status); }; }; then
10563 cross_compiling=no
10564 else
10565 if test "$cross_compiling" = maybe; then
10566 cross_compiling=yes
10567 else
10568 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10569 If you meant to cross compile, use \`--host'.
10570 See \`config.log' for more details." >&5
10571 echo "$as_me: error: cannot run C compiled programs.
10572 If you meant to cross compile, use \`--host'.
10573 See \`config.log' for more details." >&2;}
10574 { (exit 1); exit 1; }; }
10575 fi
10576 fi
10577 fi
10578 echo "$as_me:$LINENO: result: yes" >&5
10579 echo "${ECHO_T}yes" >&6
10580
10581 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10582 ac_clean_files=$ac_clean_files_save
10583 # Check the compiler produces executables we can run. If not, either
10584 # the compiler is broken, or we cross compile.
10585 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10586 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10587 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10588 echo "${ECHO_T}$cross_compiling" >&6
10589
10590 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10591 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10593 (eval $ac_link) 2>&5
10594 ac_status=$?
10595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10596 (exit $ac_status); }; then
10597 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10598 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10599 # work properly (i.e., refer to `conftest.exe'), while it won't with
10600 # `rm'.
10601 for ac_file in conftest.exe conftest conftest.*; do
10602 test -f "$ac_file" || continue
10603 case $ac_file in
10604 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10605 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10606 export ac_cv_exeext
10607 break;;
10608 * ) break;;
10609 esac
10610 done
10611 else
10612 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10613 See \`config.log' for more details." >&5
10614 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10615 See \`config.log' for more details." >&2;}
10616 { (exit 1); exit 1; }; }
10617 fi
10618
10619 rm -f conftest$ac_cv_exeext
10620 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10621 echo "${ECHO_T}$ac_cv_exeext" >&6
10622
10623 rm -f conftest.$ac_ext
10624 EXEEXT=$ac_cv_exeext
10625 ac_exeext=$EXEEXT
10626 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10627 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10628 if test "${ac_cv_objext+set}" = set; then
10629 echo $ECHO_N "(cached) $ECHO_C" >&6
10630 else
10631 cat >conftest.$ac_ext <<_ACEOF
10632 /* confdefs.h. */
10633 _ACEOF
10634 cat confdefs.h >>conftest.$ac_ext
10635 cat >>conftest.$ac_ext <<_ACEOF
10636 /* end confdefs.h. */
10637
10638 int
10639 main ()
10640 {
10641
10642 ;
10643 return 0;
10644 }
10645 _ACEOF
10646 rm -f conftest.o conftest.obj
10647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10648 (eval $ac_compile) 2>&5
10649 ac_status=$?
10650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10651 (exit $ac_status); }; then
10652 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10653 case $ac_file in
10654 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10655 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10656 break;;
10657 esac
10658 done
10659 else
10660 echo "$as_me: failed program was:" >&5
10661 sed 's/^/| /' conftest.$ac_ext >&5
10662
10663 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10664 See \`config.log' for more details." >&5
10665 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10666 See \`config.log' for more details." >&2;}
10667 { (exit 1); exit 1; }; }
10668 fi
10669
10670 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10671 fi
10672 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10673 echo "${ECHO_T}$ac_cv_objext" >&6
10674 OBJEXT=$ac_cv_objext
10675 ac_objext=$OBJEXT
10676 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10677 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10678 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10679 echo $ECHO_N "(cached) $ECHO_C" >&6
10680 else
10681 cat >conftest.$ac_ext <<_ACEOF
10682 /* confdefs.h. */
10683 _ACEOF
10684 cat confdefs.h >>conftest.$ac_ext
10685 cat >>conftest.$ac_ext <<_ACEOF
10686 /* end confdefs.h. */
10687
10688 int
10689 main ()
10690 {
10691 #ifndef __GNUC__
10692 choke me
10693 #endif
10694
10695 ;
10696 return 0;
10697 }
10698 _ACEOF
10699 rm -f conftest.$ac_objext
10700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10701 (eval $ac_compile) 2>conftest.er1
10702 ac_status=$?
10703 grep -v '^ *+' conftest.er1 >conftest.err
10704 rm -f conftest.er1
10705 cat conftest.err >&5
10706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10707 (exit $ac_status); } &&
10708 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10710 (eval $ac_try) 2>&5
10711 ac_status=$?
10712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10713 (exit $ac_status); }; } &&
10714 { ac_try='test -s conftest.$ac_objext'
10715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10716 (eval $ac_try) 2>&5
10717 ac_status=$?
10718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10719 (exit $ac_status); }; }; then
10720 ac_compiler_gnu=yes
10721 else
10722 echo "$as_me: failed program was:" >&5
10723 sed 's/^/| /' conftest.$ac_ext >&5
10724
10725 ac_compiler_gnu=no
10726 fi
10727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10728 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10729
10730 fi
10731 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10732 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10733 GCC=`test $ac_compiler_gnu = yes && echo yes`
10734 ac_test_CFLAGS=${CFLAGS+set}
10735 ac_save_CFLAGS=$CFLAGS
10736 CFLAGS="-g"
10737 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10738 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10739 if test "${ac_cv_prog_cc_g+set}" = set; then
10740 echo $ECHO_N "(cached) $ECHO_C" >&6
10741 else
10742 cat >conftest.$ac_ext <<_ACEOF
10743 /* confdefs.h. */
10744 _ACEOF
10745 cat confdefs.h >>conftest.$ac_ext
10746 cat >>conftest.$ac_ext <<_ACEOF
10747 /* end confdefs.h. */
10748
10749 int
10750 main ()
10751 {
10752
10753 ;
10754 return 0;
10755 }
10756 _ACEOF
10757 rm -f conftest.$ac_objext
10758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10759 (eval $ac_compile) 2>conftest.er1
10760 ac_status=$?
10761 grep -v '^ *+' conftest.er1 >conftest.err
10762 rm -f conftest.er1
10763 cat conftest.err >&5
10764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10765 (exit $ac_status); } &&
10766 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10768 (eval $ac_try) 2>&5
10769 ac_status=$?
10770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10771 (exit $ac_status); }; } &&
10772 { ac_try='test -s conftest.$ac_objext'
10773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10774 (eval $ac_try) 2>&5
10775 ac_status=$?
10776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10777 (exit $ac_status); }; }; then
10778 ac_cv_prog_cc_g=yes
10779 else
10780 echo "$as_me: failed program was:" >&5
10781 sed 's/^/| /' conftest.$ac_ext >&5
10782
10783 ac_cv_prog_cc_g=no
10784 fi
10785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10786 fi
10787 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10788 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10789 if test "$ac_test_CFLAGS" = set; then
10790 CFLAGS=$ac_save_CFLAGS
10791 elif test $ac_cv_prog_cc_g = yes; then
10792 if test "$GCC" = yes; then
10793 CFLAGS="-g -O2"
10794 else
10795 CFLAGS="-g"
10796 fi
10797 else
10798 if test "$GCC" = yes; then
10799 CFLAGS="-O2"
10800 else
10801 CFLAGS=
10802 fi
10803 fi
10804 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10805 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10806 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10807 echo $ECHO_N "(cached) $ECHO_C" >&6
10808 else
10809 ac_cv_prog_cc_stdc=no
10810 ac_save_CC=$CC
10811 cat >conftest.$ac_ext <<_ACEOF
10812 /* confdefs.h. */
10813 _ACEOF
10814 cat confdefs.h >>conftest.$ac_ext
10815 cat >>conftest.$ac_ext <<_ACEOF
10816 /* end confdefs.h. */
10817 #include <stdarg.h>
10818 #include <stdio.h>
10819 #include <sys/types.h>
10820 #include <sys/stat.h>
10821 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10822 struct buf { int x; };
10823 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10824 static char *e (p, i)
10825 char **p;
10826 int i;
10827 {
10828 return p[i];
10829 }
10830 static char *f (char * (*g) (char **, int), char **p, ...)
10831 {
10832 char *s;
10833 va_list v;
10834 va_start (v,p);
10835 s = g (p, va_arg (v,int));
10836 va_end (v);
10837 return s;
10838 }
10839
10840 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10841 function prototypes and stuff, but not '\xHH' hex character constants.
10842 These don't provoke an error unfortunately, instead are silently treated
10843 as 'x'. The following induces an error, until -std1 is added to get
10844 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10845 array size at least. It's necessary to write '\x00'==0 to get something
10846 that's true only with -std1. */
10847 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10848
10849 int test (int i, double x);
10850 struct s1 {int (*f) (int a);};
10851 struct s2 {int (*f) (double a);};
10852 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10853 int argc;
10854 char **argv;
10855 int
10856 main ()
10857 {
10858 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10859 ;
10860 return 0;
10861 }
10862 _ACEOF
10863 # Don't try gcc -ansi; that turns off useful extensions and
10864 # breaks some systems' header files.
10865 # AIX -qlanglvl=ansi
10866 # Ultrix and OSF/1 -std1
10867 # HP-UX 10.20 and later -Ae
10868 # HP-UX older versions -Aa -D_HPUX_SOURCE
10869 # SVR4 -Xc -D__EXTENSIONS__
10870 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10871 do
10872 CC="$ac_save_CC $ac_arg"
10873 rm -f conftest.$ac_objext
10874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10875 (eval $ac_compile) 2>conftest.er1
10876 ac_status=$?
10877 grep -v '^ *+' conftest.er1 >conftest.err
10878 rm -f conftest.er1
10879 cat conftest.err >&5
10880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10881 (exit $ac_status); } &&
10882 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10884 (eval $ac_try) 2>&5
10885 ac_status=$?
10886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10887 (exit $ac_status); }; } &&
10888 { ac_try='test -s conftest.$ac_objext'
10889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10890 (eval $ac_try) 2>&5
10891 ac_status=$?
10892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10893 (exit $ac_status); }; }; then
10894 ac_cv_prog_cc_stdc=$ac_arg
10895 break
10896 else
10897 echo "$as_me: failed program was:" >&5
10898 sed 's/^/| /' conftest.$ac_ext >&5
10899
10900 fi
10901 rm -f conftest.err conftest.$ac_objext
10902 done
10903 rm -f conftest.$ac_ext conftest.$ac_objext
10904 CC=$ac_save_CC
10905
10906 fi
10907
10908 case "x$ac_cv_prog_cc_stdc" in
10909 x|xno)
10910 echo "$as_me:$LINENO: result: none needed" >&5
10911 echo "${ECHO_T}none needed" >&6 ;;
10912 *)
10913 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10914 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10915 CC="$CC $ac_cv_prog_cc_stdc" ;;
10916 esac
10917
10918 # Some people use a C++ compiler to compile C. Since we use `exit',
10919 # in C++ we need to declare it. In case someone uses the same compiler
10920 # for both compiling C and C++ we need to have the C++ compiler decide
10921 # the declaration of exit, since it's the most demanding environment.
10922 cat >conftest.$ac_ext <<_ACEOF
10923 #ifndef __cplusplus
10924 choke me
10925 #endif
10926 _ACEOF
10927 rm -f conftest.$ac_objext
10928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10929 (eval $ac_compile) 2>conftest.er1
10930 ac_status=$?
10931 grep -v '^ *+' conftest.er1 >conftest.err
10932 rm -f conftest.er1
10933 cat conftest.err >&5
10934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10935 (exit $ac_status); } &&
10936 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10938 (eval $ac_try) 2>&5
10939 ac_status=$?
10940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10941 (exit $ac_status); }; } &&
10942 { ac_try='test -s conftest.$ac_objext'
10943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10944 (eval $ac_try) 2>&5
10945 ac_status=$?
10946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10947 (exit $ac_status); }; }; then
10948 for ac_declaration in \
10949 '' \
10950 'extern "C" void std::exit (int) throw (); using std::exit;' \
10951 'extern "C" void std::exit (int); using std::exit;' \
10952 'extern "C" void exit (int) throw ();' \
10953 'extern "C" void exit (int);' \
10954 'void exit (int);'
10955 do
10956 cat >conftest.$ac_ext <<_ACEOF
10957 /* confdefs.h. */
10958 _ACEOF
10959 cat confdefs.h >>conftest.$ac_ext
10960 cat >>conftest.$ac_ext <<_ACEOF
10961 /* end confdefs.h. */
10962 $ac_declaration
10963 #include <stdlib.h>
10964 int
10965 main ()
10966 {
10967 exit (42);
10968 ;
10969 return 0;
10970 }
10971 _ACEOF
10972 rm -f conftest.$ac_objext
10973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10974 (eval $ac_compile) 2>conftest.er1
10975 ac_status=$?
10976 grep -v '^ *+' conftest.er1 >conftest.err
10977 rm -f conftest.er1
10978 cat conftest.err >&5
10979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10980 (exit $ac_status); } &&
10981 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10983 (eval $ac_try) 2>&5
10984 ac_status=$?
10985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10986 (exit $ac_status); }; } &&
10987 { ac_try='test -s conftest.$ac_objext'
10988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10989 (eval $ac_try) 2>&5
10990 ac_status=$?
10991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10992 (exit $ac_status); }; }; then
10993 :
10994 else
10995 echo "$as_me: failed program was:" >&5
10996 sed 's/^/| /' conftest.$ac_ext >&5
10997
10998 continue
10999 fi
11000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11001 cat >conftest.$ac_ext <<_ACEOF
11002 /* confdefs.h. */
11003 _ACEOF
11004 cat confdefs.h >>conftest.$ac_ext
11005 cat >>conftest.$ac_ext <<_ACEOF
11006 /* end confdefs.h. */
11007 $ac_declaration
11008 int
11009 main ()
11010 {
11011 exit (42);
11012 ;
11013 return 0;
11014 }
11015 _ACEOF
11016 rm -f conftest.$ac_objext
11017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11018 (eval $ac_compile) 2>conftest.er1
11019 ac_status=$?
11020 grep -v '^ *+' conftest.er1 >conftest.err
11021 rm -f conftest.er1
11022 cat conftest.err >&5
11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); } &&
11025 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11027 (eval $ac_try) 2>&5
11028 ac_status=$?
11029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11030 (exit $ac_status); }; } &&
11031 { ac_try='test -s conftest.$ac_objext'
11032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11033 (eval $ac_try) 2>&5
11034 ac_status=$?
11035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11036 (exit $ac_status); }; }; then
11037 break
11038 else
11039 echo "$as_me: failed program was:" >&5
11040 sed 's/^/| /' conftest.$ac_ext >&5
11041
11042 fi
11043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11044 done
11045 rm -f conftest*
11046 if test -n "$ac_declaration"; then
11047 echo '#ifdef __cplusplus' >>confdefs.h
11048 echo $ac_declaration >>confdefs.h
11049 echo '#endif' >>confdefs.h
11050 fi
11051
11052 else
11053 echo "$as_me: failed program was:" >&5
11054 sed 's/^/| /' conftest.$ac_ext >&5
11055
11056 fi
11057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11058 ac_ext=c
11059 ac_cpp='$CPP $CPPFLAGS'
11060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11063
11064
11065
11066 ac_ext=c
11067 ac_cpp='$CPP $CPPFLAGS'
11068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11071 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11072 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11073 # On Suns, sometimes $CPP names a directory.
11074 if test -n "$CPP" && test -d "$CPP"; then
11075 CPP=
11076 fi
11077 if test -z "$CPP"; then
11078 if test "${ac_cv_prog_CPP+set}" = set; then
11079 echo $ECHO_N "(cached) $ECHO_C" >&6
11080 else
11081 # Double quotes because CPP needs to be expanded
11082 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11083 do
11084 ac_preproc_ok=false
11085 for ac_c_preproc_warn_flag in '' yes
11086 do
11087 # Use a header file that comes with gcc, so configuring glibc
11088 # with a fresh cross-compiler works.
11089 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11090 # <limits.h> exists even on freestanding compilers.
11091 # On the NeXT, cc -E runs the code through the compiler's parser,
11092 # not just through cpp. "Syntax error" is here to catch this case.
11093 cat >conftest.$ac_ext <<_ACEOF
11094 /* confdefs.h. */
11095 _ACEOF
11096 cat confdefs.h >>conftest.$ac_ext
11097 cat >>conftest.$ac_ext <<_ACEOF
11098 /* end confdefs.h. */
11099 #ifdef __STDC__
11100 # include <limits.h>
11101 #else
11102 # include <assert.h>
11103 #endif
11104 Syntax error
11105 _ACEOF
11106 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11107 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11108 ac_status=$?
11109 grep -v '^ *+' conftest.er1 >conftest.err
11110 rm -f conftest.er1
11111 cat conftest.err >&5
11112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11113 (exit $ac_status); } >/dev/null; then
11114 if test -s conftest.err; then
11115 ac_cpp_err=$ac_c_preproc_warn_flag
11116 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11117 else
11118 ac_cpp_err=
11119 fi
11120 else
11121 ac_cpp_err=yes
11122 fi
11123 if test -z "$ac_cpp_err"; then
11124 :
11125 else
11126 echo "$as_me: failed program was:" >&5
11127 sed 's/^/| /' conftest.$ac_ext >&5
11128
11129 # Broken: fails on valid input.
11130 continue
11131 fi
11132 rm -f conftest.err conftest.$ac_ext
11133
11134 # OK, works on sane cases. Now check whether non-existent headers
11135 # can be detected and how.
11136 cat >conftest.$ac_ext <<_ACEOF
11137 /* confdefs.h. */
11138 _ACEOF
11139 cat confdefs.h >>conftest.$ac_ext
11140 cat >>conftest.$ac_ext <<_ACEOF
11141 /* end confdefs.h. */
11142 #include <ac_nonexistent.h>
11143 _ACEOF
11144 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11145 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11146 ac_status=$?
11147 grep -v '^ *+' conftest.er1 >conftest.err
11148 rm -f conftest.er1
11149 cat conftest.err >&5
11150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11151 (exit $ac_status); } >/dev/null; then
11152 if test -s conftest.err; then
11153 ac_cpp_err=$ac_c_preproc_warn_flag
11154 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11155 else
11156 ac_cpp_err=
11157 fi
11158 else
11159 ac_cpp_err=yes
11160 fi
11161 if test -z "$ac_cpp_err"; then
11162 # Broken: success on invalid input.
11163 continue
11164 else
11165 echo "$as_me: failed program was:" >&5
11166 sed 's/^/| /' conftest.$ac_ext >&5
11167
11168 # Passes both tests.
11169 ac_preproc_ok=:
11170 break
11171 fi
11172 rm -f conftest.err conftest.$ac_ext
11173
11174 done
11175 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11176 rm -f conftest.err conftest.$ac_ext
11177 if $ac_preproc_ok; then
11178 break
11179 fi
11180
11181 done
11182 ac_cv_prog_CPP=$CPP
11183
11184 fi
11185 CPP=$ac_cv_prog_CPP
11186 else
11187 ac_cv_prog_CPP=$CPP
11188 fi
11189 echo "$as_me:$LINENO: result: $CPP" >&5
11190 echo "${ECHO_T}$CPP" >&6
11191 ac_preproc_ok=false
11192 for ac_c_preproc_warn_flag in '' yes
11193 do
11194 # Use a header file that comes with gcc, so configuring glibc
11195 # with a fresh cross-compiler works.
11196 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11197 # <limits.h> exists even on freestanding compilers.
11198 # On the NeXT, cc -E runs the code through the compiler's parser,
11199 # not just through cpp. "Syntax error" is here to catch this case.
11200 cat >conftest.$ac_ext <<_ACEOF
11201 /* confdefs.h. */
11202 _ACEOF
11203 cat confdefs.h >>conftest.$ac_ext
11204 cat >>conftest.$ac_ext <<_ACEOF
11205 /* end confdefs.h. */
11206 #ifdef __STDC__
11207 # include <limits.h>
11208 #else
11209 # include <assert.h>
11210 #endif
11211 Syntax error
11212 _ACEOF
11213 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11214 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11215 ac_status=$?
11216 grep -v '^ *+' conftest.er1 >conftest.err
11217 rm -f conftest.er1
11218 cat conftest.err >&5
11219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11220 (exit $ac_status); } >/dev/null; then
11221 if test -s conftest.err; then
11222 ac_cpp_err=$ac_c_preproc_warn_flag
11223 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11224 else
11225 ac_cpp_err=
11226 fi
11227 else
11228 ac_cpp_err=yes
11229 fi
11230 if test -z "$ac_cpp_err"; then
11231 :
11232 else
11233 echo "$as_me: failed program was:" >&5
11234 sed 's/^/| /' conftest.$ac_ext >&5
11235
11236 # Broken: fails on valid input.
11237 continue
11238 fi
11239 rm -f conftest.err conftest.$ac_ext
11240
11241 # OK, works on sane cases. Now check whether non-existent headers
11242 # can be detected and how.
11243 cat >conftest.$ac_ext <<_ACEOF
11244 /* confdefs.h. */
11245 _ACEOF
11246 cat confdefs.h >>conftest.$ac_ext
11247 cat >>conftest.$ac_ext <<_ACEOF
11248 /* end confdefs.h. */
11249 #include <ac_nonexistent.h>
11250 _ACEOF
11251 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11252 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11253 ac_status=$?
11254 grep -v '^ *+' conftest.er1 >conftest.err
11255 rm -f conftest.er1
11256 cat conftest.err >&5
11257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11258 (exit $ac_status); } >/dev/null; then
11259 if test -s conftest.err; then
11260 ac_cpp_err=$ac_c_preproc_warn_flag
11261 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11262 else
11263 ac_cpp_err=
11264 fi
11265 else
11266 ac_cpp_err=yes
11267 fi
11268 if test -z "$ac_cpp_err"; then
11269 # Broken: success on invalid input.
11270 continue
11271 else
11272 echo "$as_me: failed program was:" >&5
11273 sed 's/^/| /' conftest.$ac_ext >&5
11274
11275 # Passes both tests.
11276 ac_preproc_ok=:
11277 break
11278 fi
11279 rm -f conftest.err conftest.$ac_ext
11280
11281 done
11282 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11283 rm -f conftest.err conftest.$ac_ext
11284 if $ac_preproc_ok; then
11285 :
11286 else
11287 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11288 See \`config.log' for more details." >&5
11289 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11290 See \`config.log' for more details." >&2;}
11291 { (exit 1); exit 1; }; }
11292 fi
11293
11294 ac_ext=c
11295 ac_cpp='$CPP $CPPFLAGS'
11296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11299
11300
11301 echo "$as_me:$LINENO: checking for egrep" >&5
11302 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11303 if test "${ac_cv_prog_egrep+set}" = set; then
11304 echo $ECHO_N "(cached) $ECHO_C" >&6
11305 else
11306 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11307 then ac_cv_prog_egrep='grep -E'
11308 else ac_cv_prog_egrep='egrep'
11309 fi
11310 fi
11311 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11312 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11313 EGREP=$ac_cv_prog_egrep
11314
11315
11316 if test $ac_cv_c_compiler_gnu = yes; then
11317 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11318 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11319 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11320 echo $ECHO_N "(cached) $ECHO_C" >&6
11321 else
11322 ac_pattern="Autoconf.*'x'"
11323 cat >conftest.$ac_ext <<_ACEOF
11324 /* confdefs.h. */
11325 _ACEOF
11326 cat confdefs.h >>conftest.$ac_ext
11327 cat >>conftest.$ac_ext <<_ACEOF
11328 /* end confdefs.h. */
11329 #include <sgtty.h>
11330 Autoconf TIOCGETP
11331 _ACEOF
11332 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11333 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11334 ac_cv_prog_gcc_traditional=yes
11335 else
11336 ac_cv_prog_gcc_traditional=no
11337 fi
11338 rm -f conftest*
11339
11340
11341 if test $ac_cv_prog_gcc_traditional = no; then
11342 cat >conftest.$ac_ext <<_ACEOF
11343 /* confdefs.h. */
11344 _ACEOF
11345 cat confdefs.h >>conftest.$ac_ext
11346 cat >>conftest.$ac_ext <<_ACEOF
11347 /* end confdefs.h. */
11348 #include <termio.h>
11349 Autoconf TCGETA
11350 _ACEOF
11351 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11352 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11353 ac_cv_prog_gcc_traditional=yes
11354 fi
11355 rm -f conftest*
11356
11357 fi
11358 fi
11359 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11360 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11361 if test $ac_cv_prog_gcc_traditional = yes; then
11362 CC="$CC -traditional"
11363 fi
11364 fi
11365
11366
11367
11368
11369 ac_ext=cc
11370 ac_cpp='$CXXCPP $CPPFLAGS'
11371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11374
11375
11376 CXXFLAGS=${CXXFLAGS:=}
11377 ac_ext=cc
11378 ac_cpp='$CXXCPP $CPPFLAGS'
11379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11382 if test -n "$ac_tool_prefix"; then
11383 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11384 do
11385 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11386 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11387 echo "$as_me:$LINENO: checking for $ac_word" >&5
11388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11389 if test "${ac_cv_prog_CXX+set}" = set; then
11390 echo $ECHO_N "(cached) $ECHO_C" >&6
11391 else
11392 if test -n "$CXX"; then
11393 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11394 else
11395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11396 for as_dir in $PATH
11397 do
11398 IFS=$as_save_IFS
11399 test -z "$as_dir" && as_dir=.
11400 for ac_exec_ext in '' $ac_executable_extensions; do
11401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11402 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11404 break 2
11405 fi
11406 done
11407 done
11408
11409 fi
11410 fi
11411 CXX=$ac_cv_prog_CXX
11412 if test -n "$CXX"; then
11413 echo "$as_me:$LINENO: result: $CXX" >&5
11414 echo "${ECHO_T}$CXX" >&6
11415 else
11416 echo "$as_me:$LINENO: result: no" >&5
11417 echo "${ECHO_T}no" >&6
11418 fi
11419
11420 test -n "$CXX" && break
11421 done
11422 fi
11423 if test -z "$CXX"; then
11424 ac_ct_CXX=$CXX
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_prog", so it can be a program name with args.
11428 set dummy $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_ac_ct_CXX+set}" = set; then
11432 echo $ECHO_N "(cached) $ECHO_C" >&6
11433 else
11434 if test -n "$ac_ct_CXX"; then
11435 ac_cv_prog_ac_ct_CXX="$ac_ct_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_ac_ct_CXX="$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 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11454 if test -n "$ac_ct_CXX"; then
11455 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11456 echo "${ECHO_T}$ac_ct_CXX" >&6
11457 else
11458 echo "$as_me:$LINENO: result: no" >&5
11459 echo "${ECHO_T}no" >&6
11460 fi
11461
11462 test -n "$ac_ct_CXX" && break
11463 done
11464 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11465
11466 CXX=$ac_ct_CXX
11467 fi
11468
11469
11470 # Provide some information about the compiler.
11471 echo "$as_me:$LINENO:" \
11472 "checking for C++ compiler version" >&5
11473 ac_compiler=`set X $ac_compile; echo $2`
11474 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11475 (eval $ac_compiler --version </dev/null >&5) 2>&5
11476 ac_status=$?
11477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11478 (exit $ac_status); }
11479 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11480 (eval $ac_compiler -v </dev/null >&5) 2>&5
11481 ac_status=$?
11482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11483 (exit $ac_status); }
11484 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11485 (eval $ac_compiler -V </dev/null >&5) 2>&5
11486 ac_status=$?
11487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11488 (exit $ac_status); }
11489
11490 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11491 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11492 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11493 echo $ECHO_N "(cached) $ECHO_C" >&6
11494 else
11495 cat >conftest.$ac_ext <<_ACEOF
11496 /* confdefs.h. */
11497 _ACEOF
11498 cat confdefs.h >>conftest.$ac_ext
11499 cat >>conftest.$ac_ext <<_ACEOF
11500 /* end confdefs.h. */
11501
11502 int
11503 main ()
11504 {
11505 #ifndef __GNUC__
11506 choke me
11507 #endif
11508
11509 ;
11510 return 0;
11511 }
11512 _ACEOF
11513 rm -f conftest.$ac_objext
11514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11515 (eval $ac_compile) 2>conftest.er1
11516 ac_status=$?
11517 grep -v '^ *+' conftest.er1 >conftest.err
11518 rm -f conftest.er1
11519 cat conftest.err >&5
11520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11521 (exit $ac_status); } &&
11522 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11524 (eval $ac_try) 2>&5
11525 ac_status=$?
11526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11527 (exit $ac_status); }; } &&
11528 { ac_try='test -s conftest.$ac_objext'
11529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11530 (eval $ac_try) 2>&5
11531 ac_status=$?
11532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11533 (exit $ac_status); }; }; then
11534 ac_compiler_gnu=yes
11535 else
11536 echo "$as_me: failed program was:" >&5
11537 sed 's/^/| /' conftest.$ac_ext >&5
11538
11539 ac_compiler_gnu=no
11540 fi
11541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11542 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11543
11544 fi
11545 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11546 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11547 GXX=`test $ac_compiler_gnu = yes && echo yes`
11548 ac_test_CXXFLAGS=${CXXFLAGS+set}
11549 ac_save_CXXFLAGS=$CXXFLAGS
11550 CXXFLAGS="-g"
11551 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11552 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11553 if test "${ac_cv_prog_cxx_g+set}" = set; then
11554 echo $ECHO_N "(cached) $ECHO_C" >&6
11555 else
11556 cat >conftest.$ac_ext <<_ACEOF
11557 /* confdefs.h. */
11558 _ACEOF
11559 cat confdefs.h >>conftest.$ac_ext
11560 cat >>conftest.$ac_ext <<_ACEOF
11561 /* end confdefs.h. */
11562
11563 int
11564 main ()
11565 {
11566
11567 ;
11568 return 0;
11569 }
11570 _ACEOF
11571 rm -f conftest.$ac_objext
11572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11573 (eval $ac_compile) 2>conftest.er1
11574 ac_status=$?
11575 grep -v '^ *+' conftest.er1 >conftest.err
11576 rm -f conftest.er1
11577 cat conftest.err >&5
11578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11579 (exit $ac_status); } &&
11580 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11582 (eval $ac_try) 2>&5
11583 ac_status=$?
11584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11585 (exit $ac_status); }; } &&
11586 { ac_try='test -s conftest.$ac_objext'
11587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11588 (eval $ac_try) 2>&5
11589 ac_status=$?
11590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11591 (exit $ac_status); }; }; then
11592 ac_cv_prog_cxx_g=yes
11593 else
11594 echo "$as_me: failed program was:" >&5
11595 sed 's/^/| /' conftest.$ac_ext >&5
11596
11597 ac_cv_prog_cxx_g=no
11598 fi
11599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11600 fi
11601 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11602 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11603 if test "$ac_test_CXXFLAGS" = set; then
11604 CXXFLAGS=$ac_save_CXXFLAGS
11605 elif test $ac_cv_prog_cxx_g = yes; then
11606 if test "$GXX" = yes; then
11607 CXXFLAGS="-g -O2"
11608 else
11609 CXXFLAGS="-g"
11610 fi
11611 else
11612 if test "$GXX" = yes; then
11613 CXXFLAGS="-O2"
11614 else
11615 CXXFLAGS=
11616 fi
11617 fi
11618 for ac_declaration in \
11619 '' \
11620 'extern "C" void std::exit (int) throw (); using std::exit;' \
11621 'extern "C" void std::exit (int); using std::exit;' \
11622 'extern "C" void exit (int) throw ();' \
11623 'extern "C" void exit (int);' \
11624 'void exit (int);'
11625 do
11626 cat >conftest.$ac_ext <<_ACEOF
11627 /* confdefs.h. */
11628 _ACEOF
11629 cat confdefs.h >>conftest.$ac_ext
11630 cat >>conftest.$ac_ext <<_ACEOF
11631 /* end confdefs.h. */
11632 $ac_declaration
11633 #include <stdlib.h>
11634 int
11635 main ()
11636 {
11637 exit (42);
11638 ;
11639 return 0;
11640 }
11641 _ACEOF
11642 rm -f conftest.$ac_objext
11643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11644 (eval $ac_compile) 2>conftest.er1
11645 ac_status=$?
11646 grep -v '^ *+' conftest.er1 >conftest.err
11647 rm -f conftest.er1
11648 cat conftest.err >&5
11649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11650 (exit $ac_status); } &&
11651 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11653 (eval $ac_try) 2>&5
11654 ac_status=$?
11655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11656 (exit $ac_status); }; } &&
11657 { ac_try='test -s conftest.$ac_objext'
11658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11659 (eval $ac_try) 2>&5
11660 ac_status=$?
11661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11662 (exit $ac_status); }; }; then
11663 :
11664 else
11665 echo "$as_me: failed program was:" >&5
11666 sed 's/^/| /' conftest.$ac_ext >&5
11667
11668 continue
11669 fi
11670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11671 cat >conftest.$ac_ext <<_ACEOF
11672 /* confdefs.h. */
11673 _ACEOF
11674 cat confdefs.h >>conftest.$ac_ext
11675 cat >>conftest.$ac_ext <<_ACEOF
11676 /* end confdefs.h. */
11677 $ac_declaration
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" || test ! -s conftest.err'
11696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11697 (eval $ac_try) 2>&5
11698 ac_status=$?
11699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11700 (exit $ac_status); }; } &&
11701 { ac_try='test -s conftest.$ac_objext'
11702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11703 (eval $ac_try) 2>&5
11704 ac_status=$?
11705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11706 (exit $ac_status); }; }; then
11707 break
11708 else
11709 echo "$as_me: failed program was:" >&5
11710 sed 's/^/| /' conftest.$ac_ext >&5
11711
11712 fi
11713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11714 done
11715 rm -f conftest*
11716 if test -n "$ac_declaration"; then
11717 echo '#ifdef __cplusplus' >>confdefs.h
11718 echo $ac_declaration >>confdefs.h
11719 echo '#endif' >>confdefs.h
11720 fi
11721
11722 ac_ext=cc
11723 ac_cpp='$CXXCPP $CPPFLAGS'
11724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11727
11728
11729 ac_ext=c
11730 ac_cpp='$CPP $CPPFLAGS'
11731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11734
11735
11736 echo "$as_me:$LINENO: checking for /usr/local/include in default include path" >&5
11737 echo $ECHO_N "checking for /usr/local/include in default include path... $ECHO_C" >&6
11738 GCC_SEARCHES_USR_LOCAL_INCLUDE="no"
11739 if test "$GCC" = "yes" ; then
11740 echo | gcc -v -x c++ -E - 2>&1 | sed -n '/^#include </,$p' | \
11741 sed -n '1,/End of search list\./p' | \
11742 grep '^ */usr/local/include$' 2>&1 /dev/null \
11743 && GCC_SEARCHES_USR_LOCAL_INCLUDE="yes"
11744 fi
11745 echo "$as_me:$LINENO: result: $GCC_SEARCHES_USR_LOCAL_INCLUDE" >&5
11746 echo "${ECHO_T}$GCC_SEARCHES_USR_LOCAL_INCLUDE" >&6
11747
11748 if test -n "$ac_tool_prefix"; then
11749 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11750 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11751 echo "$as_me:$LINENO: checking for $ac_word" >&5
11752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11753 if test "${ac_cv_prog_RANLIB+set}" = set; then
11754 echo $ECHO_N "(cached) $ECHO_C" >&6
11755 else
11756 if test -n "$RANLIB"; then
11757 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11758 else
11759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11760 for as_dir in $PATH
11761 do
11762 IFS=$as_save_IFS
11763 test -z "$as_dir" && as_dir=.
11764 for ac_exec_ext in '' $ac_executable_extensions; do
11765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11766 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11768 break 2
11769 fi
11770 done
11771 done
11772
11773 fi
11774 fi
11775 RANLIB=$ac_cv_prog_RANLIB
11776 if test -n "$RANLIB"; then
11777 echo "$as_me:$LINENO: result: $RANLIB" >&5
11778 echo "${ECHO_T}$RANLIB" >&6
11779 else
11780 echo "$as_me:$LINENO: result: no" >&5
11781 echo "${ECHO_T}no" >&6
11782 fi
11783
11784 fi
11785 if test -z "$ac_cv_prog_RANLIB"; then
11786 ac_ct_RANLIB=$RANLIB
11787 # Extract the first word of "ranlib", so it can be a program name with args.
11788 set dummy ranlib; ac_word=$2
11789 echo "$as_me:$LINENO: checking for $ac_word" >&5
11790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11791 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11792 echo $ECHO_N "(cached) $ECHO_C" >&6
11793 else
11794 if test -n "$ac_ct_RANLIB"; then
11795 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11796 else
11797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11798 for as_dir in $PATH
11799 do
11800 IFS=$as_save_IFS
11801 test -z "$as_dir" && as_dir=.
11802 for ac_exec_ext in '' $ac_executable_extensions; do
11803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11804 ac_cv_prog_ac_ct_RANLIB="ranlib"
11805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11806 break 2
11807 fi
11808 done
11809 done
11810
11811 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11812 fi
11813 fi
11814 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11815 if test -n "$ac_ct_RANLIB"; then
11816 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11817 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11818 else
11819 echo "$as_me:$LINENO: result: no" >&5
11820 echo "${ECHO_T}no" >&6
11821 fi
11822
11823 RANLIB=$ac_ct_RANLIB
11824 else
11825 RANLIB="$ac_cv_prog_RANLIB"
11826 fi
11827
11828
11829 # Extract the first word of "ar", so it can be a program name with args.
11830 set dummy ar; ac_word=$2
11831 echo "$as_me:$LINENO: checking for $ac_word" >&5
11832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11833 if test "${ac_cv_prog_AR+set}" = set; then
11834 echo $ECHO_N "(cached) $ECHO_C" >&6
11835 else
11836 if test -n "$AR"; then
11837 ac_cv_prog_AR="$AR" # Let the user override the test.
11838 else
11839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11840 for as_dir in $PATH
11841 do
11842 IFS=$as_save_IFS
11843 test -z "$as_dir" && as_dir=.
11844 for ac_exec_ext in '' $ac_executable_extensions; do
11845 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11846 ac_cv_prog_AR="ar"
11847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11848 break 2
11849 fi
11850 done
11851 done
11852
11853 fi
11854 fi
11855 AR=$ac_cv_prog_AR
11856 if test -n "$AR"; then
11857 echo "$as_me:$LINENO: result: $AR" >&5
11858 echo "${ECHO_T}$AR" >&6
11859 else
11860 echo "$as_me:$LINENO: result: no" >&5
11861 echo "${ECHO_T}no" >&6
11862 fi
11863
11864 if test "x$AR" = "x" ; then
11865 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11866 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11867 { (exit 1); exit 1; }; }
11868 fi
11869
11870 # Find a good install program. We prefer a C program (faster),
11871 # so one script is as good as another. But avoid the broken or
11872 # incompatible versions:
11873 # SysV /etc/install, /usr/sbin/install
11874 # SunOS /usr/etc/install
11875 # IRIX /sbin/install
11876 # AIX /bin/install
11877 # AmigaOS /C/install, which installs bootblocks on floppy discs
11878 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11879 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11880 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11881 # OS/2's system install, which has a completely different semantic
11882 # ./install, which can be erroneously created by make from ./install.sh.
11883 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11884 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11885 if test -z "$INSTALL"; then
11886 if test "${ac_cv_path_install+set}" = set; then
11887 echo $ECHO_N "(cached) $ECHO_C" >&6
11888 else
11889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11890 for as_dir in $PATH
11891 do
11892 IFS=$as_save_IFS
11893 test -z "$as_dir" && as_dir=.
11894 # Account for people who put trailing slashes in PATH elements.
11895 case $as_dir/ in
11896 ./ | .// | /cC/* | \
11897 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11898 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
11899 /usr/ucb/* ) ;;
11900 *)
11901 # OSF1 and SCO ODT 3.0 have their own names for install.
11902 # Don't use installbsd from OSF since it installs stuff as root
11903 # by default.
11904 for ac_prog in ginstall scoinst install; do
11905 for ac_exec_ext in '' $ac_executable_extensions; do
11906 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11907 if test $ac_prog = install &&
11908 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11909 # AIX install. It has an incompatible calling convention.
11910 :
11911 elif test $ac_prog = install &&
11912 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11913 # program-specific install script used by HP pwplus--don't use.
11914 :
11915 else
11916 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11917 break 3
11918 fi
11919 fi
11920 done
11921 done
11922 ;;
11923 esac
11924 done
11925
11926
11927 fi
11928 if test "${ac_cv_path_install+set}" = set; then
11929 INSTALL=$ac_cv_path_install
11930 else
11931 # As a last resort, use the slow shell script. We don't cache a
11932 # path for INSTALL within a source directory, because that will
11933 # break other packages using the cache if that directory is
11934 # removed, or if the path is relative.
11935 INSTALL=$ac_install_sh
11936 fi
11937 fi
11938 echo "$as_me:$LINENO: result: $INSTALL" >&5
11939 echo "${ECHO_T}$INSTALL" >&6
11940
11941 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11942 # It thinks the first close brace ends the variable substitution.
11943 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11944
11945 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11946
11947 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11948
11949
11950 case ${INSTALL} in
11951 /* ) # Absolute
11952 ;;
11953 ?:* ) # Drive letter, considered as absolute.
11954 ;;
11955 *)
11956 INSTALL=`pwd`/${INSTALL} ;;
11957 esac
11958
11959 case ${host} in
11960 *-hp-hpux* )
11961 INSTALL_DIR="mkdir"
11962 ;;
11963
11964 *) INSTALL_DIR="$INSTALL -d"
11965 ;;
11966 esac
11967
11968
11969 case "${host}" in
11970
11971 powerpc-*-darwin* )
11972 INSTALL_PROGRAM="cp -fp"
11973 INSTALL_DATA="cp -fp"
11974 ;;
11975 *)
11976 ;;
11977 esac
11978
11979 # Extract the first word of "strip", so it can be a program name with args.
11980 set dummy strip; ac_word=$2
11981 echo "$as_me:$LINENO: checking for $ac_word" >&5
11982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11983 if test "${ac_cv_prog_STRIP+set}" = set; then
11984 echo $ECHO_N "(cached) $ECHO_C" >&6
11985 else
11986 if test -n "$STRIP"; then
11987 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11988 else
11989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11990 for as_dir in $PATH
11991 do
11992 IFS=$as_save_IFS
11993 test -z "$as_dir" && as_dir=.
11994 for ac_exec_ext in '' $ac_executable_extensions; do
11995 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11996 ac_cv_prog_STRIP="strip"
11997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11998 break 2
11999 fi
12000 done
12001 done
12002
12003 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
12004 fi
12005 fi
12006 STRIP=$ac_cv_prog_STRIP
12007 if test -n "$STRIP"; then
12008 echo "$as_me:$LINENO: result: $STRIP" >&5
12009 echo "${ECHO_T}$STRIP" >&6
12010 else
12011 echo "$as_me:$LINENO: result: no" >&5
12012 echo "${ECHO_T}no" >&6
12013 fi
12014
12015
12016 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12017 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12018 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12019 echo $ECHO_N "(cached) $ECHO_C" >&6
12020 else
12021
12022 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
12023 egrep -s GNU > /dev/null); then
12024 wx_cv_prog_makeisgnu="yes"
12025 else
12026 wx_cv_prog_makeisgnu="no"
12027 fi
12028
12029 fi
12030 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12031 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12032
12033 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12034 IF_GNU_MAKE=""
12035 else
12036 IF_GNU_MAKE="#"
12037 fi
12038
12039
12040
12041 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12042 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12043 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12044 if test "${wx_cv_prog_makevpath+set}" = set; then
12045 echo $ECHO_N "(cached) $ECHO_C" >&6
12046 else
12047
12048 cat - << EOF > confMake
12049 check : file
12050 cp \$? \$@
12051 cp \$? final_file
12052 EOF
12053
12054 if test ! -d sub ; then
12055 mkdir sub
12056 fi
12057 echo dummy > sub/file
12058 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
12059 RESULT=$?
12060 rm -f sub/file check final_file confMake
12061 rmdir sub
12062 if test "$RESULT" = 0; then
12063 wx_cv_prog_makevpath="yes"
12064 else
12065 wx_cv_prog_makevpath="no"
12066 fi
12067
12068 fi
12069 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12070 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12071
12072 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12073 { { echo "$as_me:$LINENO: error:
12074 You need a make-utility that is able to use the variable
12075 VPATH correctly.
12076 If your version of make does not support VPATH correctly,
12077 please install GNU-make (possibly as gmake), and start
12078 configure with the following command:
12079 export MAKE=gmake; ./configure for sh-type shells
12080 setenv MAKE gmake; ./configure for csh-type shells
12081 Also please do remember to use gmake in this case every time
12082 you are trying to compile.
12083 " >&5
12084 echo "$as_me: error:
12085 You need a make-utility that is able to use the variable
12086 VPATH correctly.
12087 If your version of make does not support VPATH correctly,
12088 please install GNU-make (possibly as gmake), and start
12089 configure with the following command:
12090 export MAKE=gmake; ./configure for sh-type shells
12091 setenv MAKE gmake; ./configure for csh-type shells
12092 Also please do remember to use gmake in this case every time
12093 you are trying to compile.
12094 " >&2;}
12095 { (exit 1); exit 1; }; }
12096 fi fi
12097 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12098 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12099 LN_S=$as_ln_s
12100 if test "$LN_S" = "ln -s"; then
12101 echo "$as_me:$LINENO: result: yes" >&5
12102 echo "${ECHO_T}yes" >&6
12103 else
12104 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12105 echo "${ECHO_T}no, using $LN_S" >&6
12106 fi
12107
12108
12109
12110 case "${host}" in
12111 *-pc-os2_emx | *-pc-os2-emx )
12112 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12113 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12114 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12115 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12116 echo $ECHO_N "(cached) $ECHO_C" >&6
12117 else
12118 ac_check_lib_save_LIBS=$LIBS
12119 LIBS="-lcExt $LIBS"
12120 cat >conftest.$ac_ext <<_ACEOF
12121 /* confdefs.h. */
12122 _ACEOF
12123 cat confdefs.h >>conftest.$ac_ext
12124 cat >>conftest.$ac_ext <<_ACEOF
12125 /* end confdefs.h. */
12126
12127 /* Override any gcc2 internal prototype to avoid an error. */
12128 #ifdef __cplusplus
12129 extern "C"
12130 #endif
12131 /* We use char because int might match the return type of a gcc2
12132 builtin and then its argument prototype would still apply. */
12133 char drand48 ();
12134 int
12135 main ()
12136 {
12137 drand48 ();
12138 ;
12139 return 0;
12140 }
12141 _ACEOF
12142 rm -f conftest.$ac_objext conftest$ac_exeext
12143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12144 (eval $ac_link) 2>conftest.er1
12145 ac_status=$?
12146 grep -v '^ *+' conftest.er1 >conftest.err
12147 rm -f conftest.er1
12148 cat conftest.err >&5
12149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12150 (exit $ac_status); } &&
12151 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12153 (eval $ac_try) 2>&5
12154 ac_status=$?
12155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12156 (exit $ac_status); }; } &&
12157 { ac_try='test -s conftest$ac_exeext'
12158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12159 (eval $ac_try) 2>&5
12160 ac_status=$?
12161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12162 (exit $ac_status); }; }; then
12163 ac_cv_lib_cExt_drand48=yes
12164 else
12165 echo "$as_me: failed program was:" >&5
12166 sed 's/^/| /' conftest.$ac_ext >&5
12167
12168 ac_cv_lib_cExt_drand48=no
12169 fi
12170 rm -f conftest.err conftest.$ac_objext \
12171 conftest$ac_exeext conftest.$ac_ext
12172 LIBS=$ac_check_lib_save_LIBS
12173 fi
12174 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12175 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12176 if test $ac_cv_lib_cExt_drand48 = yes; then
12177 LIBS="$LIBS -lcExt"
12178 fi
12179
12180 else
12181 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
12182 fi
12183 echo "$as_me:$LINENO: checking for gcc version" >&5
12184 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12185 if test "${wx_cv_gccversion+set}" = set; then
12186 echo $ECHO_N "(cached) $ECHO_C" >&6
12187 else
12188
12189 cat >conftest.$ac_ext <<_ACEOF
12190 /* confdefs.h. */
12191 _ACEOF
12192 cat confdefs.h >>conftest.$ac_ext
12193 cat >>conftest.$ac_ext <<_ACEOF
12194 /* end confdefs.h. */
12195
12196 int
12197 main ()
12198 {
12199
12200 #if (__GNUC__ < 3)
12201 #error old gcc
12202 #endif
12203
12204 ;
12205 return 0;
12206 }
12207 _ACEOF
12208 rm -f conftest.$ac_objext
12209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12210 (eval $ac_compile) 2>conftest.er1
12211 ac_status=$?
12212 grep -v '^ *+' conftest.er1 >conftest.err
12213 rm -f conftest.er1
12214 cat conftest.err >&5
12215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12216 (exit $ac_status); } &&
12217 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12219 (eval $ac_try) 2>&5
12220 ac_status=$?
12221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12222 (exit $ac_status); }; } &&
12223 { ac_try='test -s conftest.$ac_objext'
12224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12225 (eval $ac_try) 2>&5
12226 ac_status=$?
12227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 (exit $ac_status); }; }; then
12229
12230 cat >conftest.$ac_ext <<_ACEOF
12231 /* confdefs.h. */
12232 _ACEOF
12233 cat confdefs.h >>conftest.$ac_ext
12234 cat >>conftest.$ac_ext <<_ACEOF
12235 /* end confdefs.h. */
12236
12237 int
12238 main ()
12239 {
12240
12241 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12242 #error intermediate gcc
12243 #endif
12244
12245 ;
12246 return 0;
12247 }
12248 _ACEOF
12249 rm -f conftest.$ac_objext
12250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12251 (eval $ac_compile) 2>conftest.er1
12252 ac_status=$?
12253 grep -v '^ *+' conftest.er1 >conftest.err
12254 rm -f conftest.er1
12255 cat conftest.err >&5
12256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12257 (exit $ac_status); } &&
12258 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12260 (eval $ac_try) 2>&5
12261 ac_status=$?
12262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12263 (exit $ac_status); }; } &&
12264 { ac_try='test -s conftest.$ac_objext'
12265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12266 (eval $ac_try) 2>&5
12267 ac_status=$?
12268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12269 (exit $ac_status); }; }; then
12270
12271 wx_cv_gccversion=Innotek
12272
12273 else
12274 echo "$as_me: failed program was:" >&5
12275 sed 's/^/| /' conftest.$ac_ext >&5
12276
12277
12278 wx_cv_gccversion=3
12279
12280
12281 fi
12282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12283
12284 else
12285 echo "$as_me: failed program was:" >&5
12286 sed 's/^/| /' conftest.$ac_ext >&5
12287
12288
12289 wx_cv_gccversion=2
12290
12291
12292 fi
12293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12294
12295 fi
12296 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12297 echo "${ECHO_T}$wx_cv_gccversion" >&6
12298 if test "$wx_cv_gccversion" = "2"; then
12299 LIBS="$LIBS -lstdcpp"
12300 LDFLAGS="$LDFLAGS -Zsysv-signals"
12301 else
12302 if test "$wx_cv_gccversion" = "3"; then
12303 LIBS="$LIBS -lstdcxx"
12304 LDFLAGS="$LDFLAGS -Zsysv-signals"
12305 else
12306 LIBS="$LIBS -lstdc++"
12307 fi
12308 fi
12309 if test "$wxUSE_OMF" = "yes"; then
12310 LDFLAGS="$LDFLAGS -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12311 fi
12312 ;;
12313 *)
12314
12315
12316
12317 ac_ext=cc
12318 ac_cpp='$CXXCPP $CPPFLAGS'
12319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12322
12323
12324
12325 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12326 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12327 if test "${ac_cv_string_strcasecmp+set}" = set; then
12328 echo $ECHO_N "(cached) $ECHO_C" >&6
12329 else
12330
12331 cat >conftest.$ac_ext <<_ACEOF
12332 /* confdefs.h. */
12333 _ACEOF
12334 cat confdefs.h >>conftest.$ac_ext
12335 cat >>conftest.$ac_ext <<_ACEOF
12336 /* end confdefs.h. */
12337
12338 #include <string.h>
12339
12340 int
12341 main ()
12342 {
12343
12344 strcasecmp("foo", "bar");
12345
12346 ;
12347 return 0;
12348 }
12349 _ACEOF
12350 rm -f conftest.$ac_objext conftest$ac_exeext
12351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12352 (eval $ac_link) 2>conftest.er1
12353 ac_status=$?
12354 grep -v '^ *+' conftest.er1 >conftest.err
12355 rm -f conftest.er1
12356 cat conftest.err >&5
12357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12358 (exit $ac_status); } &&
12359 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12361 (eval $ac_try) 2>&5
12362 ac_status=$?
12363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12364 (exit $ac_status); }; } &&
12365 { ac_try='test -s conftest$ac_exeext'
12366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12367 (eval $ac_try) 2>&5
12368 ac_status=$?
12369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12370 (exit $ac_status); }; }; then
12371 ac_cv_string_strcasecmp=yes
12372 else
12373 echo "$as_me: failed program was:" >&5
12374 sed 's/^/| /' conftest.$ac_ext >&5
12375
12376 ac_cv_string_strcasecmp=no
12377
12378 fi
12379 rm -f conftest.err conftest.$ac_objext \
12380 conftest$ac_exeext conftest.$ac_ext
12381
12382 fi
12383 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12384 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12385
12386 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12387 cat >>confdefs.h <<\_ACEOF
12388 #define HAVE_STRCASECMP_IN_STRING_H 1
12389 _ACEOF
12390
12391 else
12392 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12393 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12394 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12395 echo $ECHO_N "(cached) $ECHO_C" >&6
12396 else
12397
12398 cat >conftest.$ac_ext <<_ACEOF
12399 /* confdefs.h. */
12400 _ACEOF
12401 cat confdefs.h >>conftest.$ac_ext
12402 cat >>conftest.$ac_ext <<_ACEOF
12403 /* end confdefs.h. */
12404
12405 #include <strings.h>
12406
12407 int
12408 main ()
12409 {
12410
12411 strcasecmp("foo", "bar");
12412
12413 ;
12414 return 0;
12415 }
12416 _ACEOF
12417 rm -f conftest.$ac_objext conftest$ac_exeext
12418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12419 (eval $ac_link) 2>conftest.er1
12420 ac_status=$?
12421 grep -v '^ *+' conftest.er1 >conftest.err
12422 rm -f conftest.er1
12423 cat conftest.err >&5
12424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12425 (exit $ac_status); } &&
12426 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12428 (eval $ac_try) 2>&5
12429 ac_status=$?
12430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12431 (exit $ac_status); }; } &&
12432 { ac_try='test -s conftest$ac_exeext'
12433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12434 (eval $ac_try) 2>&5
12435 ac_status=$?
12436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12437 (exit $ac_status); }; }; then
12438 ac_cv_strings_strcasecmp=yes
12439 else
12440 echo "$as_me: failed program was:" >&5
12441 sed 's/^/| /' conftest.$ac_ext >&5
12442
12443 ac_cv_strings_strcasecmp=no
12444
12445 fi
12446 rm -f conftest.err conftest.$ac_objext \
12447 conftest$ac_exeext conftest.$ac_ext
12448
12449 fi
12450 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12451 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12452
12453 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12454 cat >>confdefs.h <<\_ACEOF
12455 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12456 _ACEOF
12457
12458 else
12459 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12460 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12461 { (exit 1); exit 1; }; }
12462 fi
12463 fi
12464
12465 ac_ext=c
12466 ac_cpp='$CPP $CPPFLAGS'
12467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12470
12471 ;;
12472 esac
12473
12474
12475 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12476 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12477 if test "${ac_cv_header_stdc+set}" = set; then
12478 echo $ECHO_N "(cached) $ECHO_C" >&6
12479 else
12480 cat >conftest.$ac_ext <<_ACEOF
12481 /* confdefs.h. */
12482 _ACEOF
12483 cat confdefs.h >>conftest.$ac_ext
12484 cat >>conftest.$ac_ext <<_ACEOF
12485 /* end confdefs.h. */
12486 #include <stdlib.h>
12487 #include <stdarg.h>
12488 #include <string.h>
12489 #include <float.h>
12490
12491 int
12492 main ()
12493 {
12494
12495 ;
12496 return 0;
12497 }
12498 _ACEOF
12499 rm -f conftest.$ac_objext
12500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12501 (eval $ac_compile) 2>conftest.er1
12502 ac_status=$?
12503 grep -v '^ *+' conftest.er1 >conftest.err
12504 rm -f conftest.er1
12505 cat conftest.err >&5
12506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12507 (exit $ac_status); } &&
12508 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12510 (eval $ac_try) 2>&5
12511 ac_status=$?
12512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12513 (exit $ac_status); }; } &&
12514 { ac_try='test -s conftest.$ac_objext'
12515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12516 (eval $ac_try) 2>&5
12517 ac_status=$?
12518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12519 (exit $ac_status); }; }; then
12520 ac_cv_header_stdc=yes
12521 else
12522 echo "$as_me: failed program was:" >&5
12523 sed 's/^/| /' conftest.$ac_ext >&5
12524
12525 ac_cv_header_stdc=no
12526 fi
12527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12528
12529 if test $ac_cv_header_stdc = yes; then
12530 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
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 <string.h>
12538
12539 _ACEOF
12540 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12541 $EGREP "memchr" >/dev/null 2>&1; then
12542 :
12543 else
12544 ac_cv_header_stdc=no
12545 fi
12546 rm -f conftest*
12547
12548 fi
12549
12550 if test $ac_cv_header_stdc = yes; then
12551 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12552 cat >conftest.$ac_ext <<_ACEOF
12553 /* confdefs.h. */
12554 _ACEOF
12555 cat confdefs.h >>conftest.$ac_ext
12556 cat >>conftest.$ac_ext <<_ACEOF
12557 /* end confdefs.h. */
12558 #include <stdlib.h>
12559
12560 _ACEOF
12561 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12562 $EGREP "free" >/dev/null 2>&1; then
12563 :
12564 else
12565 ac_cv_header_stdc=no
12566 fi
12567 rm -f conftest*
12568
12569 fi
12570
12571 if test $ac_cv_header_stdc = yes; then
12572 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12573 if test "$cross_compiling" = yes; then
12574 :
12575 else
12576 cat >conftest.$ac_ext <<_ACEOF
12577 /* confdefs.h. */
12578 _ACEOF
12579 cat confdefs.h >>conftest.$ac_ext
12580 cat >>conftest.$ac_ext <<_ACEOF
12581 /* end confdefs.h. */
12582 #include <ctype.h>
12583 #if ((' ' & 0x0FF) == 0x020)
12584 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12585 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12586 #else
12587 # define ISLOWER(c) \
12588 (('a' <= (c) && (c) <= 'i') \
12589 || ('j' <= (c) && (c) <= 'r') \
12590 || ('s' <= (c) && (c) <= 'z'))
12591 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12592 #endif
12593
12594 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12595 int
12596 main ()
12597 {
12598 int i;
12599 for (i = 0; i < 256; i++)
12600 if (XOR (islower (i), ISLOWER (i))
12601 || toupper (i) != TOUPPER (i))
12602 exit(2);
12603 exit (0);
12604 }
12605 _ACEOF
12606 rm -f conftest$ac_exeext
12607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12608 (eval $ac_link) 2>&5
12609 ac_status=$?
12610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12611 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12613 (eval $ac_try) 2>&5
12614 ac_status=$?
12615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12616 (exit $ac_status); }; }; then
12617 :
12618 else
12619 echo "$as_me: program exited with status $ac_status" >&5
12620 echo "$as_me: failed program was:" >&5
12621 sed 's/^/| /' conftest.$ac_ext >&5
12622
12623 ( exit $ac_status )
12624 ac_cv_header_stdc=no
12625 fi
12626 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12627 fi
12628 fi
12629 fi
12630 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12631 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12632 if test $ac_cv_header_stdc = yes; then
12633
12634 cat >>confdefs.h <<\_ACEOF
12635 #define STDC_HEADERS 1
12636 _ACEOF
12637
12638 fi
12639
12640 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12651 inttypes.h stdint.h unistd.h
12652 do
12653 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12654 echo "$as_me:$LINENO: checking for $ac_header" >&5
12655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12656 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12657 echo $ECHO_N "(cached) $ECHO_C" >&6
12658 else
12659 cat >conftest.$ac_ext <<_ACEOF
12660 /* confdefs.h. */
12661 _ACEOF
12662 cat confdefs.h >>conftest.$ac_ext
12663 cat >>conftest.$ac_ext <<_ACEOF
12664 /* end confdefs.h. */
12665 $ac_includes_default
12666
12667 #include <$ac_header>
12668 _ACEOF
12669 rm -f conftest.$ac_objext
12670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12671 (eval $ac_compile) 2>conftest.er1
12672 ac_status=$?
12673 grep -v '^ *+' conftest.er1 >conftest.err
12674 rm -f conftest.er1
12675 cat conftest.err >&5
12676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12677 (exit $ac_status); } &&
12678 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12680 (eval $ac_try) 2>&5
12681 ac_status=$?
12682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12683 (exit $ac_status); }; } &&
12684 { ac_try='test -s conftest.$ac_objext'
12685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12686 (eval $ac_try) 2>&5
12687 ac_status=$?
12688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12689 (exit $ac_status); }; }; then
12690 eval "$as_ac_Header=yes"
12691 else
12692 echo "$as_me: failed program was:" >&5
12693 sed 's/^/| /' conftest.$ac_ext >&5
12694
12695 eval "$as_ac_Header=no"
12696 fi
12697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12698 fi
12699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12700 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12701 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12702 cat >>confdefs.h <<_ACEOF
12703 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12704 _ACEOF
12705
12706 fi
12707
12708 done
12709
12710
12711
12712 for ac_header in stdlib.h
12713 do
12714 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12716 echo "$as_me:$LINENO: checking for $ac_header" >&5
12717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12719 echo $ECHO_N "(cached) $ECHO_C" >&6
12720 fi
12721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12722 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12723 else
12724 # Is the header compilable?
12725 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12726 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12727 cat >conftest.$ac_ext <<_ACEOF
12728 /* confdefs.h. */
12729 _ACEOF
12730 cat confdefs.h >>conftest.$ac_ext
12731 cat >>conftest.$ac_ext <<_ACEOF
12732 /* end confdefs.h. */
12733 $ac_includes_default
12734 #include <$ac_header>
12735 _ACEOF
12736 rm -f conftest.$ac_objext
12737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12738 (eval $ac_compile) 2>conftest.er1
12739 ac_status=$?
12740 grep -v '^ *+' conftest.er1 >conftest.err
12741 rm -f conftest.er1
12742 cat conftest.err >&5
12743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12744 (exit $ac_status); } &&
12745 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12747 (eval $ac_try) 2>&5
12748 ac_status=$?
12749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12750 (exit $ac_status); }; } &&
12751 { ac_try='test -s conftest.$ac_objext'
12752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12753 (eval $ac_try) 2>&5
12754 ac_status=$?
12755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12756 (exit $ac_status); }; }; then
12757 ac_header_compiler=yes
12758 else
12759 echo "$as_me: failed program was:" >&5
12760 sed 's/^/| /' conftest.$ac_ext >&5
12761
12762 ac_header_compiler=no
12763 fi
12764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12765 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12766 echo "${ECHO_T}$ac_header_compiler" >&6
12767
12768 # Is the header present?
12769 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12770 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12771 cat >conftest.$ac_ext <<_ACEOF
12772 /* confdefs.h. */
12773 _ACEOF
12774 cat confdefs.h >>conftest.$ac_ext
12775 cat >>conftest.$ac_ext <<_ACEOF
12776 /* end confdefs.h. */
12777 #include <$ac_header>
12778 _ACEOF
12779 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12780 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12781 ac_status=$?
12782 grep -v '^ *+' conftest.er1 >conftest.err
12783 rm -f conftest.er1
12784 cat conftest.err >&5
12785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12786 (exit $ac_status); } >/dev/null; then
12787 if test -s conftest.err; then
12788 ac_cpp_err=$ac_c_preproc_warn_flag
12789 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12790 else
12791 ac_cpp_err=
12792 fi
12793 else
12794 ac_cpp_err=yes
12795 fi
12796 if test -z "$ac_cpp_err"; then
12797 ac_header_preproc=yes
12798 else
12799 echo "$as_me: failed program was:" >&5
12800 sed 's/^/| /' conftest.$ac_ext >&5
12801
12802 ac_header_preproc=no
12803 fi
12804 rm -f conftest.err conftest.$ac_ext
12805 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12806 echo "${ECHO_T}$ac_header_preproc" >&6
12807
12808 # So? What about this header?
12809 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12810 yes:no: )
12811 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12812 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12813 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12814 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12815 ac_header_preproc=yes
12816 ;;
12817 no:yes:* )
12818 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12819 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12820 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12821 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12822 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12823 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12824 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12825 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12826 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12827 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12828 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12829 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12830 (
12831 cat <<\_ASBOX
12832 ## ----------------------------------------- ##
12833 ## Report this to wx-dev@lists.wxwindows.org ##
12834 ## ----------------------------------------- ##
12835 _ASBOX
12836 ) |
12837 sed "s/^/$as_me: WARNING: /" >&2
12838 ;;
12839 esac
12840 echo "$as_me:$LINENO: checking for $ac_header" >&5
12841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12843 echo $ECHO_N "(cached) $ECHO_C" >&6
12844 else
12845 eval "$as_ac_Header=\$ac_header_preproc"
12846 fi
12847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12848 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12849
12850 fi
12851 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12852 cat >>confdefs.h <<_ACEOF
12853 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12854 _ACEOF
12855
12856 fi
12857
12858 done
12859
12860
12861 for ac_header in malloc.h
12862 do
12863 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12864 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12865 echo "$as_me:$LINENO: checking for $ac_header" >&5
12866 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12867 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12868 echo $ECHO_N "(cached) $ECHO_C" >&6
12869 fi
12870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12871 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12872 else
12873 # Is the header compilable?
12874 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12875 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12876 cat >conftest.$ac_ext <<_ACEOF
12877 /* confdefs.h. */
12878 _ACEOF
12879 cat confdefs.h >>conftest.$ac_ext
12880 cat >>conftest.$ac_ext <<_ACEOF
12881 /* end confdefs.h. */
12882 $ac_includes_default
12883 #include <$ac_header>
12884 _ACEOF
12885 rm -f conftest.$ac_objext
12886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12887 (eval $ac_compile) 2>conftest.er1
12888 ac_status=$?
12889 grep -v '^ *+' conftest.er1 >conftest.err
12890 rm -f conftest.er1
12891 cat conftest.err >&5
12892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12893 (exit $ac_status); } &&
12894 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12896 (eval $ac_try) 2>&5
12897 ac_status=$?
12898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899 (exit $ac_status); }; } &&
12900 { ac_try='test -s conftest.$ac_objext'
12901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12902 (eval $ac_try) 2>&5
12903 ac_status=$?
12904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12905 (exit $ac_status); }; }; then
12906 ac_header_compiler=yes
12907 else
12908 echo "$as_me: failed program was:" >&5
12909 sed 's/^/| /' conftest.$ac_ext >&5
12910
12911 ac_header_compiler=no
12912 fi
12913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12914 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12915 echo "${ECHO_T}$ac_header_compiler" >&6
12916
12917 # Is the header present?
12918 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12919 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12920 cat >conftest.$ac_ext <<_ACEOF
12921 /* confdefs.h. */
12922 _ACEOF
12923 cat confdefs.h >>conftest.$ac_ext
12924 cat >>conftest.$ac_ext <<_ACEOF
12925 /* end confdefs.h. */
12926 #include <$ac_header>
12927 _ACEOF
12928 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12929 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12930 ac_status=$?
12931 grep -v '^ *+' conftest.er1 >conftest.err
12932 rm -f conftest.er1
12933 cat conftest.err >&5
12934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12935 (exit $ac_status); } >/dev/null; then
12936 if test -s conftest.err; then
12937 ac_cpp_err=$ac_c_preproc_warn_flag
12938 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12939 else
12940 ac_cpp_err=
12941 fi
12942 else
12943 ac_cpp_err=yes
12944 fi
12945 if test -z "$ac_cpp_err"; then
12946 ac_header_preproc=yes
12947 else
12948 echo "$as_me: failed program was:" >&5
12949 sed 's/^/| /' conftest.$ac_ext >&5
12950
12951 ac_header_preproc=no
12952 fi
12953 rm -f conftest.err conftest.$ac_ext
12954 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12955 echo "${ECHO_T}$ac_header_preproc" >&6
12956
12957 # So? What about this header?
12958 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12959 yes:no: )
12960 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12961 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12962 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12963 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12964 ac_header_preproc=yes
12965 ;;
12966 no:yes:* )
12967 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12968 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12969 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12970 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12971 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12972 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12973 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12974 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12975 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12976 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12977 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12978 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12979 (
12980 cat <<\_ASBOX
12981 ## ----------------------------------------- ##
12982 ## Report this to wx-dev@lists.wxwindows.org ##
12983 ## ----------------------------------------- ##
12984 _ASBOX
12985 ) |
12986 sed "s/^/$as_me: WARNING: /" >&2
12987 ;;
12988 esac
12989 echo "$as_me:$LINENO: checking for $ac_header" >&5
12990 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12991 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12992 echo $ECHO_N "(cached) $ECHO_C" >&6
12993 else
12994 eval "$as_ac_Header=\$ac_header_preproc"
12995 fi
12996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12997 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12998
12999 fi
13000 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13001 cat >>confdefs.h <<_ACEOF
13002 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13003 _ACEOF
13004
13005 fi
13006
13007 done
13008
13009
13010 for ac_header in unistd.h
13011 do
13012 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13013 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13014 echo "$as_me:$LINENO: checking for $ac_header" >&5
13015 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13016 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13017 echo $ECHO_N "(cached) $ECHO_C" >&6
13018 fi
13019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13020 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13021 else
13022 # Is the header compilable?
13023 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13024 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13025 cat >conftest.$ac_ext <<_ACEOF
13026 /* confdefs.h. */
13027 _ACEOF
13028 cat confdefs.h >>conftest.$ac_ext
13029 cat >>conftest.$ac_ext <<_ACEOF
13030 /* end confdefs.h. */
13031 $ac_includes_default
13032 #include <$ac_header>
13033 _ACEOF
13034 rm -f conftest.$ac_objext
13035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13036 (eval $ac_compile) 2>conftest.er1
13037 ac_status=$?
13038 grep -v '^ *+' conftest.er1 >conftest.err
13039 rm -f conftest.er1
13040 cat conftest.err >&5
13041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13042 (exit $ac_status); } &&
13043 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13045 (eval $ac_try) 2>&5
13046 ac_status=$?
13047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13048 (exit $ac_status); }; } &&
13049 { ac_try='test -s conftest.$ac_objext'
13050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13051 (eval $ac_try) 2>&5
13052 ac_status=$?
13053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13054 (exit $ac_status); }; }; then
13055 ac_header_compiler=yes
13056 else
13057 echo "$as_me: failed program was:" >&5
13058 sed 's/^/| /' conftest.$ac_ext >&5
13059
13060 ac_header_compiler=no
13061 fi
13062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13063 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13064 echo "${ECHO_T}$ac_header_compiler" >&6
13065
13066 # Is the header present?
13067 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13068 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13069 cat >conftest.$ac_ext <<_ACEOF
13070 /* confdefs.h. */
13071 _ACEOF
13072 cat confdefs.h >>conftest.$ac_ext
13073 cat >>conftest.$ac_ext <<_ACEOF
13074 /* end confdefs.h. */
13075 #include <$ac_header>
13076 _ACEOF
13077 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13078 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13079 ac_status=$?
13080 grep -v '^ *+' conftest.er1 >conftest.err
13081 rm -f conftest.er1
13082 cat conftest.err >&5
13083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13084 (exit $ac_status); } >/dev/null; then
13085 if test -s conftest.err; then
13086 ac_cpp_err=$ac_c_preproc_warn_flag
13087 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13088 else
13089 ac_cpp_err=
13090 fi
13091 else
13092 ac_cpp_err=yes
13093 fi
13094 if test -z "$ac_cpp_err"; then
13095 ac_header_preproc=yes
13096 else
13097 echo "$as_me: failed program was:" >&5
13098 sed 's/^/| /' conftest.$ac_ext >&5
13099
13100 ac_header_preproc=no
13101 fi
13102 rm -f conftest.err conftest.$ac_ext
13103 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13104 echo "${ECHO_T}$ac_header_preproc" >&6
13105
13106 # So? What about this header?
13107 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13108 yes:no: )
13109 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13110 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13111 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13112 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13113 ac_header_preproc=yes
13114 ;;
13115 no:yes:* )
13116 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13117 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13118 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13119 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13120 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13121 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13122 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13123 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13124 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13125 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13126 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13127 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13128 (
13129 cat <<\_ASBOX
13130 ## ----------------------------------------- ##
13131 ## Report this to wx-dev@lists.wxwindows.org ##
13132 ## ----------------------------------------- ##
13133 _ASBOX
13134 ) |
13135 sed "s/^/$as_me: WARNING: /" >&2
13136 ;;
13137 esac
13138 echo "$as_me:$LINENO: checking for $ac_header" >&5
13139 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13140 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13141 echo $ECHO_N "(cached) $ECHO_C" >&6
13142 else
13143 eval "$as_ac_Header=\$ac_header_preproc"
13144 fi
13145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13146 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13147
13148 fi
13149 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13150 cat >>confdefs.h <<_ACEOF
13151 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13152 _ACEOF
13153
13154 fi
13155
13156 done
13157
13158
13159 for ac_header in wchar.h
13160 do
13161 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13162 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13163 echo "$as_me:$LINENO: checking for $ac_header" >&5
13164 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13165 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13166 echo $ECHO_N "(cached) $ECHO_C" >&6
13167 fi
13168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13169 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13170 else
13171 # Is the header compilable?
13172 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13173 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13174 cat >conftest.$ac_ext <<_ACEOF
13175 /* confdefs.h. */
13176 _ACEOF
13177 cat confdefs.h >>conftest.$ac_ext
13178 cat >>conftest.$ac_ext <<_ACEOF
13179 /* end confdefs.h. */
13180 $ac_includes_default
13181 #include <$ac_header>
13182 _ACEOF
13183 rm -f conftest.$ac_objext
13184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13185 (eval $ac_compile) 2>conftest.er1
13186 ac_status=$?
13187 grep -v '^ *+' conftest.er1 >conftest.err
13188 rm -f conftest.er1
13189 cat conftest.err >&5
13190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13191 (exit $ac_status); } &&
13192 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13194 (eval $ac_try) 2>&5
13195 ac_status=$?
13196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13197 (exit $ac_status); }; } &&
13198 { ac_try='test -s conftest.$ac_objext'
13199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13200 (eval $ac_try) 2>&5
13201 ac_status=$?
13202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13203 (exit $ac_status); }; }; then
13204 ac_header_compiler=yes
13205 else
13206 echo "$as_me: failed program was:" >&5
13207 sed 's/^/| /' conftest.$ac_ext >&5
13208
13209 ac_header_compiler=no
13210 fi
13211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13212 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13213 echo "${ECHO_T}$ac_header_compiler" >&6
13214
13215 # Is the header present?
13216 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13217 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13218 cat >conftest.$ac_ext <<_ACEOF
13219 /* confdefs.h. */
13220 _ACEOF
13221 cat confdefs.h >>conftest.$ac_ext
13222 cat >>conftest.$ac_ext <<_ACEOF
13223 /* end confdefs.h. */
13224 #include <$ac_header>
13225 _ACEOF
13226 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13227 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13228 ac_status=$?
13229 grep -v '^ *+' conftest.er1 >conftest.err
13230 rm -f conftest.er1
13231 cat conftest.err >&5
13232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13233 (exit $ac_status); } >/dev/null; then
13234 if test -s conftest.err; then
13235 ac_cpp_err=$ac_c_preproc_warn_flag
13236 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13237 else
13238 ac_cpp_err=
13239 fi
13240 else
13241 ac_cpp_err=yes
13242 fi
13243 if test -z "$ac_cpp_err"; then
13244 ac_header_preproc=yes
13245 else
13246 echo "$as_me: failed program was:" >&5
13247 sed 's/^/| /' conftest.$ac_ext >&5
13248
13249 ac_header_preproc=no
13250 fi
13251 rm -f conftest.err conftest.$ac_ext
13252 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13253 echo "${ECHO_T}$ac_header_preproc" >&6
13254
13255 # So? What about this header?
13256 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13257 yes:no: )
13258 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13259 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13260 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13261 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13262 ac_header_preproc=yes
13263 ;;
13264 no:yes:* )
13265 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13266 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13267 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13268 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13269 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13270 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13271 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13272 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13273 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13274 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13275 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13276 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13277 (
13278 cat <<\_ASBOX
13279 ## ----------------------------------------- ##
13280 ## Report this to wx-dev@lists.wxwindows.org ##
13281 ## ----------------------------------------- ##
13282 _ASBOX
13283 ) |
13284 sed "s/^/$as_me: WARNING: /" >&2
13285 ;;
13286 esac
13287 echo "$as_me:$LINENO: checking for $ac_header" >&5
13288 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13290 echo $ECHO_N "(cached) $ECHO_C" >&6
13291 else
13292 eval "$as_ac_Header=\$ac_header_preproc"
13293 fi
13294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13295 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13296
13297 fi
13298 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13299 cat >>confdefs.h <<_ACEOF
13300 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13301 _ACEOF
13302
13303 fi
13304
13305 done
13306
13307
13308 if test "$ac_cv_header_wchar_h" != "yes"; then
13309
13310 for ac_header in wcstr.h
13311 do
13312 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13314 echo "$as_me:$LINENO: checking for $ac_header" >&5
13315 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13316 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13317 echo $ECHO_N "(cached) $ECHO_C" >&6
13318 fi
13319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13320 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13321 else
13322 # Is the header compilable?
13323 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13324 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13325 cat >conftest.$ac_ext <<_ACEOF
13326 /* confdefs.h. */
13327 _ACEOF
13328 cat confdefs.h >>conftest.$ac_ext
13329 cat >>conftest.$ac_ext <<_ACEOF
13330 /* end confdefs.h. */
13331 $ac_includes_default
13332 #include <$ac_header>
13333 _ACEOF
13334 rm -f conftest.$ac_objext
13335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13336 (eval $ac_compile) 2>conftest.er1
13337 ac_status=$?
13338 grep -v '^ *+' conftest.er1 >conftest.err
13339 rm -f conftest.er1
13340 cat conftest.err >&5
13341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13342 (exit $ac_status); } &&
13343 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13345 (eval $ac_try) 2>&5
13346 ac_status=$?
13347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13348 (exit $ac_status); }; } &&
13349 { ac_try='test -s conftest.$ac_objext'
13350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13351 (eval $ac_try) 2>&5
13352 ac_status=$?
13353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13354 (exit $ac_status); }; }; then
13355 ac_header_compiler=yes
13356 else
13357 echo "$as_me: failed program was:" >&5
13358 sed 's/^/| /' conftest.$ac_ext >&5
13359
13360 ac_header_compiler=no
13361 fi
13362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13363 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13364 echo "${ECHO_T}$ac_header_compiler" >&6
13365
13366 # Is the header present?
13367 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13368 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13369 cat >conftest.$ac_ext <<_ACEOF
13370 /* confdefs.h. */
13371 _ACEOF
13372 cat confdefs.h >>conftest.$ac_ext
13373 cat >>conftest.$ac_ext <<_ACEOF
13374 /* end confdefs.h. */
13375 #include <$ac_header>
13376 _ACEOF
13377 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13378 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13379 ac_status=$?
13380 grep -v '^ *+' conftest.er1 >conftest.err
13381 rm -f conftest.er1
13382 cat conftest.err >&5
13383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13384 (exit $ac_status); } >/dev/null; then
13385 if test -s conftest.err; then
13386 ac_cpp_err=$ac_c_preproc_warn_flag
13387 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13388 else
13389 ac_cpp_err=
13390 fi
13391 else
13392 ac_cpp_err=yes
13393 fi
13394 if test -z "$ac_cpp_err"; then
13395 ac_header_preproc=yes
13396 else
13397 echo "$as_me: failed program was:" >&5
13398 sed 's/^/| /' conftest.$ac_ext >&5
13399
13400 ac_header_preproc=no
13401 fi
13402 rm -f conftest.err conftest.$ac_ext
13403 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13404 echo "${ECHO_T}$ac_header_preproc" >&6
13405
13406 # So? What about this header?
13407 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13408 yes:no: )
13409 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13410 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13411 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13412 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13413 ac_header_preproc=yes
13414 ;;
13415 no:yes:* )
13416 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13417 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13418 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13419 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13420 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13421 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13422 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13423 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13424 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13425 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13426 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13427 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13428 (
13429 cat <<\_ASBOX
13430 ## ----------------------------------------- ##
13431 ## Report this to wx-dev@lists.wxwindows.org ##
13432 ## ----------------------------------------- ##
13433 _ASBOX
13434 ) |
13435 sed "s/^/$as_me: WARNING: /" >&2
13436 ;;
13437 esac
13438 echo "$as_me:$LINENO: checking for $ac_header" >&5
13439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13441 echo $ECHO_N "(cached) $ECHO_C" >&6
13442 else
13443 eval "$as_ac_Header=\$ac_header_preproc"
13444 fi
13445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13446 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13447
13448 fi
13449 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13450 cat >>confdefs.h <<_ACEOF
13451 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13452 _ACEOF
13453
13454 fi
13455
13456 done
13457
13458 fi
13459
13460
13461 for ac_header in fnmatch.h
13462 do
13463 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13464 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13465 echo "$as_me:$LINENO: checking for $ac_header" >&5
13466 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13467 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13468 echo $ECHO_N "(cached) $ECHO_C" >&6
13469 fi
13470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13471 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13472 else
13473 # Is the header compilable?
13474 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13475 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13476 cat >conftest.$ac_ext <<_ACEOF
13477 /* confdefs.h. */
13478 _ACEOF
13479 cat confdefs.h >>conftest.$ac_ext
13480 cat >>conftest.$ac_ext <<_ACEOF
13481 /* end confdefs.h. */
13482 $ac_includes_default
13483 #include <$ac_header>
13484 _ACEOF
13485 rm -f conftest.$ac_objext
13486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13487 (eval $ac_compile) 2>conftest.er1
13488 ac_status=$?
13489 grep -v '^ *+' conftest.er1 >conftest.err
13490 rm -f conftest.er1
13491 cat conftest.err >&5
13492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13493 (exit $ac_status); } &&
13494 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13496 (eval $ac_try) 2>&5
13497 ac_status=$?
13498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13499 (exit $ac_status); }; } &&
13500 { ac_try='test -s conftest.$ac_objext'
13501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13502 (eval $ac_try) 2>&5
13503 ac_status=$?
13504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13505 (exit $ac_status); }; }; then
13506 ac_header_compiler=yes
13507 else
13508 echo "$as_me: failed program was:" >&5
13509 sed 's/^/| /' conftest.$ac_ext >&5
13510
13511 ac_header_compiler=no
13512 fi
13513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13514 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13515 echo "${ECHO_T}$ac_header_compiler" >&6
13516
13517 # Is the header present?
13518 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13519 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13520 cat >conftest.$ac_ext <<_ACEOF
13521 /* confdefs.h. */
13522 _ACEOF
13523 cat confdefs.h >>conftest.$ac_ext
13524 cat >>conftest.$ac_ext <<_ACEOF
13525 /* end confdefs.h. */
13526 #include <$ac_header>
13527 _ACEOF
13528 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13529 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13530 ac_status=$?
13531 grep -v '^ *+' conftest.er1 >conftest.err
13532 rm -f conftest.er1
13533 cat conftest.err >&5
13534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13535 (exit $ac_status); } >/dev/null; then
13536 if test -s conftest.err; then
13537 ac_cpp_err=$ac_c_preproc_warn_flag
13538 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13539 else
13540 ac_cpp_err=
13541 fi
13542 else
13543 ac_cpp_err=yes
13544 fi
13545 if test -z "$ac_cpp_err"; then
13546 ac_header_preproc=yes
13547 else
13548 echo "$as_me: failed program was:" >&5
13549 sed 's/^/| /' conftest.$ac_ext >&5
13550
13551 ac_header_preproc=no
13552 fi
13553 rm -f conftest.err conftest.$ac_ext
13554 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13555 echo "${ECHO_T}$ac_header_preproc" >&6
13556
13557 # So? What about this header?
13558 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13559 yes:no: )
13560 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13561 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13562 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13563 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13564 ac_header_preproc=yes
13565 ;;
13566 no:yes:* )
13567 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13568 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13569 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13570 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13571 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13572 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13573 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13574 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13575 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13576 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13577 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13578 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13579 (
13580 cat <<\_ASBOX
13581 ## ----------------------------------------- ##
13582 ## Report this to wx-dev@lists.wxwindows.org ##
13583 ## ----------------------------------------- ##
13584 _ASBOX
13585 ) |
13586 sed "s/^/$as_me: WARNING: /" >&2
13587 ;;
13588 esac
13589 echo "$as_me:$LINENO: checking for $ac_header" >&5
13590 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13591 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13592 echo $ECHO_N "(cached) $ECHO_C" >&6
13593 else
13594 eval "$as_ac_Header=\$ac_header_preproc"
13595 fi
13596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13597 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13598
13599 fi
13600 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13601 cat >>confdefs.h <<_ACEOF
13602 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13603 _ACEOF
13604
13605 fi
13606
13607 done
13608
13609
13610 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13611
13612 for ac_func in fnmatch
13613 do
13614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13615 echo "$as_me:$LINENO: checking for $ac_func" >&5
13616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13617 if eval "test \"\${$as_ac_var+set}\" = set"; then
13618 echo $ECHO_N "(cached) $ECHO_C" >&6
13619 else
13620 cat >conftest.$ac_ext <<_ACEOF
13621 /* confdefs.h. */
13622 _ACEOF
13623 cat confdefs.h >>conftest.$ac_ext
13624 cat >>conftest.$ac_ext <<_ACEOF
13625 /* end confdefs.h. */
13626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13628 #define $ac_func innocuous_$ac_func
13629
13630 /* System header to define __stub macros and hopefully few prototypes,
13631 which can conflict with char $ac_func (); below.
13632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13633 <limits.h> exists even on freestanding compilers. */
13634
13635 #ifdef __STDC__
13636 # include <limits.h>
13637 #else
13638 # include <assert.h>
13639 #endif
13640
13641 #undef $ac_func
13642
13643 /* Override any gcc2 internal prototype to avoid an error. */
13644 #ifdef __cplusplus
13645 extern "C"
13646 {
13647 #endif
13648 /* We use char because int might match the return type of a gcc2
13649 builtin and then its argument prototype would still apply. */
13650 char $ac_func ();
13651 /* The GNU C library defines this for functions which it implements
13652 to always fail with ENOSYS. Some functions are actually named
13653 something starting with __ and the normal name is an alias. */
13654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13655 choke me
13656 #else
13657 char (*f) () = $ac_func;
13658 #endif
13659 #ifdef __cplusplus
13660 }
13661 #endif
13662
13663 int
13664 main ()
13665 {
13666 return f != $ac_func;
13667 ;
13668 return 0;
13669 }
13670 _ACEOF
13671 rm -f conftest.$ac_objext conftest$ac_exeext
13672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13673 (eval $ac_link) 2>conftest.er1
13674 ac_status=$?
13675 grep -v '^ *+' conftest.er1 >conftest.err
13676 rm -f conftest.er1
13677 cat conftest.err >&5
13678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13679 (exit $ac_status); } &&
13680 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13682 (eval $ac_try) 2>&5
13683 ac_status=$?
13684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13685 (exit $ac_status); }; } &&
13686 { ac_try='test -s conftest$ac_exeext'
13687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13688 (eval $ac_try) 2>&5
13689 ac_status=$?
13690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13691 (exit $ac_status); }; }; then
13692 eval "$as_ac_var=yes"
13693 else
13694 echo "$as_me: failed program was:" >&5
13695 sed 's/^/| /' conftest.$ac_ext >&5
13696
13697 eval "$as_ac_var=no"
13698 fi
13699 rm -f conftest.err conftest.$ac_objext \
13700 conftest$ac_exeext conftest.$ac_ext
13701 fi
13702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13704 if test `eval echo '${'$as_ac_var'}'` = yes; then
13705 cat >>confdefs.h <<_ACEOF
13706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13707 _ACEOF
13708
13709 fi
13710 done
13711
13712 fi
13713
13714
13715 for ac_header in langinfo.h
13716 do
13717 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13719 echo "$as_me:$LINENO: checking for $ac_header" >&5
13720 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13721 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13722 echo $ECHO_N "(cached) $ECHO_C" >&6
13723 fi
13724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13725 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13726 else
13727 # Is the header compilable?
13728 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13729 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13730 cat >conftest.$ac_ext <<_ACEOF
13731 /* confdefs.h. */
13732 _ACEOF
13733 cat confdefs.h >>conftest.$ac_ext
13734 cat >>conftest.$ac_ext <<_ACEOF
13735 /* end confdefs.h. */
13736 $ac_includes_default
13737 #include <$ac_header>
13738 _ACEOF
13739 rm -f conftest.$ac_objext
13740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13741 (eval $ac_compile) 2>conftest.er1
13742 ac_status=$?
13743 grep -v '^ *+' conftest.er1 >conftest.err
13744 rm -f conftest.er1
13745 cat conftest.err >&5
13746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 (exit $ac_status); } &&
13748 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13750 (eval $ac_try) 2>&5
13751 ac_status=$?
13752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13753 (exit $ac_status); }; } &&
13754 { ac_try='test -s conftest.$ac_objext'
13755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13756 (eval $ac_try) 2>&5
13757 ac_status=$?
13758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13759 (exit $ac_status); }; }; then
13760 ac_header_compiler=yes
13761 else
13762 echo "$as_me: failed program was:" >&5
13763 sed 's/^/| /' conftest.$ac_ext >&5
13764
13765 ac_header_compiler=no
13766 fi
13767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13768 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13769 echo "${ECHO_T}$ac_header_compiler" >&6
13770
13771 # Is the header present?
13772 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13773 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13774 cat >conftest.$ac_ext <<_ACEOF
13775 /* confdefs.h. */
13776 _ACEOF
13777 cat confdefs.h >>conftest.$ac_ext
13778 cat >>conftest.$ac_ext <<_ACEOF
13779 /* end confdefs.h. */
13780 #include <$ac_header>
13781 _ACEOF
13782 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13783 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13784 ac_status=$?
13785 grep -v '^ *+' conftest.er1 >conftest.err
13786 rm -f conftest.er1
13787 cat conftest.err >&5
13788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13789 (exit $ac_status); } >/dev/null; then
13790 if test -s conftest.err; then
13791 ac_cpp_err=$ac_c_preproc_warn_flag
13792 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13793 else
13794 ac_cpp_err=
13795 fi
13796 else
13797 ac_cpp_err=yes
13798 fi
13799 if test -z "$ac_cpp_err"; then
13800 ac_header_preproc=yes
13801 else
13802 echo "$as_me: failed program was:" >&5
13803 sed 's/^/| /' conftest.$ac_ext >&5
13804
13805 ac_header_preproc=no
13806 fi
13807 rm -f conftest.err conftest.$ac_ext
13808 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13809 echo "${ECHO_T}$ac_header_preproc" >&6
13810
13811 # So? What about this header?
13812 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13813 yes:no: )
13814 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13815 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13816 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13817 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13818 ac_header_preproc=yes
13819 ;;
13820 no:yes:* )
13821 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13822 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13823 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13824 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13825 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13826 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13827 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13828 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13829 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13830 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13831 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13832 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13833 (
13834 cat <<\_ASBOX
13835 ## ----------------------------------------- ##
13836 ## Report this to wx-dev@lists.wxwindows.org ##
13837 ## ----------------------------------------- ##
13838 _ASBOX
13839 ) |
13840 sed "s/^/$as_me: WARNING: /" >&2
13841 ;;
13842 esac
13843 echo "$as_me:$LINENO: checking for $ac_header" >&5
13844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13846 echo $ECHO_N "(cached) $ECHO_C" >&6
13847 else
13848 eval "$as_ac_Header=\$ac_header_preproc"
13849 fi
13850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13851 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13852
13853 fi
13854 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13855 cat >>confdefs.h <<_ACEOF
13856 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13857 _ACEOF
13858
13859 fi
13860
13861 done
13862
13863
13864 case "${host}" in
13865 *-pc-os2_emx | *-pc-os2-emx )
13866 if test $ac_cv_header_langinfo_h = "yes"; then
13867 LIBS="$LIBS -lintl"
13868 fi
13869 ;;
13870 esac
13871
13872 if test "$wxUSE_GUI" = "yes"; then
13873 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13874
13875 for ac_header in X11/Xlib.h
13876 do
13877 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13878 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13879 echo "$as_me:$LINENO: checking for $ac_header" >&5
13880 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13881 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13882 echo $ECHO_N "(cached) $ECHO_C" >&6
13883 fi
13884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13885 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13886 else
13887 # Is the header compilable?
13888 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13889 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13890 cat >conftest.$ac_ext <<_ACEOF
13891 /* confdefs.h. */
13892 _ACEOF
13893 cat confdefs.h >>conftest.$ac_ext
13894 cat >>conftest.$ac_ext <<_ACEOF
13895 /* end confdefs.h. */
13896 $ac_includes_default
13897 #include <$ac_header>
13898 _ACEOF
13899 rm -f conftest.$ac_objext
13900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13901 (eval $ac_compile) 2>conftest.er1
13902 ac_status=$?
13903 grep -v '^ *+' conftest.er1 >conftest.err
13904 rm -f conftest.er1
13905 cat conftest.err >&5
13906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13907 (exit $ac_status); } &&
13908 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13910 (eval $ac_try) 2>&5
13911 ac_status=$?
13912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913 (exit $ac_status); }; } &&
13914 { ac_try='test -s conftest.$ac_objext'
13915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13916 (eval $ac_try) 2>&5
13917 ac_status=$?
13918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13919 (exit $ac_status); }; }; then
13920 ac_header_compiler=yes
13921 else
13922 echo "$as_me: failed program was:" >&5
13923 sed 's/^/| /' conftest.$ac_ext >&5
13924
13925 ac_header_compiler=no
13926 fi
13927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13928 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13929 echo "${ECHO_T}$ac_header_compiler" >&6
13930
13931 # Is the header present?
13932 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13933 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13934 cat >conftest.$ac_ext <<_ACEOF
13935 /* confdefs.h. */
13936 _ACEOF
13937 cat confdefs.h >>conftest.$ac_ext
13938 cat >>conftest.$ac_ext <<_ACEOF
13939 /* end confdefs.h. */
13940 #include <$ac_header>
13941 _ACEOF
13942 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13943 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13944 ac_status=$?
13945 grep -v '^ *+' conftest.er1 >conftest.err
13946 rm -f conftest.er1
13947 cat conftest.err >&5
13948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13949 (exit $ac_status); } >/dev/null; then
13950 if test -s conftest.err; then
13951 ac_cpp_err=$ac_c_preproc_warn_flag
13952 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13953 else
13954 ac_cpp_err=
13955 fi
13956 else
13957 ac_cpp_err=yes
13958 fi
13959 if test -z "$ac_cpp_err"; then
13960 ac_header_preproc=yes
13961 else
13962 echo "$as_me: failed program was:" >&5
13963 sed 's/^/| /' conftest.$ac_ext >&5
13964
13965 ac_header_preproc=no
13966 fi
13967 rm -f conftest.err conftest.$ac_ext
13968 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13969 echo "${ECHO_T}$ac_header_preproc" >&6
13970
13971 # So? What about this header?
13972 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13973 yes:no: )
13974 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13975 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13976 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13977 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13978 ac_header_preproc=yes
13979 ;;
13980 no:yes:* )
13981 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13982 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13983 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13984 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13985 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13986 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13987 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13988 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13989 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13990 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13991 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13992 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13993 (
13994 cat <<\_ASBOX
13995 ## ----------------------------------------- ##
13996 ## Report this to wx-dev@lists.wxwindows.org ##
13997 ## ----------------------------------------- ##
13998 _ASBOX
13999 ) |
14000 sed "s/^/$as_me: WARNING: /" >&2
14001 ;;
14002 esac
14003 echo "$as_me:$LINENO: checking for $ac_header" >&5
14004 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14005 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14006 echo $ECHO_N "(cached) $ECHO_C" >&6
14007 else
14008 eval "$as_ac_Header=\$ac_header_preproc"
14009 fi
14010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14011 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14012
14013 fi
14014 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14015 cat >>confdefs.h <<_ACEOF
14016 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14017 _ACEOF
14018
14019 fi
14020
14021 done
14022
14023
14024 for ac_header in X11/XKBlib.h
14025 do
14026 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14027 echo "$as_me:$LINENO: checking for $ac_header" >&5
14028 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14029 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14030 echo $ECHO_N "(cached) $ECHO_C" >&6
14031 else
14032 cat >conftest.$ac_ext <<_ACEOF
14033 /* confdefs.h. */
14034 _ACEOF
14035 cat confdefs.h >>conftest.$ac_ext
14036 cat >>conftest.$ac_ext <<_ACEOF
14037 /* end confdefs.h. */
14038
14039 #if HAVE_X11_XLIB_H
14040 #include <X11/Xlib.h>
14041 #endif
14042
14043
14044 #include <$ac_header>
14045 _ACEOF
14046 rm -f conftest.$ac_objext
14047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14048 (eval $ac_compile) 2>conftest.er1
14049 ac_status=$?
14050 grep -v '^ *+' conftest.er1 >conftest.err
14051 rm -f conftest.er1
14052 cat conftest.err >&5
14053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14054 (exit $ac_status); } &&
14055 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14057 (eval $ac_try) 2>&5
14058 ac_status=$?
14059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14060 (exit $ac_status); }; } &&
14061 { ac_try='test -s conftest.$ac_objext'
14062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14063 (eval $ac_try) 2>&5
14064 ac_status=$?
14065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14066 (exit $ac_status); }; }; then
14067 eval "$as_ac_Header=yes"
14068 else
14069 echo "$as_me: failed program was:" >&5
14070 sed 's/^/| /' conftest.$ac_ext >&5
14071
14072 eval "$as_ac_Header=no"
14073 fi
14074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14075 fi
14076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14077 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14078 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14079 cat >>confdefs.h <<_ACEOF
14080 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14081 _ACEOF
14082
14083 fi
14084
14085 done
14086
14087 fi
14088 fi
14089
14090
14091 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14092 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14093 if test "${ac_cv_c_const+set}" = set; then
14094 echo $ECHO_N "(cached) $ECHO_C" >&6
14095 else
14096 cat >conftest.$ac_ext <<_ACEOF
14097 /* confdefs.h. */
14098 _ACEOF
14099 cat confdefs.h >>conftest.$ac_ext
14100 cat >>conftest.$ac_ext <<_ACEOF
14101 /* end confdefs.h. */
14102
14103 int
14104 main ()
14105 {
14106 /* FIXME: Include the comments suggested by Paul. */
14107 #ifndef __cplusplus
14108 /* Ultrix mips cc rejects this. */
14109 typedef int charset[2];
14110 const charset x;
14111 /* SunOS 4.1.1 cc rejects this. */
14112 char const *const *ccp;
14113 char **p;
14114 /* NEC SVR4.0.2 mips cc rejects this. */
14115 struct point {int x, y;};
14116 static struct point const zero = {0,0};
14117 /* AIX XL C 1.02.0.0 rejects this.
14118 It does not let you subtract one const X* pointer from another in
14119 an arm of an if-expression whose if-part is not a constant
14120 expression */
14121 const char *g = "string";
14122 ccp = &g + (g ? g-g : 0);
14123 /* HPUX 7.0 cc rejects these. */
14124 ++ccp;
14125 p = (char**) ccp;
14126 ccp = (char const *const *) p;
14127 { /* SCO 3.2v4 cc rejects this. */
14128 char *t;
14129 char const *s = 0 ? (char *) 0 : (char const *) 0;
14130
14131 *t++ = 0;
14132 }
14133 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14134 int x[] = {25, 17};
14135 const int *foo = &x[0];
14136 ++foo;
14137 }
14138 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14139 typedef const int *iptr;
14140 iptr p = 0;
14141 ++p;
14142 }
14143 { /* AIX XL C 1.02.0.0 rejects this saying
14144 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14145 struct s { int j; const int *ap[3]; };
14146 struct s *b; b->j = 5;
14147 }
14148 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14149 const int foo = 10;
14150 }
14151 #endif
14152
14153 ;
14154 return 0;
14155 }
14156 _ACEOF
14157 rm -f conftest.$ac_objext
14158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14159 (eval $ac_compile) 2>conftest.er1
14160 ac_status=$?
14161 grep -v '^ *+' conftest.er1 >conftest.err
14162 rm -f conftest.er1
14163 cat conftest.err >&5
14164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14165 (exit $ac_status); } &&
14166 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14168 (eval $ac_try) 2>&5
14169 ac_status=$?
14170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14171 (exit $ac_status); }; } &&
14172 { ac_try='test -s conftest.$ac_objext'
14173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14174 (eval $ac_try) 2>&5
14175 ac_status=$?
14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 (exit $ac_status); }; }; then
14178 ac_cv_c_const=yes
14179 else
14180 echo "$as_me: failed program was:" >&5
14181 sed 's/^/| /' conftest.$ac_ext >&5
14182
14183 ac_cv_c_const=no
14184 fi
14185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14186 fi
14187 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14188 echo "${ECHO_T}$ac_cv_c_const" >&6
14189 if test $ac_cv_c_const = no; then
14190
14191 cat >>confdefs.h <<\_ACEOF
14192 #define const
14193 _ACEOF
14194
14195 fi
14196
14197 echo "$as_me:$LINENO: checking for inline" >&5
14198 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14199 if test "${ac_cv_c_inline+set}" = set; then
14200 echo $ECHO_N "(cached) $ECHO_C" >&6
14201 else
14202 ac_cv_c_inline=no
14203 for ac_kw in inline __inline__ __inline; do
14204 cat >conftest.$ac_ext <<_ACEOF
14205 /* confdefs.h. */
14206 _ACEOF
14207 cat confdefs.h >>conftest.$ac_ext
14208 cat >>conftest.$ac_ext <<_ACEOF
14209 /* end confdefs.h. */
14210 #ifndef __cplusplus
14211 typedef int foo_t;
14212 static $ac_kw foo_t static_foo () {return 0; }
14213 $ac_kw foo_t foo () {return 0; }
14214 #endif
14215
14216 _ACEOF
14217 rm -f conftest.$ac_objext
14218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14219 (eval $ac_compile) 2>conftest.er1
14220 ac_status=$?
14221 grep -v '^ *+' conftest.er1 >conftest.err
14222 rm -f conftest.er1
14223 cat conftest.err >&5
14224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14225 (exit $ac_status); } &&
14226 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14228 (eval $ac_try) 2>&5
14229 ac_status=$?
14230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14231 (exit $ac_status); }; } &&
14232 { ac_try='test -s conftest.$ac_objext'
14233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14234 (eval $ac_try) 2>&5
14235 ac_status=$?
14236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14237 (exit $ac_status); }; }; then
14238 ac_cv_c_inline=$ac_kw; break
14239 else
14240 echo "$as_me: failed program was:" >&5
14241 sed 's/^/| /' conftest.$ac_ext >&5
14242
14243 fi
14244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14245 done
14246
14247 fi
14248 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14249 echo "${ECHO_T}$ac_cv_c_inline" >&6
14250
14251
14252 case $ac_cv_c_inline in
14253 inline | yes) ;;
14254 *)
14255 case $ac_cv_c_inline in
14256 no) ac_val=;;
14257 *) ac_val=$ac_cv_c_inline;;
14258 esac
14259 cat >>confdefs.h <<_ACEOF
14260 #ifndef __cplusplus
14261 #define inline $ac_val
14262 #endif
14263 _ACEOF
14264 ;;
14265 esac
14266
14267
14268 echo "$as_me:$LINENO: checking for char" >&5
14269 echo $ECHO_N "checking for char... $ECHO_C" >&6
14270 if test "${ac_cv_type_char+set}" = set; then
14271 echo $ECHO_N "(cached) $ECHO_C" >&6
14272 else
14273 cat >conftest.$ac_ext <<_ACEOF
14274 /* confdefs.h. */
14275 _ACEOF
14276 cat confdefs.h >>conftest.$ac_ext
14277 cat >>conftest.$ac_ext <<_ACEOF
14278 /* end confdefs.h. */
14279 $ac_includes_default
14280 int
14281 main ()
14282 {
14283 if ((char *) 0)
14284 return 0;
14285 if (sizeof (char))
14286 return 0;
14287 ;
14288 return 0;
14289 }
14290 _ACEOF
14291 rm -f conftest.$ac_objext
14292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14293 (eval $ac_compile) 2>conftest.er1
14294 ac_status=$?
14295 grep -v '^ *+' conftest.er1 >conftest.err
14296 rm -f conftest.er1
14297 cat conftest.err >&5
14298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14299 (exit $ac_status); } &&
14300 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14302 (eval $ac_try) 2>&5
14303 ac_status=$?
14304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14305 (exit $ac_status); }; } &&
14306 { ac_try='test -s conftest.$ac_objext'
14307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14308 (eval $ac_try) 2>&5
14309 ac_status=$?
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 (exit $ac_status); }; }; then
14312 ac_cv_type_char=yes
14313 else
14314 echo "$as_me: failed program was:" >&5
14315 sed 's/^/| /' conftest.$ac_ext >&5
14316
14317 ac_cv_type_char=no
14318 fi
14319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14320 fi
14321 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14322 echo "${ECHO_T}$ac_cv_type_char" >&6
14323
14324 echo "$as_me:$LINENO: checking size of char" >&5
14325 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14326 if test "${ac_cv_sizeof_char+set}" = set; then
14327 echo $ECHO_N "(cached) $ECHO_C" >&6
14328 else
14329 if test "$ac_cv_type_char" = yes; then
14330 # The cast to unsigned long works around a bug in the HP C Compiler
14331 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14332 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14333 # This bug is HP SR number 8606223364.
14334 if test "$cross_compiling" = yes; then
14335 # Depending upon the size, compute the lo and hi bounds.
14336 cat >conftest.$ac_ext <<_ACEOF
14337 /* confdefs.h. */
14338 _ACEOF
14339 cat confdefs.h >>conftest.$ac_ext
14340 cat >>conftest.$ac_ext <<_ACEOF
14341 /* end confdefs.h. */
14342 $ac_includes_default
14343 int
14344 main ()
14345 {
14346 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14347 test_array [0] = 0
14348
14349 ;
14350 return 0;
14351 }
14352 _ACEOF
14353 rm -f conftest.$ac_objext
14354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14355 (eval $ac_compile) 2>conftest.er1
14356 ac_status=$?
14357 grep -v '^ *+' conftest.er1 >conftest.err
14358 rm -f conftest.er1
14359 cat conftest.err >&5
14360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14361 (exit $ac_status); } &&
14362 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14364 (eval $ac_try) 2>&5
14365 ac_status=$?
14366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14367 (exit $ac_status); }; } &&
14368 { ac_try='test -s conftest.$ac_objext'
14369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14370 (eval $ac_try) 2>&5
14371 ac_status=$?
14372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14373 (exit $ac_status); }; }; then
14374 ac_lo=0 ac_mid=0
14375 while :; do
14376 cat >conftest.$ac_ext <<_ACEOF
14377 /* confdefs.h. */
14378 _ACEOF
14379 cat confdefs.h >>conftest.$ac_ext
14380 cat >>conftest.$ac_ext <<_ACEOF
14381 /* end confdefs.h. */
14382 $ac_includes_default
14383 int
14384 main ()
14385 {
14386 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14387 test_array [0] = 0
14388
14389 ;
14390 return 0;
14391 }
14392 _ACEOF
14393 rm -f conftest.$ac_objext
14394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14395 (eval $ac_compile) 2>conftest.er1
14396 ac_status=$?
14397 grep -v '^ *+' conftest.er1 >conftest.err
14398 rm -f conftest.er1
14399 cat conftest.err >&5
14400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14401 (exit $ac_status); } &&
14402 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14404 (eval $ac_try) 2>&5
14405 ac_status=$?
14406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14407 (exit $ac_status); }; } &&
14408 { ac_try='test -s conftest.$ac_objext'
14409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14410 (eval $ac_try) 2>&5
14411 ac_status=$?
14412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14413 (exit $ac_status); }; }; then
14414 ac_hi=$ac_mid; break
14415 else
14416 echo "$as_me: failed program was:" >&5
14417 sed 's/^/| /' conftest.$ac_ext >&5
14418
14419 ac_lo=`expr $ac_mid + 1`
14420 if test $ac_lo -le $ac_mid; then
14421 ac_lo= ac_hi=
14422 break
14423 fi
14424 ac_mid=`expr 2 '*' $ac_mid + 1`
14425 fi
14426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14427 done
14428 else
14429 echo "$as_me: failed program was:" >&5
14430 sed 's/^/| /' conftest.$ac_ext >&5
14431
14432 cat >conftest.$ac_ext <<_ACEOF
14433 /* confdefs.h. */
14434 _ACEOF
14435 cat confdefs.h >>conftest.$ac_ext
14436 cat >>conftest.$ac_ext <<_ACEOF
14437 /* end confdefs.h. */
14438 $ac_includes_default
14439 int
14440 main ()
14441 {
14442 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14443 test_array [0] = 0
14444
14445 ;
14446 return 0;
14447 }
14448 _ACEOF
14449 rm -f conftest.$ac_objext
14450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14451 (eval $ac_compile) 2>conftest.er1
14452 ac_status=$?
14453 grep -v '^ *+' conftest.er1 >conftest.err
14454 rm -f conftest.er1
14455 cat conftest.err >&5
14456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14457 (exit $ac_status); } &&
14458 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14460 (eval $ac_try) 2>&5
14461 ac_status=$?
14462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14463 (exit $ac_status); }; } &&
14464 { ac_try='test -s conftest.$ac_objext'
14465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14466 (eval $ac_try) 2>&5
14467 ac_status=$?
14468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14469 (exit $ac_status); }; }; then
14470 ac_hi=-1 ac_mid=-1
14471 while :; do
14472 cat >conftest.$ac_ext <<_ACEOF
14473 /* confdefs.h. */
14474 _ACEOF
14475 cat confdefs.h >>conftest.$ac_ext
14476 cat >>conftest.$ac_ext <<_ACEOF
14477 /* end confdefs.h. */
14478 $ac_includes_default
14479 int
14480 main ()
14481 {
14482 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14483 test_array [0] = 0
14484
14485 ;
14486 return 0;
14487 }
14488 _ACEOF
14489 rm -f conftest.$ac_objext
14490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14491 (eval $ac_compile) 2>conftest.er1
14492 ac_status=$?
14493 grep -v '^ *+' conftest.er1 >conftest.err
14494 rm -f conftest.er1
14495 cat conftest.err >&5
14496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14497 (exit $ac_status); } &&
14498 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14500 (eval $ac_try) 2>&5
14501 ac_status=$?
14502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14503 (exit $ac_status); }; } &&
14504 { ac_try='test -s conftest.$ac_objext'
14505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14506 (eval $ac_try) 2>&5
14507 ac_status=$?
14508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14509 (exit $ac_status); }; }; then
14510 ac_lo=$ac_mid; break
14511 else
14512 echo "$as_me: failed program was:" >&5
14513 sed 's/^/| /' conftest.$ac_ext >&5
14514
14515 ac_hi=`expr '(' $ac_mid ')' - 1`
14516 if test $ac_mid -le $ac_hi; then
14517 ac_lo= ac_hi=
14518 break
14519 fi
14520 ac_mid=`expr 2 '*' $ac_mid`
14521 fi
14522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14523 done
14524 else
14525 echo "$as_me: failed program was:" >&5
14526 sed 's/^/| /' conftest.$ac_ext >&5
14527
14528 ac_lo= ac_hi=
14529 fi
14530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14531 fi
14532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14533 # Binary search between lo and hi bounds.
14534 while test "x$ac_lo" != "x$ac_hi"; do
14535 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14536 cat >conftest.$ac_ext <<_ACEOF
14537 /* confdefs.h. */
14538 _ACEOF
14539 cat confdefs.h >>conftest.$ac_ext
14540 cat >>conftest.$ac_ext <<_ACEOF
14541 /* end confdefs.h. */
14542 $ac_includes_default
14543 int
14544 main ()
14545 {
14546 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14547 test_array [0] = 0
14548
14549 ;
14550 return 0;
14551 }
14552 _ACEOF
14553 rm -f conftest.$ac_objext
14554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14555 (eval $ac_compile) 2>conftest.er1
14556 ac_status=$?
14557 grep -v '^ *+' conftest.er1 >conftest.err
14558 rm -f conftest.er1
14559 cat conftest.err >&5
14560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14561 (exit $ac_status); } &&
14562 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14564 (eval $ac_try) 2>&5
14565 ac_status=$?
14566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14567 (exit $ac_status); }; } &&
14568 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
14574 ac_hi=$ac_mid
14575 else
14576 echo "$as_me: failed program was:" >&5
14577 sed 's/^/| /' conftest.$ac_ext >&5
14578
14579 ac_lo=`expr '(' $ac_mid ')' + 1`
14580 fi
14581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14582 done
14583 case $ac_lo in
14584 ?*) ac_cv_sizeof_char=$ac_lo;;
14585 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14586 See \`config.log' for more details." >&5
14587 echo "$as_me: error: cannot compute sizeof (char), 77
14588 See \`config.log' for more details." >&2;}
14589 { (exit 1); exit 1; }; } ;;
14590 esac
14591 else
14592 if test "$cross_compiling" = yes; then
14593 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
14594 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
14595 { (exit 1); exit 1; }; }
14596 else
14597 cat >conftest.$ac_ext <<_ACEOF
14598 /* confdefs.h. */
14599 _ACEOF
14600 cat confdefs.h >>conftest.$ac_ext
14601 cat >>conftest.$ac_ext <<_ACEOF
14602 /* end confdefs.h. */
14603 $ac_includes_default
14604 long longval () { return (long) (sizeof (char)); }
14605 unsigned long ulongval () { return (long) (sizeof (char)); }
14606 #include <stdio.h>
14607 #include <stdlib.h>
14608 int
14609 main ()
14610 {
14611
14612 FILE *f = fopen ("conftest.val", "w");
14613 if (! f)
14614 exit (1);
14615 if (((long) (sizeof (char))) < 0)
14616 {
14617 long i = longval ();
14618 if (i != ((long) (sizeof (char))))
14619 exit (1);
14620 fprintf (f, "%ld\n", i);
14621 }
14622 else
14623 {
14624 unsigned long i = ulongval ();
14625 if (i != ((long) (sizeof (char))))
14626 exit (1);
14627 fprintf (f, "%lu\n", i);
14628 }
14629 exit (ferror (f) || fclose (f) != 0);
14630
14631 ;
14632 return 0;
14633 }
14634 _ACEOF
14635 rm -f conftest$ac_exeext
14636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14637 (eval $ac_link) 2>&5
14638 ac_status=$?
14639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14640 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14642 (eval $ac_try) 2>&5
14643 ac_status=$?
14644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14645 (exit $ac_status); }; }; then
14646 ac_cv_sizeof_char=`cat conftest.val`
14647 else
14648 echo "$as_me: program exited with status $ac_status" >&5
14649 echo "$as_me: failed program was:" >&5
14650 sed 's/^/| /' conftest.$ac_ext >&5
14651
14652 ( exit $ac_status )
14653 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14654 See \`config.log' for more details." >&5
14655 echo "$as_me: error: cannot compute sizeof (char), 77
14656 See \`config.log' for more details." >&2;}
14657 { (exit 1); exit 1; }; }
14658 fi
14659 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14660 fi
14661 fi
14662 rm -f conftest.val
14663 else
14664 ac_cv_sizeof_char=0
14665 fi
14666 fi
14667 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14668 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14669 cat >>confdefs.h <<_ACEOF
14670 #define SIZEOF_CHAR $ac_cv_sizeof_char
14671 _ACEOF
14672
14673
14674 echo "$as_me:$LINENO: checking for short" >&5
14675 echo $ECHO_N "checking for short... $ECHO_C" >&6
14676 if test "${ac_cv_type_short+set}" = set; then
14677 echo $ECHO_N "(cached) $ECHO_C" >&6
14678 else
14679 cat >conftest.$ac_ext <<_ACEOF
14680 /* confdefs.h. */
14681 _ACEOF
14682 cat confdefs.h >>conftest.$ac_ext
14683 cat >>conftest.$ac_ext <<_ACEOF
14684 /* end confdefs.h. */
14685 $ac_includes_default
14686 int
14687 main ()
14688 {
14689 if ((short *) 0)
14690 return 0;
14691 if (sizeof (short))
14692 return 0;
14693 ;
14694 return 0;
14695 }
14696 _ACEOF
14697 rm -f conftest.$ac_objext
14698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14699 (eval $ac_compile) 2>conftest.er1
14700 ac_status=$?
14701 grep -v '^ *+' conftest.er1 >conftest.err
14702 rm -f conftest.er1
14703 cat conftest.err >&5
14704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14705 (exit $ac_status); } &&
14706 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14708 (eval $ac_try) 2>&5
14709 ac_status=$?
14710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14711 (exit $ac_status); }; } &&
14712 { ac_try='test -s conftest.$ac_objext'
14713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14714 (eval $ac_try) 2>&5
14715 ac_status=$?
14716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14717 (exit $ac_status); }; }; then
14718 ac_cv_type_short=yes
14719 else
14720 echo "$as_me: failed program was:" >&5
14721 sed 's/^/| /' conftest.$ac_ext >&5
14722
14723 ac_cv_type_short=no
14724 fi
14725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14726 fi
14727 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14728 echo "${ECHO_T}$ac_cv_type_short" >&6
14729
14730 echo "$as_me:$LINENO: checking size of short" >&5
14731 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14732 if test "${ac_cv_sizeof_short+set}" = set; then
14733 echo $ECHO_N "(cached) $ECHO_C" >&6
14734 else
14735 if test "$ac_cv_type_short" = yes; then
14736 # The cast to unsigned long works around a bug in the HP C Compiler
14737 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14738 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14739 # This bug is HP SR number 8606223364.
14740 if test "$cross_compiling" = yes; then
14741 # Depending upon the size, compute the lo and hi bounds.
14742 cat >conftest.$ac_ext <<_ACEOF
14743 /* confdefs.h. */
14744 _ACEOF
14745 cat confdefs.h >>conftest.$ac_ext
14746 cat >>conftest.$ac_ext <<_ACEOF
14747 /* end confdefs.h. */
14748 $ac_includes_default
14749 int
14750 main ()
14751 {
14752 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14753 test_array [0] = 0
14754
14755 ;
14756 return 0;
14757 }
14758 _ACEOF
14759 rm -f conftest.$ac_objext
14760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14761 (eval $ac_compile) 2>conftest.er1
14762 ac_status=$?
14763 grep -v '^ *+' conftest.er1 >conftest.err
14764 rm -f conftest.er1
14765 cat conftest.err >&5
14766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14767 (exit $ac_status); } &&
14768 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14770 (eval $ac_try) 2>&5
14771 ac_status=$?
14772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14773 (exit $ac_status); }; } &&
14774 { ac_try='test -s conftest.$ac_objext'
14775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14776 (eval $ac_try) 2>&5
14777 ac_status=$?
14778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14779 (exit $ac_status); }; }; then
14780 ac_lo=0 ac_mid=0
14781 while :; do
14782 cat >conftest.$ac_ext <<_ACEOF
14783 /* confdefs.h. */
14784 _ACEOF
14785 cat confdefs.h >>conftest.$ac_ext
14786 cat >>conftest.$ac_ext <<_ACEOF
14787 /* end confdefs.h. */
14788 $ac_includes_default
14789 int
14790 main ()
14791 {
14792 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14793 test_array [0] = 0
14794
14795 ;
14796 return 0;
14797 }
14798 _ACEOF
14799 rm -f conftest.$ac_objext
14800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14801 (eval $ac_compile) 2>conftest.er1
14802 ac_status=$?
14803 grep -v '^ *+' conftest.er1 >conftest.err
14804 rm -f conftest.er1
14805 cat conftest.err >&5
14806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14807 (exit $ac_status); } &&
14808 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14810 (eval $ac_try) 2>&5
14811 ac_status=$?
14812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813 (exit $ac_status); }; } &&
14814 { ac_try='test -s conftest.$ac_objext'
14815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14816 (eval $ac_try) 2>&5
14817 ac_status=$?
14818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14819 (exit $ac_status); }; }; then
14820 ac_hi=$ac_mid; break
14821 else
14822 echo "$as_me: failed program was:" >&5
14823 sed 's/^/| /' conftest.$ac_ext >&5
14824
14825 ac_lo=`expr $ac_mid + 1`
14826 if test $ac_lo -le $ac_mid; then
14827 ac_lo= ac_hi=
14828 break
14829 fi
14830 ac_mid=`expr 2 '*' $ac_mid + 1`
14831 fi
14832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14833 done
14834 else
14835 echo "$as_me: failed program was:" >&5
14836 sed 's/^/| /' conftest.$ac_ext >&5
14837
14838 cat >conftest.$ac_ext <<_ACEOF
14839 /* confdefs.h. */
14840 _ACEOF
14841 cat confdefs.h >>conftest.$ac_ext
14842 cat >>conftest.$ac_ext <<_ACEOF
14843 /* end confdefs.h. */
14844 $ac_includes_default
14845 int
14846 main ()
14847 {
14848 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14849 test_array [0] = 0
14850
14851 ;
14852 return 0;
14853 }
14854 _ACEOF
14855 rm -f conftest.$ac_objext
14856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14857 (eval $ac_compile) 2>conftest.er1
14858 ac_status=$?
14859 grep -v '^ *+' conftest.er1 >conftest.err
14860 rm -f conftest.er1
14861 cat conftest.err >&5
14862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14863 (exit $ac_status); } &&
14864 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14866 (eval $ac_try) 2>&5
14867 ac_status=$?
14868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14869 (exit $ac_status); }; } &&
14870 { ac_try='test -s conftest.$ac_objext'
14871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14872 (eval $ac_try) 2>&5
14873 ac_status=$?
14874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14875 (exit $ac_status); }; }; then
14876 ac_hi=-1 ac_mid=-1
14877 while :; do
14878 cat >conftest.$ac_ext <<_ACEOF
14879 /* confdefs.h. */
14880 _ACEOF
14881 cat confdefs.h >>conftest.$ac_ext
14882 cat >>conftest.$ac_ext <<_ACEOF
14883 /* end confdefs.h. */
14884 $ac_includes_default
14885 int
14886 main ()
14887 {
14888 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14889 test_array [0] = 0
14890
14891 ;
14892 return 0;
14893 }
14894 _ACEOF
14895 rm -f conftest.$ac_objext
14896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14897 (eval $ac_compile) 2>conftest.er1
14898 ac_status=$?
14899 grep -v '^ *+' conftest.er1 >conftest.err
14900 rm -f conftest.er1
14901 cat conftest.err >&5
14902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14903 (exit $ac_status); } &&
14904 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14906 (eval $ac_try) 2>&5
14907 ac_status=$?
14908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14909 (exit $ac_status); }; } &&
14910 { ac_try='test -s conftest.$ac_objext'
14911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14912 (eval $ac_try) 2>&5
14913 ac_status=$?
14914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14915 (exit $ac_status); }; }; then
14916 ac_lo=$ac_mid; break
14917 else
14918 echo "$as_me: failed program was:" >&5
14919 sed 's/^/| /' conftest.$ac_ext >&5
14920
14921 ac_hi=`expr '(' $ac_mid ')' - 1`
14922 if test $ac_mid -le $ac_hi; then
14923 ac_lo= ac_hi=
14924 break
14925 fi
14926 ac_mid=`expr 2 '*' $ac_mid`
14927 fi
14928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14929 done
14930 else
14931 echo "$as_me: failed program was:" >&5
14932 sed 's/^/| /' conftest.$ac_ext >&5
14933
14934 ac_lo= ac_hi=
14935 fi
14936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14937 fi
14938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14939 # Binary search between lo and hi bounds.
14940 while test "x$ac_lo" != "x$ac_hi"; do
14941 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14942 cat >conftest.$ac_ext <<_ACEOF
14943 /* confdefs.h. */
14944 _ACEOF
14945 cat confdefs.h >>conftest.$ac_ext
14946 cat >>conftest.$ac_ext <<_ACEOF
14947 /* end confdefs.h. */
14948 $ac_includes_default
14949 int
14950 main ()
14951 {
14952 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14953 test_array [0] = 0
14954
14955 ;
14956 return 0;
14957 }
14958 _ACEOF
14959 rm -f conftest.$ac_objext
14960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14961 (eval $ac_compile) 2>conftest.er1
14962 ac_status=$?
14963 grep -v '^ *+' conftest.er1 >conftest.err
14964 rm -f conftest.er1
14965 cat conftest.err >&5
14966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14967 (exit $ac_status); } &&
14968 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14970 (eval $ac_try) 2>&5
14971 ac_status=$?
14972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14973 (exit $ac_status); }; } &&
14974 { ac_try='test -s conftest.$ac_objext'
14975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14976 (eval $ac_try) 2>&5
14977 ac_status=$?
14978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14979 (exit $ac_status); }; }; then
14980 ac_hi=$ac_mid
14981 else
14982 echo "$as_me: failed program was:" >&5
14983 sed 's/^/| /' conftest.$ac_ext >&5
14984
14985 ac_lo=`expr '(' $ac_mid ')' + 1`
14986 fi
14987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14988 done
14989 case $ac_lo in
14990 ?*) ac_cv_sizeof_short=$ac_lo;;
14991 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14992 See \`config.log' for more details." >&5
14993 echo "$as_me: error: cannot compute sizeof (short), 77
14994 See \`config.log' for more details." >&2;}
14995 { (exit 1); exit 1; }; } ;;
14996 esac
14997 else
14998 if test "$cross_compiling" = yes; then
14999 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15000 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15001 { (exit 1); exit 1; }; }
15002 else
15003 cat >conftest.$ac_ext <<_ACEOF
15004 /* confdefs.h. */
15005 _ACEOF
15006 cat confdefs.h >>conftest.$ac_ext
15007 cat >>conftest.$ac_ext <<_ACEOF
15008 /* end confdefs.h. */
15009 $ac_includes_default
15010 long longval () { return (long) (sizeof (short)); }
15011 unsigned long ulongval () { return (long) (sizeof (short)); }
15012 #include <stdio.h>
15013 #include <stdlib.h>
15014 int
15015 main ()
15016 {
15017
15018 FILE *f = fopen ("conftest.val", "w");
15019 if (! f)
15020 exit (1);
15021 if (((long) (sizeof (short))) < 0)
15022 {
15023 long i = longval ();
15024 if (i != ((long) (sizeof (short))))
15025 exit (1);
15026 fprintf (f, "%ld\n", i);
15027 }
15028 else
15029 {
15030 unsigned long i = ulongval ();
15031 if (i != ((long) (sizeof (short))))
15032 exit (1);
15033 fprintf (f, "%lu\n", i);
15034 }
15035 exit (ferror (f) || fclose (f) != 0);
15036
15037 ;
15038 return 0;
15039 }
15040 _ACEOF
15041 rm -f conftest$ac_exeext
15042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15043 (eval $ac_link) 2>&5
15044 ac_status=$?
15045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15046 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15048 (eval $ac_try) 2>&5
15049 ac_status=$?
15050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15051 (exit $ac_status); }; }; then
15052 ac_cv_sizeof_short=`cat conftest.val`
15053 else
15054 echo "$as_me: program exited with status $ac_status" >&5
15055 echo "$as_me: failed program was:" >&5
15056 sed 's/^/| /' conftest.$ac_ext >&5
15057
15058 ( exit $ac_status )
15059 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15060 See \`config.log' for more details." >&5
15061 echo "$as_me: error: cannot compute sizeof (short), 77
15062 See \`config.log' for more details." >&2;}
15063 { (exit 1); exit 1; }; }
15064 fi
15065 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15066 fi
15067 fi
15068 rm -f conftest.val
15069 else
15070 ac_cv_sizeof_short=0
15071 fi
15072 fi
15073 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15074 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15075 cat >>confdefs.h <<_ACEOF
15076 #define SIZEOF_SHORT $ac_cv_sizeof_short
15077 _ACEOF
15078
15079
15080 echo "$as_me:$LINENO: checking for void *" >&5
15081 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15082 if test "${ac_cv_type_void_p+set}" = set; then
15083 echo $ECHO_N "(cached) $ECHO_C" >&6
15084 else
15085 cat >conftest.$ac_ext <<_ACEOF
15086 /* confdefs.h. */
15087 _ACEOF
15088 cat confdefs.h >>conftest.$ac_ext
15089 cat >>conftest.$ac_ext <<_ACEOF
15090 /* end confdefs.h. */
15091 $ac_includes_default
15092 int
15093 main ()
15094 {
15095 if ((void * *) 0)
15096 return 0;
15097 if (sizeof (void *))
15098 return 0;
15099 ;
15100 return 0;
15101 }
15102 _ACEOF
15103 rm -f conftest.$ac_objext
15104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15105 (eval $ac_compile) 2>conftest.er1
15106 ac_status=$?
15107 grep -v '^ *+' conftest.er1 >conftest.err
15108 rm -f conftest.er1
15109 cat conftest.err >&5
15110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15111 (exit $ac_status); } &&
15112 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15114 (eval $ac_try) 2>&5
15115 ac_status=$?
15116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15117 (exit $ac_status); }; } &&
15118 { ac_try='test -s conftest.$ac_objext'
15119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15120 (eval $ac_try) 2>&5
15121 ac_status=$?
15122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15123 (exit $ac_status); }; }; then
15124 ac_cv_type_void_p=yes
15125 else
15126 echo "$as_me: failed program was:" >&5
15127 sed 's/^/| /' conftest.$ac_ext >&5
15128
15129 ac_cv_type_void_p=no
15130 fi
15131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15132 fi
15133 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15134 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15135
15136 echo "$as_me:$LINENO: checking size of void *" >&5
15137 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15138 if test "${ac_cv_sizeof_void_p+set}" = set; then
15139 echo $ECHO_N "(cached) $ECHO_C" >&6
15140 else
15141 if test "$ac_cv_type_void_p" = yes; then
15142 # The cast to unsigned long works around a bug in the HP C Compiler
15143 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15144 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15145 # This bug is HP SR number 8606223364.
15146 if test "$cross_compiling" = yes; then
15147 # Depending upon the size, compute the lo and hi bounds.
15148 cat >conftest.$ac_ext <<_ACEOF
15149 /* confdefs.h. */
15150 _ACEOF
15151 cat confdefs.h >>conftest.$ac_ext
15152 cat >>conftest.$ac_ext <<_ACEOF
15153 /* end confdefs.h. */
15154 $ac_includes_default
15155 int
15156 main ()
15157 {
15158 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15159 test_array [0] = 0
15160
15161 ;
15162 return 0;
15163 }
15164 _ACEOF
15165 rm -f conftest.$ac_objext
15166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15167 (eval $ac_compile) 2>conftest.er1
15168 ac_status=$?
15169 grep -v '^ *+' conftest.er1 >conftest.err
15170 rm -f conftest.er1
15171 cat conftest.err >&5
15172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15173 (exit $ac_status); } &&
15174 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15176 (eval $ac_try) 2>&5
15177 ac_status=$?
15178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15179 (exit $ac_status); }; } &&
15180 { ac_try='test -s conftest.$ac_objext'
15181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15182 (eval $ac_try) 2>&5
15183 ac_status=$?
15184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15185 (exit $ac_status); }; }; then
15186 ac_lo=0 ac_mid=0
15187 while :; do
15188 cat >conftest.$ac_ext <<_ACEOF
15189 /* confdefs.h. */
15190 _ACEOF
15191 cat confdefs.h >>conftest.$ac_ext
15192 cat >>conftest.$ac_ext <<_ACEOF
15193 /* end confdefs.h. */
15194 $ac_includes_default
15195 int
15196 main ()
15197 {
15198 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15199 test_array [0] = 0
15200
15201 ;
15202 return 0;
15203 }
15204 _ACEOF
15205 rm -f conftest.$ac_objext
15206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15207 (eval $ac_compile) 2>conftest.er1
15208 ac_status=$?
15209 grep -v '^ *+' conftest.er1 >conftest.err
15210 rm -f conftest.er1
15211 cat conftest.err >&5
15212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15213 (exit $ac_status); } &&
15214 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15216 (eval $ac_try) 2>&5
15217 ac_status=$?
15218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219 (exit $ac_status); }; } &&
15220 { ac_try='test -s conftest.$ac_objext'
15221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15222 (eval $ac_try) 2>&5
15223 ac_status=$?
15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 (exit $ac_status); }; }; then
15226 ac_hi=$ac_mid; break
15227 else
15228 echo "$as_me: failed program was:" >&5
15229 sed 's/^/| /' conftest.$ac_ext >&5
15230
15231 ac_lo=`expr $ac_mid + 1`
15232 if test $ac_lo -le $ac_mid; then
15233 ac_lo= ac_hi=
15234 break
15235 fi
15236 ac_mid=`expr 2 '*' $ac_mid + 1`
15237 fi
15238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15239 done
15240 else
15241 echo "$as_me: failed program was:" >&5
15242 sed 's/^/| /' conftest.$ac_ext >&5
15243
15244 cat >conftest.$ac_ext <<_ACEOF
15245 /* confdefs.h. */
15246 _ACEOF
15247 cat confdefs.h >>conftest.$ac_ext
15248 cat >>conftest.$ac_ext <<_ACEOF
15249 /* end confdefs.h. */
15250 $ac_includes_default
15251 int
15252 main ()
15253 {
15254 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15255 test_array [0] = 0
15256
15257 ;
15258 return 0;
15259 }
15260 _ACEOF
15261 rm -f conftest.$ac_objext
15262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15263 (eval $ac_compile) 2>conftest.er1
15264 ac_status=$?
15265 grep -v '^ *+' conftest.er1 >conftest.err
15266 rm -f conftest.er1
15267 cat conftest.err >&5
15268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15269 (exit $ac_status); } &&
15270 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15272 (eval $ac_try) 2>&5
15273 ac_status=$?
15274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15275 (exit $ac_status); }; } &&
15276 { ac_try='test -s conftest.$ac_objext'
15277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15278 (eval $ac_try) 2>&5
15279 ac_status=$?
15280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15281 (exit $ac_status); }; }; then
15282 ac_hi=-1 ac_mid=-1
15283 while :; do
15284 cat >conftest.$ac_ext <<_ACEOF
15285 /* confdefs.h. */
15286 _ACEOF
15287 cat confdefs.h >>conftest.$ac_ext
15288 cat >>conftest.$ac_ext <<_ACEOF
15289 /* end confdefs.h. */
15290 $ac_includes_default
15291 int
15292 main ()
15293 {
15294 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15295 test_array [0] = 0
15296
15297 ;
15298 return 0;
15299 }
15300 _ACEOF
15301 rm -f conftest.$ac_objext
15302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15303 (eval $ac_compile) 2>conftest.er1
15304 ac_status=$?
15305 grep -v '^ *+' conftest.er1 >conftest.err
15306 rm -f conftest.er1
15307 cat conftest.err >&5
15308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15309 (exit $ac_status); } &&
15310 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15312 (eval $ac_try) 2>&5
15313 ac_status=$?
15314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15315 (exit $ac_status); }; } &&
15316 { ac_try='test -s conftest.$ac_objext'
15317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15318 (eval $ac_try) 2>&5
15319 ac_status=$?
15320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15321 (exit $ac_status); }; }; then
15322 ac_lo=$ac_mid; break
15323 else
15324 echo "$as_me: failed program was:" >&5
15325 sed 's/^/| /' conftest.$ac_ext >&5
15326
15327 ac_hi=`expr '(' $ac_mid ')' - 1`
15328 if test $ac_mid -le $ac_hi; then
15329 ac_lo= ac_hi=
15330 break
15331 fi
15332 ac_mid=`expr 2 '*' $ac_mid`
15333 fi
15334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15335 done
15336 else
15337 echo "$as_me: failed program was:" >&5
15338 sed 's/^/| /' conftest.$ac_ext >&5
15339
15340 ac_lo= ac_hi=
15341 fi
15342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15343 fi
15344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15345 # Binary search between lo and hi bounds.
15346 while test "x$ac_lo" != "x$ac_hi"; do
15347 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15348 cat >conftest.$ac_ext <<_ACEOF
15349 /* confdefs.h. */
15350 _ACEOF
15351 cat confdefs.h >>conftest.$ac_ext
15352 cat >>conftest.$ac_ext <<_ACEOF
15353 /* end confdefs.h. */
15354 $ac_includes_default
15355 int
15356 main ()
15357 {
15358 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15359 test_array [0] = 0
15360
15361 ;
15362 return 0;
15363 }
15364 _ACEOF
15365 rm -f conftest.$ac_objext
15366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15367 (eval $ac_compile) 2>conftest.er1
15368 ac_status=$?
15369 grep -v '^ *+' conftest.er1 >conftest.err
15370 rm -f conftest.er1
15371 cat conftest.err >&5
15372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15373 (exit $ac_status); } &&
15374 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15376 (eval $ac_try) 2>&5
15377 ac_status=$?
15378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15379 (exit $ac_status); }; } &&
15380 { ac_try='test -s conftest.$ac_objext'
15381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15382 (eval $ac_try) 2>&5
15383 ac_status=$?
15384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15385 (exit $ac_status); }; }; then
15386 ac_hi=$ac_mid
15387 else
15388 echo "$as_me: failed program was:" >&5
15389 sed 's/^/| /' conftest.$ac_ext >&5
15390
15391 ac_lo=`expr '(' $ac_mid ')' + 1`
15392 fi
15393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15394 done
15395 case $ac_lo in
15396 ?*) ac_cv_sizeof_void_p=$ac_lo;;
15397 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15398 See \`config.log' for more details." >&5
15399 echo "$as_me: error: cannot compute sizeof (void *), 77
15400 See \`config.log' for more details." >&2;}
15401 { (exit 1); exit 1; }; } ;;
15402 esac
15403 else
15404 if test "$cross_compiling" = yes; then
15405 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15406 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15407 { (exit 1); exit 1; }; }
15408 else
15409 cat >conftest.$ac_ext <<_ACEOF
15410 /* confdefs.h. */
15411 _ACEOF
15412 cat confdefs.h >>conftest.$ac_ext
15413 cat >>conftest.$ac_ext <<_ACEOF
15414 /* end confdefs.h. */
15415 $ac_includes_default
15416 long longval () { return (long) (sizeof (void *)); }
15417 unsigned long ulongval () { return (long) (sizeof (void *)); }
15418 #include <stdio.h>
15419 #include <stdlib.h>
15420 int
15421 main ()
15422 {
15423
15424 FILE *f = fopen ("conftest.val", "w");
15425 if (! f)
15426 exit (1);
15427 if (((long) (sizeof (void *))) < 0)
15428 {
15429 long i = longval ();
15430 if (i != ((long) (sizeof (void *))))
15431 exit (1);
15432 fprintf (f, "%ld\n", i);
15433 }
15434 else
15435 {
15436 unsigned long i = ulongval ();
15437 if (i != ((long) (sizeof (void *))))
15438 exit (1);
15439 fprintf (f, "%lu\n", i);
15440 }
15441 exit (ferror (f) || fclose (f) != 0);
15442
15443 ;
15444 return 0;
15445 }
15446 _ACEOF
15447 rm -f conftest$ac_exeext
15448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15449 (eval $ac_link) 2>&5
15450 ac_status=$?
15451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15452 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15454 (eval $ac_try) 2>&5
15455 ac_status=$?
15456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15457 (exit $ac_status); }; }; then
15458 ac_cv_sizeof_void_p=`cat conftest.val`
15459 else
15460 echo "$as_me: program exited with status $ac_status" >&5
15461 echo "$as_me: failed program was:" >&5
15462 sed 's/^/| /' conftest.$ac_ext >&5
15463
15464 ( exit $ac_status )
15465 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15466 See \`config.log' for more details." >&5
15467 echo "$as_me: error: cannot compute sizeof (void *), 77
15468 See \`config.log' for more details." >&2;}
15469 { (exit 1); exit 1; }; }
15470 fi
15471 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15472 fi
15473 fi
15474 rm -f conftest.val
15475 else
15476 ac_cv_sizeof_void_p=0
15477 fi
15478 fi
15479 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15480 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15481 cat >>confdefs.h <<_ACEOF
15482 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15483 _ACEOF
15484
15485
15486 echo "$as_me:$LINENO: checking for int" >&5
15487 echo $ECHO_N "checking for int... $ECHO_C" >&6
15488 if test "${ac_cv_type_int+set}" = set; then
15489 echo $ECHO_N "(cached) $ECHO_C" >&6
15490 else
15491 cat >conftest.$ac_ext <<_ACEOF
15492 /* confdefs.h. */
15493 _ACEOF
15494 cat confdefs.h >>conftest.$ac_ext
15495 cat >>conftest.$ac_ext <<_ACEOF
15496 /* end confdefs.h. */
15497 $ac_includes_default
15498 int
15499 main ()
15500 {
15501 if ((int *) 0)
15502 return 0;
15503 if (sizeof (int))
15504 return 0;
15505 ;
15506 return 0;
15507 }
15508 _ACEOF
15509 rm -f conftest.$ac_objext
15510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15511 (eval $ac_compile) 2>conftest.er1
15512 ac_status=$?
15513 grep -v '^ *+' conftest.er1 >conftest.err
15514 rm -f conftest.er1
15515 cat conftest.err >&5
15516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15517 (exit $ac_status); } &&
15518 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15520 (eval $ac_try) 2>&5
15521 ac_status=$?
15522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15523 (exit $ac_status); }; } &&
15524 { ac_try='test -s conftest.$ac_objext'
15525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15526 (eval $ac_try) 2>&5
15527 ac_status=$?
15528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15529 (exit $ac_status); }; }; then
15530 ac_cv_type_int=yes
15531 else
15532 echo "$as_me: failed program was:" >&5
15533 sed 's/^/| /' conftest.$ac_ext >&5
15534
15535 ac_cv_type_int=no
15536 fi
15537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15538 fi
15539 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15540 echo "${ECHO_T}$ac_cv_type_int" >&6
15541
15542 echo "$as_me:$LINENO: checking size of int" >&5
15543 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15544 if test "${ac_cv_sizeof_int+set}" = set; then
15545 echo $ECHO_N "(cached) $ECHO_C" >&6
15546 else
15547 if test "$ac_cv_type_int" = yes; then
15548 # The cast to unsigned long works around a bug in the HP C Compiler
15549 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15550 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15551 # This bug is HP SR number 8606223364.
15552 if test "$cross_compiling" = yes; then
15553 # Depending upon the size, compute the lo and hi bounds.
15554 cat >conftest.$ac_ext <<_ACEOF
15555 /* confdefs.h. */
15556 _ACEOF
15557 cat confdefs.h >>conftest.$ac_ext
15558 cat >>conftest.$ac_ext <<_ACEOF
15559 /* end confdefs.h. */
15560 $ac_includes_default
15561 int
15562 main ()
15563 {
15564 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15565 test_array [0] = 0
15566
15567 ;
15568 return 0;
15569 }
15570 _ACEOF
15571 rm -f conftest.$ac_objext
15572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15573 (eval $ac_compile) 2>conftest.er1
15574 ac_status=$?
15575 grep -v '^ *+' conftest.er1 >conftest.err
15576 rm -f conftest.er1
15577 cat conftest.err >&5
15578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15579 (exit $ac_status); } &&
15580 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15582 (eval $ac_try) 2>&5
15583 ac_status=$?
15584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15585 (exit $ac_status); }; } &&
15586 { ac_try='test -s conftest.$ac_objext'
15587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15588 (eval $ac_try) 2>&5
15589 ac_status=$?
15590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15591 (exit $ac_status); }; }; then
15592 ac_lo=0 ac_mid=0
15593 while :; do
15594 cat >conftest.$ac_ext <<_ACEOF
15595 /* confdefs.h. */
15596 _ACEOF
15597 cat confdefs.h >>conftest.$ac_ext
15598 cat >>conftest.$ac_ext <<_ACEOF
15599 /* end confdefs.h. */
15600 $ac_includes_default
15601 int
15602 main ()
15603 {
15604 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15605 test_array [0] = 0
15606
15607 ;
15608 return 0;
15609 }
15610 _ACEOF
15611 rm -f conftest.$ac_objext
15612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15613 (eval $ac_compile) 2>conftest.er1
15614 ac_status=$?
15615 grep -v '^ *+' conftest.er1 >conftest.err
15616 rm -f conftest.er1
15617 cat conftest.err >&5
15618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15619 (exit $ac_status); } &&
15620 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15622 (eval $ac_try) 2>&5
15623 ac_status=$?
15624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15625 (exit $ac_status); }; } &&
15626 { ac_try='test -s conftest.$ac_objext'
15627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15628 (eval $ac_try) 2>&5
15629 ac_status=$?
15630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15631 (exit $ac_status); }; }; then
15632 ac_hi=$ac_mid; break
15633 else
15634 echo "$as_me: failed program was:" >&5
15635 sed 's/^/| /' conftest.$ac_ext >&5
15636
15637 ac_lo=`expr $ac_mid + 1`
15638 if test $ac_lo -le $ac_mid; then
15639 ac_lo= ac_hi=
15640 break
15641 fi
15642 ac_mid=`expr 2 '*' $ac_mid + 1`
15643 fi
15644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15645 done
15646 else
15647 echo "$as_me: failed program was:" >&5
15648 sed 's/^/| /' conftest.$ac_ext >&5
15649
15650 cat >conftest.$ac_ext <<_ACEOF
15651 /* confdefs.h. */
15652 _ACEOF
15653 cat confdefs.h >>conftest.$ac_ext
15654 cat >>conftest.$ac_ext <<_ACEOF
15655 /* end confdefs.h. */
15656 $ac_includes_default
15657 int
15658 main ()
15659 {
15660 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15661 test_array [0] = 0
15662
15663 ;
15664 return 0;
15665 }
15666 _ACEOF
15667 rm -f conftest.$ac_objext
15668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15669 (eval $ac_compile) 2>conftest.er1
15670 ac_status=$?
15671 grep -v '^ *+' conftest.er1 >conftest.err
15672 rm -f conftest.er1
15673 cat conftest.err >&5
15674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15675 (exit $ac_status); } &&
15676 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15678 (eval $ac_try) 2>&5
15679 ac_status=$?
15680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15681 (exit $ac_status); }; } &&
15682 { ac_try='test -s conftest.$ac_objext'
15683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15684 (eval $ac_try) 2>&5
15685 ac_status=$?
15686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15687 (exit $ac_status); }; }; then
15688 ac_hi=-1 ac_mid=-1
15689 while :; do
15690 cat >conftest.$ac_ext <<_ACEOF
15691 /* confdefs.h. */
15692 _ACEOF
15693 cat confdefs.h >>conftest.$ac_ext
15694 cat >>conftest.$ac_ext <<_ACEOF
15695 /* end confdefs.h. */
15696 $ac_includes_default
15697 int
15698 main ()
15699 {
15700 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15701 test_array [0] = 0
15702
15703 ;
15704 return 0;
15705 }
15706 _ACEOF
15707 rm -f conftest.$ac_objext
15708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15709 (eval $ac_compile) 2>conftest.er1
15710 ac_status=$?
15711 grep -v '^ *+' conftest.er1 >conftest.err
15712 rm -f conftest.er1
15713 cat conftest.err >&5
15714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15715 (exit $ac_status); } &&
15716 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15718 (eval $ac_try) 2>&5
15719 ac_status=$?
15720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15721 (exit $ac_status); }; } &&
15722 { ac_try='test -s conftest.$ac_objext'
15723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15724 (eval $ac_try) 2>&5
15725 ac_status=$?
15726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15727 (exit $ac_status); }; }; then
15728 ac_lo=$ac_mid; break
15729 else
15730 echo "$as_me: failed program was:" >&5
15731 sed 's/^/| /' conftest.$ac_ext >&5
15732
15733 ac_hi=`expr '(' $ac_mid ')' - 1`
15734 if test $ac_mid -le $ac_hi; then
15735 ac_lo= ac_hi=
15736 break
15737 fi
15738 ac_mid=`expr 2 '*' $ac_mid`
15739 fi
15740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15741 done
15742 else
15743 echo "$as_me: failed program was:" >&5
15744 sed 's/^/| /' conftest.$ac_ext >&5
15745
15746 ac_lo= ac_hi=
15747 fi
15748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15749 fi
15750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15751 # Binary search between lo and hi bounds.
15752 while test "x$ac_lo" != "x$ac_hi"; do
15753 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15754 cat >conftest.$ac_ext <<_ACEOF
15755 /* confdefs.h. */
15756 _ACEOF
15757 cat confdefs.h >>conftest.$ac_ext
15758 cat >>conftest.$ac_ext <<_ACEOF
15759 /* end confdefs.h. */
15760 $ac_includes_default
15761 int
15762 main ()
15763 {
15764 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15765 test_array [0] = 0
15766
15767 ;
15768 return 0;
15769 }
15770 _ACEOF
15771 rm -f conftest.$ac_objext
15772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15773 (eval $ac_compile) 2>conftest.er1
15774 ac_status=$?
15775 grep -v '^ *+' conftest.er1 >conftest.err
15776 rm -f conftest.er1
15777 cat conftest.err >&5
15778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15779 (exit $ac_status); } &&
15780 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15782 (eval $ac_try) 2>&5
15783 ac_status=$?
15784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15785 (exit $ac_status); }; } &&
15786 { ac_try='test -s conftest.$ac_objext'
15787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15788 (eval $ac_try) 2>&5
15789 ac_status=$?
15790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15791 (exit $ac_status); }; }; then
15792 ac_hi=$ac_mid
15793 else
15794 echo "$as_me: failed program was:" >&5
15795 sed 's/^/| /' conftest.$ac_ext >&5
15796
15797 ac_lo=`expr '(' $ac_mid ')' + 1`
15798 fi
15799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15800 done
15801 case $ac_lo in
15802 ?*) ac_cv_sizeof_int=$ac_lo;;
15803 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15804 See \`config.log' for more details." >&5
15805 echo "$as_me: error: cannot compute sizeof (int), 77
15806 See \`config.log' for more details." >&2;}
15807 { (exit 1); exit 1; }; } ;;
15808 esac
15809 else
15810 if test "$cross_compiling" = yes; then
15811 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15812 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15813 { (exit 1); exit 1; }; }
15814 else
15815 cat >conftest.$ac_ext <<_ACEOF
15816 /* confdefs.h. */
15817 _ACEOF
15818 cat confdefs.h >>conftest.$ac_ext
15819 cat >>conftest.$ac_ext <<_ACEOF
15820 /* end confdefs.h. */
15821 $ac_includes_default
15822 long longval () { return (long) (sizeof (int)); }
15823 unsigned long ulongval () { return (long) (sizeof (int)); }
15824 #include <stdio.h>
15825 #include <stdlib.h>
15826 int
15827 main ()
15828 {
15829
15830 FILE *f = fopen ("conftest.val", "w");
15831 if (! f)
15832 exit (1);
15833 if (((long) (sizeof (int))) < 0)
15834 {
15835 long i = longval ();
15836 if (i != ((long) (sizeof (int))))
15837 exit (1);
15838 fprintf (f, "%ld\n", i);
15839 }
15840 else
15841 {
15842 unsigned long i = ulongval ();
15843 if (i != ((long) (sizeof (int))))
15844 exit (1);
15845 fprintf (f, "%lu\n", i);
15846 }
15847 exit (ferror (f) || fclose (f) != 0);
15848
15849 ;
15850 return 0;
15851 }
15852 _ACEOF
15853 rm -f conftest$ac_exeext
15854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15855 (eval $ac_link) 2>&5
15856 ac_status=$?
15857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15858 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15860 (eval $ac_try) 2>&5
15861 ac_status=$?
15862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15863 (exit $ac_status); }; }; then
15864 ac_cv_sizeof_int=`cat conftest.val`
15865 else
15866 echo "$as_me: program exited with status $ac_status" >&5
15867 echo "$as_me: failed program was:" >&5
15868 sed 's/^/| /' conftest.$ac_ext >&5
15869
15870 ( exit $ac_status )
15871 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15872 See \`config.log' for more details." >&5
15873 echo "$as_me: error: cannot compute sizeof (int), 77
15874 See \`config.log' for more details." >&2;}
15875 { (exit 1); exit 1; }; }
15876 fi
15877 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15878 fi
15879 fi
15880 rm -f conftest.val
15881 else
15882 ac_cv_sizeof_int=0
15883 fi
15884 fi
15885 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15886 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15887 cat >>confdefs.h <<_ACEOF
15888 #define SIZEOF_INT $ac_cv_sizeof_int
15889 _ACEOF
15890
15891
15892 echo "$as_me:$LINENO: checking for long" >&5
15893 echo $ECHO_N "checking for long... $ECHO_C" >&6
15894 if test "${ac_cv_type_long+set}" = set; then
15895 echo $ECHO_N "(cached) $ECHO_C" >&6
15896 else
15897 cat >conftest.$ac_ext <<_ACEOF
15898 /* confdefs.h. */
15899 _ACEOF
15900 cat confdefs.h >>conftest.$ac_ext
15901 cat >>conftest.$ac_ext <<_ACEOF
15902 /* end confdefs.h. */
15903 $ac_includes_default
15904 int
15905 main ()
15906 {
15907 if ((long *) 0)
15908 return 0;
15909 if (sizeof (long))
15910 return 0;
15911 ;
15912 return 0;
15913 }
15914 _ACEOF
15915 rm -f conftest.$ac_objext
15916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15917 (eval $ac_compile) 2>conftest.er1
15918 ac_status=$?
15919 grep -v '^ *+' conftest.er1 >conftest.err
15920 rm -f conftest.er1
15921 cat conftest.err >&5
15922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15923 (exit $ac_status); } &&
15924 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15926 (eval $ac_try) 2>&5
15927 ac_status=$?
15928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15929 (exit $ac_status); }; } &&
15930 { ac_try='test -s conftest.$ac_objext'
15931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15932 (eval $ac_try) 2>&5
15933 ac_status=$?
15934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15935 (exit $ac_status); }; }; then
15936 ac_cv_type_long=yes
15937 else
15938 echo "$as_me: failed program was:" >&5
15939 sed 's/^/| /' conftest.$ac_ext >&5
15940
15941 ac_cv_type_long=no
15942 fi
15943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15944 fi
15945 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15946 echo "${ECHO_T}$ac_cv_type_long" >&6
15947
15948 echo "$as_me:$LINENO: checking size of long" >&5
15949 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15950 if test "${ac_cv_sizeof_long+set}" = set; then
15951 echo $ECHO_N "(cached) $ECHO_C" >&6
15952 else
15953 if test "$ac_cv_type_long" = yes; then
15954 # The cast to unsigned long works around a bug in the HP C Compiler
15955 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15956 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15957 # This bug is HP SR number 8606223364.
15958 if test "$cross_compiling" = yes; then
15959 # Depending upon the size, compute the lo and hi bounds.
15960 cat >conftest.$ac_ext <<_ACEOF
15961 /* confdefs.h. */
15962 _ACEOF
15963 cat confdefs.h >>conftest.$ac_ext
15964 cat >>conftest.$ac_ext <<_ACEOF
15965 /* end confdefs.h. */
15966 $ac_includes_default
15967 int
15968 main ()
15969 {
15970 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15971 test_array [0] = 0
15972
15973 ;
15974 return 0;
15975 }
15976 _ACEOF
15977 rm -f conftest.$ac_objext
15978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15979 (eval $ac_compile) 2>conftest.er1
15980 ac_status=$?
15981 grep -v '^ *+' conftest.er1 >conftest.err
15982 rm -f conftest.er1
15983 cat conftest.err >&5
15984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15985 (exit $ac_status); } &&
15986 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15988 (eval $ac_try) 2>&5
15989 ac_status=$?
15990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15991 (exit $ac_status); }; } &&
15992 { ac_try='test -s conftest.$ac_objext'
15993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15994 (eval $ac_try) 2>&5
15995 ac_status=$?
15996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15997 (exit $ac_status); }; }; then
15998 ac_lo=0 ac_mid=0
15999 while :; do
16000 cat >conftest.$ac_ext <<_ACEOF
16001 /* confdefs.h. */
16002 _ACEOF
16003 cat confdefs.h >>conftest.$ac_ext
16004 cat >>conftest.$ac_ext <<_ACEOF
16005 /* end confdefs.h. */
16006 $ac_includes_default
16007 int
16008 main ()
16009 {
16010 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16011 test_array [0] = 0
16012
16013 ;
16014 return 0;
16015 }
16016 _ACEOF
16017 rm -f conftest.$ac_objext
16018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16019 (eval $ac_compile) 2>conftest.er1
16020 ac_status=$?
16021 grep -v '^ *+' conftest.er1 >conftest.err
16022 rm -f conftest.er1
16023 cat conftest.err >&5
16024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16025 (exit $ac_status); } &&
16026 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16028 (eval $ac_try) 2>&5
16029 ac_status=$?
16030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16031 (exit $ac_status); }; } &&
16032 { ac_try='test -s conftest.$ac_objext'
16033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16034 (eval $ac_try) 2>&5
16035 ac_status=$?
16036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16037 (exit $ac_status); }; }; then
16038 ac_hi=$ac_mid; break
16039 else
16040 echo "$as_me: failed program was:" >&5
16041 sed 's/^/| /' conftest.$ac_ext >&5
16042
16043 ac_lo=`expr $ac_mid + 1`
16044 if test $ac_lo -le $ac_mid; then
16045 ac_lo= ac_hi=
16046 break
16047 fi
16048 ac_mid=`expr 2 '*' $ac_mid + 1`
16049 fi
16050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16051 done
16052 else
16053 echo "$as_me: failed program was:" >&5
16054 sed 's/^/| /' conftest.$ac_ext >&5
16055
16056 cat >conftest.$ac_ext <<_ACEOF
16057 /* confdefs.h. */
16058 _ACEOF
16059 cat confdefs.h >>conftest.$ac_ext
16060 cat >>conftest.$ac_ext <<_ACEOF
16061 /* end confdefs.h. */
16062 $ac_includes_default
16063 int
16064 main ()
16065 {
16066 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16067 test_array [0] = 0
16068
16069 ;
16070 return 0;
16071 }
16072 _ACEOF
16073 rm -f conftest.$ac_objext
16074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16075 (eval $ac_compile) 2>conftest.er1
16076 ac_status=$?
16077 grep -v '^ *+' conftest.er1 >conftest.err
16078 rm -f conftest.er1
16079 cat conftest.err >&5
16080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16081 (exit $ac_status); } &&
16082 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16084 (eval $ac_try) 2>&5
16085 ac_status=$?
16086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16087 (exit $ac_status); }; } &&
16088 { ac_try='test -s conftest.$ac_objext'
16089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16090 (eval $ac_try) 2>&5
16091 ac_status=$?
16092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16093 (exit $ac_status); }; }; then
16094 ac_hi=-1 ac_mid=-1
16095 while :; do
16096 cat >conftest.$ac_ext <<_ACEOF
16097 /* confdefs.h. */
16098 _ACEOF
16099 cat confdefs.h >>conftest.$ac_ext
16100 cat >>conftest.$ac_ext <<_ACEOF
16101 /* end confdefs.h. */
16102 $ac_includes_default
16103 int
16104 main ()
16105 {
16106 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16107 test_array [0] = 0
16108
16109 ;
16110 return 0;
16111 }
16112 _ACEOF
16113 rm -f conftest.$ac_objext
16114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16115 (eval $ac_compile) 2>conftest.er1
16116 ac_status=$?
16117 grep -v '^ *+' conftest.er1 >conftest.err
16118 rm -f conftest.er1
16119 cat conftest.err >&5
16120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16121 (exit $ac_status); } &&
16122 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16124 (eval $ac_try) 2>&5
16125 ac_status=$?
16126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16127 (exit $ac_status); }; } &&
16128 { ac_try='test -s conftest.$ac_objext'
16129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16130 (eval $ac_try) 2>&5
16131 ac_status=$?
16132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16133 (exit $ac_status); }; }; then
16134 ac_lo=$ac_mid; break
16135 else
16136 echo "$as_me: failed program was:" >&5
16137 sed 's/^/| /' conftest.$ac_ext >&5
16138
16139 ac_hi=`expr '(' $ac_mid ')' - 1`
16140 if test $ac_mid -le $ac_hi; then
16141 ac_lo= ac_hi=
16142 break
16143 fi
16144 ac_mid=`expr 2 '*' $ac_mid`
16145 fi
16146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16147 done
16148 else
16149 echo "$as_me: failed program was:" >&5
16150 sed 's/^/| /' conftest.$ac_ext >&5
16151
16152 ac_lo= ac_hi=
16153 fi
16154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16155 fi
16156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16157 # Binary search between lo and hi bounds.
16158 while test "x$ac_lo" != "x$ac_hi"; do
16159 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16160 cat >conftest.$ac_ext <<_ACEOF
16161 /* confdefs.h. */
16162 _ACEOF
16163 cat confdefs.h >>conftest.$ac_ext
16164 cat >>conftest.$ac_ext <<_ACEOF
16165 /* end confdefs.h. */
16166 $ac_includes_default
16167 int
16168 main ()
16169 {
16170 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16171 test_array [0] = 0
16172
16173 ;
16174 return 0;
16175 }
16176 _ACEOF
16177 rm -f conftest.$ac_objext
16178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16179 (eval $ac_compile) 2>conftest.er1
16180 ac_status=$?
16181 grep -v '^ *+' conftest.er1 >conftest.err
16182 rm -f conftest.er1
16183 cat conftest.err >&5
16184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16185 (exit $ac_status); } &&
16186 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16188 (eval $ac_try) 2>&5
16189 ac_status=$?
16190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16191 (exit $ac_status); }; } &&
16192 { ac_try='test -s conftest.$ac_objext'
16193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16194 (eval $ac_try) 2>&5
16195 ac_status=$?
16196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16197 (exit $ac_status); }; }; then
16198 ac_hi=$ac_mid
16199 else
16200 echo "$as_me: failed program was:" >&5
16201 sed 's/^/| /' conftest.$ac_ext >&5
16202
16203 ac_lo=`expr '(' $ac_mid ')' + 1`
16204 fi
16205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16206 done
16207 case $ac_lo in
16208 ?*) ac_cv_sizeof_long=$ac_lo;;
16209 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16210 See \`config.log' for more details." >&5
16211 echo "$as_me: error: cannot compute sizeof (long), 77
16212 See \`config.log' for more details." >&2;}
16213 { (exit 1); exit 1; }; } ;;
16214 esac
16215 else
16216 if test "$cross_compiling" = yes; then
16217 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16218 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16219 { (exit 1); exit 1; }; }
16220 else
16221 cat >conftest.$ac_ext <<_ACEOF
16222 /* confdefs.h. */
16223 _ACEOF
16224 cat confdefs.h >>conftest.$ac_ext
16225 cat >>conftest.$ac_ext <<_ACEOF
16226 /* end confdefs.h. */
16227 $ac_includes_default
16228 long longval () { return (long) (sizeof (long)); }
16229 unsigned long ulongval () { return (long) (sizeof (long)); }
16230 #include <stdio.h>
16231 #include <stdlib.h>
16232 int
16233 main ()
16234 {
16235
16236 FILE *f = fopen ("conftest.val", "w");
16237 if (! f)
16238 exit (1);
16239 if (((long) (sizeof (long))) < 0)
16240 {
16241 long i = longval ();
16242 if (i != ((long) (sizeof (long))))
16243 exit (1);
16244 fprintf (f, "%ld\n", i);
16245 }
16246 else
16247 {
16248 unsigned long i = ulongval ();
16249 if (i != ((long) (sizeof (long))))
16250 exit (1);
16251 fprintf (f, "%lu\n", i);
16252 }
16253 exit (ferror (f) || fclose (f) != 0);
16254
16255 ;
16256 return 0;
16257 }
16258 _ACEOF
16259 rm -f conftest$ac_exeext
16260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16261 (eval $ac_link) 2>&5
16262 ac_status=$?
16263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16264 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16266 (eval $ac_try) 2>&5
16267 ac_status=$?
16268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16269 (exit $ac_status); }; }; then
16270 ac_cv_sizeof_long=`cat conftest.val`
16271 else
16272 echo "$as_me: program exited with status $ac_status" >&5
16273 echo "$as_me: failed program was:" >&5
16274 sed 's/^/| /' conftest.$ac_ext >&5
16275
16276 ( exit $ac_status )
16277 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16278 See \`config.log' for more details." >&5
16279 echo "$as_me: error: cannot compute sizeof (long), 77
16280 See \`config.log' for more details." >&2;}
16281 { (exit 1); exit 1; }; }
16282 fi
16283 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16284 fi
16285 fi
16286 rm -f conftest.val
16287 else
16288 ac_cv_sizeof_long=0
16289 fi
16290 fi
16291 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16292 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16293 cat >>confdefs.h <<_ACEOF
16294 #define SIZEOF_LONG $ac_cv_sizeof_long
16295 _ACEOF
16296
16297
16298 echo "$as_me:$LINENO: checking for size_t" >&5
16299 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16300 if test "${ac_cv_type_size_t+set}" = set; then
16301 echo $ECHO_N "(cached) $ECHO_C" >&6
16302 else
16303 cat >conftest.$ac_ext <<_ACEOF
16304 /* confdefs.h. */
16305 _ACEOF
16306 cat confdefs.h >>conftest.$ac_ext
16307 cat >>conftest.$ac_ext <<_ACEOF
16308 /* end confdefs.h. */
16309 $ac_includes_default
16310 int
16311 main ()
16312 {
16313 if ((size_t *) 0)
16314 return 0;
16315 if (sizeof (size_t))
16316 return 0;
16317 ;
16318 return 0;
16319 }
16320 _ACEOF
16321 rm -f conftest.$ac_objext
16322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16323 (eval $ac_compile) 2>conftest.er1
16324 ac_status=$?
16325 grep -v '^ *+' conftest.er1 >conftest.err
16326 rm -f conftest.er1
16327 cat conftest.err >&5
16328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16329 (exit $ac_status); } &&
16330 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16332 (eval $ac_try) 2>&5
16333 ac_status=$?
16334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16335 (exit $ac_status); }; } &&
16336 { ac_try='test -s conftest.$ac_objext'
16337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16338 (eval $ac_try) 2>&5
16339 ac_status=$?
16340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16341 (exit $ac_status); }; }; then
16342 ac_cv_type_size_t=yes
16343 else
16344 echo "$as_me: failed program was:" >&5
16345 sed 's/^/| /' conftest.$ac_ext >&5
16346
16347 ac_cv_type_size_t=no
16348 fi
16349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16350 fi
16351 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16352 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16353
16354 echo "$as_me:$LINENO: checking size of size_t" >&5
16355 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16356 if test "${ac_cv_sizeof_size_t+set}" = set; then
16357 echo $ECHO_N "(cached) $ECHO_C" >&6
16358 else
16359 if test "$ac_cv_type_size_t" = yes; then
16360 # The cast to unsigned long works around a bug in the HP C Compiler
16361 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16362 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16363 # This bug is HP SR number 8606223364.
16364 if test "$cross_compiling" = yes; then
16365 # Depending upon the size, compute the lo and hi bounds.
16366 cat >conftest.$ac_ext <<_ACEOF
16367 /* confdefs.h. */
16368 _ACEOF
16369 cat confdefs.h >>conftest.$ac_ext
16370 cat >>conftest.$ac_ext <<_ACEOF
16371 /* end confdefs.h. */
16372 $ac_includes_default
16373 int
16374 main ()
16375 {
16376 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16377 test_array [0] = 0
16378
16379 ;
16380 return 0;
16381 }
16382 _ACEOF
16383 rm -f conftest.$ac_objext
16384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16385 (eval $ac_compile) 2>conftest.er1
16386 ac_status=$?
16387 grep -v '^ *+' conftest.er1 >conftest.err
16388 rm -f conftest.er1
16389 cat conftest.err >&5
16390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16391 (exit $ac_status); } &&
16392 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16394 (eval $ac_try) 2>&5
16395 ac_status=$?
16396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16397 (exit $ac_status); }; } &&
16398 { ac_try='test -s conftest.$ac_objext'
16399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16400 (eval $ac_try) 2>&5
16401 ac_status=$?
16402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403 (exit $ac_status); }; }; then
16404 ac_lo=0 ac_mid=0
16405 while :; do
16406 cat >conftest.$ac_ext <<_ACEOF
16407 /* confdefs.h. */
16408 _ACEOF
16409 cat confdefs.h >>conftest.$ac_ext
16410 cat >>conftest.$ac_ext <<_ACEOF
16411 /* end confdefs.h. */
16412 $ac_includes_default
16413 int
16414 main ()
16415 {
16416 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16417 test_array [0] = 0
16418
16419 ;
16420 return 0;
16421 }
16422 _ACEOF
16423 rm -f conftest.$ac_objext
16424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16425 (eval $ac_compile) 2>conftest.er1
16426 ac_status=$?
16427 grep -v '^ *+' conftest.er1 >conftest.err
16428 rm -f conftest.er1
16429 cat conftest.err >&5
16430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16431 (exit $ac_status); } &&
16432 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16434 (eval $ac_try) 2>&5
16435 ac_status=$?
16436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16437 (exit $ac_status); }; } &&
16438 { ac_try='test -s conftest.$ac_objext'
16439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16440 (eval $ac_try) 2>&5
16441 ac_status=$?
16442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16443 (exit $ac_status); }; }; then
16444 ac_hi=$ac_mid; break
16445 else
16446 echo "$as_me: failed program was:" >&5
16447 sed 's/^/| /' conftest.$ac_ext >&5
16448
16449 ac_lo=`expr $ac_mid + 1`
16450 if test $ac_lo -le $ac_mid; then
16451 ac_lo= ac_hi=
16452 break
16453 fi
16454 ac_mid=`expr 2 '*' $ac_mid + 1`
16455 fi
16456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16457 done
16458 else
16459 echo "$as_me: failed program was:" >&5
16460 sed 's/^/| /' conftest.$ac_ext >&5
16461
16462 cat >conftest.$ac_ext <<_ACEOF
16463 /* confdefs.h. */
16464 _ACEOF
16465 cat confdefs.h >>conftest.$ac_ext
16466 cat >>conftest.$ac_ext <<_ACEOF
16467 /* end confdefs.h. */
16468 $ac_includes_default
16469 int
16470 main ()
16471 {
16472 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16473 test_array [0] = 0
16474
16475 ;
16476 return 0;
16477 }
16478 _ACEOF
16479 rm -f conftest.$ac_objext
16480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16481 (eval $ac_compile) 2>conftest.er1
16482 ac_status=$?
16483 grep -v '^ *+' conftest.er1 >conftest.err
16484 rm -f conftest.er1
16485 cat conftest.err >&5
16486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16487 (exit $ac_status); } &&
16488 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16490 (eval $ac_try) 2>&5
16491 ac_status=$?
16492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16493 (exit $ac_status); }; } &&
16494 { ac_try='test -s conftest.$ac_objext'
16495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16496 (eval $ac_try) 2>&5
16497 ac_status=$?
16498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16499 (exit $ac_status); }; }; then
16500 ac_hi=-1 ac_mid=-1
16501 while :; do
16502 cat >conftest.$ac_ext <<_ACEOF
16503 /* confdefs.h. */
16504 _ACEOF
16505 cat confdefs.h >>conftest.$ac_ext
16506 cat >>conftest.$ac_ext <<_ACEOF
16507 /* end confdefs.h. */
16508 $ac_includes_default
16509 int
16510 main ()
16511 {
16512 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16513 test_array [0] = 0
16514
16515 ;
16516 return 0;
16517 }
16518 _ACEOF
16519 rm -f conftest.$ac_objext
16520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16521 (eval $ac_compile) 2>conftest.er1
16522 ac_status=$?
16523 grep -v '^ *+' conftest.er1 >conftest.err
16524 rm -f conftest.er1
16525 cat conftest.err >&5
16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); } &&
16528 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16530 (eval $ac_try) 2>&5
16531 ac_status=$?
16532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16533 (exit $ac_status); }; } &&
16534 { ac_try='test -s conftest.$ac_objext'
16535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16536 (eval $ac_try) 2>&5
16537 ac_status=$?
16538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16539 (exit $ac_status); }; }; then
16540 ac_lo=$ac_mid; break
16541 else
16542 echo "$as_me: failed program was:" >&5
16543 sed 's/^/| /' conftest.$ac_ext >&5
16544
16545 ac_hi=`expr '(' $ac_mid ')' - 1`
16546 if test $ac_mid -le $ac_hi; then
16547 ac_lo= ac_hi=
16548 break
16549 fi
16550 ac_mid=`expr 2 '*' $ac_mid`
16551 fi
16552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16553 done
16554 else
16555 echo "$as_me: failed program was:" >&5
16556 sed 's/^/| /' conftest.$ac_ext >&5
16557
16558 ac_lo= ac_hi=
16559 fi
16560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16561 fi
16562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16563 # Binary search between lo and hi bounds.
16564 while test "x$ac_lo" != "x$ac_hi"; do
16565 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16566 cat >conftest.$ac_ext <<_ACEOF
16567 /* confdefs.h. */
16568 _ACEOF
16569 cat confdefs.h >>conftest.$ac_ext
16570 cat >>conftest.$ac_ext <<_ACEOF
16571 /* end confdefs.h. */
16572 $ac_includes_default
16573 int
16574 main ()
16575 {
16576 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16577 test_array [0] = 0
16578
16579 ;
16580 return 0;
16581 }
16582 _ACEOF
16583 rm -f conftest.$ac_objext
16584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16585 (eval $ac_compile) 2>conftest.er1
16586 ac_status=$?
16587 grep -v '^ *+' conftest.er1 >conftest.err
16588 rm -f conftest.er1
16589 cat conftest.err >&5
16590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16591 (exit $ac_status); } &&
16592 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16594 (eval $ac_try) 2>&5
16595 ac_status=$?
16596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16597 (exit $ac_status); }; } &&
16598 { ac_try='test -s conftest.$ac_objext'
16599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16600 (eval $ac_try) 2>&5
16601 ac_status=$?
16602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16603 (exit $ac_status); }; }; then
16604 ac_hi=$ac_mid
16605 else
16606 echo "$as_me: failed program was:" >&5
16607 sed 's/^/| /' conftest.$ac_ext >&5
16608
16609 ac_lo=`expr '(' $ac_mid ')' + 1`
16610 fi
16611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16612 done
16613 case $ac_lo in
16614 ?*) ac_cv_sizeof_size_t=$ac_lo;;
16615 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16616 See \`config.log' for more details." >&5
16617 echo "$as_me: error: cannot compute sizeof (size_t), 77
16618 See \`config.log' for more details." >&2;}
16619 { (exit 1); exit 1; }; } ;;
16620 esac
16621 else
16622 if test "$cross_compiling" = yes; then
16623 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16624 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16625 { (exit 1); exit 1; }; }
16626 else
16627 cat >conftest.$ac_ext <<_ACEOF
16628 /* confdefs.h. */
16629 _ACEOF
16630 cat confdefs.h >>conftest.$ac_ext
16631 cat >>conftest.$ac_ext <<_ACEOF
16632 /* end confdefs.h. */
16633 $ac_includes_default
16634 long longval () { return (long) (sizeof (size_t)); }
16635 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16636 #include <stdio.h>
16637 #include <stdlib.h>
16638 int
16639 main ()
16640 {
16641
16642 FILE *f = fopen ("conftest.val", "w");
16643 if (! f)
16644 exit (1);
16645 if (((long) (sizeof (size_t))) < 0)
16646 {
16647 long i = longval ();
16648 if (i != ((long) (sizeof (size_t))))
16649 exit (1);
16650 fprintf (f, "%ld\n", i);
16651 }
16652 else
16653 {
16654 unsigned long i = ulongval ();
16655 if (i != ((long) (sizeof (size_t))))
16656 exit (1);
16657 fprintf (f, "%lu\n", i);
16658 }
16659 exit (ferror (f) || fclose (f) != 0);
16660
16661 ;
16662 return 0;
16663 }
16664 _ACEOF
16665 rm -f conftest$ac_exeext
16666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16667 (eval $ac_link) 2>&5
16668 ac_status=$?
16669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16670 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16672 (eval $ac_try) 2>&5
16673 ac_status=$?
16674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675 (exit $ac_status); }; }; then
16676 ac_cv_sizeof_size_t=`cat conftest.val`
16677 else
16678 echo "$as_me: program exited with status $ac_status" >&5
16679 echo "$as_me: failed program was:" >&5
16680 sed 's/^/| /' conftest.$ac_ext >&5
16681
16682 ( exit $ac_status )
16683 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16684 See \`config.log' for more details." >&5
16685 echo "$as_me: error: cannot compute sizeof (size_t), 77
16686 See \`config.log' for more details." >&2;}
16687 { (exit 1); exit 1; }; }
16688 fi
16689 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16690 fi
16691 fi
16692 rm -f conftest.val
16693 else
16694 ac_cv_sizeof_size_t=0
16695 fi
16696 fi
16697 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16698 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16699 cat >>confdefs.h <<_ACEOF
16700 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16701 _ACEOF
16702
16703
16704
16705 case "${host}" in
16706 arm-*-linux* )
16707 echo "$as_me:$LINENO: checking for long long" >&5
16708 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16709 if test "${ac_cv_type_long_long+set}" = set; then
16710 echo $ECHO_N "(cached) $ECHO_C" >&6
16711 else
16712 cat >conftest.$ac_ext <<_ACEOF
16713 /* confdefs.h. */
16714 _ACEOF
16715 cat confdefs.h >>conftest.$ac_ext
16716 cat >>conftest.$ac_ext <<_ACEOF
16717 /* end confdefs.h. */
16718 $ac_includes_default
16719 int
16720 main ()
16721 {
16722 if ((long long *) 0)
16723 return 0;
16724 if (sizeof (long long))
16725 return 0;
16726 ;
16727 return 0;
16728 }
16729 _ACEOF
16730 rm -f conftest.$ac_objext
16731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16732 (eval $ac_compile) 2>conftest.er1
16733 ac_status=$?
16734 grep -v '^ *+' conftest.er1 >conftest.err
16735 rm -f conftest.er1
16736 cat conftest.err >&5
16737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738 (exit $ac_status); } &&
16739 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16741 (eval $ac_try) 2>&5
16742 ac_status=$?
16743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16744 (exit $ac_status); }; } &&
16745 { ac_try='test -s conftest.$ac_objext'
16746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16747 (eval $ac_try) 2>&5
16748 ac_status=$?
16749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16750 (exit $ac_status); }; }; then
16751 ac_cv_type_long_long=yes
16752 else
16753 echo "$as_me: failed program was:" >&5
16754 sed 's/^/| /' conftest.$ac_ext >&5
16755
16756 ac_cv_type_long_long=no
16757 fi
16758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16759 fi
16760 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16761 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16762
16763 echo "$as_me:$LINENO: checking size of long long" >&5
16764 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16765 if test "${ac_cv_sizeof_long_long+set}" = set; then
16766 echo $ECHO_N "(cached) $ECHO_C" >&6
16767 else
16768 if test "$ac_cv_type_long_long" = yes; then
16769 # The cast to unsigned long works around a bug in the HP C Compiler
16770 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16771 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16772 # This bug is HP SR number 8606223364.
16773 if test "$cross_compiling" = yes; then
16774 # Depending upon the size, compute the lo and hi bounds.
16775 cat >conftest.$ac_ext <<_ACEOF
16776 /* confdefs.h. */
16777 _ACEOF
16778 cat confdefs.h >>conftest.$ac_ext
16779 cat >>conftest.$ac_ext <<_ACEOF
16780 /* end confdefs.h. */
16781 $ac_includes_default
16782 int
16783 main ()
16784 {
16785 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16786 test_array [0] = 0
16787
16788 ;
16789 return 0;
16790 }
16791 _ACEOF
16792 rm -f conftest.$ac_objext
16793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16794 (eval $ac_compile) 2>conftest.er1
16795 ac_status=$?
16796 grep -v '^ *+' conftest.er1 >conftest.err
16797 rm -f conftest.er1
16798 cat conftest.err >&5
16799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16800 (exit $ac_status); } &&
16801 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16803 (eval $ac_try) 2>&5
16804 ac_status=$?
16805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16806 (exit $ac_status); }; } &&
16807 { ac_try='test -s conftest.$ac_objext'
16808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16809 (eval $ac_try) 2>&5
16810 ac_status=$?
16811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16812 (exit $ac_status); }; }; then
16813 ac_lo=0 ac_mid=0
16814 while :; do
16815 cat >conftest.$ac_ext <<_ACEOF
16816 /* confdefs.h. */
16817 _ACEOF
16818 cat confdefs.h >>conftest.$ac_ext
16819 cat >>conftest.$ac_ext <<_ACEOF
16820 /* end confdefs.h. */
16821 $ac_includes_default
16822 int
16823 main ()
16824 {
16825 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16826 test_array [0] = 0
16827
16828 ;
16829 return 0;
16830 }
16831 _ACEOF
16832 rm -f conftest.$ac_objext
16833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16834 (eval $ac_compile) 2>conftest.er1
16835 ac_status=$?
16836 grep -v '^ *+' conftest.er1 >conftest.err
16837 rm -f conftest.er1
16838 cat conftest.err >&5
16839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16840 (exit $ac_status); } &&
16841 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16843 (eval $ac_try) 2>&5
16844 ac_status=$?
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); }; } &&
16847 { ac_try='test -s conftest.$ac_objext'
16848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16849 (eval $ac_try) 2>&5
16850 ac_status=$?
16851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852 (exit $ac_status); }; }; then
16853 ac_hi=$ac_mid; break
16854 else
16855 echo "$as_me: failed program was:" >&5
16856 sed 's/^/| /' conftest.$ac_ext >&5
16857
16858 ac_lo=`expr $ac_mid + 1`
16859 if test $ac_lo -le $ac_mid; then
16860 ac_lo= ac_hi=
16861 break
16862 fi
16863 ac_mid=`expr 2 '*' $ac_mid + 1`
16864 fi
16865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16866 done
16867 else
16868 echo "$as_me: failed program was:" >&5
16869 sed 's/^/| /' conftest.$ac_ext >&5
16870
16871 cat >conftest.$ac_ext <<_ACEOF
16872 /* confdefs.h. */
16873 _ACEOF
16874 cat confdefs.h >>conftest.$ac_ext
16875 cat >>conftest.$ac_ext <<_ACEOF
16876 /* end confdefs.h. */
16877 $ac_includes_default
16878 int
16879 main ()
16880 {
16881 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16882 test_array [0] = 0
16883
16884 ;
16885 return 0;
16886 }
16887 _ACEOF
16888 rm -f conftest.$ac_objext
16889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16890 (eval $ac_compile) 2>conftest.er1
16891 ac_status=$?
16892 grep -v '^ *+' conftest.er1 >conftest.err
16893 rm -f conftest.er1
16894 cat conftest.err >&5
16895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896 (exit $ac_status); } &&
16897 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16899 (eval $ac_try) 2>&5
16900 ac_status=$?
16901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16902 (exit $ac_status); }; } &&
16903 { ac_try='test -s conftest.$ac_objext'
16904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16905 (eval $ac_try) 2>&5
16906 ac_status=$?
16907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16908 (exit $ac_status); }; }; then
16909 ac_hi=-1 ac_mid=-1
16910 while :; do
16911 cat >conftest.$ac_ext <<_ACEOF
16912 /* confdefs.h. */
16913 _ACEOF
16914 cat confdefs.h >>conftest.$ac_ext
16915 cat >>conftest.$ac_ext <<_ACEOF
16916 /* end confdefs.h. */
16917 $ac_includes_default
16918 int
16919 main ()
16920 {
16921 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16922 test_array [0] = 0
16923
16924 ;
16925 return 0;
16926 }
16927 _ACEOF
16928 rm -f conftest.$ac_objext
16929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16930 (eval $ac_compile) 2>conftest.er1
16931 ac_status=$?
16932 grep -v '^ *+' conftest.er1 >conftest.err
16933 rm -f conftest.er1
16934 cat conftest.err >&5
16935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16936 (exit $ac_status); } &&
16937 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16939 (eval $ac_try) 2>&5
16940 ac_status=$?
16941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16942 (exit $ac_status); }; } &&
16943 { ac_try='test -s conftest.$ac_objext'
16944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16945 (eval $ac_try) 2>&5
16946 ac_status=$?
16947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16948 (exit $ac_status); }; }; then
16949 ac_lo=$ac_mid; break
16950 else
16951 echo "$as_me: failed program was:" >&5
16952 sed 's/^/| /' conftest.$ac_ext >&5
16953
16954 ac_hi=`expr '(' $ac_mid ')' - 1`
16955 if test $ac_mid -le $ac_hi; then
16956 ac_lo= ac_hi=
16957 break
16958 fi
16959 ac_mid=`expr 2 '*' $ac_mid`
16960 fi
16961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16962 done
16963 else
16964 echo "$as_me: failed program was:" >&5
16965 sed 's/^/| /' conftest.$ac_ext >&5
16966
16967 ac_lo= ac_hi=
16968 fi
16969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16970 fi
16971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16972 # Binary search between lo and hi bounds.
16973 while test "x$ac_lo" != "x$ac_hi"; do
16974 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16975 cat >conftest.$ac_ext <<_ACEOF
16976 /* confdefs.h. */
16977 _ACEOF
16978 cat confdefs.h >>conftest.$ac_ext
16979 cat >>conftest.$ac_ext <<_ACEOF
16980 /* end confdefs.h. */
16981 $ac_includes_default
16982 int
16983 main ()
16984 {
16985 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16986 test_array [0] = 0
16987
16988 ;
16989 return 0;
16990 }
16991 _ACEOF
16992 rm -f conftest.$ac_objext
16993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16994 (eval $ac_compile) 2>conftest.er1
16995 ac_status=$?
16996 grep -v '^ *+' conftest.er1 >conftest.err
16997 rm -f conftest.er1
16998 cat conftest.err >&5
16999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17000 (exit $ac_status); } &&
17001 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17003 (eval $ac_try) 2>&5
17004 ac_status=$?
17005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006 (exit $ac_status); }; } &&
17007 { ac_try='test -s conftest.$ac_objext'
17008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17009 (eval $ac_try) 2>&5
17010 ac_status=$?
17011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17012 (exit $ac_status); }; }; then
17013 ac_hi=$ac_mid
17014 else
17015 echo "$as_me: failed program was:" >&5
17016 sed 's/^/| /' conftest.$ac_ext >&5
17017
17018 ac_lo=`expr '(' $ac_mid ')' + 1`
17019 fi
17020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17021 done
17022 case $ac_lo in
17023 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17024 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17025 See \`config.log' for more details." >&5
17026 echo "$as_me: error: cannot compute sizeof (long long), 77
17027 See \`config.log' for more details." >&2;}
17028 { (exit 1); exit 1; }; } ;;
17029 esac
17030 else
17031 if test "$cross_compiling" = yes; then
17032 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17033 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17034 { (exit 1); exit 1; }; }
17035 else
17036 cat >conftest.$ac_ext <<_ACEOF
17037 /* confdefs.h. */
17038 _ACEOF
17039 cat confdefs.h >>conftest.$ac_ext
17040 cat >>conftest.$ac_ext <<_ACEOF
17041 /* end confdefs.h. */
17042 $ac_includes_default
17043 long longval () { return (long) (sizeof (long long)); }
17044 unsigned long ulongval () { return (long) (sizeof (long long)); }
17045 #include <stdio.h>
17046 #include <stdlib.h>
17047 int
17048 main ()
17049 {
17050
17051 FILE *f = fopen ("conftest.val", "w");
17052 if (! f)
17053 exit (1);
17054 if (((long) (sizeof (long long))) < 0)
17055 {
17056 long i = longval ();
17057 if (i != ((long) (sizeof (long long))))
17058 exit (1);
17059 fprintf (f, "%ld\n", i);
17060 }
17061 else
17062 {
17063 unsigned long i = ulongval ();
17064 if (i != ((long) (sizeof (long long))))
17065 exit (1);
17066 fprintf (f, "%lu\n", i);
17067 }
17068 exit (ferror (f) || fclose (f) != 0);
17069
17070 ;
17071 return 0;
17072 }
17073 _ACEOF
17074 rm -f conftest$ac_exeext
17075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17076 (eval $ac_link) 2>&5
17077 ac_status=$?
17078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17079 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17081 (eval $ac_try) 2>&5
17082 ac_status=$?
17083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17084 (exit $ac_status); }; }; then
17085 ac_cv_sizeof_long_long=`cat conftest.val`
17086 else
17087 echo "$as_me: program exited with status $ac_status" >&5
17088 echo "$as_me: failed program was:" >&5
17089 sed 's/^/| /' conftest.$ac_ext >&5
17090
17091 ( exit $ac_status )
17092 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17093 See \`config.log' for more details." >&5
17094 echo "$as_me: error: cannot compute sizeof (long long), 77
17095 See \`config.log' for more details." >&2;}
17096 { (exit 1); exit 1; }; }
17097 fi
17098 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17099 fi
17100 fi
17101 rm -f conftest.val
17102 else
17103 ac_cv_sizeof_long_long=0
17104 fi
17105 fi
17106 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17107 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17108 cat >>confdefs.h <<_ACEOF
17109 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17110 _ACEOF
17111
17112
17113 ;;
17114 *-hp-hpux* )
17115 echo "$as_me:$LINENO: checking for long long" >&5
17116 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17117 if test "${ac_cv_type_long_long+set}" = set; then
17118 echo $ECHO_N "(cached) $ECHO_C" >&6
17119 else
17120 cat >conftest.$ac_ext <<_ACEOF
17121 /* confdefs.h. */
17122 _ACEOF
17123 cat confdefs.h >>conftest.$ac_ext
17124 cat >>conftest.$ac_ext <<_ACEOF
17125 /* end confdefs.h. */
17126 $ac_includes_default
17127 int
17128 main ()
17129 {
17130 if ((long long *) 0)
17131 return 0;
17132 if (sizeof (long long))
17133 return 0;
17134 ;
17135 return 0;
17136 }
17137 _ACEOF
17138 rm -f conftest.$ac_objext
17139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17140 (eval $ac_compile) 2>conftest.er1
17141 ac_status=$?
17142 grep -v '^ *+' conftest.er1 >conftest.err
17143 rm -f conftest.er1
17144 cat conftest.err >&5
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); } &&
17147 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17149 (eval $ac_try) 2>&5
17150 ac_status=$?
17151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17152 (exit $ac_status); }; } &&
17153 { ac_try='test -s conftest.$ac_objext'
17154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17155 (eval $ac_try) 2>&5
17156 ac_status=$?
17157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158 (exit $ac_status); }; }; then
17159 ac_cv_type_long_long=yes
17160 else
17161 echo "$as_me: failed program was:" >&5
17162 sed 's/^/| /' conftest.$ac_ext >&5
17163
17164 ac_cv_type_long_long=no
17165 fi
17166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17167 fi
17168 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17169 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17170
17171 echo "$as_me:$LINENO: checking size of long long" >&5
17172 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17173 if test "${ac_cv_sizeof_long_long+set}" = set; then
17174 echo $ECHO_N "(cached) $ECHO_C" >&6
17175 else
17176 if test "$ac_cv_type_long_long" = yes; then
17177 # The cast to unsigned long works around a bug in the HP C Compiler
17178 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17179 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17180 # This bug is HP SR number 8606223364.
17181 if test "$cross_compiling" = yes; then
17182 # Depending upon the size, compute the lo and hi bounds.
17183 cat >conftest.$ac_ext <<_ACEOF
17184 /* confdefs.h. */
17185 _ACEOF
17186 cat confdefs.h >>conftest.$ac_ext
17187 cat >>conftest.$ac_ext <<_ACEOF
17188 /* end confdefs.h. */
17189 $ac_includes_default
17190 int
17191 main ()
17192 {
17193 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17194 test_array [0] = 0
17195
17196 ;
17197 return 0;
17198 }
17199 _ACEOF
17200 rm -f conftest.$ac_objext
17201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17202 (eval $ac_compile) 2>conftest.er1
17203 ac_status=$?
17204 grep -v '^ *+' conftest.er1 >conftest.err
17205 rm -f conftest.er1
17206 cat conftest.err >&5
17207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17208 (exit $ac_status); } &&
17209 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17211 (eval $ac_try) 2>&5
17212 ac_status=$?
17213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17214 (exit $ac_status); }; } &&
17215 { ac_try='test -s conftest.$ac_objext'
17216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17217 (eval $ac_try) 2>&5
17218 ac_status=$?
17219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17220 (exit $ac_status); }; }; then
17221 ac_lo=0 ac_mid=0
17222 while :; do
17223 cat >conftest.$ac_ext <<_ACEOF
17224 /* confdefs.h. */
17225 _ACEOF
17226 cat confdefs.h >>conftest.$ac_ext
17227 cat >>conftest.$ac_ext <<_ACEOF
17228 /* end confdefs.h. */
17229 $ac_includes_default
17230 int
17231 main ()
17232 {
17233 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17234 test_array [0] = 0
17235
17236 ;
17237 return 0;
17238 }
17239 _ACEOF
17240 rm -f conftest.$ac_objext
17241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17242 (eval $ac_compile) 2>conftest.er1
17243 ac_status=$?
17244 grep -v '^ *+' conftest.er1 >conftest.err
17245 rm -f conftest.er1
17246 cat conftest.err >&5
17247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17248 (exit $ac_status); } &&
17249 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17251 (eval $ac_try) 2>&5
17252 ac_status=$?
17253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17254 (exit $ac_status); }; } &&
17255 { ac_try='test -s conftest.$ac_objext'
17256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17257 (eval $ac_try) 2>&5
17258 ac_status=$?
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); }; }; then
17261 ac_hi=$ac_mid; break
17262 else
17263 echo "$as_me: failed program was:" >&5
17264 sed 's/^/| /' conftest.$ac_ext >&5
17265
17266 ac_lo=`expr $ac_mid + 1`
17267 if test $ac_lo -le $ac_mid; then
17268 ac_lo= ac_hi=
17269 break
17270 fi
17271 ac_mid=`expr 2 '*' $ac_mid + 1`
17272 fi
17273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17274 done
17275 else
17276 echo "$as_me: failed program was:" >&5
17277 sed 's/^/| /' conftest.$ac_ext >&5
17278
17279 cat >conftest.$ac_ext <<_ACEOF
17280 /* confdefs.h. */
17281 _ACEOF
17282 cat confdefs.h >>conftest.$ac_ext
17283 cat >>conftest.$ac_ext <<_ACEOF
17284 /* end confdefs.h. */
17285 $ac_includes_default
17286 int
17287 main ()
17288 {
17289 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17290 test_array [0] = 0
17291
17292 ;
17293 return 0;
17294 }
17295 _ACEOF
17296 rm -f conftest.$ac_objext
17297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17298 (eval $ac_compile) 2>conftest.er1
17299 ac_status=$?
17300 grep -v '^ *+' conftest.er1 >conftest.err
17301 rm -f conftest.er1
17302 cat conftest.err >&5
17303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17304 (exit $ac_status); } &&
17305 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17307 (eval $ac_try) 2>&5
17308 ac_status=$?
17309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17310 (exit $ac_status); }; } &&
17311 { ac_try='test -s conftest.$ac_objext'
17312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17313 (eval $ac_try) 2>&5
17314 ac_status=$?
17315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17316 (exit $ac_status); }; }; then
17317 ac_hi=-1 ac_mid=-1
17318 while :; do
17319 cat >conftest.$ac_ext <<_ACEOF
17320 /* confdefs.h. */
17321 _ACEOF
17322 cat confdefs.h >>conftest.$ac_ext
17323 cat >>conftest.$ac_ext <<_ACEOF
17324 /* end confdefs.h. */
17325 $ac_includes_default
17326 int
17327 main ()
17328 {
17329 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17330 test_array [0] = 0
17331
17332 ;
17333 return 0;
17334 }
17335 _ACEOF
17336 rm -f conftest.$ac_objext
17337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17338 (eval $ac_compile) 2>conftest.er1
17339 ac_status=$?
17340 grep -v '^ *+' conftest.er1 >conftest.err
17341 rm -f conftest.er1
17342 cat conftest.err >&5
17343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17344 (exit $ac_status); } &&
17345 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17347 (eval $ac_try) 2>&5
17348 ac_status=$?
17349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17350 (exit $ac_status); }; } &&
17351 { ac_try='test -s conftest.$ac_objext'
17352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17353 (eval $ac_try) 2>&5
17354 ac_status=$?
17355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17356 (exit $ac_status); }; }; then
17357 ac_lo=$ac_mid; break
17358 else
17359 echo "$as_me: failed program was:" >&5
17360 sed 's/^/| /' conftest.$ac_ext >&5
17361
17362 ac_hi=`expr '(' $ac_mid ')' - 1`
17363 if test $ac_mid -le $ac_hi; then
17364 ac_lo= ac_hi=
17365 break
17366 fi
17367 ac_mid=`expr 2 '*' $ac_mid`
17368 fi
17369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17370 done
17371 else
17372 echo "$as_me: failed program was:" >&5
17373 sed 's/^/| /' conftest.$ac_ext >&5
17374
17375 ac_lo= ac_hi=
17376 fi
17377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17378 fi
17379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17380 # Binary search between lo and hi bounds.
17381 while test "x$ac_lo" != "x$ac_hi"; do
17382 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17383 cat >conftest.$ac_ext <<_ACEOF
17384 /* confdefs.h. */
17385 _ACEOF
17386 cat confdefs.h >>conftest.$ac_ext
17387 cat >>conftest.$ac_ext <<_ACEOF
17388 /* end confdefs.h. */
17389 $ac_includes_default
17390 int
17391 main ()
17392 {
17393 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17394 test_array [0] = 0
17395
17396 ;
17397 return 0;
17398 }
17399 _ACEOF
17400 rm -f conftest.$ac_objext
17401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17402 (eval $ac_compile) 2>conftest.er1
17403 ac_status=$?
17404 grep -v '^ *+' conftest.er1 >conftest.err
17405 rm -f conftest.er1
17406 cat conftest.err >&5
17407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408 (exit $ac_status); } &&
17409 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17411 (eval $ac_try) 2>&5
17412 ac_status=$?
17413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17414 (exit $ac_status); }; } &&
17415 { ac_try='test -s conftest.$ac_objext'
17416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17417 (eval $ac_try) 2>&5
17418 ac_status=$?
17419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17420 (exit $ac_status); }; }; then
17421 ac_hi=$ac_mid
17422 else
17423 echo "$as_me: failed program was:" >&5
17424 sed 's/^/| /' conftest.$ac_ext >&5
17425
17426 ac_lo=`expr '(' $ac_mid ')' + 1`
17427 fi
17428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17429 done
17430 case $ac_lo in
17431 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17432 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17433 See \`config.log' for more details." >&5
17434 echo "$as_me: error: cannot compute sizeof (long long), 77
17435 See \`config.log' for more details." >&2;}
17436 { (exit 1); exit 1; }; } ;;
17437 esac
17438 else
17439 if test "$cross_compiling" = yes; then
17440 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17441 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17442 { (exit 1); exit 1; }; }
17443 else
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 long longval () { return (long) (sizeof (long long)); }
17452 unsigned long ulongval () { return (long) (sizeof (long long)); }
17453 #include <stdio.h>
17454 #include <stdlib.h>
17455 int
17456 main ()
17457 {
17458
17459 FILE *f = fopen ("conftest.val", "w");
17460 if (! f)
17461 exit (1);
17462 if (((long) (sizeof (long long))) < 0)
17463 {
17464 long i = longval ();
17465 if (i != ((long) (sizeof (long long))))
17466 exit (1);
17467 fprintf (f, "%ld\n", i);
17468 }
17469 else
17470 {
17471 unsigned long i = ulongval ();
17472 if (i != ((long) (sizeof (long long))))
17473 exit (1);
17474 fprintf (f, "%lu\n", i);
17475 }
17476 exit (ferror (f) || fclose (f) != 0);
17477
17478 ;
17479 return 0;
17480 }
17481 _ACEOF
17482 rm -f conftest$ac_exeext
17483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17484 (eval $ac_link) 2>&5
17485 ac_status=$?
17486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17487 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17489 (eval $ac_try) 2>&5
17490 ac_status=$?
17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492 (exit $ac_status); }; }; then
17493 ac_cv_sizeof_long_long=`cat conftest.val`
17494 else
17495 echo "$as_me: program exited with status $ac_status" >&5
17496 echo "$as_me: failed program was:" >&5
17497 sed 's/^/| /' conftest.$ac_ext >&5
17498
17499 ( exit $ac_status )
17500 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17501 See \`config.log' for more details." >&5
17502 echo "$as_me: error: cannot compute sizeof (long long), 77
17503 See \`config.log' for more details." >&2;}
17504 { (exit 1); exit 1; }; }
17505 fi
17506 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17507 fi
17508 fi
17509 rm -f conftest.val
17510 else
17511 ac_cv_sizeof_long_long=0
17512 fi
17513 fi
17514 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17515 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17516 cat >>confdefs.h <<_ACEOF
17517 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17518 _ACEOF
17519
17520
17521 if test "$ac_cv_sizeof_long_long" != "0"; then
17522 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
17523 fi
17524 ;;
17525 * )
17526 echo "$as_me:$LINENO: checking for long long" >&5
17527 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17528 if test "${ac_cv_type_long_long+set}" = set; then
17529 echo $ECHO_N "(cached) $ECHO_C" >&6
17530 else
17531 cat >conftest.$ac_ext <<_ACEOF
17532 /* confdefs.h. */
17533 _ACEOF
17534 cat confdefs.h >>conftest.$ac_ext
17535 cat >>conftest.$ac_ext <<_ACEOF
17536 /* end confdefs.h. */
17537 $ac_includes_default
17538 int
17539 main ()
17540 {
17541 if ((long long *) 0)
17542 return 0;
17543 if (sizeof (long long))
17544 return 0;
17545 ;
17546 return 0;
17547 }
17548 _ACEOF
17549 rm -f conftest.$ac_objext
17550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17551 (eval $ac_compile) 2>conftest.er1
17552 ac_status=$?
17553 grep -v '^ *+' conftest.er1 >conftest.err
17554 rm -f conftest.er1
17555 cat conftest.err >&5
17556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17557 (exit $ac_status); } &&
17558 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17560 (eval $ac_try) 2>&5
17561 ac_status=$?
17562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563 (exit $ac_status); }; } &&
17564 { ac_try='test -s conftest.$ac_objext'
17565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17566 (eval $ac_try) 2>&5
17567 ac_status=$?
17568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17569 (exit $ac_status); }; }; then
17570 ac_cv_type_long_long=yes
17571 else
17572 echo "$as_me: failed program was:" >&5
17573 sed 's/^/| /' conftest.$ac_ext >&5
17574
17575 ac_cv_type_long_long=no
17576 fi
17577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17578 fi
17579 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17580 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17581
17582 echo "$as_me:$LINENO: checking size of long long" >&5
17583 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17584 if test "${ac_cv_sizeof_long_long+set}" = set; then
17585 echo $ECHO_N "(cached) $ECHO_C" >&6
17586 else
17587 if test "$ac_cv_type_long_long" = yes; then
17588 # The cast to unsigned long works around a bug in the HP C Compiler
17589 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17590 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17591 # This bug is HP SR number 8606223364.
17592 if test "$cross_compiling" = yes; then
17593 # Depending upon the size, compute the lo and hi bounds.
17594 cat >conftest.$ac_ext <<_ACEOF
17595 /* confdefs.h. */
17596 _ACEOF
17597 cat confdefs.h >>conftest.$ac_ext
17598 cat >>conftest.$ac_ext <<_ACEOF
17599 /* end confdefs.h. */
17600 $ac_includes_default
17601 int
17602 main ()
17603 {
17604 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17605 test_array [0] = 0
17606
17607 ;
17608 return 0;
17609 }
17610 _ACEOF
17611 rm -f conftest.$ac_objext
17612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17613 (eval $ac_compile) 2>conftest.er1
17614 ac_status=$?
17615 grep -v '^ *+' conftest.er1 >conftest.err
17616 rm -f conftest.er1
17617 cat conftest.err >&5
17618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17619 (exit $ac_status); } &&
17620 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17622 (eval $ac_try) 2>&5
17623 ac_status=$?
17624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17625 (exit $ac_status); }; } &&
17626 { ac_try='test -s conftest.$ac_objext'
17627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17628 (eval $ac_try) 2>&5
17629 ac_status=$?
17630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17631 (exit $ac_status); }; }; then
17632 ac_lo=0 ac_mid=0
17633 while :; do
17634 cat >conftest.$ac_ext <<_ACEOF
17635 /* confdefs.h. */
17636 _ACEOF
17637 cat confdefs.h >>conftest.$ac_ext
17638 cat >>conftest.$ac_ext <<_ACEOF
17639 /* end confdefs.h. */
17640 $ac_includes_default
17641 int
17642 main ()
17643 {
17644 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17645 test_array [0] = 0
17646
17647 ;
17648 return 0;
17649 }
17650 _ACEOF
17651 rm -f conftest.$ac_objext
17652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17653 (eval $ac_compile) 2>conftest.er1
17654 ac_status=$?
17655 grep -v '^ *+' conftest.er1 >conftest.err
17656 rm -f conftest.er1
17657 cat conftest.err >&5
17658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17659 (exit $ac_status); } &&
17660 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17662 (eval $ac_try) 2>&5
17663 ac_status=$?
17664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665 (exit $ac_status); }; } &&
17666 { ac_try='test -s conftest.$ac_objext'
17667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17668 (eval $ac_try) 2>&5
17669 ac_status=$?
17670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17671 (exit $ac_status); }; }; then
17672 ac_hi=$ac_mid; break
17673 else
17674 echo "$as_me: failed program was:" >&5
17675 sed 's/^/| /' conftest.$ac_ext >&5
17676
17677 ac_lo=`expr $ac_mid + 1`
17678 if test $ac_lo -le $ac_mid; then
17679 ac_lo= ac_hi=
17680 break
17681 fi
17682 ac_mid=`expr 2 '*' $ac_mid + 1`
17683 fi
17684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17685 done
17686 else
17687 echo "$as_me: failed program was:" >&5
17688 sed 's/^/| /' conftest.$ac_ext >&5
17689
17690 cat >conftest.$ac_ext <<_ACEOF
17691 /* confdefs.h. */
17692 _ACEOF
17693 cat confdefs.h >>conftest.$ac_ext
17694 cat >>conftest.$ac_ext <<_ACEOF
17695 /* end confdefs.h. */
17696 $ac_includes_default
17697 int
17698 main ()
17699 {
17700 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17701 test_array [0] = 0
17702
17703 ;
17704 return 0;
17705 }
17706 _ACEOF
17707 rm -f conftest.$ac_objext
17708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17709 (eval $ac_compile) 2>conftest.er1
17710 ac_status=$?
17711 grep -v '^ *+' conftest.er1 >conftest.err
17712 rm -f conftest.er1
17713 cat conftest.err >&5
17714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715 (exit $ac_status); } &&
17716 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17718 (eval $ac_try) 2>&5
17719 ac_status=$?
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); }; } &&
17722 { ac_try='test -s conftest.$ac_objext'
17723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17724 (eval $ac_try) 2>&5
17725 ac_status=$?
17726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17727 (exit $ac_status); }; }; then
17728 ac_hi=-1 ac_mid=-1
17729 while :; do
17730 cat >conftest.$ac_ext <<_ACEOF
17731 /* confdefs.h. */
17732 _ACEOF
17733 cat confdefs.h >>conftest.$ac_ext
17734 cat >>conftest.$ac_ext <<_ACEOF
17735 /* end confdefs.h. */
17736 $ac_includes_default
17737 int
17738 main ()
17739 {
17740 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17741 test_array [0] = 0
17742
17743 ;
17744 return 0;
17745 }
17746 _ACEOF
17747 rm -f conftest.$ac_objext
17748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17749 (eval $ac_compile) 2>conftest.er1
17750 ac_status=$?
17751 grep -v '^ *+' conftest.er1 >conftest.err
17752 rm -f conftest.er1
17753 cat conftest.err >&5
17754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17755 (exit $ac_status); } &&
17756 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17758 (eval $ac_try) 2>&5
17759 ac_status=$?
17760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17761 (exit $ac_status); }; } &&
17762 { ac_try='test -s conftest.$ac_objext'
17763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17764 (eval $ac_try) 2>&5
17765 ac_status=$?
17766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767 (exit $ac_status); }; }; then
17768 ac_lo=$ac_mid; break
17769 else
17770 echo "$as_me: failed program was:" >&5
17771 sed 's/^/| /' conftest.$ac_ext >&5
17772
17773 ac_hi=`expr '(' $ac_mid ')' - 1`
17774 if test $ac_mid -le $ac_hi; then
17775 ac_lo= ac_hi=
17776 break
17777 fi
17778 ac_mid=`expr 2 '*' $ac_mid`
17779 fi
17780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17781 done
17782 else
17783 echo "$as_me: failed program was:" >&5
17784 sed 's/^/| /' conftest.$ac_ext >&5
17785
17786 ac_lo= ac_hi=
17787 fi
17788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17789 fi
17790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17791 # Binary search between lo and hi bounds.
17792 while test "x$ac_lo" != "x$ac_hi"; do
17793 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17794 cat >conftest.$ac_ext <<_ACEOF
17795 /* confdefs.h. */
17796 _ACEOF
17797 cat confdefs.h >>conftest.$ac_ext
17798 cat >>conftest.$ac_ext <<_ACEOF
17799 /* end confdefs.h. */
17800 $ac_includes_default
17801 int
17802 main ()
17803 {
17804 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17805 test_array [0] = 0
17806
17807 ;
17808 return 0;
17809 }
17810 _ACEOF
17811 rm -f conftest.$ac_objext
17812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17813 (eval $ac_compile) 2>conftest.er1
17814 ac_status=$?
17815 grep -v '^ *+' conftest.er1 >conftest.err
17816 rm -f conftest.er1
17817 cat conftest.err >&5
17818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819 (exit $ac_status); } &&
17820 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17822 (eval $ac_try) 2>&5
17823 ac_status=$?
17824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17825 (exit $ac_status); }; } &&
17826 { ac_try='test -s conftest.$ac_objext'
17827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17828 (eval $ac_try) 2>&5
17829 ac_status=$?
17830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17831 (exit $ac_status); }; }; then
17832 ac_hi=$ac_mid
17833 else
17834 echo "$as_me: failed program was:" >&5
17835 sed 's/^/| /' conftest.$ac_ext >&5
17836
17837 ac_lo=`expr '(' $ac_mid ')' + 1`
17838 fi
17839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17840 done
17841 case $ac_lo in
17842 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17843 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17844 See \`config.log' for more details." >&5
17845 echo "$as_me: error: cannot compute sizeof (long long), 77
17846 See \`config.log' for more details." >&2;}
17847 { (exit 1); exit 1; }; } ;;
17848 esac
17849 else
17850 if test "$cross_compiling" = yes; then
17851 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17852 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17853 { (exit 1); exit 1; }; }
17854 else
17855 cat >conftest.$ac_ext <<_ACEOF
17856 /* confdefs.h. */
17857 _ACEOF
17858 cat confdefs.h >>conftest.$ac_ext
17859 cat >>conftest.$ac_ext <<_ACEOF
17860 /* end confdefs.h. */
17861 $ac_includes_default
17862 long longval () { return (long) (sizeof (long long)); }
17863 unsigned long ulongval () { return (long) (sizeof (long long)); }
17864 #include <stdio.h>
17865 #include <stdlib.h>
17866 int
17867 main ()
17868 {
17869
17870 FILE *f = fopen ("conftest.val", "w");
17871 if (! f)
17872 exit (1);
17873 if (((long) (sizeof (long long))) < 0)
17874 {
17875 long i = longval ();
17876 if (i != ((long) (sizeof (long long))))
17877 exit (1);
17878 fprintf (f, "%ld\n", i);
17879 }
17880 else
17881 {
17882 unsigned long i = ulongval ();
17883 if (i != ((long) (sizeof (long long))))
17884 exit (1);
17885 fprintf (f, "%lu\n", i);
17886 }
17887 exit (ferror (f) || fclose (f) != 0);
17888
17889 ;
17890 return 0;
17891 }
17892 _ACEOF
17893 rm -f conftest$ac_exeext
17894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17895 (eval $ac_link) 2>&5
17896 ac_status=$?
17897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17898 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17900 (eval $ac_try) 2>&5
17901 ac_status=$?
17902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17903 (exit $ac_status); }; }; then
17904 ac_cv_sizeof_long_long=`cat conftest.val`
17905 else
17906 echo "$as_me: program exited with status $ac_status" >&5
17907 echo "$as_me: failed program was:" >&5
17908 sed 's/^/| /' conftest.$ac_ext >&5
17909
17910 ( exit $ac_status )
17911 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17912 See \`config.log' for more details." >&5
17913 echo "$as_me: error: cannot compute sizeof (long long), 77
17914 See \`config.log' for more details." >&2;}
17915 { (exit 1); exit 1; }; }
17916 fi
17917 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17918 fi
17919 fi
17920 rm -f conftest.val
17921 else
17922 ac_cv_sizeof_long_long=0
17923 fi
17924 fi
17925 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17926 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17927 cat >>confdefs.h <<_ACEOF
17928 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17929 _ACEOF
17930
17931
17932 esac
17933
17934 echo "$as_me:$LINENO: checking size of wchar_t" >&5
17935 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
17936 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
17937 echo $ECHO_N "(cached) $ECHO_C" >&6
17938 else
17939
17940 if test "$cross_compiling" = yes; then
17941
17942 case "${host}" in
17943 *-pc-msdosdjgpp )
17944 wx_cv_sizeof_wchar_t=0
17945 ;;
17946 * )
17947 wx_cv_sizeof_wchar_t=4
17948 ;;
17949 esac
17950
17951
17952 else
17953 cat >conftest.$ac_ext <<_ACEOF
17954 /* confdefs.h. */
17955 _ACEOF
17956 cat confdefs.h >>conftest.$ac_ext
17957 cat >>conftest.$ac_ext <<_ACEOF
17958 /* end confdefs.h. */
17959
17960 /* DJGPP only has fake wchar_t: */
17961 #ifdef __DJGPP__
17962 # error "fake wchar_t"
17963 #endif
17964 #ifdef HAVE_WCHAR_H
17965 # ifdef __CYGWIN__
17966 # include <stddef.h>
17967 # endif
17968 # include <wchar.h>
17969 #endif
17970 #ifdef HAVE_STDLIB_H
17971 # include <stdlib.h>
17972 #endif
17973 #include <stdio.h>
17974 int main()
17975 {
17976 FILE *f=fopen("conftestval", "w");
17977 if (!f) exit(1);
17978 fprintf(f, "%i", sizeof(wchar_t));
17979 exit(0);
17980 }
17981
17982 _ACEOF
17983 rm -f conftest$ac_exeext
17984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17985 (eval $ac_link) 2>&5
17986 ac_status=$?
17987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17988 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17990 (eval $ac_try) 2>&5
17991 ac_status=$?
17992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17993 (exit $ac_status); }; }; then
17994 wx_cv_sizeof_wchar_t=`cat conftestval`
17995 else
17996 echo "$as_me: program exited with status $ac_status" >&5
17997 echo "$as_me: failed program was:" >&5
17998 sed 's/^/| /' conftest.$ac_ext >&5
17999
18000 ( exit $ac_status )
18001 wx_cv_sizeof_wchar_t=0
18002 fi
18003 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18004 fi
18005
18006 fi
18007 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18008 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18009
18010 cat >>confdefs.h <<_ACEOF
18011 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18012 _ACEOF
18013
18014
18015 # Check whether --enable-largefile or --disable-largefile was given.
18016 if test "${enable_largefile+set}" = set; then
18017 enableval="$enable_largefile"
18018
18019 fi;
18020 if test "$enable_largefile" != no; then
18021 wx_largefile=no
18022
18023 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18024 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18025 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18026 echo $ECHO_N "(cached) $ECHO_C" >&6
18027 else
18028
18029 cat >conftest.$ac_ext <<_ACEOF
18030 /* confdefs.h. */
18031 _ACEOF
18032 cat confdefs.h >>conftest.$ac_ext
18033 cat >>conftest.$ac_ext <<_ACEOF
18034 /* end confdefs.h. */
18035 #define _FILE_OFFSET_BITS 64
18036 #include <sys/types.h>
18037 int
18038 main ()
18039 {
18040 typedef struct {
18041 unsigned int field: sizeof(off_t) == 8;
18042 } wxlf;
18043
18044 ;
18045 return 0;
18046 }
18047 _ACEOF
18048 rm -f conftest.$ac_objext
18049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18050 (eval $ac_compile) 2>conftest.er1
18051 ac_status=$?
18052 grep -v '^ *+' conftest.er1 >conftest.err
18053 rm -f conftest.er1
18054 cat conftest.err >&5
18055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18056 (exit $ac_status); } &&
18057 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18059 (eval $ac_try) 2>&5
18060 ac_status=$?
18061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18062 (exit $ac_status); }; } &&
18063 { ac_try='test -s conftest.$ac_objext'
18064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18065 (eval $ac_try) 2>&5
18066 ac_status=$?
18067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18068 (exit $ac_status); }; }; then
18069 ac_cv_sys_file_offset_bits=64
18070 else
18071 echo "$as_me: failed program was:" >&5
18072 sed 's/^/| /' conftest.$ac_ext >&5
18073
18074 ac_cv_sys_file_offset_bits=no
18075 fi
18076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18077
18078
18079 fi
18080 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18081 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18082
18083 if test "$ac_cv_sys_file_offset_bits" != no; then
18084 wx_largefile=yes
18085 cat >>confdefs.h <<_ACEOF
18086 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18087 _ACEOF
18088
18089 fi
18090
18091 if test "x$wx_largefile" != "xyes"; then
18092
18093 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18094 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18095 if test "${ac_cv_sys_large_files+set}" = set; then
18096 echo $ECHO_N "(cached) $ECHO_C" >&6
18097 else
18098
18099 cat >conftest.$ac_ext <<_ACEOF
18100 /* confdefs.h. */
18101 _ACEOF
18102 cat confdefs.h >>conftest.$ac_ext
18103 cat >>conftest.$ac_ext <<_ACEOF
18104 /* end confdefs.h. */
18105 #define _LARGE_FILES 1
18106 #include <sys/types.h>
18107 int
18108 main ()
18109 {
18110 typedef struct {
18111 unsigned int field: sizeof(off_t) == 8;
18112 } wxlf;
18113
18114 ;
18115 return 0;
18116 }
18117 _ACEOF
18118 rm -f conftest.$ac_objext
18119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18120 (eval $ac_compile) 2>conftest.er1
18121 ac_status=$?
18122 grep -v '^ *+' conftest.er1 >conftest.err
18123 rm -f conftest.er1
18124 cat conftest.err >&5
18125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18126 (exit $ac_status); } &&
18127 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18129 (eval $ac_try) 2>&5
18130 ac_status=$?
18131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18132 (exit $ac_status); }; } &&
18133 { ac_try='test -s conftest.$ac_objext'
18134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18135 (eval $ac_try) 2>&5
18136 ac_status=$?
18137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 (exit $ac_status); }; }; then
18139 ac_cv_sys_large_files=1
18140 else
18141 echo "$as_me: failed program was:" >&5
18142 sed 's/^/| /' conftest.$ac_ext >&5
18143
18144 ac_cv_sys_large_files=no
18145 fi
18146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18147
18148
18149 fi
18150 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18151 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18152
18153 if test "$ac_cv_sys_large_files" != no; then
18154 wx_largefile=yes
18155 cat >>confdefs.h <<_ACEOF
18156 #define _LARGE_FILES $ac_cv_sys_large_files
18157 _ACEOF
18158
18159 fi
18160
18161 fi
18162
18163 echo "$as_me:$LINENO: checking if large file support is available" >&5
18164 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18165 if test "x$wx_largefile" = "xyes"; then
18166 cat >>confdefs.h <<\_ACEOF
18167 #define HAVE_LARGEFILE_SUPPORT 1
18168 _ACEOF
18169
18170 fi
18171 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18172 echo "${ECHO_T}$wx_largefile" >&6
18173 fi
18174
18175
18176 if test "x$wx_largefile" = "xyes"; then
18177 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18178 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18179 else
18180 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
18181 fi
18182 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18183 fi
18184
18185 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18186 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18187 if test "${ac_cv_c_bigendian+set}" = set; then
18188 echo $ECHO_N "(cached) $ECHO_C" >&6
18189 else
18190 ac_cv_c_bigendian=unknown
18191 # See if sys/param.h defines the BYTE_ORDER macro.
18192 cat >conftest.$ac_ext <<_ACEOF
18193 /* confdefs.h. */
18194 _ACEOF
18195 cat confdefs.h >>conftest.$ac_ext
18196 cat >>conftest.$ac_ext <<_ACEOF
18197 /* end confdefs.h. */
18198 #include <sys/types.h>
18199 #include <sys/param.h>
18200 int
18201 main ()
18202 {
18203
18204 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18205 bogus endian macros
18206 #endif
18207 ;
18208 return 0;
18209 }
18210 _ACEOF
18211 rm -f conftest.$ac_objext
18212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18213 (eval $ac_compile) 2>conftest.er1
18214 ac_status=$?
18215 grep -v '^ *+' conftest.er1 >conftest.err
18216 rm -f conftest.er1
18217 cat conftest.err >&5
18218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18219 (exit $ac_status); } &&
18220 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18222 (eval $ac_try) 2>&5
18223 ac_status=$?
18224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18225 (exit $ac_status); }; } &&
18226 { ac_try='test -s conftest.$ac_objext'
18227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18228 (eval $ac_try) 2>&5
18229 ac_status=$?
18230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18231 (exit $ac_status); }; }; then
18232 # It does; now see whether it defined to BIG_ENDIAN or not.
18233 cat >conftest.$ac_ext <<_ACEOF
18234 /* confdefs.h. */
18235 _ACEOF
18236 cat confdefs.h >>conftest.$ac_ext
18237 cat >>conftest.$ac_ext <<_ACEOF
18238 /* end confdefs.h. */
18239 #include <sys/types.h>
18240 #include <sys/param.h>
18241 int
18242 main ()
18243 {
18244
18245 #if BYTE_ORDER != BIG_ENDIAN
18246 not big endian
18247 #endif
18248 ;
18249 return 0;
18250 }
18251 _ACEOF
18252 rm -f conftest.$ac_objext
18253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18254 (eval $ac_compile) 2>conftest.er1
18255 ac_status=$?
18256 grep -v '^ *+' conftest.er1 >conftest.err
18257 rm -f conftest.er1
18258 cat conftest.err >&5
18259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18260 (exit $ac_status); } &&
18261 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18263 (eval $ac_try) 2>&5
18264 ac_status=$?
18265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18266 (exit $ac_status); }; } &&
18267 { ac_try='test -s conftest.$ac_objext'
18268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18269 (eval $ac_try) 2>&5
18270 ac_status=$?
18271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18272 (exit $ac_status); }; }; then
18273 ac_cv_c_bigendian=yes
18274 else
18275 echo "$as_me: failed program was:" >&5
18276 sed 's/^/| /' conftest.$ac_ext >&5
18277
18278 ac_cv_c_bigendian=no
18279 fi
18280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18281 else
18282 echo "$as_me: failed program was:" >&5
18283 sed 's/^/| /' conftest.$ac_ext >&5
18284
18285 fi
18286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18287 if test $ac_cv_c_bigendian = unknown; then
18288 if test "$cross_compiling" = yes; then
18289 ac_cv_c_bigendian=unknown
18290 else
18291 cat >conftest.$ac_ext <<_ACEOF
18292 /* confdefs.h. */
18293 _ACEOF
18294 cat confdefs.h >>conftest.$ac_ext
18295 cat >>conftest.$ac_ext <<_ACEOF
18296 /* end confdefs.h. */
18297 main () {
18298 /* Are we little or big endian? From Harbison&Steele. */
18299 union
18300 {
18301 long l;
18302 char c[sizeof (long)];
18303 } u;
18304 u.l = 1;
18305 exit (u.c[sizeof (long) - 1] == 1);
18306 }
18307 _ACEOF
18308 rm -f conftest$ac_exeext
18309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18310 (eval $ac_link) 2>&5
18311 ac_status=$?
18312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18313 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18315 (eval $ac_try) 2>&5
18316 ac_status=$?
18317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318 (exit $ac_status); }; }; then
18319 ac_cv_c_bigendian=no
18320 else
18321 echo "$as_me: program exited with status $ac_status" >&5
18322 echo "$as_me: failed program was:" >&5
18323 sed 's/^/| /' conftest.$ac_ext >&5
18324
18325 ( exit $ac_status )
18326 ac_cv_c_bigendian=yes
18327 fi
18328 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18329 fi
18330 fi
18331 fi
18332 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18333 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18334 if test $ac_cv_c_bigendian = unknown; then
18335 { 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
18336 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;}
18337 fi
18338 if test $ac_cv_c_bigendian = yes; then
18339 cat >>confdefs.h <<\_ACEOF
18340 #define WORDS_BIGENDIAN 1
18341 _ACEOF
18342
18343 fi
18344
18345
18346 ac_ext=cc
18347 ac_cpp='$CXXCPP $CPPFLAGS'
18348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18351 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18352 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18353 if test -z "$CXXCPP"; then
18354 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18355 echo $ECHO_N "(cached) $ECHO_C" >&6
18356 else
18357 # Double quotes because CXXCPP needs to be expanded
18358 for CXXCPP in "$CXX -E" "/lib/cpp"
18359 do
18360 ac_preproc_ok=false
18361 for ac_cxx_preproc_warn_flag in '' yes
18362 do
18363 # Use a header file that comes with gcc, so configuring glibc
18364 # with a fresh cross-compiler works.
18365 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18366 # <limits.h> exists even on freestanding compilers.
18367 # On the NeXT, cc -E runs the code through the compiler's parser,
18368 # not just through cpp. "Syntax error" is here to catch this case.
18369 cat >conftest.$ac_ext <<_ACEOF
18370 /* confdefs.h. */
18371 _ACEOF
18372 cat confdefs.h >>conftest.$ac_ext
18373 cat >>conftest.$ac_ext <<_ACEOF
18374 /* end confdefs.h. */
18375 #ifdef __STDC__
18376 # include <limits.h>
18377 #else
18378 # include <assert.h>
18379 #endif
18380 Syntax error
18381 _ACEOF
18382 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18383 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18384 ac_status=$?
18385 grep -v '^ *+' conftest.er1 >conftest.err
18386 rm -f conftest.er1
18387 cat conftest.err >&5
18388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18389 (exit $ac_status); } >/dev/null; then
18390 if test -s conftest.err; then
18391 ac_cpp_err=$ac_cxx_preproc_warn_flag
18392 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18393 else
18394 ac_cpp_err=
18395 fi
18396 else
18397 ac_cpp_err=yes
18398 fi
18399 if test -z "$ac_cpp_err"; then
18400 :
18401 else
18402 echo "$as_me: failed program was:" >&5
18403 sed 's/^/| /' conftest.$ac_ext >&5
18404
18405 # Broken: fails on valid input.
18406 continue
18407 fi
18408 rm -f conftest.err conftest.$ac_ext
18409
18410 # OK, works on sane cases. Now check whether non-existent headers
18411 # can be detected and how.
18412 cat >conftest.$ac_ext <<_ACEOF
18413 /* confdefs.h. */
18414 _ACEOF
18415 cat confdefs.h >>conftest.$ac_ext
18416 cat >>conftest.$ac_ext <<_ACEOF
18417 /* end confdefs.h. */
18418 #include <ac_nonexistent.h>
18419 _ACEOF
18420 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18421 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18422 ac_status=$?
18423 grep -v '^ *+' conftest.er1 >conftest.err
18424 rm -f conftest.er1
18425 cat conftest.err >&5
18426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18427 (exit $ac_status); } >/dev/null; then
18428 if test -s conftest.err; then
18429 ac_cpp_err=$ac_cxx_preproc_warn_flag
18430 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18431 else
18432 ac_cpp_err=
18433 fi
18434 else
18435 ac_cpp_err=yes
18436 fi
18437 if test -z "$ac_cpp_err"; then
18438 # Broken: success on invalid input.
18439 continue
18440 else
18441 echo "$as_me: failed program was:" >&5
18442 sed 's/^/| /' conftest.$ac_ext >&5
18443
18444 # Passes both tests.
18445 ac_preproc_ok=:
18446 break
18447 fi
18448 rm -f conftest.err conftest.$ac_ext
18449
18450 done
18451 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18452 rm -f conftest.err conftest.$ac_ext
18453 if $ac_preproc_ok; then
18454 break
18455 fi
18456
18457 done
18458 ac_cv_prog_CXXCPP=$CXXCPP
18459
18460 fi
18461 CXXCPP=$ac_cv_prog_CXXCPP
18462 else
18463 ac_cv_prog_CXXCPP=$CXXCPP
18464 fi
18465 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18466 echo "${ECHO_T}$CXXCPP" >&6
18467 ac_preproc_ok=false
18468 for ac_cxx_preproc_warn_flag in '' yes
18469 do
18470 # Use a header file that comes with gcc, so configuring glibc
18471 # with a fresh cross-compiler works.
18472 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18473 # <limits.h> exists even on freestanding compilers.
18474 # On the NeXT, cc -E runs the code through the compiler's parser,
18475 # not just through cpp. "Syntax error" is here to catch this case.
18476 cat >conftest.$ac_ext <<_ACEOF
18477 /* confdefs.h. */
18478 _ACEOF
18479 cat confdefs.h >>conftest.$ac_ext
18480 cat >>conftest.$ac_ext <<_ACEOF
18481 /* end confdefs.h. */
18482 #ifdef __STDC__
18483 # include <limits.h>
18484 #else
18485 # include <assert.h>
18486 #endif
18487 Syntax error
18488 _ACEOF
18489 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18490 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18491 ac_status=$?
18492 grep -v '^ *+' conftest.er1 >conftest.err
18493 rm -f conftest.er1
18494 cat conftest.err >&5
18495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18496 (exit $ac_status); } >/dev/null; then
18497 if test -s conftest.err; then
18498 ac_cpp_err=$ac_cxx_preproc_warn_flag
18499 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18500 else
18501 ac_cpp_err=
18502 fi
18503 else
18504 ac_cpp_err=yes
18505 fi
18506 if test -z "$ac_cpp_err"; then
18507 :
18508 else
18509 echo "$as_me: failed program was:" >&5
18510 sed 's/^/| /' conftest.$ac_ext >&5
18511
18512 # Broken: fails on valid input.
18513 continue
18514 fi
18515 rm -f conftest.err conftest.$ac_ext
18516
18517 # OK, works on sane cases. Now check whether non-existent headers
18518 # can be detected and how.
18519 cat >conftest.$ac_ext <<_ACEOF
18520 /* confdefs.h. */
18521 _ACEOF
18522 cat confdefs.h >>conftest.$ac_ext
18523 cat >>conftest.$ac_ext <<_ACEOF
18524 /* end confdefs.h. */
18525 #include <ac_nonexistent.h>
18526 _ACEOF
18527 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18528 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18529 ac_status=$?
18530 grep -v '^ *+' conftest.er1 >conftest.err
18531 rm -f conftest.er1
18532 cat conftest.err >&5
18533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18534 (exit $ac_status); } >/dev/null; then
18535 if test -s conftest.err; then
18536 ac_cpp_err=$ac_cxx_preproc_warn_flag
18537 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18538 else
18539 ac_cpp_err=
18540 fi
18541 else
18542 ac_cpp_err=yes
18543 fi
18544 if test -z "$ac_cpp_err"; then
18545 # Broken: success on invalid input.
18546 continue
18547 else
18548 echo "$as_me: failed program was:" >&5
18549 sed 's/^/| /' conftest.$ac_ext >&5
18550
18551 # Passes both tests.
18552 ac_preproc_ok=:
18553 break
18554 fi
18555 rm -f conftest.err conftest.$ac_ext
18556
18557 done
18558 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18559 rm -f conftest.err conftest.$ac_ext
18560 if $ac_preproc_ok; then
18561 :
18562 else
18563 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18564 See \`config.log' for more details." >&5
18565 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18566 See \`config.log' for more details." >&2;}
18567 { (exit 1); exit 1; }; }
18568 fi
18569
18570 ac_ext=cc
18571 ac_cpp='$CXXCPP $CPPFLAGS'
18572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18575
18576
18577
18578 if test "$cross_compiling" = "yes"; then
18579 cat >>confdefs.h <<\_ACEOF
18580 #define wxUSE_IOSTREAMH 1
18581 _ACEOF
18582
18583 else
18584
18585
18586 ac_ext=cc
18587 ac_cpp='$CXXCPP $CPPFLAGS'
18588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18591
18592
18593
18594 for ac_header in iostream
18595 do
18596 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18597 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18598 echo "$as_me:$LINENO: checking for $ac_header" >&5
18599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18601 echo $ECHO_N "(cached) $ECHO_C" >&6
18602 fi
18603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18604 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18605 else
18606 # Is the header compilable?
18607 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18608 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18609 cat >conftest.$ac_ext <<_ACEOF
18610 /* confdefs.h. */
18611 _ACEOF
18612 cat confdefs.h >>conftest.$ac_ext
18613 cat >>conftest.$ac_ext <<_ACEOF
18614 /* end confdefs.h. */
18615 $ac_includes_default
18616 #include <$ac_header>
18617 _ACEOF
18618 rm -f conftest.$ac_objext
18619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18620 (eval $ac_compile) 2>conftest.er1
18621 ac_status=$?
18622 grep -v '^ *+' conftest.er1 >conftest.err
18623 rm -f conftest.er1
18624 cat conftest.err >&5
18625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18626 (exit $ac_status); } &&
18627 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18629 (eval $ac_try) 2>&5
18630 ac_status=$?
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); }; } &&
18633 { ac_try='test -s conftest.$ac_objext'
18634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18635 (eval $ac_try) 2>&5
18636 ac_status=$?
18637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18638 (exit $ac_status); }; }; then
18639 ac_header_compiler=yes
18640 else
18641 echo "$as_me: failed program was:" >&5
18642 sed 's/^/| /' conftest.$ac_ext >&5
18643
18644 ac_header_compiler=no
18645 fi
18646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18647 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18648 echo "${ECHO_T}$ac_header_compiler" >&6
18649
18650 # Is the header present?
18651 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18652 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18653 cat >conftest.$ac_ext <<_ACEOF
18654 /* confdefs.h. */
18655 _ACEOF
18656 cat confdefs.h >>conftest.$ac_ext
18657 cat >>conftest.$ac_ext <<_ACEOF
18658 /* end confdefs.h. */
18659 #include <$ac_header>
18660 _ACEOF
18661 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18662 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18663 ac_status=$?
18664 grep -v '^ *+' conftest.er1 >conftest.err
18665 rm -f conftest.er1
18666 cat conftest.err >&5
18667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18668 (exit $ac_status); } >/dev/null; then
18669 if test -s conftest.err; then
18670 ac_cpp_err=$ac_cxx_preproc_warn_flag
18671 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18672 else
18673 ac_cpp_err=
18674 fi
18675 else
18676 ac_cpp_err=yes
18677 fi
18678 if test -z "$ac_cpp_err"; then
18679 ac_header_preproc=yes
18680 else
18681 echo "$as_me: failed program was:" >&5
18682 sed 's/^/| /' conftest.$ac_ext >&5
18683
18684 ac_header_preproc=no
18685 fi
18686 rm -f conftest.err conftest.$ac_ext
18687 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18688 echo "${ECHO_T}$ac_header_preproc" >&6
18689
18690 # So? What about this header?
18691 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18692 yes:no: )
18693 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18694 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18695 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18696 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18697 ac_header_preproc=yes
18698 ;;
18699 no:yes:* )
18700 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18701 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18702 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18703 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18704 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18705 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18706 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18707 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18708 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18709 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18710 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18711 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18712 (
18713 cat <<\_ASBOX
18714 ## ----------------------------------------- ##
18715 ## Report this to wx-dev@lists.wxwindows.org ##
18716 ## ----------------------------------------- ##
18717 _ASBOX
18718 ) |
18719 sed "s/^/$as_me: WARNING: /" >&2
18720 ;;
18721 esac
18722 echo "$as_me:$LINENO: checking for $ac_header" >&5
18723 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18724 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18725 echo $ECHO_N "(cached) $ECHO_C" >&6
18726 else
18727 eval "$as_ac_Header=\$ac_header_preproc"
18728 fi
18729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18730 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18731
18732 fi
18733 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18734 cat >>confdefs.h <<_ACEOF
18735 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18736 _ACEOF
18737
18738 fi
18739
18740 done
18741
18742
18743 if test "$ac_cv_header_iostream" = "yes" ; then
18744 :
18745 else
18746 cat >>confdefs.h <<\_ACEOF
18747 #define wxUSE_IOSTREAMH 1
18748 _ACEOF
18749
18750 fi
18751
18752 ac_ext=c
18753 ac_cpp='$CPP $CPPFLAGS'
18754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18757
18758 fi
18759
18760
18761
18762 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18763 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18764 if test "${wx_cv_cpp_bool+set}" = set; then
18765 echo $ECHO_N "(cached) $ECHO_C" >&6
18766 else
18767
18768
18769
18770 ac_ext=cc
18771 ac_cpp='$CXXCPP $CPPFLAGS'
18772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18775
18776
18777 cat >conftest.$ac_ext <<_ACEOF
18778 /* confdefs.h. */
18779 _ACEOF
18780 cat confdefs.h >>conftest.$ac_ext
18781 cat >>conftest.$ac_ext <<_ACEOF
18782 /* end confdefs.h. */
18783
18784
18785 int
18786 main ()
18787 {
18788
18789 bool b = true;
18790
18791 return 0;
18792
18793 ;
18794 return 0;
18795 }
18796 _ACEOF
18797 rm -f conftest.$ac_objext
18798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18799 (eval $ac_compile) 2>conftest.er1
18800 ac_status=$?
18801 grep -v '^ *+' conftest.er1 >conftest.err
18802 rm -f conftest.er1
18803 cat conftest.err >&5
18804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18805 (exit $ac_status); } &&
18806 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18808 (eval $ac_try) 2>&5
18809 ac_status=$?
18810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18811 (exit $ac_status); }; } &&
18812 { ac_try='test -s conftest.$ac_objext'
18813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18814 (eval $ac_try) 2>&5
18815 ac_status=$?
18816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18817 (exit $ac_status); }; }; then
18818
18819 wx_cv_cpp_bool=yes
18820
18821 else
18822 echo "$as_me: failed program was:" >&5
18823 sed 's/^/| /' conftest.$ac_ext >&5
18824
18825
18826 wx_cv_cpp_bool=no
18827
18828
18829 fi
18830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18831
18832 ac_ext=c
18833 ac_cpp='$CPP $CPPFLAGS'
18834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18837
18838
18839 fi
18840 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18841 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18842
18843 if test "$wx_cv_cpp_bool" = "yes"; then
18844 cat >>confdefs.h <<\_ACEOF
18845 #define HAVE_BOOL 1
18846 _ACEOF
18847
18848 fi
18849
18850
18851
18852 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18853 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18854 if test "${wx_cv_explicit+set}" = set; then
18855 echo $ECHO_N "(cached) $ECHO_C" >&6
18856 else
18857
18858
18859
18860 ac_ext=cc
18861 ac_cpp='$CXXCPP $CPPFLAGS'
18862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18865
18866
18867 cat >conftest.$ac_ext <<_ACEOF
18868 /* confdefs.h. */
18869 _ACEOF
18870 cat confdefs.h >>conftest.$ac_ext
18871 cat >>conftest.$ac_ext <<_ACEOF
18872 /* end confdefs.h. */
18873
18874 class Foo { public: explicit Foo(int) {} };
18875
18876 int
18877 main ()
18878 {
18879
18880 return 0;
18881
18882 ;
18883 return 0;
18884 }
18885 _ACEOF
18886 rm -f conftest.$ac_objext
18887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18888 (eval $ac_compile) 2>conftest.er1
18889 ac_status=$?
18890 grep -v '^ *+' conftest.er1 >conftest.err
18891 rm -f conftest.er1
18892 cat conftest.err >&5
18893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894 (exit $ac_status); } &&
18895 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18897 (eval $ac_try) 2>&5
18898 ac_status=$?
18899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18900 (exit $ac_status); }; } &&
18901 { ac_try='test -s conftest.$ac_objext'
18902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18903 (eval $ac_try) 2>&5
18904 ac_status=$?
18905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18906 (exit $ac_status); }; }; then
18907
18908 cat >conftest.$ac_ext <<_ACEOF
18909 /* confdefs.h. */
18910 _ACEOF
18911 cat confdefs.h >>conftest.$ac_ext
18912 cat >>conftest.$ac_ext <<_ACEOF
18913 /* end confdefs.h. */
18914
18915 class Foo { public: explicit Foo(int) {} };
18916 static void TakeFoo(const Foo& foo) { }
18917
18918 int
18919 main ()
18920 {
18921
18922 TakeFoo(17);
18923 return 0;
18924
18925 ;
18926 return 0;
18927 }
18928 _ACEOF
18929 rm -f conftest.$ac_objext
18930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18931 (eval $ac_compile) 2>conftest.er1
18932 ac_status=$?
18933 grep -v '^ *+' conftest.er1 >conftest.err
18934 rm -f conftest.er1
18935 cat conftest.err >&5
18936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18937 (exit $ac_status); } &&
18938 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18940 (eval $ac_try) 2>&5
18941 ac_status=$?
18942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18943 (exit $ac_status); }; } &&
18944 { ac_try='test -s conftest.$ac_objext'
18945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18946 (eval $ac_try) 2>&5
18947 ac_status=$?
18948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949 (exit $ac_status); }; }; then
18950 wx_cv_explicit=no
18951 else
18952 echo "$as_me: failed program was:" >&5
18953 sed 's/^/| /' conftest.$ac_ext >&5
18954
18955 wx_cv_explicit=yes
18956
18957 fi
18958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18959
18960 else
18961 echo "$as_me: failed program was:" >&5
18962 sed 's/^/| /' conftest.$ac_ext >&5
18963
18964 wx_cv_explicit=no
18965
18966 fi
18967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18968
18969 ac_ext=c
18970 ac_cpp='$CPP $CPPFLAGS'
18971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18974
18975
18976 fi
18977 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
18978 echo "${ECHO_T}$wx_cv_explicit" >&6
18979
18980 if test "$wx_cv_explicit" = "yes"; then
18981 cat >>confdefs.h <<\_ACEOF
18982 #define HAVE_EXPLICIT 1
18983 _ACEOF
18984
18985 fi
18986
18987
18988 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
18989 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
18990 if test "${ac_cv_cxx_const_cast+set}" = set; then
18991 echo $ECHO_N "(cached) $ECHO_C" >&6
18992 else
18993
18994
18995 ac_ext=cc
18996 ac_cpp='$CXXCPP $CPPFLAGS'
18997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19000
19001 cat >conftest.$ac_ext <<_ACEOF
19002 /* confdefs.h. */
19003 _ACEOF
19004 cat confdefs.h >>conftest.$ac_ext
19005 cat >>conftest.$ac_ext <<_ACEOF
19006 /* end confdefs.h. */
19007
19008 int
19009 main ()
19010 {
19011 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19012 ;
19013 return 0;
19014 }
19015 _ACEOF
19016 rm -f conftest.$ac_objext
19017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19018 (eval $ac_compile) 2>conftest.er1
19019 ac_status=$?
19020 grep -v '^ *+' conftest.er1 >conftest.err
19021 rm -f conftest.er1
19022 cat conftest.err >&5
19023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19024 (exit $ac_status); } &&
19025 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19027 (eval $ac_try) 2>&5
19028 ac_status=$?
19029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19030 (exit $ac_status); }; } &&
19031 { ac_try='test -s conftest.$ac_objext'
19032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19033 (eval $ac_try) 2>&5
19034 ac_status=$?
19035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19036 (exit $ac_status); }; }; then
19037 ac_cv_cxx_const_cast=yes
19038 else
19039 echo "$as_me: failed program was:" >&5
19040 sed 's/^/| /' conftest.$ac_ext >&5
19041
19042 ac_cv_cxx_const_cast=no
19043 fi
19044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19045 ac_ext=c
19046 ac_cpp='$CPP $CPPFLAGS'
19047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19050
19051
19052 fi
19053 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19054 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19055 if test "$ac_cv_cxx_const_cast" = yes; then
19056
19057 cat >>confdefs.h <<\_ACEOF
19058 #define HAVE_CONST_CAST
19059 _ACEOF
19060
19061 fi
19062
19063 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19064 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19065 if test "${ac_cv_cxx_static_cast+set}" = set; then
19066 echo $ECHO_N "(cached) $ECHO_C" >&6
19067 else
19068
19069
19070 ac_ext=cc
19071 ac_cpp='$CXXCPP $CPPFLAGS'
19072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19075
19076 cat >conftest.$ac_ext <<_ACEOF
19077 /* confdefs.h. */
19078 _ACEOF
19079 cat confdefs.h >>conftest.$ac_ext
19080 cat >>conftest.$ac_ext <<_ACEOF
19081 /* end confdefs.h. */
19082 #include <typeinfo>
19083 class Base { public : Base () {} virtual void f () = 0; };
19084 class Derived : public Base { public : Derived () {} virtual void f () {} };
19085 int g (Derived&) { return 0; }
19086 int
19087 main ()
19088 {
19089
19090 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19091 ;
19092 return 0;
19093 }
19094 _ACEOF
19095 rm -f conftest.$ac_objext
19096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19097 (eval $ac_compile) 2>conftest.er1
19098 ac_status=$?
19099 grep -v '^ *+' conftest.er1 >conftest.err
19100 rm -f conftest.er1
19101 cat conftest.err >&5
19102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19103 (exit $ac_status); } &&
19104 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19106 (eval $ac_try) 2>&5
19107 ac_status=$?
19108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19109 (exit $ac_status); }; } &&
19110 { ac_try='test -s conftest.$ac_objext'
19111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19112 (eval $ac_try) 2>&5
19113 ac_status=$?
19114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19115 (exit $ac_status); }; }; then
19116 ac_cv_cxx_static_cast=yes
19117 else
19118 echo "$as_me: failed program was:" >&5
19119 sed 's/^/| /' conftest.$ac_ext >&5
19120
19121 ac_cv_cxx_static_cast=no
19122 fi
19123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19124 ac_ext=c
19125 ac_cpp='$CPP $CPPFLAGS'
19126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19129
19130
19131 fi
19132 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19133 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19134 if test "$ac_cv_cxx_static_cast" = yes; then
19135
19136 cat >>confdefs.h <<\_ACEOF
19137 #define HAVE_STATIC_CAST
19138 _ACEOF
19139
19140 fi
19141
19142
19143 if test "$wxUSE_STL" = "yes"; then
19144 ac_ext=cc
19145 ac_cpp='$CXXCPP $CPPFLAGS'
19146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19149
19150
19151 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19152 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19153 cat >conftest.$ac_ext <<_ACEOF
19154 /* confdefs.h. */
19155 _ACEOF
19156 cat confdefs.h >>conftest.$ac_ext
19157 cat >>conftest.$ac_ext <<_ACEOF
19158 /* end confdefs.h. */
19159 #include <string>
19160 #include <functional>
19161 #include <algorithm>
19162 #include <vector>
19163 #include <list>
19164 int
19165 main ()
19166 {
19167 std::vector<int> moo;
19168 std::list<int> foo;
19169 std::vector<int>::iterator it =
19170 std::find_if(moo.begin(), moo.end(),
19171 std::bind2nd(std::less<int>(), 3));
19172 ;
19173 return 0;
19174 }
19175 _ACEOF
19176 rm -f conftest.$ac_objext
19177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19178 (eval $ac_compile) 2>conftest.er1
19179 ac_status=$?
19180 grep -v '^ *+' conftest.er1 >conftest.err
19181 rm -f conftest.er1
19182 cat conftest.err >&5
19183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19184 (exit $ac_status); } &&
19185 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19187 (eval $ac_try) 2>&5
19188 ac_status=$?
19189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19190 (exit $ac_status); }; } &&
19191 { ac_try='test -s conftest.$ac_objext'
19192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19193 (eval $ac_try) 2>&5
19194 ac_status=$?
19195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); }; }; then
19197 echo "$as_me:$LINENO: result: yes" >&5
19198 echo "${ECHO_T}yes" >&6
19199 else
19200 echo "$as_me: failed program was:" >&5
19201 sed 's/^/| /' conftest.$ac_ext >&5
19202
19203 echo "$as_me:$LINENO: result: no" >&5
19204 echo "${ECHO_T}no" >&6
19205 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19206 echo "$as_me: error: Basic STL functionality missing" >&2;}
19207 { (exit 1); exit 1; }; }
19208 fi
19209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19210
19211 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19212 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19213 cat >conftest.$ac_ext <<_ACEOF
19214 /* confdefs.h. */
19215 _ACEOF
19216 cat confdefs.h >>conftest.$ac_ext
19217 cat >>conftest.$ac_ext <<_ACEOF
19218 /* end confdefs.h. */
19219 #include <string>
19220 int
19221 main ()
19222 {
19223 std::wstring foo;
19224 ;
19225 return 0;
19226 }
19227 _ACEOF
19228 rm -f conftest.$ac_objext
19229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19230 (eval $ac_compile) 2>conftest.er1
19231 ac_status=$?
19232 grep -v '^ *+' conftest.er1 >conftest.err
19233 rm -f conftest.er1
19234 cat conftest.err >&5
19235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19236 (exit $ac_status); } &&
19237 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19239 (eval $ac_try) 2>&5
19240 ac_status=$?
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); }; } &&
19243 { ac_try='test -s conftest.$ac_objext'
19244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19245 (eval $ac_try) 2>&5
19246 ac_status=$?
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); }; }; then
19249 echo "$as_me:$LINENO: result: yes" >&5
19250 echo "${ECHO_T}yes" >&6
19251 cat >>confdefs.h <<\_ACEOF
19252 #define HAVE_STD_WSTRING 1
19253 _ACEOF
19254
19255 else
19256 echo "$as_me: failed program was:" >&5
19257 sed 's/^/| /' conftest.$ac_ext >&5
19258
19259 echo "$as_me:$LINENO: result: no" >&5
19260 echo "${ECHO_T}no" >&6
19261 fi
19262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19263
19264 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19265 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19266 cat >conftest.$ac_ext <<_ACEOF
19267 /* confdefs.h. */
19268 _ACEOF
19269 cat confdefs.h >>conftest.$ac_ext
19270 cat >>conftest.$ac_ext <<_ACEOF
19271 /* end confdefs.h. */
19272 #include <string>
19273 int
19274 main ()
19275 {
19276 std::string foo, bar;
19277 foo.compare(bar);
19278 foo.compare(1, 1, bar);
19279 foo.compare(1, 1, bar, 1, 1);
19280 foo.compare("");
19281 foo.compare(1, 1, "");
19282 foo.compare(1, 1, "", 2);
19283 ;
19284 return 0;
19285 }
19286 _ACEOF
19287 rm -f conftest.$ac_objext
19288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19289 (eval $ac_compile) 2>conftest.er1
19290 ac_status=$?
19291 grep -v '^ *+' conftest.er1 >conftest.err
19292 rm -f conftest.er1
19293 cat conftest.err >&5
19294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19295 (exit $ac_status); } &&
19296 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19298 (eval $ac_try) 2>&5
19299 ac_status=$?
19300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19301 (exit $ac_status); }; } &&
19302 { ac_try='test -s conftest.$ac_objext'
19303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19304 (eval $ac_try) 2>&5
19305 ac_status=$?
19306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19307 (exit $ac_status); }; }; then
19308 echo "$as_me:$LINENO: result: yes" >&5
19309 echo "${ECHO_T}yes" >&6
19310 cat >>confdefs.h <<\_ACEOF
19311 #define HAVE_STD_STRING_COMPARE 1
19312 _ACEOF
19313
19314 else
19315 echo "$as_me: failed program was:" >&5
19316 sed 's/^/| /' conftest.$ac_ext >&5
19317
19318 echo "$as_me:$LINENO: result: no" >&5
19319 echo "${ECHO_T}no" >&6
19320 fi
19321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19322
19323 ac_ext=c
19324 ac_cpp='$CPP $CPPFLAGS'
19325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19328
19329 fi
19330
19331
19332 SEARCH_INCLUDE="\
19333 /usr/local/include \
19334 \
19335 /usr/Motif-2.1/include \
19336 /usr/Motif-1.2/include \
19337 /usr/include/Motif1.2 \
19338 /opt/xpm/include/X11 \
19339 /opt/GBxpm/include/ \
19340 /opt/GBxpm/X11/include/ \
19341 \
19342 /usr/dt/include \
19343 /usr/openwin/include \
19344 \
19345 /usr/include/Xm \
19346 \
19347 /usr/X11R6/include \
19348 /usr/X11R6.4/include \
19349 /usr/X11R5/include \
19350 /usr/X11R4/include \
19351 \
19352 /usr/include/X11R6 \
19353 /usr/include/X11R5 \
19354 /usr/include/X11R4 \
19355 \
19356 /usr/local/X11R6/include \
19357 /usr/local/X11R5/include \
19358 /usr/local/X11R4/include \
19359 \
19360 /usr/local/include/X11R6 \
19361 /usr/local/include/X11R5 \
19362 /usr/local/include/X11R4 \
19363 \
19364 /usr/X11/include \
19365 /usr/include/X11 \
19366 /usr/local/X11/include \
19367 /usr/local/include/X11 \
19368 \
19369 /usr/X386/include \
19370 /usr/x386/include \
19371 /usr/XFree86/include/X11 \
19372 \
19373 X:/XFree86/include \
19374 X:/XFree86/include/X11 \
19375 \
19376 /usr/include/gtk \
19377 /usr/local/include/gtk \
19378 /usr/include/glib \
19379 /usr/local/include/glib \
19380 \
19381 /usr/include/qt \
19382 /usr/local/include/qt \
19383 \
19384 /usr/local/arm/3.3.2/include \
19385 \
19386 /usr/include/windows \
19387 /usr/include/wine \
19388 /usr/local/include/wine \
19389 \
19390 /usr/unsupported/include \
19391 /usr/athena/include \
19392 /usr/local/x11r5/include \
19393 /usr/lpp/Xamples/include \
19394 \
19395 /usr/openwin/share/include"
19396
19397 SEARCH_LIB="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
19398
19399
19400 cat >confcache <<\_ACEOF
19401 # This file is a shell script that caches the results of configure
19402 # tests run on this system so they can be shared between configure
19403 # scripts and configure runs, see configure's option --config-cache.
19404 # It is not useful on other systems. If it contains results you don't
19405 # want to keep, you may remove or edit it.
19406 #
19407 # config.status only pays attention to the cache file if you give it
19408 # the --recheck option to rerun configure.
19409 #
19410 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19411 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19412 # following values.
19413
19414 _ACEOF
19415
19416 # The following way of writing the cache mishandles newlines in values,
19417 # but we know of no workaround that is simple, portable, and efficient.
19418 # So, don't put newlines in cache variables' values.
19419 # Ultrix sh set writes to stderr and can't be redirected directly,
19420 # and sets the high bit in the cache file unless we assign to the vars.
19421 {
19422 (set) 2>&1 |
19423 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19424 *ac_space=\ *)
19425 # `set' does not quote correctly, so add quotes (double-quote
19426 # substitution turns \\\\ into \\, and sed turns \\ into \).
19427 sed -n \
19428 "s/'/'\\\\''/g;
19429 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19430 ;;
19431 *)
19432 # `set' quotes correctly as required by POSIX, so do not add quotes.
19433 sed -n \
19434 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19435 ;;
19436 esac;
19437 } |
19438 sed '
19439 t clear
19440 : clear
19441 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19442 t end
19443 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19444 : end' >>confcache
19445 if diff $cache_file confcache >/dev/null 2>&1; then :; else
19446 if test -w $cache_file; then
19447 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19448 cat confcache >$cache_file
19449 else
19450 echo "not updating unwritable cache $cache_file"
19451 fi
19452 fi
19453 rm -f confcache
19454
19455 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19456 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
19457 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
19458 if test "${wx_cv_lib_glibc21+set}" = set; then
19459 echo $ECHO_N "(cached) $ECHO_C" >&6
19460 else
19461
19462 cat >conftest.$ac_ext <<_ACEOF
19463 /* confdefs.h. */
19464 _ACEOF
19465 cat confdefs.h >>conftest.$ac_ext
19466 cat >>conftest.$ac_ext <<_ACEOF
19467 /* end confdefs.h. */
19468 #include <features.h>
19469 int
19470 main ()
19471 {
19472
19473 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
19474 #error not glibc2.1
19475 #endif
19476
19477 ;
19478 return 0;
19479 }
19480 _ACEOF
19481 rm -f conftest.$ac_objext
19482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19483 (eval $ac_compile) 2>conftest.er1
19484 ac_status=$?
19485 grep -v '^ *+' conftest.er1 >conftest.err
19486 rm -f conftest.er1
19487 cat conftest.err >&5
19488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489 (exit $ac_status); } &&
19490 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19492 (eval $ac_try) 2>&5
19493 ac_status=$?
19494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19495 (exit $ac_status); }; } &&
19496 { ac_try='test -s conftest.$ac_objext'
19497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19498 (eval $ac_try) 2>&5
19499 ac_status=$?
19500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19501 (exit $ac_status); }; }; then
19502
19503 wx_cv_lib_glibc21=yes
19504
19505 else
19506 echo "$as_me: failed program was:" >&5
19507 sed 's/^/| /' conftest.$ac_ext >&5
19508
19509
19510 wx_cv_lib_glibc21=no
19511
19512
19513 fi
19514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19515
19516 fi
19517 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
19518 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
19519 if test "$wx_cv_lib_glibc21" = "yes"; then
19520 cat >>confdefs.h <<\_ACEOF
19521 #define wxHAVE_GLIBC2 1
19522 _ACEOF
19523
19524 fi
19525 fi
19526
19527 if test "x$wx_cv_lib_glibc21" = "xyes"; then
19528 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
19529 cat >>confdefs.h <<\_ACEOF
19530 #define _GNU_SOURCE 1
19531 _ACEOF
19532
19533 fi
19534 fi
19535
19536
19537
19538 if test "$wxUSE_REGEX" != "no"; then
19539 cat >>confdefs.h <<\_ACEOF
19540 #define wxUSE_REGEX 1
19541 _ACEOF
19542
19543
19544 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
19545 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
19546 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
19547 wxUSE_REGEX=builtin
19548 fi
19549
19550 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
19551 if test "${ac_cv_header_regex_h+set}" = set; then
19552 echo "$as_me:$LINENO: checking for regex.h" >&5
19553 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19554 if test "${ac_cv_header_regex_h+set}" = set; then
19555 echo $ECHO_N "(cached) $ECHO_C" >&6
19556 fi
19557 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19558 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19559 else
19560 # Is the header compilable?
19561 echo "$as_me:$LINENO: checking regex.h usability" >&5
19562 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
19563 cat >conftest.$ac_ext <<_ACEOF
19564 /* confdefs.h. */
19565 _ACEOF
19566 cat confdefs.h >>conftest.$ac_ext
19567 cat >>conftest.$ac_ext <<_ACEOF
19568 /* end confdefs.h. */
19569 $ac_includes_default
19570 #include <regex.h>
19571 _ACEOF
19572 rm -f conftest.$ac_objext
19573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19574 (eval $ac_compile) 2>conftest.er1
19575 ac_status=$?
19576 grep -v '^ *+' conftest.er1 >conftest.err
19577 rm -f conftest.er1
19578 cat conftest.err >&5
19579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19580 (exit $ac_status); } &&
19581 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19583 (eval $ac_try) 2>&5
19584 ac_status=$?
19585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19586 (exit $ac_status); }; } &&
19587 { ac_try='test -s conftest.$ac_objext'
19588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19589 (eval $ac_try) 2>&5
19590 ac_status=$?
19591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592 (exit $ac_status); }; }; then
19593 ac_header_compiler=yes
19594 else
19595 echo "$as_me: failed program was:" >&5
19596 sed 's/^/| /' conftest.$ac_ext >&5
19597
19598 ac_header_compiler=no
19599 fi
19600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19601 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19602 echo "${ECHO_T}$ac_header_compiler" >&6
19603
19604 # Is the header present?
19605 echo "$as_me:$LINENO: checking regex.h presence" >&5
19606 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
19607 cat >conftest.$ac_ext <<_ACEOF
19608 /* confdefs.h. */
19609 _ACEOF
19610 cat confdefs.h >>conftest.$ac_ext
19611 cat >>conftest.$ac_ext <<_ACEOF
19612 /* end confdefs.h. */
19613 #include <regex.h>
19614 _ACEOF
19615 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19616 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19617 ac_status=$?
19618 grep -v '^ *+' conftest.er1 >conftest.err
19619 rm -f conftest.er1
19620 cat conftest.err >&5
19621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19622 (exit $ac_status); } >/dev/null; then
19623 if test -s conftest.err; then
19624 ac_cpp_err=$ac_c_preproc_warn_flag
19625 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19626 else
19627 ac_cpp_err=
19628 fi
19629 else
19630 ac_cpp_err=yes
19631 fi
19632 if test -z "$ac_cpp_err"; then
19633 ac_header_preproc=yes
19634 else
19635 echo "$as_me: failed program was:" >&5
19636 sed 's/^/| /' conftest.$ac_ext >&5
19637
19638 ac_header_preproc=no
19639 fi
19640 rm -f conftest.err conftest.$ac_ext
19641 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19642 echo "${ECHO_T}$ac_header_preproc" >&6
19643
19644 # So? What about this header?
19645 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19646 yes:no: )
19647 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
19648 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19649 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
19650 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
19651 ac_header_preproc=yes
19652 ;;
19653 no:yes:* )
19654 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
19655 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
19656 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
19657 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
19658 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
19659 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
19660 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
19661 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
19662 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
19663 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
19664 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
19665 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
19666 (
19667 cat <<\_ASBOX
19668 ## ----------------------------------------- ##
19669 ## Report this to wx-dev@lists.wxwindows.org ##
19670 ## ----------------------------------------- ##
19671 _ASBOX
19672 ) |
19673 sed "s/^/$as_me: WARNING: /" >&2
19674 ;;
19675 esac
19676 echo "$as_me:$LINENO: checking for regex.h" >&5
19677 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19678 if test "${ac_cv_header_regex_h+set}" = set; then
19679 echo $ECHO_N "(cached) $ECHO_C" >&6
19680 else
19681 ac_cv_header_regex_h=$ac_header_preproc
19682 fi
19683 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19684 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19685
19686 fi
19687 if test $ac_cv_header_regex_h = yes; then
19688
19689 for ac_func in regcomp
19690 do
19691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19692 echo "$as_me:$LINENO: checking for $ac_func" >&5
19693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19694 if eval "test \"\${$as_ac_var+set}\" = set"; then
19695 echo $ECHO_N "(cached) $ECHO_C" >&6
19696 else
19697 cat >conftest.$ac_ext <<_ACEOF
19698 /* confdefs.h. */
19699 _ACEOF
19700 cat confdefs.h >>conftest.$ac_ext
19701 cat >>conftest.$ac_ext <<_ACEOF
19702 /* end confdefs.h. */
19703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19705 #define $ac_func innocuous_$ac_func
19706
19707 /* System header to define __stub macros and hopefully few prototypes,
19708 which can conflict with char $ac_func (); below.
19709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19710 <limits.h> exists even on freestanding compilers. */
19711
19712 #ifdef __STDC__
19713 # include <limits.h>
19714 #else
19715 # include <assert.h>
19716 #endif
19717
19718 #undef $ac_func
19719
19720 /* Override any gcc2 internal prototype to avoid an error. */
19721 #ifdef __cplusplus
19722 extern "C"
19723 {
19724 #endif
19725 /* We use char because int might match the return type of a gcc2
19726 builtin and then its argument prototype would still apply. */
19727 char $ac_func ();
19728 /* The GNU C library defines this for functions which it implements
19729 to always fail with ENOSYS. Some functions are actually named
19730 something starting with __ and the normal name is an alias. */
19731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19732 choke me
19733 #else
19734 char (*f) () = $ac_func;
19735 #endif
19736 #ifdef __cplusplus
19737 }
19738 #endif
19739
19740 int
19741 main ()
19742 {
19743 return f != $ac_func;
19744 ;
19745 return 0;
19746 }
19747 _ACEOF
19748 rm -f conftest.$ac_objext conftest$ac_exeext
19749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19750 (eval $ac_link) 2>conftest.er1
19751 ac_status=$?
19752 grep -v '^ *+' conftest.er1 >conftest.err
19753 rm -f conftest.er1
19754 cat conftest.err >&5
19755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19756 (exit $ac_status); } &&
19757 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19759 (eval $ac_try) 2>&5
19760 ac_status=$?
19761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762 (exit $ac_status); }; } &&
19763 { ac_try='test -s conftest$ac_exeext'
19764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19765 (eval $ac_try) 2>&5
19766 ac_status=$?
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); }; }; then
19769 eval "$as_ac_var=yes"
19770 else
19771 echo "$as_me: failed program was:" >&5
19772 sed 's/^/| /' conftest.$ac_ext >&5
19773
19774 eval "$as_ac_var=no"
19775 fi
19776 rm -f conftest.err conftest.$ac_objext \
19777 conftest$ac_exeext conftest.$ac_ext
19778 fi
19779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19781 if test `eval echo '${'$as_ac_var'}'` = yes; then
19782 cat >>confdefs.h <<_ACEOF
19783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19784 _ACEOF
19785
19786 fi
19787 done
19788
19789 fi
19790
19791
19792
19793 if test "x$ac_cv_func_regcomp" != "xyes"; then
19794 if test "$wxUSE_REGEX" = "sys" ; then
19795 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
19796 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
19797 { (exit 1); exit 1; }; }
19798 else
19799 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
19800 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
19801 wxUSE_REGEX=builtin
19802 fi
19803 else
19804 wxUSE_REGEX=sys
19805 cat >>confdefs.h <<\_ACEOF
19806 #define WX_NO_REGEX_ADVANCED 1
19807 _ACEOF
19808
19809 fi
19810 fi
19811 fi
19812
19813
19814 ZLIB_LINK=
19815 if test "$wxUSE_ZLIB" != "no" ; then
19816 cat >>confdefs.h <<\_ACEOF
19817 #define wxUSE_ZLIB 1
19818 _ACEOF
19819
19820
19821 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
19822 if test "$USE_DARWIN" = 1; then
19823 system_zlib_h_ok="yes"
19824 else
19825 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
19826 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
19827 if test "${ac_cv_header_zlib_h+set}" = set; then
19828 echo $ECHO_N "(cached) $ECHO_C" >&6
19829 else
19830 if test "$cross_compiling" = yes; then
19831 unset ac_cv_header_zlib_h
19832
19833 else
19834 cat >conftest.$ac_ext <<_ACEOF
19835 /* confdefs.h. */
19836 _ACEOF
19837 cat confdefs.h >>conftest.$ac_ext
19838 cat >>conftest.$ac_ext <<_ACEOF
19839 /* end confdefs.h. */
19840
19841 #include <zlib.h>
19842 #include <stdio.h>
19843
19844 int main()
19845 {
19846 FILE *f=fopen("conftestval", "w");
19847 if (!f) exit(1);
19848 fprintf(f, "%s",
19849 ZLIB_VERSION[0] == '1' &&
19850 (ZLIB_VERSION[2] > '1' ||
19851 (ZLIB_VERSION[2] == '1' &&
19852 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
19853 exit(0);
19854 }
19855
19856 _ACEOF
19857 rm -f conftest$ac_exeext
19858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19859 (eval $ac_link) 2>&5
19860 ac_status=$?
19861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19862 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19864 (eval $ac_try) 2>&5
19865 ac_status=$?
19866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19867 (exit $ac_status); }; }; then
19868 ac_cv_header_zlib_h=`cat conftestval`
19869 else
19870 echo "$as_me: program exited with status $ac_status" >&5
19871 echo "$as_me: failed program was:" >&5
19872 sed 's/^/| /' conftest.$ac_ext >&5
19873
19874 ( exit $ac_status )
19875 ac_cv_header_zlib_h=no
19876 fi
19877 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19878 fi
19879
19880 fi
19881 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19882 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19883 if test "${ac_cv_header_zlib_h+set}" = set; then
19884 echo "$as_me:$LINENO: checking for zlib.h" >&5
19885 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19886 if test "${ac_cv_header_zlib_h+set}" = set; then
19887 echo $ECHO_N "(cached) $ECHO_C" >&6
19888 fi
19889 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19890 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19891 else
19892 # Is the header compilable?
19893 echo "$as_me:$LINENO: checking zlib.h usability" >&5
19894 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
19895 cat >conftest.$ac_ext <<_ACEOF
19896 /* confdefs.h. */
19897 _ACEOF
19898 cat confdefs.h >>conftest.$ac_ext
19899 cat >>conftest.$ac_ext <<_ACEOF
19900 /* end confdefs.h. */
19901 $ac_includes_default
19902 #include <zlib.h>
19903 _ACEOF
19904 rm -f conftest.$ac_objext
19905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19906 (eval $ac_compile) 2>conftest.er1
19907 ac_status=$?
19908 grep -v '^ *+' conftest.er1 >conftest.err
19909 rm -f conftest.er1
19910 cat conftest.err >&5
19911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19912 (exit $ac_status); } &&
19913 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19915 (eval $ac_try) 2>&5
19916 ac_status=$?
19917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19918 (exit $ac_status); }; } &&
19919 { ac_try='test -s conftest.$ac_objext'
19920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19921 (eval $ac_try) 2>&5
19922 ac_status=$?
19923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19924 (exit $ac_status); }; }; then
19925 ac_header_compiler=yes
19926 else
19927 echo "$as_me: failed program was:" >&5
19928 sed 's/^/| /' conftest.$ac_ext >&5
19929
19930 ac_header_compiler=no
19931 fi
19932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19933 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19934 echo "${ECHO_T}$ac_header_compiler" >&6
19935
19936 # Is the header present?
19937 echo "$as_me:$LINENO: checking zlib.h presence" >&5
19938 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
19939 cat >conftest.$ac_ext <<_ACEOF
19940 /* confdefs.h. */
19941 _ACEOF
19942 cat confdefs.h >>conftest.$ac_ext
19943 cat >>conftest.$ac_ext <<_ACEOF
19944 /* end confdefs.h. */
19945 #include <zlib.h>
19946 _ACEOF
19947 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19948 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19949 ac_status=$?
19950 grep -v '^ *+' conftest.er1 >conftest.err
19951 rm -f conftest.er1
19952 cat conftest.err >&5
19953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954 (exit $ac_status); } >/dev/null; then
19955 if test -s conftest.err; then
19956 ac_cpp_err=$ac_c_preproc_warn_flag
19957 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19958 else
19959 ac_cpp_err=
19960 fi
19961 else
19962 ac_cpp_err=yes
19963 fi
19964 if test -z "$ac_cpp_err"; then
19965 ac_header_preproc=yes
19966 else
19967 echo "$as_me: failed program was:" >&5
19968 sed 's/^/| /' conftest.$ac_ext >&5
19969
19970 ac_header_preproc=no
19971 fi
19972 rm -f conftest.err conftest.$ac_ext
19973 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19974 echo "${ECHO_T}$ac_header_preproc" >&6
19975
19976 # So? What about this header?
19977 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19978 yes:no: )
19979 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
19980 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19981 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
19982 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
19983 ac_header_preproc=yes
19984 ;;
19985 no:yes:* )
19986 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
19987 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
19988 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
19989 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
19990 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
19991 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
19992 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
19993 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
19994 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
19995 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
19996 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
19997 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
19998 (
19999 cat <<\_ASBOX
20000 ## ----------------------------------------- ##
20001 ## Report this to wx-dev@lists.wxwindows.org ##
20002 ## ----------------------------------------- ##
20003 _ASBOX
20004 ) |
20005 sed "s/^/$as_me: WARNING: /" >&2
20006 ;;
20007 esac
20008 echo "$as_me:$LINENO: checking for zlib.h" >&5
20009 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20010 if test "${ac_cv_header_zlib_h+set}" = set; then
20011 echo $ECHO_N "(cached) $ECHO_C" >&6
20012 else
20013 ac_cv_header_zlib_h=$ac_header_preproc
20014 fi
20015 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20016 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20017
20018 fi
20019
20020
20021
20022 system_zlib_h_ok=$ac_cv_header_zlib_h
20023 fi
20024
20025 if test "$system_zlib_h_ok" = "yes"; then
20026 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20027 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20028 if test "${ac_cv_lib_z_deflate+set}" = set; then
20029 echo $ECHO_N "(cached) $ECHO_C" >&6
20030 else
20031 ac_check_lib_save_LIBS=$LIBS
20032 LIBS="-lz $LIBS"
20033 cat >conftest.$ac_ext <<_ACEOF
20034 /* confdefs.h. */
20035 _ACEOF
20036 cat confdefs.h >>conftest.$ac_ext
20037 cat >>conftest.$ac_ext <<_ACEOF
20038 /* end confdefs.h. */
20039
20040 /* Override any gcc2 internal prototype to avoid an error. */
20041 #ifdef __cplusplus
20042 extern "C"
20043 #endif
20044 /* We use char because int might match the return type of a gcc2
20045 builtin and then its argument prototype would still apply. */
20046 char deflate ();
20047 int
20048 main ()
20049 {
20050 deflate ();
20051 ;
20052 return 0;
20053 }
20054 _ACEOF
20055 rm -f conftest.$ac_objext conftest$ac_exeext
20056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20057 (eval $ac_link) 2>conftest.er1
20058 ac_status=$?
20059 grep -v '^ *+' conftest.er1 >conftest.err
20060 rm -f conftest.er1
20061 cat conftest.err >&5
20062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20063 (exit $ac_status); } &&
20064 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20066 (eval $ac_try) 2>&5
20067 ac_status=$?
20068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20069 (exit $ac_status); }; } &&
20070 { ac_try='test -s conftest$ac_exeext'
20071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20072 (eval $ac_try) 2>&5
20073 ac_status=$?
20074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20075 (exit $ac_status); }; }; then
20076 ac_cv_lib_z_deflate=yes
20077 else
20078 echo "$as_me: failed program was:" >&5
20079 sed 's/^/| /' conftest.$ac_ext >&5
20080
20081 ac_cv_lib_z_deflate=no
20082 fi
20083 rm -f conftest.err conftest.$ac_objext \
20084 conftest$ac_exeext conftest.$ac_ext
20085 LIBS=$ac_check_lib_save_LIBS
20086 fi
20087 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20088 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20089 if test $ac_cv_lib_z_deflate = yes; then
20090 ZLIB_LINK=" -lz"
20091 fi
20092
20093 fi
20094
20095 if test "x$ZLIB_LINK" = "x" ; then
20096 if test "$wxUSE_ZLIB" = "sys" ; then
20097 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20098 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20099 { (exit 1); exit 1; }; }
20100 else
20101 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20102 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20103 wxUSE_ZLIB=builtin
20104 fi
20105 else
20106 wxUSE_ZLIB=sys
20107 fi
20108 fi
20109 fi
20110
20111
20112 PNG_LINK=
20113 if test "$wxUSE_LIBPNG" != "no" ; then
20114 cat >>confdefs.h <<\_ACEOF
20115 #define wxUSE_LIBPNG 1
20116 _ACEOF
20117
20118
20119 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20120 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20121 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20122 wxUSE_LIBPNG=sys
20123 fi
20124
20125 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20126 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20127 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20128 wxUSE_LIBPNG=builtin
20129 fi
20130
20131 if test "$wxUSE_MGL" != 1 ; then
20132 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20133 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20134 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20135 if test "${ac_cv_header_png_h+set}" = set; then
20136 echo $ECHO_N "(cached) $ECHO_C" >&6
20137 else
20138 if test "$cross_compiling" = yes; then
20139 unset ac_cv_header_png_h
20140
20141 else
20142 cat >conftest.$ac_ext <<_ACEOF
20143 /* confdefs.h. */
20144 _ACEOF
20145 cat confdefs.h >>conftest.$ac_ext
20146 cat >>conftest.$ac_ext <<_ACEOF
20147 /* end confdefs.h. */
20148
20149 #include <png.h>
20150 #include <stdio.h>
20151
20152 int main()
20153 {
20154 FILE *f=fopen("conftestval", "w");
20155 if (!f) exit(1);
20156 fprintf(f, "%s",
20157 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20158 exit(0);
20159 }
20160
20161 _ACEOF
20162 rm -f conftest$ac_exeext
20163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20164 (eval $ac_link) 2>&5
20165 ac_status=$?
20166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20167 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20169 (eval $ac_try) 2>&5
20170 ac_status=$?
20171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20172 (exit $ac_status); }; }; then
20173 ac_cv_header_png_h=`cat conftestval`
20174 else
20175 echo "$as_me: program exited with status $ac_status" >&5
20176 echo "$as_me: failed program was:" >&5
20177 sed 's/^/| /' conftest.$ac_ext >&5
20178
20179 ( exit $ac_status )
20180 ac_cv_header_png_h=no
20181 fi
20182 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20183 fi
20184
20185 fi
20186 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20187 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20188 if test "${ac_cv_header_png_h+set}" = set; then
20189 echo "$as_me:$LINENO: checking for png.h" >&5
20190 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20191 if test "${ac_cv_header_png_h+set}" = set; then
20192 echo $ECHO_N "(cached) $ECHO_C" >&6
20193 fi
20194 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20195 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20196 else
20197 # Is the header compilable?
20198 echo "$as_me:$LINENO: checking png.h usability" >&5
20199 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
20200 cat >conftest.$ac_ext <<_ACEOF
20201 /* confdefs.h. */
20202 _ACEOF
20203 cat confdefs.h >>conftest.$ac_ext
20204 cat >>conftest.$ac_ext <<_ACEOF
20205 /* end confdefs.h. */
20206 $ac_includes_default
20207 #include <png.h>
20208 _ACEOF
20209 rm -f conftest.$ac_objext
20210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20211 (eval $ac_compile) 2>conftest.er1
20212 ac_status=$?
20213 grep -v '^ *+' conftest.er1 >conftest.err
20214 rm -f conftest.er1
20215 cat conftest.err >&5
20216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20217 (exit $ac_status); } &&
20218 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20220 (eval $ac_try) 2>&5
20221 ac_status=$?
20222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20223 (exit $ac_status); }; } &&
20224 { ac_try='test -s conftest.$ac_objext'
20225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20226 (eval $ac_try) 2>&5
20227 ac_status=$?
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); }; }; then
20230 ac_header_compiler=yes
20231 else
20232 echo "$as_me: failed program was:" >&5
20233 sed 's/^/| /' conftest.$ac_ext >&5
20234
20235 ac_header_compiler=no
20236 fi
20237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20238 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20239 echo "${ECHO_T}$ac_header_compiler" >&6
20240
20241 # Is the header present?
20242 echo "$as_me:$LINENO: checking png.h presence" >&5
20243 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
20244 cat >conftest.$ac_ext <<_ACEOF
20245 /* confdefs.h. */
20246 _ACEOF
20247 cat confdefs.h >>conftest.$ac_ext
20248 cat >>conftest.$ac_ext <<_ACEOF
20249 /* end confdefs.h. */
20250 #include <png.h>
20251 _ACEOF
20252 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20253 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20254 ac_status=$?
20255 grep -v '^ *+' conftest.er1 >conftest.err
20256 rm -f conftest.er1
20257 cat conftest.err >&5
20258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20259 (exit $ac_status); } >/dev/null; then
20260 if test -s conftest.err; then
20261 ac_cpp_err=$ac_c_preproc_warn_flag
20262 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20263 else
20264 ac_cpp_err=
20265 fi
20266 else
20267 ac_cpp_err=yes
20268 fi
20269 if test -z "$ac_cpp_err"; then
20270 ac_header_preproc=yes
20271 else
20272 echo "$as_me: failed program was:" >&5
20273 sed 's/^/| /' conftest.$ac_ext >&5
20274
20275 ac_header_preproc=no
20276 fi
20277 rm -f conftest.err conftest.$ac_ext
20278 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20279 echo "${ECHO_T}$ac_header_preproc" >&6
20280
20281 # So? What about this header?
20282 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20283 yes:no: )
20284 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
20285 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20286 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
20287 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
20288 ac_header_preproc=yes
20289 ;;
20290 no:yes:* )
20291 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
20292 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
20293 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
20294 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
20295 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
20296 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
20297 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
20298 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
20299 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
20300 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
20301 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
20302 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
20303 (
20304 cat <<\_ASBOX
20305 ## ----------------------------------------- ##
20306 ## Report this to wx-dev@lists.wxwindows.org ##
20307 ## ----------------------------------------- ##
20308 _ASBOX
20309 ) |
20310 sed "s/^/$as_me: WARNING: /" >&2
20311 ;;
20312 esac
20313 echo "$as_me:$LINENO: checking for png.h" >&5
20314 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20315 if test "${ac_cv_header_png_h+set}" = set; then
20316 echo $ECHO_N "(cached) $ECHO_C" >&6
20317 else
20318 ac_cv_header_png_h=$ac_header_preproc
20319 fi
20320 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20321 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20322
20323 fi
20324
20325
20326
20327 if test "$ac_cv_header_png_h" = "yes"; then
20328 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
20329 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
20330 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
20331 echo $ECHO_N "(cached) $ECHO_C" >&6
20332 else
20333 ac_check_lib_save_LIBS=$LIBS
20334 LIBS="-lpng -lz -lm $LIBS"
20335 cat >conftest.$ac_ext <<_ACEOF
20336 /* confdefs.h. */
20337 _ACEOF
20338 cat confdefs.h >>conftest.$ac_ext
20339 cat >>conftest.$ac_ext <<_ACEOF
20340 /* end confdefs.h. */
20341
20342 /* Override any gcc2 internal prototype to avoid an error. */
20343 #ifdef __cplusplus
20344 extern "C"
20345 #endif
20346 /* We use char because int might match the return type of a gcc2
20347 builtin and then its argument prototype would still apply. */
20348 char png_check_sig ();
20349 int
20350 main ()
20351 {
20352 png_check_sig ();
20353 ;
20354 return 0;
20355 }
20356 _ACEOF
20357 rm -f conftest.$ac_objext conftest$ac_exeext
20358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20359 (eval $ac_link) 2>conftest.er1
20360 ac_status=$?
20361 grep -v '^ *+' conftest.er1 >conftest.err
20362 rm -f conftest.er1
20363 cat conftest.err >&5
20364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20365 (exit $ac_status); } &&
20366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20368 (eval $ac_try) 2>&5
20369 ac_status=$?
20370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20371 (exit $ac_status); }; } &&
20372 { ac_try='test -s conftest$ac_exeext'
20373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20374 (eval $ac_try) 2>&5
20375 ac_status=$?
20376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20377 (exit $ac_status); }; }; then
20378 ac_cv_lib_png_png_check_sig=yes
20379 else
20380 echo "$as_me: failed program was:" >&5
20381 sed 's/^/| /' conftest.$ac_ext >&5
20382
20383 ac_cv_lib_png_png_check_sig=no
20384 fi
20385 rm -f conftest.err conftest.$ac_objext \
20386 conftest$ac_exeext conftest.$ac_ext
20387 LIBS=$ac_check_lib_save_LIBS
20388 fi
20389 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
20390 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
20391 if test $ac_cv_lib_png_png_check_sig = yes; then
20392 PNG_LINK=" -lpng"
20393 fi
20394
20395 fi
20396
20397 if test "x$PNG_LINK" = "x" ; then
20398 if test "$wxUSE_LIBPNG" = "sys" ; then
20399 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
20400 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
20401 { (exit 1); exit 1; }; }
20402 else
20403 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
20404 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
20405 wxUSE_LIBPNG=builtin
20406 fi
20407 else
20408 wxUSE_LIBPNG=sys
20409 fi
20410 fi
20411 fi
20412
20413 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
20414 fi
20415
20416
20417 JPEG_LINK=
20418 if test "$wxUSE_LIBJPEG" != "no" ; then
20419 cat >>confdefs.h <<\_ACEOF
20420 #define wxUSE_LIBJPEG 1
20421 _ACEOF
20422
20423
20424 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
20425 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
20426 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
20427 wxUSE_LIBJPEG=sys
20428 fi
20429
20430 if test "$wxUSE_MGL" != 1 ; then
20431 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
20432 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
20433 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
20434 if test "${ac_cv_header_jpeglib_h+set}" = set; then
20435 echo $ECHO_N "(cached) $ECHO_C" >&6
20436 else
20437 cat >conftest.$ac_ext <<_ACEOF
20438 /* confdefs.h. */
20439 _ACEOF
20440 cat confdefs.h >>conftest.$ac_ext
20441 cat >>conftest.$ac_ext <<_ACEOF
20442 /* end confdefs.h. */
20443
20444 #undef HAVE_STDLIB_H
20445 #include <stdio.h>
20446 #include <jpeglib.h>
20447
20448 int
20449 main ()
20450 {
20451
20452
20453 ;
20454 return 0;
20455 }
20456 _ACEOF
20457 rm -f conftest.$ac_objext
20458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20459 (eval $ac_compile) 2>conftest.er1
20460 ac_status=$?
20461 grep -v '^ *+' conftest.er1 >conftest.err
20462 rm -f conftest.er1
20463 cat conftest.err >&5
20464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20465 (exit $ac_status); } &&
20466 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20468 (eval $ac_try) 2>&5
20469 ac_status=$?
20470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20471 (exit $ac_status); }; } &&
20472 { ac_try='test -s conftest.$ac_objext'
20473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20474 (eval $ac_try) 2>&5
20475 ac_status=$?
20476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20477 (exit $ac_status); }; }; then
20478 ac_cv_header_jpeglib_h=yes
20479 else
20480 echo "$as_me: failed program was:" >&5
20481 sed 's/^/| /' conftest.$ac_ext >&5
20482
20483 ac_cv_header_jpeglib_h=no
20484
20485 fi
20486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20487
20488 fi
20489
20490 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
20491 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
20492
20493 if test "$ac_cv_header_jpeglib_h" = "yes"; then
20494 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
20495 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
20496 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
20497 echo $ECHO_N "(cached) $ECHO_C" >&6
20498 else
20499 ac_check_lib_save_LIBS=$LIBS
20500 LIBS="-ljpeg $LIBS"
20501 cat >conftest.$ac_ext <<_ACEOF
20502 /* confdefs.h. */
20503 _ACEOF
20504 cat confdefs.h >>conftest.$ac_ext
20505 cat >>conftest.$ac_ext <<_ACEOF
20506 /* end confdefs.h. */
20507
20508 /* Override any gcc2 internal prototype to avoid an error. */
20509 #ifdef __cplusplus
20510 extern "C"
20511 #endif
20512 /* We use char because int might match the return type of a gcc2
20513 builtin and then its argument prototype would still apply. */
20514 char jpeg_read_header ();
20515 int
20516 main ()
20517 {
20518 jpeg_read_header ();
20519 ;
20520 return 0;
20521 }
20522 _ACEOF
20523 rm -f conftest.$ac_objext conftest$ac_exeext
20524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20525 (eval $ac_link) 2>conftest.er1
20526 ac_status=$?
20527 grep -v '^ *+' conftest.er1 >conftest.err
20528 rm -f conftest.er1
20529 cat conftest.err >&5
20530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20531 (exit $ac_status); } &&
20532 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20534 (eval $ac_try) 2>&5
20535 ac_status=$?
20536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20537 (exit $ac_status); }; } &&
20538 { ac_try='test -s conftest$ac_exeext'
20539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20540 (eval $ac_try) 2>&5
20541 ac_status=$?
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); }; }; then
20544 ac_cv_lib_jpeg_jpeg_read_header=yes
20545 else
20546 echo "$as_me: failed program was:" >&5
20547 sed 's/^/| /' conftest.$ac_ext >&5
20548
20549 ac_cv_lib_jpeg_jpeg_read_header=no
20550 fi
20551 rm -f conftest.err conftest.$ac_objext \
20552 conftest$ac_exeext conftest.$ac_ext
20553 LIBS=$ac_check_lib_save_LIBS
20554 fi
20555 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
20556 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
20557 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
20558 JPEG_LINK=" -ljpeg"
20559 fi
20560
20561 fi
20562
20563 if test "x$JPEG_LINK" = "x" ; then
20564 if test "$wxUSE_LIBJPEG" = "sys" ; then
20565 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
20566 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
20567 { (exit 1); exit 1; }; }
20568 else
20569 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
20570 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
20571 wxUSE_LIBJPEG=builtin
20572 fi
20573 else
20574 wxUSE_LIBJPEG=sys
20575 fi
20576 fi
20577 fi
20578 fi
20579
20580
20581 TIFF_LINK=
20582 TIFF_PREREQ_LINKS=-lm
20583 if test "$wxUSE_LIBTIFF" != "no" ; then
20584 cat >>confdefs.h <<\_ACEOF
20585 #define wxUSE_LIBTIFF 1
20586 _ACEOF
20587
20588
20589 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
20590 if test "$wxUSE_LIBJPEG" = "sys"; then
20591 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
20592 fi
20593 if test "$wxUSE_ZLIB" = "sys"; then
20594 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
20595 fi
20596 if test "${ac_cv_header_tiffio_h+set}" = set; then
20597 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20598 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20599 if test "${ac_cv_header_tiffio_h+set}" = set; then
20600 echo $ECHO_N "(cached) $ECHO_C" >&6
20601 fi
20602 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20603 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20604 else
20605 # Is the header compilable?
20606 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
20607 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
20608 cat >conftest.$ac_ext <<_ACEOF
20609 /* confdefs.h. */
20610 _ACEOF
20611 cat confdefs.h >>conftest.$ac_ext
20612 cat >>conftest.$ac_ext <<_ACEOF
20613 /* end confdefs.h. */
20614 $ac_includes_default
20615 #include <tiffio.h>
20616 _ACEOF
20617 rm -f conftest.$ac_objext
20618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20619 (eval $ac_compile) 2>conftest.er1
20620 ac_status=$?
20621 grep -v '^ *+' conftest.er1 >conftest.err
20622 rm -f conftest.er1
20623 cat conftest.err >&5
20624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20625 (exit $ac_status); } &&
20626 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20628 (eval $ac_try) 2>&5
20629 ac_status=$?
20630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20631 (exit $ac_status); }; } &&
20632 { ac_try='test -s conftest.$ac_objext'
20633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20634 (eval $ac_try) 2>&5
20635 ac_status=$?
20636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20637 (exit $ac_status); }; }; then
20638 ac_header_compiler=yes
20639 else
20640 echo "$as_me: failed program was:" >&5
20641 sed 's/^/| /' conftest.$ac_ext >&5
20642
20643 ac_header_compiler=no
20644 fi
20645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20646 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20647 echo "${ECHO_T}$ac_header_compiler" >&6
20648
20649 # Is the header present?
20650 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
20651 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
20652 cat >conftest.$ac_ext <<_ACEOF
20653 /* confdefs.h. */
20654 _ACEOF
20655 cat confdefs.h >>conftest.$ac_ext
20656 cat >>conftest.$ac_ext <<_ACEOF
20657 /* end confdefs.h. */
20658 #include <tiffio.h>
20659 _ACEOF
20660 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20661 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20662 ac_status=$?
20663 grep -v '^ *+' conftest.er1 >conftest.err
20664 rm -f conftest.er1
20665 cat conftest.err >&5
20666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20667 (exit $ac_status); } >/dev/null; then
20668 if test -s conftest.err; then
20669 ac_cpp_err=$ac_c_preproc_warn_flag
20670 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20671 else
20672 ac_cpp_err=
20673 fi
20674 else
20675 ac_cpp_err=yes
20676 fi
20677 if test -z "$ac_cpp_err"; then
20678 ac_header_preproc=yes
20679 else
20680 echo "$as_me: failed program was:" >&5
20681 sed 's/^/| /' conftest.$ac_ext >&5
20682
20683 ac_header_preproc=no
20684 fi
20685 rm -f conftest.err conftest.$ac_ext
20686 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20687 echo "${ECHO_T}$ac_header_preproc" >&6
20688
20689 # So? What about this header?
20690 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20691 yes:no: )
20692 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
20693 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20694 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
20695 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
20696 ac_header_preproc=yes
20697 ;;
20698 no:yes:* )
20699 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
20700 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
20701 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
20702 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
20703 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
20704 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
20705 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
20706 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
20707 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
20708 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
20709 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
20710 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
20711 (
20712 cat <<\_ASBOX
20713 ## ----------------------------------------- ##
20714 ## Report this to wx-dev@lists.wxwindows.org ##
20715 ## ----------------------------------------- ##
20716 _ASBOX
20717 ) |
20718 sed "s/^/$as_me: WARNING: /" >&2
20719 ;;
20720 esac
20721 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20722 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20723 if test "${ac_cv_header_tiffio_h+set}" = set; then
20724 echo $ECHO_N "(cached) $ECHO_C" >&6
20725 else
20726 ac_cv_header_tiffio_h=$ac_header_preproc
20727 fi
20728 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20729 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20730
20731 fi
20732 if test $ac_cv_header_tiffio_h = yes; then
20733
20734 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
20735 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
20736 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
20737 echo $ECHO_N "(cached) $ECHO_C" >&6
20738 else
20739 ac_check_lib_save_LIBS=$LIBS
20740 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
20741 cat >conftest.$ac_ext <<_ACEOF
20742 /* confdefs.h. */
20743 _ACEOF
20744 cat confdefs.h >>conftest.$ac_ext
20745 cat >>conftest.$ac_ext <<_ACEOF
20746 /* end confdefs.h. */
20747
20748 /* Override any gcc2 internal prototype to avoid an error. */
20749 #ifdef __cplusplus
20750 extern "C"
20751 #endif
20752 /* We use char because int might match the return type of a gcc2
20753 builtin and then its argument prototype would still apply. */
20754 char TIFFError ();
20755 int
20756 main ()
20757 {
20758 TIFFError ();
20759 ;
20760 return 0;
20761 }
20762 _ACEOF
20763 rm -f conftest.$ac_objext conftest$ac_exeext
20764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20765 (eval $ac_link) 2>conftest.er1
20766 ac_status=$?
20767 grep -v '^ *+' conftest.er1 >conftest.err
20768 rm -f conftest.er1
20769 cat conftest.err >&5
20770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20771 (exit $ac_status); } &&
20772 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20774 (eval $ac_try) 2>&5
20775 ac_status=$?
20776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20777 (exit $ac_status); }; } &&
20778 { ac_try='test -s conftest$ac_exeext'
20779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20780 (eval $ac_try) 2>&5
20781 ac_status=$?
20782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20783 (exit $ac_status); }; }; then
20784 ac_cv_lib_tiff_TIFFError=yes
20785 else
20786 echo "$as_me: failed program was:" >&5
20787 sed 's/^/| /' conftest.$ac_ext >&5
20788
20789 ac_cv_lib_tiff_TIFFError=no
20790 fi
20791 rm -f conftest.err conftest.$ac_objext \
20792 conftest$ac_exeext conftest.$ac_ext
20793 LIBS=$ac_check_lib_save_LIBS
20794 fi
20795 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
20796 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
20797 if test $ac_cv_lib_tiff_TIFFError = yes; then
20798 TIFF_LINK=" -ltiff"
20799 fi
20800
20801
20802
20803 fi
20804
20805
20806
20807 if test "x$TIFF_LINK" = "x" ; then
20808 if test "$wxUSE_LIBTIFF" = "sys" ; then
20809 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
20810 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
20811 { (exit 1); exit 1; }; }
20812 else
20813 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
20814 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
20815 wxUSE_LIBTIFF=builtin
20816 fi
20817 else
20818 wxUSE_LIBTIFF=sys
20819 fi
20820 fi
20821 fi
20822
20823
20824 if test "$wxUSE_EXPAT" != "no"; then
20825 wxUSE_XML=yes
20826 cat >>confdefs.h <<\_ACEOF
20827 #define wxUSE_EXPAT 1
20828 _ACEOF
20829
20830 cat >>confdefs.h <<\_ACEOF
20831 #define wxUSE_XML 1
20832 _ACEOF
20833
20834
20835 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
20836 if test "${ac_cv_header_expat_h+set}" = set; then
20837 echo "$as_me:$LINENO: checking for expat.h" >&5
20838 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20839 if test "${ac_cv_header_expat_h+set}" = set; then
20840 echo $ECHO_N "(cached) $ECHO_C" >&6
20841 fi
20842 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20843 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20844 else
20845 # Is the header compilable?
20846 echo "$as_me:$LINENO: checking expat.h usability" >&5
20847 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
20848 cat >conftest.$ac_ext <<_ACEOF
20849 /* confdefs.h. */
20850 _ACEOF
20851 cat confdefs.h >>conftest.$ac_ext
20852 cat >>conftest.$ac_ext <<_ACEOF
20853 /* end confdefs.h. */
20854 $ac_includes_default
20855 #include <expat.h>
20856 _ACEOF
20857 rm -f conftest.$ac_objext
20858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20859 (eval $ac_compile) 2>conftest.er1
20860 ac_status=$?
20861 grep -v '^ *+' conftest.er1 >conftest.err
20862 rm -f conftest.er1
20863 cat conftest.err >&5
20864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20865 (exit $ac_status); } &&
20866 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20868 (eval $ac_try) 2>&5
20869 ac_status=$?
20870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20871 (exit $ac_status); }; } &&
20872 { ac_try='test -s conftest.$ac_objext'
20873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20874 (eval $ac_try) 2>&5
20875 ac_status=$?
20876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20877 (exit $ac_status); }; }; then
20878 ac_header_compiler=yes
20879 else
20880 echo "$as_me: failed program was:" >&5
20881 sed 's/^/| /' conftest.$ac_ext >&5
20882
20883 ac_header_compiler=no
20884 fi
20885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20886 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20887 echo "${ECHO_T}$ac_header_compiler" >&6
20888
20889 # Is the header present?
20890 echo "$as_me:$LINENO: checking expat.h presence" >&5
20891 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
20892 cat >conftest.$ac_ext <<_ACEOF
20893 /* confdefs.h. */
20894 _ACEOF
20895 cat confdefs.h >>conftest.$ac_ext
20896 cat >>conftest.$ac_ext <<_ACEOF
20897 /* end confdefs.h. */
20898 #include <expat.h>
20899 _ACEOF
20900 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20901 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20902 ac_status=$?
20903 grep -v '^ *+' conftest.er1 >conftest.err
20904 rm -f conftest.er1
20905 cat conftest.err >&5
20906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20907 (exit $ac_status); } >/dev/null; then
20908 if test -s conftest.err; then
20909 ac_cpp_err=$ac_c_preproc_warn_flag
20910 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20911 else
20912 ac_cpp_err=
20913 fi
20914 else
20915 ac_cpp_err=yes
20916 fi
20917 if test -z "$ac_cpp_err"; then
20918 ac_header_preproc=yes
20919 else
20920 echo "$as_me: failed program was:" >&5
20921 sed 's/^/| /' conftest.$ac_ext >&5
20922
20923 ac_header_preproc=no
20924 fi
20925 rm -f conftest.err conftest.$ac_ext
20926 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20927 echo "${ECHO_T}$ac_header_preproc" >&6
20928
20929 # So? What about this header?
20930 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20931 yes:no: )
20932 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
20933 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20934 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
20935 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
20936 ac_header_preproc=yes
20937 ;;
20938 no:yes:* )
20939 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
20940 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
20941 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
20942 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
20943 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
20944 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
20945 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
20946 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
20947 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
20948 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
20949 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
20950 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
20951 (
20952 cat <<\_ASBOX
20953 ## ----------------------------------------- ##
20954 ## Report this to wx-dev@lists.wxwindows.org ##
20955 ## ----------------------------------------- ##
20956 _ASBOX
20957 ) |
20958 sed "s/^/$as_me: WARNING: /" >&2
20959 ;;
20960 esac
20961 echo "$as_me:$LINENO: checking for expat.h" >&5
20962 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20963 if test "${ac_cv_header_expat_h+set}" = set; then
20964 echo $ECHO_N "(cached) $ECHO_C" >&6
20965 else
20966 ac_cv_header_expat_h=$ac_header_preproc
20967 fi
20968 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20969 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20970
20971 fi
20972 if test $ac_cv_header_expat_h = yes; then
20973 found_expat_h=1
20974 fi
20975
20976
20977 if test "x$found_expat_h" = "x1"; then
20978 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
20979 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
20980 if test "${wx_cv_expat_is_not_broken+set}" = set; then
20981 echo $ECHO_N "(cached) $ECHO_C" >&6
20982 else
20983
20984
20985
20986 ac_ext=cc
20987 ac_cpp='$CXXCPP $CPPFLAGS'
20988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20991
20992 cat >conftest.$ac_ext <<_ACEOF
20993 /* confdefs.h. */
20994 _ACEOF
20995 cat confdefs.h >>conftest.$ac_ext
20996 cat >>conftest.$ac_ext <<_ACEOF
20997 /* end confdefs.h. */
20998 #include <expat.h>
20999 int
21000 main ()
21001 {
21002
21003 ;
21004 return 0;
21005 }
21006 _ACEOF
21007 rm -f conftest.$ac_objext
21008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21009 (eval $ac_compile) 2>conftest.er1
21010 ac_status=$?
21011 grep -v '^ *+' conftest.er1 >conftest.err
21012 rm -f conftest.er1
21013 cat conftest.err >&5
21014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21015 (exit $ac_status); } &&
21016 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21018 (eval $ac_try) 2>&5
21019 ac_status=$?
21020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21021 (exit $ac_status); }; } &&
21022 { ac_try='test -s conftest.$ac_objext'
21023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21024 (eval $ac_try) 2>&5
21025 ac_status=$?
21026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21027 (exit $ac_status); }; }; then
21028 wx_cv_expat_is_not_broken=yes
21029 else
21030 echo "$as_me: failed program was:" >&5
21031 sed 's/^/| /' conftest.$ac_ext >&5
21032
21033 wx_cv_expat_is_not_broken=no
21034
21035 fi
21036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21037 ac_ext=c
21038 ac_cpp='$CPP $CPPFLAGS'
21039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21042
21043
21044
21045 fi
21046 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21047 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21048 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21049 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21050 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21051 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21052 echo $ECHO_N "(cached) $ECHO_C" >&6
21053 else
21054 ac_check_lib_save_LIBS=$LIBS
21055 LIBS="-lexpat $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 XML_ParserCreate ();
21070 int
21071 main ()
21072 {
21073 XML_ParserCreate ();
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" || test ! -s conftest.err'
21088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21089 (eval $ac_try) 2>&5
21090 ac_status=$?
21091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21092 (exit $ac_status); }; } &&
21093 { ac_try='test -s conftest$ac_exeext'
21094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21095 (eval $ac_try) 2>&5
21096 ac_status=$?
21097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21098 (exit $ac_status); }; }; then
21099 ac_cv_lib_expat_XML_ParserCreate=yes
21100 else
21101 echo "$as_me: failed program was:" >&5
21102 sed 's/^/| /' conftest.$ac_ext >&5
21103
21104 ac_cv_lib_expat_XML_ParserCreate=no
21105 fi
21106 rm -f conftest.err conftest.$ac_objext \
21107 conftest$ac_exeext conftest.$ac_ext
21108 LIBS=$ac_check_lib_save_LIBS
21109 fi
21110 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21111 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21112 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21113 EXPAT_LINK=" -lexpat"
21114 fi
21115
21116 fi
21117 fi
21118 if test "x$EXPAT_LINK" = "x" ; then
21119 if test "$wxUSE_EXPAT" = "sys" ; then
21120 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21121 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21122 { (exit 1); exit 1; }; }
21123 else
21124 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21125 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21126 wxUSE_EXPAT=builtin
21127 fi
21128 else
21129 wxUSE_EXPAT=sys
21130 fi
21131 fi
21132 if test "$wxUSE_EXPAT" = "builtin" ; then
21133
21134
21135 subdirs="$subdirs src/expat"
21136
21137 fi
21138 fi
21139
21140
21141
21142 if test "$wxUSE_LIBMSPACK" != "no"; then
21143
21144 if test "${ac_cv_header_mspack_h+set}" = set; then
21145 echo "$as_me:$LINENO: checking for mspack.h" >&5
21146 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21147 if test "${ac_cv_header_mspack_h+set}" = set; then
21148 echo $ECHO_N "(cached) $ECHO_C" >&6
21149 fi
21150 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21151 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21152 else
21153 # Is the header compilable?
21154 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21155 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21156 cat >conftest.$ac_ext <<_ACEOF
21157 /* confdefs.h. */
21158 _ACEOF
21159 cat confdefs.h >>conftest.$ac_ext
21160 cat >>conftest.$ac_ext <<_ACEOF
21161 /* end confdefs.h. */
21162 $ac_includes_default
21163 #include <mspack.h>
21164 _ACEOF
21165 rm -f conftest.$ac_objext
21166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21167 (eval $ac_compile) 2>conftest.er1
21168 ac_status=$?
21169 grep -v '^ *+' conftest.er1 >conftest.err
21170 rm -f conftest.er1
21171 cat conftest.err >&5
21172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21173 (exit $ac_status); } &&
21174 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21176 (eval $ac_try) 2>&5
21177 ac_status=$?
21178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21179 (exit $ac_status); }; } &&
21180 { ac_try='test -s conftest.$ac_objext'
21181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21182 (eval $ac_try) 2>&5
21183 ac_status=$?
21184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21185 (exit $ac_status); }; }; then
21186 ac_header_compiler=yes
21187 else
21188 echo "$as_me: failed program was:" >&5
21189 sed 's/^/| /' conftest.$ac_ext >&5
21190
21191 ac_header_compiler=no
21192 fi
21193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21194 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21195 echo "${ECHO_T}$ac_header_compiler" >&6
21196
21197 # Is the header present?
21198 echo "$as_me:$LINENO: checking mspack.h presence" >&5
21199 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
21200 cat >conftest.$ac_ext <<_ACEOF
21201 /* confdefs.h. */
21202 _ACEOF
21203 cat confdefs.h >>conftest.$ac_ext
21204 cat >>conftest.$ac_ext <<_ACEOF
21205 /* end confdefs.h. */
21206 #include <mspack.h>
21207 _ACEOF
21208 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21209 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21210 ac_status=$?
21211 grep -v '^ *+' conftest.er1 >conftest.err
21212 rm -f conftest.er1
21213 cat conftest.err >&5
21214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21215 (exit $ac_status); } >/dev/null; then
21216 if test -s conftest.err; then
21217 ac_cpp_err=$ac_c_preproc_warn_flag
21218 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21219 else
21220 ac_cpp_err=
21221 fi
21222 else
21223 ac_cpp_err=yes
21224 fi
21225 if test -z "$ac_cpp_err"; then
21226 ac_header_preproc=yes
21227 else
21228 echo "$as_me: failed program was:" >&5
21229 sed 's/^/| /' conftest.$ac_ext >&5
21230
21231 ac_header_preproc=no
21232 fi
21233 rm -f conftest.err conftest.$ac_ext
21234 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21235 echo "${ECHO_T}$ac_header_preproc" >&6
21236
21237 # So? What about this header?
21238 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21239 yes:no: )
21240 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
21241 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21242 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
21243 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
21244 ac_header_preproc=yes
21245 ;;
21246 no:yes:* )
21247 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
21248 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
21249 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
21250 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
21251 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
21252 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
21253 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
21254 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
21255 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
21256 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
21257 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
21258 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
21259 (
21260 cat <<\_ASBOX
21261 ## ----------------------------------------- ##
21262 ## Report this to wx-dev@lists.wxwindows.org ##
21263 ## ----------------------------------------- ##
21264 _ASBOX
21265 ) |
21266 sed "s/^/$as_me: WARNING: /" >&2
21267 ;;
21268 esac
21269 echo "$as_me:$LINENO: checking for mspack.h" >&5
21270 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21271 if test "${ac_cv_header_mspack_h+set}" = set; then
21272 echo $ECHO_N "(cached) $ECHO_C" >&6
21273 else
21274 ac_cv_header_mspack_h=$ac_header_preproc
21275 fi
21276 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21277 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21278
21279 fi
21280 if test $ac_cv_header_mspack_h = yes; then
21281 found_mspack_h=1
21282 fi
21283
21284
21285 if test "x$found_mspack_h" = "x1"; then
21286 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
21287 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
21288 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
21289 echo $ECHO_N "(cached) $ECHO_C" >&6
21290 else
21291 ac_check_lib_save_LIBS=$LIBS
21292 LIBS="-lmspack $LIBS"
21293 cat >conftest.$ac_ext <<_ACEOF
21294 /* confdefs.h. */
21295 _ACEOF
21296 cat confdefs.h >>conftest.$ac_ext
21297 cat >>conftest.$ac_ext <<_ACEOF
21298 /* end confdefs.h. */
21299
21300 /* Override any gcc2 internal prototype to avoid an error. */
21301 #ifdef __cplusplus
21302 extern "C"
21303 #endif
21304 /* We use char because int might match the return type of a gcc2
21305 builtin and then its argument prototype would still apply. */
21306 char mspack_create_chm_decompressor ();
21307 int
21308 main ()
21309 {
21310 mspack_create_chm_decompressor ();
21311 ;
21312 return 0;
21313 }
21314 _ACEOF
21315 rm -f conftest.$ac_objext conftest$ac_exeext
21316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21317 (eval $ac_link) 2>conftest.er1
21318 ac_status=$?
21319 grep -v '^ *+' conftest.er1 >conftest.err
21320 rm -f conftest.er1
21321 cat conftest.err >&5
21322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21323 (exit $ac_status); } &&
21324 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21326 (eval $ac_try) 2>&5
21327 ac_status=$?
21328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21329 (exit $ac_status); }; } &&
21330 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
21336 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
21337 else
21338 echo "$as_me: failed program was:" >&5
21339 sed 's/^/| /' conftest.$ac_ext >&5
21340
21341 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
21342 fi
21343 rm -f conftest.err conftest.$ac_objext \
21344 conftest$ac_exeext conftest.$ac_ext
21345 LIBS=$ac_check_lib_save_LIBS
21346 fi
21347 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
21348 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
21349 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
21350 MSPACK_LINK=" -lmspack"
21351 fi
21352
21353 fi
21354 if test "x$MSPACK_LINK" = "x" ; then
21355 wxUSE_LIBMSPACK=no
21356 else
21357 cat >>confdefs.h <<\_ACEOF
21358 #define wxUSE_LIBMSPACK 1
21359 _ACEOF
21360
21361 fi
21362 fi
21363
21364
21365
21366 AFMINSTALL=
21367 WIN32INSTALL=
21368
21369 TOOLKIT=
21370 TOOLKIT_INCLUDE=
21371 WIDGET_SET=
21372
21373 if test "$USE_WIN32" = 1 ; then
21374
21375 for ac_header in w32api.h
21376 do
21377 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21378 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21379 echo "$as_me:$LINENO: checking for $ac_header" >&5
21380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21381 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21382 echo $ECHO_N "(cached) $ECHO_C" >&6
21383 fi
21384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21385 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21386 else
21387 # Is the header compilable?
21388 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21389 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21390 cat >conftest.$ac_ext <<_ACEOF
21391 /* confdefs.h. */
21392 _ACEOF
21393 cat confdefs.h >>conftest.$ac_ext
21394 cat >>conftest.$ac_ext <<_ACEOF
21395 /* end confdefs.h. */
21396 $ac_includes_default
21397 #include <$ac_header>
21398 _ACEOF
21399 rm -f conftest.$ac_objext
21400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21401 (eval $ac_compile) 2>conftest.er1
21402 ac_status=$?
21403 grep -v '^ *+' conftest.er1 >conftest.err
21404 rm -f conftest.er1
21405 cat conftest.err >&5
21406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21407 (exit $ac_status); } &&
21408 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21410 (eval $ac_try) 2>&5
21411 ac_status=$?
21412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21413 (exit $ac_status); }; } &&
21414 { ac_try='test -s conftest.$ac_objext'
21415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21416 (eval $ac_try) 2>&5
21417 ac_status=$?
21418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21419 (exit $ac_status); }; }; then
21420 ac_header_compiler=yes
21421 else
21422 echo "$as_me: failed program was:" >&5
21423 sed 's/^/| /' conftest.$ac_ext >&5
21424
21425 ac_header_compiler=no
21426 fi
21427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21428 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21429 echo "${ECHO_T}$ac_header_compiler" >&6
21430
21431 # Is the header present?
21432 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21433 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21434 cat >conftest.$ac_ext <<_ACEOF
21435 /* confdefs.h. */
21436 _ACEOF
21437 cat confdefs.h >>conftest.$ac_ext
21438 cat >>conftest.$ac_ext <<_ACEOF
21439 /* end confdefs.h. */
21440 #include <$ac_header>
21441 _ACEOF
21442 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21443 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21444 ac_status=$?
21445 grep -v '^ *+' conftest.er1 >conftest.err
21446 rm -f conftest.er1
21447 cat conftest.err >&5
21448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21449 (exit $ac_status); } >/dev/null; then
21450 if test -s conftest.err; then
21451 ac_cpp_err=$ac_c_preproc_warn_flag
21452 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21453 else
21454 ac_cpp_err=
21455 fi
21456 else
21457 ac_cpp_err=yes
21458 fi
21459 if test -z "$ac_cpp_err"; then
21460 ac_header_preproc=yes
21461 else
21462 echo "$as_me: failed program was:" >&5
21463 sed 's/^/| /' conftest.$ac_ext >&5
21464
21465 ac_header_preproc=no
21466 fi
21467 rm -f conftest.err conftest.$ac_ext
21468 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21469 echo "${ECHO_T}$ac_header_preproc" >&6
21470
21471 # So? What about this header?
21472 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21473 yes:no: )
21474 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21475 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21476 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21477 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21478 ac_header_preproc=yes
21479 ;;
21480 no:yes:* )
21481 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21482 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21483 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21484 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21485 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21486 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21487 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21488 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21489 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21490 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21491 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21492 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21493 (
21494 cat <<\_ASBOX
21495 ## ----------------------------------------- ##
21496 ## Report this to wx-dev@lists.wxwindows.org ##
21497 ## ----------------------------------------- ##
21498 _ASBOX
21499 ) |
21500 sed "s/^/$as_me: WARNING: /" >&2
21501 ;;
21502 esac
21503 echo "$as_me:$LINENO: checking for $ac_header" >&5
21504 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21505 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21506 echo $ECHO_N "(cached) $ECHO_C" >&6
21507 else
21508 eval "$as_ac_Header=\$ac_header_preproc"
21509 fi
21510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21511 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21512
21513 fi
21514 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21515 cat >>confdefs.h <<_ACEOF
21516 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21517 _ACEOF
21518
21519 fi
21520
21521 done
21522
21523 if test "${ac_cv_header_windows_h+set}" = set; then
21524 echo "$as_me:$LINENO: checking for windows.h" >&5
21525 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21526 if test "${ac_cv_header_windows_h+set}" = set; then
21527 echo $ECHO_N "(cached) $ECHO_C" >&6
21528 fi
21529 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21530 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21531 else
21532 # Is the header compilable?
21533 echo "$as_me:$LINENO: checking windows.h usability" >&5
21534 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
21535 cat >conftest.$ac_ext <<_ACEOF
21536 /* confdefs.h. */
21537 _ACEOF
21538 cat confdefs.h >>conftest.$ac_ext
21539 cat >>conftest.$ac_ext <<_ACEOF
21540 /* end confdefs.h. */
21541 $ac_includes_default
21542 #include <windows.h>
21543 _ACEOF
21544 rm -f conftest.$ac_objext
21545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21546 (eval $ac_compile) 2>conftest.er1
21547 ac_status=$?
21548 grep -v '^ *+' conftest.er1 >conftest.err
21549 rm -f conftest.er1
21550 cat conftest.err >&5
21551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21552 (exit $ac_status); } &&
21553 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21555 (eval $ac_try) 2>&5
21556 ac_status=$?
21557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21558 (exit $ac_status); }; } &&
21559 { ac_try='test -s conftest.$ac_objext'
21560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21561 (eval $ac_try) 2>&5
21562 ac_status=$?
21563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21564 (exit $ac_status); }; }; then
21565 ac_header_compiler=yes
21566 else
21567 echo "$as_me: failed program was:" >&5
21568 sed 's/^/| /' conftest.$ac_ext >&5
21569
21570 ac_header_compiler=no
21571 fi
21572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21573 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21574 echo "${ECHO_T}$ac_header_compiler" >&6
21575
21576 # Is the header present?
21577 echo "$as_me:$LINENO: checking windows.h presence" >&5
21578 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
21579 cat >conftest.$ac_ext <<_ACEOF
21580 /* confdefs.h. */
21581 _ACEOF
21582 cat confdefs.h >>conftest.$ac_ext
21583 cat >>conftest.$ac_ext <<_ACEOF
21584 /* end confdefs.h. */
21585 #include <windows.h>
21586 _ACEOF
21587 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21588 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21589 ac_status=$?
21590 grep -v '^ *+' conftest.er1 >conftest.err
21591 rm -f conftest.er1
21592 cat conftest.err >&5
21593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21594 (exit $ac_status); } >/dev/null; then
21595 if test -s conftest.err; then
21596 ac_cpp_err=$ac_c_preproc_warn_flag
21597 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21598 else
21599 ac_cpp_err=
21600 fi
21601 else
21602 ac_cpp_err=yes
21603 fi
21604 if test -z "$ac_cpp_err"; then
21605 ac_header_preproc=yes
21606 else
21607 echo "$as_me: failed program was:" >&5
21608 sed 's/^/| /' conftest.$ac_ext >&5
21609
21610 ac_header_preproc=no
21611 fi
21612 rm -f conftest.err conftest.$ac_ext
21613 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21614 echo "${ECHO_T}$ac_header_preproc" >&6
21615
21616 # So? What about this header?
21617 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21618 yes:no: )
21619 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
21620 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21621 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
21622 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
21623 ac_header_preproc=yes
21624 ;;
21625 no:yes:* )
21626 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
21627 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
21628 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
21629 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
21630 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
21631 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
21632 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
21633 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
21634 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
21635 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
21636 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
21637 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
21638 (
21639 cat <<\_ASBOX
21640 ## ----------------------------------------- ##
21641 ## Report this to wx-dev@lists.wxwindows.org ##
21642 ## ----------------------------------------- ##
21643 _ASBOX
21644 ) |
21645 sed "s/^/$as_me: WARNING: /" >&2
21646 ;;
21647 esac
21648 echo "$as_me:$LINENO: checking for windows.h" >&5
21649 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21650 if test "${ac_cv_header_windows_h+set}" = set; then
21651 echo $ECHO_N "(cached) $ECHO_C" >&6
21652 else
21653 ac_cv_header_windows_h=$ac_header_preproc
21654 fi
21655 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21656 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21657
21658 fi
21659 if test $ac_cv_header_windows_h = yes; then
21660 :
21661 else
21662
21663 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
21664 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
21665 { (exit 1); exit 1; }; }
21666
21667 fi
21668
21669
21670
21671 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
21672
21673 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
21674 LIBS="$LIBS -loleacc"
21675 fi
21676
21677 case "${host}" in
21678 *-*-cygwin* )
21679 LIBS="$LIBS -lkernel32 -luser32"
21680 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
21681 esac
21682
21683 if test "$wxUSE_ODBC" = "sys" ; then
21684 wxUSE_ODBC = "yes"
21685 fi
21686 if test "$wxUSE_ODBC" = "yes" ; then
21687 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
21688 cat >>confdefs.h <<\_ACEOF
21689 #define wxUSE_ODBC 1
21690 _ACEOF
21691
21692 fi
21693
21694 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
21695 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
21696
21697 WIN32INSTALL=win32install
21698 fi
21699
21700 if test "$wxUSE_GUI" = "yes"; then
21701 USE_GUI=1
21702
21703 GUI_TK_LIBRARY=
21704
21705 WXGTK12=
21706 WXGTK127=
21707 WXGTK20=
21708 WXGPE=
21709
21710 if test "$wxUSE_MSW" = 1 ; then
21711 TOOLKIT=MSW
21712 GUIDIST=MSW_DIST
21713
21714 case "${host}" in
21715 *-*-mingw32* )
21716 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
21717 esac
21718 fi
21719
21720 if test "$wxUSE_GTK" = 1; then
21721 echo "$as_me:$LINENO: checking for GTK+ version" >&5
21722 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
21723
21724 gtk_version_cached=1
21725 if test "${wx_cv_lib_gtk+set}" = set; then
21726 echo $ECHO_N "(cached) $ECHO_C" >&6
21727 else
21728
21729 gtk_version_cached=0
21730 echo "$as_me:$LINENO: result: " >&5
21731 echo "${ECHO_T}" >&6
21732
21733 GTK_MODULES=
21734 if test "$wxUSE_THREADS" = "yes"; then
21735 GTK_MODULES=gthread
21736 fi
21737
21738 wx_cv_lib_gtk=
21739 if test "x$wxUSE_GTK2" = "xyes"; then
21740 # Check whether --enable-gtktest or --disable-gtktest was given.
21741 if test "${enable_gtktest+set}" = set; then
21742 enableval="$enable_gtktest"
21743
21744 else
21745 enable_gtktest=yes
21746 fi;
21747
21748 pkg_config_args=gtk+-2.0
21749 for module in . $GTK_MODULES
21750 do
21751 case "$module" in
21752 gthread)
21753 pkg_config_args="$pkg_config_args gthread-2.0"
21754 ;;
21755 esac
21756 done
21757
21758 no_gtk=""
21759
21760 # Extract the first word of "pkg-config", so it can be a program name with args.
21761 set dummy pkg-config; ac_word=$2
21762 echo "$as_me:$LINENO: checking for $ac_word" >&5
21763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21764 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21765 echo $ECHO_N "(cached) $ECHO_C" >&6
21766 else
21767 case $PKG_CONFIG in
21768 [\\/]* | ?:[\\/]*)
21769 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21770 ;;
21771 *)
21772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21773 for as_dir in $PATH
21774 do
21775 IFS=$as_save_IFS
21776 test -z "$as_dir" && as_dir=.
21777 for ac_exec_ext in '' $ac_executable_extensions; do
21778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21779 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21781 break 2
21782 fi
21783 done
21784 done
21785
21786 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21787 ;;
21788 esac
21789 fi
21790 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21791
21792 if test -n "$PKG_CONFIG"; then
21793 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21794 echo "${ECHO_T}$PKG_CONFIG" >&6
21795 else
21796 echo "$as_me:$LINENO: result: no" >&5
21797 echo "${ECHO_T}no" >&6
21798 fi
21799
21800
21801 if test x$PKG_CONFIG != xno ; then
21802 if pkg-config --atleast-pkgconfig-version 0.7 ; then
21803 :
21804 else
21805 echo *** pkg-config too old; version 0.7 or better required.
21806 no_gtk=yes
21807 PKG_CONFIG=no
21808 fi
21809 else
21810 no_gtk=yes
21811 fi
21812
21813 min_gtk_version=2.0.0
21814 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
21815 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
21816
21817 if test x$PKG_CONFIG != xno ; then
21818 ## don't try to run the test against uninstalled libtool libs
21819 if $PKG_CONFIG --uninstalled $pkg_config_args; then
21820 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
21821 enable_gtktest=no
21822 fi
21823
21824 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
21825 :
21826 else
21827 no_gtk=yes
21828 fi
21829 fi
21830
21831 if test x"$no_gtk" = x ; then
21832 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
21833 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
21834 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
21835 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21836 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
21837 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21838 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
21839 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21840 if test "x$enable_gtktest" = "xyes" ; then
21841 ac_save_CFLAGS="$CFLAGS"
21842 ac_save_LIBS="$LIBS"
21843 CFLAGS="$CFLAGS $GTK_CFLAGS"
21844 LIBS="$GTK_LIBS $LIBS"
21845 rm -f conf.gtktest
21846 if test "$cross_compiling" = yes; then
21847 echo $ac_n "cross compiling; assumed OK... $ac_c"
21848 else
21849 cat >conftest.$ac_ext <<_ACEOF
21850 /* confdefs.h. */
21851 _ACEOF
21852 cat confdefs.h >>conftest.$ac_ext
21853 cat >>conftest.$ac_ext <<_ACEOF
21854 /* end confdefs.h. */
21855
21856 #include <gtk/gtk.h>
21857 #include <stdio.h>
21858 #include <stdlib.h>
21859
21860 int
21861 main ()
21862 {
21863 int major, minor, micro;
21864 char *tmp_version;
21865
21866 system ("touch conf.gtktest");
21867
21868 /* HP/UX 9 (%@#!) writes to sscanf strings */
21869 tmp_version = g_strdup("$min_gtk_version");
21870 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
21871 printf("%s, bad version string\n", "$min_gtk_version");
21872 exit(1);
21873 }
21874
21875 if ((gtk_major_version != $gtk_config_major_version) ||
21876 (gtk_minor_version != $gtk_config_minor_version) ||
21877 (gtk_micro_version != $gtk_config_micro_version))
21878 {
21879 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21880 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21881 gtk_major_version, gtk_minor_version, gtk_micro_version);
21882 printf ("*** was found! If pkg-config was correct, then it is best\n");
21883 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21884 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21885 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21886 printf("*** required on your system.\n");
21887 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
21888 printf("*** to point to the correct configuration files\n");
21889 }
21890 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21891 (gtk_minor_version != GTK_MINOR_VERSION) ||
21892 (gtk_micro_version != GTK_MICRO_VERSION))
21893 {
21894 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21895 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21896 printf("*** library (version %d.%d.%d)\n",
21897 gtk_major_version, gtk_minor_version, gtk_micro_version);
21898 }
21899 else
21900 {
21901 if ((gtk_major_version > major) ||
21902 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21903 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21904 {
21905 return 0;
21906 }
21907 else
21908 {
21909 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21910 gtk_major_version, gtk_minor_version, gtk_micro_version);
21911 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21912 major, minor, micro);
21913 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21914 printf("***\n");
21915 printf("*** If you have already installed a sufficiently new version, this error\n");
21916 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
21917 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21918 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
21919 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
21920 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21921 printf("*** so that the correct libraries are found at run-time))\n");
21922 }
21923 }
21924 return 1;
21925 }
21926
21927 _ACEOF
21928 rm -f conftest$ac_exeext
21929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21930 (eval $ac_link) 2>&5
21931 ac_status=$?
21932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21933 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21935 (eval $ac_try) 2>&5
21936 ac_status=$?
21937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21938 (exit $ac_status); }; }; then
21939 :
21940 else
21941 echo "$as_me: program exited with status $ac_status" >&5
21942 echo "$as_me: failed program was:" >&5
21943 sed 's/^/| /' conftest.$ac_ext >&5
21944
21945 ( exit $ac_status )
21946 no_gtk=yes
21947 fi
21948 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21949 fi
21950 CFLAGS="$ac_save_CFLAGS"
21951 LIBS="$ac_save_LIBS"
21952 fi
21953 fi
21954 if test "x$no_gtk" = x ; then
21955 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
21956 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
21957 wx_cv_lib_gtk=2.0
21958 else
21959 echo "$as_me:$LINENO: result: no" >&5
21960 echo "${ECHO_T}no" >&6
21961 if test "$PKG_CONFIG" = "no" ; then
21962 echo "*** A new enough version of pkg-config was not found."
21963 echo "*** See http://pkgconfig.sourceforge.net"
21964 else
21965 if test -f conf.gtktest ; then
21966 :
21967 else
21968 echo "*** Could not run GTK+ test program, checking why..."
21969 ac_save_CFLAGS="$CFLAGS"
21970 ac_save_LIBS="$LIBS"
21971 CFLAGS="$CFLAGS $GTK_CFLAGS"
21972 LIBS="$LIBS $GTK_LIBS"
21973 cat >conftest.$ac_ext <<_ACEOF
21974 /* confdefs.h. */
21975 _ACEOF
21976 cat confdefs.h >>conftest.$ac_ext
21977 cat >>conftest.$ac_ext <<_ACEOF
21978 /* end confdefs.h. */
21979
21980 #include <gtk/gtk.h>
21981 #include <stdio.h>
21982
21983 int
21984 main ()
21985 {
21986 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21987 ;
21988 return 0;
21989 }
21990 _ACEOF
21991 rm -f conftest.$ac_objext conftest$ac_exeext
21992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21993 (eval $ac_link) 2>conftest.er1
21994 ac_status=$?
21995 grep -v '^ *+' conftest.er1 >conftest.err
21996 rm -f conftest.er1
21997 cat conftest.err >&5
21998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21999 (exit $ac_status); } &&
22000 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22002 (eval $ac_try) 2>&5
22003 ac_status=$?
22004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22005 (exit $ac_status); }; } &&
22006 { ac_try='test -s conftest$ac_exeext'
22007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22008 (eval $ac_try) 2>&5
22009 ac_status=$?
22010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22011 (exit $ac_status); }; }; then
22012 echo "*** The test program compiled, but did not run. This usually means"
22013 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22014 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22015 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22016 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22017 echo "*** is required on your system"
22018 echo "***"
22019 echo "*** If you have an old version installed, it is best to remove it, although"
22020 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22021 else
22022 echo "$as_me: failed program was:" >&5
22023 sed 's/^/| /' conftest.$ac_ext >&5
22024
22025 echo "*** The test program failed to compile or link. See the file config.log for the"
22026 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22027 fi
22028 rm -f conftest.err conftest.$ac_objext \
22029 conftest$ac_exeext conftest.$ac_ext
22030 CFLAGS="$ac_save_CFLAGS"
22031 LIBS="$ac_save_LIBS"
22032 fi
22033 fi
22034 GTK_CFLAGS=""
22035 GTK_LIBS=""
22036 :
22037 fi
22038
22039
22040 rm -f conf.gtktest
22041
22042 else
22043
22044 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22045 if test "${with_gtk_prefix+set}" = set; then
22046 withval="$with_gtk_prefix"
22047 gtk_config_prefix="$withval"
22048 else
22049 gtk_config_prefix=""
22050 fi;
22051
22052 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22053 if test "${with_gtk_exec_prefix+set}" = set; then
22054 withval="$with_gtk_exec_prefix"
22055 gtk_config_exec_prefix="$withval"
22056 else
22057 gtk_config_exec_prefix=""
22058 fi;
22059 # Check whether --enable-gtktest or --disable-gtktest was given.
22060 if test "${enable_gtktest+set}" = set; then
22061 enableval="$enable_gtktest"
22062
22063 else
22064 enable_gtktest=yes
22065 fi;
22066
22067 for module in . $GTK_MODULES
22068 do
22069 case "$module" in
22070 gthread)
22071 gtk_config_args="$gtk_config_args gthread"
22072 ;;
22073 esac
22074 done
22075
22076 if test x$gtk_config_exec_prefix != x ; then
22077 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22078 if test x${GTK_CONFIG+set} != xset ; then
22079 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
22080 fi
22081 fi
22082 if test x$gtk_config_prefix != x ; then
22083 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
22084 if test x${GTK_CONFIG+set} != xset ; then
22085 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
22086 fi
22087 fi
22088
22089 # Extract the first word of "gtk-config", so it can be a program name with args.
22090 set dummy gtk-config; ac_word=$2
22091 echo "$as_me:$LINENO: checking for $ac_word" >&5
22092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22093 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22094 echo $ECHO_N "(cached) $ECHO_C" >&6
22095 else
22096 case $GTK_CONFIG in
22097 [\\/]* | ?:[\\/]*)
22098 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
22099 ;;
22100 *)
22101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22102 for as_dir in $PATH
22103 do
22104 IFS=$as_save_IFS
22105 test -z "$as_dir" && as_dir=.
22106 for ac_exec_ext in '' $ac_executable_extensions; do
22107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22108 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22110 break 2
22111 fi
22112 done
22113 done
22114
22115 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
22116 ;;
22117 esac
22118 fi
22119 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
22120
22121 if test -n "$GTK_CONFIG"; then
22122 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22123 echo "${ECHO_T}$GTK_CONFIG" >&6
22124 else
22125 echo "$as_me:$LINENO: result: no" >&5
22126 echo "${ECHO_T}no" >&6
22127 fi
22128
22129 min_gtk_version=1.2.7
22130 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22131 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22132 no_gtk=""
22133 if test "$GTK_CONFIG" = "no" ; then
22134 no_gtk=yes
22135 else
22136 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
22137 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
22138 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
22139 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22140 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
22141 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22142 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
22143 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22144 if test "x$enable_gtktest" = "xyes" ; then
22145 ac_save_CFLAGS="$CFLAGS"
22146 ac_save_LIBS="$LIBS"
22147 CFLAGS="$CFLAGS $GTK_CFLAGS"
22148 LIBS="$GTK_LIBS $LIBS"
22149 rm -f conf.gtktest
22150 if test "$cross_compiling" = yes; then
22151 echo $ac_n "cross compiling; assumed OK... $ac_c"
22152 else
22153 cat >conftest.$ac_ext <<_ACEOF
22154 /* confdefs.h. */
22155 _ACEOF
22156 cat confdefs.h >>conftest.$ac_ext
22157 cat >>conftest.$ac_ext <<_ACEOF
22158 /* end confdefs.h. */
22159
22160 #include <gtk/gtk.h>
22161 #include <stdio.h>
22162 #include <stdlib.h>
22163
22164 int
22165 main ()
22166 {
22167 int major, minor, micro;
22168 char *tmp_version;
22169
22170 system ("touch conf.gtktest");
22171
22172 /* HP/UX 9 (%@#!) writes to sscanf strings */
22173 tmp_version = g_strdup("$min_gtk_version");
22174 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
22175 printf("%s, bad version string\n", "$min_gtk_version");
22176 exit(1);
22177 }
22178
22179 if ((gtk_major_version != $gtk_config_major_version) ||
22180 (gtk_minor_version != $gtk_config_minor_version) ||
22181 (gtk_micro_version != $gtk_config_micro_version))
22182 {
22183 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22184 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22185 gtk_major_version, gtk_minor_version, gtk_micro_version);
22186 printf ("*** was found! If gtk-config was correct, then it is best\n");
22187 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22188 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22189 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22190 printf("*** required on your system.\n");
22191 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22192 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22193 printf("*** before re-running configure\n");
22194 }
22195 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22196 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22197 (gtk_minor_version != GTK_MINOR_VERSION) ||
22198 (gtk_micro_version != GTK_MICRO_VERSION))
22199 {
22200 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22201 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22202 printf("*** library (version %d.%d.%d)\n",
22203 gtk_major_version, gtk_minor_version, gtk_micro_version);
22204 }
22205 #endif /* defined (GTK_MAJOR_VERSION) ... */
22206 else
22207 {
22208 if ((gtk_major_version > major) ||
22209 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22210 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22211 {
22212 return 0;
22213 }
22214 else
22215 {
22216 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22217 gtk_major_version, gtk_minor_version, gtk_micro_version);
22218 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22219 major, minor, micro);
22220 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22221 printf("***\n");
22222 printf("*** If you have already installed a sufficiently new version, this error\n");
22223 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22224 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22225 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22226 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22227 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22228 printf("*** so that the correct libraries are found at run-time))\n");
22229 }
22230 }
22231 return 1;
22232 }
22233
22234 _ACEOF
22235 rm -f conftest$ac_exeext
22236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22237 (eval $ac_link) 2>&5
22238 ac_status=$?
22239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22240 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22242 (eval $ac_try) 2>&5
22243 ac_status=$?
22244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22245 (exit $ac_status); }; }; then
22246 :
22247 else
22248 echo "$as_me: program exited with status $ac_status" >&5
22249 echo "$as_me: failed program was:" >&5
22250 sed 's/^/| /' conftest.$ac_ext >&5
22251
22252 ( exit $ac_status )
22253 no_gtk=yes
22254 fi
22255 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22256 fi
22257 CFLAGS="$ac_save_CFLAGS"
22258 LIBS="$ac_save_LIBS"
22259 fi
22260 fi
22261 if test "x$no_gtk" = x ; then
22262 echo "$as_me:$LINENO: result: yes" >&5
22263 echo "${ECHO_T}yes" >&6
22264 wx_cv_lib_gtk=1.2.7
22265 else
22266 echo "$as_me:$LINENO: result: no" >&5
22267 echo "${ECHO_T}no" >&6
22268 if test "$GTK_CONFIG" = "no" ; then
22269 echo "*** The gtk-config script installed by GTK could not be found"
22270 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22271 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22272 echo "*** full path to gtk-config."
22273 else
22274 if test -f conf.gtktest ; then
22275 :
22276 else
22277 echo "*** Could not run GTK test program, checking why..."
22278 CFLAGS="$CFLAGS $GTK_CFLAGS"
22279 LIBS="$LIBS $GTK_LIBS"
22280 cat >conftest.$ac_ext <<_ACEOF
22281 /* confdefs.h. */
22282 _ACEOF
22283 cat confdefs.h >>conftest.$ac_ext
22284 cat >>conftest.$ac_ext <<_ACEOF
22285 /* end confdefs.h. */
22286
22287 #include <gtk/gtk.h>
22288 #include <stdio.h>
22289
22290 int
22291 main ()
22292 {
22293 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22294 ;
22295 return 0;
22296 }
22297 _ACEOF
22298 rm -f conftest.$ac_objext conftest$ac_exeext
22299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22300 (eval $ac_link) 2>conftest.er1
22301 ac_status=$?
22302 grep -v '^ *+' conftest.er1 >conftest.err
22303 rm -f conftest.er1
22304 cat conftest.err >&5
22305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22306 (exit $ac_status); } &&
22307 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22309 (eval $ac_try) 2>&5
22310 ac_status=$?
22311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22312 (exit $ac_status); }; } &&
22313 { ac_try='test -s conftest$ac_exeext'
22314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22315 (eval $ac_try) 2>&5
22316 ac_status=$?
22317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22318 (exit $ac_status); }; }; then
22319 echo "*** The test program compiled, but did not run. This usually means"
22320 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22321 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22322 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22323 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22324 echo "*** is required on your system"
22325 echo "***"
22326 echo "*** If you have an old version installed, it is best to remove it, although"
22327 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22328 echo "***"
22329 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22330 echo "*** came with the system with the command"
22331 echo "***"
22332 echo "*** rpm --erase --nodeps gtk gtk-devel"
22333 else
22334 echo "$as_me: failed program was:" >&5
22335 sed 's/^/| /' conftest.$ac_ext >&5
22336
22337 echo "*** The test program failed to compile or link. See the file config.log for the"
22338 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22339 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22340 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22341 fi
22342 rm -f conftest.err conftest.$ac_objext \
22343 conftest$ac_exeext conftest.$ac_ext
22344 CFLAGS="$ac_save_CFLAGS"
22345 LIBS="$ac_save_LIBS"
22346 fi
22347 fi
22348 GTK_CFLAGS=""
22349 GTK_LIBS=""
22350 :
22351 fi
22352
22353
22354 rm -f conf.gtktest
22355
22356
22357 if test -z "$wx_cv_lib_gtk"; then
22358
22359 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22360 if test "${with_gtk_prefix+set}" = set; then
22361 withval="$with_gtk_prefix"
22362 gtk_config_prefix="$withval"
22363 else
22364 gtk_config_prefix=""
22365 fi;
22366
22367 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22368 if test "${with_gtk_exec_prefix+set}" = set; then
22369 withval="$with_gtk_exec_prefix"
22370 gtk_config_exec_prefix="$withval"
22371 else
22372 gtk_config_exec_prefix=""
22373 fi;
22374 # Check whether --enable-gtktest or --disable-gtktest was given.
22375 if test "${enable_gtktest+set}" = set; then
22376 enableval="$enable_gtktest"
22377
22378 else
22379 enable_gtktest=yes
22380 fi;
22381
22382 for module in . $GTK_MODULES
22383 do
22384 case "$module" in
22385 gthread)
22386 gtk_config_args="$gtk_config_args gthread"
22387 ;;
22388 esac
22389 done
22390
22391 if test x$gtk_config_exec_prefix != x ; then
22392 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22393 if test x${GTK_CONFIG+set} != xset ; then
22394 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
22395 fi
22396 fi
22397 if test x$gtk_config_prefix != x ; then
22398 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
22399 if test x${GTK_CONFIG+set} != xset ; then
22400 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
22401 fi
22402 fi
22403
22404 # Extract the first word of "gtk-config", so it can be a program name with args.
22405 set dummy gtk-config; ac_word=$2
22406 echo "$as_me:$LINENO: checking for $ac_word" >&5
22407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22408 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22409 echo $ECHO_N "(cached) $ECHO_C" >&6
22410 else
22411 case $GTK_CONFIG in
22412 [\\/]* | ?:[\\/]*)
22413 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
22414 ;;
22415 *)
22416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22417 for as_dir in $PATH
22418 do
22419 IFS=$as_save_IFS
22420 test -z "$as_dir" && as_dir=.
22421 for ac_exec_ext in '' $ac_executable_extensions; do
22422 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22423 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22424 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22425 break 2
22426 fi
22427 done
22428 done
22429
22430 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
22431 ;;
22432 esac
22433 fi
22434 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
22435
22436 if test -n "$GTK_CONFIG"; then
22437 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22438 echo "${ECHO_T}$GTK_CONFIG" >&6
22439 else
22440 echo "$as_me:$LINENO: result: no" >&5
22441 echo "${ECHO_T}no" >&6
22442 fi
22443
22444 min_gtk_version=1.2.3
22445 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22446 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22447 no_gtk=""
22448 if test "$GTK_CONFIG" = "no" ; then
22449 no_gtk=yes
22450 else
22451 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
22452 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
22453 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
22454 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22455 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
22456 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22457 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
22458 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22459 if test "x$enable_gtktest" = "xyes" ; then
22460 ac_save_CFLAGS="$CFLAGS"
22461 ac_save_LIBS="$LIBS"
22462 CFLAGS="$CFLAGS $GTK_CFLAGS"
22463 LIBS="$GTK_LIBS $LIBS"
22464 rm -f conf.gtktest
22465 if test "$cross_compiling" = yes; then
22466 echo $ac_n "cross compiling; assumed OK... $ac_c"
22467 else
22468 cat >conftest.$ac_ext <<_ACEOF
22469 /* confdefs.h. */
22470 _ACEOF
22471 cat confdefs.h >>conftest.$ac_ext
22472 cat >>conftest.$ac_ext <<_ACEOF
22473 /* end confdefs.h. */
22474
22475 #include <gtk/gtk.h>
22476 #include <stdio.h>
22477 #include <stdlib.h>
22478
22479 int
22480 main ()
22481 {
22482 int major, minor, micro;
22483 char *tmp_version;
22484
22485 system ("touch conf.gtktest");
22486
22487 /* HP/UX 9 (%@#!) writes to sscanf strings */
22488 tmp_version = g_strdup("$min_gtk_version");
22489 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
22490 printf("%s, bad version string\n", "$min_gtk_version");
22491 exit(1);
22492 }
22493
22494 if ((gtk_major_version != $gtk_config_major_version) ||
22495 (gtk_minor_version != $gtk_config_minor_version) ||
22496 (gtk_micro_version != $gtk_config_micro_version))
22497 {
22498 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22499 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22500 gtk_major_version, gtk_minor_version, gtk_micro_version);
22501 printf ("*** was found! If gtk-config was correct, then it is best\n");
22502 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22503 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22504 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22505 printf("*** required on your system.\n");
22506 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22507 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22508 printf("*** before re-running configure\n");
22509 }
22510 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22511 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22512 (gtk_minor_version != GTK_MINOR_VERSION) ||
22513 (gtk_micro_version != GTK_MICRO_VERSION))
22514 {
22515 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22516 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22517 printf("*** library (version %d.%d.%d)\n",
22518 gtk_major_version, gtk_minor_version, gtk_micro_version);
22519 }
22520 #endif /* defined (GTK_MAJOR_VERSION) ... */
22521 else
22522 {
22523 if ((gtk_major_version > major) ||
22524 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22525 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22526 {
22527 return 0;
22528 }
22529 else
22530 {
22531 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22532 gtk_major_version, gtk_minor_version, gtk_micro_version);
22533 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22534 major, minor, micro);
22535 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22536 printf("***\n");
22537 printf("*** If you have already installed a sufficiently new version, this error\n");
22538 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22539 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22540 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22541 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22542 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22543 printf("*** so that the correct libraries are found at run-time))\n");
22544 }
22545 }
22546 return 1;
22547 }
22548
22549 _ACEOF
22550 rm -f conftest$ac_exeext
22551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22552 (eval $ac_link) 2>&5
22553 ac_status=$?
22554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22555 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22557 (eval $ac_try) 2>&5
22558 ac_status=$?
22559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22560 (exit $ac_status); }; }; then
22561 :
22562 else
22563 echo "$as_me: program exited with status $ac_status" >&5
22564 echo "$as_me: failed program was:" >&5
22565 sed 's/^/| /' conftest.$ac_ext >&5
22566
22567 ( exit $ac_status )
22568 no_gtk=yes
22569 fi
22570 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22571 fi
22572 CFLAGS="$ac_save_CFLAGS"
22573 LIBS="$ac_save_LIBS"
22574 fi
22575 fi
22576 if test "x$no_gtk" = x ; then
22577 echo "$as_me:$LINENO: result: yes" >&5
22578 echo "${ECHO_T}yes" >&6
22579 wx_cv_lib_gtk=1.2.3
22580 else
22581 echo "$as_me:$LINENO: result: no" >&5
22582 echo "${ECHO_T}no" >&6
22583 if test "$GTK_CONFIG" = "no" ; then
22584 echo "*** The gtk-config script installed by GTK could not be found"
22585 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22586 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22587 echo "*** full path to gtk-config."
22588 else
22589 if test -f conf.gtktest ; then
22590 :
22591 else
22592 echo "*** Could not run GTK test program, checking why..."
22593 CFLAGS="$CFLAGS $GTK_CFLAGS"
22594 LIBS="$LIBS $GTK_LIBS"
22595 cat >conftest.$ac_ext <<_ACEOF
22596 /* confdefs.h. */
22597 _ACEOF
22598 cat confdefs.h >>conftest.$ac_ext
22599 cat >>conftest.$ac_ext <<_ACEOF
22600 /* end confdefs.h. */
22601
22602 #include <gtk/gtk.h>
22603 #include <stdio.h>
22604
22605 int
22606 main ()
22607 {
22608 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22609 ;
22610 return 0;
22611 }
22612 _ACEOF
22613 rm -f conftest.$ac_objext conftest$ac_exeext
22614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22615 (eval $ac_link) 2>conftest.er1
22616 ac_status=$?
22617 grep -v '^ *+' conftest.er1 >conftest.err
22618 rm -f conftest.er1
22619 cat conftest.err >&5
22620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22621 (exit $ac_status); } &&
22622 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22624 (eval $ac_try) 2>&5
22625 ac_status=$?
22626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22627 (exit $ac_status); }; } &&
22628 { ac_try='test -s conftest$ac_exeext'
22629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22630 (eval $ac_try) 2>&5
22631 ac_status=$?
22632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22633 (exit $ac_status); }; }; then
22634 echo "*** The test program compiled, but did not run. This usually means"
22635 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22636 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22637 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22638 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22639 echo "*** is required on your system"
22640 echo "***"
22641 echo "*** If you have an old version installed, it is best to remove it, although"
22642 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22643 echo "***"
22644 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22645 echo "*** came with the system with the command"
22646 echo "***"
22647 echo "*** rpm --erase --nodeps gtk gtk-devel"
22648 else
22649 echo "$as_me: failed program was:" >&5
22650 sed 's/^/| /' conftest.$ac_ext >&5
22651
22652 echo "*** The test program failed to compile or link. See the file config.log for the"
22653 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22654 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22655 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22656 fi
22657 rm -f conftest.err conftest.$ac_objext \
22658 conftest$ac_exeext conftest.$ac_ext
22659 CFLAGS="$ac_save_CFLAGS"
22660 LIBS="$ac_save_LIBS"
22661 fi
22662 fi
22663 GTK_CFLAGS=""
22664 GTK_LIBS=""
22665 :
22666 fi
22667
22668
22669 rm -f conf.gtktest
22670
22671 fi
22672 fi
22673
22674 if test -z "$wx_cv_lib_gtk"; then
22675 wx_cv_lib_gtk=none
22676 else
22677 wx_cv_cflags_gtk=$GTK_CFLAGS
22678 wx_cv_libs_gtk=$GTK_LIBS
22679 fi
22680
22681
22682 fi
22683
22684
22685 if test "$gtk_version_cached" = 1; then
22686 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
22687 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
22688 fi
22689
22690 case "$wx_cv_lib_gtk" in
22691 2.0) WXGTK20=1
22692 TOOLKIT_VERSION=2
22693 ;;
22694 1.2.7) WXGTK127=1
22695 WXGTK12=1
22696 ;;
22697 1.2.3) WXGTK12=1
22698 ;;
22699 *) { { echo "$as_me:$LINENO: error:
22700 Please check that gtk-config is in path, the directory
22701 where GTK+ libraries are installed (returned by
22702 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22703 equivalent variable and GTK+ is version 1.2.3 or above.
22704 " >&5
22705 echo "$as_me: error:
22706 Please check that gtk-config is in path, the directory
22707 where GTK+ libraries are installed (returned by
22708 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22709 equivalent variable and GTK+ is version 1.2.3 or above.
22710 " >&2;}
22711 { (exit 1); exit 1; }; }
22712 ;;
22713 esac
22714
22715 if test "$WXGTK20" = 1; then
22716 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
22717
22718 succeeded=no
22719
22720 if test -z "$PKG_CONFIG"; then
22721 # Extract the first word of "pkg-config", so it can be a program name with args.
22722 set dummy pkg-config; ac_word=$2
22723 echo "$as_me:$LINENO: checking for $ac_word" >&5
22724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22725 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22726 echo $ECHO_N "(cached) $ECHO_C" >&6
22727 else
22728 case $PKG_CONFIG in
22729 [\\/]* | ?:[\\/]*)
22730 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22731 ;;
22732 *)
22733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22734 for as_dir in $PATH
22735 do
22736 IFS=$as_save_IFS
22737 test -z "$as_dir" && as_dir=.
22738 for ac_exec_ext in '' $ac_executable_extensions; do
22739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22740 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22742 break 2
22743 fi
22744 done
22745 done
22746
22747 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22748 ;;
22749 esac
22750 fi
22751 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22752
22753 if test -n "$PKG_CONFIG"; then
22754 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22755 echo "${ECHO_T}$PKG_CONFIG" >&6
22756 else
22757 echo "$as_me:$LINENO: result: no" >&5
22758 echo "${ECHO_T}no" >&6
22759 fi
22760
22761 fi
22762
22763 if test "$PKG_CONFIG" = "no" ; then
22764 echo "*** The pkg-config script could not be found. Make sure it is"
22765 echo "*** in your path, or set the PKG_CONFIG environment variable"
22766 echo "*** to the full path to pkg-config."
22767 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22768 else
22769 PKG_CONFIG_MIN_VERSION=0.9.0
22770 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22771 echo "$as_me:$LINENO: checking for pangoft2" >&5
22772 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22773
22774 if $PKG_CONFIG --exists "pangoft2" ; then
22775 echo "$as_me:$LINENO: result: yes" >&5
22776 echo "${ECHO_T}yes" >&6
22777 succeeded=yes
22778
22779 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22780 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22781 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22782 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22783 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22784
22785 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22786 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22787 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22788 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22789 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22790 else
22791 PANGOFT2_CFLAGS=""
22792 PANGOFT2_LIBS=""
22793 ## If we have a custom action on failure, don't print errors, but
22794 ## do set a variable so people can do so.
22795 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22796
22797 fi
22798
22799
22800
22801 else
22802 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22803 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22804 fi
22805 fi
22806
22807 if test $succeeded = yes; then
22808
22809 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22810 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22811
22812 else
22813
22814 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22815 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22816 wxUSE_PRINTING_ARCHITECTURE="no"
22817
22818
22819 fi
22820
22821 fi
22822 else
22823 if test "$wxUSE_UNICODE" = "yes"; then
22824 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
22825 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
22826 wxUSE_UNICODE=no
22827 fi
22828 fi
22829
22830 if test "$USE_DARWIN" != 1; then
22831
22832 for ac_func in poll
22833 do
22834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22835 echo "$as_me:$LINENO: checking for $ac_func" >&5
22836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22837 if eval "test \"\${$as_ac_var+set}\" = set"; then
22838 echo $ECHO_N "(cached) $ECHO_C" >&6
22839 else
22840 cat >conftest.$ac_ext <<_ACEOF
22841 /* confdefs.h. */
22842 _ACEOF
22843 cat confdefs.h >>conftest.$ac_ext
22844 cat >>conftest.$ac_ext <<_ACEOF
22845 /* end confdefs.h. */
22846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22848 #define $ac_func innocuous_$ac_func
22849
22850 /* System header to define __stub macros and hopefully few prototypes,
22851 which can conflict with char $ac_func (); below.
22852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22853 <limits.h> exists even on freestanding compilers. */
22854
22855 #ifdef __STDC__
22856 # include <limits.h>
22857 #else
22858 # include <assert.h>
22859 #endif
22860
22861 #undef $ac_func
22862
22863 /* Override any gcc2 internal prototype to avoid an error. */
22864 #ifdef __cplusplus
22865 extern "C"
22866 {
22867 #endif
22868 /* We use char because int might match the return type of a gcc2
22869 builtin and then its argument prototype would still apply. */
22870 char $ac_func ();
22871 /* The GNU C library defines this for functions which it implements
22872 to always fail with ENOSYS. Some functions are actually named
22873 something starting with __ and the normal name is an alias. */
22874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22875 choke me
22876 #else
22877 char (*f) () = $ac_func;
22878 #endif
22879 #ifdef __cplusplus
22880 }
22881 #endif
22882
22883 int
22884 main ()
22885 {
22886 return f != $ac_func;
22887 ;
22888 return 0;
22889 }
22890 _ACEOF
22891 rm -f conftest.$ac_objext conftest$ac_exeext
22892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22893 (eval $ac_link) 2>conftest.er1
22894 ac_status=$?
22895 grep -v '^ *+' conftest.er1 >conftest.err
22896 rm -f conftest.er1
22897 cat conftest.err >&5
22898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22899 (exit $ac_status); } &&
22900 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22902 (eval $ac_try) 2>&5
22903 ac_status=$?
22904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22905 (exit $ac_status); }; } &&
22906 { ac_try='test -s conftest$ac_exeext'
22907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22908 (eval $ac_try) 2>&5
22909 ac_status=$?
22910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22911 (exit $ac_status); }; }; then
22912 eval "$as_ac_var=yes"
22913 else
22914 echo "$as_me: failed program was:" >&5
22915 sed 's/^/| /' conftest.$ac_ext >&5
22916
22917 eval "$as_ac_var=no"
22918 fi
22919 rm -f conftest.err conftest.$ac_objext \
22920 conftest$ac_exeext conftest.$ac_ext
22921 fi
22922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22924 if test `eval echo '${'$as_ac_var'}'` = yes; then
22925 cat >>confdefs.h <<_ACEOF
22926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22927 _ACEOF
22928
22929 fi
22930 done
22931
22932 fi
22933
22934 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
22935 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
22936
22937 AFMINSTALL=afminstall
22938 TOOLKIT=GTK
22939 GUIDIST=GTK_DIST
22940
22941 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
22942 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
22943 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
22944 echo $ECHO_N "(cached) $ECHO_C" >&6
22945 else
22946 ac_check_lib_save_LIBS=$LIBS
22947 LIBS="-lgdk $LIBS"
22948 cat >conftest.$ac_ext <<_ACEOF
22949 /* confdefs.h. */
22950 _ACEOF
22951 cat confdefs.h >>conftest.$ac_ext
22952 cat >>conftest.$ac_ext <<_ACEOF
22953 /* end confdefs.h. */
22954
22955 /* Override any gcc2 internal prototype to avoid an error. */
22956 #ifdef __cplusplus
22957 extern "C"
22958 #endif
22959 /* We use char because int might match the return type of a gcc2
22960 builtin and then its argument prototype would still apply. */
22961 char gdk_im_open ();
22962 int
22963 main ()
22964 {
22965 gdk_im_open ();
22966 ;
22967 return 0;
22968 }
22969 _ACEOF
22970 rm -f conftest.$ac_objext conftest$ac_exeext
22971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22972 (eval $ac_link) 2>conftest.er1
22973 ac_status=$?
22974 grep -v '^ *+' conftest.er1 >conftest.err
22975 rm -f conftest.er1
22976 cat conftest.err >&5
22977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22978 (exit $ac_status); } &&
22979 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22981 (eval $ac_try) 2>&5
22982 ac_status=$?
22983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22984 (exit $ac_status); }; } &&
22985 { ac_try='test -s conftest$ac_exeext'
22986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22987 (eval $ac_try) 2>&5
22988 ac_status=$?
22989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22990 (exit $ac_status); }; }; then
22991 ac_cv_lib_gdk_gdk_im_open=yes
22992 else
22993 echo "$as_me: failed program was:" >&5
22994 sed 's/^/| /' conftest.$ac_ext >&5
22995
22996 ac_cv_lib_gdk_gdk_im_open=no
22997 fi
22998 rm -f conftest.err conftest.$ac_objext \
22999 conftest$ac_exeext conftest.$ac_ext
23000 LIBS=$ac_check_lib_save_LIBS
23001 fi
23002 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23003 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23004 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23005 cat >>confdefs.h <<\_ACEOF
23006 #define HAVE_XIM 1
23007 _ACEOF
23008
23009 fi
23010
23011
23012
23013 if test "$wxUSE_GPE" = "yes"; then
23014 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23015 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23016
23017 ac_find_libraries=
23018 for ac_dir in $SEARCH_LIB /usr/lib;
23019 do
23020 for ac_extension in a so sl dylib; do
23021 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23022 ac_find_libraries=$ac_dir
23023 break 2
23024 fi
23025 done
23026 done
23027
23028 if test "$ac_find_libraries" != "" ; then
23029
23030 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23031 result=$?
23032 if test $result = 0; then
23033 ac_path_to_link=""
23034 else
23035 ac_path_to_link=" -L$ac_find_libraries"
23036 fi
23037
23038 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
23039 WXGPE=1
23040 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23041 echo "${ECHO_T}found at $ac_find_libraries" >&6
23042 else
23043 echo "$as_me:$LINENO: result: not found" >&5
23044 echo "${ECHO_T}not found" >&6
23045 fi
23046
23047 fi
23048 fi
23049
23050 if test "$wxUSE_MGL" = 1; then
23051 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
23052 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
23053 if test "x$MGL_ROOT" = x ; then
23054 echo "$as_me:$LINENO: result: not found" >&5
23055 echo "${ECHO_T}not found" >&6
23056 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23057 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23058 { (exit 1); exit 1; }; }
23059 else
23060 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23061 echo "${ECHO_T}$MGL_ROOT" >&6
23062 fi
23063
23064 echo "$as_me:$LINENO: checking for libmgl location" >&5
23065 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23066 case "${host}" in
23067 *-*-linux* )
23068 if test "x$wxUSE_SHARED" = xyes ; then
23069 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23070 else
23071 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23072 fi
23073 ;;
23074 *-pc-msdosdjgpp )
23075 mgl_os_candidates="dos32/dj2"
23076 ;;
23077 *)
23078 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23079 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23080 { (exit 1); exit 1; }; }
23081 esac
23082
23083 mgl_lib_type=""
23084 mgl_os=""
23085
23086 for mgl_os_i in $mgl_os_candidates ; do
23087 if test "x$mgl_os" = x ; then
23088 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23089 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
23090 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
23091 mgl_lib_type=debug
23092 mgl_os=$mgl_os_i
23093 fi
23094 fi
23095 if test "x$mgl_lib_type" = x ; then
23096 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
23097 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
23098 mgl_lib_type=release
23099 mgl_os=$mgl_os_i
23100 fi
23101 fi
23102 fi
23103 done
23104
23105 if test "x$mgl_os" = x ; then
23106 echo "$as_me:$LINENO: result: not found" >&5
23107 echo "${ECHO_T}not found" >&6
23108 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23109 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23110 { (exit 1); exit 1; }; }
23111 fi
23112 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23113 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23114
23115 wxUSE_UNIVERSAL="yes"
23116
23117 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
23118 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23119
23120 AFMINSTALL=afminstall
23121 TOOLKIT=MGL
23122 GUIDIST=MGL_DIST
23123 fi
23124
23125 if test "$wxUSE_MICROWIN" = 1; then
23126 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23127 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23128 if test "x$MICROWINDOWS" = x ; then
23129 echo "$as_me:$LINENO: result: not found" >&5
23130 echo "${ECHO_T}not found" >&6
23131 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
23132 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23133 { (exit 1); exit 1; }; }
23134 else
23135 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
23136 echo "${ECHO_T}$MICROWINDOWS" >&6
23137 fi
23138
23139 if test -f $MICROWINDOWS/lib/libmwin.a; then
23140 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
23141 echo "${ECHO_T}MicroWindows' libraries found." >&6
23142 else
23143 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
23144 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
23145 { (exit 1); exit 1; }; }
23146 fi
23147
23148 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
23149 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
23150
23151 wxUSE_UNIVERSAL="yes"
23152
23153 AFMINSTALL=afminstall
23154 TOOLKIT=MICROWIN
23155 GUIDIST=MICROWIN_DIST
23156
23157 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
23158 fi
23159
23160 if test "$wxUSE_X11" = 1; then
23161 echo "$as_me:$LINENO: checking for X" >&5
23162 echo $ECHO_N "checking for X... $ECHO_C" >&6
23163
23164
23165 # Check whether --with-x or --without-x was given.
23166 if test "${with_x+set}" = set; then
23167 withval="$with_x"
23168
23169 fi;
23170 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23171 if test "x$with_x" = xno; then
23172 # The user explicitly disabled X.
23173 have_x=disabled
23174 else
23175 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
23176 # Both variables are already set.
23177 have_x=yes
23178 else
23179 if test "${ac_cv_have_x+set}" = set; then
23180 echo $ECHO_N "(cached) $ECHO_C" >&6
23181 else
23182 # One or both of the vars are not set, and there is no cached value.
23183 ac_x_includes=no ac_x_libraries=no
23184 rm -fr conftest.dir
23185 if mkdir conftest.dir; then
23186 cd conftest.dir
23187 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
23188 cat >Imakefile <<'_ACEOF'
23189 acfindx:
23190 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
23191 _ACEOF
23192 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
23193 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23194 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
23195 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23196 for ac_extension in a so sl; do
23197 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
23198 test -f $ac_im_libdir/libX11.$ac_extension; then
23199 ac_im_usrlibdir=$ac_im_libdir; break
23200 fi
23201 done
23202 # Screen out bogus values from the imake configuration. They are
23203 # bogus both because they are the default anyway, and because
23204 # using them would break gcc on systems where it needs fixed includes.
23205 case $ac_im_incroot in
23206 /usr/include) ;;
23207 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
23208 esac
23209 case $ac_im_usrlibdir in
23210 /usr/lib | /lib) ;;
23211 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
23212 esac
23213 fi
23214 cd ..
23215 rm -fr conftest.dir
23216 fi
23217
23218 # Standard set of common directories for X headers.
23219 # Check X11 before X11Rn because it is often a symlink to the current release.
23220 ac_x_header_dirs='
23221 /usr/X11/include
23222 /usr/X11R6/include
23223 /usr/X11R5/include
23224 /usr/X11R4/include
23225
23226 /usr/include/X11
23227 /usr/include/X11R6
23228 /usr/include/X11R5
23229 /usr/include/X11R4
23230
23231 /usr/local/X11/include
23232 /usr/local/X11R6/include
23233 /usr/local/X11R5/include
23234 /usr/local/X11R4/include
23235
23236 /usr/local/include/X11
23237 /usr/local/include/X11R6
23238 /usr/local/include/X11R5
23239 /usr/local/include/X11R4
23240
23241 /usr/X386/include
23242 /usr/x386/include
23243 /usr/XFree86/include/X11
23244
23245 /usr/include
23246 /usr/local/include
23247 /usr/unsupported/include
23248 /usr/athena/include
23249 /usr/local/x11r5/include
23250 /usr/lpp/Xamples/include
23251
23252 /usr/openwin/include
23253 /usr/openwin/share/include'
23254
23255 if test "$ac_x_includes" = no; then
23256 # Guess where to find include files, by looking for Intrinsic.h.
23257 # First, try using that file with no special directory specified.
23258 cat >conftest.$ac_ext <<_ACEOF
23259 /* confdefs.h. */
23260 _ACEOF
23261 cat confdefs.h >>conftest.$ac_ext
23262 cat >>conftest.$ac_ext <<_ACEOF
23263 /* end confdefs.h. */
23264 #include <X11/Intrinsic.h>
23265 _ACEOF
23266 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23267 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23268 ac_status=$?
23269 grep -v '^ *+' conftest.er1 >conftest.err
23270 rm -f conftest.er1
23271 cat conftest.err >&5
23272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23273 (exit $ac_status); } >/dev/null; then
23274 if test -s conftest.err; then
23275 ac_cpp_err=$ac_c_preproc_warn_flag
23276 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23277 else
23278 ac_cpp_err=
23279 fi
23280 else
23281 ac_cpp_err=yes
23282 fi
23283 if test -z "$ac_cpp_err"; then
23284 # We can compile using X headers with no special include directory.
23285 ac_x_includes=
23286 else
23287 echo "$as_me: failed program was:" >&5
23288 sed 's/^/| /' conftest.$ac_ext >&5
23289
23290 for ac_dir in $ac_x_header_dirs; do
23291 if test -r "$ac_dir/X11/Intrinsic.h"; then
23292 ac_x_includes=$ac_dir
23293 break
23294 fi
23295 done
23296 fi
23297 rm -f conftest.err conftest.$ac_ext
23298 fi # $ac_x_includes = no
23299
23300 if test "$ac_x_libraries" = no; then
23301 # Check for the libraries.
23302 # See if we find them without any special options.
23303 # Don't add to $LIBS permanently.
23304 ac_save_LIBS=$LIBS
23305 LIBS="-lXt $LIBS"
23306 cat >conftest.$ac_ext <<_ACEOF
23307 /* confdefs.h. */
23308 _ACEOF
23309 cat confdefs.h >>conftest.$ac_ext
23310 cat >>conftest.$ac_ext <<_ACEOF
23311 /* end confdefs.h. */
23312 #include <X11/Intrinsic.h>
23313 int
23314 main ()
23315 {
23316 XtMalloc (0)
23317 ;
23318 return 0;
23319 }
23320 _ACEOF
23321 rm -f conftest.$ac_objext conftest$ac_exeext
23322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23323 (eval $ac_link) 2>conftest.er1
23324 ac_status=$?
23325 grep -v '^ *+' conftest.er1 >conftest.err
23326 rm -f conftest.er1
23327 cat conftest.err >&5
23328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23329 (exit $ac_status); } &&
23330 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23332 (eval $ac_try) 2>&5
23333 ac_status=$?
23334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23335 (exit $ac_status); }; } &&
23336 { ac_try='test -s conftest$ac_exeext'
23337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23338 (eval $ac_try) 2>&5
23339 ac_status=$?
23340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23341 (exit $ac_status); }; }; then
23342 LIBS=$ac_save_LIBS
23343 # We can link X programs with no special library path.
23344 ac_x_libraries=
23345 else
23346 echo "$as_me: failed program was:" >&5
23347 sed 's/^/| /' conftest.$ac_ext >&5
23348
23349 LIBS=$ac_save_LIBS
23350 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
23351 do
23352 # Don't even attempt the hair of trying to link an X program!
23353 for ac_extension in a so sl; do
23354 if test -r $ac_dir/libXt.$ac_extension; then
23355 ac_x_libraries=$ac_dir
23356 break 2
23357 fi
23358 done
23359 done
23360 fi
23361 rm -f conftest.err conftest.$ac_objext \
23362 conftest$ac_exeext conftest.$ac_ext
23363 fi # $ac_x_libraries = no
23364
23365 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
23366 # Didn't find X anywhere. Cache the known absence of X.
23367 ac_cv_have_x="have_x=no"
23368 else
23369 # Record where we found X for the cache.
23370 ac_cv_have_x="have_x=yes \
23371 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
23372 fi
23373 fi
23374
23375 fi
23376 eval "$ac_cv_have_x"
23377 fi # $with_x != no
23378
23379 if test "$have_x" != yes; then
23380 echo "$as_me:$LINENO: result: $have_x" >&5
23381 echo "${ECHO_T}$have_x" >&6
23382 no_x=yes
23383 else
23384 # If each of the values was on the command line, it overrides each guess.
23385 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
23386 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
23387 # Update the cache value to reflect the command line values.
23388 ac_cv_have_x="have_x=yes \
23389 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
23390 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
23391 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
23392 fi
23393
23394 if test "$no_x" = yes; then
23395 # Not all programs may use this symbol, but it does not hurt to define it.
23396
23397 cat >>confdefs.h <<\_ACEOF
23398 #define X_DISPLAY_MISSING 1
23399 _ACEOF
23400
23401 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
23402 else
23403 if test -n "$x_includes"; then
23404 X_CFLAGS="$X_CFLAGS -I$x_includes"
23405 fi
23406
23407 # It would also be nice to do this for all -L options, not just this one.
23408 if test -n "$x_libraries"; then
23409 X_LIBS="$X_LIBS -L$x_libraries"
23410 # For Solaris; some versions of Sun CC require a space after -R and
23411 # others require no space. Words are not sufficient . . . .
23412 case `(uname -sr) 2>/dev/null` in
23413 "SunOS 5"*)
23414 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23415 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23416 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
23417 cat >conftest.$ac_ext <<_ACEOF
23418 /* confdefs.h. */
23419 _ACEOF
23420 cat confdefs.h >>conftest.$ac_ext
23421 cat >>conftest.$ac_ext <<_ACEOF
23422 /* end confdefs.h. */
23423
23424 int
23425 main ()
23426 {
23427
23428 ;
23429 return 0;
23430 }
23431 _ACEOF
23432 rm -f conftest.$ac_objext conftest$ac_exeext
23433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23434 (eval $ac_link) 2>conftest.er1
23435 ac_status=$?
23436 grep -v '^ *+' conftest.er1 >conftest.err
23437 rm -f conftest.er1
23438 cat conftest.err >&5
23439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23440 (exit $ac_status); } &&
23441 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23443 (eval $ac_try) 2>&5
23444 ac_status=$?
23445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23446 (exit $ac_status); }; } &&
23447 { ac_try='test -s conftest$ac_exeext'
23448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23449 (eval $ac_try) 2>&5
23450 ac_status=$?
23451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23452 (exit $ac_status); }; }; then
23453 ac_R_nospace=yes
23454 else
23455 echo "$as_me: failed program was:" >&5
23456 sed 's/^/| /' conftest.$ac_ext >&5
23457
23458 ac_R_nospace=no
23459 fi
23460 rm -f conftest.err conftest.$ac_objext \
23461 conftest$ac_exeext conftest.$ac_ext
23462 if test $ac_R_nospace = yes; then
23463 echo "$as_me:$LINENO: result: no" >&5
23464 echo "${ECHO_T}no" >&6
23465 X_LIBS="$X_LIBS -R$x_libraries"
23466 else
23467 LIBS="$ac_xsave_LIBS -R $x_libraries"
23468 cat >conftest.$ac_ext <<_ACEOF
23469 /* confdefs.h. */
23470 _ACEOF
23471 cat confdefs.h >>conftest.$ac_ext
23472 cat >>conftest.$ac_ext <<_ACEOF
23473 /* end confdefs.h. */
23474
23475 int
23476 main ()
23477 {
23478
23479 ;
23480 return 0;
23481 }
23482 _ACEOF
23483 rm -f conftest.$ac_objext conftest$ac_exeext
23484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23485 (eval $ac_link) 2>conftest.er1
23486 ac_status=$?
23487 grep -v '^ *+' conftest.er1 >conftest.err
23488 rm -f conftest.er1
23489 cat conftest.err >&5
23490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23491 (exit $ac_status); } &&
23492 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23494 (eval $ac_try) 2>&5
23495 ac_status=$?
23496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23497 (exit $ac_status); }; } &&
23498 { ac_try='test -s conftest$ac_exeext'
23499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23500 (eval $ac_try) 2>&5
23501 ac_status=$?
23502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23503 (exit $ac_status); }; }; then
23504 ac_R_space=yes
23505 else
23506 echo "$as_me: failed program was:" >&5
23507 sed 's/^/| /' conftest.$ac_ext >&5
23508
23509 ac_R_space=no
23510 fi
23511 rm -f conftest.err conftest.$ac_objext \
23512 conftest$ac_exeext conftest.$ac_ext
23513 if test $ac_R_space = yes; then
23514 echo "$as_me:$LINENO: result: yes" >&5
23515 echo "${ECHO_T}yes" >&6
23516 X_LIBS="$X_LIBS -R $x_libraries"
23517 else
23518 echo "$as_me:$LINENO: result: neither works" >&5
23519 echo "${ECHO_T}neither works" >&6
23520 fi
23521 fi
23522 LIBS=$ac_xsave_LIBS
23523 esac
23524 fi
23525
23526 # Check for system-dependent libraries X programs must link with.
23527 # Do this before checking for the system-independent R6 libraries
23528 # (-lICE), since we may need -lsocket or whatever for X linking.
23529
23530 if test "$ISC" = yes; then
23531 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
23532 else
23533 # Martyn Johnson says this is needed for Ultrix, if the X
23534 # libraries were built with DECnet support. And Karl Berry says
23535 # the Alpha needs dnet_stub (dnet does not exist).
23536 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
23537 cat >conftest.$ac_ext <<_ACEOF
23538 /* confdefs.h. */
23539 _ACEOF
23540 cat confdefs.h >>conftest.$ac_ext
23541 cat >>conftest.$ac_ext <<_ACEOF
23542 /* end confdefs.h. */
23543
23544 /* Override any gcc2 internal prototype to avoid an error. */
23545 #ifdef __cplusplus
23546 extern "C"
23547 #endif
23548 /* We use char because int might match the return type of a gcc2
23549 builtin and then its argument prototype would still apply. */
23550 char XOpenDisplay ();
23551 int
23552 main ()
23553 {
23554 XOpenDisplay ();
23555 ;
23556 return 0;
23557 }
23558 _ACEOF
23559 rm -f conftest.$ac_objext conftest$ac_exeext
23560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23561 (eval $ac_link) 2>conftest.er1
23562 ac_status=$?
23563 grep -v '^ *+' conftest.er1 >conftest.err
23564 rm -f conftest.er1
23565 cat conftest.err >&5
23566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23567 (exit $ac_status); } &&
23568 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23570 (eval $ac_try) 2>&5
23571 ac_status=$?
23572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23573 (exit $ac_status); }; } &&
23574 { ac_try='test -s conftest$ac_exeext'
23575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23576 (eval $ac_try) 2>&5
23577 ac_status=$?
23578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23579 (exit $ac_status); }; }; then
23580 :
23581 else
23582 echo "$as_me: failed program was:" >&5
23583 sed 's/^/| /' conftest.$ac_ext >&5
23584
23585 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23586 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23587 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23588 echo $ECHO_N "(cached) $ECHO_C" >&6
23589 else
23590 ac_check_lib_save_LIBS=$LIBS
23591 LIBS="-ldnet $LIBS"
23592 cat >conftest.$ac_ext <<_ACEOF
23593 /* confdefs.h. */
23594 _ACEOF
23595 cat confdefs.h >>conftest.$ac_ext
23596 cat >>conftest.$ac_ext <<_ACEOF
23597 /* end confdefs.h. */
23598
23599 /* Override any gcc2 internal prototype to avoid an error. */
23600 #ifdef __cplusplus
23601 extern "C"
23602 #endif
23603 /* We use char because int might match the return type of a gcc2
23604 builtin and then its argument prototype would still apply. */
23605 char dnet_ntoa ();
23606 int
23607 main ()
23608 {
23609 dnet_ntoa ();
23610 ;
23611 return 0;
23612 }
23613 _ACEOF
23614 rm -f conftest.$ac_objext conftest$ac_exeext
23615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23616 (eval $ac_link) 2>conftest.er1
23617 ac_status=$?
23618 grep -v '^ *+' conftest.er1 >conftest.err
23619 rm -f conftest.er1
23620 cat conftest.err >&5
23621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23622 (exit $ac_status); } &&
23623 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23625 (eval $ac_try) 2>&5
23626 ac_status=$?
23627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23628 (exit $ac_status); }; } &&
23629 { ac_try='test -s conftest$ac_exeext'
23630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23631 (eval $ac_try) 2>&5
23632 ac_status=$?
23633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23634 (exit $ac_status); }; }; then
23635 ac_cv_lib_dnet_dnet_ntoa=yes
23636 else
23637 echo "$as_me: failed program was:" >&5
23638 sed 's/^/| /' conftest.$ac_ext >&5
23639
23640 ac_cv_lib_dnet_dnet_ntoa=no
23641 fi
23642 rm -f conftest.err conftest.$ac_objext \
23643 conftest$ac_exeext conftest.$ac_ext
23644 LIBS=$ac_check_lib_save_LIBS
23645 fi
23646 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23647 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23648 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23649 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23650 fi
23651
23652 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23653 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23654 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23655 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23656 echo $ECHO_N "(cached) $ECHO_C" >&6
23657 else
23658 ac_check_lib_save_LIBS=$LIBS
23659 LIBS="-ldnet_stub $LIBS"
23660 cat >conftest.$ac_ext <<_ACEOF
23661 /* confdefs.h. */
23662 _ACEOF
23663 cat confdefs.h >>conftest.$ac_ext
23664 cat >>conftest.$ac_ext <<_ACEOF
23665 /* end confdefs.h. */
23666
23667 /* Override any gcc2 internal prototype to avoid an error. */
23668 #ifdef __cplusplus
23669 extern "C"
23670 #endif
23671 /* We use char because int might match the return type of a gcc2
23672 builtin and then its argument prototype would still apply. */
23673 char dnet_ntoa ();
23674 int
23675 main ()
23676 {
23677 dnet_ntoa ();
23678 ;
23679 return 0;
23680 }
23681 _ACEOF
23682 rm -f conftest.$ac_objext conftest$ac_exeext
23683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23684 (eval $ac_link) 2>conftest.er1
23685 ac_status=$?
23686 grep -v '^ *+' conftest.er1 >conftest.err
23687 rm -f conftest.er1
23688 cat conftest.err >&5
23689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23690 (exit $ac_status); } &&
23691 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23693 (eval $ac_try) 2>&5
23694 ac_status=$?
23695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23696 (exit $ac_status); }; } &&
23697 { ac_try='test -s conftest$ac_exeext'
23698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23699 (eval $ac_try) 2>&5
23700 ac_status=$?
23701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23702 (exit $ac_status); }; }; then
23703 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23704 else
23705 echo "$as_me: failed program was:" >&5
23706 sed 's/^/| /' conftest.$ac_ext >&5
23707
23708 ac_cv_lib_dnet_stub_dnet_ntoa=no
23709 fi
23710 rm -f conftest.err conftest.$ac_objext \
23711 conftest$ac_exeext conftest.$ac_ext
23712 LIBS=$ac_check_lib_save_LIBS
23713 fi
23714 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23715 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23716 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23717 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23718 fi
23719
23720 fi
23721 fi
23722 rm -f conftest.err conftest.$ac_objext \
23723 conftest$ac_exeext conftest.$ac_ext
23724 LIBS="$ac_xsave_LIBS"
23725
23726 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23727 # to get the SysV transport functions.
23728 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23729 # needs -lnsl.
23730 # The nsl library prevents programs from opening the X display
23731 # on Irix 5.2, according to T.E. Dickey.
23732 # The functions gethostbyname, getservbyname, and inet_addr are
23733 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23734 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23735 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23736 if test "${ac_cv_func_gethostbyname+set}" = set; then
23737 echo $ECHO_N "(cached) $ECHO_C" >&6
23738 else
23739 cat >conftest.$ac_ext <<_ACEOF
23740 /* confdefs.h. */
23741 _ACEOF
23742 cat confdefs.h >>conftest.$ac_ext
23743 cat >>conftest.$ac_ext <<_ACEOF
23744 /* end confdefs.h. */
23745 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
23746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23747 #define gethostbyname innocuous_gethostbyname
23748
23749 /* System header to define __stub macros and hopefully few prototypes,
23750 which can conflict with char gethostbyname (); below.
23751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23752 <limits.h> exists even on freestanding compilers. */
23753
23754 #ifdef __STDC__
23755 # include <limits.h>
23756 #else
23757 # include <assert.h>
23758 #endif
23759
23760 #undef gethostbyname
23761
23762 /* Override any gcc2 internal prototype to avoid an error. */
23763 #ifdef __cplusplus
23764 extern "C"
23765 {
23766 #endif
23767 /* We use char because int might match the return type of a gcc2
23768 builtin and then its argument prototype would still apply. */
23769 char gethostbyname ();
23770 /* The GNU C library defines this for functions which it implements
23771 to always fail with ENOSYS. Some functions are actually named
23772 something starting with __ and the normal name is an alias. */
23773 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23774 choke me
23775 #else
23776 char (*f) () = gethostbyname;
23777 #endif
23778 #ifdef __cplusplus
23779 }
23780 #endif
23781
23782 int
23783 main ()
23784 {
23785 return f != gethostbyname;
23786 ;
23787 return 0;
23788 }
23789 _ACEOF
23790 rm -f conftest.$ac_objext conftest$ac_exeext
23791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23792 (eval $ac_link) 2>conftest.er1
23793 ac_status=$?
23794 grep -v '^ *+' conftest.er1 >conftest.err
23795 rm -f conftest.er1
23796 cat conftest.err >&5
23797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23798 (exit $ac_status); } &&
23799 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23801 (eval $ac_try) 2>&5
23802 ac_status=$?
23803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23804 (exit $ac_status); }; } &&
23805 { ac_try='test -s conftest$ac_exeext'
23806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23807 (eval $ac_try) 2>&5
23808 ac_status=$?
23809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23810 (exit $ac_status); }; }; then
23811 ac_cv_func_gethostbyname=yes
23812 else
23813 echo "$as_me: failed program was:" >&5
23814 sed 's/^/| /' conftest.$ac_ext >&5
23815
23816 ac_cv_func_gethostbyname=no
23817 fi
23818 rm -f conftest.err conftest.$ac_objext \
23819 conftest$ac_exeext conftest.$ac_ext
23820 fi
23821 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23822 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23823
23824 if test $ac_cv_func_gethostbyname = no; then
23825 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23826 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23827 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23828 echo $ECHO_N "(cached) $ECHO_C" >&6
23829 else
23830 ac_check_lib_save_LIBS=$LIBS
23831 LIBS="-lnsl $LIBS"
23832 cat >conftest.$ac_ext <<_ACEOF
23833 /* confdefs.h. */
23834 _ACEOF
23835 cat confdefs.h >>conftest.$ac_ext
23836 cat >>conftest.$ac_ext <<_ACEOF
23837 /* end confdefs.h. */
23838
23839 /* Override any gcc2 internal prototype to avoid an error. */
23840 #ifdef __cplusplus
23841 extern "C"
23842 #endif
23843 /* We use char because int might match the return type of a gcc2
23844 builtin and then its argument prototype would still apply. */
23845 char gethostbyname ();
23846 int
23847 main ()
23848 {
23849 gethostbyname ();
23850 ;
23851 return 0;
23852 }
23853 _ACEOF
23854 rm -f conftest.$ac_objext conftest$ac_exeext
23855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23856 (eval $ac_link) 2>conftest.er1
23857 ac_status=$?
23858 grep -v '^ *+' conftest.er1 >conftest.err
23859 rm -f conftest.er1
23860 cat conftest.err >&5
23861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23862 (exit $ac_status); } &&
23863 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23865 (eval $ac_try) 2>&5
23866 ac_status=$?
23867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23868 (exit $ac_status); }; } &&
23869 { ac_try='test -s conftest$ac_exeext'
23870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23871 (eval $ac_try) 2>&5
23872 ac_status=$?
23873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23874 (exit $ac_status); }; }; then
23875 ac_cv_lib_nsl_gethostbyname=yes
23876 else
23877 echo "$as_me: failed program was:" >&5
23878 sed 's/^/| /' conftest.$ac_ext >&5
23879
23880 ac_cv_lib_nsl_gethostbyname=no
23881 fi
23882 rm -f conftest.err conftest.$ac_objext \
23883 conftest$ac_exeext conftest.$ac_ext
23884 LIBS=$ac_check_lib_save_LIBS
23885 fi
23886 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23887 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23888 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23889 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23890 fi
23891
23892 if test $ac_cv_lib_nsl_gethostbyname = no; then
23893 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23894 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23895 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23896 echo $ECHO_N "(cached) $ECHO_C" >&6
23897 else
23898 ac_check_lib_save_LIBS=$LIBS
23899 LIBS="-lbsd $LIBS"
23900 cat >conftest.$ac_ext <<_ACEOF
23901 /* confdefs.h. */
23902 _ACEOF
23903 cat confdefs.h >>conftest.$ac_ext
23904 cat >>conftest.$ac_ext <<_ACEOF
23905 /* end confdefs.h. */
23906
23907 /* Override any gcc2 internal prototype to avoid an error. */
23908 #ifdef __cplusplus
23909 extern "C"
23910 #endif
23911 /* We use char because int might match the return type of a gcc2
23912 builtin and then its argument prototype would still apply. */
23913 char gethostbyname ();
23914 int
23915 main ()
23916 {
23917 gethostbyname ();
23918 ;
23919 return 0;
23920 }
23921 _ACEOF
23922 rm -f conftest.$ac_objext conftest$ac_exeext
23923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23924 (eval $ac_link) 2>conftest.er1
23925 ac_status=$?
23926 grep -v '^ *+' conftest.er1 >conftest.err
23927 rm -f conftest.er1
23928 cat conftest.err >&5
23929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23930 (exit $ac_status); } &&
23931 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23933 (eval $ac_try) 2>&5
23934 ac_status=$?
23935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23936 (exit $ac_status); }; } &&
23937 { ac_try='test -s conftest$ac_exeext'
23938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23939 (eval $ac_try) 2>&5
23940 ac_status=$?
23941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23942 (exit $ac_status); }; }; then
23943 ac_cv_lib_bsd_gethostbyname=yes
23944 else
23945 echo "$as_me: failed program was:" >&5
23946 sed 's/^/| /' conftest.$ac_ext >&5
23947
23948 ac_cv_lib_bsd_gethostbyname=no
23949 fi
23950 rm -f conftest.err conftest.$ac_objext \
23951 conftest$ac_exeext conftest.$ac_ext
23952 LIBS=$ac_check_lib_save_LIBS
23953 fi
23954 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23955 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23956 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23957 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23958 fi
23959
23960 fi
23961 fi
23962
23963 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23964 # socket/setsockopt and other routines are undefined under SCO ODT
23965 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23966 # on later versions), says Simon Leinen: it contains gethostby*
23967 # variants that don't use the name server (or something). -lsocket
23968 # must be given before -lnsl if both are needed. We assume that
23969 # if connect needs -lnsl, so does gethostbyname.
23970 echo "$as_me:$LINENO: checking for connect" >&5
23971 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23972 if test "${ac_cv_func_connect+set}" = set; then
23973 echo $ECHO_N "(cached) $ECHO_C" >&6
23974 else
23975 cat >conftest.$ac_ext <<_ACEOF
23976 /* confdefs.h. */
23977 _ACEOF
23978 cat confdefs.h >>conftest.$ac_ext
23979 cat >>conftest.$ac_ext <<_ACEOF
23980 /* end confdefs.h. */
23981 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
23982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23983 #define connect innocuous_connect
23984
23985 /* System header to define __stub macros and hopefully few prototypes,
23986 which can conflict with char connect (); below.
23987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23988 <limits.h> exists even on freestanding compilers. */
23989
23990 #ifdef __STDC__
23991 # include <limits.h>
23992 #else
23993 # include <assert.h>
23994 #endif
23995
23996 #undef connect
23997
23998 /* Override any gcc2 internal prototype to avoid an error. */
23999 #ifdef __cplusplus
24000 extern "C"
24001 {
24002 #endif
24003 /* We use char because int might match the return type of a gcc2
24004 builtin and then its argument prototype would still apply. */
24005 char connect ();
24006 /* The GNU C library defines this for functions which it implements
24007 to always fail with ENOSYS. Some functions are actually named
24008 something starting with __ and the normal name is an alias. */
24009 #if defined (__stub_connect) || defined (__stub___connect)
24010 choke me
24011 #else
24012 char (*f) () = connect;
24013 #endif
24014 #ifdef __cplusplus
24015 }
24016 #endif
24017
24018 int
24019 main ()
24020 {
24021 return f != connect;
24022 ;
24023 return 0;
24024 }
24025 _ACEOF
24026 rm -f conftest.$ac_objext conftest$ac_exeext
24027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24028 (eval $ac_link) 2>conftest.er1
24029 ac_status=$?
24030 grep -v '^ *+' conftest.er1 >conftest.err
24031 rm -f conftest.er1
24032 cat conftest.err >&5
24033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24034 (exit $ac_status); } &&
24035 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24037 (eval $ac_try) 2>&5
24038 ac_status=$?
24039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24040 (exit $ac_status); }; } &&
24041 { ac_try='test -s conftest$ac_exeext'
24042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24043 (eval $ac_try) 2>&5
24044 ac_status=$?
24045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24046 (exit $ac_status); }; }; then
24047 ac_cv_func_connect=yes
24048 else
24049 echo "$as_me: failed program was:" >&5
24050 sed 's/^/| /' conftest.$ac_ext >&5
24051
24052 ac_cv_func_connect=no
24053 fi
24054 rm -f conftest.err conftest.$ac_objext \
24055 conftest$ac_exeext conftest.$ac_ext
24056 fi
24057 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24058 echo "${ECHO_T}$ac_cv_func_connect" >&6
24059
24060 if test $ac_cv_func_connect = no; then
24061 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24062 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24063 if test "${ac_cv_lib_socket_connect+set}" = set; then
24064 echo $ECHO_N "(cached) $ECHO_C" >&6
24065 else
24066 ac_check_lib_save_LIBS=$LIBS
24067 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
24068 cat >conftest.$ac_ext <<_ACEOF
24069 /* confdefs.h. */
24070 _ACEOF
24071 cat confdefs.h >>conftest.$ac_ext
24072 cat >>conftest.$ac_ext <<_ACEOF
24073 /* end confdefs.h. */
24074
24075 /* Override any gcc2 internal prototype to avoid an error. */
24076 #ifdef __cplusplus
24077 extern "C"
24078 #endif
24079 /* We use char because int might match the return type of a gcc2
24080 builtin and then its argument prototype would still apply. */
24081 char connect ();
24082 int
24083 main ()
24084 {
24085 connect ();
24086 ;
24087 return 0;
24088 }
24089 _ACEOF
24090 rm -f conftest.$ac_objext conftest$ac_exeext
24091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24092 (eval $ac_link) 2>conftest.er1
24093 ac_status=$?
24094 grep -v '^ *+' conftest.er1 >conftest.err
24095 rm -f conftest.er1
24096 cat conftest.err >&5
24097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24098 (exit $ac_status); } &&
24099 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24101 (eval $ac_try) 2>&5
24102 ac_status=$?
24103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24104 (exit $ac_status); }; } &&
24105 { ac_try='test -s conftest$ac_exeext'
24106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24107 (eval $ac_try) 2>&5
24108 ac_status=$?
24109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24110 (exit $ac_status); }; }; then
24111 ac_cv_lib_socket_connect=yes
24112 else
24113 echo "$as_me: failed program was:" >&5
24114 sed 's/^/| /' conftest.$ac_ext >&5
24115
24116 ac_cv_lib_socket_connect=no
24117 fi
24118 rm -f conftest.err conftest.$ac_objext \
24119 conftest$ac_exeext conftest.$ac_ext
24120 LIBS=$ac_check_lib_save_LIBS
24121 fi
24122 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24123 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24124 if test $ac_cv_lib_socket_connect = yes; then
24125 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
24126 fi
24127
24128 fi
24129
24130 # Guillermo Gomez says -lposix is necessary on A/UX.
24131 echo "$as_me:$LINENO: checking for remove" >&5
24132 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24133 if test "${ac_cv_func_remove+set}" = set; then
24134 echo $ECHO_N "(cached) $ECHO_C" >&6
24135 else
24136 cat >conftest.$ac_ext <<_ACEOF
24137 /* confdefs.h. */
24138 _ACEOF
24139 cat confdefs.h >>conftest.$ac_ext
24140 cat >>conftest.$ac_ext <<_ACEOF
24141 /* end confdefs.h. */
24142 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
24143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24144 #define remove innocuous_remove
24145
24146 /* System header to define __stub macros and hopefully few prototypes,
24147 which can conflict with char remove (); below.
24148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24149 <limits.h> exists even on freestanding compilers. */
24150
24151 #ifdef __STDC__
24152 # include <limits.h>
24153 #else
24154 # include <assert.h>
24155 #endif
24156
24157 #undef remove
24158
24159 /* Override any gcc2 internal prototype to avoid an error. */
24160 #ifdef __cplusplus
24161 extern "C"
24162 {
24163 #endif
24164 /* We use char because int might match the return type of a gcc2
24165 builtin and then its argument prototype would still apply. */
24166 char remove ();
24167 /* The GNU C library defines this for functions which it implements
24168 to always fail with ENOSYS. Some functions are actually named
24169 something starting with __ and the normal name is an alias. */
24170 #if defined (__stub_remove) || defined (__stub___remove)
24171 choke me
24172 #else
24173 char (*f) () = remove;
24174 #endif
24175 #ifdef __cplusplus
24176 }
24177 #endif
24178
24179 int
24180 main ()
24181 {
24182 return f != remove;
24183 ;
24184 return 0;
24185 }
24186 _ACEOF
24187 rm -f conftest.$ac_objext conftest$ac_exeext
24188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24189 (eval $ac_link) 2>conftest.er1
24190 ac_status=$?
24191 grep -v '^ *+' conftest.er1 >conftest.err
24192 rm -f conftest.er1
24193 cat conftest.err >&5
24194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24195 (exit $ac_status); } &&
24196 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24198 (eval $ac_try) 2>&5
24199 ac_status=$?
24200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24201 (exit $ac_status); }; } &&
24202 { ac_try='test -s conftest$ac_exeext'
24203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24204 (eval $ac_try) 2>&5
24205 ac_status=$?
24206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24207 (exit $ac_status); }; }; then
24208 ac_cv_func_remove=yes
24209 else
24210 echo "$as_me: failed program was:" >&5
24211 sed 's/^/| /' conftest.$ac_ext >&5
24212
24213 ac_cv_func_remove=no
24214 fi
24215 rm -f conftest.err conftest.$ac_objext \
24216 conftest$ac_exeext conftest.$ac_ext
24217 fi
24218 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24219 echo "${ECHO_T}$ac_cv_func_remove" >&6
24220
24221 if test $ac_cv_func_remove = no; then
24222 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24223 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
24224 if test "${ac_cv_lib_posix_remove+set}" = set; then
24225 echo $ECHO_N "(cached) $ECHO_C" >&6
24226 else
24227 ac_check_lib_save_LIBS=$LIBS
24228 LIBS="-lposix $LIBS"
24229 cat >conftest.$ac_ext <<_ACEOF
24230 /* confdefs.h. */
24231 _ACEOF
24232 cat confdefs.h >>conftest.$ac_ext
24233 cat >>conftest.$ac_ext <<_ACEOF
24234 /* end confdefs.h. */
24235
24236 /* Override any gcc2 internal prototype to avoid an error. */
24237 #ifdef __cplusplus
24238 extern "C"
24239 #endif
24240 /* We use char because int might match the return type of a gcc2
24241 builtin and then its argument prototype would still apply. */
24242 char remove ();
24243 int
24244 main ()
24245 {
24246 remove ();
24247 ;
24248 return 0;
24249 }
24250 _ACEOF
24251 rm -f conftest.$ac_objext conftest$ac_exeext
24252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24253 (eval $ac_link) 2>conftest.er1
24254 ac_status=$?
24255 grep -v '^ *+' conftest.er1 >conftest.err
24256 rm -f conftest.er1
24257 cat conftest.err >&5
24258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24259 (exit $ac_status); } &&
24260 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24262 (eval $ac_try) 2>&5
24263 ac_status=$?
24264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24265 (exit $ac_status); }; } &&
24266 { ac_try='test -s conftest$ac_exeext'
24267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24268 (eval $ac_try) 2>&5
24269 ac_status=$?
24270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24271 (exit $ac_status); }; }; then
24272 ac_cv_lib_posix_remove=yes
24273 else
24274 echo "$as_me: failed program was:" >&5
24275 sed 's/^/| /' conftest.$ac_ext >&5
24276
24277 ac_cv_lib_posix_remove=no
24278 fi
24279 rm -f conftest.err conftest.$ac_objext \
24280 conftest$ac_exeext conftest.$ac_ext
24281 LIBS=$ac_check_lib_save_LIBS
24282 fi
24283 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24284 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
24285 if test $ac_cv_lib_posix_remove = yes; then
24286 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
24287 fi
24288
24289 fi
24290
24291 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24292 echo "$as_me:$LINENO: checking for shmat" >&5
24293 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
24294 if test "${ac_cv_func_shmat+set}" = set; then
24295 echo $ECHO_N "(cached) $ECHO_C" >&6
24296 else
24297 cat >conftest.$ac_ext <<_ACEOF
24298 /* confdefs.h. */
24299 _ACEOF
24300 cat confdefs.h >>conftest.$ac_ext
24301 cat >>conftest.$ac_ext <<_ACEOF
24302 /* end confdefs.h. */
24303 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24305 #define shmat innocuous_shmat
24306
24307 /* System header to define __stub macros and hopefully few prototypes,
24308 which can conflict with char shmat (); below.
24309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24310 <limits.h> exists even on freestanding compilers. */
24311
24312 #ifdef __STDC__
24313 # include <limits.h>
24314 #else
24315 # include <assert.h>
24316 #endif
24317
24318 #undef shmat
24319
24320 /* Override any gcc2 internal prototype to avoid an error. */
24321 #ifdef __cplusplus
24322 extern "C"
24323 {
24324 #endif
24325 /* We use char because int might match the return type of a gcc2
24326 builtin and then its argument prototype would still apply. */
24327 char shmat ();
24328 /* The GNU C library defines this for functions which it implements
24329 to always fail with ENOSYS. Some functions are actually named
24330 something starting with __ and the normal name is an alias. */
24331 #if defined (__stub_shmat) || defined (__stub___shmat)
24332 choke me
24333 #else
24334 char (*f) () = shmat;
24335 #endif
24336 #ifdef __cplusplus
24337 }
24338 #endif
24339
24340 int
24341 main ()
24342 {
24343 return f != shmat;
24344 ;
24345 return 0;
24346 }
24347 _ACEOF
24348 rm -f conftest.$ac_objext conftest$ac_exeext
24349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24350 (eval $ac_link) 2>conftest.er1
24351 ac_status=$?
24352 grep -v '^ *+' conftest.er1 >conftest.err
24353 rm -f conftest.er1
24354 cat conftest.err >&5
24355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24356 (exit $ac_status); } &&
24357 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24359 (eval $ac_try) 2>&5
24360 ac_status=$?
24361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24362 (exit $ac_status); }; } &&
24363 { ac_try='test -s conftest$ac_exeext'
24364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24365 (eval $ac_try) 2>&5
24366 ac_status=$?
24367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24368 (exit $ac_status); }; }; then
24369 ac_cv_func_shmat=yes
24370 else
24371 echo "$as_me: failed program was:" >&5
24372 sed 's/^/| /' conftest.$ac_ext >&5
24373
24374 ac_cv_func_shmat=no
24375 fi
24376 rm -f conftest.err conftest.$ac_objext \
24377 conftest$ac_exeext conftest.$ac_ext
24378 fi
24379 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24380 echo "${ECHO_T}$ac_cv_func_shmat" >&6
24381
24382 if test $ac_cv_func_shmat = no; then
24383 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
24384 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
24385 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
24386 echo $ECHO_N "(cached) $ECHO_C" >&6
24387 else
24388 ac_check_lib_save_LIBS=$LIBS
24389 LIBS="-lipc $LIBS"
24390 cat >conftest.$ac_ext <<_ACEOF
24391 /* confdefs.h. */
24392 _ACEOF
24393 cat confdefs.h >>conftest.$ac_ext
24394 cat >>conftest.$ac_ext <<_ACEOF
24395 /* end confdefs.h. */
24396
24397 /* Override any gcc2 internal prototype to avoid an error. */
24398 #ifdef __cplusplus
24399 extern "C"
24400 #endif
24401 /* We use char because int might match the return type of a gcc2
24402 builtin and then its argument prototype would still apply. */
24403 char shmat ();
24404 int
24405 main ()
24406 {
24407 shmat ();
24408 ;
24409 return 0;
24410 }
24411 _ACEOF
24412 rm -f conftest.$ac_objext conftest$ac_exeext
24413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24414 (eval $ac_link) 2>conftest.er1
24415 ac_status=$?
24416 grep -v '^ *+' conftest.er1 >conftest.err
24417 rm -f conftest.er1
24418 cat conftest.err >&5
24419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24420 (exit $ac_status); } &&
24421 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24423 (eval $ac_try) 2>&5
24424 ac_status=$?
24425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24426 (exit $ac_status); }; } &&
24427 { ac_try='test -s conftest$ac_exeext'
24428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24429 (eval $ac_try) 2>&5
24430 ac_status=$?
24431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24432 (exit $ac_status); }; }; then
24433 ac_cv_lib_ipc_shmat=yes
24434 else
24435 echo "$as_me: failed program was:" >&5
24436 sed 's/^/| /' conftest.$ac_ext >&5
24437
24438 ac_cv_lib_ipc_shmat=no
24439 fi
24440 rm -f conftest.err conftest.$ac_objext \
24441 conftest$ac_exeext conftest.$ac_ext
24442 LIBS=$ac_check_lib_save_LIBS
24443 fi
24444 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24445 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
24446 if test $ac_cv_lib_ipc_shmat = yes; then
24447 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
24448 fi
24449
24450 fi
24451 fi
24452
24453 # Check for libraries that X11R6 Xt/Xaw programs need.
24454 ac_save_LDFLAGS=$LDFLAGS
24455 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
24456 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
24457 # check for ICE first), but we must link in the order -lSM -lICE or
24458 # we get undefined symbols. So assume we have SM if we have ICE.
24459 # These have to be linked with before -lX11, unlike the other
24460 # libraries we check for below, so use a different variable.
24461 # John Interrante, Karl Berry
24462 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
24463 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
24464 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
24465 echo $ECHO_N "(cached) $ECHO_C" >&6
24466 else
24467 ac_check_lib_save_LIBS=$LIBS
24468 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
24469 cat >conftest.$ac_ext <<_ACEOF
24470 /* confdefs.h. */
24471 _ACEOF
24472 cat confdefs.h >>conftest.$ac_ext
24473 cat >>conftest.$ac_ext <<_ACEOF
24474 /* end confdefs.h. */
24475
24476 /* Override any gcc2 internal prototype to avoid an error. */
24477 #ifdef __cplusplus
24478 extern "C"
24479 #endif
24480 /* We use char because int might match the return type of a gcc2
24481 builtin and then its argument prototype would still apply. */
24482 char IceConnectionNumber ();
24483 int
24484 main ()
24485 {
24486 IceConnectionNumber ();
24487 ;
24488 return 0;
24489 }
24490 _ACEOF
24491 rm -f conftest.$ac_objext conftest$ac_exeext
24492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24493 (eval $ac_link) 2>conftest.er1
24494 ac_status=$?
24495 grep -v '^ *+' conftest.er1 >conftest.err
24496 rm -f conftest.er1
24497 cat conftest.err >&5
24498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24499 (exit $ac_status); } &&
24500 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24502 (eval $ac_try) 2>&5
24503 ac_status=$?
24504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24505 (exit $ac_status); }; } &&
24506 { ac_try='test -s conftest$ac_exeext'
24507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24508 (eval $ac_try) 2>&5
24509 ac_status=$?
24510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24511 (exit $ac_status); }; }; then
24512 ac_cv_lib_ICE_IceConnectionNumber=yes
24513 else
24514 echo "$as_me: failed program was:" >&5
24515 sed 's/^/| /' conftest.$ac_ext >&5
24516
24517 ac_cv_lib_ICE_IceConnectionNumber=no
24518 fi
24519 rm -f conftest.err conftest.$ac_objext \
24520 conftest$ac_exeext conftest.$ac_ext
24521 LIBS=$ac_check_lib_save_LIBS
24522 fi
24523 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24524 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
24525 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
24526 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
24527 fi
24528
24529 LDFLAGS=$ac_save_LDFLAGS
24530
24531 fi
24532
24533
24534 if test "$no_x" = "yes"; then
24535 { { echo "$as_me:$LINENO: error: X11 not found" >&5
24536 echo "$as_me: error: X11 not found" >&2;}
24537 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
24538 fi
24539
24540 GUI_TK_LIBRARY="$X_LIBS"
24541 TOOLKIT_INCLUDE="$X_CFLAGS"
24542 AFMINSTALL=afminstall
24543 COMPILED_X_PROGRAM=0
24544
24545 if test "$wxUSE_NANOX" = "yes"; then
24546 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
24547 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
24548 if test "x$MICROWIN" = x ; then
24549 echo "$as_me:$LINENO: result: not found" >&5
24550 echo "${ECHO_T}not found" >&6
24551 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
24552 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
24553 { (exit 1); exit 1; }; }
24554 else
24555 echo "$as_me:$LINENO: result: $MICROWIN" >&5
24556 echo "${ECHO_T}$MICROWIN" >&6
24557 cat >>confdefs.h <<\_ACEOF
24558 #define wxUSE_NANOX 1
24559 _ACEOF
24560
24561 fi
24562 fi
24563
24564 if test "$wxUSE_UNICODE" = "yes"; then
24565
24566 succeeded=no
24567
24568 if test -z "$PKG_CONFIG"; then
24569 # Extract the first word of "pkg-config", so it can be a program name with args.
24570 set dummy pkg-config; ac_word=$2
24571 echo "$as_me:$LINENO: checking for $ac_word" >&5
24572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24573 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24574 echo $ECHO_N "(cached) $ECHO_C" >&6
24575 else
24576 case $PKG_CONFIG in
24577 [\\/]* | ?:[\\/]*)
24578 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24579 ;;
24580 *)
24581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24582 for as_dir in $PATH
24583 do
24584 IFS=$as_save_IFS
24585 test -z "$as_dir" && as_dir=.
24586 for ac_exec_ext in '' $ac_executable_extensions; do
24587 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24588 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24590 break 2
24591 fi
24592 done
24593 done
24594
24595 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24596 ;;
24597 esac
24598 fi
24599 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24600
24601 if test -n "$PKG_CONFIG"; then
24602 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24603 echo "${ECHO_T}$PKG_CONFIG" >&6
24604 else
24605 echo "$as_me:$LINENO: result: no" >&5
24606 echo "${ECHO_T}no" >&6
24607 fi
24608
24609 fi
24610
24611 if test "$PKG_CONFIG" = "no" ; then
24612 echo "*** The pkg-config script could not be found. Make sure it is"
24613 echo "*** in your path, or set the PKG_CONFIG environment variable"
24614 echo "*** to the full path to pkg-config."
24615 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24616 else
24617 PKG_CONFIG_MIN_VERSION=0.9.0
24618 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24619 echo "$as_me:$LINENO: checking for pangox" >&5
24620 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
24621
24622 if $PKG_CONFIG --exists "pangox" ; then
24623 echo "$as_me:$LINENO: result: yes" >&5
24624 echo "${ECHO_T}yes" >&6
24625 succeeded=yes
24626
24627 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
24628 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
24629 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
24630 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
24631 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
24632
24633 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
24634 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
24635 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
24636 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
24637 echo "${ECHO_T}$PANGOX_LIBS" >&6
24638 else
24639 PANGOX_CFLAGS=""
24640 PANGOX_LIBS=""
24641 ## If we have a custom action on failure, don't print errors, but
24642 ## do set a variable so people can do so.
24643 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
24644
24645 fi
24646
24647
24648
24649 else
24650 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24651 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24652 fi
24653 fi
24654
24655 if test $succeeded = yes; then
24656
24657 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
24658 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
24659
24660 else
24661
24662 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
24663 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
24664 { (exit 1); exit 1; }; }
24665
24666
24667 fi
24668
24669
24670 succeeded=no
24671
24672 if test -z "$PKG_CONFIG"; then
24673 # Extract the first word of "pkg-config", so it can be a program name with args.
24674 set dummy pkg-config; ac_word=$2
24675 echo "$as_me:$LINENO: checking for $ac_word" >&5
24676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24677 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24678 echo $ECHO_N "(cached) $ECHO_C" >&6
24679 else
24680 case $PKG_CONFIG in
24681 [\\/]* | ?:[\\/]*)
24682 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24683 ;;
24684 *)
24685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24686 for as_dir in $PATH
24687 do
24688 IFS=$as_save_IFS
24689 test -z "$as_dir" && as_dir=.
24690 for ac_exec_ext in '' $ac_executable_extensions; do
24691 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24692 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24694 break 2
24695 fi
24696 done
24697 done
24698
24699 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24700 ;;
24701 esac
24702 fi
24703 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24704
24705 if test -n "$PKG_CONFIG"; then
24706 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24707 echo "${ECHO_T}$PKG_CONFIG" >&6
24708 else
24709 echo "$as_me:$LINENO: result: no" >&5
24710 echo "${ECHO_T}no" >&6
24711 fi
24712
24713 fi
24714
24715 if test "$PKG_CONFIG" = "no" ; then
24716 echo "*** The pkg-config script could not be found. Make sure it is"
24717 echo "*** in your path, or set the PKG_CONFIG environment variable"
24718 echo "*** to the full path to pkg-config."
24719 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24720 else
24721 PKG_CONFIG_MIN_VERSION=0.9.0
24722 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24723 echo "$as_me:$LINENO: checking for pangoft2" >&5
24724 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
24725
24726 if $PKG_CONFIG --exists "pangoft2" ; then
24727 echo "$as_me:$LINENO: result: yes" >&5
24728 echo "${ECHO_T}yes" >&6
24729 succeeded=yes
24730
24731 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
24732 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
24733 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
24734 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
24735 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
24736
24737 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
24738 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
24739 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
24740 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
24741 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
24742 else
24743 PANGOFT2_CFLAGS=""
24744 PANGOFT2_LIBS=""
24745 ## If we have a custom action on failure, don't print errors, but
24746 ## do set a variable so people can do so.
24747 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
24748
24749 fi
24750
24751
24752
24753 else
24754 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24755 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24756 fi
24757 fi
24758
24759 if test $succeeded = yes; then
24760
24761 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
24762 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
24763
24764 else
24765
24766 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
24767 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
24768 wxUSE_PRINTING_ARCHITECTURE="no"
24769
24770
24771 fi
24772
24773
24774 succeeded=no
24775
24776 if test -z "$PKG_CONFIG"; then
24777 # Extract the first word of "pkg-config", so it can be a program name with args.
24778 set dummy pkg-config; ac_word=$2
24779 echo "$as_me:$LINENO: checking for $ac_word" >&5
24780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24781 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24782 echo $ECHO_N "(cached) $ECHO_C" >&6
24783 else
24784 case $PKG_CONFIG in
24785 [\\/]* | ?:[\\/]*)
24786 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24787 ;;
24788 *)
24789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24790 for as_dir in $PATH
24791 do
24792 IFS=$as_save_IFS
24793 test -z "$as_dir" && as_dir=.
24794 for ac_exec_ext in '' $ac_executable_extensions; do
24795 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24796 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24798 break 2
24799 fi
24800 done
24801 done
24802
24803 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24804 ;;
24805 esac
24806 fi
24807 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24808
24809 if test -n "$PKG_CONFIG"; then
24810 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24811 echo "${ECHO_T}$PKG_CONFIG" >&6
24812 else
24813 echo "$as_me:$LINENO: result: no" >&5
24814 echo "${ECHO_T}no" >&6
24815 fi
24816
24817 fi
24818
24819 if test "$PKG_CONFIG" = "no" ; then
24820 echo "*** The pkg-config script could not be found. Make sure it is"
24821 echo "*** in your path, or set the PKG_CONFIG environment variable"
24822 echo "*** to the full path to pkg-config."
24823 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24824 else
24825 PKG_CONFIG_MIN_VERSION=0.9.0
24826 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24827 echo "$as_me:$LINENO: checking for pangoxft" >&5
24828 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
24829
24830 if $PKG_CONFIG --exists "pangoxft" ; then
24831 echo "$as_me:$LINENO: result: yes" >&5
24832 echo "${ECHO_T}yes" >&6
24833 succeeded=yes
24834
24835 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
24836 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
24837 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
24838 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
24839 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
24840
24841 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
24842 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
24843 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
24844 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
24845 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
24846 else
24847 PANGOXFT_CFLAGS=""
24848 PANGOXFT_LIBS=""
24849 ## If we have a custom action on failure, don't print errors, but
24850 ## do set a variable so people can do so.
24851 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
24852
24853 fi
24854
24855
24856
24857 else
24858 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24859 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24860 fi
24861 fi
24862
24863 if test $succeeded = yes; then
24864
24865 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
24866 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
24867
24868 else
24869
24870 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
24871 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
24872
24873
24874 fi
24875
24876 fi
24877
24878 wxUSE_UNIVERSAL="yes"
24879
24880 if test "$wxUSE_NANOX" = "yes"; then
24881 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
24882 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"
24883 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
24884 else
24885 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
24886 fi
24887
24888 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
24889 TOOLKIT=X11
24890 GUIDIST=X11_DIST
24891 fi
24892
24893 if test "$wxUSE_MOTIF" = 1; then
24894 if test "$no_x" = yes; then
24895 # Not all programs may use this symbol, but it does not hurt to define it.
24896
24897 cat >>confdefs.h <<\_ACEOF
24898 #define X_DISPLAY_MISSING 1
24899 _ACEOF
24900
24901 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24902 else
24903 if test -n "$x_includes"; then
24904 X_CFLAGS="$X_CFLAGS -I$x_includes"
24905 fi
24906
24907 # It would also be nice to do this for all -L options, not just this one.
24908 if test -n "$x_libraries"; then
24909 X_LIBS="$X_LIBS -L$x_libraries"
24910 # For Solaris; some versions of Sun CC require a space after -R and
24911 # others require no space. Words are not sufficient . . . .
24912 case `(uname -sr) 2>/dev/null` in
24913 "SunOS 5"*)
24914 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24915 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24916 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24917 cat >conftest.$ac_ext <<_ACEOF
24918 /* confdefs.h. */
24919 _ACEOF
24920 cat confdefs.h >>conftest.$ac_ext
24921 cat >>conftest.$ac_ext <<_ACEOF
24922 /* end confdefs.h. */
24923
24924 int
24925 main ()
24926 {
24927
24928 ;
24929 return 0;
24930 }
24931 _ACEOF
24932 rm -f conftest.$ac_objext conftest$ac_exeext
24933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24934 (eval $ac_link) 2>conftest.er1
24935 ac_status=$?
24936 grep -v '^ *+' conftest.er1 >conftest.err
24937 rm -f conftest.er1
24938 cat conftest.err >&5
24939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24940 (exit $ac_status); } &&
24941 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24943 (eval $ac_try) 2>&5
24944 ac_status=$?
24945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24946 (exit $ac_status); }; } &&
24947 { ac_try='test -s conftest$ac_exeext'
24948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24949 (eval $ac_try) 2>&5
24950 ac_status=$?
24951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24952 (exit $ac_status); }; }; then
24953 ac_R_nospace=yes
24954 else
24955 echo "$as_me: failed program was:" >&5
24956 sed 's/^/| /' conftest.$ac_ext >&5
24957
24958 ac_R_nospace=no
24959 fi
24960 rm -f conftest.err conftest.$ac_objext \
24961 conftest$ac_exeext conftest.$ac_ext
24962 if test $ac_R_nospace = yes; then
24963 echo "$as_me:$LINENO: result: no" >&5
24964 echo "${ECHO_T}no" >&6
24965 X_LIBS="$X_LIBS -R$x_libraries"
24966 else
24967 LIBS="$ac_xsave_LIBS -R $x_libraries"
24968 cat >conftest.$ac_ext <<_ACEOF
24969 /* confdefs.h. */
24970 _ACEOF
24971 cat confdefs.h >>conftest.$ac_ext
24972 cat >>conftest.$ac_ext <<_ACEOF
24973 /* end confdefs.h. */
24974
24975 int
24976 main ()
24977 {
24978
24979 ;
24980 return 0;
24981 }
24982 _ACEOF
24983 rm -f conftest.$ac_objext conftest$ac_exeext
24984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24985 (eval $ac_link) 2>conftest.er1
24986 ac_status=$?
24987 grep -v '^ *+' conftest.er1 >conftest.err
24988 rm -f conftest.er1
24989 cat conftest.err >&5
24990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24991 (exit $ac_status); } &&
24992 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24994 (eval $ac_try) 2>&5
24995 ac_status=$?
24996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24997 (exit $ac_status); }; } &&
24998 { ac_try='test -s conftest$ac_exeext'
24999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25000 (eval $ac_try) 2>&5
25001 ac_status=$?
25002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25003 (exit $ac_status); }; }; then
25004 ac_R_space=yes
25005 else
25006 echo "$as_me: failed program was:" >&5
25007 sed 's/^/| /' conftest.$ac_ext >&5
25008
25009 ac_R_space=no
25010 fi
25011 rm -f conftest.err conftest.$ac_objext \
25012 conftest$ac_exeext conftest.$ac_ext
25013 if test $ac_R_space = yes; then
25014 echo "$as_me:$LINENO: result: yes" >&5
25015 echo "${ECHO_T}yes" >&6
25016 X_LIBS="$X_LIBS -R $x_libraries"
25017 else
25018 echo "$as_me:$LINENO: result: neither works" >&5
25019 echo "${ECHO_T}neither works" >&6
25020 fi
25021 fi
25022 LIBS=$ac_xsave_LIBS
25023 esac
25024 fi
25025
25026 # Check for system-dependent libraries X programs must link with.
25027 # Do this before checking for the system-independent R6 libraries
25028 # (-lICE), since we may need -lsocket or whatever for X linking.
25029
25030 if test "$ISC" = yes; then
25031 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25032 else
25033 # Martyn Johnson says this is needed for Ultrix, if the X
25034 # libraries were built with DECnet support. And Karl Berry says
25035 # the Alpha needs dnet_stub (dnet does not exist).
25036 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25037 cat >conftest.$ac_ext <<_ACEOF
25038 /* confdefs.h. */
25039 _ACEOF
25040 cat confdefs.h >>conftest.$ac_ext
25041 cat >>conftest.$ac_ext <<_ACEOF
25042 /* end confdefs.h. */
25043
25044 /* Override any gcc2 internal prototype to avoid an error. */
25045 #ifdef __cplusplus
25046 extern "C"
25047 #endif
25048 /* We use char because int might match the return type of a gcc2
25049 builtin and then its argument prototype would still apply. */
25050 char XOpenDisplay ();
25051 int
25052 main ()
25053 {
25054 XOpenDisplay ();
25055 ;
25056 return 0;
25057 }
25058 _ACEOF
25059 rm -f conftest.$ac_objext conftest$ac_exeext
25060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25061 (eval $ac_link) 2>conftest.er1
25062 ac_status=$?
25063 grep -v '^ *+' conftest.er1 >conftest.err
25064 rm -f conftest.er1
25065 cat conftest.err >&5
25066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25067 (exit $ac_status); } &&
25068 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25070 (eval $ac_try) 2>&5
25071 ac_status=$?
25072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25073 (exit $ac_status); }; } &&
25074 { ac_try='test -s conftest$ac_exeext'
25075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25076 (eval $ac_try) 2>&5
25077 ac_status=$?
25078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25079 (exit $ac_status); }; }; then
25080 :
25081 else
25082 echo "$as_me: failed program was:" >&5
25083 sed 's/^/| /' conftest.$ac_ext >&5
25084
25085 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
25086 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
25087 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
25088 echo $ECHO_N "(cached) $ECHO_C" >&6
25089 else
25090 ac_check_lib_save_LIBS=$LIBS
25091 LIBS="-ldnet $LIBS"
25092 cat >conftest.$ac_ext <<_ACEOF
25093 /* confdefs.h. */
25094 _ACEOF
25095 cat confdefs.h >>conftest.$ac_ext
25096 cat >>conftest.$ac_ext <<_ACEOF
25097 /* end confdefs.h. */
25098
25099 /* Override any gcc2 internal prototype to avoid an error. */
25100 #ifdef __cplusplus
25101 extern "C"
25102 #endif
25103 /* We use char because int might match the return type of a gcc2
25104 builtin and then its argument prototype would still apply. */
25105 char dnet_ntoa ();
25106 int
25107 main ()
25108 {
25109 dnet_ntoa ();
25110 ;
25111 return 0;
25112 }
25113 _ACEOF
25114 rm -f conftest.$ac_objext conftest$ac_exeext
25115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25116 (eval $ac_link) 2>conftest.er1
25117 ac_status=$?
25118 grep -v '^ *+' conftest.er1 >conftest.err
25119 rm -f conftest.er1
25120 cat conftest.err >&5
25121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25122 (exit $ac_status); } &&
25123 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25125 (eval $ac_try) 2>&5
25126 ac_status=$?
25127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25128 (exit $ac_status); }; } &&
25129 { ac_try='test -s conftest$ac_exeext'
25130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25131 (eval $ac_try) 2>&5
25132 ac_status=$?
25133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25134 (exit $ac_status); }; }; then
25135 ac_cv_lib_dnet_dnet_ntoa=yes
25136 else
25137 echo "$as_me: failed program was:" >&5
25138 sed 's/^/| /' conftest.$ac_ext >&5
25139
25140 ac_cv_lib_dnet_dnet_ntoa=no
25141 fi
25142 rm -f conftest.err conftest.$ac_objext \
25143 conftest$ac_exeext conftest.$ac_ext
25144 LIBS=$ac_check_lib_save_LIBS
25145 fi
25146 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25147 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
25148 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
25149 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25150 fi
25151
25152 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25153 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
25154 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
25155 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
25156 echo $ECHO_N "(cached) $ECHO_C" >&6
25157 else
25158 ac_check_lib_save_LIBS=$LIBS
25159 LIBS="-ldnet_stub $LIBS"
25160 cat >conftest.$ac_ext <<_ACEOF
25161 /* confdefs.h. */
25162 _ACEOF
25163 cat confdefs.h >>conftest.$ac_ext
25164 cat >>conftest.$ac_ext <<_ACEOF
25165 /* end confdefs.h. */
25166
25167 /* Override any gcc2 internal prototype to avoid an error. */
25168 #ifdef __cplusplus
25169 extern "C"
25170 #endif
25171 /* We use char because int might match the return type of a gcc2
25172 builtin and then its argument prototype would still apply. */
25173 char dnet_ntoa ();
25174 int
25175 main ()
25176 {
25177 dnet_ntoa ();
25178 ;
25179 return 0;
25180 }
25181 _ACEOF
25182 rm -f conftest.$ac_objext conftest$ac_exeext
25183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25184 (eval $ac_link) 2>conftest.er1
25185 ac_status=$?
25186 grep -v '^ *+' conftest.er1 >conftest.err
25187 rm -f conftest.er1
25188 cat conftest.err >&5
25189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25190 (exit $ac_status); } &&
25191 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25193 (eval $ac_try) 2>&5
25194 ac_status=$?
25195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25196 (exit $ac_status); }; } &&
25197 { ac_try='test -s conftest$ac_exeext'
25198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25199 (eval $ac_try) 2>&5
25200 ac_status=$?
25201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25202 (exit $ac_status); }; }; then
25203 ac_cv_lib_dnet_stub_dnet_ntoa=yes
25204 else
25205 echo "$as_me: failed program was:" >&5
25206 sed 's/^/| /' conftest.$ac_ext >&5
25207
25208 ac_cv_lib_dnet_stub_dnet_ntoa=no
25209 fi
25210 rm -f conftest.err conftest.$ac_objext \
25211 conftest$ac_exeext conftest.$ac_ext
25212 LIBS=$ac_check_lib_save_LIBS
25213 fi
25214 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25215 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
25216 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
25217 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25218 fi
25219
25220 fi
25221 fi
25222 rm -f conftest.err conftest.$ac_objext \
25223 conftest$ac_exeext conftest.$ac_ext
25224 LIBS="$ac_xsave_LIBS"
25225
25226 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25227 # to get the SysV transport functions.
25228 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25229 # needs -lnsl.
25230 # The nsl library prevents programs from opening the X display
25231 # on Irix 5.2, according to T.E. Dickey.
25232 # The functions gethostbyname, getservbyname, and inet_addr are
25233 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25234 echo "$as_me:$LINENO: checking for gethostbyname" >&5
25235 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
25236 if test "${ac_cv_func_gethostbyname+set}" = set; then
25237 echo $ECHO_N "(cached) $ECHO_C" >&6
25238 else
25239 cat >conftest.$ac_ext <<_ACEOF
25240 /* confdefs.h. */
25241 _ACEOF
25242 cat confdefs.h >>conftest.$ac_ext
25243 cat >>conftest.$ac_ext <<_ACEOF
25244 /* end confdefs.h. */
25245 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
25246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25247 #define gethostbyname innocuous_gethostbyname
25248
25249 /* System header to define __stub macros and hopefully few prototypes,
25250 which can conflict with char gethostbyname (); below.
25251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25252 <limits.h> exists even on freestanding compilers. */
25253
25254 #ifdef __STDC__
25255 # include <limits.h>
25256 #else
25257 # include <assert.h>
25258 #endif
25259
25260 #undef gethostbyname
25261
25262 /* Override any gcc2 internal prototype to avoid an error. */
25263 #ifdef __cplusplus
25264 extern "C"
25265 {
25266 #endif
25267 /* We use char because int might match the return type of a gcc2
25268 builtin and then its argument prototype would still apply. */
25269 char gethostbyname ();
25270 /* The GNU C library defines this for functions which it implements
25271 to always fail with ENOSYS. Some functions are actually named
25272 something starting with __ and the normal name is an alias. */
25273 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
25274 choke me
25275 #else
25276 char (*f) () = gethostbyname;
25277 #endif
25278 #ifdef __cplusplus
25279 }
25280 #endif
25281
25282 int
25283 main ()
25284 {
25285 return f != gethostbyname;
25286 ;
25287 return 0;
25288 }
25289 _ACEOF
25290 rm -f conftest.$ac_objext conftest$ac_exeext
25291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25292 (eval $ac_link) 2>conftest.er1
25293 ac_status=$?
25294 grep -v '^ *+' conftest.er1 >conftest.err
25295 rm -f conftest.er1
25296 cat conftest.err >&5
25297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25298 (exit $ac_status); } &&
25299 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25301 (eval $ac_try) 2>&5
25302 ac_status=$?
25303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25304 (exit $ac_status); }; } &&
25305 { ac_try='test -s conftest$ac_exeext'
25306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25307 (eval $ac_try) 2>&5
25308 ac_status=$?
25309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25310 (exit $ac_status); }; }; then
25311 ac_cv_func_gethostbyname=yes
25312 else
25313 echo "$as_me: failed program was:" >&5
25314 sed 's/^/| /' conftest.$ac_ext >&5
25315
25316 ac_cv_func_gethostbyname=no
25317 fi
25318 rm -f conftest.err conftest.$ac_objext \
25319 conftest$ac_exeext conftest.$ac_ext
25320 fi
25321 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
25322 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
25323
25324 if test $ac_cv_func_gethostbyname = no; then
25325 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
25326 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
25327 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
25328 echo $ECHO_N "(cached) $ECHO_C" >&6
25329 else
25330 ac_check_lib_save_LIBS=$LIBS
25331 LIBS="-lnsl $LIBS"
25332 cat >conftest.$ac_ext <<_ACEOF
25333 /* confdefs.h. */
25334 _ACEOF
25335 cat confdefs.h >>conftest.$ac_ext
25336 cat >>conftest.$ac_ext <<_ACEOF
25337 /* end confdefs.h. */
25338
25339 /* Override any gcc2 internal prototype to avoid an error. */
25340 #ifdef __cplusplus
25341 extern "C"
25342 #endif
25343 /* We use char because int might match the return type of a gcc2
25344 builtin and then its argument prototype would still apply. */
25345 char gethostbyname ();
25346 int
25347 main ()
25348 {
25349 gethostbyname ();
25350 ;
25351 return 0;
25352 }
25353 _ACEOF
25354 rm -f conftest.$ac_objext conftest$ac_exeext
25355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25356 (eval $ac_link) 2>conftest.er1
25357 ac_status=$?
25358 grep -v '^ *+' conftest.er1 >conftest.err
25359 rm -f conftest.er1
25360 cat conftest.err >&5
25361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25362 (exit $ac_status); } &&
25363 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25365 (eval $ac_try) 2>&5
25366 ac_status=$?
25367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25368 (exit $ac_status); }; } &&
25369 { ac_try='test -s conftest$ac_exeext'
25370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25371 (eval $ac_try) 2>&5
25372 ac_status=$?
25373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25374 (exit $ac_status); }; }; then
25375 ac_cv_lib_nsl_gethostbyname=yes
25376 else
25377 echo "$as_me: failed program was:" >&5
25378 sed 's/^/| /' conftest.$ac_ext >&5
25379
25380 ac_cv_lib_nsl_gethostbyname=no
25381 fi
25382 rm -f conftest.err conftest.$ac_objext \
25383 conftest$ac_exeext conftest.$ac_ext
25384 LIBS=$ac_check_lib_save_LIBS
25385 fi
25386 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
25387 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
25388 if test $ac_cv_lib_nsl_gethostbyname = yes; then
25389 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25390 fi
25391
25392 if test $ac_cv_lib_nsl_gethostbyname = no; then
25393 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25394 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
25395 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25396 echo $ECHO_N "(cached) $ECHO_C" >&6
25397 else
25398 ac_check_lib_save_LIBS=$LIBS
25399 LIBS="-lbsd $LIBS"
25400 cat >conftest.$ac_ext <<_ACEOF
25401 /* confdefs.h. */
25402 _ACEOF
25403 cat confdefs.h >>conftest.$ac_ext
25404 cat >>conftest.$ac_ext <<_ACEOF
25405 /* end confdefs.h. */
25406
25407 /* Override any gcc2 internal prototype to avoid an error. */
25408 #ifdef __cplusplus
25409 extern "C"
25410 #endif
25411 /* We use char because int might match the return type of a gcc2
25412 builtin and then its argument prototype would still apply. */
25413 char gethostbyname ();
25414 int
25415 main ()
25416 {
25417 gethostbyname ();
25418 ;
25419 return 0;
25420 }
25421 _ACEOF
25422 rm -f conftest.$ac_objext conftest$ac_exeext
25423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25424 (eval $ac_link) 2>conftest.er1
25425 ac_status=$?
25426 grep -v '^ *+' conftest.er1 >conftest.err
25427 rm -f conftest.er1
25428 cat conftest.err >&5
25429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25430 (exit $ac_status); } &&
25431 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25433 (eval $ac_try) 2>&5
25434 ac_status=$?
25435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25436 (exit $ac_status); }; } &&
25437 { ac_try='test -s conftest$ac_exeext'
25438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25439 (eval $ac_try) 2>&5
25440 ac_status=$?
25441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25442 (exit $ac_status); }; }; then
25443 ac_cv_lib_bsd_gethostbyname=yes
25444 else
25445 echo "$as_me: failed program was:" >&5
25446 sed 's/^/| /' conftest.$ac_ext >&5
25447
25448 ac_cv_lib_bsd_gethostbyname=no
25449 fi
25450 rm -f conftest.err conftest.$ac_objext \
25451 conftest$ac_exeext conftest.$ac_ext
25452 LIBS=$ac_check_lib_save_LIBS
25453 fi
25454 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25455 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
25456 if test $ac_cv_lib_bsd_gethostbyname = yes; then
25457 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25458 fi
25459
25460 fi
25461 fi
25462
25463 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25464 # socket/setsockopt and other routines are undefined under SCO ODT
25465 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25466 # on later versions), says Simon Leinen: it contains gethostby*
25467 # variants that don't use the name server (or something). -lsocket
25468 # must be given before -lnsl if both are needed. We assume that
25469 # if connect needs -lnsl, so does gethostbyname.
25470 echo "$as_me:$LINENO: checking for connect" >&5
25471 echo $ECHO_N "checking for connect... $ECHO_C" >&6
25472 if test "${ac_cv_func_connect+set}" = set; then
25473 echo $ECHO_N "(cached) $ECHO_C" >&6
25474 else
25475 cat >conftest.$ac_ext <<_ACEOF
25476 /* confdefs.h. */
25477 _ACEOF
25478 cat confdefs.h >>conftest.$ac_ext
25479 cat >>conftest.$ac_ext <<_ACEOF
25480 /* end confdefs.h. */
25481 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
25482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25483 #define connect innocuous_connect
25484
25485 /* System header to define __stub macros and hopefully few prototypes,
25486 which can conflict with char connect (); below.
25487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25488 <limits.h> exists even on freestanding compilers. */
25489
25490 #ifdef __STDC__
25491 # include <limits.h>
25492 #else
25493 # include <assert.h>
25494 #endif
25495
25496 #undef connect
25497
25498 /* Override any gcc2 internal prototype to avoid an error. */
25499 #ifdef __cplusplus
25500 extern "C"
25501 {
25502 #endif
25503 /* We use char because int might match the return type of a gcc2
25504 builtin and then its argument prototype would still apply. */
25505 char connect ();
25506 /* The GNU C library defines this for functions which it implements
25507 to always fail with ENOSYS. Some functions are actually named
25508 something starting with __ and the normal name is an alias. */
25509 #if defined (__stub_connect) || defined (__stub___connect)
25510 choke me
25511 #else
25512 char (*f) () = connect;
25513 #endif
25514 #ifdef __cplusplus
25515 }
25516 #endif
25517
25518 int
25519 main ()
25520 {
25521 return f != connect;
25522 ;
25523 return 0;
25524 }
25525 _ACEOF
25526 rm -f conftest.$ac_objext conftest$ac_exeext
25527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25528 (eval $ac_link) 2>conftest.er1
25529 ac_status=$?
25530 grep -v '^ *+' conftest.er1 >conftest.err
25531 rm -f conftest.er1
25532 cat conftest.err >&5
25533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25534 (exit $ac_status); } &&
25535 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25537 (eval $ac_try) 2>&5
25538 ac_status=$?
25539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25540 (exit $ac_status); }; } &&
25541 { ac_try='test -s conftest$ac_exeext'
25542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25543 (eval $ac_try) 2>&5
25544 ac_status=$?
25545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25546 (exit $ac_status); }; }; then
25547 ac_cv_func_connect=yes
25548 else
25549 echo "$as_me: failed program was:" >&5
25550 sed 's/^/| /' conftest.$ac_ext >&5
25551
25552 ac_cv_func_connect=no
25553 fi
25554 rm -f conftest.err conftest.$ac_objext \
25555 conftest$ac_exeext conftest.$ac_ext
25556 fi
25557 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25558 echo "${ECHO_T}$ac_cv_func_connect" >&6
25559
25560 if test $ac_cv_func_connect = no; then
25561 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25562 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25563 if test "${ac_cv_lib_socket_connect+set}" = set; then
25564 echo $ECHO_N "(cached) $ECHO_C" >&6
25565 else
25566 ac_check_lib_save_LIBS=$LIBS
25567 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25568 cat >conftest.$ac_ext <<_ACEOF
25569 /* confdefs.h. */
25570 _ACEOF
25571 cat confdefs.h >>conftest.$ac_ext
25572 cat >>conftest.$ac_ext <<_ACEOF
25573 /* end confdefs.h. */
25574
25575 /* Override any gcc2 internal prototype to avoid an error. */
25576 #ifdef __cplusplus
25577 extern "C"
25578 #endif
25579 /* We use char because int might match the return type of a gcc2
25580 builtin and then its argument prototype would still apply. */
25581 char connect ();
25582 int
25583 main ()
25584 {
25585 connect ();
25586 ;
25587 return 0;
25588 }
25589 _ACEOF
25590 rm -f conftest.$ac_objext conftest$ac_exeext
25591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25592 (eval $ac_link) 2>conftest.er1
25593 ac_status=$?
25594 grep -v '^ *+' conftest.er1 >conftest.err
25595 rm -f conftest.er1
25596 cat conftest.err >&5
25597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25598 (exit $ac_status); } &&
25599 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25601 (eval $ac_try) 2>&5
25602 ac_status=$?
25603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25604 (exit $ac_status); }; } &&
25605 { ac_try='test -s conftest$ac_exeext'
25606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25607 (eval $ac_try) 2>&5
25608 ac_status=$?
25609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25610 (exit $ac_status); }; }; then
25611 ac_cv_lib_socket_connect=yes
25612 else
25613 echo "$as_me: failed program was:" >&5
25614 sed 's/^/| /' conftest.$ac_ext >&5
25615
25616 ac_cv_lib_socket_connect=no
25617 fi
25618 rm -f conftest.err conftest.$ac_objext \
25619 conftest$ac_exeext conftest.$ac_ext
25620 LIBS=$ac_check_lib_save_LIBS
25621 fi
25622 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25623 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25624 if test $ac_cv_lib_socket_connect = yes; then
25625 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25626 fi
25627
25628 fi
25629
25630 # Guillermo Gomez says -lposix is necessary on A/UX.
25631 echo "$as_me:$LINENO: checking for remove" >&5
25632 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25633 if test "${ac_cv_func_remove+set}" = set; then
25634 echo $ECHO_N "(cached) $ECHO_C" >&6
25635 else
25636 cat >conftest.$ac_ext <<_ACEOF
25637 /* confdefs.h. */
25638 _ACEOF
25639 cat confdefs.h >>conftest.$ac_ext
25640 cat >>conftest.$ac_ext <<_ACEOF
25641 /* end confdefs.h. */
25642 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25644 #define remove innocuous_remove
25645
25646 /* System header to define __stub macros and hopefully few prototypes,
25647 which can conflict with char remove (); below.
25648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25649 <limits.h> exists even on freestanding compilers. */
25650
25651 #ifdef __STDC__
25652 # include <limits.h>
25653 #else
25654 # include <assert.h>
25655 #endif
25656
25657 #undef remove
25658
25659 /* Override any gcc2 internal prototype to avoid an error. */
25660 #ifdef __cplusplus
25661 extern "C"
25662 {
25663 #endif
25664 /* We use char because int might match the return type of a gcc2
25665 builtin and then its argument prototype would still apply. */
25666 char remove ();
25667 /* The GNU C library defines this for functions which it implements
25668 to always fail with ENOSYS. Some functions are actually named
25669 something starting with __ and the normal name is an alias. */
25670 #if defined (__stub_remove) || defined (__stub___remove)
25671 choke me
25672 #else
25673 char (*f) () = remove;
25674 #endif
25675 #ifdef __cplusplus
25676 }
25677 #endif
25678
25679 int
25680 main ()
25681 {
25682 return f != remove;
25683 ;
25684 return 0;
25685 }
25686 _ACEOF
25687 rm -f conftest.$ac_objext conftest$ac_exeext
25688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25689 (eval $ac_link) 2>conftest.er1
25690 ac_status=$?
25691 grep -v '^ *+' conftest.er1 >conftest.err
25692 rm -f conftest.er1
25693 cat conftest.err >&5
25694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25695 (exit $ac_status); } &&
25696 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25698 (eval $ac_try) 2>&5
25699 ac_status=$?
25700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25701 (exit $ac_status); }; } &&
25702 { ac_try='test -s conftest$ac_exeext'
25703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25704 (eval $ac_try) 2>&5
25705 ac_status=$?
25706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25707 (exit $ac_status); }; }; then
25708 ac_cv_func_remove=yes
25709 else
25710 echo "$as_me: failed program was:" >&5
25711 sed 's/^/| /' conftest.$ac_ext >&5
25712
25713 ac_cv_func_remove=no
25714 fi
25715 rm -f conftest.err conftest.$ac_objext \
25716 conftest$ac_exeext conftest.$ac_ext
25717 fi
25718 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25719 echo "${ECHO_T}$ac_cv_func_remove" >&6
25720
25721 if test $ac_cv_func_remove = no; then
25722 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25723 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25724 if test "${ac_cv_lib_posix_remove+set}" = set; then
25725 echo $ECHO_N "(cached) $ECHO_C" >&6
25726 else
25727 ac_check_lib_save_LIBS=$LIBS
25728 LIBS="-lposix $LIBS"
25729 cat >conftest.$ac_ext <<_ACEOF
25730 /* confdefs.h. */
25731 _ACEOF
25732 cat confdefs.h >>conftest.$ac_ext
25733 cat >>conftest.$ac_ext <<_ACEOF
25734 /* end confdefs.h. */
25735
25736 /* Override any gcc2 internal prototype to avoid an error. */
25737 #ifdef __cplusplus
25738 extern "C"
25739 #endif
25740 /* We use char because int might match the return type of a gcc2
25741 builtin and then its argument prototype would still apply. */
25742 char remove ();
25743 int
25744 main ()
25745 {
25746 remove ();
25747 ;
25748 return 0;
25749 }
25750 _ACEOF
25751 rm -f conftest.$ac_objext conftest$ac_exeext
25752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25753 (eval $ac_link) 2>conftest.er1
25754 ac_status=$?
25755 grep -v '^ *+' conftest.er1 >conftest.err
25756 rm -f conftest.er1
25757 cat conftest.err >&5
25758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25759 (exit $ac_status); } &&
25760 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25762 (eval $ac_try) 2>&5
25763 ac_status=$?
25764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25765 (exit $ac_status); }; } &&
25766 { ac_try='test -s conftest$ac_exeext'
25767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25768 (eval $ac_try) 2>&5
25769 ac_status=$?
25770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25771 (exit $ac_status); }; }; then
25772 ac_cv_lib_posix_remove=yes
25773 else
25774 echo "$as_me: failed program was:" >&5
25775 sed 's/^/| /' conftest.$ac_ext >&5
25776
25777 ac_cv_lib_posix_remove=no
25778 fi
25779 rm -f conftest.err conftest.$ac_objext \
25780 conftest$ac_exeext conftest.$ac_ext
25781 LIBS=$ac_check_lib_save_LIBS
25782 fi
25783 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25784 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25785 if test $ac_cv_lib_posix_remove = yes; then
25786 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25787 fi
25788
25789 fi
25790
25791 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25792 echo "$as_me:$LINENO: checking for shmat" >&5
25793 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25794 if test "${ac_cv_func_shmat+set}" = set; then
25795 echo $ECHO_N "(cached) $ECHO_C" >&6
25796 else
25797 cat >conftest.$ac_ext <<_ACEOF
25798 /* confdefs.h. */
25799 _ACEOF
25800 cat confdefs.h >>conftest.$ac_ext
25801 cat >>conftest.$ac_ext <<_ACEOF
25802 /* end confdefs.h. */
25803 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25805 #define shmat innocuous_shmat
25806
25807 /* System header to define __stub macros and hopefully few prototypes,
25808 which can conflict with char shmat (); below.
25809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25810 <limits.h> exists even on freestanding compilers. */
25811
25812 #ifdef __STDC__
25813 # include <limits.h>
25814 #else
25815 # include <assert.h>
25816 #endif
25817
25818 #undef shmat
25819
25820 /* Override any gcc2 internal prototype to avoid an error. */
25821 #ifdef __cplusplus
25822 extern "C"
25823 {
25824 #endif
25825 /* We use char because int might match the return type of a gcc2
25826 builtin and then its argument prototype would still apply. */
25827 char shmat ();
25828 /* The GNU C library defines this for functions which it implements
25829 to always fail with ENOSYS. Some functions are actually named
25830 something starting with __ and the normal name is an alias. */
25831 #if defined (__stub_shmat) || defined (__stub___shmat)
25832 choke me
25833 #else
25834 char (*f) () = shmat;
25835 #endif
25836 #ifdef __cplusplus
25837 }
25838 #endif
25839
25840 int
25841 main ()
25842 {
25843 return f != shmat;
25844 ;
25845 return 0;
25846 }
25847 _ACEOF
25848 rm -f conftest.$ac_objext conftest$ac_exeext
25849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25850 (eval $ac_link) 2>conftest.er1
25851 ac_status=$?
25852 grep -v '^ *+' conftest.er1 >conftest.err
25853 rm -f conftest.er1
25854 cat conftest.err >&5
25855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25856 (exit $ac_status); } &&
25857 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25859 (eval $ac_try) 2>&5
25860 ac_status=$?
25861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25862 (exit $ac_status); }; } &&
25863 { ac_try='test -s conftest$ac_exeext'
25864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25865 (eval $ac_try) 2>&5
25866 ac_status=$?
25867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25868 (exit $ac_status); }; }; then
25869 ac_cv_func_shmat=yes
25870 else
25871 echo "$as_me: failed program was:" >&5
25872 sed 's/^/| /' conftest.$ac_ext >&5
25873
25874 ac_cv_func_shmat=no
25875 fi
25876 rm -f conftest.err conftest.$ac_objext \
25877 conftest$ac_exeext conftest.$ac_ext
25878 fi
25879 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25880 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25881
25882 if test $ac_cv_func_shmat = no; then
25883 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25884 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25885 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25886 echo $ECHO_N "(cached) $ECHO_C" >&6
25887 else
25888 ac_check_lib_save_LIBS=$LIBS
25889 LIBS="-lipc $LIBS"
25890 cat >conftest.$ac_ext <<_ACEOF
25891 /* confdefs.h. */
25892 _ACEOF
25893 cat confdefs.h >>conftest.$ac_ext
25894 cat >>conftest.$ac_ext <<_ACEOF
25895 /* end confdefs.h. */
25896
25897 /* Override any gcc2 internal prototype to avoid an error. */
25898 #ifdef __cplusplus
25899 extern "C"
25900 #endif
25901 /* We use char because int might match the return type of a gcc2
25902 builtin and then its argument prototype would still apply. */
25903 char shmat ();
25904 int
25905 main ()
25906 {
25907 shmat ();
25908 ;
25909 return 0;
25910 }
25911 _ACEOF
25912 rm -f conftest.$ac_objext conftest$ac_exeext
25913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25914 (eval $ac_link) 2>conftest.er1
25915 ac_status=$?
25916 grep -v '^ *+' conftest.er1 >conftest.err
25917 rm -f conftest.er1
25918 cat conftest.err >&5
25919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25920 (exit $ac_status); } &&
25921 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25923 (eval $ac_try) 2>&5
25924 ac_status=$?
25925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25926 (exit $ac_status); }; } &&
25927 { ac_try='test -s conftest$ac_exeext'
25928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25929 (eval $ac_try) 2>&5
25930 ac_status=$?
25931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25932 (exit $ac_status); }; }; then
25933 ac_cv_lib_ipc_shmat=yes
25934 else
25935 echo "$as_me: failed program was:" >&5
25936 sed 's/^/| /' conftest.$ac_ext >&5
25937
25938 ac_cv_lib_ipc_shmat=no
25939 fi
25940 rm -f conftest.err conftest.$ac_objext \
25941 conftest$ac_exeext conftest.$ac_ext
25942 LIBS=$ac_check_lib_save_LIBS
25943 fi
25944 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25945 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25946 if test $ac_cv_lib_ipc_shmat = yes; then
25947 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25948 fi
25949
25950 fi
25951 fi
25952
25953 # Check for libraries that X11R6 Xt/Xaw programs need.
25954 ac_save_LDFLAGS=$LDFLAGS
25955 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25956 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25957 # check for ICE first), but we must link in the order -lSM -lICE or
25958 # we get undefined symbols. So assume we have SM if we have ICE.
25959 # These have to be linked with before -lX11, unlike the other
25960 # libraries we check for below, so use a different variable.
25961 # John Interrante, Karl Berry
25962 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25963 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25964 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25965 echo $ECHO_N "(cached) $ECHO_C" >&6
25966 else
25967 ac_check_lib_save_LIBS=$LIBS
25968 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25969 cat >conftest.$ac_ext <<_ACEOF
25970 /* confdefs.h. */
25971 _ACEOF
25972 cat confdefs.h >>conftest.$ac_ext
25973 cat >>conftest.$ac_ext <<_ACEOF
25974 /* end confdefs.h. */
25975
25976 /* Override any gcc2 internal prototype to avoid an error. */
25977 #ifdef __cplusplus
25978 extern "C"
25979 #endif
25980 /* We use char because int might match the return type of a gcc2
25981 builtin and then its argument prototype would still apply. */
25982 char IceConnectionNumber ();
25983 int
25984 main ()
25985 {
25986 IceConnectionNumber ();
25987 ;
25988 return 0;
25989 }
25990 _ACEOF
25991 rm -f conftest.$ac_objext conftest$ac_exeext
25992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25993 (eval $ac_link) 2>conftest.er1
25994 ac_status=$?
25995 grep -v '^ *+' conftest.er1 >conftest.err
25996 rm -f conftest.er1
25997 cat conftest.err >&5
25998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25999 (exit $ac_status); } &&
26000 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26002 (eval $ac_try) 2>&5
26003 ac_status=$?
26004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26005 (exit $ac_status); }; } &&
26006 { ac_try='test -s conftest$ac_exeext'
26007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26008 (eval $ac_try) 2>&5
26009 ac_status=$?
26010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26011 (exit $ac_status); }; }; then
26012 ac_cv_lib_ICE_IceConnectionNumber=yes
26013 else
26014 echo "$as_me: failed program was:" >&5
26015 sed 's/^/| /' conftest.$ac_ext >&5
26016
26017 ac_cv_lib_ICE_IceConnectionNumber=no
26018 fi
26019 rm -f conftest.err conftest.$ac_objext \
26020 conftest$ac_exeext conftest.$ac_ext
26021 LIBS=$ac_check_lib_save_LIBS
26022 fi
26023 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26024 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
26025 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
26026 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
26027 fi
26028
26029 LDFLAGS=$ac_save_LDFLAGS
26030
26031 fi
26032
26033
26034 if test "$no_x" = "yes"; then
26035 { { echo "$as_me:$LINENO: error: X11 not found" >&5
26036 echo "$as_me: error: X11 not found" >&2;}
26037 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
26038 fi
26039
26040 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
26041 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
26042 AFMINSTALL=afminstall
26043 COMPILED_X_PROGRAM=0
26044
26045 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26046 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
26047
26048 ac_find_includes=
26049 for ac_dir in $SEARCH_INCLUDE /usr/include;
26050 do
26051 if test -f "$ac_dir/Xm/Xm.h"; then
26052 ac_find_includes=$ac_dir
26053 break
26054 fi
26055 done
26056
26057 if test "$ac_find_includes" != "" ; then
26058 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26059 echo "${ECHO_T}found in $ac_find_includes" >&6
26060
26061 if test "x$ac_find_includes" = "x/usr/include"; then
26062 ac_path_to_include=""
26063 else
26064 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
26065 result=$?
26066 if test $result = 0; then
26067 ac_path_to_include=""
26068 else
26069 ac_path_to_include=" -I$ac_find_includes"
26070 fi
26071 fi
26072
26073 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
26074 else
26075 cat >conftest.$ac_ext <<_ACEOF
26076 /* confdefs.h. */
26077 _ACEOF
26078 cat confdefs.h >>conftest.$ac_ext
26079 cat >>conftest.$ac_ext <<_ACEOF
26080 /* end confdefs.h. */
26081
26082 #include <Xm/Xm.h>
26083
26084 int
26085 main ()
26086 {
26087
26088 int version;
26089 version = xmUseVersion;
26090
26091 ;
26092 return 0;
26093 }
26094 _ACEOF
26095 rm -f conftest.$ac_objext
26096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26097 (eval $ac_compile) 2>conftest.er1
26098 ac_status=$?
26099 grep -v '^ *+' conftest.er1 >conftest.err
26100 rm -f conftest.er1
26101 cat conftest.err >&5
26102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26103 (exit $ac_status); } &&
26104 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26106 (eval $ac_try) 2>&5
26107 ac_status=$?
26108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26109 (exit $ac_status); }; } &&
26110 { ac_try='test -s conftest.$ac_objext'
26111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26112 (eval $ac_try) 2>&5
26113 ac_status=$?
26114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26115 (exit $ac_status); }; }; then
26116
26117 echo "$as_me:$LINENO: result: found in default search path" >&5
26118 echo "${ECHO_T}found in default search path" >&6
26119 COMPILED_X_PROGRAM=1
26120
26121 else
26122 echo "$as_me: failed program was:" >&5
26123 sed 's/^/| /' conftest.$ac_ext >&5
26124
26125
26126 echo "$as_me:$LINENO: result: no" >&5
26127 echo "${ECHO_T}no" >&6
26128 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26129 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26130 { (exit 1); exit 1; }; }
26131
26132
26133 fi
26134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26135 fi
26136
26137 if test "$COMPILED_X_PROGRAM" = 0; then
26138 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26139 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26140
26141 ac_find_libraries=
26142 for ac_dir in $SEARCH_LIB /usr/lib;
26143 do
26144 for ac_extension in a so sl dylib; do
26145 if test -f "$ac_dir/libXm.$ac_extension"; then
26146 ac_find_libraries=$ac_dir
26147 break 2
26148 fi
26149 done
26150 done
26151
26152 if test "$ac_find_libraries" != "" ; then
26153 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26154 echo "${ECHO_T}found at $ac_find_libraries" >&6
26155
26156
26157 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26158 result=$?
26159 if test $result = 0; then
26160 ac_path_to_link=""
26161 else
26162 ac_path_to_link=" -L$ac_find_libraries"
26163 fi
26164
26165 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26166 else
26167 save_CFLAGS=$CFLAGS
26168 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26169
26170 cat >conftest.$ac_ext <<_ACEOF
26171 /* confdefs.h. */
26172 _ACEOF
26173 cat confdefs.h >>conftest.$ac_ext
26174 cat >>conftest.$ac_ext <<_ACEOF
26175 /* end confdefs.h. */
26176
26177 #include <Xm/Xm.h>
26178
26179 int
26180 main ()
26181 {
26182
26183 int version;
26184 version = xmUseVersion;
26185
26186 ;
26187 return 0;
26188 }
26189 _ACEOF
26190 rm -f conftest.$ac_objext
26191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26192 (eval $ac_compile) 2>conftest.er1
26193 ac_status=$?
26194 grep -v '^ *+' conftest.er1 >conftest.err
26195 rm -f conftest.er1
26196 cat conftest.err >&5
26197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26198 (exit $ac_status); } &&
26199 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26201 (eval $ac_try) 2>&5
26202 ac_status=$?
26203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26204 (exit $ac_status); }; } &&
26205 { ac_try='test -s conftest.$ac_objext'
26206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26207 (eval $ac_try) 2>&5
26208 ac_status=$?
26209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26210 (exit $ac_status); }; }; then
26211
26212 echo "$as_me:$LINENO: result: found in default search path" >&5
26213 echo "${ECHO_T}found in default search path" >&6
26214 COMPILED_X_PROGRAM=1
26215
26216 else
26217 echo "$as_me: failed program was:" >&5
26218 sed 's/^/| /' conftest.$ac_ext >&5
26219
26220
26221 echo "$as_me:$LINENO: result: no" >&5
26222 echo "${ECHO_T}no" >&6
26223 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26224 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26225 { (exit 1); exit 1; }; }
26226
26227
26228 fi
26229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26230
26231 CFLAGS=$save_CFLAGS
26232 fi
26233 fi
26234
26235 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26236 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26237 libp_link=""
26238 libsm_ice_link=""
26239 libs_found=0
26240 for libp in "" " -lXp"; do
26241 if test "$libs_found" = "0"; then
26242 for libsm_ice in "" " -lSM -lICE"; do
26243 if test "$libs_found" = "0"; then
26244 save_LIBS="$LIBS"
26245 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26246 save_CFLAGS=$CFLAGS
26247 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26248
26249 cat >conftest.$ac_ext <<_ACEOF
26250 /* confdefs.h. */
26251 _ACEOF
26252 cat confdefs.h >>conftest.$ac_ext
26253 cat >>conftest.$ac_ext <<_ACEOF
26254 /* end confdefs.h. */
26255
26256 #include <Xm/Xm.h>
26257 #include <Xm/List.h>
26258
26259 int
26260 main ()
26261 {
26262
26263 XmString string = NULL;
26264 Widget w = NULL;
26265 int position = 0;
26266 XmListAddItem(w, string, position);
26267
26268 ;
26269 return 0;
26270 }
26271 _ACEOF
26272 rm -f conftest.$ac_objext conftest$ac_exeext
26273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26274 (eval $ac_link) 2>conftest.er1
26275 ac_status=$?
26276 grep -v '^ *+' conftest.er1 >conftest.err
26277 rm -f conftest.er1
26278 cat conftest.err >&5
26279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26280 (exit $ac_status); } &&
26281 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26283 (eval $ac_try) 2>&5
26284 ac_status=$?
26285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26286 (exit $ac_status); }; } &&
26287 { ac_try='test -s conftest$ac_exeext'
26288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26289 (eval $ac_try) 2>&5
26290 ac_status=$?
26291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26292 (exit $ac_status); }; }; then
26293
26294 libp_link="$libp"
26295 libsm_ice_link="$libsm_ice"
26296 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26297 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26298 libs_found=1
26299
26300 else
26301 echo "$as_me: failed program was:" >&5
26302 sed 's/^/| /' conftest.$ac_ext >&5
26303
26304
26305
26306 fi
26307 rm -f conftest.err conftest.$ac_objext \
26308 conftest$ac_exeext conftest.$ac_ext
26309
26310 LIBS="$save_LIBS"
26311 CFLAGS=$save_CFLAGS
26312 fi
26313 done
26314 fi
26315 done
26316
26317 if test "$libs_found" = "0"; then
26318 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26319 echo "${ECHO_T}can't find the right libraries" >&6
26320 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26321 echo "$as_me: error: can't link a simple motif program" >&2;}
26322 { (exit 1); exit 1; }; }
26323 fi
26324
26325 save_CFLAGS=$CFLAGS
26326 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26327 echo "$as_me:$LINENO: checking for Motif 2" >&5
26328 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26329 cat >conftest.$ac_ext <<_ACEOF
26330 /* confdefs.h. */
26331 _ACEOF
26332 cat confdefs.h >>conftest.$ac_ext
26333 cat >>conftest.$ac_ext <<_ACEOF
26334 /* end confdefs.h. */
26335
26336 #include <Xm/Xm.h>
26337
26338 int
26339 main ()
26340 {
26341
26342 #if XmVersion < 2000
26343 #error "Not Motif 2"
26344 #endif
26345
26346 ;
26347 return 0;
26348 }
26349 _ACEOF
26350 rm -f conftest.$ac_objext
26351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26352 (eval $ac_compile) 2>conftest.er1
26353 ac_status=$?
26354 grep -v '^ *+' conftest.er1 >conftest.err
26355 rm -f conftest.er1
26356 cat conftest.err >&5
26357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26358 (exit $ac_status); } &&
26359 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26361 (eval $ac_try) 2>&5
26362 ac_status=$?
26363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26364 (exit $ac_status); }; } &&
26365 { ac_try='test -s conftest.$ac_objext'
26366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26367 (eval $ac_try) 2>&5
26368 ac_status=$?
26369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26370 (exit $ac_status); }; }; then
26371
26372 cat >>confdefs.h <<\_ACEOF
26373 #define __WXMOTIF20__ 1
26374 _ACEOF
26375
26376 echo "$as_me:$LINENO: result: found" >&5
26377 echo "${ECHO_T}found" >&6
26378
26379 else
26380 echo "$as_me: failed program was:" >&5
26381 sed 's/^/| /' conftest.$ac_ext >&5
26382
26383
26384 cat >>confdefs.h <<\_ACEOF
26385 #define __WXMOTIF20__ 0
26386 _ACEOF
26387
26388 echo "$as_me:$LINENO: result: not found" >&5
26389 echo "${ECHO_T}not found" >&6
26390
26391 fi
26392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26393 CFLAGS=$save_CFLAGS
26394
26395 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26396 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
26397 TOOLKIT=MOTIF
26398 GUIDIST=MOTIF_DIST
26399 fi
26400
26401 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26402 if test "$wxUSE_LIBXPM" = "sys"; then
26403 echo "$as_me:$LINENO: checking for Xpm library" >&5
26404 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26405
26406 ac_find_libraries=
26407 for ac_dir in $SEARCH_LIB /usr/lib;
26408 do
26409 for ac_extension in a so sl dylib; do
26410 if test -f "$ac_dir/libXpm.$ac_extension"; then
26411 ac_find_libraries=$ac_dir
26412 break 2
26413 fi
26414 done
26415 done
26416
26417 if test "$ac_find_libraries" != "" ; then
26418
26419 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26420 result=$?
26421 if test $result = 0; then
26422 ac_path_to_link=""
26423 else
26424 ac_path_to_link=" -L$ac_find_libraries"
26425 fi
26426
26427 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26428 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26429 echo "${ECHO_T}found at $ac_find_libraries" >&6
26430
26431 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26432 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26433 if test "${wx_cv_x11_xpm_h+set}" = set; then
26434 echo $ECHO_N "(cached) $ECHO_C" >&6
26435 else
26436
26437 save_CFLAGS=$CFLAGS
26438 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26439
26440 cat >conftest.$ac_ext <<_ACEOF
26441 /* confdefs.h. */
26442 _ACEOF
26443 cat confdefs.h >>conftest.$ac_ext
26444 cat >>conftest.$ac_ext <<_ACEOF
26445 /* end confdefs.h. */
26446
26447 #include <X11/xpm.h>
26448
26449 int
26450 main ()
26451 {
26452
26453 int version;
26454 version = XpmLibraryVersion();
26455
26456 ;
26457 return 0;
26458 }
26459 _ACEOF
26460 rm -f conftest.$ac_objext
26461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26462 (eval $ac_compile) 2>conftest.er1
26463 ac_status=$?
26464 grep -v '^ *+' conftest.er1 >conftest.err
26465 rm -f conftest.er1
26466 cat conftest.err >&5
26467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26468 (exit $ac_status); } &&
26469 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26471 (eval $ac_try) 2>&5
26472 ac_status=$?
26473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26474 (exit $ac_status); }; } &&
26475 { ac_try='test -s conftest.$ac_objext'
26476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26477 (eval $ac_try) 2>&5
26478 ac_status=$?
26479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26480 (exit $ac_status); }; }; then
26481 wx_cv_x11_xpm_h=yes
26482 else
26483 echo "$as_me: failed program was:" >&5
26484 sed 's/^/| /' conftest.$ac_ext >&5
26485
26486 wx_cv_x11_xpm_h=no
26487
26488 fi
26489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26490
26491 CFLAGS=$save_CFLAGS
26492
26493
26494 fi
26495 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26496 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26497
26498 if test $wx_cv_x11_xpm_h = "yes"; then
26499 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26500 cat >>confdefs.h <<\_ACEOF
26501 #define wxHAVE_LIB_XPM 1
26502 _ACEOF
26503
26504 else
26505 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26506 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26507 fi
26508 fi
26509
26510 fi
26511
26512 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26513 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26514 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26515 echo $ECHO_N "(cached) $ECHO_C" >&6
26516 else
26517 ac_check_lib_save_LIBS=$LIBS
26518 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26519 cat >conftest.$ac_ext <<_ACEOF
26520 /* confdefs.h. */
26521 _ACEOF
26522 cat confdefs.h >>conftest.$ac_ext
26523 cat >>conftest.$ac_ext <<_ACEOF
26524 /* end confdefs.h. */
26525
26526 /* Override any gcc2 internal prototype to avoid an error. */
26527 #ifdef __cplusplus
26528 extern "C"
26529 #endif
26530 /* We use char because int might match the return type of a gcc2
26531 builtin and then its argument prototype would still apply. */
26532 char XShapeQueryExtension ();
26533 int
26534 main ()
26535 {
26536 XShapeQueryExtension ();
26537 ;
26538 return 0;
26539 }
26540 _ACEOF
26541 rm -f conftest.$ac_objext conftest$ac_exeext
26542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26543 (eval $ac_link) 2>conftest.er1
26544 ac_status=$?
26545 grep -v '^ *+' conftest.er1 >conftest.err
26546 rm -f conftest.er1
26547 cat conftest.err >&5
26548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549 (exit $ac_status); } &&
26550 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26552 (eval $ac_try) 2>&5
26553 ac_status=$?
26554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26555 (exit $ac_status); }; } &&
26556 { ac_try='test -s conftest$ac_exeext'
26557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26558 (eval $ac_try) 2>&5
26559 ac_status=$?
26560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26561 (exit $ac_status); }; }; then
26562 ac_cv_lib_Xext_XShapeQueryExtension=yes
26563 else
26564 echo "$as_me: failed program was:" >&5
26565 sed 's/^/| /' conftest.$ac_ext >&5
26566
26567 ac_cv_lib_Xext_XShapeQueryExtension=no
26568 fi
26569 rm -f conftest.err conftest.$ac_objext \
26570 conftest$ac_exeext conftest.$ac_ext
26571 LIBS=$ac_check_lib_save_LIBS
26572 fi
26573 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26574 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26575 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26576
26577 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26578 wxHAVE_XEXT_LIB=1
26579
26580 fi
26581
26582
26583 if test "$wxHAVE_XEXT_LIB" = 1; then
26584 save_CFLAGS="$CFLAGS"
26585 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26586
26587 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26588 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26589 cat >conftest.$ac_ext <<_ACEOF
26590 /* confdefs.h. */
26591 _ACEOF
26592 cat confdefs.h >>conftest.$ac_ext
26593 cat >>conftest.$ac_ext <<_ACEOF
26594 /* end confdefs.h. */
26595
26596 #include <X11/Xlib.h>
26597 #include <X11/extensions/shape.h>
26598
26599 int
26600 main ()
26601 {
26602
26603 int dummy1, dummy2;
26604 XShapeQueryExtension((Display*)NULL,
26605 (int*)NULL, (int*)NULL);
26606
26607 ;
26608 return 0;
26609 }
26610 _ACEOF
26611 rm -f conftest.$ac_objext
26612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26613 (eval $ac_compile) 2>conftest.er1
26614 ac_status=$?
26615 grep -v '^ *+' conftest.er1 >conftest.err
26616 rm -f conftest.er1
26617 cat conftest.err >&5
26618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26619 (exit $ac_status); } &&
26620 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26622 (eval $ac_try) 2>&5
26623 ac_status=$?
26624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26625 (exit $ac_status); }; } &&
26626 { ac_try='test -s conftest.$ac_objext'
26627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26628 (eval $ac_try) 2>&5
26629 ac_status=$?
26630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26631 (exit $ac_status); }; }; then
26632
26633 cat >>confdefs.h <<\_ACEOF
26634 #define HAVE_XSHAPE 1
26635 _ACEOF
26636
26637 echo "$as_me:$LINENO: result: found" >&5
26638 echo "${ECHO_T}found" >&6
26639
26640 else
26641 echo "$as_me: failed program was:" >&5
26642 sed 's/^/| /' conftest.$ac_ext >&5
26643
26644
26645 echo "$as_me:$LINENO: result: not found" >&5
26646 echo "${ECHO_T}not found" >&6
26647
26648 fi
26649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26650 CFLAGS="$save_CFLAGS"
26651
26652 fi
26653 fi
26654
26655 if test "$wxUSE_MAC" = 1; then
26656 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26657 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26658 if test "$GCC" = yes; then
26659 echo "$as_me:$LINENO: result: gcc" >&5
26660 echo "${ECHO_T}gcc" >&6
26661 CPPFLAGS_PASCAL="-fpascal-strings"
26662 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26663 echo "$as_me:$LINENO: result: xlc" >&5
26664 echo "${ECHO_T}xlc" >&6
26665 CPPFLAGS_PASCAL="-qmacpstr"
26666 else
26667 echo "$as_me:$LINENO: result: none" >&5
26668 echo "${ECHO_T}none" >&6
26669 fi
26670
26671 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
26672
26673 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
26674 TOOLKIT=MAC
26675 GUIDIST=MACX_DIST
26676 WXBASEPORT="_carbon"
26677 fi
26678
26679 if test "$wxUSE_COCOA" = 1; then
26680 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
26681 TOOLKIT=COCOA
26682 GUIDIST=COCOA_DIST
26683 fi
26684
26685 if test "$wxUSE_PM" = 1; then
26686 TOOLKIT=PM
26687 GUIDIST=GTK_DIST
26688 fi
26689
26690 if test "$TOOLKIT" = "PM" ; then
26691 TOOLKIT_DIR="os2"
26692 else
26693 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26694 fi
26695
26696 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
26697
26698 if test "$wxUSE_UNIVERSAL" = "yes"; then
26699 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
26700
26701 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
26702 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
26703
26704 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
26705 if test "$wxUSE_X11" = 1; then
26706 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
26707 else
26708 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
26709 fi
26710 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26711 WIDGET_SET=univ
26712 else
26713 ALL_OBJECTS="\$(GUIOBJS)"
26714 ALL_SOURCES="\$(ALL_SOURCES)"
26715 ALL_HEADERS="\$(ALL_HEADERS)"
26716 fi
26717
26718 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
26719
26720 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
26721 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
26722 fi
26723
26724 if test "$wxUSE_HTML" = "yes"; then
26725 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
26726 fi
26727
26728 if test "$wxUSE_LIBJPEG" = "builtin" ; then
26729 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
26730 fi
26731 if test "$wxUSE_LIBTIFF" = "builtin" ; then
26732 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
26733 fi
26734 if test "$wxUSE_LIBPNG" = "builtin" ; then
26735 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
26736 fi
26737
26738 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26739 DISTDIR="wx\$(TOOLKIT)"
26740 else
26741 USE_GUI=0
26742
26743 TOOLKIT_DIR="base"
26744
26745 if test "$USE_WIN32" = 1 ; then
26746 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
26747 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
26748
26749 TOOLKIT="MSW"
26750 else
26751 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
26752 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
26753 fi
26754
26755 ALL_SOURCES="\$(ALL_SOURCES)"
26756 ALL_HEADERS="\$(ALL_HEADERS)"
26757
26758 PORT_FILES="\${top_srcdir}/src/files.lst"
26759
26760 GUIDIST="BASE_DIST"
26761 DISTDIR="wxBase"
26762 fi
26763
26764
26765
26766
26767 IODBC_C_SRC=""
26768
26769
26770 if test "$TOOLKIT" != "MSW" ; then
26771
26772 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26773
26774 if test "${ac_cv_header_sql_h+set}" = set; then
26775 echo "$as_me:$LINENO: checking for sql.h" >&5
26776 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26777 if test "${ac_cv_header_sql_h+set}" = set; then
26778 echo $ECHO_N "(cached) $ECHO_C" >&6
26779 fi
26780 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26781 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26782 else
26783 # Is the header compilable?
26784 echo "$as_me:$LINENO: checking sql.h usability" >&5
26785 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
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 $ac_includes_default
26793 #include <sql.h>
26794 _ACEOF
26795 rm -f conftest.$ac_objext
26796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26797 (eval $ac_compile) 2>conftest.er1
26798 ac_status=$?
26799 grep -v '^ *+' conftest.er1 >conftest.err
26800 rm -f conftest.er1
26801 cat conftest.err >&5
26802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26803 (exit $ac_status); } &&
26804 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26806 (eval $ac_try) 2>&5
26807 ac_status=$?
26808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26809 (exit $ac_status); }; } &&
26810 { ac_try='test -s conftest.$ac_objext'
26811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26812 (eval $ac_try) 2>&5
26813 ac_status=$?
26814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26815 (exit $ac_status); }; }; then
26816 ac_header_compiler=yes
26817 else
26818 echo "$as_me: failed program was:" >&5
26819 sed 's/^/| /' conftest.$ac_ext >&5
26820
26821 ac_header_compiler=no
26822 fi
26823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26824 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26825 echo "${ECHO_T}$ac_header_compiler" >&6
26826
26827 # Is the header present?
26828 echo "$as_me:$LINENO: checking sql.h presence" >&5
26829 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26830 cat >conftest.$ac_ext <<_ACEOF
26831 /* confdefs.h. */
26832 _ACEOF
26833 cat confdefs.h >>conftest.$ac_ext
26834 cat >>conftest.$ac_ext <<_ACEOF
26835 /* end confdefs.h. */
26836 #include <sql.h>
26837 _ACEOF
26838 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26839 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26840 ac_status=$?
26841 grep -v '^ *+' conftest.er1 >conftest.err
26842 rm -f conftest.er1
26843 cat conftest.err >&5
26844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26845 (exit $ac_status); } >/dev/null; then
26846 if test -s conftest.err; then
26847 ac_cpp_err=$ac_c_preproc_warn_flag
26848 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26849 else
26850 ac_cpp_err=
26851 fi
26852 else
26853 ac_cpp_err=yes
26854 fi
26855 if test -z "$ac_cpp_err"; then
26856 ac_header_preproc=yes
26857 else
26858 echo "$as_me: failed program was:" >&5
26859 sed 's/^/| /' conftest.$ac_ext >&5
26860
26861 ac_header_preproc=no
26862 fi
26863 rm -f conftest.err conftest.$ac_ext
26864 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26865 echo "${ECHO_T}$ac_header_preproc" >&6
26866
26867 # So? What about this header?
26868 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26869 yes:no: )
26870 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26871 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26872 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26873 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26874 ac_header_preproc=yes
26875 ;;
26876 no:yes:* )
26877 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26878 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26879 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26880 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26881 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26882 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26883 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26884 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26885 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26886 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26887 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26888 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26889 (
26890 cat <<\_ASBOX
26891 ## ----------------------------------------- ##
26892 ## Report this to wx-dev@lists.wxwindows.org ##
26893 ## ----------------------------------------- ##
26894 _ASBOX
26895 ) |
26896 sed "s/^/$as_me: WARNING: /" >&2
26897 ;;
26898 esac
26899 echo "$as_me:$LINENO: checking for sql.h" >&5
26900 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26901 if test "${ac_cv_header_sql_h+set}" = set; then
26902 echo $ECHO_N "(cached) $ECHO_C" >&6
26903 else
26904 ac_cv_header_sql_h=$ac_header_preproc
26905 fi
26906 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26907 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26908
26909 fi
26910 if test $ac_cv_header_sql_h = yes; then
26911 found_sql_h=1
26912 fi
26913
26914
26915 if test "x$found_sql_h" = "x1" ; then
26916 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26917 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26918 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26919 echo $ECHO_N "(cached) $ECHO_C" >&6
26920 else
26921 ac_check_lib_save_LIBS=$LIBS
26922 LIBS="-liodbc $LIBS"
26923 cat >conftest.$ac_ext <<_ACEOF
26924 /* confdefs.h. */
26925 _ACEOF
26926 cat confdefs.h >>conftest.$ac_ext
26927 cat >>conftest.$ac_ext <<_ACEOF
26928 /* end confdefs.h. */
26929
26930 /* Override any gcc2 internal prototype to avoid an error. */
26931 #ifdef __cplusplus
26932 extern "C"
26933 #endif
26934 /* We use char because int might match the return type of a gcc2
26935 builtin and then its argument prototype would still apply. */
26936 char SQLAllocEnv ();
26937 int
26938 main ()
26939 {
26940 SQLAllocEnv ();
26941 ;
26942 return 0;
26943 }
26944 _ACEOF
26945 rm -f conftest.$ac_objext conftest$ac_exeext
26946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26947 (eval $ac_link) 2>conftest.er1
26948 ac_status=$?
26949 grep -v '^ *+' conftest.er1 >conftest.err
26950 rm -f conftest.er1
26951 cat conftest.err >&5
26952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26953 (exit $ac_status); } &&
26954 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26956 (eval $ac_try) 2>&5
26957 ac_status=$?
26958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26959 (exit $ac_status); }; } &&
26960 { ac_try='test -s conftest$ac_exeext'
26961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26962 (eval $ac_try) 2>&5
26963 ac_status=$?
26964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26965 (exit $ac_status); }; }; then
26966 ac_cv_lib_iodbc_SQLAllocEnv=yes
26967 else
26968 echo "$as_me: failed program was:" >&5
26969 sed 's/^/| /' conftest.$ac_ext >&5
26970
26971 ac_cv_lib_iodbc_SQLAllocEnv=no
26972 fi
26973 rm -f conftest.err conftest.$ac_objext \
26974 conftest$ac_exeext conftest.$ac_ext
26975 LIBS=$ac_check_lib_save_LIBS
26976 fi
26977 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26978 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26979 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26980 ODBC_LINK=" -liodbc"
26981 else
26982
26983 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26984 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26985 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26986 echo $ECHO_N "(cached) $ECHO_C" >&6
26987 else
26988 ac_check_lib_save_LIBS=$LIBS
26989 LIBS="-lunixodbc $LIBS"
26990 cat >conftest.$ac_ext <<_ACEOF
26991 /* confdefs.h. */
26992 _ACEOF
26993 cat confdefs.h >>conftest.$ac_ext
26994 cat >>conftest.$ac_ext <<_ACEOF
26995 /* end confdefs.h. */
26996
26997 /* Override any gcc2 internal prototype to avoid an error. */
26998 #ifdef __cplusplus
26999 extern "C"
27000 #endif
27001 /* We use char because int might match the return type of a gcc2
27002 builtin and then its argument prototype would still apply. */
27003 char SQLAllocEnv ();
27004 int
27005 main ()
27006 {
27007 SQLAllocEnv ();
27008 ;
27009 return 0;
27010 }
27011 _ACEOF
27012 rm -f conftest.$ac_objext conftest$ac_exeext
27013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27014 (eval $ac_link) 2>conftest.er1
27015 ac_status=$?
27016 grep -v '^ *+' conftest.er1 >conftest.err
27017 rm -f conftest.er1
27018 cat conftest.err >&5
27019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27020 (exit $ac_status); } &&
27021 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27023 (eval $ac_try) 2>&5
27024 ac_status=$?
27025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27026 (exit $ac_status); }; } &&
27027 { ac_try='test -s conftest$ac_exeext'
27028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27029 (eval $ac_try) 2>&5
27030 ac_status=$?
27031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27032 (exit $ac_status); }; }; then
27033 ac_cv_lib_unixodbc_SQLAllocEnv=yes
27034 else
27035 echo "$as_me: failed program was:" >&5
27036 sed 's/^/| /' conftest.$ac_ext >&5
27037
27038 ac_cv_lib_unixodbc_SQLAllocEnv=no
27039 fi
27040 rm -f conftest.err conftest.$ac_objext \
27041 conftest$ac_exeext conftest.$ac_ext
27042 LIBS=$ac_check_lib_save_LIBS
27043 fi
27044 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27045 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27046 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27047 ODBC_LINK=" -lunixodbc"
27048 else
27049
27050 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27051 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27052 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27053 echo $ECHO_N "(cached) $ECHO_C" >&6
27054 else
27055 ac_check_lib_save_LIBS=$LIBS
27056 LIBS="-lodbc $LIBS"
27057 cat >conftest.$ac_ext <<_ACEOF
27058 /* confdefs.h. */
27059 _ACEOF
27060 cat confdefs.h >>conftest.$ac_ext
27061 cat >>conftest.$ac_ext <<_ACEOF
27062 /* end confdefs.h. */
27063
27064 /* Override any gcc2 internal prototype to avoid an error. */
27065 #ifdef __cplusplus
27066 extern "C"
27067 #endif
27068 /* We use char because int might match the return type of a gcc2
27069 builtin and then its argument prototype would still apply. */
27070 char SQLAllocEnv ();
27071 int
27072 main ()
27073 {
27074 SQLAllocEnv ();
27075 ;
27076 return 0;
27077 }
27078 _ACEOF
27079 rm -f conftest.$ac_objext conftest$ac_exeext
27080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27081 (eval $ac_link) 2>conftest.er1
27082 ac_status=$?
27083 grep -v '^ *+' conftest.er1 >conftest.err
27084 rm -f conftest.er1
27085 cat conftest.err >&5
27086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27087 (exit $ac_status); } &&
27088 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27090 (eval $ac_try) 2>&5
27091 ac_status=$?
27092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27093 (exit $ac_status); }; } &&
27094 { ac_try='test -s conftest$ac_exeext'
27095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27096 (eval $ac_try) 2>&5
27097 ac_status=$?
27098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27099 (exit $ac_status); }; }; then
27100 ac_cv_lib_odbc_SQLAllocEnv=yes
27101 else
27102 echo "$as_me: failed program was:" >&5
27103 sed 's/^/| /' conftest.$ac_ext >&5
27104
27105 ac_cv_lib_odbc_SQLAllocEnv=no
27106 fi
27107 rm -f conftest.err conftest.$ac_objext \
27108 conftest$ac_exeext conftest.$ac_ext
27109 LIBS=$ac_check_lib_save_LIBS
27110 fi
27111 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27112 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27113 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27114 ODBC_LINK=" -lodbc"
27115 fi
27116
27117
27118 fi
27119
27120
27121 fi
27122
27123 fi
27124 if test "x$ODBC_LINK" = "x" ; then
27125 if test "$wxUSE_ODBC" = "sys" ; then
27126 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27127 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27128 { (exit 1); exit 1; }; }
27129 else
27130 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27131 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27132 wxUSE_ODBC=builtin
27133 fi
27134 else
27135 wxUSE_ODBC=sys
27136 fi
27137 fi
27138 if test "$wxUSE_ODBC" != "no" ; then
27139 cat >>confdefs.h <<\_ACEOF
27140 #define wxUSE_ODBC 1
27141 _ACEOF
27142
27143 if test "$wxUSE_ODBC" = "builtin" ; then
27144 cat >>confdefs.h <<\_ACEOF
27145 #define wxUSE_BUILTIN_IODBC 1
27146 _ACEOF
27147
27148 fi
27149 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
27150
27151 WXODBCFLAG="-D_IODBC_"
27152 fi
27153 fi
27154
27155 if test "$wxUSE_REGEX" = "builtin" ; then
27156 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
27157 fi
27158 if test "$wxUSE_ZLIB" = "builtin" ; then
27159 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
27160 fi
27161
27162 if test "$wxUSE_DISPLAY" = "yes"; then
27163 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1; then
27164 echo "$as_me:$LINENO: checking for Xinerama" >&5
27165 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27166
27167 ac_find_libraries=
27168 for ac_dir in $SEARCH_LIB /usr/lib;
27169 do
27170 for ac_extension in a so sl dylib; do
27171 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27172 ac_find_libraries=$ac_dir
27173 break 2
27174 fi
27175 done
27176 done
27177
27178 if test "$ac_find_libraries" != "" ; then
27179
27180 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27181 result=$?
27182 if test $result = 0; then
27183 ac_path_to_link=""
27184 else
27185 ac_path_to_link=" -L$ac_find_libraries"
27186 fi
27187
27188 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27189 LDFLAGS="$LDFLAGS $ac_path_to_link"
27190 fi
27191 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
27192 echo "$as_me:$LINENO: result: yes" >&5
27193 echo "${ECHO_T}yes" >&6
27194
27195 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27196 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27197
27198 ac_find_libraries=
27199 for ac_dir in $SEARCH_LIB /usr/lib;
27200 do
27201 for ac_extension in a so sl dylib; do
27202 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27203 ac_find_libraries=$ac_dir
27204 break 2
27205 fi
27206 done
27207 done
27208
27209 if test "$ac_find_libraries" != "" ; then
27210 echo "$as_me:$LINENO: result: yes" >&5
27211 echo "${ECHO_T}yes" >&6
27212
27213 for ac_header in X11/extensions/xf86vmode.h
27214 do
27215 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27216 echo "$as_me:$LINENO: checking for $ac_header" >&5
27217 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27218 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27219 echo $ECHO_N "(cached) $ECHO_C" >&6
27220 else
27221 cat >conftest.$ac_ext <<_ACEOF
27222 /* confdefs.h. */
27223 _ACEOF
27224 cat confdefs.h >>conftest.$ac_ext
27225 cat >>conftest.$ac_ext <<_ACEOF
27226 /* end confdefs.h. */
27227
27228 #if HAVE_X11_XLIB_H
27229 #include <X11/Xlib.h>
27230 #endif
27231
27232
27233 #include <$ac_header>
27234 _ACEOF
27235 rm -f conftest.$ac_objext
27236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27237 (eval $ac_compile) 2>conftest.er1
27238 ac_status=$?
27239 grep -v '^ *+' conftest.er1 >conftest.err
27240 rm -f conftest.er1
27241 cat conftest.err >&5
27242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27243 (exit $ac_status); } &&
27244 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27246 (eval $ac_try) 2>&5
27247 ac_status=$?
27248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27249 (exit $ac_status); }; } &&
27250 { ac_try='test -s conftest.$ac_objext'
27251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27252 (eval $ac_try) 2>&5
27253 ac_status=$?
27254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27255 (exit $ac_status); }; }; then
27256 eval "$as_ac_Header=yes"
27257 else
27258 echo "$as_me: failed program was:" >&5
27259 sed 's/^/| /' conftest.$ac_ext >&5
27260
27261 eval "$as_ac_Header=no"
27262 fi
27263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27264 fi
27265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27266 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27267 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27268 cat >>confdefs.h <<_ACEOF
27269 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27270 _ACEOF
27271
27272 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27273
27274 fi
27275
27276 done
27277
27278 else
27279 echo "$as_me:$LINENO: result: no" >&5
27280 echo "${ECHO_T}no" >&6
27281 fi
27282
27283 else
27284 echo "$as_me:$LINENO: result: no" >&5
27285 echo "${ECHO_T}no" >&6
27286 { echo "$as_me:$LINENO: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&5
27287 echo "$as_me: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&2;}
27288 wxUSE_DISPLAY="no"
27289 fi
27290 fi
27291 fi
27292
27293
27294 USE_OPENGL=0
27295 if test "$wxUSE_OPENGL" = "yes"; then
27296 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27297 OPENGL_LIBS="-framework OpenGL -framework AGL"
27298 elif test "$wxUSE_MSW" = 1; then
27299 OPENGL_LIBS="-lopengl32 -lglu32"
27300 else
27301
27302
27303 ac_find_includes=
27304 for ac_dir in $SEARCH_INCLUDE /usr/include;
27305 do
27306 if test -f "$ac_dir/GL/gl.h"; then
27307 ac_find_includes=$ac_dir
27308 break
27309 fi
27310 done
27311
27312 if test "$ac_find_includes" != "" ; then
27313 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27314 echo "${ECHO_T}found in $ac_find_includes" >&6
27315
27316 if test "x$ac_find_includes" = "x/usr/include"; then
27317 ac_path_to_include=""
27318 else
27319 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27320 result=$?
27321 if test $result = 0; then
27322 ac_path_to_include=""
27323 else
27324 ac_path_to_include=" -I$ac_find_includes"
27325 fi
27326 fi
27327
27328 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
27329 fi
27330
27331 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27332 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27333 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27334 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27335 echo $ECHO_N "(cached) $ECHO_C" >&6
27336 fi
27337 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27338 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27339 else
27340 # Is the header compilable?
27341 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27342 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27343 cat >conftest.$ac_ext <<_ACEOF
27344 /* confdefs.h. */
27345 _ACEOF
27346 cat confdefs.h >>conftest.$ac_ext
27347 cat >>conftest.$ac_ext <<_ACEOF
27348 /* end confdefs.h. */
27349 $ac_includes_default
27350 #include <GL/gl.h>
27351 _ACEOF
27352 rm -f conftest.$ac_objext
27353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27354 (eval $ac_compile) 2>conftest.er1
27355 ac_status=$?
27356 grep -v '^ *+' conftest.er1 >conftest.err
27357 rm -f conftest.er1
27358 cat conftest.err >&5
27359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27360 (exit $ac_status); } &&
27361 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27363 (eval $ac_try) 2>&5
27364 ac_status=$?
27365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27366 (exit $ac_status); }; } &&
27367 { ac_try='test -s conftest.$ac_objext'
27368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27369 (eval $ac_try) 2>&5
27370 ac_status=$?
27371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27372 (exit $ac_status); }; }; then
27373 ac_header_compiler=yes
27374 else
27375 echo "$as_me: failed program was:" >&5
27376 sed 's/^/| /' conftest.$ac_ext >&5
27377
27378 ac_header_compiler=no
27379 fi
27380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27381 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27382 echo "${ECHO_T}$ac_header_compiler" >&6
27383
27384 # Is the header present?
27385 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27386 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27387 cat >conftest.$ac_ext <<_ACEOF
27388 /* confdefs.h. */
27389 _ACEOF
27390 cat confdefs.h >>conftest.$ac_ext
27391 cat >>conftest.$ac_ext <<_ACEOF
27392 /* end confdefs.h. */
27393 #include <GL/gl.h>
27394 _ACEOF
27395 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27396 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27397 ac_status=$?
27398 grep -v '^ *+' conftest.er1 >conftest.err
27399 rm -f conftest.er1
27400 cat conftest.err >&5
27401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27402 (exit $ac_status); } >/dev/null; then
27403 if test -s conftest.err; then
27404 ac_cpp_err=$ac_c_preproc_warn_flag
27405 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27406 else
27407 ac_cpp_err=
27408 fi
27409 else
27410 ac_cpp_err=yes
27411 fi
27412 if test -z "$ac_cpp_err"; then
27413 ac_header_preproc=yes
27414 else
27415 echo "$as_me: failed program was:" >&5
27416 sed 's/^/| /' conftest.$ac_ext >&5
27417
27418 ac_header_preproc=no
27419 fi
27420 rm -f conftest.err conftest.$ac_ext
27421 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27422 echo "${ECHO_T}$ac_header_preproc" >&6
27423
27424 # So? What about this header?
27425 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27426 yes:no: )
27427 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27428 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27429 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27430 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27431 ac_header_preproc=yes
27432 ;;
27433 no:yes:* )
27434 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27435 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27436 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27437 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27438 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27439 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27440 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27441 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27442 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27443 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27444 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27445 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27446 (
27447 cat <<\_ASBOX
27448 ## ----------------------------------------- ##
27449 ## Report this to wx-dev@lists.wxwindows.org ##
27450 ## ----------------------------------------- ##
27451 _ASBOX
27452 ) |
27453 sed "s/^/$as_me: WARNING: /" >&2
27454 ;;
27455 esac
27456 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27457 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27458 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27459 echo $ECHO_N "(cached) $ECHO_C" >&6
27460 else
27461 ac_cv_header_GL_gl_h=$ac_header_preproc
27462 fi
27463 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27464 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27465
27466 fi
27467 if test $ac_cv_header_GL_gl_h = yes; then
27468
27469 found_gl=0
27470
27471 echo "$as_me:$LINENO: checking for -lGL" >&5
27472 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27473
27474 ac_find_libraries=
27475 for ac_dir in $SEARCH_LIB /usr/lib;
27476 do
27477 for ac_extension in a so sl dylib; do
27478 if test -f "$ac_dir/libGL.$ac_extension"; then
27479 ac_find_libraries=$ac_dir
27480 break 2
27481 fi
27482 done
27483 done
27484
27485 if test "$ac_find_libraries" != "" ; then
27486
27487 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27488 result=$?
27489 if test $result = 0; then
27490 ac_path_to_link=""
27491 else
27492 ac_path_to_link=" -L$ac_find_libraries"
27493 fi
27494
27495 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27496 LDFLAGS_GL="$ac_path_to_link"
27497 fi
27498
27499
27500 ac_find_libraries=
27501 for ac_dir in $SEARCH_LIB /usr/lib;
27502 do
27503 for ac_extension in a so sl dylib; do
27504 if test -f "$ac_dir/libGLU.$ac_extension"; then
27505 ac_find_libraries=$ac_dir
27506 break 2
27507 fi
27508 done
27509 done
27510
27511 if test "$ac_find_libraries" != "" ; then
27512
27513 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27514 result=$?
27515 if test $result = 0; then
27516 ac_path_to_link=""
27517 else
27518 ac_path_to_link=" -L$ac_find_libraries"
27519 fi
27520
27521 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27522 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27523 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
27524 fi
27525
27526 found_gl=1
27527 OPENGL_LIBS="-lGL -lGLU"
27528 echo "$as_me:$LINENO: result: yes" >&5
27529 echo "${ECHO_T}yes" >&6
27530 fi
27531 fi
27532
27533 if test "$found_gl" != 1; then
27534 echo "$as_me:$LINENO: result: no" >&5
27535 echo "${ECHO_T}no" >&6
27536 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27537 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27538
27539 ac_find_libraries=
27540 for ac_dir in $SEARCH_LIB /usr/lib;
27541 do
27542 for ac_extension in a so sl dylib; do
27543 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27544 ac_find_libraries=$ac_dir
27545 break 2
27546 fi
27547 done
27548 done
27549
27550 if test "$ac_find_libraries" != "" ; then
27551
27552 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27553 result=$?
27554 if test $result = 0; then
27555 ac_path_to_link=""
27556 else
27557 ac_path_to_link=" -L$ac_find_libraries"
27558 fi
27559
27560 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
27561 OPENGL_LIBS="-lMesaGL -lMesaGLU"
27562 echo "$as_me:$LINENO: result: yes" >&5
27563 echo "${ECHO_T}yes" >&6
27564 else
27565 echo "$as_me:$LINENO: result: no" >&5
27566 echo "${ECHO_T}no" >&6
27567 fi
27568 fi
27569
27570 fi
27571
27572
27573
27574 if test "x$OPENGL_LIBS" = "x"; then
27575 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27576 echo "$as_me: error: OpenGL libraries not available" >&2;}
27577 { (exit 1); exit 1; }; }
27578 fi
27579 fi
27580
27581 if test "$wxUSE_OPENGL" = "yes"; then
27582 USE_OPENGL=1
27583 cat >>confdefs.h <<\_ACEOF
27584 #define wxUSE_OPENGL 1
27585 _ACEOF
27586
27587 cat >>confdefs.h <<\_ACEOF
27588 #define wxUSE_GLCANVAS 1
27589 _ACEOF
27590
27591 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27592 fi
27593 fi
27594
27595 if test -z "$TOOLKIT_VPATH" ; then
27596 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
27597 fi
27598
27599 if test -n "$TOOLKIT" ; then
27600 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27601 fi
27602
27603 UNICODE=0
27604 lib_unicode_suffix=
27605 if test "$wxUSE_UNICODE" = "yes"; then
27606 lib_unicode_suffix=u
27607 UNICODE=1
27608 fi
27609
27610 lib_debug_suffix=
27611 DEBUG_FLAG=0
27612 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27613 lib_debug_suffix=d
27614 DEBUG_FLAG=1
27615 fi
27616
27617 DEBUG_INFO=0
27618 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27619 DEBUG_INFO=1
27620 fi
27621
27622 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27623
27624 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
27625 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
27626
27627 if test "$cross_compiling" = "yes"; then
27628 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
27629 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
27630 HOST_SUFFIX="-${host_alias}"
27631 fi
27632
27633 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
27634 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
27635 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
27636 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
27637
27638 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27639 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27640
27641 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
27642 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
27643 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
27644 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27645
27646 case "${host}" in
27647 *-*-cygwin* | *-*-mingw32* )
27648 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
27649 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27650 ;;
27651
27652 *-*-darwin* )
27653
27654 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27655 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27656
27657 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
27658 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
27659 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
27660 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27661
27662 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27663 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
27664 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
27665 fi
27666 ;;
27667 esac
27668
27669 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
27670 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
27671
27672 WXCONFIG_LIBS="-l${WX_LIBRARY}"
27673 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
27674
27675 if test "$wxUSE_OPENGL" = "yes"; then
27676 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
27677 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
27678 fi
27679
27680
27681
27682 if test "$wxUSE_SHARED" = "yes"; then
27683 case "${host}" in
27684 *-pc-msdosdjgpp )
27685 wxUSE_SHARED=no
27686 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27687 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27688 ;;
27689 esac
27690 fi
27691
27692 SHARED=0
27693 if test "$wxUSE_SHARED" = "yes"; then
27694 SHARED=1
27695
27696
27697 found_versioning=no
27698
27699
27700 if test $found_versioning = no ; then
27701 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27702 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27703 if test "${wx_cv_version_script+set}" = set; then
27704 echo $ECHO_N "(cached) $ECHO_C" >&6
27705 else
27706
27707 echo "VER_1 { *; };" >conftest.sym
27708 echo "int main() { return 0; }" >conftest.cpp
27709
27710 if { ac_try='
27711 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27712 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27714 (eval $ac_try) 2>&5
27715 ac_status=$?
27716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27717 (exit $ac_status); }; } ; then
27718 if test -s conftest.stderr ; then
27719 wx_cv_version_script=no
27720 else
27721 wx_cv_version_script=yes
27722 fi
27723 else
27724 wx_cv_version_script=no
27725 fi
27726 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27727
27728 fi
27729 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27730 echo "${ECHO_T}$wx_cv_version_script" >&6
27731 if test $wx_cv_version_script = yes ; then
27732 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
27733 fi
27734 fi
27735
27736
27737 case "${host}" in
27738 *-*-linux* | *-*-gnu* )
27739 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
27740 ;;
27741
27742 *-*-solaris2* )
27743 if test "$GCC" = yes ; then
27744 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
27745
27746 saveLdflags="$LDFLAGS"
27747 LDFLAGS="$saveLdflags -Wl,-rpath,/"
27748 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27749 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27750 cat >conftest.$ac_ext <<_ACEOF
27751 /* confdefs.h. */
27752 _ACEOF
27753 cat confdefs.h >>conftest.$ac_ext
27754 cat >>conftest.$ac_ext <<_ACEOF
27755 /* end confdefs.h. */
27756
27757 int
27758 main ()
27759 {
27760
27761 ;
27762 return 0;
27763 }
27764 _ACEOF
27765 rm -f conftest.$ac_objext conftest$ac_exeext
27766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27767 (eval $ac_link) 2>conftest.er1
27768 ac_status=$?
27769 grep -v '^ *+' conftest.er1 >conftest.err
27770 rm -f conftest.er1
27771 cat conftest.err >&5
27772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27773 (exit $ac_status); } &&
27774 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27776 (eval $ac_try) 2>&5
27777 ac_status=$?
27778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27779 (exit $ac_status); }; } &&
27780 { ac_try='test -s conftest$ac_exeext'
27781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27782 (eval $ac_try) 2>&5
27783 ac_status=$?
27784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27785 (exit $ac_status); }; }; then
27786
27787 echo "$as_me:$LINENO: result: yes" >&5
27788 echo "${ECHO_T}yes" >&6
27789 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
27790
27791 else
27792 echo "$as_me: failed program was:" >&5
27793 sed 's/^/| /' conftest.$ac_ext >&5
27794
27795
27796 echo "$as_me:$LINENO: result: no" >&5
27797 echo "${ECHO_T}no" >&6
27798 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27799 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27800 LDFLAGS="$saveLdflags -Wl,-R,/"
27801 cat >conftest.$ac_ext <<_ACEOF
27802 /* confdefs.h. */
27803 _ACEOF
27804 cat confdefs.h >>conftest.$ac_ext
27805 cat >>conftest.$ac_ext <<_ACEOF
27806 /* end confdefs.h. */
27807
27808 int
27809 main ()
27810 {
27811
27812 ;
27813 return 0;
27814 }
27815 _ACEOF
27816 rm -f conftest.$ac_objext conftest$ac_exeext
27817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27818 (eval $ac_link) 2>conftest.er1
27819 ac_status=$?
27820 grep -v '^ *+' conftest.er1 >conftest.err
27821 rm -f conftest.er1
27822 cat conftest.err >&5
27823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27824 (exit $ac_status); } &&
27825 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27827 (eval $ac_try) 2>&5
27828 ac_status=$?
27829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27830 (exit $ac_status); }; } &&
27831 { ac_try='test -s conftest$ac_exeext'
27832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27833 (eval $ac_try) 2>&5
27834 ac_status=$?
27835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27836 (exit $ac_status); }; }; then
27837
27838 echo "$as_me:$LINENO: result: yes" >&5
27839 echo "${ECHO_T}yes" >&6
27840 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
27841 else
27842 echo "$as_me: failed program was:" >&5
27843 sed 's/^/| /' conftest.$ac_ext >&5
27844
27845
27846 echo "$as_me:$LINENO: result: no" >&5
27847 echo "${ECHO_T}no" >&6
27848
27849 fi
27850 rm -f conftest.err conftest.$ac_objext \
27851 conftest$ac_exeext conftest.$ac_ext
27852
27853 fi
27854 rm -f conftest.err conftest.$ac_objext \
27855 conftest$ac_exeext conftest.$ac_ext
27856 LDFLAGS="$saveLdflags"
27857 else
27858 SHARED_LD="${CXX} -G -o"
27859 PIC_FLAG="-KPIC"
27860 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
27861 fi
27862 ;;
27863
27864 powerpc-*-darwin* )
27865 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
27866 cat <<EOF >change-install-names
27867 #!/bin/sh
27868 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
27869 inst_cmd="install_name_tool "
27870 for i in \${libnames} ; do
27871 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
27872 done
27873 \${inst_cmd} \${3}
27874 EOF
27875 chmod +x change-install-names
27876 ;;
27877
27878 esac
27879
27880 if test "x$WX_TARGET_LIBRARY" = "x"; then
27881 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
27882 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
27883 fi
27884
27885 WX_TARGET_LIBRARY_TYPE="so"
27886 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
27887 fi
27888
27889 if test "$wxUSE_SHARED" = "no"; then
27890
27891 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
27892 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
27893 fi
27894
27895 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
27896 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
27897 fi
27898
27899 if test "$wxUSE_OPENGL" = "yes"; then
27900 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
27901 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
27902 else
27903 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
27904 fi
27905
27906 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
27907 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
27908
27909 WX_TARGET_LIBRARY_TYPE="a"
27910 INSTALL_LIBRARY='$(INSTALL_DATA)'
27911
27912 STATIC_FLAG="yes"
27913 else
27914 STATIC_FLAG="no"
27915 fi
27916
27917 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
27918 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
27919 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
27920 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
27921
27922 # Extract the first word of "Rez", so it can be a program name with args.
27923 set dummy Rez; ac_word=$2
27924 echo "$as_me:$LINENO: checking for $ac_word" >&5
27925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27926 if test "${ac_cv_prog_RESCOMP+set}" = set; then
27927 echo $ECHO_N "(cached) $ECHO_C" >&6
27928 else
27929 if test -n "$RESCOMP"; then
27930 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
27931 else
27932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27933 for as_dir in $PATH
27934 do
27935 IFS=$as_save_IFS
27936 test -z "$as_dir" && as_dir=.
27937 for ac_exec_ext in '' $ac_executable_extensions; do
27938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27939 ac_cv_prog_RESCOMP="Rez"
27940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27941 break 2
27942 fi
27943 done
27944 done
27945
27946 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
27947 fi
27948 fi
27949 RESCOMP=$ac_cv_prog_RESCOMP
27950 if test -n "$RESCOMP"; then
27951 echo "$as_me:$LINENO: result: $RESCOMP" >&5
27952 echo "${ECHO_T}$RESCOMP" >&6
27953 else
27954 echo "$as_me:$LINENO: result: no" >&5
27955 echo "${ECHO_T}no" >&6
27956 fi
27957
27958 # Extract the first word of "DeRez", so it can be a program name with args.
27959 set dummy DeRez; ac_word=$2
27960 echo "$as_me:$LINENO: checking for $ac_word" >&5
27961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27962 if test "${ac_cv_prog_DEREZ+set}" = set; then
27963 echo $ECHO_N "(cached) $ECHO_C" >&6
27964 else
27965 if test -n "$DEREZ"; then
27966 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
27967 else
27968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27969 for as_dir in $PATH
27970 do
27971 IFS=$as_save_IFS
27972 test -z "$as_dir" && as_dir=.
27973 for ac_exec_ext in '' $ac_executable_extensions; do
27974 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27975 ac_cv_prog_DEREZ="DeRez"
27976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27977 break 2
27978 fi
27979 done
27980 done
27981
27982 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
27983 fi
27984 fi
27985 DEREZ=$ac_cv_prog_DEREZ
27986 if test -n "$DEREZ"; then
27987 echo "$as_me:$LINENO: result: $DEREZ" >&5
27988 echo "${ECHO_T}$DEREZ" >&6
27989 else
27990 echo "$as_me:$LINENO: result: no" >&5
27991 echo "${ECHO_T}no" >&6
27992 fi
27993
27994 # Extract the first word of "SetFile", so it can be a program name with args.
27995 set dummy SetFile; ac_word=$2
27996 echo "$as_me:$LINENO: checking for $ac_word" >&5
27997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27998 if test "${ac_cv_prog_SETFILE+set}" = set; then
27999 echo $ECHO_N "(cached) $ECHO_C" >&6
28000 else
28001 if test -n "$SETFILE"; then
28002 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
28003 else
28004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28005 for as_dir in $PATH
28006 do
28007 IFS=$as_save_IFS
28008 test -z "$as_dir" && as_dir=.
28009 for ac_exec_ext in '' $ac_executable_extensions; do
28010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28011 ac_cv_prog_SETFILE="SetFile"
28012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28013 break 2
28014 fi
28015 done
28016 done
28017
28018 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
28019 fi
28020 fi
28021 SETFILE=$ac_cv_prog_SETFILE
28022 if test -n "$SETFILE"; then
28023 echo "$as_me:$LINENO: result: $SETFILE" >&5
28024 echo "${ECHO_T}$SETFILE" >&6
28025 else
28026 echo "$as_me:$LINENO: result: no" >&5
28027 echo "${ECHO_T}no" >&6
28028 fi
28029
28030
28031 MACSETFILE="\$(SETFILE)"
28032
28033 if test "$wxUSE_MAC" = 1; then
28034 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28035
28036 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28037 else
28038 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28039 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28040 fi
28041 else
28042 MACSETFILE="@#"
28043 MACRESWXCONFIG="#"
28044
28045 if test "$wxUSE_PM" = 1; then
28046 MACRESCOMP="emxbind -ep"
28047 else
28048 MACRESCOMP="@#"
28049 fi
28050 fi
28051
28052
28053
28054 echo "$as_me:$LINENO: checking for mode_t" >&5
28055 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28056 if test "${ac_cv_type_mode_t+set}" = set; then
28057 echo $ECHO_N "(cached) $ECHO_C" >&6
28058 else
28059 cat >conftest.$ac_ext <<_ACEOF
28060 /* confdefs.h. */
28061 _ACEOF
28062 cat confdefs.h >>conftest.$ac_ext
28063 cat >>conftest.$ac_ext <<_ACEOF
28064 /* end confdefs.h. */
28065 $ac_includes_default
28066 int
28067 main ()
28068 {
28069 if ((mode_t *) 0)
28070 return 0;
28071 if (sizeof (mode_t))
28072 return 0;
28073 ;
28074 return 0;
28075 }
28076 _ACEOF
28077 rm -f conftest.$ac_objext
28078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28079 (eval $ac_compile) 2>conftest.er1
28080 ac_status=$?
28081 grep -v '^ *+' conftest.er1 >conftest.err
28082 rm -f conftest.er1
28083 cat conftest.err >&5
28084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28085 (exit $ac_status); } &&
28086 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28088 (eval $ac_try) 2>&5
28089 ac_status=$?
28090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28091 (exit $ac_status); }; } &&
28092 { ac_try='test -s conftest.$ac_objext'
28093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28094 (eval $ac_try) 2>&5
28095 ac_status=$?
28096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28097 (exit $ac_status); }; }; then
28098 ac_cv_type_mode_t=yes
28099 else
28100 echo "$as_me: failed program was:" >&5
28101 sed 's/^/| /' conftest.$ac_ext >&5
28102
28103 ac_cv_type_mode_t=no
28104 fi
28105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28106 fi
28107 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28108 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28109 if test $ac_cv_type_mode_t = yes; then
28110 :
28111 else
28112
28113 cat >>confdefs.h <<_ACEOF
28114 #define mode_t int
28115 _ACEOF
28116
28117 fi
28118
28119 echo "$as_me:$LINENO: checking for off_t" >&5
28120 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28121 if test "${ac_cv_type_off_t+set}" = set; then
28122 echo $ECHO_N "(cached) $ECHO_C" >&6
28123 else
28124 cat >conftest.$ac_ext <<_ACEOF
28125 /* confdefs.h. */
28126 _ACEOF
28127 cat confdefs.h >>conftest.$ac_ext
28128 cat >>conftest.$ac_ext <<_ACEOF
28129 /* end confdefs.h. */
28130 $ac_includes_default
28131 int
28132 main ()
28133 {
28134 if ((off_t *) 0)
28135 return 0;
28136 if (sizeof (off_t))
28137 return 0;
28138 ;
28139 return 0;
28140 }
28141 _ACEOF
28142 rm -f conftest.$ac_objext
28143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28144 (eval $ac_compile) 2>conftest.er1
28145 ac_status=$?
28146 grep -v '^ *+' conftest.er1 >conftest.err
28147 rm -f conftest.er1
28148 cat conftest.err >&5
28149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28150 (exit $ac_status); } &&
28151 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28153 (eval $ac_try) 2>&5
28154 ac_status=$?
28155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28156 (exit $ac_status); }; } &&
28157 { ac_try='test -s conftest.$ac_objext'
28158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28159 (eval $ac_try) 2>&5
28160 ac_status=$?
28161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28162 (exit $ac_status); }; }; then
28163 ac_cv_type_off_t=yes
28164 else
28165 echo "$as_me: failed program was:" >&5
28166 sed 's/^/| /' conftest.$ac_ext >&5
28167
28168 ac_cv_type_off_t=no
28169 fi
28170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28171 fi
28172 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28173 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28174 if test $ac_cv_type_off_t = yes; then
28175 :
28176 else
28177
28178 cat >>confdefs.h <<_ACEOF
28179 #define off_t long
28180 _ACEOF
28181
28182 fi
28183
28184 echo "$as_me:$LINENO: checking for pid_t" >&5
28185 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28186 if test "${ac_cv_type_pid_t+set}" = set; then
28187 echo $ECHO_N "(cached) $ECHO_C" >&6
28188 else
28189 cat >conftest.$ac_ext <<_ACEOF
28190 /* confdefs.h. */
28191 _ACEOF
28192 cat confdefs.h >>conftest.$ac_ext
28193 cat >>conftest.$ac_ext <<_ACEOF
28194 /* end confdefs.h. */
28195 $ac_includes_default
28196 int
28197 main ()
28198 {
28199 if ((pid_t *) 0)
28200 return 0;
28201 if (sizeof (pid_t))
28202 return 0;
28203 ;
28204 return 0;
28205 }
28206 _ACEOF
28207 rm -f conftest.$ac_objext
28208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28209 (eval $ac_compile) 2>conftest.er1
28210 ac_status=$?
28211 grep -v '^ *+' conftest.er1 >conftest.err
28212 rm -f conftest.er1
28213 cat conftest.err >&5
28214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28215 (exit $ac_status); } &&
28216 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28218 (eval $ac_try) 2>&5
28219 ac_status=$?
28220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28221 (exit $ac_status); }; } &&
28222 { ac_try='test -s conftest.$ac_objext'
28223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28224 (eval $ac_try) 2>&5
28225 ac_status=$?
28226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28227 (exit $ac_status); }; }; then
28228 ac_cv_type_pid_t=yes
28229 else
28230 echo "$as_me: failed program was:" >&5
28231 sed 's/^/| /' conftest.$ac_ext >&5
28232
28233 ac_cv_type_pid_t=no
28234 fi
28235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28236 fi
28237 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28238 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28239 if test $ac_cv_type_pid_t = yes; then
28240 :
28241 else
28242
28243 cat >>confdefs.h <<_ACEOF
28244 #define pid_t int
28245 _ACEOF
28246
28247 fi
28248
28249 echo "$as_me:$LINENO: checking for size_t" >&5
28250 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28251 if test "${ac_cv_type_size_t+set}" = set; then
28252 echo $ECHO_N "(cached) $ECHO_C" >&6
28253 else
28254 cat >conftest.$ac_ext <<_ACEOF
28255 /* confdefs.h. */
28256 _ACEOF
28257 cat confdefs.h >>conftest.$ac_ext
28258 cat >>conftest.$ac_ext <<_ACEOF
28259 /* end confdefs.h. */
28260 $ac_includes_default
28261 int
28262 main ()
28263 {
28264 if ((size_t *) 0)
28265 return 0;
28266 if (sizeof (size_t))
28267 return 0;
28268 ;
28269 return 0;
28270 }
28271 _ACEOF
28272 rm -f conftest.$ac_objext
28273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28274 (eval $ac_compile) 2>conftest.er1
28275 ac_status=$?
28276 grep -v '^ *+' conftest.er1 >conftest.err
28277 rm -f conftest.er1
28278 cat conftest.err >&5
28279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28280 (exit $ac_status); } &&
28281 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28283 (eval $ac_try) 2>&5
28284 ac_status=$?
28285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28286 (exit $ac_status); }; } &&
28287 { ac_try='test -s conftest.$ac_objext'
28288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28289 (eval $ac_try) 2>&5
28290 ac_status=$?
28291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28292 (exit $ac_status); }; }; then
28293 ac_cv_type_size_t=yes
28294 else
28295 echo "$as_me: failed program was:" >&5
28296 sed 's/^/| /' conftest.$ac_ext >&5
28297
28298 ac_cv_type_size_t=no
28299 fi
28300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28301 fi
28302 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28303 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28304 if test $ac_cv_type_size_t = yes; then
28305 :
28306 else
28307
28308 cat >>confdefs.h <<_ACEOF
28309 #define size_t unsigned
28310 _ACEOF
28311
28312 fi
28313
28314 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28315 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28316 if test "${ac_cv_type_uid_t+set}" = set; then
28317 echo $ECHO_N "(cached) $ECHO_C" >&6
28318 else
28319 cat >conftest.$ac_ext <<_ACEOF
28320 /* confdefs.h. */
28321 _ACEOF
28322 cat confdefs.h >>conftest.$ac_ext
28323 cat >>conftest.$ac_ext <<_ACEOF
28324 /* end confdefs.h. */
28325 #include <sys/types.h>
28326
28327 _ACEOF
28328 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28329 $EGREP "uid_t" >/dev/null 2>&1; then
28330 ac_cv_type_uid_t=yes
28331 else
28332 ac_cv_type_uid_t=no
28333 fi
28334 rm -f conftest*
28335
28336 fi
28337 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28338 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28339 if test $ac_cv_type_uid_t = no; then
28340
28341 cat >>confdefs.h <<\_ACEOF
28342 #define uid_t int
28343 _ACEOF
28344
28345
28346 cat >>confdefs.h <<\_ACEOF
28347 #define gid_t int
28348 _ACEOF
28349
28350 fi
28351
28352
28353
28354
28355 ac_ext=cc
28356 ac_cpp='$CXXCPP $CPPFLAGS'
28357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28360
28361 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28362 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28363 if test "${wx_cv_size_t_is_uint+set}" = set; then
28364 echo $ECHO_N "(cached) $ECHO_C" >&6
28365 else
28366
28367 cat >conftest.$ac_ext <<_ACEOF
28368 /* confdefs.h. */
28369 _ACEOF
28370 cat confdefs.h >>conftest.$ac_ext
28371 cat >>conftest.$ac_ext <<_ACEOF
28372 /* end confdefs.h. */
28373 #include <stddef.h>
28374 int
28375 main ()
28376 {
28377
28378 return 0; }
28379
28380 struct Foo { void foo(size_t); void foo(unsigned int); };
28381
28382 int bar() {
28383
28384 ;
28385 return 0;
28386 }
28387 _ACEOF
28388 rm -f conftest.$ac_objext
28389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28390 (eval $ac_compile) 2>conftest.er1
28391 ac_status=$?
28392 grep -v '^ *+' conftest.er1 >conftest.err
28393 rm -f conftest.er1
28394 cat conftest.err >&5
28395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28396 (exit $ac_status); } &&
28397 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28399 (eval $ac_try) 2>&5
28400 ac_status=$?
28401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28402 (exit $ac_status); }; } &&
28403 { ac_try='test -s conftest.$ac_objext'
28404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28405 (eval $ac_try) 2>&5
28406 ac_status=$?
28407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28408 (exit $ac_status); }; }; then
28409 wx_cv_size_t_is_uint=no
28410 else
28411 echo "$as_me: failed program was:" >&5
28412 sed 's/^/| /' conftest.$ac_ext >&5
28413
28414 wx_cv_size_t_is_uint=yes
28415
28416 fi
28417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28418
28419
28420 fi
28421 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28422 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28423
28424 if test "$wx_cv_size_t_is_uint" = "yes"; then
28425 cat >>confdefs.h <<\_ACEOF
28426 #define wxSIZE_T_IS_UINT 1
28427 _ACEOF
28428
28429 else
28430 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28431 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28432 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28433 echo $ECHO_N "(cached) $ECHO_C" >&6
28434 else
28435 cat >conftest.$ac_ext <<_ACEOF
28436 /* confdefs.h. */
28437 _ACEOF
28438 cat confdefs.h >>conftest.$ac_ext
28439 cat >>conftest.$ac_ext <<_ACEOF
28440 /* end confdefs.h. */
28441 #include <stddef.h>
28442 int
28443 main ()
28444 {
28445
28446 return 0; }
28447
28448 struct Foo { void foo(size_t); void foo(unsigned long); };
28449
28450 int bar() {
28451
28452 ;
28453 return 0;
28454 }
28455 _ACEOF
28456 rm -f conftest.$ac_objext
28457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28458 (eval $ac_compile) 2>conftest.er1
28459 ac_status=$?
28460 grep -v '^ *+' conftest.er1 >conftest.err
28461 rm -f conftest.er1
28462 cat conftest.err >&5
28463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28464 (exit $ac_status); } &&
28465 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28467 (eval $ac_try) 2>&5
28468 ac_status=$?
28469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28470 (exit $ac_status); }; } &&
28471 { ac_try='test -s conftest.$ac_objext'
28472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28473 (eval $ac_try) 2>&5
28474 ac_status=$?
28475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28476 (exit $ac_status); }; }; then
28477 wx_cv_size_t_is_ulong=no
28478 else
28479 echo "$as_me: failed program was:" >&5
28480 sed 's/^/| /' conftest.$ac_ext >&5
28481
28482 wx_cv_size_t_is_ulong=yes
28483
28484 fi
28485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28486
28487 fi
28488 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28489 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28490
28491 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28492 cat >>confdefs.h <<\_ACEOF
28493 #define wxSIZE_T_IS_ULONG 1
28494 _ACEOF
28495
28496 fi
28497 fi
28498
28499 ac_ext=c
28500 ac_cpp='$CPP $CPPFLAGS'
28501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28504
28505
28506
28507 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28508 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28509 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28510 echo $ECHO_N "(cached) $ECHO_C" >&6
28511 else
28512
28513 cat >conftest.$ac_ext <<_ACEOF
28514 /* confdefs.h. */
28515 _ACEOF
28516 cat confdefs.h >>conftest.$ac_ext
28517 cat >>conftest.$ac_ext <<_ACEOF
28518 /* end confdefs.h. */
28519 #include <pwd.h>
28520 int
28521 main ()
28522 {
28523
28524 char *p;
28525 struct passwd *pw;
28526 p = pw->pw_gecos;
28527
28528 ;
28529 return 0;
28530 }
28531 _ACEOF
28532 rm -f conftest.$ac_objext
28533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28534 (eval $ac_compile) 2>conftest.er1
28535 ac_status=$?
28536 grep -v '^ *+' conftest.er1 >conftest.err
28537 rm -f conftest.er1
28538 cat conftest.err >&5
28539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28540 (exit $ac_status); } &&
28541 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28543 (eval $ac_try) 2>&5
28544 ac_status=$?
28545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28546 (exit $ac_status); }; } &&
28547 { ac_try='test -s conftest.$ac_objext'
28548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28549 (eval $ac_try) 2>&5
28550 ac_status=$?
28551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28552 (exit $ac_status); }; }; then
28553
28554 wx_cv_struct_pw_gecos=yes
28555
28556 else
28557 echo "$as_me: failed program was:" >&5
28558 sed 's/^/| /' conftest.$ac_ext >&5
28559
28560
28561 wx_cv_struct_pw_gecos=no
28562
28563
28564 fi
28565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28566
28567
28568 fi
28569 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28570 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28571
28572 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28573 cat >>confdefs.h <<\_ACEOF
28574 #define HAVE_PW_GECOS 1
28575 _ACEOF
28576
28577 fi
28578
28579
28580 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28581 cat >>confdefs.h <<\_ACEOF
28582 #define wxUSE_WCHAR_T 1
28583 _ACEOF
28584
28585
28586 WCSLEN_FOUND=0
28587 WCHAR_LINK=
28588
28589 for ac_func in wcslen
28590 do
28591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28592 echo "$as_me:$LINENO: checking for $ac_func" >&5
28593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28594 if eval "test \"\${$as_ac_var+set}\" = set"; then
28595 echo $ECHO_N "(cached) $ECHO_C" >&6
28596 else
28597 cat >conftest.$ac_ext <<_ACEOF
28598 /* confdefs.h. */
28599 _ACEOF
28600 cat confdefs.h >>conftest.$ac_ext
28601 cat >>conftest.$ac_ext <<_ACEOF
28602 /* end confdefs.h. */
28603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28605 #define $ac_func innocuous_$ac_func
28606
28607 /* System header to define __stub macros and hopefully few prototypes,
28608 which can conflict with char $ac_func (); below.
28609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28610 <limits.h> exists even on freestanding compilers. */
28611
28612 #ifdef __STDC__
28613 # include <limits.h>
28614 #else
28615 # include <assert.h>
28616 #endif
28617
28618 #undef $ac_func
28619
28620 /* Override any gcc2 internal prototype to avoid an error. */
28621 #ifdef __cplusplus
28622 extern "C"
28623 {
28624 #endif
28625 /* We use char because int might match the return type of a gcc2
28626 builtin and then its argument prototype would still apply. */
28627 char $ac_func ();
28628 /* The GNU C library defines this for functions which it implements
28629 to always fail with ENOSYS. Some functions are actually named
28630 something starting with __ and the normal name is an alias. */
28631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28632 choke me
28633 #else
28634 char (*f) () = $ac_func;
28635 #endif
28636 #ifdef __cplusplus
28637 }
28638 #endif
28639
28640 int
28641 main ()
28642 {
28643 return f != $ac_func;
28644 ;
28645 return 0;
28646 }
28647 _ACEOF
28648 rm -f conftest.$ac_objext conftest$ac_exeext
28649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28650 (eval $ac_link) 2>conftest.er1
28651 ac_status=$?
28652 grep -v '^ *+' conftest.er1 >conftest.err
28653 rm -f conftest.er1
28654 cat conftest.err >&5
28655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28656 (exit $ac_status); } &&
28657 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28659 (eval $ac_try) 2>&5
28660 ac_status=$?
28661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28662 (exit $ac_status); }; } &&
28663 { ac_try='test -s conftest$ac_exeext'
28664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28665 (eval $ac_try) 2>&5
28666 ac_status=$?
28667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28668 (exit $ac_status); }; }; then
28669 eval "$as_ac_var=yes"
28670 else
28671 echo "$as_me: failed program was:" >&5
28672 sed 's/^/| /' conftest.$ac_ext >&5
28673
28674 eval "$as_ac_var=no"
28675 fi
28676 rm -f conftest.err conftest.$ac_objext \
28677 conftest$ac_exeext conftest.$ac_ext
28678 fi
28679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28681 if test `eval echo '${'$as_ac_var'}'` = yes; then
28682 cat >>confdefs.h <<_ACEOF
28683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28684 _ACEOF
28685 WCSLEN_FOUND=1
28686 fi
28687 done
28688
28689
28690 if test "$WCSLEN_FOUND" = 0; then
28691 if test "$TOOLKIT" = "MSW"; then
28692 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28693 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28694 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28695 echo $ECHO_N "(cached) $ECHO_C" >&6
28696 else
28697 ac_check_lib_save_LIBS=$LIBS
28698 LIBS="-lmsvcrt $LIBS"
28699 cat >conftest.$ac_ext <<_ACEOF
28700 /* confdefs.h. */
28701 _ACEOF
28702 cat confdefs.h >>conftest.$ac_ext
28703 cat >>conftest.$ac_ext <<_ACEOF
28704 /* end confdefs.h. */
28705
28706 /* Override any gcc2 internal prototype to avoid an error. */
28707 #ifdef __cplusplus
28708 extern "C"
28709 #endif
28710 /* We use char because int might match the return type of a gcc2
28711 builtin and then its argument prototype would still apply. */
28712 char wcslen ();
28713 int
28714 main ()
28715 {
28716 wcslen ();
28717 ;
28718 return 0;
28719 }
28720 _ACEOF
28721 rm -f conftest.$ac_objext conftest$ac_exeext
28722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28723 (eval $ac_link) 2>conftest.er1
28724 ac_status=$?
28725 grep -v '^ *+' conftest.er1 >conftest.err
28726 rm -f conftest.er1
28727 cat conftest.err >&5
28728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28729 (exit $ac_status); } &&
28730 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28732 (eval $ac_try) 2>&5
28733 ac_status=$?
28734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28735 (exit $ac_status); }; } &&
28736 { ac_try='test -s conftest$ac_exeext'
28737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28738 (eval $ac_try) 2>&5
28739 ac_status=$?
28740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28741 (exit $ac_status); }; }; then
28742 ac_cv_lib_msvcrt_wcslen=yes
28743 else
28744 echo "$as_me: failed program was:" >&5
28745 sed 's/^/| /' conftest.$ac_ext >&5
28746
28747 ac_cv_lib_msvcrt_wcslen=no
28748 fi
28749 rm -f conftest.err conftest.$ac_objext \
28750 conftest$ac_exeext conftest.$ac_ext
28751 LIBS=$ac_check_lib_save_LIBS
28752 fi
28753 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28754 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28755 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28756 WCHAR_OK=1
28757 fi
28758
28759 else
28760 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28761 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28762 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28763 echo $ECHO_N "(cached) $ECHO_C" >&6
28764 else
28765 ac_check_lib_save_LIBS=$LIBS
28766 LIBS="-lw $LIBS"
28767 cat >conftest.$ac_ext <<_ACEOF
28768 /* confdefs.h. */
28769 _ACEOF
28770 cat confdefs.h >>conftest.$ac_ext
28771 cat >>conftest.$ac_ext <<_ACEOF
28772 /* end confdefs.h. */
28773
28774 /* Override any gcc2 internal prototype to avoid an error. */
28775 #ifdef __cplusplus
28776 extern "C"
28777 #endif
28778 /* We use char because int might match the return type of a gcc2
28779 builtin and then its argument prototype would still apply. */
28780 char wcslen ();
28781 int
28782 main ()
28783 {
28784 wcslen ();
28785 ;
28786 return 0;
28787 }
28788 _ACEOF
28789 rm -f conftest.$ac_objext conftest$ac_exeext
28790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28791 (eval $ac_link) 2>conftest.er1
28792 ac_status=$?
28793 grep -v '^ *+' conftest.er1 >conftest.err
28794 rm -f conftest.er1
28795 cat conftest.err >&5
28796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28797 (exit $ac_status); } &&
28798 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28800 (eval $ac_try) 2>&5
28801 ac_status=$?
28802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28803 (exit $ac_status); }; } &&
28804 { ac_try='test -s conftest$ac_exeext'
28805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28806 (eval $ac_try) 2>&5
28807 ac_status=$?
28808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28809 (exit $ac_status); }; }; then
28810 ac_cv_lib_w_wcslen=yes
28811 else
28812 echo "$as_me: failed program was:" >&5
28813 sed 's/^/| /' conftest.$ac_ext >&5
28814
28815 ac_cv_lib_w_wcslen=no
28816 fi
28817 rm -f conftest.err conftest.$ac_objext \
28818 conftest$ac_exeext conftest.$ac_ext
28819 LIBS=$ac_check_lib_save_LIBS
28820 fi
28821 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
28822 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
28823 if test $ac_cv_lib_w_wcslen = yes; then
28824
28825 WCHAR_LINK=" -lw"
28826 WCSLEN_FOUND=1
28827
28828 fi
28829
28830 fi
28831 fi
28832
28833 if test "$WCSLEN_FOUND" = 1; then
28834 cat >>confdefs.h <<\_ACEOF
28835 #define HAVE_WCSLEN 1
28836 _ACEOF
28837
28838 fi
28839
28840
28841 for ac_func in wcsrtombs
28842 do
28843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28844 echo "$as_me:$LINENO: checking for $ac_func" >&5
28845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28846 if eval "test \"\${$as_ac_var+set}\" = set"; then
28847 echo $ECHO_N "(cached) $ECHO_C" >&6
28848 else
28849 cat >conftest.$ac_ext <<_ACEOF
28850 /* confdefs.h. */
28851 _ACEOF
28852 cat confdefs.h >>conftest.$ac_ext
28853 cat >>conftest.$ac_ext <<_ACEOF
28854 /* end confdefs.h. */
28855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28857 #define $ac_func innocuous_$ac_func
28858
28859 /* System header to define __stub macros and hopefully few prototypes,
28860 which can conflict with char $ac_func (); below.
28861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28862 <limits.h> exists even on freestanding compilers. */
28863
28864 #ifdef __STDC__
28865 # include <limits.h>
28866 #else
28867 # include <assert.h>
28868 #endif
28869
28870 #undef $ac_func
28871
28872 /* Override any gcc2 internal prototype to avoid an error. */
28873 #ifdef __cplusplus
28874 extern "C"
28875 {
28876 #endif
28877 /* We use char because int might match the return type of a gcc2
28878 builtin and then its argument prototype would still apply. */
28879 char $ac_func ();
28880 /* The GNU C library defines this for functions which it implements
28881 to always fail with ENOSYS. Some functions are actually named
28882 something starting with __ and the normal name is an alias. */
28883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28884 choke me
28885 #else
28886 char (*f) () = $ac_func;
28887 #endif
28888 #ifdef __cplusplus
28889 }
28890 #endif
28891
28892 int
28893 main ()
28894 {
28895 return f != $ac_func;
28896 ;
28897 return 0;
28898 }
28899 _ACEOF
28900 rm -f conftest.$ac_objext conftest$ac_exeext
28901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28902 (eval $ac_link) 2>conftest.er1
28903 ac_status=$?
28904 grep -v '^ *+' conftest.er1 >conftest.err
28905 rm -f conftest.er1
28906 cat conftest.err >&5
28907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28908 (exit $ac_status); } &&
28909 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28911 (eval $ac_try) 2>&5
28912 ac_status=$?
28913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28914 (exit $ac_status); }; } &&
28915 { ac_try='test -s conftest$ac_exeext'
28916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28917 (eval $ac_try) 2>&5
28918 ac_status=$?
28919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28920 (exit $ac_status); }; }; then
28921 eval "$as_ac_var=yes"
28922 else
28923 echo "$as_me: failed program was:" >&5
28924 sed 's/^/| /' conftest.$ac_ext >&5
28925
28926 eval "$as_ac_var=no"
28927 fi
28928 rm -f conftest.err conftest.$ac_objext \
28929 conftest$ac_exeext conftest.$ac_ext
28930 fi
28931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28933 if test `eval echo '${'$as_ac_var'}'` = yes; then
28934 cat >>confdefs.h <<_ACEOF
28935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28936 _ACEOF
28937
28938 fi
28939 done
28940
28941 else
28942 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
28943 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
28944 fi
28945
28946
28947
28948 ac_ext=cc
28949 ac_cpp='$CXXCPP $CPPFLAGS'
28950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28953
28954
28955
28956 for ac_func in vsnprintf
28957 do
28958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28959 echo "$as_me:$LINENO: checking for $ac_func" >&5
28960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28961 if eval "test \"\${$as_ac_var+set}\" = set"; then
28962 echo $ECHO_N "(cached) $ECHO_C" >&6
28963 else
28964 cat >conftest.$ac_ext <<_ACEOF
28965 /* confdefs.h. */
28966 _ACEOF
28967 cat confdefs.h >>conftest.$ac_ext
28968 cat >>conftest.$ac_ext <<_ACEOF
28969 /* end confdefs.h. */
28970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28972 #define $ac_func innocuous_$ac_func
28973
28974 /* System header to define __stub macros and hopefully few prototypes,
28975 which can conflict with char $ac_func (); below.
28976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28977 <limits.h> exists even on freestanding compilers. */
28978
28979 #ifdef __STDC__
28980 # include <limits.h>
28981 #else
28982 # include <assert.h>
28983 #endif
28984
28985 #undef $ac_func
28986
28987 /* Override any gcc2 internal prototype to avoid an error. */
28988 #ifdef __cplusplus
28989 extern "C"
28990 {
28991 #endif
28992 /* We use char because int might match the return type of a gcc2
28993 builtin and then its argument prototype would still apply. */
28994 char $ac_func ();
28995 /* The GNU C library defines this for functions which it implements
28996 to always fail with ENOSYS. Some functions are actually named
28997 something starting with __ and the normal name is an alias. */
28998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28999 choke me
29000 #else
29001 char (*f) () = $ac_func;
29002 #endif
29003 #ifdef __cplusplus
29004 }
29005 #endif
29006
29007 int
29008 main ()
29009 {
29010 return f != $ac_func;
29011 ;
29012 return 0;
29013 }
29014 _ACEOF
29015 rm -f conftest.$ac_objext conftest$ac_exeext
29016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29017 (eval $ac_link) 2>conftest.er1
29018 ac_status=$?
29019 grep -v '^ *+' conftest.er1 >conftest.err
29020 rm -f conftest.er1
29021 cat conftest.err >&5
29022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29023 (exit $ac_status); } &&
29024 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29026 (eval $ac_try) 2>&5
29027 ac_status=$?
29028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29029 (exit $ac_status); }; } &&
29030 { ac_try='test -s conftest$ac_exeext'
29031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29032 (eval $ac_try) 2>&5
29033 ac_status=$?
29034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29035 (exit $ac_status); }; }; then
29036 eval "$as_ac_var=yes"
29037 else
29038 echo "$as_me: failed program was:" >&5
29039 sed 's/^/| /' conftest.$ac_ext >&5
29040
29041 eval "$as_ac_var=no"
29042 fi
29043 rm -f conftest.err conftest.$ac_objext \
29044 conftest$ac_exeext conftest.$ac_ext
29045 fi
29046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29048 if test `eval echo '${'$as_ac_var'}'` = yes; then
29049 cat >>confdefs.h <<_ACEOF
29050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29051 _ACEOF
29052
29053 fi
29054 done
29055
29056
29057 if test "$ac_cv_func_vsnprintf" = "yes"; then
29058 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29059 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29060 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29061 echo $ECHO_N "(cached) $ECHO_C" >&6
29062 else
29063
29064 cat >conftest.$ac_ext <<_ACEOF
29065 /* confdefs.h. */
29066 _ACEOF
29067 cat confdefs.h >>conftest.$ac_ext
29068 cat >>conftest.$ac_ext <<_ACEOF
29069 /* end confdefs.h. */
29070
29071 #include <stdio.h>
29072 #include <stdarg.h>
29073
29074 int
29075 main ()
29076 {
29077
29078 char *buf;
29079 va_list ap;
29080 vsnprintf(buf, 10u, "%s", ap);
29081
29082 ;
29083 return 0;
29084 }
29085 _ACEOF
29086 rm -f conftest.$ac_objext
29087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29088 (eval $ac_compile) 2>conftest.er1
29089 ac_status=$?
29090 grep -v '^ *+' conftest.er1 >conftest.err
29091 rm -f conftest.er1
29092 cat conftest.err >&5
29093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29094 (exit $ac_status); } &&
29095 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29097 (eval $ac_try) 2>&5
29098 ac_status=$?
29099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29100 (exit $ac_status); }; } &&
29101 { ac_try='test -s conftest.$ac_objext'
29102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29103 (eval $ac_try) 2>&5
29104 ac_status=$?
29105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29106 (exit $ac_status); }; }; then
29107 wx_cv_func_vsnprintf_decl=yes
29108 else
29109 echo "$as_me: failed program was:" >&5
29110 sed 's/^/| /' conftest.$ac_ext >&5
29111
29112 wx_cv_func_vsnprintf_decl=no
29113
29114 fi
29115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29116
29117
29118 fi
29119 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29120 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29121
29122 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29123 cat >>confdefs.h <<\_ACEOF
29124 #define HAVE_VSNPRINTF_DECL 1
29125 _ACEOF
29126
29127 fi
29128 fi
29129
29130 if test "$wxUSE_UNICODE" = yes; then
29131
29132
29133
29134 for ac_func in fputwc wprintf vswprintf
29135 do
29136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29137 echo "$as_me:$LINENO: checking for $ac_func" >&5
29138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29139 if eval "test \"\${$as_ac_var+set}\" = set"; then
29140 echo $ECHO_N "(cached) $ECHO_C" >&6
29141 else
29142 cat >conftest.$ac_ext <<_ACEOF
29143 /* confdefs.h. */
29144 _ACEOF
29145 cat confdefs.h >>conftest.$ac_ext
29146 cat >>conftest.$ac_ext <<_ACEOF
29147 /* end confdefs.h. */
29148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29150 #define $ac_func innocuous_$ac_func
29151
29152 /* System header to define __stub macros and hopefully few prototypes,
29153 which can conflict with char $ac_func (); below.
29154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29155 <limits.h> exists even on freestanding compilers. */
29156
29157 #ifdef __STDC__
29158 # include <limits.h>
29159 #else
29160 # include <assert.h>
29161 #endif
29162
29163 #undef $ac_func
29164
29165 /* Override any gcc2 internal prototype to avoid an error. */
29166 #ifdef __cplusplus
29167 extern "C"
29168 {
29169 #endif
29170 /* We use char because int might match the return type of a gcc2
29171 builtin and then its argument prototype would still apply. */
29172 char $ac_func ();
29173 /* The GNU C library defines this for functions which it implements
29174 to always fail with ENOSYS. Some functions are actually named
29175 something starting with __ and the normal name is an alias. */
29176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29177 choke me
29178 #else
29179 char (*f) () = $ac_func;
29180 #endif
29181 #ifdef __cplusplus
29182 }
29183 #endif
29184
29185 int
29186 main ()
29187 {
29188 return f != $ac_func;
29189 ;
29190 return 0;
29191 }
29192 _ACEOF
29193 rm -f conftest.$ac_objext conftest$ac_exeext
29194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29195 (eval $ac_link) 2>conftest.er1
29196 ac_status=$?
29197 grep -v '^ *+' conftest.er1 >conftest.err
29198 rm -f conftest.er1
29199 cat conftest.err >&5
29200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29201 (exit $ac_status); } &&
29202 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29204 (eval $ac_try) 2>&5
29205 ac_status=$?
29206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29207 (exit $ac_status); }; } &&
29208 { ac_try='test -s conftest$ac_exeext'
29209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29210 (eval $ac_try) 2>&5
29211 ac_status=$?
29212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29213 (exit $ac_status); }; }; then
29214 eval "$as_ac_var=yes"
29215 else
29216 echo "$as_me: failed program was:" >&5
29217 sed 's/^/| /' conftest.$ac_ext >&5
29218
29219 eval "$as_ac_var=no"
29220 fi
29221 rm -f conftest.err conftest.$ac_objext \
29222 conftest$ac_exeext conftest.$ac_ext
29223 fi
29224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29226 if test `eval echo '${'$as_ac_var'}'` = yes; then
29227 cat >>confdefs.h <<_ACEOF
29228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29229 _ACEOF
29230
29231 fi
29232 done
29233
29234
29235 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29236 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29237 cat >conftest.$ac_ext <<_ACEOF
29238 /* confdefs.h. */
29239 _ACEOF
29240 cat confdefs.h >>conftest.$ac_ext
29241 cat >>conftest.$ac_ext <<_ACEOF
29242 /* end confdefs.h. */
29243 #include <wchar.h>
29244 int
29245 main ()
29246 {
29247 &_vsnwprintf;
29248 ;
29249 return 0;
29250 }
29251 _ACEOF
29252 rm -f conftest.$ac_objext
29253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29254 (eval $ac_compile) 2>conftest.er1
29255 ac_status=$?
29256 grep -v '^ *+' conftest.er1 >conftest.err
29257 rm -f conftest.er1
29258 cat conftest.err >&5
29259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29260 (exit $ac_status); } &&
29261 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29263 (eval $ac_try) 2>&5
29264 ac_status=$?
29265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29266 (exit $ac_status); }; } &&
29267 { ac_try='test -s conftest.$ac_objext'
29268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29269 (eval $ac_try) 2>&5
29270 ac_status=$?
29271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29272 (exit $ac_status); }; }; then
29273 echo "$as_me:$LINENO: result: yes" >&5
29274 echo "${ECHO_T}yes" >&6
29275 cat >>confdefs.h <<\_ACEOF
29276 #define HAVE__VSNWPRINTF 1
29277 _ACEOF
29278
29279 else
29280 echo "$as_me: failed program was:" >&5
29281 sed 's/^/| /' conftest.$ac_ext >&5
29282
29283 echo "$as_me:$LINENO: result: no" >&5
29284 echo "${ECHO_T}no" >&6
29285 fi
29286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
29287 fi
29288
29289 ac_ext=c
29290 ac_cpp='$CPP $CPPFLAGS'
29291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29294
29295
29296
29297
29298 if test "$TOOLKIT" != "MSW"; then
29299
29300
29301
29302
29303 ac_ext=cc
29304 ac_cpp='$CXXCPP $CPPFLAGS'
29305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29308
29309
29310
29311
29312 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29313 if test "${with_libiconv_prefix+set}" = set; then
29314 withval="$with_libiconv_prefix"
29315
29316 for dir in `echo "$withval" | tr : ' '`; do
29317 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
29318 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
29319 done
29320
29321 fi;
29322
29323 echo "$as_me:$LINENO: checking for iconv" >&5
29324 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29325 if test "${am_cv_func_iconv+set}" = set; then
29326 echo $ECHO_N "(cached) $ECHO_C" >&6
29327 else
29328
29329 am_cv_func_iconv="no, consider installing GNU libiconv"
29330 am_cv_lib_iconv=no
29331 cat >conftest.$ac_ext <<_ACEOF
29332 /* confdefs.h. */
29333 _ACEOF
29334 cat confdefs.h >>conftest.$ac_ext
29335 cat >>conftest.$ac_ext <<_ACEOF
29336 /* end confdefs.h. */
29337 #include <stdlib.h>
29338 #include <iconv.h>
29339 int
29340 main ()
29341 {
29342 iconv_t cd = iconv_open("","");
29343 iconv(cd,NULL,NULL,NULL,NULL);
29344 iconv_close(cd);
29345 ;
29346 return 0;
29347 }
29348 _ACEOF
29349 rm -f conftest.$ac_objext conftest$ac_exeext
29350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29351 (eval $ac_link) 2>conftest.er1
29352 ac_status=$?
29353 grep -v '^ *+' conftest.er1 >conftest.err
29354 rm -f conftest.er1
29355 cat conftest.err >&5
29356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29357 (exit $ac_status); } &&
29358 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29360 (eval $ac_try) 2>&5
29361 ac_status=$?
29362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29363 (exit $ac_status); }; } &&
29364 { ac_try='test -s conftest$ac_exeext'
29365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29366 (eval $ac_try) 2>&5
29367 ac_status=$?
29368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29369 (exit $ac_status); }; }; then
29370 am_cv_func_iconv=yes
29371 else
29372 echo "$as_me: failed program was:" >&5
29373 sed 's/^/| /' conftest.$ac_ext >&5
29374
29375 fi
29376 rm -f conftest.err conftest.$ac_objext \
29377 conftest$ac_exeext conftest.$ac_ext
29378 if test "$am_cv_func_iconv" != yes; then
29379 am_save_LIBS="$LIBS"
29380 LIBS="$LIBS -liconv"
29381 cat >conftest.$ac_ext <<_ACEOF
29382 /* confdefs.h. */
29383 _ACEOF
29384 cat confdefs.h >>conftest.$ac_ext
29385 cat >>conftest.$ac_ext <<_ACEOF
29386 /* end confdefs.h. */
29387 #include <stdlib.h>
29388 #include <iconv.h>
29389 int
29390 main ()
29391 {
29392 iconv_t cd = iconv_open("","");
29393 iconv(cd,NULL,NULL,NULL,NULL);
29394 iconv_close(cd);
29395 ;
29396 return 0;
29397 }
29398 _ACEOF
29399 rm -f conftest.$ac_objext conftest$ac_exeext
29400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29401 (eval $ac_link) 2>conftest.er1
29402 ac_status=$?
29403 grep -v '^ *+' conftest.er1 >conftest.err
29404 rm -f conftest.er1
29405 cat conftest.err >&5
29406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29407 (exit $ac_status); } &&
29408 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29410 (eval $ac_try) 2>&5
29411 ac_status=$?
29412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29413 (exit $ac_status); }; } &&
29414 { ac_try='test -s conftest$ac_exeext'
29415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29416 (eval $ac_try) 2>&5
29417 ac_status=$?
29418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29419 (exit $ac_status); }; }; then
29420 am_cv_lib_iconv=yes
29421 am_cv_func_iconv=yes
29422 else
29423 echo "$as_me: failed program was:" >&5
29424 sed 's/^/| /' conftest.$ac_ext >&5
29425
29426 fi
29427 rm -f conftest.err conftest.$ac_objext \
29428 conftest$ac_exeext conftest.$ac_ext
29429 LIBS="$am_save_LIBS"
29430 fi
29431
29432 fi
29433 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29434 echo "${ECHO_T}$am_cv_func_iconv" >&6
29435 if test "$am_cv_func_iconv" = yes; then
29436
29437 cat >>confdefs.h <<\_ACEOF
29438 #define HAVE_ICONV 1
29439 _ACEOF
29440
29441 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29442 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29443 if test "${wx_cv_func_iconv_const+set}" = set; then
29444 echo $ECHO_N "(cached) $ECHO_C" >&6
29445 else
29446 cat >conftest.$ac_ext <<_ACEOF
29447 /* confdefs.h. */
29448 _ACEOF
29449 cat confdefs.h >>conftest.$ac_ext
29450 cat >>conftest.$ac_ext <<_ACEOF
29451 /* end confdefs.h. */
29452
29453 #include <stdlib.h>
29454 #include <iconv.h>
29455 extern
29456 #ifdef __cplusplus
29457 "C"
29458 #endif
29459 #if defined(__STDC__) || defined(__cplusplus)
29460 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29461 #else
29462 size_t iconv();
29463 #endif
29464
29465 int
29466 main ()
29467 {
29468
29469 ;
29470 return 0;
29471 }
29472 _ACEOF
29473 rm -f conftest.$ac_objext
29474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29475 (eval $ac_compile) 2>conftest.er1
29476 ac_status=$?
29477 grep -v '^ *+' conftest.er1 >conftest.err
29478 rm -f conftest.er1
29479 cat conftest.err >&5
29480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29481 (exit $ac_status); } &&
29482 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29484 (eval $ac_try) 2>&5
29485 ac_status=$?
29486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29487 (exit $ac_status); }; } &&
29488 { ac_try='test -s conftest.$ac_objext'
29489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29490 (eval $ac_try) 2>&5
29491 ac_status=$?
29492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29493 (exit $ac_status); }; }; then
29494 wx_cv_func_iconv_const="no"
29495 else
29496 echo "$as_me: failed program was:" >&5
29497 sed 's/^/| /' conftest.$ac_ext >&5
29498
29499 wx_cv_func_iconv_const="yes"
29500
29501 fi
29502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29503
29504 fi
29505 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29506 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29507
29508 iconv_const=
29509 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29510 iconv_const="const"
29511 fi
29512
29513
29514 cat >>confdefs.h <<_ACEOF
29515 #define ICONV_CONST $iconv_const
29516 _ACEOF
29517
29518 fi
29519 LIBICONV=
29520 if test "$am_cv_lib_iconv" = yes; then
29521 LIBICONV="-liconv"
29522 fi
29523
29524
29525 LIBS="$LIBICONV $LIBS"
29526 ac_ext=c
29527 ac_cpp='$CPP $CPPFLAGS'
29528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29531
29532
29533 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29534
29535 for ac_func in sigaction
29536 do
29537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29538 echo "$as_me:$LINENO: checking for $ac_func" >&5
29539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29540 if eval "test \"\${$as_ac_var+set}\" = set"; then
29541 echo $ECHO_N "(cached) $ECHO_C" >&6
29542 else
29543 cat >conftest.$ac_ext <<_ACEOF
29544 /* confdefs.h. */
29545 _ACEOF
29546 cat confdefs.h >>conftest.$ac_ext
29547 cat >>conftest.$ac_ext <<_ACEOF
29548 /* end confdefs.h. */
29549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29551 #define $ac_func innocuous_$ac_func
29552
29553 /* System header to define __stub macros and hopefully few prototypes,
29554 which can conflict with char $ac_func (); below.
29555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29556 <limits.h> exists even on freestanding compilers. */
29557
29558 #ifdef __STDC__
29559 # include <limits.h>
29560 #else
29561 # include <assert.h>
29562 #endif
29563
29564 #undef $ac_func
29565
29566 /* Override any gcc2 internal prototype to avoid an error. */
29567 #ifdef __cplusplus
29568 extern "C"
29569 {
29570 #endif
29571 /* We use char because int might match the return type of a gcc2
29572 builtin and then its argument prototype would still apply. */
29573 char $ac_func ();
29574 /* The GNU C library defines this for functions which it implements
29575 to always fail with ENOSYS. Some functions are actually named
29576 something starting with __ and the normal name is an alias. */
29577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29578 choke me
29579 #else
29580 char (*f) () = $ac_func;
29581 #endif
29582 #ifdef __cplusplus
29583 }
29584 #endif
29585
29586 int
29587 main ()
29588 {
29589 return f != $ac_func;
29590 ;
29591 return 0;
29592 }
29593 _ACEOF
29594 rm -f conftest.$ac_objext conftest$ac_exeext
29595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29596 (eval $ac_link) 2>conftest.er1
29597 ac_status=$?
29598 grep -v '^ *+' conftest.er1 >conftest.err
29599 rm -f conftest.er1
29600 cat conftest.err >&5
29601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29602 (exit $ac_status); } &&
29603 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29605 (eval $ac_try) 2>&5
29606 ac_status=$?
29607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29608 (exit $ac_status); }; } &&
29609 { ac_try='test -s conftest$ac_exeext'
29610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29611 (eval $ac_try) 2>&5
29612 ac_status=$?
29613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29614 (exit $ac_status); }; }; then
29615 eval "$as_ac_var=yes"
29616 else
29617 echo "$as_me: failed program was:" >&5
29618 sed 's/^/| /' conftest.$ac_ext >&5
29619
29620 eval "$as_ac_var=no"
29621 fi
29622 rm -f conftest.err conftest.$ac_objext \
29623 conftest$ac_exeext conftest.$ac_ext
29624 fi
29625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29627 if test `eval echo '${'$as_ac_var'}'` = yes; then
29628 cat >>confdefs.h <<_ACEOF
29629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29630 _ACEOF
29631
29632 fi
29633 done
29634
29635
29636 if test "$ac_cv_func_sigaction" = "no"; then
29637 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29638 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29639 wxUSE_ON_FATAL_EXCEPTION=no
29640 fi
29641
29642 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29643
29644
29645 ac_ext=cc
29646 ac_cpp='$CXXCPP $CPPFLAGS'
29647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29650
29651
29652 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29653 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29654 if test "${wx_cv_type_sa_handler+set}" = set; then
29655 echo $ECHO_N "(cached) $ECHO_C" >&6
29656 else
29657
29658 cat >conftest.$ac_ext <<_ACEOF
29659 /* confdefs.h. */
29660 _ACEOF
29661 cat confdefs.h >>conftest.$ac_ext
29662 cat >>conftest.$ac_ext <<_ACEOF
29663 /* end confdefs.h. */
29664 #include <signal.h>
29665 int
29666 main ()
29667 {
29668
29669 extern void testSigHandler(int);
29670
29671 struct sigaction sa;
29672 sa.sa_handler = testSigHandler;
29673
29674 ;
29675 return 0;
29676 }
29677 _ACEOF
29678 rm -f conftest.$ac_objext
29679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29680 (eval $ac_compile) 2>conftest.er1
29681 ac_status=$?
29682 grep -v '^ *+' conftest.er1 >conftest.err
29683 rm -f conftest.er1
29684 cat conftest.err >&5
29685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29686 (exit $ac_status); } &&
29687 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29689 (eval $ac_try) 2>&5
29690 ac_status=$?
29691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29692 (exit $ac_status); }; } &&
29693 { ac_try='test -s conftest.$ac_objext'
29694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29695 (eval $ac_try) 2>&5
29696 ac_status=$?
29697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29698 (exit $ac_status); }; }; then
29699
29700 wx_cv_type_sa_handler=int
29701
29702 else
29703 echo "$as_me: failed program was:" >&5
29704 sed 's/^/| /' conftest.$ac_ext >&5
29705
29706
29707 wx_cv_type_sa_handler=void
29708
29709 fi
29710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29711
29712 fi
29713 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29714 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29715
29716 ac_ext=c
29717 ac_cpp='$CPP $CPPFLAGS'
29718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29721
29722
29723 cat >>confdefs.h <<_ACEOF
29724 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29725 _ACEOF
29726
29727 fi
29728 fi
29729
29730
29731
29732 for ac_func in mkstemp mktemp
29733 do
29734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29735 echo "$as_me:$LINENO: checking for $ac_func" >&5
29736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29737 if eval "test \"\${$as_ac_var+set}\" = set"; then
29738 echo $ECHO_N "(cached) $ECHO_C" >&6
29739 else
29740 cat >conftest.$ac_ext <<_ACEOF
29741 /* confdefs.h. */
29742 _ACEOF
29743 cat confdefs.h >>conftest.$ac_ext
29744 cat >>conftest.$ac_ext <<_ACEOF
29745 /* end confdefs.h. */
29746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29748 #define $ac_func innocuous_$ac_func
29749
29750 /* System header to define __stub macros and hopefully few prototypes,
29751 which can conflict with char $ac_func (); below.
29752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29753 <limits.h> exists even on freestanding compilers. */
29754
29755 #ifdef __STDC__
29756 # include <limits.h>
29757 #else
29758 # include <assert.h>
29759 #endif
29760
29761 #undef $ac_func
29762
29763 /* Override any gcc2 internal prototype to avoid an error. */
29764 #ifdef __cplusplus
29765 extern "C"
29766 {
29767 #endif
29768 /* We use char because int might match the return type of a gcc2
29769 builtin and then its argument prototype would still apply. */
29770 char $ac_func ();
29771 /* The GNU C library defines this for functions which it implements
29772 to always fail with ENOSYS. Some functions are actually named
29773 something starting with __ and the normal name is an alias. */
29774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29775 choke me
29776 #else
29777 char (*f) () = $ac_func;
29778 #endif
29779 #ifdef __cplusplus
29780 }
29781 #endif
29782
29783 int
29784 main ()
29785 {
29786 return f != $ac_func;
29787 ;
29788 return 0;
29789 }
29790 _ACEOF
29791 rm -f conftest.$ac_objext conftest$ac_exeext
29792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29793 (eval $ac_link) 2>conftest.er1
29794 ac_status=$?
29795 grep -v '^ *+' conftest.er1 >conftest.err
29796 rm -f conftest.er1
29797 cat conftest.err >&5
29798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29799 (exit $ac_status); } &&
29800 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29802 (eval $ac_try) 2>&5
29803 ac_status=$?
29804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29805 (exit $ac_status); }; } &&
29806 { ac_try='test -s conftest$ac_exeext'
29807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29808 (eval $ac_try) 2>&5
29809 ac_status=$?
29810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29811 (exit $ac_status); }; }; then
29812 eval "$as_ac_var=yes"
29813 else
29814 echo "$as_me: failed program was:" >&5
29815 sed 's/^/| /' conftest.$ac_ext >&5
29816
29817 eval "$as_ac_var=no"
29818 fi
29819 rm -f conftest.err conftest.$ac_objext \
29820 conftest$ac_exeext conftest.$ac_ext
29821 fi
29822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29824 if test `eval echo '${'$as_ac_var'}'` = yes; then
29825 cat >>confdefs.h <<_ACEOF
29826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29827 _ACEOF
29828 break
29829 fi
29830 done
29831
29832
29833 echo "$as_me:$LINENO: checking for statfs" >&5
29834 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
29835 if test "${wx_cv_func_statfs+set}" = set; then
29836 echo $ECHO_N "(cached) $ECHO_C" >&6
29837 else
29838 cat >conftest.$ac_ext <<_ACEOF
29839 /* confdefs.h. */
29840 _ACEOF
29841 cat confdefs.h >>conftest.$ac_ext
29842 cat >>conftest.$ac_ext <<_ACEOF
29843 /* end confdefs.h. */
29844
29845 #if defined(__BSD__)
29846 #include <sys/param.h>
29847 #include <sys/mount.h>
29848 #else
29849 #include <sys/vfs.h>
29850 #endif
29851
29852 int
29853 main ()
29854 {
29855
29856 long l;
29857 struct statfs fs;
29858 statfs("/", &fs);
29859 l = fs.f_bsize;
29860 l += fs.f_blocks;
29861 l += fs.f_bavail;
29862
29863 ;
29864 return 0;
29865 }
29866 _ACEOF
29867 rm -f conftest.$ac_objext
29868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29869 (eval $ac_compile) 2>conftest.er1
29870 ac_status=$?
29871 grep -v '^ *+' conftest.er1 >conftest.err
29872 rm -f conftest.er1
29873 cat conftest.err >&5
29874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29875 (exit $ac_status); } &&
29876 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29878 (eval $ac_try) 2>&5
29879 ac_status=$?
29880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29881 (exit $ac_status); }; } &&
29882 { ac_try='test -s conftest.$ac_objext'
29883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29884 (eval $ac_try) 2>&5
29885 ac_status=$?
29886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29887 (exit $ac_status); }; }; then
29888
29889 wx_cv_func_statfs=yes
29890
29891 else
29892 echo "$as_me: failed program was:" >&5
29893 sed 's/^/| /' conftest.$ac_ext >&5
29894
29895
29896 wx_cv_func_statfs=no
29897
29898
29899 fi
29900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29901
29902 fi
29903 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
29904 echo "${ECHO_T}$wx_cv_func_statfs" >&6
29905
29906 if test "$wx_cv_func_statfs" = "yes"; then
29907 wx_cv_type_statvfs_t="struct statfs"
29908 cat >>confdefs.h <<\_ACEOF
29909 #define HAVE_STATFS 1
29910 _ACEOF
29911
29912 else
29913 echo "$as_me:$LINENO: checking for statvfs" >&5
29914 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
29915 if test "${wx_cv_func_statvfs+set}" = set; then
29916 echo $ECHO_N "(cached) $ECHO_C" >&6
29917 else
29918 cat >conftest.$ac_ext <<_ACEOF
29919 /* confdefs.h. */
29920 _ACEOF
29921 cat confdefs.h >>conftest.$ac_ext
29922 cat >>conftest.$ac_ext <<_ACEOF
29923 /* end confdefs.h. */
29924
29925 #include <stddef.h>
29926 #include <sys/statvfs.h>
29927
29928 int
29929 main ()
29930 {
29931
29932 statvfs("/", NULL);
29933
29934 ;
29935 return 0;
29936 }
29937 _ACEOF
29938 rm -f conftest.$ac_objext
29939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29940 (eval $ac_compile) 2>conftest.er1
29941 ac_status=$?
29942 grep -v '^ *+' conftest.er1 >conftest.err
29943 rm -f conftest.er1
29944 cat conftest.err >&5
29945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29946 (exit $ac_status); } &&
29947 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29949 (eval $ac_try) 2>&5
29950 ac_status=$?
29951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29952 (exit $ac_status); }; } &&
29953 { ac_try='test -s conftest.$ac_objext'
29954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29955 (eval $ac_try) 2>&5
29956 ac_status=$?
29957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29958 (exit $ac_status); }; }; then
29959 wx_cv_func_statvfs=yes
29960 else
29961 echo "$as_me: failed program was:" >&5
29962 sed 's/^/| /' conftest.$ac_ext >&5
29963
29964 wx_cv_func_statvfs=no
29965
29966 fi
29967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29968
29969 fi
29970 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
29971 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
29972
29973 if test "$wx_cv_func_statvfs" = "yes"; then
29974
29975
29976 ac_ext=cc
29977 ac_cpp='$CXXCPP $CPPFLAGS'
29978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29981
29982
29983 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
29984 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
29985 if test "${wx_cv_type_statvfs_t+set}" = set; then
29986 echo $ECHO_N "(cached) $ECHO_C" >&6
29987 else
29988 cat >conftest.$ac_ext <<_ACEOF
29989 /* confdefs.h. */
29990 _ACEOF
29991 cat confdefs.h >>conftest.$ac_ext
29992 cat >>conftest.$ac_ext <<_ACEOF
29993 /* end confdefs.h. */
29994
29995 #include <sys/statvfs.h>
29996
29997 int
29998 main ()
29999 {
30000
30001 long l;
30002 statvfs_t fs;
30003 statvfs("/", &fs);
30004 l = fs.f_bsize;
30005 l += fs.f_blocks;
30006 l += fs.f_bavail;
30007
30008 ;
30009 return 0;
30010 }
30011 _ACEOF
30012 rm -f conftest.$ac_objext
30013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30014 (eval $ac_compile) 2>conftest.er1
30015 ac_status=$?
30016 grep -v '^ *+' conftest.er1 >conftest.err
30017 rm -f conftest.er1
30018 cat conftest.err >&5
30019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30020 (exit $ac_status); } &&
30021 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30023 (eval $ac_try) 2>&5
30024 ac_status=$?
30025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30026 (exit $ac_status); }; } &&
30027 { ac_try='test -s conftest.$ac_objext'
30028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30029 (eval $ac_try) 2>&5
30030 ac_status=$?
30031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30032 (exit $ac_status); }; }; then
30033 wx_cv_type_statvfs_t=statvfs_t
30034 else
30035 echo "$as_me: failed program was:" >&5
30036 sed 's/^/| /' conftest.$ac_ext >&5
30037
30038
30039 cat >conftest.$ac_ext <<_ACEOF
30040 /* confdefs.h. */
30041 _ACEOF
30042 cat confdefs.h >>conftest.$ac_ext
30043 cat >>conftest.$ac_ext <<_ACEOF
30044 /* end confdefs.h. */
30045
30046 #include <sys/statvfs.h>
30047
30048 int
30049 main ()
30050 {
30051
30052 long l;
30053 struct statvfs fs;
30054 statvfs("/", &fs);
30055 l = fs.f_bsize;
30056 l += fs.f_blocks;
30057 l += fs.f_bavail;
30058
30059 ;
30060 return 0;
30061 }
30062 _ACEOF
30063 rm -f conftest.$ac_objext
30064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30065 (eval $ac_compile) 2>conftest.er1
30066 ac_status=$?
30067 grep -v '^ *+' conftest.er1 >conftest.err
30068 rm -f conftest.er1
30069 cat conftest.err >&5
30070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30071 (exit $ac_status); } &&
30072 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30074 (eval $ac_try) 2>&5
30075 ac_status=$?
30076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30077 (exit $ac_status); }; } &&
30078 { ac_try='test -s conftest.$ac_objext'
30079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30080 (eval $ac_try) 2>&5
30081 ac_status=$?
30082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30083 (exit $ac_status); }; }; then
30084 wx_cv_type_statvfs_t="struct statvfs"
30085 else
30086 echo "$as_me: failed program was:" >&5
30087 sed 's/^/| /' conftest.$ac_ext >&5
30088
30089 wx_cv_type_statvfs_t="unknown"
30090
30091 fi
30092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30093
30094
30095 fi
30096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30097
30098 fi
30099 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30100 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30101
30102 ac_ext=c
30103 ac_cpp='$CPP $CPPFLAGS'
30104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30107
30108
30109 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30110 cat >>confdefs.h <<\_ACEOF
30111 #define HAVE_STATVFS 1
30112 _ACEOF
30113
30114 fi
30115 else
30116 wx_cv_type_statvfs_t="unknown"
30117 fi
30118 fi
30119
30120 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30121 cat >>confdefs.h <<_ACEOF
30122 #define WX_STATFS_T $wx_cv_type_statvfs_t
30123 _ACEOF
30124
30125 else
30126 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30127 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30128 fi
30129
30130 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30131
30132
30133 for ac_func in fcntl flock
30134 do
30135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30136 echo "$as_me:$LINENO: checking for $ac_func" >&5
30137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30138 if eval "test \"\${$as_ac_var+set}\" = set"; then
30139 echo $ECHO_N "(cached) $ECHO_C" >&6
30140 else
30141 cat >conftest.$ac_ext <<_ACEOF
30142 /* confdefs.h. */
30143 _ACEOF
30144 cat confdefs.h >>conftest.$ac_ext
30145 cat >>conftest.$ac_ext <<_ACEOF
30146 /* end confdefs.h. */
30147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30149 #define $ac_func innocuous_$ac_func
30150
30151 /* System header to define __stub macros and hopefully few prototypes,
30152 which can conflict with char $ac_func (); below.
30153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30154 <limits.h> exists even on freestanding compilers. */
30155
30156 #ifdef __STDC__
30157 # include <limits.h>
30158 #else
30159 # include <assert.h>
30160 #endif
30161
30162 #undef $ac_func
30163
30164 /* Override any gcc2 internal prototype to avoid an error. */
30165 #ifdef __cplusplus
30166 extern "C"
30167 {
30168 #endif
30169 /* We use char because int might match the return type of a gcc2
30170 builtin and then its argument prototype would still apply. */
30171 char $ac_func ();
30172 /* The GNU C library defines this for functions which it implements
30173 to always fail with ENOSYS. Some functions are actually named
30174 something starting with __ and the normal name is an alias. */
30175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30176 choke me
30177 #else
30178 char (*f) () = $ac_func;
30179 #endif
30180 #ifdef __cplusplus
30181 }
30182 #endif
30183
30184 int
30185 main ()
30186 {
30187 return f != $ac_func;
30188 ;
30189 return 0;
30190 }
30191 _ACEOF
30192 rm -f conftest.$ac_objext conftest$ac_exeext
30193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30194 (eval $ac_link) 2>conftest.er1
30195 ac_status=$?
30196 grep -v '^ *+' conftest.er1 >conftest.err
30197 rm -f conftest.er1
30198 cat conftest.err >&5
30199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30200 (exit $ac_status); } &&
30201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30203 (eval $ac_try) 2>&5
30204 ac_status=$?
30205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30206 (exit $ac_status); }; } &&
30207 { ac_try='test -s conftest$ac_exeext'
30208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30209 (eval $ac_try) 2>&5
30210 ac_status=$?
30211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30212 (exit $ac_status); }; }; then
30213 eval "$as_ac_var=yes"
30214 else
30215 echo "$as_me: failed program was:" >&5
30216 sed 's/^/| /' conftest.$ac_ext >&5
30217
30218 eval "$as_ac_var=no"
30219 fi
30220 rm -f conftest.err conftest.$ac_objext \
30221 conftest$ac_exeext conftest.$ac_ext
30222 fi
30223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30225 if test `eval echo '${'$as_ac_var'}'` = yes; then
30226 cat >>confdefs.h <<_ACEOF
30227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30228 _ACEOF
30229 break
30230 fi
30231 done
30232
30233
30234 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30235 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30236 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30237 wxUSE_SNGLINST_CHECKER=no
30238 fi
30239 fi
30240
30241
30242 for ac_func in timegm
30243 do
30244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30245 echo "$as_me:$LINENO: checking for $ac_func" >&5
30246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30247 if eval "test \"\${$as_ac_var+set}\" = set"; then
30248 echo $ECHO_N "(cached) $ECHO_C" >&6
30249 else
30250 cat >conftest.$ac_ext <<_ACEOF
30251 /* confdefs.h. */
30252 _ACEOF
30253 cat confdefs.h >>conftest.$ac_ext
30254 cat >>conftest.$ac_ext <<_ACEOF
30255 /* end confdefs.h. */
30256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30258 #define $ac_func innocuous_$ac_func
30259
30260 /* System header to define __stub macros and hopefully few prototypes,
30261 which can conflict with char $ac_func (); below.
30262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30263 <limits.h> exists even on freestanding compilers. */
30264
30265 #ifdef __STDC__
30266 # include <limits.h>
30267 #else
30268 # include <assert.h>
30269 #endif
30270
30271 #undef $ac_func
30272
30273 /* Override any gcc2 internal prototype to avoid an error. */
30274 #ifdef __cplusplus
30275 extern "C"
30276 {
30277 #endif
30278 /* We use char because int might match the return type of a gcc2
30279 builtin and then its argument prototype would still apply. */
30280 char $ac_func ();
30281 /* The GNU C library defines this for functions which it implements
30282 to always fail with ENOSYS. Some functions are actually named
30283 something starting with __ and the normal name is an alias. */
30284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30285 choke me
30286 #else
30287 char (*f) () = $ac_func;
30288 #endif
30289 #ifdef __cplusplus
30290 }
30291 #endif
30292
30293 int
30294 main ()
30295 {
30296 return f != $ac_func;
30297 ;
30298 return 0;
30299 }
30300 _ACEOF
30301 rm -f conftest.$ac_objext conftest$ac_exeext
30302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30303 (eval $ac_link) 2>conftest.er1
30304 ac_status=$?
30305 grep -v '^ *+' conftest.er1 >conftest.err
30306 rm -f conftest.er1
30307 cat conftest.err >&5
30308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30309 (exit $ac_status); } &&
30310 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30312 (eval $ac_try) 2>&5
30313 ac_status=$?
30314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30315 (exit $ac_status); }; } &&
30316 { ac_try='test -s conftest$ac_exeext'
30317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30318 (eval $ac_try) 2>&5
30319 ac_status=$?
30320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30321 (exit $ac_status); }; }; then
30322 eval "$as_ac_var=yes"
30323 else
30324 echo "$as_me: failed program was:" >&5
30325 sed 's/^/| /' conftest.$ac_ext >&5
30326
30327 eval "$as_ac_var=no"
30328 fi
30329 rm -f conftest.err conftest.$ac_objext \
30330 conftest$ac_exeext conftest.$ac_ext
30331 fi
30332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30334 if test `eval echo '${'$as_ac_var'}'` = yes; then
30335 cat >>confdefs.h <<_ACEOF
30336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30337 _ACEOF
30338
30339 fi
30340 done
30341
30342
30343
30344
30345 for ac_func in putenv setenv
30346 do
30347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30348 echo "$as_me:$LINENO: checking for $ac_func" >&5
30349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30350 if eval "test \"\${$as_ac_var+set}\" = set"; then
30351 echo $ECHO_N "(cached) $ECHO_C" >&6
30352 else
30353 cat >conftest.$ac_ext <<_ACEOF
30354 /* confdefs.h. */
30355 _ACEOF
30356 cat confdefs.h >>conftest.$ac_ext
30357 cat >>conftest.$ac_ext <<_ACEOF
30358 /* end confdefs.h. */
30359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30361 #define $ac_func innocuous_$ac_func
30362
30363 /* System header to define __stub macros and hopefully few prototypes,
30364 which can conflict with char $ac_func (); below.
30365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30366 <limits.h> exists even on freestanding compilers. */
30367
30368 #ifdef __STDC__
30369 # include <limits.h>
30370 #else
30371 # include <assert.h>
30372 #endif
30373
30374 #undef $ac_func
30375
30376 /* Override any gcc2 internal prototype to avoid an error. */
30377 #ifdef __cplusplus
30378 extern "C"
30379 {
30380 #endif
30381 /* We use char because int might match the return type of a gcc2
30382 builtin and then its argument prototype would still apply. */
30383 char $ac_func ();
30384 /* The GNU C library defines this for functions which it implements
30385 to always fail with ENOSYS. Some functions are actually named
30386 something starting with __ and the normal name is an alias. */
30387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30388 choke me
30389 #else
30390 char (*f) () = $ac_func;
30391 #endif
30392 #ifdef __cplusplus
30393 }
30394 #endif
30395
30396 int
30397 main ()
30398 {
30399 return f != $ac_func;
30400 ;
30401 return 0;
30402 }
30403 _ACEOF
30404 rm -f conftest.$ac_objext conftest$ac_exeext
30405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30406 (eval $ac_link) 2>conftest.er1
30407 ac_status=$?
30408 grep -v '^ *+' conftest.er1 >conftest.err
30409 rm -f conftest.er1
30410 cat conftest.err >&5
30411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30412 (exit $ac_status); } &&
30413 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30415 (eval $ac_try) 2>&5
30416 ac_status=$?
30417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30418 (exit $ac_status); }; } &&
30419 { ac_try='test -s conftest$ac_exeext'
30420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30421 (eval $ac_try) 2>&5
30422 ac_status=$?
30423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30424 (exit $ac_status); }; }; then
30425 eval "$as_ac_var=yes"
30426 else
30427 echo "$as_me: failed program was:" >&5
30428 sed 's/^/| /' conftest.$ac_ext >&5
30429
30430 eval "$as_ac_var=no"
30431 fi
30432 rm -f conftest.err conftest.$ac_objext \
30433 conftest$ac_exeext conftest.$ac_ext
30434 fi
30435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30437 if test `eval echo '${'$as_ac_var'}'` = yes; then
30438 cat >>confdefs.h <<_ACEOF
30439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30440 _ACEOF
30441 break
30442 fi
30443 done
30444
30445
30446 HAVE_SOME_SLEEP_FUNC=0
30447 if test "$USE_BEOS" = 1; then
30448 cat >>confdefs.h <<\_ACEOF
30449 #define HAVE_SLEEP 1
30450 _ACEOF
30451
30452 HAVE_SOME_SLEEP_FUNC=1
30453 fi
30454
30455 if test "$USE_DARWIN" = 1; then
30456 cat >>confdefs.h <<\_ACEOF
30457 #define HAVE_USLEEP 1
30458 _ACEOF
30459
30460 HAVE_SOME_SLEEP_FUNC=1
30461 fi
30462
30463 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30464 POSIX4_LINK=
30465
30466 for ac_func in nanosleep
30467 do
30468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30469 echo "$as_me:$LINENO: checking for $ac_func" >&5
30470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30471 if eval "test \"\${$as_ac_var+set}\" = set"; then
30472 echo $ECHO_N "(cached) $ECHO_C" >&6
30473 else
30474 cat >conftest.$ac_ext <<_ACEOF
30475 /* confdefs.h. */
30476 _ACEOF
30477 cat confdefs.h >>conftest.$ac_ext
30478 cat >>conftest.$ac_ext <<_ACEOF
30479 /* end confdefs.h. */
30480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30482 #define $ac_func innocuous_$ac_func
30483
30484 /* System header to define __stub macros and hopefully few prototypes,
30485 which can conflict with char $ac_func (); below.
30486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30487 <limits.h> exists even on freestanding compilers. */
30488
30489 #ifdef __STDC__
30490 # include <limits.h>
30491 #else
30492 # include <assert.h>
30493 #endif
30494
30495 #undef $ac_func
30496
30497 /* Override any gcc2 internal prototype to avoid an error. */
30498 #ifdef __cplusplus
30499 extern "C"
30500 {
30501 #endif
30502 /* We use char because int might match the return type of a gcc2
30503 builtin and then its argument prototype would still apply. */
30504 char $ac_func ();
30505 /* The GNU C library defines this for functions which it implements
30506 to always fail with ENOSYS. Some functions are actually named
30507 something starting with __ and the normal name is an alias. */
30508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30509 choke me
30510 #else
30511 char (*f) () = $ac_func;
30512 #endif
30513 #ifdef __cplusplus
30514 }
30515 #endif
30516
30517 int
30518 main ()
30519 {
30520 return f != $ac_func;
30521 ;
30522 return 0;
30523 }
30524 _ACEOF
30525 rm -f conftest.$ac_objext conftest$ac_exeext
30526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30527 (eval $ac_link) 2>conftest.er1
30528 ac_status=$?
30529 grep -v '^ *+' conftest.er1 >conftest.err
30530 rm -f conftest.er1
30531 cat conftest.err >&5
30532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30533 (exit $ac_status); } &&
30534 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30536 (eval $ac_try) 2>&5
30537 ac_status=$?
30538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30539 (exit $ac_status); }; } &&
30540 { ac_try='test -s conftest$ac_exeext'
30541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30542 (eval $ac_try) 2>&5
30543 ac_status=$?
30544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30545 (exit $ac_status); }; }; then
30546 eval "$as_ac_var=yes"
30547 else
30548 echo "$as_me: failed program was:" >&5
30549 sed 's/^/| /' conftest.$ac_ext >&5
30550
30551 eval "$as_ac_var=no"
30552 fi
30553 rm -f conftest.err conftest.$ac_objext \
30554 conftest$ac_exeext conftest.$ac_ext
30555 fi
30556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30558 if test `eval echo '${'$as_ac_var'}'` = yes; then
30559 cat >>confdefs.h <<_ACEOF
30560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30561 _ACEOF
30562 cat >>confdefs.h <<\_ACEOF
30563 #define HAVE_NANOSLEEP 1
30564 _ACEOF
30565
30566 else
30567
30568 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30569 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30570 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30571 echo $ECHO_N "(cached) $ECHO_C" >&6
30572 else
30573 ac_check_lib_save_LIBS=$LIBS
30574 LIBS="-lposix4 $LIBS"
30575 cat >conftest.$ac_ext <<_ACEOF
30576 /* confdefs.h. */
30577 _ACEOF
30578 cat confdefs.h >>conftest.$ac_ext
30579 cat >>conftest.$ac_ext <<_ACEOF
30580 /* end confdefs.h. */
30581
30582 /* Override any gcc2 internal prototype to avoid an error. */
30583 #ifdef __cplusplus
30584 extern "C"
30585 #endif
30586 /* We use char because int might match the return type of a gcc2
30587 builtin and then its argument prototype would still apply. */
30588 char nanosleep ();
30589 int
30590 main ()
30591 {
30592 nanosleep ();
30593 ;
30594 return 0;
30595 }
30596 _ACEOF
30597 rm -f conftest.$ac_objext conftest$ac_exeext
30598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30599 (eval $ac_link) 2>conftest.er1
30600 ac_status=$?
30601 grep -v '^ *+' conftest.er1 >conftest.err
30602 rm -f conftest.er1
30603 cat conftest.err >&5
30604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30605 (exit $ac_status); } &&
30606 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30608 (eval $ac_try) 2>&5
30609 ac_status=$?
30610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30611 (exit $ac_status); }; } &&
30612 { ac_try='test -s conftest$ac_exeext'
30613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30614 (eval $ac_try) 2>&5
30615 ac_status=$?
30616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30617 (exit $ac_status); }; }; then
30618 ac_cv_lib_posix4_nanosleep=yes
30619 else
30620 echo "$as_me: failed program was:" >&5
30621 sed 's/^/| /' conftest.$ac_ext >&5
30622
30623 ac_cv_lib_posix4_nanosleep=no
30624 fi
30625 rm -f conftest.err conftest.$ac_objext \
30626 conftest$ac_exeext conftest.$ac_ext
30627 LIBS=$ac_check_lib_save_LIBS
30628 fi
30629 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30630 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30631 if test $ac_cv_lib_posix4_nanosleep = yes; then
30632
30633 cat >>confdefs.h <<\_ACEOF
30634 #define HAVE_NANOSLEEP 1
30635 _ACEOF
30636
30637 POSIX4_LINK=" -lposix4"
30638
30639 else
30640
30641
30642 for ac_func in usleep
30643 do
30644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30645 echo "$as_me:$LINENO: checking for $ac_func" >&5
30646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30647 if eval "test \"\${$as_ac_var+set}\" = set"; then
30648 echo $ECHO_N "(cached) $ECHO_C" >&6
30649 else
30650 cat >conftest.$ac_ext <<_ACEOF
30651 /* confdefs.h. */
30652 _ACEOF
30653 cat confdefs.h >>conftest.$ac_ext
30654 cat >>conftest.$ac_ext <<_ACEOF
30655 /* end confdefs.h. */
30656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30658 #define $ac_func innocuous_$ac_func
30659
30660 /* System header to define __stub macros and hopefully few prototypes,
30661 which can conflict with char $ac_func (); below.
30662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30663 <limits.h> exists even on freestanding compilers. */
30664
30665 #ifdef __STDC__
30666 # include <limits.h>
30667 #else
30668 # include <assert.h>
30669 #endif
30670
30671 #undef $ac_func
30672
30673 /* Override any gcc2 internal prototype to avoid an error. */
30674 #ifdef __cplusplus
30675 extern "C"
30676 {
30677 #endif
30678 /* We use char because int might match the return type of a gcc2
30679 builtin and then its argument prototype would still apply. */
30680 char $ac_func ();
30681 /* The GNU C library defines this for functions which it implements
30682 to always fail with ENOSYS. Some functions are actually named
30683 something starting with __ and the normal name is an alias. */
30684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30685 choke me
30686 #else
30687 char (*f) () = $ac_func;
30688 #endif
30689 #ifdef __cplusplus
30690 }
30691 #endif
30692
30693 int
30694 main ()
30695 {
30696 return f != $ac_func;
30697 ;
30698 return 0;
30699 }
30700 _ACEOF
30701 rm -f conftest.$ac_objext conftest$ac_exeext
30702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30703 (eval $ac_link) 2>conftest.er1
30704 ac_status=$?
30705 grep -v '^ *+' conftest.er1 >conftest.err
30706 rm -f conftest.er1
30707 cat conftest.err >&5
30708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30709 (exit $ac_status); } &&
30710 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30712 (eval $ac_try) 2>&5
30713 ac_status=$?
30714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30715 (exit $ac_status); }; } &&
30716 { ac_try='test -s conftest$ac_exeext'
30717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30718 (eval $ac_try) 2>&5
30719 ac_status=$?
30720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30721 (exit $ac_status); }; }; then
30722 eval "$as_ac_var=yes"
30723 else
30724 echo "$as_me: failed program was:" >&5
30725 sed 's/^/| /' conftest.$ac_ext >&5
30726
30727 eval "$as_ac_var=no"
30728 fi
30729 rm -f conftest.err conftest.$ac_objext \
30730 conftest$ac_exeext conftest.$ac_ext
30731 fi
30732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30734 if test `eval echo '${'$as_ac_var'}'` = yes; then
30735 cat >>confdefs.h <<_ACEOF
30736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30737 _ACEOF
30738 cat >>confdefs.h <<\_ACEOF
30739 #define HAVE_USLEEP 1
30740 _ACEOF
30741
30742 else
30743 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30744 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30745
30746 fi
30747 done
30748
30749
30750
30751 fi
30752
30753
30754
30755 fi
30756 done
30757
30758 fi
30759
30760
30761
30762 for ac_func in uname gethostname
30763 do
30764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30765 echo "$as_me:$LINENO: checking for $ac_func" >&5
30766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30767 if eval "test \"\${$as_ac_var+set}\" = set"; then
30768 echo $ECHO_N "(cached) $ECHO_C" >&6
30769 else
30770 cat >conftest.$ac_ext <<_ACEOF
30771 /* confdefs.h. */
30772 _ACEOF
30773 cat confdefs.h >>conftest.$ac_ext
30774 cat >>conftest.$ac_ext <<_ACEOF
30775 /* end confdefs.h. */
30776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30778 #define $ac_func innocuous_$ac_func
30779
30780 /* System header to define __stub macros and hopefully few prototypes,
30781 which can conflict with char $ac_func (); below.
30782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30783 <limits.h> exists even on freestanding compilers. */
30784
30785 #ifdef __STDC__
30786 # include <limits.h>
30787 #else
30788 # include <assert.h>
30789 #endif
30790
30791 #undef $ac_func
30792
30793 /* Override any gcc2 internal prototype to avoid an error. */
30794 #ifdef __cplusplus
30795 extern "C"
30796 {
30797 #endif
30798 /* We use char because int might match the return type of a gcc2
30799 builtin and then its argument prototype would still apply. */
30800 char $ac_func ();
30801 /* The GNU C library defines this for functions which it implements
30802 to always fail with ENOSYS. Some functions are actually named
30803 something starting with __ and the normal name is an alias. */
30804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30805 choke me
30806 #else
30807 char (*f) () = $ac_func;
30808 #endif
30809 #ifdef __cplusplus
30810 }
30811 #endif
30812
30813 int
30814 main ()
30815 {
30816 return f != $ac_func;
30817 ;
30818 return 0;
30819 }
30820 _ACEOF
30821 rm -f conftest.$ac_objext conftest$ac_exeext
30822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30823 (eval $ac_link) 2>conftest.er1
30824 ac_status=$?
30825 grep -v '^ *+' conftest.er1 >conftest.err
30826 rm -f conftest.er1
30827 cat conftest.err >&5
30828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30829 (exit $ac_status); } &&
30830 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30832 (eval $ac_try) 2>&5
30833 ac_status=$?
30834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30835 (exit $ac_status); }; } &&
30836 { ac_try='test -s conftest$ac_exeext'
30837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30838 (eval $ac_try) 2>&5
30839 ac_status=$?
30840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30841 (exit $ac_status); }; }; then
30842 eval "$as_ac_var=yes"
30843 else
30844 echo "$as_me: failed program was:" >&5
30845 sed 's/^/| /' conftest.$ac_ext >&5
30846
30847 eval "$as_ac_var=no"
30848 fi
30849 rm -f conftest.err conftest.$ac_objext \
30850 conftest$ac_exeext conftest.$ac_ext
30851 fi
30852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30854 if test `eval echo '${'$as_ac_var'}'` = yes; then
30855 cat >>confdefs.h <<_ACEOF
30856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30857 _ACEOF
30858 break
30859 fi
30860 done
30861
30862
30863
30864
30865 ac_ext=cc
30866 ac_cpp='$CXXCPP $CPPFLAGS'
30867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30870
30871
30872
30873 for ac_func in strtok_r
30874 do
30875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30876 echo "$as_me:$LINENO: checking for $ac_func" >&5
30877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30878 if eval "test \"\${$as_ac_var+set}\" = set"; then
30879 echo $ECHO_N "(cached) $ECHO_C" >&6
30880 else
30881 cat >conftest.$ac_ext <<_ACEOF
30882 /* confdefs.h. */
30883 _ACEOF
30884 cat confdefs.h >>conftest.$ac_ext
30885 cat >>conftest.$ac_ext <<_ACEOF
30886 /* end confdefs.h. */
30887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30889 #define $ac_func innocuous_$ac_func
30890
30891 /* System header to define __stub macros and hopefully few prototypes,
30892 which can conflict with char $ac_func (); below.
30893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30894 <limits.h> exists even on freestanding compilers. */
30895
30896 #ifdef __STDC__
30897 # include <limits.h>
30898 #else
30899 # include <assert.h>
30900 #endif
30901
30902 #undef $ac_func
30903
30904 /* Override any gcc2 internal prototype to avoid an error. */
30905 #ifdef __cplusplus
30906 extern "C"
30907 {
30908 #endif
30909 /* We use char because int might match the return type of a gcc2
30910 builtin and then its argument prototype would still apply. */
30911 char $ac_func ();
30912 /* The GNU C library defines this for functions which it implements
30913 to always fail with ENOSYS. Some functions are actually named
30914 something starting with __ and the normal name is an alias. */
30915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30916 choke me
30917 #else
30918 char (*f) () = $ac_func;
30919 #endif
30920 #ifdef __cplusplus
30921 }
30922 #endif
30923
30924 int
30925 main ()
30926 {
30927 return f != $ac_func;
30928 ;
30929 return 0;
30930 }
30931 _ACEOF
30932 rm -f conftest.$ac_objext conftest$ac_exeext
30933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30934 (eval $ac_link) 2>conftest.er1
30935 ac_status=$?
30936 grep -v '^ *+' conftest.er1 >conftest.err
30937 rm -f conftest.er1
30938 cat conftest.err >&5
30939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30940 (exit $ac_status); } &&
30941 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30943 (eval $ac_try) 2>&5
30944 ac_status=$?
30945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30946 (exit $ac_status); }; } &&
30947 { ac_try='test -s conftest$ac_exeext'
30948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30949 (eval $ac_try) 2>&5
30950 ac_status=$?
30951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30952 (exit $ac_status); }; }; then
30953 eval "$as_ac_var=yes"
30954 else
30955 echo "$as_me: failed program was:" >&5
30956 sed 's/^/| /' conftest.$ac_ext >&5
30957
30958 eval "$as_ac_var=no"
30959 fi
30960 rm -f conftest.err conftest.$ac_objext \
30961 conftest$ac_exeext conftest.$ac_ext
30962 fi
30963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30965 if test `eval echo '${'$as_ac_var'}'` = yes; then
30966 cat >>confdefs.h <<_ACEOF
30967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30968 _ACEOF
30969
30970 fi
30971 done
30972
30973
30974 ac_ext=c
30975 ac_cpp='$CPP $CPPFLAGS'
30976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30979
30980
30981 INET_LINK=
30982
30983 for ac_func in inet_addr
30984 do
30985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30986 echo "$as_me:$LINENO: checking for $ac_func" >&5
30987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30988 if eval "test \"\${$as_ac_var+set}\" = set"; then
30989 echo $ECHO_N "(cached) $ECHO_C" >&6
30990 else
30991 cat >conftest.$ac_ext <<_ACEOF
30992 /* confdefs.h. */
30993 _ACEOF
30994 cat confdefs.h >>conftest.$ac_ext
30995 cat >>conftest.$ac_ext <<_ACEOF
30996 /* end confdefs.h. */
30997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30999 #define $ac_func innocuous_$ac_func
31000
31001 /* System header to define __stub macros and hopefully few prototypes,
31002 which can conflict with char $ac_func (); below.
31003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31004 <limits.h> exists even on freestanding compilers. */
31005
31006 #ifdef __STDC__
31007 # include <limits.h>
31008 #else
31009 # include <assert.h>
31010 #endif
31011
31012 #undef $ac_func
31013
31014 /* Override any gcc2 internal prototype to avoid an error. */
31015 #ifdef __cplusplus
31016 extern "C"
31017 {
31018 #endif
31019 /* We use char because int might match the return type of a gcc2
31020 builtin and then its argument prototype would still apply. */
31021 char $ac_func ();
31022 /* The GNU C library defines this for functions which it implements
31023 to always fail with ENOSYS. Some functions are actually named
31024 something starting with __ and the normal name is an alias. */
31025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31026 choke me
31027 #else
31028 char (*f) () = $ac_func;
31029 #endif
31030 #ifdef __cplusplus
31031 }
31032 #endif
31033
31034 int
31035 main ()
31036 {
31037 return f != $ac_func;
31038 ;
31039 return 0;
31040 }
31041 _ACEOF
31042 rm -f conftest.$ac_objext conftest$ac_exeext
31043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31044 (eval $ac_link) 2>conftest.er1
31045 ac_status=$?
31046 grep -v '^ *+' conftest.er1 >conftest.err
31047 rm -f conftest.er1
31048 cat conftest.err >&5
31049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31050 (exit $ac_status); } &&
31051 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31053 (eval $ac_try) 2>&5
31054 ac_status=$?
31055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31056 (exit $ac_status); }; } &&
31057 { ac_try='test -s conftest$ac_exeext'
31058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31059 (eval $ac_try) 2>&5
31060 ac_status=$?
31061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31062 (exit $ac_status); }; }; then
31063 eval "$as_ac_var=yes"
31064 else
31065 echo "$as_me: failed program was:" >&5
31066 sed 's/^/| /' conftest.$ac_ext >&5
31067
31068 eval "$as_ac_var=no"
31069 fi
31070 rm -f conftest.err conftest.$ac_objext \
31071 conftest$ac_exeext conftest.$ac_ext
31072 fi
31073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31075 if test `eval echo '${'$as_ac_var'}'` = yes; then
31076 cat >>confdefs.h <<_ACEOF
31077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31078 _ACEOF
31079 cat >>confdefs.h <<\_ACEOF
31080 #define HAVE_INET_ADDR 1
31081 _ACEOF
31082
31083 else
31084
31085 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31086 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31087 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31088 echo $ECHO_N "(cached) $ECHO_C" >&6
31089 else
31090 ac_check_lib_save_LIBS=$LIBS
31091 LIBS="-lnsl $LIBS"
31092 cat >conftest.$ac_ext <<_ACEOF
31093 /* confdefs.h. */
31094 _ACEOF
31095 cat confdefs.h >>conftest.$ac_ext
31096 cat >>conftest.$ac_ext <<_ACEOF
31097 /* end confdefs.h. */
31098
31099 /* Override any gcc2 internal prototype to avoid an error. */
31100 #ifdef __cplusplus
31101 extern "C"
31102 #endif
31103 /* We use char because int might match the return type of a gcc2
31104 builtin and then its argument prototype would still apply. */
31105 char inet_addr ();
31106 int
31107 main ()
31108 {
31109 inet_addr ();
31110 ;
31111 return 0;
31112 }
31113 _ACEOF
31114 rm -f conftest.$ac_objext conftest$ac_exeext
31115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31116 (eval $ac_link) 2>conftest.er1
31117 ac_status=$?
31118 grep -v '^ *+' conftest.er1 >conftest.err
31119 rm -f conftest.er1
31120 cat conftest.err >&5
31121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31122 (exit $ac_status); } &&
31123 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
31129 { ac_try='test -s conftest$ac_exeext'
31130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31131 (eval $ac_try) 2>&5
31132 ac_status=$?
31133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31134 (exit $ac_status); }; }; then
31135 ac_cv_lib_nsl_inet_addr=yes
31136 else
31137 echo "$as_me: failed program was:" >&5
31138 sed 's/^/| /' conftest.$ac_ext >&5
31139
31140 ac_cv_lib_nsl_inet_addr=no
31141 fi
31142 rm -f conftest.err conftest.$ac_objext \
31143 conftest$ac_exeext conftest.$ac_ext
31144 LIBS=$ac_check_lib_save_LIBS
31145 fi
31146 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31147 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31148 if test $ac_cv_lib_nsl_inet_addr = yes; then
31149 INET_LINK="nsl"
31150 else
31151
31152 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31153 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31154 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31155 echo $ECHO_N "(cached) $ECHO_C" >&6
31156 else
31157 ac_check_lib_save_LIBS=$LIBS
31158 LIBS="-lresolv $LIBS"
31159 cat >conftest.$ac_ext <<_ACEOF
31160 /* confdefs.h. */
31161 _ACEOF
31162 cat confdefs.h >>conftest.$ac_ext
31163 cat >>conftest.$ac_ext <<_ACEOF
31164 /* end confdefs.h. */
31165
31166 /* Override any gcc2 internal prototype to avoid an error. */
31167 #ifdef __cplusplus
31168 extern "C"
31169 #endif
31170 /* We use char because int might match the return type of a gcc2
31171 builtin and then its argument prototype would still apply. */
31172 char inet_addr ();
31173 int
31174 main ()
31175 {
31176 inet_addr ();
31177 ;
31178 return 0;
31179 }
31180 _ACEOF
31181 rm -f conftest.$ac_objext conftest$ac_exeext
31182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31183 (eval $ac_link) 2>conftest.er1
31184 ac_status=$?
31185 grep -v '^ *+' conftest.er1 >conftest.err
31186 rm -f conftest.er1
31187 cat conftest.err >&5
31188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31189 (exit $ac_status); } &&
31190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31192 (eval $ac_try) 2>&5
31193 ac_status=$?
31194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31195 (exit $ac_status); }; } &&
31196 { ac_try='test -s conftest$ac_exeext'
31197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31198 (eval $ac_try) 2>&5
31199 ac_status=$?
31200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31201 (exit $ac_status); }; }; then
31202 ac_cv_lib_resolv_inet_addr=yes
31203 else
31204 echo "$as_me: failed program was:" >&5
31205 sed 's/^/| /' conftest.$ac_ext >&5
31206
31207 ac_cv_lib_resolv_inet_addr=no
31208 fi
31209 rm -f conftest.err conftest.$ac_objext \
31210 conftest$ac_exeext conftest.$ac_ext
31211 LIBS=$ac_check_lib_save_LIBS
31212 fi
31213 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31214 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31215 if test $ac_cv_lib_resolv_inet_addr = yes; then
31216 INET_LINK="resolv"
31217 else
31218
31219 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31220 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31221 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31222 echo $ECHO_N "(cached) $ECHO_C" >&6
31223 else
31224 ac_check_lib_save_LIBS=$LIBS
31225 LIBS="-lsocket $LIBS"
31226 cat >conftest.$ac_ext <<_ACEOF
31227 /* confdefs.h. */
31228 _ACEOF
31229 cat confdefs.h >>conftest.$ac_ext
31230 cat >>conftest.$ac_ext <<_ACEOF
31231 /* end confdefs.h. */
31232
31233 /* Override any gcc2 internal prototype to avoid an error. */
31234 #ifdef __cplusplus
31235 extern "C"
31236 #endif
31237 /* We use char because int might match the return type of a gcc2
31238 builtin and then its argument prototype would still apply. */
31239 char inet_addr ();
31240 int
31241 main ()
31242 {
31243 inet_addr ();
31244 ;
31245 return 0;
31246 }
31247 _ACEOF
31248 rm -f conftest.$ac_objext conftest$ac_exeext
31249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31250 (eval $ac_link) 2>conftest.er1
31251 ac_status=$?
31252 grep -v '^ *+' conftest.er1 >conftest.err
31253 rm -f conftest.er1
31254 cat conftest.err >&5
31255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31256 (exit $ac_status); } &&
31257 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31259 (eval $ac_try) 2>&5
31260 ac_status=$?
31261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31262 (exit $ac_status); }; } &&
31263 { ac_try='test -s conftest$ac_exeext'
31264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31265 (eval $ac_try) 2>&5
31266 ac_status=$?
31267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31268 (exit $ac_status); }; }; then
31269 ac_cv_lib_socket_inet_addr=yes
31270 else
31271 echo "$as_me: failed program was:" >&5
31272 sed 's/^/| /' conftest.$ac_ext >&5
31273
31274 ac_cv_lib_socket_inet_addr=no
31275 fi
31276 rm -f conftest.err conftest.$ac_objext \
31277 conftest$ac_exeext conftest.$ac_ext
31278 LIBS=$ac_check_lib_save_LIBS
31279 fi
31280 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31281 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31282 if test $ac_cv_lib_socket_inet_addr = yes; then
31283 INET_LINK="socket"
31284
31285 fi
31286
31287
31288
31289 fi
31290
31291
31292
31293 fi
31294
31295
31296
31297 fi
31298 done
31299
31300
31301
31302 for ac_func in inet_aton
31303 do
31304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31305 echo "$as_me:$LINENO: checking for $ac_func" >&5
31306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31307 if eval "test \"\${$as_ac_var+set}\" = set"; then
31308 echo $ECHO_N "(cached) $ECHO_C" >&6
31309 else
31310 cat >conftest.$ac_ext <<_ACEOF
31311 /* confdefs.h. */
31312 _ACEOF
31313 cat confdefs.h >>conftest.$ac_ext
31314 cat >>conftest.$ac_ext <<_ACEOF
31315 /* end confdefs.h. */
31316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31318 #define $ac_func innocuous_$ac_func
31319
31320 /* System header to define __stub macros and hopefully few prototypes,
31321 which can conflict with char $ac_func (); below.
31322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31323 <limits.h> exists even on freestanding compilers. */
31324
31325 #ifdef __STDC__
31326 # include <limits.h>
31327 #else
31328 # include <assert.h>
31329 #endif
31330
31331 #undef $ac_func
31332
31333 /* Override any gcc2 internal prototype to avoid an error. */
31334 #ifdef __cplusplus
31335 extern "C"
31336 {
31337 #endif
31338 /* We use char because int might match the return type of a gcc2
31339 builtin and then its argument prototype would still apply. */
31340 char $ac_func ();
31341 /* The GNU C library defines this for functions which it implements
31342 to always fail with ENOSYS. Some functions are actually named
31343 something starting with __ and the normal name is an alias. */
31344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31345 choke me
31346 #else
31347 char (*f) () = $ac_func;
31348 #endif
31349 #ifdef __cplusplus
31350 }
31351 #endif
31352
31353 int
31354 main ()
31355 {
31356 return f != $ac_func;
31357 ;
31358 return 0;
31359 }
31360 _ACEOF
31361 rm -f conftest.$ac_objext conftest$ac_exeext
31362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31363 (eval $ac_link) 2>conftest.er1
31364 ac_status=$?
31365 grep -v '^ *+' conftest.er1 >conftest.err
31366 rm -f conftest.er1
31367 cat conftest.err >&5
31368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31369 (exit $ac_status); } &&
31370 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31372 (eval $ac_try) 2>&5
31373 ac_status=$?
31374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31375 (exit $ac_status); }; } &&
31376 { ac_try='test -s conftest$ac_exeext'
31377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31378 (eval $ac_try) 2>&5
31379 ac_status=$?
31380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31381 (exit $ac_status); }; }; then
31382 eval "$as_ac_var=yes"
31383 else
31384 echo "$as_me: failed program was:" >&5
31385 sed 's/^/| /' conftest.$ac_ext >&5
31386
31387 eval "$as_ac_var=no"
31388 fi
31389 rm -f conftest.err conftest.$ac_objext \
31390 conftest$ac_exeext conftest.$ac_ext
31391 fi
31392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31394 if test `eval echo '${'$as_ac_var'}'` = yes; then
31395 cat >>confdefs.h <<_ACEOF
31396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31397 _ACEOF
31398 cat >>confdefs.h <<\_ACEOF
31399 #define HAVE_INET_ATON 1
31400 _ACEOF
31401
31402 else
31403
31404 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31405 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31406 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31407 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31408 echo $ECHO_N "(cached) $ECHO_C" >&6
31409 else
31410 ac_check_lib_save_LIBS=$LIBS
31411 LIBS="-l$INET_LINK $LIBS"
31412 cat >conftest.$ac_ext <<_ACEOF
31413 /* confdefs.h. */
31414 _ACEOF
31415 cat confdefs.h >>conftest.$ac_ext
31416 cat >>conftest.$ac_ext <<_ACEOF
31417 /* end confdefs.h. */
31418
31419 /* Override any gcc2 internal prototype to avoid an error. */
31420 #ifdef __cplusplus
31421 extern "C"
31422 #endif
31423 /* We use char because int might match the return type of a gcc2
31424 builtin and then its argument prototype would still apply. */
31425 char inet_aton ();
31426 int
31427 main ()
31428 {
31429 inet_aton ();
31430 ;
31431 return 0;
31432 }
31433 _ACEOF
31434 rm -f conftest.$ac_objext conftest$ac_exeext
31435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31436 (eval $ac_link) 2>conftest.er1
31437 ac_status=$?
31438 grep -v '^ *+' conftest.er1 >conftest.err
31439 rm -f conftest.er1
31440 cat conftest.err >&5
31441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31442 (exit $ac_status); } &&
31443 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31445 (eval $ac_try) 2>&5
31446 ac_status=$?
31447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31448 (exit $ac_status); }; } &&
31449 { ac_try='test -s conftest$ac_exeext'
31450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31451 (eval $ac_try) 2>&5
31452 ac_status=$?
31453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31454 (exit $ac_status); }; }; then
31455 eval "$as_ac_Lib=yes"
31456 else
31457 echo "$as_me: failed program was:" >&5
31458 sed 's/^/| /' conftest.$ac_ext >&5
31459
31460 eval "$as_ac_Lib=no"
31461 fi
31462 rm -f conftest.err conftest.$ac_objext \
31463 conftest$ac_exeext conftest.$ac_ext
31464 LIBS=$ac_check_lib_save_LIBS
31465 fi
31466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31467 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31468 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31469 cat >>confdefs.h <<\_ACEOF
31470 #define HAVE_INET_ATON 1
31471 _ACEOF
31472
31473 fi
31474
31475
31476 fi
31477 done
31478
31479
31480 if test "x$INET_LINK" != "x"; then
31481 cat >>confdefs.h <<\_ACEOF
31482 #define HAVE_INET_ADDR 1
31483 _ACEOF
31484
31485 INET_LINK=" -l$INET_LINK"
31486 fi
31487
31488 fi
31489
31490
31491
31492 EXTRALIBS_ESD=
31493 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31494 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31495 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31496 echo $ECHO_N "(cached) $ECHO_C" >&6
31497 else
31498 ac_check_lib_save_LIBS=$LIBS
31499 LIBS="-lesd $LIBS"
31500 cat >conftest.$ac_ext <<_ACEOF
31501 /* confdefs.h. */
31502 _ACEOF
31503 cat confdefs.h >>conftest.$ac_ext
31504 cat >>conftest.$ac_ext <<_ACEOF
31505 /* end confdefs.h. */
31506
31507 /* Override any gcc2 internal prototype to avoid an error. */
31508 #ifdef __cplusplus
31509 extern "C"
31510 #endif
31511 /* We use char because int might match the return type of a gcc2
31512 builtin and then its argument prototype would still apply. */
31513 char esd_close ();
31514 int
31515 main ()
31516 {
31517 esd_close ();
31518 ;
31519 return 0;
31520 }
31521 _ACEOF
31522 rm -f conftest.$ac_objext conftest$ac_exeext
31523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31524 (eval $ac_link) 2>conftest.er1
31525 ac_status=$?
31526 grep -v '^ *+' conftest.er1 >conftest.err
31527 rm -f conftest.er1
31528 cat conftest.err >&5
31529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31530 (exit $ac_status); } &&
31531 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31533 (eval $ac_try) 2>&5
31534 ac_status=$?
31535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31536 (exit $ac_status); }; } &&
31537 { ac_try='test -s conftest$ac_exeext'
31538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31539 (eval $ac_try) 2>&5
31540 ac_status=$?
31541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31542 (exit $ac_status); }; }; then
31543 ac_cv_lib_esd_esd_close=yes
31544 else
31545 echo "$as_me: failed program was:" >&5
31546 sed 's/^/| /' conftest.$ac_ext >&5
31547
31548 ac_cv_lib_esd_esd_close=no
31549 fi
31550 rm -f conftest.err conftest.$ac_objext \
31551 conftest$ac_exeext conftest.$ac_ext
31552 LIBS=$ac_check_lib_save_LIBS
31553 fi
31554 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31555 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31556 if test $ac_cv_lib_esd_esd_close = yes; then
31557
31558
31559 for ac_header in esd.h
31560 do
31561 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31562 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31563 echo "$as_me:$LINENO: checking for $ac_header" >&5
31564 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31565 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31566 echo $ECHO_N "(cached) $ECHO_C" >&6
31567 fi
31568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31569 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31570 else
31571 # Is the header compilable?
31572 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31573 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
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 $ac_includes_default
31581 #include <$ac_header>
31582 _ACEOF
31583 rm -f conftest.$ac_objext
31584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31585 (eval $ac_compile) 2>conftest.er1
31586 ac_status=$?
31587 grep -v '^ *+' conftest.er1 >conftest.err
31588 rm -f conftest.er1
31589 cat conftest.err >&5
31590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31591 (exit $ac_status); } &&
31592 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31594 (eval $ac_try) 2>&5
31595 ac_status=$?
31596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31597 (exit $ac_status); }; } &&
31598 { ac_try='test -s conftest.$ac_objext'
31599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31600 (eval $ac_try) 2>&5
31601 ac_status=$?
31602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31603 (exit $ac_status); }; }; then
31604 ac_header_compiler=yes
31605 else
31606 echo "$as_me: failed program was:" >&5
31607 sed 's/^/| /' conftest.$ac_ext >&5
31608
31609 ac_header_compiler=no
31610 fi
31611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31612 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31613 echo "${ECHO_T}$ac_header_compiler" >&6
31614
31615 # Is the header present?
31616 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31617 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31618 cat >conftest.$ac_ext <<_ACEOF
31619 /* confdefs.h. */
31620 _ACEOF
31621 cat confdefs.h >>conftest.$ac_ext
31622 cat >>conftest.$ac_ext <<_ACEOF
31623 /* end confdefs.h. */
31624 #include <$ac_header>
31625 _ACEOF
31626 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31627 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
31634 if test -s conftest.err; then
31635 ac_cpp_err=$ac_c_preproc_warn_flag
31636 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31637 else
31638 ac_cpp_err=
31639 fi
31640 else
31641 ac_cpp_err=yes
31642 fi
31643 if test -z "$ac_cpp_err"; then
31644 ac_header_preproc=yes
31645 else
31646 echo "$as_me: failed program was:" >&5
31647 sed 's/^/| /' conftest.$ac_ext >&5
31648
31649 ac_header_preproc=no
31650 fi
31651 rm -f conftest.err conftest.$ac_ext
31652 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31653 echo "${ECHO_T}$ac_header_preproc" >&6
31654
31655 # So? What about this header?
31656 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31657 yes:no: )
31658 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31659 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31660 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31661 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31662 ac_header_preproc=yes
31663 ;;
31664 no:yes:* )
31665 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31666 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31667 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31668 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31669 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31670 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31671 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31672 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31673 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31674 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31675 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31676 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31677 (
31678 cat <<\_ASBOX
31679 ## ----------------------------------------- ##
31680 ## Report this to wx-dev@lists.wxwindows.org ##
31681 ## ----------------------------------------- ##
31682 _ASBOX
31683 ) |
31684 sed "s/^/$as_me: WARNING: /" >&2
31685 ;;
31686 esac
31687 echo "$as_me:$LINENO: checking for $ac_header" >&5
31688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31689 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31690 echo $ECHO_N "(cached) $ECHO_C" >&6
31691 else
31692 eval "$as_ac_Header=\$ac_header_preproc"
31693 fi
31694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31695 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31696
31697 fi
31698 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31699 cat >>confdefs.h <<_ACEOF
31700 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31701 _ACEOF
31702
31703 EXTRALIBS_ESD="-lesd"
31704
31705 fi
31706
31707 done
31708
31709
31710 fi
31711
31712
31713
31714 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31715 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31716 cat >conftest.$ac_ext <<_ACEOF
31717 /* confdefs.h. */
31718 _ACEOF
31719 cat confdefs.h >>conftest.$ac_ext
31720 cat >>conftest.$ac_ext <<_ACEOF
31721 /* end confdefs.h. */
31722 #ifdef __linux__
31723 #include <linux/cdrom.h>
31724 #else
31725 /* For Solaris */
31726 #include <sys/cdio.h>
31727 #endif
31728
31729 int
31730 main ()
31731 {
31732 struct cdrom_tocentry entry, old_entry;
31733 ;
31734 return 0;
31735 }
31736 _ACEOF
31737 rm -f conftest.$ac_objext
31738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31739 (eval $ac_compile) 2>conftest.er1
31740 ac_status=$?
31741 grep -v '^ *+' conftest.er1 >conftest.err
31742 rm -f conftest.er1
31743 cat conftest.err >&5
31744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31745 (exit $ac_status); } &&
31746 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31748 (eval $ac_try) 2>&5
31749 ac_status=$?
31750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31751 (exit $ac_status); }; } &&
31752 { ac_try='test -s conftest.$ac_objext'
31753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31754 (eval $ac_try) 2>&5
31755 ac_status=$?
31756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31757 (exit $ac_status); }; }; then
31758 echo "$as_me:$LINENO: result: yes" >&5
31759 echo "${ECHO_T}yes" >&6
31760 cat >>confdefs.h <<\_ACEOF
31761 #define HAVE_KNOWN_CDROM_INTERFACE 1
31762 _ACEOF
31763
31764 else
31765 echo "$as_me: failed program was:" >&5
31766 sed 's/^/| /' conftest.$ac_ext >&5
31767
31768 echo "$as_me:$LINENO: result: no" >&5
31769 echo "${ECHO_T}no" >&6
31770 fi
31771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31772
31773
31774 cat >confcache <<\_ACEOF
31775 # This file is a shell script that caches the results of configure
31776 # tests run on this system so they can be shared between configure
31777 # scripts and configure runs, see configure's option --config-cache.
31778 # It is not useful on other systems. If it contains results you don't
31779 # want to keep, you may remove or edit it.
31780 #
31781 # config.status only pays attention to the cache file if you give it
31782 # the --recheck option to rerun configure.
31783 #
31784 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31785 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31786 # following values.
31787
31788 _ACEOF
31789
31790 # The following way of writing the cache mishandles newlines in values,
31791 # but we know of no workaround that is simple, portable, and efficient.
31792 # So, don't put newlines in cache variables' values.
31793 # Ultrix sh set writes to stderr and can't be redirected directly,
31794 # and sets the high bit in the cache file unless we assign to the vars.
31795 {
31796 (set) 2>&1 |
31797 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31798 *ac_space=\ *)
31799 # `set' does not quote correctly, so add quotes (double-quote
31800 # substitution turns \\\\ into \\, and sed turns \\ into \).
31801 sed -n \
31802 "s/'/'\\\\''/g;
31803 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31804 ;;
31805 *)
31806 # `set' quotes correctly as required by POSIX, so do not add quotes.
31807 sed -n \
31808 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31809 ;;
31810 esac;
31811 } |
31812 sed '
31813 t clear
31814 : clear
31815 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31816 t end
31817 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31818 : end' >>confcache
31819 if diff $cache_file confcache >/dev/null 2>&1; then :; else
31820 if test -w $cache_file; then
31821 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31822 cat confcache >$cache_file
31823 else
31824 echo "not updating unwritable cache $cache_file"
31825 fi
31826 fi
31827 rm -f confcache
31828
31829
31830 CPP_MT_FLAG=
31831 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31832
31833
31834 THREADS_LINK=
31835 THREADS_CFLAGS=
31836
31837 if test "$wxUSE_THREADS" = "yes" ; then
31838 if test "$USE_BEOS" = 1; then
31839 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
31840 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31841 wxUSE_THREADS="no"
31842 fi
31843 fi
31844
31845 if test "$wxUSE_THREADS" = "yes" ; then
31846
31847
31848 THREAD_OPTS="-pthread"
31849 case "${host}" in
31850 *-*-solaris2* | *-*-sunos4* )
31851 if test "x$GCC" = "xyes"; then
31852 THREAD_OPTS="-pthreads $THREAD_OPTS"
31853 else
31854 THREAD_OPTS="-mt $THREAD_OPTS"
31855 fi
31856 ;;
31857 *-*-freebsd*)
31858 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
31859 ;;
31860 *-*-darwin* | *-*-cygwin* )
31861 THREAD_OPTS=""
31862 ;;
31863 *-*-aix*)
31864 THREAD_OPTS="pthreads"
31865 ;;
31866 *-hp-hpux* )
31867 if test "x$GCC" != "xyes"; then
31868 THREAD_OPTS=""
31869 fi
31870 ;;
31871
31872 *-*-irix* )
31873 if test "x$GCC" = "xyes"; then
31874 THREAD_OPTS=""
31875 fi
31876 ;;
31877
31878 *-*-*UnixWare*)
31879 if test "x$GCC" != "xyes"; then
31880 THREAD_OPTS="-Ethread"
31881 fi
31882 ;;
31883 esac
31884
31885 THREAD_OPTS="$THREAD_OPTS pthread none"
31886
31887 THREADS_OK=no
31888 for flag in $THREAD_OPTS; do
31889 case $flag in
31890 none)
31891 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
31892 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
31893 ;;
31894
31895 -*)
31896 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
31897 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
31898 THREADS_CFLAGS="$flag"
31899 ;;
31900
31901 *)
31902 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
31903 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
31904 THREADS_LINK="-l$flag"
31905 ;;
31906 esac
31907
31908 save_LIBS="$LIBS"
31909 save_CFLAGS="$CFLAGS"
31910 LIBS="$THREADS_LINK $LIBS"
31911 CFLAGS="$THREADS_CFLAGS $CFLAGS"
31912
31913 cat >conftest.$ac_ext <<_ACEOF
31914 /* confdefs.h. */
31915 _ACEOF
31916 cat confdefs.h >>conftest.$ac_ext
31917 cat >>conftest.$ac_ext <<_ACEOF
31918 /* end confdefs.h. */
31919 #include <pthread.h>
31920 int
31921 main ()
31922 {
31923 pthread_create(0,0,0,0);
31924 ;
31925 return 0;
31926 }
31927 _ACEOF
31928 rm -f conftest.$ac_objext conftest$ac_exeext
31929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31930 (eval $ac_link) 2>conftest.er1
31931 ac_status=$?
31932 grep -v '^ *+' conftest.er1 >conftest.err
31933 rm -f conftest.er1
31934 cat conftest.err >&5
31935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31936 (exit $ac_status); } &&
31937 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31939 (eval $ac_try) 2>&5
31940 ac_status=$?
31941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31942 (exit $ac_status); }; } &&
31943 { ac_try='test -s conftest$ac_exeext'
31944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31945 (eval $ac_try) 2>&5
31946 ac_status=$?
31947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31948 (exit $ac_status); }; }; then
31949 THREADS_OK=yes
31950 else
31951 echo "$as_me: failed program was:" >&5
31952 sed 's/^/| /' conftest.$ac_ext >&5
31953
31954 fi
31955 rm -f conftest.err conftest.$ac_objext \
31956 conftest$ac_exeext conftest.$ac_ext
31957
31958 LIBS="$save_LIBS"
31959 CFLAGS="$save_CFLAGS"
31960
31961 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
31962 echo "${ECHO_T}$THREADS_OK" >&6
31963 if test "x$THREADS_OK" = "xyes"; then
31964 break;
31965 fi
31966
31967 THREADS_LINK=""
31968 THREADS_CFLAGS=""
31969 done
31970
31971 if test "x$THREADS_OK" != "xyes"; then
31972 wxUSE_THREADS=no
31973 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
31974 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31975 else
31976 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
31977 LIBS="$THREADS_LINK $LIBS"
31978
31979 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
31980 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
31981 flag=no
31982 case "${host}" in
31983 *-aix*)
31984 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
31985 flag="-D_THREAD_SAFE"
31986 ;;
31987 *-freebsd*)
31988 flag="-D_THREAD_SAFE"
31989 ;;
31990 *-hp-hpux* )
31991 flag="-D_REENTRANT"
31992 if test "x$GCC" != "xyes"; then
31993 flag="$flag -D_RWSTD_MULTI_THREAD"
31994 fi
31995 ;;
31996 *solaris* | alpha*-osf*)
31997 flag="-D_REENTRANT"
31998 ;;
31999 esac
32000 echo "$as_me:$LINENO: result: ${flag}" >&5
32001 echo "${ECHO_T}${flag}" >&6
32002 if test "x$flag" != xno; then
32003 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
32004 fi
32005
32006 if test "x$THREADS_CFLAGS" != "x"; then
32007 CFLAGS="$CFLAGS $THREADS_CFLAGS"
32008 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
32009 fi
32010 fi
32011 fi
32012
32013 if test "$wxUSE_THREADS" = "yes" ; then
32014
32015 for ac_func in thr_setconcurrency
32016 do
32017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32018 echo "$as_me:$LINENO: checking for $ac_func" >&5
32019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32020 if eval "test \"\${$as_ac_var+set}\" = set"; then
32021 echo $ECHO_N "(cached) $ECHO_C" >&6
32022 else
32023 cat >conftest.$ac_ext <<_ACEOF
32024 /* confdefs.h. */
32025 _ACEOF
32026 cat confdefs.h >>conftest.$ac_ext
32027 cat >>conftest.$ac_ext <<_ACEOF
32028 /* end confdefs.h. */
32029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32031 #define $ac_func innocuous_$ac_func
32032
32033 /* System header to define __stub macros and hopefully few prototypes,
32034 which can conflict with char $ac_func (); below.
32035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32036 <limits.h> exists even on freestanding compilers. */
32037
32038 #ifdef __STDC__
32039 # include <limits.h>
32040 #else
32041 # include <assert.h>
32042 #endif
32043
32044 #undef $ac_func
32045
32046 /* Override any gcc2 internal prototype to avoid an error. */
32047 #ifdef __cplusplus
32048 extern "C"
32049 {
32050 #endif
32051 /* We use char because int might match the return type of a gcc2
32052 builtin and then its argument prototype would still apply. */
32053 char $ac_func ();
32054 /* The GNU C library defines this for functions which it implements
32055 to always fail with ENOSYS. Some functions are actually named
32056 something starting with __ and the normal name is an alias. */
32057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32058 choke me
32059 #else
32060 char (*f) () = $ac_func;
32061 #endif
32062 #ifdef __cplusplus
32063 }
32064 #endif
32065
32066 int
32067 main ()
32068 {
32069 return f != $ac_func;
32070 ;
32071 return 0;
32072 }
32073 _ACEOF
32074 rm -f conftest.$ac_objext conftest$ac_exeext
32075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32076 (eval $ac_link) 2>conftest.er1
32077 ac_status=$?
32078 grep -v '^ *+' conftest.er1 >conftest.err
32079 rm -f conftest.er1
32080 cat conftest.err >&5
32081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32082 (exit $ac_status); } &&
32083 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32085 (eval $ac_try) 2>&5
32086 ac_status=$?
32087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32088 (exit $ac_status); }; } &&
32089 { ac_try='test -s conftest$ac_exeext'
32090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32091 (eval $ac_try) 2>&5
32092 ac_status=$?
32093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32094 (exit $ac_status); }; }; then
32095 eval "$as_ac_var=yes"
32096 else
32097 echo "$as_me: failed program was:" >&5
32098 sed 's/^/| /' conftest.$ac_ext >&5
32099
32100 eval "$as_ac_var=no"
32101 fi
32102 rm -f conftest.err conftest.$ac_objext \
32103 conftest$ac_exeext conftest.$ac_ext
32104 fi
32105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32107 if test `eval echo '${'$as_ac_var'}'` = yes; then
32108 cat >>confdefs.h <<_ACEOF
32109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32110 _ACEOF
32111
32112 fi
32113 done
32114
32115
32116
32117 for ac_header in sched.h
32118 do
32119 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32121 echo "$as_me:$LINENO: checking for $ac_header" >&5
32122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32124 echo $ECHO_N "(cached) $ECHO_C" >&6
32125 fi
32126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32127 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32128 else
32129 # Is the header compilable?
32130 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32131 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32132 cat >conftest.$ac_ext <<_ACEOF
32133 /* confdefs.h. */
32134 _ACEOF
32135 cat confdefs.h >>conftest.$ac_ext
32136 cat >>conftest.$ac_ext <<_ACEOF
32137 /* end confdefs.h. */
32138 $ac_includes_default
32139 #include <$ac_header>
32140 _ACEOF
32141 rm -f conftest.$ac_objext
32142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32143 (eval $ac_compile) 2>conftest.er1
32144 ac_status=$?
32145 grep -v '^ *+' conftest.er1 >conftest.err
32146 rm -f conftest.er1
32147 cat conftest.err >&5
32148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32149 (exit $ac_status); } &&
32150 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32152 (eval $ac_try) 2>&5
32153 ac_status=$?
32154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32155 (exit $ac_status); }; } &&
32156 { ac_try='test -s conftest.$ac_objext'
32157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32158 (eval $ac_try) 2>&5
32159 ac_status=$?
32160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32161 (exit $ac_status); }; }; then
32162 ac_header_compiler=yes
32163 else
32164 echo "$as_me: failed program was:" >&5
32165 sed 's/^/| /' conftest.$ac_ext >&5
32166
32167 ac_header_compiler=no
32168 fi
32169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32170 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32171 echo "${ECHO_T}$ac_header_compiler" >&6
32172
32173 # Is the header present?
32174 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32175 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32176 cat >conftest.$ac_ext <<_ACEOF
32177 /* confdefs.h. */
32178 _ACEOF
32179 cat confdefs.h >>conftest.$ac_ext
32180 cat >>conftest.$ac_ext <<_ACEOF
32181 /* end confdefs.h. */
32182 #include <$ac_header>
32183 _ACEOF
32184 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32185 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32186 ac_status=$?
32187 grep -v '^ *+' conftest.er1 >conftest.err
32188 rm -f conftest.er1
32189 cat conftest.err >&5
32190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32191 (exit $ac_status); } >/dev/null; then
32192 if test -s conftest.err; then
32193 ac_cpp_err=$ac_c_preproc_warn_flag
32194 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32195 else
32196 ac_cpp_err=
32197 fi
32198 else
32199 ac_cpp_err=yes
32200 fi
32201 if test -z "$ac_cpp_err"; then
32202 ac_header_preproc=yes
32203 else
32204 echo "$as_me: failed program was:" >&5
32205 sed 's/^/| /' conftest.$ac_ext >&5
32206
32207 ac_header_preproc=no
32208 fi
32209 rm -f conftest.err conftest.$ac_ext
32210 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32211 echo "${ECHO_T}$ac_header_preproc" >&6
32212
32213 # So? What about this header?
32214 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32215 yes:no: )
32216 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32217 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32218 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32219 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32220 ac_header_preproc=yes
32221 ;;
32222 no:yes:* )
32223 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32224 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32225 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32226 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32227 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32228 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32229 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32230 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32231 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32232 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32233 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32234 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32235 (
32236 cat <<\_ASBOX
32237 ## ----------------------------------------- ##
32238 ## Report this to wx-dev@lists.wxwindows.org ##
32239 ## ----------------------------------------- ##
32240 _ASBOX
32241 ) |
32242 sed "s/^/$as_me: WARNING: /" >&2
32243 ;;
32244 esac
32245 echo "$as_me:$LINENO: checking for $ac_header" >&5
32246 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32248 echo $ECHO_N "(cached) $ECHO_C" >&6
32249 else
32250 eval "$as_ac_Header=\$ac_header_preproc"
32251 fi
32252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32253 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32254
32255 fi
32256 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32257 cat >>confdefs.h <<_ACEOF
32258 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32259 _ACEOF
32260
32261 fi
32262
32263 done
32264
32265 if test "$ac_cv_header_sched_h" = "yes"; then
32266 echo "$as_me:$LINENO: checking for sched_yield" >&5
32267 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32268 if test "${ac_cv_func_sched_yield+set}" = set; then
32269 echo $ECHO_N "(cached) $ECHO_C" >&6
32270 else
32271 cat >conftest.$ac_ext <<_ACEOF
32272 /* confdefs.h. */
32273 _ACEOF
32274 cat confdefs.h >>conftest.$ac_ext
32275 cat >>conftest.$ac_ext <<_ACEOF
32276 /* end confdefs.h. */
32277 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32279 #define sched_yield innocuous_sched_yield
32280
32281 /* System header to define __stub macros and hopefully few prototypes,
32282 which can conflict with char sched_yield (); below.
32283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32284 <limits.h> exists even on freestanding compilers. */
32285
32286 #ifdef __STDC__
32287 # include <limits.h>
32288 #else
32289 # include <assert.h>
32290 #endif
32291
32292 #undef sched_yield
32293
32294 /* Override any gcc2 internal prototype to avoid an error. */
32295 #ifdef __cplusplus
32296 extern "C"
32297 {
32298 #endif
32299 /* We use char because int might match the return type of a gcc2
32300 builtin and then its argument prototype would still apply. */
32301 char sched_yield ();
32302 /* The GNU C library defines this for functions which it implements
32303 to always fail with ENOSYS. Some functions are actually named
32304 something starting with __ and the normal name is an alias. */
32305 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32306 choke me
32307 #else
32308 char (*f) () = sched_yield;
32309 #endif
32310 #ifdef __cplusplus
32311 }
32312 #endif
32313
32314 int
32315 main ()
32316 {
32317 return f != sched_yield;
32318 ;
32319 return 0;
32320 }
32321 _ACEOF
32322 rm -f conftest.$ac_objext conftest$ac_exeext
32323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32324 (eval $ac_link) 2>conftest.er1
32325 ac_status=$?
32326 grep -v '^ *+' conftest.er1 >conftest.err
32327 rm -f conftest.er1
32328 cat conftest.err >&5
32329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32330 (exit $ac_status); } &&
32331 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32333 (eval $ac_try) 2>&5
32334 ac_status=$?
32335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32336 (exit $ac_status); }; } &&
32337 { ac_try='test -s conftest$ac_exeext'
32338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32339 (eval $ac_try) 2>&5
32340 ac_status=$?
32341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32342 (exit $ac_status); }; }; then
32343 ac_cv_func_sched_yield=yes
32344 else
32345 echo "$as_me: failed program was:" >&5
32346 sed 's/^/| /' conftest.$ac_ext >&5
32347
32348 ac_cv_func_sched_yield=no
32349 fi
32350 rm -f conftest.err conftest.$ac_objext \
32351 conftest$ac_exeext conftest.$ac_ext
32352 fi
32353 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32354 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32355 if test $ac_cv_func_sched_yield = yes; then
32356 cat >>confdefs.h <<\_ACEOF
32357 #define HAVE_SCHED_YIELD 1
32358 _ACEOF
32359
32360 else
32361
32362 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32363 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32364 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32365 echo $ECHO_N "(cached) $ECHO_C" >&6
32366 else
32367 ac_check_lib_save_LIBS=$LIBS
32368 LIBS="-lposix4 $LIBS"
32369 cat >conftest.$ac_ext <<_ACEOF
32370 /* confdefs.h. */
32371 _ACEOF
32372 cat confdefs.h >>conftest.$ac_ext
32373 cat >>conftest.$ac_ext <<_ACEOF
32374 /* end confdefs.h. */
32375
32376 /* Override any gcc2 internal prototype to avoid an error. */
32377 #ifdef __cplusplus
32378 extern "C"
32379 #endif
32380 /* We use char because int might match the return type of a gcc2
32381 builtin and then its argument prototype would still apply. */
32382 char sched_yield ();
32383 int
32384 main ()
32385 {
32386 sched_yield ();
32387 ;
32388 return 0;
32389 }
32390 _ACEOF
32391 rm -f conftest.$ac_objext conftest$ac_exeext
32392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32393 (eval $ac_link) 2>conftest.er1
32394 ac_status=$?
32395 grep -v '^ *+' conftest.er1 >conftest.err
32396 rm -f conftest.er1
32397 cat conftest.err >&5
32398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32399 (exit $ac_status); } &&
32400 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32402 (eval $ac_try) 2>&5
32403 ac_status=$?
32404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32405 (exit $ac_status); }; } &&
32406 { ac_try='test -s conftest$ac_exeext'
32407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32408 (eval $ac_try) 2>&5
32409 ac_status=$?
32410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32411 (exit $ac_status); }; }; then
32412 ac_cv_lib_posix4_sched_yield=yes
32413 else
32414 echo "$as_me: failed program was:" >&5
32415 sed 's/^/| /' conftest.$ac_ext >&5
32416
32417 ac_cv_lib_posix4_sched_yield=no
32418 fi
32419 rm -f conftest.err conftest.$ac_objext \
32420 conftest$ac_exeext conftest.$ac_ext
32421 LIBS=$ac_check_lib_save_LIBS
32422 fi
32423 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32424 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32425 if test $ac_cv_lib_posix4_sched_yield = yes; then
32426 cat >>confdefs.h <<\_ACEOF
32427 #define HAVE_SCHED_YIELD 1
32428 _ACEOF
32429 POSIX4_LINK=" -lposix4"
32430 else
32431 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32432 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32433
32434 fi
32435
32436
32437
32438 fi
32439
32440 fi
32441
32442 HAVE_PRIOR_FUNCS=0
32443 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32444 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32445 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32446 echo $ECHO_N "(cached) $ECHO_C" >&6
32447 else
32448 cat >conftest.$ac_ext <<_ACEOF
32449 /* confdefs.h. */
32450 _ACEOF
32451 cat confdefs.h >>conftest.$ac_ext
32452 cat >>conftest.$ac_ext <<_ACEOF
32453 /* end confdefs.h. */
32454 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32456 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32457
32458 /* System header to define __stub macros and hopefully few prototypes,
32459 which can conflict with char pthread_attr_getschedpolicy (); below.
32460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32461 <limits.h> exists even on freestanding compilers. */
32462
32463 #ifdef __STDC__
32464 # include <limits.h>
32465 #else
32466 # include <assert.h>
32467 #endif
32468
32469 #undef pthread_attr_getschedpolicy
32470
32471 /* Override any gcc2 internal prototype to avoid an error. */
32472 #ifdef __cplusplus
32473 extern "C"
32474 {
32475 #endif
32476 /* We use char because int might match the return type of a gcc2
32477 builtin and then its argument prototype would still apply. */
32478 char pthread_attr_getschedpolicy ();
32479 /* The GNU C library defines this for functions which it implements
32480 to always fail with ENOSYS. Some functions are actually named
32481 something starting with __ and the normal name is an alias. */
32482 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32483 choke me
32484 #else
32485 char (*f) () = pthread_attr_getschedpolicy;
32486 #endif
32487 #ifdef __cplusplus
32488 }
32489 #endif
32490
32491 int
32492 main ()
32493 {
32494 return f != pthread_attr_getschedpolicy;
32495 ;
32496 return 0;
32497 }
32498 _ACEOF
32499 rm -f conftest.$ac_objext conftest$ac_exeext
32500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32501 (eval $ac_link) 2>conftest.er1
32502 ac_status=$?
32503 grep -v '^ *+' conftest.er1 >conftest.err
32504 rm -f conftest.er1
32505 cat conftest.err >&5
32506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32507 (exit $ac_status); } &&
32508 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32510 (eval $ac_try) 2>&5
32511 ac_status=$?
32512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32513 (exit $ac_status); }; } &&
32514 { ac_try='test -s conftest$ac_exeext'
32515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32516 (eval $ac_try) 2>&5
32517 ac_status=$?
32518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32519 (exit $ac_status); }; }; then
32520 ac_cv_func_pthread_attr_getschedpolicy=yes
32521 else
32522 echo "$as_me: failed program was:" >&5
32523 sed 's/^/| /' conftest.$ac_ext >&5
32524
32525 ac_cv_func_pthread_attr_getschedpolicy=no
32526 fi
32527 rm -f conftest.err conftest.$ac_objext \
32528 conftest$ac_exeext conftest.$ac_ext
32529 fi
32530 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32531 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32532 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32533 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32534 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32535 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32536 echo $ECHO_N "(cached) $ECHO_C" >&6
32537 else
32538 cat >conftest.$ac_ext <<_ACEOF
32539 /* confdefs.h. */
32540 _ACEOF
32541 cat confdefs.h >>conftest.$ac_ext
32542 cat >>conftest.$ac_ext <<_ACEOF
32543 /* end confdefs.h. */
32544 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32546 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32547
32548 /* System header to define __stub macros and hopefully few prototypes,
32549 which can conflict with char pthread_attr_setschedparam (); below.
32550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32551 <limits.h> exists even on freestanding compilers. */
32552
32553 #ifdef __STDC__
32554 # include <limits.h>
32555 #else
32556 # include <assert.h>
32557 #endif
32558
32559 #undef pthread_attr_setschedparam
32560
32561 /* Override any gcc2 internal prototype to avoid an error. */
32562 #ifdef __cplusplus
32563 extern "C"
32564 {
32565 #endif
32566 /* We use char because int might match the return type of a gcc2
32567 builtin and then its argument prototype would still apply. */
32568 char pthread_attr_setschedparam ();
32569 /* The GNU C library defines this for functions which it implements
32570 to always fail with ENOSYS. Some functions are actually named
32571 something starting with __ and the normal name is an alias. */
32572 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32573 choke me
32574 #else
32575 char (*f) () = pthread_attr_setschedparam;
32576 #endif
32577 #ifdef __cplusplus
32578 }
32579 #endif
32580
32581 int
32582 main ()
32583 {
32584 return f != pthread_attr_setschedparam;
32585 ;
32586 return 0;
32587 }
32588 _ACEOF
32589 rm -f conftest.$ac_objext conftest$ac_exeext
32590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32591 (eval $ac_link) 2>conftest.er1
32592 ac_status=$?
32593 grep -v '^ *+' conftest.er1 >conftest.err
32594 rm -f conftest.er1
32595 cat conftest.err >&5
32596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32597 (exit $ac_status); } &&
32598 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32600 (eval $ac_try) 2>&5
32601 ac_status=$?
32602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32603 (exit $ac_status); }; } &&
32604 { ac_try='test -s conftest$ac_exeext'
32605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32606 (eval $ac_try) 2>&5
32607 ac_status=$?
32608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32609 (exit $ac_status); }; }; then
32610 ac_cv_func_pthread_attr_setschedparam=yes
32611 else
32612 echo "$as_me: failed program was:" >&5
32613 sed 's/^/| /' conftest.$ac_ext >&5
32614
32615 ac_cv_func_pthread_attr_setschedparam=no
32616 fi
32617 rm -f conftest.err conftest.$ac_objext \
32618 conftest$ac_exeext conftest.$ac_ext
32619 fi
32620 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32621 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32622 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32623 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32624 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32625 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32626 echo $ECHO_N "(cached) $ECHO_C" >&6
32627 else
32628 cat >conftest.$ac_ext <<_ACEOF
32629 /* confdefs.h. */
32630 _ACEOF
32631 cat confdefs.h >>conftest.$ac_ext
32632 cat >>conftest.$ac_ext <<_ACEOF
32633 /* end confdefs.h. */
32634 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32636 #define sched_get_priority_max innocuous_sched_get_priority_max
32637
32638 /* System header to define __stub macros and hopefully few prototypes,
32639 which can conflict with char sched_get_priority_max (); below.
32640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32641 <limits.h> exists even on freestanding compilers. */
32642
32643 #ifdef __STDC__
32644 # include <limits.h>
32645 #else
32646 # include <assert.h>
32647 #endif
32648
32649 #undef sched_get_priority_max
32650
32651 /* Override any gcc2 internal prototype to avoid an error. */
32652 #ifdef __cplusplus
32653 extern "C"
32654 {
32655 #endif
32656 /* We use char because int might match the return type of a gcc2
32657 builtin and then its argument prototype would still apply. */
32658 char sched_get_priority_max ();
32659 /* The GNU C library defines this for functions which it implements
32660 to always fail with ENOSYS. Some functions are actually named
32661 something starting with __ and the normal name is an alias. */
32662 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32663 choke me
32664 #else
32665 char (*f) () = sched_get_priority_max;
32666 #endif
32667 #ifdef __cplusplus
32668 }
32669 #endif
32670
32671 int
32672 main ()
32673 {
32674 return f != sched_get_priority_max;
32675 ;
32676 return 0;
32677 }
32678 _ACEOF
32679 rm -f conftest.$ac_objext conftest$ac_exeext
32680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32681 (eval $ac_link) 2>conftest.er1
32682 ac_status=$?
32683 grep -v '^ *+' conftest.er1 >conftest.err
32684 rm -f conftest.er1
32685 cat conftest.err >&5
32686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32687 (exit $ac_status); } &&
32688 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32690 (eval $ac_try) 2>&5
32691 ac_status=$?
32692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32693 (exit $ac_status); }; } &&
32694 { ac_try='test -s conftest$ac_exeext'
32695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32696 (eval $ac_try) 2>&5
32697 ac_status=$?
32698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32699 (exit $ac_status); }; }; then
32700 ac_cv_func_sched_get_priority_max=yes
32701 else
32702 echo "$as_me: failed program was:" >&5
32703 sed 's/^/| /' conftest.$ac_ext >&5
32704
32705 ac_cv_func_sched_get_priority_max=no
32706 fi
32707 rm -f conftest.err conftest.$ac_objext \
32708 conftest$ac_exeext conftest.$ac_ext
32709 fi
32710 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32711 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32712 if test $ac_cv_func_sched_get_priority_max = yes; then
32713 HAVE_PRIOR_FUNCS=1
32714 else
32715 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32716 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32717 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32718 echo $ECHO_N "(cached) $ECHO_C" >&6
32719 else
32720 ac_check_lib_save_LIBS=$LIBS
32721 LIBS="-lposix4 $LIBS"
32722 cat >conftest.$ac_ext <<_ACEOF
32723 /* confdefs.h. */
32724 _ACEOF
32725 cat confdefs.h >>conftest.$ac_ext
32726 cat >>conftest.$ac_ext <<_ACEOF
32727 /* end confdefs.h. */
32728
32729 /* Override any gcc2 internal prototype to avoid an error. */
32730 #ifdef __cplusplus
32731 extern "C"
32732 #endif
32733 /* We use char because int might match the return type of a gcc2
32734 builtin and then its argument prototype would still apply. */
32735 char sched_get_priority_max ();
32736 int
32737 main ()
32738 {
32739 sched_get_priority_max ();
32740 ;
32741 return 0;
32742 }
32743 _ACEOF
32744 rm -f conftest.$ac_objext conftest$ac_exeext
32745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32746 (eval $ac_link) 2>conftest.er1
32747 ac_status=$?
32748 grep -v '^ *+' conftest.er1 >conftest.err
32749 rm -f conftest.er1
32750 cat conftest.err >&5
32751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32752 (exit $ac_status); } &&
32753 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32755 (eval $ac_try) 2>&5
32756 ac_status=$?
32757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32758 (exit $ac_status); }; } &&
32759 { ac_try='test -s conftest$ac_exeext'
32760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32761 (eval $ac_try) 2>&5
32762 ac_status=$?
32763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32764 (exit $ac_status); }; }; then
32765 ac_cv_lib_posix4_sched_get_priority_max=yes
32766 else
32767 echo "$as_me: failed program was:" >&5
32768 sed 's/^/| /' conftest.$ac_ext >&5
32769
32770 ac_cv_lib_posix4_sched_get_priority_max=no
32771 fi
32772 rm -f conftest.err conftest.$ac_objext \
32773 conftest$ac_exeext conftest.$ac_ext
32774 LIBS=$ac_check_lib_save_LIBS
32775 fi
32776 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32777 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32778 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32779
32780 HAVE_PRIOR_FUNCS=1
32781 POSIX4_LINK=" -lposix4"
32782
32783 fi
32784
32785
32786 fi
32787
32788
32789 fi
32790
32791
32792 fi
32793
32794
32795 if test "$HAVE_PRIOR_FUNCS" = 1; then
32796 cat >>confdefs.h <<\_ACEOF
32797 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32798 _ACEOF
32799
32800 else
32801 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32802 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32803 fi
32804
32805 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32806 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32807 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32808 echo $ECHO_N "(cached) $ECHO_C" >&6
32809 else
32810 cat >conftest.$ac_ext <<_ACEOF
32811 /* confdefs.h. */
32812 _ACEOF
32813 cat confdefs.h >>conftest.$ac_ext
32814 cat >>conftest.$ac_ext <<_ACEOF
32815 /* end confdefs.h. */
32816 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
32817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32818 #define pthread_cancel innocuous_pthread_cancel
32819
32820 /* System header to define __stub macros and hopefully few prototypes,
32821 which can conflict with char pthread_cancel (); below.
32822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32823 <limits.h> exists even on freestanding compilers. */
32824
32825 #ifdef __STDC__
32826 # include <limits.h>
32827 #else
32828 # include <assert.h>
32829 #endif
32830
32831 #undef pthread_cancel
32832
32833 /* Override any gcc2 internal prototype to avoid an error. */
32834 #ifdef __cplusplus
32835 extern "C"
32836 {
32837 #endif
32838 /* We use char because int might match the return type of a gcc2
32839 builtin and then its argument prototype would still apply. */
32840 char pthread_cancel ();
32841 /* The GNU C library defines this for functions which it implements
32842 to always fail with ENOSYS. Some functions are actually named
32843 something starting with __ and the normal name is an alias. */
32844 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
32845 choke me
32846 #else
32847 char (*f) () = pthread_cancel;
32848 #endif
32849 #ifdef __cplusplus
32850 }
32851 #endif
32852
32853 int
32854 main ()
32855 {
32856 return f != pthread_cancel;
32857 ;
32858 return 0;
32859 }
32860 _ACEOF
32861 rm -f conftest.$ac_objext conftest$ac_exeext
32862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32863 (eval $ac_link) 2>conftest.er1
32864 ac_status=$?
32865 grep -v '^ *+' conftest.er1 >conftest.err
32866 rm -f conftest.er1
32867 cat conftest.err >&5
32868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32869 (exit $ac_status); } &&
32870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32872 (eval $ac_try) 2>&5
32873 ac_status=$?
32874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32875 (exit $ac_status); }; } &&
32876 { ac_try='test -s conftest$ac_exeext'
32877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32878 (eval $ac_try) 2>&5
32879 ac_status=$?
32880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32881 (exit $ac_status); }; }; then
32882 ac_cv_func_pthread_cancel=yes
32883 else
32884 echo "$as_me: failed program was:" >&5
32885 sed 's/^/| /' conftest.$ac_ext >&5
32886
32887 ac_cv_func_pthread_cancel=no
32888 fi
32889 rm -f conftest.err conftest.$ac_objext \
32890 conftest$ac_exeext conftest.$ac_ext
32891 fi
32892 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
32893 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
32894 if test $ac_cv_func_pthread_cancel = yes; then
32895 cat >>confdefs.h <<\_ACEOF
32896 #define HAVE_PTHREAD_CANCEL 1
32897 _ACEOF
32898
32899 else
32900 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
32901 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32902 fi
32903
32904
32905
32906
32907 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
32908 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
32909 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
32910 echo $ECHO_N "(cached) $ECHO_C" >&6
32911 else
32912
32913 cat >conftest.$ac_ext <<_ACEOF
32914 /* confdefs.h. */
32915 _ACEOF
32916 cat confdefs.h >>conftest.$ac_ext
32917 cat >>conftest.$ac_ext <<_ACEOF
32918 /* end confdefs.h. */
32919 #include <pthread.h>
32920 int
32921 main ()
32922 {
32923
32924 pthread_mutexattr_t attr;
32925 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32926
32927 ;
32928 return 0;
32929 }
32930 _ACEOF
32931 rm -f conftest.$ac_objext
32932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32933 (eval $ac_compile) 2>conftest.er1
32934 ac_status=$?
32935 grep -v '^ *+' conftest.er1 >conftest.err
32936 rm -f conftest.er1
32937 cat conftest.err >&5
32938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32939 (exit $ac_status); } &&
32940 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32942 (eval $ac_try) 2>&5
32943 ac_status=$?
32944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32945 (exit $ac_status); }; } &&
32946 { ac_try='test -s conftest.$ac_objext'
32947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32948 (eval $ac_try) 2>&5
32949 ac_status=$?
32950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32951 (exit $ac_status); }; }; then
32952
32953 wx_cv_type_pthread_mutexattr_t=yes
32954
32955 else
32956 echo "$as_me: failed program was:" >&5
32957 sed 's/^/| /' conftest.$ac_ext >&5
32958
32959
32960 wx_cv_type_pthread_mutexattr_t=no
32961
32962
32963 fi
32964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32965
32966 fi
32967 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
32968 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
32969
32970 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32971 cat >>confdefs.h <<\_ACEOF
32972 #define HAVE_PTHREAD_MUTEXATTR_T 1
32973 _ACEOF
32974
32975 else
32976 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32977 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
32978 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
32979 echo $ECHO_N "(cached) $ECHO_C" >&6
32980 else
32981
32982 cat >conftest.$ac_ext <<_ACEOF
32983 /* confdefs.h. */
32984 _ACEOF
32985 cat confdefs.h >>conftest.$ac_ext
32986 cat >>conftest.$ac_ext <<_ACEOF
32987 /* end confdefs.h. */
32988 #include <pthread.h>
32989 int
32990 main ()
32991 {
32992
32993 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32994
32995 ;
32996 return 0;
32997 }
32998 _ACEOF
32999 rm -f conftest.$ac_objext
33000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33001 (eval $ac_compile) 2>conftest.er1
33002 ac_status=$?
33003 grep -v '^ *+' conftest.er1 >conftest.err
33004 rm -f conftest.er1
33005 cat conftest.err >&5
33006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33007 (exit $ac_status); } &&
33008 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33010 (eval $ac_try) 2>&5
33011 ac_status=$?
33012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33013 (exit $ac_status); }; } &&
33014 { ac_try='test -s conftest.$ac_objext'
33015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33016 (eval $ac_try) 2>&5
33017 ac_status=$?
33018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33019 (exit $ac_status); }; }; then
33020
33021 wx_cv_type_pthread_rec_mutex_init=yes
33022
33023 else
33024 echo "$as_me: failed program was:" >&5
33025 sed 's/^/| /' conftest.$ac_ext >&5
33026
33027
33028 wx_cv_type_pthread_rec_mutex_init=no
33029
33030
33031 fi
33032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33033
33034 fi
33035 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33036 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33037 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33038 cat >>confdefs.h <<\_ACEOF
33039 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33040 _ACEOF
33041
33042 else
33043 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33044 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33045 fi
33046 fi
33047 fi
33048
33049 else
33050 if test "$wxUSE_THREADS" = "yes" ; then
33051 case "${host}" in
33052 *-*-mingw32* )
33053 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33054 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33055 if test "${wx_cv_cflags_mthread+set}" = set; then
33056 echo $ECHO_N "(cached) $ECHO_C" >&6
33057 else
33058
33059 CFLAGS_OLD="$CFLAGS"
33060 CFLAGS="$CFLAGS -mthreads"
33061 cat >conftest.$ac_ext <<_ACEOF
33062 /* confdefs.h. */
33063 _ACEOF
33064 cat confdefs.h >>conftest.$ac_ext
33065 cat >>conftest.$ac_ext <<_ACEOF
33066 /* end confdefs.h. */
33067
33068 int
33069 main ()
33070 {
33071
33072 ;
33073 return 0;
33074 }
33075 _ACEOF
33076 rm -f conftest.$ac_objext
33077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33078 (eval $ac_compile) 2>conftest.er1
33079 ac_status=$?
33080 grep -v '^ *+' conftest.er1 >conftest.err
33081 rm -f conftest.er1
33082 cat conftest.err >&5
33083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33084 (exit $ac_status); } &&
33085 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33087 (eval $ac_try) 2>&5
33088 ac_status=$?
33089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33090 (exit $ac_status); }; } &&
33091 { ac_try='test -s conftest.$ac_objext'
33092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33093 (eval $ac_try) 2>&5
33094 ac_status=$?
33095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33096 (exit $ac_status); }; }; then
33097 wx_cv_cflags_mthread=yes
33098 else
33099 echo "$as_me: failed program was:" >&5
33100 sed 's/^/| /' conftest.$ac_ext >&5
33101
33102 wx_cv_cflags_mthread=no
33103
33104 fi
33105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33106
33107
33108 fi
33109 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33110 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33111
33112 if test "$wx_cv_cflags_mthread" = "yes"; then
33113 CXXFLAGS="$CXXFLAGS -mthreads"
33114 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
33115 LDFLAGS="$LDFLAGS -mthreads"
33116 else
33117 CFLAGS="$CFLAGS_OLD"
33118 fi
33119 ;;
33120 *-pc-os2*emx )
33121 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33122 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33123 LDFLAGS="$LDFLAGS -Zmt"
33124 ;;
33125 esac
33126 fi
33127 fi
33128
33129 if test "$wxUSE_THREADS" = "yes"; then
33130 cat >>confdefs.h <<\_ACEOF
33131 #define wxUSE_THREADS 1
33132 _ACEOF
33133
33134
33135 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
33136 else
33137 if test "$ac_cv_func_strtok_r" = "yes"; then
33138 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33139 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33140 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33141 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
33142 echo "$as_me:$LINENO: result: yes" >&5
33143 echo "${ECHO_T}yes" >&6
33144 else
33145 echo "$as_me:$LINENO: result: no" >&5
33146 echo "${ECHO_T}no" >&6
33147 fi
33148 fi
33149 fi
33150
33151 if test "$WXGTK20" = 1 ; then
33152 cat >>confdefs.h <<_ACEOF
33153 #define __WXGTK20__ $WXGTK20
33154 _ACEOF
33155
33156 WXGTK12=1
33157 fi
33158
33159 if test "$WXGTK12" = 1 ; then
33160 cat >>confdefs.h <<_ACEOF
33161 #define __WXGTK12__ $WXGTK12
33162 _ACEOF
33163
33164 fi
33165
33166 if test "$WXGTK127" = 1 ; then
33167 cat >>confdefs.h <<_ACEOF
33168 #define __WXGTK127__ $WXGTK127
33169 _ACEOF
33170
33171 fi
33172
33173 if test "$WXGPE" = 1 ; then
33174 cat >>confdefs.h <<_ACEOF
33175 #define __WXGPE__ $WXGPE
33176 _ACEOF
33177
33178 fi
33179
33180 WXDEBUG=
33181
33182 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33183 WXDEBUG="-g"
33184 wxUSE_OPTIMISE=no
33185 fi
33186
33187 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33188 wxUSE_DEBUG_INFO=yes
33189 WXDEBUG="-ggdb"
33190 fi
33191
33192 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33193 cat >>confdefs.h <<\_ACEOF
33194 #define WXDEBUG 1
33195 _ACEOF
33196
33197 WXDEBUG_DEFINE="-D__WXDEBUG__"
33198 else
33199 if test "$wxUSE_GTK" = 1 ; then
33200 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
33201 fi
33202 fi
33203
33204 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33205 cat >>confdefs.h <<\_ACEOF
33206 #define wxUSE_MEMORY_TRACING 1
33207 _ACEOF
33208
33209 cat >>confdefs.h <<\_ACEOF
33210 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33211 _ACEOF
33212
33213 cat >>confdefs.h <<\_ACEOF
33214 #define wxUSE_DEBUG_NEW_ALWAYS 1
33215 _ACEOF
33216
33217 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
33218 fi
33219
33220 if test "$wxUSE_DMALLOC" = "yes" ; then
33221 DMALLOC_LIBS="-ldmalloc"
33222 fi
33223
33224 PROFILE=
33225 if test "$wxUSE_PROFILE" = "yes" ; then
33226 PROFILE=" -pg"
33227 fi
33228
33229 CODE_GEN_FLAGS=
33230 CODE_GEN_FLAGS_CXX=
33231 if test "$GCC" = "yes" ; then
33232 if test "$wxUSE_NO_RTTI" = "yes" ; then
33233 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
33234 fi
33235 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33236 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33237 fi
33238 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33239 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
33240 fi
33241
33242 case "${host}" in
33243 powerpc*-*-aix* )
33244 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
33245 ;;
33246 *-hppa* )
33247 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
33248 ;;
33249 esac
33250 fi
33251
33252 OPTIMISE=
33253 if test "$wxUSE_OPTIMISE" = "no" ; then
33254 if test "$GCC" = yes ; then
33255 OPTIMISE="-O0"
33256 fi
33257 else
33258 if test "$GCC" = yes ; then
33259 OPTIMISE="-O2"
33260
33261 case "${host}" in
33262 i586-*-*|i686-*-* )
33263 OPTIMISE="${OPTIMISE} "
33264 ;;
33265 esac
33266 else
33267 OPTIMISE="-O"
33268 fi
33269 fi
33270
33271
33272 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33273 cat >>confdefs.h <<\_ACEOF
33274 #define WXWIN_COMPATIBILITY_2_2 1
33275 _ACEOF
33276
33277
33278 WXWIN_COMPATIBILITY_2_4="yes"
33279 fi
33280
33281 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33282 cat >>confdefs.h <<\_ACEOF
33283 #define WXWIN_COMPATIBILITY_2_4 1
33284 _ACEOF
33285
33286 fi
33287
33288
33289 if test "$wxUSE_GUI" = "yes"; then
33290 cat >>confdefs.h <<\_ACEOF
33291 #define wxUSE_GUI 1
33292 _ACEOF
33293
33294
33295 else
33296 cat >>confdefs.h <<\_ACEOF
33297 #define wxUSE_NOGUI 1
33298 _ACEOF
33299
33300 fi
33301
33302
33303 if test "$wxUSE_UNIX" = "yes"; then
33304 cat >>confdefs.h <<\_ACEOF
33305 #define wxUSE_UNIX 1
33306 _ACEOF
33307
33308 fi
33309
33310
33311 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33312
33313 HAVE_DL_FUNCS=0
33314 HAVE_SHL_FUNCS=0
33315 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33316 if test "$USE_DARWIN" = 1; then
33317 HAVE_DL_FUNCS=1
33318 else
33319
33320 for ac_func in dlopen
33321 do
33322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33323 echo "$as_me:$LINENO: checking for $ac_func" >&5
33324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33325 if eval "test \"\${$as_ac_var+set}\" = set"; then
33326 echo $ECHO_N "(cached) $ECHO_C" >&6
33327 else
33328 cat >conftest.$ac_ext <<_ACEOF
33329 /* confdefs.h. */
33330 _ACEOF
33331 cat confdefs.h >>conftest.$ac_ext
33332 cat >>conftest.$ac_ext <<_ACEOF
33333 /* end confdefs.h. */
33334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33336 #define $ac_func innocuous_$ac_func
33337
33338 /* System header to define __stub macros and hopefully few prototypes,
33339 which can conflict with char $ac_func (); below.
33340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33341 <limits.h> exists even on freestanding compilers. */
33342
33343 #ifdef __STDC__
33344 # include <limits.h>
33345 #else
33346 # include <assert.h>
33347 #endif
33348
33349 #undef $ac_func
33350
33351 /* Override any gcc2 internal prototype to avoid an error. */
33352 #ifdef __cplusplus
33353 extern "C"
33354 {
33355 #endif
33356 /* We use char because int might match the return type of a gcc2
33357 builtin and then its argument prototype would still apply. */
33358 char $ac_func ();
33359 /* The GNU C library defines this for functions which it implements
33360 to always fail with ENOSYS. Some functions are actually named
33361 something starting with __ and the normal name is an alias. */
33362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33363 choke me
33364 #else
33365 char (*f) () = $ac_func;
33366 #endif
33367 #ifdef __cplusplus
33368 }
33369 #endif
33370
33371 int
33372 main ()
33373 {
33374 return f != $ac_func;
33375 ;
33376 return 0;
33377 }
33378 _ACEOF
33379 rm -f conftest.$ac_objext conftest$ac_exeext
33380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33381 (eval $ac_link) 2>conftest.er1
33382 ac_status=$?
33383 grep -v '^ *+' conftest.er1 >conftest.err
33384 rm -f conftest.er1
33385 cat conftest.err >&5
33386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33387 (exit $ac_status); } &&
33388 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33390 (eval $ac_try) 2>&5
33391 ac_status=$?
33392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33393 (exit $ac_status); }; } &&
33394 { ac_try='test -s conftest$ac_exeext'
33395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33396 (eval $ac_try) 2>&5
33397 ac_status=$?
33398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33399 (exit $ac_status); }; }; then
33400 eval "$as_ac_var=yes"
33401 else
33402 echo "$as_me: failed program was:" >&5
33403 sed 's/^/| /' conftest.$ac_ext >&5
33404
33405 eval "$as_ac_var=no"
33406 fi
33407 rm -f conftest.err conftest.$ac_objext \
33408 conftest$ac_exeext conftest.$ac_ext
33409 fi
33410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33412 if test `eval echo '${'$as_ac_var'}'` = yes; then
33413 cat >>confdefs.h <<_ACEOF
33414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33415 _ACEOF
33416
33417 cat >>confdefs.h <<\_ACEOF
33418 #define HAVE_DLOPEN 1
33419 _ACEOF
33420
33421 HAVE_DL_FUNCS=1
33422
33423 else
33424
33425 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33426 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33427 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33428 echo $ECHO_N "(cached) $ECHO_C" >&6
33429 else
33430 ac_check_lib_save_LIBS=$LIBS
33431 LIBS="-ldl $LIBS"
33432 cat >conftest.$ac_ext <<_ACEOF
33433 /* confdefs.h. */
33434 _ACEOF
33435 cat confdefs.h >>conftest.$ac_ext
33436 cat >>conftest.$ac_ext <<_ACEOF
33437 /* end confdefs.h. */
33438
33439 /* Override any gcc2 internal prototype to avoid an error. */
33440 #ifdef __cplusplus
33441 extern "C"
33442 #endif
33443 /* We use char because int might match the return type of a gcc2
33444 builtin and then its argument prototype would still apply. */
33445 char dlopen ();
33446 int
33447 main ()
33448 {
33449 dlopen ();
33450 ;
33451 return 0;
33452 }
33453 _ACEOF
33454 rm -f conftest.$ac_objext conftest$ac_exeext
33455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33456 (eval $ac_link) 2>conftest.er1
33457 ac_status=$?
33458 grep -v '^ *+' conftest.er1 >conftest.err
33459 rm -f conftest.er1
33460 cat conftest.err >&5
33461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33462 (exit $ac_status); } &&
33463 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33465 (eval $ac_try) 2>&5
33466 ac_status=$?
33467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33468 (exit $ac_status); }; } &&
33469 { ac_try='test -s conftest$ac_exeext'
33470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33471 (eval $ac_try) 2>&5
33472 ac_status=$?
33473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33474 (exit $ac_status); }; }; then
33475 ac_cv_lib_dl_dlopen=yes
33476 else
33477 echo "$as_me: failed program was:" >&5
33478 sed 's/^/| /' conftest.$ac_ext >&5
33479
33480 ac_cv_lib_dl_dlopen=no
33481 fi
33482 rm -f conftest.err conftest.$ac_objext \
33483 conftest$ac_exeext conftest.$ac_ext
33484 LIBS=$ac_check_lib_save_LIBS
33485 fi
33486 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33487 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33488 if test $ac_cv_lib_dl_dlopen = yes; then
33489
33490 cat >>confdefs.h <<\_ACEOF
33491 #define HAVE_DLOPEN 1
33492 _ACEOF
33493
33494 HAVE_DL_FUNCS=1
33495 DL_LINK=" -ldl$DL_LINK"
33496
33497 else
33498
33499
33500 for ac_func in shl_load
33501 do
33502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33503 echo "$as_me:$LINENO: checking for $ac_func" >&5
33504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33505 if eval "test \"\${$as_ac_var+set}\" = set"; then
33506 echo $ECHO_N "(cached) $ECHO_C" >&6
33507 else
33508 cat >conftest.$ac_ext <<_ACEOF
33509 /* confdefs.h. */
33510 _ACEOF
33511 cat confdefs.h >>conftest.$ac_ext
33512 cat >>conftest.$ac_ext <<_ACEOF
33513 /* end confdefs.h. */
33514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33516 #define $ac_func innocuous_$ac_func
33517
33518 /* System header to define __stub macros and hopefully few prototypes,
33519 which can conflict with char $ac_func (); below.
33520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33521 <limits.h> exists even on freestanding compilers. */
33522
33523 #ifdef __STDC__
33524 # include <limits.h>
33525 #else
33526 # include <assert.h>
33527 #endif
33528
33529 #undef $ac_func
33530
33531 /* Override any gcc2 internal prototype to avoid an error. */
33532 #ifdef __cplusplus
33533 extern "C"
33534 {
33535 #endif
33536 /* We use char because int might match the return type of a gcc2
33537 builtin and then its argument prototype would still apply. */
33538 char $ac_func ();
33539 /* The GNU C library defines this for functions which it implements
33540 to always fail with ENOSYS. Some functions are actually named
33541 something starting with __ and the normal name is an alias. */
33542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33543 choke me
33544 #else
33545 char (*f) () = $ac_func;
33546 #endif
33547 #ifdef __cplusplus
33548 }
33549 #endif
33550
33551 int
33552 main ()
33553 {
33554 return f != $ac_func;
33555 ;
33556 return 0;
33557 }
33558 _ACEOF
33559 rm -f conftest.$ac_objext conftest$ac_exeext
33560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33561 (eval $ac_link) 2>conftest.er1
33562 ac_status=$?
33563 grep -v '^ *+' conftest.er1 >conftest.err
33564 rm -f conftest.er1
33565 cat conftest.err >&5
33566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33567 (exit $ac_status); } &&
33568 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33570 (eval $ac_try) 2>&5
33571 ac_status=$?
33572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33573 (exit $ac_status); }; } &&
33574 { ac_try='test -s conftest$ac_exeext'
33575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33576 (eval $ac_try) 2>&5
33577 ac_status=$?
33578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33579 (exit $ac_status); }; }; then
33580 eval "$as_ac_var=yes"
33581 else
33582 echo "$as_me: failed program was:" >&5
33583 sed 's/^/| /' conftest.$ac_ext >&5
33584
33585 eval "$as_ac_var=no"
33586 fi
33587 rm -f conftest.err conftest.$ac_objext \
33588 conftest$ac_exeext conftest.$ac_ext
33589 fi
33590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33592 if test `eval echo '${'$as_ac_var'}'` = yes; then
33593 cat >>confdefs.h <<_ACEOF
33594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33595 _ACEOF
33596
33597 cat >>confdefs.h <<\_ACEOF
33598 #define HAVE_SHL_LOAD 1
33599 _ACEOF
33600
33601 HAVE_SHL_FUNCS=1
33602
33603 else
33604
33605 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33606 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33607 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33608 echo $ECHO_N "(cached) $ECHO_C" >&6
33609 else
33610 ac_check_lib_save_LIBS=$LIBS
33611 LIBS="-lshl_load $LIBS"
33612 cat >conftest.$ac_ext <<_ACEOF
33613 /* confdefs.h. */
33614 _ACEOF
33615 cat confdefs.h >>conftest.$ac_ext
33616 cat >>conftest.$ac_ext <<_ACEOF
33617 /* end confdefs.h. */
33618
33619 /* Override any gcc2 internal prototype to avoid an error. */
33620 #ifdef __cplusplus
33621 extern "C"
33622 #endif
33623 /* We use char because int might match the return type of a gcc2
33624 builtin and then its argument prototype would still apply. */
33625 char dld ();
33626 int
33627 main ()
33628 {
33629 dld ();
33630 ;
33631 return 0;
33632 }
33633 _ACEOF
33634 rm -f conftest.$ac_objext conftest$ac_exeext
33635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33636 (eval $ac_link) 2>conftest.er1
33637 ac_status=$?
33638 grep -v '^ *+' conftest.er1 >conftest.err
33639 rm -f conftest.er1
33640 cat conftest.err >&5
33641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33642 (exit $ac_status); } &&
33643 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33645 (eval $ac_try) 2>&5
33646 ac_status=$?
33647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33648 (exit $ac_status); }; } &&
33649 { ac_try='test -s conftest$ac_exeext'
33650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33651 (eval $ac_try) 2>&5
33652 ac_status=$?
33653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33654 (exit $ac_status); }; }; then
33655 ac_cv_lib_shl_load_dld=yes
33656 else
33657 echo "$as_me: failed program was:" >&5
33658 sed 's/^/| /' conftest.$ac_ext >&5
33659
33660 ac_cv_lib_shl_load_dld=no
33661 fi
33662 rm -f conftest.err conftest.$ac_objext \
33663 conftest$ac_exeext conftest.$ac_ext
33664 LIBS=$ac_check_lib_save_LIBS
33665 fi
33666 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33667 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33668 if test $ac_cv_lib_shl_load_dld = yes; then
33669
33670 HAVE_SHL_FUNCS=1
33671 DL_LINK=" -ldld$DL_LINK"
33672
33673 fi
33674
33675
33676 fi
33677 done
33678
33679
33680 fi
33681
33682
33683 fi
33684 done
33685
33686
33687 if test "$HAVE_DL_FUNCS" = 1; then
33688
33689 for ac_func in dlerror
33690 do
33691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33692 echo "$as_me:$LINENO: checking for $ac_func" >&5
33693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33694 if eval "test \"\${$as_ac_var+set}\" = set"; then
33695 echo $ECHO_N "(cached) $ECHO_C" >&6
33696 else
33697 cat >conftest.$ac_ext <<_ACEOF
33698 /* confdefs.h. */
33699 _ACEOF
33700 cat confdefs.h >>conftest.$ac_ext
33701 cat >>conftest.$ac_ext <<_ACEOF
33702 /* end confdefs.h. */
33703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33705 #define $ac_func innocuous_$ac_func
33706
33707 /* System header to define __stub macros and hopefully few prototypes,
33708 which can conflict with char $ac_func (); below.
33709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33710 <limits.h> exists even on freestanding compilers. */
33711
33712 #ifdef __STDC__
33713 # include <limits.h>
33714 #else
33715 # include <assert.h>
33716 #endif
33717
33718 #undef $ac_func
33719
33720 /* Override any gcc2 internal prototype to avoid an error. */
33721 #ifdef __cplusplus
33722 extern "C"
33723 {
33724 #endif
33725 /* We use char because int might match the return type of a gcc2
33726 builtin and then its argument prototype would still apply. */
33727 char $ac_func ();
33728 /* The GNU C library defines this for functions which it implements
33729 to always fail with ENOSYS. Some functions are actually named
33730 something starting with __ and the normal name is an alias. */
33731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33732 choke me
33733 #else
33734 char (*f) () = $ac_func;
33735 #endif
33736 #ifdef __cplusplus
33737 }
33738 #endif
33739
33740 int
33741 main ()
33742 {
33743 return f != $ac_func;
33744 ;
33745 return 0;
33746 }
33747 _ACEOF
33748 rm -f conftest.$ac_objext conftest$ac_exeext
33749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33750 (eval $ac_link) 2>conftest.er1
33751 ac_status=$?
33752 grep -v '^ *+' conftest.er1 >conftest.err
33753 rm -f conftest.er1
33754 cat conftest.err >&5
33755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33756 (exit $ac_status); } &&
33757 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33759 (eval $ac_try) 2>&5
33760 ac_status=$?
33761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33762 (exit $ac_status); }; } &&
33763 { ac_try='test -s conftest$ac_exeext'
33764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33765 (eval $ac_try) 2>&5
33766 ac_status=$?
33767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33768 (exit $ac_status); }; }; then
33769 eval "$as_ac_var=yes"
33770 else
33771 echo "$as_me: failed program was:" >&5
33772 sed 's/^/| /' conftest.$ac_ext >&5
33773
33774 eval "$as_ac_var=no"
33775 fi
33776 rm -f conftest.err conftest.$ac_objext \
33777 conftest$ac_exeext conftest.$ac_ext
33778 fi
33779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33781 if test `eval echo '${'$as_ac_var'}'` = yes; then
33782 cat >>confdefs.h <<_ACEOF
33783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33784 _ACEOF
33785 cat >>confdefs.h <<\_ACEOF
33786 #define HAVE_DLERROR 1
33787 _ACEOF
33788
33789 else
33790
33791 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
33792 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
33793 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
33794 echo $ECHO_N "(cached) $ECHO_C" >&6
33795 else
33796 ac_check_lib_save_LIBS=$LIBS
33797 LIBS="-ldl $LIBS"
33798 cat >conftest.$ac_ext <<_ACEOF
33799 /* confdefs.h. */
33800 _ACEOF
33801 cat confdefs.h >>conftest.$ac_ext
33802 cat >>conftest.$ac_ext <<_ACEOF
33803 /* end confdefs.h. */
33804
33805 /* Override any gcc2 internal prototype to avoid an error. */
33806 #ifdef __cplusplus
33807 extern "C"
33808 #endif
33809 /* We use char because int might match the return type of a gcc2
33810 builtin and then its argument prototype would still apply. */
33811 char dlerror ();
33812 int
33813 main ()
33814 {
33815 dlerror ();
33816 ;
33817 return 0;
33818 }
33819 _ACEOF
33820 rm -f conftest.$ac_objext conftest$ac_exeext
33821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33822 (eval $ac_link) 2>conftest.er1
33823 ac_status=$?
33824 grep -v '^ *+' conftest.er1 >conftest.err
33825 rm -f conftest.er1
33826 cat conftest.err >&5
33827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33828 (exit $ac_status); } &&
33829 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33831 (eval $ac_try) 2>&5
33832 ac_status=$?
33833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33834 (exit $ac_status); }; } &&
33835 { ac_try='test -s conftest$ac_exeext'
33836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33837 (eval $ac_try) 2>&5
33838 ac_status=$?
33839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33840 (exit $ac_status); }; }; then
33841 ac_cv_lib_dl_dlerror=yes
33842 else
33843 echo "$as_me: failed program was:" >&5
33844 sed 's/^/| /' conftest.$ac_ext >&5
33845
33846 ac_cv_lib_dl_dlerror=no
33847 fi
33848 rm -f conftest.err conftest.$ac_objext \
33849 conftest$ac_exeext conftest.$ac_ext
33850 LIBS=$ac_check_lib_save_LIBS
33851 fi
33852 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
33853 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
33854 if test $ac_cv_lib_dl_dlerror = yes; then
33855 cat >>confdefs.h <<\_ACEOF
33856 #define HAVE_DLERROR 1
33857 _ACEOF
33858
33859 fi
33860
33861
33862
33863 fi
33864 done
33865
33866 fi
33867 fi
33868
33869 if test "$HAVE_DL_FUNCS" = 0; then
33870 if test "$HAVE_SHL_FUNCS" = 0; then
33871 if test "$USE_UNIX" = 1; then
33872 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33873 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33874 wxUSE_DYNAMIC_LOADER=no
33875 wxUSE_DYNLIB_CLASS=no
33876 else
33877 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
33878 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33879 fi
33880 fi
33881 fi
33882 fi
33883 fi
33884
33885 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33886 cat >>confdefs.h <<\_ACEOF
33887 #define wxUSE_DYNAMIC_LOADER 1
33888 _ACEOF
33889
33890 fi
33891 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33892 cat >>confdefs.h <<\_ACEOF
33893 #define wxUSE_DYNLIB_CLASS 1
33894 _ACEOF
33895
33896 fi
33897
33898
33899
33900 if test "$wxUSE_PLUGINS" = "yes" ; then
33901 if test "$wxUSE_SHARED" = "no" ; then
33902 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
33903 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33904 wxUSE_PLUGINS=no
33905 fi
33906 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33907 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
33908 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33909 wxUSE_PLUGINS=no
33910 fi
33911 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33912 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33913 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33914 wxUSE_PLUGINS=no
33915 fi
33916 if test "$wxUSE_PLUGINS" = "yes" ; then
33917 cat >>confdefs.h <<\_ACEOF
33918 #define wxUSE_PLUGINS 1
33919 _ACEOF
33920
33921 fi
33922 fi
33923
33924
33925 if test "$wxUSE_STL" = "yes"; then
33926 cat >>confdefs.h <<\_ACEOF
33927 #define wxUSE_STL 1
33928 _ACEOF
33929
33930 fi
33931
33932 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33933 cat >>confdefs.h <<\_ACEOF
33934 #define wxUSE_APPLE_IEEE 1
33935 _ACEOF
33936
33937 fi
33938
33939 if test "$wxUSE_TIMER" = "yes"; then
33940 cat >>confdefs.h <<\_ACEOF
33941 #define wxUSE_TIMER 1
33942 _ACEOF
33943
33944 fi
33945
33946 WITH_PLUGIN_SDL=0
33947 if test "$wxUSE_SOUND" = "yes"; then
33948 if test "$USE_UNIX" = "1" ; then
33949
33950 for ac_header in sys/soundcard.h
33951 do
33952 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33954 echo "$as_me:$LINENO: checking for $ac_header" >&5
33955 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33956 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33957 echo $ECHO_N "(cached) $ECHO_C" >&6
33958 fi
33959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33960 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33961 else
33962 # Is the header compilable?
33963 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33964 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33965 cat >conftest.$ac_ext <<_ACEOF
33966 /* confdefs.h. */
33967 _ACEOF
33968 cat confdefs.h >>conftest.$ac_ext
33969 cat >>conftest.$ac_ext <<_ACEOF
33970 /* end confdefs.h. */
33971 $ac_includes_default
33972 #include <$ac_header>
33973 _ACEOF
33974 rm -f conftest.$ac_objext
33975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33976 (eval $ac_compile) 2>conftest.er1
33977 ac_status=$?
33978 grep -v '^ *+' conftest.er1 >conftest.err
33979 rm -f conftest.er1
33980 cat conftest.err >&5
33981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33982 (exit $ac_status); } &&
33983 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33985 (eval $ac_try) 2>&5
33986 ac_status=$?
33987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33988 (exit $ac_status); }; } &&
33989 { ac_try='test -s conftest.$ac_objext'
33990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33991 (eval $ac_try) 2>&5
33992 ac_status=$?
33993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33994 (exit $ac_status); }; }; then
33995 ac_header_compiler=yes
33996 else
33997 echo "$as_me: failed program was:" >&5
33998 sed 's/^/| /' conftest.$ac_ext >&5
33999
34000 ac_header_compiler=no
34001 fi
34002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34003 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34004 echo "${ECHO_T}$ac_header_compiler" >&6
34005
34006 # Is the header present?
34007 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34008 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34009 cat >conftest.$ac_ext <<_ACEOF
34010 /* confdefs.h. */
34011 _ACEOF
34012 cat confdefs.h >>conftest.$ac_ext
34013 cat >>conftest.$ac_ext <<_ACEOF
34014 /* end confdefs.h. */
34015 #include <$ac_header>
34016 _ACEOF
34017 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34018 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34019 ac_status=$?
34020 grep -v '^ *+' conftest.er1 >conftest.err
34021 rm -f conftest.er1
34022 cat conftest.err >&5
34023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34024 (exit $ac_status); } >/dev/null; then
34025 if test -s conftest.err; then
34026 ac_cpp_err=$ac_c_preproc_warn_flag
34027 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34028 else
34029 ac_cpp_err=
34030 fi
34031 else
34032 ac_cpp_err=yes
34033 fi
34034 if test -z "$ac_cpp_err"; then
34035 ac_header_preproc=yes
34036 else
34037 echo "$as_me: failed program was:" >&5
34038 sed 's/^/| /' conftest.$ac_ext >&5
34039
34040 ac_header_preproc=no
34041 fi
34042 rm -f conftest.err conftest.$ac_ext
34043 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34044 echo "${ECHO_T}$ac_header_preproc" >&6
34045
34046 # So? What about this header?
34047 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34048 yes:no: )
34049 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34050 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34051 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34052 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34053 ac_header_preproc=yes
34054 ;;
34055 no:yes:* )
34056 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34057 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34058 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34059 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34060 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34061 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34062 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34063 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34064 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34065 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34066 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34067 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34068 (
34069 cat <<\_ASBOX
34070 ## ----------------------------------------- ##
34071 ## Report this to wx-dev@lists.wxwindows.org ##
34072 ## ----------------------------------------- ##
34073 _ASBOX
34074 ) |
34075 sed "s/^/$as_me: WARNING: /" >&2
34076 ;;
34077 esac
34078 echo "$as_me:$LINENO: checking for $ac_header" >&5
34079 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34081 echo $ECHO_N "(cached) $ECHO_C" >&6
34082 else
34083 eval "$as_ac_Header=\$ac_header_preproc"
34084 fi
34085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34086 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34087
34088 fi
34089 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34090 cat >>confdefs.h <<_ACEOF
34091 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34092 _ACEOF
34093
34094 fi
34095
34096 done
34097
34098
34099 if test "$wxUSE_LIBSDL" != "no"; then
34100
34101 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34102 if test "${with_sdl_prefix+set}" = set; then
34103 withval="$with_sdl_prefix"
34104 sdl_prefix="$withval"
34105 else
34106 sdl_prefix=""
34107 fi;
34108
34109 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34110 if test "${with_sdl_exec_prefix+set}" = set; then
34111 withval="$with_sdl_exec_prefix"
34112 sdl_exec_prefix="$withval"
34113 else
34114 sdl_exec_prefix=""
34115 fi;
34116 # Check whether --enable-sdltest or --disable-sdltest was given.
34117 if test "${enable_sdltest+set}" = set; then
34118 enableval="$enable_sdltest"
34119
34120 else
34121 enable_sdltest=yes
34122 fi;
34123
34124 if test x$sdl_exec_prefix != x ; then
34125 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
34126 if test x${SDL_CONFIG+set} != xset ; then
34127 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
34128 fi
34129 fi
34130 if test x$sdl_prefix != x ; then
34131 sdl_args="$sdl_args --prefix=$sdl_prefix"
34132 if test x${SDL_CONFIG+set} != xset ; then
34133 SDL_CONFIG=$sdl_prefix/bin/sdl-config
34134 fi
34135 fi
34136
34137
34138 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
34139 # Extract the first word of "sdl-config", so it can be a program name with args.
34140 set dummy sdl-config; ac_word=$2
34141 echo "$as_me:$LINENO: checking for $ac_word" >&5
34142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34143 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34144 echo $ECHO_N "(cached) $ECHO_C" >&6
34145 else
34146 case $SDL_CONFIG in
34147 [\\/]* | ?:[\\/]*)
34148 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
34149 ;;
34150 *)
34151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34152 for as_dir in $PATH
34153 do
34154 IFS=$as_save_IFS
34155 test -z "$as_dir" && as_dir=.
34156 for ac_exec_ext in '' $ac_executable_extensions; do
34157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34158 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34160 break 2
34161 fi
34162 done
34163 done
34164
34165 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
34166 ;;
34167 esac
34168 fi
34169 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
34170
34171 if test -n "$SDL_CONFIG"; then
34172 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34173 echo "${ECHO_T}$SDL_CONFIG" >&6
34174 else
34175 echo "$as_me:$LINENO: result: no" >&5
34176 echo "${ECHO_T}no" >&6
34177 fi
34178
34179 min_sdl_version=1.2.0
34180 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34181 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34182 no_sdl=""
34183 if test "$SDL_CONFIG" = "no" ; then
34184 no_sdl=yes
34185 else
34186 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
34187 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
34188
34189 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
34190 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34191 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
34192 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34193 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
34194 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34195 if test "x$enable_sdltest" = "xyes" ; then
34196 ac_save_CFLAGS="$CFLAGS"
34197 ac_save_LIBS="$LIBS"
34198 CFLAGS="$CFLAGS $SDL_CFLAGS"
34199 LIBS="$LIBS $SDL_LIBS"
34200 rm -f conf.sdltest
34201 if test "$cross_compiling" = yes; then
34202 echo $ac_n "cross compiling; assumed OK... $ac_c"
34203 else
34204 cat >conftest.$ac_ext <<_ACEOF
34205 /* confdefs.h. */
34206 _ACEOF
34207 cat confdefs.h >>conftest.$ac_ext
34208 cat >>conftest.$ac_ext <<_ACEOF
34209 /* end confdefs.h. */
34210
34211 #include <stdio.h>
34212 #include <stdlib.h>
34213 #include <string.h>
34214 #include "SDL.h"
34215
34216 char*
34217 my_strdup (char *str)
34218 {
34219 char *new_str;
34220
34221 if (str)
34222 {
34223 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34224 strcpy (new_str, str);
34225 }
34226 else
34227 new_str = NULL;
34228
34229 return new_str;
34230 }
34231
34232 int main (int argc, char *argv[])
34233 {
34234 int major, minor, micro;
34235 char *tmp_version;
34236
34237 /* This hangs on some systems (?)
34238 system ("touch conf.sdltest");
34239 */
34240 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34241
34242 /* HP/UX 9 (%@#!) writes to sscanf strings */
34243 tmp_version = my_strdup("$min_sdl_version");
34244 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
34245 printf("%s, bad version string\n", "$min_sdl_version");
34246 exit(1);
34247 }
34248
34249 if (($sdl_major_version > major) ||
34250 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34251 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34252 {
34253 return 0;
34254 }
34255 else
34256 {
34257 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34258 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34259 printf("*** best to upgrade to the required version.\n");
34260 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34261 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34262 printf("*** config.cache before re-running configure\n");
34263 return 1;
34264 }
34265 }
34266
34267
34268 _ACEOF
34269 rm -f conftest$ac_exeext
34270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34271 (eval $ac_link) 2>&5
34272 ac_status=$?
34273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34274 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34276 (eval $ac_try) 2>&5
34277 ac_status=$?
34278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34279 (exit $ac_status); }; }; then
34280 :
34281 else
34282 echo "$as_me: program exited with status $ac_status" >&5
34283 echo "$as_me: failed program was:" >&5
34284 sed 's/^/| /' conftest.$ac_ext >&5
34285
34286 ( exit $ac_status )
34287 no_sdl=yes
34288 fi
34289 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34290 fi
34291 CFLAGS="$ac_save_CFLAGS"
34292 LIBS="$ac_save_LIBS"
34293 fi
34294 fi
34295 if test "x$no_sdl" = x ; then
34296 echo "$as_me:$LINENO: result: yes" >&5
34297 echo "${ECHO_T}yes" >&6
34298
34299 EXTRALIBS_SDL="$SDL_LIBS"
34300 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
34301 cat >>confdefs.h <<\_ACEOF
34302 #define wxUSE_LIBSDL 1
34303 _ACEOF
34304
34305
34306 else
34307 echo "$as_me:$LINENO: result: no" >&5
34308 echo "${ECHO_T}no" >&6
34309 if test "$SDL_CONFIG" = "no" ; then
34310 echo "*** The sdl-config script installed by SDL could not be found"
34311 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34312 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34313 echo "*** full path to sdl-config."
34314 else
34315 if test -f conf.sdltest ; then
34316 :
34317 else
34318 echo "*** Could not run SDL test program, checking why..."
34319 CFLAGS="$CFLAGS $SDL_CFLAGS"
34320 LIBS="$LIBS $SDL_LIBS"
34321 cat >conftest.$ac_ext <<_ACEOF
34322 /* confdefs.h. */
34323 _ACEOF
34324 cat confdefs.h >>conftest.$ac_ext
34325 cat >>conftest.$ac_ext <<_ACEOF
34326 /* end confdefs.h. */
34327
34328 #include <stdio.h>
34329 #include "SDL.h"
34330
34331 int main(int argc, char *argv[])
34332 { return 0; }
34333 #undef main
34334 #define main K_and_R_C_main
34335
34336 int
34337 main ()
34338 {
34339 return 0;
34340 ;
34341 return 0;
34342 }
34343 _ACEOF
34344 rm -f conftest.$ac_objext conftest$ac_exeext
34345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34346 (eval $ac_link) 2>conftest.er1
34347 ac_status=$?
34348 grep -v '^ *+' conftest.er1 >conftest.err
34349 rm -f conftest.er1
34350 cat conftest.err >&5
34351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34352 (exit $ac_status); } &&
34353 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34355 (eval $ac_try) 2>&5
34356 ac_status=$?
34357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34358 (exit $ac_status); }; } &&
34359 { ac_try='test -s conftest$ac_exeext'
34360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34361 (eval $ac_try) 2>&5
34362 ac_status=$?
34363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34364 (exit $ac_status); }; }; then
34365 echo "*** The test program compiled, but did not run. This usually means"
34366 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34367 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34368 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34369 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34370 echo "*** is required on your system"
34371 echo "***"
34372 echo "*** If you have an old version installed, it is best to remove it, although"
34373 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34374 else
34375 echo "$as_me: failed program was:" >&5
34376 sed 's/^/| /' conftest.$ac_ext >&5
34377
34378 echo "*** The test program failed to compile or link. See the file config.log for the"
34379 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34380 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34381 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34382 fi
34383 rm -f conftest.err conftest.$ac_objext \
34384 conftest$ac_exeext conftest.$ac_ext
34385 CFLAGS="$ac_save_CFLAGS"
34386 LIBS="$ac_save_LIBS"
34387 fi
34388 fi
34389 SDL_CFLAGS=""
34390 SDL_LIBS=""
34391 wxUSE_LIBSDL="no"
34392 fi
34393
34394
34395 rm -f conf.sdltest
34396
34397 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34398 WITH_PLUGIN_SDL=1
34399 fi
34400 fi
34401 fi
34402
34403 cat >>confdefs.h <<\_ACEOF
34404 #define wxUSE_SOUND 1
34405 _ACEOF
34406
34407 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
34408 fi
34409
34410 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34411 cat >>confdefs.h <<\_ACEOF
34412 #define wxUSE_CMDLINE_PARSER 1
34413 _ACEOF
34414
34415 fi
34416
34417 if test "$wxUSE_STOPWATCH" = "yes"; then
34418 cat >>confdefs.h <<\_ACEOF
34419 #define wxUSE_STOPWATCH 1
34420 _ACEOF
34421
34422 fi
34423
34424 if test "$wxUSE_DATETIME" = "yes"; then
34425 cat >>confdefs.h <<\_ACEOF
34426 #define wxUSE_DATETIME 1
34427 _ACEOF
34428
34429 fi
34430
34431 if test "$wxUSE_FILE" = "yes"; then
34432 cat >>confdefs.h <<\_ACEOF
34433 #define wxUSE_FILE 1
34434 _ACEOF
34435
34436 fi
34437
34438 if test "$wxUSE_FFILE" = "yes"; then
34439 cat >>confdefs.h <<\_ACEOF
34440 #define wxUSE_FFILE 1
34441 _ACEOF
34442
34443 fi
34444
34445 if test "$wxUSE_FILESYSTEM" = "yes"; then
34446 cat >>confdefs.h <<\_ACEOF
34447 #define wxUSE_FILESYSTEM 1
34448 _ACEOF
34449
34450 fi
34451
34452 if test "$wxUSE_FS_ZIP" = "yes"; then
34453 cat >>confdefs.h <<\_ACEOF
34454 #define wxUSE_FS_ZIP 1
34455 _ACEOF
34456
34457 fi
34458
34459 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34460 cat >>confdefs.h <<\_ACEOF
34461 #define wxUSE_ZIPSTREAM 1
34462 _ACEOF
34463
34464 fi
34465
34466 if test "$wxUSE_GZSTREAM" = "yes"; then
34467 cat >>confdefs.h <<\_ACEOF
34468 #define wxUSE_GZSTREAM 1
34469 _ACEOF
34470
34471 fi
34472
34473 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34474 cat >>confdefs.h <<\_ACEOF
34475 #define wxUSE_ON_FATAL_EXCEPTION 1
34476 _ACEOF
34477
34478 fi
34479
34480 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34481 cat >>confdefs.h <<\_ACEOF
34482 #define wxUSE_SNGLINST_CHECKER 1
34483 _ACEOF
34484
34485 fi
34486
34487 if test "$wxUSE_BUSYINFO" = "yes"; then
34488 cat >>confdefs.h <<\_ACEOF
34489 #define wxUSE_BUSYINFO 1
34490 _ACEOF
34491
34492 fi
34493
34494 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34495 cat >>confdefs.h <<\_ACEOF
34496 #define wxUSE_STD_IOSTREAM 1
34497 _ACEOF
34498
34499 fi
34500
34501 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34502 cat >>confdefs.h <<\_ACEOF
34503 #define wxUSE_TEXTBUFFER 1
34504 _ACEOF
34505
34506 fi
34507
34508 if test "$wxUSE_TEXTFILE" = "yes"; then
34509 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34510 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34511 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34512 else
34513 cat >>confdefs.h <<\_ACEOF
34514 #define wxUSE_TEXTFILE 1
34515 _ACEOF
34516
34517 fi
34518 fi
34519
34520 if test "$wxUSE_CONFIG" = "yes" ; then
34521 if test "$wxUSE_TEXTFILE" != "yes"; then
34522 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34523 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34524 else
34525 cat >>confdefs.h <<\_ACEOF
34526 #define wxUSE_CONFIG 1
34527 _ACEOF
34528
34529 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34530 fi
34531 fi
34532
34533 if test "$wxUSE_INTL" = "yes" ; then
34534 if test "$wxUSE_FILE" != "yes"; then
34535 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34536 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34537 else
34538 cat >>confdefs.h <<\_ACEOF
34539 #define wxUSE_INTL 1
34540 _ACEOF
34541
34542 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34543 GUIDIST="$GUIDIST INTL_DIST"
34544 fi
34545 fi
34546
34547 if test "$wxUSE_LOG" = "yes"; then
34548 cat >>confdefs.h <<\_ACEOF
34549 #define wxUSE_LOG 1
34550 _ACEOF
34551
34552
34553 if test "$wxUSE_LOGGUI" = "yes"; then
34554 cat >>confdefs.h <<\_ACEOF
34555 #define wxUSE_LOGGUI 1
34556 _ACEOF
34557
34558 fi
34559
34560 if test "$wxUSE_LOGWINDOW" = "yes"; then
34561 cat >>confdefs.h <<\_ACEOF
34562 #define wxUSE_LOGWINDOW 1
34563 _ACEOF
34564
34565 fi
34566
34567 if test "$wxUSE_LOGDIALOG" = "yes"; then
34568 cat >>confdefs.h <<\_ACEOF
34569 #define wxUSE_LOG_DIALOG 1
34570 _ACEOF
34571
34572 fi
34573 fi
34574
34575 if test "$wxUSE_LONGLONG" = "yes"; then
34576 cat >>confdefs.h <<\_ACEOF
34577 #define wxUSE_LONGLONG 1
34578 _ACEOF
34579
34580 fi
34581
34582 if test "$wxUSE_GEOMETRY" = "yes"; then
34583 cat >>confdefs.h <<\_ACEOF
34584 #define wxUSE_GEOMETRY 1
34585 _ACEOF
34586
34587 fi
34588
34589 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34590 cat >>confdefs.h <<\_ACEOF
34591 #define wxUSE_DIALUP_MANAGER 1
34592 _ACEOF
34593
34594 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
34595 fi
34596
34597 if test "$wxUSE_STREAMS" = "yes" ; then
34598 cat >>confdefs.h <<\_ACEOF
34599 #define wxUSE_STREAMS 1
34600 _ACEOF
34601
34602 fi
34603
34604
34605 if test "$wxUSE_DATETIME" = "yes"; then
34606
34607 for ac_func in strptime
34608 do
34609 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34610 echo "$as_me:$LINENO: checking for $ac_func" >&5
34611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34612 if eval "test \"\${$as_ac_var+set}\" = set"; then
34613 echo $ECHO_N "(cached) $ECHO_C" >&6
34614 else
34615 cat >conftest.$ac_ext <<_ACEOF
34616 /* confdefs.h. */
34617 _ACEOF
34618 cat confdefs.h >>conftest.$ac_ext
34619 cat >>conftest.$ac_ext <<_ACEOF
34620 /* end confdefs.h. */
34621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34623 #define $ac_func innocuous_$ac_func
34624
34625 /* System header to define __stub macros and hopefully few prototypes,
34626 which can conflict with char $ac_func (); below.
34627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34628 <limits.h> exists even on freestanding compilers. */
34629
34630 #ifdef __STDC__
34631 # include <limits.h>
34632 #else
34633 # include <assert.h>
34634 #endif
34635
34636 #undef $ac_func
34637
34638 /* Override any gcc2 internal prototype to avoid an error. */
34639 #ifdef __cplusplus
34640 extern "C"
34641 {
34642 #endif
34643 /* We use char because int might match the return type of a gcc2
34644 builtin and then its argument prototype would still apply. */
34645 char $ac_func ();
34646 /* The GNU C library defines this for functions which it implements
34647 to always fail with ENOSYS. Some functions are actually named
34648 something starting with __ and the normal name is an alias. */
34649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34650 choke me
34651 #else
34652 char (*f) () = $ac_func;
34653 #endif
34654 #ifdef __cplusplus
34655 }
34656 #endif
34657
34658 int
34659 main ()
34660 {
34661 return f != $ac_func;
34662 ;
34663 return 0;
34664 }
34665 _ACEOF
34666 rm -f conftest.$ac_objext conftest$ac_exeext
34667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34668 (eval $ac_link) 2>conftest.er1
34669 ac_status=$?
34670 grep -v '^ *+' conftest.er1 >conftest.err
34671 rm -f conftest.er1
34672 cat conftest.err >&5
34673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34674 (exit $ac_status); } &&
34675 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34677 (eval $ac_try) 2>&5
34678 ac_status=$?
34679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34680 (exit $ac_status); }; } &&
34681 { ac_try='test -s conftest$ac_exeext'
34682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34683 (eval $ac_try) 2>&5
34684 ac_status=$?
34685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34686 (exit $ac_status); }; }; then
34687 eval "$as_ac_var=yes"
34688 else
34689 echo "$as_me: failed program was:" >&5
34690 sed 's/^/| /' conftest.$ac_ext >&5
34691
34692 eval "$as_ac_var=no"
34693 fi
34694 rm -f conftest.err conftest.$ac_objext \
34695 conftest$ac_exeext conftest.$ac_ext
34696 fi
34697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34698 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34699 if test `eval echo '${'$as_ac_var'}'` = yes; then
34700 cat >>confdefs.h <<_ACEOF
34701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34702 _ACEOF
34703
34704 fi
34705 done
34706
34707
34708 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34709 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34710 if test "${wx_cv_var_timezone+set}" = set; then
34711 echo $ECHO_N "(cached) $ECHO_C" >&6
34712 else
34713
34714 cat >conftest.$ac_ext <<_ACEOF
34715 /* confdefs.h. */
34716 _ACEOF
34717 cat confdefs.h >>conftest.$ac_ext
34718 cat >>conftest.$ac_ext <<_ACEOF
34719 /* end confdefs.h. */
34720
34721 #include <time.h>
34722
34723 int
34724 main ()
34725 {
34726
34727 int tz;
34728 tz = timezone;
34729
34730 ;
34731 return 0;
34732 }
34733 _ACEOF
34734 rm -f conftest.$ac_objext
34735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34736 (eval $ac_compile) 2>conftest.er1
34737 ac_status=$?
34738 grep -v '^ *+' conftest.er1 >conftest.err
34739 rm -f conftest.er1
34740 cat conftest.err >&5
34741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34742 (exit $ac_status); } &&
34743 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34745 (eval $ac_try) 2>&5
34746 ac_status=$?
34747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34748 (exit $ac_status); }; } &&
34749 { ac_try='test -s conftest.$ac_objext'
34750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34751 (eval $ac_try) 2>&5
34752 ac_status=$?
34753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34754 (exit $ac_status); }; }; then
34755
34756 wx_cv_var_timezone=timezone
34757
34758 else
34759 echo "$as_me: failed program was:" >&5
34760 sed 's/^/| /' conftest.$ac_ext >&5
34761
34762
34763 cat >conftest.$ac_ext <<_ACEOF
34764 /* confdefs.h. */
34765 _ACEOF
34766 cat confdefs.h >>conftest.$ac_ext
34767 cat >>conftest.$ac_ext <<_ACEOF
34768 /* end confdefs.h. */
34769
34770 #include <time.h>
34771
34772 int
34773 main ()
34774 {
34775
34776 int tz;
34777 tz = _timezone;
34778
34779 ;
34780 return 0;
34781 }
34782 _ACEOF
34783 rm -f conftest.$ac_objext
34784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34785 (eval $ac_compile) 2>conftest.er1
34786 ac_status=$?
34787 grep -v '^ *+' conftest.er1 >conftest.err
34788 rm -f conftest.er1
34789 cat conftest.err >&5
34790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34791 (exit $ac_status); } &&
34792 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34794 (eval $ac_try) 2>&5
34795 ac_status=$?
34796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34797 (exit $ac_status); }; } &&
34798 { ac_try='test -s conftest.$ac_objext'
34799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34800 (eval $ac_try) 2>&5
34801 ac_status=$?
34802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34803 (exit $ac_status); }; }; then
34804
34805 wx_cv_var_timezone=_timezone
34806
34807 else
34808 echo "$as_me: failed program was:" >&5
34809 sed 's/^/| /' conftest.$ac_ext >&5
34810
34811
34812 cat >conftest.$ac_ext <<_ACEOF
34813 /* confdefs.h. */
34814 _ACEOF
34815 cat confdefs.h >>conftest.$ac_ext
34816 cat >>conftest.$ac_ext <<_ACEOF
34817 /* end confdefs.h. */
34818
34819 #include <time.h>
34820
34821 int
34822 main ()
34823 {
34824
34825 int tz;
34826 tz = __timezone;
34827
34828 ;
34829 return 0;
34830 }
34831 _ACEOF
34832 rm -f conftest.$ac_objext
34833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34834 (eval $ac_compile) 2>conftest.er1
34835 ac_status=$?
34836 grep -v '^ *+' conftest.er1 >conftest.err
34837 rm -f conftest.er1
34838 cat conftest.err >&5
34839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34840 (exit $ac_status); } &&
34841 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34843 (eval $ac_try) 2>&5
34844 ac_status=$?
34845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34846 (exit $ac_status); }; } &&
34847 { ac_try='test -s conftest.$ac_objext'
34848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34849 (eval $ac_try) 2>&5
34850 ac_status=$?
34851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34852 (exit $ac_status); }; }; then
34853
34854 wx_cv_var_timezone=__timezone
34855
34856 else
34857 echo "$as_me: failed program was:" >&5
34858 sed 's/^/| /' conftest.$ac_ext >&5
34859
34860
34861 if test "$USE_DOS" = 0 ; then
34862 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
34863 echo "$as_me: WARNING: no timezone variable" >&2;}
34864 fi
34865
34866
34867 fi
34868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34869
34870
34871 fi
34872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34873
34874
34875 fi
34876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34877
34878
34879 fi
34880 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
34881 echo "${ECHO_T}$wx_cv_var_timezone" >&6
34882
34883 if test "x$wx_cv_var_timezone" != x ; then
34884 cat >>confdefs.h <<_ACEOF
34885 #define WX_TIMEZONE $wx_cv_var_timezone
34886 _ACEOF
34887
34888 fi
34889
34890
34891 for ac_func in localtime
34892 do
34893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34894 echo "$as_me:$LINENO: checking for $ac_func" >&5
34895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34896 if eval "test \"\${$as_ac_var+set}\" = set"; then
34897 echo $ECHO_N "(cached) $ECHO_C" >&6
34898 else
34899 cat >conftest.$ac_ext <<_ACEOF
34900 /* confdefs.h. */
34901 _ACEOF
34902 cat confdefs.h >>conftest.$ac_ext
34903 cat >>conftest.$ac_ext <<_ACEOF
34904 /* end confdefs.h. */
34905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34907 #define $ac_func innocuous_$ac_func
34908
34909 /* System header to define __stub macros and hopefully few prototypes,
34910 which can conflict with char $ac_func (); below.
34911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34912 <limits.h> exists even on freestanding compilers. */
34913
34914 #ifdef __STDC__
34915 # include <limits.h>
34916 #else
34917 # include <assert.h>
34918 #endif
34919
34920 #undef $ac_func
34921
34922 /* Override any gcc2 internal prototype to avoid an error. */
34923 #ifdef __cplusplus
34924 extern "C"
34925 {
34926 #endif
34927 /* We use char because int might match the return type of a gcc2
34928 builtin and then its argument prototype would still apply. */
34929 char $ac_func ();
34930 /* The GNU C library defines this for functions which it implements
34931 to always fail with ENOSYS. Some functions are actually named
34932 something starting with __ and the normal name is an alias. */
34933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34934 choke me
34935 #else
34936 char (*f) () = $ac_func;
34937 #endif
34938 #ifdef __cplusplus
34939 }
34940 #endif
34941
34942 int
34943 main ()
34944 {
34945 return f != $ac_func;
34946 ;
34947 return 0;
34948 }
34949 _ACEOF
34950 rm -f conftest.$ac_objext conftest$ac_exeext
34951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34952 (eval $ac_link) 2>conftest.er1
34953 ac_status=$?
34954 grep -v '^ *+' conftest.er1 >conftest.err
34955 rm -f conftest.er1
34956 cat conftest.err >&5
34957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34958 (exit $ac_status); } &&
34959 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34961 (eval $ac_try) 2>&5
34962 ac_status=$?
34963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34964 (exit $ac_status); }; } &&
34965 { ac_try='test -s conftest$ac_exeext'
34966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34967 (eval $ac_try) 2>&5
34968 ac_status=$?
34969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34970 (exit $ac_status); }; }; then
34971 eval "$as_ac_var=yes"
34972 else
34973 echo "$as_me: failed program was:" >&5
34974 sed 's/^/| /' conftest.$ac_ext >&5
34975
34976 eval "$as_ac_var=no"
34977 fi
34978 rm -f conftest.err conftest.$ac_objext \
34979 conftest$ac_exeext conftest.$ac_ext
34980 fi
34981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34983 if test `eval echo '${'$as_ac_var'}'` = yes; then
34984 cat >>confdefs.h <<_ACEOF
34985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34986 _ACEOF
34987
34988 fi
34989 done
34990
34991
34992 if test "$ac_cv_func_localtime" = "yes"; then
34993 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
34994 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
34995 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
34996 echo $ECHO_N "(cached) $ECHO_C" >&6
34997 else
34998
34999 cat >conftest.$ac_ext <<_ACEOF
35000 /* confdefs.h. */
35001 _ACEOF
35002 cat confdefs.h >>conftest.$ac_ext
35003 cat >>conftest.$ac_ext <<_ACEOF
35004 /* end confdefs.h. */
35005
35006 #include <time.h>
35007
35008 int
35009 main ()
35010 {
35011
35012 struct tm tm;
35013 tm.tm_gmtoff++;
35014
35015 ;
35016 return 0;
35017 }
35018 _ACEOF
35019 rm -f conftest.$ac_objext
35020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35021 (eval $ac_compile) 2>conftest.er1
35022 ac_status=$?
35023 grep -v '^ *+' conftest.er1 >conftest.err
35024 rm -f conftest.er1
35025 cat conftest.err >&5
35026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35027 (exit $ac_status); } &&
35028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35030 (eval $ac_try) 2>&5
35031 ac_status=$?
35032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35033 (exit $ac_status); }; } &&
35034 { ac_try='test -s conftest.$ac_objext'
35035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35036 (eval $ac_try) 2>&5
35037 ac_status=$?
35038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35039 (exit $ac_status); }; }; then
35040
35041 wx_cv_struct_tm_has_gmtoff=yes
35042
35043 else
35044 echo "$as_me: failed program was:" >&5
35045 sed 's/^/| /' conftest.$ac_ext >&5
35046
35047 wx_cv_struct_tm_has_gmtoff=no
35048
35049 fi
35050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35051
35052 fi
35053 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35054 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35055 fi
35056
35057 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35058 cat >>confdefs.h <<\_ACEOF
35059 #define WX_GMTOFF_IN_TM 1
35060 _ACEOF
35061
35062 fi
35063
35064
35065
35066 for ac_func in gettimeofday ftime
35067 do
35068 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35069 echo "$as_me:$LINENO: checking for $ac_func" >&5
35070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35071 if eval "test \"\${$as_ac_var+set}\" = set"; then
35072 echo $ECHO_N "(cached) $ECHO_C" >&6
35073 else
35074 cat >conftest.$ac_ext <<_ACEOF
35075 /* confdefs.h. */
35076 _ACEOF
35077 cat confdefs.h >>conftest.$ac_ext
35078 cat >>conftest.$ac_ext <<_ACEOF
35079 /* end confdefs.h. */
35080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35082 #define $ac_func innocuous_$ac_func
35083
35084 /* System header to define __stub macros and hopefully few prototypes,
35085 which can conflict with char $ac_func (); below.
35086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35087 <limits.h> exists even on freestanding compilers. */
35088
35089 #ifdef __STDC__
35090 # include <limits.h>
35091 #else
35092 # include <assert.h>
35093 #endif
35094
35095 #undef $ac_func
35096
35097 /* Override any gcc2 internal prototype to avoid an error. */
35098 #ifdef __cplusplus
35099 extern "C"
35100 {
35101 #endif
35102 /* We use char because int might match the return type of a gcc2
35103 builtin and then its argument prototype would still apply. */
35104 char $ac_func ();
35105 /* The GNU C library defines this for functions which it implements
35106 to always fail with ENOSYS. Some functions are actually named
35107 something starting with __ and the normal name is an alias. */
35108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35109 choke me
35110 #else
35111 char (*f) () = $ac_func;
35112 #endif
35113 #ifdef __cplusplus
35114 }
35115 #endif
35116
35117 int
35118 main ()
35119 {
35120 return f != $ac_func;
35121 ;
35122 return 0;
35123 }
35124 _ACEOF
35125 rm -f conftest.$ac_objext conftest$ac_exeext
35126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35127 (eval $ac_link) 2>conftest.er1
35128 ac_status=$?
35129 grep -v '^ *+' conftest.er1 >conftest.err
35130 rm -f conftest.er1
35131 cat conftest.err >&5
35132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35133 (exit $ac_status); } &&
35134 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35136 (eval $ac_try) 2>&5
35137 ac_status=$?
35138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35139 (exit $ac_status); }; } &&
35140 { ac_try='test -s conftest$ac_exeext'
35141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35142 (eval $ac_try) 2>&5
35143 ac_status=$?
35144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35145 (exit $ac_status); }; }; then
35146 eval "$as_ac_var=yes"
35147 else
35148 echo "$as_me: failed program was:" >&5
35149 sed 's/^/| /' conftest.$ac_ext >&5
35150
35151 eval "$as_ac_var=no"
35152 fi
35153 rm -f conftest.err conftest.$ac_objext \
35154 conftest$ac_exeext conftest.$ac_ext
35155 fi
35156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35158 if test `eval echo '${'$as_ac_var'}'` = yes; then
35159 cat >>confdefs.h <<_ACEOF
35160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35161 _ACEOF
35162 break
35163 fi
35164 done
35165
35166
35167 if test "$ac_cv_func_gettimeofday" = "yes"; then
35168 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35169 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35170 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35171 echo $ECHO_N "(cached) $ECHO_C" >&6
35172 else
35173
35174
35175
35176 ac_ext=cc
35177 ac_cpp='$CXXCPP $CPPFLAGS'
35178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35181
35182
35183 cat >conftest.$ac_ext <<_ACEOF
35184 /* confdefs.h. */
35185 _ACEOF
35186 cat confdefs.h >>conftest.$ac_ext
35187 cat >>conftest.$ac_ext <<_ACEOF
35188 /* end confdefs.h. */
35189
35190 #include <sys/time.h>
35191 #include <unistd.h>
35192
35193 int
35194 main ()
35195 {
35196
35197 struct timeval tv;
35198 gettimeofday(&tv, NULL);
35199
35200 ;
35201 return 0;
35202 }
35203 _ACEOF
35204 rm -f conftest.$ac_objext
35205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35206 (eval $ac_compile) 2>conftest.er1
35207 ac_status=$?
35208 grep -v '^ *+' conftest.er1 >conftest.err
35209 rm -f conftest.er1
35210 cat conftest.err >&5
35211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35212 (exit $ac_status); } &&
35213 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35215 (eval $ac_try) 2>&5
35216 ac_status=$?
35217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35218 (exit $ac_status); }; } &&
35219 { ac_try='test -s conftest.$ac_objext'
35220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35221 (eval $ac_try) 2>&5
35222 ac_status=$?
35223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35224 (exit $ac_status); }; }; then
35225 wx_cv_func_gettimeofday_has_2_args=yes
35226 else
35227 echo "$as_me: failed program was:" >&5
35228 sed 's/^/| /' conftest.$ac_ext >&5
35229
35230 cat >conftest.$ac_ext <<_ACEOF
35231 /* confdefs.h. */
35232 _ACEOF
35233 cat confdefs.h >>conftest.$ac_ext
35234 cat >>conftest.$ac_ext <<_ACEOF
35235 /* end confdefs.h. */
35236
35237 #include <sys/time.h>
35238 #include <unistd.h>
35239
35240 int
35241 main ()
35242 {
35243
35244 struct timeval tv;
35245 gettimeofday(&tv);
35246
35247 ;
35248 return 0;
35249 }
35250 _ACEOF
35251 rm -f conftest.$ac_objext
35252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35253 (eval $ac_compile) 2>conftest.er1
35254 ac_status=$?
35255 grep -v '^ *+' conftest.er1 >conftest.err
35256 rm -f conftest.er1
35257 cat conftest.err >&5
35258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35259 (exit $ac_status); } &&
35260 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35262 (eval $ac_try) 2>&5
35263 ac_status=$?
35264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35265 (exit $ac_status); }; } &&
35266 { ac_try='test -s conftest.$ac_objext'
35267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35268 (eval $ac_try) 2>&5
35269 ac_status=$?
35270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35271 (exit $ac_status); }; }; then
35272 wx_cv_func_gettimeofday_has_2_args=no
35273 else
35274 echo "$as_me: failed program was:" >&5
35275 sed 's/^/| /' conftest.$ac_ext >&5
35276
35277
35278 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35279 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35280 wx_cv_func_gettimeofday_has_2_args=unknown
35281
35282
35283 fi
35284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35285
35286 fi
35287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35288 ac_ext=c
35289 ac_cpp='$CPP $CPPFLAGS'
35290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35293
35294
35295 fi
35296 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35297 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35298
35299 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35300 cat >>confdefs.h <<\_ACEOF
35301 #define WX_GETTIMEOFDAY_NO_TZ 1
35302 _ACEOF
35303
35304 fi
35305 fi
35306
35307 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
35308 fi
35309
35310
35311 if test "$wxUSE_SOCKETS" = "yes"; then
35312 if test "$wxUSE_MGL" = "1"; then
35313 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35314 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35315 wxUSE_SOCKETS="no"
35316 fi
35317 fi
35318
35319 if test "$wxUSE_SOCKETS" = "yes"; then
35320 if test "$TOOLKIT" != "MSW"; then
35321 echo "$as_me:$LINENO: checking for socket" >&5
35322 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35323 if test "${ac_cv_func_socket+set}" = set; then
35324 echo $ECHO_N "(cached) $ECHO_C" >&6
35325 else
35326 cat >conftest.$ac_ext <<_ACEOF
35327 /* confdefs.h. */
35328 _ACEOF
35329 cat confdefs.h >>conftest.$ac_ext
35330 cat >>conftest.$ac_ext <<_ACEOF
35331 /* end confdefs.h. */
35332 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35334 #define socket innocuous_socket
35335
35336 /* System header to define __stub macros and hopefully few prototypes,
35337 which can conflict with char socket (); below.
35338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35339 <limits.h> exists even on freestanding compilers. */
35340
35341 #ifdef __STDC__
35342 # include <limits.h>
35343 #else
35344 # include <assert.h>
35345 #endif
35346
35347 #undef socket
35348
35349 /* Override any gcc2 internal prototype to avoid an error. */
35350 #ifdef __cplusplus
35351 extern "C"
35352 {
35353 #endif
35354 /* We use char because int might match the return type of a gcc2
35355 builtin and then its argument prototype would still apply. */
35356 char socket ();
35357 /* The GNU C library defines this for functions which it implements
35358 to always fail with ENOSYS. Some functions are actually named
35359 something starting with __ and the normal name is an alias. */
35360 #if defined (__stub_socket) || defined (__stub___socket)
35361 choke me
35362 #else
35363 char (*f) () = socket;
35364 #endif
35365 #ifdef __cplusplus
35366 }
35367 #endif
35368
35369 int
35370 main ()
35371 {
35372 return f != socket;
35373 ;
35374 return 0;
35375 }
35376 _ACEOF
35377 rm -f conftest.$ac_objext conftest$ac_exeext
35378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35379 (eval $ac_link) 2>conftest.er1
35380 ac_status=$?
35381 grep -v '^ *+' conftest.er1 >conftest.err
35382 rm -f conftest.er1
35383 cat conftest.err >&5
35384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35385 (exit $ac_status); } &&
35386 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35388 (eval $ac_try) 2>&5
35389 ac_status=$?
35390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35391 (exit $ac_status); }; } &&
35392 { ac_try='test -s conftest$ac_exeext'
35393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35394 (eval $ac_try) 2>&5
35395 ac_status=$?
35396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35397 (exit $ac_status); }; }; then
35398 ac_cv_func_socket=yes
35399 else
35400 echo "$as_me: failed program was:" >&5
35401 sed 's/^/| /' conftest.$ac_ext >&5
35402
35403 ac_cv_func_socket=no
35404 fi
35405 rm -f conftest.err conftest.$ac_objext \
35406 conftest$ac_exeext conftest.$ac_ext
35407 fi
35408 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35409 echo "${ECHO_T}$ac_cv_func_socket" >&6
35410 if test $ac_cv_func_socket = yes; then
35411 :
35412 else
35413
35414 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35415 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35416 if test "${ac_cv_lib_socket_socket+set}" = set; then
35417 echo $ECHO_N "(cached) $ECHO_C" >&6
35418 else
35419 ac_check_lib_save_LIBS=$LIBS
35420 LIBS="-lsocket $LIBS"
35421 cat >conftest.$ac_ext <<_ACEOF
35422 /* confdefs.h. */
35423 _ACEOF
35424 cat confdefs.h >>conftest.$ac_ext
35425 cat >>conftest.$ac_ext <<_ACEOF
35426 /* end confdefs.h. */
35427
35428 /* Override any gcc2 internal prototype to avoid an error. */
35429 #ifdef __cplusplus
35430 extern "C"
35431 #endif
35432 /* We use char because int might match the return type of a gcc2
35433 builtin and then its argument prototype would still apply. */
35434 char socket ();
35435 int
35436 main ()
35437 {
35438 socket ();
35439 ;
35440 return 0;
35441 }
35442 _ACEOF
35443 rm -f conftest.$ac_objext conftest$ac_exeext
35444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35445 (eval $ac_link) 2>conftest.er1
35446 ac_status=$?
35447 grep -v '^ *+' conftest.er1 >conftest.err
35448 rm -f conftest.er1
35449 cat conftest.err >&5
35450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35451 (exit $ac_status); } &&
35452 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35454 (eval $ac_try) 2>&5
35455 ac_status=$?
35456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35457 (exit $ac_status); }; } &&
35458 { ac_try='test -s conftest$ac_exeext'
35459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35460 (eval $ac_try) 2>&5
35461 ac_status=$?
35462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35463 (exit $ac_status); }; }; then
35464 ac_cv_lib_socket_socket=yes
35465 else
35466 echo "$as_me: failed program was:" >&5
35467 sed 's/^/| /' conftest.$ac_ext >&5
35468
35469 ac_cv_lib_socket_socket=no
35470 fi
35471 rm -f conftest.err conftest.$ac_objext \
35472 conftest$ac_exeext conftest.$ac_ext
35473 LIBS=$ac_check_lib_save_LIBS
35474 fi
35475 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35476 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35477 if test $ac_cv_lib_socket_socket = yes; then
35478 if test "$INET_LINK" != " -lsocket"; then
35479 INET_LINK="$INET_LINK -lsocket"
35480 fi
35481 else
35482
35483 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35484 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35485 wxUSE_SOCKETS=no
35486
35487
35488 fi
35489
35490
35491
35492 fi
35493
35494 fi
35495 fi
35496
35497 if test "$wxUSE_SOCKETS" = "yes" ; then
35498 if test "$TOOLKIT" != "MSW"; then
35499 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35500 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35501 if test "${wx_cv_type_getsockname3+set}" = set; then
35502 echo $ECHO_N "(cached) $ECHO_C" >&6
35503 else
35504
35505 cat >conftest.$ac_ext <<_ACEOF
35506 /* confdefs.h. */
35507 _ACEOF
35508 cat confdefs.h >>conftest.$ac_ext
35509 cat >>conftest.$ac_ext <<_ACEOF
35510 /* end confdefs.h. */
35511
35512 #include <sys/types.h>
35513 #include <sys/socket.h>
35514
35515 int
35516 main ()
35517 {
35518
35519 socklen_t len;
35520 getsockname(0, 0, &len);
35521
35522 ;
35523 return 0;
35524 }
35525 _ACEOF
35526 rm -f conftest.$ac_objext
35527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35528 (eval $ac_compile) 2>conftest.er1
35529 ac_status=$?
35530 grep -v '^ *+' conftest.er1 >conftest.err
35531 rm -f conftest.er1
35532 cat conftest.err >&5
35533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35534 (exit $ac_status); } &&
35535 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35537 (eval $ac_try) 2>&5
35538 ac_status=$?
35539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35540 (exit $ac_status); }; } &&
35541 { ac_try='test -s conftest.$ac_objext'
35542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35543 (eval $ac_try) 2>&5
35544 ac_status=$?
35545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35546 (exit $ac_status); }; }; then
35547 wx_cv_type_getsockname3=socklen_t
35548 else
35549 echo "$as_me: failed program was:" >&5
35550 sed 's/^/| /' conftest.$ac_ext >&5
35551
35552
35553 CFLAGS_OLD="$CFLAGS"
35554 if test "$GCC" = yes ; then
35555 CFLAGS="$CFLAGS -Werror"
35556 fi
35557
35558 cat >conftest.$ac_ext <<_ACEOF
35559 /* confdefs.h. */
35560 _ACEOF
35561 cat confdefs.h >>conftest.$ac_ext
35562 cat >>conftest.$ac_ext <<_ACEOF
35563 /* end confdefs.h. */
35564
35565 #include <sys/types.h>
35566 #include <sys/socket.h>
35567
35568 int
35569 main ()
35570 {
35571
35572 size_t len;
35573 getsockname(0, 0, &len);
35574
35575 ;
35576 return 0;
35577 }
35578 _ACEOF
35579 rm -f conftest.$ac_objext
35580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35581 (eval $ac_compile) 2>conftest.er1
35582 ac_status=$?
35583 grep -v '^ *+' conftest.er1 >conftest.err
35584 rm -f conftest.er1
35585 cat conftest.err >&5
35586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35587 (exit $ac_status); } &&
35588 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35590 (eval $ac_try) 2>&5
35591 ac_status=$?
35592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35593 (exit $ac_status); }; } &&
35594 { ac_try='test -s conftest.$ac_objext'
35595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35596 (eval $ac_try) 2>&5
35597 ac_status=$?
35598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35599 (exit $ac_status); }; }; then
35600 wx_cv_type_getsockname3=size_t
35601 else
35602 echo "$as_me: failed program was:" >&5
35603 sed 's/^/| /' conftest.$ac_ext >&5
35604
35605 cat >conftest.$ac_ext <<_ACEOF
35606 /* confdefs.h. */
35607 _ACEOF
35608 cat confdefs.h >>conftest.$ac_ext
35609 cat >>conftest.$ac_ext <<_ACEOF
35610 /* end confdefs.h. */
35611
35612 #include <sys/types.h>
35613 #include <sys/socket.h>
35614
35615 int
35616 main ()
35617 {
35618
35619 int len;
35620 getsockname(0, 0, &len);
35621
35622 ;
35623 return 0;
35624 }
35625 _ACEOF
35626 rm -f conftest.$ac_objext
35627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35628 (eval $ac_compile) 2>conftest.er1
35629 ac_status=$?
35630 grep -v '^ *+' conftest.er1 >conftest.err
35631 rm -f conftest.er1
35632 cat conftest.err >&5
35633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35634 (exit $ac_status); } &&
35635 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35637 (eval $ac_try) 2>&5
35638 ac_status=$?
35639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35640 (exit $ac_status); }; } &&
35641 { ac_try='test -s conftest.$ac_objext'
35642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35643 (eval $ac_try) 2>&5
35644 ac_status=$?
35645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35646 (exit $ac_status); }; }; then
35647 wx_cv_type_getsockname3=int
35648 else
35649 echo "$as_me: failed program was:" >&5
35650 sed 's/^/| /' conftest.$ac_ext >&5
35651
35652 wx_cv_type_getsockname3=unknown
35653
35654 fi
35655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35656
35657 fi
35658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35659
35660 CFLAGS="$CFLAGS_OLD"
35661
35662
35663 fi
35664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35665
35666 fi
35667 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35668 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35669
35670 if test "$wx_cv_type_getsockname3" = "unknown"; then
35671 wxUSE_SOCKETS=no
35672 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35673 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35674 else
35675 cat >>confdefs.h <<_ACEOF
35676 #define SOCKLEN_T $wx_cv_type_getsockname3
35677 _ACEOF
35678
35679 fi
35680 fi
35681 fi
35682
35683 if test "$wxUSE_SOCKETS" = "yes" ; then
35684 cat >>confdefs.h <<\_ACEOF
35685 #define wxUSE_SOCKETS 1
35686 _ACEOF
35687
35688 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35689 fi
35690
35691 if test "$wxUSE_PROTOCOL" = "yes"; then
35692 if test "$wxUSE_SOCKETS" != "yes"; then
35693 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35694 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35695 wxUSE_PROTOCOL=no
35696 fi
35697 fi
35698
35699 if test "$wxUSE_PROTOCOL" = "yes"; then
35700 cat >>confdefs.h <<\_ACEOF
35701 #define wxUSE_PROTOCOL 1
35702 _ACEOF
35703
35704
35705 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35706 cat >>confdefs.h <<\_ACEOF
35707 #define wxUSE_PROTOCOL_HTTP 1
35708 _ACEOF
35709
35710 fi
35711 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35712 cat >>confdefs.h <<\_ACEOF
35713 #define wxUSE_PROTOCOL_FTP 1
35714 _ACEOF
35715
35716 fi
35717 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35718 cat >>confdefs.h <<\_ACEOF
35719 #define wxUSE_PROTOCOL_FILE 1
35720 _ACEOF
35721
35722 fi
35723 else
35724 if test "$wxUSE_FS_INET" = "yes"; then
35725 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35726 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35727 wxUSE_FS_INET="no"
35728 fi
35729 fi
35730
35731 if test "$wxUSE_URL" = "yes"; then
35732 if test "$wxUSE_PROTOCOL" != "yes"; then
35733 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35734 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35735 wxUSE_URL=no
35736 fi
35737 if test "$wxUSE_URL" = "yes"; then
35738 cat >>confdefs.h <<\_ACEOF
35739 #define wxUSE_URL 1
35740 _ACEOF
35741
35742 fi
35743 fi
35744
35745 if test "$wxUSE_FS_INET" = "yes"; then
35746 cat >>confdefs.h <<\_ACEOF
35747 #define wxUSE_FS_INET 1
35748 _ACEOF
35749
35750 fi
35751
35752
35753 if test "$wxUSE_GUI" = "yes"; then
35754
35755 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
35756 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
35757 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
35758 wxUSE_JOYSTICK=no
35759 fi
35760
35761 if test "$TOOLKIT" != "MSW"; then
35762 if test "$wxUSE_JOYSTICK" = "yes"; then
35763
35764 for ac_header in linux/joystick.h
35765 do
35766 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35767 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35768 echo "$as_me:$LINENO: checking for $ac_header" >&5
35769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35771 echo $ECHO_N "(cached) $ECHO_C" >&6
35772 fi
35773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35774 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35775 else
35776 # Is the header compilable?
35777 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35778 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35779 cat >conftest.$ac_ext <<_ACEOF
35780 /* confdefs.h. */
35781 _ACEOF
35782 cat confdefs.h >>conftest.$ac_ext
35783 cat >>conftest.$ac_ext <<_ACEOF
35784 /* end confdefs.h. */
35785 $ac_includes_default
35786 #include <$ac_header>
35787 _ACEOF
35788 rm -f conftest.$ac_objext
35789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35790 (eval $ac_compile) 2>conftest.er1
35791 ac_status=$?
35792 grep -v '^ *+' conftest.er1 >conftest.err
35793 rm -f conftest.er1
35794 cat conftest.err >&5
35795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35796 (exit $ac_status); } &&
35797 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35799 (eval $ac_try) 2>&5
35800 ac_status=$?
35801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35802 (exit $ac_status); }; } &&
35803 { ac_try='test -s conftest.$ac_objext'
35804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35805 (eval $ac_try) 2>&5
35806 ac_status=$?
35807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35808 (exit $ac_status); }; }; then
35809 ac_header_compiler=yes
35810 else
35811 echo "$as_me: failed program was:" >&5
35812 sed 's/^/| /' conftest.$ac_ext >&5
35813
35814 ac_header_compiler=no
35815 fi
35816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35817 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35818 echo "${ECHO_T}$ac_header_compiler" >&6
35819
35820 # Is the header present?
35821 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35822 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35823 cat >conftest.$ac_ext <<_ACEOF
35824 /* confdefs.h. */
35825 _ACEOF
35826 cat confdefs.h >>conftest.$ac_ext
35827 cat >>conftest.$ac_ext <<_ACEOF
35828 /* end confdefs.h. */
35829 #include <$ac_header>
35830 _ACEOF
35831 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35832 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35833 ac_status=$?
35834 grep -v '^ *+' conftest.er1 >conftest.err
35835 rm -f conftest.er1
35836 cat conftest.err >&5
35837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35838 (exit $ac_status); } >/dev/null; then
35839 if test -s conftest.err; then
35840 ac_cpp_err=$ac_c_preproc_warn_flag
35841 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35842 else
35843 ac_cpp_err=
35844 fi
35845 else
35846 ac_cpp_err=yes
35847 fi
35848 if test -z "$ac_cpp_err"; then
35849 ac_header_preproc=yes
35850 else
35851 echo "$as_me: failed program was:" >&5
35852 sed 's/^/| /' conftest.$ac_ext >&5
35853
35854 ac_header_preproc=no
35855 fi
35856 rm -f conftest.err conftest.$ac_ext
35857 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35858 echo "${ECHO_T}$ac_header_preproc" >&6
35859
35860 # So? What about this header?
35861 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35862 yes:no: )
35863 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35864 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35865 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35866 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35867 ac_header_preproc=yes
35868 ;;
35869 no:yes:* )
35870 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35871 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35872 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35873 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35874 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35875 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35876 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35877 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35878 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35879 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35880 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35881 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35882 (
35883 cat <<\_ASBOX
35884 ## ----------------------------------------- ##
35885 ## Report this to wx-dev@lists.wxwindows.org ##
35886 ## ----------------------------------------- ##
35887 _ASBOX
35888 ) |
35889 sed "s/^/$as_me: WARNING: /" >&2
35890 ;;
35891 esac
35892 echo "$as_me:$LINENO: checking for $ac_header" >&5
35893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35894 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35895 echo $ECHO_N "(cached) $ECHO_C" >&6
35896 else
35897 eval "$as_ac_Header=\$ac_header_preproc"
35898 fi
35899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35900 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35901
35902 fi
35903 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35904 cat >>confdefs.h <<_ACEOF
35905 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35906 _ACEOF
35907
35908 fi
35909
35910 done
35911
35912 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
35913 wxUSE_JOYSTICK=no
35914 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
35915 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35916 fi
35917 fi
35918 fi
35919
35920 if test "$wxUSE_JOYSTICK" = "yes"; then
35921 cat >>confdefs.h <<\_ACEOF
35922 #define wxUSE_JOYSTICK 1
35923 _ACEOF
35924
35925 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
35926 fi
35927 fi
35928
35929
35930
35931 if test "$wxUSE_FONTMAP" = "yes" ; then
35932 cat >>confdefs.h <<\_ACEOF
35933 #define wxUSE_FONTMAP 1
35934 _ACEOF
35935
35936 fi
35937
35938 if test "$wxUSE_UNICODE" = "yes" ; then
35939 cat >>confdefs.h <<\_ACEOF
35940 #define wxUSE_UNICODE 1
35941 _ACEOF
35942
35943
35944 if test "$USE_WIN32" != 1; then
35945 wxUSE_UNICODE_MSLU=no
35946 fi
35947
35948 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35949 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
35950 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
35951 if test "${ac_cv_lib_unicows_main+set}" = set; then
35952 echo $ECHO_N "(cached) $ECHO_C" >&6
35953 else
35954 ac_check_lib_save_LIBS=$LIBS
35955 LIBS="-lunicows $LIBS"
35956 cat >conftest.$ac_ext <<_ACEOF
35957 /* confdefs.h. */
35958 _ACEOF
35959 cat confdefs.h >>conftest.$ac_ext
35960 cat >>conftest.$ac_ext <<_ACEOF
35961 /* end confdefs.h. */
35962
35963
35964 int
35965 main ()
35966 {
35967 main ();
35968 ;
35969 return 0;
35970 }
35971 _ACEOF
35972 rm -f conftest.$ac_objext conftest$ac_exeext
35973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35974 (eval $ac_link) 2>conftest.er1
35975 ac_status=$?
35976 grep -v '^ *+' conftest.er1 >conftest.err
35977 rm -f conftest.er1
35978 cat conftest.err >&5
35979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35980 (exit $ac_status); } &&
35981 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
35987 { ac_try='test -s conftest$ac_exeext'
35988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35989 (eval $ac_try) 2>&5
35990 ac_status=$?
35991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35992 (exit $ac_status); }; }; then
35993 ac_cv_lib_unicows_main=yes
35994 else
35995 echo "$as_me: failed program was:" >&5
35996 sed 's/^/| /' conftest.$ac_ext >&5
35997
35998 ac_cv_lib_unicows_main=no
35999 fi
36000 rm -f conftest.err conftest.$ac_objext \
36001 conftest$ac_exeext conftest.$ac_ext
36002 LIBS=$ac_check_lib_save_LIBS
36003 fi
36004 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
36005 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
36006 if test $ac_cv_lib_unicows_main = yes; then
36007
36008 cat >>confdefs.h <<\_ACEOF
36009 #define wxUSE_UNICODE_MSLU 1
36010 _ACEOF
36011
36012
36013 else
36014
36015 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36016 Applications will only run on Windows NT/2000/XP!" >&5
36017 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36018 Applications will only run on Windows NT/2000/XP!" >&2;}
36019 wxUSE_UNICODE_MSLU=no
36020
36021 fi
36022
36023 fi
36024 fi
36025
36026 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
36027 cat >>confdefs.h <<\_ACEOF
36028 #define wxUSE_EXPERIMENTAL_PRINTF 1
36029 _ACEOF
36030
36031 fi
36032
36033
36034 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36035 cat >>confdefs.h <<\_ACEOF
36036 #define wxUSE_POSTSCRIPT 1
36037 _ACEOF
36038
36039 fi
36040
36041 cat >>confdefs.h <<\_ACEOF
36042 #define wxUSE_AFM_FOR_POSTSCRIPT 1
36043 _ACEOF
36044
36045
36046 cat >>confdefs.h <<\_ACEOF
36047 #define wxUSE_NORMALIZED_PS_FONTS 1
36048 _ACEOF
36049
36050
36051
36052 if test "$wxUSE_CONSTRAINTS" = "yes"; then
36053 cat >>confdefs.h <<\_ACEOF
36054 #define wxUSE_CONSTRAINTS 1
36055 _ACEOF
36056
36057 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
36058 fi
36059
36060 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36061 cat >>confdefs.h <<\_ACEOF
36062 #define wxUSE_MDI_ARCHITECTURE 1
36063 _ACEOF
36064
36065 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
36066 fi
36067
36068 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36069 cat >>confdefs.h <<\_ACEOF
36070 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
36071 _ACEOF
36072
36073 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
36074 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36075 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
36076 fi
36077 fi
36078
36079 if test "$wxUSE_HELP" = "yes"; then
36080 cat >>confdefs.h <<\_ACEOF
36081 #define wxUSE_HELP 1
36082 _ACEOF
36083
36084 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
36085
36086 if test "$wxUSE_MSW" = 1; then
36087 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36088 cat >>confdefs.h <<\_ACEOF
36089 #define wxUSE_MS_HTML_HELP 1
36090 _ACEOF
36091
36092 fi
36093 fi
36094
36095 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36096 if test "$wxUSE_HTML" = "yes"; then
36097 cat >>confdefs.h <<\_ACEOF
36098 #define wxUSE_WXHTML_HELP 1
36099 _ACEOF
36100
36101 else
36102 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36103 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36104 wxUSE_WXHTML_HELP=no
36105 fi
36106 fi
36107 fi
36108
36109 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36110 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36111 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36112 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36113 else
36114 cat >>confdefs.h <<\_ACEOF
36115 #define wxUSE_PRINTING_ARCHITECTURE 1
36116 _ACEOF
36117
36118 fi
36119 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
36120 fi
36121
36122 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36123 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36124 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36125 { (exit 1); exit 1; }; }
36126 fi
36127
36128
36129 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
36130 -o "$wxUSE_CLIPBOARD" = "yes" \
36131 -o "$wxUSE_OLE" = "yes" \
36132 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
36133
36134 for ac_header in ole2.h
36135 do
36136 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36137 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36138 echo "$as_me:$LINENO: checking for $ac_header" >&5
36139 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36140 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36141 echo $ECHO_N "(cached) $ECHO_C" >&6
36142 fi
36143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36144 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36145 else
36146 # Is the header compilable?
36147 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36148 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36149 cat >conftest.$ac_ext <<_ACEOF
36150 /* confdefs.h. */
36151 _ACEOF
36152 cat confdefs.h >>conftest.$ac_ext
36153 cat >>conftest.$ac_ext <<_ACEOF
36154 /* end confdefs.h. */
36155 $ac_includes_default
36156 #include <$ac_header>
36157 _ACEOF
36158 rm -f conftest.$ac_objext
36159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36160 (eval $ac_compile) 2>conftest.er1
36161 ac_status=$?
36162 grep -v '^ *+' conftest.er1 >conftest.err
36163 rm -f conftest.er1
36164 cat conftest.err >&5
36165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36166 (exit $ac_status); } &&
36167 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36169 (eval $ac_try) 2>&5
36170 ac_status=$?
36171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36172 (exit $ac_status); }; } &&
36173 { ac_try='test -s conftest.$ac_objext'
36174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36175 (eval $ac_try) 2>&5
36176 ac_status=$?
36177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36178 (exit $ac_status); }; }; then
36179 ac_header_compiler=yes
36180 else
36181 echo "$as_me: failed program was:" >&5
36182 sed 's/^/| /' conftest.$ac_ext >&5
36183
36184 ac_header_compiler=no
36185 fi
36186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36187 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36188 echo "${ECHO_T}$ac_header_compiler" >&6
36189
36190 # Is the header present?
36191 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36192 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36193 cat >conftest.$ac_ext <<_ACEOF
36194 /* confdefs.h. */
36195 _ACEOF
36196 cat confdefs.h >>conftest.$ac_ext
36197 cat >>conftest.$ac_ext <<_ACEOF
36198 /* end confdefs.h. */
36199 #include <$ac_header>
36200 _ACEOF
36201 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36202 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36203 ac_status=$?
36204 grep -v '^ *+' conftest.er1 >conftest.err
36205 rm -f conftest.er1
36206 cat conftest.err >&5
36207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36208 (exit $ac_status); } >/dev/null; then
36209 if test -s conftest.err; then
36210 ac_cpp_err=$ac_c_preproc_warn_flag
36211 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36212 else
36213 ac_cpp_err=
36214 fi
36215 else
36216 ac_cpp_err=yes
36217 fi
36218 if test -z "$ac_cpp_err"; then
36219 ac_header_preproc=yes
36220 else
36221 echo "$as_me: failed program was:" >&5
36222 sed 's/^/| /' conftest.$ac_ext >&5
36223
36224 ac_header_preproc=no
36225 fi
36226 rm -f conftest.err conftest.$ac_ext
36227 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36228 echo "${ECHO_T}$ac_header_preproc" >&6
36229
36230 # So? What about this header?
36231 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36232 yes:no: )
36233 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36234 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36235 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36236 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36237 ac_header_preproc=yes
36238 ;;
36239 no:yes:* )
36240 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36241 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36242 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36243 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36244 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36245 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36246 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36247 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36248 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36249 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36250 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36251 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36252 (
36253 cat <<\_ASBOX
36254 ## ----------------------------------------- ##
36255 ## Report this to wx-dev@lists.wxwindows.org ##
36256 ## ----------------------------------------- ##
36257 _ASBOX
36258 ) |
36259 sed "s/^/$as_me: WARNING: /" >&2
36260 ;;
36261 esac
36262 echo "$as_me:$LINENO: checking for $ac_header" >&5
36263 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36265 echo $ECHO_N "(cached) $ECHO_C" >&6
36266 else
36267 eval "$as_ac_Header=\$ac_header_preproc"
36268 fi
36269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36270 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36271
36272 fi
36273 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36274 cat >>confdefs.h <<_ACEOF
36275 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36276 _ACEOF
36277
36278 fi
36279
36280 done
36281
36282
36283 if test "$ac_cv_header_ole2_h" = "yes" ; then
36284 if test "$GCC" = yes ; then
36285
36286
36287 ac_ext=cc
36288 ac_cpp='$CXXCPP $CPPFLAGS'
36289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36292
36293
36294 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36295 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36296 cat >conftest.$ac_ext <<_ACEOF
36297 /* confdefs.h. */
36298 _ACEOF
36299 cat confdefs.h >>conftest.$ac_ext
36300 cat >>conftest.$ac_ext <<_ACEOF
36301 /* end confdefs.h. */
36302 #include <windows.h>
36303 #include <ole2.h>
36304 int
36305 main ()
36306 {
36307
36308 ;
36309 return 0;
36310 }
36311 _ACEOF
36312 rm -f conftest.$ac_objext
36313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36314 (eval $ac_compile) 2>conftest.er1
36315 ac_status=$?
36316 grep -v '^ *+' conftest.er1 >conftest.err
36317 rm -f conftest.er1
36318 cat conftest.err >&5
36319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36320 (exit $ac_status); } &&
36321 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36323 (eval $ac_try) 2>&5
36324 ac_status=$?
36325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36326 (exit $ac_status); }; } &&
36327 { ac_try='test -s conftest.$ac_objext'
36328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36329 (eval $ac_try) 2>&5
36330 ac_status=$?
36331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36332 (exit $ac_status); }; }; then
36333 echo "$as_me:$LINENO: result: no" >&5
36334 echo "${ECHO_T}no" >&6
36335 else
36336 echo "$as_me: failed program was:" >&5
36337 sed 's/^/| /' conftest.$ac_ext >&5
36338
36339 echo "$as_me:$LINENO: result: yes" >&5
36340 echo "${ECHO_T}yes" >&6
36341 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36342 fi
36343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36344 ac_ext=c
36345 ac_cpp='$CPP $CPPFLAGS'
36346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36349
36350 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
36351 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36352 if test "$wxUSE_OLE" = "yes" ; then
36353 cat >>confdefs.h <<\_ACEOF
36354 #define wxUSE_OLE 1
36355 _ACEOF
36356
36357 fi
36358 fi
36359
36360 if test "$wxUSE_DATAOBJ" = "yes" ; then
36361 cat >>confdefs.h <<\_ACEOF
36362 #define wxUSE_DATAOBJ 1
36363 _ACEOF
36364
36365 fi
36366 else
36367 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36368 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36369
36370 wxUSE_CLIPBOARD=no
36371 wxUSE_DRAG_AND_DROP=no
36372 wxUSE_DATAOBJ=no
36373 wxUSE_OLE=no
36374 fi
36375
36376 if test "$wxUSE_METAFILE" = "yes"; then
36377 cat >>confdefs.h <<\_ACEOF
36378 #define wxUSE_METAFILE 1
36379 _ACEOF
36380
36381
36382 cat >>confdefs.h <<\_ACEOF
36383 #define wxUSE_ENH_METAFILE 1
36384 _ACEOF
36385
36386 fi
36387 fi
36388
36389 if test "$wxUSE_IPC" = "yes"; then
36390 if test "$wxUSE_SOCKETS" != "yes"; then
36391 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
36392 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
36393 fi
36394
36395 cat >>confdefs.h <<\_ACEOF
36396 #define wxUSE_IPC 1
36397 _ACEOF
36398
36399 fi
36400
36401 if test "$wxUSE_CLIPBOARD" = "yes"; then
36402 if test "$wxUSE_MGL" = 1; then
36403 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36404 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36405 wxUSE_CLIPBOARD=no
36406 fi
36407
36408 if test "$wxUSE_CLIPBOARD" = "yes"; then
36409 cat >>confdefs.h <<\_ACEOF
36410 #define wxUSE_CLIPBOARD 1
36411 _ACEOF
36412
36413
36414 cat >>confdefs.h <<\_ACEOF
36415 #define wxUSE_DATAOBJ 1
36416 _ACEOF
36417
36418 fi
36419 fi
36420
36421 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36422 if test "$wxUSE_GTK" = 1; then
36423 if test "$WXGTK12" != 1; then
36424 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36425 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36426 wxUSE_DRAG_AND_DROP=no
36427 fi
36428 fi
36429
36430 if test "$wxUSE_MOTIF" = 1; then
36431 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36432 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36433 wxUSE_DRAG_AND_DROP=no
36434 fi
36435
36436 if test "$wxUSE_X11" = 1; then
36437 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36438 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36439 wxUSE_DRAG_AND_DROP=no
36440 fi
36441
36442 if test "$wxUSE_MGL" = 1; then
36443 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36444 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36445 wxUSE_DRAG_AND_DROP=no
36446 fi
36447
36448 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36449 cat >>confdefs.h <<\_ACEOF
36450 #define wxUSE_DRAG_AND_DROP 1
36451 _ACEOF
36452
36453 fi
36454
36455 fi
36456
36457 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36458 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
36459 fi
36460
36461 if test "$wxUSE_SPLINES" = "yes" ; then
36462 cat >>confdefs.h <<\_ACEOF
36463 #define wxUSE_SPLINES 1
36464 _ACEOF
36465
36466 fi
36467
36468
36469 USES_CONTROLS=0
36470 if test "$wxUSE_CONTROLS" = "yes"; then
36471 USES_CONTROLS=1
36472 fi
36473
36474 if test "$wxUSE_ACCEL" = "yes"; then
36475 cat >>confdefs.h <<\_ACEOF
36476 #define wxUSE_ACCEL 1
36477 _ACEOF
36478
36479 USES_CONTROLS=1
36480 fi
36481
36482 if test "$wxUSE_BUTTON" = "yes"; then
36483 cat >>confdefs.h <<\_ACEOF
36484 #define wxUSE_BUTTON 1
36485 _ACEOF
36486
36487 USES_CONTROLS=1
36488 fi
36489
36490 if test "$wxUSE_BMPBUTTON" = "yes"; then
36491 cat >>confdefs.h <<\_ACEOF
36492 #define wxUSE_BMPBUTTON 1
36493 _ACEOF
36494
36495 USES_CONTROLS=1
36496 fi
36497
36498 if test "$wxUSE_CALCTRL" = "yes"; then
36499 cat >>confdefs.h <<\_ACEOF
36500 #define wxUSE_CALENDARCTRL 1
36501 _ACEOF
36502
36503 USES_CONTROLS=1
36504 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
36505 fi
36506
36507 if test "$wxUSE_CARET" = "yes"; then
36508 cat >>confdefs.h <<\_ACEOF
36509 #define wxUSE_CARET 1
36510 _ACEOF
36511
36512 USES_CONTROLS=1
36513 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
36514 fi
36515
36516 if test "$wxUSE_COMBOBOX" = "yes"; then
36517 cat >>confdefs.h <<\_ACEOF
36518 #define wxUSE_COMBOBOX 1
36519 _ACEOF
36520
36521 USES_CONTROLS=1
36522 fi
36523
36524 if test "$wxUSE_CHOICE" = "yes"; then
36525 cat >>confdefs.h <<\_ACEOF
36526 #define wxUSE_CHOICE 1
36527 _ACEOF
36528
36529 USES_CONTROLS=1
36530 fi
36531
36532 if test "$wxUSE_CHECKBOX" = "yes"; then
36533 cat >>confdefs.h <<\_ACEOF
36534 #define wxUSE_CHECKBOX 1
36535 _ACEOF
36536
36537 USES_CONTROLS=1
36538 fi
36539
36540 if test "$wxUSE_CHECKLST" = "yes"; then
36541 cat >>confdefs.h <<\_ACEOF
36542 #define wxUSE_CHECKLISTBOX 1
36543 _ACEOF
36544
36545 USES_CONTROLS=1
36546 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
36547 fi
36548
36549 if test "$wxUSE_DISPLAY" = "yes"; then
36550 cat >>confdefs.h <<\_ACEOF
36551 #define wxUSE_DISPLAY 1
36552 _ACEOF
36553
36554 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
36555 fi
36556
36557 if test "$wxUSE_GAUGE" = "yes"; then
36558 cat >>confdefs.h <<\_ACEOF
36559 #define wxUSE_GAUGE 1
36560 _ACEOF
36561
36562 USES_CONTROLS=1
36563 fi
36564
36565 if test "$wxUSE_GRID" = "yes"; then
36566 cat >>confdefs.h <<\_ACEOF
36567 #define wxUSE_GRID 1
36568 _ACEOF
36569
36570 USES_CONTROLS=1
36571 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
36572 fi
36573
36574 if test "$wxUSE_IMAGLIST" = "yes"; then
36575 cat >>confdefs.h <<\_ACEOF
36576 #define wxUSE_IMAGLIST 1
36577 _ACEOF
36578
36579 fi
36580
36581 if test "$wxUSE_LISTBOOK" = "yes"; then
36582 cat >>confdefs.h <<\_ACEOF
36583 #define wxUSE_LISTBOOK 1
36584 _ACEOF
36585
36586 USES_CONTROLS=1
36587 fi
36588
36589 if test "$wxUSE_LISTBOX" = "yes"; then
36590 cat >>confdefs.h <<\_ACEOF
36591 #define wxUSE_LISTBOX 1
36592 _ACEOF
36593
36594 USES_CONTROLS=1
36595 fi
36596
36597 if test "$wxUSE_LISTCTRL" = "yes"; then
36598 if test "$wxUSE_IMAGLIST" = "yes"; then
36599 cat >>confdefs.h <<\_ACEOF
36600 #define wxUSE_LISTCTRL 1
36601 _ACEOF
36602
36603 USES_CONTROLS=1
36604 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
36605 else
36606 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36607 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36608 fi
36609 fi
36610
36611 if test "$wxUSE_NOTEBOOK" = "yes"; then
36612 cat >>confdefs.h <<\_ACEOF
36613 #define wxUSE_NOTEBOOK 1
36614 _ACEOF
36615
36616 USES_CONTROLS=1
36617 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
36618 fi
36619
36620
36621 if test "$wxUSE_RADIOBOX" = "yes"; then
36622 cat >>confdefs.h <<\_ACEOF
36623 #define wxUSE_RADIOBOX 1
36624 _ACEOF
36625
36626 USES_CONTROLS=1
36627 fi
36628
36629 if test "$wxUSE_RADIOBTN" = "yes"; then
36630 cat >>confdefs.h <<\_ACEOF
36631 #define wxUSE_RADIOBTN 1
36632 _ACEOF
36633
36634 USES_CONTROLS=1
36635 fi
36636
36637 if test "$wxUSE_SASH" = "yes"; then
36638 cat >>confdefs.h <<\_ACEOF
36639 #define wxUSE_SASH 1
36640 _ACEOF
36641
36642 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
36643 fi
36644
36645 if test "$wxUSE_SCROLLBAR" = "yes"; then
36646 cat >>confdefs.h <<\_ACEOF
36647 #define wxUSE_SCROLLBAR 1
36648 _ACEOF
36649
36650 USES_CONTROLS=1
36651 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
36652 fi
36653
36654 if test "$wxUSE_SLIDER" = "yes"; then
36655 cat >>confdefs.h <<\_ACEOF
36656 #define wxUSE_SLIDER 1
36657 _ACEOF
36658
36659 USES_CONTROLS=1
36660 fi
36661
36662 if test "$wxUSE_SPINBTN" = "yes"; then
36663 cat >>confdefs.h <<\_ACEOF
36664 #define wxUSE_SPINBTN 1
36665 _ACEOF
36666
36667 USES_CONTROLS=1
36668 fi
36669
36670 if test "$wxUSE_SPINCTRL" = "yes"; then
36671 cat >>confdefs.h <<\_ACEOF
36672 #define wxUSE_SPINCTRL 1
36673 _ACEOF
36674
36675 USES_CONTROLS=1
36676 fi
36677
36678 if test "$wxUSE_SPLITTER" = "yes"; then
36679 cat >>confdefs.h <<\_ACEOF
36680 #define wxUSE_SPLITTER 1
36681 _ACEOF
36682
36683 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
36684 fi
36685
36686 if test "$wxUSE_STATBMP" = "yes"; then
36687 cat >>confdefs.h <<\_ACEOF
36688 #define wxUSE_STATBMP 1
36689 _ACEOF
36690
36691 USES_CONTROLS=1
36692 fi
36693
36694 if test "$wxUSE_STATBOX" = "yes"; then
36695 cat >>confdefs.h <<\_ACEOF
36696 #define wxUSE_STATBOX 1
36697 _ACEOF
36698
36699 USES_CONTROLS=1
36700 fi
36701
36702 if test "$wxUSE_STATTEXT" = "yes"; then
36703 cat >>confdefs.h <<\_ACEOF
36704 #define wxUSE_STATTEXT 1
36705 _ACEOF
36706
36707 USES_CONTROLS=1
36708 fi
36709
36710 if test "$wxUSE_STATLINE" = "yes"; then
36711 cat >>confdefs.h <<\_ACEOF
36712 #define wxUSE_STATLINE 1
36713 _ACEOF
36714
36715 USES_CONTROLS=1
36716 fi
36717
36718 if test "$wxUSE_STATUSBAR" = "yes"; then
36719 cat >>confdefs.h <<\_ACEOF
36720 #define wxUSE_STATUSBAR 1
36721 _ACEOF
36722
36723 USES_CONTROLS=1
36724
36725 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
36726 fi
36727
36728 if test "$wxUSE_TABDIALOG" = "yes"; then
36729 cat >>confdefs.h <<\_ACEOF
36730 #define wxUSE_TAB_DIALOG 1
36731 _ACEOF
36732
36733 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
36734 fi
36735
36736 if test "$wxUSE_TEXTCTRL" = "yes"; then
36737 cat >>confdefs.h <<\_ACEOF
36738 #define wxUSE_TEXTCTRL 1
36739 _ACEOF
36740
36741 USES_CONTROLS=1
36742 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
36743 fi
36744
36745 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36746 if test "$wxUSE_COCOA" = 1 ; then
36747 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36748 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36749 wxUSE_TOGGLEBTN=no
36750 fi
36751 if test "$wxUSE_UNIVERSAL" = "yes"; then
36752 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
36753 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
36754 wxUSE_TOGGLEBTN=no
36755 fi
36756
36757 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36758 cat >>confdefs.h <<\_ACEOF
36759 #define wxUSE_TOGGLEBTN 1
36760 _ACEOF
36761
36762 USES_CONTROLS=1
36763 fi
36764 fi
36765
36766 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
36767 cat >>confdefs.h <<\_ACEOF
36768 #define wxUSE_TOOLBAR_SIMPLE 1
36769 _ACEOF
36770
36771 wxUSE_TOOLBAR="yes"
36772 USES_CONTROLS=1
36773 fi
36774
36775 if test "$wxUSE_TOOLBAR" = "yes"; then
36776 cat >>confdefs.h <<\_ACEOF
36777 #define wxUSE_TOOLBAR 1
36778 _ACEOF
36779
36780 USES_CONTROLS=1
36781
36782 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
36783 wxUSE_TOOLBAR_NATIVE="yes"
36784 fi
36785
36786 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
36787 cat >>confdefs.h <<\_ACEOF
36788 #define wxUSE_TOOLBAR_NATIVE 1
36789 _ACEOF
36790
36791 USES_CONTROLS=1
36792 fi
36793
36794 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
36795 fi
36796
36797 if test "$wxUSE_TOOLTIPS" = "yes"; then
36798 if test "$wxUSE_MOTIF" = 1; then
36799 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36800 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36801 else
36802 if test "$wxUSE_UNIVERSAL" = "yes"; then
36803 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36804 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36805 else
36806 cat >>confdefs.h <<\_ACEOF
36807 #define wxUSE_TOOLTIPS 1
36808 _ACEOF
36809
36810 fi
36811 fi
36812 fi
36813
36814 if test "$wxUSE_TREECTRL" = "yes"; then
36815 if test "$wxUSE_IMAGLIST" = "yes"; then
36816 cat >>confdefs.h <<\_ACEOF
36817 #define wxUSE_TREECTRL 1
36818 _ACEOF
36819
36820 USES_CONTROLS=1
36821 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
36822 else
36823 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36824 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36825 fi
36826 fi
36827
36828 if test "$wxUSE_POPUPWIN" = "yes"; then
36829 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
36830 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36831 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36832 else
36833 if test "$wxUSE_PM" = 1; then
36834 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36835 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36836 else
36837 cat >>confdefs.h <<\_ACEOF
36838 #define wxUSE_POPUPWIN 1
36839 _ACEOF
36840
36841
36842 USES_CONTROLS=1
36843 fi
36844 fi
36845 fi
36846
36847 if test "$wxUSE_TIPWINDOW" = "yes"; then
36848 if test "$wxUSE_PM" = 1; then
36849 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36850 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36851 else
36852 cat >>confdefs.h <<\_ACEOF
36853 #define wxUSE_TIPWINDOW 1
36854 _ACEOF
36855
36856 fi
36857 fi
36858
36859 if test "$USES_CONTROLS" = 1; then
36860 cat >>confdefs.h <<\_ACEOF
36861 #define wxUSE_CONTROLS 1
36862 _ACEOF
36863
36864 fi
36865
36866
36867 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36868 cat >>confdefs.h <<\_ACEOF
36869 #define wxUSE_ACCESSIBILITY 1
36870 _ACEOF
36871
36872 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
36873 fi
36874
36875 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36876 cat >>confdefs.h <<\_ACEOF
36877 #define wxUSE_DRAGIMAGE 1
36878 _ACEOF
36879
36880 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
36881 fi
36882
36883 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36884 cat >>confdefs.h <<\_ACEOF
36885 #define wxUSE_EXCEPTIONS 1
36886 _ACEOF
36887
36888 fi
36889
36890 USE_HTML=0
36891 if test "$wxUSE_HTML" = "yes"; then
36892 cat >>confdefs.h <<\_ACEOF
36893 #define wxUSE_HTML 1
36894 _ACEOF
36895
36896 USE_HTML=1
36897 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36898 fi
36899
36900 if test "$wxUSE_MENUS" = "yes"; then
36901 cat >>confdefs.h <<\_ACEOF
36902 #define wxUSE_MENUS 1
36903 _ACEOF
36904
36905 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
36906 fi
36907
36908 if test "$wxUSE_METAFILE" = "yes"; then
36909 cat >>confdefs.h <<\_ACEOF
36910 #define wxUSE_METAFILE 1
36911 _ACEOF
36912
36913 fi
36914
36915 if test "$wxUSE_MIMETYPE" = "yes"; then
36916 cat >>confdefs.h <<\_ACEOF
36917 #define wxUSE_MIMETYPE 1
36918 _ACEOF
36919
36920 fi
36921
36922 if test "$wxUSE_MINIFRAME" = "yes"; then
36923 cat >>confdefs.h <<\_ACEOF
36924 #define wxUSE_MINIFRAME 1
36925 _ACEOF
36926
36927 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
36928 fi
36929
36930 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36931 cat >>confdefs.h <<\_ACEOF
36932 #define wxUSE_SYSTEM_OPTIONS 1
36933 _ACEOF
36934
36935 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
36936 "$TOOLKIT" = "MOTIF"; then
36937 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
36938 fi
36939 fi
36940
36941
36942 if test "$wxUSE_VALIDATORS" = "yes"; then
36943 cat >>confdefs.h <<\_ACEOF
36944 #define wxUSE_VALIDATORS 1
36945 _ACEOF
36946
36947 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
36948 fi
36949
36950 if test "$wxUSE_PALETTE" = "yes" ; then
36951 cat >>confdefs.h <<\_ACEOF
36952 #define wxUSE_PALETTE 1
36953 _ACEOF
36954
36955 fi
36956
36957 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36958 LIBS=" -lunicows $LIBS"
36959 fi
36960
36961
36962 if test "$wxUSE_IMAGE" = "yes" ; then
36963 cat >>confdefs.h <<\_ACEOF
36964 #define wxUSE_IMAGE 1
36965 _ACEOF
36966
36967
36968 if test "$wxUSE_GIF" = "yes" ; then
36969 cat >>confdefs.h <<\_ACEOF
36970 #define wxUSE_GIF 1
36971 _ACEOF
36972
36973 fi
36974
36975 if test "$wxUSE_PCX" = "yes" ; then
36976 cat >>confdefs.h <<\_ACEOF
36977 #define wxUSE_PCX 1
36978 _ACEOF
36979
36980 fi
36981
36982 if test "$wxUSE_IFF" = "yes" ; then
36983 cat >>confdefs.h <<\_ACEOF
36984 #define wxUSE_IFF 1
36985 _ACEOF
36986
36987 fi
36988
36989 if test "$wxUSE_PNM" = "yes" ; then
36990 cat >>confdefs.h <<\_ACEOF
36991 #define wxUSE_PNM 1
36992 _ACEOF
36993
36994 fi
36995
36996 if test "$wxUSE_XPM" = "yes" ; then
36997 cat >>confdefs.h <<\_ACEOF
36998 #define wxUSE_XPM 1
36999 _ACEOF
37000
37001 fi
37002
37003 if test "$wxUSE_ICO_CUR" = "yes" ; then
37004 cat >>confdefs.h <<\_ACEOF
37005 #define wxUSE_ICO_CUR 1
37006 _ACEOF
37007
37008 fi
37009 fi
37010
37011
37012 if test "$wxUSE_CHOICEDLG" = "yes"; then
37013 cat >>confdefs.h <<\_ACEOF
37014 #define wxUSE_CHOICEDLG 1
37015 _ACEOF
37016
37017 fi
37018
37019 if test "$wxUSE_COLOURDLG" = "yes"; then
37020 cat >>confdefs.h <<\_ACEOF
37021 #define wxUSE_COLOURDLG 1
37022 _ACEOF
37023
37024 fi
37025
37026 if test "$wxUSE_FILEDLG" = "yes"; then
37027 cat >>confdefs.h <<\_ACEOF
37028 #define wxUSE_FILEDLG 1
37029 _ACEOF
37030
37031 fi
37032
37033 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37034 cat >>confdefs.h <<\_ACEOF
37035 #define wxUSE_FINDREPLDLG 1
37036 _ACEOF
37037
37038 fi
37039
37040 if test "$wxUSE_FONTDLG" = "yes"; then
37041 cat >>confdefs.h <<\_ACEOF
37042 #define wxUSE_FONTDLG 1
37043 _ACEOF
37044
37045 fi
37046
37047 if test "$wxUSE_DIRDLG" = "yes"; then
37048 if test "$wxUSE_TREECTRL" != "yes"; then
37049 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37050 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37051 else
37052 cat >>confdefs.h <<\_ACEOF
37053 #define wxUSE_DIRDLG 1
37054 _ACEOF
37055
37056 fi
37057 fi
37058
37059 if test "$wxUSE_MSGDLG" = "yes"; then
37060 cat >>confdefs.h <<\_ACEOF
37061 #define wxUSE_MSGDLG 1
37062 _ACEOF
37063
37064 fi
37065
37066 if test "$wxUSE_NUMBERDLG" = "yes"; then
37067 cat >>confdefs.h <<\_ACEOF
37068 #define wxUSE_NUMBERDLG 1
37069 _ACEOF
37070
37071 fi
37072
37073 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37074 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37075 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37076 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37077 else
37078 cat >>confdefs.h <<\_ACEOF
37079 #define wxUSE_PROGRESSDLG 1
37080 _ACEOF
37081
37082 fi
37083 fi
37084
37085 if test "$wxUSE_SPLASH" = "yes"; then
37086 cat >>confdefs.h <<\_ACEOF
37087 #define wxUSE_SPLASH 1
37088 _ACEOF
37089
37090 fi
37091
37092 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37093 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37094 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37095 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37096 else
37097 cat >>confdefs.h <<\_ACEOF
37098 #define wxUSE_STARTUP_TIPS 1
37099 _ACEOF
37100
37101 fi
37102 fi
37103
37104 if test "$wxUSE_TEXTDLG" = "yes"; then
37105 cat >>confdefs.h <<\_ACEOF
37106 #define wxUSE_TEXTDLG 1
37107 _ACEOF
37108
37109 fi
37110
37111 if test "$wxUSE_WIZARDDLG" = "yes"; then
37112 cat >>confdefs.h <<\_ACEOF
37113 #define wxUSE_WIZARDDLG 1
37114 _ACEOF
37115
37116 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
37117 fi
37118
37119
37120 if test "$cross_compiling" = "yes"; then
37121 OSINFO="\"$host\""
37122 else
37123 OSINFO=`uname -s -r -m`
37124 OSINFO="\"$OSINFO\""
37125 fi
37126
37127 cat >>confdefs.h <<_ACEOF
37128 #define WXWIN_OS_DESCRIPTION $OSINFO
37129 _ACEOF
37130
37131
37132
37133 if test "x$prefix" != "xNONE"; then
37134 wxPREFIX=$prefix
37135 else
37136 wxPREFIX=$ac_default_prefix
37137 fi
37138
37139 cat >>confdefs.h <<_ACEOF
37140 #define wxINSTALL_PREFIX "$wxPREFIX"
37141 _ACEOF
37142
37143
37144 top_builddir_wxconfig=`pwd`
37145
37146
37147
37148 CORE_BASE_LIBS="net base"
37149 CORE_GUI_LIBS="adv core"
37150
37151 if test "$wxUSE_XML" = "yes" ; then
37152 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
37153 fi
37154 if test "$wxUSE_ODBC" != "no" ; then
37155 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
37156 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
37157 fi
37158 if test "$wxUSE_HTML" = "yes" ; then
37159 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
37160 fi
37161
37162 if test "$wxUSE_GUI" != "yes"; then
37163 CORE_GUI_LIBS=""
37164 fi
37165
37166
37167
37168
37169
37170
37171
37172
37173 if test "$wxUSE_MAC" = 1 ; then
37174 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
37175 fi
37176 if test "$wxUSE_COCOA" = 1 ; then
37177 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
37178 fi
37179
37180
37181 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37182
37183 have_cos=0
37184 have_floor=0
37185
37186 for ac_func in cos
37187 do
37188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37189 echo "$as_me:$LINENO: checking for $ac_func" >&5
37190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37191 if eval "test \"\${$as_ac_var+set}\" = set"; then
37192 echo $ECHO_N "(cached) $ECHO_C" >&6
37193 else
37194 cat >conftest.$ac_ext <<_ACEOF
37195 /* confdefs.h. */
37196 _ACEOF
37197 cat confdefs.h >>conftest.$ac_ext
37198 cat >>conftest.$ac_ext <<_ACEOF
37199 /* end confdefs.h. */
37200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37202 #define $ac_func innocuous_$ac_func
37203
37204 /* System header to define __stub macros and hopefully few prototypes,
37205 which can conflict with char $ac_func (); below.
37206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37207 <limits.h> exists even on freestanding compilers. */
37208
37209 #ifdef __STDC__
37210 # include <limits.h>
37211 #else
37212 # include <assert.h>
37213 #endif
37214
37215 #undef $ac_func
37216
37217 /* Override any gcc2 internal prototype to avoid an error. */
37218 #ifdef __cplusplus
37219 extern "C"
37220 {
37221 #endif
37222 /* We use char because int might match the return type of a gcc2
37223 builtin and then its argument prototype would still apply. */
37224 char $ac_func ();
37225 /* The GNU C library defines this for functions which it implements
37226 to always fail with ENOSYS. Some functions are actually named
37227 something starting with __ and the normal name is an alias. */
37228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37229 choke me
37230 #else
37231 char (*f) () = $ac_func;
37232 #endif
37233 #ifdef __cplusplus
37234 }
37235 #endif
37236
37237 int
37238 main ()
37239 {
37240 return f != $ac_func;
37241 ;
37242 return 0;
37243 }
37244 _ACEOF
37245 rm -f conftest.$ac_objext conftest$ac_exeext
37246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37247 (eval $ac_link) 2>conftest.er1
37248 ac_status=$?
37249 grep -v '^ *+' conftest.er1 >conftest.err
37250 rm -f conftest.er1
37251 cat conftest.err >&5
37252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37253 (exit $ac_status); } &&
37254 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37256 (eval $ac_try) 2>&5
37257 ac_status=$?
37258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37259 (exit $ac_status); }; } &&
37260 { ac_try='test -s conftest$ac_exeext'
37261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37262 (eval $ac_try) 2>&5
37263 ac_status=$?
37264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37265 (exit $ac_status); }; }; then
37266 eval "$as_ac_var=yes"
37267 else
37268 echo "$as_me: failed program was:" >&5
37269 sed 's/^/| /' conftest.$ac_ext >&5
37270
37271 eval "$as_ac_var=no"
37272 fi
37273 rm -f conftest.err conftest.$ac_objext \
37274 conftest$ac_exeext conftest.$ac_ext
37275 fi
37276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37278 if test `eval echo '${'$as_ac_var'}'` = yes; then
37279 cat >>confdefs.h <<_ACEOF
37280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37281 _ACEOF
37282 have_cos=1
37283 fi
37284 done
37285
37286
37287 for ac_func in floor
37288 do
37289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37290 echo "$as_me:$LINENO: checking for $ac_func" >&5
37291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37292 if eval "test \"\${$as_ac_var+set}\" = set"; then
37293 echo $ECHO_N "(cached) $ECHO_C" >&6
37294 else
37295 cat >conftest.$ac_ext <<_ACEOF
37296 /* confdefs.h. */
37297 _ACEOF
37298 cat confdefs.h >>conftest.$ac_ext
37299 cat >>conftest.$ac_ext <<_ACEOF
37300 /* end confdefs.h. */
37301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37303 #define $ac_func innocuous_$ac_func
37304
37305 /* System header to define __stub macros and hopefully few prototypes,
37306 which can conflict with char $ac_func (); below.
37307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37308 <limits.h> exists even on freestanding compilers. */
37309
37310 #ifdef __STDC__
37311 # include <limits.h>
37312 #else
37313 # include <assert.h>
37314 #endif
37315
37316 #undef $ac_func
37317
37318 /* Override any gcc2 internal prototype to avoid an error. */
37319 #ifdef __cplusplus
37320 extern "C"
37321 {
37322 #endif
37323 /* We use char because int might match the return type of a gcc2
37324 builtin and then its argument prototype would still apply. */
37325 char $ac_func ();
37326 /* The GNU C library defines this for functions which it implements
37327 to always fail with ENOSYS. Some functions are actually named
37328 something starting with __ and the normal name is an alias. */
37329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37330 choke me
37331 #else
37332 char (*f) () = $ac_func;
37333 #endif
37334 #ifdef __cplusplus
37335 }
37336 #endif
37337
37338 int
37339 main ()
37340 {
37341 return f != $ac_func;
37342 ;
37343 return 0;
37344 }
37345 _ACEOF
37346 rm -f conftest.$ac_objext conftest$ac_exeext
37347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37348 (eval $ac_link) 2>conftest.er1
37349 ac_status=$?
37350 grep -v '^ *+' conftest.er1 >conftest.err
37351 rm -f conftest.er1
37352 cat conftest.err >&5
37353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37354 (exit $ac_status); } &&
37355 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37357 (eval $ac_try) 2>&5
37358 ac_status=$?
37359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37360 (exit $ac_status); }; } &&
37361 { ac_try='test -s conftest$ac_exeext'
37362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37363 (eval $ac_try) 2>&5
37364 ac_status=$?
37365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37366 (exit $ac_status); }; }; then
37367 eval "$as_ac_var=yes"
37368 else
37369 echo "$as_me: failed program was:" >&5
37370 sed 's/^/| /' conftest.$ac_ext >&5
37371
37372 eval "$as_ac_var=no"
37373 fi
37374 rm -f conftest.err conftest.$ac_objext \
37375 conftest$ac_exeext conftest.$ac_ext
37376 fi
37377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37379 if test `eval echo '${'$as_ac_var'}'` = yes; then
37380 cat >>confdefs.h <<_ACEOF
37381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37382 _ACEOF
37383 have_floor=1
37384 fi
37385 done
37386
37387 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37388 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37389 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37390 echo "$as_me:$LINENO: result: yes" >&5
37391 echo "${ECHO_T}yes" >&6
37392 else
37393 echo "$as_me:$LINENO: result: no" >&5
37394 echo "${ECHO_T}no" >&6
37395 LIBS="$LIBS -lm"
37396 # use different functions to avoid configure caching
37397 have_sin=0
37398 have_ceil=0
37399
37400 for ac_func in sin
37401 do
37402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37403 echo "$as_me:$LINENO: checking for $ac_func" >&5
37404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37405 if eval "test \"\${$as_ac_var+set}\" = set"; then
37406 echo $ECHO_N "(cached) $ECHO_C" >&6
37407 else
37408 cat >conftest.$ac_ext <<_ACEOF
37409 /* confdefs.h. */
37410 _ACEOF
37411 cat confdefs.h >>conftest.$ac_ext
37412 cat >>conftest.$ac_ext <<_ACEOF
37413 /* end confdefs.h. */
37414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37416 #define $ac_func innocuous_$ac_func
37417
37418 /* System header to define __stub macros and hopefully few prototypes,
37419 which can conflict with char $ac_func (); below.
37420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37421 <limits.h> exists even on freestanding compilers. */
37422
37423 #ifdef __STDC__
37424 # include <limits.h>
37425 #else
37426 # include <assert.h>
37427 #endif
37428
37429 #undef $ac_func
37430
37431 /* Override any gcc2 internal prototype to avoid an error. */
37432 #ifdef __cplusplus
37433 extern "C"
37434 {
37435 #endif
37436 /* We use char because int might match the return type of a gcc2
37437 builtin and then its argument prototype would still apply. */
37438 char $ac_func ();
37439 /* The GNU C library defines this for functions which it implements
37440 to always fail with ENOSYS. Some functions are actually named
37441 something starting with __ and the normal name is an alias. */
37442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37443 choke me
37444 #else
37445 char (*f) () = $ac_func;
37446 #endif
37447 #ifdef __cplusplus
37448 }
37449 #endif
37450
37451 int
37452 main ()
37453 {
37454 return f != $ac_func;
37455 ;
37456 return 0;
37457 }
37458 _ACEOF
37459 rm -f conftest.$ac_objext conftest$ac_exeext
37460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37461 (eval $ac_link) 2>conftest.er1
37462 ac_status=$?
37463 grep -v '^ *+' conftest.er1 >conftest.err
37464 rm -f conftest.er1
37465 cat conftest.err >&5
37466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37467 (exit $ac_status); } &&
37468 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37470 (eval $ac_try) 2>&5
37471 ac_status=$?
37472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37473 (exit $ac_status); }; } &&
37474 { ac_try='test -s conftest$ac_exeext'
37475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37476 (eval $ac_try) 2>&5
37477 ac_status=$?
37478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37479 (exit $ac_status); }; }; then
37480 eval "$as_ac_var=yes"
37481 else
37482 echo "$as_me: failed program was:" >&5
37483 sed 's/^/| /' conftest.$ac_ext >&5
37484
37485 eval "$as_ac_var=no"
37486 fi
37487 rm -f conftest.err conftest.$ac_objext \
37488 conftest$ac_exeext conftest.$ac_ext
37489 fi
37490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37492 if test `eval echo '${'$as_ac_var'}'` = yes; then
37493 cat >>confdefs.h <<_ACEOF
37494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37495 _ACEOF
37496 have_sin=1
37497 fi
37498 done
37499
37500
37501 for ac_func in ceil
37502 do
37503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37504 echo "$as_me:$LINENO: checking for $ac_func" >&5
37505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37506 if eval "test \"\${$as_ac_var+set}\" = set"; then
37507 echo $ECHO_N "(cached) $ECHO_C" >&6
37508 else
37509 cat >conftest.$ac_ext <<_ACEOF
37510 /* confdefs.h. */
37511 _ACEOF
37512 cat confdefs.h >>conftest.$ac_ext
37513 cat >>conftest.$ac_ext <<_ACEOF
37514 /* end confdefs.h. */
37515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37517 #define $ac_func innocuous_$ac_func
37518
37519 /* System header to define __stub macros and hopefully few prototypes,
37520 which can conflict with char $ac_func (); below.
37521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37522 <limits.h> exists even on freestanding compilers. */
37523
37524 #ifdef __STDC__
37525 # include <limits.h>
37526 #else
37527 # include <assert.h>
37528 #endif
37529
37530 #undef $ac_func
37531
37532 /* Override any gcc2 internal prototype to avoid an error. */
37533 #ifdef __cplusplus
37534 extern "C"
37535 {
37536 #endif
37537 /* We use char because int might match the return type of a gcc2
37538 builtin and then its argument prototype would still apply. */
37539 char $ac_func ();
37540 /* The GNU C library defines this for functions which it implements
37541 to always fail with ENOSYS. Some functions are actually named
37542 something starting with __ and the normal name is an alias. */
37543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37544 choke me
37545 #else
37546 char (*f) () = $ac_func;
37547 #endif
37548 #ifdef __cplusplus
37549 }
37550 #endif
37551
37552 int
37553 main ()
37554 {
37555 return f != $ac_func;
37556 ;
37557 return 0;
37558 }
37559 _ACEOF
37560 rm -f conftest.$ac_objext conftest$ac_exeext
37561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37562 (eval $ac_link) 2>conftest.er1
37563 ac_status=$?
37564 grep -v '^ *+' conftest.er1 >conftest.err
37565 rm -f conftest.er1
37566 cat conftest.err >&5
37567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37568 (exit $ac_status); } &&
37569 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37571 (eval $ac_try) 2>&5
37572 ac_status=$?
37573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37574 (exit $ac_status); }; } &&
37575 { ac_try='test -s conftest$ac_exeext'
37576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37577 (eval $ac_try) 2>&5
37578 ac_status=$?
37579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37580 (exit $ac_status); }; }; then
37581 eval "$as_ac_var=yes"
37582 else
37583 echo "$as_me: failed program was:" >&5
37584 sed 's/^/| /' conftest.$ac_ext >&5
37585
37586 eval "$as_ac_var=no"
37587 fi
37588 rm -f conftest.err conftest.$ac_objext \
37589 conftest$ac_exeext conftest.$ac_ext
37590 fi
37591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37593 if test `eval echo '${'$as_ac_var'}'` = yes; then
37594 cat >>confdefs.h <<_ACEOF
37595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37596 _ACEOF
37597 have_ceil=1
37598 fi
37599 done
37600
37601 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37602 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37603 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37604 echo "$as_me:$LINENO: result: yes" >&5
37605 echo "${ECHO_T}yes" >&6
37606 else
37607 echo "$as_me:$LINENO: result: no" >&5
37608 echo "${ECHO_T}no" >&6
37609 # not sure we should warn the user, crash, etc.
37610 fi
37611 fi
37612
37613 if test "$wxUSE_GUI" = "yes"; then
37614
37615
37616 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
37617 drawing dynamic erase event exec font image \
37618 minimal propsize rotate shaped widgets render"
37619
37620 if test "$wxUSE_MONOLITHIC" != "yes"; then
37621 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37622 fi
37623 else
37624 SAMPLES_SUBDIRS="console"
37625 fi
37626
37627
37628 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
37629 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37630
37631 if test "$GXX" = yes ; then
37632 CXXWARNINGS="-Wall"
37633 fi
37634
37635 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37636
37637 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
37638 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
37639 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
37640
37641
37642 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
37643 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37644 EXTRALIBS_XML="$EXPAT_LINK"
37645 EXTRALIBS_HTML="$MSPACK_LINK"
37646 EXTRALIBS_ODBC="$ODBC_LINK"
37647 if test "$wxUSE_GUI" = "yes"; then
37648 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
37649 fi
37650 if test "$wxUSE_OPENGL" = "yes"; then
37651 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37652 fi
37653
37654 LDFLAGS="$LDFLAGS $PROFILE"
37655
37656 if test "$wxUSE_GTK" = 1; then
37657 WXCONFIG_INCLUDE=
37658 else
37659 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
37660 fi
37661
37662 WXCONFIG_EXTRALIBS="$LIBS"
37663
37664 if test "$wxUSE_REGEX" = "builtin" ; then
37665 wxconfig_3rdparty="$wxconfig_3rdparty regex${lib_unicode_suffix}"
37666 fi
37667 if test "$wxUSE_EXPAT" = "builtin" ; then
37668 wxconfig_3rdparty="$wxconfig_3rdparty expat"
37669 fi
37670 if test "$wxUSE_ODBC" = "builtin" ; then
37671 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
37672 fi
37673 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37674 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
37675 fi
37676 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37677 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
37678 fi
37679 if test "$wxUSE_LIBPNG" = "builtin" ; then
37680 wxconfig_3rdparty="$wxconfig_3rdparty png"
37681 fi
37682 if test "$wxUSE_ZLIB" = "builtin" ; then
37683 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
37684 fi
37685 if test "$wxUSE_ODBC" = "builtin" ; then
37686 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
37687 fi
37688
37689 for i in $wxconfig_3rdparty ; do
37690 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
37691 done
37692
37693
37694 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37695 WXUNIV=1
37696 else
37697 WXUNIV=0
37698 fi
37699
37700
37701
37702
37703
37704
37705
37706
37707
37708 if test $wxUSE_MONOLITHIC = "yes" ; then
37709 MONOLITHIC=1
37710 else
37711 MONOLITHIC=0
37712 fi
37713
37714 if test $wxUSE_PLUGINS = "yes" ; then
37715 USE_PLUGINS=1
37716 else
37717 USE_PLUGINS=0
37718 fi
37719
37720 if test $wxUSE_ODBC != "no" ; then
37721 USE_ODBC=1
37722 else
37723 USE_ODBC=0
37724 fi
37725
37726 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37727 OFFICIAL_BUILD=1
37728 else
37729 OFFICIAL_BUILD=0
37730 fi
37731
37732
37733
37734
37735
37736
37737
37738
37739
37740
37741
37742
37743
37744
37745
37746
37747
37748
37749
37750
37751
37752 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
37753
37754
37755
37756
37757
37758
37759
37760
37761
37762 if test "x$BAKEFILE_HOST" = "x"; then
37763 BAKEFILE_HOST="${host}"
37764 fi
37765
37766 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37767
37768 if test -n "$ac_tool_prefix"; then
37769 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37770 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
37771 echo "$as_me:$LINENO: checking for $ac_word" >&5
37772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37773 if test "${ac_cv_prog_RANLIB+set}" = set; then
37774 echo $ECHO_N "(cached) $ECHO_C" >&6
37775 else
37776 if test -n "$RANLIB"; then
37777 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
37778 else
37779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37780 for as_dir in $PATH
37781 do
37782 IFS=$as_save_IFS
37783 test -z "$as_dir" && as_dir=.
37784 for ac_exec_ext in '' $ac_executable_extensions; do
37785 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37786 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
37787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37788 break 2
37789 fi
37790 done
37791 done
37792
37793 fi
37794 fi
37795 RANLIB=$ac_cv_prog_RANLIB
37796 if test -n "$RANLIB"; then
37797 echo "$as_me:$LINENO: result: $RANLIB" >&5
37798 echo "${ECHO_T}$RANLIB" >&6
37799 else
37800 echo "$as_me:$LINENO: result: no" >&5
37801 echo "${ECHO_T}no" >&6
37802 fi
37803
37804 fi
37805 if test -z "$ac_cv_prog_RANLIB"; then
37806 ac_ct_RANLIB=$RANLIB
37807 # Extract the first word of "ranlib", so it can be a program name with args.
37808 set dummy ranlib; ac_word=$2
37809 echo "$as_me:$LINENO: checking for $ac_word" >&5
37810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37811 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
37812 echo $ECHO_N "(cached) $ECHO_C" >&6
37813 else
37814 if test -n "$ac_ct_RANLIB"; then
37815 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
37816 else
37817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37818 for as_dir in $PATH
37819 do
37820 IFS=$as_save_IFS
37821 test -z "$as_dir" && as_dir=.
37822 for ac_exec_ext in '' $ac_executable_extensions; do
37823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37824 ac_cv_prog_ac_ct_RANLIB="ranlib"
37825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37826 break 2
37827 fi
37828 done
37829 done
37830
37831 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
37832 fi
37833 fi
37834 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
37835 if test -n "$ac_ct_RANLIB"; then
37836 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
37837 echo "${ECHO_T}$ac_ct_RANLIB" >&6
37838 else
37839 echo "$as_me:$LINENO: result: no" >&5
37840 echo "${ECHO_T}no" >&6
37841 fi
37842
37843 RANLIB=$ac_ct_RANLIB
37844 else
37845 RANLIB="$ac_cv_prog_RANLIB"
37846 fi
37847
37848 # Find a good install program. We prefer a C program (faster),
37849 # so one script is as good as another. But avoid the broken or
37850 # incompatible versions:
37851 # SysV /etc/install, /usr/sbin/install
37852 # SunOS /usr/etc/install
37853 # IRIX /sbin/install
37854 # AIX /bin/install
37855 # AmigaOS /C/install, which installs bootblocks on floppy discs
37856 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37857 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37858 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37859 # OS/2's system install, which has a completely different semantic
37860 # ./install, which can be erroneously created by make from ./install.sh.
37861 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
37862 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
37863 if test -z "$INSTALL"; then
37864 if test "${ac_cv_path_install+set}" = set; then
37865 echo $ECHO_N "(cached) $ECHO_C" >&6
37866 else
37867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37868 for as_dir in $PATH
37869 do
37870 IFS=$as_save_IFS
37871 test -z "$as_dir" && as_dir=.
37872 # Account for people who put trailing slashes in PATH elements.
37873 case $as_dir/ in
37874 ./ | .// | /cC/* | \
37875 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
37876 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
37877 /usr/ucb/* ) ;;
37878 *)
37879 # OSF1 and SCO ODT 3.0 have their own names for install.
37880 # Don't use installbsd from OSF since it installs stuff as root
37881 # by default.
37882 for ac_prog in ginstall scoinst install; do
37883 for ac_exec_ext in '' $ac_executable_extensions; do
37884 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
37885 if test $ac_prog = install &&
37886 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37887 # AIX install. It has an incompatible calling convention.
37888 :
37889 elif test $ac_prog = install &&
37890 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37891 # program-specific install script used by HP pwplus--don't use.
37892 :
37893 else
37894 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
37895 break 3
37896 fi
37897 fi
37898 done
37899 done
37900 ;;
37901 esac
37902 done
37903
37904
37905 fi
37906 if test "${ac_cv_path_install+set}" = set; then
37907 INSTALL=$ac_cv_path_install
37908 else
37909 # As a last resort, use the slow shell script. We don't cache a
37910 # path for INSTALL within a source directory, because that will
37911 # break other packages using the cache if that directory is
37912 # removed, or if the path is relative.
37913 INSTALL=$ac_install_sh
37914 fi
37915 fi
37916 echo "$as_me:$LINENO: result: $INSTALL" >&5
37917 echo "${ECHO_T}$INSTALL" >&6
37918
37919 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37920 # It thinks the first close brace ends the variable substitution.
37921 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
37922
37923 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
37924
37925 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
37926
37927 echo "$as_me:$LINENO: checking whether ln -s works" >&5
37928 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
37929 LN_S=$as_ln_s
37930 if test "$LN_S" = "ln -s"; then
37931 echo "$as_me:$LINENO: result: yes" >&5
37932 echo "${ECHO_T}yes" >&6
37933 else
37934 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
37935 echo "${ECHO_T}no, using $LN_S" >&6
37936 fi
37937
37938
37939 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37940 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
37941 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
37942 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
37943 echo $ECHO_N "(cached) $ECHO_C" >&6
37944 else
37945 cat >conftest.make <<\_ACEOF
37946 all:
37947 @echo 'ac_maketemp="$(MAKE)"'
37948 _ACEOF
37949 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
37950 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
37951 if test -n "$ac_maketemp"; then
37952 eval ac_cv_prog_make_${ac_make}_set=yes
37953 else
37954 eval ac_cv_prog_make_${ac_make}_set=no
37955 fi
37956 rm -f conftest.make
37957 fi
37958 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
37959 echo "$as_me:$LINENO: result: yes" >&5
37960 echo "${ECHO_T}yes" >&6
37961 SET_MAKE=
37962 else
37963 echo "$as_me:$LINENO: result: no" >&5
37964 echo "${ECHO_T}no" >&6
37965 SET_MAKE="MAKE=${MAKE-make}"
37966 fi
37967
37968
37969
37970 if test -n "$ac_tool_prefix"; then
37971 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
37972 set dummy ${ac_tool_prefix}ar; ac_word=$2
37973 echo "$as_me:$LINENO: checking for $ac_word" >&5
37974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37975 if test "${ac_cv_prog_AR+set}" = set; then
37976 echo $ECHO_N "(cached) $ECHO_C" >&6
37977 else
37978 if test -n "$AR"; then
37979 ac_cv_prog_AR="$AR" # Let the user override the test.
37980 else
37981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37982 for as_dir in $PATH
37983 do
37984 IFS=$as_save_IFS
37985 test -z "$as_dir" && as_dir=.
37986 for ac_exec_ext in '' $ac_executable_extensions; do
37987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37988 ac_cv_prog_AR="${ac_tool_prefix}ar"
37989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37990 break 2
37991 fi
37992 done
37993 done
37994
37995 fi
37996 fi
37997 AR=$ac_cv_prog_AR
37998 if test -n "$AR"; then
37999 echo "$as_me:$LINENO: result: $AR" >&5
38000 echo "${ECHO_T}$AR" >&6
38001 else
38002 echo "$as_me:$LINENO: result: no" >&5
38003 echo "${ECHO_T}no" >&6
38004 fi
38005
38006 fi
38007 if test -z "$ac_cv_prog_AR"; then
38008 ac_ct_AR=$AR
38009 # Extract the first word of "ar", so it can be a program name with args.
38010 set dummy ar; ac_word=$2
38011 echo "$as_me:$LINENO: checking for $ac_word" >&5
38012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38013 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38014 echo $ECHO_N "(cached) $ECHO_C" >&6
38015 else
38016 if test -n "$ac_ct_AR"; then
38017 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
38018 else
38019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38020 for as_dir in $PATH
38021 do
38022 IFS=$as_save_IFS
38023 test -z "$as_dir" && as_dir=.
38024 for ac_exec_ext in '' $ac_executable_extensions; do
38025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38026 ac_cv_prog_ac_ct_AR="ar"
38027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38028 break 2
38029 fi
38030 done
38031 done
38032
38033 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
38034 fi
38035 fi
38036 ac_ct_AR=$ac_cv_prog_ac_ct_AR
38037 if test -n "$ac_ct_AR"; then
38038 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38039 echo "${ECHO_T}$ac_ct_AR" >&6
38040 else
38041 echo "$as_me:$LINENO: result: no" >&5
38042 echo "${ECHO_T}no" >&6
38043 fi
38044
38045 AR=$ac_ct_AR
38046 else
38047 AR="$ac_cv_prog_AR"
38048 fi
38049
38050 if test -n "$ac_tool_prefix"; then
38051 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38052 set dummy ${ac_tool_prefix}strip; ac_word=$2
38053 echo "$as_me:$LINENO: checking for $ac_word" >&5
38054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38055 if test "${ac_cv_prog_STRIP+set}" = set; then
38056 echo $ECHO_N "(cached) $ECHO_C" >&6
38057 else
38058 if test -n "$STRIP"; then
38059 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
38060 else
38061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38062 for as_dir in $PATH
38063 do
38064 IFS=$as_save_IFS
38065 test -z "$as_dir" && as_dir=.
38066 for ac_exec_ext in '' $ac_executable_extensions; do
38067 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38068 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
38069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38070 break 2
38071 fi
38072 done
38073 done
38074
38075 fi
38076 fi
38077 STRIP=$ac_cv_prog_STRIP
38078 if test -n "$STRIP"; then
38079 echo "$as_me:$LINENO: result: $STRIP" >&5
38080 echo "${ECHO_T}$STRIP" >&6
38081 else
38082 echo "$as_me:$LINENO: result: no" >&5
38083 echo "${ECHO_T}no" >&6
38084 fi
38085
38086 fi
38087 if test -z "$ac_cv_prog_STRIP"; then
38088 ac_ct_STRIP=$STRIP
38089 # Extract the first word of "strip", so it can be a program name with args.
38090 set dummy strip; ac_word=$2
38091 echo "$as_me:$LINENO: checking for $ac_word" >&5
38092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38093 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38094 echo $ECHO_N "(cached) $ECHO_C" >&6
38095 else
38096 if test -n "$ac_ct_STRIP"; then
38097 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
38098 else
38099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38100 for as_dir in $PATH
38101 do
38102 IFS=$as_save_IFS
38103 test -z "$as_dir" && as_dir=.
38104 for ac_exec_ext in '' $ac_executable_extensions; do
38105 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38106 ac_cv_prog_ac_ct_STRIP="strip"
38107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38108 break 2
38109 fi
38110 done
38111 done
38112
38113 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
38114 fi
38115 fi
38116 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
38117 if test -n "$ac_ct_STRIP"; then
38118 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38119 echo "${ECHO_T}$ac_ct_STRIP" >&6
38120 else
38121 echo "$as_me:$LINENO: result: no" >&5
38122 echo "${ECHO_T}no" >&6
38123 fi
38124
38125 STRIP=$ac_ct_STRIP
38126 else
38127 STRIP="$ac_cv_prog_STRIP"
38128 fi
38129
38130 if test -n "$ac_tool_prefix"; then
38131 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38132 set dummy ${ac_tool_prefix}nm; ac_word=$2
38133 echo "$as_me:$LINENO: checking for $ac_word" >&5
38134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38135 if test "${ac_cv_prog_NM+set}" = set; then
38136 echo $ECHO_N "(cached) $ECHO_C" >&6
38137 else
38138 if test -n "$NM"; then
38139 ac_cv_prog_NM="$NM" # Let the user override the test.
38140 else
38141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38142 for as_dir in $PATH
38143 do
38144 IFS=$as_save_IFS
38145 test -z "$as_dir" && as_dir=.
38146 for ac_exec_ext in '' $ac_executable_extensions; do
38147 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38148 ac_cv_prog_NM="${ac_tool_prefix}nm"
38149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38150 break 2
38151 fi
38152 done
38153 done
38154
38155 fi
38156 fi
38157 NM=$ac_cv_prog_NM
38158 if test -n "$NM"; then
38159 echo "$as_me:$LINENO: result: $NM" >&5
38160 echo "${ECHO_T}$NM" >&6
38161 else
38162 echo "$as_me:$LINENO: result: no" >&5
38163 echo "${ECHO_T}no" >&6
38164 fi
38165
38166 fi
38167 if test -z "$ac_cv_prog_NM"; then
38168 ac_ct_NM=$NM
38169 # Extract the first word of "nm", so it can be a program name with args.
38170 set dummy nm; ac_word=$2
38171 echo "$as_me:$LINENO: checking for $ac_word" >&5
38172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38173 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38174 echo $ECHO_N "(cached) $ECHO_C" >&6
38175 else
38176 if test -n "$ac_ct_NM"; then
38177 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
38178 else
38179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38180 for as_dir in $PATH
38181 do
38182 IFS=$as_save_IFS
38183 test -z "$as_dir" && as_dir=.
38184 for ac_exec_ext in '' $ac_executable_extensions; do
38185 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38186 ac_cv_prog_ac_ct_NM="nm"
38187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38188 break 2
38189 fi
38190 done
38191 done
38192
38193 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
38194 fi
38195 fi
38196 ac_ct_NM=$ac_cv_prog_ac_ct_NM
38197 if test -n "$ac_ct_NM"; then
38198 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38199 echo "${ECHO_T}$ac_ct_NM" >&6
38200 else
38201 echo "$as_me:$LINENO: result: no" >&5
38202 echo "${ECHO_T}no" >&6
38203 fi
38204
38205 NM=$ac_ct_NM
38206 else
38207 NM="$ac_cv_prog_NM"
38208 fi
38209
38210
38211 case ${BAKEFILE_HOST} in
38212 *-hp-hpux* )
38213 INSTALL_DIR="mkdir"
38214 ;;
38215 *) INSTALL_DIR="$INSTALL -d"
38216 ;;
38217 esac
38218
38219
38220 LDFLAGS_GUI=
38221 case ${BAKEFILE_HOST} in
38222 *-*-cygwin* | *-*-mingw32* )
38223 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
38224 esac
38225
38226
38227 fi
38228
38229 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38230 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38231 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38232 echo $ECHO_N "(cached) $ECHO_C" >&6
38233 else
38234
38235 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
38236 egrep -s GNU > /dev/null); then
38237 bakefile_cv_prog_makeisgnu="yes"
38238 else
38239 bakefile_cv_prog_makeisgnu="no"
38240 fi
38241
38242 fi
38243 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38244 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38245
38246 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38247 IF_GNU_MAKE=""
38248 else
38249 IF_GNU_MAKE="#"
38250 fi
38251
38252
38253
38254 PLATFORM_UNIX=0
38255 PLATFORM_WIN32=0
38256 PLATFORM_MSDOS=0
38257 PLATFORM_MAC=0
38258 PLATFORM_MACOSX=0
38259 PLATFORM_OS2=0
38260
38261 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38262 case "${BAKEFILE_HOST}" in
38263 *-*-cygwin* | *-*-mingw32* )
38264 PLATFORM_WIN32=1
38265 ;;
38266 *-pc-msdosdjgpp )
38267 PLATFORM_MSDOS=1
38268 ;;
38269 *-pc-os2_emx | *-pc-os2-emx )
38270 PLATFORM_OS2=1
38271 ;;
38272 powerpc-*-darwin* )
38273 PLATFORM_MAC=1
38274 PLATFORM_MACOSX=1
38275 ;;
38276 * )
38277 PLATFORM_UNIX=1
38278 ;;
38279 esac
38280 else
38281 case "$BAKEFILE_FORCE_PLATFORM" in
38282 win32 )
38283 PLATFORM_WIN32=1
38284 ;;
38285 msdos )
38286 PLATFORM_MSDOS=1
38287 ;;
38288 os2 )
38289 PLATFORM_OS2=1
38290 ;;
38291 darwin )
38292 PLATFORM_MAC=1
38293 PLATFORM_MACOSX=1
38294 ;;
38295 unix )
38296 PLATFORM_UNIX=1
38297 ;;
38298 * )
38299 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38300 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38301 { (exit 1); exit 1; }; }
38302 ;;
38303 esac
38304 fi
38305
38306
38307
38308
38309
38310
38311
38312
38313
38314 SO_SUFFIX="so"
38315 SO_SUFFIX_MODULE="so"
38316 EXEEXT=""
38317 LIBPREFIX=lib
38318 DLLPREFIX=lib
38319 DLLPREFIX_MODULE=
38320
38321 case "${BAKEFILE_HOST}" in
38322 *-hp-hpux* )
38323 SO_SUFFIX="sl"
38324 SO_SUFFIX_MODULE="sl"
38325 ;;
38326 *-*-aix* )
38327 SO_SUFFIX="a"
38328 SO_SUFFIX_MODULE="a"
38329 ;;
38330 *-*-cygwin* | *-*-mingw32* )
38331 SO_SUFFIX="dll"
38332 SO_SUFFIX_MODULE="dll"
38333 EXEEXT=".exe"
38334 DLLPREFIX=""
38335 ;;
38336 *-pc-msdosdjgpp )
38337 EXEEXT=".exe"
38338 DLLPREFIX=""
38339 ;;
38340 *-pc-os2_emx | *-pc-os2-emx )
38341 SO_SUFFIX="dll"
38342 SO_SUFFIX_MODULE="dll"
38343 EXEEXT=".exe"
38344 DLLPREFIX=""
38345 LIBPREFIX=""
38346 ;;
38347 powerpc-*-darwin* )
38348 SO_SUFFIX="dylib"
38349 SO_SUFFIX_MODULE="bundle"
38350 ;;
38351 esac
38352
38353
38354
38355
38356
38357
38358
38359
38360
38361 SHARED_LD_CC="\$(CC) -shared -o"
38362 SHARED_LD_CXX="\$(CXX) -shared -o"
38363
38364 if test "x$GCC" = "xyes"; then
38365 PIC_FLAG="-fPIC"
38366 fi
38367
38368 case "${BAKEFILE_HOST}" in
38369 *-hp-hpux* )
38370 if test "x$GCC" = "xyes"; then
38371 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
38372 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
38373 else
38374 LDFLAGS="$LDFLAGS -L/usr/lib"
38375
38376 SHARED_LD_CC="${CC} -b -o"
38377 SHARED_LD_CXX="${CXX} -b -o"
38378 PIC_FLAG="+Z"
38379 fi
38380 ;;
38381
38382 *-*-linux* )
38383 if test "x$GCC" != "xyes"; then
38384 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38385 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38386 if test "${bakefile_cv_prog_icc+set}" = set; then
38387 echo $ECHO_N "(cached) $ECHO_C" >&6
38388 else
38389
38390 cat >conftest.$ac_ext <<_ACEOF
38391 /* confdefs.h. */
38392 _ACEOF
38393 cat confdefs.h >>conftest.$ac_ext
38394 cat >>conftest.$ac_ext <<_ACEOF
38395 /* end confdefs.h. */
38396
38397 int
38398 main ()
38399 {
38400
38401 #ifndef __INTEL_COMPILER
38402 #error Not icc
38403 #endif
38404
38405 ;
38406 return 0;
38407 }
38408 _ACEOF
38409 rm -f conftest.$ac_objext
38410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38411 (eval $ac_compile) 2>conftest.er1
38412 ac_status=$?
38413 grep -v '^ *+' conftest.er1 >conftest.err
38414 rm -f conftest.er1
38415 cat conftest.err >&5
38416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38417 (exit $ac_status); } &&
38418 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38420 (eval $ac_try) 2>&5
38421 ac_status=$?
38422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38423 (exit $ac_status); }; } &&
38424 { ac_try='test -s conftest.$ac_objext'
38425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38426 (eval $ac_try) 2>&5
38427 ac_status=$?
38428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38429 (exit $ac_status); }; }; then
38430 bakefile_cv_prog_icc=yes
38431 else
38432 echo "$as_me: failed program was:" >&5
38433 sed 's/^/| /' conftest.$ac_ext >&5
38434
38435 bakefile_cv_prog_icc=no
38436
38437 fi
38438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38439
38440 fi
38441 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38442 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38443 if test "$bakefile_cv_prog_icc" = "yes"; then
38444 PIC_FLAG="-KPIC"
38445 fi
38446 fi
38447 ;;
38448
38449 *-*-solaris2* )
38450 if test "x$GCC" != xyes ; then
38451 SHARED_LD_CC="${CC} -G -o"
38452 SHARED_LD_CXX="${CXX} -G -o"
38453 PIC_FLAG="-KPIC"
38454 fi
38455 ;;
38456
38457 *-*-darwin* )
38458 CFLAGS="$CFLAGS -fno-common"
38459 CXXFLAGS="$CXXFLAGS -fno-common"
38460
38461
38462 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38463 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38464 if test "${wx_cv_gcc31+set}" = set; then
38465 echo $ECHO_N "(cached) $ECHO_C" >&6
38466 else
38467
38468 cat >conftest.$ac_ext <<_ACEOF
38469 /* confdefs.h. */
38470 _ACEOF
38471 cat confdefs.h >>conftest.$ac_ext
38472 cat >>conftest.$ac_ext <<_ACEOF
38473 /* end confdefs.h. */
38474
38475 int
38476 main ()
38477 {
38478
38479 #if (__GNUC__ < 3) || \
38480 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38481 #error old gcc
38482 #endif
38483
38484 ;
38485 return 0;
38486 }
38487 _ACEOF
38488 rm -f conftest.$ac_objext
38489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38490 (eval $ac_compile) 2>conftest.er1
38491 ac_status=$?
38492 grep -v '^ *+' conftest.er1 >conftest.err
38493 rm -f conftest.er1
38494 cat conftest.err >&5
38495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38496 (exit $ac_status); } &&
38497 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38499 (eval $ac_try) 2>&5
38500 ac_status=$?
38501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38502 (exit $ac_status); }; } &&
38503 { ac_try='test -s conftest.$ac_objext'
38504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38505 (eval $ac_try) 2>&5
38506 ac_status=$?
38507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38508 (exit $ac_status); }; }; then
38509
38510 wx_cv_gcc31=yes
38511
38512 else
38513 echo "$as_me: failed program was:" >&5
38514 sed 's/^/| /' conftest.$ac_ext >&5
38515
38516
38517 wx_cv_gcc31=no
38518
38519
38520 fi
38521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38522
38523 fi
38524 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38525 echo "${ECHO_T}$wx_cv_gcc31" >&6
38526 if test "$wx_cv_gcc31" = "no"; then
38527 cat <<EOF >shared-ld-sh
38528 #!/bin/sh
38529 #-----------------------------------------------------------------------------
38530 #-- Name: distrib/mac/shared-ld-sh
38531 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38532 #-- Author: Gilles Depeyrot
38533 #-- Copyright: (c) 2002 Gilles Depeyrot
38534 #-- Licence: any use permitted
38535 #-----------------------------------------------------------------------------
38536
38537 verbose=0
38538 args=""
38539 objects=""
38540 linking_flag="-dynamiclib"
38541
38542 while test \${#} -gt 0; do
38543 case \${1} in
38544
38545 -v)
38546 verbose=1
38547 ;;
38548
38549 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38550 # collect these options and values
38551 args="\${args} \${1} \${2}"
38552 shift
38553 ;;
38554
38555 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38556 # collect these options
38557 args="\${args} \${1}"
38558 ;;
38559
38560 -dynamiclib|-bundle)
38561 linking_flag="\${1}"
38562 ;;
38563
38564 -*)
38565 echo "shared-ld: unhandled option '\${1}'"
38566 exit 1
38567 ;;
38568
38569 *.o | *.a | *.dylib)
38570 # collect object files
38571 objects="\${objects} \${1}"
38572 ;;
38573
38574 *)
38575 echo "shared-ld: unhandled argument '\${1}'"
38576 exit 1
38577 ;;
38578
38579 esac
38580 shift
38581 done
38582
38583 #
38584 # Link one module containing all the others
38585 #
38586 if test \${verbose} = 1; then
38587 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
38588 fi
38589 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
38590 status=\$?
38591 if test \${status} != 0; then
38592 exit \${status}
38593 fi
38594
38595 #
38596 # Link the shared library from the single module created
38597 #
38598 if test \${verbose} = 1; then
38599 echo "cc \${linking_flag} master.\$\$.o \${args}"
38600 fi
38601 c++ \${linking_flag} master.\$\$.o \${args}
38602 status=\$?
38603 if test \${status} != 0; then
38604 exit \${status}
38605 fi
38606
38607 #
38608 # Remove intermediate module
38609 #
38610 rm -f master.\$\$.o
38611
38612 exit 0
38613 EOF
38614 chmod +x shared-ld-sh
38615
38616 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38617 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38618 SHARED_LD_CXX="$SHARED_LD_CC"
38619 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
38620 else
38621 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38622 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
38623 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38624 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
38625 fi
38626
38627 PIC_FLAG="-dynamic -fPIC"
38628 ;;
38629
38630 *-*-aix* )
38631 if test "x$GCC" != "xyes"; then
38632 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38633 set dummy makeC++SharedLib; ac_word=$2
38634 echo "$as_me:$LINENO: checking for $ac_word" >&5
38635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38636 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
38637 echo $ECHO_N "(cached) $ECHO_C" >&6
38638 else
38639 if test -n "$AIX_CXX_LD"; then
38640 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
38641 else
38642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38643 for as_dir in $PATH
38644 do
38645 IFS=$as_save_IFS
38646 test -z "$as_dir" && as_dir=.
38647 for ac_exec_ext in '' $ac_executable_extensions; do
38648 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38649 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
38650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38651 break 2
38652 fi
38653 done
38654 done
38655
38656 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
38657 fi
38658 fi
38659 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
38660 if test -n "$AIX_CXX_LD"; then
38661 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
38662 echo "${ECHO_T}$AIX_CXX_LD" >&6
38663 else
38664 echo "$as_me:$LINENO: result: no" >&5
38665 echo "${ECHO_T}no" >&6
38666 fi
38667
38668 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
38669 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
38670 fi
38671 ;;
38672
38673 *-*-beos* )
38674 SHARED_LD_CC="${LD} -shared -o"
38675 SHARED_LD_CXX="${LD} -shared -o"
38676 ;;
38677
38678 *-*-irix* )
38679 if test "x$GCC" != "xyes"; then
38680 PIC_FLAG="-KPIC"
38681 fi
38682 ;;
38683
38684 *-*-cygwin* | *-*-mingw32* )
38685 PIC_FLAG=""
38686 ;;
38687
38688 *-pc-os2_emx | *-pc-os2-emx )
38689 SHARED_LD_CC="dllar.sh -o"
38690 SHARED_LD_CXX="dllar.sh -o"
38691 PIC_FLAG=""
38692 ;;
38693
38694 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
38695 *-*-sunos4* | \
38696 *-*-osf* | \
38697 *-*-dgux5* | \
38698 *-*-sysv5* )
38699 ;;
38700
38701 *)
38702 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
38703 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
38704 { (exit 1); exit 1; }; }
38705 esac
38706
38707 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
38708 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
38709 fi
38710 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
38711 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
38712 fi
38713
38714
38715
38716
38717
38718
38719
38720
38721 USE_SOVERSION=0
38722 USE_SOVERLINUX=0
38723 USE_SOVERSOLARIS=0
38724 USE_SOSYMLINKS=0
38725 USE_MACVERSION=0
38726 SONAME_FLAG=
38727
38728 case "${BAKEFILE_HOST}" in
38729 *-*-linux* )
38730 SONAME_FLAG="-Wl,-soname,"
38731 USE_SOVERSION=1
38732 USE_SOVERLINUX=1
38733 USE_SOSYMLINKS=1
38734 ;;
38735
38736 *-*-solaris2* )
38737 SONAME_FLAG="-h "
38738 USE_SOVERSION=1
38739 USE_SOVERSOLARIS=1
38740 USE_SOSYMLINKS=1
38741 ;;
38742
38743 *-*-darwin* )
38744 USE_MACVERSION=1
38745 USE_SOVERSION=1
38746 USE_SOSYMLINKS=1
38747 ;;
38748 esac
38749
38750
38751
38752
38753
38754
38755
38756
38757
38758 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
38759 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
38760 DEPS_TRACKING=0
38761
38762 if test "x$GCC" = "xyes"; then
38763 DEPSMODE=gcc
38764 DEPS_TRACKING=1
38765 case "${BAKEFILE_HOST}" in
38766 powerpc-*-darwin* )
38767 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
38768 ;;
38769 * )
38770 DEPSFLAG_GCC="-MMD"
38771 ;;
38772 esac
38773 echo "$as_me:$LINENO: result: gcc" >&5
38774 echo "${ECHO_T}gcc" >&6
38775 else
38776 echo "$as_me:$LINENO: result: none" >&5
38777 echo "${ECHO_T}none" >&6
38778 fi
38779
38780 if test $DEPS_TRACKING = 1 ; then
38781 cat <<EOF >bk-deps
38782 #!/bin/sh
38783
38784 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
38785 # script. It is used to track C/C++ files dependencies in portable way.
38786 #
38787 # Permission is given to use this file in any way.
38788
38789 DEPSMODE=$DEPSMODE
38790 DEPSDIR=.deps
38791 DEPSFLAG_GCC="$DEPSFLAG_GCC"
38792
38793 mkdir -p \$DEPSDIR
38794
38795 if test \$DEPSMODE = gcc ; then
38796 \${*} \${DEPSFLAG_GCC}
38797 status=\${?}
38798 if test \${status} != 0 ; then
38799 exit \${status}
38800 fi
38801 # move created file to the location we want it in:
38802 while test \${#} -gt 0; do
38803 case "\${1}" in
38804 -o )
38805 shift
38806 objfile=\${1}
38807 ;;
38808 -* )
38809 ;;
38810 * )
38811 srcfile=\${1}
38812 ;;
38813 esac
38814 shift
38815 done
38816 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
38817 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
38818 if test -f \$depfile ; then
38819 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
38820 rm -f \$depfile
38821 else
38822 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
38823 if test -f \$depfile ; then
38824 sed -e "/^\$objfile/!s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
38825 rm -f \$depfile
38826 fi
38827 fi
38828 exit 0
38829 else
38830 \${*}
38831 exit \${?}
38832 fi
38833 EOF
38834 chmod +x bk-deps
38835 fi
38836
38837
38838
38839
38840 RESCOMP=
38841 SETFILE=
38842
38843 case ${BAKEFILE_HOST} in
38844 *-*-cygwin* | *-*-mingw32* )
38845 if test "$build" != "$host" ; then
38846 RESCOMP=$host_alias-windres
38847 else
38848 # Extract the first word of "windres", so it can be a program name with args.
38849 set dummy windres; ac_word=$2
38850 echo "$as_me:$LINENO: checking for $ac_word" >&5
38851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38852 if test "${ac_cv_prog_RESCOMP+set}" = set; then
38853 echo $ECHO_N "(cached) $ECHO_C" >&6
38854 else
38855 if test -n "$RESCOMP"; then
38856 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
38857 else
38858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38859 for as_dir in $PATH
38860 do
38861 IFS=$as_save_IFS
38862 test -z "$as_dir" && as_dir=.
38863 for ac_exec_ext in '' $ac_executable_extensions; do
38864 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38865 ac_cv_prog_RESCOMP="windres"
38866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38867 break 2
38868 fi
38869 done
38870 done
38871
38872 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
38873 fi
38874 fi
38875 RESCOMP=$ac_cv_prog_RESCOMP
38876 if test -n "$RESCOMP"; then
38877 echo "$as_me:$LINENO: result: $RESCOMP" >&5
38878 echo "${ECHO_T}$RESCOMP" >&6
38879 else
38880 echo "$as_me:$LINENO: result: no" >&5
38881 echo "${ECHO_T}no" >&6
38882 fi
38883
38884 fi
38885 ;;
38886
38887 *-*-darwin* )
38888 # Extract the first word of "Rez", so it can be a program name with args.
38889 set dummy Rez; ac_word=$2
38890 echo "$as_me:$LINENO: checking for $ac_word" >&5
38891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38892 if test "${ac_cv_prog_RESCOMP+set}" = set; then
38893 echo $ECHO_N "(cached) $ECHO_C" >&6
38894 else
38895 if test -n "$RESCOMP"; then
38896 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
38897 else
38898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38899 for as_dir in $PATH
38900 do
38901 IFS=$as_save_IFS
38902 test -z "$as_dir" && as_dir=.
38903 for ac_exec_ext in '' $ac_executable_extensions; do
38904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38905 ac_cv_prog_RESCOMP="Rez"
38906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38907 break 2
38908 fi
38909 done
38910 done
38911
38912 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
38913 fi
38914 fi
38915 RESCOMP=$ac_cv_prog_RESCOMP
38916 if test -n "$RESCOMP"; then
38917 echo "$as_me:$LINENO: result: $RESCOMP" >&5
38918 echo "${ECHO_T}$RESCOMP" >&6
38919 else
38920 echo "$as_me:$LINENO: result: no" >&5
38921 echo "${ECHO_T}no" >&6
38922 fi
38923
38924 # Extract the first word of "SetFile", so it can be a program name with args.
38925 set dummy SetFile; ac_word=$2
38926 echo "$as_me:$LINENO: checking for $ac_word" >&5
38927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38928 if test "${ac_cv_prog_SETFILE+set}" = set; then
38929 echo $ECHO_N "(cached) $ECHO_C" >&6
38930 else
38931 if test -n "$SETFILE"; then
38932 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
38933 else
38934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38935 for as_dir in $PATH
38936 do
38937 IFS=$as_save_IFS
38938 test -z "$as_dir" && as_dir=.
38939 for ac_exec_ext in '' $ac_executable_extensions; do
38940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38941 ac_cv_prog_SETFILE="SetFile"
38942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38943 break 2
38944 fi
38945 done
38946 done
38947
38948 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
38949 fi
38950 fi
38951 SETFILE=$ac_cv_prog_SETFILE
38952 if test -n "$SETFILE"; then
38953 echo "$as_me:$LINENO: result: $SETFILE" >&5
38954 echo "${ECHO_T}$SETFILE" >&6
38955 else
38956 echo "$as_me:$LINENO: result: no" >&5
38957 echo "${ECHO_T}no" >&6
38958 fi
38959
38960 ;;
38961 esac
38962
38963
38964
38965
38966
38967
38968
38969
38970 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
38971 if test "${enable_precomp_headers+set}" = set; then
38972 enableval="$enable_precomp_headers"
38973 bk_use_pch="$enableval"
38974 fi;
38975
38976 GCC_PCH=0
38977
38978 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
38979 if test "x$GCC" = "xyes"; then
38980 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
38981 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
38982 cat >conftest.$ac_ext <<_ACEOF
38983 /* confdefs.h. */
38984 _ACEOF
38985 cat confdefs.h >>conftest.$ac_ext
38986 cat >>conftest.$ac_ext <<_ACEOF
38987 /* end confdefs.h. */
38988
38989 int
38990 main ()
38991 {
38992
38993 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
38994 #error "no pch support"
38995 #endif
38996 #if (__GNUC__ < 3)
38997 #error "no pch support"
38998 #endif
38999 #if (__GNUC__ == 3) && \
39000 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39001 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39002 #error "no pch support"
39003 #endif
39004
39005 ;
39006 return 0;
39007 }
39008 _ACEOF
39009 rm -f conftest.$ac_objext
39010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39011 (eval $ac_compile) 2>conftest.er1
39012 ac_status=$?
39013 grep -v '^ *+' conftest.er1 >conftest.err
39014 rm -f conftest.er1
39015 cat conftest.err >&5
39016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39017 (exit $ac_status); } &&
39018 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39020 (eval $ac_try) 2>&5
39021 ac_status=$?
39022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39023 (exit $ac_status); }; } &&
39024 { ac_try='test -s conftest.$ac_objext'
39025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39026 (eval $ac_try) 2>&5
39027 ac_status=$?
39028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39029 (exit $ac_status); }; }; then
39030
39031 echo "$as_me:$LINENO: result: yes" >&5
39032 echo "${ECHO_T}yes" >&6
39033 CPPFLAGS="-fpch-deps $CPPFLAGS"
39034 GCC_PCH=1
39035
39036 else
39037 echo "$as_me: failed program was:" >&5
39038 sed 's/^/| /' conftest.$ac_ext >&5
39039
39040
39041 echo "$as_me:$LINENO: result: no" >&5
39042 echo "${ECHO_T}no" >&6
39043
39044 fi
39045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39046 if test $GCC_PCH = 1 ; then
39047 cat <<EOF >bk-make-pch
39048 #!/bin/sh
39049
39050 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39051 # script. It is used to generated precompiled headers.
39052 #
39053 # Permission is given to use this file in any way.
39054
39055 outfile="\${1}"
39056 header="\${2}"
39057 shift
39058 shift
39059
39060 compiler=
39061 headerfile=
39062 while test \${#} -gt 0; do
39063 case "\${1}" in
39064 -I* )
39065 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39066 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39067 headerfile="\${incdir}/\${header}"
39068 fi
39069 ;;
39070 esac
39071 compiler="\${compiler} \${1}"
39072 shift
39073 done
39074
39075 if test "x\${headerfile}" = "x" ; then
39076 echo "error: can't find header \${header} in include paths" >2
39077 else
39078 if test -f \${outfile} ; then
39079 rm -f \${outfile}
39080 else
39081 mkdir -p \`dirname \${outfile}\`
39082 fi
39083 depsfile=".deps/\`basename \${outfile}\`.d"
39084 mkdir -p .deps
39085 # can do this because gcc is >= 3.4:
39086 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39087 exit \${?}
39088 fi
39089 EOF
39090 chmod +x bk-make-pch
39091 fi
39092 fi
39093 fi
39094
39095
39096
39097
39098
39099 COND_BUILD_DEBUG="#"
39100 if test "x$BUILD" = "xdebug" ; then
39101 COND_BUILD_DEBUG=""
39102 fi
39103
39104 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
39105 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39106 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
39107 fi
39108
39109 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
39110 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39111 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
39112 fi
39113
39114 COND_BUILD_DEBUG_UNICODE_0="#"
39115 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39116 COND_BUILD_DEBUG_UNICODE_0=""
39117 fi
39118
39119 COND_BUILD_DEBUG_UNICODE_1="#"
39120 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39121 COND_BUILD_DEBUG_UNICODE_1=""
39122 fi
39123
39124 COND_BUILD_RELEASE="#"
39125 if test "x$BUILD" = "xrelease" ; then
39126 COND_BUILD_RELEASE=""
39127 fi
39128
39129 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
39130 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39131 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
39132 fi
39133
39134 COND_BUILD_RELEASE_UNICODE_0="#"
39135 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39136 COND_BUILD_RELEASE_UNICODE_0=""
39137 fi
39138
39139 COND_BUILD_RELEASE_UNICODE_1="#"
39140 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39141 COND_BUILD_RELEASE_UNICODE_1=""
39142 fi
39143
39144 COND_DEBUG_FLAG_1="#"
39145 if test "x$DEBUG_FLAG" = "x1" ; then
39146 COND_DEBUG_FLAG_1=""
39147 fi
39148
39149 COND_DEBUG_INFO_0="#"
39150 if test "x$DEBUG_INFO" = "x0" ; then
39151 COND_DEBUG_INFO_0=""
39152 fi
39153
39154 COND_DEBUG_INFO_1="#"
39155 if test "x$DEBUG_INFO" = "x1" ; then
39156 COND_DEBUG_INFO_1=""
39157 fi
39158
39159 COND_DEPS_TRACKING_0="#"
39160 if test "x$DEPS_TRACKING" = "x0" ; then
39161 COND_DEPS_TRACKING_0=""
39162 fi
39163
39164 COND_DEPS_TRACKING_1="#"
39165 if test "x$DEPS_TRACKING" = "x1" ; then
39166 COND_DEPS_TRACKING_1=""
39167 fi
39168
39169 COND_GCC_PCH_1="#"
39170 if test "x$GCC_PCH" = "x1" ; then
39171 COND_GCC_PCH_1=""
39172 fi
39173
39174 COND_MONOLITHIC_0="#"
39175 if test "x$MONOLITHIC" = "x0" ; then
39176 COND_MONOLITHIC_0=""
39177 fi
39178
39179 COND_MONOLITHIC_0_SHARED_0="#"
39180 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39181 COND_MONOLITHIC_0_SHARED_0=""
39182 fi
39183
39184 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
39185 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39186 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
39187 fi
39188
39189 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
39190 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39191 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
39192 fi
39193
39194 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
39195 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
39196 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
39197 fi
39198
39199 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
39200 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
39201 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
39202 fi
39203
39204 COND_MONOLITHIC_0_SHARED_1="#"
39205 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39206 COND_MONOLITHIC_0_SHARED_1=""
39207 fi
39208
39209 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
39210 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39211 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
39212 fi
39213
39214 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
39215 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39216 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
39217 fi
39218
39219 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
39220 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
39221 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
39222 fi
39223
39224 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
39225 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
39226 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
39227 fi
39228
39229 COND_MONOLITHIC_0_USE_ODBC_1="#"
39230 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
39231 COND_MONOLITHIC_0_USE_ODBC_1=""
39232 fi
39233
39234 COND_MONOLITHIC_1="#"
39235 if test "x$MONOLITHIC" = "x1" ; then
39236 COND_MONOLITHIC_1=""
39237 fi
39238
39239 COND_MONOLITHIC_1_SHARED_0="#"
39240 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39241 COND_MONOLITHIC_1_SHARED_0=""
39242 fi
39243
39244 COND_MONOLITHIC_1_SHARED_1="#"
39245 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39246 COND_MONOLITHIC_1_SHARED_1=""
39247 fi
39248
39249 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
39250 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39251 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
39252 fi
39253
39254 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
39255 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39256 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
39257 fi
39258
39259 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
39260 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39261 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
39262 fi
39263
39264 COND_PLATFORM_MACOSX_1="#"
39265 if test "x$PLATFORM_MACOSX" = "x1" ; then
39266 COND_PLATFORM_MACOSX_1=""
39267 fi
39268
39269 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
39270 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
39271 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
39272 fi
39273
39274 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
39275 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
39276 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
39277 fi
39278
39279 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
39280 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
39281 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
39282 fi
39283
39284 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
39285 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
39286 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
39287 fi
39288
39289 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
39290 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
39291 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
39292 fi
39293
39294 COND_PLATFORM_MAC_1="#"
39295 if test "x$PLATFORM_MAC" = "x1" ; then
39296 COND_PLATFORM_MAC_1=""
39297 fi
39298
39299 COND_PLATFORM_OS2_1="#"
39300 if test "x$PLATFORM_OS2" = "x1" ; then
39301 COND_PLATFORM_OS2_1=""
39302 fi
39303
39304 COND_PLATFORM_UNIX_0="#"
39305 if test "x$PLATFORM_UNIX" = "x0" ; then
39306 COND_PLATFORM_UNIX_0=""
39307 fi
39308
39309 COND_PLATFORM_UNIX_1="#"
39310 if test "x$PLATFORM_UNIX" = "x1" ; then
39311 COND_PLATFORM_UNIX_1=""
39312 fi
39313
39314 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
39315 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
39316 COND_PLATFORM_UNIX_1_USE_GUI_1=""
39317 fi
39318
39319 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
39320 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
39321 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
39322 fi
39323
39324 COND_PLATFORM_WIN32_0="#"
39325 if test "x$PLATFORM_WIN32" = "x0" ; then
39326 COND_PLATFORM_WIN32_0=""
39327 fi
39328
39329 COND_PLATFORM_WIN32_1="#"
39330 if test "x$PLATFORM_WIN32" = "x1" ; then
39331 COND_PLATFORM_WIN32_1=""
39332 fi
39333
39334 COND_SHARED_0="#"
39335 if test "x$SHARED" = "x0" ; then
39336 COND_SHARED_0=""
39337 fi
39338
39339 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
39340 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39341 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
39342 fi
39343
39344 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
39345 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39346 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
39347 fi
39348
39349 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
39350 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39351 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
39352 fi
39353
39354 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
39355 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39356 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
39357 fi
39358
39359 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
39360 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
39361 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
39362 fi
39363
39364 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
39365 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
39366 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
39367 fi
39368
39369 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
39370 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
39371 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
39372 fi
39373
39374 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
39375 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
39376 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
39377 fi
39378
39379 COND_SHARED_1="#"
39380 if test "x$SHARED" = "x1" ; then
39381 COND_SHARED_1=""
39382 fi
39383
39384 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
39385 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39386 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
39387 fi
39388
39389 COND_TOOLKIT_COCOA="#"
39390 if test "x$TOOLKIT" = "xCOCOA" ; then
39391 COND_TOOLKIT_COCOA=""
39392 fi
39393
39394 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
39395 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39396 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
39397 fi
39398
39399 COND_TOOLKIT_GTK="#"
39400 if test "x$TOOLKIT" = "xGTK" ; then
39401 COND_TOOLKIT_GTK=""
39402 fi
39403
39404 COND_TOOLKIT_GTK_USE_GUI_1="#"
39405 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
39406 COND_TOOLKIT_GTK_USE_GUI_1=""
39407 fi
39408
39409 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
39410 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39411 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
39412 fi
39413
39414 COND_TOOLKIT_MAC="#"
39415 if test "x$TOOLKIT" = "xMAC" ; then
39416 COND_TOOLKIT_MAC=""
39417 fi
39418
39419 COND_TOOLKIT_MAC_USE_GUI_1="#"
39420 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
39421 COND_TOOLKIT_MAC_USE_GUI_1=""
39422 fi
39423
39424 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
39425 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39426 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
39427 fi
39428
39429 COND_TOOLKIT_MGL="#"
39430 if test "x$TOOLKIT" = "xMGL" ; then
39431 COND_TOOLKIT_MGL=""
39432 fi
39433
39434 COND_TOOLKIT_MGL_USE_GUI_1="#"
39435 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
39436 COND_TOOLKIT_MGL_USE_GUI_1=""
39437 fi
39438
39439 COND_TOOLKIT_MOTIF="#"
39440 if test "x$TOOLKIT" = "xMOTIF" ; then
39441 COND_TOOLKIT_MOTIF=""
39442 fi
39443
39444 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
39445 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
39446 COND_TOOLKIT_MOTIF_USE_GUI_1=""
39447 fi
39448
39449 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
39450 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39451 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
39452 fi
39453
39454 COND_TOOLKIT_MSW="#"
39455 if test "x$TOOLKIT" = "xMSW" ; then
39456 COND_TOOLKIT_MSW=""
39457 fi
39458
39459 COND_TOOLKIT_MSW_USE_GUI_1="#"
39460 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
39461 COND_TOOLKIT_MSW_USE_GUI_1=""
39462 fi
39463
39464 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
39465 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39466 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
39467 fi
39468
39469 COND_TOOLKIT_PM="#"
39470 if test "x$TOOLKIT" = "xPM" ; then
39471 COND_TOOLKIT_PM=""
39472 fi
39473
39474 COND_TOOLKIT_PM_USE_GUI_1="#"
39475 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
39476 COND_TOOLKIT_PM_USE_GUI_1=""
39477 fi
39478
39479 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
39480 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39481 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
39482 fi
39483
39484 COND_TOOLKIT_X11="#"
39485 if test "x$TOOLKIT" = "xX11" ; then
39486 COND_TOOLKIT_X11=""
39487 fi
39488
39489 COND_TOOLKIT_X11_USE_GUI_1="#"
39490 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
39491 COND_TOOLKIT_X11_USE_GUI_1=""
39492 fi
39493
39494 COND_UNICODE_1="#"
39495 if test "x$UNICODE" = "x1" ; then
39496 COND_UNICODE_1=""
39497 fi
39498
39499 COND_USE_EXCEPTIONS_0="#"
39500 if test "x$USE_EXCEPTIONS" = "x0" ; then
39501 COND_USE_EXCEPTIONS_0=""
39502 fi
39503
39504 COND_USE_EXCEPTIONS_1="#"
39505 if test "x$USE_EXCEPTIONS" = "x1" ; then
39506 COND_USE_EXCEPTIONS_1=""
39507 fi
39508
39509 COND_USE_GUI_0="#"
39510 if test "x$USE_GUI" = "x0" ; then
39511 COND_USE_GUI_0=""
39512 fi
39513
39514 COND_USE_GUI_1="#"
39515 if test "x$USE_GUI" = "x1" ; then
39516 COND_USE_GUI_1=""
39517 fi
39518
39519 COND_USE_GUI_1_WXUNIV_0="#"
39520 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39521 COND_USE_GUI_1_WXUNIV_0=""
39522 fi
39523
39524 COND_USE_GUI_1_WXUNIV_1="#"
39525 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
39526 COND_USE_GUI_1_WXUNIV_1=""
39527 fi
39528
39529 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
39530 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39531 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
39532 fi
39533
39534 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
39535 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39536 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
39537 fi
39538
39539 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
39540 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39541 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
39542 fi
39543
39544 COND_USE_ODBC_1="#"
39545 if test "x$USE_ODBC" = "x1" ; then
39546 COND_USE_ODBC_1=""
39547 fi
39548
39549 COND_USE_PLUGINS_0="#"
39550 if test "x$USE_PLUGINS" = "x0" ; then
39551 COND_USE_PLUGINS_0=""
39552 fi
39553
39554 COND_USE_SOSYMLINKS_1="#"
39555 if test "x$USE_SOSYMLINKS" = "x1" ; then
39556 COND_USE_SOSYMLINKS_1=""
39557 fi
39558
39559 COND_USE_SOVERLINUX_1="#"
39560 if test "x$USE_SOVERLINUX" = "x1" ; then
39561 COND_USE_SOVERLINUX_1=""
39562 fi
39563
39564 COND_USE_SOVERSION_0="#"
39565 if test "x$USE_SOVERSION" = "x0" ; then
39566 COND_USE_SOVERSION_0=""
39567 fi
39568
39569 COND_USE_SOVERSOLARIS_1="#"
39570 if test "x$USE_SOVERSOLARIS" = "x1" ; then
39571 COND_USE_SOVERSOLARIS_1=""
39572 fi
39573
39574 COND_WITH_PLUGIN_SDL_1="#"
39575 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
39576 COND_WITH_PLUGIN_SDL_1=""
39577 fi
39578
39579 COND_WITH_SDL_1="#"
39580 if test "x$WITH_SDL" = "x1" ; then
39581 COND_WITH_SDL_1=""
39582 fi
39583
39584 COND_WXUNIV_1="#"
39585 if test "x$WXUNIV" = "x1" ; then
39586 COND_WXUNIV_1=""
39587 fi
39588
39589 COND_WXUSE_EXPAT_BUILTIN="#"
39590 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
39591 COND_WXUSE_EXPAT_BUILTIN=""
39592 fi
39593
39594 COND_WXUSE_LIBJPEG_BUILTIN="#"
39595 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39596 COND_WXUSE_LIBJPEG_BUILTIN=""
39597 fi
39598
39599 COND_WXUSE_LIBPNG_BUILTIN="#"
39600 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39601 COND_WXUSE_LIBPNG_BUILTIN=""
39602 fi
39603
39604 COND_WXUSE_LIBTIFF_BUILTIN="#"
39605 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39606 COND_WXUSE_LIBTIFF_BUILTIN=""
39607 fi
39608
39609 COND_WXUSE_ODBC_BUILTIN="#"
39610 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
39611 COND_WXUSE_ODBC_BUILTIN=""
39612 fi
39613
39614 COND_WXUSE_REGEX_BUILTIN="#"
39615 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
39616 COND_WXUSE_REGEX_BUILTIN=""
39617 fi
39618
39619 COND_WXUSE_ZLIB_BUILTIN="#"
39620 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
39621 COND_WXUSE_ZLIB_BUILTIN=""
39622 fi
39623
39624
39625
39626
39627
39628 if test $GCC_PCH = 1 ; then
39629 CODE_GEN_FLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
39630 CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
39631 else
39632 case "${host}" in
39633 powerpc-*-darwin* )
39634 CODE_GEN_FLAGS="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
39635 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
39636 ;;
39637 esac
39638 fi
39639
39640
39641 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
39642
39643
39644
39645
39646
39647
39648
39649
39650
39651
39652
39653
39654
39655
39656
39657
39658
39659
39660
39661
39662
39663
39664
39665
39666
39667
39668
39669
39670
39671
39672
39673
39674
39675
39676
39677
39678
39679
39680
39681
39682
39683
39684
39685
39686
39687
39688
39689
39690
39691
39692
39693
39694
39695
39696
39697
39698
39699
39700
39701
39702
39703
39704
39705
39706
39707
39708
39709
39710
39711
39712
39713
39714
39715
39716
39717
39718
39719
39720
39721
39722
39723
39724
39725
39726
39727
39728
39729
39730
39731
39732
39733
39734
39735
39736
39737
39738
39739
39740
39741
39742 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
39743 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
39744 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
39745 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
39746 echo $ECHO_N "(cached) $ECHO_C" >&6
39747 else
39748 cat >conftest.make <<\_ACEOF
39749 all:
39750 @echo 'ac_maketemp="$(MAKE)"'
39751 _ACEOF
39752 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
39753 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
39754 if test -n "$ac_maketemp"; then
39755 eval ac_cv_prog_make_${ac_make}_set=yes
39756 else
39757 eval ac_cv_prog_make_${ac_make}_set=no
39758 fi
39759 rm -f conftest.make
39760 fi
39761 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
39762 echo "$as_me:$LINENO: result: yes" >&5
39763 echo "${ECHO_T}yes" >&6
39764 SET_MAKE=
39765 else
39766 echo "$as_me:$LINENO: result: no" >&5
39767 echo "${ECHO_T}no" >&6
39768 SET_MAKE="MAKE=${MAKE-make}"
39769 fi
39770
39771
39772 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
39773 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
39774 fi
39775
39776 ac_config_headers="$ac_config_headers setup.h"
39777
39778
39779 ac_config_files="$ac_config_files wx-config version-script Makefile"
39780
39781
39782 ac_config_commands="$ac_config_commands default"
39783
39784
39785
39786 if test "$wxUSE_GUI" = "yes"; then
39787 SUBDIRS="samples demos utils contrib"
39788 else SUBDIRS="samples utils"
39789 fi
39790
39791
39792
39793 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
39794 if test "${with_cppunit_prefix+set}" = set; then
39795 withval="$with_cppunit_prefix"
39796 cppunit_config_prefix="$withval"
39797 else
39798 cppunit_config_prefix=""
39799 fi;
39800
39801 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
39802 if test "${with_cppunit_exec_prefix+set}" = set; then
39803 withval="$with_cppunit_exec_prefix"
39804 cppunit_config_exec_prefix="$withval"
39805 else
39806 cppunit_config_exec_prefix=""
39807 fi;
39808
39809 if test x$cppunit_config_exec_prefix != x ; then
39810 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
39811 if test x${CPPUNIT_CONFIG+set} != xset ; then
39812 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
39813 fi
39814 fi
39815 if test x$cppunit_config_prefix != x ; then
39816 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
39817 if test x${CPPUNIT_CONFIG+set} != xset ; then
39818 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
39819 fi
39820 fi
39821
39822 # Extract the first word of "cppunit-config", so it can be a program name with args.
39823 set dummy cppunit-config; ac_word=$2
39824 echo "$as_me:$LINENO: checking for $ac_word" >&5
39825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39826 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
39827 echo $ECHO_N "(cached) $ECHO_C" >&6
39828 else
39829 case $CPPUNIT_CONFIG in
39830 [\\/]* | ?:[\\/]*)
39831 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
39832 ;;
39833 *)
39834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39835 for as_dir in $PATH
39836 do
39837 IFS=$as_save_IFS
39838 test -z "$as_dir" && as_dir=.
39839 for ac_exec_ext in '' $ac_executable_extensions; do
39840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39841 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
39842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39843 break 2
39844 fi
39845 done
39846 done
39847
39848 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
39849 ;;
39850 esac
39851 fi
39852 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
39853
39854 if test -n "$CPPUNIT_CONFIG"; then
39855 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
39856 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
39857 else
39858 echo "$as_me:$LINENO: result: no" >&5
39859 echo "${ECHO_T}no" >&6
39860 fi
39861
39862 cppunit_version_min=1.8.0
39863
39864 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
39865 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
39866 no_cppunit=""
39867 if test "$CPPUNIT_CONFIG" = "no" ; then
39868 no_cppunit=yes
39869 else
39870 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
39871 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
39872 cppunit_version=`$CPPUNIT_CONFIG --version`
39873
39874 cppunit_major_version=`echo $cppunit_version | \
39875 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
39876 cppunit_minor_version=`echo $cppunit_version | \
39877 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
39878 cppunit_micro_version=`echo $cppunit_version | \
39879 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
39880
39881 cppunit_major_min=`echo $cppunit_version_min | \
39882 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
39883 cppunit_minor_min=`echo $cppunit_version_min | \
39884 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
39885 cppunit_micro_min=`echo $cppunit_version_min | \
39886 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
39887
39888 cppunit_version_proper=`expr \
39889 $cppunit_major_version \> $cppunit_major_min \| \
39890 $cppunit_major_version \= $cppunit_major_min \& \
39891 $cppunit_minor_version \> $cppunit_minor_min \| \
39892 $cppunit_major_version \= $cppunit_major_min \& \
39893 $cppunit_minor_version \= $cppunit_minor_min \& \
39894 $cppunit_micro_version \>= $cppunit_micro_min `
39895
39896 if test "$cppunit_version_proper" = "1" ; then
39897 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
39898 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
39899 else
39900 echo "$as_me:$LINENO: result: no" >&5
39901 echo "${ECHO_T}no" >&6
39902 no_cppunit=yes
39903 fi
39904 fi
39905
39906 if test "x$no_cppunit" = x ; then
39907 SUBDIRS="$SUBDIRS tests"
39908 else
39909 CPPUNIT_CFLAGS=""
39910 CPPUNIT_LIBS=""
39911 :
39912 fi
39913
39914
39915
39916
39917
39918 for subdir in `echo $SUBDIRS`; do
39919 if test -d ${srcdir}/${subdir} ; then
39920 if test "$wxUSE_GUI" = "yes"; then
39921 if test ${subdir} = "samples"; then
39922 makefiles="samples/Makefile.in $makefiles"
39923 for sample in `echo $SAMPLES_SUBDIRS`; do
39924 if test -d $srcdir/samples/$sample; then
39925 makefiles="samples/$sample/Makefile.in $makefiles"
39926 fi
39927 done
39928 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
39929 fi
39930 else if test ${subdir} = "samples"; then
39931 makefiles="samples/Makefile.in samples/console/Makefile.in"
39932 elif test ${subdir} = "utils"; then
39933 makefiles="utils/HelpGen/Makefile.in \
39934 utils/HelpGen/src/Makefile.in \
39935 utils/tex2rtf/Makefile.in \
39936 utils/tex2rtf/src/Makefile.in"
39937 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
39938 fi
39939 fi
39940
39941 for mkin in $makefiles ; do
39942 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
39943 ac_config_files="$ac_config_files $mk"
39944
39945 done
39946 fi
39947 done
39948
39949
39950 cat >confcache <<\_ACEOF
39951 # This file is a shell script that caches the results of configure
39952 # tests run on this system so they can be shared between configure
39953 # scripts and configure runs, see configure's option --config-cache.
39954 # It is not useful on other systems. If it contains results you don't
39955 # want to keep, you may remove or edit it.
39956 #
39957 # config.status only pays attention to the cache file if you give it
39958 # the --recheck option to rerun configure.
39959 #
39960 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39961 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39962 # following values.
39963
39964 _ACEOF
39965
39966 # The following way of writing the cache mishandles newlines in values,
39967 # but we know of no workaround that is simple, portable, and efficient.
39968 # So, don't put newlines in cache variables' values.
39969 # Ultrix sh set writes to stderr and can't be redirected directly,
39970 # and sets the high bit in the cache file unless we assign to the vars.
39971 {
39972 (set) 2>&1 |
39973 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39974 *ac_space=\ *)
39975 # `set' does not quote correctly, so add quotes (double-quote
39976 # substitution turns \\\\ into \\, and sed turns \\ into \).
39977 sed -n \
39978 "s/'/'\\\\''/g;
39979 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39980 ;;
39981 *)
39982 # `set' quotes correctly as required by POSIX, so do not add quotes.
39983 sed -n \
39984 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39985 ;;
39986 esac;
39987 } |
39988 sed '
39989 t clear
39990 : clear
39991 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39992 t end
39993 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39994 : end' >>confcache
39995 if diff $cache_file confcache >/dev/null 2>&1; then :; else
39996 if test -w $cache_file; then
39997 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39998 cat confcache >$cache_file
39999 else
40000 echo "not updating unwritable cache $cache_file"
40001 fi
40002 fi
40003 rm -f confcache
40004
40005 test "x$prefix" = xNONE && prefix=$ac_default_prefix
40006 # Let make expand exec_prefix.
40007 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
40008
40009 # VPATH may cause trouble with some makes, so we remove $(srcdir),
40010 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
40011 # trailing colons and then remove the whole line if VPATH becomes empty
40012 # (actually we leave an empty line to preserve line numbers).
40013 if test "x$srcdir" = x.; then
40014 ac_vpsub='/^[ ]*VPATH[ ]*=/{
40015 s/:*\$(srcdir):*/:/;
40016 s/:*\${srcdir}:*/:/;
40017 s/:*@srcdir@:*/:/;
40018 s/^\([^=]*=[ ]*\):*/\1/;
40019 s/:*$//;
40020 s/^[^=]*=[ ]*$//;
40021 }'
40022 fi
40023
40024 DEFS=-DHAVE_CONFIG_H
40025
40026 ac_libobjs=
40027 ac_ltlibobjs=
40028 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
40029 # 1. Remove the extension, and $U if already installed.
40030 ac_i=`echo "$ac_i" |
40031 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
40032 # 2. Add them.
40033 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
40034 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
40035 done
40036 LIBOBJS=$ac_libobjs
40037
40038 LTLIBOBJS=$ac_ltlibobjs
40039
40040
40041
40042 : ${CONFIG_STATUS=./config.status}
40043 ac_clean_files_save=$ac_clean_files
40044 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
40045 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
40046 echo "$as_me: creating $CONFIG_STATUS" >&6;}
40047 cat >$CONFIG_STATUS <<_ACEOF
40048 #! $SHELL
40049 # Generated by $as_me.
40050 # Run this file to recreate the current configuration.
40051 # Compiler output produced by configure, useful for debugging
40052 # configure, is in config.log if it exists.
40053
40054 debug=false
40055 ac_cs_recheck=false
40056 ac_cs_silent=false
40057 SHELL=\${CONFIG_SHELL-$SHELL}
40058 _ACEOF
40059
40060 cat >>$CONFIG_STATUS <<\_ACEOF
40061 ## --------------------- ##
40062 ## M4sh Initialization. ##
40063 ## --------------------- ##
40064
40065 # Be Bourne compatible
40066 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
40067 emulate sh
40068 NULLCMD=:
40069 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
40070 # is contrary to our usage. Disable this feature.
40071 alias -g '${1+"$@"}'='"$@"'
40072 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
40073 set -o posix
40074 fi
40075 DUALCASE=1; export DUALCASE # for MKS sh
40076
40077 # Support unset when possible.
40078 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
40079 as_unset=unset
40080 else
40081 as_unset=false
40082 fi
40083
40084
40085 # Work around bugs in pre-3.0 UWIN ksh.
40086 $as_unset ENV MAIL MAILPATH
40087 PS1='$ '
40088 PS2='> '
40089 PS4='+ '
40090
40091 # NLS nuisances.
40092 for as_var in \
40093 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
40094 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
40095 LC_TELEPHONE LC_TIME
40096 do
40097 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
40098 eval $as_var=C; export $as_var
40099 else
40100 $as_unset $as_var
40101 fi
40102 done
40103
40104 # Required to use basename.
40105 if expr a : '\(a\)' >/dev/null 2>&1; then
40106 as_expr=expr
40107 else
40108 as_expr=false
40109 fi
40110
40111 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
40112 as_basename=basename
40113 else
40114 as_basename=false
40115 fi
40116
40117
40118 # Name of the executable.
40119 as_me=`$as_basename "$0" ||
40120 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
40121 X"$0" : 'X\(//\)$' \| \
40122 X"$0" : 'X\(/\)$' \| \
40123 . : '\(.\)' 2>/dev/null ||
40124 echo X/"$0" |
40125 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
40126 /^X\/\(\/\/\)$/{ s//\1/; q; }
40127 /^X\/\(\/\).*/{ s//\1/; q; }
40128 s/.*/./; q'`
40129
40130
40131 # PATH needs CR, and LINENO needs CR and PATH.
40132 # Avoid depending upon Character Ranges.
40133 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
40134 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
40135 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40136 as_cr_digits='0123456789'
40137 as_cr_alnum=$as_cr_Letters$as_cr_digits
40138
40139 # The user is always right.
40140 if test "${PATH_SEPARATOR+set}" != set; then
40141 echo "#! /bin/sh" >conf$$.sh
40142 echo "exit 0" >>conf$$.sh
40143 chmod +x conf$$.sh
40144 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
40145 PATH_SEPARATOR=';'
40146 else
40147 PATH_SEPARATOR=:
40148 fi
40149 rm -f conf$$.sh
40150 fi
40151
40152
40153 as_lineno_1=$LINENO
40154 as_lineno_2=$LINENO
40155 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
40156 test "x$as_lineno_1" != "x$as_lineno_2" &&
40157 test "x$as_lineno_3" = "x$as_lineno_2" || {
40158 # Find who we are. Look in the path if we contain no path at all
40159 # relative or not.
40160 case $0 in
40161 *[\\/]* ) as_myself=$0 ;;
40162 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40163 for as_dir in $PATH
40164 do
40165 IFS=$as_save_IFS
40166 test -z "$as_dir" && as_dir=.
40167 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
40168 done
40169
40170 ;;
40171 esac
40172 # We did not find ourselves, most probably we were run as `sh COMMAND'
40173 # in which case we are not to be found in the path.
40174 if test "x$as_myself" = x; then
40175 as_myself=$0
40176 fi
40177 if test ! -f "$as_myself"; then
40178 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
40179 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
40180 { (exit 1); exit 1; }; }
40181 fi
40182 case $CONFIG_SHELL in
40183 '')
40184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
40186 do
40187 IFS=$as_save_IFS
40188 test -z "$as_dir" && as_dir=.
40189 for as_base in sh bash ksh sh5; do
40190 case $as_dir in
40191 /*)
40192 if ("$as_dir/$as_base" -c '
40193 as_lineno_1=$LINENO
40194 as_lineno_2=$LINENO
40195 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
40196 test "x$as_lineno_1" != "x$as_lineno_2" &&
40197 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
40198 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
40199 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
40200 CONFIG_SHELL=$as_dir/$as_base
40201 export CONFIG_SHELL
40202 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
40203 fi;;
40204 esac
40205 done
40206 done
40207 ;;
40208 esac
40209
40210 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
40211 # uniformly replaced by the line number. The first 'sed' inserts a
40212 # line-number line before each line; the second 'sed' does the real
40213 # work. The second script uses 'N' to pair each line-number line
40214 # with the numbered line, and appends trailing '-' during
40215 # substitution so that $LINENO is not a special case at line end.
40216 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
40217 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
40218 sed '=' <$as_myself |
40219 sed '
40220 N
40221 s,$,-,
40222 : loop
40223 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
40224 t loop
40225 s,-$,,
40226 s,^['$as_cr_digits']*\n,,
40227 ' >$as_me.lineno &&
40228 chmod +x $as_me.lineno ||
40229 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
40230 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
40231 { (exit 1); exit 1; }; }
40232
40233 # Don't try to exec as it changes $[0], causing all sort of problems
40234 # (the dirname of $[0] is not the place where we might find the
40235 # original and so on. Autoconf is especially sensible to this).
40236 . ./$as_me.lineno
40237 # Exit status is that of the last command.
40238 exit
40239 }
40240
40241
40242 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
40243 *c*,-n*) ECHO_N= ECHO_C='
40244 ' ECHO_T=' ' ;;
40245 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
40246 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
40247 esac
40248
40249 if expr a : '\(a\)' >/dev/null 2>&1; then
40250 as_expr=expr
40251 else
40252 as_expr=false
40253 fi
40254
40255 rm -f conf$$ conf$$.exe conf$$.file
40256 echo >conf$$.file
40257 if ln -s conf$$.file conf$$ 2>/dev/null; then
40258 # We could just check for DJGPP; but this test a) works b) is more generic
40259 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
40260 if test -f conf$$.exe; then
40261 # Don't use ln at all; we don't have any links
40262 as_ln_s='cp -p'
40263 else
40264 as_ln_s='ln -s'
40265 fi
40266 elif ln conf$$.file conf$$ 2>/dev/null; then
40267 as_ln_s=ln
40268 else
40269 as_ln_s='cp -p'
40270 fi
40271 rm -f conf$$ conf$$.exe conf$$.file
40272
40273 if mkdir -p . 2>/dev/null; then
40274 as_mkdir_p=:
40275 else
40276 test -d ./-p && rmdir ./-p
40277 as_mkdir_p=false
40278 fi
40279
40280 as_executable_p="test -f"
40281
40282 # Sed expression to map a string onto a valid CPP name.
40283 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
40284
40285 # Sed expression to map a string onto a valid variable name.
40286 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
40287
40288
40289 # IFS
40290 # We need space, tab and new line, in precisely that order.
40291 as_nl='
40292 '
40293 IFS=" $as_nl"
40294
40295 # CDPATH.
40296 $as_unset CDPATH
40297
40298 exec 6>&1
40299
40300 # Open the log real soon, to keep \$[0] and so on meaningful, and to
40301 # report actual input values of CONFIG_FILES etc. instead of their
40302 # values after options handling. Logging --version etc. is OK.
40303 exec 5>>config.log
40304 {
40305 echo
40306 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
40307 ## Running $as_me. ##
40308 _ASBOX
40309 } >&5
40310 cat >&5 <<_CSEOF
40311
40312 This file was extended by wxWindows $as_me 2.5.1, which was
40313 generated by GNU Autoconf 2.59. Invocation command line was
40314
40315 CONFIG_FILES = $CONFIG_FILES
40316 CONFIG_HEADERS = $CONFIG_HEADERS
40317 CONFIG_LINKS = $CONFIG_LINKS
40318 CONFIG_COMMANDS = $CONFIG_COMMANDS
40319 $ $0 $@
40320
40321 _CSEOF
40322 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
40323 echo >&5
40324 _ACEOF
40325
40326 # Files that config.status was made for.
40327 if test -n "$ac_config_files"; then
40328 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
40329 fi
40330
40331 if test -n "$ac_config_headers"; then
40332 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
40333 fi
40334
40335 if test -n "$ac_config_links"; then
40336 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
40337 fi
40338
40339 if test -n "$ac_config_commands"; then
40340 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
40341 fi
40342
40343 cat >>$CONFIG_STATUS <<\_ACEOF
40344
40345 ac_cs_usage="\
40346 \`$as_me' instantiates files from templates according to the
40347 current configuration.
40348
40349 Usage: $0 [OPTIONS] [FILE]...
40350
40351 -h, --help print this help, then exit
40352 -V, --version print version number, then exit
40353 -q, --quiet do not print progress messages
40354 -d, --debug don't remove temporary files
40355 --recheck update $as_me by reconfiguring in the same conditions
40356 --file=FILE[:TEMPLATE]
40357 instantiate the configuration file FILE
40358 --header=FILE[:TEMPLATE]
40359 instantiate the configuration header FILE
40360
40361 Configuration files:
40362 $config_files
40363
40364 Configuration headers:
40365 $config_headers
40366
40367 Configuration commands:
40368 $config_commands
40369
40370 Report bugs to <bug-autoconf@gnu.org>."
40371 _ACEOF
40372
40373 cat >>$CONFIG_STATUS <<_ACEOF
40374 ac_cs_version="\\
40375 wxWindows config.status 2.5.1
40376 configured by $0, generated by GNU Autoconf 2.59,
40377 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
40378
40379 Copyright (C) 2003 Free Software Foundation, Inc.
40380 This config.status script is free software; the Free Software Foundation
40381 gives unlimited permission to copy, distribute and modify it."
40382 srcdir=$srcdir
40383 INSTALL="$INSTALL"
40384 _ACEOF
40385
40386 cat >>$CONFIG_STATUS <<\_ACEOF
40387 # If no file are specified by the user, then we need to provide default
40388 # value. By we need to know if files were specified by the user.
40389 ac_need_defaults=:
40390 while test $# != 0
40391 do
40392 case $1 in
40393 --*=*)
40394 ac_option=`expr "x$1" : 'x\([^=]*\)='`
40395 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
40396 ac_shift=:
40397 ;;
40398 -*)
40399 ac_option=$1
40400 ac_optarg=$2
40401 ac_shift=shift
40402 ;;
40403 *) # This is not an option, so the user has probably given explicit
40404 # arguments.
40405 ac_option=$1
40406 ac_need_defaults=false;;
40407 esac
40408
40409 case $ac_option in
40410 # Handling of the options.
40411 _ACEOF
40412 cat >>$CONFIG_STATUS <<\_ACEOF
40413 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
40414 ac_cs_recheck=: ;;
40415 --version | --vers* | -V )
40416 echo "$ac_cs_version"; exit 0 ;;
40417 --he | --h)
40418 # Conflict between --help and --header
40419 { { echo "$as_me:$LINENO: error: ambiguous option: $1
40420 Try \`$0 --help' for more information." >&5
40421 echo "$as_me: error: ambiguous option: $1
40422 Try \`$0 --help' for more information." >&2;}
40423 { (exit 1); exit 1; }; };;
40424 --help | --hel | -h )
40425 echo "$ac_cs_usage"; exit 0 ;;
40426 --debug | --d* | -d )
40427 debug=: ;;
40428 --file | --fil | --fi | --f )
40429 $ac_shift
40430 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
40431 ac_need_defaults=false;;
40432 --header | --heade | --head | --hea )
40433 $ac_shift
40434 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
40435 ac_need_defaults=false;;
40436 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
40437 | -silent | --silent | --silen | --sile | --sil | --si | --s)
40438 ac_cs_silent=: ;;
40439
40440 # This is an error.
40441 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
40442 Try \`$0 --help' for more information." >&5
40443 echo "$as_me: error: unrecognized option: $1
40444 Try \`$0 --help' for more information." >&2;}
40445 { (exit 1); exit 1; }; } ;;
40446
40447 *) ac_config_targets="$ac_config_targets $1" ;;
40448
40449 esac
40450 shift
40451 done
40452
40453 ac_configure_extra_args=
40454
40455 if $ac_cs_silent; then
40456 exec 6>/dev/null
40457 ac_configure_extra_args="$ac_configure_extra_args --silent"
40458 fi
40459
40460 _ACEOF
40461 cat >>$CONFIG_STATUS <<_ACEOF
40462 if \$ac_cs_recheck; then
40463 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
40464 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
40465 fi
40466
40467 _ACEOF
40468
40469 cat >>$CONFIG_STATUS <<_ACEOF
40470 #
40471 # INIT-COMMANDS section.
40472 #
40473
40474
40475 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
40476 LN_S="${LN_S}"
40477
40478
40479
40480 _ACEOF
40481
40482
40483
40484 cat >>$CONFIG_STATUS <<\_ACEOF
40485 for ac_config_target in $ac_config_targets
40486 do
40487 case "$ac_config_target" in
40488 # Handling of arguments.
40489 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
40490 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
40491 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
40492 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
40493 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
40494 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
40495 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
40496 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
40497 { (exit 1); exit 1; }; };;
40498 esac
40499 done
40500
40501 # If the user did not use the arguments to specify the items to instantiate,
40502 # then the envvar interface is used. Set only those that are not.
40503 # We use the long form for the default assignment because of an extremely
40504 # bizarre bug on SunOS 4.1.3.
40505 if $ac_need_defaults; then
40506 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
40507 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
40508 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
40509 fi
40510
40511 # Have a temporary directory for convenience. Make it in the build tree
40512 # simply because there is no reason to put it here, and in addition,
40513 # creating and moving files from /tmp can sometimes cause problems.
40514 # Create a temporary directory, and hook for its removal unless debugging.
40515 $debug ||
40516 {
40517 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
40518 trap '{ (exit 1); exit 1; }' 1 2 13 15
40519 }
40520
40521 # Create a (secure) tmp directory for tmp files.
40522
40523 {
40524 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
40525 test -n "$tmp" && test -d "$tmp"
40526 } ||
40527 {
40528 tmp=./confstat$$-$RANDOM
40529 (umask 077 && mkdir $tmp)
40530 } ||
40531 {
40532 echo "$me: cannot create a temporary directory in ." >&2
40533 { (exit 1); exit 1; }
40534 }
40535
40536 _ACEOF
40537
40538 cat >>$CONFIG_STATUS <<_ACEOF
40539
40540 #
40541 # CONFIG_FILES section.
40542 #
40543
40544 # No need to generate the scripts if there are no CONFIG_FILES.
40545 # This happens for instance when ./config.status config.h
40546 if test -n "\$CONFIG_FILES"; then
40547 # Protect against being on the right side of a sed subst in config.status.
40548 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
40549 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
40550 s,@SHELL@,$SHELL,;t t
40551 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
40552 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
40553 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
40554 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
40555 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
40556 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
40557 s,@exec_prefix@,$exec_prefix,;t t
40558 s,@prefix@,$prefix,;t t
40559 s,@program_transform_name@,$program_transform_name,;t t
40560 s,@bindir@,$bindir,;t t
40561 s,@sbindir@,$sbindir,;t t
40562 s,@libexecdir@,$libexecdir,;t t
40563 s,@datadir@,$datadir,;t t
40564 s,@sysconfdir@,$sysconfdir,;t t
40565 s,@sharedstatedir@,$sharedstatedir,;t t
40566 s,@localstatedir@,$localstatedir,;t t
40567 s,@libdir@,$libdir,;t t
40568 s,@includedir@,$includedir,;t t
40569 s,@oldincludedir@,$oldincludedir,;t t
40570 s,@infodir@,$infodir,;t t
40571 s,@mandir@,$mandir,;t t
40572 s,@build_alias@,$build_alias,;t t
40573 s,@host_alias@,$host_alias,;t t
40574 s,@target_alias@,$target_alias,;t t
40575 s,@DEFS@,$DEFS,;t t
40576 s,@ECHO_C@,$ECHO_C,;t t
40577 s,@ECHO_N@,$ECHO_N,;t t
40578 s,@ECHO_T@,$ECHO_T,;t t
40579 s,@LIBS@,$LIBS,;t t
40580 s,@build@,$build,;t t
40581 s,@build_cpu@,$build_cpu,;t t
40582 s,@build_vendor@,$build_vendor,;t t
40583 s,@build_os@,$build_os,;t t
40584 s,@host@,$host,;t t
40585 s,@host_cpu@,$host_cpu,;t t
40586 s,@host_vendor@,$host_vendor,;t t
40587 s,@host_os@,$host_os,;t t
40588 s,@target@,$target,;t t
40589 s,@target_cpu@,$target_cpu,;t t
40590 s,@target_vendor@,$target_vendor,;t t
40591 s,@target_os@,$target_os,;t t
40592 s,@CC@,$CC,;t t
40593 s,@CFLAGS@,$CFLAGS,;t t
40594 s,@LDFLAGS@,$LDFLAGS,;t t
40595 s,@CPPFLAGS@,$CPPFLAGS,;t t
40596 s,@ac_ct_CC@,$ac_ct_CC,;t t
40597 s,@EXEEXT@,$EXEEXT,;t t
40598 s,@OBJEXT@,$OBJEXT,;t t
40599 s,@CPP@,$CPP,;t t
40600 s,@EGREP@,$EGREP,;t t
40601 s,@CXX@,$CXX,;t t
40602 s,@CXXFLAGS@,$CXXFLAGS,;t t
40603 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
40604 s,@RANLIB@,$RANLIB,;t t
40605 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
40606 s,@AR@,$AR,;t t
40607 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
40608 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
40609 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
40610 s,@STRIP@,$STRIP,;t t
40611 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
40612 s,@LN_S@,$LN_S,;t t
40613 s,@CXXCPP@,$CXXCPP,;t t
40614 s,@subdirs@,$subdirs,;t t
40615 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
40616 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
40617 s,@GTK_LIBS@,$GTK_LIBS,;t t
40618 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
40619 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
40620 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
40621 s,@X_CFLAGS@,$X_CFLAGS,;t t
40622 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
40623 s,@X_LIBS@,$X_LIBS,;t t
40624 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
40625 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
40626 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
40627 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
40628 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
40629 s,@RESCOMP@,$RESCOMP,;t t
40630 s,@DEREZ@,$DEREZ,;t t
40631 s,@SETFILE@,$SETFILE,;t t
40632 s,@LIBICONV@,$LIBICONV,;t t
40633 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
40634 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
40635 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
40636 s,@SDL_LIBS@,$SDL_LIBS,;t t
40637 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
40638 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
40639 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
40640 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
40641 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
40642 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
40643 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
40644 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
40645 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
40646 s,@VENDOR@,$VENDOR,;t t
40647 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
40648 s,@WXUNIV@,$WXUNIV,;t t
40649 s,@MONOLITHIC@,$MONOLITHIC,;t t
40650 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
40651 s,@EXTRALIBS@,$EXTRALIBS,;t t
40652 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
40653 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
40654 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
40655 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
40656 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
40657 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
40658 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
40659 s,@UNICODE@,$UNICODE,;t t
40660 s,@BUILD@,$BUILD,;t t
40661 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
40662 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
40663 s,@SHARED@,$SHARED,;t t
40664 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
40665 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
40666 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
40667 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
40668 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
40669 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
40670 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
40671 s,@SET_MAKE@,$SET_MAKE,;t t
40672 s,@MAKE_SET@,$MAKE_SET,;t t
40673 s,@ac_ct_AR@,$ac_ct_AR,;t t
40674 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
40675 s,@NM@,$NM,;t t
40676 s,@ac_ct_NM@,$ac_ct_NM,;t t
40677 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
40678 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
40679 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
40680 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
40681 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
40682 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
40683 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
40684 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
40685 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
40686 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
40687 s,@LIBPREFIX@,$LIBPREFIX,;t t
40688 s,@DLLPREFIX@,$DLLPREFIX,;t t
40689 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
40690 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
40691 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
40692 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
40693 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
40694 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
40695 s,@PIC_FLAG@,$PIC_FLAG,;t t
40696 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
40697 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
40698 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
40699 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
40700 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
40701 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
40702 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
40703 s,@GCC_PCH@,$GCC_PCH,;t t
40704 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
40705 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
40706 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
40707 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
40708 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
40709 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
40710 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
40711 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
40712 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
40713 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
40714 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
40715 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
40716 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
40717 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
40718 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
40719 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
40720 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
40721 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
40722 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
40723 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
40724 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
40725 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
40726 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
40727 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
40728 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
40729 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
40730 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
40731 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
40732 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
40733 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
40734 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
40735 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
40736 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
40737 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
40738 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
40739 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
40740 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
40741 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
40742 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
40743 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
40744 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
40745 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
40746 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
40747 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
40748 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
40749 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
40750 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
40751 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
40752 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
40753 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
40754 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
40755 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
40756 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
40757 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
40758 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
40759 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
40760 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
40761 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
40762 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
40763 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
40764 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
40765 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
40766 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
40767 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
40768 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
40769 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
40770 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
40771 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
40772 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
40773 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
40774 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
40775 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
40776 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
40777 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
40778 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
40779 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
40780 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
40781 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
40782 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
40783 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
40784 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
40785 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
40786 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
40787 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
40788 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
40789 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
40790 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
40791 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
40792 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
40793 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
40794 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
40795 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
40796 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
40797 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
40798 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
40799 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
40800 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
40801 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
40802 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
40803 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
40804 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
40805 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
40806 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
40807 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
40808 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
40809 s,@PATH_IFS@,$PATH_IFS,;t t
40810 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
40811 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
40812 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
40813 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
40814 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
40815 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
40816 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
40817 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
40818 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
40819 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
40820 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
40821 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
40822 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
40823 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
40824 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
40825 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
40826 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
40827 s,@WX_ALL@,$WX_ALL,;t t
40828 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
40829 s,@SHARED_LD@,$SHARED_LD,;t t
40830 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
40831 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
40832 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
40833 s,@USE_GUI@,$USE_GUI,;t t
40834 s,@AFMINSTALL@,$AFMINSTALL,;t t
40835 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
40836 s,@TOOLKIT@,$TOOLKIT,;t t
40837 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
40838 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
40839 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
40840 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
40841 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
40842 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
40843 s,@cross_compiling@,$cross_compiling,;t t
40844 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
40845 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
40846 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
40847 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
40848 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
40849 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
40850 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
40851 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
40852 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
40853 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
40854 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
40855 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
40856 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
40857 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
40858 s,@GUIDIST@,$GUIDIST,;t t
40859 s,@PORT_FILES@,$PORT_FILES,;t t
40860 s,@DISTDIR@,$DISTDIR,;t t
40861 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
40862 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
40863 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
40864 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
40865 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
40866 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
40867 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
40868 s,@RESFLAGS@,$RESFLAGS,;t t
40869 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
40870 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
40871 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
40872 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
40873 s,@MACRESCOMP@,$MACRESCOMP,;t t
40874 s,@MACSETFILE@,$MACSETFILE,;t t
40875 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
40876 s,@GCC@,$GCC,;t t
40877 s,@GCC_SEARCHES_USR_LOCAL_INCLUDE@,$GCC_SEARCHES_USR_LOCAL_INCLUDE,;t t
40878 s,@DLLTOOL@,$DLLTOOL,;t t
40879 s,@AS@,$AS,;t t
40880 s,@LD@,$LD,;t t
40881 s,@MAKEINFO@,$MAKEINFO,;t t
40882 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
40883 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
40884 s,@LIBOBJS@,$LIBOBJS,;t t
40885 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
40886 CEOF
40887
40888 _ACEOF
40889
40890 cat >>$CONFIG_STATUS <<\_ACEOF
40891 # Split the substitutions into bite-sized pieces for seds with
40892 # small command number limits, like on Digital OSF/1 and HP-UX.
40893 ac_max_sed_lines=48
40894 ac_sed_frag=1 # Number of current file.
40895 ac_beg=1 # First line for current file.
40896 ac_end=$ac_max_sed_lines # Line after last line for current file.
40897 ac_more_lines=:
40898 ac_sed_cmds=
40899 while $ac_more_lines; do
40900 if test $ac_beg -gt 1; then
40901 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
40902 else
40903 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
40904 fi
40905 if test ! -s $tmp/subs.frag; then
40906 ac_more_lines=false
40907 else
40908 # The purpose of the label and of the branching condition is to
40909 # speed up the sed processing (if there are no `@' at all, there
40910 # is no need to browse any of the substitutions).
40911 # These are the two extra sed commands mentioned above.
40912 (echo ':t
40913 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
40914 if test -z "$ac_sed_cmds"; then
40915 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
40916 else
40917 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
40918 fi
40919 ac_sed_frag=`expr $ac_sed_frag + 1`
40920 ac_beg=$ac_end
40921 ac_end=`expr $ac_end + $ac_max_sed_lines`
40922 fi
40923 done
40924 if test -z "$ac_sed_cmds"; then
40925 ac_sed_cmds=cat
40926 fi
40927 fi # test -n "$CONFIG_FILES"
40928
40929 _ACEOF
40930 cat >>$CONFIG_STATUS <<\_ACEOF
40931 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
40932 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
40933 case $ac_file in
40934 - | *:- | *:-:* ) # input from stdin
40935 cat >$tmp/stdin
40936 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
40937 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
40938 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
40939 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
40940 * ) ac_file_in=$ac_file.in ;;
40941 esac
40942
40943 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
40944 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
40945 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40946 X"$ac_file" : 'X\(//\)[^/]' \| \
40947 X"$ac_file" : 'X\(//\)$' \| \
40948 X"$ac_file" : 'X\(/\)' \| \
40949 . : '\(.\)' 2>/dev/null ||
40950 echo X"$ac_file" |
40951 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40952 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40953 /^X\(\/\/\)$/{ s//\1/; q; }
40954 /^X\(\/\).*/{ s//\1/; q; }
40955 s/.*/./; q'`
40956 { if $as_mkdir_p; then
40957 mkdir -p "$ac_dir"
40958 else
40959 as_dir="$ac_dir"
40960 as_dirs=
40961 while test ! -d "$as_dir"; do
40962 as_dirs="$as_dir $as_dirs"
40963 as_dir=`(dirname "$as_dir") 2>/dev/null ||
40964 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40965 X"$as_dir" : 'X\(//\)[^/]' \| \
40966 X"$as_dir" : 'X\(//\)$' \| \
40967 X"$as_dir" : 'X\(/\)' \| \
40968 . : '\(.\)' 2>/dev/null ||
40969 echo X"$as_dir" |
40970 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40971 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40972 /^X\(\/\/\)$/{ s//\1/; q; }
40973 /^X\(\/\).*/{ s//\1/; q; }
40974 s/.*/./; q'`
40975 done
40976 test ! -n "$as_dirs" || mkdir $as_dirs
40977 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40978 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40979 { (exit 1); exit 1; }; }; }
40980
40981 ac_builddir=.
40982
40983 if test "$ac_dir" != .; then
40984 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
40985 # A "../" for each directory in $ac_dir_suffix.
40986 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
40987 else
40988 ac_dir_suffix= ac_top_builddir=
40989 fi
40990
40991 case $srcdir in
40992 .) # No --srcdir option. We are building in place.
40993 ac_srcdir=.
40994 if test -z "$ac_top_builddir"; then
40995 ac_top_srcdir=.
40996 else
40997 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
40998 fi ;;
40999 [\\/]* | ?:[\\/]* ) # Absolute path.
41000 ac_srcdir=$srcdir$ac_dir_suffix;
41001 ac_top_srcdir=$srcdir ;;
41002 *) # Relative path.
41003 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
41004 ac_top_srcdir=$ac_top_builddir$srcdir ;;
41005 esac
41006
41007 # Do not use `cd foo && pwd` to compute absolute paths, because
41008 # the directories may not exist.
41009 case `pwd` in
41010 .) ac_abs_builddir="$ac_dir";;
41011 *)
41012 case "$ac_dir" in
41013 .) ac_abs_builddir=`pwd`;;
41014 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
41015 *) ac_abs_builddir=`pwd`/"$ac_dir";;
41016 esac;;
41017 esac
41018 case $ac_abs_builddir in
41019 .) ac_abs_top_builddir=${ac_top_builddir}.;;
41020 *)
41021 case ${ac_top_builddir}. in
41022 .) ac_abs_top_builddir=$ac_abs_builddir;;
41023 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
41024 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
41025 esac;;
41026 esac
41027 case $ac_abs_builddir in
41028 .) ac_abs_srcdir=$ac_srcdir;;
41029 *)
41030 case $ac_srcdir in
41031 .) ac_abs_srcdir=$ac_abs_builddir;;
41032 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
41033 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
41034 esac;;
41035 esac
41036 case $ac_abs_builddir in
41037 .) ac_abs_top_srcdir=$ac_top_srcdir;;
41038 *)
41039 case $ac_top_srcdir in
41040 .) ac_abs_top_srcdir=$ac_abs_builddir;;
41041 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
41042 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
41043 esac;;
41044 esac
41045
41046
41047 case $INSTALL in
41048 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
41049 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
41050 esac
41051
41052 # Let's still pretend it is `configure' which instantiates (i.e., don't
41053 # use $as_me), people would be surprised to read:
41054 # /* config.h. Generated by config.status. */
41055 if test x"$ac_file" = x-; then
41056 configure_input=
41057 else
41058 configure_input="$ac_file. "
41059 fi
41060 configure_input=$configure_input"Generated from `echo $ac_file_in |
41061 sed 's,.*/,,'` by configure."
41062
41063 # First look for the input files in the build tree, otherwise in the
41064 # src tree.
41065 ac_file_inputs=`IFS=:
41066 for f in $ac_file_in; do
41067 case $f in
41068 -) echo $tmp/stdin ;;
41069 [\\/$]*)
41070 # Absolute (can't be DOS-style, as IFS=:)
41071 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41072 echo "$as_me: error: cannot find input file: $f" >&2;}
41073 { (exit 1); exit 1; }; }
41074 echo "$f";;
41075 *) # Relative
41076 if test -f "$f"; then
41077 # Build tree
41078 echo "$f"
41079 elif test -f "$srcdir/$f"; then
41080 # Source tree
41081 echo "$srcdir/$f"
41082 else
41083 # /dev/null tree
41084 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41085 echo "$as_me: error: cannot find input file: $f" >&2;}
41086 { (exit 1); exit 1; }; }
41087 fi;;
41088 esac
41089 done` || { (exit 1); exit 1; }
41090
41091 if test x"$ac_file" != x-; then
41092 { echo "$as_me:$LINENO: creating $ac_file" >&5
41093 echo "$as_me: creating $ac_file" >&6;}
41094 rm -f "$ac_file"
41095 fi
41096 _ACEOF
41097 cat >>$CONFIG_STATUS <<_ACEOF
41098 sed "$ac_vpsub
41099 $extrasub
41100 _ACEOF
41101 cat >>$CONFIG_STATUS <<\_ACEOF
41102 :t
41103 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
41104 s,@configure_input@,$configure_input,;t t
41105 s,@srcdir@,$ac_srcdir,;t t
41106 s,@abs_srcdir@,$ac_abs_srcdir,;t t
41107 s,@top_srcdir@,$ac_top_srcdir,;t t
41108 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
41109 s,@builddir@,$ac_builddir,;t t
41110 s,@abs_builddir@,$ac_abs_builddir,;t t
41111 s,@top_builddir@,$ac_top_builddir,;t t
41112 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
41113 s,@INSTALL@,$ac_INSTALL,;t t
41114 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
41115 rm -f $tmp/stdin
41116 if test x"$ac_file" != x-; then
41117 mv $tmp/out $ac_file
41118 else
41119 cat $tmp/out
41120 rm -f $tmp/out
41121 fi
41122
41123 done
41124 _ACEOF
41125 cat >>$CONFIG_STATUS <<\_ACEOF
41126
41127 #
41128 # CONFIG_HEADER section.
41129 #
41130
41131 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
41132 # NAME is the cpp macro being defined and VALUE is the value it is being given.
41133 #
41134 # ac_d sets the value in "#define NAME VALUE" lines.
41135 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
41136 ac_dB='[ ].*$,\1#\2'
41137 ac_dC=' '
41138 ac_dD=',;t'
41139 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
41140 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
41141 ac_uB='$,\1#\2define\3'
41142 ac_uC=' '
41143 ac_uD=',;t'
41144
41145 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
41146 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
41147 case $ac_file in
41148 - | *:- | *:-:* ) # input from stdin
41149 cat >$tmp/stdin
41150 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
41151 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
41152 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
41153 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
41154 * ) ac_file_in=$ac_file.in ;;
41155 esac
41156
41157 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
41158 echo "$as_me: creating $ac_file" >&6;}
41159
41160 # First look for the input files in the build tree, otherwise in the
41161 # src tree.
41162 ac_file_inputs=`IFS=:
41163 for f in $ac_file_in; do
41164 case $f in
41165 -) echo $tmp/stdin ;;
41166 [\\/$]*)
41167 # Absolute (can't be DOS-style, as IFS=:)
41168 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41169 echo "$as_me: error: cannot find input file: $f" >&2;}
41170 { (exit 1); exit 1; }; }
41171 # Do quote $f, to prevent DOS paths from being IFS'd.
41172 echo "$f";;
41173 *) # Relative
41174 if test -f "$f"; then
41175 # Build tree
41176 echo "$f"
41177 elif test -f "$srcdir/$f"; then
41178 # Source tree
41179 echo "$srcdir/$f"
41180 else
41181 # /dev/null tree
41182 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41183 echo "$as_me: error: cannot find input file: $f" >&2;}
41184 { (exit 1); exit 1; }; }
41185 fi;;
41186 esac
41187 done` || { (exit 1); exit 1; }
41188 # Remove the trailing spaces.
41189 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
41190
41191 _ACEOF
41192
41193 # Transform confdefs.h into two sed scripts, `conftest.defines' and
41194 # `conftest.undefs', that substitutes the proper values into
41195 # config.h.in to produce config.h. The first handles `#define'
41196 # templates, and the second `#undef' templates.
41197 # And first: Protect against being on the right side of a sed subst in
41198 # config.status. Protect against being in an unquoted here document
41199 # in config.status.
41200 rm -f conftest.defines conftest.undefs
41201 # Using a here document instead of a string reduces the quoting nightmare.
41202 # Putting comments in sed scripts is not portable.
41203 #
41204 # `end' is used to avoid that the second main sed command (meant for
41205 # 0-ary CPP macros) applies to n-ary macro definitions.
41206 # See the Autoconf documentation for `clear'.
41207 cat >confdef2sed.sed <<\_ACEOF
41208 s/[\\&,]/\\&/g
41209 s,[\\$`],\\&,g
41210 t clear
41211 : clear
41212 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
41213 t end
41214 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
41215 : end
41216 _ACEOF
41217 # If some macros were called several times there might be several times
41218 # the same #defines, which is useless. Nevertheless, we may not want to
41219 # sort them, since we want the *last* AC-DEFINE to be honored.
41220 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
41221 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
41222 rm -f confdef2sed.sed
41223
41224 # This sed command replaces #undef with comments. This is necessary, for
41225 # example, in the case of _POSIX_SOURCE, which is predefined and required
41226 # on some systems where configure will not decide to define it.
41227 cat >>conftest.undefs <<\_ACEOF
41228 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
41229 _ACEOF
41230
41231 # Break up conftest.defines because some shells have a limit on the size
41232 # of here documents, and old seds have small limits too (100 cmds).
41233 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
41234 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
41235 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
41236 echo ' :' >>$CONFIG_STATUS
41237 rm -f conftest.tail
41238 while grep . conftest.defines >/dev/null
41239 do
41240 # Write a limited-size here document to $tmp/defines.sed.
41241 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
41242 # Speed up: don't consider the non `#define' lines.
41243 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
41244 # Work around the forget-to-reset-the-flag bug.
41245 echo 't clr' >>$CONFIG_STATUS
41246 echo ': clr' >>$CONFIG_STATUS
41247 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
41248 echo 'CEOF
41249 sed -f $tmp/defines.sed $tmp/in >$tmp/out
41250 rm -f $tmp/in
41251 mv $tmp/out $tmp/in
41252 ' >>$CONFIG_STATUS
41253 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
41254 rm -f conftest.defines
41255 mv conftest.tail conftest.defines
41256 done
41257 rm -f conftest.defines
41258 echo ' fi # grep' >>$CONFIG_STATUS
41259 echo >>$CONFIG_STATUS
41260
41261 # Break up conftest.undefs because some shells have a limit on the size
41262 # of here documents, and old seds have small limits too (100 cmds).
41263 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
41264 rm -f conftest.tail
41265 while grep . conftest.undefs >/dev/null
41266 do
41267 # Write a limited-size here document to $tmp/undefs.sed.
41268 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
41269 # Speed up: don't consider the non `#undef'
41270 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
41271 # Work around the forget-to-reset-the-flag bug.
41272 echo 't clr' >>$CONFIG_STATUS
41273 echo ': clr' >>$CONFIG_STATUS
41274 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
41275 echo 'CEOF
41276 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
41277 rm -f $tmp/in
41278 mv $tmp/out $tmp/in
41279 ' >>$CONFIG_STATUS
41280 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
41281 rm -f conftest.undefs
41282 mv conftest.tail conftest.undefs
41283 done
41284 rm -f conftest.undefs
41285
41286 cat >>$CONFIG_STATUS <<\_ACEOF
41287 # Let's still pretend it is `configure' which instantiates (i.e., don't
41288 # use $as_me), people would be surprised to read:
41289 # /* config.h. Generated by config.status. */
41290 if test x"$ac_file" = x-; then
41291 echo "/* Generated by configure. */" >$tmp/config.h
41292 else
41293 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
41294 fi
41295 cat $tmp/in >>$tmp/config.h
41296 rm -f $tmp/in
41297 if test x"$ac_file" != x-; then
41298 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
41299 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
41300 echo "$as_me: $ac_file is unchanged" >&6;}
41301 else
41302 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
41303 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41304 X"$ac_file" : 'X\(//\)[^/]' \| \
41305 X"$ac_file" : 'X\(//\)$' \| \
41306 X"$ac_file" : 'X\(/\)' \| \
41307 . : '\(.\)' 2>/dev/null ||
41308 echo X"$ac_file" |
41309 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41310 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41311 /^X\(\/\/\)$/{ s//\1/; q; }
41312 /^X\(\/\).*/{ s//\1/; q; }
41313 s/.*/./; q'`
41314 { if $as_mkdir_p; then
41315 mkdir -p "$ac_dir"
41316 else
41317 as_dir="$ac_dir"
41318 as_dirs=
41319 while test ! -d "$as_dir"; do
41320 as_dirs="$as_dir $as_dirs"
41321 as_dir=`(dirname "$as_dir") 2>/dev/null ||
41322 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41323 X"$as_dir" : 'X\(//\)[^/]' \| \
41324 X"$as_dir" : 'X\(//\)$' \| \
41325 X"$as_dir" : 'X\(/\)' \| \
41326 . : '\(.\)' 2>/dev/null ||
41327 echo X"$as_dir" |
41328 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41329 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41330 /^X\(\/\/\)$/{ s//\1/; q; }
41331 /^X\(\/\).*/{ s//\1/; q; }
41332 s/.*/./; q'`
41333 done
41334 test ! -n "$as_dirs" || mkdir $as_dirs
41335 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41336 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41337 { (exit 1); exit 1; }; }; }
41338
41339 rm -f $ac_file
41340 mv $tmp/config.h $ac_file
41341 fi
41342 else
41343 cat $tmp/config.h
41344 rm -f $tmp/config.h
41345 fi
41346 done
41347 _ACEOF
41348 cat >>$CONFIG_STATUS <<\_ACEOF
41349
41350 #
41351 # CONFIG_COMMANDS section.
41352 #
41353 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
41354 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
41355 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
41356 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
41357 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41358 X"$ac_dest" : 'X\(//\)[^/]' \| \
41359 X"$ac_dest" : 'X\(//\)$' \| \
41360 X"$ac_dest" : 'X\(/\)' \| \
41361 . : '\(.\)' 2>/dev/null ||
41362 echo X"$ac_dest" |
41363 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41364 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41365 /^X\(\/\/\)$/{ s//\1/; q; }
41366 /^X\(\/\).*/{ s//\1/; q; }
41367 s/.*/./; q'`
41368 { if $as_mkdir_p; then
41369 mkdir -p "$ac_dir"
41370 else
41371 as_dir="$ac_dir"
41372 as_dirs=
41373 while test ! -d "$as_dir"; do
41374 as_dirs="$as_dir $as_dirs"
41375 as_dir=`(dirname "$as_dir") 2>/dev/null ||
41376 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41377 X"$as_dir" : 'X\(//\)[^/]' \| \
41378 X"$as_dir" : 'X\(//\)$' \| \
41379 X"$as_dir" : 'X\(/\)' \| \
41380 . : '\(.\)' 2>/dev/null ||
41381 echo X"$as_dir" |
41382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41383 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41384 /^X\(\/\/\)$/{ s//\1/; q; }
41385 /^X\(\/\).*/{ s//\1/; q; }
41386 s/.*/./; q'`
41387 done
41388 test ! -n "$as_dirs" || mkdir $as_dirs
41389 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41390 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41391 { (exit 1); exit 1; }; }; }
41392
41393 ac_builddir=.
41394
41395 if test "$ac_dir" != .; then
41396 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41397 # A "../" for each directory in $ac_dir_suffix.
41398 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41399 else
41400 ac_dir_suffix= ac_top_builddir=
41401 fi
41402
41403 case $srcdir in
41404 .) # No --srcdir option. We are building in place.
41405 ac_srcdir=.
41406 if test -z "$ac_top_builddir"; then
41407 ac_top_srcdir=.
41408 else
41409 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
41410 fi ;;
41411 [\\/]* | ?:[\\/]* ) # Absolute path.
41412 ac_srcdir=$srcdir$ac_dir_suffix;
41413 ac_top_srcdir=$srcdir ;;
41414 *) # Relative path.
41415 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
41416 ac_top_srcdir=$ac_top_builddir$srcdir ;;
41417 esac
41418
41419 # Do not use `cd foo && pwd` to compute absolute paths, because
41420 # the directories may not exist.
41421 case `pwd` in
41422 .) ac_abs_builddir="$ac_dir";;
41423 *)
41424 case "$ac_dir" in
41425 .) ac_abs_builddir=`pwd`;;
41426 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
41427 *) ac_abs_builddir=`pwd`/"$ac_dir";;
41428 esac;;
41429 esac
41430 case $ac_abs_builddir in
41431 .) ac_abs_top_builddir=${ac_top_builddir}.;;
41432 *)
41433 case ${ac_top_builddir}. in
41434 .) ac_abs_top_builddir=$ac_abs_builddir;;
41435 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
41436 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
41437 esac;;
41438 esac
41439 case $ac_abs_builddir in
41440 .) ac_abs_srcdir=$ac_srcdir;;
41441 *)
41442 case $ac_srcdir in
41443 .) ac_abs_srcdir=$ac_abs_builddir;;
41444 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
41445 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
41446 esac;;
41447 esac
41448 case $ac_abs_builddir in
41449 .) ac_abs_top_srcdir=$ac_top_srcdir;;
41450 *)
41451 case $ac_top_srcdir in
41452 .) ac_abs_top_srcdir=$ac_abs_builddir;;
41453 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
41454 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
41455 esac;;
41456 esac
41457
41458
41459 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
41460 echo "$as_me: executing $ac_dest commands" >&6;}
41461 case $ac_dest in
41462 default )
41463 if test ! -h wx-config; then
41464 chmod +x wx-config
41465 mv wx-config wx${TOOLCHAIN_NAME}-config
41466 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
41467 fi
41468
41469 if test ! -d lib; then
41470 mkdir lib
41471 fi
41472 if test ! -d lib/wx; then
41473 mkdir lib/wx
41474 fi
41475 if test ! -d lib/wx/include; then
41476 mkdir lib/wx/include
41477 fi
41478 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
41479 mkdir lib/wx/include/${TOOLCHAIN_NAME}
41480 fi
41481 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
41482 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
41483 fi
41484 if test -f setup.h; then
41485 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
41486 fi
41487 ;;
41488 esac
41489 done
41490 _ACEOF
41491
41492 cat >>$CONFIG_STATUS <<\_ACEOF
41493
41494 { (exit 0); exit 0; }
41495 _ACEOF
41496 chmod +x $CONFIG_STATUS
41497 ac_clean_files=$ac_clean_files_save
41498
41499
41500 # configure is writing to config.log, and then calls config.status.
41501 # config.status does its own redirection, appending to config.log.
41502 # Unfortunately, on DOS this fails, as config.log is still kept open
41503 # by configure, so config.status won't be able to write to it; its
41504 # output is simply discarded. So we exec the FD to /dev/null,
41505 # effectively closing config.log, so it can be properly (re)opened and
41506 # appended to by config.status. When coming back to configure, we
41507 # need to make the FD available again.
41508 if test "$no_create" != yes; then
41509 ac_cs_success=:
41510 ac_config_status_args=
41511 test "$silent" = yes &&
41512 ac_config_status_args="$ac_config_status_args --quiet"
41513 exec 5>/dev/null
41514 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
41515 exec 5>>config.log
41516 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
41517 # would make configure fail if this is the last instruction.
41518 $ac_cs_success || { (exit 1); exit 1; }
41519 fi
41520
41521 #
41522 # CONFIG_SUBDIRS section.
41523 #
41524 if test "$no_recursion" != yes; then
41525
41526 # Remove --cache-file and --srcdir arguments so they do not pile up.
41527 ac_sub_configure_args=
41528 ac_prev=
41529 for ac_arg in $ac_configure_args; do
41530 if test -n "$ac_prev"; then
41531 ac_prev=
41532 continue
41533 fi
41534 case $ac_arg in
41535 -cache-file | --cache-file | --cache-fil | --cache-fi \
41536 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
41537 ac_prev=cache_file ;;
41538 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
41539 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
41540 | --c=*)
41541 ;;
41542 --config-cache | -C)
41543 ;;
41544 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
41545 ac_prev=srcdir ;;
41546 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
41547 ;;
41548 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
41549 ac_prev=prefix ;;
41550 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
41551 ;;
41552 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
41553 esac
41554 done
41555
41556 # Always prepend --prefix to ensure using the same prefix
41557 # in subdir configurations.
41558 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
41559
41560 ac_popdir=`pwd`
41561 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
41562
41563 # Do not complain, so a configure script can configure whichever
41564 # parts of a large source tree are present.
41565 test -d $srcdir/$ac_dir || continue
41566
41567 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
41568 echo "$as_me: configuring in $ac_dir" >&6;}
41569 { if $as_mkdir_p; then
41570 mkdir -p "$ac_dir"
41571 else
41572 as_dir="$ac_dir"
41573 as_dirs=
41574 while test ! -d "$as_dir"; do
41575 as_dirs="$as_dir $as_dirs"
41576 as_dir=`(dirname "$as_dir") 2>/dev/null ||
41577 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41578 X"$as_dir" : 'X\(//\)[^/]' \| \
41579 X"$as_dir" : 'X\(//\)$' \| \
41580 X"$as_dir" : 'X\(/\)' \| \
41581 . : '\(.\)' 2>/dev/null ||
41582 echo X"$as_dir" |
41583 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41584 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41585 /^X\(\/\/\)$/{ s//\1/; q; }
41586 /^X\(\/\).*/{ s//\1/; q; }
41587 s/.*/./; q'`
41588 done
41589 test ! -n "$as_dirs" || mkdir $as_dirs
41590 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41591 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41592 { (exit 1); exit 1; }; }; }
41593
41594 ac_builddir=.
41595
41596 if test "$ac_dir" != .; then
41597 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41598 # A "../" for each directory in $ac_dir_suffix.
41599 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41600 else
41601 ac_dir_suffix= ac_top_builddir=
41602 fi
41603
41604 case $srcdir in
41605 .) # No --srcdir option. We are building in place.
41606 ac_srcdir=.
41607 if test -z "$ac_top_builddir"; then
41608 ac_top_srcdir=.
41609 else
41610 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
41611 fi ;;
41612 [\\/]* | ?:[\\/]* ) # Absolute path.
41613 ac_srcdir=$srcdir$ac_dir_suffix;
41614 ac_top_srcdir=$srcdir ;;
41615 *) # Relative path.
41616 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
41617 ac_top_srcdir=$ac_top_builddir$srcdir ;;
41618 esac
41619
41620 # Do not use `cd foo && pwd` to compute absolute paths, because
41621 # the directories may not exist.
41622 case `pwd` in
41623 .) ac_abs_builddir="$ac_dir";;
41624 *)
41625 case "$ac_dir" in
41626 .) ac_abs_builddir=`pwd`;;
41627 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
41628 *) ac_abs_builddir=`pwd`/"$ac_dir";;
41629 esac;;
41630 esac
41631 case $ac_abs_builddir in
41632 .) ac_abs_top_builddir=${ac_top_builddir}.;;
41633 *)
41634 case ${ac_top_builddir}. in
41635 .) ac_abs_top_builddir=$ac_abs_builddir;;
41636 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
41637 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
41638 esac;;
41639 esac
41640 case $ac_abs_builddir in
41641 .) ac_abs_srcdir=$ac_srcdir;;
41642 *)
41643 case $ac_srcdir in
41644 .) ac_abs_srcdir=$ac_abs_builddir;;
41645 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
41646 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
41647 esac;;
41648 esac
41649 case $ac_abs_builddir in
41650 .) ac_abs_top_srcdir=$ac_top_srcdir;;
41651 *)
41652 case $ac_top_srcdir in
41653 .) ac_abs_top_srcdir=$ac_abs_builddir;;
41654 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
41655 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
41656 esac;;
41657 esac
41658
41659
41660 cd $ac_dir
41661
41662 # Check for guested configure; otherwise get Cygnus style configure.
41663 if test -f $ac_srcdir/configure.gnu; then
41664 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
41665 elif test -f $ac_srcdir/configure; then
41666 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
41667 elif test -f $ac_srcdir/configure.in; then
41668 ac_sub_configure=$ac_configure
41669 else
41670 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
41671 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
41672 ac_sub_configure=
41673 fi
41674
41675 # The recursion is here.
41676 if test -n "$ac_sub_configure"; then
41677 # Make the cache file name correct relative to the subdirectory.
41678 case $cache_file in
41679 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
41680 *) # Relative path.
41681 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
41682 esac
41683
41684 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
41685 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
41686 # The eval makes quoting arguments work.
41687 eval $ac_sub_configure $ac_sub_configure_args \
41688 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
41689 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
41690 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
41691 { (exit 1); exit 1; }; }
41692 fi
41693
41694 cd "$ac_popdir"
41695 done
41696 fi
41697
41698
41699 echo
41700 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
41701 echo ""
41702 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT_LOWERCASE:-base only}"
41703 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
41704
41705 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
41706 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
41707 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
41708
41709 echo " What level of wxWindows compatibility should be enabled?"
41710 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
41711 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
41712
41713 echo " Which libraries should wxWindows use?"
41714 echo " jpeg ${wxUSE_LIBJPEG-none}"
41715 echo " png ${wxUSE_LIBPNG-none}"
41716 echo " regex ${wxUSE_REGEX}"
41717 echo " tiff ${wxUSE_LIBTIFF-none}"
41718 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
41719 echo " xpm ${wxUSE_LIBXPM-none}"
41720 fi
41721 echo " zlib ${wxUSE_ZLIB}"
41722 echo " odbc ${wxUSE_ODBC}"
41723 echo " expat ${wxUSE_EXPAT}"
41724 echo " libmspack ${wxUSE_LIBMSPACK}"
41725 echo " sdl ${wxUSE_LIBSDL}"
41726
41727 echo ""
41728